Image.Resampling.LANCZOS instead of Image.ANTIALIAS deprecated in Pillow 10

Pillow's release notes
PR also done in your other project imagedominantcolor.

I needed to fix "imagedominantcolor/dominantcolor.py", line 20 as well.

Please merge it. :)

how could we get around this until this is merged ? @albertopasqualetto

@SvenHerr last time I used it, it was deprecated, but still working. Are things changed now?

Yes. Its not working anymore. I forked it and did the changes myself. Than installed as dev

how could we get around this until this is merged ? @albertopasqualetto
As a workaround I've manage to install the correct branch from @albertopasqualetto PR with this:

pip install git+https://github.com/albertopasqualetto/videohash.git@pillow10

I will update my requirements when this is merged.
Please correct me if this is not recommended.
Thanks!

how could we get around this until this is merged ? @albertopasqualetto

As a workaround I've manage to install the correct branch from @albertopasqualetto PR with this:
pip install git+https://github.com/albertopasqualetto/videohash.git@pillow10

I will update my requirements when this is merged.
Please correct me if this is not recommended.
Thanks!

For some reason this method stopped working.
pip still tell me it is installing the right branch but in the end there is another PIL error
PIP output
pip install git+https://github.com/albertopasqualetto/videohash.git@pillow10
Collecting git+https://github.com/albertopasqualetto/videohash.git@pillow10
 Cloning https://github.com/albertopasqualetto/videohash.git (to revision pillow10) to /tmp/pip-req-build-2h4lcsbf
 Running command git clone --filter=blob:none --quiet https://github.com/albertopasqualetto/videohash.git /tmp/pip-req-build-2h4lcsbf
 Running command git checkout -b pillow10 --track origin/pillow10
 Switched to a new branch 'pillow10'
 Branch 'pillow10' set up to track remote branch 'pillow10' from 'origin'.
 Resolved https://github.com/albertopasqualetto/videohash.git to commit ea7635c1410ff6c593760648ae3d1dae911e77b5
 Preparing metadata (setup.py) ... done
Requirement already satisfied: Pillow in ./.venv/lib/python3.10/site-packages (from videohash==3.0.1) (10.0.1)
Requirement already satisfied: ImageHash in ./.venv/lib/python3.10/site-packages (from videohash==3.0.1) (4.3.1)
Requirement already satisfied: imagedominantcolor in ./.venv/lib/python3.10/site-packages (from videohash==3.0.1) (1.0.1)
Collecting yt-dlp (from videohash==3.0.1)
 Downloading yt_dlp-2023.11.16-py2.py3-none-any.whl.metadata (160 kB)
    ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 160.5/160.5 kB 1.9 MB/s eta 0:00:00
Requirement already satisfied: PyWavelets in ./.venv/lib/python3.10/site-packages (from ImageHash->videohash==3.0.1) (1.4.1)
Requirement already satisfied: numpy in ./.venv/lib/python3.10/site-packages (from ImageHash->videohash==3.0.1) (1.26.0)
Requirement already satisfied: scipy in ./.venv/lib/python3.10/site-packages (from ImageHash->videohash==3.0.1) (1.11.3)
Requirement already satisfied: mutagen in ./.venv/lib/python3.10/site-packages (from yt-dlp->videohash==3.0.1) (1.47.0)
Requirement already satisfied: pycryptodomex in ./.venv/lib/python3.10/site-packages (from yt-dlp->videohash==3.0.1) (3.19.0)
Requirement already satisfied: websockets in ./.venv/lib/python3.10/site-packages (from yt-dlp->videohash==3.0.1) (11.0.3)
Requirement already satisfied: certifi in ./.venv/lib/python3.10/site-packages (from yt-dlp->videohash==3.0.1) (2023.7.22)
Requirement already satisfied: requests<3,>=2.31.0 in ./.venv/lib/python3.10/site-packages (from yt-dlp->videohash==3.0.1) (2.31.0)
Requirement already satisfied: urllib3<3,>=1.26.17 in ./.venv/lib/python3.10/site-packages (from yt-dlp->videohash==3.0.1) (2.0.4)
Requirement already satisfied: brotli in ./.venv/lib/python3.10/site-packages (from yt-dlp->videohash==3.0.1) (1.1.0)
Requirement already satisfied: charset-normalizer<4,>=2 in ./.venv/lib/python3.10/site-packages (from requests<3,>=2.31.0->yt-dlp->videohash==3.0.1) (3.2.0)
Requirement already satisfied: idna<4,>=2.5 in ./.venv/lib/python3.10/site-packages (from requests<3,>=2.31.0->yt-dlp->videohash==3.0.1) (3.4)
Downloading yt_dlp-2023.11.16-py2.py3-none-any.whl (3.1 MB)
  ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 3.1/3.1 MB 19.7 MB/s eta 0:00:00
Building wheels for collected packages: videohash
 Building wheel for videohash (setup.py) ... done
 Created wheel for videohash: filename=videohash-3.0.1-py3-none-any.whl size=23734 sha256=6a4e09db2bc0b06b11888fb87c52c6b61f27a8a819b4a6dac42c22f6a3d24212
 Stored in directory: /tmp/pip-ephem-wheel-cache-rwb0ejo4/wheels/e7/73/71/be3630faf5572cc635928e672e28035e91122bcaabb6c24dc1
Successfully built videohash
Installing collected packages: yt-dlp, videohash
Successfully installed videohash-3.0.1 yt-dlp-2023.11.16

Error
ERROR ❌ | module 'PIL.Image' has no attribute 'ANTIALIAS'

Solution to https://github.com/akamhy/videohash/pull/109#issuecomment-1832478251
As mentioned pillow dependencies are affected in imagedominantcolor you also need to patch first that python dependecy as follows:
pip install git+https://github.com/albertopasqualetto/imagedominantcolor@pillow10
and then
pip install git+https://github.com/albertopasqualetto/videohash.git@pillow10

@moracabanas thanks for the guide waiting for merges!

@akamhy, please merge this; pillow.ANTIALIAS is deprecated and no longer works in pillow>=10.0.0. Older versions of pillow have multiple known DoS vulnerabilities.

I think the developer is not maintaining this package anymore

I think the developer is not maintaining this package anymore

It seems so, maybe someone could write a mail to the mantainer in order to decide what to do.
In the meanwhile you can use my fork as explained above.


FC033: does not recognize templates in non-default dir

We like to separate our templates into specific folders if we write a LWRPs.
We get:
FC033: Missing template: ./resources/logentries_follow.rb:16
for
template app_name do
  path "/etc/le/conf.d/#{app_name}.conf"
  source 'logentries/base.conf.erb'

Obviously the template is there or our recipes wouldn't be working. Maybe this is not the standard? Issue or not?
Thanks!

Also hit this today -- no source set in my template resource, and the template itself is in the top level of templates/ (no default folder).
Possibly fixed by https://github.com/acrmp/foodcritic/pull/425 ? Someone should rebase it and test for tas50

@AlexMorreale I think you should close this as a dup of #449


Add async functions and methods

This issue was closed because it is resolved in #9.

This issue was closed because it is resolved in #9.


feat: added support for user assigned identity

Added support for using a user assigned identity. If the new parameter is not passed to the script it will default to the system assigned identity

Thanks for your contribution! LGTM


Name input for wallet not always showing validation error

https://track-expenses-app-frontend.netlify.app/wallets/management

Open editor
Click on "Save" without filling in input
Input is marked as invalid but without error message

NOTE: After focusing input and leaving it the validation error is visible.

Same issue for transaction editor: https://track-expenses-app-frontend.netlify.app/wallets/8

Open editor
Click on save
Input marked as invalid without error message

Please also add some margin between validation error and next input:

Assigned to: @tomektomek321


Emoji list is black nd white on Chrome, missing emojis

From my side this is not working properly. Not even with font-face and adding the 2 external fonts you provided.

When I check the emojis.json and the emojis.js from where the packData comes from, I'm getting this:

There are missing emojis.
Browser is Chrome.
OS is windows 7 and 10.
If possible, please help so that I can get a full list with color and no missing emojis.
This is the latest version - 1.1.7

How did you apply external sources? It should have worked with the external source.

Hi!
Thanks for answering and sorry for the delay. I'm adding:
<style lang="css" scoped>:
@font-face {
  font-family: Twemoji;
  font-weight: 400;
  font-display: swap;
  src: url(https://ucarecdn.com/73cba3b1-b2fa-45d9-89e3-886542974668/)
    format("truetype");
}

/* @font-face {
  font-family: NotomojiColor;
  font-weight: 400;
  font-display: swap;
  src: url(https://cdn.glitch.com/61908de1-dd0a-4359-a54b-6cb6d41bb5fd%2FNotoColorEmoji.ttf?1513108808150)
    format("truetype");
} */
</style>

And none of them work, I also tried to directly apply it:
       <VEmojiPicker
        :pack="emojisNative"
        labelSearch="Search"
        @select="selectEmoji"
        style="font-family: NotomojiColor" on
      />

Doesn't work :(

I also went to https://codesandbox.io/s/vue-example-emoji-picker-jojl2 to test your project, and even though uncommenting the font-face makes the list coloured, they're still being printed black and white, and some of them still are white square (for example the first smiling face).

This is because the library emits the Unicode emoji and sends it to Input's v-model variable, so you need to define a style that contains the emoji font inside Input if you want it to show icons as shown in the library.

Yeah, that worked in the sandbox. Thanks!
I have also verified that the issue with the emoji color might be because my windows 7 doesn't have the NotoColorEmoji.ttf installed in the OS, and when I try to install it by pasting the .ttf file in the Fonts folder from the Control Panel, I get an error that it is an unvalid file.
I'll be working this on my end, but I believe it should be working normally for everyone else.


python37Packages.immutables: 0.14 -> 0.15

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python37Packages.immutables is: "An immutable mapping type for Python"
meta.homepage for python37Packages.immutables is: "https://github.com/MagicStack/immutables"
meta.changelog for python37Packages.immutables is: ""
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS

Warning: a test defined in passthru.tests did not pass

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 0.15 with grep in /nix/store/08dfi74nxddw5i13c9dvy11vxixra4ys-python3.7-immutables-0.15

directory tree listing: https://gist.github.com/139f0d2c66229eb15b6c2241f08bd08b

du listing: https://gist.github.com/d31ce01cd517a1ea275dd9b9215b3129

Rebuild report (if merged into master) (click to expand)

12 total rebuild path(s)

3 package rebuild(s)

3 x86_64-linux rebuild(s)
3 i686-linux rebuild(s)
3 x86_64-darwin rebuild(s)
3 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
python37Packages.immutables
python38Packages.immutables
python39Packages.immutables

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/08dfi74nxddw5i13c9dvy11vxixra4ys-python3.7-immutables-0.15 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A python37Packages.immutables https://github.com/r-ryantm/nixpkgs/archive/2d05b211173fe2b2cd1450fbc6e38c1d6735a93e.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/08dfi74nxddw5i13c9dvy11vxixra4ys-python3.7-immutables-0.15
ls -la /nix/store/08dfi74nxddw5i13c9dvy11vxixra4ys-python3.7-immutables-0.15/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

3 packages built:

python37Packages.immutables
python38Packages.immutables
python39Packages.immutables

Maintainer pings
cc @catern for testing.

Result of nixpkgs-review pr 113010 run on x86_64-linux 1

3 packages built:

python37Packages.immutables
python38Packages.immutables
python39Packages.immutables


Add Reder to watchablequeue

Is your feature request related to a problem? Please describe.
Content enqueued to mongowatchablequeue should be rendered
Describe the solution you'd like
Add Reder dependency in mongowatchablequeue

Render operation should be moved outside queue to adhere to SOLID priciples


Vitest Startup Error

I am new to vitest and I want to use vitest in the vite, vue3 project I installed vitest using npm install -D vitest. After installing I added the npm run test in the scripts of package.json. When I try to run npm run test command I am getting startup error.
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯ Startup Error ⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
file:///C:/Testing/exp-tracker/node_modules/tinypool/dist/index.js:25
import { once, EventEmitterAsyncResource } from "events";
^^^^^^^^^^^^^^^^^^^^^^^^^
SyntaxError: The requested module 'events' does not provide an export named 'EventEmitterAsyncResource'
at ModuleJob.instantiate (node:internal/modules/esm/module_job:127:21)
at async ModuleJob.run (node:internal/modules/esm/module_job:191:5)
at async Promise.all (index 0)
at async ESMLoader.import (node:internal/modules/esm/loader:331:24)
at async start (file:///C:/Testing/exp-tracker/node_modules/vitest/dist/vendor/cac.DUiZvzF.js:1501:29)
To Reproduce:
These are my package.json config
"dependencies": {
"@headlessui/vue": "^1.7.17",
"@heroicons/vue": "^2.1.1",
"axios": "^1.6.5",
"happy-dom": "^14.12.3",
"pinia": "^2.1.7",
"serve": "^14.2.3",
"vue": "^3.3.11",
"vue-router": "^4.2.5",
"vue3-datepicker": "^0.4.0"
},
"devDependencies": {
"@vitejs/plugin-vue": "^4.6.2",
"@vue/test-utils": "^2.4.6",
"autoprefixer": "^10.4.16",
"events": "^3.3.0",
"postcss": "^8.4.33",
"tailwindcss": "^3.4.1",
"vite": "^5.0.8",
"vitest": "^2.0.3"
}
My node version is v18.17.1 and my npm version is 10.5.0
I am using windows 11 and vscode for development

Please, use the bug report template.

Hi Sheremet-va,
In stackblitz vitest is working, but it is not working in my windows local machine. Many thanks for considering my request.

Hi @Santhosh-Propvr
Try to update your node version. I had the same issue and it was fixed my I moved from v16.10.0 to v20.9.0

Hi @FabienCH
Thanks for your help.Will try your approach and update you.


Make rebalance strategy configurable for lead controller resource

This PR makes rebalance strategy configurable for lead controller resource.
By default, it's auto rebalance strategy.

Codecov Report

Merging #4981 into master will decrease coverage by 21.05%.
The diff coverage is 77.77%.

@@             Coverage Diff              @@
##             master   #4981       +/-   ##
============================================
- Coverage     57.35%   36.3%   -21.06%
============================================
  Files          1174    1174
  Lines         62246   62252        +6
  Branches       9148    9148
============================================
- Hits          35703   22598    -13105
- Misses        23876   37611    +13735
+ Partials       2667    2043      -624

Impacted Files
Coverage Δ
Complexity Δ

...org/apache/pinot/controller/ControllerStarter.java
66.44% <100%> (-3.97%)
0 <0> (ø)

...ot/controller/helix/core/util/HelixSetupUtils.java
88.75% <100%> (ø)
0 <0> (ø)
:arrow_down:

...va/org/apache/pinot/controller/ControllerConf.java
39.47% <60%> (-9.72%)
0 <0> (ø)

.../org/apache/pinot/common/http/MultiGetRequest.java
0% <0%> (-100%)
0% <0%> (ø)

...che/pinot/common/restlet/resources/TablesList.java
0% <0%> (-100%)
0% <0%> (ø)

...che/pinot/pql/parsers/pql2/ast/OptionsAstNode.java
0% <0%> (-100%)
0% <0%> (ø)

...ot/core/query/scheduler/TableBasedGroupMapper.java
0% <0%> (-100%)
0% <0%> (ø)

...t/core/segment/index/readers/OnHeapDictionary.java
0% <0%> (-100%)
0% <0%> (ø)

...t/core/query/scheduler/OutOfCapacityException.java
0% <0%> (-100%)
0% <0%> (ø)

...ot/core/query/scheduler/SchedulerQueryContext.java
0% <0%> (-100%)
0% <0%> (ø)

... and 587 more

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 a0fd481...dc7b339. Read the comment docs.


Updated assignment

Week 1 Lesson 2: Reading the DOCS assignment

hi, Julia, please submit this text in Moodle - find the assignment submit button and paste the text into the box.


[RESOLVED] High ICMP ping response time

Problem started at 12:45:17 on 2023.08.04
Problem name: High ICMP ping response time
Host: ST-FG
Severity: Warning
Operational data: Value: 217ms
Original problem ID: 34596
Event details in Zabbix: http://<IP_ADDRESS>/tr_events.php?triggerid=23135&eventid=34596

Problem has been resolved in 59s at 12:46:16 on 2023.08.04
Problem name: High ICMP ping response time
Host: ST-FG
Severity: Warning
Original problem ID: 34596


Codes about FeatureAlign_V2

In module FeatureAlign_v2
offset = self.offset(torch.cat([feat_arm, feat_up * 2], dim=1))  # concat for offset by compute the dif
Why multiple feat_up by 2?

We hope to enlarge the magnitude of upsampled features in case of suppression.

Thank you！ I also have the same question！

thank reply!


Convert publish Gradle script to Kotlin DSL and the maven-publish plugin

The old maven plugin is about to be deprecated in Gradle 6.0. The maven-publish plugin should be used instead.
Additionally the script has been converted to use Gradle Kotlin DSL. However, until #16 is completed, the benefits are limited.

Thank you @TheMrMilchmann!
I've made some minor adjustments, mainly to make the diff with the Groovy version simpler. The extra commit helps git log with following history of the renamed files.


Only a white screen when not online

Application shows only a white screen when not connected to the internet.
Let's not assume people have internet connectivity all the time.
Reference: https://github.com/AppImage/appimage.github.io/pull/1120

应用程序在未连接到Internet时只显示白色屏幕。
我们不要假设人们一直都有互联网连接。
参考文献: https://github.com/AppImage/appimage.github.io/pull/1120

@probonopd done as well :)
https://github.com/eNkru/electron-xiami/commit/3bcfc17a27fad565b998c094ea4fbaa97c933ffb

Thank you. When will there be a new release for download?

Thank you. When will there be a new release for download?

https://github.com/eNkru/electron-xiami/releases/tag/v2.0.1


Refactor IAM-related classes to be ready to support more services

This PR does the following:

Remove resourcemanager's Policy class
Rename core's IamPolicy to Policy
Add Role class to hold string values for roles
Add Policy.Marshaller and Policy.DefaultMarshaller classes to convert Policy to/from gRPC protos
Add PolicyMarshaller to resourcemanager to convert Policy to/from resourcemanager's protos
Update READMEs, javadoc and examples

@aozarov @ajkannan do you mind having a look? Also, should we add an iam package?

Looks good (only skimmed the tests though). Few comments/suggestions.
I am not convinced that we should put the Policy under iam sub-package unless we expect to have more kinds of policies in the future but fine either way.

Coverage increased (+0.004%) to 85.207% when pulling 1431f0dbf414158781fec3dd77b2122e18d51e77 on mziccard:refactor-iam into 7309be5a0b8a4ff84f55bb0f7ea7e57a4e8d0a33 on GoogleCloudPlatform:master.

LGTM

Coverage increased (+0.007%) to 85.209% when pulling b3c94f6253862d4432dbfcbfcb8f0676bd14c114 on mziccard:refactor-iam into 7309be5a0b8a4ff84f55bb0f7ea7e57a4e8d0a33 on GoogleCloudPlatform:master.

Coverage increased (+0.01%) to 85.209% when pulling 462910ed161b28eb602bfe85c562f7f681fa4450 on mziccard:refactor-iam into 3ea98b16d98b71a863402ce981929cf7f1cf2798 on GoogleCloudPlatform:master.

Comments fixed, PTAL

I am not convinced that we should put the Policy under iam sub-package unless we expect to have more kinds of policies in the future but fine either way.

I was considering to put: Policy, Role and Identity under the iam package but I am not convinced either.

LGTM (one comment was not addressed, your call).

@aozarov Another thing we might want to discuss is wether to store etag as byte[] or String. gRPC stores it as a ByteString (immutable byte array), we currently store it as  String, do you have any preferences?

My preference would be that as long as we wrap (and not expose) the underlying protobuf we should return it as String (which is also what we did for the api-client based Services).

Coverage increased (+0.01%) to 85.209% when pulling c046d6e4989eb78a1a0ce877c367a90ec97593ac on mziccard:refactor-iam into 3ea98b16d98b71a863402ce981929cf7f1cf2798 on GoogleCloudPlatform:master.


is possible to save UIImage as SVG file? or some other formats (or convert)

@ystrot sounds great, thank you for your response!


Request mapper for credit card

Added mapping for credit card transactions.
Refactoring of RequestMapper will follow in another pull request.

Coverage decreased (-0.5%) to 99.533% when pulling 761f075f208560ecfc1d5799c22bca4baf6896eb on reka:request-mapper into 1fbf107385870c8c494a1bc7c93d050492e2faf2 on wirecard:25-ccard-authorize.

Coverage remained the same at 100.0% when pulling 7341575d27ac85accc95beb9133b9a02e12942b5 on reka:request-mapper into 1fbf107385870c8c494a1bc7c93d050492e2faf2 on wirecard:25-ccard-authorize.


Not working if Private Link scope is in use

After following the procedure, the servers are not getting connected. When I check the azcmagent log, I see the following:
time="2023-05-05T10:25:32+01:00" level=debug msg="Status Message received"
time="2023-05-05T10:25:32+01:00" level=debug msg="Cancelled change token"
time="2023-05-05T10:25:32+01:00" level=info msg="Exit Code:  AZCM0026: Network Error"
time="2023-05-05T10:25:32+01:00" level=info msg="For troubleshooting, see https://aka.ms/arc/azcmerror"
time="2023-05-05T10:25:32+01:00" level=fatal msg="Private Link Scope resource ID must be provided as endpoint gbl.his.arc.azure.com is configured private"
I'm using Private Link Scope.
After running the azcmagent connect and passing the --private-link-scope parameter in the command, the server gets registered successfully.
Without this, the GPO is only installing the ARC Agent.

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

ID: 6ae288ed-d6fe-6337-482c-8e11cc5ec18b
Version Independent ID: 5b1ec441-86a2-1040-28da-d6f249d1e01e
Content: Connect machines at scale using Group Policy with a PowerShell script - Azure Arc
Content Source: articles/azure-arc/servers/onboard-group-policy-powershell.md
Service: azure-arc
Sub-service: azure-arc-servers
GitHub Login: @johnmarco
Microsoft Alias: johnmarc

Hi, is not that, I already fixed the issue by using the azcmagent connect command with the parameter --private-link-scope.
The issue here is that on the .\Deploy.ps1 script, the connection using private link scope doesn't exist.

Wiszanyel Becerra La Cruz

From: SwathiDhanwada-MSFT @.>
Sent: Tuesday, May 9, 2023 2:00:33 PM
To: MicrosoftDocs/azure-docs @.>
Cc: Wiszanyel Cruz @.>; Mention @.>
Subject: Re: [MicrosoftDocs/azure-docs] Not working if Private Link scope is in use (Issue #109136)
@Wiszanyelhttps://github.com/Wiszanyel Thanks for your question. Kindly check your on-premises DNS server(s) to verify it is either forwarding to Azure DNS or is configured with appropriate A records in your private link zone. These lookup commands should return private IP addresses in your Azure virtual network. If they resolve public IP addresses, double check your machine or server and network's DNS configuration.
nslookup gbl.his.arc.azure.com
nslookup agentserviceapi.guestconfiguration.azure.com
If you are having trouble onboarding a machine or server, confirm that you've added the Azure Active Directory and Azure Resource Manager service tags to your local network firewall. The agent needs to communicate with these services over the internet until private endpoints are available for these services.
—
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/azure-docs/issues/109136#issuecomment-1540080433, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AR3W776QN6BRJEPOOH64CMTXFI5XDANCNFSM6AAAAAAXW34FTE.
You are receiving this because you were mentioned.Message ID: @.***>

@Wiszanyel I have reached out to product team on this issue. They are working on it. I will post here once I have an update about the fix.

@SwathiDhanwada-MSFT: Hello, are there any news on this case, because we want do deploy the arc agent on around 100-200 servers and we need the private link scope too.

@Wiszanyel  @danido95  This  issue has been fixed in the latest release. We will close the issue for now. If there are further questions , please revert and we will be glad to assist you.


Driver blocking node event loop

When using the driver to connect to mysql over our network, the node event loop blocks until all of the results are returned.  This does not occur when using the instance of mysql running on my local machine or with the JDBC mysql driver over the network so it seems like there’s some interaction between the driver and our network.
I've posted the test code I’m using below, but am not really sure about the next steps to debug the problem so any suggestions would be appreciated.
mySql  = require('mysql')
conn  =  mySql.createConnection
    host         : ''
    port         : '4930'
    user         : ''
    password     : ''
    database     : ''
    insecureAuth : true

conn.connect()
conn.query  "SELECT * from users", (err, rows) =>
    if err
        console.error err.message
    else
        delta = new Date() - last
        console.error('EVENT LOOP BLOCKED FOR', delta, "ms")
        console.log rows.length
    throw "done"
conn.end()

last = new Date()
setInterval( ->
    delta = new Date() - last
    if (delta > 2)
        console.error('EVENT LOOP BLOCKED FOR', delta, "ms")
    last = new Date()
, 1)

I'm having the same issue
Detailed here - http://stackoverflow.com/questions/30886173/nodejs-mysql-query-blocking-event-loop
I've got a much smaller table - ~115K rows
I'd appreciate any advice thanks

Hi @avnersorek ! It would be really neat if someone could put together a flamegraph of what Node.js is spending it's time doing during your query, however 115k rows is still a lot of rows, and I feel like a lot of those blocks may be in the v8 garbage collector or similar while we are trying to construct a 115k element array for you.

Hi @dougwilson ! Thanks for your help. Besides this being an application issue for me, I'd also love to take this opportunity and learn a little more about the inside workings of node, so I'd really appreciate any explanation regarding the matter.
I changed the query to SELECT SLEEP(5); and it really does not block at all, so I guess that implies the blocking happens when parsing the results.
I change my code to this, in order to keep the query running and generate the flame graph (also change to the streaming API) :
function runQuery() {
  console.time('query');
  connection.query(query)
  .on('end', function() {
    console.timeEnd('query');
    runQuery();
  });
}

connection.connect(function(err) {
  runQuery();
});

:octocat: won't let me attach an SVG to this comment to I've uploaded the flamegraph here : https://drive.google.com/file/d/0B1p0cQY4eBDhczlETUhJMUZkU0U/view?usp=sharing
Thanks for the help !!!

Thank you so much, @avnersorek ! So according to the flamegraph, most of the time is taking up by v8 setting properties on object (i.e. within v8 itself from us trying to create all those row objects). The function in the list from us that is actually taking any significant time is the typeCast function, so we can look into if/how that can be optimized, but it won't really help too much, according to the graph.

I appreciate that this is an old thread by now, but since it's still Open, I guess this is still the case? I've been trying to figure out why I'm seeing blocks in my own Node server, such as the below. Is it plausible that these are caused by what is being discussed here?
Thanks much.
ERROR: BURST:blocked - Blocked for 27.6ms
 operation started here:
    at Socket.connect (net.js:950:7)
    at Object.connect (net.js:178:17)
    at PoolConnection.connect (/home/user/myproj/node/node_modules/mysql/lib/Connection.js:79:13)
    at Pool.getConnection (/home/user/myproj/node/node_modules/mysql/lib/Pool.js:48:16)
    at Pool.query (/home/user/myproj/node/node_modules/mysql/lib/Pool.js:202:8)
    at MySQLStore.query (/home/user/myproj/node/node_modules/express-mysql-session/index.js:432:33)
    at MySQLStore.get (/home/user/myproj/node/node_modules/express-mysql-session/index.js:162:8)
    at session (/home/user/myproj/node/node_modules/express-session/index.js:474:11)
    at Layer.handle [as handle_request] (/home/user/myproj/node/node_modules/express/lib/router/layer.js:95:5)
    at trim_prefix (/home/user/myproj/node/node_modules/express/lib/router/index.js:317:13)
    at /home/user/myproj/node/node_modules/express/lib/router/index.js:284:7
    at Function.process_params (/home/user/myproj/node/node_modules/express/lib/router/index.js:335:12)
    at next (/home/user/myproj/node/node_modules/express/lib/router/index.js:275:10)
    ...

I'm no longer involved with this project, but decided to take a quick look since it seems interesting.
As far as I can tell, my theory from 2012 is probably correct and there seems to be a scheduling issue in the node core, as demonstrated by the code here:
https://gist.github.com/felixge/d16ee6b128af7256862bf83fe2f34d8d#file-blocked-by-loop-js
https://gist.github.com/felixge/d16ee6b128af7256862bf83fe2f34d8d#file-blocked-by-net-client-txt
Firing a 100 million loop iteration every 1s seems to block the event loop for ~60ms. That seems reasonable.
Firing the same loop in a busy socket's 'data' callback however blocks the event loop for up to 1800ms. This seems unreasonable because the network callback gets scheduled 30x in a row while the timer has to wait.
So if your application requires fair scheduling between network and timer events, I'd suggest you raise an issue with the node.js core to get their feedback on this.
It might also be possible to implement some sort of cooperative scheduling in node-mysql by yielding back to the event loop after a certain amount of time. But if that's what it takes to get reasonable scheduling in node, I'd rather ditch it for Go 🤪.

Fascinating, thank you @felixge . I agree that this is crazy, but I wonder what other Node DB implementations are doing and if they are subject to the same gotcha.
If I'm following you, wrapping the socket's data callback in a setImmediate would probably "fix" the problem. I'm going to give it a try and will report back. I admit that this would not be ideal (for performance reasons), but I think that there should at least be an optional way to work around this problem...
Thanks again.

@logidelic yeah, they should help. I.e you should be able to see better timer latencies in exchange of slightly lower overall  throughput.

Unless you're talking about a different issue in this thread from the OP, I think the provided flame graphs are pretty straight forward for where the bottleneck is, so I don't think that is going to help. The blocking is still going to happen, even if it's moved with a setImmediate to occur at a different time...

@dougwilson are you sure?
I just modified my example to use socket.pause() and setImmediate and was able to reduce the timer starvation from ~1800ms at a time to ~80ms:
https://gist.github.com/felixge/d16ee6b128af7256862bf83fe2f34d8d#file-blocked-by-net-js
vs
https://gist.github.com/felixge/d16ee6b128af7256862bf83fe2f34d8d#file-blocked-by-net-improved-js
The flamegraph obviously shows why the callback is eating a lot of CPU time, but it doesn't show scheduling issues. By using setImmediate we're able to coerce the scheduler from it's default behavior of executing queued I/O events up to the internal callback limit to instead schedule evenly between I/O and timer events.
See https://nodejs.org/en/docs/guides/event-loop-timers-and-nexttick/

Nice! It would be very interesting to know if this impacts the wall clock of large query results, but fixing scheduling lock ups is more important than raw throughput for sure. Hopefully it doesn't cause the query parsing time as a total against the wall clock much impact.

Nice! It would be very interesting to know if this impacts the wall clock of large query results, but fixing scheduling lock ups is more important than raw throughput for sure. Hopefully it doesn't cause the query parsing time as a total against the wall clock much impact.

Yeah, that could be a concern.
One could combat this by having each connection instance setup a setInterval of 1ms which updates a this._lastTimer property. If this._lastTimer gets too far behind (e.g. 10ms), then the connection can call socket.pause() and setImmediate().
That being said, one should certainly question the wisdom of implementing an I/O scheduler inside of a database client library. It'd be much better to seek solutions for this in the node core ...

According to Node peeps, we shouldn't be blocking things in that callback. The suggestion is that the parsing should be moved to a worker thread.

My understanding is that workers threads are not made for parsing, either. This is because they run in a separate v8 isolate, so all the parsing work done there would not be available back on the main thread without stringifying the data and parsing it back in the main thread to turn it back into object, which would block again. Please correct me if I am mistaken, though.

@logidelic I replied to the node thread. I think node has a scheduling problem and the suggested workaround seems unreasonable for many scenarios, including node-mysql. Let’s see the discussion continues

Thanks for that @felixge . I have a feeling that they are going to stick to the, "this is by design and not our problem" line but we shall see.
I haven't looked at the internals of the Socket stuff in node, but I'm scared that the pause/resume stuff might be a hit on throughput. One alternative is to do something like:
var queue = [];

socket.on('data', data => {
    queue.push(data);
    if(queue.length == 1) setImmediate(processData);
})

function processData() {
    var data = queue.shift();
    if(queue.length) setImmediate(processData);
    // Parse/process data now...
}

This way we are processing each data event in sequential ticks (which is probably what most users would expect would happen)... Of course it may use a bit more memory for the queue.

@logidelic any sort of attempt to implement user-land scheduling will be a tradeoff between latency and throughput.
That being said, I suspect your proposal will have a higher overhead than mine (as every callback gets deferred, even if the event loop hasn't be blocked much), and also seems to allow unbound memory usage which might could cause significant issues for people dealing with very large query results.


ENH: Augment examples in readme?

The README on this repo seems to be the only documentation for this package, and I think there's a lot of functionality missing (e.g. there's a reference at the bottom to being able to write to Azure, but no discussion of how that works? And I see issues about tools that allow for exploring Azure storage file names and structure (e.g. https://github.com/dask/adlfs/issues/135). Any chance some of that could end up in the package docs? Seems like there's a lot of great functionality in this package that may not be discoverable...

@nickeubank -- There has definitely been updates to the package that are not included in the docs.  Any and all improvements are appreciated!

I would contribute, but I don't have a clue what all the improvements are! I only realized looking at the issues that there's a lot that I don't know about.￼￼

related to this https://github.com/dask/adlfs/issues/103

exploring Azure storage file names and structure

True. Most of that info is held upstream at fsspec or s3fs which is more mature (same syntax)


Invalid Unicode escape sequence after 0.4.0

hello, is seems that 0.4 is somewhat breaking here
It detect an invalid escape in our node_modules (https://github.com/PrismJS/prism/blob/master/prism.js#L1862C5-L1862C61)
the extract is
var extension = (/\.(\w+)$/.exec(src) || [, 'none'])[1]

if i put that in a single file i still have the issue
  × Invalid Unicode escape sequence
   ╭─[brol.js:3:20]
 2 │ // in this case, we want to use the extension as the language
 3 │ var extension = (/\.(\w+)$/.exec(src) || [, 'none'])[1]
   ·                    ─
   ╰────

Looking at this right now, seems related to a bunch of parser work I did earlier.

https://github.com/oxc-project/oxc/releases/tag/oxlint_v0.4.1

thanks for the quick fix!
❤


Update Stream Analytics SDK

-Copied over new generated files that updates the SDK to the latest version which added the diagnostic property to inputs and outputs.
If there is a problem with an input or output, the user can make a ListInputInJob or ListOutputInJob method call with the PropertiesToSelect parameter set to "*" (asterisk). This will return all the inputs or outputs in the job with the diagnostic property set if there is a problem with that particular input or output.
-Updated SDK NuGet version number to 1.4.1
-Updated AssemblyFileVersion to <IP_ADDRESS>

Hi @atpham256, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution!

It looks like you're working at Microsoft (anpham). If you're full-time, we DON'T require a contribution license agreement.

If you are a vendor, or work for Microsoft Open Technologies, DO please sign the electronic contribution license agreement. It will take 2 minutes and there's no faxing! https://cla.azure.com.

TTYL, AZPRBOT;


Fix an occurence of null displayname issue

Hi there,
After having upgraded our Matrix client app to use matrix-ios-sdk v0.11.5, we noticed that some rooms happen to lose their display name and avatar on a seemingly random basis.
I can see from PR #599 that you are also facing similar issues.
From user feedbacks, it appears that Direct chats are the most affected.
I could reproduce this problem with the latest Riot iOS client, so I guess v0.11.6 does not fix that.
Steps to reproduce :

with Riot iOS client, create a Direct Chat with some user Foo
kill Riot iOS app
from another client (e.g the webclient), go to the Foo chat, and send ~25 messages (enough to trigger a limited sync)
now open Riot iOS : "sometimes" (about half the time from my tests) you'll find that the Foo chat has been renamed Empty room, and has lost its avatar (used to be Foo avatar, now it's the first letter of the roomId)

What happens is that :

due to the large number of messages sent, Riot receives a limited sync of the chat.
In MXEventTimeline.handleJoinedRoomSync, this limited sync triggers a kMXRoomDidFlushDataNotification notification.
This notification is handled by MXRoomSummary.resetRoomStateData, which resets the chat avatar, displayname, topic and aliases, and tries to recompute them from state events.
Unfortunately, the state event list of the direct chat does not contain enough information to recompute a displayname or an avatar.
If the limited sync data also contains a server room summary, then the displayname and avatar are restored soon after, in MXRoomSummary.handleJoinedRoomSync
Yet if the sync data does not contain the server room summary, the displayname and avatar are now reset for good (the null value is persisted), until the user either clears the cache or logs out & in.

I came up with the following workaround, which I submit to your approval : since the summary can't be recomputed from the state events, we can still reconstruct it by calling the standard Matrix name/avatar computation algorithm, via the update delegate's session:updateRoomSummary:withServerRoomSummary:roomState: method, passing it a nil server room summary.
(A similar trick is already used to compute the room summary of invited rooms in session:updateRoomSummary:withStateEvents:roomState:)
Not sure this fix is the most relevant (maybe this should be fixed on the server side after all, by sending the server room summary more often ?), but at least it can start a discussion ^^
Thank you !
Signed-off-by: Hervé Bérenger<EMAIL_ADDRESS>

Thank you @manuroe for your prompt answer.
I've just amended my commit to take your suggestions into account.


服务启动超时

Qinglong version
正式版whyour/qinglong:latest
Steps to reproduce
2023-08-04T21:15:56: Error:
2023-08-04T21:15:56: at Database. (/ql/node_modules/.pnpm/sequelize@6.32.0_@whyour+sqlite3@1.0.3/node_modules/sequelize/src/dialects/sqlite/query.js:236:27)
2023-08-04T21:15:56: at /ql/node_modules/.pnpm/sequelize@6.32.0_@whyour+sqlite3@1.0.3/node_modules/sequelize/src/dialects/sqlite/query.js:234:50
2023-08-04T21:15:56: at new Promise ()
2023-08-04T21:15:56: at Query.run (/ql/node_modules/.pnpm/sequelize@6.32.0_@whyour+sqlite3@1.0.3/node_modules/sequelize/src/dialects/sqlite/query.js:234:12)
2023-08-04T21:15:56: at /ql/node_modules/.pnpm/sequelize@6.32.0_@whyour+sqlite3@1.0.3/node_modules/sequelize/src/sequelize.js:650:28
2023-08-04T21:15:56: at SQLiteQueryInterface.select (/ql/node_modules/.pnpm/sequelize@6.32.0_@whyour+sqlite3@1.0.3/node_modules/sequelize/src/dialects/abstract/query-interface.js:1001:12)
2023-08-04T21:15:56: at Function.findAll (/ql/node_modules/.pnpm/sequelize@6.32.0_@whyour+sqlite3@1.0.3/node_modules/sequelize/src/model.js:1824:21)
2023-08-04T21:15:56: at Function.findOne (/ql/node_modules/.pnpm/sequelize@6.32.0_@whyour+sqlite3@1.0.3/node_modules/sequelize/src/model.js:1998:12)
2023-08-04T21:15:56: at TaskLimit.setCustomLimit (/ql/back/shared/pLimit.ts:19:17) {
2023-08-04T21:15:56: name: 'SequelizeDatabaseError',
2023-08-04T21:15:56: parent: [Error: SQLITE_ERROR: no such table: Auths] {
2023-08-04T21:15:56: errno: 1,
2023-08-04T21:15:56: code: 'SQLITE_ERROR',
2023-08-04T21:15:56: sql: "SELECT id, ip, type, info, createdAt, updatedAt FROM Auths AS Auth WHERE Auth.type = 'systemConfig' LIMIT 1;"
2023-08-04T21:15:56: },
2023-08-04T21:15:56: original: [Error: SQLITE_ERROR: no such table: Auths] {
2023-08-04T21:15:56: errno: 1,
2023-08-04T21:15:56: code: 'SQLITE_ERROR',
2023-08-04T21:15:56: sql: "SELECT id, ip, type, info, createdAt, updatedAt FROM Auths AS Auth WHERE Auth.type = 'systemConfig' LIMIT 1;"
2023-08-04T21:15:56: },
2023-08-04T21:15:56: sql: "SELECT id, ip, type, info, createdAt, updatedAt FROM Auths AS Auth WHERE Auth.type = 'systemConfig' LIMIT 1;",
2023-08-04T21:15:56: parameters: {}
2023-08-04T21:15:56: }
2023-08-04T21:16:03: Error: spawn ENOMEM
2023-08-04T21:16:03: at ChildProcess.spawn (node:internal/child_process:413:11)
2023-08-04T21:16:03: at spawn (node:child_process:757:9)
2023-08-04T21:16:03: at Object.execFile (node:child_process:348:17)
2023-08-04T21:16:03: at exec (node:child_process:232:25)
2023-08-04T21:16:03: at /ql/back/config/util.ts:392:9
2023-08-04T21:16:03: at new Promise ()
2023-08-04T21:16:03: at promiseExec (/ql/back/config/util.ts:391:10)
2023-08-04T21:16:03: at Object.check (/ql/back/schedule/health.ts:12:36)
2023-08-04T21:16:03: at /ql/node_modules/.pnpm/@grpc+grpc-js@1.8.15/node_modules/@grpc/grpc-js/src/server.ts:1077:13
2023-08-04T21:16:03: at Http2ServerCallStream.safeDeserializeMessage (/ql/node_modules/.pnpm/@grpc+grpc-js@1.8.15/node_modules/@grpc/grpc-js/src/server-call.ts:636:7) {
2023-08-04T21:16:03: errno: -12,
2023-08-04T21:16:03: code: 'ENOMEM',
2023-08-04T21:16:03: syscall: 'spawn'
2023-08-04T21:16:03: }
2023-08-04T21:16:04: Error: spawn ENOMEM
2023-08-04T21:16:04: at ChildProcess.spawn (node:internal/child_process:413:11)
2023-08-04T21:16:04: at spawn (node:child_process:757:9)
2023-08-04T21:16:04: at Object.execFile (node:child_process:348:17)
2023-08-04T21:16:04: at exec (node:child_process:232:25)
2023-08-04T21:16:04: at /ql/back/config/util.ts:392:9
2023-08-04T21:16:04: at new Promise ()
2023-08-04T21:16:04: at promiseExec (/ql/back/config/util.ts:391:10)
2023-08-04T21:16:04: at Object.check (/ql/back/schedule/health.ts:12:36)
2023-08-04T21:16:04: at /ql/node_modules/.pnpm/@grpc+grpc-js@1.8.15/node_modules/@grpc/grpc-js/src/server.ts:1077:13
2023-08-04T21:16:04: at Http2ServerCallStream.safeDeserializeMessage (/ql/node_modules/.pnpm/@grpc+grpc-js@1.8.15/node_modules/@grpc/grpc-js/src/server-call.ts:636:7) {
2023-08-04T21:16:04: errno: -12,
2023-08-04T21:16:04: code: 'ENOMEM',
2023-08-04T21:16:04: syscall: 'spawn'
2023-08-04T21:16:04: }
2023-08-04T21:16:05: <ref *1> Error: spawnSync /bin/sh ENOMEM
2023-08-04T21:16:05: at Object.spawnSync (node:internal/child_process:1110:20)
2023-08-04T21:16:05: at spawnSync (node:child_process:871:24)
2023-08-04T21:16:05: at execSync (node:child_process:952:15)
2023-08-04T21:16:05: at CronService.set_crontab (/ql/back/services/cron.ts:542:13)
2023-08-04T21:16:05: at CronService.autosave_crontab (/ql/back/services/cron.ts:582:10)
2023-08-04T21:16:05: at exports.default (/ql/back/loaders/initData.ts:128:3)
2023-08-04T21:16:05: at Object.exports.default (/ql/back/loaders/app.ts:16:3)
2023-08-04T21:16:05: at startServer (/ql/back/app.ts:16:3) {
2023-08-04T21:16:05: errno: -12,
2023-08-04T21:16:05: code: 'ENOMEM',
2023-08-04T21:16:05: syscall: 'spawnSync /bin/sh',
2023-08-04T21:16:05: path: '/bin/sh',
2023-08-04T21:16:05: spawnargs: [ '-c', 'crontab /ql/data/config/crontab.list' ],
2023-08-04T21:16:05: error: [Circular *1],
2023-08-04T21:16:05: status: null,
2023-08-04T21:16:05: signal: null,
2023-08-04T21:16:05: output: null,
2023-08-04T21:16:05: pid: 0,
2023-08-04T21:16:05: stdout: null,
2023-08-04T21:16:05: stderr: null
2023-08-04T21:16:05: }
2023-08-04T21:16:05: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason:
2023-08-04T21:16:05: Error: spawnSync /bin/sh ENOMEM
2023-08-04T21:16:05: at Object.spawnSync (node:internal/child_process:1110:20)
2023-08-04T21:16:05: at spawnSync (node:child_process:871:24)
2023-08-04T21:16:05: at execSync (node:child_process:952:15)
2023-08-04T21:16:05: at CronService.set_crontab (/ql/back/services/cron.ts:542:13)
2023-08-04T21:16:05: at CronService.autosave_crontab (/ql/back/services/cron.ts:582:10)
2023-08-04T21:16:05: at exports.default (/ql/back/loaders/initData.ts:128:3)
2023-08-04T21:16:05: at Object.exports.default (/ql/back/loaders/app.ts:16:3)
2023-08-04T21:16:05: at startServer (/ql/back/app.ts:16:3)
2023-08-04T21:16:06: Error: spawn ENOMEM
2023-08-04T21:16:06: at ChildProcess.spawn (node:internal/child_process:413:11)
2023-08-04T21:16:06: at spawn (node:child_process:757:9)
2023-08-04T21:16:06: at Object.execFile (node:child_process:348:17)
2023-08-04T21:16:06: at exec (node:child_process:232:25)
2023-08-04T21:16:06: at /ql/back/config/util.ts:392:9
2023-08-04T21:16:06: at new Promise ()
2023-08-04T21:16:06: at promiseExec (/ql/back/config/util.ts:391:10)
2023-08-04T21:16:06: at linkCommand (/ql/back/loaders/deps.ts:21:40)
2023-08-04T21:16:06: at exports.default (/ql/back/loaders/deps.ts:45:9)
2023-08-04T21:16:06: at Object.exports.default (/ql/back/loaders/app.ts:19:17) {
2023-08-04T21:16:06: errno: -12,
2023-08-04T21:16:06: code: 'ENOMEM',
2023-08-04T21:16:06: syscall: 'spawn'
2023-08-04T21:16:06: }
2023-08-04T21:16:06: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason:
2023-08-04T21:16:06: Error: spawn ENOMEM
2023-08-04T21:16:06: at ChildProcess.spawn (node:internal/child_process:413:11)
2023-08-04T21:16:06: at spawn (node:child_process:757:9)
2023-08-04T21:16:06: at Object.execFile (node:child_process:348:17)
2023-08-04T21:16:06: at exec (node:child_process:232:25)
2023-08-04T21:16:06: at /ql/back/config/util.ts:392:9
2023-08-04T21:16:06: at new Promise ()
2023-08-04T21:16:06: at promiseExec (/ql/back/config/util.ts:391:10)
2023-08-04T21:16:06: at linkCommand (/ql/back/loaders/deps.ts:21:40)
2023-08-04T21:16:06: at exports.default (/ql/back/loaders/deps.ts:45:9)
2023-08-04T21:16:06: at Object.exports.default (/ql/back/loaders/app.ts:19:17)
{"code":7,"killed":false,"signal":null,"cmd":"curl -s http://localhost:5600/api/system"}
What is expected?
下版本修复
What is actually happening?
[PM2] Spawning PM2 daemon with pm2_home=/root/.pm2
[PM2] PM2 Successfully daemonized
[TAILING] Tailing last 15 lines for [all] processes (change the value with --lines option)
/root/.pm2/pm2.log last 15 lines:
PM2        | 2023-08-04T21:26:17: PM2 log: --- New PM2 Daemon started ----------------------------------------------------
PM2        | 2023-08-04T21:26:17: PM2 log: Time                 : Fri Aug 04 2023 21:26:17 GMT+0800 (China Standard Time)
PM2        | 2023-08-04T21:26:17: PM2 log: PM2 version          : 5.3.0
PM2        | 2023-08-04T21:26:17: PM2 log: Node.js version      : 18.17.0
PM2        | 2023-08-04T21:26:17: PM2 log: Current arch         : arm64
PM2        | 2023-08-04T21:26:17: PM2 log: PM2 home             : /root/.pm2
PM2        | 2023-08-04T21:26:17: PM2 log: PM2 PID file         : /root/.pm2/pm2.pid
PM2        | 2023-08-04T21:26:17: PM2 log: RPC socket file      : /root/.pm2/rpc.sock
PM2        | 2023-08-04T21:26:17: PM2 log: BUS socket file      : /root/.pm2/pub.sock
PM2        | 2023-08-04T21:26:17: PM2 log: Application log path : /root/.pm2/logs
PM2        | 2023-08-04T21:26:17: PM2 log: Worker Interval      : 30000
PM2        | 2023-08-04T21:26:17: PM2 log: Process dump file    : /root/.pm2/dump.pm2
PM2        | 2023-08-04T21:26:17: PM2 log: Concurrent actions   : 2
PM2        | 2023-08-04T21:26:17: PM2 log: SIGTERM timeout      : 1600
PM2        | 2023-08-04T21:26:17: PM2 log: ===============================================================================
System Info
No response
Any additional comments?
No response

使用宿主机方式更新下

首先更新镜像，确保更新到了最新版镜像
确保原来映射了 data 目录
使用 docker run --rm -v /var/run/docker.sock:/var/run/docker.sock containrrr/watchtower -cR <容器名> 更新


C# 8.0 null-forgiving operator: SA1514 false positive: Element documentation should be preceded with blank line.

Description
When using the null-forgiving operator as per https://docs.microsoft.com/en-us/ef/core/miscellaneous/nullable-reference-types#non-nullable-properties-and-initialization the rule SA1514 is triggered for the documentation header of the next property/method.
Repro steps
Use the null-forgiving operator like described in the Entity Framework documentation.
public class Sample
{
    /// <summary>
    /// Gets or sets the value.
    /// </summary>
    public string SomeString { get; set; } = null!;

    /// <summary>
    /// Gets or sets the value.
    /// </summary>
    public string AnotherString { get; set; } = null!;
}

Expected behavior
The rule SA1514 should not be triggered.
Actual behavior
The rule SA1514 is triggered.
Known workarounds
Add an extra newline between the line with with null-forgiving operator.
Related information

StyleCop.Analyzers Version: 1.2.0-beta.113
JetBrains Rider Version: 2019.2.3

I added PR with tests. It seems that issue is not reproduced.


DevHome Hyper-V Create: Failed to create environment...

Dev Home version
No response
Windows build number
No response
Other software
No response
Steps to reproduce the bug
Use DevHome
Try to create Windows image.
After awhile:
Status: Failed to create environment due to error: Unable to get Local Hyper-V host: Hyper-V encountered an error trying to access an object on computer 'KEVINLA-SURFACE' because the object was not found. The object might have been deleted. Verify that the Virtual Machine Management service on the computer is running.
But this should not be true. It is running.

Expected result
image created and launchable
Actual result
Error creating and no suggested action to resolve.
Included System Information
No response
Included Extensions Information
No response

Interestingly this error come directly from the Hyper-V service itself and not us, we just surface it. But we can investigate.


Backup

Hello,
not sure if this is the right place to post this question, but here it is...
I am using popos and installed tasbook via snap. How can I back up the data to my dropbox or google drive? I can't find the data files. Is there a function for backup - export - restore?
Thanks in advance,

Hi!
You can move folder with your tasks to dropbox or google drive. Simply just copy ~/.taskbook/ (if you didn't change your config) to cloud storage. That's all😊

Here you can see folder and json file. JSON - file with your config, folder - directory with your tasks

For snap you can view ~/snap/taskbook/. There is many folders like 23, current, common etc. Find your folder and copy it too!

I hope it solves your problem)

@klaussinani you can close this issue😊

@ricardofrantz Thank you for taking the time to ask this question, I think you raised a good point there!
Thank you for taking the time to answer @crackidocky! 🙏


Update README.md

according to https://github.com/KasperskyLab/iShutdown/issues/1

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Add meta docs

These are the pages for “Overview” and “Glossary”. They are assembled to WebFun pages by the build-webfundamentals.sh script.
@robdodson Should be let tech writers take a stab at these already?

+1 for getting tech writer feedback

@jpmedley @arthurevans Does one of you have time to take a look at these two documents?

Merging this so I can PR to DevSite (which will entail a tech writer review).


Private Registry Error: x509: certificate signed by unknown authority

Scenario
Registry

We set up a private Docker Registry, using VMware Harbor, secured with a DigiCert TLS certificate
We are able to access the registry from a web browser using properly validated TLS

Docker Host

We set up a separate Docker 1.12 Host on Ubuntu 14.04
When we use docker login myregistry.domain.com to authenticate to the registry, we receive: x509: certificate signed by unknown authority
The DigitCert root & intermediate certificate authority's public keys are in the /etc/ssl/certs directory

Miscellaneous

Using the --insecure-registry option is not the desired solution
We have already attempted many variations of using the REGISTRY_HTTP_TLS_CERTIFICATE environment variable to instruct the Docker Engine to trust our root and intermediate certificate authorities

What is the proper method of instructing the Docker Engine to trust our certificate that was issued from a trusted root CA? The documentation mentions:

Note: In the absence of any root certificate authorities, Docker will use the system default (i.e., host’s root CA set).

However, this does not seem to be the case. It seems like there's a bug here.
Cheers,
Trevor Sullivan
Docker Captain
Microsoft MVP: Cloud & Data Center Management
https://trevorsullivan.net
https://twitter.com/pcgeek86

/cc @dmcgowan

Do you have any certs in /etc/docker/certs.d/myregistry.domain.com? Currently Docker will not use by custom certs defined in /etc/docker/certs.d and system certificates, this will be fixed in a later version of docker using an upstream change in golang.

We tried placing the cert chain into /etc/docker/certs.d/my.domain.com, but that didn't seem to work. What we eventually discovered, after significant trial and error, is that our NGINX instance in VMware Harbor was missing the intermediate CA certificate. After we added this, things started working.
Looking forward to the improvements to TLS in future Docker versions! Thanks @dmcgowan @thaJeztah


Add Color Control Cluster

Working this, but it will take a while with around 50 Attributes, nearly 20 Commands any many enums and bitmaps.

see #157


ADD querystring flags to force h264 and dtx

retest this please

@ggarber is there any kind of test we can/should add for this that can verify that H.264 is actually being used? Perhaps something that calls getStats and verifies the codec? We could also add the codec to the stats drop down perhaps? That would make the test easier to write.


Model output is different on pocofone/rk3399

Before you open an issue, please make sure you have tried the following steps:

Make sure your environment is the same with (https://mace.readthedocs.io/en/latest/installation/env_requirement.html).
Have you ever read the document for your usage?
Check if your issue appears in HOW-TO-DEBUG or FAQ.
The form below must be filled.

System information

OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Ubuntu 16.04
NDK version(e.g., 15c): 18b
GCC version(if compiling for host, e.g., 5.4.0): 5.4.0
MACE version (Use the command: git describe --long --tags): 0.13.0
Python version(2.7): 3.6
Bazel version (e.g., 0.13.0): 0.16.0
CMake version: 3.16.0

Model deploy file (*.yml)
# The name of library
library_name: FD
target_abis: [arm64-v8a]
model_graph_format: file
model_data_format: file
models:
  RF: # model tag, which will be used in model loading and must be specific.
    platform: caffe
    # path to your tensorflow model's pb file. Support local path, http:// and https://
    model_file_path: /models/model.prototxt
    weight_file_path: /models/model.caffemodel
    # sha256_checksum of your model's pb file.
    # use this command to get the sha256_checksum --> sha256sum path/to/your/pb/file
    model_sha256_checksum: 98f9b69a085e7d8f40704ac6b2fedae0fda876fff4658509dde3d74d883a9684
    weight_sha256_checksum: a9f5d4dfe944315511c6070e8556790409ae0f0bd9005c5db66b4fdd5c38b716
    subgraphs:
      - input_tensors:
          - data
        input_shapes:
          - 1,3,112,112
        input_data_formats:
          - NCHW
        output_tensors:
          - fc1
        output_shapes:
          - 1,1,1,512
    obfuscate: 0
    runtime: gpu
    winograd: 4

Describe the problem
I'm running the same model (same yml configuration) with the same input on two different devices. On one device (pocofone) validation fails, while in the other device (rk3399) validation is successful, that means model output is different on the two devices.
Pocofone:
* Validate with caffe
Pull /data/local/tmp/mace_run/model_out_fc1 to build/model/_tmp/spaghnet/99db22d0b7ac3c58eb583284e384f174/POCOF1_sdm845/arm64-v8a
fc1 MACE VS CAFFE similarity: 0.977647651706497 , sqnr: 21.606371365921554 , pixel_accuracy: 1.0
ERROR: [] /mace/validate.py:122: ******************************************
          Similarity Test Failed
******************************************

RK3399:
* Validate with caffe
Pull /data/local/tmp/mace_run/model_out_fc1 to build/spaghnet/_tmp/spaghnet/99db22d0b7ac3c58eb583284e384f174/TPS980P_rk3399/arm64-v8a
fc1 MACE VS CAFFE similarity: 0.9997036270419069 , sqnr: 1615.394923043025 , pixel_accuracy: 1.0
******************************************
          Similarity Test Passed
******************************************

Validation done!

To Reproduce
Steps to reproduce the problem:
1. cd /path/to/mace
2. python tools/converter.py convert --config_file=/path/to/your/model_deployment_file
2. python tools/converter.py run --validate --layers 0:-1 --disable_tuning --config_file=/path/to/your/model_deployment_file

Error information / logs
Please include the full log and/or traceback here.
Additional context
Model to reproduce the issue can be found here
At the above link it's also possible to find csv files related to validation per layer on the two devices (pocofone.csv and rk3399.csv). @lu229

@gasgallo we have no poco phone and I run your model with mace on xiaomi8 whose soc is snapdragon 845 and found no errors. Does the OS on your poco phone is a stable version? I have ever met this situation before and finally found it was because the OS was not stable.

That pocofone is rooted and I don't remember if OS is original. I will double-check.

It seems like a custom ROM is installed, that may be the cause, I guess. I will test with other devices, we can close for now. Thanks again @lu229


Create unit test for ParserUtil #401

Fixes #401

v1
@limmlingg submitted v1 for review.

[v1 1/1] Add unit test for ParserUtil class

(:books: Archive)

Checkout this PR version locally
git fetch https://github.com/se-edu/addressbook-level4.git refs/pr/402/1/head:BRANCHNAME

where BRANCHNAME is the name of the local branch you want to fetch this PR to.

v2
@limmlingg submitted v2 for review.

[v2 1/4] Add unit test for ParserUtil class
[v2 2/4] Fix typos in ParserUtilTest.java
[v2 3/4] Fix incorrect tests in ParserUtilTest.java
[v2 4/4] Add tests to ParserUtilTest.java

(:books: Archive) (:chart_with_upwards_trend: Interdiff between v1 and v2)

Checkout this PR version locally
git fetch https://github.com/se-edu/addressbook-level4.git refs/pr/402/2/head:BRANCHNAME

where BRANCHNAME is the name of the local branch you want to fetch this PR to.

v3
@limmlingg submitted v3 for review.

[v3 1/1] Refactor logic in ParserUtilTest.java

(:books: Archive) (:chart_with_upwards_trend: Interdiff between v2 and v3)

Checkout this PR version locally
git fetch https://github.com/se-edu/addressbook-level4.git refs/pr/402/3/head:BRANCHNAME

where BRANCHNAME is the name of the local branch you want to fetch this PR to.

v4
@limmlingg submitted v4 for review.

[v4 1/1] Add unit test for ParserUtil class

(:books: Archive) (:chart_with_upwards_trend: Interdiff between v3 and v4)

Checkout this PR version locally
git fetch https://github.com/se-edu/addressbook-level4.git refs/pr/402/4/head:BRANCHNAME

where BRANCHNAME is the name of the local branch you want to fetch this PR to.

v5
@limmlingg submitted v5 for review.

[v5 1/1] Add unit test for ParserUtil

(:books: Archive) (:chart_with_upwards_trend: Interdiff between v4 and v5)

Checkout this PR version locally
git fetch https://github.com/se-edu/addressbook-level4.git refs/pr/402/5/head:BRANCHNAME

where BRANCHNAME is the name of the local branch you want to fetch this PR to.

v6
@limmlingg submitted v6 for review.

[v6 1/1] Add unit test for ParserUtil

(:books: Archive) (:chart_with_upwards_trend: Interdiff between v5 and v6)

Checkout this PR version locally
git fetch https://github.com/se-edu/addressbook-level4.git refs/pr/402/6/head:BRANCHNAME

where BRANCHNAME is the name of the local branch you want to fetch this PR to.

v7
@limmlingg submitted v7 for review.

[v7 1/1] Add unit test for ParserUtil

(:books: Archive) (:chart_with_upwards_trend: Interdiff between v6 and v7)

Checkout this PR version locally
git fetch https://github.com/se-edu/addressbook-level4.git refs/pr/402/7/head:BRANCHNAME

where BRANCHNAME is the name of the local branch you want to fetch this PR to.

v8
@limmlingg submitted v8 for review.

[v8 1/1] Add unit test for ParserUtil

(:books: Archive) (:chart_with_upwards_trend: Interdiff between v7 and v8)

Checkout this PR version locally
git fetch https://github.com/se-edu/addressbook-level4.git refs/pr/402/8/head:BRANCHNAME

where BRANCHNAME is the name of the local branch you want to fetch this PR to.

v9
@limmlingg submitted v9 for review.

[v9 1/1] Add unit test for ParserUtil

(:books: Archive) (:chart_with_upwards_trend: Interdiff between v8 and v9)

Checkout this PR version locally
git fetch https://github.com/se-edu/addressbook-level4.git refs/pr/402/9/head:BRANCHNAME

where BRANCHNAME is the name of the local branch you want to fetch this PR to.

v10
@limmlingg submitted v10 for review.

[v10 1/1] Add unit test for ParserUtil

(:books: Archive) (:chart_with_upwards_trend: Interdiff between v9 and v10)

Checkout this PR version locally
git fetch https://github.com/se-edu/addressbook-level4.git refs/pr/402/10/head:BRANCHNAME

where BRANCHNAME is the name of the local branch you want to fetch this PR to.

v11
@limmlingg submitted v11 for review.

[v11 1/1] Add unit test for ParserUtil

(:books: Archive) (:chart_with_upwards_trend: Interdiff between v10 and v11)

Checkout this PR version locally
git fetch https://github.com/se-edu/addressbook-level4.git refs/pr/402/11/head:BRANCHNAME

where BRANCHNAME is the name of the local branch you want to fetch this PR to.

v12
@limmlingg submitted v12 for review.

[v12 1/1] Add unit test for ParserUtil

(:books: Archive) (:chart_with_upwards_trend: Interdiff between v11 and v12)

Checkout this PR version locally
git fetch https://github.com/se-edu/addressbook-level4.git refs/pr/402/12/head:BRANCHNAME

where BRANCHNAME is the name of the local branch you want to fetch this PR to.

v13
@limmlingg submitted v13 for review.

[v13 1/1] Add unit test for ParserUtil

(:books: Archive) (:chart_with_upwards_trend: Interdiff between v12 and v13)

Checkout this PR version locally
git fetch https://github.com/se-edu/addressbook-level4.git refs/pr/402/13/head:BRANCHNAME

where BRANCHNAME is the name of the local branch you want to fetch this PR to.

Commit name can be "Create unit tests..." instead of "Add unit test"?

Is "unit tests". Both "Add" and "Create" are fine (both interchangeable), would prefer "Add" though.

v14
@limmlingg submitted v14 for review.

[v14 1/1] Add unit tests for ParserUtil

(:books: Archive) (:chart_with_upwards_trend: Interdiff between v13 and v14)

Checkout this PR version locally
git fetch https://github.com/se-edu/addressbook-level4.git refs/pr/402/14/head:BRANCHNAME

where BRANCHNAME is the name of the local branch you want to fetch this PR to.

v15
@limmlingg submitted v15 for review.

[v15 1/1] Add unit tests for ParserUtil

(:books: Archive) (:chart_with_upwards_trend: Interdiff between v14 and v15)

Checkout this PR version locally
git fetch https://github.com/se-edu/addressbook-level4.git refs/pr/402/15/head:BRANCHNAME

where BRANCHNAME is the name of the local branch you want to fetch this PR to.

v16
@limmlingg submitted v16 for review.

[v16 1/1] Add unit tests for ParserUtil

(:books: Archive) (:chart_with_upwards_trend: Interdiff between v15 and v16)

Checkout this PR version locally
git fetch https://github.com/se-edu/addressbook-level4.git refs/pr/402/16/head:BRANCHNAME

where BRANCHNAME is the name of the local branch you want to fetch this PR to.

v17
@limmlingg submitted v17 for review.

[v17 1/1] Add unit tests for ParserUtil

(:books: Archive) (:chart_with_upwards_trend: Interdiff between v16 and v17)

Checkout this PR version locally
git fetch https://github.com/se-edu/addressbook-level4.git refs/pr/402/17/head:BRANCHNAME

where BRANCHNAME is the name of the local branch you want to fetch this PR to.

v18
@limmlingg submitted v18 for review.

[v18 1/1] Add unit tests for ParserUtil

(:books: Archive) (:chart_with_upwards_trend: Interdiff between v17 and v18)

Checkout this PR version locally
git fetch https://github.com/se-edu/addressbook-level4.git refs/pr/402/18/head:BRANCHNAME

where BRANCHNAME is the name of the local branch you want to fetch this PR to.

v19
@limmlingg submitted v19 for review.

[v19 1/1] Add unit tests for ParserUtil

(:books: Archive) (:chart_with_upwards_trend: Interdiff between v18 and v19)

Checkout this PR version locally
git fetch https://github.com/se-edu/addressbook-level4.git refs/pr/402/19/head:BRANCHNAME

where BRANCHNAME is the name of the local branch you want to fetch this PR to.

v20
@limmlingg submitted v20 for review.

[v20 1/1] Add unit tests for ParserUtil

(:books: Archive) (:chart_with_upwards_trend: Interdiff between v19 and v20)

Checkout this PR version locally
git fetch https://github.com/se-edu/addressbook-level4.git refs/pr/402/20/head:BRANCHNAME

where BRANCHNAME is the name of the local branch you want to fetch this PR to.

v21
@limmlingg submitted v21 for review.

[v21 1/1] Add unit tests for ParserUtil

(:books: Archive) (:chart_with_upwards_trend: Interdiff between v20 and v21)

Checkout this PR version locally
git fetch https://github.com/se-edu/addressbook-level4.git refs/pr/402/21/head:BRANCHNAME

where BRANCHNAME is the name of the local branch you want to fetch this PR to.

No other comments, except for a hint for the commit subject for the first title, to reduce the chances of getting a red X:
ParserUtil#splitPreamble(String, int): Trim excessive whitespace

{commit message body here; follow the three paragraph format given in
another PR}

v22
@limmlingg submitted v22 for review.

[v22 1/2] ParserUtil#splitPreamble(String, int): Trim excessive whitespace
[v22 2/2] Add unit tests for ParserUtil

(:books: Archive) (:chart_with_upwards_trend: Interdiff between v21 and v22)

Checkout this PR version locally
git fetch https://github.com/se-edu/addressbook-level4.git refs/pr/402/22/head:BRANCHNAME

where BRANCHNAME is the name of the local branch you want to fetch this PR to.

@damithc Requested your review because this PR looks OK now after 20 iterations (except for the cosmetic changes to the commit message).

@damithc Requested your review because this PR looks OK now after 20 iterations (except for the cosmetic changes to the commit message).

Will review soon. Request a review from one of the part timers too?

Will review soon. Request a review from one of the part timers too?

Huang Chao was helping us reviewing this PR. @chao1995 do take a look at the new changes whenever you are free. :)


test_venc each time gets a bigger and bigger snapshot

Good afternoon, colleagues !
We noticed an interesting situation..
test_venc each time gets a bigger and bigger snapshot
...
reading a frame...
  waiting for a frame...
  frame #16
  frame pts: 158409505
  packets: 1
  packet #0 size: 118239
  ok
reading a frame...
  waiting for a frame...
  frame #17
  frame pts: 158909505
  packets: 1
  packet #0 size: 123403
  ok
reading a frame...
  waiting for a frame...
  frame #18
  frame pts: 159409504
  packets: 1
  packet #0 size: 135289
  ok
reading a frame...
  waiting for a frame...
  frame #19
  frame pts: 159909505
  packets: 1
  packet #0 size: 141950
  ok

Is it some kind of resource leaking issue?

I don't think there is any resource leakage. There is a few things to consider.

The image complexity grows here because it takes a few frames until the exposure gets adjusted.
The CBR rate control adjusts the image quality to meet the bitrate settings over a certain period of time. It does not mean that every frame will have the same size.
The total number of frames read from VENC is quite low to make any conclusions.

I've also found a small bug in the frame rate settings. VENC receives only two frames per second:
https://github.com/OpenIPC/openipc-2.1/blob/master/br-ext-chip-sigmastar/package/sigmastar-osdrv-ssc335/files/sample/test_venc.c#L569
However, the rate control expects to receive 30 frames per second:
https://github.com/OpenIPC/openipc-2.1/blob/master/br-ext-chip-sigmastar/package/sigmastar-osdrv-ssc335/files/sample/test_venc.c#L484
This can probably lead to some miscalculations done by the rate control but it shouldn't cause any resource leakage. The rate control simply thinks that it is below the bitrate limit and it can increase the size of the frames.
I suggest fixing this bug to tell the rate control the correct frame rate. Once this is done, you can increase the number of frames read from VENC:
https://github.com/OpenIPC/openipc-2.1/blob/master/br-ext-chip-sigmastar/package/sigmastar-osdrv-ssc335/files/sample/test_venc.c#L716
to see if the frame size grows indefinitely or if it stabilizes after some time.

Thank you so much for the answer !

Thank you so much for the answer !
If possible, please send a patch for this test utility.
I think it will be interesting for all of us.

This is my result after reading 460 frames. As you can see, the frame size stabilizes relatively quickly slightly above 200 kB. With 2 frames per second, it's still below the 4 Mbps bitrate limit. So the rate control is clearly doing its job. Anyway, I'll create a PR fixing the frame rate issue.

Thank you very much, Sir !

I also want to ask your opinion about cam_os_wrapper, which must be connected statically to the test utility. Do you know why this happens and you can't make a dynamic connection ?

No problem. I'm glad I could help.

I also want to ask your opinion about cam_os_wrapper, which must be connected statically to the test utility. Do you know why this happens and you can't make a dynamic connection ?

The dynamic version of the lib is either broken or there is another linking issue between the cam_os_wrapper lib and the other SigmaStar libs because if I link it dynamically, it always ends with the following runtime error:
/tmp/venc-test: can't resolve symbol 'CamOsMemCalloc'

Yes, I have a similar experience.
Thank you for the explanations.


How to connect to websockets and listen to messages from the server without using a 3rd party library

I submitted this issue
I am told to reproduce the example without a third party library.
The flutter docs use the same third party library I am using https://flutter.dev/docs/cookbook/networking/web-sockets
How to create the same connection and listen to messages without libraries?
Thank you

Hi @arualana
Cookbook uses the package doesn't mean this is the correct issue tracker for this package, please follow the link to issue tracker on https://pub.dev/packages/web_socket_channel

Duplicate of https://github.com/flutter/flutter/issues/85146

@TahaTesser this is a different question
I am asking for documentation on how to connect without the library. If it is not documented, it should, right?

@TahaTesser it is by no means duplicate


Performance Reproducing of Swin-S

Hi,
Thanks for your great work.
I'm trying to reproducing the performance of Swin-S on K-400. Using the released checkpoint for evaluation, I got an 80.11% accuracy; Evaluating the Swin-S model trained by myself, I got an 80.35% accuracy (still ~0.2% worse than the paper reported one).
I wonder if anything is wrong. I doubt different validation data causes this as some videos are missing in the current K-400 dataset. My validation set contains 19,870 videos and the training set contains 239,687 videos, and how about the one you use?
Thanks a lot in advance.
Best.

Hi, thanks for your interest, we share the kinetics400 annotation here: https://github.com/SwinTransformer/storage/releases/tag/v1.0.6


Fixes broken link in documentation

This is an additional fix for #36. I broke one link myself. Sorry for that!

No prob, thanks!


quest "Juno's Gambit" npc's remain on my ship

npc's remain on my ship after completing quest "juno's gambit"

Details
operative collins and operative khambatta - of Ryujin corp -
after completing the "good" ending (let juno live and she went to deep space to be alone) for quest "juno's gambit" i'm told to bring the 2 Ryujin agents home to Neon. i did this. the quest completed. but... the 2 npc's are still in my ship after the fact.
Game Version
<IP_ADDRESS>
Language
English (EN)
New Game
Yes
Reproduction Steps
did the quest

gross. sorry, the solution is to go back to neon and walk around in the ship until the 2 guys eventually exit the ship.


Bump nth-check and cheerio

Bumps nth-check and cheerio. These dependencies needed to be updated together.
Updates nth-check from 1.0.2 to 2.1.1

Release notes
Commits

Updates cheerio from 0.22.0 to 1.0.0-rc.12

Release notes
Changelog
Commits

updated-dependencies:

dependency-name: nth-check dependency-type: indirect
dependency-name: cheerio dependency-type: direct:production ...

@dependabot rebase

@dependabot rebase

@dependabot rebase

I'll close this as it should be fixed and upgraded.


Chapter1/homework/calculator

import java.util.Scanner;
public class Main {
public static void main(String[] args) {
    Scanner scanner = new Scanner(System.in);
    System.out.print("Enter num1: ");
    int num1 = scanner.nextInt();

    System.out.print("Enter num2: ");
    int num2 = scanner.nextInt();

    System.out.print("Enter an operator (+, -, *, /): ");
    char operator = scanner.next().charAt(0);

   int result = 0;

    switch(operator)
    {
        case '+':
            result = num1 + num2;
            break;

        case '-':
            result = num1 - num2;
            break;

        case '*':
            result = num1 * num2;
            break;

        case '/':
            if (num2 !=0) {
                result = num1 / num2;
            } else {
                result = -1;
            }
            break;

    }

    System.out.println(result);

}

}

I think the code doesn't meet all requirements, because according to the task you have to take input as a string whole line "passing a string "5+5". In this case, the program accepts three inputs two numbers as integers and one symbol as a char.

I think the code doesn't meet all requirements, because according to the task you have to take input as a string whole line "passing a string "5+5". In this case, the program accepts three inputs two numbers as integers and one symbol as a char.

that's correct- the code should meet the minimum requirements- which is the method definition

import java.util.Scanner;
public class Main {
public static void main(String[] args) {
    Scanner scanner = new Scanner(System.in);
    System.out.print("Enter num1: ");
    int num1 = scanner.nextInt();

    System.out.print("Enter num2: ");
    int num2 = scanner.nextInt();

    System.out.print("Enter an operator (+, -, *, /): ");
    char operator = scanner.next().charAt(0);

   int result = 0;

    switch(operator)
    {
        case '+':
            result = num1 + num2;
            break;

        case '-':
            result = num1 - num2;
            break;

        case '*':
            result = num1 * num2;
            break;

        case '/':
            if (num2 !=0) {
                result = num1 / num2;
            } else {
                result = -1;
            }
            break;

    }

    System.out.println(result);

}

}

Oh, I didn't realize that you sent the code as a comment. The code should be pushed in your repository and not pasted in a discription


Make a release ?

Hi,
I was wondering if you can make an official release? I need that to be able to use Pistache in our product.
Thanks,
mmintz on the gmail side

Unsure at this time, but we probably should.  However, there are some major features that we're trying to get merged (ssl support [1], unlimited request buffer size [2]) and there are some serious bugs [3].  IMHO, the project is not mature enough to punt a "release" yet.
[1] https://github.com/oktal/pistache/pull/226
[2] https://github.com/oktal/pistache/pull/205
[3] https://github.com/oktal/pistache/issues/237

I understand. I appreciate the update.
Cisco was happy to have me fork a branch and make that a release.
Can you consider reworking all private scopes to be protected? If course I don't do that all the time but libraries are special.
Take care
Mike
Typos due to small phone and big fingers.

On Jul 29, 2018, at 11:11 PM, Dennis Jenkins<EMAIL_ADDRESS>wrote:
Unsure at this time, but we probably should. However, there are some major features that we're trying to get merged (ssl support [1], unlimited request buffer size [2]) and there are some serious bugs [3].  IMHO, the project is not mature enough to punt a "release" yet.
[1] #226
[2] #205
[3] #237
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

re: Changing the headers so that all private scopes are protected.  I'm not opposed to this, per-se, but such a request should be in a different bug.  Do you have a specific privately-scoped member variable or method that you wanted access to?  For clarity (this bug was abut cutting an official release), please open a new bug and document what your needs are.  Thank you.

It's not critical. I wanted access to Query::params
The cure by interface allows only a ask model and I want to loop over them all.
I was talking to one of my engineers in Belgium and he said he fixed a memory leak in pistach
What's the best way to setup a pull request?
Typos due to small phone and big fingers.

On Jul 30, 2018, at 9:44 AM, Dennis Jenkins<EMAIL_ADDRESS>wrote:
re: Changing the headers so that all private scopes are protected. I'm not opposed to this, per-se, but such a request should be in a different bug. Do you have a specific privately-scoped member variable or method that you wanted access to? For clarity (this bug was abut cutting an official release), please open a new bug and document what your needs are. Thank you.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.

re: patching.  Fork the project into your own private repo, apply your fix, add/modify unit tests as appropriate, push to your repo.  From there you somehow create a pull request to copy your patch into the main pistache repo, then I'll review it and merge it.
Or so I think?  I have never managed a project with git before.  I'm learning as I go along.
Maybe this will help:
https://akrabat.com/the-beginners-guide-to-contributing-to-a-github-project/


fix incorrect label in dashboard SLO probe alerts

Description

The dashboard SLO probe alerts reference an incorrect label so when the alert fires the message will have an empty space. This happens because while the metric probe_success contains the instance label.

The alert sums the metric by (name) so it groups away the instance label.

The message should reference the name label not the instance label.

https://issues.redhat.com/browse/RHOAIENG-11746
How Has This Been Tested?

Deployed RHOAI with managed monitoring setup.
Confirm the alert references the wrong label.
Click show annotations in alertmanager.
Repeatedly scale down the dashboard pods so the alert fires and confirm the empty space where the label should be in the message.
Confirm the output of the metric the alert is based on sum by(name) (probe_success:burnrate5m{name=~"rhods-dashboard"}) outputs the name label.

Screenshot or short clip

Merge criteria

[x] You have read the contributors guide.
[x] Commit messages are meaningful - have a clear and concise summary and detailed explanation of what was changed and why.
[x] Pull Request contains a description of the solution, a link to the JIRA issue, and to any dependent or related Pull Request.
[x] Testing instructions have been added in the PR body (for PRs involving changes that are not immediately obvious).
[x] The developer has manually tested the changes and verified that the changes work

LGTM


Is there any other way to install wholegraph if not using docker in branch-23.06?

Is there any other way to install wholegraph if not using docker in branch-23.06?

For 23.06, it is recommended to use Dockerfile. If you want to setup your environment by yourself, you may refer to the Dockerfile to setup related environments.
Some version requirements for dependencies:

gcc / g++ >= 9
cmake >= 3.23.1
pybind11 == 2.4.3 (wget https://github.com/pybind/pybind11/archive/refs/tags/v2.4.3.zip && unzip v2.4.3.zip && cd pybind11-2.4.3 && mkdir build && cd build && update-alternatives --set python /usr/local/bin/python3 && cmake ../ && make -j && make install)


Add a button interaction animation

I want to add a new button interaction animation. Please assign it to me under GSSOC'23

I want to add below few buttons followed:

Scroll triggered Effects : This includes elements sliding in, fading in, or expanding into view; when an user scrolls to a certain point on the page.

Notifications Button: This includes badges, counters, or small animations indicating new messages, alerts, or updates.

Toggle Buttons: When clicked, they animate to reflect the new selection, such as changing color or displaying an icon. These buttons can switch between different states or options.

microinteraction: Button with subtle animation that provides feedback for small actions. For example, when hovering over a button, it may slightly elevate or display a tooltip.

All these may take a bit but will make sure I do ti neatly and efficiently.
@Spyware007 can u  be kind enough to assign me this under gssoc please?

@shaileshthakur1  It's amazing!
You can create a separate issue for each one!
Good luck!

Okay 🙌

Hi, are you still working on this issue? If you've already made a PR with the changes that have been merged then please close the issue. If you have an open PR, please mention this issue number in your PR in order to link them.


Insufficient Resource for install-demo test

In CircleCI install-demo test env, I found that istio-telemetry pod can't be started because of Insufficient Resource in kind cluster:
root@test-control-plane:/# kubectl -n istio-system get pod
NAME                                     READY   STATUS    RESTARTS   AGE
egressgateway-696fd5745f-tpd6s           1/1     Running   0          84s
grafana-669d58766-kgj8f                  1/1     Running   0          84s
ingressgateway-f7748bd97-bxhdt           0/1     Running   0          84s
istio-citadel11-5ff58996dd-mxlfg         1/1     Running   0          84s
istio-galley-7f6b46c947-5w8mz            2/2     Running   0          84s
istio-pilot-67857ff455-5hcr4             1/2     Running   0          84s
istio-sidecar-injector-878bb7c96-z7n8c   1/1     Running   0          84s
istio-telemetry-bc45c5dd5-4878j          0/2     Pending   0          84s
prometheus-58cf46cc44-wchmx              1/1     Running   0          84s
root@test-control-plane:/# kubectl -n istio-system describe pod istio-telemetry-bc45c5dd5-4878j
Name:               istio-telemetry-bc45c5dd5-4878j
Namespace:          istio-system
Priority:           0
PriorityClassName:  <none>
Node:               <none>
...
Events:
  Type     Reason            Age                From               Message
  ----     ------            ----               ----               -------
  Warning  FailedScheduling  27s (x3 over 96s)  default-scheduler  0/1 nodes are available: 1 Insufficient cpu.

Resulting in ci/circleci: install-demo failure.
/cc @howardjohn @costinm

Fixed in #127, thanks for figuring this out


[1.21.1] Jade crashes with the Flashback mod.

Mod Name
Jade and Flashback
Mod Homepage
https://www.curseforge.com/minecraft/mc-mods/jade / https://modrinth.com/mod/flashback
Minecraft version
1.21.1
Describe the bug
When entering a replay the game will crash. I was asked by the Jade developer to report this here.
Steps to reproduce

Record a replay.
Enter said replay.
Crash.
...

Logs
https://mclo.gs/pJu5nm2 (Go to line 878, ignore resource pack spam plz)
Additional context
Jade GitHub Report: https://github.com/Snownee/Jade/issues/477

Merging with #1472


Pomoć/Help

Pozdrav majstore,
I will write further in ENG so other people can understand too. Today I was on technical interview. Got 3 tasks. 1st I got 100%. 2nd and 3rd I tried with no luck. I hope you can help me out here.

Task 1
Text: https://pastebin.com/F8D77snE
Solution: https://pastebin.com/QgNfbhZz

Task 2
Text: https://pastebin.com/7cPdLr5K

Task 3
Text: https://pastebin.com/CMmAyQEZ

Please help me out. Thanks

Hi,
I'm seeing this too late, I hope that technical interview passed well for you. As these tasks are not the domain of this repository, I will close the issue.


Fix crash when surface already focused

when the surface has touch-focus on the local screen
and you touch on the remote screen for some reason it can't
find the resource for the client. it will run off the endi
of the list and target_resource will be an invalid pointer.

any update on this? can we reproduce and verify the patches?


fix: show/hide logic for addToCard, quantity, addToQuoteRequest

PR Type

[x] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[x] Refactoring
[ ] Build-related changes
[ ] CI-related changes
[ ] Documentation content changes
[ ] application / infrastructure changes
[ ] Other... Please describe:

What Is the Current Behavior?

Issue Number: ISREST-951
What Is the New Behavior?
hide addToCard, quantity, addToQuoteRequest in some cases
added criteria product.salePrice
refactored (cleanup, dont repeat yourself...)
Does this PR Introduce a Breaking Change?

[ ] Yes
[x] No

Replaced by #403

Replaced by #403


Query cohort imputed with TOPMed reference panel (Michigan server hg38 build)

Hi, We have a genotyping cohort with samples (N>5000) of multiple races, and they have been imputed using TOPMed Imputation server (https://topmedimpute.readthedocs.io/en/latest/getting-started/), because this is the largest multi-ethnic reference panel till date. The output imputed data from the server is not phased, and it is in hg38 build.
Can you briefly describe how I should proceed, if my intent is to run tractorGWAS, with all 5 major ancestries using the logistic model.

Do I need to leftover the imputed VCF files from hg38 to hg19, so that I can use 1000G_Phase3 reference panel (which is hg19) for the Phasing (shapeIT), LAI (rfmix) and so on.. ?
Or
Should I  use the 1000G_Phase3 (hg38) phased vcd files, and convert other supporting files like genetic map to hg38 build.
Have you tested extract_tracts.py --num-ancs 5 ? If so, do you foresee any problems with the results I may see.
I'm assuming we do not need to provide any population based covariates (example, PCs derived from eigenstrat) to tractor. It wasn't mentioned anywhere in the tutorial, but I'm assuming it to be so, because this is local ancestry aware GWAS.

I'm not sure, if I'm asking all the right questions to plan out my work.
Thank you for your time.

Hi!
Sorry I missed this post.
To briefly address your questions:

Imputed data is fine, but we recommend a stricter INFO cutoff of >0.8.
Yes your cohort and reference files all need to be on the same genome build.
We have run extract tracts on 5-way data, yes, though in most cases we recommend reducing the number of ancestral components to only those ancestries with 10% or higher representation in the data. This is because additional ancestry terms will soak up some power, so you don't want to include them if they won't have sufficient effective sample size alone to contribute to the results. You also will want to be sure that LAI is working well, as Tractor will take the LAI calls at face value. LAI tends to do worse with more ancestral components, and with more shallowly diverged components (e.g. intra-continental).
While the local ancestry fixes stratification, you should still include covariate(s) for the global ancestry proportions. We recommend global proportions directly (e.g. taken from ADMIXTURE, SNPweights, etc), though you could include PCs as a proxy. This is to account for the phenotype varying with respect to global ancestry.

Best of luck!
Elizabeth


Auto complete fix for nicks

Change so if you try to auto complete nick in start of line it completet to "nick: " from before "nick" and if it is in the middle of a text  "nick" is change to "nick ". And commands ex /msg only auto completets if is in the start of the line.

Please squash your commits together and rebase on top of the current master. At the same time, please also try cleaning it up to only change what's needed. As it is right now, your PR would undo a lot of changes such as #57 and I have no idea what your actual changes are.

Thanks, for the feedback. does it look good now?

Overall I am not sure I like this change. Personally I like that it only completes the nick and lets me choose whatever separator, especially if I'm about to reply to multiple people and type xPaw, astorije:. Due to that I think this should be made a setting instead of forcing one's preference on the others.

It is the same default as irssi, weechat and slack so I think that this should be the default.  But I'm not against to add an option for changing from the default. But I really think this should be the standard.

Start of line nick:  and mid-line nick  is how Textual does it, as have most of the clients I've ever tried long enough to notice what they do. KVIrc is a big exception, and I always make more typos in it because it's the odd one out.
I agree that a setting would be nice, but right now the lack of anything after the nicks at all is tripping me up a lot when I'm in The Lounge.

Yeah, just to add to the conversation, when I came to shout originally, I missed auto "nick: " at the beginning of the line.

I very much agree with @maxpoulin64 about The Lounge not being opinionated and being consistent about it. By completing to nick, it lets the user choose what to do, and adding a comma or a colon "manually" when starting a sentence is definitely not a life changer.
In fact, I have scribed and looked over dozens of scribes on IRC (yeah, scribing hour or day-long meetings on IRC...) for a couple years: I have seen an awful lot of nick: ←←,  and nick, ←←:  to a point where it's not as helpful as one imagines.
User testing has showed me that it's much more painful to press the back key rather than a comma or a colon based on use case and personal preference.
About making it a setting though... Frankly overkill...

I think adding a setting for it would be the best way to handle it. My main clients are mIRC and Textual, and I like how in Textual, I can set a custom suffix for the nick completion, which I've set to ': ' so it behaves like @dgw described.

Directly addressing someone happens way more often for me than addressing multiple people, and in mIRC I always type the ': ' manually, so I would definitely like to see this feature in The Lounge. However I understand that it is something that would not please everyone, which is why it should be a setting.

Hmm, a setting. Interesting idea. I do quite like that, and as mentioned before I miss having the autocomplete suffix. I would be for adding a setting.

Adding a setting for this really feels like overkill... I see this as a deliberate design choice, similar to GitHub prefixing user names with @, Gitter dealing with Return differently in code mode, etc.
If it's reasonable without obstructing usability (we're talking about one or 2 chars and user habits here), I don't see why we should not stick to it.
That being said, I feel like this is yet another very minor thing that tears the world apart and everyone will strongly stand by their opinion no matter the arguments, so whatever, make it a setting if you really can't live without it. Simply make sure to not change the current default, which is very reasonable and works well.
Also, please don't make The Lounge another of these undigestible clients with gazillions settings for the sake of customizing every little thing in the world. It is fine to make decisions. After all, I feel like this is why most people came to Shout / The Lounge: ease of use and nice, modern interface.
I am closing this PR in light of what has been said in this thread. If you want to make it a setting, please discuss it on the IRC/channel and/or an issue before jumping into code, and open a new PR that links to this one (closing gives a way to archive discussions and code that didn't make it, as opposed to amending commits in a PR).
Thanks for your contribution @bark and sorry this didn't make it!


Youtube URL pattern with trailing slash

Hello,
It seems like this URL with a trailing slash after watch is a valid Youtube URL.
https://www.youtube.com/watch/?v=v2ifWcnQs6M
I haven't seen it offered officially by Youtube, but some of our users submitted links (that failed) with such slash.
Is is something you could support?
Anyway thank you for offering this module.
Cheers,
Hugo

Hi and sorry for the delay.
Good catch, thanks!

@hugovieilledent thanks again!
More reports and help about #2 welcome!


Added zig-zag pattern

I didn't knew where to add it in the list, so I've added it first so it will be easier for you to find it and rearange

Thanks! Here you go: http://lea.verou.me/css3patterns/#zig-zag


Dropbox link is not working

Dear IGV Team,
The Dropbox links in the Genome and Track menu items is not working.
https://igv.org/app/
Uncaught ReferenceError: Dropbox is not defined
MultipleTrackFileLoad https://igv.org/app/app_bundle-1.4.1.js:16799
Kind regards
Amin

Thanks for letting us know. We'll look into it asap.

This is fixed, thanks again for the report.

Thanks for the fast fix.


iOS Side Should Be Using WkWebview

In the iOS 12 SDK, UIWebView has been officially deprecated in favor of WKWebView, Apple first advised against using UIWebView in iOS 8 - https://developer.apple.com/documentation/webkit/wkwebview?language=objc.
Flutter Full PDF Viewer currently still uses UIWebView:
https://github.com/albo1337/flutter_full_pdf_viewer/blob/master/ios/Classes/FlutterFullPdfViewerPlugin.m

Yes, I got this as well while submitting to the app store.

Your delivery was successful, but you may wish to correct the following issues in your next delivery:
ITMS-90809: Deprecated API Usage - Apple will stop accepting submissions of apps that use UIWebView APIs . See https://developer.apple.com/documentation/uikit/uiwebview for more information.

https://github.com/albo1337/flutter_full_pdf_viewer/pull/44

merged it. Jeroen could you maybe update the pub files and upload a new version to pub?

Updated everytihing. Version 1.0.5 is the newest version now

Thank you for the quick response!

I'm looking into it, if you have any ideas, pleas share ;-)

Fix in most recent pull request.

I will publish the new version later guys. Are you 100% sure that it works now jeroen?
Holen Sie sichOutlook für Android
On Fri, Sep 13, 2019 at 12:28 PM +0200, "Jeroen Trappers"<EMAIL_ADDRESS>wrote:
Fix in most recent pull request.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

I've just tested it on my test-device. It works. However to be sure, it should be tested on multiple devices.
to test you can simply put this in your pubspec.yaml
flutter_full_pdf_viewer:
git:
url: git://github.com/jeroentrappers/flutter_full_pdf_viewer

just tested on my device, it works well.
Thank you for the fix.

Allrighr i will merge the request and publish a now version today evening. Thank you a lot Jeroen!
Holen Sie sichOutlook für Android
On Fri, Sep 13, 2019 at 12:54 PM +0200, "KingLudwig94"<EMAIL_ADDRESS>wrote:
just tested on my device, it works well.
Thank you for the fix.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

new version 1.0.6 is out now. Please test again and give me feedback guys. If its working, I'll close this ticket. Thank you a lot for all your help

Thanks @albo1337