Make collect_in optional for Pretrainer, disable it by default

What does this PR do?
Fixes #2723

collect_in, the collection directory for Pretrainer, is now optional.

i.e. when None, collected files will just be referred to locally/from cache if possible.

Breaking change: collect_in now defaults to None instead of the "model_checkpoints" directory.

If collect_files fails to locate a specific file and collect_in is None, it will fail and hint at this breaking change to help the user (in case their code was implicitly relying on "model_checkpoints" being used).

When collect_in is specified under Windows and the chosen strategy is SYMLINK, a warning will be emitted and suggest removing collect_in to avoid errors.
fetch in Pretrainer now only runs once (not twice) on the main DDP process.

This means that for inference interfaces, not setting a savedir does not require the creation of a directory. But when specifying one, it will use symlinks by default.
Example with inference interfaces, specifying a savedir:
In [1]: import torchaudio
   ...: from speechbrain.inference.speaker import EncoderClassifier
   ...: classifier = EncoderClassifier.from_hparams(source="speechbrain/spkrec-ecapa-voxceleb", savedir="test2")
   ...: signal, fs =torchaudio.load('/home/sdelang/projects/src/python/speechbrain/tests/samples/ASR/spk1_snt1.wav')
   ...: embeddings = classifier.encode_batch(signal)
INFO:speechbrain.utils.fetching:Fetch hyperparams.yaml: Fetching from HuggingFace Hub 'speechbrain/spkrec-ecapa-voxceleb' if not cached
INFO:speechbrain.utils.fetching:Fetch custom.py: Fetching from HuggingFace Hub 'speechbrain/spkrec-ecapa-voxceleb' if not cached
INFO:speechbrain.utils.fetching:Fetch embedding_model.ckpt: Fetching from HuggingFace Hub 'speechbrain/spkrec-ecapa-voxceleb' if not cached
INFO:speechbrain.utils.fetching:Fetch mean_var_norm_emb.ckpt: Fetching from HuggingFace Hub 'speechbrain/spkrec-ecapa-voxceleb' if not cached
INFO:speechbrain.utils.fetching:Fetch classifier.ckpt: Fetching from HuggingFace Hub 'speechbrain/spkrec-ecapa-voxceleb' if not cached
INFO:speechbrain.utils.fetching:Fetch label_encoder.txt: Fetching from HuggingFace Hub 'speechbrain/spkrec-ecapa-voxceleb' if not cached
INFO:speechbrain.utils.parameter_transfer:Loading pretrained files for: embedding_model, mean_var_norm_emb, classifier, label_encoder

In [2]: %ls -lah test2
total 7,0K
drwxr-xr-x 2 sdelang sdelang 3,5K oct.  22 13:45 ./
drwxr-xr-x 5 sdelang sdelang 3,5K oct.  22 13:45 ../
lrwxrwxrwx 1 sdelang sdelang  146 oct.  22 13:45 classifier.ckpt -> /home/sdelang/.cache/huggingface/hub/models--speechbrain--spkrec-ecapa-voxceleb/snapshots/eac27266f68caa806381260bd44ace38b136c76a/classifier.ckpt
lrwxrwxrwx 1 sdelang sdelang  151 oct.  22 13:45 embedding_model.ckpt -> /home/sdelang/.cache/huggingface/hub/models--speechbrain--spkrec-ecapa-voxceleb/snapshots/eac27266f68caa806381260bd44ace38b136c76a/embedding_model.ckpt
lrwxrwxrwx 1 sdelang sdelang  148 oct.  22 13:45 label_encoder.ckpt -> /home/sdelang/.cache/huggingface/hub/models--speechbrain--spkrec-ecapa-voxceleb/snapshots/eac27266f68caa806381260bd44ace38b136c76a/label_encoder.txt
lrwxrwxrwx 1 sdelang sdelang  153 oct.  22 13:45 mean_var_norm_emb.ckpt -> /home/sdelang/.cache/huggingface/hub/models--speechbrain--spkrec-ecapa-voxceleb/snapshots/eac27266f68caa806381260bd44ace38b136c76a/mean_var_norm_emb.ckpt

Example not specifying a savedir (with debug logging):
In [1]: import torchaudio
   ...: import logging; logging.basicConfig(level=logging.DEBUG)
   ...: from speechbrain.inference.speaker import EncoderClassifier
   ...: classifier = EncoderClassifier.from_hparams(source="speechbrain/spkrec-ecapa-voxceleb")
   ...: signal, fs =torchaudio.load('/home/sdelang/projects/src/python/speechbrain/tests/samples/ASR/spk1_snt1.wav')
   ...: embeddings = classifier.encode_batch(signal)
DEBUG:speechbrain.utils.checkpoints:Registered checkpoint save hook for _speechbrain_save
DEBUG:speechbrain.utils.checkpoints:Registered checkpoint load hook for _speechbrain_load
DEBUG:speechbrain.utils.checkpoints:Registered checkpoint save hook for save
DEBUG:speechbrain.utils.checkpoints:Registered checkpoint load hook for load
DEBUG:speechbrain.utils.checkpoints:Registered checkpoint save hook for _save
DEBUG:speechbrain.utils.checkpoints:Registered checkpoint load hook for _recover
INFO:speechbrain.utils.fetching:Fetch hyperparams.yaml: Fetching from HuggingFace Hub 'speechbrain/spkrec-ecapa-voxceleb' if not cached
DEBUG:urllib3.connectionpool:Starting new HTTPS connection (1): huggingface.co:443
DEBUG:urllib3.connectionpool:https://huggingface.co:443 "HEAD /speechbrain/spkrec-ecapa-voxceleb/resolve/main/hyperparams.yaml HTTP/1.1" 200 0
INFO:speechbrain.utils.fetching:Fetch custom.py: Fetching from HuggingFace Hub 'speechbrain/spkrec-ecapa-voxceleb' if not cached
DEBUG:urllib3.connectionpool:https://huggingface.co:443 "HEAD /speechbrain/spkrec-ecapa-voxceleb/resolve/main/custom.py HTTP/1.1" 404 0
DEBUG:speechbrain.utils.checkpoints:Registered checkpoint save hook for _save
DEBUG:speechbrain.utils.checkpoints:Registered checkpoint load hook for _load
DEBUG:speechbrain.utils.checkpoints:Registered parameter transfer hook for _load
DEBUG:speechbrain.utils.checkpoints:Registered checkpoint save hook for save
DEBUG:speechbrain.utils.checkpoints:Registered checkpoint load hook for load_if_possible
DEBUG:speechbrain.utils.parameter_transfer:Fetching files for pretraining (no collection directory set)
INFO:speechbrain.utils.fetching:Fetch embedding_model.ckpt: Fetching from HuggingFace Hub 'speechbrain/spkrec-ecapa-voxceleb' if not cached
DEBUG:urllib3.connectionpool:https://huggingface.co:443 "HEAD /speechbrain/spkrec-ecapa-voxceleb/resolve/main/embedding_model.ckpt HTTP/1.1" 302 0
DEBUG:speechbrain.utils.parameter_transfer:Set local path in self.paths["embedding_model"] = /home/sdelang/.cache/huggingface/hub/models--speechbrain--spkrec-ecapa-voxceleb/snapshots/eac27266f68caa806381260bd44ace38b136c76a/embedding_model.ckpt
INFO:speechbrain.utils.fetching:Fetch mean_var_norm_emb.ckpt: Fetching from HuggingFace Hub 'speechbrain/spkrec-ecapa-voxceleb' if not cached
DEBUG:urllib3.connectionpool:https://huggingface.co:443 "HEAD /speechbrain/spkrec-ecapa-voxceleb/resolve/main/mean_var_norm_emb.ckpt HTTP/1.1" 200 0
DEBUG:speechbrain.utils.parameter_transfer:Set local path in self.paths["mean_var_norm_emb"] = /home/sdelang/.cache/huggingface/hub/models--speechbrain--spkrec-ecapa-voxceleb/snapshots/eac27266f68caa806381260bd44ace38b136c76a/mean_var_norm_emb.ckpt
INFO:speechbrain.utils.fetching:Fetch classifier.ckpt: Fetching from HuggingFace Hub 'speechbrain/spkrec-ecapa-voxceleb' if not cached
DEBUG:urllib3.connectionpool:https://huggingface.co:443 "HEAD /speechbrain/spkrec-ecapa-voxceleb/resolve/main/classifier.ckpt HTTP/1.1" 302 0
DEBUG:speechbrain.utils.parameter_transfer:Set local path in self.paths["classifier"] = /home/sdelang/.cache/huggingface/hub/models--speechbrain--spkrec-ecapa-voxceleb/snapshots/eac27266f68caa806381260bd44ace38b136c76a/classifier.ckpt
INFO:speechbrain.utils.fetching:Fetch label_encoder.txt: Fetching from HuggingFace Hub 'speechbrain/spkrec-ecapa-voxceleb' if not cached
DEBUG:urllib3.connectionpool:https://huggingface.co:443 "HEAD /speechbrain/spkrec-ecapa-voxceleb/resolve/main/label_encoder.txt HTTP/1.1" 200 0
DEBUG:speechbrain.utils.parameter_transfer:Set local path in self.paths["label_encoder"] = /home/sdelang/.cache/huggingface/hub/models--speechbrain--spkrec-ecapa-voxceleb/snapshots/eac27266f68caa806381260bd44ace38b136c76a/label_encoder.txt
INFO:speechbrain.utils.parameter_transfer:Loading pretrained files for: embedding_model, mean_var_norm_emb, classifier, label_encoder
DEBUG:speechbrain.utils.parameter_transfer:Redirecting (loading from local path): embedding_model -> /home/sdelang/.cache/huggingface/hub/models--speechbrain--spkrec-ecapa-voxceleb/snapshots/eac27266f68caa806381260bd44ace38b136c76a/embedding_model.ckpt
DEBUG:speechbrain.utils.parameter_transfer:Redirecting (loading from local path): mean_var_norm_emb -> /home/sdelang/.cache/huggingface/hub/models--speechbrain--spkrec-ecapa-voxceleb/snapshots/eac27266f68caa806381260bd44ace38b136c76a/mean_var_norm_emb.ckpt
DEBUG:speechbrain.utils.parameter_transfer:Redirecting (loading from local path): classifier -> /home/sdelang/.cache/huggingface/hub/models--speechbrain--spkrec-ecapa-voxceleb/snapshots/eac27266f68caa806381260bd44ace38b136c76a/classifier.ckpt
DEBUG:speechbrain.utils.parameter_transfer:Redirecting (loading from local path): label_encoder -> /home/sdelang/.cache/huggingface/hub/models--speechbrain--spkrec-ecapa-voxceleb/snapshots/eac27266f68caa806381260bd44ace38b136c76a/label_encoder.txt
DEBUG:speechbrain.dataio.encoder:Loaded categorical encoding from /home/sdelang/.cache/huggingface/hub/models--speechbrain--spkrec-ecapa-voxceleb/snapshots/eac27266f68caa806381260bd44ace38b136c76a/label_encoder.txt

Before submitting

[x] Did you read the contributor guideline?
[x] Did you make sure your PR does only one thing, instead of bundling different changes together?
[x] Did you make sure to update the documentation with your changes? (if necessary)
[x] Did you write any new necessary tests? (not for typos and docs)
[x] Did you verify new and existing tests pass locally with your changes?
[x] Did you list all the breaking changes introduced by this pull request?
[x] Does your code adhere to project-specific code style and conventions?

PR review

Reviewer checklist

[ ] Is this pull request ready for review? (if not, please submit in draft mode)
[ ] Check that all items from Before submitting are resolved
[ ] Make sure the title is self-explanatory and the description concisely explains the PR
[ ] Add labels and milestones (and optionally projects) to the PR so it can be classified
[ ] Confirm that the changes adhere to compatibility requirements (e.g., Python version, platform)
[ ] Review the self-review checklist to ensure the code is ready for review

Need to test/fix a bit more before reviewing, actually...

Actually, since the defaults for savedir is now None, and that this effectively enforces NO_LINK, it could make sense to just roll back things to using the SYMLINK fetch strategy by default.

Wrote this up to summarize all of the fetch-related changes we've done for v1.0.2, to put in the changelog:
We have made a number of changes that affect how `fetch` works, and this affects various things in a way you should be aware of.

- In various fetching-related code, such as inference interfaces' `from_hparams`, the `savedir` refers to the directory where files should be collected. **It is now optional and defaults to `None`.**
  - When fetching files (models, audio, etc.) from local paths or HuggingFace repositories, you no longer need to specify a target directory.
    - For local file fetching, the path is returned directly.
    - For HF fetching, HF cache is used directly.
    - For URL fetching, you still need to specify the `savedir`.
  - Inference interfaces will no longer pollute your working directory with symlinks by default when loading audio files.
  - Avoiding symlink creation by default is now much friendlier to Windows compatibility. We also added some warnings to help.
  - If you _do_ specify a `savedir`, behavior should be largely unchanged (although more robust).
- In various fetching-related code, **you can now specify a `fetch_strategy`.**
  - The fetching strategy dictates what to do when a file is found locally, but not in the desired `savedir`. For instance, if some model file is available in HuggingFace cache, you can now choose between copying, symlinking or not linking the file in the `savedir`.
- `fetch` now has an `allow_network` parameter, which defaults to `True`. When disabled, this fails if the URI is not available locally, or if the file isn't found locally in HF cache.
- `fetch` also now has an `allow_updates` parameter, which defaults to `True`. It interrogates HF even if a local path is present in order to update any model files (or switch revisions), if required.

Hopefully this should be the last fix PR, I think the fetch semantics are much more sane now.


Changes to quick-start guide

Made substantial changes to the structure of the quick start guide.

Emphasised installation using pip whether using an Anaconda or Miniconda distribution or the standard PyPI install
Shortened the guide to remove unnecessary elements for a beginner, including the section on testing out HARK using Spyder
Removed redundancies such as repeated instructions on creating virtual environments
Streamlined most of the content to make it more beginner friendly

I have removed the part on installing HARK using conda-forge, as I think it can be relegated to the installation guide alone. The quick start should serve its primary purpose by providing a single best way to get started.

@sidd3888 can you look at @AA-Turner's comments and make appropriate changes so we can merge this PR?

Have made changes according to @AA-Turner's suggestions. The only thing in which I differ was recommending the installation using conda-forge, as it seemed to be more prone to conflicts than the pip version, particularly because it installs older versions of everything else. That said, I have decluttered all other parts of the guide. If this sounds good, then lets go ahead with it. If we must insist on conda-forge, then I can make that change too.


[TASK] Extension of Validation PP (gate) to TimeDep

Issue Description
Is your feature request related to a problem? Please describe.
Validation PP does not support time-dep data
Describe the solution you'd like
Allow time-dep data in Validation PP
Describe alternatives you've considered
N/A

For Change Control Board: Issue Review
This review should occur before any development is performed as a response to this issue.

[x] 1. Is it tagged with a type: defect or task?
[x] 2. Is it tagged with a priority: critical, normal or minor?
[x] 3. If it will impact requirements or requirements tests, is it tagged with requirements?
[x] 4. If it is a defect, can it cause wrong results for users? If so an email needs to be sent to the users.
[x] 5. Is a rationale provided? (Such as explaining why the improvement is needed or why current code is wrong.)

For Change Control Board: Issue Closure
This review should occur when the issue is imminently going to be closed.

[x] 1. If the issue is a defect, is the defect fixed?
[x] 2. If the issue is a defect, is the defect tested for in the regression test system?  (If not explain why not.)
[x] 3. If the issue can impact users, has an email to the users group been written (the email should specify if the defect impacts stable or master)?
[x] 4. If the issue is a defect, does it impact the latest release branch? If yes, is there any issue tagged with release (create if needed)?
[x] 5. If the issue is being closed without a pull request, has an explanation of why it is being closed been provided?

Approved to close via #1554


[FLINK-32280][table-runtime] HashAgg support operator fusion codegen

What is the purpose of the change
HashAgg support operator fusion code generator, include without key and with key case, also include one phase and two phase case. Please attention, we only support multiple input operator fusion codegen, so the hashagg must be fused with HashJoin operator.
Brief change log

HashAgg support operator fusion codegen

Verifying this change
This change added tests and can be verified as follows:
(example:)

Added related integration tests in OperatorFusionCodegenITCase

Does this pull request potentially affect one of the following parts:

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

Documentation

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

@wuchong Thanks for reviewing, I've updated


[📚] The flutterfire_ui README links are broken, they point to a folder called 'docs' instead of 'doc'

The flutterfire_ui documentation folder is called 'doc' instead of 'docs'. This breaks the links on the flutterfire_ui/readme.

(Same comment as #8629)
Should we fix the README instead? The Dart docs say the docs directory should be called 'doc/'.

Thanks for the report.
Current link in https://github.com/firebase/flutterfire/blob/master/packages/flutterfire_ui/README.md points to https://github.com/firebase/flutterfire/blob/master/packages/flutterfire_ui/docs/auth.md which gives 404 .
Correct link is : https://github.com/firebase/flutterfire/blob/master/packages/flutterfire_ui/doc/auth.md
Similar issue for tracking : https://github.com/firebase/flutterfire/issues/6751

/cc @lesnitsky


stratisd: fix build due to unused imports

With rustc 1.75, many rust project that use #[deny(warnings)] stopped building due to unused imports that didn't trigger build failures before for some reason.
stratisd now also fails to build because of a couple of those, but they have already been fixed upstream.  This PR pulls in the respective two upstream commits via fetchpatch until the next version gets released.
Failing Hydra build: https://hydra.nixos.org/build/245589489
Hydra log: https://hydra.nixos.org/build/245589489/nixlog/8
Relevant log excerpt:
error: unused imports: `StratSectorSizes`, `initialize_devices`
  --> src/engine/strat_engine/backstore/mod.rs:19:31
   |
19 |     blockdev::{StratBlockDev, StratSectorSizes, UnderlyingDevice},
   |                               ^^^^^^^^^^^^^^^^
...
24 |     devices::{find_stratis_devs_by_uuid, initialize_devices, ProcessedPathInfos, UnownedDevices},
   |                                          ^^^^^^^^^^^^^^^^^^
   |
   = note: `-D unused-imports` implied by `-D unused`
   = help: to override `-D unused` add `#[allow(unused_imports)]`

error: unused imports: `DeviceInfo`, `LInfo`
  --> src/engine/strat_engine/liminal/mod.rs:12:30
   |
12 |     device_info::{DeviceSet, LInfo},
   |                              ^^^^^
13 |     identify::{find_all, DeviceInfo},
   |                          ^^^^^^^^^^

error: unused import: `StaticHeaderSize`
 --> src/engine/strat_engine/metadata/sizes.rs:9:26
  |
9 |     static_header_size::{StaticHeaderSize, STATIC_HEADER_SIZE},
  |                          ^^^^^^^^^^^^^^^^

error: unused import: `ThinPoolState`
  --> src/engine/strat_engine/thinpool/mod.rs:15:46
   |
15 |     thinpool::{ThinPool, ThinPoolSizeParams, ThinPoolState, DATA_BLOCK_SIZE},
   |                                              ^^^^^^^^^^^^^

error: unused import: `Engine`
  --> src/engine/types/mod.rs:22:14
   |
22 |     engine::{Engine, StateDiff},
   |              ^^^^^^

error: could not compile `stratisd` (lib) due to 5 previous errors
make: *** [Makefile:200: build] Error 101

Description of changes
Apply two upstream commits that clean up unused imports.

Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Result of nixpkgs-review run on x86_64-linux 1

2 packages built:

stratisd
stratisd.initrd


palindrome("0_0 (: /-\ :) 0-0") should return true. is wrong

without writing code this cannot be a palindrome.one starts as 0_ while the reverse starts as 0-
so it should return false

You'll need to remove all non-alphanumeric characters (punctuation, spaces and symbols) and turn everything lower case in order to check for palindromes.

cool.actually it does say in the question.i just saw palindrome and straight went to coding :) thanks

Thank you for helping, I appreciate the help.


removed main.go && created library out of project

simply removed main.go, and added a new directory named "client" and created a client.go, also included tests for it in the same directory, and moved generator.go inside the client directory

Can you clarify why this change makes the Go client better? I see the motivation a little bit but don't immediately see any value. Plus, the main problem is that it would break existing as I believe the generate command would be different.

Can you clarify why this change makes the Go client better? I see the motivation a little bit but don't immediately see any value. Plus, the main problem is that it would break existing as I believe the generate command would be different.

I'm aware that removing the main.go may break the code, but the problem is that your repo cannot be used directly as a standalone library due to the main.go file in the root. what if some developer wanted to use this great package as a library to use it in their own framework? can you create a repository with the library form of your package, as i changed it?

I see, can you elaborate on how you want to use it as a library?

I see, can you elaborate on how you want to use it as a library? Feel free to chat on discord as well.

Thanks, just messaged you

As discussed via DM, it should be possible to use all methods directly even with a main.go in the root folder


Add server-sent events (SSE) renderer

@bratseth Please review
@hmusum FYI
EventStream renderer here is for rendering "events" that are added asynchronously to the hitgroup, and rendered as they occur by flushing to the output stream. Currently, this is primarily for rendering tokens as they arrive asynchronously from a language model, but could in principle be extended to be any form of event.
This renderer is enabled by format=sse in the query string, and requires a EventStream HitGroup (or DataList). The normal JSON renderer is able to render the EventStream, but would have to wait until all events are produced before returning a response.
Rendering traces and the underlying result set from a query is not yet implemented here (commented in the code) as it was not quite trivial to call out to the JsonRenderer for parts of the output.

Du we need a new renderer - couldn't this capability just be added to AsynchronousSectionedRenderer?
Should EventStream extend AbstractDataList instead of HitGroup since it isn't a list of hits?

Regarding the renderer:
I had forgotten about this format - it's fine!
I think it would be nice to have default handling of this in the AsynchronousSectionedRenderer, so that we could have hybrid Results, but then it would need to be rendered as some kind of JSON of course.
Regarding Hits or not:
You could have a Result with a single GeneratedHit which is a DataList?

@bratseth Updated the EventStream to be a DataList - with some changes to JsonRenderer to allow for rendering of this.


feat(npu): add support for Ascend 910B

Motivation

support ascned FA
Refactor the codes of data packing

Modification
TODO
BC-breaking (Optional)
TODO
Use cases (Optional)
TODO
Checklist
Before PR:

[ ] Pre-commit or other linting tools are used to fix the potential lint issues.
[ ] Bug fixes are fully covered by unit tests, the case that causes the bug should be added in the unit tests.
[ ] The modification is covered by complete unit tests. If not, please add more unit test to ensure the correctness.
[ ] The documentation has been modified accordingly, like docstring or example tutorials.

After PR:

[ ] If the modification has potential influence on downstream or other related projects, this PR should be tested with those projects.
[ ] CLA has been signed and all committers have signed the CLA in this PR.

this PR should be split into several ones:

a PR that replace all torch.cuda
a PR that change dataloader
maybe future PR that support flashattention


Missing Borders on Form Fields on the "Contact Us" Page

Description:
There are missing borders on the form fields on the "Contact " page of the website. Specifically, the fields for name, email, and other details do not have visible borders, which affects the user experience.
Expected Behavior:
The form fields should have visible borders to clearly delineate where users should input their information.

Please assign me this issue.

I want to work on this issue.


How to have buttons take up available parent width

This is more of a question - but I am placing a GroupButton with two buttons in an Expanded inside of a row, and I expected them to automatically fill out the available width of the Expanded widget but they don't.
How can I do this?  I don't want to have to explicitly set the button widths.

Hello @banderberg !
Can you provide some code of your usage experience ?
Not all app, your screen or widget only 😄

I just wrapped in a LayoutBuilder and set the button width to constraints.maxWidth / 2


fix decrypto inside Groups or Live Groups on btn

I tested this in Nuke 10 to 12 and inside LiveGroups. node.parent() does not exist in older Versions of nuke. So I went the "ugly" way, that I know, maybe there is a better way to achieve the same ?
Open for improvements.
All the best
Johannes

Ping ?

Thanks for the contribution, and sorry for being slow. I've added a test and pushed it up to a branch called groups.

That's released now in 1.2.7, see the change log. I also merged it into the widcards beta and released it as 1.3.0-beta3. Thanks!

Thanks for merging and adding the unittest, I'll provide one next time... sorry I missed that.


[core store] emitEvents / pendingEvents needs to be thinner

Store
Something is strange on the code store.
It seems the dispatcher dispatch faster than the events emission.
It needs to be investigate.

It has been done in a past commit https://github.com/KleeGroup/focus-core/commit/e04faecddef5cf7f88ed84fd0cd549aaf6fbca15


Nuxt not reading the value of tailwind config

Environment

Operating System: Darwin
Node Version:     v20.8.0
Nuxt Version:     3.9.3
CLI Version:      3.10.0
Nitro Version:    2.8.1
Package Manager<EMAIL_ADDRESS>Builder:          -
User Config:      modules, shadcn, tiptap, experimental, nitro, app, devtools, features, eslintConfig
Runtime Modules<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>Build Modules:    -

Reproduction
No response
Describe the bug
Hello there 👋
First of all, thanks for making the integration of Tailwind and Nuxt so easy! I love this very much.
I have a question: I wanted to force my app to just use light mode. After setting the colorMode and preference to light, I can see the correct class=light value in the HTML head, but Tailwind still seems to be using the system preference when reading the class name, even though I have set the darkMode in the config to be class-based.

Then, I tried to check if Nuxt is correctly reading my config by creating a new custom color. Upon testing, I found that the color is not recognizable, which indicates that Nuxt is not reading my Tailwind configuration.

My question is: what might I have set incorrectly for Nuxt to not read my config correctly?
PS: I'm not changing the Tailwind config path in nuxt.config.js. I'm using the default file, which is tailwind.config.js.
Here's my full tailwind config
const animate = require("tailwindcss-animate");
const { blackA, green, grass, mauve } = require("@radix-ui/colors");

/** @type {import('tailwindcss').Config} */
module.exports = {
  darkMode: "class",
  content: [
    "./pages/**/*.{ts,tsx,vue}",
    "./components/**/*.{ts,tsx,vue}",
    "./app/**/*.{ts,tsx,vue}",
    "./src/**/*.{ts,tsx,vue}",
  ],
  theme: {
    container: {
      center: true,
      padding: "2rem",
      screens: {
        "2xl": "1400px",
      },
    },
    extend: {
      colors: {
        "green-primary": "#00A878",
        primary: "#3177FF",
        secondary: "#CCDDFF",
      },
      keyframes: {
        "accordion-down": {
          from: { height: 0 },
          to: { height: "var(--radix-accordion-content-height)" },
        },
        "accordion-up": {
          from: { height: "var(--radix-accordion-content-height)" },
          to: { height: 0 },
        },
      },
      animation: {
        "accordion-down": "accordion-down 0.2s ease-out",
        "accordion-up": "accordion-up 0.2s ease-out",
      },
    },
  },
  plugins: [animate],
};

Thank you very much!
Additional context
No response
Logs
No response

Could you share a screenshot of your Nuxt config and directory tree please?

Sure!
Nuxt Config
import { pwa } from "./config/pwa";
import { appDescription } from "./constants/index";

export default defineNuxtConfig({
  modules: [
    "@nuxtjs/tailwindcss",
    "@vueuse/nuxt",
    "@pinia/nuxt",
    "@nuxtjs/color-mode",
    "@vite-pwa/nuxt",
    "nuxt-module-eslint-config",
    "shadcn-nuxt",
    "nuxt-tiptap-editor",
  ],
  shadcn: {
    /**
     * Prefix for all the imported component
     */
    prefix: "",
    /**
     * Directory that the component lives in.
     * @default "./components/ui"
     */
    componentDir: "./components/ui",
  },
  tiptap: {
    prefix: "Tiptap", //prefix for Tiptap imports, composables not included
  },
  experimental: {
    // when using generate, payload js assets included in sw precache manifest
    // but missing on offline, disabling extraction it until fixed
    payloadExtraction: false,
    renderJsonPayloads: true,
    typedPages: true,
  },

  colorMode: {
    // classSuffix: "light",
    preference: "light",
  },

  nitro: {
    esbuild: {
      options: {
        target: "esnext",
      },
    },
    prerender: {
      crawlLinks: false,
      routes: ["/"],
      ignore: ["/hi"],
    },
  },

  app: {
    head: {
      viewport: "width=device-width,initial-scale=1",
      link: [
        { rel: "icon", href: "/favicon.ico", sizes: "any" },
        { rel: "icon", type: "image/svg+xml", href: "/nuxt.svg" },
        { rel: "apple-touch-icon", href: "/apple-touch-icon.png" },
      ],
      meta: [
        { name: "viewport", content: "width=device-width, initial-scale=1" },
        { name: "description", content: appDescription },
        {
          name: "apple-mobile-web-app-status-bar-style",
          content: "black-translucent",
        },
        {
          name: "theme-color",
          content: "#ffffff",
        },
        {
          name: "color-scheme",
          content: "light dark",
        },

        // {
        //   name: "theme-color",
        //   media: "(prefers-color-scheme: dark)",
        //   content: "#222222",
        // },
      ],
    },
  },

  // pwa,

  devtools: {
    enabled: true,
  },

  eslintConfig: {
    setup: false,
  },
});

Hmm.. do you have an assets/css/tailwind.css you could share contents of?

weird right.. oh it's actually just for testing purpose; I can safely delete it and it still wont read my nuxt config
the content is just this
@tailwind base;
@tailwind components;
@tailwind utilities;

Sorry - I'll triage this ASAP. Meanwhile, if you can help me help you faster, a web reproduction would be amazing!
https://stackblitz.com/github/nuxt-modules/tailwindcss/tree/docs-examples/examples/basic-usage

sorry its working now! found the issues in nuxt config, importing module that's somehow problematic. Will close this. Thank you!


Update Pneck reminder to add necklace of faith

Your config group right now is didICompost, which I assume is not what you want

You must update the config group from didICompost to a value unique to this plugin (and matches or is at least very closely related to the plugin name). Config group names can not be shared between plugins.
You should probably also do the change @pajlada mentioned but that is not required.

Oops that was dumb of me, updated config group and changed to use RL's ItemIds


accessing text values of all cells

this is less of an issue, and more of a question about how to use the library, since there isn't much documentation.
I'm using Bohr as a settings page. 3 of the cells are username, name, and email. Another cell is a button cell. The button cell saves the changed data from the other cells to the server. In the button cell, how can I access the text field values of the other cells? For example, in the main tableviewcontroller:
[section addCell:[BOButtonTableViewCell cellWithTitle:@"Save Info" key:nil handler:^(BOButtonTableViewCell *cell) {
        cell.actionBlock = ^{
           // usernamecell.Textfield.text here
          // emailcell.textfield.text here
          // API call to save new data to server here
          };
    }]];

any help would be appreciated, thanks

This relates to #24. I've mentioned in previous issues how taking the cells values directly is not a good practise. Rather, you should get any necessary values directly from NSUserDefaults, since they're the most accurate and raw representation of actual configuration data (a cell often formats such data to expose it in a comprehensive way to the user).

ohhh ok I see now. I saw the "key" in the setup for each cell, but didn't know that corresponded to an NSUSerDefaults key. I thought there was some [BOTextTableViewCell valueForKey@""]; method or something like that and couldn't find it and was confused. thanks a lot!


Users and Permissions missing

In step 2, "On the Site Settings page, under Users and Permissions, click Site Permissions", this section & option does not exist in the SharePoint site settings I am looking at.

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

ID: f9e8d0f1-f6a3-82c0-e46b-974e167fe5b1
Version Independent ID: 22b0a6c2-2e90-34ab-c3c8-bd7ba721c791
Content: Customize SharePoint site permissions - SharePoint in Microsoft 365
Content Source: SharePoint/SharePointOnline/customize-sharepoint-site-permissions.md
Service: sharepoint-online
GitHub Login: @MikePlumleyMSFT
Microsoft Alias: mikeplum

Thanks for your feedback! Proposing to update the article


First Styles

Hi @naanmohammed,
Please check the styles of this first version, please feel free to change whatever thing you want to.

Thanks @naanmohammed !!!


startOf('particular date')????

moment.utc().startOf('day').toDate()
gives today's date with start and end time. Likewise i wanna get particular date with start and end time, say for Sun Apr 24 2016 15:18:54 GMT+0530 (IST)
is this possible??? pls reply me as soon as possible.

You want the start time for that date? moment('2016-04-24T15:18:54').startOf('day')

I got it by passing that particular date inside utc().


design:(CStor-resources-schema) propose schema changes for CStor resources.

CStor Resources Schema Proposal
This PR proposes a schema change for custom resource that are used for CStor pool provisioning.
Signed-off-by: Ashutosh Kumar<EMAIL_ADDRESS>

@sonasingh46 - To help for first time reviewers can you cover the following in the introduction:

the challenges with existing spec.
brief summary of the operations supported by the new spec? For example, will the spec only be used for manual provisioning? the list of operations that user can perform on the spec - after it has been created - like disk replacement, addition of new disks, addition of new pool on new node, migrating pool to new node - when the underlying disks are moved to new node.
how will the older pools be migrated to the new spec? what happens when the new spec is introduced? will both versions be supported?

@sonasingh46 -- can you also push this to contribute/design/1.x/cstor-operator folder.


fix: typos in documentation files

This pull request contains changes to improve clarity, correctness and structure.
Description correction:
Corrected imlementations to implementations
Corrected includs to includes
Corrected trasnactions to transactions
Corrected accidently to accidentally
Corrected veiw to view
Corrected registerred to registered
Please review the changes and let me know if any additional changes are needed.

@pls148 @bfish713 recreated the PR on the main branch, check it please 🤗


Adapt a Saddle Pool to Work with RAI

Prize Bounty
1700 RAI
Challenge Description
Adapt the Saddle pool contracts so that they can work with the RAI stablecoin.
At the moment, Saddle works with like assets such as DAI, USDC, USDT etc where the contracts assume the same peg. Reflexer would like to integrate RAI in Saddle but there's an issue: RAI is not pegged to $1. Instead, RAI has a "moving peg" called the redemption price.
In order to fetch RAI's redemption price, one has to first update it and then retrieve it. This is why the redemption price getter is not a view function. To make it easier to fetch the redemption price, you can use this contract that stores a slightly older version of the price or you can update and fetch the latest price from here.
Submission Requirements
You must write thorough tests for all contracts you work on. You must also describe in detail all the modifications you brought to vanilla Saddle contracts as well as describe the test cases you covered.
Lastly, your final submission must be in a PR where you acknowledge that the code will be under Saddle's license.
Submission Deadline
26th of October 2021
Winner Announcement Date
The submission will be reviewed between 27th-28th of October. The announcements and payouts will occur by 29th of October.

Ok boss

👍


BroadcastServiceTest.testSlowConsumer() is timing out

Here is the stack trace:
java.lang.Exception: Appears to be stuck in thread New I/O worker #3
        at sun.nio.ch.KQueueArrayWrapper.kevent0(Native Method)
        at sun.nio.ch.KQueueArrayWrapper.poll(KQueueArrayWrapper.java:198)
        at sun.nio.ch.KQueueSelectorImpl.doSelect(KQueueSelectorImpl.java:103)
        at sun.nio.ch.SelectorImpl.lockAndDoSelect(SelectorImpl.java:86)
        at sun.nio.ch.SelectorImpl.select(SelectorImpl.java:97)
        at org.jboss.netty.channel.socket.nio.SelectorUtil.select(SelectorUtil.java:83)

Attaching surefire reports:
org.kaazing.gateway.service.broadcast.BroadcastServiceTest.txt
Uploaded using ZenHub.io
TEST-org.kaazing.gateway.service.broadcast.BroadcastServiceTest.xml
Uploaded using ZenHub.io

This can reproduced consistently on Mac OSX 10.10.

This should have been fixed and currently not reproducible.

We saw this again today


[1.16.x] KOGITO-6718 Avoid fixed maven-compiler-plugin version in it tests (#1…

…979)
https://issues.redhat.com/browse/KOGITO-6718
Backport of https://github.com/kiegroup/kogito-runtimes/pull/1979

[x] You have read the contributors guide
[x] Your code is properly formatted according to this configuration
[x] Pull Request title is properly formatted: KOGITO-XYZ Subject
[x] Pull Request title contains the target branch if not targeting main: [0.9.x] KOGITO-XYZ Subject
[x] Pull Request contains link to the JIRA issue
[x] Pull Request contains link to any dependent or related Pull Request
[x] Pull Request contains description of the issue
[x] Pull Request does not include fixes for issues other than the main ticket

How to replicate CI configuration locally?

Build Chain tool does "simple" maven build(s), the builds are just Maven commands, but because the repositories relates and depends on each other and any change in API or class method could affect several of those repositories there is a need to use build-chain tool to handle cross repository builds and be sure that we always use latest version of the code for each repository.
build-chain tool is a build tool which can be used on command line locally or in Github Actions workflow(s), in case you need to change multiple repositories and send multiple dependent pull requests related with a change you can easily reproduce the same build by executing it on Github hosted environment or locally in your development environment. See local execution details to get more information about it.

How to retest this PR or trigger a specific build:

Run all builds
Please add comment: Jenkins retest this

Run (or rerun) specific test(s)
Please add comment: Jenkins (re)run [kogito-runtimes|optaplanner|kogito-apps|kogito-examples|optaplanner-quickstarts|optaweb-employee-rostering|optaweb-vehicle-routing] tests

Quarkus LTS checks
Please add comment: Jenkins run LTS

Run (or rerun) LTS specific test(s)
Please add comment: Jenkins (re)run [kogito-runtimes|optaplanner|kogito-apps|kogito-examples|optaplanner-quickstarts|optaweb-employee-rostering|optaweb-vehicle-routing] LTS

Native checks
Please add comment: Jenkins run native

Run (or rerun) native specific test(s)
Please add comment: Jenkins (re)run [kogito-runtimes|optaplanner|kogito-apps|kogito-examples|optaplanner-quickstarts|optaweb-employee-rostering|optaweb-vehicle-routing] native

Full Kogito testing (with cloud images and operator BDD testing)
Please add comment: Jenkins run BDD
This check should be used only if a big change is done as it takes time to run, need resources and one full BDD tests check can be done at a time ...

(tests) - kogito-examples job #32 was: UNSTABLE
Possible explanation: This should be test failures
Test results:

PASSED: 428
FAILED: 1

Those are the test failures:

org.acme.travel.tests.multimessaging.quarkus.MultiMessagingIT.testProcess
org.opentest4j.AssertionFailedError: expected: <0> but was: <3>	at org.acme.travel.tests.multimessaging.quarkus.MultiMessagingIT.testProcess(MultiMessagingIT.java:105)

Please look here: https://eng-jenkins-csb-business-automation.apps.ocp-c1.prod.psi.redhat.com/job/KIE/job/kogito/job/1.16.x/job/pullrequest/job/kogito-runtimes.tests.downstream.kogito-examples/32/display/redirect

@danielezonca CI failures are not related to this PR. Please merge, thanks!


Intermittent PDF generating error

I think this was related to the reference loading bugs.

yep i think we are good here


Update dependency versions in samples monthly

Overview
Spring cloud starter team will do spring release every month, so the dependency versions in samples need to be udpated monthly.

[x] 21.08-Update dependency versions in samples

Closing this issue, use monthly release wiki to track instead.


Look for font locally first before fetching from url

Unfortunately this patch cannot be considered in its current form, since there's no explanation as to why these changes should be made and/or what bugs this would fix. Furthermore, there's also no test-case included nor any steps to reproduce the problem (whatever it might be).
Was this patch perhaps submitted against the main PDF.js repository by mistake?

It wasn't by mistake but as this is a draft PR, I assume I can prepare it and publish when ready, right?

It wasn't by mistake but as this is a draft PR, I assume I can prepare it and publish when ready, right?

Sure; but it might be possible for you to save yourself some time by outlining (at least in broad strokes) upfront why these changes would be necessary, since it's somewhat difficult to understand how this makes sense given how that part of the PDF.js font loading actually works.
Otherwise there could be a risk that you're spending a lot of time/effort on a patch which may not be accepted in the end.

Closing because I cannot continue to work on this at the moment.


[Bug] color banding on aclyric background

not sure if this happened after some recent version but never noticed it before
applies to both light and dark mode

Done: https://github.com/JasonStein/Notepads/commit/b16ca7c4145440035fa889cfe0616969fb1df48b

It (the banding effect) will be fixed in v<IP_ADDRESS>, closing this thread for now.


Multiple "ColorsDispatcher" implementations

Little bit of housekeeping:

updated maven plugins so they will work with Maven 3.1+
Made GraphRowSimple serializable to avoid copy/paste errors in JMeter
Changed ColorsDispatcher to be a factory and then different implementations will be returned depending on properties set. Moved original implementation into a class called CycleColors

New ColorsDispatchers

HueRotatePalette - takes a base colour and creates N variations through hue rotation, as well as M gradients of black->gray
CustomPalette - specify a fixed custom palette, when the automated CycleColors or HueRotate isn't good enough

Near full test coverage is included

This looks awesome!
Please add 1 missing thing: document your changes, explaining how to set properties and which  ColorsDispatchers available. And don't forget changelog record. It's all listed in our developer guide here: http://jmeter-plugins.org/wiki/DeveloperGuide/

On it's way... would be nice to preserve color selections each time we clear, not sure how viable that is though...

Thanks for the contribution!


Personacrypt missing

installed clean 11-30-2018 release candidate.
Personacrypt is missing and not in the repository to install.  However it still shows up in the user manager.  When you try and add a personacrypt user and enable it  in the user manager it fails to add a user.  pkg install cannot find personacrypt.  Pkg search cannot find it either.
I think this is a really great feature.  It should not be removed.
I would like to see it updated so it could be used from command line log ins as well.
So it would function in trueos as well as trident

Technically we didn't 'remove' it.  Its not in the repo or on the ISO
because it requires pefs-kmod-2017.06.20 and that package has been failing
to build.

In file included from
/wrkdirs/usr/ports/sysutils/pefs-kmod/work/pefs-2017-06-20/sys/modules/pefs/../../fs/pefs/pefs_crypto.c:31:
/usr/src/sys/sys/dirent.h:139:2: error: implicit declaration of
function 'memset' is invalid in C99
[-Werror,-Wimplicit-function-declaration]
        memset(dp->d_name + dp->d_namlen, 0,
        ^
/usr/src/sys/sys/dirent.h:139:2: error: this function declaration is
not a prototype [-Werror,-Wstrict-prototypes]
In file included from
/wrkdirs/usr/ports/sysutils/pefs-kmod/work/pefs-2017-06-20/sys/modules/pefs/../../fs/pefs/pefs_crypto.c:34:
In file included from /usr/src/sys/sys/libkern.h:41:
/usr/src/sys/sys/systm.h:317:7: error: conflicting types for 'memset'
void    *memset(void * _Nonnull buf, int c, size_t len);
         ^
/usr/src/sys/sys/dirent.h:139:2: note: previous implicit declaration is here
        memset(dp->d_name + dp->d_namlen, 0,
        ^
3 errors generated.
*** Error code 1

Stop.

On Sun, Dec 2, 2018 at 9:00 PM Troub274<EMAIL_ADDRESS>wrote:

installed clean 11-30-2018 release candidate.
Personacrypt is missing and not in the repository to install. However it
still shows up in the user manager. When you try and add a personacrypt
user and enable it in the user manager it fails to add a user. pkg install
cannot find personacrypt. Pkg search cannot find it either.
I think this is a really great feature. It should not be removed.
I would like to see it updated so it could be used from command line log
ins as well.
So it would function in trueos as well as trident
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/project-trident/trident-core/issues/49, or mute the
thread
https://github.com/notifications/unsubscribe-auth/AEcEp0OFnjkxuL8k7DUYh_m5BEzIZwZjks5u1IXPgaJpZM4Y9v0y
.

Technically we didn't 'remove' it.  Its not in the repo or on the ISO
because it requires pefs-kmod-2017.06.20 and that package has been failing
to build.
In file included from
/wrkdirs/usr/ports/sysutils/pefs-kmod/work/pefs-2017-06-20/sys/modules/pefs/../../fs/pefs/pefs_crypto.c:31:
/usr/src/sys/sys/dirent.h:139:2: error: implicit declaration of
function 'memset' is invalid in C99
[-Werror,-Wimplicit-function-declaration]
        memset(dp->d_name + dp->d_namlen, 0,
        ^
/usr/src/sys/sys/dirent.h:139:2: error: this function declaration is
not a prototype [-Werror,-Wstrict-prototypes]
In file included from
/wrkdirs/usr/ports/sysutils/pefs-kmod/work/pefs-2017-06-20/sys/modules/pefs/../../fs/pefs/pefs_crypto.c:34:
In file included from /usr/src/sys/sys/libkern.h:41:
/usr/src/sys/sys/systm.h:317:7: error: conflicting types for 'memset'
void    *memset(void * _Nonnull buf, int c, size_t len);
         ^
/usr/src/sys/sys/dirent.h:139:2: note: previous implicit declaration is here
        memset(dp->d_name + dp->d_namlen, 0,
        ^
3 errors generated.
*** Error code 1

Stop.

You really should start paying attention to other Trident media
https://discourse.trueos.org/t/dev-querstion-from-telegram/3468/3


Add status, applied at and personal statement to application review page

Also hides the link for unsubmitted applications.
I am using the status tag component, but because I had to hide the text underneath, I added the @display_info_text argument. I thought about taking the colour method out of the ApplicationStatusTagComponent component and maybe putting it in a helper so I can call it directly, but not sure it's worth it. Feedback is welcome.

 CA: Ensure that 'view application' link functions correctly for post-submission and post-offer


Update on region availability

Hello,
Do you have updates on regional availability of NFS file share, or is the list complete?
I add another question: can Azure Backup be used for NFS backup?
Thank you.

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

ID: 6ae2dd9b-a650-4399-4278-75787a6984d7
Version Independent ID: 7aea5118-7d89-9c5c-b35c-2a7d296f4791
Content: Mount an Azure NFS file share - Azure Files
Content Source: articles/storage/files/storage-files-how-to-mount-nfs-shares.md
Service: storage
Sub-service: files
GitHub Login: @roygara
Microsoft Alias: rogarana

@bertrandpons Thanks for your question. We are checking on this and will respond to you soon.

@bertrandpons Firstly apologies for delay in responding here!
Are you looking out for any specific region?
Network File System (NFS 4.1) public preview on premium tier is now open in the following regions – Australia East, East US, East US 2, Southeast Asia, UK South, West Europe, and West US 2. To get the latest info, see region availability section of NFS shares documentation.
I'd recommend posting your question in https://azure.microsoft.com/en-us/support/community/ since it's not directly related to the documentation. We'll follow up there. We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.

@SumanthMarigowda-MSFT Thank you for your reply. I was thinking of Switzerland region.


invalid syntax (requests_html.py, 419) on Ubuntu Server

Got this error while using a Amazon AWS Ubuntu server

Interestingly, this works on linux for me - however not on Windows Python 3.5.4:
In [2]: from requests_html import HTMLSession
  File "C:\Program Files\Anaconda3\lib\site-packages\requests_html.py", line 419
    element=PyQuery(html)('html') or PyQuery(f'{html}')('html'),
                                                                  ^
SyntaxError: invalid syntax

@shtabbbe, could you confirm that you are using <3.6?
Python <3.6 does not support f strings. The error you are hitting is:
line 419:
    element=PyQuery(html)('html') or PyQuery(f'{html}')('html'),
                                                                  ^
SyntaxError: invalid syntax

Download python3.6 from [Jonathan's PPA] (http://ubuntuhandbook.org/index.php/2017/07/install-python-3-6-1-in-ubuntu-16-04-lts/), then manually copy requests-html to /usr/lib/python3.6 and then rename requests-html to requests_html. There may be other way around to do this but it worked for me.

Download python3.6 from Jonathan's PPA, then manually copy requests-html to /usr/lib/python3.6 and then rename requests-html to requests_html. There may be other way around to do this but it worked for me.


Issue Deploying Azure Premium Functions from CLI

So I create a function app using the following  but I need a Premium function app to be created the below command doesn't create one for me .

az functionapp create --resource-group test --os-type Linux --runtime python --name testar --plan test drift --storage-account xyzzy

Also When I use the Function app I created from the UI I am not able to push any functions to it , it does show pushed in local but I see nothing in the Azure Function Web page (Azure UI)

sudo func azure functionapp publish test  --build-native-deps

Please Let me know how to deploy Premium Linux Azure Function in python and How to push it to the app.

I'm also having a problem creating a Linux Premium App Plan. The SKU's are hard to find in the docs.
Exist soft deleted vault with the same name.

Please advise which Premium SKU's can be used with Linux Runtimes.
Thank you

@yungezz , shall I transfer this to azure-cli repo? thanks.


Fix spelling mistake in constant name

Fixes https://github.com/aspnet/templating/issues/49

@scottaddie,
Thanks for having already signed the Contribution License Agreement. Your agreement was validated by .NET Foundation. We will now review your pull request.
Thanks,
.NET Foundation Pull Request Bot

Thanks @scottaddie - merged.


Fix inventory package signing docs

What does this PR do?

Fix the doc and config template of the package signing inventory payload.
Motivation

Have correct docs and config template.
Additional Notes

Possible Drawbacks / Trade-offs

Describe how to test/QA your changes

/merge


add Morris Ganis

https://hostcomputer.github.io/

Are you trying to update to the latest version of HubPress? Have you worked out what you need to do?


Changing specific config values causes strange unexpected behaviour

i have been tweaking the mod a little in the how much mineral ore i get and the plants time but every time i move anything related to the mineral blocks they appear, generate and show textures but breaking them doesn't give any resource instead when i put right click they respawn like i never touched them, is there something i can do about this?

Hi. I've tried many times to reproduce the bug you're describing with the latest Resynth version, however I couldn't find anything wrong with the ore or plant no matter how many config settings I change. Could you please state what version you're using as well as the things you did to cause the bug?

hi sorry for being late but i was running the latest version of the mod
with the 1.16.5 and i changed the mineral rock values wich made them
disappear and then reappear every time i hit them i solved it by erasing
and rebuilding the config file but every time i play with some values under
the mineral rock the bug reappears
El jue, 8 jul 2021 a las 18:36, Luke @.***>) escribió:

Hi. I've tried many times to reproduce the bug you're describing with the
latest Resynth version, however I couldn't find anything wrong with the ore
or plant no matter how many config settings I change. Could you please
state what version you're using as well as the things you did to cause the
bug?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Resynth-Minecraft-Mod/Resynth-Mod/issues/43#issuecomment-876809937,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AUHVNAXGUBCFUTRNOPK6GV3TWYZA7ANCNFSM45TMO5IA
.

Mod is no longer under development and has since been abandoned.


Silent LED notification not working

Since version 0.8.24 (G-b166) on Android 9 I am not getting any silent LED notifications.
In the Advanced Notifications Settings -> Configure Silent Notifications -> Advanced it is missing the Blink light option where as the noisy setting have it.
I wonder if it is related to https://github.com/vector-im/riot-android/pull/2813

You have to change the style of the notification to see option for led/blink/sound/etc.
Note that it may depends on your device model.


ENYO-2178-marquee distance is not properly updated when changeing con…

…tent during control is hidden
If content of the marquee is changed while control is hidden, marquee
distance is not calculated to apply proper classes.
So while changing the showing status, marquee distance is calculated.
Enyo-DCO-1.1-Signed-Off-By: Rajyavardhan P<EMAIL_ADDRESS>

After discussion with Rajyavardhan, closing out as jira associated with this has been resolved another way.


How to disable a rule for all file?

Hello,
Sorry for the newbie question but I would like to disable a rule for all files. When I add the parameter to disable a rule in settings.json it doesn't work, the URL is still underlined.
{     "markdown-preview-enhanced.automaticallyShowPreviewOfMarkdownBeingEdited": true,     "editor.semanticHighlighting.enabled": true,     "markdown-preview-enhanced.previewTheme": "one-dark.css",     "editor.fontSize": 16,     "markdown-preview-enhanced.codeBlockTheme": "darcula.css",     "explorer.confirmDragAndDrop": false,     "markdown.marp.enableHtml": true,     "window.zoomLevel": 2,     "git.enableSmartCommit": true,     "markdown-pdf.displayHeaderFooter": false,     "MD034": false }
I also tried to create a .markdownlint.json with
"{ MD034": false }
but I didn't get more success.
Could you please explain me briefly how to disable a rule?
Thank you

You answered perfectly ! I use it with vscode yes.
I created a file .markdownlint.config at the root of the project with the example configuration and disable some rules following the documentation and it works!
Thank you for your wonderful program.


Merge Beta4 into chefmoensch Branch complete

RelayFallback still has the bug, that it signals fail to the FutureDirect although the message was transmittet successfully.

as discussed


add PRISMA_HIDE_PREVIEW_FLAG_WARNINGS

Technically it's applicable for both Prisma Client and the CLI, but I didn't know where to put it, I picked CLI 🤔

Thanks so much @Jolg42 for this. This situation, where the same content can be applied in two places, is the perfect candidate for the new "reuse content" component that the WebDev team is looking into.


Redundant lockfiles (npm and yarn)

~There's already a yarn.lock file in the repository. It's not clear if we should also add npm5's package-lock.json.~
See update below.

Keeping an eye on yarnpkg/yarn#3614. We're not the only ones confused by this. 🙂

There are now both yarn.lock and package-lock.json files in the repository. They are kept in sync via yarn import after #363.

We should probably pick one and enforce its usage. I'm pretty ambivalent about which one the project chooses, but having both seems unnecessary. I can put out a PR for this later if we've made a decision.

Currently yarn is used in Travis, but most of us use npm locally. Travis was set up to use yarn in #250 because of performance reasons.
I'd be in favor of moving to npm completely and removing yarn.lock, now that npm 5 is more performant.


Transform builder foreign table bug adds quotations around foreign table url query

Problem
Using  Order, Limit or Range on foreign tables will add extra quotation "" around the queried tables resulting in Postgrest error when it's being used on nested foreign tables.
This issue was originally reported in the supabase-flutter repository. I was able to track down where the bug was and has now been fixed. I also added tests and mock table/data for validating the issue.
For a full explanation of the issue: https://github.com/supabase-community/supabase-flutter/issues/104#issue-1226036857.
⚠ Added Collection to dev dependencies for test validation -- used for list utilities.

This is my first time contributing to open source, so hope I don't break too many rules with this pull request 😅
Fixes https://github.com/supabase-community/supabase-flutter/issues/104

@Certinax Almost forgot about it! We like to send swags to contributors of Supabase to show our appreciations. If you could send me a DM on Twitter, I will send you a swag code to ship you some Supabase swags if you would like!
https://twitter.com/dshukertjr

@Certinax This is amazing! Thank you so much for the great work, and sorry that I wasn't able to tackle this one in a timely manner as promised.

@dshukertjr This is really cool -- I'm glad I could help out with this one!


How can I compile org.tensorflow:tensorflow-lite-gpu-delegate-plugin for android?

Issue type
Support
Have you reproduced the bug with TensorFlow Nightly?
No
TensorFlow version
2.16.1
Custom code
No
OS platform and distribution
Linux Ubuntu 24
Mobile device
Linux Ubuntu 24
Python version
3.11
Bazel version
6.5.0
GCC/compiler version
11.4.0
Current behavior?
How can we recreate the aar file for the package org.tensorflow:tensorflow-lite-gpu-delegate-plugin?
Standalone code to reproduce the issue
I followed the instructions here to create the docker build environment in Linux Ubuntu 24, and I couldn't find the command to build this package.
I tried the following command:
bazel build -c opt --config android_arm64 tensorflow/lite/delegates/gpu:delegate

INFO: Reading 'startup' options from /host_dir/.bazelrc: --windows_enable_symlinks
INFO: Options provided by the client:
  Inherited 'common' options: --isatty=1 --terminal_columns=181
INFO: Reading rc options for 'build' from /host_dir/.bazelrc:
  Inherited 'common' options: --experimental_repo_remote_exec
INFO: Reading rc options for 'build' from /etc/bazel.bazelrc:
  'build' options: --action_env=DOCKER_CACHEBUSTER=1723940018419409631 --host_action_env=DOCKER_HOST_CACHEBUSTER=1723940018483040100
INFO: Reading rc options for 'build' from /host_dir/.bazelrc:
  'build' options: --define framework_shared_object=true --define tsl_protobuf_header_only=true --define=use_fast_cpp_protos=true --define=allow_oversize_protos=true --spawn_strategy=standalone -c opt --announce_rc --define=grpc_no_ares=true --noincompatible_remove_legacy_whole_archive --features=-force_no_whole_archive --enable_platform_specific_config --define=with_xla_support=true --config=short_logs --config=v2 --define=no_aws_support=true --define=no_hdfs_support=true --experimental_cc_shared_library --experimental_link_static_libraries_once=false --incompatible_enforce_config_setting_visibility
INFO: Reading rc options for 'build' from /host_dir/.tf_configure.bazelrc:
  'build' options: --action_env PYTHON_BIN_PATH=/usr/bin/python3 --action_env PYTHON_LIB_PATH=/usr/lib/python3/dist-packages --python_path=/usr/bin/python3 --action_env CLANG_COMPILER_PATH=/usr/lib/llvm-18/bin/clang --repo_env=CC=/usr/lib/llvm-18/bin/clang --repo_env=BAZEL_COMPILER=/usr/lib/llvm-18/bin/clang
INFO: Found applicable config definition build:short_logs in file /host_dir/.bazelrc: --output_filter=DONT_MATCH_ANYTHING
INFO: Found applicable config definition build:v2 in file /host_dir/.bazelrc: --define=tf_api_version=2 --action_env=TF2_BEHAVIOR=1
INFO: Found applicable config definition build:android_arm64 in file /host_dir/.bazelrc: --config=android --cpu=arm64-v8a --fat_apk_cpu=arm64-v8a
INFO: Found applicable config definition build:android in file /host_dir/.bazelrc: --crosstool_top=//external:android/crosstool --host_crosstool_top=@bazel_tools//tools/cpp:toolchain --dynamic_mode=off --noenable_platform_specific_config --copt=-w --cxxopt=-std=c++17 --host_cxxopt=-std=c++17 --define=with_xla_support=false --config=no_tfrt
INFO: Found applicable config definition build:no_tfrt in file /host_dir/.bazelrc: --deleted_packages=tensorflow/compiler/mlir/tfrt,tensorflow/compiler/mlir/tfrt/benchmarks,tensorflow/compiler/mlir/tfrt/ir,tensorflow/compiler/mlir/tfrt/ir/mlrt,tensorflow/compiler/mlir/tfrt/jit/python_binding,tensorflow/compiler/mlir/tfrt/jit/transforms,tensorflow/compiler/mlir/tfrt/python_tests,tensorflow/compiler/mlir/tfrt/tests,tensorflow/compiler/mlir/tfrt/tests/ifrt,tensorflow/compiler/mlir/tfrt/tests/mlrt,tensorflow/compiler/mlir/tfrt/tests/ir,tensorflow/compiler/mlir/tfrt/tests/analysis,tensorflow/compiler/mlir/tfrt/tests/jit,tensorflow/compiler/mlir/tfrt/tests/lhlo_to_tfrt,tensorflow/compiler/mlir/tfrt/tests/lhlo_to_jitrt,tensorflow/compiler/mlir/tfrt/tests/tf_to_corert,tensorflow/compiler/mlir/tfrt/tests/tf_to_tfrt_data,tensorflow/compiler/mlir/tfrt/tests/saved_model,tensorflow/compiler/mlir/tfrt/transforms/lhlo_gpu_to_tfrt_gpu,tensorflow/compiler/mlir/tfrt/transforms/mlrt,tensorflow/core/runtime_fallback,tensorflow/core/runtime_fallback/conversion,tensorflow/core/runtime_fallback/kernel,tensorflow/core/runtime_fallback/opdefs,tensorflow/core/runtime_fallback/runtime,tensorflow/core/runtime_fallback/util,tensorflow/core/runtime_fallback/test,tensorflow/core/runtime_fallback/test/gpu,tensorflow/core/runtime_fallback/test/saved_model,tensorflow/core/runtime_fallback/test/testdata,tensorflow/core/tfrt/stubs,tensorflow/core/tfrt/tfrt_session,tensorflow/core/tfrt/mlrt,tensorflow/core/tfrt/mlrt/attribute,tensorflow/core/tfrt/mlrt/kernel,tensorflow/core/tfrt/mlrt/bytecode,tensorflow/core/tfrt/mlrt/interpreter,tensorflow/compiler/mlir/tfrt/translate/mlrt,tensorflow/compiler/mlir/tfrt/translate/mlrt/testdata,tensorflow/core/tfrt/gpu,tensorflow/core/tfrt/run_handler_thread_pool,tensorflow/core/tfrt/runtime,tensorflow/core/tfrt/saved_model,tensorflow/core/tfrt/graph_executor,tensorflow/core/tfrt/saved_model/tests,tensorflow/core/tfrt/tpu,tensorflow/core/tfrt/utils,tensorflow/core/tfrt/utils/debug,tensorflow/core/tfrt/saved_model/python,tensorflow/core/tfrt/graph_executor/python,tensorflow/core/tfrt/saved_model/utils
INFO: Build options --cxxopt and --define have changed, discarding analysis cache.
WARNING: The major revision of the Android NDK referenced by android_ndk_repository rule 'androidndk' is 25. The major revisions supported by Bazel are [10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21]. Bazel will attempt to treat the NDK as if it was r21. This may cause compilation and linkage problems. Please download a supported NDK version.
INFO: Analyzed target //tensorflow/lite/delegates/gpu:delegate (0 packages loaded, 9507 targets configured).
INFO: Found 1 target...
ERROR: /root/.cache/bazel/_bazel_root/faa585346465e7978a465c0d1bdb5e9e/external/cpuinfo/BUILD.bazel:114:11: Compiling src/linux/multiline.c failed: (Exit 1): clang failed: error executing command (from target @cpuinfo//:cpuinfo_impl) external/androidndk/ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -gcc-toolchain external/androidndk/ndk/toolchains/aarch64-linux-android-4.9/prebuilt/linux-x86_64 -target ... (remaining 56 arguments skipped)
clang: error: unknown argument: '-gcc-toolchain'
clang: error: no such file or directory: 'external/androidndk/ndk/toolchains/aarch64-linux-android-4.9/prebuilt/linux-x86_64'
ERROR: /root/.cache/bazel/_bazel_root/faa585346465e7978a465c0d1bdb5e9e/external/cpuinfo/BUILD.bazel:114:11: Compiling src/linux/cpulist.c failed: (Exit 1): clang failed: error executing command (from target @cpuinfo//:cpuinfo_impl) external/androidndk/ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -gcc-toolchain external/androidndk/ndk/toolchains/aarch64-linux-android-4.9/prebuilt/linux-x86_64 -target ... (remaining 56 arguments skipped)
clang: error: unknown argument: '-gcc-toolchain'
clang: error: no such file or directory: 'external/androidndk/ndk/toolchains/aarch64-linux-android-4.9/prebuilt/linux-x86_64'
ERROR: /root/.cache/bazel/_bazel_root/faa585346465e7978a465c0d1bdb5e9e/external/cpuinfo/BUILD.bazel:114:11: Compiling src/arm/cache.c failed: (Exit 1): clang failed: error executing command (from target @cpuinfo//:cpuinfo_impl) external/androidndk/ndk/toolchains/llvm/prebuilt/linux-x86_64/bin/clang -gcc-toolchain external/androidndk/ndk/toolchains/aarch64-linux-android-4.9/prebuilt/linux-x86_64 -target ... (remaining 56 arguments skipped)
clang: error: unknown argument: '-gcc-toolchain'
clang: error: no such file or directory: 'external/androidndk/ndk/toolchains/aarch64-linux-android-4.9/prebuilt/linux-x86_64'
Target //tensorflow/lite/delegates/gpu:delegate failed to build
Use --verbose_failures to see the command lines of failed build steps.
INFO: Elapsed time: 0.786s, Critical Path: 0.07s
INFO: 9 processes: 9 internal.
FAILED: Build did NOT complete successfully

Hi, @H4dr1en
I apologize for the delayed response and by looking at this WARNING: The major revision of the Android NDK referenced by android_ndk_repository rule 'androidndk' is 25. The major revisions supported by Bazel are [10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21]. Bazel will attempt to treat the NDK as if it was r21. This may cause compilation and linkage problems. Please download a supported NDK version. it seems like there is some version compatibility issue between NDK and Bazel versions.
The Android NDK is required to build the native (C/C++) TensorFlow Lite code. The current recommended version is 25b, which may be found here.
Could you please give it try with NDK version 25b and see is it resolving your issue ?
To confirm, did you follow the same steps as I mentioned below or different ? if you followed the different steps please help me with exact steps which you followed in the docker container which will help me to reproduce the same behavior from my end to investigate this issue further from our end ?
git clone https://github.com/tensorflow/tensorflow.git
cd tensorflow
git switch r2.16
git pull
./configure #(configuring the TF source (./configure in the root of Github directory)
bazel build -c opt --config android_arm64 tensorflow/lite/delegates/gpu:libtensorflowlite_gpu_delegate.so

If I have missed something here please let me know ?
Thank you for your cooperation and patience.

Hi @gaikwadrahul8 ,
Thanks for your answer! Unless I am mistaken the steps you shared allow to build libtensorflowlite_gpu_delegate.so, not the AAR package org.tensorflow:tensorflow-lite-gpu-delegate-plugin, or am I missing something?


Improve docs

Hi guys,
Can you guys give a full doc on how to save and stuff.

Hi @pbrain19 can you be more specific? There is no "save", this is lib to access the DFP API.


cuda out of memory

Hi, thank you for the awesome work!
I am running the codes on Windows 10 + cuda 10.1 + pytorch1.4.0 with 2080Ti (11G).
When I run the command
python tools/train_net.py --cfg configs/Base-Panoptic-DeepLab.yaml

I have got the following errors
Traceback (most recent call last):
  File "tools/train_net.py", line 143, in main
    out_dict = model(image, data)
  File "C:\ProgramData\Anaconda3\envs\deeplab\lib\site-packages\torch\nn\modules\module.py", line 550, in __call__
    result = self.forward(*input, **kwargs)
  File "D:\PyProjects\panoptic-deeplab\tools\..\segmentation\model\meta_arch\base.py", line 54, in forward
    features = self.backbone(x)
  File "C:\ProgramData\Anaconda3\envs\deeplab\lib\site-packages\torch\nn\modules\module.py", line 550, in __call__
    result = self.forward(*input, **kwargs)
  File "D:\PyProjects\panoptic-deeplab\tools\..\segmentation\model\backbone\resnet.py", line 229, in forward
    return self._forward_impl(x)
  File "D:\PyProjects\panoptic-deeplab\tools\..\segmentation\model\backbone\resnet.py", line 217, in _forward_impl
    x = self.layer2(x)  # 1/8
  File "C:\ProgramData\Anaconda3\envs\deeplab\lib\site-packages\torch\nn\modules\module.py", line 550, in __call__
    result = self.forward(*input, **kwargs)
  File "C:\ProgramData\Anaconda3\envs\deeplab\lib\site-packages\torch\nn\modules\container.py", line 100, in forward
    input = module(input)
  File "C:\ProgramData\Anaconda3\envs\deeplab\lib\site-packages\torch\nn\modules\module.py", line 550, in __call__
    result = self.forward(*input, **kwargs)
  File "D:\PyProjects\panoptic-deeplab\tools\..\segmentation\model\backbone\resnet.py", line 120, in forward
    identity = self.downsample(x)
  File "C:\ProgramData\Anaconda3\envs\deeplab\lib\site-packages\torch\nn\modules\module.py", line 550, in __call__
    result = self.forward(*input, **kwargs)
  File "C:\ProgramData\Anaconda3\envs\deeplab\lib\site-packages\torch\nn\modules\container.py", line 100, in forward
    input = module(input)
  File "C:\ProgramData\Anaconda3\envs\deeplab\lib\site-packages\torch\nn\modules\module.py", line 550, in __call__
    result = self.forward(*input, **kwargs)
  File "C:\ProgramData\Anaconda3\envs\deeplab\lib\site-packages\torch\nn\modules\conv.py", line 353, in forward
    return self._conv_forward(input, self.weight)
  File "C:\ProgramData\Anaconda3\envs\deeplab\lib\site-packages\torch\nn\modules\conv.py", line 350, in _conv_forward
    self.padding, self.dilation, self.groups)
RuntimeError: CUDA out of memory. Tried to allocate 260.00 MiB (GPU 0; 11.00 GiB total capacity; 8.10 GiB already allocated; 70.59 MiB free; 8.37 GiB reserved in total by PyTorch)

However, I have just restarted the PC and not running other GPU related tasks
(deeplab) D:\PyProjects\panoptic-deeplab>nvidia-smi
Wed Jul 01 09:50:11 2020
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 445.75       Driver Version: 445.75       CUDA Version: 11.0     |
|-------------------------------+----------------------+----------------------+
| GPU  Name            TCC/WDDM | Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|===============================+======================+======================|
|   0  GeForce RTX 208... WDDM  | 00000000:21:00.0  On |                  N/A |
|  0%   49C    P8    19W / 300W |    510MiB / 11264MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+
|   1  GeForce RTX 208... WDDM  | 00000000:4B:00.0 Off |                  N/A |
|  0%   44C    P8    24W / 300W |    215MiB / 11264MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+
| Processes:                                                                  |
|  GPU   GI   CI        PID   Type   Process name                  GPU Memory |
|        ID   ID                                                   Usage      |
|=============================================================================|
|    0   N/A  N/A      1760    C+G   Insufficient Permissions        N/A      |
|    0   N/A  N/A      1768    C+G   Insufficient Permissions        N/A      |
|    0   N/A  N/A      1800    C+G   Insufficient Permissions        N/A      |
|    0   N/A  N/A      7904    C+G   Insufficient Permissions        N/A      |
|    0   N/A  N/A      9524    C+G   C:\Windows\explorer.exe         N/A      |
|    0   N/A  N/A     10816    C+G   ...artMenuExperienceHost.exe    N/A      |
|    0   N/A  N/A     11232    C+G   ...w5n1h2txyewy\SearchUI.exe    N/A      |
|    0   N/A  N/A     12064    C+G   ...ekyb3d8bbwe\YourPhone.exe    N/A      |
|    0   N/A  N/A     12368    C+G   ...es.TextInput.InputApp.exe    N/A      |
|    0   N/A  N/A     14828    C+G   ...qxf38zg5c\Skype\Skype.exe    N/A      |
+-----------------------------------------------------------------------------+

I am sorry I am a newbie to this. Could you please provide some advice?

You can use configs/panoptic_deeplab_R50_os32_cityscapes.yaml, but need to change it to:
TRAIN:
  IMS_PER_BATCH: 1
GPUS: (0, )

You may also need to freeze BN by yourself in this case (freeze BN is not supported in this code yet).

You can use configs/panoptic_deeplab_R50_os32_cityscapes.yaml, but need to change it to:
TRAIN:
  IMS_PER_BATCH: 1
GPUS: (0, )

You may also need to freeze BN by yourself in this case (freeze BN is not supported in this code yet).

Hi, thank you very much for your prompt reply. I have changed the config file according to your suggestion but have got a new error:
ERROR [07/01 10:33:34 segmentation]: Exception during training:
Traceback (most recent call last):
  File "tools/train_net.py", line 143, in main
    out_dict = model(image, data)
  File "C:\ProgramData\Anaconda3\envs\deeplab\lib\site-packages\torch\nn\modules\module.py", line 550, in __call__
    result = self.forward(*input, **kwargs)
  File "D:\PyProjects\panoptic-deeplab\tools\..\segmentation\model\meta_arch\base.py", line 61, in forward
    return self.loss(results, targets)
  File "D:\PyProjects\panoptic-deeplab\tools\..\segmentation\model\meta_arch\panopitc_deeplab.py", line 102, in loss
    results['semantic'], targets['semantic'], semantic_weights=targets['semantic_weights']
  File "C:\ProgramData\Anaconda3\envs\deeplab\lib\site-packages\torch\nn\modules\module.py", line 550, in __call__
    result = self.forward(*input, **kwargs)
  File "D:\PyProjects\panoptic-deeplab\tools\..\segmentation\model\loss\criterion.py", line 103, in forward
    pixel_losses = self.criterion(logits, labels) * kwargs['semantic_weights']
  File "C:\ProgramData\Anaconda3\envs\deeplab\lib\site-packages\torch\nn\modules\module.py", line 550, in __call__
    result = self.forward(*input, **kwargs)
  File "C:\ProgramData\Anaconda3\envs\deeplab\lib\site-packages\torch\nn\modules\loss.py", line 932, in forward
    ignore_index=self.ignore_index, reduction=self.reduction)
  File "C:\ProgramData\Anaconda3\envs\deeplab\lib\site-packages\torch\nn\functional.py", line 2317, in cross_entropy
    return nll_loss(log_softmax(input, 1), target, weight, None, ignore_index, None, reduction)
  File "C:\ProgramData\Anaconda3\envs\deeplab\lib\site-packages\torch\nn\functional.py", line 2117, in nll_loss
    ret = torch._C._nn.nll_loss2d(input, target, weight, _Reduction.get_enum(reduction), ignore_index)
RuntimeError: Expected object of scalar type Long but got scalar type Int for argument #2 'target' in call to _thnn_nll_loss2d_forward

I don't have problem running on my machine (Linux) using the command: python tools/train_net.py --cfg configs/panoptic_deeplab_R50_os32_cityscapes.yaml TRAIN.IMS_PER_BATCH 1 GPUS '(0, )' OUTPUT_DIR ./output/debug


Add zod for data validation

Is your feature request related to a problem? Please describe.
Currently we have models for data as TypeScript types and interfaces. This provides some level of validation (e.g., 12345 is not a string and can't be used for a href value to link out to a resource), but it's limited. Using a data validation library like zod would let us be more specific and validate that href is a valid URL with a simple schema like href: z.string().url().
Describe the solution you'd like
Add the zod library and write the data schemas with zod. Then derive the types from the zod schema.
Describe alternatives you've considered

Manual review of data quality. It's time-consuming and prone to errors. Easier if basic validation is automated and results shown in PRs.
Write our own data validation functions. Needlessly complex and time consuming compared to just using a library like zod.

Additional context
For example, here's what a refactored version of the Podcast interface would look like with zod. Note how rss and href now must be valid URLs, image must be a valid URL that also matches a regex where it ends with one of the specified image extensions, and the short description is explicitly limited to 280 characters.

import { z } from 'zod';

export Podcast {
	title: z.string(),
	image: z.string().url().regex(/.*\.(png|jpg|gif)$/),
	description: z.string().length(280),
	rss: z.string().url(),
	hosts: z.array(z.string()),
	href: z.string().url(),
}

export type Podcast = z.infer<typeof Podcast>;

Considering 90% of this site is built at build time and not runtime, would zod still be as impactful?

Astro content collections makes this unnecessary as it uses zod under the hood. #783 will resolve this.


[INFRA-5158] Cabot model versioning

Track changes for services, status checks, and schedules (though no UI for viewing schedule changes).
Needs more testing (only like 8 unit tests), but seems functional.

trigger build


Unskip mcountext_t for linux-gnu on CI

@JohnTitor: no appropriate reviewer found, use r? to override

So, the problem is that currently, it's undefined whether we support glibc 2.27 or lower, or not. I'm not sure how many users depend on glibc < 2.28, so let's leave it for now.


Adds erb lint to project

This PR adds erb-lint to the project. I also created a bin file to run both rubocop and erb-lint on the whole code base.
I ran the linter on the code base as discussed here
Potentially the rules in erb-lint.yml could be changed. In theory it should be able to run rubocop on the contents for erb tags, however, that was not working for me.
Tests
I did not add tests but the code still passes the full suite.

Thanks so much for the addition!


History Slider Update

Please describe your request and why you are requesting it.
History Slider is currently not correctly updated when the Filter is used, this needs to be fixed.
Describe the solution you'd like
Update history slider after filtering so it considers the newly loaded filtered data for the range as well as the interaction (movement of slider).

Added in #170


Add systems and components to "create" menu in Unity

I don't know whether or not this is possible with Unity, but I'd love to be able to right-click in the Unity project explorer and see Create->ReactiveSystem or Create->Component.
As Unity does for monobehaviours, this should create a blank template with the appropriate methods declared and empty. I feel like i spend far too much time copy-pasting from other systems in my project.

It's a pretty trivial task actually. You can even make first steps towards that. Take a look at custom editor scripts, there's a way to inject your methods to "Create" menu in project view.
https://forum.unity3d.com/threads/custom-context-menu-for-project-view.127021/
Then just add a few modal windows that ask a user about the type of an entity (GameEntity, InputEntity or whatever contexts there are in project), then just generate some code without any complicated code generation stuff (simple hardcoded stuff will do). It's absolutely possible in Unity and even more than that, it's pretty easy

Sounds like the IDE would be a better place to achieve this, practically any IDE nowadays will have some way to do templates in a more streamlined and straightforward way.

Yeah, I understand that it's fairly easy within the IDE, but I want to be able to do it through until. I'll follow @KumoKairo's advice for now. Would be nice to add this to the Unity Addons part of Entitas.

Wrote this so you can use as a base:
https://gist.github.com/WoLfulus/79bb7d38da84a48800d6857d67c9108a
An addon like this will be nice with common "templates"

Hey, sounds useful and is sth you can easily do to if you want. For now I won't add and maintain sth like this in Entitas. Hope that's ok.


Dink not posting notifications to Discord

Dink version: 1.2.1
Since version 1.2.1 our Discord channel doesn't get notifications anymore. So far it's with the loot and the achievements webhook.
The settings seems to be the same as in version 1.2.0. So i believe the webhook overrides stopped working.
The lost notifications were also not posted on the main webhook. So i believe the plugin still uses the webhook override but something did go wrong after that.
A different member of the Discord group I'm in also has this problem where his notifications weren't posted into Discord. So it's not a problem that's related to my RuneLite setup.

I'm currently and have been using the jar equivalent to 1.2.1 release since the day we opened the plugin-hub PR - so if there is an issue it's somehow an issue with the launcher version.

I'll take a look once I finish this Kraken instance

I also just removed the webhook overrides. Even then the plugin doesn't post anything. So it's not a webhook override issue.

Can you verify that your webhook URL is still alive? The RuneLite client.log would contain info if there's a network issue at least

Here's a tool for quick webhook testing if you don't have the means to do it yourself https://lew.la/discord/webhook-tester

The Webhook URL is alive, i had even copied from the webhooks interface and pasted into Dink to be sure if the link is correct.
In the log there's this issue posted a couple of times:
2023-01-26 23:35:01 [pool-3-thread-1] WARN  d.message.DiscordMessageHandler - Exhausted retry attempts when sending the webhook message
java.lang.RuntimeException: Received unsuccessful http response: 400 -  - {"embeds": ["0"]}
	at dinkplugin.message.DiscordMessageHandler.lambda$sendMessage$4(DiscordMessageHandler.java:137)
	at net.runelite.client.util.RunnableExceptionLogger.run(RunnableExceptionLogger.java:41)
	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
	at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
	at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.base/java.lang.Thread.run(Unknown Source)

Here's a tool for quick webhook testing if you don't have the means to do it yourself https://lew.la/discord/webhook-tester

I got the error "Error sending webhook message" on that website. Wierd. Could Discord having issues with webhooks?

Here's a tool for quick webhook testing if you don't have the means to do it yourself lew.la/discord/webhook-tester

I got the error "Error sending webhook message" on that website. Wierd. Could Discord having issues with webhooks? EDIT: Got the same error using a fresh new webhook.

Apparently lew.la's webhook tool doesn't work anymore 💤
Are you using a custom footer for your notifs?

Nope. Just the standard Dink footer.

Can you try disabling Use Rich Embeds and see if you at least get the old ugly notifs? While we try to figure out why this is happening

Disabling Use Rich Embeds did work. It posted a loot notification.

Do you or your friends have spaces in your usernames? Nobody we would have tested with does. (just softballing ideas)

Also, try re-enabling Use Rich Embeds but set Player Lookup Service to None (the very last setting in advanced)

Yes. We all use a space in the name since we use a couple of capitals as our GIM group name.

Yes. We all use a space in the name since we use a couple of capitals as our GIM group name.

Ah that's probably it then xd

Also, try re-enabling Use Rich Embeds but set Player Lookup Service to None (the very last setting in advanced)

Worked!

Also, try re-enabling Use Rich Embeds but set Player Lookup Service to None (the very last setting in advanced)

Worked

Yeah so it's just because we didn't think to urlencode the hiscore links, we'll fix that as soon as possible 🙂

@CypherNL Fix is merged released and commited to plugin-hub (thanks to nightfirecat), so the issue will be resolved as soon as you restart (+however long it takes for updates to reach the user, 5 minutes? idk)

Thanks for the detailed report & help with debugging @CypherNL !

Problem is fixed. Thanks everyone!

Thanks for the detailed report & help with debugging @CypherNL !

No problem. Thanks for the quick fix!


Submarine 1292

What is this PR for?

Add end-to-end test to submarine-cloud-v3
What type of PR is it?
Feature
Todos

[x] - prepare to run in-cluster
[x] - write e2e test and add to Github Action
[x] - add new development doc

What is the Jira issue?

https://issues.apache.org/jira/browse/SUBMARINE-1292
How should this be tested?

Follow submarine-cloud-v3/docs/developer-guide.md
Screenshots (if appropriate)

Questions:

Do the license files need updating? No
Are there breaking changes for older versions? No
Does this need new documentation? Yes

hi, @joshvictor1024
Maybe we can change PR title to SUBMARINE-1292. Add submarine-cloud-v3 e2e test ?

# manager is run as non-root user
# See submarine-cloud-v3/config/manager/manager.yaml
RUN addgroup -g 1000 -S mygroup
RUN adduser -u 1000 -S myuser -G mygroup
USER myuser

I think we can change mygroup and myuser to submarine

Hi, @joshvictor1024 thank you for your contribution~ Maybe we can change PR title to SUBMARINE-1292. Add submarine-cloud-v3 e2e test ?

Sorry, forgot about title format. Fixed.

# manager is run as non-root user
# See submarine-cloud-v3/config/manager/manager.yaml
RUN addgroup -g 1000 -S mygroup
RUN adduser -u 1000 -S myuser -G mygroup
USER myuser

I think we can change mygroup and myuser to submarine

Good point, thanks.


Template selector stopped working on v1.2.0

Hello, I'm not sure if I'm doing something wrong or if I've found a bug. After upgrading to v1.2.0, the template selector stopped popping up when I create a new note. I tested it on another vault where I still have v1.1.3 installed, and it is working perfectly fine.
I'm running Obsidian 1.5.12 (Installer 1.4.13)

@numeroflip I'm glad it was helpful. I love your plugin. I use it every single day and have already talked about it in some of my videos 😉

@vladcampos Ohh, thank you for your kind words. :)
Off-topic: Have you seen the new feature of folder templates? The plugin now has a settings tab for that, and I'm wondering if the community would find that useful.
Also, I'd love to see a video where this plugin is used, so feel free to post one if you don't mind.
I believe the original issue is resolved now, right? I'm closing it. If you notice anything else, feel free to open a new one.

I am currently working on a video to demonstrate the folder templates, and I believe that I may have found another bug.
At least here, it is only automatically creating the selected template in folders and subfolder. If I set it at deeper levels, sub-subfolder for example, it doesn't add the template and shows the pop-up window to select one from the list.
PARENT (here it woks)
|_ ONE (here it woks)
|__ TWO (from here on, it doesn't work anymore)

@vladcampos :  Hmm, that's right, I haven't tested deeper nesting, thanks for catching that :) . I found the bug causing a similar issue, and 1.2.2 is already out in which it is fixed.
Although... I could not reproduce the exact issue you mentioned. For me the pop-up wasn't shown in a sub-subfolder, but the upper level template was applied automatically. Can you maybe provide a step by step description on how to reproduce the issue?
What I've tried:

Created a folder structure like:

ROOT
|_ Folder
     |_ Subfolder
           |_SubSubfolder

Created templates: Root.md, Folder.md, Subfolder.md SubSubfolder.md in a Templates folder
Assigned the templates in the settings:

/                              -> Template: Root
Folder                         -> Template: Folder
Folder/Subfolder               -> Template: Subfolder
Folder/Subfolder/SubSubfolder  -> Template: SubSubfolder

Created files in each of the folders:
/test.md                               -> Template: Root : applied ✅
Folder/test.md                         -> Template: Folder: applied ✅
Folder/Subfolder/test.md               -> Template: Subfolder:  applied ✅
Folder/Subfolder/SubSubfolder/test.md  -> Template: SubSubfolder: NOT applied ⛔. No poups. Instead the Subfolder template was automatically applied

I really need to find a way to set up testing, so bugs like this are found before releasing a version

I know why I was getting the pop-up. It's because I was doing it on my testing account, setting only one folder or subfolder at a time. Since there was nothing above to choose from, it was showing me the pop-up. Before updating, I added rules to the above folders, and it behaved just like you described. In other words, always getting the template from the folder above.
After that, I updated it to the newest version and everything is working fine 😉
This folder feature is a game-changer. Thank you for implementing it. Maybe I'll be able to publish the video today. It will depend on my schedule. But if not today, in will happen the next couple of days.


Threads

I've started the work on threads.
This PR also adds missing message types/flags.
Any feedback/help is greatly appreciated. Mainly what is missing are the endpoints and the RESTAPI funcs.
-- EDIT
Everything should be done now

I think that's everything.
Waiting on feedbacks

Updated the code to be in line with these changes on the threads docs: https://github.com/discord/discord-api-docs/commit/663dc595e06fa809ea96ac85cebeb1ec01e7765e

It looks like this is being pushed out publicly now - what would it take to get this merged?

There were a few changes to the discord API since I last updated this PR (nothing major, though). This is why this is still a draft.
I also need to merge the new changes from the upstream.
I've been busy lately, that's why I haven't finished this. But I will finish and undraft this PR later this week.

I think this is ready for review now. @CarsonHoffman

@CarsonHoffman I think that is everything you requested.
Let me know if I missed anything or if I did something wrongly please.

Updated it @CarsonHoffman
Let me know what you think!

Updated @CarsonHoffman

I had another chance to look more closely at the code here, and I am really concerned about what I see. It appears that much of the gateway handling code that was introduced in this commit is copied from #982's implementation (it was committed on July 29th there and August 2nd here). I listed three examples in this review; it seems like you attempted to obfuscate this by removing comments and changing != to >, but the code retains almost the exact same structure, the same logic, and the same bugs as the implementation in #982. Are you claiming that the work in this PR is your own? If you were looking to credit the author of #982, the time was when you added that code, not after (and I'm still not sure that this would be an acceptable route given another active PR, but at least it's not direct stealing). I hope that I'm somehow misinterpreting the situation here, but taking code from others' active PRs and trying to represent it as your own is in no way acceptable behavior.

It is definitely not a copied work. This PR was opened way before that other one. I did take a look at that, to see if I missed something. And I missed the state work and the new webhook type.
Still it doesn't mean I copied anything from that. We had similar approaches.
Yes, I misinterpreted the threadlistsync handler because of how that PR handled it. Should have referred to the docs instead of that PR to work on it.
I also should have mentioned that I added these changes because I saw that PR. I apologize for that, it was my bad.
But code is not a copy. And it is definitely not stealing.
There are bugs there that are not on this PR. And vice versa.
A lot of code there is extremely similar to code here too.
Even some comments there are the same as mine.

I'm not sure that "we had similar approaches" really does a good job of explaining the situation here. Other than changing one-line map-access-in-if-statements to two-line ones (which consistently changed in all three of them), removing comments and using the IsThread method, the three functions are essentially exactly the same character-for-character (ThreadMembersUpdate and ThreadMemberUpdate are). These are not methods where there's one defined pattern of doing things in the library, like a REST API method might have, or property changes directly corresponding to Discord's objects; there are choices to be made in how things are done. They retain the same bugs in all cases (including a function always returning the wrong thing). They have the same nested loop structure with exactly the same variable names; stateChannel.ParentID == parentChannelID in line 625 means that this whole nested loop is essentially just the same as s.channelMap[parentChannelID], but with more unnecessary looping. Roundabout ways of doing things like this don't coincidentally match, especially considering the other two methods.

This PR was opened way before that other one.

Sure. I'm talking specifically about the state management code, which was added after that one's, as you acknowledge.

There are bugs there that are not on this PR.

Not in the state management code.

And vice versa.

Sure, but I'm only referring to the state management code.

Even some comments there are the same as mine.

I fail to see anything significant that isn't either a natural way of describing things or from Discord's documentation.
I unfortunately see no path forward here. I cannot in good conscience accept code that began its journey as copied code, even if it is no longer directly in the final PR. It would be crediting you with someone else's work. I'd recommend really trying to reflect on this and the impact it might have on others if you're planning on contributing to other open-source projects in the future.


How to run code with CPU machine only

Hello,
Thank you for the great work. Is it possible for you to tell what modifications one has to do to run the code on the CPU only?

In its current state, HyperStyle can't run on CPU. I think making it run on CPU will be quite difficult because StyleGAN2 relies on some specialized CUDA kernels. You can change these implementations to a native implementation in python, but getting them working will require some adjustments.
I hope the following thread can help: https://github.com/rosinality/stylegan2-pytorch/issues/89


Outdated documentation

Where is the actual documentation?
Because oficial documentation looks outdated. For example, I using PIXI.loaders.Resource. But nor here: http://pixijs.github.io/docs/PIXI.loaders.html, nor here: http://www.goodboydigital.com/pixijs/docs/modules/PIXI.html is no relevant documentation about loaders.
Where I can find normal documentation?

Because the loader is not implemented in pixi, it is an external library:
https://github.com/englercj/resource-loader
The latest pixi.js docs are here:
http://pixijs.github.io/docs/


Update Migration.rename/3 docs.

Hello,
I was personally confused when I read the docs for rename/3 because I thought the wording implied that there was a way to rename a column while within an alter statement and went about trying to find that way (since I assumed it would be more idiomatic). As far as I can tell, there is no other way to rename a column, and this is the only way to do so. Is that correct? If so, I thought the wording could be improved slightly.
No worries if you don't think it's an improvement. Thank you so much for this great open source project! <3

:green_heart: :blue_heart: :purple_heart: :yellow_heart: :heart:


Make ArrayData.align_buffers align child data buffers recursively

Which issue does this PR close?
Closes #6461.
Rationale for this change
See #6461.
What changes are included in this PR?
Method ArrayData.align_buffers recursively calls align_buffers on all child data.
Are there any user-facing changes?
None except for struct data types being supported from now on. In code documentation is amended.

CC @tustvold