Deadlock when spawned process writes to stderr

When a process spawned by Cocaine writes sufficient data to stderr, both the processes will hang indefinitely. This is because Cocaine is blocked reading from stdin, while the process eventually blocks writing to stderr when the internal buffer for the pipe becomes full.
The issue can be reproduced with the following trivial script:
#!/usr/bin/env ruby

1000.times do
  STDERR.puts "*" * 1000
end

Called via Cocaine, it blocks:
Cocaine::CommandLine.new("./hang.rb").run # hangs forever

Using strace, you'll be able to see that the invoked process is blocked in a write syscall on the STDERR file descriptor. The other giveaway is that this does not block:
Cocaine::CommandLine.new("./hang.rb", "", swallow_stderr: true).run

Obviously that's not ideal, since we may want to capture both stdout and stderr.
This Zendesk blog post touches on the issue briefly in the section entitled "Bonus round: avoiding deadlocks." The solution is to avoid making blocking calls like read, and using IO::select in a loop to figure out which file descriptors are ready to be read from. Here is how it is implemented in the subprocess gem.
I see potentially fixing this in Multipipe#read, or by adding a new runner that uses the subprocess gem. Thoughts?

Did you ever create this runner? If not, I'm going to give it a shot. We're having the same issue.

Did this ever get fixed? Running into the same problem transcoding medium sized files (26mbs+).
Thanks!

FYI, we tried @mmangino's branch and it works great in production for larger files. No more deadlocks. You can see more of it here: https://github.com/thoughtbot/cocaine/pull/97

The PR that fixes this has been moved to https://github.com/thoughtbot/terrapin/pull/5. I'll close this and any necessary discussion on this point can be found there. Thanks!


Compiled xformers for A6000 and A100 Nvidia GPUs

Those GPUs are available in Paperspace Gradient's Growth plan.

Sweet


Update pokemon-pixels meta.json

@MillHaus33 Could you please merge these chances as soon as possible?

@MillHaus33 It has been over two weeks and you haven't approved this Pull request. Could you please do it soon

close pull request. please submit only one collection per pr. thank you.


CLOUD-542 fix test date

@keyki
Set date to avoid time changing related to summer time in IntervalInstanceUsageGeneratorTest.

Jenkins build finished, all tests passed.
Refer to this link for build results: http://ci.sequenceiq.com/job/cloudbreak-pull-request/992/


The slack link is already dead

Search before asking

[X] I had searched in the issues and found no similar issues.

Environment
Chrome
What happened
join slack button is broken
How to reproduce
click the join slack button
Debug logs
No response
Are you willing to submit PR?

[x] Yes I am willing to submit a PR!

@Shoothzj hi, which button do you indicate?

@qqeasonchen https://join.slack.com/t/apacheeventmesh/shared_invite/zt-yx3n2ak7-HcVG98CDqb~7PwgoDzgfMA

@Shoothzj ok，You can help to fix it, btw, will you contribute a pulsar connector?

@Shoothzj ok，You can help to fix it, btw, will you contribute a pulsar connector?

I can't fix that because I don't know the right link 😂
I have the willing, but i haven't figure out how.

@qqeasonchen https://join.slack.com/t/apacheeventmesh/shared_invite/zt-yx3n2ak7-HcVG98CDqb~7PwgoDzgfMA

Please check again, I checked it can work now :)

@ruanwenjun It shows that
This link is no longer active
To join this workspace, you’ll need to ask the person who originally invited you for a new link.

Sorry, it might be my fault wrong reading the error message, how can I join this slack channel now?

@ruanwenjun It shows that
This link is no longer active
To join this workspace, you’ll need to ask the person who originally invited you for a new link.

Sorry, it might be my fault wrong reading the error message, how can I join this slack channel now?

When you click the link, a window should pop up, but it doesn't pop?

Yes, it shows

@Shoothzj Oh, I find the link will be expire in 30d, here is a new link, please try again.
https://join.slack.com/t/apacheeventmesh/shared_invite/zt-11974dndy-cn3Aq638eleKwKPWP9tkLg

@ruanwenjun It works. I open #705 to fix this issue :)


GitHubSource: Deletion stuck when sink is deleted first

Describe the bug
The deletion of a GitHubSource is stuck when the Sink of the GitHubSource is deleted first. This is similar to #1058
Controller logs:
{"level":"info","ts":"2020-03-27T11:23:28.122Z","logger":"github-controller.github-source-controller","caller":"controller/controller.go:396","msg":"Reconcile failed. Time taken: 4.549096ms.","knative.dev/controller":"github-source-controller","knative.dev/traceid":"f553f213-e9f2-40eb-bca8-d09258acd35b","knative.dev/key":"default/source"}
{"level":"warn","ts":"2020-03-27T11:23:42.675Z","logger":"github-controller.github-source-controller","caller":"reconciler/githubsource.go:136","msg":"Error reconciling GitHubSource{error 25 0  failed to get ref &ObjectReference{Kind:Service,Namespace:default,Name:github-message-dumper,UID:,APIVersion:serving.knative.dev/v1,ResourceVersion:,FieldPath:,}: services.serving.knative.dev \"github-message-dumper\" not found}","knative.dev/controller":"github-source-controller","knative.dev/traceid":"00917257-bf7f-4bdb-9e87-7ee8cbec29ab","knative.dev/key":"default/source"}
{"level":"error","ts":"2020-03-27T11:23:42.676Z","logger":"github-controller.github-source-controller","caller":"controller/controller.go:409","msg":"Reconcile error","knative.dev/controller":"github-source-controller","error":"failed to get ref &ObjectReference{Kind:Service,Namespace:default,Name:github-message-dumper,UID:,APIVersion:serving.knative.dev/v1,ResourceVersion:,FieldPath:,}: services.serving.knative.dev \"github-message-dumper\" not found","stacktrace":"knative.dev/eventing-contrib/vendor/knative.dev/pkg/controller.(*Impl).handleErr\n\tknative.dev/eventing-contrib/vendor/knative.dev/pkg/controller/controller.go:409\nknative.dev/eventing-contrib/vendor/knative.dev/pkg/controller.(*Impl).processNextWorkItem\n\tknative.dev/eventing-contrib/vendor/knative.dev/pkg/controller/controller.go:395\nknative.dev/eventing-contrib/vendor/knative.dev/pkg/controller.(*Impl).Run.func2\n\tknative.dev/eventing-contrib/vendor/knative.dev/pkg/controller/controller.go:343"}
{"level":"info","ts":"2020-03-27T11:23:42.676Z","logger":"github-controller.github-source-controller","caller":"controller/controller.go:396","msg":"Reconcile failed. Time taken: 10.570646ms.","knative.dev/controller":"github-source-controller","knative.dev/traceid":"00917257-bf7f-4bdb-9e87-7ee8cbec29ab","knative.dev/key":"default/source"}

Expected behavior
A missing sink should not prevent the deletion of the GitHubSource
To Reproduce

create a Sink
create a GitHubSource referencing the Sink
delete the Sink
delete the GitHubSource

@Fabian-K I think this issue is already fixed in the upstream.
Error message that you posted is pointing to "reconciler/githubsource.go:136" line which had reconciler error log in the latest release, but it's not the case for current master

Sorry, forgot about this issue. Yes, this is fixed :)


Print error messages from SystemExit to stderr

this commit fixes #109

At first I thought maybe we should just except BaseException but then I realized this doesn't really do what we want.  Ship.

Changes Unknown when pulling 71206ef5bde231fa1bb785418d08d4d22dbd8762 on jamesbroadhead:master into ** on pantsbuild:master**.


add 6D se3 task. add test to check the derivative of se3 - [merged]

In GitLab by @proyan on Jan 16, 2019, 14:37
Merges topic/refact -> topic/refact

In GitLab by @nmansard on Jan 16, 2019, 14:38
any reason to use matmul rather than dot?

In GitLab by @nmansard on Jan 16, 2019, 14:39
put that in data

In GitLab by @proyan on Jan 16, 2019, 14:40
added 1 commit
8ef365dc - [SE3 task] fix memory allocation for rMf
Compare with previous version

In GitLab by @nmansard on Jan 16, 2019, 14:40
put that in data as well.
prefer ref to r: fMref rather than fMref

In GitLab by @nmansard on Jan 16, 2019, 14:42
As I used np.dot everywhere, prefer this convention if equivalent.

In GitLab by @proyan on Jan 16, 2019, 14:43
changed this line in version 3 of the diff

In GitLab by @proyan on Jan 16, 2019, 14:43
changed this line in version 3 of the diff

In GitLab by @proyan on Jan 16, 2019, 14:43
added 1 commit
c78ab99d - [minor] use np.dot instead of matmul
Compare with previous version

In GitLab by @proyan on Jan 16, 2019, 14:43
added 1 commit
097ca6af - [minor] use np.dot instead of matmul
Compare with previous version

In GitLab by @proyan on Jan 16, 2019, 15:43
changed this line in version 5 of the diff

In GitLab by @proyan on Jan 16, 2019, 15:43
added 1 commit
f35c4a53 - [se3 task] use ref.inverse() instead of ref_inv
Compare with previous version

In GitLab by @proyan on Jan 16, 2019, 15:52
resolved all discussions

In GitLab by @nmansard on Jan 16, 2019, 15:58
keep the memory here:
data.residuals[:] = m2a(...)

In GitLab by @proyan on Jan 16, 2019, 16:00
Thanks. I miss the references in python :(
I'll edit it.

In GitLab by @proyan on Jan 16, 2019, 16:02
changed this line in version 6 of the diff

In GitLab by @proyan on Jan 16, 2019, 16:02
added 1 commit
28f030d9 - [se3 error] copy data.residuals from pinocchio
Compare with previous version

In GitLab by @nmansard on Jan 16, 2019, 16:07
merged

In GitLab by @nmansard on Jan 16, 2019, 16:07
mentioned in commit 53bf411114869c5627742a8ba94319794953fe06


retry crates.io requests when calling crate-search API

This works around (I think) most cases of https://rust-lang.sentry.io/issues/3972510218/
( the next step is probably just showing to the user that the crates.io API errored )

will need to fix some tests here + the conflicts

This is ready for a review now.
I moved the amount of retries for the API to a setting


How to use closure library inside a worker in JavaScript?

Hello!
What have you tried and what didn't work? We don't currently know of any blockers with using Closure in a WebWorker.

This is my WebWorker:
self.addEventListener('message', function(e) {
importScripts("../js/closure-library/closure/goog/base.js");
mainFunction();
self.postMessage("message");
self.close();
}, false);
From inside the Web Worker does not recognize the libraries.
This is the log that I get:
Cannot use default debug loader outside of HTML documents. base.js:826:5
goog.logToConsole_
http://localhost/js/closure-library/closure/goog/base.js:826:5
goog.Dependency.prototype.load
http://localhost/js/closure-library/closure/goog/base.js:3332:7
goog.DebugLoader_.prototype.loadDeps_/<
http://localhost/js/closure-library/closure/goog/base.js:2960:11
goog.DebugLoader_.prototype.loadDeps_
http://localhost/js/closure-library/closure/goog/base.js:2875:8
goog.DebugLoader_.prototype.loadClosureDeps
http://localhost/js/closure-library/closure/goog/base.js:2776:5
<anónimo>
http://localhost/js/closure-library/closure/goog/base.js:3979:5
<anónimo>
http://localhost/dashboard/do_work.js:18:4
Consider setting CLOSURE_IMPORT_SCRIPT before loading base.js, or setting CLOSURE_NO_DEPS to true. base.js:826:5
goog.logToConsole_
http://localhost/js/closure-library/closure/goog/base.js:826:5
goog.Dependency.prototype.load
http://localhost/js/closure-library/closure/goog/base.js:3339:9
goog.DebugLoader_.prototype.loadDeps_/<
http://localhost/js/closure-library/closure/goog/base.js:2960:11
goog.DebugLoader_.prototype.loadDeps_
http://localhost/js/closure-library/closure/goog/base.js:2875:8
goog.DebugLoader_.prototype.loadClosureDeps
http://localhost/js/closure-library/closure/goog/base.js:2776:5
<anónimo>
http://localhost/js/closure-library/closure/goog/base.js:3979:5
<anónimo>
http://localhost/dashboard/do_work.js:18:4

Per that stack trace, it looks like CLOSURE_IMPORT_SCRIPT is your issue. Please take a look at closure-library/closure/goog/bootstrap/webworkers.js. It should have a solution.
Basically (and I'm no expert) it looks like the DebugLoader uses script tags to load code by default. This doesn't make sense inside a WebWorker. By setting CLOSURE_IMPORT_SCRIPT to a different value before trying to load your main app, a different loading mechanism, appropriate for a Worker, will be used instead.

Hey Asier,
I'm going to assume this is resolved with the Closure web worker bootstrap file. Feel free to reopen if not!


Integrate hbs templating into existing one pager

Hello, I'm seeking some guidance here rather than reporting a bug or issue. I'm currently working on a really simple one-page website with multiple sections. For one of those sections, I'm keen on incorporating a component or a partial. This is to avoid redundancy and save me the effort of repeatedly coding the same HTML block six times, but with varying text and images.
I came across your repository and was particularly attracted by the concept of data separation that it employs, where the content is laid out separately. I'm curious about how I could adapt this approach to my project. Specifically, I would like to know how I can incorporate these partials into a single index.html or .hbs file. Can you guide me on how to go about this?

You can create reusable layout in hbs like this https://www.emmanuelgautier.com/blog/snippets/handlebarsjs-layout and in there you can include partials.


rust-client/: Add rust-libp2p based punchr client

Adds a Punchr client based on rust-libp2p supporting both Circuit Relay v1 and v2 based on a command line flag.
Credit goes to @elenaf9.

Apart from the question above, this is ready to be merged from my end. @dennis-tra what do you think?

Ready when you are :) I just invited you two to the repository as collaborators so feel free to merge it 👍


chore: Redirect to /login on 401

SUMMARY
This PR redirects the user to the /login page when a 401 is detected as a response to a request. It also adds the next parameter that should then be picked by flask to redirect the user to the previous URL after login.

The codebase on this repo has been moved to the main Apache Superset repo, and consequently the repo is in the process of being archived. See the Superset Improvement Proposal for details: https://github.com/apache/superset/issues/13013 . While all currently open issues and PRs will be closed, we encourage you to reopen this PR on the main repo, which should be as simple as moving over any code changes as follows:

core packages: packages/** (this repo) -> superset-frontend/packages/** (main repo)
plugins: plugins/** (this repo) -> superset-frontend/plugins/** (main repo)

If you need help with the migration, please post a message on the SIP or reach out on the community Slack.


libfreeaptx: fix build on darwin

Description of changes

Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] 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

[ ] 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
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
22.05 Release Notes (or backporting 21.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
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

@GrahamcOfBorg build mopidy

Please don't merge such large rebuilds directly to master; watch ofBorg labels.  Workaround: PR https://github.com/NixOS/nixpkgs/pull/173775

My bad for approving, I didn't even notice it was going directly to master.

Sorry about that! I didn't notice the labels. I'll more careful next time.


implement task for configuring virtual nodes

This task configures number and flavor of virtual nodes.

I'll update the demo script and recreate the demo after the PR is merged.


Compatibility with ngTrueValue and ngFalseValue

It's not apply current state if input has these directives. For example:
<input type="radio" ng-switch ng-true-value="'active'" ng-false-value="'disabled'" .../>

There are conflicts with #28, please re-open when they're fixed.


Server restart, looks like it's crashing, rollback

Hello,
Everytime when I restart my server thru console it says:
13.07 19:33:14 [Server] INFO Saving worlds
13.07 19:33:14 [Server] INFO Saving chunks for level 'world'/overworld
13.07 19:33:59 [Multicraft] Terminating server via signal
13.07 19:34:00 [Multicraft] Server shut down (terminating)
13.07 19:34:00 [Multicraft] Looks like a crash, check the server console. Return value: 143
13.07 19:34:00 [Multicraft] Server stopped
However as soon as the server started again, the world is rollbacked. Is my world corrupted by running worldborder fill? Is there anyway to fix this?

Running Fill specifically won't have corrupted your world, no. When it comes down to it, it simply has Bukkit load (and therefore generate) world chunks in a specific order, and then queue them for being unloaded once enough nearby chunks were loaded for full generation.
It would generally come down to what all you are running on your server. For example, mods/plugins which modify world generation, version of Spigot / Minecraft / etc.
With all of the problems you specifically are running into where others generally are not, I'm beginning to doubt there's much I can do to help you.


ErrorHandler 2.5-alpha: Bugfixes, simpler bundles, stability improvements

This PR introduces new Error Handler version 2.5-alpha.
Detailed changeset

Fixed a rare case of buffer overflow  when displaying offset as a symbol with displacement. The overflow could occur if symbol text output stopped right at the end of the buffer and displacement was about to render next. Buffer flush was missed in this case, causing text and memory corruption until the next flush.
Improve caller guessing algorithm: it now filters out odd and zero offsets.
Remove ErrorHandler.bin from bundles; include its binary data to assembly files directly;
When working with stack boundaries (e.g. to run caller guessing or display stack on the screen), support full address range for the stack pointer. Previously, only range $FF8000-$FFFFFF worked properly due to an optimization.
Refactor tests, migrate to MD-Shell 2.0; update "Format String" tests.

Additional changes

Error Handler: Remove blobs from git;
Error Handler: Implement "externs" assembly for reference;
Error Handler: Refactor and optimize bundle building;
MD-Shell: Add bundles documentation;
MD-Shell: Refactor and optimize bundle building;
ConvSym: Fix an outdated comment;

Sega 32X support (#8) was originally planned for this PR, but I've digressed a lot focusing on repository organization and QoL improvements.
I'm going to cut this PR as-is, name this version 2.5-alpha instead of 2.5 and address 32X support in a future PR.


How to evaluate a roberta base checkpoint model on language modelling?

I trained the roberta base model on a custom dataset and I am trying to evaluate the checkpoints generated during the pre-training process on language modeling task for the test dataset.
If I run fairseq-eval-lm with the saved checkpoint file as the --path value and the default task of language modeling, it fails with the following stack trace:
Traceback (most recent call last):
File "/home/dm4511/anaconda3/envs/vision/bin/fairseq-eval-lm", line 11, in
load_entry_point('fairseq', 'console_scripts', 'fairseq-eval-lm')()
File "/scratch/dm4511/IS_NLP/fairseq/fairseq_cli/eval_lm.py", line 223, in cli_main
main(args)
File "/scratch/dm4511/IS_NLP/fairseq/fairseq_cli/eval_lm.py", line 62, in main
task=task,
File "/scratch/dm4511/IS_NLP/fairseq/fairseq/checkpoint_utils.py", line 167, in load_model_ensemble
ensemble, args, _task = load_model_ensemble_and_task(filenames, arg_overrides, task)
File "/scratch/dm4511/IS_NLP/fairseq/fairseq/checkpoint_utils.py", line 186, in load_model_ensemble_and_task
model.load_state_dict(state['model'], strict=True)
File "/scratch/dm4511/IS_NLP/fairseq/fairseq/models/fairseq_model.py", line 69, in load_state_dict
return super().load_state_dict(state_dict, strict)
File "/home/dm4511/anaconda3/envs/vision/lib/python3.6/site-packages/torch/nn/modules/module.py", line 845, in load_state_dict
self.class.name, "\n\t".join(error_msgs)))
RuntimeError: Error(s) in loading state_dict for RobertaModel:
size mismatch for decoder.sentence_encoder.embed_tokens.weight: copying a param with shape torch.Size([50265, 768]) from checkpoint, the shape in current model is torch.Size([50264, 768]).
size mismatch for decoder.lm_head.weight: copying a param with shape torch.Size([50265, 768]) from checkpoint, the shape in current model is torch.Size([50264, 768]).
size mismatch for decoder.lm_head.bias: copying a param with shape torch.Size([50265]) from checkpoint, the shape in current model is torch.Size([50264]).

Hi,
I am facing the same issue of evaluating a trained model
My code logs-
Namespace(add_bos_token=False, bpe=None, context_window=2560, cpu=False, criterion='cross_entropy', data='data-bin/CM_data', dataset_
impl=None, force_anneal=None, fp16=False, fp16_init_scale=128, fp16_scale_tolerance=0.0, fp16_scale_window=None, future_target=False,
gen_subset='test', lazy_load=False, log_format=None, log_interval=1000, lr_scheduler='fixed', lr_shrink=0.1, max_sentences=None, max
target_positions=None, max_tokens=3072, memory_efficient_fp16=False, min_loss_scale=0.0001, model_overrides='{}', momentum=0.99, no
progress_bar=False, num_shards=1, num_workers=1, optimizer='nag', output_dictionary_size=-1, output_word_probs=False, output_word_sta
ts=False, past_target=False, path='checkpoints/checkpoint_best.pt', quiet=False, raw_text=False, remove_bpe=None, required_batch_size
_multiple=8, results_path=None, sample_break_mode='complete', seed=1, self_target=False, shard_id=0, skip_invalid_size_inputs_valid_t
est=False, softmax_batch=1024, task='language_modeling', tbmf_wrapper=False, tensorboard_logdir='', threshold_loss_scale=None, tokeni
zer=None, tokens_per_sample=1024, user_dir=None, warmup_updates=0, weight_decay=0.0)
| dictionary: 634704 types
| loading model(s) from checkpoints/checkpoint_best.pt
Traceback (most recent call last):
File "/home/parul09chopra/miniconda3/bin/fairseq-eval-lm", line 8, in
sys.exit(cli_main())
File "/home/parul09chopra/miniconda3/lib/python3.7/site-packages/fairseq_cli/eval_lm.py", line 219, in cli_main
main(args)
File "/home/parul09chopra/miniconda3/lib/python3.7/site-packages/fairseq_cli/eval_lm.py", line 62, in main
task=task,
File "/home/parul09chopra/miniconda3/lib/python3.7/site-packages/fairseq/checkpoint_utils.py", line 155, in load_model_ensemble
ensemble, args, _task = load_model_ensemble_and_task(filenames, arg_overrides, task)
File "/home/parul09chopra/miniconda3/lib/python3.7/site-packages/fairseq/checkpoint_utils.py", line 173, in load_model_ensemble_and
_task
model = task.build_model(args)
File "/home/parul09chopra/miniconda3/lib/python3.7/site-packages/fairseq/tasks/language_modeling.py", line 140, in build_model
raise ValueError('Unsupported language modeling target: {}'.format(target))
ValueError: Unsupported language modeling target: future
What can be done to evaluate and find perplexity on test set using a trained roberta model?

I also get errors when trying to evaluate perplexity on a RoBERTa model.  Are there any updates on this issue?
When running the cli as listed on the repo I get:
ValueError: Unsupported language modeling target: future
When I add  --task masked_lm --criterion masked_lm I get an error that my dataset isn't Monolingual.  Not sure what that means either from the perspective of these tests.
If I remove --context-window (Defaulting it to 0), I get this error:
line 157, in main
    if args.add_bos_token:
AttributeError: 'Namespace' object has no attribute 'add_bos_token'

here is what I tried:

changed the default target to "self", which fixed the error faced by PC09. ()
added the --add_bos_token argument to the eval_lm.py script and removed "add_bos_token" from the list of filtered args (https://github.com/pytorch/fairseq/blob/master/eval_lm.py#L68)
added the following line at https://github.com/pytorch/fairseq/blob/master/fairseq/tasks/language_modeling.py#L92. This is because the eval_lm.py expects a model with embedding layer for dictionary of size 50264 whereas the saved checkpoint has an embedding layer for a dictionary of size 50265. self.mask_idx = dictionary.add_symbol('<mask>')

This got the script to run on my saved roberta models but I still face some error after running on few samples.

/opt/conda/conda-bld/pytorch_1565272279342/work/aten/src/THC/THCTensorIndex.cu:361: void indexSelectLargeIndex(TensorInfo<T, IndexType>, TensorInfo<T, IndexType>, TensorInfo<long, IndexType>, int, int, IndexType, IndexType, long) [with T = c10::Half, IndexType = unsigned int, DstDim = 2, SrcDim = 2, IdxDim = -2, IndexIsMajor = true]: block: [224,0,0], thread: [127,0,0] Assertion srcIndex < srcSelectDimSize failed.
THCudaCheck FAIL file=/opt/conda/conda-bld/pytorch_1565272279342/work/aten/src/THC/THCReduceAll.cuh line=327 error=59 : device-side assert triggered

I tried debugging around and from what I could understand, it looks like an issue where you try to access element out of bounds. So seems like that issue could be with my input.
It would be great if someone else could try and let me know if the above steps got it working for them...

@DikshaMeghwal I tried running it with your modifications.  Do you set add_bos_token to be False?  I get an error here https://github.com/pytorch/fairseq/blob/master/eval_lm.py#L158

fairseq-eval-lm --fp16 $DATA_DIR --path $ROBERTA_PATH\     --task language_modeling \     --sample-break-mode complete --tokens-per-sample $TOKENS_PER_SAMPLE \     --max-sentences $MAX_SENTENCES \     --add-bos-token \     --log-format simple --log-interval 1

I got that script to run if I avoid the last batch of data, otherwise I get the same error you do @DikshaMeghwal.
However, I am looking to evaluate on masked language modeling.  The perplexity score given with language_modeling isn't useful for me.  My work-around has been to modify the training script and ignore all training aspects of it to produce validation metrics (loss, ppl, etc.) on data of my choosing.  This appears to be a temporary solution for me.

@kristjanArumae oh right! This can be a workaround for me too! thanks for the tip

@kristjanArumae  Can you explain a bit more or share modified code for the work around you mentioned?

If you just want to compute validation perplexity you can use the validate.py script: https://github.com/pytorch/fairseq/blob/master/validate.py
Something like this should work:
python validate.py /path/to/data-bin --path /path/to/roberta.large/model.pt --task masked_lm

I don't want to validate for masked language modeling. I want to evaluate for language modeling. What is the best way to evaluate a saved checkpoint for RoBerta for a language modeling task?

You mean predict tokens left-to-right? The model isn't trained to do that, you'd need to train a language model for that purpose (or otherwise somehow adapt the model to predict left-to-right).

Using
python validate.py /path/to/data-bin --path /path/to/roberta.large/model.pt --task masked_lm
I get:
NotImplementedError: Unable to infer Criterion arguments, please implement MaskedLmLoss.build_criterion

I've encountered 'AttributeError: 'Namespace' object has no attribute 'add_bos_token'' when evaluating a saved checkpoint for RoBerta for a language modeling task.  I'm on latest version 0.9.0. What is the 'add_bos_token' ?
When attempting to pass the arg 'add_bos_token', it throws 'fairseq-eval-lm: error: unrecognized arguments: --add-bos-token'


API Documentation discovery

Do you think it will be interesting to automatically discover some API documentations when a user add an API ? For example, by default the swagger documentation can be found at [endpoint]/swagger.json...

I'm not sure that "auto-discovery" documentation is a good choice.
First, this is only working with Swagger because we know that the documentation is available at [endpoint]/swagger.json.
Then, for production environment, I think that providing documentation from the same server is not a good option. I would prefer to isolate the documentation from the "runtime".
IMHO, when creating API through the webui, it would be a good way to provide some kind of "creation flow" to let the API publisher to :

Create an API by providing global configuration (name, version, context path, endpoint)

Associate documentation to the newly created API

Associate members ?

This issue was moved to gravitee-io/ichiou#11


[Docs] Missing li tag in extension points

Current State
The <li> tag is missing in the Extensions Point section.
Desired State
Add the <li> tag there as well.

Contributor Guides and Handbook

📚 Instructions for contributing to documentation

Meshery documentation site and source

🛠 Meshery Build & Release Strategy
🎨 Wireframes and designs for Meshery UI in Figma (open invite)
🙋🏾🙋🏼 Questions: Discussion Forum and Community Slack

Can I work on this issue @amitamrutiya ?

Sure @MohdMusaiyab, go ahead. We’ll expect a PR from you soon.

Can I work on this issue if its unassigned?

@amitamrutiya
While investigating the issue, I discovered that customised CSS code is applied. Changing this CSS code can completely resolve the issue. Could you please confirm whether this customisation is intentional or if it could be a bug?

Thank You!

Can I be assigned this issue? If it is unassigned.

@MohdMusaiyab, any progress? Given the size of this issue, I'll assume not and allow @VengefulSpartan to take a crack.

@leecalcote can i work on this issue

@MohdMusaiyab, any progress? Given the size of this issue, I'll assume not and allow @VengefulSpartan to take a crack.

@leecalcote I was able to solve the issue but I didn't make a PR as no one replied to my doubt in the comments above, if you could please reply to that and can confirm that if its intentional or not , I will make the PR.


Cross profile minor interaction inconsistency

I noticed a minor interaction behaviour glitch with the cross profile, each line of the cross is not draggable, but the mouse cursor changes (probably because they are selectable).
It would be best if the lines are draggable (or at least not selectable).

I would have expected all the lines to be draggable is some of them are; the horizontal line is, but not the "free" line and the cross.

Yes, we can't select shapes, like the free line, or rect. Let say it is a ROI/plot issue.
And for the cross it was intentional. I think it is better to enforce to move this the anchor. To reduce the things we can drag on the plot. But we can argue about that.

@mretegan, the free line should be draggable from its center.
@vallsv, for the cross, I had the same expectation to drag each line, to me it would be better to be able to drag each line separetely.

We can consider making shapes selectable/draggable but not now.

Ok, in this case i will switch them back to movable.

Closing, this is fixed in master.


Document what --environment does on backup:restore

In my instance I'm trying to restore a backup from the master environment into a new environment I've spun up.
When I run platform backup:restore --target={new-env} {backup-hash} I am prompted to enter an environment:

Running platform help backup:restore says that the environment flag is The environment ID which isn't clear in this context.
Presumably this is the environment the backup is from, but it isn't clear this is the case. Considering one wrong command could wipe the latest production data I'd like to be certain.
Cheers
Tom

Hi,
Took the plunge and selected master from the above list. Can confirm environment is the environment the backup is from. Any chance the help text can be updated?
Else could the docs be updated to document restoring a backup to a separate environment.
Cheers
Tom


Add CSO annotations to release

Integrate this issue to the crawler and automatic release stages.

We should use a more reliable source for subfields. I suggest OpenAlex. When the time comes, we open a new ticket for that.


Correct error message in IOUtils

This corrects the wording of the error message in IOUtils: There's
no such word as "readed", and the author probably meant "expected"
as opposed to "excepted".

Thanks!
Please also update the tests, see https://travis-ci.org/apache/commons-io/jobs/225698576 for details.

Ah, yes, sorry, I mistakenly assumed that there weren't going to be tests based on the error message string. Fixing it now.

Do you want me to squash the commits down into a single commit? I'm not sure what your project conventions are.

Coverage increased (+0.2%) to 90.208% when pulling 84a26d1cafce96727639f326d9ebd01dd2545e31 on io7m:master into 156653ea56fe215b97a263a770ea7094ff6adb84 on apache:master.

Thanks! :+1:


Validate support for gpt4-turbo

With the recent release of gpt4-turbo, we should test and verify that the system works with the new model.

There is also the vision version, see https://help.openai.com/en/articles/8555496-gpt-v-api


Fix removeHTMLEntities may crash for NSString

Refer to #22, use String.range to search & character with cause fatal error if that string is converted from NSString
This PR is going to fix this issue by using Substring and String.index to perform character searching, instead of using String.range

Thank you for your fix! Did you compare the performance of this approach to the previous one?

Here is the unit test report execute in my machine (iMac 5k 2017, Core i7 16 GB Ram, Xcode 10.2.1, Swift 5)
Seem this approach is surprisingly faster (compare result on testLargeUnescapingPerformance)
Previous

Current

Awesome! Thanks so much again. Will go into the next release 🚢


Disconnect List is in Alpha. Bugs have been mostly ironed out and des…

…ign is currently set. Still working on other optimization items.

Looks good


Reason for shading for hudi-timeline-service?

I'm trying to us hoodie-spark as a dependency in my spark project (2.3.1). There is some conflict with io.netty so I check the lib jar and found out hoodie-spark depends on hoodie-timeline-service which is an uber jar. This prevents me from overwriting netty when running the latest spark. What is the reason for packaging hoodie-timeline-service in such way?

@hotienvu : Agree timeline-service should not be a fat-jar.
We are reworking our bundling strategy in this PR https://github.com/apache/incubator-hudi/pull/751 to give a proper definition of what should be and what should not be bundled. I have already addressed timeline-service in that PR.

Good to know! Thanks @bvaradar.


Initializing Amplitude

I am using react in my project.
After installing npm package. not able to initialize project setup.
Not able to find right documentation.
How to i import amplitude object from package?

Got it. ..
import * as amplitude from '@amplitude/analytics-browser';

Can this be added to the readme? Took me a minute to find it also.


Textarea - can not drag-select contents

If you type into a textbox, then try to select parts of the contents, you will only place the cursor, and can not drag.
Tried:
preventDefaultException: {
  tagName: /^(INPUT|TEXTAREA|BUTTON|SELECT|X-WIDGET)$/i,
}

and onBeforeScrollStart does not send the event object #875, so I can't use that either.
I tried setting up iScroll with no extra parameters.

Bump

+1 I also have this problem, I user textarea in iScroll . and add TEXTAREA to preventDefaultException. but when I type a lot of words in the textarea. I can not drag and scroll the words in the textarea .how can I do

preventDefaultException is not respected for IScroll's move handler, I'm patching my local iscroll for this right now...

Thanks ray007,
for those who just want a quick fix:
change this line in the IScroll _move function:
if ( this.options.preventDefault ) {	// increases performance on Android? TODO: check!
to
if ( this.options.preventDefault && !utils.isBadAndroid && !utils.preventDefaultException(e.target, this.options.preventDefaultException) ) {


fix(docs): Fix some inaccuracies in Docker docs

Motivation
I noticed we have some inaccuracies in the docs for Docker.
Depends-On: #6729
(Required fix for CI to pass.)
Solution

Fix dead links.
Fix the docker build command.
Remove a redundant subsection as @gustavovalverde suggested. I also removed the Alternatives subsection because I thought it was distractive there. We can revert this change.

Review
@gustavovalverde
Reviewer Checklist

[ ] Will the PR name make sense to users?

[ ] Does it need extra CHANGELOG info? (new features, breaking changes, large changes)

[ ] Are the PR labels correct?
[ ] Does the code do what the ticket and PR says?

[ ] Does it change concurrent code, unsafe code, or consensus rules?

[ ] How do you know it works? Does it have tests?

@mergifyio update


[Bug]: Regex does not support \f and \v

Description
$Subject.
Compiler results in several diagnostics when the following characters are used.
Steps to Reproduce
regexp:RegExp ss = re `\f\v`;

Affected Version(s)
2201.8.4
OS, DB, other environment details and versions
No response
Related area
-> Compilation
Related issue(s) (optional)
No response
Suggested label(s) (optional)
No response
Suggested assignee(s) (optional)
No response

@xlight05 This is not a bug actually. Ballerina RegExp syntax grammar is not supporting these escape characters.
https://ballerina.io/spec/lang/master/#section_10.1


Support pack command

I am trying to generate an npm package using cakebuild. I am nearly there, and would like to add this support to this package.
We can do a few things:

Add the pack command to this library, then I will call it myself
Copy most of my code (which also does the copy/paste from a specific directory, updates the version, then packs it (still requires 1 though).

What's the easiest?

If you are in a position to create a pull request that includes this functionality I would be help with review and merge it into Cake.Npm, otherwise if you can give me a brief summary of the functionality you would need I will endeavour to implement it when I next have an opportunity.


Files section mentions ShareFile. Teams admin portal Citrix Files is used

Hello,
In the Files section of the documentation ShareFile is written. In the Teams Admin Portal Citrix files is used.
This is confusing.
Please update the documentation to use Citrix files to be consistent.
Thank you.

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

ID: 2c9b7f77-061d-a224-ff1c-8d3e15d21221
Version Independent ID: 00fa9550-c4c4-3398-ffbb-271cc724048f
Content: Manage settings for your organization - Microsoft Teams
Content Source: Teams/enable-features-office-365.md
Service: msteams
GitHub Login: @SerdarSoysal
Microsoft Alias: serdars

Thanks for your feedback!


Suggestion to use daytime type instead of epoch and milliseconds

Using the milliseconds since epoch like in the original smappee REST API is consistent but not very easy to handle within python. As I understood smappee uses always UTC time. Therefore, it would be nice to make use of the datetime object  instead of milliseconds in the methods:
get_consumption
get_sensor_consumption

Then it is easier to adjust to different time zones and requires less python code to use smappy API.
What do you think?

Hi, thanks for the feedback!
This is already possible! This is the docstring for the get_consumption method (get_sensor_consumption works almost identically):
Request Elektricity consumption and Solar production for a given service location

Parameters
----------
service_location_id : int
start : int | dt.datetime | pd.Timestamp
end : int | dt.datetime | pd.Timestamp
    start and end support epoch, datetime and Pandas Timestamp
aggregation : int
    1 = 5 min values (only available for the last 14 days)
    2 = hourly values
    3 = daily values
    4 = monthly values
    5 = quarterly values

Returns
-------
dict

Both parameters start and end can take an int (milliseconds sinds epoch), a datetime OR a pandas timestamp. Everything is converted to milliseconds sinds epoch under the hood before it is passed to the API. Both datetime and Pandas timestamp support timezone handling and conversion etc.

Cool. Thx for this lesson in python ;-)


Laravel round pdo mysql float field

PHP 5.6.5
Laravel 4.2
if I run:
DB::getPdo()->query("select float_field from some_table")->fetchAll();
It will round the result. so 155.02 become 155.
However if I run:
$pdo = new PDO('mysql:dbname....');
$pdo->->query("select float_field from some_table")->fetchAll();
It will be the same as in the database.

@nadavvin Here's a relevant issue if you want one rather than nothing being said: #6980.


style property 'left' is not supported by native animated module

There might been some changes to react-native, so that this module sadly no longer works without adjustments. I'm using react-native 0.48.3

yeah

New version has fixed this problem. Animations now don't use width and left.


updated dependencies

Hi, @Chaitanya-087
Thank you for the PR. The updates seem to have broken the build and I am getting the following error on doing npm start:

I think this can be resolved by using Routes instead of Switch in the app.js file.
For the <Redirect> component error, I believe we will have to use the withRouter HOC wrapper and then navigate programmatically. Or to make things even better, you may also convert that class-based component in the file to a function based component and then use the useNavigate hook.
You can refer to the documentation here: https://reactrouter.com/en/main/upgrading/v5#upgrade-to-react-router-v6
Kindly resolve the above errors for the PR to be merged. In case you face any difficulty, please feel free to reach out here :).

sure

hi! can you check on this pr

thank you so much


Re-write 0078-NWLI network limits spec

After a review we have decided that we will rework this spec to only include:

Limit the number of pegged orders Vega wide.
Add limits of the number/type of transactions that can be added to a block (based on Tendermint gas weighting events). @jeremyletang to add a proposal

We also need to review and update existing network parameters:

Set the minimum an LP can submit to $10,000 (value TBC)
Update the LP shapes param to be 5 each side (currently set to 100

The information in this spec will remain in git history should we wish to revisit in the future

My bit done here: https://github.com/vegaprotocol/specs/pull/1390

Many things are tested in other specs.
In this one we should specifically have ACs about how many out of whatever total (and with what weight) saw the events on Ethereum before it gets accepted as "vega truth".
So we still need the spec updated and the AC removed / added to reflect this.

@ze97286
FYI: If you are looking at the tendermint gas weighting for TXs per block. This is the spec we need to add it into


botdetector.die ?

not an enhancement. just questioning if this can cause some problems for me

It seems they created a detector for the botdetector, since he just joined in and immediately started spamming the mic, I couldn't even mute him since the screen kept updating nonstop.

what do you mean you couldn't mute him? Did the normal in-game mute not work?
Also, detecting the bot detector is not new, they have scripts that pick up any time someone sends the warning message. Cheaters will put your name on a list, but it really makes no difference to gameplay. Having your name on a list doesn't make bots or cheaters target you any more than they already do.

what do you mean you couldn't mute him? Did the normal in-game mute not work?
The option on the main menu wouldn't open and right click menu on the scoreboard kept closing every type I opened it.
Also it kicked everybody out of the server.

huh. I thought Valve servers are supposed to be protected from attacks like that now. It sounds kind of like a DDoS on the server.

they have scripts that pick up any time someone sends the warning message

here is the thing, I keep this disabled since the message is in english and I play on Latin America servers, they probably detected that I tried to kick him.

huh. I thought Valve servers are supposed to be protected from attacks like that now. It sounds kind of like a DDoS on the server.

This was not the first time, I ran into a cheater earlier that did the same thing, It kicks everyone out and after some time everybody comes back.

Not "kicks", but DDoSing Steam relay or the server itself for a short period of time, so all the clients, who has default cl_timeout value of 30 seconds just disconnects from it

I'm not sure how they would know you have the detector unless you've used the chat warnings before. As for kicking everyone out, I've seen people mention you can avoid getting kicked by increasing your timeout from the default.

But anyway, you can close this issue if you want, I got my answer but I might confess that this was pretty scary, my luck was that I had only 4 kills and 12 deaths, plus they were spinning like crazy.
Anyhow, keep up the good work.

But anyway, you can close this issue if you want

most people close their own issues once they are resolved


[BUG] Incorrect format headers returned by performance analyzer

What is the bug?
The headers returned by PA plugin are incorrect as it returns null key and list as value.
Header validation exception due to null / empty header
< HTTP/1.1 500 Internal Server Error
< content-type: application/json; charset=UTF-8
< content-length: 181
<
* Connection #0 to host localhost left intact
{"error":{"root_cause":[{"type":"illegal_state_exception","reason":"Channel is already closed"}],"type":"illegal_state_exception","reason":"Channel is already closed"},"status":500}

Date value returned as list due to it being stored as List<List>
HTTP/1.1 200 OK
Access-Control-Allow-Origin: *
Date: [Fri, 11 Mar 2022 11:59:36 GMT]
Content-Type: text/plain; charset=UTF-8
Content-Length: 157

Please don't close this issue until tests have been added on top of #204

The validation of headers is automatically done by netty due to which the agent started throwing errors. Though, I noticed that integration tests were directly using rca on 9600 port instead of going via agent on 9200. Have raised PRs to address that issue - https://github.com/opensearch-project/performance-analyzer/pull/208, https://github.com/opensearch-project/performance-analyzer-rca/pull/177

@jainankitk All tests passed before your change in https://github.com/opensearch-project/performance-analyzer/pull/204, and have passed after the same. So there are no tests that catch the bug described here and fixed in #204. Am I missing something?

@dblock - I guess the test suite does not run the integration tests. Without #208, even the integration tests would not have caught this issue, which is not the case now.
Not sure if we have automated way of running integration test suite, maybe nightly if not with every commit.


edited by Piyush

changed by a user for ptactice purpose

plz check it.

It seems you only changed the hosted page?


Twitch Leecher not installing (An Error Occured During The Installation)

I'm launching the Twitch Leecher setup wizard and when I try to install it I get the error "An Error Occurred During The Installation". Ive tried to open the log file put I cant find any instructions on how to open the log file. Version 1.8.1 on Windows 10

Open command line an start the installer with:
 TwitchLeecher_1.8.1.exe -l log.txt
Try installing and let it run into the error. There should be 2 logfiles now in the same folder as the installer. Post both files here.

So I do believe that the bug was the "Another Installation Is In Progress" bug because I was trying to download something else today and got that error. To fix you have to go to task manager and "end task" Windows Installer. After that launch services.msc and find the Windows Installer, Start it, then stop it and it should download fine. The installer works fine now after doing those steps.

yes, Windows installer can only run a single installataion at a time. If something went wrong earlier and was still stuck, TL doesn't like that 😄


Handling complaints of email marked as spam

Value Statement
As a VANotify admin
I want to receive a notification
When an email is marked as spam by an end user
So that I can see how many emails are being marked as spam
Acceptance Criteria
GIVEN an email is marked by spam by an end user
WHEN there is a complaint sent back to our email provider
AND our email providers passes the complaint back to us
THEN a notification to the VANotify team as defined by our VANotify service
Checklist

[x] Create a celery task for sending complaint notification
[x] Call the celery task when receiving complaint (in parallel to complaint callback)
[x] Define static template in database and configuration, similar to other templates internal to VANotify
[x] Send emails to team members of VANotify service

Assumptions

VANotify service exists and team members are added to it

Additional Info/Resources

Can be tested using AWS email simulator - https://docs.aws.amazon.com/ses/latest/DeveloperGuide/send-email-simulator.html

Out of Scope

Dashboard view

Open Questions

Does Granicus do this as well or just Amazon SES?  SES only, Granicus (kind of but there is separate story) >> avoid being AWS specific
Considering two options:

(1) new task to call send_notification endpoint (POST request)
(2) call on deliver_email task (SEND_EMAIL queue) after creating complaint notification

What metrics do we want to capture as part of this new addition?

number of complaints (graph)
no need for alert

What are high level attributes to capture in template?

see service_callback_tasks#create_complaint_callback_data as reference for desired info
service name, template name, notification id
resource: complaints in admin UI

Where or how should we define the recipient address, the va-notify group?

store as config<EMAIL_ADDRESS>vanotify service users

The branch is origin/381-notify-email-complaints
We prefer to use the va-notify service which is maintained by migrations and its id is defined in config as NOTIFY_SERVICE_ID.  One potential issue is that the notify service is always linked to the default user, Notify service user with email<EMAIL_ADDRESS> Should the complaints notification sent to this email as well?

This ticket has been reviewed. Acceptance criteria has been met. Moving the ticket to signoff.

@lingtran has this been enabled in production yet?

QA Verification
Send email to user account,
As user  mark email as spam
System should process this action as a complaint and sent back to our email provider
AND our email providers passes the complaint back to us
Verified complaint count (see scr shot above)  which verifies a notification is sent to the VANotify team as defined by our VANotify service


Allow development to use localstack over AWS

Jira link
BAU / Experiment.
What?
This PR allows local development to use localstack over AWS for development purposes.  This allows developers to work offline, or seperated from other developers in a non-shared environment.
Note this PR only covers S3 usage rather than other services.
Fails-safe to the current way of working so localstack is an opt-in change

Having used localstack a bunch in the developer hub, I'm wondering if we can add a couple of Make targets to get started? And maybe a docker-compose.yml file?
localstack: clean-localstack
	$(eval USAGE_PLAN_ID=$(shell docker-compose up | grep -m1 'usagePlanId=' | awk -F'=' '{print $$2}'))
	@if [ -z "$(USAGE_PLAN_ID)" ]; then \
		echo "Failed to extract USAGE_PLAN_ID"; \
		exit 1; \
	fi
	@sed -i'' -e 's/export USAGE_PLAN_ID=.*/export USAGE_PLAN_ID=$(USAGE_PLAN_ID)/' .env.development
	@echo "Updated USAGE_PLAN_ID in .env.development to $(USAGE_PLAN_ID)"
	@echo "Localstack is running. Run make stop-localstack to stop it."

clean-localstack: stop-localstack
	docker-compose rm -f -s -v

stop-localstack:
	docker-compose down

version: "2"
services:
  localstack:
    image: localstack/localstack:latest
    ports:
      - 4566:4566           # LocalStack edge port
      - 4510-4559:4510-4559 # maps various AWS services ports
    volumes:
      # Initialization Hook (see https://docs.localstack.cloud/references/init-hooks/)
      - .bin/seed.sh:/etc/localstack/init/ready.d/script.sh

Yeah, adding localstack to the local docker-compose so there's essentially zero setup for people would be a good idea.


MacOs arm64 library not found for -lfbclient

I'm new to develop apps on MacOs, so this may be a stupid question.
I'm trying to compile flamerobin 0.9.7 on a Mac, but got stuck with finding the right lib and where to place it.
I'm using firebird 4.0.1-2709-ARM64.pkg, and tried using the libfbclient.dylib, libfbclient.so, libfbclient.so.2.
I noticed their is also an extension .a but I couldn't find a file libfbclient.a.
ps: I can confirm that libfbclient.dylib is build for arm64

If this works, can u do a pull request later as soon as user confirms fix?
Thanks!

Closing as #328 looks like fixes this


mubert-base.joda-time.mid-136.idx-222709.8.mutant

This is an edit in the format in the MutableInterval file.

Fix indentation LGTM!


Missing Plugin Exception

I am getting this error message frequently
flutter_timezone: ^1.0.6
Flutter version 3.7.12

Hey @pranavo72bex
This looks like a problem with your build environment rather than something in flutter_timezone. Does this occur when you build from scratch? I.e., after a flutter clean (and cd ios; pod deintegrate if on iOS)?

Thanks.. problem solved after flutter clean


GNOME Terminal doesn't open on Debian Buster

Please paste the output of the following command here: sudo edit-chroot -all
name: buster
encrypted: no
Entering /mnt/stateful_partition/crouton/chroots/buster...
crouton: version 1-20220111101058~master:a9eafaee
release: buster
architecture: amd64
xmethod: xorg
targets: gnome-desktop
host: version 14695.85.0 (Official Build) stable-channel snappy
kernel: Linux localhost 4.4.254-21526-ga09c85531b92 #1 SMP PREEMPT Wed May 25 19:20:57 PDT 2022 x86_64 GNU/Linux
freon: yes
Unmounting /mnt/stateful_partition/crouton/chroots/buster...

Please describe your issue:
So, as always, I wanted to be a good Linux user, and update the packages, but I can't update the pacakges (none even installs on Gdebi either, and Xterm didn't install) because
If known, describe the steps to reproduce the issue:

Make a chroot with Debian Buster
Enter into the chroot
Launch the Terminal
Doesn't work.

the gnome package uses chromium libs so this may cause some problems for ARM64 chromebooks
correct xterm is not installed gnome terminal is

the gnome package uses chromium libs so this may cause some problems for ARM64 chromebooks
correct xterm is not installed gnome terminal is

Almost all of the Chromebooks I lay my hands on is ARM64, LOL.


hyprlock: 0.3.0-unstable-2024-04-24 -> 0.4.0

Description of changes

Things done

Built on platform(s)

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

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

[x] 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

[ ] 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.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

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

[x] Fits CONTRIBUTING.md.

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

Should unstableGitUpdater still be used since it's back to a stable release?

This should be rebased on the current master first, then set the passthru.updateScript to use nix-update-script.

Should unstableGitUpdater still be used since it's back to a stable release?

you're right, just skill issue on my part xD

This should be rebased on the current master first, then set the passthru.updateScript to use nix-update-script.

Thanks!


It probably won't - I did not change that axiom previously, instead I changed the part_of system axiom. But perhaps we should look at changing that axiom. Let me look into it a bit more


Revert 3275 revert 3260 hmusum/remove version from def files

Trying again, have fixed the test that failed last time

+1


O365 no longer updating (2022.6)

I updated to 2022.6.6 last night. Now, it seems my O365 integration is broken (sensors and calendar not updating).
Logger: homeassistant.components.calendar
Source: helpers/entity_platform.py:724
Integration: Calendar (documentation, issues)
First occurred: June 16, 2022, 6:18:44 PM (938 occurrences)
Last logged: 9:57:46 AM

Updating o365 calendar took longer than the scheduled update interval 0:01:00

I've set logger to debug and just restart HA. I'll post more detailed logs later today.

Drats! Despite a few restarts last night, this issue was fixed on the restart from turning on logging. I'll close for now. Sorry ;-)

Could be just a bad connection for a while. No problem.


Error: Failed loading preprocess code for '<>': No module named 'transformers'

Hi everyone!
I faced the problem with ClearML-serving. I've deployed onnx model from huggingface in clearml-serving, but "Error processing request: Error: Failed loading pre process code for '<>': No module named 'transformers'" appears when trying to send a request like in example (https://github.com/allegroai/clearml-serving/tree/main/examples/huggingface).
Preprocessing file just like in example.
The transformers package has been installed with CLEARML_EXTRA_PYTHON_PACKAGES variable in serving service deployment file.
You got any ideas?
Thanks in advance

Solution: if you use Helm Chart and use variables in each container separately (instead of  .env file in docker-compose) you should install Python packages in clearml-serving-inference instead of clearml-serving-triton when deploy to triton engine


What is the purpose of creating DB user?

Hello.
Why does your role always create DB user when you need to create new DB? Creation of the database is totally understandable, but user?
Just about the logic, you MUST provide db user credentials to the role, with "create user" and "create database" access rights. That does mean that you must ALREADY have valid user for the DB beforehand. Why do you need to create another one in that case?

Hi,
Yes, you must provide user credentials that are already configured. This will probably be the 'root' or 'admin' account on the database, so you can create a user for the database specific for the application, in this case Zabbix. By using a separate user account for in this case Zabbix, this user only has access to the Zabbix database and not other databases that might have been configured on the server. And running all applications on a single admin account is not desirable from a security point-of-view.

This will probably be the 'root' or 'admin' account on the database, so you can create a user for the database specific for the application, in this case Zabbix

Well, may be implementing this as an option (like zabbix_database_creation) makes sense?
Providing full admin access to existing DB server only for purposes of creating another DB can not be considered as a secure decision.

I don't understand your comment. A zabbix user is created that has only rights to do its thing for the zabbix database, no access/rights on other databases on the database host. But in order to create a user, you'll have to provide credentials that have enough rights to create this zabbix user.

But in order to create a user, you'll have to provide credentials that have enough rights to create this zabbix user.

I mean this is the bad security design. Imagine you're database administrator and your server runs several databases for different projects. Your teammate asking you for a root account of DB server. Why? Only for purposes of installing a zabbix server.
My opinion is that creating database users is best to be outside of this role's tasks (or to be just the option for the convenience of deployment of a small all-in-one severs).

Ok, I understand. But what you describe is only for a minority of users, not every one has a team of database administrators working on their job.
So if you want, you can create a PR for this functionality. I would however, based on that I think it is only for a minority of users, that a default installation should be able to create a user and a database during its run.
If you are not able to (Or do not want to, which is of course also fine 😉) create a PR, then I will be take a look at it. Don't know when though.

There is already a property named zabbix_database_creation for this functionality. When set to False (Default is set t True) the database and corresponding user aren't created.


H3 build tools. Fix missing include detected on Fedora 40.

We found out that on Fedora40 the build script was failing building one of the tools(nghttp2) because of a missing include. This adds the missing include line.

[approve ci autest]

[approve ci autest]

I have verified locally that this works.

[approve ci autest]

Cherry-picked to v10.0.x


ylims_convex_hull=true doesn't play nice with multiple y axes

Hello! Just an annoying and rare case, but when using twinx() to plot a second y axis AND ylims_convex_hull=true ,
the right-hand side axes are scaled to exactly match the left-hand side ones. Maybe this is intentional, but perhaps they instead should instead be scaled together?
Here's a MWE:
First, when not using it:
using PlotIter
using Plots

# Example data
x = 1.0:0.01:(4 * pi)
x2 = 10.0:0.1:(40 * pi)

things = [(; title="A", w=1), (; title="B", w=2)];

# Make some plots!
plot_iter(things; num_cols=1) do thing
    plot!(
        x,
        sin.(x) .* thing.w;
        title=thing.title,
        label="x",
        legend=:left,
        right_margin=10Plots.mm,
    )
    plot!(twinx(), x, x2; label="x2", legend=:right)
end;

And with:
using PlotIter
using Plots

# Example data
x = 1.0:0.01:(4 * pi)
x2 = 10.0:0.1:(40 * pi)

things = [(; title="A", w=1), (; title="B", w=2)];

# Make some plots!
plot_iter(things; num_cols=1, ylims_convex_hull=true) do thing
    plot!(
        x,
        sin.(x) .* thing.w;
        title=thing.title,
        label="x",
        legend=:left,
        right_margin=10Plots.mm,
    )
    plot!(twinx(), x, x2; label="x2", legend=:right)
end;

To me the "correct" behaviour would be that the LH axis gets scaled to [-2, 2], and the RH to [0, 125] (approximately), which I think is what you're suggesting.
I think that case just hasn't been considered, definitely not intended behaviour!

I think this can be addressed by more accurately dealing with subplots.
A Plot has one or more Subplots – in a "normal" plot it just has one, but after using twinx() then a second subplot is generated. Each Subplot has its own independent axis limits.
The standard ylims (*) methods work with a subplot -- if you give it a Plot, it uses the first subplot to compute the limits. However if you call ylims! on a plot, it will apply the new limits to all subplots.
So I think the solution is to:

Make the default dispatch of *lims_convex_hull dispatch on Subplots, not Plots (for which behaviour is clear-cut)
When we have a Plot, apply the limits independently to "matching" subplots.

For 2, I'm not quite sure what the behaviour should be if subplots don't match up. Generally I like to raise exceptions, but possibly it'd be better to just ignore trailing subplots in this case.
(*) Same for x, y, and z, but using concrete example here.


User is authenticated but not connected

Firstly, thanks for making this. After following the steps in the README and running offlineimap, I get this error:
OfflineIMAP 7.3.0
  Licensed under the GNU GPL v2 or any later version (with an OpenSSL exception)
imaplib2 v3.06, Python v3.10.4, OpenSSL 1.1.1n  FIPS 15 Mar 2022
Account sync outlook:
 *** Processing account outlook
 Establishing connection to outlook.office365.com:993 (outlook-Remote)
 ERROR: While attempting to sync account 'outlook'
  LIST command error: BAD [b'User is authenticated but not connected.']. Data: b'CEDD6 LIST "" ""\r\n'
 *** Finished account 'outlook' in 0:04
ERROR: Exceptions occurred during the run!
ERROR: While attempting to sync account 'outlook'
  LIST command error: BAD [b'User is authenticated but not connected.']. Data: b'CEDD6 LIST "" ""\r\n'

Traceback:
  File "/usr/lib/python3.10/site-packages/offlineimap/accounts.py", line 298, in syncrunner
    self.__sync()
  File "/usr/lib/python3.10/site-packages/offlineimap/accounts.py", line 374, in __sync
    remoterepos.getfolders()
  File "/usr/lib/python3.10/site-packages/offlineimap/repository/IMAP.py", line 672, in getfolders
    imapobj = self.imapserver.acquireconnection()
  File "/usr/lib/python3.10/site-packages/offlineimap/imapserver.py", line 607, in acquireconnection
    listres = imapobj.list(self.reference, '""')[1]
  File "/usr/lib/python3.10/site-packages/offlineimap/imaplib2.py", line 917, in list
    return self._simple_command(name, directory, pattern, **kw)
  File "/usr/lib/python3.10/site-packages/offlineimap/imaplib2.py", line 1705, in _simple_command
    return self._command_complete(self._command(name, *args), kw)
  File "/usr/lib/python3.10/site-packages/offlineimap/imaplib2.py", line 1452, in _command_complete
    raise self.error('%s command error: %s %s. Data: %.100s' % (rqb.name, typ, dat, rqb.data))

Have you seen this error? Do you have any tips for resolving it? Here is my config:
[general]
accounts = outlook

[Account outlook]
localrepository = outlook-Local
remoterepository = outlook-Remote

[Repository outlook-Local]
type = Maildir
localfolders = ~/Maildir/Outlook

[Repository outlook-Remote]
type = IMAP
sslcacertfile = /etc/pki/tls/certs/ca-bundle.crt
remotehost = outlook.office365.com
remoteuser = <my email address>
# I tried both with and without specifying a password by adding and removing this line:
remotepass = <my password>
auth_mechanisms = XOAUTH2
oauth2_request_url = https://login.microsoftonline.com/common/oauth2/v2.0/token
oauth2_client_id = <thunderbird client_id>
oauth2_client_secret = <thunderbird client_secret>
oauth2_refresh_token = <contents of my imap_smtp_refresh_token file>

Any help would be appreciated!

This error can unfortunately mean a number of things, including invalid credentials or a rate limit. It might also be that IMAP is simply not enabled for this mailbox, check that this is turned on in the Exchange Online admin panel.
Finally in the last day or so there was a service disruption in Exchange Online which might also have caused this error, but that should be fixed today.

It happened to me that one or more of Microsoft's servers were down.
If it helps the next person, following helped me fix it.

Get the ip of the server.
$ dig +short outlook.office365.com

Force it to use a specific server by adding this line to /etc/hosts, replace XX with one of IPs from above command.
XX.XX.XX.XX outlook.office365.com


Arrow Keys Are Non-Functional - Win 11.

Howdy.
This looks cool. There is an issue I experience though. The only key that works in Windows Terminal is the '/' key. None of the Arrow Keys work, hence the utility is essentially completely useless. See attached mp4s and zip sample.
https://github.com/gennaro-tedesco/gh-s/assets/48074223/60db8428-6403-4c85-8741-b2592fcc23b4
https://github.com/gennaro-tedesco/gh-s/assets/48074223/fadb98a4-c21e-429f-aaca-a92343928fcf
github-s-utility-broken-arrows.zip

I suspect this issue is similar to this other one: essentially the behaviour of the keys in the terminal is responsibility of the promptui library that I use; in this respect the extension doesn't set the behaviour of the keys on specific terminals (as such this problem is unfortunately outside the scope of this extension).
In the provided link above other users and I mention long-standing issues that have existed (especially on windows) - thus the best way would be to refer to the owners of promptui and have them fix the behaviour on windows terminals :/

Gotcha. That's too bad.


Update handlers for periodic/non-periodic methods

Description
Since _CustomNonbondedHandler does not inherit from vdWHandler - and I'm not suggesting it should - the updates relating to OFF-EP-0008 (i.e. https://github.com/openforcefield/openff-toolkit/pull/1679) must be done manually.
I think this will require an Interchange release to pass tests top-to-bottom, and I'll install against this branch to ensure that's on its way.
Todos
Notable points that this PR has either accomplished or will accomplish.

[ ] Ensure this works with Interchange

Questions

[ ] Question1

Status

[ ] Ready to go

Codecov Report
Patch coverage: 100.00% and project coverage change: +0.20% :tada:

Comparison is base (5302055) 75.21% compared to head (ac58ea9) 75.41%.
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #59      +/-   ##
==========================================
+ Coverage   75.21%   75.41%   +0.20%
==========================================
  Files           4        4
  Lines         238      240       +2
==========================================
+ Hits          179      181       +2
  Misses         59       59

Flag
Coverage Δ

unittests
75.41% <100.00%> (+0.20%)
:arrow_up:

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

Files Changed
Coverage Δ

smirnoff_plugins/collections/nonbonded.py
95.65% <100.00%> (+0.04%)
:arrow_up:

smirnoff_plugins/handlers/nonbonded.py
85.36% <100.00%> (+0.36%)
:arrow_up:

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


[feature request] navigation with SQL cursors

Currently, this is not possible to see cursor declaration and references
Could it be possible to identify it as a variable ?
It would be awesome if we can move thru cursor calls

I think this is a reasonable request, let me have a think about the best way I can do it.

Please try out version 10.8.28

Okay
Go to / peek definition works
But Go to / peek references doesn't
It is still a bit easier to navigate thanks

this feature broke https://github.com/spgennard/vscode_cobol/issues/333 with the update

Thanks, i will look at it tonight.
Peek references are present but hoverover peek is not

If you get a chance, update and you should fine it has changed.

Yep it got fix, thanks

Tell me if I'm wrong
We can only see cursor DECLARE and FETCH right ?
It didn't seem to work on OPEN and CLOSE

It should be okay, can you provide an example (does not have to compile, so you remove anything important to you)

Okay it works in my example but doesn't in the code
I'm searching for the bug

Sorry for the long waiting time.
I found out the bug doesn't come directly from your extension.
I copied a program with the bug in a new file to remove some parts and see what breaks the feature.
Surprsingly, it worked without removing any part...
I am still searching why it doesn't work in the original file.
Thanks for everything,
Léo

Okay, thanks

The functionnality broke with version 24.9.29

Should be okay now

Yeah, it is partially back

I can see cursor declaration but I can't navigate to it


Refactor existing tests

Why would this not always be true, immediately? k8sClient reads directly from the Kubernetes API.

Originally posted by @squaremo in https://github.com/weaveworks/tf-controller/pull/1061/files#r1379072182

That's a fully copy paste from a different test and I added extra tests at the end end removed unrelated tests, but mostly kept as it is, and that's why I said a few months ago to not address it per test, but create a follow-up issue, refractor tests, otherwise we will end up with the same problems if anyone tries to create a new test case as everyone will start their new test case by finding one that "kind of tests" the same thing, and change it to fulfil the needs of the test case.

Originally posted by @yitsushi in https://github.com/weaveworks/tf-controller/pull/1061#discussion_r1382653759

Scope:

Remove unnecessary parts: there are some block that tests nothing really, just a leftover from a previous copy-paste.
Investigate and potentially refactor checks depending on exact value. For example there are checks to verify there is only one status condition, but in reality it should check:

it has at least 1 entry
it has a specific entry

Have you considered refactor some tests to be using https://github.com/kyverno/chainsaw ? I have used it for some controllers and it creates really readable and easy to maintain e2e tests. However, it can be difficult to use if you require to mock out certain parts of the code.

would love to try it. maybe you could introduce it to this project by porting just one simple e2e case and we would evaluate them together.

I could do that!


[Bug]: Cannot find package 'ink'

Please confirm that you have:

[X] Searched existing issues to see if your issue is a duplicate. (If you’ve found a duplicate issue, feel free to add additional information in a comment on it.)
[X] Reproduced the issue in the latest CLI version.

In which of these areas are you experiencing a problem?
App
Expected behavior
It should work.
Actual behavior
It raises an error with Yarn, but it works with NPM or PNPM.
$ shopify app dev
╭─ error ───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
│                                                                                │
│  [MODULE_NOT_FOUND] import() failed to load<EMAIL_ADDRESS>Cannot find       │
│  package 'ink' imported from<EMAIL_ADDRESS>                   │
│                                                                                │
╰───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯

Reproduction steps

yarn create @shopify/app --template none
yarn generate extension --template subscription_ui --flavor react
yarn dev

Operating System
Mac
Shopify CLI version (check your project's package.json if you're not sure)
3.49.4
Shell
No response
Node version (run node -v if you're not sure)
20.6.1
What language and version are you using in your application?
No response

Same here! I think this is a new bug.

As a workaround, you can run yarn add -W<EMAIL_ADDRESS>Alternatively, it also works with NPM or PNPM, or with the Remix template.


PBIS authentication stops working on Ubuntu Server 16.04.2

Version: <IP_ADDRESS>4
OS/Distro: Ubuntu server 16.04.2
Issue/Impact: [lsass] Error: Failed to refresh machine TGT for
Keep getting the following error after a week or two on one machine:
[lsass] Error: Failed to refresh machine TGT for xxxxxxxx
Users can't login at this point.
Only way to fix this that I have found is to restart lwsmd and then rejoin the domain.  Will work for another week or two and then need to repeat those steps.
Have another server with same setup that has no problems.

Try setting lsass to debug just before the machine password expires to see what the errors are. If you don't want to wait, set it to reset each hour:
/opt/pbis/bin/config MachinePasswordLifespan 3600
Also a packet capture could help identify what failed.

It seemed to work ok for a while even with the shortened expiration time but then I got the following and it is broken again:
20170828193458:VERBOSE:lsass:ADRefreshMachineTGT():lsass/server/auth-providers/ad-open-provider/machinepwd.c:548: Refreshing machine TGT
20170828193458:VERBOSE:lsass:ADSyncMachinePasswordThreadRoutine():lsass/server/auth-providers/ad-open-provider/machinepwd.c:377: Machine TGT was refreshed successfully for XXXXXXXX
20170830010458:DEBUG:lsass:LsaMachineChangePassword():lsass/server/auth-provider
s/ad-open-provider/join/join.c:3175: Error code: 86 (symbol: ERROR_INVALID_PASSW
ORD)
20170830010458:ERROR:lsass:ADChangeMachinePasswordInThreadLock():lsass/server/au
th-providers/ad-open-provider/machinepwd.c:214: Error: Failed to change machine
password for XXXXXXXXXXXXXXXX (error = 86)
20170830010458:DEBUG:lsass:ADChangeMachinePasswordInThreadLock():lsass/server/au
th-providers/ad-open-provider/machinepwd.c:221: Error code: 86 (symbol: ERROR_IN
VALID_PASSWORD)
20170830010458:VERBOSE:lsass:ADRefreshMachineTGT():lsass/server/auth-providers/ad-open-provider/machinepwd.c:548: Refreshing machine TGT
20170830010458:WARNING:LwTranslateKrb5Error():lwadvapi/threaded/lwkrb5.c:874: [LwKrb5GetTgtImpl /builder/src-git/Platform/src/linux/lwadvapi/threaded/krbtgt.c:346] KRB5 Error code: -1765328360 (Message: Preauthentication failed)
20170830010458:DEBUG:LwKrb5InitializeCredentials():lwadvapi/threaded/lwkrb5.c:576: [LwKrb5InitializeCredentials() /builder/src-git/Platform/src/linux/lwadvapi/threaded/lwkrb5.c:576] Error code: 40022 (symbol: )
20170830010458:DEBUG:lsass:ADRefreshMachineTGT():lsass/server/auth-providers/ad-open-provider/machinepwd.c:567: Error code: 40022 (symbol: LW_ERROR_PASSWORD_MISMATCH)

Is there a chance you have multiple computers joined with the same name?

Hi,
I faced similar issue when trying to login, this was in the logs:
in /var/log/syslog:
Nov 17 12:34:26 tec-no002 lsass: [lsass] Error: Failed to change machine password for SERVER.LAN (error = 86)
Nov 17 12:34:26 tec-no002 lsass: [LwKrb5GetTgtImpl /builder/src-git/Platform/src/linux/lwadvapi/threaded/krbtgt.c:346] KRB5 Error code: -1765328360 (Message: Preauthentication failed)
Nov 17 12:34:26 tec-no002 lsass: [lsass] Error: Failed to refresh machine TGT for SERVER.LAN (error = 40022)

in /var/log/auth.log:
Nov 17 12:27:03 tec-no002 lightdm: [lsass-pam] [module:pam_lsass]pam_sm_authenticate error [login:SERVER\aaditya][error code:40022]

Am trying to debug it and will post more info after finding out what the issue is.

Please upgrade to Active Directory Bridge Enterprise. If the issue still exists then please submit a ticket to our service team and we’ll have a look for you.
pbis-open will longer receive updates and will be archived. Closing all outstanding issues. Please consider BeyondTrust Active Directory Bridge for continued support.
https://www.beyondtrust.com/privilege-management/active-directory-bridge


Long username in menu overflows

Usernames should not overflow the menu box. Truncate?

20 character limit with ellipsis.


Admin Cannot login to portals when the password is updated

Description
Admin Cannot login to portals when the password is updated
Steps to Reproduce

Login ad admin to devportal
Select logout
select change password option
Update password
Try to login again

Affected Component
APIM
Version
4.3.0-alpha
Environment Details (with versions)
No response
Relevant Log Output
When logging into devportal

[2024-03-22 16:29:52,272] ERROR - introspect_jsp {
  "traceId": "67739db5-ecc2-42f6-a2f8-b80f02033f01",
  "code": 401,
  "description": "Authorization failure. Authorization information was invalid or missing from your request.",
  "message": "Unauthorized"
}

Related Issues
No response
Suggested Labels
No response

This is the expected behaviour in the product and this behaviour is there in previous APIM versions as well. If the super admin password needs to be changed, you need to follow the steps in [1].
[1] - https://apim.docs.wso2.com/en/latest/install-and-setup/setup/security/logins-and-passwords/maintaining-logins-and-passwords/


Version 18.4 crashes when open a diagram

I created a diagram with my version 18.4. I turned off my computer and when trying to open the diagram it crashes.

Closing issue now.


separator shorter

Is it possible to show the separator a bit shorter?

I've looked into the native NumberPicker code and there is no easy way to do that using this library. As I stated in the README, it is exclusively based on the native picker and intends to let the access some basic properties using reflection.
The separator that is being used is a Drawable that is drawn by the component. I was able to color it but I cannot easily redraw its bounds. If you have an implementation idea you're welcome to propose it and pull request your code.

Solved it.
I put one invisible button on the left and another on the right side of the MaterialNumberPicker and then used it with material-dialogs.
Therefore this is resolved for me.
Thanks for the lib and the styling options. :-)


Android: resizeToAvoidBottomPadding improperly resized bottomNavigationBar with PageView when resizeToAvoidBottomPadding is true

Steps to Reproduce
See attached source code. When resizeToAvoidBottomPadding: false, the bottom bar sticks to the top of the keyboard. When resizeToAvoidBottomPadding: true, the bottom bar gets forced up on the page and starts overlapping the content at the top of the page.
Logs
flutter run had no errors
flutter run -d '<IP_ADDRESS>:8032'
Launching lib/main.dart on LG H872 in debug mode...
Initializing gradle...                                0.8s
Resolving dependencies...                             1.0s
Running 'gradlew assembleDebug'...                    7.3s
Built build/app/outputs/apk/app-debug.apk (23.2MB).
Installing build/app/outputs/apk/app.apk...          29.5s
I/FlutterActivityDelegate( 8653): onResume setting current activity to this
Syncing files to device LG H872...                    4.2s

🔥  To hot reload your app on the fly, press "r". To restart the app entirely, press "R".
An Observatory debugger and profiler on LG H872 is available at: http://<IP_ADDRESS>:8106/
For a more detailed help message, press "h". To quit, press "q".
I/ViewRootImpl( 8653): ViewRoot's Touch Event : ACTION_DOWN
I/ViewRootImpl( 8653): ViewRoot's Touch Event : ACTION_UP

Run flutter analyze and attach any output of that command also.
Analyzing /Users/brianarmstrong/workspace/android/bottom_nav_bar...
  hint • The stack trace variable 'stackTrace' isn't used and can be removed at lib/main.dart:88:21 • unused_catch_stack
  hint • The stack trace variable 'stackTrace' isn't used and can be removed at lib/main.dart:98:21 • unused_catch_stack
2 issues found.
(Ran in 5.2s)

Flutter Doctor
Paste the output of running flutter doctor here.
[✓] Flutter (on Mac OS X 10.12.6 16G1036, locale en-US, channel alpha)
    • Flutter at /Users/brianarmstrong/workspace/flutter
    • Framework revision 8f65fec5f5 (4 days ago), 2017-12-12 09:50:14 -0800
    • Engine revision edaecdc8b8
    • Tools Dart version 1.25.0-dev.11.0
    • Engine Dart version 2.0.0-edge.d8ae797298c3a6cf8dc9f4558707bd2672224d3e

[✓] Android toolchain - develop for Android devices (Android SDK 26.0.2)
    • Android SDK at /Users/brianarmstrong/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-26, build-tools 26.0.2
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-915-b08)

[✓] iOS toolchain - develop for iOS devices (Xcode 9.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 9.1, Build version 9B55
    • ios-deploy 1.9.2
    • CocoaPods version 1.3.1

[✓] Android Studio (version 3.0)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-915-b08)

[✓] Connected devices
    • LG H872  • <IP_ADDRESS>:8032                  • android-arm • Android 7.0 (API 24)
    • iPhone 8 • B2A6D06C-9B34-45BE-ACDB-BC1E1666C76D • ios         • iOS 11.1 (simulator)

When resizeToAvoidBottomPadding: false

When resizeToAvoidBottomPadding: true

Source code to reproduce broken case (main.dart):
main.dart

dupe of #13475 ?

@jonasbark it would appear so.


Move context specific settings items as children of  the scenario model

Acceptance:

[ ] Move factor tables as a child of scenario or remove them and add them to interactive elements
[ ] Move interactive elements to scenarios
[ ] Make interactive modes (storyline/challenge and possibly sandbox) depend on the scenario and filter interactive elements based on that

Will be closed by https://github.com/ZEnMo/Holon-webapp/pull/299


Thank you for this package!

I'm super impressed by your good work here and very grateful for it 👍
This package is exactly what I was looking for, I can't believe Pillow doesn't do all of these simple things by default. Thankfully I found this, you deserve more stars! I don't know if you maintain this anymore, but best wishes :)

thank you for the kind words @stringie, glad you found it useful :)


[tock] Uninitialized Memory Read in ConsoleComponent

@sriyerg has been running a OpenTitan tock image in the DV simulator and ran into an issue where the image was reading uninitialized memory. He got us an instruction trace and a disassembled image:

trace_core_00000000_log.txt
opentitan-disassembled.txt

The trace fails at PC 0x200039b4, where the address 0x10000fa8 is being read.
Initial Investigation by me

The read address is coming from a lw a4,-24(s0) instruction, where s0 has value 0x10000fc0.
s0 is initialized in the function prolog: it is the frame pointer.

In the function prolog, sp enters as 0x10000fc0 (PC: 0x20003942)
The function allocates 32 bytes of stack space (c.addi sp, -32)
The function then saves two words to the stack, using sp (PC: 0x20003944-0x20003946), at offsets 28(sp) and 24(sp). Both are word-sized.
The function then initializes s0 to sp + 32 (PC: 0x20003948)

Starting at PC: 0x200039a2, there is a run of word-sized fp-based accesses. To offsets:

-12(fp) (aka 20(sp))
-16(fp) (aka 16(sp))
-20(fp) (aka 12(sp))
-24(fp) (aka 8(sp)) This last one is the one that fails, but every other one in this run is also an undefined access (because those parts of the stack have not been initialized in this function).

The rust functions that make up this compiled function are:

PC: 0x20003942 <<components::console::ConsoleComponent as kernel::component::Component>::finalize>
PC: 0x20003994 kernel::sched::Kernel::create_grant() (inlined)
PC: 0x200039a2 core::ptr::write() (inlined).

Investigation still needing followed up

The run of word-sized accesses that are not valid are to load a series of words into a buffer pointed to by a3.

a3 is initialized to the address of <<components::console::ConsoleComponent as kernel::component::Component>::finalize::BUF>

Looking at the linker script and the flash_crt.S:

the stack is zeroed in _flash_start.
the extents of the stack are 0x200fffe0 to 0x200fe000 (_stack_start to _stack_end). This is not actually enforced in the function prologs and epilogs, but the CRT should at least zero this range.

This is a very old issue and I am not sure it is still a problem.
Closing for now, but please reopen if the behavior is still there.
CC @timothytrippel @cfrantz @mundaym


How to create a XXXcontroller with TickerProviderStateMixin?

If I want to create a AnimationController(vsync) or TabController(length, vsync), where should I initialize it in the framework class? It seems that I can't use with TickerProviderStateMixin in the viewModel, presenter, or useCase classes. Have you considered this issue or did I just miss something?

You can create your stateful widget and use the widget in UI's build method.

Treat it as a sub-widget of a stateful widget?
If I have a tabController or an AnimationController and want to call xxxcontroller's methods directly in the parent widget, such as tabController.jumpToTab(), animationController.forward(), can you think of any solutions?
This type of business scenario should be very common.


Centralize error handling in ExceptionMiddleware

I was writing the documentation on exception handling, and I noticed that it was very hard to explain our current behavior.
Error handlers can be registered either on the internal Flask app (not the Starlette one) or on the Connexion app, which leads to some undefined (actually just really hard to explain) behavior. Eg.

Registering error handlers on a status code would capture starlette.HTTPException errors on the Connexion app, and werkzeug.HTTPException errors on the Flask App, which means that registering an error handler on a status code doesn't catch all the errors with that status code.
Flask does some default error handling which leads to some exceptions never reaching the error handlers registered on the Connexion app.

So I made the following changes:

Replaced the default error handlers we registered on the Flask app with a default handler on the ExceptionMiddleware that takes into account other handlers registered on status codes.
Configured Flask to propagate exceptions instead of catching them.
Abstracted away the  Starlette Request and Response types, so users can and must now use ConnexionRequest
and ConnexionResponse types in error handlers.
Renamed the ASGIRequest class to ConnexionRequest since it is the only Request class part of the high level
Connexion interface.

We could also rename ConnexionRequest and ConnexionResponse to just Request and Response. Wdyt?

coverage: 94.409% (-0.04%) from 94.453% when pulling 02806e378dafe0e819621b2061340d88d0ef27a9 on feature/propagate-flask-exceptions into 1b72019b1bcd31191d4a37c2e4e7212dfe94566b on main.


Add PRUF: PRUF

[X] I understand that token listing is not required to use the Polygon Wallet with a token.

Please provide the following information for your token.
Token Name: PRUF
Token Symbol: PRUF
Decimals: 18
Polygon Address: 0xAdf72D32E511eE00c6E0FF5D62Cd5C7C40A6aDEA
Ethereum Address: 0xa49811140e1d6f653dec28037be0924c811c4538
Logo URI: https://pruf.io/assets/images/prufcircle-1200x1200.png
Project Name: PRüF Protocol
Project Summary: The PRüF Protocol brings legitimacy and permanence to tokenized assets, endowing standards compliant tokens with super-powers. PRüF enabled NFTs and assets deliver lasting value through permanent storage,
future-proof protocols, and DAO governance.
Project Contact<EMAIL_ADDRESS>Project Website:https://pruf.io
Mainnet/Testnet: Mainnet, Protocol in testnet
Additonal Notes:

Included in AllTokens v1.2.0.


Create Controller Object

This will pair up the input class and block structure with input coord and offset in order to place a controller in the MC World that also invoked the input class to associate some range of blocks in that structure as an input.  This will be useful for creating custom paddles in MC.

Worked this into GameObject issue


🐛 Bug Report: Not able to ingest a group that ends with a period

📜 Description
If the name of the group read from MSGraph ends with a period (ex. "Some Group Name."), the group will not be created properly.
👍 Expected behavior
The group should be created.
👎 Actual Behavior with Screenshots
The group was not created, and the following error message was found in the refresh_state table.
select * from refresh_state

{"metadata": ... "name":"data_engineering_dept.","description":""},"apiVersion":"backstage.io/v1alpha1","kind":"Group","spec":{"type":"team","profile":{"displayName":"Data Engineering Dept.","email": ...
... [{"name":"InputError","message":"Policy check failed for group:default/data_engineering_dept.; caused by Error: "metadata.name" is not valid; expected a string that is sequences of [a-zA-Z0-9] separated by any of [-.], at most 63 characters in total but found "data_engineering_dept.". To learn more about catalog file format, visit: https://github.com/backstage/backstage/blob/master/docs/architecture-decisions/adr002-default-catalog-file-format.md","cause":{"name":"Error","message":""metadata.name" is not valid; expected a string that is sequences of [a-zA-Z0-9] separated by any of [-.], at most 63 characters in total but found "data_engineering_dept.". To learn more about catalog file format, visit: https://github.com/backstage/backstage/blob/master/docs/architecture-decisions/adr002-default-catalog-file-format.md","stack":"Error: "metadata.name" is not valid; expected a string that is sequences of [a-zA-Z0-9] separated by any of [-_.], at most 63 characters in total but found "data_engineering_dept.". To learn more about catalog file format, visit: https://github.com/backstage/backstage/blob/master/docs/architecture-decisions/adr002-default-catalog-file-format.md

👟 Reproduction steps

Integrate with MSGraph
Create provider configuration with filter. ex) group.filter=displayName eq 'Data Engineering Dept.'
Run the backstage backend

📃 Provide the context for the Bug.
No response
🖥 Your Environment
No response
👀 Have you spent some time to check if this bug has been raised before?

[X] I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

[X] I have read the Code of Conduct

Are you willing to submit PR?
No, but I'm happy to collaborate on a PR with someone else

Entity names can't being or end with a non-alphanumerical character, so you will most likely need to provide custom group transformers to mutate the name of your group to the supported format (this WILL override the default transformers though).
If you're using the new backend system, you can create a backend module with pluginId: catalog, and use the microsoftGraphOrgEntityProviderTransformExtensionPoint to register your transformers.

Thank you @Zaperex
I'll try custom group transformer. 👍🏼


Provide help when there is a typo in a command

Hello
As discussed here https://discourse.dry-rb.org/t/usage-of-did-you-mean-for-command-with-typos-in-dry-cli/1824.
Here is a basic proposal to add spell checker on commands and sub commands using did_you_mean gem.
There is probably a more elegant way to deal with leaf command, but I did a pretty naïve approach.
$ ./foo sub comma
I don't know how to 'comma'. Did you mean: 'command' ?

Commands:
  foo sub command         # Override a subcommand

$ ./foo su
I don't know how to 'su'. Did you mean: 'sub' ?

Commands:
  foo assets [SUBCOMMAND]
  foo callbacks DIR                                          # Command with callbacks
  foo console                                                # Starts Foo console
  foo db [SUBCOMMAND]
  foo destroy [SUBCOMMAND]
  foo exec TASK [DIRS]                                       # Execute a task
  foo generate [SUBCOMMAND]
  foo greeting [RESPONSE]
  foo hello                                                  # Print a greeting
  foo new PROJECT                                            # Generate a new Foo project
  foo root-command [ARGUMENT|SUBCOMMAND]                     # Root command with arguments and subcommands
  foo routes                                                 # Print routes
  foo server                                                 # Start Foo server (only for development)
  foo sub [SUBCOMMAND]
  foo variadic [SUBCOMMAND]
  foo version                                                # Print Foo version

Also to make it work. Locally I add to modify one of the gemfile.
--- a/Gemfile.devtools
+++ b/Gemfile.devtools
@@ -2,8 +2,6 @@

 # This file is synced from dry-rb/template-gem repo

-gem "rake", ">= 12.3.3"
-
 group :test do
   gem "simplecov", require: false, platforms: :ruby
   gem "simplecov-cobertura", require: false, platforms: :ruby
@@ -13,6 +11,4 @@ group :test do
 end

 group :tools do
-  gem "rubocop", "~> 1.55.0"
-  gem "byebug"
 end

Otherwise I had some warnings
A gemspec development dependency (rake, ~> 13.0) is being overridden by a Gemfile dependency (rake, >= 12.3.3).
This behaviour may change in the future. Please remove either of them, or make sure they both have the same requirement
A gemspec development dependency (rake, ~> 13.0) is being overridden by a Gemfile dependency (rake, >= 12.3.3).
This behaviour may change in the future. Please remove either of them, or make sure they both have the same requirement
A gemspec development dependency (rake, ~> 13.0) is being overridden by a Gemfile dependency (rake, >= 12.3.3).
This behaviour may change in the future. Please remove either of them, or make sure they both have the same requirement
A gemspec development dependency (rubocop, ~> 0.82) is being overridden by a Gemfile dependency (rubocop, ~> 1.55.0).
This behaviour may change in the future. Please remove either of them, or make sure they both have the same requirement
A gemspec development dependency (rubocop, ~> 0.82) is being overridden by a Gemfile dependency (rubocop, ~> 1.55.0).
This behaviour may change in the future. Please remove either of them, or make sure they both have the same requirement
A gemspec development dependency (rubocop, ~> 0.82) is being overridden by a Gemfile dependency (rubocop, ~> 1.55.0).
This behaviour may change in the future. Please remove either of them, or make sure they both have the same requirement
Your Gemfile lists the gem byebug (>= 0) more than once.
You should probably keep only one of them.
Remove any duplicate entries and specify the gem only once.
While it's not a problem now, it could cause errors if you change the version of one of them later.
Your Gemfile lists the gem byebug (>= 0) more than once.
You should probably keep only one of them.
Remove any duplicate entries and specify the gem only once.
While it's not a problem now, it could cause errors if you change the version of one of them later.
Your Gemfile lists the gem byebug (>= 0) more than once.
You should probably keep only one of them.
Remove any duplicate entries and specify the gem only once.
While it's not a problem now, it could cause errors if you change the version of one of them later.

I didn't look at this in the PR.

Thanks @benoittgt!


How to to throttle regardless of IP address, Client Key or Endpoint?

hi,
Our requirement is to limit the number of API calls regardless of it has been originated from the same IP address or different.  We also do not want to limit by Client API key  or Endpoint. How can it be done.? I tried ThrottlePolicy with global perWeek = 1 and setting all(IpThrottling, EndPointThrottling,ClientThrottling) to false, but it did not help because I beleive Throttling is disabled.
Do you have any suggestion?

You can do this by enabling ClientThrottling. If a the client key is not specified, then all your clients will have the anon key. So you can rate limit all of them under that key. You don't have to target the anon key, all you need to do is enable ClientThrottling and to define global rate limits.