✨(frontend) setup keycloak

Purpose
In order to facilitate the addition of large directories of accounts and to centralize the connection, we decided to add keycloak
Proposal

[x] add support for OIDC authentication on the backend
[x] add keycloak in docker
[x] use keycloak in front
[x] added a new simpler layout
[x] added a new user preferences page

@PanchoutNathan It looks like some commits already exists in the main branch.
Can you confirm that everything is ok, please ?


Testing 3 Backticks Code Automated Message

console.log('Hello World!');

Hi @stevengum97! Thank you for filing your issue!If you have not visited Stack Overflow to find more information, I highly encourage you to do so!


Cfg path extractor

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
799

Relevant Lines:
1491

💛  - Coveralls


Assertion 'ecma_is_value_empty (completion_value)' failed in vm_var_decl

Jerry version:
Checked revision: 7692aa9d
Build command: ./tools/build.py --clean --debug

OS:
Ubuntu 17.10

Test case:

Object.freeze (this)
{
eval('{ function boo() {} }')
}

Backtrace:
ICE: Assertion 'ecma_is_value_empty (completion_value)' failed at jerryscript/jerry-core/vm/opcodes.c(vm_var_decl):58.
Error: ERR_FAILED_INTERNAL_ASSERTION

Program received signal SIGABRT, Aborted.
0x0000000000475246 in syscall_2 () at jerryscript/jerry-libc/target/posix/jerry-asm.S:59
59	  SYSCALL_2
(gdb) bt
#0  0x0000000000475246 in syscall_2 () at jerryscript/jerry-libc/target/posix/jerry-asm.S:59
#1  0x000000000040ddfe in raise (sig=6) at jerryscript/jerry-libc/target/posix/jerry-libc-target.c:98
#2  0x000000000040ddd0 in abort () at jerryscript/jerry-libc/target/posix/jerry-libc-target.c:81
#3  0x0000000000407129 in jerry_port_fatal (code=ERR_FAILED_INTERNAL_ASSERTION)
    at jerryscript/jerry-port/default/default-fatal.c:71
#4  0x000000000044dc48 in jerry_fatal (code=ERR_FAILED_INTERNAL_ASSERTION) at jerryscript/jerry-core/jrt/jrt-fatals.c:58
#5  0x000000000044dc9a in jerry_assert_fail (assertion=0x475538 "ecma_is_value_empty (completion_value)",
    file=0x475508 "jerryscript/jerry-core/vm/opcodes.c", function=0x48afc8 <__func__.3502.lto_priv.46> "vm_var_decl", line=58)
    at jerryscript/jerry-core/jrt/jrt-fatals.c:82
#6  0x0000000000401bc0 in vm_var_decl (frame_ctx_p=0x7fffffffd740, var_name_str_p=0x695a28 <jerry_global_heap+2024>)
    at jerryscript/jerry-core/vm/opcodes.c:58
#7  0x0000000000433630 in vm_init_loop (frame_ctx_p=0x7fffffffd740) at jerryscript/jerry-core/vm/vm.c:675
#8  0x0000000000437fcf in vm_execute (frame_ctx_p=0x7fffffffd740, arg_p=0x0, arg_list_len=0)
    at jerryscript/jerry-core/vm/vm.c:2791
#9  0x0000000000438289 in vm_run (bytecode_header_p=0x695a10 <jerry_global_heap+2000>, this_binding_value=27,
    lex_env_p=0x695268 <jerry_global_heap+40>, is_eval_code=true, arg_list_p=0x0, arg_list_len=0)
    at jerryscript/jerry-core/vm/vm.c:2884
#10 0x0000000000432e4e in vm_run_eval (bytecode_data_p=0x695a10 <jerry_global_heap+2000>, is_direct=true)
    at jerryscript/jerry-core/vm/vm.c:277
#11 0x00000000004461ca in ecma_op_eval_chars_buffer (code_p=0x695420 <jerry_global_heap+480> "{ function boo() {} }", code_buffer_size=21,
    is_direct=true, is_called_from_strict_mode_code=false) at jerryscript/jerry-core/ecma/operations/ecma-eval.c:103
#12 0x00000000004460b4 in ecma_op_eval (code_p=0x695418 <jerry_global_heap+472>, is_direct=true, is_called_from_strict_mode_code=false)
    at jerryscript/jerry-core/ecma/operations/ecma-eval.c:58
#13 0x0000000000422389 in ecma_builtin_global_object_eval (this_arg=72, x=474)
    at jerryscript/jerry-core/ecma/builtin-objects/ecma-builtin-global.c:87
#14 0x000000000042213a in ecma_builtin_global_dispatch_routine (builtin_routine_id=34, this_arg_value=72, arguments_list=0x7fffffffdb64,
    arguments_number=1) at jerryscript/jerry-core/ecma/builtin-objects/ecma-builtin-global.inc.h:203
#15 0x0000000000473fe0 in ecma_builtin_dispatch_routine (builtin_object_id=ECMA_BUILTIN_ID_GLOBAL, builtin_routine_id=34,
    this_arg_value=72, arguments_list=0x7fffffffdb64, arguments_number=1)
    at jerryscript/jerry-core/ecma/builtin-objects/ecma-builtins.inc.h:484
#16 0x000000000047416a in ecma_builtin_dispatch_call (obj_p=0x6956b8 <jerry_global_heap+1144>, this_arg_value=72,
    arguments_list_p=0x7fffffffdb64, arguments_list_len=1) at jerryscript/jerry-core/ecma/builtin-objects/ecma-builtins.c:844
#17 0x0000000000446a95 in ecma_op_function_call (func_obj_p=0x6956b8 <jerry_global_heap+1144>, this_arg_value=72,
    arguments_list_p=0x7fffffffdb64, arguments_list_len=1) at jerryscript/jerry-core/ecma/operations/ecma-function-object.c:343
#18 0x0000000000433115 in opfunc_call (frame_ctx_p=0x7fffffffdbb0) at jerryscript/jerry-core/vm/vm.c:425
#19 0x0000000000438002 in vm_execute (frame_ctx_p=0x7fffffffdbb0, arg_p=0x0, arg_list_len=0)
    at jerryscript/jerry-core/vm/vm.c:2804
#20 0x0000000000438289 in vm_run (bytecode_header_p=0x695438 <jerry_global_heap+504>, this_binding_value=27,
    lex_env_p=0x695268 <jerry_global_heap+40>, is_eval_code=false, arg_list_p=0x0, arg_list_len=0)
    at jerryscript/jerry-core/vm/vm.c:2884
#21 0x0000000000432d75 in vm_run_global (bytecode_p=0x695438 <jerry_global_heap+504>) at jerryscript/jerry-core/vm/vm.c:232
#22 0x00000000004598f1 in jerry_run (func_val=195) at jerryscript/jerry-core/api/jerry.c:558
#23 0x0000000000458400 in main (argc=3, argv=0x7fffffffded8) at jerryscript/jerry-main/main-unix.c:656

Found by Fuzzinator with grammarinator.

This issue can be closed now.


Style is deprecated, but style is still needed

Take a look at this.
We have default style here. This style forms when there is no user props !className && !style && !activeStyle && !rejectStyle.
if (!className && !style && !activeStyle && !rejectStyle) {
      style = {
        width: 200,
        height: 200,
        borderWidth: 2,
        borderColor: '#666',
        borderStyle: 'dashed',
        borderRadius: 5
      };
      activeStyle = {
        borderStyle: 'solid',
        backgroundColor: '#eee'
      };
      rejectStyle = {
        borderStyle: 'solid',
        backgroundColor: '#ffdddd'
      };
    }

className, style, activeStyle, rejectStyle are deprecated. It is good, perhaps. But what if I do not need to see default styling? I do not need width: 200px, height: 200px, etc. Adding function as children (as you recommend in deprecate block) did not disable default style.
How can I customize a style of the top container, keeping the console clean?

See the discussion here #364


Adding File Memory Resource

https://umpire.readthedocs.io/en/feature-file-resource/

Looks good to me. @mcfadden8 can you review this again too please.

@aileenperez, please also update https://raw.githubusercontent.com/LLNL/Umpire/feature/file-resource/docs/sphinx/advanced_configuration.rst with documentation for the ENABLE_FILE_RESOURCE cmake setting.

@kab163 - take a look at this PR. @aileenperez has added a new MemoryResource to support allocating in mmap'd files.

LGTM


Guide people to the resource submission form

We are still seeing lots of PRs where people try to add new resources by hand. It would be nice to have a mechanism where we could notify them that they should use the form instead. One possibility is to set up pre-submit check/warning. Another possibility would be workflow that detects non-automatic PRs touching _resources and issue a warning.

I think that the above efforts may have helped.


Option values not working

The starting problem is with async Attribute which not execute the function at all.
When removing async Attribute, the function works fine outputing the right html with default classes while all options values are not being effective.
var wrapper = document.querySelector("nav");
var nav = priorityNav.init({
  mainNavWrapper: "nav",
  mainNav: ".navigation",
  navDropdown: "goold",
  navDropdownLabel: "googl",
  breakPoint:800
});

Any help with this issue?

Could you setup a codepen?

Since my project is on RTL pages, I managed to express in the same way:
http://codepen.io/anon/pen/JGpJXO


feat: symlink for images folder under post directory

#58 that solution looks unreachable since the next.js building failure:
Collected static files (public/, static/, .next/static): 8.288ms
Error: ENOENT: no such file or directory, mkdir '/vercel/output/static/images'

We switch the symlink direction.

Works well. /lgtm /approve


Shouldn't pull from solderer inputs

Issue description:
I put Importer cable to Solderer machine but it pulls everything out before materials have time to start processing.
What you expected to happen:
Only pull from Solderer's output slot. This would be consistent with all other mods, like when smelting wood to charcoal, no pipe ever pulls wood out from furnaces.
I was not able to solve it by whitelisting importer either. It doesn't pull certain items out even if they are not whitelisted.
Version (Make sure you are on the latest version before reporting):

Minecraft: 1.10.2
Forge: 2124
Refined Storage: 1.2.4

Does this issue occur on a server? [yes/no]
yes

Sides are for items and the bottom is for the result. So connect your pipe/extractor/... to the bottom.

Thanks that works. Being new to mod anyway i didn't even think to try that. Would it be better if all sides worked the same or is it a limitation in API's?

All sides output is kinda counter intuitive compared to other things. Output is usually bottom slot.


Yen's algorithm

Description
I have added Yen's algorithm: https://en.wikipedia.org/wiki/Yen's_algorithm.
Motivation and context
MultiDijkstra only returns multiple paths if they have exactly the same distance. I'd like to compute the k best paths, so I've added this algorithm.
How has this been tested?
Tested with a unit test based on the example from Wikipedia.
Types of changes
What types of changes does your code introduce? Put an x in all the boxes that apply:

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:
Go over all the following points, and put an x in all the boxes that apply.

[x] My pull request addresses exactly one patch/feature.
[x] I have created a branch for this patch/feature.
[x] Each individual commit in the pull request is meaningful.
[x] I have added tests to cover my changes.
[x] If my change requires a change to the documentation, I have updated it accordingly.

Started implementation

@PrinsFrank Implemented this PR from custom branch due to code clean-up


Integration of CLIP embedding model

Description
Issue #445

Summary by CodeRabbit

New Features

Introduced CLIPEmbedding for image and text embedding functionalities.

Bug Fixes

Improved file encoding handling in license updates.

Tests

Added tests for the new CLIPEmbedding functionality, covering initialization, embedding processes, and output dimension retrieval.

Hey @Appointat,  thanks for your detailed polish on the docstring! If other parts is also good for you could you approve this PR? Also one quick tip, maybe it's better to use review mode list suggestions rather than push commit directly, it would be better for PR owner to track the issue and learn from your review~

Hey @Appointat, thanks for your detailed polish on the docstring! If other parts is also good for you could you approve this PR? Also one quick tip, maybe it's better to use review mode list suggestions rather than push commit directly, it would be better for PR owner to track the issue and learn from your review~

Hey, thanks for the tip! I appreciate the tip for the code review. It does make sense to maintain clarity and help the PR owner to track changes. I was afraid that my comments were too many, so that I committed directly. By the way, my recent commits were focused on formatting and adding comments to improve code readability and maintainability. I've gone through the rest of the changes in the PR, and everything looks good to me. Good job!

By the way, my recent commits were focused on formatting and adding comments to improve code readability and maintainability.

Yeah. It makes sense not to leave every single detail in comments. The contributor can directly learn from reviewer's commits.

@FUYICC Hi, is the pr still in progress? Let me know if you have any difficulties.

@FUYICC Hi, is the pr still in progress? Let me know if you have any difficulties.

Thank you for your kind help! Sorry I've been mostly working on my dissertation for the past 3 weeks so I haven't had time to move forward, I'll be up and running starting next week, we'll discuss any questions anytime!


Fix user deletion possibly using wrong Auth instance

@samtstern Apparently, this bug has been in there since the beginning, but I just noticed it. Bug fixes! 🐛😄

SGTM, nice catch!


Can you tag a new release on github for v0.1.7?

The last tagged version is v0.1.2. Thanks!

Looks like I hadn't been pushing the tags. Sorry about that, should be fixed.


Implement hardware arbiters

Motivation
Hardware designers often need arbiters, it would be convenient if ROHD had some built in.
Desired solution
Implement a configurable or set of arbiters, and/or other generation/abstraction capabilities for arbitration.

Will work on it

These should be implemented in the ROHD Hardware Component Library (https://github.com/intel/rohd-hcl).
The first one is filed here: https://github.com/intel/rohd-hcl/issues/11


MISSING_PAGE_FAIL: error on this pdf

20.pdf
I get the following error in Colab when I try it on the attached pdf
/usr/local/lib/python3.10/dist-packages/torch/functional.py:504: UserWarning: torch.meshgrid: in an upcoming release, it will be required to pass the indexing argument. (Triggered internally at ../aten/src/ATen/native/TensorShape.cpp:3483.)
return _VF.meshgrid(tensors, **kwargs)  # type: ignore[attr-defined]
0% 0/1 [00:00<?, ?it/s]WARNING:root:Found repetitions in sample 0
INFO:root:Processing file 20.pdf with 1 pages
WARNING:root:Skipping page 1 due to repetitions.
100% 1/1 [00:03<00:00,  3.71s/it]
Nougat seems to be unable to ocr simple division written in the format. Any way to overcome this?
Thanks

Did u find anything on this ?

Still experimenting and comparing with other libraries. It doesn’t identify
figures and photos and extract them; at least not for the pdf I tried. Must
be the same for physics and chemistry diagrams
On Mon, 6 Nov 2023 at 10:07 PM, KartavyaBagga @.***>
wrote:

Did u find anything on this ?
—
Reply to this email directly, view it on GitHub
https://github.com/facebookresearch/nougat/issues/152#issuecomment-1795411995,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAV3CG6EWSPDWMTTZD7LU3YDEG5HAVCNFSM6AAAAAA6A2FEE6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOJVGQYTCOJZGU
.
You are receiving this because you authored the thread.Message ID:
@.***>

Still experimenting and comparing with other libraries. It doesn’t identify
figures and photos and extract them; at least not for the pdf I tried. Must
be the same for physics and chemistry diagrams
On Mon, 6 Nov 2023 at 10:07 PM, KartavyaBagga @.***>
wrote:

Did u find anything on this ?
—
Reply to this email directly, view it on GitHub
https://github.com/facebookresearch/nougat/issues/152#issuecomment-1795411995,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAV3CG6EWSPDWMTTZD7LU3YDEG5HAVCNFSM6AAAAAA6A2FEE6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOJVGQYTCOJZGU
.
You are receiving this because you authored the thread.Message ID:
@.***>

It does inference on a page & then it stops at a point. What to do about it any idea ?


Multiple ios certificate

Hi all,
I require the need to use two different certificates for APN, As we have to deploy two apps signed with different certs, one for an enterprise appstore and the other for the appstore.
is it easily possible to use a different certs depending on the user type when sending a notification ?
Any help is very much appreciated.

It looks like it only supports a single app. I need to deploy multiple apps also so will branch off and do this, and will happily create a PR if the author would like to enable this feature.

it's not possible at the moment - but it's prepared in the arch allowing multiple client types - allowing the server to handle client types differently.


Extend Test Infrastructure to run multiple E2E tests in parallel

We need to extend the E2E test infrastructure to run multiple tests in parallel. The diagram below illustrates  the expected flow

The sequence of events is:

An event (e.g. GitHub pull request) triggers a prow job
Prow job builds the artifacts (Docker images, helm packages, etc...)
Create one or more K8s clusters
* We potentially need multiple clusters to test different features (e.g. GPUs) or different versions of
K8s
Deploy the operator
Run a bunch of tests
* Each test will exercise different TfJob features; e.g. non-distributed vs. distributed)
Cleanup

So the sequence of events is well represented by the DAG as illustrated by the diagram. I'd like to find a convenient way to express and execute the DAG; preferably without rolling our own workflow system.
Option 1 One Prow Job Per Test
We could create one prow job for each test and rely on prow to run the tests in parallel.
Disadvantages

Integrating new jobs into prow is tedious; lots of config files need to be updated
Can't reuse resources (build artifacts, clusters, etc...) across tests
Seems like a prow anti pattern

Most prow jobs run a suite of tests

Option 2 Use Ginkgo
Advantages

Fairly lightweight
Used by K8s for testing

Ginkgo is a go framework. I'm increasingly leaning towards using Python not go for our CI/CT. Since the TensorFlow test programs will be written in Python, I think Python is a good choice for CT.
Option 3 Airflow
We can express the DAG illustrated above as an Airflow pipeline. The prow job can then just trigger the pipeline and upload artifacts to GCS as needed.
Advantages

Don't need to learn a new tool for CT

We can treat our CT pipeline just like an ML pipeline (preprocessing, training, evaluation, etc...)
I'm assuming that Airflow will become one of the standard workflow tools in ML

Python
Integration with K8s is coming
* This should make it easy to deploy/manage Airflow on K8s
* Should make it easy to express the steps in the DAG as K8s Jobs and orchestrate them using Airflow

Disadvantages

Heavyweight

For option 3 do you know the status of https://cwiki.apache.org/confluence/pages/viewpage.action?pageId=71013666?

I know that there will be a meetup quite soon.

@foxish could provide more information about status of Airflow on K8s.

We'll present a demo at kubernetes sig-apps soon as well. The branch everyone is committing to currently is https://github.com/bloomberg/airflow/tree/airflow-kubernetes-executor. Some discussion remains around credential management and storage, but mostly, the executor is in pretty good shape. I think the expectation is for the basic first PR upstreamed in the next month or so.
cc/ @dimberman

Nice I was following that branch some times ago

I think that option 3 is more on the edge but probably the most future-prof.

CNCF has a project to do cross-cloud integration for its projects. This slide seems to indicate its based on GitLab.

I took a look at GitLab CI/CD and I think I prefer the K8s + Airflow approach.

It looks like GitLab has its own workflow system based on a simple declarative syntax (YAML)
GitLab has its own abstractions for runners, processes, and containers.

Its not obvious to me that the cognitive load of using a different set of tools for CI/CD (compared to datascience/ml pipelines) is worth the slicker UI and better out of box support for some common CI/CD tasks.
I like the approach prow has taken of building a set of microservices and would rather continue in that direction rather than adopt a monolithic tool. Towards that end, I'd rather evolve a set of reusable scripts for common CI/CD tasks that can easily be reused with Airflow + K8s.

had some internal efforts trying out option 3 except for that we went with luigi which was more mature at the time than Airflow (currently incubating). I would ditto the claim that airflow is more future-proof.


[layer] Update layer interface

Update the interface for layer This changes the public and private exposed member functions Corresponding unittests are updated
Major changes are for Flatten and Loss layers - they both now support setting basic layer properties such are input_shape etc.
Commit - 2:
Minor changes to tensor and model
Move BroadcastInfo to private
Move printMetrics to private
See also #199
Self evaluation:

Build test: [x]Passed [ ]Failed [ ]Skipped
Run test: [x]Passed [ ]Failed [ ]Skipped

Signed-off-by: Parichay Kapoor<EMAIL_ADDRESS>

:memo: TAOS-CI Version: 1.4.20191203. Thank you for submitting PR #620. Please a submit 1commit/1PR (one commit per one PR) policy to get comments quickly from reviewers. Your PR must pass all verificiation processes of cibot before starting a review process from reviewers. If you are new member to join this project, please read manuals in documentation folder and wiki page. In order to monitor a progress status of your PR in more detail, visit http://nnsuite.mooo.com/.

:octocat: cibot: @kparichay, One of the module of prebuild group is failed. If you want to get a hint to fix this issue, please go to https://github.com/nnstreamer/nntrainer/wiki/.


don’t have access to Claude ApI. Workaround?

I just want to make a YA fantasy novel for my kids birthday in which she features as character. So it’s more one off.
But seems like you have to have a business or research reason to get closed access Claude api.
Can anyone help me out?  Is Mosaic Storywriter a viable swap out?  https://huggingface.co/mosaicml/mpt-7b-storywriter

Hi @data-steve  I believe I can help with this issue. I’m the maintainer of LiteLLM https://github.com/BerriAI/litellm - we allow you to use any LLM as a drop in replacement for gpt-3.5-turbo.
You can use LiteLLM in the following ways:
With your own API KEY:
This calls the provider API directly
from litellm import completion
import os
## set ENV variables
os.environ["OPENAI_API_KEY"] = "your-key" #
os.environ["COHERE_API_KEY"] = "your-key" #

messages = [{ "content": "Hello, how are you?","role": "user"}]

# openai call
response = completion(model="gpt-3.5-turbo", messages=messages)

# cohere call
response = completion(model="command-nightly", messages=messages)

Using the LiteLLM Proxy with a LiteLLM Key
this is great if you don’t have access to claude but want to use the open source LiteLLM proxy to access claude
from litellm import completion
import os

## set ENV variables
os.environ["OPENAI_API_KEY"] = "sk-litellm-5b46387675a944d2" # [OPTIONAL] replace with your openai key
os.environ["COHERE_API_KEY"] = "sk-litellm-5b46387675a944d2" # [OPTIONAL] replace with your cohere key

messages = [{ "content": "Hello, how are you?","role": "user"}]

# openai call
response = completion(model="gpt-3.5-turbo", messages=messages)

# cohere call
response = completion(model="command-nightly", messages=messages)


refact: system-update.sh

Type of Change

[ ] New feature
[ ] Bug fix
[ ] Documentation update
[x] Refactoring
[ ] Hotfix
[ ] Security patch
[ ] UI/UX improvement

Description
Changes made to the script

Use nala after installation.
Use nala fetch to get the fastest mirrors.
Removed redundant code of updates and upgrades.
Upgrade AUR packages also.
Simple update logic for flatpak apps.
The old $PACKAGER variable in the printf is actually not quoted.

Testing

Tested on arch system and debian12 VM with no issues.

Checklist

[x] My code adheres to the coding and style guidelines of the project.
[x] I have performed a self-review of my own code.
[x] I have commented my code, particularly in hard-to-understand areas.
[ ] I have made corresponding changes to the documentation.
[x] My changes generate no errors/warnings/merge conflicts.

@adamperkowski 27ac2539884a19c05021f6abb9cb51700dd01622 please revert this commit if dnf is removed from fastupdate the wild card will be called. It will exit with no suitable packages manager. The --refresh was seperated as it will be easy to debug when an error occurs. Meaning it will be easier to identify if the error occured durung refreshing the mirrors or when updating the packages.

@jeevithakannan2 You're right here. Remember that it's your PR, you have full control over it.

@jeevithakannan2 You're right here. Remember that it's your PR, you have full control over it.

I am sure I didn't push that commit. It was authored by @Angxddeep and pushed by you.

@jeevithakannan2 You're right here. Remember that it's your PR, you have full control over it.

I am sure I didn't push that commit. It was authored by @Angxddeep and pushed by you.

Yes it was. What I'm saying is you were able to revert it yourself. Sorry, should've asked you in the first place.

@jeevithakannan2 You're right here. Remember that it's your PR, you have full control over it.

I am sure I didn't push that commit. It was authored by @Angxddeep and pushed by you.

Yes it was. What I'm saying is you were able to revert it yourself. Sorry, should've asked you in the first place.

I am sorry for the hassle. I am not in my hometown and don't have my laptop with me. I am doing all the stuff with my mobile. That's why I asked you.

@jeevithakannan2 You're right here. Remember that it's your PR, you have full control over it.

I am sure I didn't push that commit. It was authored by @Angxddeep and pushed by you.

Yes it was. What I'm saying is you were able to revert it yourself. Sorry, should've asked you in the first place.

I am sorry for the hassle. I am not in my hometown and don't have my laptop with me. I am doing all the stuff with my mobile. That's why I asked you.

No problem. Was not a hassle.


Add a button for copying example source code

Pre-launch Checklist

[ ] I have updated CHANGELOG.md with my changes
[x] I have run "dart format ." on the project
[ ] I have added/updated relevant documentation

I'm closing this in favor of #479


Snippets cheatsheet

What do you feel about making a printable version like this:

Right now, the table in the readme doesn't look very friendly to me. I would probably organize by categories like: basics, core, geometry, layers, renderers, popup, smartmapping, ... maybe even grouping using some color to differentiate those snippets only for 2D or 3D elements from the common ones.
If you think it might be worthy I don't mind making the first sketch in a collaborative tool like Google Drawing on which we can iterate.

@hhkaos  I think that looks great and agree that we could organize by category.

I'm not sure which tool to use, I also found cheatography.com, I'll try to find some time this week to start a draft 😄

Finally, I have found some time to start with Google Drawings (for now), you can access and edit it here:

I think it could make sense to make different cheatsheets, one for 2D, another one for 3D, Typescript, etc. Otherwise, it is going to be very large and I guess a developer won't need all of them.
What do you think?

After adding new snippets on my local environment I have decided to use cheatography.com (it also allows collaborators). This is how it looks with my new snippets:

Looks great! I think this will make the snippets much easier to discover and use.

I'm thinking if it would be easy/possible to use Calcite Design System to automatically generate/update the cheat sheet... I don't see an easy way but it would be nice. Another option would be to release a new version of the extension (and update the cheatsheet simultaneously) one or two times per year.
Said that, I think we could plan a v2.0 release of the extension for... September? and public the first official version of the cheat sheet. What do you think?

I think the September date sounds good and yes if we could auto-generate the cheat sheet that would be great but until we figure out a way to do that I think updating the cheat sheet when we add new snippets won't be a huge problem.


WAF OWASP 3.0 rule 920140 gives false positives on Multipart form-data

When sending multipart form-data with RestSharp or Microsoft HttpClient, Azure application gateway WAF blocks the traffic due to rule 920140:
Warning. Match of "eq 0" against "MULTIPART_STRICT_ERROR" required.
 We will investigate and update as appropriate.
Since this channel is for driving improvements towards MS Docs, could you provide the URL of the specific documentation that your feedback is applicable to? That way, we are able to make sure your feedback is addressed by the right team

@shawnz88
We are going to close this thread as resolved but if there are any further questions regarding the documentation, please tag me in your reply and we will be happy to continue the conversation.


AspNetCore on .Net Framework threads hang

Describe the bug
Running the repro attached causes aspnetcore 2.1.6 application running on .net framework 4.7.2 to hang and cause thread starvation, the same use case works well on aspnetcore.
To Reproduce

Run the ConsoleApp LatencyTest (wich sends one request every 100ms to the web app)

Run WebApplication and observe the number of threads of the process raise because the are all blocked, and only one request/s get served.

Run the ConsoleApp LatencyTest

Run WebApplicationCore and observe that the number of threads converge quickly to a number and then the process starts handling request normally.

Expected behavior
That WebApplication behaves like WebApplicationCore
We where able to reach this small repro after quite some time, and we observed the starvation in production also during normal operation, not only on startup. Doing it on startup is just the convenient way to reproduce.
AspNetCoreHangs.zip

Maybe you haven't attached it yet? But there is no attachment here.

My bad, it's there now :D

I didn't run the sample but I did look at the code.
https://github.com/davidfowl/AspNetCoreDiagnosticScenarios/blob/master/AsyncGuidance.md#avoid-using-taskresult-and-taskwait
The thing that's saving you in the WebApplication is likely the request queue (you can verify that with performance counters). Do you have a real repro here or something else that doesn't block like this? Did you encounter this behavior in some other way that non-obvious?
The advice here is basically to avoid making blocking calls like this and to use async/await instead.

You can't do sync over async and expect it to scale. That's what the link I sent tries to explain.  If you want to do something like this then you can write a request queue middleware that throttles the number of concurrent requests to something reasonable (that's based on the specific application).
We have discussed shipping a middleware like this but there's no concrete plan at the moment. Writing a simple middleware that tracks concurrent requests and rejects requests over that limit shouldn't be too hard though.

The issue isn't that I don't expect it to scale, that is fine.
But the issue is that we are seeing hangs because of this.
The minimum reproduction for this is:
    public JsonResult Ping()
    {
        Task.Delay(100).GetAwaiter().GetResult();
        return Json(new { Status = "OK" });
    }

The test application is sending a request per 100 ms, so in theory, this should be a match.
I would expect this to be using 2 - 3 threads overall to handle this kind of load, and that would be perfectly fine.
The problem is that it isn't actually doing that, and it will eventually grind to a halt.

I would expect this to be using 2 - 3 threads overall to handle this kind of load, and that would be perfectly fine.

2-3 threads per request you mean right? And you're sending how many requests in parallel before you see these hangs? Are the hangs permanent or are you just seeing slow thread pool ramp up?
https://blogs.msdn.microsoft.com/vancem/2018/10/16/diagnosing-net-core-threadpool-starvation-with-perfview-why-my-service-is-not-saturating-all-cores-or-seems-to-stall/
Running through those steps in perf view should give you some information about what's happening when you're making those requests.

sends one request every 100ms to the web app

This sync over async line requires 2 threads; one that's blocked and can't do anything else, and then a second one to unblock it after the delay:
Task.Delay(100).GetAwaiter().GetResult();

The ThreadPool tries to counter thread starvation by injecting new threads; but that rate is one every 500ms. So sending a request that eats one thread and requires a second to unblock it every 100ms means you are eating threads x5 faster than the ThreadPool will inject new ones; which means you will have no threads to unblock the blocked threads.
This is why .Wait/.Result/.GetAwaiter().GetResult() or "sync over async" is particularly bad as you run out of threads to release the blocked threads.
If instead you had the following it would be fine as while its awaiting its using 0 threads:
public Task<JsonResult> Ping()
{
    await Task.Delay(100);
    return Json(new { Status = "OK" });
}

In that case, why does it only happen when it is asp.net core on full .NET?
And I assume that the workaround would be to set ThreadPool.SetMinThreads to a high enough number to ensure that this works?

Note this is on an 4 core + 4HT machine so MinThreads probably starts at 8; which is likely high enough to to starve at that input rate and blocking rate.

And I assume that the workaround would be to set ThreadPool.SetMinThreads to a high enough number to ensure that this works?

Yes; though that's just pushing out the issue to a high threshold and will consume a lot more memory. Whereas going async will completely resolve the issue.

I was able to mitigate the issue in production by increasing the threadpool min value.
What i do not yet understand is that the same business logic and load was fine with mvc5.
Thanks for the support.

@valeriob I'd be interested in 2 things:

What do the performance counters for the request queue look like under this load on .NET Framework
What are the min threads set to on .NET Framework.

hi David,

they pile up, and then suddenly they all get served, in the meanwhile the thread count rises with speed 1 thread per second.
never had to mess up with them, so the default. It's a 4 core vm.

they pile up, and then suddenly they all get served, in the meanwhile the thread count rises with speed 1 thread per second.

Do you have access? What does the queue look like?

never had to mess up with them, so the default. It's a 4 core vm.

Sure but your hoster might. Azure App service for example changes the defaults.


SpanButton in LightBulb Service not updating

hey, its really nice library and I am in love with your work.
I tried to do a simple sketch with one LightBulb and a SpanButton related to it,
All working Good as expected, press in the Home App the light change state, press the push-button also the light change state and the Home App update the Characters, but the problem start if I press 5 or more times in less than 15 sec on the push button, the Home App stop update the Characters, until I press in the Home App to change the state and get all working again.
sorry i dont have the skecth

try to run this code and then press the push button more than 5 times in  a 15 sec, the Home App will not Update the Characters.
thank you.

sorry guys, its not a HomeSpan problem, its a HomeKit (Home App) problem.
if I am in the Home Screen, not in the Room Screen, it will not change the state.
but if I am in the Room Screen it will always change state.
and I tried it with automations, if this on then that on and if this off then that off, it triggered always even when the Home Screen didn't change state, the Automation always worked, so its not a problem. it is just a Mistake with the UI in the Home Screen.

The Home App UI can be quite flaky.  For example, if I change the color of an LED on my device by using a button, it is often not reflected on the Home App if I have the Accessory Tile open.  But if I close the Tile I can see the changes I made correctly reflected in either the Room or Home Screen.  Once I re-open the Tile I see the changes reflected there as well.   Other times changes are reflected more immediately.
I was hoping the new 16.2 architecture Apple released a few weeks ago would improve things, but I still see this problem occurring once in a while.
The same issue sometimes occurs if you update an Accessory using one device (e.g. a Mac) and wait to see the changes reflected on your iPhone.  Sometimes they are, and sometimes they are not if the Accessory Tile is open.

Thank you for replaying. XD


fix(overlay): handle missing customElements

Description
My environment doesn't have customElements. I set server.hmr.overlay to false, but importing overlay immediately triggers this error, making the configuration moot for this case.
Additional context
In theory a better fix might be to use an async import for overlay. async imports potentially have other issues depending on the build/env so I avoided using that approach.

What is the purpose of this pull request?

[X] Bug fix
[ ] New Feature
[ ] Documentation update
[ ] Other

Before submitting the PR, please make sure you do the following

[X] Read the Contributing Guidelines.
[X] Read the Pull Request Guidelines and follow the Commit Convention.
[X] Check that there isn't already a PR that solves the problem the same way to avoid creating a duplicate.
[X] Provide a description in this PR that addresses what the PR is solving, or reference the issue that it solves (e.g. fixes #123).
[ ] Ideally, include relevant tests that fail without this PR but pass with it.

Sweet - that was fast.


Contracting w/sending partner

Continuing work from #56

[ ] Contract signed

Out for signature on Fri 12/11.

Signed!


P4_16 operator precedence

See https://github.com/p4lang/p4c/pull/1134

Can we close this? Or do we need to discuss again on 2/12?

I still need to merge the p4c fix (which requires getting the corrected expected outputs), but other than that I think this can be closed.

Great!


Improve version management

Issue:
The Management API version of releases has been controlled by an automated process that triggers on a tag being pushed. The release process publishes artifacts to Cloudsmith.io where the Maven version is overridden on the command line used to publish the artifacts. It is never actually set in the Maven pom.xml files to anything other than 0.1.0-SNAPSHOT. In addition to publishing artifacts in Cloudsmith.io, the jarfiles are also zipped up and attached to a GitHub release. However, the zip bundle contains the jarfiles with a version that is still 0.1.0-SNAPSHOT, making it very difficult to determine which version of the artifact you are using.
Definition of Done

[ ] The release process should update the version in the POM files so that it keeps up with the current version

Does the current state also run risks of breaking user clusters because they aren't in control of updates when we do a release? (I think there was a counter-argument to this, can we document it?)

Does the current state also run risks of breaking user clusters because they aren't in control of updates when we do a release?

I'm not sure about breaking things, though I guess it could be possible. In the context of cass-operator and k8ssandra, it's the Docker image tag that is going to control this somewhat. In those contexts, the serverVersion value is usually set to something like 4.0.6. That translates to an image with a tag of 4.0.6, which is currently updated to point to the latest Management API version for Cassandras version 4.0.6. So if some non-backward compatible thing makes it into Management API, then a new release could potentially break things.
However, I also believe the default image pull policy is something like IfNotPresent, so the image probably won't update without some kind of manual intervention, which is potentially a different problem (i.e. users not getting bug fixes that are put into Management API).
We generally guard against non-backward compatible changes, so there is less risk of taking a new version of Management API for a given version of Cassandra/DSE. I think the second issue of not pulling a new image because you already have one is more concerning.
In either case though, a user can override the image coordinates and get more specific (i.e. use a tag suffix of 4.0.6-v0.1.71 for a specific Management API version). And the current state of versioning artifacts isn't affected by this.
The short answer to this is that the current state isn't really at risk of breaking anything on upgrades. This ticket mainly to address the problem of this project's artifacts not being properly versioned on their own (artifacts being jarfiles, not Docker images).

However, I also believe the default image pull policy is something like IfNotPresent, so the image probably won't update without some kind of manual intervention, which is potentially a different problem (i.e. users not getting bug fixes that are put into Management API).

Right, lack of upgrades is an issue, but so is the fact that we sometimes push a bug. That isn't ideal, and it would be nice to have fixed versions by default. Also IfNotPresent doesn't really protect you if the pod is rescheduled on a new node (which is very possibly if scaling).

In either case though, a user can override the image coordinates and get more specific (i.e. use a tag suffix of 4.0.6-v0.1.71 for a specific Management API version). And the current state of versioning artifacts isn't affected by this.

There is an argument that best practice is to fix image versions then I guess. Maybe that's advice that we should be providing to users.

Maybe this is a separate ticket on k8ssandra-operator though to enforce fixed versions per release.

I think we have talked about this in the past, but maybe let's bring it up at the next all-hands or planning meeting.


UltraSplit Issue

I can't add the setBoost of Creating Cells from 780 to 400 (In GameServer.js) Can someone help me to make a code to create the ultrasplit?

@SaturnGamer05 Duplicate...
Write in console:
change splitVelocity 400
change playerRecombineTime 0
change playerMaxCells 64

It doesn't work dude... It had a better way but get deleted....

WATCH THE VIDEOOOOO

I all the same wrote that in the video he makes, even easier.

If you need the result as in the video, use MultiOgar 1.2.69

;-; 1.2.69 is ezier? Do u have a fixed bugs 1.2.69 version?

@SaturnGamer05 That Video is using Barbosiks Multi Ogar not this fork.

Oh isn't it? Wow, I thought that was this fork.

Do we have some solution to do this in this fork (MultiOgar Edited) too?

We are not here to teach you how to code.


feat(PeriphDrivers): Add PinMux tool supporting functions

Add PinMux Tool Support
Description
Tools like a PinMux Configuration tool need a single entry point or function for configuring all the necessary pins.  The current paradigm in the peripheral drivers is to initialize any pins associated with a particular peripheral at the time the peripheral's initialization function is called.  This could override any settings previously set by the PinMux tool.  This PR addresses this problem in the following way:

Add a global variable to allow locking the pin cofiguration state (Alternate function selection, input/output mode, pull strength/direction selection, voltage level selection, and drive strength).  Default state of this variable is UNLOCKED.
Add MXC_GPIO_Set/GetConfigLock() functions to read and modify this variable.
Add code to the MXC_GPIO_Config function that checks the global variable to see if it should actually perform the configuration.  If the configuration is LOCKED, the function simply returns E_NO_ERROR.
Implement a weak function (called PinInit) that is called as part of SystemInit just prior to Board_Init that does nothing.  The PinMux tool can then output code that overrides this function.  The new code would initialize all pins to their appropriate settings and call MXC_GPIO_SetConfigLock(LOCKED) prior to exiting.

Advantages

Backwards compatible with any existing customer code.  Anyone that hasn’t used the PinMux tool’s code will notice no difference.
Only requires changing the GPIO_Config and SystemInit functions.  No need to touch the Init function of all the peripherals.  (Although, we should update the function documentation of each to describe which parameters, e.g. mapping, are ignored when the GPIO configuration is locked).
Code still has the option of reconfiguring pins after the PinMux code is run.  They just need to unlock the gpio config before attempting to do so.  This doesn’t happen frequently, but there are times when customers need to switch between two configurations.

Disadvantages

Some function parameters in the periph’s init functions will be ignored.  This could look a bit clunky to users.

/clang-format-run

Is PinInit the correct name? We're hoping to extend the configuration tools to do clock configuration, and then later we'll do peripheral initialization. I think the ideal would be to have all this done by a single entry-point hook (and break down into functions underneath in the generated code) in which case a more generic name will be required. We were using "soc_init" until now, but you might have other preferences, especially if you want to use CamelCase.

Is PinInit the correct name? We're hoping to extend the configuration tools to do clock configuration, and then later we'll do peripheral initialization. I think the ideal would be to have all this done by a single entry-point hook (and break down into functions underneath in the generated code) in which case a more generic name will be required. We were using "soc_init" until now, but you might have other preferences, especially if you want to use CamelCase.

@perkinsmg As we extend the functionality of the pin config tool we can continue to add calls into SystemInit, which is our single entry-point available for all micros.  See here for example.  The function is weak, so even if you wanted to have the pin config tool auto-generate a completely new SystemInit you can override the existing one.


Bash on Ubuntu on Windows + Hyper = lightGreen main text color

OS version and name: Windows 10.0.15063 Home
Hyper.app version: 1.3.3
Link of a Gist with the contents of your .hyper.js: https://gist.github.com/geoffreyyip/0646e2d40e93bd76884def519dacf290
Relevant information from devtools: n/a
The issue is reproducible in vanilla Hyper.app: Yes. Overriding config.colors.lightgreen demonstrates the effect.

Issue
Bash on Ubuntu on Windows displays foreground text as lightGreen instead of the usual foregroundColor.
When the normal cmdline starts, foreground text displays in foregroundColor as expected. However, when Bash is called from cmdline within hyper, the foreground text now displays as lightGreen. This effect persists when exiting out of Bash and back into cmdline.
I have not been able to reproduce this effect in Powershell or Cmder. I believe it's specific to hyper.
Hyper (Note that the C:\\Users\Geoff\.. prompt is white the first time and green the second time):

Cmder:

Powershell:

I am experiencing this as well, also only white text can be bolded. Here is my colortest demonstrating both of these effects:

@geoffreyyip That's a lovely skin profile for Cmder! May I ask what it's called?

@DRSDavidSoft I can't remember... I wanna say it's Snazzy


hooks: Tell Sentry the explicit commit range.

This is necessary if one has different deployments (with different commit ranges) using the same projects.
See https://docs.sentry.io/product/releases/associate-commits/#using-the-cli for the API of the sentry-cli tool.

Tested with a test prod instance.  We run into this with chat.zulip.org and Zulip Cloud, where their deploy ranges step on each other unless we are explicit about the commits that each deploy contains.

Self-review checklist

[ ] Self-reviewed the changes for clarity and maintainability
(variable names, code reuse, readability, etc.).

Communicate decisions, questions, and potential concerns.

[ ] Explains differences from previous plans (e.g., issue description).
[ ] Highlights technical choices and bugs encountered.
[ ] Calls out remaining decisions and concerns.
[ ] Automated tests verify logic where appropriate.

Individual commits are ready for review (see commit discipline).

[ ] Each commit is a coherent idea.
[ ] Commit message(s) explain reasoning and motivation for changes.

Completed manual review and testing of the following:

[ ] Visual appearance of the changes.
[ ] Responsiveness and internationalization.
[ ] Strings and tooltips.
[ ] End-to-end functionality of buttons, interactions and flows.
[ ] Corner cases, error conditions, and easily imagined bugs.

Nice, merged, thanks @alexmv!


Menu State - Hover: example code class should be 'link' not 'hover'

Item class in example source code for the Menu State - Hover seemingly conflicts with denoted usage:

Menu items are only hoverable if they are a links, or given the class name link

Current:

    Link

Suggested:

    Link

No idea why that's there.. will fix

Fixed in next


Add Oscar Almström as contributor.

@all-contributors please add @oscaralmstrom for review and ideas

@all-contributors please add @oscaralmstrom for review and ideas


docs(date): Change milliseconds pagging syntax

Change millisecond pagging  syntax : no need to prefix with ',' or '.'.

Contributor License Agreement Signed !

Thanks @gkalpak.
To complete the reason why . and , are not required,  look at code comments on line 321-322 :
    // while ISO 8601 requires fractions to be prefixed with `.` or `,`
    // we can be just safely rely on using `sss` since we currently don't support single or two digit fractions


Problems with Typography

Issue description: Dear valued specialits,
I'm using a theme witch needs kirki plug in.
setting up the new website everything was fine.
After some weeks it appears that set fonts are not shown on the website.
If I disable kirki, the nonts appear as set.
If I activate kirki it is same again. Wrong fonts on website...
Can you help me please???
website is www.handinhand-ev.org
we are a charity and we do not have funds available for proper support. :)
Thank you for your support
Alex
Version used:
(Did you try using the develop branch from GitHub? There's a chance your issue has already been addressed there)

Hello @MasterLex18,
I'm afraid the theme you're using is a premium theme we don't have access to.
Have you tried contacting the theme author and ask for their assistance?
From what I can tell you can get support on http://support.wedesignthemes.com/forum/non-profit/wings-charity-multipurpose-wordpress-theme/ using your license.

Hi,
thank you.
Will try to get the support from the author.
Best regards
Alex
Am Do., 26. Sept. 2019 um 18:26 Uhr schrieb Aristeides Stathopoulos <
<EMAIL_ADDRESS>
Hello @MasterLex18 https://github.com/MasterLex18,
I'm afraid the theme you're using is a premium theme we don't have access
to.
Have you tried contacting the theme author and ask for their assistance?
From what I can tell you can get support on
http://support.wedesignthemes.com/forum/non-profit/wings-charity-multipurpose-wordpress-theme/
using your license.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/aristath/kirki/issues/2260?email_source=notifications&email_token=ANJ54PYUEZGBYDMPSLOYJODQLTPEBA5CNFSM4I2V7LPKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD7WFLHQ#issuecomment-535582110,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ANJ54PYWENY25VEX5H75LILQLTPEBANCNFSM4I2V7LPA
.


Anyone have the pickle file for the model

My laptop is a very old model.So please anyone has the pickle file for the model please share with me.
<EMAIL_ADDRESS>

Hi @prudhvish11, here's the pickle file you are looking for.
Fine Tuned Toxicity Detection Model

Thank You @jaydeepjethwa


ng e2e not following protractor.conf.js baseUrl

Bug Report or Feature Request (mark with an x)
- [X] bug report -> please search issues before submitting
- [ ] feature request

Versions.

@angular/cli: 1.0.0
node: 7.7.3
os: linux x64
@angular/common: 4.0.0
@angular/compiler: 4.0.0
@angular/core: 4.0.0
@angular/forms: 4.0.0
@angular/http: 4.0.0
@angular/material: 2.0.0-beta.2
@angular/platform-browser: 4.0.0
@angular/platform-browser-dynamic: 4.0.0
@angular/router: 4.0.0
@angular/cli: 1.0.0
@angular/compiler-cli: 4.0.0
Repro steps.

Change the baseUrl on protractor.conf.js to http://dev.sample.com
Run ng e2e

The log given by the failure.

** NG Live Development Server is running on http://localhost:49152 **

Desired functionality.

** NG Live Development Server is running on http://dev.sample.com **

Mention any other details that might be useful.

This was working on version 1.0.0-beta.24

Just found out about --no-serve in other issue and baseUrl worked. Closing this issue now.

Worth adding this to the wiki. https://github.com/angular/angular-cli/wiki/e2e

Why is it closed? The base url change still doesn't work.


Github link not working

404 error not found

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

ID: 0dde163d-9125-5bb2-b2e1-5dd1376d4a4b
Version Independent ID: 91c8c25b-d380-d591-6bec-9114ce827d39
Content: Describing images - Computer Vision - Azure Cognitive Services
Content Source: articles/cognitive-services/Computer-vision/concept-describing-images.md
Service: cognitive-services
GitHub Login: @Deken
Microsoft Alias: v-deken

@rmandil
Thanks for the feedback! We are currently investigating and will update you shortly.

@v-deken Hi, the link to Git is broken, could you please check and update it? Thanks a lot!

@v-deken Hi, the link to Git is broken, could you please check and update it? Thanks a lot!

On it - sample appears to have undergone some restructuring, the link is now obsolete.

Fixed - the entire paragraph, including the link, has been removed.

@v-deken Thanks! Love your quick action!
@rmandil We will now proceed to close this thread. If there are further questions regarding this matter, please respond here and @YutongTie-MSFT and we will gladly continue the discussion.


Rotatable grid

Being able to set the rotation of the grid based on a selected face (or manually) while working on off-angle brushes would be absolutely amazing. One of the pain points when working in Hammer/Trenchbroom is working on 45s (and more-so for weirder angles).
Example: Clicking on the red face rotates the grid, so now you can work "off angle" and drag out new parts.

This might not be easy to do.  A lot of the tools use the major axes to orient themselves.  I'm going to have to do some thinking about this.

Could it be possibly tied to transform of the CyclopsBlocks node instead of global space? Like if you scale or translate the main node, it doesn't display the guide-lines in the correct place. This way you could just rotate the main node 45° and what you see is what you get?


Ability to create and see a menu

I have some projects built on top of numtide/devshell. One piece of that project that I would love to see recreated here is the concept of a menu. Devenv already has the ability to create scripts, I think it would be really nice to be able to have something similar to devshell where I can just type menu and it will show a list of all commands that are in a given project.

We have devenv info (which you can run using enterShell), but it would be good to make it extendable so you can create your own entries.

To do that, maybe we could combine devenv and mission-control?
With flake.parts, I guess something like this should work:
mission-control.scripts = { };
devenv.shells.someShell = { };

devShells.default = pkgs.mkShell {
  inputsFrom = [
    config.mission-control.devShell
    config.devenv.shells.someShell
  ];
};

@jlesquembre I just tested that idea, and including config.devenv.shells.someShell in inputsFrom of a pkgs.mkShell shell like that doesn't work. However you can instead include the devShells.someShell that devenv generates, and that does seem to work! e.g.
perSystem = { config, self', inputs', pkgs, system, ... }: {
  devShells.default = pkgs.mkShell {
    inputsFrom = [
      config.mission-control.devShell
      self'.devShells.my-shell
    ];
  };

  mission-control.scripts = { ... };
  devenv.shells.my-shell = { ... };
};

It'd be nice if devenv had an inputsFrom option, actually.


Using back button causes endless loading

Describe the bug
HTML export works fine, but trying to navigate back using the browser button causes an endless loading animation.
Operating System
Windows 10.
To Reproduce
Steps to reproduce the behavior:

Open a page.
Navigate to next page.
Try to navigate back to first page.
Reloading the page will cause it to correctly render.

Screenshots

This should be fixed in 1.8.0. Let me know if it still does not work as expected and reopen the issue. If you find any new issues please submit a new issue :)
Thanks!


Crash while trying to find the compilation unit for an element

The following crash occurred while trying to find the compilation unit for an element:
StateError: Bad state: No unit: as prefix0
at _getUnitElement	(protocol_server.dart:303)
at newLocation_fromElement	(protocol_server.dart:191)
at convertElement	(protocol_dart.dart:33)
at addDartOccurrences.<fn>	(occurrences_dart.dart:18)
at _LinkedHashMapMixin.forEach	(dart:collection)
at addDartOccurrences	(occurrences_dart.dart:16)
at DocumentHighlightsHandler.handle.<fn>	(handler_document_highlights.dart:41)
at ErrorOrRecord2Extension.mapResults	(error_or.dart:125)
at DocumentHighlightsHandler.handle	(handler_document_highlights.dart:39)
at <asynchronous gap>	(async)
at ServerStateMessageHandler.handleMessage	(handlers.dart:397)
at <asynchronous gap>	(async)
at LspAnalysisServer._handleRequestMessage	(lsp_analysis_server.dart:1022)
at <asynchronous gap>	(async)
at LspAnalysisServer.handleMessage.<fn>.<fn>	(lsp_analysis_server.dart:477)
at <asynchronous gap>	(async)
at OperationPerformanceImpl.runAsync	(operation_performance.dart:174)
at <asynchronous gap>	(async)
at LspAnalysisServer.handleMessage.<fn>	(lsp_analysis_server.dart:460)

@scheglov


"grid=false" argument missed in the call of RectBivariateSpline in the getNoInterpol interface

This is a bug fix for #12.

This change itself is ok.
BTW, the xua0 in line 88 of the same file is a bug? It should be xia0.

You are right. Thanks!


feat: add doc for build java metrics dashboard for ACA with azure managed grafana

Add a new Tutorial: Build a Java metrics dashboard with Azure Managed Grafana

Hi @frankliu20,
Microsoft authors and contributors need to make content contributions through the private repository so the content can be staged and validated by the current validation rules.
After you make your changes in the private repo, review the articles on staging, and fix any validation issues, you can add the sign-off comment to let PR reviewers know that the updates are ready to be merged.
Read about authors working in the public repo for more information.
If you need help getting set up to work in the private repo, see Get started contributing to the Microsoft Learn platform.
We'll close this PR. Thank you.


modal overview

docs

[ ] onAfterOpen  - redundant use refs
[ ] change the props to reflect simple modal:

buttons: Array<{id:string, label:string}> = [{id:ok,label:Ok},{id:cancel,label:Cancel}]
onRequestClose(source):function
isOpen:boolean

[ ] remove cssstates loading and error

spec

[ ] missing spec for modal opened from modal, next to modal

implementation

[x] seems like a very simple unrelated to the spec implementation

@nadavwix we separated this into modal and dialog, since we need a generic modal. The dialog will include the rest of the spec and is not high priority. The readme will reflect this.

@urik9 @LeonidLevi
we need to create a spec for the simple modal, it should include positioning of content

@nadavwix @LeonidLevi @urik9 is there a spec yet for the simple modal?


Track reduced rates teleport savings

It would be great if the plugin could track teleports where the "Reduced Rates I" and "Reduced Rates II" free company buffs saved you money.

Count of Reduced Rates I and Reduced Rates II teleports
Total savings (Reduced Rates I is 20% off and Reduced Rates II is 30% off from what I've heard)

I'm willing to contribute this if you're chill with it

Do you actually see this reduction in chat?
Because the plugins uses the values that the chat gets

The chat doesn't show the savings, it only shows the actual cost. The plugin could check for the buffs on the character and do some simple math to work out how much was saved.

Mmm
If you wanna do a PR, feel free to :)


Support Helm

We should support deploying the helm-operator and tiller with the flux-operator.

We support tiller now, but not the helm-operator. I'm still trying to decide how to handle the FluxHelmRelease CRD in the context of multiple helm-operators.


fix: stub out enumerable since it doesnt exist in 5.5

When i was testing with a 5.5 app of mine, I ran into
MissingDependency - app/Tax/TaxService.php:442:20 - Illuminate\Database\Eloquent\Collection depends on class or interface illuminate\support\enumerable that does not exist (see https://psalm.dev/157)
        $profile = $user->billingProfiles()->find($paymentDetails['billingProfileId']);

That is because the enumerable interface was added in laravel 6.
This stub fixes that issue, and https://github.com/psalm/psalm-plugin-laravel/issues/37 would have caught it sooner

Thanks!


fix: The correct estimate of GasFeeCap when replacing the message

关联的Issues (Related Issues)

close filecoin-project/venus/issues#5546
改动 (Proposed Changes)

附注 (Additional Info)

自查清单 (Checklist)
在你认为本 PR 满足被审阅的标准之前，需要确保 / Before you mark the PR ready for review, please make sure that:

[x] 符合Venus项目管理规范中关于PR的相关标准 / The PR follows the PR standards set out in the Venus project management guidelines
[x] 具有清晰明确的commit message / All commits have a clear commit message.
[x] 包含相关的的测试用例或者不需要新增测试用例 / This PR has tests for new functionality or change in behaviour or not need to add new tests.
[x] 包含相关的的指南以及文档或者不需要新增文档 / This PR has updated usage guidelines and documentation or not need
[x] 通过必要的检查项 / All checks are green

Codecov Report

:exclamation: No coverage uploaded for pull request base (dev/v1.10.0@8d4a584). Click here to learn what that means.
The diff coverage is n/a.

Additional details and impacted files

@@              Coverage Diff               @@
##             dev/v1.10.0     #298   +/-   ##
==============================================
  Coverage               ?   54.39%
==============================================
  Files                  ?       69
  Lines                  ?     7058
  Branches               ?        0
==============================================
  Hits                   ?     3839
  Misses                 ?     2915
  Partials               ?      304

Flag
Coverage Δ

unittests
54.39% <0.00%> (?)

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

多宝说设计如此


Save image disabled after photo file input (OK after getUserMedia!)

Weird one...
Long-tap to save works fine after you choose the camera feed (getUserMedia) option and snap a still from that:

But if you choose the input type="file" option, the save image option is disabled!

I've checked the HTML for the image and it looks exactly the same. It works fine in desktop Chrome. Wut?

HTML for image where save works fine:

HTML for image where save option is disabled:

Seems as though this was to do with going beyond some image size threshold. Appears to be fixed now since I removed ''pixelRatio: window.devicePixelRatio" from the loadImage options. So the image resolution is not so good, but it's better for file size.


Decorators

As a library user, I want to be able to define PRE and POST decorator routes for my microservice.
ACCEPTANCE TESTS

The library provides classes to represent decorator requests and responses
There is an example of how to define a working decorator route


⚠ Bofrost.at has degraded performance

In f8079c5, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 2605 ms

Resolved: Bofrost.at performance has improved in d0b6b78.


Are there any external (open) data we could use to enrich the analysis?

Hey @KKulma,
you asked this question in the title within you comments of the ost_analysis.ipynb notebook! I think it's worth starting a separate issue on this.The most important missing is about usage of open source projects. In combination with the analysis we already did this could help us to identify projects that are used a lot but do not have enough support. We could get this data in two way:
Dependents and Dependencies
For some programming languages GitHub integrated dependency trees into the platform. For Python and Java Script we still get this data. Here an example:
https://github.com/pvlib/pvlib-python
The data mining script extracts this data from the website, because GitHub has not integrated this data into the API. If you are interested into the data we could still plot it. We also have it for the dependencies. We could create a plot like "The most used Python dependencies used in the listed GitHub projects".
Download Statistics
Since most projects are in R and Python we could use the Package index platforms to get this data:
This package could get use the data for R:
https://github.com/GuangchuangYu/dlstats
This packages could help use get the download number from Python:
https://github.com/hugovk/pypistats
https://github.com/asadmoosvi/pypi-search
The problem is how to find out the package name via the repo URL as input?
One projects exists, that gives you that:
https://github.com/librariesio/bibliothecary
Maybe we also could regex for pip install in the README. That could be simple work around that works with most projects.
What is your opinion?

I was able to plot the Dependents data of the Python projects but counts for the projects with the most dependents are wrong.
The rest of the data looks good.

Interesting ideas, thanks for all your leg work exploring and listing all these resources, @Ly0n ! This could definitely enrich the analysis and help identify 'meaningful' projects (those that are widely used) and show how many of them are (un)supported (although I'm guessing there's a strong positive correlation between the two).

It would be very interesting to see how many projects are released as packages. I other domain like robotics is is very common to create packages with similar interfaces to improve modularity. A low level of modularity would indicate that there is very little collaboration between open source projects in this area. I have the impression that this is the case and it would be interesting to prove this with figures. Also NLP could help here a lot.


Feature: markdown indexing

Is your feature request related to a problem? Please describe.
The spectest produces reports in Markdown format on a per-test-case basis. It is hard for us to find the desired report among many Markdowns.
Therefore, we will add a function to index markdowns located under the specified directory.
Describe the solution you'd like
jbrown1618/markdown-index is close to the function we are looking for. However, some features are missing.
For example,

change generating file name.
change index markdown title
change url text (now, it is same as file name)

Additional context
This feature will implement as cli command.
In addition, add the ability to generate indexes with go generate.

I am in the process of implementing it.

I implemented GenerateIndex() in markdown package.
See https://github.com/go-spectest/markdown/pull/8
I will implement index subcommand. (use GenerateIndex())

Done https://github.com/go-spectest/spectest/pull/166


redeploy to rinkeby and verify on etherscan

A bit of a dry run for imminent deployment to mainnet.
Fixed some things as I went along:

I don't have jq installed on my machine, so I converted our postdeploy script ~to use node-jq~ to pure JS to prevent the script failing (it just nuked the addresses.json file altogther)
tweaked one of our test contracts so that it has distinct bytecode
added @nomiclabs/hardhat-etherscan plugin

Prefer to merge https://github.com/statechannels/statechannels/pull/3073 hence do not merge label.


Make site prettier

Change the bootstrap (possibly) or try to add some coloring with some pictures but not too distracting pictures.

Looks like the website background color is consistent with the navbars


getEventStream() doesn't like cache-control header

I'm trying to subscribe to my devices' event stream using the JS SDK from an Angular app I'm building with the Ionic framework. I am successfully able to use the SDK to do things like login and retrieve an access token, and get a list of devices. However, when I use the getEventStream function, I get the following error:
Fetch API Cannot Load
http://api.particle.io/v1/devices/123456/events/spark/status
Request header field cache-control is not allowed by Access-Control-Allow Headers in preflight response.

(Of course, 123456 is not my real device ID, but I checked the number and it is correct.) If I use the promise response to catch the error I get:
TypeError: Failed to fetch at TypeError (native)
Network error from [url I typed above]

If I go into EventStream.js and comment out the part where the cache-control header is specified (around line 30), i.e. /*'Cache-Control': 'no-cache',*/ then it seems to work fine. (Actually, I commented this out in particle.min.js but in the pre-minified version it's in EventStream.js).
Any ideas why this isn't working? I'm testing it using the ionic serve process in Google Chrome (Version 48.0.2564.103 (64-bit)) on OSX. I guess it's possible it could be a browser issue, and that the problem will go away when I compile for my mobile device...
If you'd like to check out my code, the part that launches the listener is in app.js around line 23.
NOTE: in the version in my repo, the cache-control part is commented out of particle.min.js

It must be adding the Cache-Control header to the preflight CORS request. That header is not very crucial for the request, since the response specifies it as well. I will remove it and release a new version first thing tomorrow.

Fantastic. Thanks!! This is an excellent product BTW. I'm getting really excited about doing more IoT projects because of this, and since I teach college, I expect I'll be getting a lot of my students involved as well in the upcoming years.

@morphatic 5.2.2 has your fix.


Introduce the "in" relational operator

The in relational operator can be used to:

Check if a String is contained by another String:

${'a' in 'abc'} <!--/* returns true */-->
${'ab' in 'abc'} <!--/* returns true */-->
${'bc' in 'abc'} <!--/* returns true */-->
${'abc' in 'abc'} <!--/* returns true */-->
${'d' in 'abc'} <!--/* returns false */-->

Check if an Array or a List contains an object:

<!--/*
  Assuming myArray would be in scope and would have the following content:
  [100, 200, 300, 400, 500]
*/-->
${100 in myArray} <!--/* returns true */-->
${300 in myArray} <!--/* returns true */-->
${1 in myArray} <!--/* returns false */-->

Check if an object has a property or a Map has a key:
Assuming the following use object (more details in the Use-API section) provided by a logic.js file:
use(function () {
    return {
        a: true,
        b: 'two',
        c: 3
    };
});

<sly data-sly-use.logic="logic.js" />
${'a' in logic} <!--/* returns true */-->
${'b' in logic} <!--/* returns true */-->
${'c' in logic} <!--/* returns true */-->
${'two' in logic} <!--/* returns false */-->

Added to spec in 611c11b3d59aa0a12633cc858af19e8154b994ab.

I don't want to open new issue with question related to this one.
How grammar will be extended to cover in operator?

I will add it as soon as I also fix #53, which is basically an issue about operators priority.


UI is generating wrong mdx

Steps to reproduce
I have the following updated definition of the measure where m["Best results"] and m["Effective points"] are measures from create_parameter_simulation:
pointssystem_sim = f1cube.create_parameter_simulation(
    "pointssystem_sim",
    measures={"Best results": 1000.0, "points substitute": None},
    levels=[l["positionText"], l["resultId"]],
)

m["Effective points"] = tt.where(
    m["points substitute"] == None, m["points.SUM"], m["points substitute"]
)

m["Score"] = tt.agg.sum(
    tt.where(m["Result Rank"] <= m["Best results"], m["Effective points"], 0),
    scope=tt.scope.origin(l["race_name"], l["positionText"], l["resultId"]),
)

I filtered my query by l["race_name"] which is listed in the scope of m["Score"]. Once I add m["Score"] to the query, I get the error message:
Caused by: com.activeviam.fwk.ActiveViamRuntimeException: Cannot add the location to our result since it does not belong to its scope.
Scope=Base|AllMember|AllMember|AllMember|AllMember|AllMember|AllMember|AllMember\[*]|AllMember|AllMember|AllMember|AllMember|AllMember|AllMember|AllMember|AllMember|AllMember|AllMember|AllMember\[*]|AllMember\[*]|AllMember|AllMember|AllMember\Brazilian Grand Prix|AllMember|AllMember|AllMember\2008
Location=Base|AllMember|AllMember|AllMember|AllMember|AllMember|AllMember|AllMember\glock|AllMember|AllMember|AllMember|AllMember|AllMember|AllMember|AllMember|AllMember|AllMember|AllMember|AllMember\101|AllMember\13|AllMember|AllMember|AllMember\Turkish Grand Prix|AllMember|AllMember|AllMember\2008

Cell 34 of attached notebook: main.zip
Environment

atoti: 0.6.1
Python: 3.9.6
Operating System: win32

Logs (if relevant)
server.log

I couldn't find the query you mentioned in the notebook you shared. Can you give us the Python code for your query too?

Hi @tibdex,
please look for session.visualize("Base vs. Simulation - Brazil 2008") (cell 34) for the query.

We can see the duplicated , [F1 races].[year].DefaultMember, [F1 races].[year].DefaultMember appear

Internal ticket


Consider integrating mDNS support within tuber "core"

Current use cases export a mDNS identity via Avahi. This may belong inside this package, rather than being left to downstream implementors.

NAK. In hindsight, the current arrangement (mDNS is out-of-scope) is working really well.


Uncaught Error: Patch does not apply

[Enter steps to reproduce:]

type something

Atom: 1.22.1 x64
Electron: 1.6.15
OS: Mac OS X 10.12.6
Thrown From: Atom Core
Stack Trace
Uncaught Error: Patch does not apply
At /Applications/Atom.app/Contents/Resources/app/node_modules/text-buffer/lib/helpers.js:68

Error: Patch does not apply
    at exports.patchFromChanges (/Applications/Atom.app/Contents/Resources/app/node_modules/text-buffer/lib/helpers.js:68:17)
    at TextBuffer.module.exports.TextBuffer.emitDidStopChangingEvent (/Applications/Atom.app/Contents/Resources/app/node_modules/text-buffer/lib/text-buffer.js:1692:68)
    at later (/Applications/Atom.app/Contents/Resources/app/node_modules/text-buffer/lib/helpers.js:28:13)

Commands
     -1:06.2.0 editor:delete-to-beginning-of-line (input.hidden-input)
     -1:05.0 core:backspace (input.hidden-input)
     -1:02.6.0 editor:toggle-line-comments (input.hidden-input)
 26x -1:01.4.0 core:undo (input.hidden-input)
     -0:46.7.0 core:save (input.hidden-input)
     -0:44.7.0 editor:toggle-line-comments (input.hidden-input)
     -0:43.1.0 editor:delete-to-beginning-of-line (input.hidden-input)
     -0:42.7.0 snippets:next-tab-stop (input.hidden-input)
     -0:42.7.0 snippets:expand (input.hidden-input)
     -0:42.7.0 editor:indent (input.hidden-input)
     -0:37.2.0 core:move-right (input.hidden-input)
     -0:36.4.0 editor:newline (input.hidden-input)
     -0:34.1.0 core:move-right (input.hidden-input)
     -0:33.8.0 editor:move-to-end-of-screen-line (input.hidden-input)
  2x -0:33.1.0 core:save (input.hidden-input)
     -0:16.9.0 editor:delete-to-beginning-of-line (input.hidden-input)

Non-Core Packages
busy-signal 1.4.3
color-picker 2.2.5
file-icons 2.1.14
highlight-selected 0.13.1
intentions 1.1.5
linter 2.2.0
linter-eslint 8.4.0
linter-rubocop 2.2.0
linter-ui-default 1.6.10
pigments 0.40.2
react 0.17.0
rspec 0.4.0
toggle-quotes 1.0.1

Same probleme here, many error popups..
Atom: 1.22.1 ia32
Electron: 1.6.15
OS: Windows 10
Thrown From: Atom Core
Stack Trace
Uncaught Error: Patch does not apply
At C:\Users\grimm\AppData\Local\atom\app-1.22.1\resources\app\node_modules\text-buffer\lib\helpers.js:68

Error: Patch does not apply
    at exports.patchFromChanges (~/AppData/Local/atom/app-1.22.1/resources/app/node_modules/text-buffer/lib/helpers.js:68:17)
    at TextBuffer.module.exports.TextBuffer.emitDidStopChangingEvent (~/AppData/Local/atom/app-1.22.1/resources/app/node_modules/text-buffer/lib/text-buffer.js:1692:68)
    at later (~/AppData/Local/atom/app-1.22.1/resources/app/node_modules/text-buffer/lib/helpers.js:28:13)

Commands
     -0:48 pane:move-active-item-to-top-of-stack (input.hidden-input)
     -0:45 editor:move-to-first-character-of-line (input.hidden-input)
  2x -0:44.5.0 editor:add-selection-below (input.hidden-input)
     -0:39.7.0 core:delete (input.hidden-input)
     -0:39.3.0 autocomplete-plus:cancel (input.hidden-input)
     -0:38.2.0 editor:select-to-beginning-of-word (input.hidden-input)
     -0:38 core:delete (input.hidden-input)
     -0:37.4.0 core:save (input.hidden-input)
     -0:23 editor:consolidate-selections (input.hidden-input)
     -0:23 core:cancel (input.hidden-input)
     -0:19.5.0 core:backspace (input.hidden-input)
  2x -0:19 core:move-up (input.hidden-input)
     -0:18 editor:newline (input.hidden-input)
     -0:17.3.0 core:move-up (input.hidden-input)
  4x -0:17.1.0 core:delete (input.hidden-input)
     -0:15.4.0 core:save (input.hidden-input)

Non-Core Packages
highlight-selected 0.13.1
php-twig 4.0.0
Remote-FTP 2.0.0
Sublime-Style-Column-Selection 1.7.4

Same problem... any ideas as to what is causing it?
Atom: 1.22.1 ia32
Electron: 1.6.15
OS: Microsoft Windows 10 Home
Thrown From: Atom Core
Stack Trace
Uncaught Error: Patch does not apply
At C:\Users\Yellonqa\AppData\Local\atom\app-1.22.1\resources\app\node_modules\text-buffer\lib\helpers.js:68

Error: Patch does not apply
    at exports.patchFromChanges (~/AppData/Local/atom/app-1.22.1/resources/app/node_modules/text-buffer/lib/helpers.js:68:17)
    at TextBuffer.module.exports.TextBuffer.emitDidStopChangingEvent (~/AppData/Local/atom/app-1.22.1/resources/app/node_modules/text-buffer/lib/text-buffer.js:1692:68)
    at later (~/AppData/Local/atom/app-1.22.1/resources/app/node_modules/text-buffer/lib/helpers.js:28:13)

Commands
  3x -2:16.3.0 core:backspace (input.hidden-input)
     -2:08.0 core:save (input.hidden-input)
     -1:35 core:move-down (input.hidden-input)
     -1:34.1.0 core:move-up (input.hidden-input)
     -1:33.7.0 core:move-left (input.hidden-input)
     -1:31.3.0 core:save (input.hidden-input)

Non-Core Packages
compare-files 0.8.1

No idea what's causing it. I quit and reopened Atom and didn't get the error anymore. The good old "turn it off and on again" fix...

Thanks for the reports :+1:  This issue is being investigated here so you can subscribe for updates if you'd like:
https://github.com/atom/atom/issues/15827
If anyone has details that might help reproducing the error, please share in https://github.com/atom/atom/issues/15827.

We noticed that this is a duplicate of https://github.com/atom/atom/issues/15827. You may want to subscribe there for updates.
Because we treat our issues list as the Atom team's backlog, we close duplicates to focus our work and not have to touch the same chunk of code for the same reason multiple times. This is also why we may mark something as duplicate that isn't an exact duplicate but is closely related.
For information on how to use GitHub's search feature to find out if something is a duplicate before filing, see the How Can I Contribute? section of the Atom CONTRIBUTING guide.


There is no more active transaction for this cursor xxx (5.0.16/5.0.17)

Version
Windows 10, >=5.0.16 (was working fine in 5.0.15), .Net Framework 4.6
Describe the bug
After updating to the new version I get the exception
LiteDB.LiteException: 'There is no more active transaction for this cursor: SELECT $
FROM Task
WHERE ($.Enabled=@p0)'
Lets say I get 10 tasks and iterate through them then the exception comes on "Next" after processing the first Task object. I think it has to do with the update of the collection in between but it was always working in previous version.
Code to Reproduce
Using db As New LiteDB.LiteDatabase(String.Format("Filename={0};connection=shared", DBLiteName))
Dim tasks = db.GetCollection(Of Task)("Task")
For Each tsk As Task In tasks.Find(Function(t) t.Enabled = False)
tsk.TaskHistory.Clear()
tsk.HistoryList.Clear()
tasks.Update(tsk)
Next
End Using
Expected behavior
Code should iterate through all Tasks found as it was done in previous versions
Screenshots/Stacktrace
at LiteDB.Engine.QueryExecutor.<>c__DisplayClass10_0.<g__RunQuery|0>d.MoveNext()
at LiteDB.BsonDataReader.Read()
at LiteDB.SharedDataReader.Read()
at LiteDB.LiteQueryable1.<ToDocuments>d__26.MoveNext()    at System.Linq.Enumerable.WhereSelectEnumerableIterator2.MoveNext()
at DBMonitor.DBMonitorServer.TimerExecutions_Tick(Object sender, EventArgs e) in
Additional context

Additional comment: The same happens when I update another collection within For Each which has nothing to do with the "Task" collection

@ejdre-vestas : Have you been able finding a workaround or the reason behind the problem?

Thank you for reporting this issue.
This issue should have been resolved in the latest version of LiteDB.
Please update to the latest version of LiteDB to resolve this issue.
If the issue persists, please let us know.

Thank you for reporting this issue.
This issue should have been resolved in the latest version of LiteDB. Please update to the latest version of LiteDB to resolve this issue. If the issue persists, please let us know. But please provide a full repro (including data classes)

Hi Jonas, I think the issue is solved but had to raise a new bug #2502 after switching to 5.0.20


fix(controller): Do not add to queue if not found

During stress testing with high client-go-qps and client-go-burst, I entered as state where object were being requeued after 404 errors. This fix will avoid requeuing on IsNotFound errors from the api server.
Please let me know if you see any issues with this or would like me to include testing around these changes.

hi @mjsmith1028 , will take a look tommorow, thanks for the PR

to be more exact, informers (which are triggering reconcile) uses cache version of the k8s-client, but operations in controller interacts with real-time cluster.

I have just doubts in those two places if we can safely swallow the error, could you comment ?

Hi @grzesuav , I added some comments on why I think it should be safe.
One thing to note is that my metacontroller setup has 50 workers, 150 client-go qps and 300 client-go-burst. So, it is processing sync requests pretty fast and the cluster is pretty active with other work outside of my controller which may put some stress on K8s control plane causing occasional slowness in K8s API responses. I think that is why these edge cases showed up.
Please let me know if the logic seems correct in my comments. Thanks!

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


WIP: Robust URL checker

See https://github.com/relaton/relaton-render/issues/50

@alexeymorozov What is the status of this?


Guardians

I saw that the guardians system were not completely finished, it's possible that you watch this?
Thank's you

Yeah, the Guardians System isn't finished. But the Helper Tools are totally working. Helper tools in Azure doesn't work.

@trylix

Referenced in Major Issue.


User Access Token resource

This checklist is used to make sure that common issues in a pull request are addressed. This will expedite the process of getting your pull request merged and avoid extra work on your part to fix issues discovered during the review process.
PR information

[x] The title of the PR is clear and informative.
[x] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For information on cleaning up the commits in your pull request, see this page.
[x] Except for special cases involving multiple contributors, the PR is started from a fork of the main repository, not a branch.
[x] If applicable, the PR references the bug/issue that it fixes.
[x] Swagger files are correctly named (e.g. the api-version in the path should match the api-version in the spec).

Quality of Swagger

[x] I have read the contribution guidelines.
[x] My spec meets the review criteria:

[ ] The spec conforms to the Swagger 2.0 specification.
[ ] The spec follows the guidelines described in the Swagger checklist document.
[ ] Validation tools were run on swagger spec(s) and have all been fixed in this PR.

This change is

@vishrutshah can you take a look at the changes?

Changes looks good to me.
@ravbhatnagar Just wanted to make sure that "Adding new operations into existing RP's existing api-version is considered to be an additive change from API Review Board perspective." Please confirm. Thanks!

Verified with @ravbhatnagar offline that adding new operations is not a breaking change in the RPC perspective.
Thanks @solankisamir for addressing the comments. LGTM!

No modification for NodeJS

No modification for Python

No modification for Ruby


Deployment commit for prod-stable

Merged main branch to prod-stable.
Use latest commit to update namespace ref in app-interface repo. Don't use merge commit, SHAs must be unique when images are created for each branch.

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

Project coverage is 76.96%. Comparing base (faf81f1) to head (75b1c80).

Additional details and impacted files
@@             Coverage Diff              @@
##           prod-stable    #1282   +/-   ##
============================================
  Coverage        76.96%   76.96%
============================================
  Files               68       68
  Lines              673      673
  Branches           100      120   +20
============================================
  Hits               518      518
  Misses             155      155

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


exception = UndefVarError: ShowStyleEditor not defined

ShowStyleEditor not defined for ImPlot:
https://github.com/wsphillips/ImPlot.jl/blob/c64f66c5ac1fd9e227799a1aa9381362f02fb1fd/demo/implot_demo.jl#L338
But ShowStyleEditor is defined for CImGui and works.
julia> include("play.jl")
show (generic function with 1 method)

julia> show()
Task (runnable) @0x0000000149836e00

julia> ┌ Error: Error in renderloop!
│   exception = UndefVarError: ShowStyleEditor not defined
└ @ Main.Renderer ~/Documents/work2016/das/data/Renderer.jl:85

Stacktrace:
 [1] ShowDemoWindow()
   @ Main ~/Documents/work2016/das/data/play.jl:333
 [2] #3
   @ ~/Documents/work2016/das/data/play.jl:1942 [inlined]
 [3] renderloop(window::GLFW.Window, ctx::Ptr{CImGui.LibCImGui.ImGuiContext}, ui::var"#3#4", hotloading::Bool)
   @ Main.Renderer ~/Documents/work2016/das/data/Renderer.jl:70
 [4] (::Main.Renderer.var"#4#5"{Bool, var"#3#4", Ptr{CImGui.LibCImGui.ImGuiContext}, GLFW.Window})()

Works when you run from demo.jl, not from implot_demo.jl.

@wsphillips consider changing the Readme from
include("implot_demo.jl")
show()

Select Realtime and it crashes.
julia> include("/Users/jhg/.julia/packages/ImPlot/kI3XA/demo/implot_demo.jl")
WARNING: replacing module Renderer.
WARNING: replacing module MyImPlot.
WARNING: replacing module Huge.
show (generic function with 1 method)

julia> show()
Task (runnable) @0x000000014ec30e80

julia> ┌ Error: Error in renderloop!
│   exception = type DataType has no field mutable
└ @ Main.Renderer ~/.julia/packages/ImPlot/kI3XA/demo/Renderer.jl:85

Stacktrace:
 [1] getproperty
   @ ./Base.jl:37 [inlined]
 [2] PlotShaded(structvec::Vector{ImVec2}, xfield::Symbol, yfield::Symbol, y_ref::Int64; count::Int64, offset::Int64, stride::Int64, label_id::String)
   @ ImPlot ~/.julia/packages/ImPlot/kI3XA/src/shaded.jl:111
 [3] ShowDemoWindow()
   @ Main ~/.julia/packages/ImPlot/kI3XA/demo/implot_demo.jl:810
 [4] (::var"#49#50")()
   @ Main ~/.julia/packages/ImPlot/kI3XA/demo/implot_demo.jl:1940
 [5] #invokelatest#2
   @ ./essentials.jl:716 [inlined]
 [6] invokelatest
   @ ./essentials.jl:714 [inlined]
 [7] renderloop(window::GLFW.Window, ctx::Ptr{CImGui.LibCImGui.ImGuiContext}, ui::var"#49#50", hotloading::Bool)
   @ Main.Renderer ~/.julia/packages/ImPlot/kI3XA/demo/Renderer.jl:70
 [8] (::Main.Renderer.var"#4#5"{Bool, var"#49#50", Ptr{CImGui.LibCImGui.ImGuiContext}, GLFW.Window})()

to julia demo.jl which works without issue on macOS latest.

What version of ImPlot.jl are you using? Did you mean to close this issue?
Although it certainly "works", demo.jl should probably be removed from the repo entirely since it gives a false sense of what's tested to be working from the Julia side of things.  demo.jl calls the precompiled C++ demo, rather than using the Julia API to reproduce the demo from scratch as we do in implot_demo.jl If something is not working in implot_demo.jl then it's not guaranteed to work  if you try to implement something comparable yourself in Julia.
That being said, realtime plots should work and for me they do on Linux using v0.2.0 of ImPlot.jl and v1.79 of CImGui.jl. If it's platform-specific that's going to be hard since I don't personally have a Mac to test it on. @Gnimuc develops on MacOS and might be able to check for you, though.
ShowStyleEditor is not working because of an overlooked export. You can get it to work by changing the line where it's used in implot_demo.jl to:
        if show_implot_style_editor
            CImGui.SetNextWindowSize(ImVec2(415,762), ImGuiCond_Appearing)
            @c CImGui.Begin("Style Editor (ImPlot)", &show_implot_style_editor)
            ImPlot.LibCImPlot.ShowStyleEditor(C_NULL) # added submodule and default null arg
            CImGui.End()
        end

@wsphillips how do I check what versions I have? I am new here and the last time I looked I became confused looking at github and the various packages and releases and printed output upon running the demo.
So demo.jl doing "@c ImPlot.LibCImPlot.ShowDemoWindow(&show_demo_window)" is a precompiled C-wrapped C++ demo? Interesting.
And yes, it was running on macOS latest and the 1.7 Julia. I can get the other details tonight when I get back to that computer.
Things work fine on Windows 10, Julia 1.6 stable and the regular packages available via pkg.

Ok, the first thing I would suggest is sticking to Julia 1.6 on your Mac setup. Are you using a newer M1 system?
If you're installing the packages via the package manager you ought to be fine. If you ever want to check what package versions you have, you can type ]st from your Julia REPL to print out the top level packages installed in your current Julia environment.

I am running Intel I7.
Will regress to 1.6.
(@v1.7) pkg> st
      Status `~/.julia/environments/v1.7/Project.toml`
  [5d785b6c] CImGui v1.79.0
  [336ed68f] CSV v0.9.1
  [a93c6f00] DataFrames v1.2.2
  [28b8d3ca] GR v0.58.1
  [4b11ee91] Gaston v1.0.4
  [e8efc688] ImPlot v0.2.0
  [d0351b0e] InspectDR v0.4.3
  [91a5bcdd] Plots v1.21.3
  [efcf1570] Setfield v0.7.1

Working with this configuration on Intel i7 with latest macOS:
(@v1.6) pkg> st
      Status `~/.julia/environments/v1.6/Project.toml`
  [5d785b6c] CImGui v1.79.0
  [336ed68f] CSV v0.9.2
  [e8efc688] ImPlot v0.2.0
  [91a5bcdd] Plots v1.21.3
  [efcf1570] Setfield v0.7.1


Configure JReleaser for assembling and releasing

Native executables are now generated via JReleaser.
To give it a try locally
$ ./gradlew :pierrot:build
$ ./gradlew :jreleaserAssemble

Inspect current configuration
$ ./gradlew :jreleaserConfig --select-current-platform

Perform a release in dryrun mode
$ ./gradlew :jreleaserRelease --select-current-platform -Pjreleaser.dryrun=true

Inspect

build/jreleaser/out.properties
build/jreleaser/trace.log
build/jreleaser/release/CHANGELOG.md

I've tried locally and so far so good :-)


onDidChangeConfiguration fires unnecessary in multi folder workspace

testing #37151:
sub test: "Event is not triggered if there is no change in the effective configuration. Eg: If you change a value in User settings which already have a value in Workspace settings."
This works fine for User settings and Workspace settings in the single folder case.
But with a two-folder setup where both folders have a folder setting that shadows the user setting, the event still fires.

@weinand Does the workspace settings has a value in this case? If not, change in User settings will impact resources do not belong to any of the workspace folders. Hence a change is triggered.

no, I did not had a workspace setting. So that explains it. Thanks!


Clearly split Server and WebAssembly documentation

I was thinking, as I'm reading through all the docs here :)...
and it would be so much easier to to read it if you could just have separate documentation for Server and WebAssembly.
I know there are often remarks to the side about it, but there is no clear way just to filter out info about Server, if I'm only interested in WebAssembly.
Like in this article we start with "Blazor Server is a stateful framework" - does that mean these is nothing here about WebAssembly error handling? I have to search for "WebAssembly" or scroll thought the whole thing to get an idea.
So my take on how to solve it:

a tab at the top of the page to select one or the other, and when selected you only see relevant information - a different version of the article.

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

ID: ce1440e7-febc-3fbc-09d7-7f47b740fd3b
Version Independent ID: 31071595-7c71-b6f7-3856-74f78c5c7cdf
Content: Handle errors in ASP.NET Core Blazor apps
Content Source: aspnetcore/blazor/handle-errors.md
Product: aspnet-core
Technology: aspnetcore-blazor
GitHub Login: @guardrex
Microsoft Alias: riande

@RedDeathGitHub It was an early decision when Blazor Server first hit the scene. Management decided that they share enough scenarios that it would create a large amount of duplicated content to write and maintain separate topics for each hosting model.
WRT tabs, that's not a supported scenario. The docs management wouldn't permit that doc format with the tab control. Tabs are mostly used for languages and tooling. We typically would address the scenario with separate topics.
Usually, we state explicitly when something applies to one hosting model or the other ...
Except here! 🙈 ... Yikes! Missed a spot!
I'll address this topic shortly on this point and clarify it. Thanks for commenting.

OK, thanks for the answer!


Run animation inside an existing svg

There is any way to set a container where mojs should run the animation?

Hey! There was such option but I've removed it. You can set an html container with parent Option right now. If you will provide me with more info on want you want to achieve I probably will be able to find the right way for you.

Actually I'm considering to add few renderers - svg, canvas and webgl. This will allow you to choose the technology you want and specify the rendering container.

Thanks for helping me!
Here is what I want to do. Animate this illustrated graph inside the screen. 👍
http://codepen.io/kandebonfim/pen/OXENgJ

You can wrap the svg with a dive and pass it as parent to modules. Should work.

http://codepen.io/sol0mka/pen/qNKNLb

Oh, sorry for not answering. This will work for me. Thanks!!

@kandebonfim np, happy to help!