GoogleApiClient connection failed

Hi all,
When i running the demo, one issue appeared:
I choose my Google Account<EMAIL_ADDRESS>to access Google Drive, but failed. Here is the log message:

I/BaseDriveActivity: GoogleApiClient connection failed: ConnectionResult{statusCode=SIGN_IN_REQUIRED, resolution=PendingIntent{419fdaa8: android.os.BinderProxy@419cad20}, message=null}

Is there something wrong or i missed something? Could you please share your advice here? TIA
Thanks Muran

Same thing happens with me too

Is there anyone can help me?

@addgoa, is there any solution?

@addgoa, Please refer to the discussion "not working".

Any solutions ?!

Same Issue happened for me like a month ago. Any sollutions?

Hi to resolve this issue go to the google api console from your gmail account. Here you will see a disable button in front of Google drive api. just right to that you will see a gear or setting button click on it and generate oAuth token.
That's it!!

Create project at https://console.developers.google.com
Enable drive api
Create credentials for your project (Add keystore SHA-1 and package name)

Then, you can run the demo .

This will work once you create your Google API project and put your SHA-1 and Package name.
And, Keep in mind that Your package must not conflict with others project in Google.
Hope this works.
Register your project in : https://console.developers.google.com
and Enable API once project credentials are all set.
-Surajit.
Happy Coding.

Still not working only getting statusCode=SIGN_IN_REQUIRED

The same problem has been occured in my environment.
Some of the features works properly but others do not.
I googled and found some articles in StackOverFlow like this
how-to-get-driveid-of-created-folder-in-google-drive-android-api
but it still doesn't work.
These features work well below:

Create a file
Create a folder

But these features do not work below:

Retrieve meta data
Retrieve Contents

I solved the problem myself.
I've forget to set EXISTING_FOLDER_ID and EXISTING_FILE_ID described in the bottom of README.
However I think README is not enough to run this demo because we cannot find out what to set these constants..

+1

Do you need to create an OAuth token or an API Key?
Do you need to provide one of them in the applications AndroidManifest.xml?

Any updates on the issue?

Add debug SHA key in Api cloud console  oAuth  instead of release SHA key

You no longer need to set the EXISTING_FOLDER_ID and EXISTING_FILE_ID values. I have updated the README in https://github.com/gsuitedevs/android-samples/pull/78.
Please follow the authentication instructions here: https://developers.google.com/drive/android/get-started.
If you still have issues with sign in or specific activities (@medaka -- did you try to retrieve on a text file?), please file a separate issue.


Chat Filter reworking

Ensure chat filter works as intended.
Add words to the filter

Implemented in https://github.com/ParadauxIO/ComputerScienceFriendlyBot/commit/28a222f2385754d038438cc1cb0f4bd6f31c345e


[consensus] ensure RoundState consistent with BlockStore

Motivation
see https://github.com/libra/libra/issues/4630
Have you read the Contributing Guidelines on pull requests?
(Write your answer here.)
Test Plan
(Share your test plan here. If you changed code, please provide us with clear instructions for verifying that your changes work.)
Related PRs
(If this PR adds or changes functionality, please take some time to update the docs at https://github.com/libra/website, and link to your PR here.)

rebase and I'll be happy to review!

lgtm! @bors-libra delegate+

:v: @zekun000 can now approve this pull request

@bors-libra r+

:pushpin: Commit 25a5147 has been approved by davidiw

:hourglass: Testing commit 25a5147327b55ab40f311515d21da0c5d359552f with merge d4ad450356672e0475cf333409aca7fccab1f508...

:sunny: Test successful - checks-actions_land_blocking_test, checks-circle_commit_workflow
Approved by: davidiw
Pushing d4ad450356672e0475cf333409aca7fccab1f508 to master...


Markdown doesn't render correctly for Lucio Fontana

Broken markdown on eigen vs. Martsy.

From the original markdown:
[performance art](/gene/performance-art), and [Arte Povera]( /gene/arte-povera).

The markdown parser we use in iOS must not be gobbling that whitespace between the ( and the / in links.

Hmm. Good catch. Anything we could do on the client side to fix this? Would replacing all instances of the string ](  with ]( pre-parsing be a good idea? Or even ]( /?

we should probably PR to https://github.com/mdiep/MMMarkdown - it's an active project

Even better :)

http://johnmacfarlane.net/babelmark2/?text=hello+[world](+%2Fthing%2Fok) <- this is def a MMMarkdown bug

working on it

lol this one seems to have the same bug: lunamark 0.2
hello [world]( /thing/ok)


SQLite backend isn't using returning

Summary
I would like to use returning branch in update and insert when using sqlite.
Motivation
It's more efficient than looking up by primary id after update.
Additional Information
SQLite's support for RETURNING

Hey @andoriyu, sorry for the delay but before we proceed with the PR: https://github.com/SeaQL/sea-orm/pull/654
We need to have a consensus on this: https://github.com/SeaQL/sea-orm/pull/654#issuecomment-1177467728


Automatically generate a unique name for registries

Because registry names have to be globally unique, it's almost guaranteed to have failed the workspace name check. This ensures that the registry name will almost always be unique.

I tested this with quite a few scenarios and all of them seem to work great, so probably good to merge :)


Question on expected time for browser computation

When running MetaMask and attempting to create a bulk group of secp256k1 addresses, my browser is spending a lot of time computing the comb10MulTo (10 seconds on 123 addresses / ~50% total runtime)  that is downstream of the getPublicKey used in the ethereum-cryptography package.
Apologies if this is the wrong place to ask but is this expected when doing this sort of computation? Running the program outside of the browser is near instant. Feel free to close this issue if it is not intended to be opened here.
CallTrace for reference:

Circling myself in here, Holger from EthereumJS. MetaMask is using our Wallet library under the hood, did a quick search, I guess it's in this eth-hd-keyring package.
We are still on ^0.1.3 (and since this is below v1 this would mean that caret here includes all versions below v0.2) - see e.g. this article for context (needed to reread to be sure myself). For the moment we wouldn't want to update to v0.2 yet, since an audit is still outstanding.
We will consider though switching to v1.0 (audited version of v0.2) though once released, we are a bit unsure though if we would give up too much on backwards compatibility with the BigInt integration, we'll carefully read the announced upgrade guide.
Just to confirm - maybe from @paulmillr: an update n v1.0 should make this use case from above substantially faster, right? Is this roughly quantifiable what a gain would be achieved here, as some decision helper?
All right. 😄

@holgerd77 it could be 3x+ faster after upgrade, but the main question here is how the hd keyring / pubkeys are derived through the app. If this persists, there can be some ways of optimizing the logic.

For the record, calculating 123 public keys from privates in noble-secp takes 20 milliseconds on M1. Which is 500x faster.

@holgerd77 correct on the eth-hd-keyring, that's where I was doing the address generation.
@paulmillr what do you mean by how the hd keyring / pubkeys are derived? Would this be a symptom of MetaMask, the wallet library (ethereumjs-wallet), or something else? Is the 20 millisecond calculation done in browser for M1? My calculation even on Intel Mac chip locally is in the milliseconds, i.e whenever I do yarn test in the eth-hd-keyring for 100+ address generations.
Thank you both for your assistance, still learning a lot of the downstream packages.

@alanorwick browser perf should not differ much. It could be 3x slower, but not 50x.

Agreed on that it shouldn't differ too much although I'm curious as to why it is. Just reran the MetaMask code for 100 wallets and it came out to 39 seconds. Locally it's 2.43ms for 100 addresses. Do you have any resources on other ways to test the browser performance? I'll ask in the MetaMask repos as well.

You can run benchmark js with https://github.com/hugomrdias/playwright-test in all browsers, main thread, worker, service worker and extension contexts.

v1.0 is out now, ethereumjs-util would be also upgraded to native bigints asap, so old issues related to third-party bigints are not relevant anymore 👍


add 23/24 for libpq

This fixes https://github.com/ros/rosdistro/pull/6739#issuecomment-205114507

@vrabaud reminder we changed rosdep rules changes to be a 2 person review a +1 then a merge: https://github.com/ros/rosdistro/blob/master/CONTRIBUTING.md
but this lgtm anyway


⚠ ClamAV has degraded performance

In 7b589c4, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 91 ms

Resolved: ClamAV performance has improved in d8b4ba4.


Not loading SVD files correctly

Using this with latest cortex-debug and not seeing the svd file loaded. Tried loading the SVD file directly, in my case the stm32h743.svd, and this doesn't load either.
Thoughts on what might be going on?
Parent issue reported at: https://github.com/Marus/cortex-debug/issues/565

Closing as it appears to be resolved via updates in cortex-debug.


express server returns (non-decoded) base64 string for specific file

Hey,
I am using aws-serverless-express for a reactjs web application, which lazy loads javascript files. I have configured the binaryMimeTypes to use gzip compression. Everything works great except for one specific file. When I lazyload this file my express server returns a not-decoded base64 string (which is the correct string - but non-decoded). This file has the exact same properties like any other lazyloaded javascript file. The only difference, I noticed so far, is the filesize (gzipped less than 1kb).
Does it somehow ignore very small files when decoding base64 string?
My temporary solution right now is including this file in my main bundle.
Thanks in advance!

bump, same here...
I fear that this is not implemented, isn't it?

If you're using Express compress middleware, this has a minimum threshold of 1kb and therefore won't be gzipped. Check out https://github.com/vendia/serverless-express/issues/99 for more info.


[Core]Support async lookup in hash store

Currently, lookup join does not really support asynchronous, and the purpose of this PR is to support asynchronous lookup join.
This pr only support the hash store async lookup, in the next pr, I will do the rocksdb store async lookup.

@JingsongLi PTAL, thanks

Hi, @JingsongLi Could you please review it again.


don't call format inside logger calls.

It is bad practice to call str.format() in a logger call because it's a waste of compute if the logger ever gets set so that debug calls are ignored. …
What you can do is in your logging.Formatter() call above is specify you want to use str.format()-style formatting. Then here you could do:
logger.debug("current max size {} is {}", path, max_size)

Also, logger.warning('error writing ' + str(e)) could use an exception-logging call which would log the traceback


Support Kafka 2.4

Prior to this PR, the latest API versions supported were for kafka 1.1
This is not a backward compatible upgrade because of the changes in
request & response struct field names.

Fantastic job! I was thinking about making some non-backward compatible changes in brod as well, what do you think about creating a brod 4.0 workbranch?

Fantastic job! I was thinking about making some non-backward compatible changes in brod as well (rework supervision tree, drop old interface functions, get rid of single-threaded group subscriber, etc.), what do you think about creating a brod 4.0 workbranch, and target these kafka_protocol changes towards it?

@k32 sorry for the late fix & reply.
Upgrading the kafka_protocol dependency to 3.0 (after the merge of this PR) can be a minor version bump
i.e. brod does not have to be non backward compatible.
However I'd leave you and the Klarna team to decide if it makes more sense to bump major version there.

@zmstone Thanks for the fixes. Please ping me when you consider this PR ready to be merged.

@k32 I believe it is now ready to merge.
There might be something missing, but we'll find out and fix when updating brod to use this new version.

Thank you!


Help me with custom dataset

System Info / 系統信息
Hey a-r-r-o-w, thanks for your great work, please help me with this problem.
So i make custom dataset, this is just test dataset so i use 5 video but i got this error when running dataset_preparation.sh
`===== Running `  torchrun --nproc_per_node=1     cogvideox/prepare_dataset.py       --model_id THUDM/CogVideoX-2b       --data_root /workspace/cogvideox-factory/dataset-mini       --caption_column prompt.txt       --video_column videos.txt       --output_dir /workspace/cogvideox-factory/preprocessed-dataset-mini       --height_buckets 480 720       --width_buckets 720 960       --frame_buckets 49       --max_num_frames 49       --max_sequence_length 226       --target_fps 8       --batch_size 1       --dtype fp32
 --save_latents_and_embeddings` =====
Downloading shards: 100%|███████████████████████| 2/2 [00:00<00:00, 1666.06it/s]
Loading checkpoint shards: 100%|██████████████████| 2/2 [00:12<00:00,  6.37s/it]
Encoding: 100%|███████████████████████████████████| 5/5 [00:56<00:00, 11.29s/it]
Completed preprocessing latents and embeddings. Temporary files from all ranks saved to `/workspace/cogvideox-factory/preprocessed-dataset-mini/tmp`
[rank0]: Traceback (most recent call last):
[rank0]:   File "/workspace/cogvideox-factory/training/cogvideox/prepare_dataset.py", line 669, in <module>
[rank0]:     main()
[rank0]:   File "/usr/local/lib/python3.10/dist-packages/torch/utils/_contextlib.py", line 116, in decorate_context
[rank0]:     return func(*args, **kwargs)
[rank0]:   File "/workspace/cogvideox-factory/training/cogvideox/prepare_dataset.py", line 651, in main
[rank0]:     with open(video_metadata_txt, "r", encoding="utf-8") as metadata_file:
[rank0]: FileNotFoundError: [Errno 2] No such file or directory: '/workspace/cogvideox-factory/preprocessed-dataset-mini/videos/2a2d7fcb-0c68-46b4-9576-aea4c06e2fc6.txt'
E1225 10:33:11.263000<PHONE_NUMBER>03872 torch/distributed/elastic/multiprocessing/api.py:833] failed (exitcode: 1) local_rank: 0 (pid: 37957) of binary: /usr/bin/python
Traceback (most recent call last):
  File "/usr/local/bin/torchrun", line 8, in <module>
    sys.exit(main())
  File "/usr/local/lib/python3.10/dist-packages/torch/distributed/elastic/multiprocessing/errors/__init__.py", line 348, in wrapper
    return f(*args, **kwargs)
  File "/usr/local/lib/python3.10/dist-packages/torch/distributed/run.py", line 901, in main
    run(args)
  File "/usr/local/lib/python3.10/dist-packages/torch/distributed/run.py", line 892, in run
    elastic_launch(
  File "/usr/local/lib/python3.10/dist-packages/torch/distributed/launcher/api.py", line 133, in __call__
    return launch_agent(self._config, self._entrypoint, list(args))
  File "/usr/local/lib/python3.10/dist-packages/torch/distributed/launcher/api.py", line 264, in launch_agent
    raise ChildFailedError(
torch.distributed.elastic.multiprocessing.errors.ChildFailedError:
============================================================
cogvideox/prepare_dataset.py FAILED
------------------------------------------------------------
Failures:
  <NO_OTHER_FAILURES>
------------------------------------------------------------
Root Cause (first observed failure):
[0]:
  time      : 2024-12-25_10:33:11
  host      : aa04a3d47c81
  rank      : 0 (local_rank: 0)
  exitcode  : 1 (pid: 37957)
  error_file: <N/A>
  traceback : To enable traceback see: https://pytorch.org/docs/stable/elastic/errors.html
============================================================
===== Finished running script =====
CPU times: user 2.15 s, sys: 330 ms, total: 2.48 s
Wall time: 1min 26s`

i think i already setting this right. what is the problem could be?
i successfully doing this with disney-dataset, so i think the problem is on my dataset format.
Information / 问题信息

[X] The official example scripts / 官方的示例脚本
[ ] My own modified scripts / 我自己修改的脚本和任务

Reproduction / 复现过程
https://huggingface.co/datasets/saikanov/test-cogvideo/resolve/main/dataset-mini.rar
i upload the dataset i use on hf if you want to reproduce the case
and this is the .sh
#!/bin/bash

MODEL_ID="THUDM/CogVideoX-2b"

NUM_GPUS=1

# For more details on the expected data format, please refer to the README.
DATA_ROOT="/workspace/cogvideox-factory/dataset-mini"  # This needs to be the path to the base directory where your videos are located.
CAPTION_COLUMN="prompt.txt"
VIDEO_COLUMN="videos.txt"
OUTPUT_DIR="/workspace/cogvideox-factory/preprocessed-dataset-mini"
HEIGHT_BUCKETS="480 720"
WIDTH_BUCKETS="720 960"
FRAME_BUCKETS="49"
MAX_NUM_FRAMES="49"
MAX_SEQUENCE_LENGTH=226
TARGET_FPS=8
BATCH_SIZE=1
DTYPE=fp32

# To create a folder-style dataset structure without pre-encoding videos and captions
# For Image-to-Video finetuning, make sure to pass `--save_image_latents`
CMD_WITHOUT_PRE_ENCODING="\
  torchrun --nproc_per_node=$NUM_GPUS \
    cogvideox/prepare_dataset.py \
      --model_id $MODEL_ID \
      --data_root $DATA_ROOT \
      --caption_column $CAPTION_COLUMN \
      --video_column $VIDEO_COLUMN \
      --output_dir $OUTPUT_DIR \
      --height_buckets $HEIGHT_BUCKETS \
      --width_buckets $WIDTH_BUCKETS \
      --frame_buckets $FRAME_BUCKETS \
      --max_num_frames $MAX_NUM_FRAMES \
      --max_sequence_length $MAX_SEQUENCE_LENGTH \
      --target_fps $TARGET_FPS \
      --batch_size $BATCH_SIZE \
      --dtype $DTYPE
"

CMD_WITH_PRE_ENCODING="$CMD_WITHOUT_PRE_ENCODING --save_latents_and_embeddings"

# Select which you'd like to run
CMD=$CMD_WITH_PRE_ENCODING

echo "===== Running \`$CMD\` ====="
eval $CMD
echo -ne "===== Finished running script =====\n"

Expected behavior / 期待表现
i want to make it run like the disney-dataset

The contents of the disney dataset are as follows:
LICENSE  prompt.txt  README.md  README_zh.md  videos  videos.txt

Contents of the videos.txt file:
videos/a3c275fc2eb0a67168a7c58a6a9adb14.mp4
videos/8ae679ab483ab344c881d4a813e0cb51.mp4
videos/6619a387964ad49eb1127079d25d17d8.mp4
videos/bf06573576ae0ea4d27a178b4d6e95a1.mp4
videos/907704ed979d5e5651fac98ccbec2d4b.mp4
videos/96d342ea7c7cfddbe1106072bc34be5a.mp4
videos/328fc12cf9cf3d540e67efadeb893f61.mp4
videos/4adbb3a2945c9edd78785daccfd23e80.mp4
videos/1151c01bd77450dfc603a2eb7352822e.mp4
videos/81c5dab878d73e6c21181d18d83f2808.mp4
...

prompt.txt is simple the prompts belonging to the videos in an ordered manner.
So, I think your dataset has the right structure. I would suggest investigating the contents of the metadata here in this line: with open(video_metadata_txt, "r", encoding="utf-8") as metadata_file: (as this is the line that causes the errors).


initrd.systemd FIDO2 support broken

Describe the bug
boot.initrd.luks.devices..crypttabExtraOpts = [ "fido2-device=auto" ] results in a system not able to boot with the usb key present.
the problem is usb enumeration happens after the systemd service for cryptsetup is already started.
restarting either the cryptsetup service from an initrd debug_shell or including '60-fido-id.rules' and 'fido_id' from the systemd package into the initrd fixes this issue.
Steps To Reproduce
see above.
Expected behavior
it works.
Metadata

system: "x86_64-linux"
host os: Linux 6.12.4, NixOS, 24.05 (Uakari), 24.05.7101.64e9404f308e
multi-user?: yes
sandbox: yes
version: nix-env (Nix) 2.18.8
channels(root): "nixos-24.05, nixos-23.05-23.05, nixos-23.11-23.11, nixos-24.05-24.05"
nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos

Notify maintainers
@ElvishJerricco

Note for maintainers: Please tag this issue in your PR.

Add a :+1: reaction to issues you find important.

proposed fix is to enable the following by enabling boot.initrd.luks.fido2Support when on initrd.systemd.
  boot.initrd.services.udev.packages = [
    (pkgs.runCommand "udevFido2" {}
    ''
      mkdir -p $out/lib/udev/rules.d/
      cp ${pkgs.systemd}/lib/udev/rules.d/60-fido-id.rules $out/lib/udev/rules.d/60-fido-id.rules
    '')
  ];
  boot.initrd.systemd.storePaths = [
    "${pkgs.systemd}/lib/udev/fido_id"
  ];

idea for the solution came from here: https://github.com/systemd/systemd/issues/22617#issuecomment-1059048078

Yea, looks like that works because systemd-cryptsetup will just wait for a security-device automatically via udev. So of course the udev parts to implement that are necessary. Fix looks good to me. PR welcome :)


(fix) 617 display wrong notification

Fix for issue #617 where the see more notifications when clicked on displayed the wrong notification in the right of the pop up window.

Good catch, We will need to reverse the order further up. Currently the backend seems to be sending us notifications oldest first, and we want to get the reverse of that. In addition to removing the bad reverse() we should reverse the result in the webapi instead so that we see the newest notifications first.
If you'd like I can tack this onto your PR

@wski  Sure, the reason I removed it was I was working on adding a sort in ozp-backend for accessing the user notifications and it still displayed the wrong order on the sidebar but not in the navbar.
https://github.com/dylankolson/ozp-backend/commit/be0abc117029024eaf352b82db012eefba791da2
https://github.com/ozone-development/ozp-backend/issues/160

Gotcha, if that's planned to go in soon I think this PR would be fine :+1: and we can hold off on adding anything to our webapi on center & hud until a sort is working in the backend. @mannyrivera2010 @clarkjefcoat

:+1:


Change logo font

change the link with the link given below
<link href="https://fonts.googleapis.com/css2?family=Dancing+Script:wght@500&display=swap" rel="stylesheet">
And change the font-family of navbar.brand class in index.html file to the font given below:
 font-family: 'Dancing Script', cursive;

I think I can do this, please assign me this issue


[kubevirt] Fix virt-launcher netpol to allow missing access

When creating an HostedCluster with 'NodePort' service publishing strategy, the VMs (guest nodes) are trying to contact HCP services, such as ignition and oauth. If these services are colocated on the same infra node, they can't be reached via NodePort because the 'virt-launcher' NetworkPolicy is blocking it. Explicitly adding access to oauth and ignition-server-proxy pods so they can be reached from the virtual machines on the same node.

What this PR does / why we need it:
Which issue(s) this PR fixes (optional, use fixes #<issue_number>(, fixes #<issue_number>, ...) format, where issue_number might be a GitHub issue, or a Jira story:
Fixes #
Checklist

[ ] Subject and description added to both, commit and PR.
[ ] Relevant issues have been referenced.
[ ] This change includes docs.
[ ] This change includes unit tests.

/retest

IPI infra issues
/retest

/retest

/jira refresh


convert SVG to PNG with Python or CLI to send score-card as image

svg2png issue for #15

[ ] How to Install Node.js and NPM on Windows
[ ] svgexport
[ ] SVG Rasterizer
[ ] PhantomJS - Scriptable Headless Browser
[ ] How to convert a SVG to a PNG with ImageMagick?


xMatters set-up instructions out of date

It looks like the xMatters instructions are no longer 100% up-to-date. I completed an integration today with the help of an xMatters support agent.
Following the instructions as-written today does not allow for sp-initiated SSO. After speaking with xMatters, the step: Configure xMatters OnDemand Single Sign-On 3c should be amended.
Rather than using "Login URL" from Azure SAML configuration, the User Access URL should be used from the Azure Application's "Properties" page (format: https://myapps.microsoft.com/signin/<appname>/<data>)

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

ID: c875771d-2f98-cfbf-86cf-c89a36282654
Version Independent ID: 36f16c66-cfcd-9c5a-3c13-62cfe20e012c
Content: Tutorial: Azure Active Directory integration with xMatters OnDemand
Content Source: articles/active-directory/saas-apps/xmatters-ondemand-tutorial.md
Service: active-directory
Sub-service: saas-app-tutorial
GitHub Login: @jeevansd
Microsoft Alias: jeedes

@DGG-IT
Thanks for your feedback! We will investigate and update as appropriate.

@DGG-IT With this value it will go in the loop. Can you please confirm that it is working with this change?

@jeevansd I'm not sure I understand what you're asking. As an example, my configuration from xMatters currently looks as below and is functional both idp-initiated (start from portal.office.com) and sp-initiated (start from https://mydomain.xmatters.com/).

@chetansriv Can you please retest this application? Also this seems to be IDP initiated SSO now.

Updated the article as per the above suggestion.
#please-close


{Keyvault}Add a test for keyvault commands

Description

Add a test for keyvault commands, below tests will be affected:
add test:test_keyvault_softdelete
Testing Guide

History Notes

[Component Name 1] BREAKING CHANGE: az command a: Make some customer-facing breaking change.
[Component Name 2] az command b: Add some customer-facing feature.

This checklist is used to make sure that common guidelines for a pull request are followed.

[ ] The PR title and description has followed the guideline in Submitting Pull Requests.

[ ] I adhere to the Command Guidelines.

[ ] I adhere to the Error Handling Guidelines.

Keyvault

Please provide more meaningful PR title and description.

Have issues with branch, so close this one.


select 2 version 4.0.1.rc1 with bootstrap popover

Please have a look at: http://jsfiddle.net/s4w1z09v/
The popover works on inputs but not on select 2

This appears to be more of a usage question than a bug report or common feature request.  As we continue to keep the Select2 issue tracker geared towards these two areas, bug reports and common feature requests, we are redirecting usage questions to other communities such as the mailing list, IRC, or Stack Overflow.

For follow up: http://stackoverflow.com/questions/33772705/select-2-with-bootstrap-popover


Fix (iOS): Clipboard get/set missing implement

Reopen for https://github.com/godotengine/godot/pull/52244, @mhilbrunner. Sorry, this is my first time squash commit in a pr. I do think it will keep connect with branch name. 😆

Thanks, and congrats on your first contribution to Godot!

Cherry-picked for 3.3.4.


examples/lvgldemo: Make input options depend on CONFIG_INPUT

Summary
This PR intends to make LVGL demo input-related options depend on CONFIG_INPUT.
The motivation is for easing the usage of the lvgldemo with displays that don't support touch input.
Impact
Now CONFIG_EXAMPLES_LVGLDEMO_CALIBRATE will only be selected by default if CONFIG_INPUT is also selected. So, in practice, there will be no real impact, since this is the only useful combination.
Testing
sim:lvgl successful build with CONFIG_INPUT=n and proper execution with disabled input, as expected.

CONFIG_INPUT enables selection of any driver under drivers/input.  That is not just touchscreen, but all human input devices:  Mice, keyboards, joysticks, nintendo controllers, etc.

CONFIG_INPUT enables selection of any driver under drivers/input. That is not just touchscreen, but all human input devices: Mice, keyboards, joysticks, game controllers, etc.
(There aren't actually any mice or keyboard driver there, but if we implemented PS/2 mouse or keyboard drivers, drivers/input is where they should go).

You're right, depending on INPUT seems to generic and could be more specific.

I think you could add something like:
config TOUCHSCREEN
  default n

and then select TOUCHSCREEN if any touchscreen input device is selected. You might look also at how this is down for NX windows under graphics/Kconfig.

Looking at the current state of the input/Kconfig, it seems more suitable if config TOUCHSCREEN were an explicit bool type config. As a bonus it would also cope with the input drivers categorization into sub groups.
So the user would first enable the Touchscreen support and after that select the specific driver.
I've opened a PR with a proposal for this change:
https://github.com/apache/incubator-nuttx/pull/3443

I converted this PR to Draft.
Once https://github.com/apache/incubator-nuttx/pull/3443 is closed, I'll extended the changes to this PR (or drop if not applicable).

@patacongo I've submitted https://github.com/apache/incubator-nuttx/pull/3475 for implementing the suggested approach and also updated this PR. Could you please take another look?

@patacongo @btashton I'd like to have this simple PR merged. The main change has already been merged in https://github.com/apache/incubator-nuttx/pull/3482 and https://github.com/apache/incubator-nuttx/pull/3475. Could you please give your feedback?

Apologies @gustavonihei I lost this in the shuffle. Looks good to me.


Normalise references to external paths

Goal
Enable a flexible project root.
Rather than references, textures and caches being stored as absolute paths, utilise Maya's path resolver to remove the need for absolute paths.
Before
m:\projects\projectA\assets\Bruce\rig.ma

After
$PROJECTDIR\assets\Bruce\rig.ma

This way, a project can reside anywhere on the artists machine, on any drive, in any subfolder.
Implementation
On scene save, a nodes of a specific set of types are scanned for paths. Anything with the PROJECTDIR variable in it is automatically replaced. The types are references, files and alembic caches. Anything with support for automatic resolving.

Hey Marcus, :)
Im facing this problem a lot, since usually I work remotely.
I know that texture file nodes easily can store relative paths or variable replacements like you mentioned above . But for reference nodes this seems to have some issues, at least based on what I already tried.
Do you already have some working solution you found to fix this in other situations outside mindbender pipe?
If so, could you talk about it here?
Thank u!

Hey Bruno,

But for reference nodes this seems to have some issues

What issues exactly, what have you tried?
The example project uses these at the moment, and seem to be working fine.

See here

Simplest way to try the example project for yourself is to install it, you can do that at home in any directory. Alternatively, download it and set it with you existing mb.bat.

Nice, thank u for show me the exactly place you intent to replaced the reference path.
If you tested and say it works its fine, but thank u anayway to make it available for anyone to test.
This example uses an asset modelDefault inside a rigDefault file, where the project is set to the ROOT folder in the project ("$projectdir/assets/Bruce/publish/modelDefault/v001/modelDefault.ma"). So both files has identical $projectdir variable.
Now, in our current pipeline each shot has the project set inside the shot folder. For instance a sh_010 in a pXXX_project has the project set to:
M:/f01_projects/pXXX_project/film/sh_010/work/animation/Mindbender/maya
Probably in this new scenario you showed me, the shots would need to have the project set to the same ROOT folder as the assets, right?

Don't confuse $PROJECTDIR with Maya's own project directory. They use the same word "project" but are different.
$PROJECTDIR is set via mb.bat and has to do with the project you work on, not the Maya project.
That example, and mb.bat is using a slightly older version of the pipeline, in the version you use at Mindbender the variable is called $MINDBENDER_PROJECTPATH.

See here.

Try this, before starting Maya from mb.bat, try this.
$ mb.bat
$ hulk assets
$ Bruce
$ set MINDBENDER_

Replace hulk and Bruce with a project and asset you have available (that's from the example project). You should be seeing a listing of all variables you can use in your reference and texture nodes.
Such as this.
MINDBENDER_ASSET=Bruce
MINDBENDER_ASSETPATH=C:\Users\marcus\Dropbox\AF\development\marcus\pyblish\mindbender-example\projects\hulk\assets\Bruce
MINDBENDER_CORE=C:\Users\marcus\Dropbox\AF\development\marcus\pyblish\mindbender-core
MINDBENDER_EXAMPLE=C:\Users\marcus\Dropbox\AF\development\marcus\pyblish\mindbender-example\projects
MINDBENDER_FPS=25
MINDBENDER_PROJECT=hulk
MINDBENDER_PROJECTPATH=C:\Users\marcus\Dropbox\AF\development\marcus\pyblish\mindbender-example\projects\hulk
MINDBENDER_RESOLUTION_HEIGHT=1080
MINDBENDER_RESOLUTION_WIDTH=1920
MINDBENDER_ROOT=C:\Users\marcus\Dropbox\AF\development\marcus\pyblish\mindbender-example\projects\hulk
MINDBENDER_SILO=assets

Here's a full example, run this in your Script editor and you should see this:

import os
from maya import cmds, mel

# Create new asset
cmds.file(new=True, force=True)
nodes = cmds.polyCube(name="myCharacter_PLY")

# "Publish" asset
documents_dir = os.path.expanduser("~")
reference_path = os.path.join(documents_dir, "my_reference.ma")
cmds.file(reference_path, exportAll=True, type="mayaAscii", force=True)

# Load asset using absolute path
cmds.file(new=True, force=True)
cmds.file(reference_path, reference=True)

# Load asset using environment variable
cmds.file(new=True, force=True)
os.environ["DOCUMENTS_DIR"] = documents_dir
environment_path = os.path.join("$DOCUMENTS_DIR", "my_reference.ma")
cmds.file(environment_path, reference=True)

# Show reference editor, see path to asset
mel.eval("ReferenceEditor")

This is done and works surprisingly well.


Block filter clause not supported during query parsing

During query parsing, block the following filter clause that are not supported:

Non-literal in IN/NOT_IN/REGEXP_LIKE/TEXT_MATCH/JSON_MATCH predicate (e.g. country IN (us), country IN ("us"))
Unsupported filter kind (e.g. a like '%b')
Return the invalid filter clause in the exception message for easier debugging

Codecov Report

Merging #7023 (c6d13e8) into master (0b14b96) will decrease coverage by 7.78%.
The diff coverage is 85.29%.

@@             Coverage Diff              @@
##             master    #7023      +/-   ##
============================================
- Coverage     73.19%   65.40%   -7.79%
  Complexity       12       12
============================================
  Files          1452     1452
  Lines         71960    71955       -5
  Branches      10417    10418       +1
============================================
- Hits          52670    47062    -5608
- Misses        15758    21495    +5737
+ Partials       3532     3398     -134

Flag
Coverage Δ

integration
?

unittests
65.40% <85.29%> (+<0.01%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

...org/apache/pinot/sql/parsers/CalciteSqlParser.java
92.22% <85.29%> (-0.25%)
:arrow_down:

...a/org/apache/pinot/minion/metrics/MinionMeter.java
0.00% <0.00%> (-100.00%)
:arrow_down:

.../apache/pinot/common/metrics/BrokerQueryPhase.java
0.00% <0.00%> (-100.00%)
:arrow_down:

.../apache/pinot/minion/metrics/MinionQueryPhase.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...pache/pinot/common/utils/grpc/GrpcQueryClient.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...pinot/minion/exception/TaskCancelledException.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...t/core/startree/plan/StarTreeDocIdSetPlanNode.java
0.00% <0.00%> (-100.00%)
:arrow_down:

.../core/startree/plan/StarTreeTransformPlanNode.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...core/startree/plan/StarTreeProjectionPlanNode.java
0.00% <0.00%> (-100.00%)
:arrow_down:

...t/minion/executor/MinionTaskZkMetadataManager.java
0.00% <0.00%> (-100.00%)
:arrow_down:

... and 337 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 0b14b96...c6d13e8. Read the comment docs.


Question:RingBuffer pad

I do not understand the following code in the RingBuffer.java, who can help explain it? I know the fase sharing problem in sequence implementation, but the following pad is why? Thanks
    static
    {
        final int scale = UNSAFE.arrayIndexScale(Object[].class);
        if (4 == scale)
        {
            REF_ELEMENT_SHIFT = 2;
        }
        else if (8 == scale)
        {
            REF_ELEMENT_SHIFT = 3;
        }
        else
        {
            throw new IllegalStateException("Unknown pointer size");
        }
        BUFFER_PAD = 128 / scale; // why? what does this mean?
        // Including the buffer pad in the array base offset
        REF_ARRAY_BASE = UNSAFE.arrayBaseOffset(Object[].class) + (BUFFER_PAD << REF_ELEMENT_SHIFT); // why? what does this mean?
    }

@artyomkorzun why 128 bytes instead of 64?

@artyomkorzun  found answer in #158

@artyomkorzun found answer in #158

thank you, i have the same question


[fix] [broker] topics failed to delete after remove cluster from replicated clusters set and caused OOM

Motivation
Background

Users may start 2 clusters with the Geo-Replication feature with Global ZK
Users want to hire one cluster, so remove the cluster from namespace-level replicatedClusters

Broker will remove the topics of the cluster removed automatically.

Issue occurs:

The system topic __change_events being deleted first.
User topics can not be deleted anymore, because the operation delete topic-level policies can not be executed successfully anymore.
The task topic.checkReplication and other operations will retry again and again, as a result, the broker will crash of OOM

Modifications

Skip removing topic-level policies if the system topic __change_event has been deleted.

Documentation

[ ] doc
[ ] doc-required
[x] doc-not-needed
[ ] doc-complete

Matching PR in forked repository
PR in forked repository: x

Triggering CI with fix #23431

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 74.36%. Comparing base (bbc6224) to head (5c2e2b4).
Report is 660 commits behind head on master.

Additional details and impacted files

@@             Coverage Diff              @@
##             master   #23360      +/-   ##
============================================
+ Coverage     73.57%   74.36%   +0.78%
- Complexity    32624    34983    +2359
============================================
  Files          1877     1953      +76
  Lines        139502   147162    +7660
  Branches      15299    16199     +900
============================================
+ Hits         102638   109430    +6792
- Misses        28908    29305     +397
- Partials       7956     8427     +471

Flag
Coverage Δ

inttests
27.31% <62.50%> (+2.73%)
:arrow_up:

systests
24.32% <62.50%> (-0.01%)
:arrow_down:

unittests
73.72% <100.00%> (+0.88%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines
Coverage Δ

.../service/SystemTopicBasedTopicPoliciesService.java
74.42% <100.00%> (+0.23%)
:arrow_up:

...er/systopic/NamespaceEventsSystemTopicFactory.java
100.00% <100.00%> (ø)

... and 633 files with indirect coverage changes

I wonder if this is causing #23474 which currently blocks Pulsar CI. There's PR #23478 to disable OneWayReplicatorTestBase tests the problem is addressed. @poorbarcode do you have a chance to fix the problem?

I wonder if this is causing https://github.com/apache/pulsar/issues/23474 which currently blocks Pulsar CI. There's PR https://github.com/apache/pulsar/pull/23478 to disable OneWayReplicatorTestBase tests the problem is addressed. @poorbarcode do you have a chance to fix the problem?

Self-assigned https://github.com/apache/pulsar/issues/23474, I will fix it next week

@poorbarcode Please also handle cherry-picking to branch-3.0 and branch-3.3

It appears that this PR failed the test in branch-3.3.
https://github.com/heesung-sn/pulsar/actions/runs/11535492430/job/32111441443

@heesung-sn

It appears that this PR fails the test in branch-3.3.

Sure, it will be fixed by the PR: https://github.com/apache/pulsar/pull/23522

@poorbarcode Do you have a chance to take a look at #23543 ? It's a deadlock in SystemTopicBasedTopicPoliciesService which happens also after #23522 has been merged. The deadlock might be completely unrelated to the recent changes, but since you know SystemTopicBasedTopicPoliciesService well, I'd appreciate it if you can take a look at the thread dump and the deadlocks.


Speedup tests with clock mock

Replaces #49
Since the class under test is in a different namespace than the test case, both need to be registered manually.
Note that one of your tests in php-cache/cache will still fail as it doesn't use the setup from tests cases here. That project needs to configure clockmock on its own.

Thank you for this. But is seams like the testExpiration test still fails.
I cant seams to figure out why. The Symfony cache does also fail with this PR.
I think the error is because:

we save something to redis we say TTL=5
we call sleep(10) which take no time since we mock the clock
we ask redis if there is any value in the cache, and of course it is because redis does not know of the clock mock.

But is seams like the testExpiration test still fails.

That's the test. The test case extends the PHPUnit_Framework_TestCase so the test needs to be marked as time sensitive.

As for redis problem there's no way around it. I guess we could implement a way to disable clock mocking for selected adapters.


test(gravity): Run automerge test-bench with storage

Motivation / Background

This Pull Request ...
Details

Additional information

Current dependencies on/for this PR:

main

PR #5489   👈

This stack of pull requests is managed by Graphite.


fix build

I still seem to be getting 2 errors when i build:
lib/components/RoosterCommandBar.tsx:69:29 - error TS2322: Type '(ev: FocusEvent<HTMLElement>) => void' is not assignable to type '(ev?: MouseEvent<Element, MouseEvent> | KeyboardEvent<Element>, dismissAll?: boolean) => void'.

69                             onDismiss: calloutOnDismiss,
                               ~~~~~~~~~

  ../../node_modules/office-ui-fabric-react/lib/components/ContextualMenu/ContextualMenu.types.d.ts:127:5
    127     onDismiss?: (ev?: React.MouseEvent | React.KeyboardEvent, dismissAll?: boolean) => void;
            ~~~~~~~~~
    The expected type comes from property 'onDismiss' which is declared here on type 'IContextualMenuProps'

lib/components/RoosterCommandBar.tsx:246:13 - error TS2322: Type '(ev: FocusEvent<HTMLElement>) => void' is not assignable to type '(ev?: MouseEvent<Element, MouseEvent> | KeyboardEvent<Element>, dismissAll?: boolean) => void'.
  Types of parameters 'ev' and 'ev' are incompatible.
    Type 'MouseEvent<Element, MouseEvent> | KeyboardEvent<Element>' is not assignable to type 'FocusEvent<HTMLElement>'.
      Type 'MouseEvent<Element, MouseEvent>' is not assignable to type 'FocusEvent<HTMLElement>'.
        Types of property 'target' are incompatible.
          Type 'EventTarget' is not assignable to type 'EventTarget & HTMLElement'.
            Type 'EventTarget' is missing the following properties from type 'HTMLElement': accessKey, accessKeyLabel, autocapitalize, dir, and 232 more.

246             button.subMenuProps.onDismiss = calloutOnDismiss;
                ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


chrome Browser not working,so I need Microsoft Edge to run Web Development codes

Is your feature request related to a problem? Please describe.

Describe the solution you'd like:

Describe alternatives you've considered:

Additional context:

Closing as incomplete. Please feel free to add more information if you have any and we can re-open the issue.


MongooseError: Can't call openUri() on an active connection with different connection strings.

I get this error when trying to start the server.
MongooseError: Can't call openUri() on an active connection with different connection strings. Make sure you aren't calling mongoose.connect() multiple times. See: https://mongoosejs.com/docs/connections.html#multiple_connections
at NativeConnection.Connection.openUri (C:\Users\Master\Desktop\Chat-master\node_modules\mongoose\lib\connection.js:693:13)
at C:\Users\Master\Desktop\Chat-master\node_modules\mongoose\lib\index.js:345:10
at C:\Users\Master\Desktop\Chat-master\node_modules\mongoose\lib\helpers\promiseOrCallback.js:31:5
at new Promise ()
at promiseOrCallback (C:\Users\Master\Desktop\Chat-master\node_modules\mongoose\lib\helpers\promiseOrCallback.js:30:10)
at Mongoose._promiseOrCallback (C:\Users\Master\Desktop\Chat-master\node_modules\mongoose\lib\index.js:1135:10)
at Mongoose.connect (C:\Users\Master\Desktop\Chat-master\node_modules\mongoose\lib\index.js:344:20)
at Object. (C:\Users\Master\Desktop\Chat-master\model\model.js:15:10)
at Module._compile (node:internal/modules/cjs/loader:1108:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1137:10)
at Module.load (node:internal/modules/cjs/loader:973:32)
at Function.Module._load (node:internal/modules/cjs/loader:813:14)
at Module.require (node:internal/modules/cjs/loader:997:19)
at require (node:internal/modules/cjs/helpers:92:18)
at Object. (C:\Users\Master\Desktop\Chat-master\controller\controller.js:1:14)
at Module._compile (node:internal/modules/cjs/loader:1108:14)
[nodemon] app crashed - waiting for file changes before starting...

Try commenting out line 19 which says,
mongoose.connect('mongodb://localhost/mongodb')
Since line 5 already established a connection, I am not sure why the duplicate is needed.
This worked for me.


Fixed "|" character in tables and other table formatting fixes

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

exchange/docs-conceptual/exchange-server/recipient-filters/filter-properties.md
:white_check_mark:Succeeded
View (exchange-ps)

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


Can't build, Parse Issue (Xcode): Use of '@import' when C++ modules are disabled

Is there an existing issue for this?

[X] I have searched the existing issues
[X] I have read the guide to filing a bug

Steps to reproduce
When my code use 'path_provider' in flutter project with dependencies installed
import 'package:path_provider/path_provider.dart';
Error on VSCode debug console:
Failed to build iOS app
Could not build the precompiled application for the device.
Parse Issue (Xcode): Use of '@import' when C++ modules are disabled, consider using -fmodules and -fcxx-modules

The error in Xcode:

After googling and checking the doc, I tried to add the flag to the build pipeline, but it didn't help.
Add a flag in the Podfile
post_install do |installer|
  installer.pods_project.targets.each do |target|
    flutter_additional_ios_build_settings(target)
    # added for package to support C++
    target.build_configurations.each do |config|
      config.build_settings['OTHER_CFLAGS'] = '-fmodules -fcxx-modules'
    end
  end
end

installed
$ pod install
Analyzing dependencies
Downloading dependencies
Generating Pods project
Integrating client project
Pod installation complete! There are 8 dependencies from the Podfile and 10 total pods installed.

Appreciate any ideas and suggestions.
Expected results
build successfully.
Actual results
Failed to build iOS app
Code sample
Code sample
import 'package:path_provider/path_provider.dart';

Screenshots or Video

Screenshots / Video demonstration

Logs
Logs
Failed to build iOS app
Could not build the precompiled application for the device.
Parse Issue (Xcode): Use of '@import' when C++ modules are disabled, consider using -fmodules and -fcxx-modules

Flutter Doctor output
Doctor output
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.10.5, on macOS 12.6.6 21G646 darwin-arm64, locale en-CA)
[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.2)
[✓] Xcode - develop for iOS and macOS (Xcode 14.2)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2022.2)
[✓] VS Code (version 1.79.2)
[✓] Connected device (2 available)
[✓] Network resources

It's solved by setting Other C++ Flags


LHN - LHN becomes empty after setting preference to focus mode

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: 1.4.24-0
Reproducible in staging?: Y
Reproducible in production?: N
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
Action Performed:

Open a chat and go back to LHN
Go to settings > Preferences > change priority mode to focus
Go back and observe the LHN

Expected Result:
The LHN should show one chat which was previously open
Actual Result:
LHN becomes empty
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android: Native
[x] Android: mWeb Chrome
[ ] iOS: Native
[ ] iOS: mWeb Safari
[ ] MacOS: Chrome / Safari
[ ] MacOS: Desktop

Screenshots/Videos
Add any screenshot/video evidence

https://github.com/Expensify/App/assets/78819774/7a760dd9-30a4-4a72-a279-3c4dc735ad8a
View all open jobs on GitHub

It looks that there is no chat to be displayed in focus mode

yeah if there are no unread chats then i don't think anything should be showing up in the LHN

This only happens on an account without a concierge chat. Concierge chat should be shown by default

what's the production behavior then?

okay discussed the bug here https://expensify.slack.com/archives/C049HHMV9SM/p1704906122169579 and sounds like yes we agree this is a bug.
The LHN should should the last chat you opened if there are no other unread messages.

I can confirm on web v1.4.24-0 doesn't do this and properly shows the last chat in opened in the LHN so seems like it might be something specific to mobile code.

We've opened an internal fire room b/c others are reporting similar-ish behavior here even on 1.4.23-2 (desktop) where chats in the LHN are disappearing. Not even just in #focus mode either.

There is a good chance this is fixed by a back end revert that we are going to deploy shortly.
Once the deploy is done, I'll bump the issue and see about having it re-tested to confirm.

@lanitochka17 can you retest this again and see if it's still reproducible? the backend deploy has finished and so it should be fixed 🙏

I am unable to reproduce on staging!


We've stopped featuring a topic on the Newsroom

What it says.

:+1:
Is the featured topic something that's handled by the CMS and going to be going off-and-on? Because if it's variable we should probably remove that series of tests entirely.

yes to @KimberlyMunoz's question.

I think leaving it silenced will help direct us when we rethink our testing strategy. Seeing all these silenced tests kinda sells us on why it needs to be redone.


orbs don't work after touching a spike in debug mode

title

bottom text

I kept meaning to report this one
Been bugging me for a while now


Launching compose window changes status on page to Email Sent automatically; without having sent the email.

Clicking on view/send email launches pop up with email content and buttons to select mail service... If I click the button, but do nothing - ie simply close the compose window without actually sending a mail, the landing page still gives me a mail sent message (see attached screenshot). This is true for both bank and mobile linkage templates. I checked my mailbox sent folder to confirm that nothing was sent. This is confusing. Please revisit.
Also, “Send Another” may be more appropriate than “Send Again”. And please do check if the sent counter is based on this or actually receiving an email via bcc.

There is no way for us to know whether the email was actually sent from the composer or not. We could perhaps change the text somehow to reflect this.
The theory behind this feature (where we show a special message if the user has clicked "Send Email" on a campaign already) is that when there are multiple campaigns, if people get a sense of progress so they try to do everything on the list. If they don't, they treat it as a menu and do just the one they came for.
#135 is related, it is the expected behavior for this feature. We store the fact that you have sent the campaign in your local storage (similar to a cookie). #136 is related as well, when this feature tries to access local storage, it fails if you are blocking cookies.
We have three options here:

Drop this feature entirely, campaigns never go to the "sent" state.
Keep the sent state, but don't use local storage. Reset when the site refreshes.
Keep existing behavior, just fall back to Option 2 if cookies are blocked

I would like more people to weigh in here @jace @karthikb351 @championswimmer @captn3m0 ?

Currently I've implemented Option 3.
One more option (which I'm leaning to now) is to simply show a check mark next to the campaign title and muting the colours when an email has been sent without changing the text. It should give users a sense of progress without saying possibly incorrect things like "You sent..."

How about a different approach to nudge action - let the screen show "Looks like you've sent the email, how about sending another one" with "another one" linking back to the landing page. Or some such thing. The sent or check mark appear as a confirmed positive, when we aren't able to confirm they actually sent the email. I find that confusing.
I also do not see value in the local storage part. Why do we need to store this action?

Currently I've implemented Option 3.

One more option (which I'm leaning to now) is to simply show a check mark next to the campaign title and muting the colours when an email has been sent without changing the text. It should give users a sense of progress without saying possibly incorrect things like "You sent..."

I prefer this fourth option – it's subtle – but if it proves confusing (how do we measure?), option 3 is preferred.


Updated 'Cookies and analytics' section

Explained what information is shared with the rest of GDS using Google Analytics. I've also updated the 'Last updated' date.
We'll arrange for the new content to be translated into Welsh next week.

@jakubmiarka I've requested a translation of these changes and will update the Welsh version later in the week.


Pre-assignment of locations

Describe the solution you'd like
Add button to Ready to Ship to pre-map deployment locations, display on detail, and print on ticket.

Locations should be able to be specified on new install page and edited by management on open install page, as well as on installed install page.
Location should appear on install ticket and on staging ticket

Implemented in commit 2e73698


Bugfix/start week on sunday incorrect labels

Similar fix to https://github.com/antoniandre/vue-cal/pull/524 but this is for the main branch. Version 4.8.1
When startWeekOnSunday is set to true, the date labels are out by one day.

Waiting for this fix!

Also hoping this fix can be implemented soon!

Hi @chillburn thanks for your contribution! sorry for so long wait, just too busy with other projects! 🤷♂
will be released shortly


assembly descriptor contains unix specific root-relative-reference

Category: Bug
Severity: Low
Expected behaviour: No ERROR level logs during mvn install
Actual/current behaviour: Several messages like

[ERROR] OS=Windows and the assembly descriptor contains a *nix-specific root-relative-reference (starting with slash) /

Steps to reproduce:  Run mvn install in fresh cloned devon-ide
Description of issue / expected enhacement /Comments:
see https://stackoverflow.com/questions/32604733/error-os-windows-and-the-assembly-descriptor-contains-a-nix-specific-root-relat
Your environment - windows/Linux, Devonfw version , component:
devon-3.0.0-SNAPSHOT
Windows, Apache Maven 3.5.4, Java version: 1.8.0_181, vendor: Oracle Corporation

Fixed with PR #4 that has been merged. Hence done.


chore(deps): update dependencies to their latest versions

Your pull request doesn't follow our contribution guidelines. Please review and correct it.


Misleading or confusing aspects of anonlink.benchmark

Following the README, we run the benchmark like so:
$ python3 -m anonlink.benchmark
100000 x 1024 bit popcounts in 0.019525 seconds
Popcount speed: 625.18 MiB/s
Size 1 | Size 2 | Comparisons  | Compute Time | Million Comparisons per second
  1000 |   1000 |      1000000 |    0.118s    |         8.478
  2000 |   2000 |      4000000 |    0.239s    |        16.707
  3000 |   3000 |      9000000 |    0.495s    |        18.171
  4000 |   4000 |     16000000 |    0.848s    |        18.874
  5000 |   5000 |     25000000 |    0.942s    |        26.528
  6000 |   6000 |     36000000 |    1.032s    |        34.898
  7000 |   7000 |     49000000 |    1.041s    |        47.049
  8000 |   8000 |     64000000 |    1.107s    |        57.789
  9000 |   9000 |     81000000 |    1.137s    |        71.229
 10000 |  10000 |    100000000 |    1.173s    |        85.245
 20000 |  20000 |    400000000 |    3.641s    |       109.867
Single Core:
  5000 |   5000 |     25000000 |    0.545s    |        45.878

There are three problems here:

The reported popcount throughput is for the count() method in Python's bitarrays, not the C implementation (which, FWIW, I've independently measured to be in the order of 10GiB/s). We use the C implementation exclusively except for testing AFAICT.
The table of comparisons per second is measuring calculations of similarity matrices via the function distributed_processing.calculate_filter_similarity with defaults k=10 and threshold=0.5 (these defaults and the actual work are delegated to entitymatch.calculate_filter_similarity). In contrast, the "Single Core" line uses the function entitymatch.calculate_mapping_greedy which calculates a single similarity matrix AND does a greedy solve with defaults k=5 and threshold=0.95. These two situations are obviously completely incomparable, but are presented in the same table without explanation.
Following on from the previous point, the line for 5000x5000 in the main table is always way slower than the line for single core, which makes no sense if the main table is "distributed"; it must be a consequence of the fact that the k and threshold parameters have been changed.

Resolved by #58.


Support for non distributed search

Hey @rohitbemax,
I'm running Solr as a single instance without SolrCloud. Your Readme mentions collections which I don't have. Also calling bin/solr package install data-import-handler throws exceptions containing "ZooKeeper" so I assume: the dataimporthandler is for SolrCloud only?

I wanted to pass along the technique I use for all my single node Solr instances is just to start them in SolrCloud mode with the embedded ZooKeeper!    It has worked rock solid for me for many years on many setups, and it enables a lot of additional features in Solr, like this one.

Ok, thank you. In the meantime I tried to just replace Solr's DIH by yours, which worked locally in my Docker environment, but not on our server, yet. Do you see any problems for this way?


CODE

Is this part included in the program you give?
df_N2 = pd.read_csv("N2.csv")
N2_isotherm = pyiast.ModelIsotherm(df_N2,
loading_key="Loading(mmol/g)",
pressure_key="P(bar)",
model="Henry")
df_CO2 = pd.read_csv("../CO2.csv")
CO2_isotherm = pyiast.ModelIsotherm(df_CO2,re_key="P(bar)",
model="Langmuir")
df_H2O = pd.read_csv("../H2O.csv")
H2O_isotherm = pyiast.ModelIsotherm(df_H2O,
loading_key="Loading(mmol/g)",
pressure_key="P(bar)",
fill_vaule=df_H2O["Loading(mmol/g)"].max())
#list of CO2,N2 and H2O oartial pressures (bar)
partial_pressures = [0.166,0.679,0.02]
component_loadings = pyiast.iast(partial_pressures,
[CO2_isotherm,N2_isotherm, H2O_isotherm])
total_pressure = 65.0 #total bulk gas pressure (bar)
adsorbed_mole_fralctions = [0.5,0.5] #deslired adsorbed mole fractions
gas_mole_fractions, component_loadings = pyiast.reverse_iast(
adsorbed_mole_fralctions,
total_pressure,
[ch3ch3_isotherm, ch4_isotherm])
I find this in paper but don't find it in code

so I added the data (.csv's) to run this snippet of code in the ternary_example folder. see here. so launch the Jupyter Notebook from that folder, then you can run that code and it will read in the data in that directory.


Don't assume CWL when using assume-role

This PR allows for S3 Flow Log locations to be used with the assume-role command line options.

Coverage remained the same at 100.0% when pulling 67af475c0256cb01257c848e6e0dab93c2768fd9 on assume-role-client into cbab46b66bbbc560c0a3b387f292aa383f28c3b6 on master.


PR Validation: The display compositor is frequently crashing

[7333:0825/182229.520150:FATAL:gpu_data_manager_impl_private.cc(986)] The display compositor is frequently crashing. Goodbye.

This is back.


DDC requires CRE=1 to access

https://github.com/riscv/riscv-cheri/blob/main/src/riscv-hybrid-integration.adoc
This text refers to a section including tables:
Executing CSR instructions accessing any capability wide CSR addresses ([csr-numbers-section]) cause illegal instruction exceptions
https://github.com/riscv/riscv-cheri/blob/main/src/riscv-hybrid-integration.adoc#csr-numbers-section
but this section doesn't include DDC which should be made inaccessible by CRE=0
so the text is correct, but the list in the section is incomplete.

in fact what we should do is explicitly state whether CRE is required to access each CSR in the CSR description sections.

closed as the MR is merged


IPsec logs always blank

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

[x] I have read the contributing guide lines at https://github.com/opnsense/core/blob/master/CONTRIBUTING.md
[x] I am convinced that my issue is new after having checked both open and closed issues at https://github.com/opnsense/core/issues?q=is%3Aissue

Describe the bug
Despite finding IPsec log settings under VPN > IPsec > Advanced Settings (which was non-obvious, some of these menus could use reordering/renaming/cleanup and some features more prominently cross-linked to each other) the VPN > IPsec > Log File entry is totally blank.
Interestingly, the Firewall > Log Files > General view is similarly blank even though the Live, Overview, and Plain Views have data. I wonder if this logging facility is broken somehow. A firefox network inspector shows a POST being received just fine, it just produces rows: [] (empty response) for both api/diagnostics/log/core/ipsec and api/diagnostics/log/core/firewall
To Reproduce

Enable normal IPsec and Firewall things, including IPsec debug settings.
Restart the IPsec service even though that shouldn't be necessary (should be part of changing debug settings)
Try to view IPsec logs, notice they are blank

Expected behavior
IPsec logs should not be blank, especially with debug log levels turned on.
Describe alternatives you considered
Screaming into the void, etc
Environment
OPNsense 24.1.8-amd64
FreeBSD 13.2-RELEASE-p11
OpenSSL 3.0.13
AMD GX-412TC SOC (4 cores, 4 threads)
PCEngines APU2

right top corner, log level selector

Ahh, that did it. So I've been managing IPsec VPNs with PFsense/etc since ~2010, I think it's safe to say that most people who haven't figured out not only the log level controls but also the log level filters is going to just give up rather than make a Github ticket (I'm a feisty one, and also happen to also live on Github all day in my new job as a web dev)
Some suggestions to prevent future dismay:

Link to or hint at IPsec log level settings inside the Connections, Legacy IPSec Tunnel, and other control panels
Rename or hint at "Advanced Settings" containing log details
If a restart is necessary for debug settings (idk if it is) specify that, prompt for a restart, or just automatically restart
If a table in the GUI (like these log tables) returns no data, modify the message to say "No results found! If you expect data here, adjust the displayed log levels"
I was battling a failing IPsec tunnel with mismatched ciphers and peer identifiers, that's not a warning or higher?
The IPsec Status Overview consistently said ":arrow_forward: Connected" even when it wasn't due to the aforementioned mismatches, making that more accurate or perhaps linking to a more detailed status would be helpful (I personally know better than to trust IPsec when it says everything's fine, but that's because it was my hellish job for a long time, most people expect things to only be green when phase 1+2 are up and passing traffic.)

Sounds like case closed, there's always room for improvement, but how we handle logging in all parts of the system is pretty consistent, explaining the use better is more a documentation issue (maybe adding a paragraph in https://docs.opnsense.org/manual/gui.html).

I've gotten this far without reading the manual, not gonna start now ;)
Consider this a feature request, maybe I'll make a PR sometime in the future if I have time. The rest of the UI is mostly intuitive, minus this


Feature user should get all order feedback 156949490

full implementation of all api end points

Pull Request Test Coverage Report for Build 50

160 of 181 (88.4%) changed or added relevant lines in 18 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-14.07%) to 80.0%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

server/route/meal.js
16
17
94.12%

server/controller/menu.js
7
8
87.5%

server/models/index.js
20
21
95.24%

server/controller/meal.js
10
12
83.33%

server/controller/order.js
2
10
20.0%

server/middleware/validate.js
22
30
73.33%

Totals

Change from base Build 20:
-14.07%

Covered Lines:
174

Relevant Lines:
195

💛  - Coveralls


Issue #29: Removed submodules

Does it make sense to have references to all things Beacon linked to this repository (e.g. reference server, beaconizer) or should we create multiple repositories and provide a list of developer tools at ga4gh.org/#/beacon?

In terms of code, I would treat this repository as schema only so that we can tag and release it properly. As it is the main beacon repository, I think it makes sense to link other resources somewhere - I started a wiki page for that: beacon-team/wiki/Resources.

+1


Add links to API docs

The updated http://docs.phonegap.com/ is missing links to e.g. http://docs.phonegap.com/en/4.0.0/index.html

Added a new Plugin API References page. Closing...


[Bug] ARK causing NPCs to duplicate emote

I found that ARK is causing NPCs to duplicate whatever emote I use next to them. This actually causes them to break as I can no longer talk to them without logging out and logging back in or leaving the area entirely and reloading back in. I know it is ARK specific because I can disable ARK and the NPCs no longer duplicate my emotes.

This behavior is now restricted to the Custom NPC feature unless debug mode is enable.


Error: Resource not accessible by integration

I am getting Error: Resource not accessible by integration while using this action and I have no idea what is causing it.
Example: https://github.com/ansible-community/molecule/actions/runs/3842360113/jobs/6543589185
The body of of the action can be seen at https://github.com/ansible/devtools/blob/main/.github/workflows/ack.yml#L57-L61
The reason why this is in a different repository is because I use a reusable github action.
Before saying that this might not have the required access to editing the PR, take a look at previous action which is auto-approve-review, which runs successfully. So basically only this one is affected.

Any ideas about what can cause that?

Hey, I think this is caused by: https://github.blog/changelog/2021-02-19-github-actions-workflows-triggered-by-dependabot-prs-will-run-with-read-only-permissions/ - and so the answer should be in https://github.com/alexwilson/enable-github-automerge-action/issues/18.  Can you confirm if you're using the default token, or injecting one into the workflow @ssbarnea?

I'm still hitting this with the following:
---
name: Enable auto-merge
"on":
  pull_request_target:
    types:
      - opened
      - reopened
    branches:
      - main
jobs:
  enable-auto-merge:
    runs-on: ubuntu-latest
    if: github.event.pull_request.user.login == 'my-super-duper-bot'
    steps:
      - uses: alexwilson/enable-github-automerge-action@main
        with:
          github-token: ${{ secrets.GITHUB_TOKEN }}

Presumably, this is because the workflow is getting triggered on opened and reopened which are not a "trusted event" like labeled?
If so, what's the workaround in this case? Maybe a personal access token is the only way forward.

Actually, this seems to have worked after changing Settings > Actions > General > Workflow permissions from "read" to "read+write".

After some trial and error, it looks like the action requires contents: write instead of pull-requests: write. I guess enabling automerge is falls into this category.


Make title field more prominent

Right now the title field is off to the side with the rest of the metadata. I think it'd look nicer and feel less weird if it were placed above the editor, with enlarged font and stuff.

Some editors like Substack's blend the title field into the editor. That sounds like way too much work for our situation imo. I'd rather leave the editor as a mostly drop-in component and just stick a regular text input above it.

I'm removing the good first issue label since the new data model makes this more complicated--all UI in platypub has to be done in a generic way.


Revisit checkAPIToken and similar functions

(I think this one is important to get done before 7.3.0 is out!)
There's a few issues in checkAPIToken and friends I spotted when working on #404:

We should give it a more precise name or make the issuer sources configurable.  There's very few cases where we accept any of the 4 different sources of authorization.  A precise name would be like checkAnyAuthorization; making it configurable would be providing a bitmask for the different sources of authorization as an input variable.
It's ambiguous what scopes are allowed from what issuer.  There are three different scopes listed (pelican.directorScrape, pelican.promMetric, and prometheus.read) within promMetricAuthHandler; I'm pretty sure we shouldn't be accepting pelican.directorScrape from the origin's issuer.
Speaking of scopes, it's not immediately clear which scope does what.  For example, I don't think there's a distinction between pelican.directorScrape and prometheus.read: it's about the permission being granted, not who is doing the action.

If there's a reason to keep multiple scopes around (e.g., backward compatibility), then we should add a comment as to why those scopes are present.

I've always assumed that the federation issuer is the director issuer: that is, there's no reason to have both checked for and the director would set its iss claim to be the federation URL.  Is there a strong reason why we'd need to separate them?
When we do check the tokens, we always look up the JWKS from the remote service (this would become a DoS in cases where someone pings the /metrics endpoint repeatedly with a fake token).  Instead, we should follow what's done in the director and use the jwk library's Cache object to maintain the key.

As part of the consolidation of the key handling we need to do, perhaps we should centralize this logic to make it more reusable?

I agree that checkAPIToken is a bit messy and unnecessarily cumbersome with what is checks. I think the original logic is purely for checking the token for Prometheus query engine (/api/v1.0/prometheus) and I adapted/refactored most of the logic for the /metrics endpoint assuming the two should have similar if not the same audience.
I think it's a bit unclear to me at the start why we would need to check all three places (authz param, Authorization header, and cookie) for the /api/v1.0/prometheus endpoint as this should only be accessed by web user (i.e. via cookie auth) and it's not for director/federation to grab data from an origin. If this is true, then we would only do IssuerCheck with the token from login cookie.
Regarding the other questions:
2&3 are in tight couple and I'm not sure how I should proceed in solving both. For 2, Yes, we shouldn't accept pelican.directorScrape from origin's issuer but at the same time, if  the scope is the permission granted, which I assume should be entity.action and in this case, prometheus_metrics.read, it's hard to distinguish the scope requested in different issuer check functions.
For 3, I think at the end of the day there should be two Prometheus scopes exist, one should be something like prometheus_metrics.read and the other is prometheus_promql.read. The former is for reading /metrics and the later is for/api/v1.0/prometheus

The director has its own issuer and iss url because we need private key to issue a token under iss behalf and if it's the federation, we need the private key from whichever server we put in iss and we can't do it, so we set up director to be an issuer and we can access the private key of director to sign the token. I don't think we ever used Federation check as no token was currently issued under federation URL.

Related: #159

Based on the discussion with @bbockelm, this issue can be detailed as follows:
Keep checkAPIToken function with renaming to checkAnyAuthorization, with a parameter called authOptions like []AuthList where AuthList has source issuer and scopes.
The function will call corresponding issuer check function (DirectorCheck FederationCheck etc) with token get from source (cookie/header/authz, etc) based on the authOptions.
The scopes for Prometheus will be renamed to monitoring.scrape and monitoring.query, for /metrics endpoint and PromQL endpoint respectively.
We keep checking Authorization header and cookie for PromQL given that we might want third-party system to access PromQL such as Grafana


create ci.yml and configure github Actions

Details and Assumptions
This story/issue corresponds to the first 3 bullets points of the CI requirements:

Create a .github/workflows/ci.ymlfile and configure GitHub Actions to run your unit test cases every time someone pushes to the master branch or submits a Pull Request.
Your GitHub Action should also check your code for quality by running flake8 and pylint just like your Makefile does.
Add a GitHub Actions CI badge to your README.mdfile so that everyone will know if the build is working or broken.

Acceptance Criteria
Given the github Actions is configured
When a developer submit a PR,
Then one can see whether the PR build passes the tests, and the code quality. which will show on CI badge.

In my opinion, create ci.yml and configure github actions should be 2 separate issues, shall we split them? @EV9H


Add support for creating polls

This PR makes it possible to create polls when posting a new toot

Codecov Report

Merging #141 (2ad586e) into master (58c3891) will decrease coverage by 0.98%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##           master     #141      +/-   ##
==========================================
- Coverage   78.05%   77.06%   -0.99%
==========================================
  Files          30       30
  Lines        1358     1365       +7
==========================================
- Hits         1060     1052       -8
- Misses        204      218      +14
- Partials       94       95       +1

Impacted Files
Coverage Δ

mastodon.go
72.66% <ø> (ø)

status.go
70.10% <0.00%> (-2.63%)
:arrow_down:

cmd/mstdn/cmd_stream.go
56.45% <0.00%> (-3.23%)
:arrow_down:

cmd/mstdn/main.go
64.40% <0.00%> (-2.40%)
:arrow_down:

Continue to review full report at Codecov.

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

I can add some more tests

Thank you.


cancel dnd if original target is content editable

We should cancel dnd if original target is content editable, because of dnd broken content editable 😵

@storyn26383 , @RubaXa  I am sure that you had a use case for this, but it breaks other use cases --some people do want to move contenteditables around ;-)
How about letting the user decide through onChoose (e.g. explicit false return value cancels the drag) or through filter ?

Apologies, I can see that this was reverted sometime between v1.4 and v1.6.


feat: Notion

Fixes Issue : #1339

Changes proposed

Added Notion Object Details in blogs.json File in resources Category
This Notion Website is very Useful for Writing Blogs, Good Workspace and Other Community Based Features

Screenshots

Note to reviewers

This Website very useful and elevates Personal Portfolio gets More Weightage

@k-deepak04 and @rupali-codes . Please Review on my PR ?

@k-deepak04 .Please add Labels also to my PR?


how time diff?

eg:
3m ago
1h ago
3days ago
1m end
2h end
3days end
from current time

recommend https://github.com/remirobert/Tempo
to do chat app time label

Operation with dates:
https://github.com/malcommac/SwiftDate/blob/develop/Documentation/3.OperationsWithDates.md
Date to string with relative/colloquial formatting:
https://github.com/malcommac/SwiftDate/blob/develop/Documentation/6.DatesToString.md


Linux-based client will not resolve service

I'm attempting to browse for a Bonjour service from a Linux client running on Raspbian Buster on a Raspberry Pi Zero W that is published by an iOS server .  Although it finds the service, it does not resolve.
This delegate method is called:
public func netService(_ sender: NetService, didNotResolve errorDict: [String: NSNumber])
The error provided is:
 ["NSNetServicesErrorCode": -1, "NSNetServicesErrorDomain": 10]
I thought I had this Linux-based client browsing/resolution working under Linux about a year or two ago, although that was with Ubuntu Mate, and perhaps I made a configuration change to that install.
I used avahi-browse to look for the service and it is published:
`Server version: avahi 0.7; Host name: goose.local
E Ifce Prot Name                                          Type                 Domain

wlan0 IPv6 RoverController                               _RemoteLogging._tcp  local
wlan0 IPv4 RoverController                               _RemoteLogging._tcp  local
=  wlan0 IPv6 RoverController                               _RemoteLogging._tcp  local
hostname = [Robs-iPad-Pro.local]
address = [<IP_ADDRESS>]
port = [63252]
txt = []
=  wlan0 IPv4 RoverController                               _RemoteLogging._tcp  local
hostname = [Robs-iPad-Pro.local]
address = [<IP_ADDRESS>]
port = [63252]
txt = []
: Cache exhausted
: All for now
`

That same Linux host is itself running a service and iOS devices are able to connect to that no problem.
Thanks.

I think this issue might be related:
https://github.com/Bouke/NetService/issues/31
In that case, I seem to have put in place logic that prevented the library from attempting resolve twice, so I'll dig in and see if that is not functioning correctly.
I'm currently working on tag 0.7.0 since I was getting the fatal errors on 0.8.0:
https://github.com/Bouke/NetService/commit/276ca1ced209cbd8658b25cebfbab1c5370c5918#commitcomment-44640585

I did some debugging with dns-sd -B and dns-sd -L.  Browsing successfully sees the service I want to resolve, but when I attempt to resolve using "-L", I get a "NSNetServicesErrorCOde -65540".  See also the message in bold below that has strange formatting for the service name/domain, repeating the domain for some reason:
'Cdns_sd' /home/pi/Development/PanTilt/.build/checkouts/Cdns_sd: warning: system packages are deprecated; use system library targets instead
'Cdns_sd' avahi-compat-libdns_sd.pc: warning: non whitelisted flag(s): -D_REENTRANT
Browsing for _RemoteLogging._tcp
DATE: ---Monday, November 30, 2020---
11:47:25.025  ...STARTING...
Timestamp     A/R    Flags  if Domain               Service Type         Instance Name
*** WARNING *** The program 'dns-sd' uses the Apple Bonjour compatibility layer of Avahi.
*** WARNING *** Please fix your application to use the native API of Avahi!
*** WARNING *** For more information see <http://0pointer.de/blog/projects/avahi-compat.html>
11:47:25.025  Add        ?   ? local.               _RemoteLogging._tcp. RoverController
11:47:25.025  Add        ?   ? local.               _RemoteLogging._tcp. RoverController
^Cpi@goose:~/Development/PanTilt $ swift run dns-sd -L _RemoteLogging._tcp local.
'Cdns_sd' /home/pi/Development/PanTilt/.build/checkouts/Cdns_sd: warning: system packages are deprecated; use system library targets instead
'Cdns_sd' avahi-compat-libdns_sd.pc: warning: non whitelisted flag(s): -D_REENTRANT
**Lookup _RemoteLogging._tcp.local..local.**
DATE: ---Monday, November 30, 2020---
11:47:54.054  ...STARTING...
*** WARNING *** The program 'dns-sd' uses the Apple Bonjour compatibility layer of Avahi.
*** WARNING *** Please fix your application to use the native API of Avahi!
*** WARNING *** For more information see <http://0pointer.de/blog/projects/avahi-compat.html>
DNSService call failed ["NSNetServicesErrorDomain": 10, "NSNetServicesErrorCode": -65540]```

You're passing incorrect arguments to dns-sd:
dns-sd -L <Name> <Type> <Domain>                       (Resolve a service instance)

The name is the Instance Name as printed by the browse tool (RoverController). To resolve this service: (domain is optional)
dns-sd -L RoverController _RemoteLogging._tcp

Regarding the issue with 0.8.0, I've found the problem: the version of swift installed by me is overridden on CI. Will publish a new version in the next few days after I've sorted that CI issue.

I corrected the arguments but I'm getting a "-1" error message:
Server version: avahi 0.7; Host name: goose.local
E Ifce Prot Name                                          Type                 Domain
+  wlan0 IPv6 RoverController                               _RemoteLogging._tcp  local
+  wlan0 IPv4 RoverController                               _RemoteLogging._tcp  local
=  wlan0 IPv6 RoverController                               _RemoteLogging._tcp  local
   hostname = [Robs-iPad-Pro.local]
   address = [<IP_ADDRESS>]
   port = [52566]
   txt = []
=  wlan0 IPv4 RoverController                               _RemoteLogging._tcp  local
   hostname = [Robs-iPad-Pro.local]
   address = [<IP_ADDRESS>]
   port = [52566]
   txt = []
: Cache exhausted
: All for now
^CGot SIGINT, quitting.
pi@goose:~/Development/PanTilt $ swift run dns-sd -L RoverController _RemoteLogging._tcp
'Cdns_sd' /home/pi/Development/PanTilt/.build/checkouts/Cdns_sd: warning: system packages are deprecated; use system library targets instead
'Cdns_sd' avahi-compat-libdns_sd.pc: warning: non whitelisted flag(s): -D_REENTRANT
Lookup RoverController._RemoteLogging._tcp.local.
DATE: ---Monday, November 30, 2020---
17:39:55.055  ...STARTING...
*** WARNING *** The program 'dns-sd' uses the Apple Bonjour compatibility layer of Avahi.
*** WARNING *** Please fix your application to use the native API of Avahi!
*** WARNING *** For more information see <http://0pointer.de/blog/projects/avahi-compat.html>
DNSService call failed ["NSNetServicesErrorDomain": 10, "NSNetServicesErrorCode": -1]

Could you change the following line:
https://github.com/Bouke/NetService/blob/d8c65077f8c5df396ac81dd65869c4b848c70bfd/Sources/NetService/NetService.swift#L497
To:
            print(String(cString: gai_strerror(1)))
            didNotResolve(error: Int(error))

The -1 error is a generic error code, with this change it should give a clear error message + code.

Here's the edit I made per your request, on a fork:
https://github.com/robreuss/NetService/commit/1b37de9c08363e67959ac163af5c30b19046d776
For some reason, didNotResolve is not firing recently.  My app is consistently seeing two services (I guess IPv4 and IPv6)., and II had code to prevent resolving a second service, though the first service was not resolving regardless.  When I removed the code to prevent the second resolving process, then I do consistently get didNotResolve, but it gives "Unknown error":
[EC] {RemoteLogging} Browser did not resolve: ["NSNetServicesErrorCode": -2, "NSNetServicesErrorDomain": 10]```

I've implemented this in a similar way on a Raspberry Pi 3 running Ubuntu 16.04/Swift v5.1.2 and it successfully resolves.  The Zero I'm having the issue on is running Raspbian Buster/Swift v5.1.5.  It's possible there are configuration differences between them as I setup the RPi 3 over a year ago.
The connection fails because of "Connection Refused" message that I think is coming from the BlueSocket framework, so probably unrelated to the browsing issue.

I reverted to tag 0.7.0 and still see the resolving problem, if that tells you anything.

I'm afraid I don't know what error number -2 means. I've run into issues on ARM before, however I'm currently on 5.1.5 myself as well:
Swift version 5.1.5 (swift-5.1.5-RELEASE)
Target: armv6-unknown-linux-gnueabihf

Can you include a stack trace when the delegate is called? (e.g. print(Thread.callStackSymbols.joined(separator: "\n"))).

Here's the trace from the didNotResolve delegate:
[EC] {RemoteLogging} Browser did not resolve: ["NSNetServicesErrorDomain": 10, "NSNetServicesErrorCode": -1]
/home/pi/usr/lib/swift/linux/libFoundation.so($s10Foundation6ThreadC16callStackSymbolsSaySSGvgZ+0x28) [0xb65ec828]
.build/armv6-unknown-linux-gnueabihf/debug/PanTilt(+0x13710) [0x447710]
.build/armv6-unknown-linux-gnueabihf/debug/PanTilt(+0x13264) [0x447264]
.build/armv6-unknown-linux-gnueabihf/debug/PanTilt(+0x8d680) [0x4c1680]
.build/armv6-unknown-linux-gnueabihf/debug/PanTilt(+0x8e58c) [0x4c258c]
.build/armv6-unknown-linux-gnueabihf/debug/PanTilt(+0x848a4) [0x4b88a4]
.build/armv6-unknown-linux-gnueabihf/debug/PanTilt(+0x84bd4) [0x4b8bd4]```

I moved forward to 8.1.0 (from 7.0.0) on my RPi 3 and it resolved but I now get a Connection Refused error:
 TCP Client got error connecting socket: Error code: -9989(0x-2705), Connection refused
If that's indicating some type of barrier on iOS, perhaps that is what's keeping my RPi Zero from resolving?  I realized that's kind of a long-shot.
Any ideas on why an iOS would be refusing connections?  Probably related to my socket framework but thought I would ask anyway!

I solved the connection refused issue.  Will be testing on the RPi Zero (Raspbian Buster) later today so don't invest any time in this just yet.

I've got everything working from an RPi 3 running Ubuntu Mate to an iOS device, but unfortunately it is exhibit the same resolving problem with RPi Zero running Raspbian Buster.  Any thoughts?  In my research it seems Ubuntu is not available for the Zero.


split tsi library into two

one tsi_inteface library, which does not depend on grpc_base
one tsi library, depends on tsi_interface and grpc_base

@yang-g : let me send you an import patch to show it works internally

[trickle] No significant performance differences

[microbenchmarks] No significant performance differences

Known failures: #11745


Fix more error handling

The first error tried to log into the server without providing a password, resulting in a 401.
In the second error the string got not properly formatted and the error was printed plain:
[ERR] [01:02] [Goldwarden > Vault] >>> Failed to decrypt field name with on cipher 3b1e00e0-e2bf-40e8-9864-e35611f9d8ce%!(EXTRA string=decrypt: cipher of unsupported type '\x00')

Yeah, I think error handling, both in the daemon, and also in the GTK ui need to be improved. There are some other places still where there is no good error message but a crash instead.


[TRACKER] Onnx Op' Torch->Linalg Lowering

Below is the list of Onnx Ops for which Onnx->Torch lowering exists but they fail during Torch->Linag lowering phase. The aim is to prioritize these ops based on the models that are affected. If you're working on any of these ops then please create a tracker issue for the same and add your name to the owner.
Repro Instructions:
In order to reproduce the issue just take out the unit test for the concerned op from any of these files:

https://github.com/llvm/torch-mlir/blob/main/test/Conversion/TorchOnnxToTorch/simple_ops_a_to_f.mlir
https://github.com/llvm/torch-mlir/blob/main/test/Conversion/TorchOnnxToTorch/simple_ops_g_to_p.mlir
https://github.com/llvm/torch-mlir/blob/main/test/Conversion/TorchOnnxToTorch/simple_ops_q_to_z.mlir

and run the below command:
torch-mlir-opt --convert-torch-onnx-to-torch --torch-decompose-complex-ops -torch-backend-to-linalg-on-tensors-backend-pipeline --split-input-file test.mlir

Note: The list might not be exhaustive so if you find any such Onnx op which fails during Torch->Linalg lowering then please do add this to the tracker.

Op Name
Owner
Models Affected
Tracker Issue

DFT
@vivekkhandelwal1

https://github.com/nod-ai/SHARK-Turbine/issues/800

NonMaxSuppression

MelWeightMatrix

SplitToSequence

SequenceMap

CenterCropPad

RoiAlign

DeformConv

Optional

OptionalGetElement

NegativeLogLikelihoodLoss

Col2Im

MaxRoiPool

GroupNormalization

Unpool

Shrink

SequenceAt

SequenceErase

SequenceEmpty

SequenceInsert

SequenceConstruct

SequenceLength

Hardmax

GlobalMaxPool

@vivekkhandelwal1 Is this for the same issue as https://github.com/nod-ai/SHARK-Turbine/issues/450? Both are for the ops that have onnx->torch support but fail on torch->linalg.

@vivekkhandelwal1 Is this for the same issue as #450? Both are for the ops that have onnx->torch support but fail on torch->linalg.

That was created way back for making the failing lit tests pass, the purpose was different. That issue now seems stale, I will close it for now.


Error building image

ERROR! Unexpected Exception, this is probably a bug: The is no known source for ansible.controller:4.3.0

It is caused by this bug
https://github.com/ansible/ansible/issues/80781
Patch is being rolled out this week. Otherwise downgrade to an older EE

Attempting to work around issue...
registry.redhat.io/ansible-automation-platform-23/ee-minimal-rhel8       1.0.0-294   a45df9628f1c  5 weeks ago   299 MB
registry.redhat.io/ansible-automation-platform-23/ee-minimal-rhel8       latest      a45df9628f1c  5 weeks ago   299 MB
registry.redhat.io/ansible-automation-platform-23/ansible-builder-rhel8  1.2.0-26    94405d6fc2c0  5 weeks ago   218 MB
registry.redhat.io/ansible-automation-platform-23/ansible-builder-rhel8  latest      94405d6fc2c0  5 weeks ago   218 MB


check existence of clipboard in navigator

This fixes an issue I have encountered recently in Github webpage in my web browser, where clipboard is not defined in navigator. I believe its presence should be checked before touching its items in similar fashion like other isSupported methods do. This PR is related to #18.

Btw, following error is rapidly popping up (thousands within seconds) in current github webpage:
[Error] Unhandled Promise Rejection: TypeError: undefined is not an object (evaluating 'navigator.clipboard.read')
	K (vendors-node_modules_stacktrace-parser_dist_stack-trace-parser_esm_js-node_modules_github_bro-327bbf-0aaeb22dd2a5.js:1:8117)
	every
	(anonymous function) (environment-e059fd03252f.js:1:5328)
	m (environment-e059fd03252f.js:1:5291)
	(anonymous function) (environment-e059fd03252f.js:1:4196)
	(anonymous function)

It wasn't hard to catch :) It was way harder to find this repo :)

We'll also need to guard against this in the other methods- isPolyfilled and apply should check navigator.clipboard exists.

Ah, I see, I didn't realize that when I was comparing it with src/promise-any.ts. I'll work on it.

I addressed it somehow...

@dylex yes, this exactly what I am experiencing, very high CPU use, lots of exceptions.


Upgrade auto-author-assign gh action version to 1.6.2

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 98.609%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
45430

Relevant Lines:
46071

💛  - Coveralls


Doc updates for publishing config namespace

This PR:

Adds new docs for publishing config namespace

I'm currently going through the docs here for a pruning / repotting session. Will switch back to draft for the time being


Nick: Watch fernandaadrielesilva.com

Nick requests the watch of the watch_keyword fernandaadrielesilva\.com. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

fernandaadrielesilva\.com has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by Jeff Schaller in Charcoal HQ


[5.5] Fix $withCount binding problems

Backport of #24240 and b91ae1f.
Using $withCount with a relationship that has bindings breaks DELETE queries.
class Article extends Model {
    protected $withCount = ['comments'];

    public function comments() {
        return $this->morphMany(Comment::class, 'commentable');
    }
}

Article::find(1)->delete();
// expected: delete from "articles" where "id" = 1
// actual:   delete from "articles" where "id" = App\Article

This problem has been fixed on MySQL, but not on the other databases.
This PR fixes it on all databases and also fixes #23957 on 5.5.
Fixes #22413.
Can you release 5.5.41 with support for MySQL 8.0 (#24038)?

Is it possible to backport this to 5.4 as well? In my case, this seems to happen when I cause a polymorphic withCount clause to be removed by adding a select clause to my query later on.
The select clause removes the select...count...where... created by withCount from the query, but the bindings are still present. This causes the entire bindings array to be shifted so that they no longer match with their intended placeholders.

Unfortunately, 5.4 isn't supported any more.
Does this PR fix your problem?

This is known issue I believe (combining select and withCount with other order) - see https://github.com/laravel/framework/issues/24797

@staudenmeir I'm using Eloquent as a standalone third-party package, so I'll have to create my own fork of 5.4 and merge this PR to test it. I'll give it a shot after my deadline.


For use this project we  have to install Nodejs on the production server?

If you want to use NodeServices to run code inside Node, then yes, Node has to be installed and present.


cpu memory out of use when infering on 30b model

The memory of my machine is 500GB. When I want to run opt-30b from huggingface on 4 cards, in the initialization of DSPipeline, the overall cpu memory runs out of use(each subprocess consumes 130GB for model loading).
Is there a way to reduce the overall cpu memory use of all the subprocesses before tensor slicing?

You can load the model with meta tensors to avoid using all your system memory when loading across 4 GPUs. Take a look at his script (and in particular, the --use_meta_tensor option): https://github.com/microsoft/DeepSpeedExamples/blob/8e4ec02c1545f7bd87d3bfe5daaafa5a5f1fe6a6/inference/huggingface/text-generation/inference-test.py
Here's an example command that works for me:
deepspeed --num_gpus 1 inference-test.py --name facebook/opt-30b --dtype float16 --use_meta_tensor --use_kernel --replace_method "auto" --ds_inference

@mrwyattii  Hi, when I run the command in your post, I got this error: transformer_inference/transformer_inference.so: cannot open shared object file: No such file or directory.

@mrwyattii  Thank you a lot. This works for me.


Document import command

We should document how to use the new import command on the Adopting Pulumi guide's "Importing Infrastructure" page.

I will ensure this is part of the current import docs work

@stack72 I am curious, was this scoped as part of delivering the import feature?
@davidwrede Good to think about overall process for documenting feature launches. I will observe we often blog and then move on without the corresponding product docs. I love blogging, but always prefer to link end users to the official docs.

Posting here a quick update I gave to @joeduffy on this. This was not forgotten, just a couple of time sensitive items needed to happen first
https://github.com/pulumi/docs/pull/4726
That PR should update the guide
@joeduffy / @davidwrede I'd love your thoughts on that please

@joeduffy Yup, I agree that it's good to have blog posts that help raise awareness of new features, but we should always strive to have corresponding docs available for users at launch. Of course, being able to do that is highly dependent on available resources and time.
Happy to help contribute to time estimation for upcoming feature doc work as we do future quarterly and milestone planning.


Huawei mobile phone calls front camera

When using quagga.js, the front camera will be called in Huawei mobile phone. How can I solve this problem?

You'll need to use https://developer.mozilla.org/en-US/docs/Web/API/MediaDevices/enumerateDevices which you can access via Quagga.CameraAccess.enumerateVideoDevices() .. get the deviceId for the device you want to use, and then use that in your constraints rather than facingMode


gcc 13 compatibility fix

gcc 13 needs to have  included

Correct, only builds flawlessly with gcc up to 12.3. 13.X fails with many missing includes..

Why hasn't this been merged yet? I had the same issue.

This pull request has been implemented manually a couple of weeks ago (May 2024 Update)