[DOC]

Documentation around storage costs using AssemblyScript can be misleading.
The question was around:
https://github.com/near/docs/blob/master/docs/1.concepts/storage/storage-staking.md#example-cost-breakdown-example-cost-breakdown
Where someone using the Rust SDK was confused about the :: extra bytes (there is no need for this) and wondering where the additional storage cost was coming from.
The docs should mention that extra bytes from the num_extra_bytes_record parameter (currently 40) https://github.com/near/nearcore/blob/4008f1dfd76ac2ed4c5727307e963f023e7ca8df/runtime/near-vm-logic/src/logic.rs#L2383
If the docs switch to Rust, the key should be mentioned as follows:
- key: b"t2o" + 0or[74, 32, 30, 00] in bytes
Rather than
key: t2o::0
Is your feature request related to a problem? Please describe.
Misleading to developers when trying to understand costs and serialization format
Describe the solution you'd like
Improve information for relevant SDKs. Rust and JS SDK do slightly different than these (Rust borsh serializes key after prefix, JS JSON serializes key)
Additional context

test

Closing this issue as storage staking docs were recently updated and we will be deprecating AS from docs.


Dependabot crash on git-crypt'ed .npmrc

Package ecosystem
npm
Manifest location and content prior to update
https://github.com/aenario/dependabot-npmrc-crash/blob/main/package.json
dependabot.yml content
Empty / Github defaults
What you expected to see, versus what you actually saw
Dependabot crash with an unknown error and the log below
This is caused by a git-crypted .npmrc, so the content is not UTF8, which crash the registries_finder
Dependabot should instead act as if the .npmrc was not present.
I know this is an edge case, but I am not proficient enough in ruby to figure out where to catch this error for a PR. Sorry and thanks for the hard work !
🕹 Bonus points: Smallest manifest that reproduces the issue
https://github.com/aenario/dependabot-npmrc-crash
screenshot

log
 proxy | time="2021-12-01T17:47:21Z" level=info msg="proxy starting" commit=d5f262668736016da1a91e42cb4fba36a081bddf
  proxy | 2021/12/01 17:47:21 Listening (:1080)
updater | 2021-12-01T17:47:21.402882008 [anonymous-instance:main:WARN:src/firecracker/src/main.rs:370] You are using a deprecated parameter: --seccomp-level 2, that will be removed in a future version.
updater | 2021-12-01T17:47:21.431414907 [238927419:main:WARN:src/devices/src/legacy/serial.rs:432] Detached the serial input due to peer close/error.
updater | time="2021-12-01T17:47:23Z" level=info msg="guest starting" commit=8e918e4cf121d74a5b43e170ec4a717c1df98819
updater | time="2021-12-01T17:47:23Z" level=info msg="starting job..." fetcher_timeout=5m0s job_id=238927419 updater_timeout=30m0s updater_version=0.169.2-9b22d94fe19776c90070823e7e1eeacd8d321dd9
updater | I, [2021-12-01T17:47:24.397956 #7]  INFO -- sentry: ** [Raven] Raven 3.1.2 ready to catch errors
updater | warning: parser/current is loading parser/ruby27, which recognizes
updater | warning: 2.7.5-compliant syntax, but you are running 2.7.1.
updater | warning: please see https://github.com/whitequark/parser#compatibility-with-ruby-mri.
updater | INFO <job_238927419> Starting job processing
  proxy | 2021/12/01 17:47:26 [002] GET https://api.github.com:443/repos/aenario/dependabot-npmrc-crash
  proxy | 2021/12/01 17:47:26 [002] * authenticating github api request
  proxy | 2021/12/01 17:47:26 [002] 200 https://api.github.com:443/repos/aenario/dependabot-npmrc-crash
  proxy | 2021/12/01 17:47:26 [004] GET https://api.github.com:443/repos/aenario/dependabot-npmrc-crash/git/refs/heads/main
  proxy | 2021/12/01 17:47:26 [004] * authenticating github api request
  proxy | 2021/12/01 17:47:26 [004] 200 https://api.github.com:443/repos/aenario/dependabot-npmrc-crash/git/refs/heads/main
  proxy | 2021/12/01 17:47:26 [006] GET https://api.github.com:443/repos/aenario/dependabot-npmrc-crash/contents/package.json?ref=07c68a53b25ed18c2eb09a5e977a58efbf2c6adc
  proxy | 2021/12/01 17:47:26 [006] * authenticating github api request
  proxy | 2021/12/01 17:47:26 [006] 200 https://api.github.com:443/repos/aenario/dependabot-npmrc-crash/contents/package.json?ref=07c68a53b25ed18c2eb09a5e977a58efbf2c6adc
  proxy | 2021/12/01 17:47:26 [008] GET https://api.github.com:443/repos/aenario/dependabot-npmrc-crash/contents/?ref=07c68a53b25ed18c2eb09a5e977a58efbf2c6adc
  proxy | 2021/12/01 17:47:26 [008] * authenticating github api request
  proxy | 2021/12/01 17:47:26 [008] 200 https://api.github.com:443/repos/aenario/dependabot-npmrc-crash/contents/?ref=07c68a53b25ed18c2eb09a5e977a58efbf2c6adc
  proxy | 2021/12/01 17:47:26 [010] GET https://api.github.com:443/repos/aenario/dependabot-npmrc-crash/contents/.npmrc?ref=07c68a53b25ed18c2eb09a5e977a58efbf2c6adc
  proxy | 2021/12/01 17:47:26 [010] * authenticating github api request
  proxy | 2021/12/01 17:47:26 [010] 200 https://api.github.com:443/repos/aenario/dependabot-npmrc-crash/contents/.npmrc?ref=07c68a53b25ed18c2eb09a5e977a58efbf2c6adc
updater | INFO <job_238927419> Finished job processing
updater | time="2021-12-01T17:47:26Z" level=info msg="task complete" container_id=job-238927419-file-fetcher exit_code=0 job_id=238927419 step=fetcher
updater | I, [2021-12-01T17:47:27.861380 #8]  INFO -- sentry: ** [Raven] Raven 3.1.2 ready to catch errors
updater | warning: parser/current is loading parser/ruby27, which recognizes
updater | warning: 2.7.5-compliant syntax, but you are running 2.7.1.
updater | warning: please see https://github.com/whitequark/parser#compatibility-with-ruby-mri.
updater | INFO <job_238927419> Starting job processing
updater | INFO <job_238927419> Starting update job for aenario/dependabot-npmrc-crash
updater | INFO <job_238927419> Checking if axios  needs updating
updater | I, [2021-12-01T17:47:29.592017 #8]  INFO -- sentry: ** [Raven] Sending event b6152f5a29e543e8b10fdeae56b1e0a7 to Sentry
  proxy | 2021/12/01 17:47:30 [014] POST https://sentry.io:443/api/1451818/store/
  proxy | 2021/12/01 17:47:30 [014] 200 https://sentry.io:443/api/1451818/store/
updater | ERROR <job_238927419> Error processing axios (ArgumentError)
updater | ERROR <job_238927419> invalid byte sequence in UTF-8
updater | ERROR <job_238927419> /home/dependabot/dependabot-updater/vendor/ruby/2.7.0/gems/dependabot-npm_and_yarn-0.169.2/lib/dependabot/npm_and_yarn/update_checker/registry_finder.rb:138:in `scan'
updater | ERROR <job_238927419> /home/dependabot/dependabot-updater/vendor/ruby/2.7.0/gems/dependabot-npm_and_yarn-0.169.2/lib/dependabot/npm_and_yarn/update_checker/registry_finder.rb:138:in `npmrc_registries'
updater | ERROR <job_238927419> /home/dependabot/dependabot-updater/vendor/ruby/2.7.0/gems/dependabot-npm_and_yarn-0.169.2/lib/dependabot/npm_and_yarn/update_checker/registry_finder.rb:127:in `known_registries'
updater | ERROR <job_238927419> /home/dependabot/dependabot-updater/vendor/ruby/2.7.0/gems/dependabot-npm_and_yarn-0.169.2/lib/dependabot/npm_and_yarn/update_checker/registry_finder.rb:55:in `first_registry_with_dependency_details'
updater | ERROR <job_238927419> /home/dependabot/dependabot-updater/vendor/ruby/2.7.0/gems/dependabot-npm_and_yarn-0.169.2/lib/dependabot/npm_and_yarn/update_checker/registry_finder.rb:32:in `registry'
updater | ERROR <job_238927419> /home/dependabot/dependabot-updater/vendor/ruby/2.7.0/gems/dependabot-npm_and_yarn-0.169.2/lib/dependabot/npm_and_yarn/update_checker/registry_finder.rb:82:in `registry_url'
updater | ERROR <job_238927419> /home/dependabot/dependabot-updater/vendor/ruby/2.7.0/gems/dependabot-npm_and_yarn-0.169.2/lib/dependabot/npm_and_yarn/update_checker/registry_finder.rb:40:in `dependency_url'
updater | ERROR <job_238927419> /home/dependabot/dependabot-updater/vendor/ruby/2.7.0/gems/dependabot-npm_and_yarn-0.169.2/lib/dependabot/npm_and_yarn/update_checker/latest_version_finder.rb:368:in `dependency_url'
updater | ERROR <job_238927419> /home/dependabot/dependabot-updater/vendor/ruby/2.7.0/gems/dependabot-npm_and_yarn-0.169.2/lib/dependabot/npm_and_yarn/update_checker/latest_version_finder.rb:297:in `fetch_npm_response'
updater | ERROR <job_238927419> /home/dependabot/dependabot-updater/vendor/ruby/2.7.0/gems/dependabot-npm_and_yarn-0.169.2/lib/dependabot/npm_and_yarn/update_checker/latest_version_finder.rb:276:in `npm_details'
updater | ERROR <job_238927419> /home/dependabot/dependabot-updater/vendor/ruby/2.7.0/gems/dependabot-npm_and_yarn-0.169.2/lib/dependabot/npm_and_yarn/update_checker/latest_version_finder.rb:107:in `valid_npm_details?'
updater | ERROR <job_238927419> /home/dependabot/dependabot-updater/vendor/ruby/2.7.0/gems/dependabot-npm_and_yarn-0.169.2/lib/dependabot/npm_and_yarn/update_checker/latest_version_finder.rb:36:in `latest_version_from_registry'
updater | ERROR <job_238927419> /home/dependabot/dependabot-updater/vendor/ruby/2.7.0/gems/dependabot-npm_and_yarn-0.169.2/lib/dependabot/npm_and_yarn/update_checker.rb:180:in `latest_released_version'
updater | ERROR <job_238927419> /home/dependabot/dependabot-updater/vendor/ruby/2.7.0/gems/dependabot-npm_and_yarn-0.169.2/lib/dependabot/npm_and_yarn/update_checker.rb:205:in `latest_version_details'
updater | ERROR <job_238927419> /home/dependabot/dependabot-updater/vendor/ruby/2.7.0/gems/dependabot-npm_and_yarn-0.169.2/lib/dependabot/npm_and_yarn/update_checker.rb:23:in `latest_version'
updater | ERROR <job_238927419> /home/dependabot/dependabot-updater/lib/dependabot/updater.rb:462:in `all_versions_ignored?'
updater | ERROR <job_238927419> /home/dependabot/dependabot-updater/lib/dependabot/updater.rb:193:in `check_and_create_pull_request'
updater | ERROR <job_238927419> /home/dependabot/dependabot-updater/lib/dependabot/updater.rb:82:in `check_and_create_pr_with_error_handling'
updater | ERROR <job_238927419> /home/dependabot/dependabot-updater/lib/dependabot/updater.rb:56:in `block in run'
updater | ERROR <job_238927419> /home/dependabot/dependabot-updater/lib/dependabot/updater.rb:56:in `each'
updater | ERROR <job_238927419> /home/dependabot/dependabot-updater/lib/dependabot/updater.rb:56:in `run'
updater | ERROR <job_238927419> /home/dependabot/dependabot-updater/lib/dependabot/update_files_job.rb:17:in `perform_job'
updater | ERROR <job_238927419> /home/dependabot/dependabot-updater/lib/dependabot/base_job.rb:35:in `run'
updater | ERROR <job_238927419> bin/update_files.rb:22:in `<main>'
updater | INFO <job_238927419> Finished job processing
updater | INFO Results:
updater | Dependabot encountered '1' error(s) during execution, please check the logs for more details.
updater | time="2021-12-01T17:47:30Z" level=info msg="task complete" container_id=job-238927419-updater exit_code=0 job_id=238927419 step=updater

👋 sorry for the slow response.
This one looks pretty tricky to handle.
First, I'm not seeing any well-known file header mentioned on https://github.com/AGWA/git-crypt, so the only way to differentiate between a git-crypted file and a simply malformed file would be to search the .gitattributes file for the well-known filter. That gets complicated fast.
Second, I'm also not sure that blithely ignoring the .npmrc file is always the best solution... that file may contain config information that is relevant for fetching updates. IE, if you check that repo out locally and run npm against it, npm will have access to the decrypted content and use any config information. So if Dependabot starts ignoring that, then that may surprise users who wonder why Dependabot behaves different than their local copy of npm.
We could certainly improve the warning here by explicitly saying that the .npmrc appears to be malformed; however, it's still relatively easy to identify from the logs what's going wrong.
Given the infrequency of this, the complexity of the fix, and that it's not always guaranteed that ignoring the file is the right way, I'm going to close as "wontfix".
If someone feels strongly about this and wants to submit a PR tackling it, feel free to comment and we can continue the discussion.

For what it's worth, there does seem to be a standard (and boring 😆) header for these files. From the given repo:
$ head -c10 .npmrc
GITCRYPT%

🤦♂  Good catch Deivid. I filed https://github.com/AGWA/git-crypt/issues/275 to get that added to the readme.
I think this should remain a wontfix because ignoring the .npmrc isn't a great idea when generating updates....

My idea of "fix" would be to raise an error about the file being encrypted. But this can happen with any file really, so we'd need some more global rescue. Unless this thing gains more popularity I agree not worth doing anything about this.


Consider previous matches

Our current icebreaker group is about 50 people, but even with such a large group duplicate / repeat matches are a common occurrence. Would be great if the matching algorithm could consider previous matches to avoid duplicates as far as possible, until most people have met with most others.

@rviljoen - This is excellent feedback here, however, I'd definitely put this into the UserVoice and provide the appropriate tags there. I'll mark it as a potential request here

@coderkrishna92 Thanks! Just to be clear, do you want me to log it in UserVoice or will you?

You can log it in UserVoice, and use the hashtag of TeamsAppTemplates for tracking!

Hi! I have deployd the Icebreaker bot for our team, and in the second week - some people had the same matches as the week before. Has there been a solution to this and are you please able to share it?

Hello,
Has there been any workaround this? For my team we're experience the same issue where folks are getting repeated matches. Group size is about 18 people.

Us too. I have been matched with the same person 3 times in a row :(

Us too. I have been matched with the same person 3 times in a row :(

Us too. We have 30 people in our team and have encountered repeat matches. What is the status on adding this capability?

Hello, we are having the same problem. Same person matching up to 3 times in sequence. Group has 85 members. Kindly advise.

We are having same problem as well. The Bot has now matched same 2 people 2 times. Is there an ETA on when we can expect a fix to have unique matches?

Thank you for submitting this issue, as we work to ensure consistent responses with items logged in our issues list, we are working to address these items that did not get responses. Please let us know if you are still facing this issue and require assistance and we will be happy to discuss. If no further action is needed at moment and no response is received, we will close out the issue in 3 business days. You may also always open a new issue or respond here if something does come back up. Thank you!

@v-royavinash Thanks for the update. This is a feature request and not a bug, still to be implemented. If you only want bugs here then you can close it. If you are tracking new features here as well, then please leave it open. Many thanks!

@rviljoen We have added the feature/enhancement request to our backlog items. We will be taking it in our future releases depending upon the priority and bandwidth. For now, we are marking this request closed.


[6.1][PreCheckTarget] Consider UnresolvedSpecializeExpr a chain expression

Cherry-pick #77813 into release/6.1
Explanation: Fix a regression caused by https://github.com/swiftlang/swift/pull/76981.

@swift-ci Please test


browser-support for IE has some error data!

browser-support  for IE has some error data!

please update it!

https://github.com/github/fetch#browser-support
caniuse
https://caniuse.com/#search=fetch

IE 11 tested

IE 11 does not have a native implementation of window.fetch, which is what caniuse.com is reporting. This repository provides a JavaScript implementation of fetch, allowing you to use it in IE 11.

SO, how can i use fetch in IE11 ?
Using some polyfill libs ?
Could you show me a demo ?
I'm looking forward your early reply, and thanks in advance!

This project is a polyfill for window.fetch. The way to use it is to obtain the fetch.js file from this project and load it together with your site's JavaScript. Then you can use fetch() function even in browsers that don't yet support it natively.

Thanks for your time!


Is there any way I can find the user id from the user name

My bad, user id can also be a user name


metrics: Granular control --metrics flag for which metrics to enable

For example:
--metrics

would enable all metrics
--metrics p2p,header

would enable only p2p and header metrics

This would also alleviate need for separate --p2p.metrics flag

cc @derrandz

Is it still relevant, @renaynay? Is there a use case when the user needs to enable one particular metric and does not need another? Our metrics do not spam with garbage(as e.g. some traces), so having all metrics enabled looks fine to me.
cc @Wondertan

my take is this is a kinda "nice to have" vs core functionality

My point is that collecting all metrics vs collecting enabled only some of them does not affect us much. You would anyway open a dashboard for the chosen metric and check it.

The only thing that I'd suggest to improve here is the way of how we are initing metrics. we have two different approaches across the node repo: through params.metric   and through invoking the function. Imo, the second approach looks better and does not require extra exported variables

@renaynay  What are the benefits of having granular metrics? My perspective is:

The overhead from collecting unnecessary metrics is negligible.
The use case for partial metrics remains unclear.

We discussed the subject internally and decided to move away from granular control for metrics and use single flag for all metrics at once.


feat: v1.0.0 をリリース

Linked issues

Resolve #10

期限

linked issues 参照。
詳細
参考

:tada: This PR is included in version 1.0.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Added FS codes for recent MH optimization algorithms

Hello Ritam,
I have added FS codes for two recently proposed meta-heuristic optimization algorithms - Arithmetic Optimization Algorithm (2021) and Archimedes Optimization Algorithm (2021). I was hoping if you could review the same and, if permissible, merge them into the main repository.
Regards,
Soumitri

Hi Soumitri,
Sorry for the late response. I'd love to check your code and add it to the Py_FS module. I may need a little more time to verify it. So, I'll let you know once I get time to look at it.
Cheers,
Ritam


[Question] Cannot capture events from TraceLogging Provider: Microsoft.Windows.Kernel.Power and Microsoft.Windows.Power.SleepStudy

I want to capture events real time from some TraceLogging Providers: Microsoft.Windows.Kernel.Power and Microsoft.Windows.Power.SleepStudy. But I cannot see any events from them. However, events are captured in ETL by WPR and shown in WPA.
Is there any comments?

Bulk closing old issues.  Please re-open if needed.


enhancement fast compute hash code of deep expression tree to reduce conflict (#38981)

cherry pick from #38981

run buildall


file convert command not working for amr

Hi, I trying to run this command in asterisk 16:
file convert "/app-dir/sounds/samples/campello-o.wav" "/var/lib/asterisk/sounds/pt-br/samples/campello.amr"
with asterisk-amk installed and  I got no conversion saying that do not have this converter:
[2020-08-21 20:15:09.643] WARNING[645]: file.c:1502 ast_writefile: No such format 'amr'
Am I doing something wrong?
magacho-Latitude-7480*CLI> core show codecs audio
Disclaimer: this command is for informational purposes only.
It does not indicate anything about your configuration.
ID TYPE  NAME         FORMAT           DESCRIPTION
   8 audio g726         g726             (G.726 RFC3551)
   6 audio alaw         alaw             (G.711 a-law)
   4 audio g723         g723             (G.723.1)
  22 audio speex        speex            (SpeeX)
  23 audio speex        speex16          (SpeeX 16khz)
  24 audio speex        speex32          (SpeeX 32khz)
  26 audio g722         g722             (G722)
  27 audio siren7       siren7           (ITU G.722.1 (Siren7, licensed from Polycom))
  10 audio adpcm        adpcm            (Dialogic ADPCM)
  46 audio silk         silk8            (SILK Codec (8 KHz))
  47 audio silk         silk12           (SILK Codec (12 KHz))
  48 audio silk         silk16           (SILK Codec (16 KHz))
  49 audio silk         silk24           (SILK Codec (24 KHz))
  30 audio g719         g719             (ITU G.719)
  21 audio g729         g729             (G.729A)
  11 audio slin         slin             (16 bit Signed Linear PCM)
  12 audio slin         slin12           (16 bit Signed Linear PCM (12kHz))
  13 audio slin         slin16           (16 bit Signed Linear PCM (16kHz))
  14 audio slin         slin24           (16 bit Signed Linear PCM (24kHz))
  15 audio slin         slin32           (16 bit Signed Linear PCM (32kHz))
  16 audio slin         slin44           (16 bit Signed Linear PCM (44kHz))
  17 audio slin         slin48           (16 bit Signed Linear PCM (48kHz))
  18 audio slin         slin96           (16 bit Signed Linear PCM (96kHz))
  19 audio slin         slin192          (16 bit Signed Linear PCM (192kHz))
   5 audio ulaw         ulaw             (G.711 u-law)
  20 audio lpc10        lpc10            (LPC10)
  29 audio testlaw      testlaw          (G.711 test-law)
  45 audio none         none             (<Null> codec)
   1 audio amr          amr              (AMR)
   2 audio amrwb        amrwb            (AMR-WB)
   7 audio gsm          gsm              (GSM)
  25 audio ilbc         ilbc             (iLBC)
  31 audio opus         opus             (Opus Codec)
   9 audio g726aal2     g726aal2         (G.726 AAL2)
   3 audio codec2       codec2           (Codec 2)
  28 audio siren14      siren14          (ITU G.722.1 Annex C, (Siren14, licensed from Polycom))

For reading, writing, and converting files, an Asterisk format module is required. For an example see https://github.com/traud/asterisk-opus/tree/asterisk-13.7/formats Consequently, this is a feature request. Because I do not need that personally, somebody else has to do it. When you get aware of such a format module, please, link it here.


[e2e]: container push main default slsa3

Repo: https://github.com/slsa-framework/example-package/tree/main
Run: https://github.com/slsa-framework/example-package/actions/runs/5373499259
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.container.push.main.default.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.container.push.main.default.slsa3.yml
Trigger: push
Branch: main
Date: Mon Jun 26 03:36:20 UTC 2023

Repo: https://github.com/slsa-framework/example-package/tree/main
Run: https://github.com/slsa-framework/example-package/actions/runs/5408144362
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.container.push.main.default.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.container.push.main.default.slsa3.yml
Trigger: push
Branch: main
Date: Thu Jun 29 03:27:41 UTC 2023
Tests are passing now. Closing this issue.


Pool upon reaching empty state does not refill until 3 minutes

According to this Benchmark,

In point of fact, as soon as the pool hit zero available connections, right around 800μs into the run, HikariCP began requesting connections to be added to the pool asynchronously. If the metrics had continued to be collected past the end of the spike -- out beyond 150ms -- you would observe that an additional connection is indeed added to the pool. But only one, because HikariCP employs elision logic; at that point HikariCP would also realize that there is actually no more pending demand, and the remaining connection acquisitions would be elided.

Issue-
In my case, once the pool hit zero available connections, HikariCP only added connection after 3 minute 52 seconds.
Expected-
Refilling should not take 3 minutes. In the Benchmark, refilling was done in 800μs
Steps to reproduce
HikariCP Config
HikariPool-1 - configuration:
allowPoolSuspension................................false
autoCommit................................true
catalog................................none
connectionInitSql................................none
connectionTestQuery................................none
connectionTimeout................................3000
dataSource................................none
dataSourceClassName................................none
dataSourceJNDI................................none
dataSourceProperties................................{password=<masked>}
driverClassName................................"com.amazonaws.secretsmanager.sql.AWSSecretsManagerMariaDBDriver"
exceptionOverrideClassName................................none
healthCheckProperties................................{}
healthCheckRegistry................................none
idleTimeout................................30000
initializationFailTimeout................................1
isolateInternalQueries................................false
jdbcUrl................................jdbc-secretsmanager:mariadb:aurora://{db_host}:3306/{db_name}?zeroDateTimeBehavior=CONVERT_TO_NULL&autoReconnect=true&useSSL=true&verifyServerCertificate=false&trustServerCertificate=true
keepaliveTime................................0
leakDetectionThreshold................................0
maxLifetime................................60000
maximumPoolSize................................5
metricRegistry................................none
metricsTrackerFactory................................none
minimumIdle................................2
password................................<masked>
poolName................................"HikariPool-1"
readOnly................................false
registerMbeans................................false
scheduledExecutor................................none
schema................................none
threadFactory................................internal
transactionIsolation................................default
username................................"{db_user}"
validationTimeout................................5000

Upon application startup at 2022-09-10 23:55:14.399, pool was filled with 2 connections. Log output-
2022-09-10 23:55:14.399 DEBUG 46108 --- [l-1 housekeeper] com.zaxxer.hikari.pool.HikariPool        : HikariPool-1 - After cleanup  stats (total=2, active=0, idle=2, waiting=0)
2022-09-10 23:55:14.399 DEBUG 46108 --- [l-1 housekeeper] com.zaxxer.hikari.pool.HikariPool        : HikariPool-1 - Fill pool skipped, pool is at sufficient level.

At around 2022-09-10 23:56:14.410 , database password was rotated.
at 2022-09-10 23:57:14.416 Pool did not have any available connections.
2022-09-10 23:57:14.416 DEBUG 46108 --- [l-1 housekeeper] com.zaxxer.hikari.pool.HikariPool        : HikariPool-1 - Before cleanup stats (total=0, active=0, idle=0, waiting=0)
2022-09-10 23:57:14.417 DEBUG 46108 --- [l-1 housekeeper] com.zaxxer.hikari.pool.HikariPool        : HikariPool-1 - After cleanup  stats (total=0, active=0, idle=0, waiting=0)
2022-09-10 23:57:14.417 DEBUG 46108 --- [l-1 housekeeper] com.zaxxer.hikari.pool.HikariPool        : HikariPool-1 - Fill pool skipped, pool is at sufficient level.

At 2022-09-10 23:58:00.630 , an HTTP request was made to get some record from database, which resulted in error
2022-09-10 23:57:57.603 DEBUG 46108 --- [nio-8080-exec-1] com.zaxxer.hikari.pool.HikariPool        : HikariPool-1 - Add connection elided, waiting 1, queue 2
2022-09-10 23:58:00.607 DEBUG 46108 --- [nio-8080-exec-1] com.zaxxer.hikari.pool.HikariPool        : HikariPool-1 - Timeout failure stats (total=0, active=0, idle=0, waiting=0)
2022-09-10 23:58:00.630 ERROR 46108 --- [nio-8080-exec-1] o.a.c.c.C.[.[.[/].[dispatcherServlet]    : Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.springframework.jdbc.CannotGetJdbcConnectionException: Failed to obtain JDBC Connection; nested exception is java.sql.SQLTransientConnectionException: HikariPool-1 - Connection is not available, request timed out after 3004ms.] with root cause

java.sql.SQLTransientConnectionException: HikariPool-1 - Connection is not available, request timed out after 3004ms.
	at com.zaxxer.hikari.pool.HikariPool.createTimeoutException(HikariPool.java:696) ~[HikariCP-4.0.3.jar:na]
	at com.zaxxer.hikari.pool.HikariPool.getConnection(HikariPool.java:197) ~[HikariCP-4.0.3.jar:na]
	at com.zaxxer.hikari.pool.HikariPool.getConnection(HikariPool.java:162) ~[HikariCP-4.0.3.jar:na]
	at com.zaxxer.hikari.HikariDataSource.getConnection(HikariDataSource.java:128) ~[HikariCP-4.0.3.jar:na]
	at org.springframework.jdbc.datasource.DataSourceUtils.fetchConnection(DataSourceUtils.java:158) ~[spring-jdbc-5.3.9.jar:5.3.9]
	at org.springframework.jdbc.datasource.DataSourceUtils.doGetConnection(DataSourceUtils.java:116) ~[spring-jdbc-5.3.9.jar:5.3.9]
	at org.springframework.jdbc.datasource.DataSourceUtils.getConnection(DataSourceUtils.java:79) ~[spring-jdbc-5.3.9.jar:5.3.9]
	at org.springframework.jdbc.core.JdbcTemplate.execute(JdbcTemplate.java:646) ~[spring-jdbc-5.3.9.jar:5.3.9]
	at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:713) ~[spring-jdbc-5.3.9.jar:5.3.9]
	at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:744) ~[spring-jdbc-5.3.9.jar:5.3.9]
	at org.springframework.jdbc.core.JdbcTemplate.query(JdbcTemplate.java:757) ~[spring-jdbc-5.3.9.jar:5.3.9]
	at org.springframework.jdbc.core.JdbcTemplate.queryForObject(JdbcTemplate.java:879) ~[spring-jdbc-5.3.9.jar:5.3.9]
	at com.luanvv.aws.rdssecrets.RestController.one(RestController.java:18) ~[classes/:na]

At 2022-09-11 00:00:16.370  after more than 3 minutes, finally connections were added asynchronously in the pool.
2022-09-11 00:00:16.370 DEBUG 46108 --- [onnection adder] com.zaxxer.hikari.pool.HikariPool        : HikariPool-1 - Added connection org.mariadb.jdbc.MariaDbConnection@49c26088
2022-09-11 00:00:19.750 DEBUG 46108 --- [onnection adder] com.zaxxer.hikari.pool.HikariPool        : HikariPool-1 - Added connection org.mariadb.jdbc.MariaDbConnection@563a433f
2022-09-11 00:00:19.750 DEBUG 46108 --- [onnection adder] com.zaxxer.hikari.pool.HikariPool        : HikariPool-1 - After adding stats (total=2, active=0, idle=2, waiting=0)

The problem that is issue causes is SEVERE. The application is unhealthy for more than 3 minutes

Was going through https://github.com/brettwooldridge/HikariCP/blob/dev/CHANGES#L5.
Seems like this issue is supposed to be fixed in 5.0.0
I tried with version 5.0.1 but the issue is still happening. CC @brettwooldridge

Found the root cause of the issue.
When HikariCP requests a connection from Driver here, it is waiting for connection to be returned within the connectionTimeout configured.
However, in case of MariaDB Driver used with AWS Aurora , the driver does not return (either success or failure) within due to failover recovery used in the driver https://mariadb.com/kb/en/failover-and-high-availability-with-mariadb-connector-j-for-2x-driver/
As per failover recovery, the driver will retry by default 120 times to establish a socket with old password (which is now rotated). As a result, in HikariCP, add connection requests keep on piling up in the queue.
Workaround I have used is reduced the retry count in failover to 10 using URL properties as below:
retriesAllDown=5&socketTimeout=3000
But I think there should a protection in HikariCP for such cases so it does not blindly trust the underlying driver to respect the connectionTimeout configured.
CC @brettwooldridge

@ankit-joinwal Thank you for troubleshooting this. I would argue that HikariCP already has a guard against requests "pilling up in the queue", but limiting the queue size. What else can HikariCP do to guard against this?
Certainly, it would be advantageous to add to the FAQ or other documentation about the above retriesAllDown property of the MariaDB driver.
In the end, regardless of how HikariCP handling this, how does the driver eventually recover from this condition?

Would it make sense to also use a Future and set a timeout on Future while submitting task to get connection ref-here and here ?

In the end, regardless of how HikariCP handling this, how does the driver eventually recover from this condition?

The MariaDB driver throws exception after all retries on all db hosts exhaust and expect client to send connection request again. This behaviour of MariaDB driver is particularly to handle AWS Aurora primary failover.
Because HikariCP uses thread pool size of 1, the blocked thread is then freed up and the piled up queue requests make the connection attempt again. In our case, we are using aws-secretsmanager-jdbc to fetch user secrets , so next time HikariCP attempts to make a connection, the user credentials are refreshed and the connection requests are succesful.
But the recovery time in this whole process is ~3 minutes which is breaking our App SLA.
Hope this clarifies.

I have documented about the issue here as it may help others too  - https://ankit-joinwal.medium.com/a-must-read-before-using-hikaricp-and-mariadb-driver-with-aws-aurora-f3c4f19cc73b


respect <base> when crawling

closes #8559. Note that in order to use <base> successfully, you must use config.kit.paths.relative: false, otherwise SvelteKit will attempt to load JavaScript modules relative to the base rather than to the current page.
Please don't delete this checklist! Before submitting the PR, please make sure you do the following:

[x] It's really useful if your PR references an issue where it is discussed ahead of time. In many cases, features are absent for a reason. For large changes, please create an RFC: https://github.com/sveltejs/rfcs
[x] This message body should clearly illustrate what problems it solves.
[x] Ideally, include a test that fails without this PR but passes with it.

Tests

[x] Run the tests with pnpm test and lint the project with pnpm lint and pnpm check

Changesets

[x] If your PR makes a change that should be noted in one or more packages' changelogs, generate a changeset by running pnpm changeset and following the prompts. Changesets that add features should be minor and those that fix bugs should be patch. Please prefix changeset messages with feat:, fix:, or chore:.

Note that in order to use  successfully, you must use config.kit.paths.relative: false, otherwise SvelteKit will attempt to load JavaScript modules relative to the base rather than to the current page.

Do we need to mention this in the docs? Maybe in the section for the base config?

added some docs in https://github.com/sveltejs/kit/pull/9257/commits/9a3e5809fa988a687e4172d852d040225b618ac5


Fixed serialization in RbacCollector for ZDT

Issue using Zend Developer Tools and ZfcRac.

Coverage increased (+0.05%) to 93.68% when pulling 27d39f3dceddb003dbf112302817354966fdaeb9 on belgattitude:master into dd462590ec2a72964850a62258120a28a43ffdd2 on ZF-Commons:master.

Travis failed on PSR2, just tried to fix it.

Coverage decreased (-0.11%) to 93.52% when pulling a6f2b3efb2cf9e34926088694643e579d9dd4e99 on belgattitude:master into dd462590ec2a72964850a62258120a28a43ffdd2 on ZF-Commons:master.

I don't think this has been fixed yet, so as a temporary solution I have made the following changes:
In ./module/Application/config/module.config.php:
'view_manager' => array(
   'template_map' => array(
      // Temp fix until this is approved: https://github.com/ZF-Commons/zfc-rbac/pull/296
      'zend-developer-tools/toolbar/zfc-rbac' => __DIR__ . '/../view/zend-developer-tools/toolbar/zfc-rbac.phtml',
   ),
),

Then copy the zfc-rbac.phtml file from the ./vendor directory into ./module/Application/view/zend-developer-tools/toolbar (note: 'Application' in the application.config.php must be loaded after 'ZfcRbac')
In the newly created zfc-rbac.phtml , modify the top few lines to look like this:
$this->collector->unserialize($this->collector->serialize());
/* @var $collection \ZfcRbac\Collector\RbacCollector */
$collection = $this->collector->getCollection();

:+1:

Will it be merged soon?

I'm a bit unsure about this, I've not coded PHP project for months, and I've not used for ZDT for even more, so I'd prefer someone familiar with this to handle it. @danizord ?

Yeah I finally got some time to take a deep look into it. Thanks!

When it will be tagged and released?

@guliano 2.5.3 released. Thank you guys   ;-)


Incorrect end-of-command byte for GetCoords()

Last byte in the command should be 0xfa instead of 0xfe

Thank you. I already fix it.


Future channel for ha-preview

Hi,
I'll be setting up a production cluster in a few days for some smaller workloads. I've been testing the ha-preview channel for a while and its working well. Once it's out of preview will there be a stable ha channel that I can change the installation to use? Or will I have to reinstall microk8s?

Hi @sstubbs,
The HA work will go into the master branch within the next two weeks so it will get released with the v1.19 kubernetes.
If you deploy now from the latest/stable there will be instructions on how to enable HA when released.
Thank you for trying out the HA preview. Your feedback is very valuable.

ok that is great news. Thanks.


Parquet read failing test case

Looks like parquet sources don't produce any data when scheduled. This is a test case which reproduces.

Thank you for the report, I'm afraid I am away from a computer the next couple of days but I'll take a look when I get back.
That being said, my hunch is that the test is panicking somewhere, and this is getting lost as the log facade isn't initialised. Perhaps you might test this out?

Thank you for the report, I'm afraid I am away from a computer the next couple of days but I'll take a look when I get back.
That being said, my hunch is that the test is panicking somewhere, and this is getting lost as the log facade isn't initialised. Perhaps you might test this out?
(As an aside fixing I'll add fixing the lack of panic guards to my list)

Yeah, I can take a look

K,  I think it's fixed. We have to treat CoalesceBatchExec as a repartition pipeline since it will eagerly poll it's input.

Hmm... That should just work... Something isn't quite right here... FWIW CoalesceBatches is not a repartition operation, it stitches batches together within a partition, so this PR currently will change the behaviour of the plan

K, looked some more and I think the issue is that the output channel closes as soon as any output partition finishes. Pushed a change that will track the active output partitions and close the output channel only if all partitions are done.

Ahah! Yeah that would do it, thanks for investigating 👍

I fixed this as part of supporting partitioned execution - see https://github.com/apache/arrow-datafusion/pull/2226/commits/505e880ad5d3a3e1714c98942ce207959ab3f2d1
In particular a reduced version of this test case can be found https://github.com/apache/arrow-datafusion/pull/2226/commits/505e880ad5d3a3e1714c98942ce207959ab3f2d1#diff-0005c0590888cdd2c7efd378972ade4f764ec75f4c62e009eb863e4a2bef99f9R378


Prevent next tick when force.stop is called.

This is useful when stopping the layout in response to a user action, e.g. if another layout is used to position the nodes in an event handler.  In this case, we don't want the next tick of the force layout to run as it could undo the positioning work done in the event handler.

Yes!


Programs Request Page-Admin-App - Sprint 5

Description:

Build the Screen using the style guide.
Integrate Screen with the Backend

@askinss I'm working on this issue


Fix and improve .editorconfig

https://spec.editorconfig.org/#supported-pairs 👀

https://github.com/greut/eclint reports some lines are longer than 100 characters.
.github/dependabot.yml:
4:101: line is too long (104 > 100)
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates

.github/workflows/test.yml:
29:101: line is too long (103 > 100)
        key: ${{ runner.os }}-${{ matrix.python-version }}-venv-${{ hashFiles('**/requirements.txt') }}

README.md:
8:101: line is too long (132 > 100)
* Has targets that bump versions for both [Semantic Versioning](https://semver.org/) and [Calendar Versioning](https://calver.org/);
9:101: line is too long (153 > 100)
* Uses GitHub Actions to build releases and publish them to PyPi [automatically](https://docs.pypi.org/trusted-publishers/) when a version tag is pushed;
11:101: line is too long (108 > 100)
* Turns on [Dependabot](https://docs.github.com/en/code-security/dependabot) for `github-actions` and `pip`.


Update dependencies

This is on hold till release of 5.13 as the unit tests on the master branch fail on the build server.


Not working in-game

So i have the mod installed and im able to configure it though even after changing bindings on my valve knuckles i still cannot spin or throw. I am using valve index and i have sirautil and BSML installed with saberfactory.

from what i have used this mod before saber factory doesnt work but i have seen people use it with trick saber


How to change shortchut?

Alt and Meta is same key,So I want to know to change shortcut? I used gnome-tweak to change the keys. But I still hope to use other shortcut.

Meta corresponds to the super key (mod4) unless you have remapped it. Thus M-A-x corresponds to alt + windows key + x. If you just want windows key+x you can do M-x. If this doesn't work it is probably because you have either changed your mod map or because the key combination is already bound in your window manager.  There is a bug which currently causes warpd to fail silently if it can't grab the key, you can force it to produce an error message by running it in the foreground (e.g warpd -f).

Maybe wayland problem. xorg is find.

Wayland uses a completely different input stack. I believe it has backward compatibility for some XGrab* calls but warpd abuses some of the hairier corners of xinput to achieve its objective. Wayland is unsupported and I would be surprised if it worked at all.

But I found another problem.When I use warpd. all window manager shotcut is slow.

Can you elaborate? I assume you are referring to X (wayland is unsupported). What is your DE/WM, which shortcuts are slow? Are you running any other input related programs?

OS: Manjaro Linux x86_64
DE: GNOME 40.4 xorg
window manager: pop shell
The shotcuts about "Swifch focus to window down/left/right/up" is slow. I set alt+ h/j/k/l to swiftch focus to window. maybe I use "alt“ key?

My guess would be colliding key bindings. A-h/j/k/l are the default warpd scroll keys, you will probably want to remap them to avoid conflicts.

Did you ever solve this? I've changed the default scroll keys and added some additional checks in the latest commit, but updating your config file should also have fixed the problem.

Thankyou!!! I have fiexd this problem.


Update the game over message

Update the game over message so people know how to play again!

cool pr


Feature/version fixup

Description
Package virtual_rainforest.__version__ should now track poetry managed version in pyproject.toml
Fixes #90
Type of change

[ ] New feature (non-breaking change which adds functionality)
[ ] Optimization (back-end change that speeds up the code)
[x] Bug fix (non-breaking change which fixes an issue)

Key checklist

[x] Make sure you've run the pre-commit checks: $ pre-commit run -a
[x] All tests pass: $ poetry run pytest

Further checks

[ ] Code is commented, particularly in hard-to-understand areas
[ ] Tests added that prove fix is effective or that feature works

OK -this is not branched off develop and is polluted with changes from another feature branch. I'm closing and will create a clean PR


ImportError: cannot import name 'ContractFunction' from 'web3.contract

Hi everyone
Iam just start work with hummingbot and I want to develop a connector for an exchange .
I did what installation guide said But when i want to run python ./bin/hummingbot.py
i get some sort of import Error that says :
     from web3.contract import ContractFunction
ImportError: cannot import name 'ContractFunction' from 'web3.contract' (/home/amir/anaconda3/envs/hummingbot/lib/python3.11/site-packages/web3/contract/__init__.py)

and i should mention that I installing it on Window WSL2 ubuntu 20.04
full error message :
hummingbot) amir@amir:~/secondins/hummingbot$ bin/hummingbot.py
Traceback (most recent call last):
  File "/home/amir/secondins/hummingbot/bin/hummingbot.py", line 9, in <module>
    from bin.docker_connection import fork_and_start
  File "/home/amir/secondins/hummingbot/bin/docker_connection.py", line 10, in <module>
    from hummingbot.core.gateway import set_hummingbot_pipe
  File "/home/amir/secondins/hummingbot/hummingbot/core/gateway/__init__.py", line 12, in <module>
    from hummingbot.core.event.events import TradeType
  File "/home/amir/secondins/hummingbot/hummingbot/core/event/events.py", line 8, in <module>
    from hummingbot.core.data_type.trade_fee import AddedToCostTradeFee, TokenAmount, TradeFeeBase
  File "/home/amir/secondins/hummingbot/hummingbot/core/data_type/trade_fee.py", line 7, in <module>
    from hummingbot.connector.utils import combine_to_hb_trading_pair, split_hb_trading_pair
  File "/home/amir/secondins/hummingbot/hummingbot/connector/utils.py", line 10, in <module>
    from zero_ex.order_utils import Order as ZeroExOrder
  File "/home/amir/anaconda3/envs/hummingbot/lib/python3.11/site-packages/zero_ex/order_utils/__init__.py", line 36, in <module>
    from zero_ex.contract_wrappers.exchange import Exchange
  File "/home/amir/anaconda3/envs/hummingbot/lib/python3.11/site-packages/zero_ex/contract_wrappers/exchange/__init__.py", line 18, in <module>
    from web3.contract import ContractFunction
ImportError: cannot import name 'ContractFunction' from 'web3.contract' (/home/amir/anaconda3/envs/hummingbot/lib/python3.11/site-packages/web3/contract/__init__.py)```

I have just encountered the same problem, so on what basis was this closed?

I was directed to this page, which shows that for now Hummingbot doesn't support Python versions higher than 3.8.22:
https://github.com/hummingbot/hummingbot/blob/master/setup/environment.yml#L22
By downgrading my python installation from 3.10 I got rid of the error and has been able to compile and run the Hummingbot client :o)

hi  i close the issue because  it was not a bug its just simple bad installation , you should let ./install file do the installation and in my case it was closed by OS because I've not allocate  enough  ram to WSL windows.
installing from source need 4 GB of ram . if you don't want to develop the project recommend that use docker for installations

hi  I close the issue because  it was not a bug its just simple bad installation , you should let ./install file do the installation and in my case it was closed by OS because I've not allocate  enough  ram to WSL windows   installing from source need 4 GB of ram . if you don't want to develop the project recommend that use docker to install the file


Only allow logger creation during initialization

Consider only allowing loggers to be allocated during initialization, and throw if Fastly.getLogger is called during request handling.

I believe this isn't meant to be 'only' during initialization, but 'also' during initialization as a way to improve performance but not be a confusing (and breaking) change.
Consider also allowing logger creation during initialization, but then throw if trying to log during initialization. This enables us to get the JS Object into memory during initialization, and during post-initialization when the log methods is called on the Logger instance, we can do the call to the host to retrieve the logger and log to it.
Note: This would mean that the constructor would not throw if called during initialization with a name that is valid but is not a name of an associated Logger on the Fastly Service. That error would be thrown when the log method is called.


Additional options available for pull request reviews / branch protection rules

One such rule that is currently not supported is bypass_pull_request_allowances (https://docs.github.com/en/rest/branches/branch-protection#update-pull-request-review-protection)
The library should be updated to include additional fields.
I'm more than happy to take a stab at doing this myself as a first contribution, just using this Issue to document the request.

Thank you, @Starttoaster !
It's yours.


TIFF support

Hello @dataflowg.  Any plans or interest in TIFF support?
This would be great for scientific/engineering applications.
Thanks for your great tools and many community contributions!

Hi @jimkring, thanks for the feature suggestion (and supportive comments!)
I'll have a look at what's involved in adding support (probably with libtiff). It might also be a good opportunity to add some metadata VIs and EXIF support.

There's a new library called LV-TIFF by Simon Klein which provides TIFF support for LabVIEW. It's still under development, but already looks pretty good.


Use local variable for polyfilling 'getComputedStyle'

Instead of creating a global variable which is not used anywhere.

Coverage remained the same at 73.832% when pulling eec43a951ba19c76020aa308b1d4d43adf31673c on synthecypher:hotfix/get-computed-style-causes-recursive-loop into 6b8659377c1ea96951f496fc7baf7b3b9deaa325 on mediaelement:master.

PR merged. Thanks for your work on this and I'll take a note to do the same with other variables


Deleting tag causes app crash

Description
Files app crashes when I tried to delete more than one tags. I just downloaded the app, it is a fresh install and I have never installed it before.
Steps To Reproduce

Go to settings
Click on tags
Delete one tag (In my case, I deleted the first one first)
Delete another tag (then I deleted the second one)
It will crash, but the tag is deleted after reopening the app

Steps to fix

Fix crash that occurs when deleting more than one tag.

Files Version
<IP_ADDRESS>
Windows Version
Windows 11 22H2 22621.1265
Log file
debug.log

Is this an issue in the preview version? https://files.community/download/preview

I think it is the stable stable version, I downloaded the classic installer at https://files.community/download, the downloaded installer is also named Files.Stable.exe

@ryjacky can you try the preview version?

Seems like it is fixed in the preview version <IP_ADDRESS>


Error: No available formula or cask with the name "swiftdocorg/formulae/swift-doc".

According to the formula given in the README...
% brew install swiftdocorg/formulae/swift-doc
Error: No available formula or cask with the name "swiftdocorg/formulae/swift-doc".
==> Searching for similarly named formulae...
Error: No similarly named formulae found.

How come?

This appears to be a bug in Homebrew. See: https://github.com/Homebrew/brew/issues/8830

I'm having similar issues while trying to update my version of swift-doc.
Is there a way to uninstall and reinstall? I tried uninstall, uninstall cask, and untap. None with any joy..
I ran brew doctor and this was the output.
Warning: Some installed formulae are not readable:
  swift-doc: /usr/local/Homebrew/Library/Taps/swiftdocorg/homebrew-formulae/Formula/swift-doc.rb:17: syntax error, unexpected <<
<<<<<<< HEAD
^~
/usr/local/Homebrew/Library/Taps/swiftdocorg/homebrew-formulae/Formula/swift-doc.rb:21: syntax error, unexpected ===, expecting end
=======
^~~
/usr/local/Homebrew/Library/Taps/swiftdocorg/homebrew-formulae/Formula/swift-doc.rb:25: syntax error, unexpected >>, expecting end
>>>>>>> Add bottle for swift-do...
^~
/usr/local/Homebrew/Library/Taps/swiftdocorg/homebrew-formulae/Formula/swift-doc.rb:25: syntax error, unexpected '-', expecting '.' or &. or :: or '['
>>>>>>> Add bottle for swift-doc 1.0.0-beta.5 on macOS Cat...
                            ^
/usr/local/Homebrew/Library/Taps/swiftdocorg/homebrew-formulae/Formula/swift-doc.rb:25: unexpected fraction part after numeric literal
...>> Add bottle for swift-doc 1.0.0-beta.5 on macOS Catalina
...                            ^~~
/usr/local/Homebrew/Library/Taps/swiftdocorg/homebrew-formulae/Formula/swift-doc.rb:25: no .<digit> floating literal anymore; put 0 before dot
...ottle for swift-doc 1.0.0-beta.5 on macOS Catalina
...                              ^
/usr/local/Homebrew/Library/Taps/swiftdocorg/homebrew-formulae/Formula/swift-doc.rb:75: syntax error, unexpected end, expecting end-of-input

Seems like some merge conflict issues. Any help would be appreciated

@KillianSmith0 I'd wager that this is an unrelated issue to the one originally reported. To resolve this, try:
$ brew untap -d -v swiftdocorg/formulae
$ brew tap swiftdocorg/formulae

...or if that doesn't work:
$ rm -rf /usr/local/Homebrew/Library/Taps/swiftdocorg
$ brew tap swiftdocorg/formulae

@rudifa @KillianSmith0 Have either of you been able to resolve your installation issue?

@matt @KillianSmith0

I followed matt's advice and successfully installed the swift-doc.

toolshed %  brew untap -d -v swiftdocorg/formulae
toolshed % brew tap swiftdocorg/formulae
toolshed % brew install swiftdocorg/formulae/swift-doc
toolshed %  brew upgrade swiftdocorg/formulae/swift-doc # following the advice seen at the line 70 of the transcript below

Attached is the transcript of the log output from the installation process.
swift-doc-install-log.txt

After that I ran a couple of commands on a small SwiftPackage project

RudifaUtilPkg % time swift-doc generate . -n RudifaUtilPkg                                                                        [master|…2]
swift-doc generate . -n RudifaUtilPkg  0.22s user 0.10s system 113% cpu 0.278 total
RudifaUtilPkg % time swift-doc generate . -n RudifaUtilPkg -f html                                                                [master|…2]
swift-doc generate . -n RudifaUtilPkg -f html  0.25s user 0.08s system 65% cpu 0.507 total

This did generate the .md and .html files, but the coverage is incomplete, and files not interlinked.
RudifaUtilPkg % tree .build/documentation                                                                                [master|…2]
.build/documentation
├── ClassNameProtocol
│   └── index.html
├── ClassNameProtocol.md
├── CodableUserDefault
│   └── index.html
├── CodableUserDefault.md
├── Home.md
├── PlistUserDefault
│   └── index.html
├── PlistUserDefault.md
├── WholeDay
│   └── index.html
├── WholeDay.md
├── WholeHour
│   └── index.html
├── WholeHour.md
├── WholeHours
│   └── index.html
├── WholeHours.md
├── WholeMonth
│   └── index.html
├── WholeMonth.md
├── _Footer.md
├── _Sidebar.md
├── all.css
├── allTests()
│   └── index.html
├── allTests().md
└── index.html

8 directories, 21 files

Compare with the jazzy docs (much better coverage and interlinks):
RudifaUtilPkg % time jazzy
jazzy  4.03s user 1.76s system 35% cpu 16.349 total

RudifaUtilPkg % tree docs                                                                                [master|…2]
docs
├── Extensions
│   ├── Array.html
│   ├── CGFloat.html
│   ├── CGPoint.html
│   ├── CGRect.html
│   ├── CGSize.html
│   ├── Calendar.html
│   ├── CaseIterable.html
│   ├── Date.html
│   ├── DateInterval.html
│   ├── Decodable.html
│   ├── Encodable.html
│   ├── NSObject.html
│   ├── Optional.html
│   └── String.html
├── Extensions.html
├── Protocols
│   └── ClassNameProtocol.html
├── Protocols.html
├── Structs
│   ├── CodableUserDefault.html
│   ├── PlistUserDefault.html
│   ├── WholeDay.html
│   ├── WholeHour.html
│   ├── WholeHours.html
│   └── WholeMonth.html
├── Structs.html
├── badge.svg
├── css
│   ├── highlight.css
│   └── jazzy.css
├── docsets
├── img
│   ├── carat.png
│   ├── dash.png
│   ├── gh.png
│   └── spinner.gif
├── index.html
├── js
│   ├── jazzy.js
│   ├── jazzy.search.js
│   ├── jquery.min.js
│   ├── lunr.min.js
│   └── typeahead.jquery.js
├── search.json
└── undocumented.json

7 directories, 39 files

Here is the source tree:
RudifaUtilPkg % tree Sources                                                                                [master|…2]
Sources
└── RudifaUtilPkg
    ├── CGExt.swift
    ├── ClassExt.swift
    ├── CodableExt.swift
    ├── CollectionExt.swift
    ├── DateExt.swift
    ├── DateIntervalExt.swift
    ├── DebugExt.swift
    ├── EnumExt.swift
    ├── OptionalExt.swift
    ├── StringExt.swift
    ├── StringRegexExt.swift
    └── UserDefaultsExt.swift

Compare with the jazzy docs (much better coverage and interlinks):

Thanks for your feedback. Two points of clarification:

swift-doc generates documentation only for public API symbols, whereas I believe Jazzy defaults to internal or higher, which accounts for the documentation coverage. At some point, we may add this as a configuration option.
swift-doc currently generates HTML with absolute links, with the intent of being hosted on a web server (i.e. not double-clicking them and viewing them via the file:// protocol). I'm working to provide an option for relative links as well as documentation for serving HTML locally.

Closing this, as the original installation issue has been resolved.

@matt Thank you for the clarification.

For the record, I ran jazzy with the default --min-acl public. Comparing, both tools documented Structures and Protocols, but jazzy also documented Extensions.

If you would like to continue discussing the compared usability, I could open a separate Issue.

Indeed, running documentation % python -m http.server 8080 produced the html page shown below, along with the jazzy page.

brew doctor gave me the path. Thanks for the interaction here. =]


DeadLock when call save in thread and transaction at the same time.

DBFlow Version: 4.0.3
Description:
Simple way to reproduce the problem like this:
  private void testDeadLock() {
          final SimpleModule module = new SimpleModule();
          module.name = "module1";
          module.time = System.currentTimeMillis();
          module.save();

          Thread thread = new Thread(new Runnable() {
              @Override
              public void run() {
                  Log.d(TAG, "save start");
                  module.time = System.currentTimeMillis();
                  module.save();
                  Log.d(TAG, "save finish");
              }
          });
          thread.start();
          FlowManager.getDatabase(SimpleDataBase.class).executeTransaction(new ITransaction() {
              @Override
              public void execute(DatabaseWrapper databaseWrapper) {
                  Log.d(TAG, "save in transaction start");
                  module.time = System.currentTimeMillis();
                  module.save();
                  Log.d(TAG, "save in transaction finish");
              }
          });
      }

Then
07-11 10:35:25.458 4410-4494/? D/MainActivity: save start
07-11 10:35:25.459 4410-4410/? D/MainActivity: save in transaction start
07-11 10:35:55.473 4410-4494/com.example.myapplication W/SQLiteConnectionPool: The connection pool for database '/data/user/0/com.example.myapplication/databases/simple.db' has been unable to grant a connection to thread 2331 (Thread-2) with flags 0x1 for 30.000002 seconds.
                                                                                Connections: 0 active, 1 idle, 0 available.
07-11 10:36:25.474 4410-4494/com.example.myapplication W/SQLiteConnectionPool: The connection pool for database '/data/user/0/com.example.myapplication/databases/simple.db' has been unable to grant a connection to thread 2331 (Thread-2) with flags 0x1 for 60.001003 seconds.
                                                                                Connections: 0 active, 1 idle, 0 available.

Same issue here，please suggest a fix

I've been having the same issue. By looking at ANRs on the playstore I can see that they happened infrequently when I was using 4.0.0-beta 5. I had to update DBFlow when beta5 broke on Jitpack. Ever since I've shipped with beta 7 I went from having 1-5 deadlocks a day to about 25 - 50 a day.
In testing so far I haven't been able to reproduce the dead lock issue when I use .async() before calling save().

Same issue too!

Run the operations on the same thread. dont do DB ops on different threads for a start.

FlowManager.getDatabase(...).beginTransactionAsync(...).build().execute()

https://agrosner.gitbooks.io/dbflow/content/StoringData.html under Async transactions.

@agrosner Is there an advantage to using an async transaction over calling save on an AsyncModel, or would they both do the same thing?

same thing. transaction more advantageous because you can do more within a transaction and itll overall be more efficient. Like for example:
list.forEach { it.async().save() }

Will create a transaction for each object and execute them in parallel.

FlowManager.getDatabase(MyDatabase::class.java).beginTransactionAsync { db ->
  list.forEach { it.save(db) }
}.build().execute()

which will do only one transaction for any number of models.

But in some times cannot access run the operations on the same thread elegant.Like this, I got some records from the server in a background thread.
At the same time I handle some user event from the UI thread, and should update the record.Although I can let them execution in a same thread, but this made code  less readable.
Do you have any suggestions?

if you need single model updates to happen youll have to be reactive to the changes, you can attach a model changed listener to an AsyncModel and wait for it to return then update your UI. For readability its tough to tell depending on your architecture and also callbacks arent always that readable anyways. Thread safety though is paramount.

thanks


1

1

That seems to contain lots of unrelated stuff. Some of that might be useful, but please file separate pull requests for each separate thing (theme, app, etc.)


try to create a custom github bot.

Finally i used the existing webhook done by @sgratzl/developer_webhook_bot


Jl/lists

The numbered lists don't display correctly in Learn Preview, not sure if they'll work in actual Learn... :(

Fixed numbered list markdown issues

Fixed numbered list markdown issues


Mixed content error preventing assets from being served

Saw this in chrome dev console on katas course:
Mixed Content: The page at 'https://clojurecademy.com/course#!/subjects/17592186068897' was loaded over HTTPS, but requested an insecure font 'http://production.cdmycdn.com/assets/icons/cc-achievements-32c6ca54abc7ca6052666b9bc1895838.ttf'. This request has been blocked; the content must be served over HTTPS.

@alex-dixon thanks for reaching out. I know this problem for a while but I was a bit lazy to fix that I'll fix it thank you!


Video downloads perfectly yet the audio of an ad downloads instead?

I am trying to get the following video from PCK:
https://csm-e-cenbcause1vpr416-049a005edc2ed4d50.bln1.yospace.com/csm/builder/304857316,proxy.1,293583033,307230519,proxy.2,307755983,304764810,proxy.3,304458575,304735845,proxy.4,proxy.5,307230519,293484774,proxy.6.mpd?c3.ri=3779933414550486821&yo.p.si=csm-e-cenbcause1vpr416-049a005edc2ed4d50-50-1616375544235&yo.p.ci=208574741&yo.p.fn=aHR0cHM6Ly9nMDAzLXZvZC11cy1jbWFmLXByZC1hay5jZG4ucGVhY29ja3R2LmNvbS9wdWIvZ2xvYmFsL2F2VC85U1UvUENLXzE2MTU5MDgyMjg3NTguODIzXzAxL2NtYWYvbXBlZ19jZW5jXzJzZWMvbWFzdGVyX2NtYWYubXBkP2MzLnJpPTM3Nzk5MzM0MTQ1NTA0ODY4MjE%3D%2F&yo.p.bp=MANIFEST&yo.p.cu=QmZ0Ng==,REh0OA==,RXlqZg==,RzFqVQ==,SWJMQw==&_fw_coppa=0&vprn=136125375&am_sdkv=2.0.2-peacock&flag=%2Bsltp%2Bemcr%2Bslcb%2Bsbid%2Bfbad%2Baeti%2Bslif%2Bvicb%2Bamcb%2Bplay-uapl%2Bdtrd&crtp=vast3ap&am_contextid=208574741&_fw_h_referer=https%3A%2F%2Fwww.peacocktv.com%2F&nw=169843&_fw_player_width=1920&yo.nl=true&am_appv=2.3.2&mode=on-demand&yo.av=2&_fw_cdn_provider=nbcu_akamai&bl_enabled=false&caid=PCK_PCK_VOD_9000003451&obfuscatedfreewheelprofile
It instantly works and I get the video as expected and I decrypt it perfectly, typically 2.2GB or so.
Yet all the sudden it will download only 33MB or so audio that will just be audio from an ad.
I do get this as well, but I am not sure that it's related:
"PLZ-KEEP-RAW Is Not Supported Yet, Ignore Decrypt, And Use Binary Merge"

invalid url. you can upload the mpd file.

videompd.zip


Add support for sign/verify

Once #27 is done, it should not be too hard to use similar features for signing/verifying.
Similarly commands sign and verify could be added. Currently as we only support the SignHash/VerifyHash commands we could just expect a hash or perform the hash in software in the tool.
We can use similar techniques as in #27 for the input/output file.

The one thing this has different from encrypting is the length of the message - for encryption, the message must fit, whereas for signing we can hash the input if it doesn't have the correct length. So I propose the following: after the tool gathers the input data it checks the size. If the size exceeds the lengths of a digest, we hash it with the correct algorithm (in software) and send the result for signing. In the future, if there will be demand for it, we can add a --hash flag to always hash even if the length is the same as for a digest (and maybe a --sign-message to force the tool to call the psa_sign_message operation)

Similarly than for encrypt, let's focus on sign for now and add verify later if needed.


Left-Handed emoji

Left-handed – several hand emojis show the left hand on some platforms, but there’s no right–left pair, except for ✍ and 🖎 U+1F58E where the latter is not an emoji yet. Therefore, this may not require a new code point being (proposed and) assigned, but just one gaining the necessary attribute.
Nib and Magnifying Glass emojis are already available facing in either direction: right-hand 🖋🔍 and left-hand ✒🔎.
Petitions

change.org

https://emojipedia.org/leftward-hand/ Emoji 14


Fix typo in readme

Coverage remained the same at 89.606% when pulling a24d73cfaeb712b1e1a6f988bd5bc3c3e19bf753 on olimart:patch-1 into 1cc427b2913245f4d2faad8482f5324850f41f69 on akretion:master.

Thanks @olimart !


fix: delete saved values on new RSA key creation

Yep this sounds right. Could you please add a test in the manual tests for android?

It may take a while to prepare the test since I don't have much free time at the moment.
I suggest you merge this one and I 'll do another PR for the test.


Avoid cuDNN handle around DropoutStates

Please merge cupy/cupy#1734 first.

How do you think if removing handle parameters as a no-compat change in v6? Too much?

Jenkins, test this please.

LGTM, waiting for CI finish.

Jenkins CI test (for commit b49c6a1faa272a496bb97bb8272db4a05d150beb, target branch master) succeeded!


Error if no masks found

If there are no masks found, this errors out here, due to said reduce having no default value.
I can reproduce this fairly easily:

Leave settings on defaults aside from the below.
Input this image.
Enable Segment Anything & CLIP.
Set SAM model to sam_vit_h_4b8939.pth.
Set predicted_iou_threshold / stability_score_threshold / clip_threshold to 1.
Set a segmentation prompt of 'asdf'.
Enable CascadePSP
Set CascadePSP to fast.
Generate.

(Most of these steps are probably unnecessary. Ditto, I realize that setting a threshold to 1 is somewhat silly.)
Said error is also fairly ungraceful in the UI: a red 'Error' and that's it.
Maybe either a) pass a default all-ones mask or b) if no masks pass the threshold then pick one mask with the highest confidence?

Thanks!
I'll try to modify it in the direction of option B.


Unable to animate CameraAttributesPractical inside a PhantomCamera3D node in game

Issue description
I have an AnimationPlayer controlling a PhantomCamera3D node, which has CameraAttributesPractical. I have exposure, and dof animations in the player which play nicely when in the editor. But these attribute animations don't work when running the game.
Steps to reproduce
Add an Camera3D with a PCamHost, a PhantomCamera3D node and an AnimationPlayer (with MeshInstance3Ds to view something). Animate the PhantomCamera3D position, rotation and attributes. The animation plays properly in editor, but in game only the position and rotation animations play and not the attributes.
(Optional) Minimal reproduction project
No response

This is a known limitation with the current system.
At the minute, the system cannot update the Attribute resource via the PCam3D during runtime, but it can via the Camera3D directly. If you modify the attribute resource of a PCam3D during runtime, it should only be affected when it gets tweened to from another PCam3D.
I haven't been able to find a performant way of doing this during runtime, as I can't quite see a way to only update the Camera3D's attribute whenever the PCam3D's changes, like with, e.g., a signal. The only alternative that I can think of is to update the resource every tick, but that is a fairly expensive approach, so have refrained from doing it for performance reasons.
It works in the editor because I'm assigning the attribute every tick, mainly so one can see what changes a change has, but disable that logic during runtime.

I am currently getting around it by setting the process mode of the host to DISABLED and then controlling the camera directly using Animation player.

Funny that a few of us are running into this all at the same time 😄 🎥

I haven't been able to find a performant way of doing this during runtime, as I can't quite see a way to only update the Camera3D's attribute whenever the PCam3D's changes, like with, e.g., a signal.

I'd be okay with a function that we could call on PhantomCamera3D that would force an update of the parent camera's attributes (update_owner_attributes?). It can be called whenever we know that a value has changed. Not great and would have to be documented as a "quirk" 🤷

At the minute, the system cannot update the Attribute resource via the PCam3D during runtime, but it can via the Camera3D directly.

This does work. Here's what I ended up with:
var host_camera_attributes := (
	phantom_camera.pcam_host_owner.camera_3d.attributes as CameraAttributesPractical
)

if phantom_camera.is_active():
	host_camera_attributes.dof_blur_near_enabled = true

	var target_blur = 2.0 if aiming else 0.0
	host_camera_attributes.dof_blur_near_distance = lerpf(
		host_camera_attributes.dof_blur_near_distance, target_blur, delta * 10
	)
else:
	host_camera_attributes.dof_blur_near_enabled = false
	host_camera_attributes.dof_blur_near_distance = 0.0

I currently only have one camera that I need the blur on, but I could see this getting a bit complicated if you want to have different values that are animated in code for different cameras.

I'd be okay with a function that we could call on PhantomCamera3D that would force an update of the parent camera's attributes (update_owner_attributes?). It can be called whenever we know that a value has changed. Not great and would have to be documented as a "quirk" 🤷

So have managed to find an approach to getting this to work automatically. Where the user doesn't have to do anything else but change the PCam3D's resource value, which works both in the editor and during runtime. But similar to #368, there is an issue where the signal that detects resource changes does not get emitted for most of the properties for the CameraAttributes, and Environment, resources. So that particular solution is blocked until that gets addressed.
For now, I would be okay with introducing a manual approach, via a function like mentioned, to bridge the current functionality gap.


MSID: 92938 Version: 2 DOI: 10.1101/2<IP_ADDRESS>9138

MSID: 92938
Version: 2
Preprint DOI: https://doi.org/10.1101/2<IP_ADDRESS>9138
Step 1. Awaiting reviews
Editorial to post reviews via hypothesis
Useful links:

DocMap: https://data-hub-api.elifesciences.org/enhanced-preprints/docmaps/v2/by-publisher/elife/get-by-manuscript-id?manuscript_id=92938
New model tracking: https://docs.google.com/spreadsheets/d/1_fHaoOy7hjyocptKtVJRijeNpUY4hBS7Ck_aVmx6ZJk/
Reviews on sciety: https://sciety.org/articles/activity/10.1101/2<IP_ADDRESS>9138

For trouble shooting (e.g. no Docmaps available):

DocMap issue addressing: https://miro.com/app/board/uXjVNCwK6EI=/
Explore DataHub DocMaps API: https://lookerstudio.google.com/reporting/4c2f0368-babb-4beb-b5b3-497e7e7b0f08/page/ejphD
Unmatched submissions and preprints: https://lookerstudio.google.com/u/0/reporting/9f86204f-3bf7-477c-9b18-5c5ef141bf69/page/p_gxi57ha93c
Unmatched manuscripts spreadsheet: https://docs.google.com/spreadsheets/d/15QcK8w-ssB7109RQEDtFpJPZ0J5HTGxoHa_2TtpMBbg/edit#gid=1336081641

Step 2. Preview reviewed preprint
Production QC content ahead of publication
Instructions:

QC preview: https://prod--epp.elifesciences.org/previews/92938v2
Update ticket with any problems (add blocked label)
When QC OK, add QC OK label to ticket and add publication date and time to https://docs.google.com/spreadsheets/d/1amAlKvdLcaDp5W8Z8g77NmkwbMF5n_u89ArSqPMO8jg
Move card to next column
(At end of the day post link in #enhanced-preprint and ask for PDF to be generated)

Useful links:

Preprint DOI :  https://doi.org/10.1101/2<IP_ADDRESS>9138
Confirm reviews returned by EPP: https://prod--epp.elifesciences.org/api/reviewed-preprints/92938/v2/reviews
To update the MECA path in the docmap: https://docs.google.com/spreadsheets/d/1mctCQuNFBjSn97Lihy7_vBO6z7-N-oqyLv4clyi6zHg

Step 3: Awaiting search reindex
This step adds the reviewed preprint to the homepage: https://elifesciences.org
The search reindex is triggered once an hour. We need the reviewed preprint to be indexed as the search application serves the journal homepage.
Useful links:

Jenkins pipeline to reindex search can be triggered sooner or monitored here: https://alfred.elifesciences.org/job/process/job/process-reindex-reviewed-preprints/

Step 4: Published! PDF requested
Waiting for PDF to be generated
Useful links:

PDF tracking: https://docs.google.com/spreadsheets/d/106_XeDjmuBae7gexOTNzg60lapeqjl2aRn9DzupGyS8/

Step 5: Introduce PDF to data folder and git repo
Upload PDF to relevent folder in git repo https://github.com/elifesciences/enhanced-preprints-data/
Step 6: Done!

[ ] Kettle is on!

error: [journal-ref-article-title] This journal reference (id c66) has no article-title element.
error: [journal-ref-article-title] This journal reference (id c105) has no article-title element.
warn: [mixed-citation-other-publication-flag] mixed-citation in reference (id=c16) has a publication-type='other'. Is that correct?

Fixing the above.


Shorten the OONI Run links & ensure they don't break across platforms

Possibly related to: https://github.com/ooni/run/issues/36


python311Packages.scikit-misc: replace ILP64 libs with LP64

scikit-misc was using the openblas package which is ILP64, however, numpy uses LP64 as to most of the other python packages. This change lines up scikit-misc with the same BLAS/LAPCAK libs numpy is using.
Also enable the only test.
I fixed this yesterday as part of ZHF https://github.com/NixOS/nixpkgs/pull/268456 but after thinking about it and realizing that pkg openblas is ILP64 decided that the better fix is to just align the BLAS/LAPACK libs with numpy.
plotnine fails due to many Attribute errors and the other packages the fail are dependent on plotnine.
Result of nixpkgs-review run on x86_64-linux 1

4 packages marked as broken and skipped:

python310Packages.rlax
python310Packages.rlax.dist
python311Packages.rlax
python311Packages.rlax.dist

8 packages failed to build:

python310Packages.bsuite
python310Packages.bsuite.dist
python310Packages.plotnine
python310Packages.plotnine.dist
python311Packages.bsuite
python311Packages.bsuite.dist
python311Packages.plotnine
python311Packages.plotnine.dist

4 packages built:

python310Packages.scikit-misc
python310Packages.scikit-misc.dist
python311Packages.scikit-misc
python311Packages.scikit-misc.dist

Description of changes

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[x] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

@pbsds changed scikit-misc to LP64

i added version information in postPatch as the build was trying to extract it from git. verified skmisc.__version__ is 0.3.0


Tweak dask backend costs. Add a default chunks size for dask.

When odo tries to route through the current dask.array backend it does not set the chunks keyword arg, so it fails.
This came up while preparing the blaze release today.

This was never a problem before. This is a regression and should be fixed by figuring out why we are now going through dask when before we weren't

@cpcloud I think it is a bug that when odo routes through array_to_dask, it does not set the chunks keyword argument, which raised a ValueError which made the conversion fail.
But, it is a regression that odo is now routing through this path when it wasn't before. I'm not sure why this is happening. And running the blaze tests today the failure does not happen anymore >____<

Should this PR be closed in favor of #384?


fix big int subclass extraction

As suggested by @davidhewitt on #914.
Selected Reviewer: @adriangb

please review.


No change in the CmdletParameters

I know that UAL is enabled and I reassure that it was on by running the command Get-AdminAuditLogConfig | FL UnifiedAuditLogIngestionEnabled and receiving the output UnifiedAuditLogIngestionEnabled : True.
However I wanted to identify since when it was turned on and using the command Search-AdminAuditLog -Cmdlets Set-AdminAuditLogConfig -Parameters UnifiedAuditLogIngestionEnabled, I get CmdletParameters   : {UnifiedAuditLogIngestionEnabled} which according to the documentation means it is turn off., however the "RunDate" matches the time I know it was turned on.
As a test, I disabled the UAC by executing Set-AdminAuditLogConfig -UnifiedAuditLogIngestionEnabled $false and after almost two hours I verified it was off (got UnifiedAuditLogIngestionEnabled : False), however after executing the query Search-AdminAuditLog -Cmdlets Set-AdminAuditLogConfig -Parameters UnifiedAuditLogIngestionEnabled the date in "RunDate" did not change and the CmdLetParameters maintained the same value (in this case it matched to the documentation as it does not include "Confirm").
Is there something I'm doing incorrectly?

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

ID: f6aa9c0c-c1ba-a464-3724-2060b61df19b
Version Independent ID: 1d2e74f1-d2b8-6cdf-a9ea-e5d9f67a35b0
Content: Turn auditing on or off - Microsoft 365 Compliance
Content Source: microsoft-365/compliance/turn-audit-log-search-on-or-off.md
Service: o365-seccomp
GitHub Login: @markjjo
Microsoft Alias: markjjo

@ruben03mx Thanks for question. I would suggest you open a ticket with MS Support and they can investigate. Not sure why your experience is different from the documentation.
Not sure this will help, but you could try running Get-AdminAuditLogConfig | FL UnifiedAuditLog, which displays the first opt-in date. I believe this date might correspond when unified audit logging was first enabled.


fix: update values

Insert the new values, copied from the slide deck. There might be more stuff here that's out of date, but this is what jumped out at me on a first reading.
@iskounen I assigned this to you, since it looks like you've been active on other open PRs. I guess that this repo could do with some ❤ generally, but I can see how it tends to drop below the radar! I'm happy to do some more updating as I discover things, if that would make sense, but I don't really feel like I'm qualified to make the kind of judgement calls that would be needed to bring some of it up to date.

Thanks!


Append Slash to Sensitive Mount Path startswith

What type of PR is this?

/kind bug
/kind rule-update

Any specific area of the project related to this PR?

/area rules

What this PR does / why we need it:
Make L#1932 equivalent to L#1898
The sensitive mount path at L#1932:
               container.image.repository startswith quay.io/sysdig)

is missing an important trailing slash like in L#1898:
               container.image.repository startswith quay.io/sysdig/)

Which issue(s) this PR fixes:
N/A
Special notes for your reviewer:
Does this PR introduce a user-facing change?:
rule(macro falco_sensitive_mount_containers): Adds a trailing slash to avoid repo naming issues

Thanks for your pull request. Before we can look at it, you'll need to add a 'DCO signoff' to your commits.
:memo: Please follow instructions in the contributing guide to update your commits with the DCO
Full details of the Developer Certificate of Origin can be found at developercertificate.org.
The list of commits missing DCO signoff:

cdc99f9 Append Slash to Sensitive Mount Path startswith

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To complete the pull request process, please assign mstemm
You can assign the PR to them by writing /assign @mstemm in a comment when ready.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

rules/OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Welcome @bgeesaman! It looks like this is your first PR to falcosecurity/falco 🎉

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: kris-nova
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

rules/OWNERS [kris-nova]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

LGTM label has been added.  Git tree hash: 2f6fa8cccd120326ee5c843ec251b6097ac43bff

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To complete the pull request process, please assign kris-nova
You can assign the PR to them by writing /assign @kris-nova in a comment when ready.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

rules/OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To complete the pull request process, please assign kris-nova
You can assign the PR to them by writing /assign @kris-nova in a comment when ready.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

rules/OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: leogr
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

rules/OWNERS [leogr]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

/milestone 0.26.0

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: leodido, leogr
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

rules/OWNERS [leodido,leogr]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


Memory consumption grows

When I'm launching 1 publisher and multiple subscribers the memory consumption on the publisher's side begins to grow (in 1-1 configuration everything is stable).
As I see from code in this case new ReaderProxy::m_changesForReader elements are added without later removal. This leads to memory consumption grow.

Sorry for my misunderstanding, :)
The problem was on inconsistence of ReliabilityQosPolicyKind on publisher (by default is RELIABLE_RELIABILITY_QOS) / subscriber (BEST_EFFORT_RELIABILITY_QOS) sides


M3-6070: Increase minimum acceptable password strength

Description 📝

Increase MINIMUM_PASSWORD_STRENGTH from 2 to 4
Refactors in StrengthIndicator.tsx to bring it up-to-date with our modern code conventions
Add unit tests for StrengthIndicator.tsx
Don't scale scores of 4 down in PasswordInput.tsx
Enforce password complexity/requirements in LinodeSettingsPasswordPanel.tsx

Do Not Merge until the 3/6 release process begins.
How to test 🧪

Ensure that the strength indicators for password inputs throughout the app have not been adversely impacted.
Run yarn test strengthindicator

@mjac0bs Back when we weren't using zxcvbn a few years ago, we had logic displaying info re: password requirements (see PasswordInput.tsx here). However, zxcvbn avoids arbitrary password requirement rules for the most part:
[...] it is more secure, flexible, and usable when sites require a minimal complexity score in place of annoying rules like "passwords must contain three of {lower, upper, numbers, symbols}".

@dwiley-akamai Thanks for the historical context! Interesting, sounds like lack of rules are a zxcvbn feature rather than a limitation. I am curious what users think about it, but that sounds like a question to raise with UX.


Helper text for the Enter Application field of Role Mappings section not fully visible in the UI for a SPA

How to reproduce:

Register a SPA wth console
Go to User Attributes tab > Role Mappings section
Enter a Application helper text is not visible fully. Some letters has been cut off from the UI

Environment
IS 5.12.0 alpha 17

This issue is being closed due to extended inactivity. Please feel free to reopen it if further attention is needed. Thank you for helping us keep the issue list relevant and focused!


Container-based sizing for GroupAvatar

This makes the size prop optional on Group Avatar.
I also updated the text sizing to be consistent with the single-collaborator Avatar case.
Before:

After:

Avatar:

(The text sizing difference is more obvious if you open the docs from the different versions in 2 tabs and quickly toggle between them.)

Deploy preview for gestalt ready!

The diff coverage is 100%.

@@            Coverage Diff             @@
##           master     #244      +/-   ##
==========================================
- Coverage   66.66%   66.46%   -0.21%
==========================================
  Files          46       46
  Lines         822      817       -5
  Branches      189      188       -1
==========================================
- Hits          548      543       -5
  Misses        192      192
  Partials       82       82

Impacted Files
Coverage Δ

packages/gestalt/src/GroupAvatar/GroupAvatar.js
100% <100%> (ø)
: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 a853b21...1c4696e. Read the comment docs.


feat: preserve whitespace when reading from CommandInput

Suggestions for wrapped Brigadier suggestions are currently a bit broken.

Suggestions for wrapped Brigadier suggestions are currently a bit broken.

Is that still the case or was it resolved with #595


Fix emf2svg build error on Ruby 3.1 with Windows (bundle install)

There is a build error on Ruby 3.1 with Windows about bundle install:
CMake Error at vcpkg/scripts/buildsystems/vcpkg.cmake:827 (message):
    vcpkg install failed.  See logs for more information:
    D:\a\_temp\d20220314-4988-dnd7iw\libemf2svg\vcpkg-manifest-install.log
  Call Stack (most recent call first):
  C:/Program Files/CMake/share/cmake-3.22/Modules/CMakeDetermineSystem.cmake:121
  (include)
    CMakeLists.txt:17 (project)

  CMake Error at CMakeLists.txt:17 (project):
    Generator

      Visual Studio 16 2019

    could not find any instance of Visual Studio.

Originally posted by @ronaldtse in https://github.com/metanorma/isodoc/issues/384#issuecomment-1067509501

@maxirmx any idea on why this build fails?
https://github.com/metanorma/isodoc/runs/5545183883?check_suite_focus=true

@opoudjis is also seeing such failure across the board: https://github.com/metanorma/metanorma-release

emf2svg-ruby is just a wrapper gem for the native emf2svg library which loaded via FFI.
So it doesn't require a separate version of a library for each Ruby MAJOR.MINOR version.
So the question why did bundler decide to not use the prebuilt x64-mingw32 but get gem with sources to compile.
I previously faced such an issue on macOS and it was related to the calculation of platform label (i.e. 64-mingw32). Maybe for Windows 3.1 we have something similar. Investigating ...

As far as I remember emf2svg library employs native (Microsoft) toolset.  It fails saying that it cannot find Microsoft compiler.

As far as I remember emf2svg library employs native (Microsoft) toolset. It fails saying that it cannot find Microsoft compiler.

This is true, and to avoid building complexity, we can provide precompiled platform gem. As you may see here https://rubygems.org/gems/emf2svg/versions we have 4 gems for the same version 1.0.0:

1.0.0 - September 06, 2021 x64-mingw32 (1.61MB)
1.0.0 - September 06, 2021 x86_64-darwin (163KB)
1.0.0 - September 06, 2021 x86_64-linux (217KB)
1.0.0 - September 06, 2021 (12KB)

First 3 are precompiled so they come with compiled shared libraries.
Basically on the bundler's side during resolving dependencies it should look for precompiled gem first  by comparing platform (x64-mingw32, x86_64-darwin, x86_64-linux)
So in theory this can happens for windows on arm or x86, but I'm not sure that this is our case
I will continue investigation

Addition re Microsoft compiler
emf2svg build script explicitly references MS Visual Studio 2019  That was/is relevant for Windows Server 2019 GHA runner
Now windows-latest is Windows Server 2022 that has MS Visual Studio 2022
That's why build step fails

It does not use x64-mingw32 precompiled version because the GHA runner is configured for x64-ucrt64
Simply speaking gen is pre-built with gcc and GHA deploys llvm

@maxirmx BTW is it possible to specify 'minimal' version of Genetator for cmake?

Apparently this is a known issue in Rubygems: https://github.com/rubygems/rubygems/issues/5269

The platforms x64-mingw32 and x64-mingw-ucrt are ABI incompatible - that's why we introduced a new platform string for RUBY_PLATFORM and Rubygems

Can we build a precompiled version for x64-mingw-ucrt for all our Windows gems?

@maxirmx BTW is it possible to specify 'minimal' version of Genetator for cmake?

The library itself uses the configuration provided by the runner
       cmake
        -B ${{github.workspace}}
        -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
        -DCMAKE_TOOLCHAIN_FILE=${{github.workspace}}/vcpkg/scripts/buildsystems/vcpkg.cmake

so it shall be version-agnostic.
I have to look at gem build script to see why and where  VS version is hardcoded

@maxirmx it is hardcoded here: https://github.com/metanorma/emf2svg-ruby/blob/4d7d99717f1daefba73a18da3b5b5c693f7edc82/lib/emf2svg/recipe.rb#L42

Thank you guys -- let's move the discussion to https://github.com/metanorma/emf2svg-ruby/issues/7 instead since it is more relevant there.

Thanks!


chromium 60

60.0.3112.90-1

:point_right: https://github.com/gcarq/inox-patchset/pull/90

Chromium 61 is released, this can be closed.


file /usr/include/KHR/khrplatform.h is installed by both userland and mesa-gl, aborting

hi, I have a problem with master branch
ERROR: libepoxy-1.5.3-r0 do_prepare_recipe_sysroot: The file /usr/include/KHR/khrplatform.h is installed by both userland and mesa-gl, aborting
MACHINE              = "raspberrypi3"
meta                 = "master:47eb3d00e9d6a66aee1283dab29af8117a006d6d"
meta-raspberrypi     = "master:09c00164d6ad978d444749a89e0a0a3d77a1735e"
meta-yocto-bsp       = "master:47eb3d00e9d6a66aee1283dab29af8117a006d6d"
meta-python          = "master:423828d894a5c78ebe5fc527e9aeca66ac1838b1"
meta-rust            = "master:4c9068bd0913633eafe7188147988e21f52fe31a"
it's weird because KHR is removed in userland_git.bb :
rm -rf ${D}${includedir}/EGL ${D}${includedir}/GLES* ${D}${includedir}/KHR
Is it necessary to add MACHINE_FEATURES_append =" vc4graphics" ?

@Romaxx this should be fixed now in master. Can you confirm? cc @kraj

it should be fixed now

error always appear if MACHINE_FEATURES_append =" vc4graphics" is not provided,
for raspberrypi3-64 it's not throwing because it's set in .conf

@romaxx what master revision have you used?

@adherzan oh well, I've made some modifications to userland_git.bb.. git didn't pull and no advertise me..
now have,
meta-raspberrypi     = "master:60dbfd25443754690f834afe30e7a6dca46a40da"
little issue with fetching
DEBUG: Fetcher failure: Unable to find revision e2d2941326922b63d722ebc46520c3a2287b675f in branch rpi-4.19.y even from upstream
so I've replaced with 18b4bd6567bc78af187211c5cb8bb439e9369811
have error with
linux-raspberrypi-1_4.19.23+gitAUTOINC+18b4bd6567-r0 do_kernel_version_sanity_check: Package Version (4.19.23+gitAUTOINC+18b4bd6567) does not match of kernel being built (4.19.25)
have replaced LINUX_VERSION ?= "4.19.25" in *4.19.bb
now I have (without MACHINE_FEATURES_append =" vc4graphics")
 include/epoxy/egl_generated.h:11:10: fatal error: EGL/eglplatform.h: No such file or directory |  #include "EGL/eglplatform.h"

I can reproduce this issue with userland graphics and latest OE-core/mesa, it needs a bit of patching and I have posted a pull request which should fix it finally.
https://github.com/agherzan/meta-raspberrypi/pull/392
This will make sure X11/eglfs images can be built with userland graphics, please note that
wayland may not work, thats a well known problem and limitation of userland graphics

I can reproduce this issue with userland graphics and latest OE-core/mesa, it needs a bit of patching and I have posted a pull request which should fix it finally.
https://github.com/agherzan/meta-raspberrypi/pull/392
This will make sure X11/eglfs images can be built with userland graphics, please note that
wayland may not work, thats a well known problem and limitation of userland graphics

Thanks, @kraj. @Romaxx can you confirm that current master works as expected?

same pb without MACHINE_FEATURES_append =" vc4graphics"
/home/ubuntu/yocto/master/rpi-build/tmp/work/cortexa7t2hf-neon-vfpv4-test-linux-gnueabi/xserver-xorg/2_1.20.4-r0/recipe-sysroot/usr/include/GL/glext.h:467:10: fatal error: KHR/khrplatform.h: No such file or directory
|  #include <KHR/khrplatform.h>

this seems to be related to old khronos header APIs in userland package probably. Recently I have not tested userland option so much, but my guess is we need to patch userland headers here.

@agherzan hi, yes I've tried with the last 7059c37, same error

That's a bummer. We will need to look into this and if by any chance you can and have the time, patches are welcome.

Does someone have resolved this issue or found a workaround ?

@pierreinglebert are you using userland for graphics ?

Hi @kraj, thanks for the fix


TLS error

docs.rlbox.dev is currently inaccessible due to an internal TLS error.  cURL output:
* Connected to docs.rlbox.dev (<IP_ADDRESS>) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* TLSv1.0 (OUT), TLS header, Certificate Status (22):
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
* TLSv1.2 (IN), TLS header, Unknown (21):
* TLSv1.3 (IN), TLS alert, internal error (592):
* error:0A000438:SSL routines::tlsv1 alert internal error
* Closing connection 0
curl: (35) error:0A000438:SSL routines::tlsv1 alert internal error

Firefox error code: "SSL_ERROR_INTERNAL_ERROR_ALERT"

Thanks!