Digital Ocean nodes are never added

I'm attempting to add DO nodes using the api key. They seem to add ok through the gui, and shows "waiting for agent connection" but I don't even see the nodes in my DO account.

@etcook Do they jump to "waiting for agent connection" right away or do they go through a number of other steps first?
Can you post the last 300 hundred lines from the logs of your rancher master container? If the hosts are jumping straight to "waiting for agent connection", then the microservice that calls docker machine (which then calls digital ocean) isn't starting up correctly. If that's the case, the logs will clearly show this with repeated entries about go-machine-service.

@cjellick I actually ended up wiping the server and starting fresh with a larger one this morning. I tried installing the rancher-server on a DO 512, and it seemed flaky. Jumped to a 1 gig, and now things seem to operate as intended.
What is the recommended amount of resources for a server node? (no other docker containers will run on it)
Thanks!

Oh, and to answer your question, it did go through a couple of steps, although they went quickly.

We recommend at least 1 GB of memory. Other than that, currently our DB grows pretty quickly (in some scenarios, a gig a day), so you'll actually want a fair amount of disk space. We'll be fixing this soon though; we'll cleanup the DB and it won't grow nearly as quickly.

@etcook I'm closing this issue let me know if there is any reason it should remain open.


Catch fetch errors or allow overwrite fetch

Getting this error during log ingestion:
FetchError: request to https://api.axiom.co/v1/datasets/..../ingest failed, reason: getaddrinfo ENOTFOUND api.axiom.co

This is causing unhandled promise rejection with the automatic flushing.
I'd suggest we get some option to capture this, e.g.
const axiom = new Axiom({
  token: '...',
  orgId: '...',
  fetch: async (a, b) => fetch(a, b).catch(() => ..)
  // or
  handleError: () => ....
});

I am working on handling those exception now, finalizing the PR.

Hey, thanks @schehata, it did indeed solve my problem, I'm using onError to suppress errors, thanks!


Missing pypi package in requirements.txt

Got the below error from running the model through google colab when running python demo/text_generation.py
Namespace(model='01-ai/Yi-6B', tokenizer='', max_tokens=512, streaming=False, prompt='Let me tell you an interesting story about cat Tom and mouse Jerry,', eos_token='<|endoftext|>')
Downloading (…)lve/main/config.json: 100% 717/717 [00:00<00:00, 3.24MB/s]
Downloading (…)/configuration_yi.py: 100% 5.47k/5.47k [00:00<00:00, 22.1MB/s]
A new version of the following files was downloaded from https://huggingface.co/01-ai/Yi-6B:
- configuration_yi.py
. Make sure to double-check they do not contain any added malicious code. To avoid downloading new versions of the code file, you can pin a revision.
Downloading (…)/main/modeling_yi.py: 100% 40.6k/40.6k [00:00<00:00, 4.04MB/s]
Traceback (most recent call last):
  File "/content/drive/MyDrive/Freshman/Developer/colab/01-ai/Yi/demo/text_generation.py", line 78, in <module>
    main(args)
  File "/content/drive/MyDrive/Freshman/Developer/colab/01-ai/Yi/demo/text_generation.py", line 49, in main
    model = AutoModelForCausalLM.from_pretrained(
  File "/usr/local/lib/python3.10/dist-packages/transformers/models/auto/auto_factory.py", line 552, in from_pretrained
    model_class = get_class_from_dynamic_module(
  File "/usr/local/lib/python3.10/dist-packages/transformers/dynamic_module_utils.py", line 485, in get_class_from_dynamic_module
    final_module = get_cached_module_file(
  File "/usr/local/lib/python3.10/dist-packages/transformers/dynamic_module_utils.py", line 313, in get_cached_module_file
    modules_needed = check_imports(resolved_module_file)
  File "/usr/local/lib/python3.10/dist-packages/transformers/dynamic_module_utils.py", line 179, in check_imports
    raise ImportError(
ImportError: This modeling file requires the following packages that were not found in your environment: einops. Run `pip install einops`

Running pip install einops fixes this error and allows the code to run.
If possible, could you add einops>=0.7 to the requirements.txt? Thank you.

I've found the same problem

The requirements.txt file was removed and we use conda-lock file instead.


HLSL Rewrite

Description
Basics
I'd start with the easy and simple shader headers, so files ending in .glsl that don't have any macros of use any resource types like sampler2D.
Later on we'll deal with actual shaders with stages, or ones that make heavy use of preprocessor directives (they will need to be turned into templates).
I took a few GLSL headers and rewrote them to HLSL.
Try to follow the same pattern:

update any copyright comment to current year
replace all GLSL or glsl with HLSL and hlsl respectively
Header guards should have the form of _NBL_HLSL_${ADDITIONALNAMESPACE}${_OPTIONAL EXTRA NESTED NAMESPACES}_${FILENAME}_INCLUDED_
remove prefixes and make them namespaces (remember that HLSL2021 is not C++11 and nested namespace declaration shortcut is not available)
for anything after nbl_glsl_ like barycentric_ you need to make an informed deduction whether the next identifier was a namespace or a struct
vecN turns into floatN
whenever you see a matrix type like matCxR, turn it into a floatRxC if there's multiplications going on later on, otherwise keep as a floatRxC if there's use of the operator[] like in the barycentril/util.hlsl example, if unsure ask or comment
matrix multiplications need to be replaced with mul() as * in HLSL just multiplies all elements pointwise (DO NOT WANT)
fold free/global functions that take a struct as the first parameter back into non-static methods (careful if the struct was in then method needs to be const, if it was out then you should probably turn it into a static method)
fold free/global functions whose last parf of the prefix matches a class name into static methods

A word about matrix multiplication
GLSL is utterly fucked.
In textbook mathematics, MxN matrix, means "M rows" (dimensionality of a column) and "N columns" (dimensionality of a row).

But at least this is preserved:
matNxM A;
matPxN B;
matPxM C = A*B;

and you get the same result as in a textbook by computing the elements of C as dot products between rows of A and columns of B (this is why their dimensionalities have to match).
HLSL at matches the textbook and float3x4 is a matrix with 3 rows and 4 columns.
floatNxM A;
floatPxN B;
floatPxM C = mul(A,B);

So for multiplications using floatMxN to replace a GLSL matNxM is fine.
HOWEVER they differ in what operator[] returns
GLSL a vecA matAxB::operator[](int i) will return the i-th column
HLSL a vecB floatAxB::operator[](int i) will return the i-th row
This a problem that can't be easily side-stepped in a scenario where [] is used explicitly, like for example when I construct a matrix from 2 of  3-dimensional vectors like with the barycentrics.
Then the matNxM has to become a floatNxM and not a floatMxN and you need to correct the rest of the code for the fact that the matrix is now a transpose.
This is why @deprilula28 will review and you can ask me and @Erfan-Ahmadi about these cases.
If unsure, leave a comment in the code.
How do I know whether _prefix is a namespace or a struct?
Basically if you see a GLSL function that takes the same prefix as the first parameter, you know it was supposed to be a method.
For example look at nbl_glsl_shapes_AABB_t https://github.com/Devsh-Graphics-Programming/Nabla/blob/master/include/nbl/builtin/glsl/shapes/aabb.glsl and its corresponding HLSL I made.
Shader Libraries
Normally thanks to DXIL linking you'd be able to move some part of the implementation into a matching HLSL file src/nbl/builtin/hlsl instead of keeping everything in include/nbl/builtin/hlsl.
See: https://therealmjp.github.io/posts/dxil-linking/
Until @Erfan-Ahmadi is done with DXIL linking and #pragma link do not do that, we can move them later.
However you don't want to remove implementations of functions when:

the function's implementation or similar depends on #ifdef
the function returns or takes a resource (basically of the texture or buffer types) as an argument
you want the function to be inlineable to C++ later on, such as aabb_t's methods, so basically very small and short methods

What you would like to move are the implementation of any GLSL function which:

had a #ifndef __cplusplus guard around it
or was obnoxiously long

Testing
You can get a prebuilt DXC here for some reason -HV 2021 does't work with that exe, so you can't do:

templates
bitfields
using namespace nbl::hlsl::shapes
using instead of a typedef
yet, but @AnastaZIuk is working on giving you a functional HLSL2021 compiler.

For now make a huge .bat file that compiles a bunch of HLSL, I shouldn't be getting any error when I run it or warnings other than the one warning about PDB not being separate.
Later @AnastaZIuk will make that into a HLSL_Test CMake target.
Validity of Syntax in "header" .hlsl files
dxc.exe -HV 2018 -T lib_6_6 -IpathToNablaRoot/include/ -Zi -Fo test.bin pathToNablaRoot/include/nbl/builtin/hlsl/restOfThePathToMyHeader.hlsl
Validity of Syntax in "complete shader" .stage.hlsl files
dxc.exe -HV 2018 -T ${shader_stage}_6_6 -IpathToNablaRoot/include/ -IpathToNablaRoot/src/ -spirv -Zi -Fo test.bin pathToNablaRoot/include/nbl/builtin/hlsl/restOfThePathToMyShader.${stage}.hlsl
[Much Later TODO] Validity of Syntax for "implementation" .hlsl files
dxc.exe -HV 2018 -T lib_6_6 -IpathToNablaRoot/include/ -IpathToNablaRoot/src/ -Zi -Fo test.bin pathToNablaRoot/src/nbl/builtin/hlsl/restOfThePathToMyHeader.hlsl
TODO list:

[ ] @AnastaZIuk get DXC building as a static lib (to link into Nabla) and an EXE (to build HLSL into DXIL or SPV) which understands -HV 2021 option
[ ] @AnastaZIuk create a CMake utility function to make .dxil lib_6_x targets from multiple HLSL files, if dxc.exe doesn't have an option to make a library out of more than one HLSL file, then make your CMake function perform a "unity build"
[ ] @Erfan-Ahmadi asset::CHLSLCompiler so we can compile HLSL at runtime
[ ] @AnastaZIuk create CMake utility function to make .stage.spv from full (when you actually know the shader stage and entry point) HLSL shaders
[ ] (Seprate PR) @AnastaZIuk improve the resource embedding CMake and scripts, so it can be used not only to embed resources in C++ using the nbl::builtin namespace but in external projects with custom namespaces, also handle the embedding of resources that will be created at a later date (like compiled)
[ ] @Erfan-Ahmadi improve CHLSLCompiler to allow us to link multiple DXIL blobs
[ ] @Erfan-Ahmadi replace the preprocessor used to resolveIncludes, etc. with our fork of https://github.com/bnoazx005/tcpp/blob/master/source/tcppLibrary.hpp and refactor IIncluder etc.
[ ] Register a #pragma link handler and add API for adding shader library search directories so we can compile shaders beautifully

The order of capabilities I want to get:

the ability to just compile HLSL at runtime like I do with HLSL (with proper include resolution and define injection)
the ability to precompile full shaders into SPIR-V and embed that as a builtin
the ability to link DXIL libraries and kick some of the huge functions into HLSL libraries

The first one is enough for me to get unblocked and make a start on ext::PathTracer.

HLSL 2021
New features
You can now use:
Bitfields
Often in the code we have stuff like
uint varA_varB_varC; // N bits varA, M bits varB

You can now do
uint varA : N;
uint varB : M;
uint varC ; P;

where P=32-M-N
The using keyword
Using has two uses
Using Namespace
Basically saves you writing out namespace::after::common::ancestor::identifier and you can simply put using namespace::after::common::ancestor::identifier.
You need to put it in the global scope (not inside any struct of function definition body).
Careful to never put it outside of a namespace {} block, cause then it pollutes all code that includes.
Using as an alias
Instead of writing typedef Type Alias; you can write using Alias = Type; is just a bit saner.
Templates
Basically same as C++03, however there's no explicit instantiation or extern template so all templated functions (or methods of templated classes) have to be declared inline.
And you should probably stay away from SFINAE.

How to rewrite our awful GLSL macros into HLSL templates
Lets take algorithm.glsl for a spin.
See the example codegen
First you want to see what is the code the Preprocessor would generate for an example instatiation.
For this you can run gcc -E over the code containing an instantiation, and you will see what the preprocessor spits out.
You can even do this with Compiler Explorer
Here's what we have for a NBL_GLSL_DEFINE_UPPER_BOUND(ARRAY,float)
uint upper_bound_ARRAY_NBL_GLSL_LESS(uint begin, in uint end, in float value)
{
   uint len = end-begin;
   if ((len&(len-1))!=0)
   {
       const uint newLen = 0x1u<<findMSB(len);
       const uint diff = len-newLen;
       begin = (value<ARRAY[newLen]) ? 0u:diff; len = newLen;
   }
   while (len!=0u)
   {
       begin += (value<ARRAY[begin+(len>>=1u)]) ? 0u:len;
       begin += (value<ARRAY[begin+(len>>=1u)]) ? 0u:len;
    }
    return begin+((value<ARRAY[begin]) ? 0u:1u);
}


Add Laravel 11 compatibility

Hi! I just tried to install the package into a Laravel 11 project and it looks like the composer.json needs an update for that.

Nevermind, this actually won't work in Laravel 11 and will need a bit of a rewrite :)

I needed this somewhat urgently and hacked together a generic configurable uptime ping package that works with the new Laravel 11 console kernel changes. For what it's worth, you might find the Laravel 11 parts in there useful :)

Thank you for your help! I figured out a way to support 10.x and 11.x, so the package should be compatible with both versions now.

Amazing, thanks for your work maintaining this. Now I'm in the awkward position of having written a custom package when I could have just waited until Monday 🙃 That's how it goes with tight deadlines sometimes...


Implement new begin blocker interface

Description

closes: #4559
Commit Message / Changelog Entry
N/A part of SDK upgrade
see the guidelines for commit messages. (view raw markdown for examples)

Before we can merge this PR, please make sure that all the following items have been
checked off. If any of the checklist items are not applicable, please leave them but
write a little note why.

[x] Targeted PR against correct branch (see CONTRIBUTING.md).
[x] Linked to Github issue with discussion and accepted design OR link to spec that describes this work.
[x] Code follows the module structure standards and Go style guide.
[x] Wrote unit and integration tests.
[ ] Updated relevant documentation (docs/) or specification (x/<module>/spec/).
[ ] Added relevant godoc comments.
[ ] Provide a commit message to be used for the changelog entry in the PR description for review.
[x] Re-reviewed Files changed in the Github PR explorer.
[ ] Review Codecov Report in the comment section below once CI passes.

Codecov Report

Merging #4563 (7d1b5e2) into main (77156e3) will increase coverage by 0.04%.
The diff coverage is 100.00%.

Additional details and impacted files

@@            Coverage Diff             @@
##             main    #4563      +/-   ##
==========================================
+ Coverage   79.26%   79.31%   +0.04%
==========================================
  Files         188      188
  Lines       13054    13055       +1
==========================================
+ Hits        10347    10354       +7
+ Misses       2273     2267       -6
  Partials      434      434

Files Changed
Coverage Δ

modules/core/module.go
40.00% <100.00%> (+3.29%)
:arrow_up:

... and 1 file with indirect coverage changes

The original issue mentioned a test for stopping/starting a chain in a test, I'm not sure I understand the additional benefit that we get from having that. I think this addition to the localhost test should ensure our begin blocker is correctly wired.
Let me know if I'm missing something @colin-axner !

The original issue mentioned a test for stopping/starting a chain in a test, I'm not sure I understand the additional benefit that we get from having that.

It would be to detect the missing begin blocker for the capability module. If you stop and start all nodes, you reset the mem store, if the begin block is missing from capability, the mem store will not be reinitialized and any IBC action afterward, such as sending a packet will fail.
In the short term, I think it makes sense to either add a test or add the stop start to the genesis test or IBC transfer. In the long term, we could consider adding randomness into our testing (allowing random tests to be stop/started)

I added a chain restart in the transfer test, and am bumping callbacks to the new rc5
cc @colin-axner

Is this issue still up for development?
If yes then would it make sense to just shift restart test to capability_test or genesis_state and use it wherever required? Seems fairly doable


Push down for queries with span and patterns expressions

Signed-off-by: vamsi-amazon<EMAIL_ADDRESS>Description
Instead of failing requests without span and patterns expressions, don't push down the aggregations to prometheus rather calculate them in memory.
Issues Resolved
[List any issues this PR will resolve]
Check List

[x] New functionality includes testing.

[x] All tests pass, including unit test, integration test and doctest

[x] New functionality has been documented.

[x] New functionality has javadoc added
[x] New functionality has user manual doc added

[x] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Codecov Report

Merging #1030 (857ed6a) into 2.4 (3e30379) will decrease coverage by 35.49%.
The diff coverage is n/a.

:exclamation: Current head 857ed6a differs from pull request most recent head 7c52122. Consider uploading reports for the commit 7c52122 to get more accurate results

@@              Coverage Diff              @@
##                2.4    #1030       +/-   ##
=============================================
- Coverage     98.26%   62.76%   -35.50%
=============================================
  Files           324       10      -314
  Lines          8399      658     -7741
  Branches        553      119      -434
=============================================
- Hits           8253      413     -7840
- Misses          142      192       +50
- Partials          4       53       +49

Flag
Coverage Δ

query-workbench
62.76% <ø> (?)

sql-engine
?

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

Impacted Files
Coverage Δ

...rch/planner/logical/rule/MergeAggAndIndexScan.java

...us/planner/logical/rules/MergeAggAndIndexScan.java

...eus/planner/logical/rules/MergeAggAndRelation.java

...h/sql/expression/function/OpenSearchFunctions.java

...ensearch/sql/expression/function/FunctionName.java

...ilter/lucene/relevance/MatchPhrasePrefixQuery.java

...search/sql/planner/optimizer/pattern/Patterns.java

...ql/opensearch/response/agg/MetricParserHelper.java

...g/opensearch/sql/data/model/AbstractExprValue.java

...org/opensearch/sql/data/model/ExprStringValue.java

... and 324 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Issue with k8s.io/docs/tutorials/stateful-application/cassandra/

This is a...

[ ] Feature Request
[x] Bug Report

Problem:
When trying to connect to Cassandra, the datastax driver launches a warning saying that it cannot reach the Cassandra nodes and therefore create the pool.
This is because the Cassandra cluster is made of nodes (kubernetes pods) with private IPs, hence every connection from outside the cluster is not able to create the pool (it connects to just one node).
How do you cope with that? Is running the application that needs to connect to Cassandra inside a Kubernetes cluster the only solution?
Thanks

Kubernetes Version: 1.11

@serdec If you want to connect to the app from outside a cluster, you may want to consider creating a Service for it and exposing that service.


Which version of Pytorch_lightning?

Difference between pytorch_lightning varies a lot. Many issues need  to  be solved. Could you please tell me your version?

Hi, we use pytorch-lightning==1.5.8

Thanks! How about gcc version?

I need it to install detectron2. Otherwise something wrong:
ImportError: cannot import name '_C' from 'detectron2' (/home/users/wpp/Look_Around_And_Learn/third_parties/detectron2/detectron2/__init__.py)

I need it to install detectron2. Otherwise something wrong:
ImportError: /home/users/wpp/Look_Around_And_Learn/third_parties/detectron2/detectron2/_C.cpython-38-x86_64-linux-gnu.so: undefined symbol: _ZNK3c1017SymbolicShapeMeta18init_is_contiguousEv

It looks like you are using python 3.8. See here, we use python 3.7 in our environment: https://github.com/IIT-PAVIS/Look_Around_And_Learn/blob/release/env.yml


Diabetes Prediction using machine learning:

Is your feature request related to a problem? Please describe.
I want to build a model which  can helps us to predict whether a person has diabetes or not with the help of Machine Learning.
I agree to follow this project's Code of Conduct
I'm a GSSoC'24 contributor
I want to work on this issue

@Anshika14528 assigned!


searcher improvement

Issue #, if available:
Description of changes:
Thanks @mseeger for pointing this out.  The current searcher would suggest next configuration even there is no compute resources available. This will impact the performance of search algorithms. The last one configuration can not fully utilize all previous results.
As suggested by @mseeger , moving cls.RESOURCE_MANAGER._request(), before searcher.get_config()
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

In general, the benefit is that you can run get_config with more data. The drawback could be that if get_config takes a while to run, this could mean that a worker who is ready, has to wait.

I agree.
This change should improve the performance of most of the searchers and does not impact rand search. I think the delay during the get_config() is okay, which is usually a small overhead for each trial.

Job PR-384-5 is done.
Docs are uploaded to http://autogluon-staging.s3-website-us-west-2.amazonaws.com/PR-384/5/index.html


Weather.link is broken

I updated to your latest version of simpleWeather 3.1.0, but I also noticed that the weather.link is broken. Yahoo! must of changed their redirect for this too. Is it possible to update it in the code?

That's the link that Yahoo gives in their API. I'm looking at a work around but ultimately it's something that I've been waiting for Yahoo to fix on their end, going on over a year now though.


Implement child row management for ui/dom/ListView.

This request consists of two commits granting widgets that wrap ui/dom/ListView instances access to the child row widgets. The first commit allows events on child rows to bubble up to ListView and therefore to any widget that contains the ListView instance. The second adds access to an array of child rows via children getter/setter methods, along with other methods pertaining to child row management reused from ui/common/Container.

Thanks, Colin. Given recent changes and a handful of other things I need to reconsider, I'll go ahead and close this.


Temp LBP-aware polygon subgraph

Description
Intermediate solution to restore LBP trading after #1307.
Do not merge until subgraph is done syncing https://thegraph.com/hosted-service/subgraph/mendesfabio/balancer-polygon-v2?version=pending
Type of change

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Dependency changes
[ ] Code refactor / cleanup
[ ] Documentation or wording changes
[ ] Other

How should this be tested?

[ ] Polygon app works
[ ] Can buy DDAO on trade UI (0x90f3edc7d5298918f7bb51694134b07356f7d0c7)

Checklist:

[ ] I have performed a self-review of my own code
[ ] I have requested at least 2 reviews (If the PR is significant enough, use best judgement here)
[ ] I have commented my code where relevant, particularly in hard-to-understand areas
[ ] If package-lock.json has changes, it was intentional.
[ ] The base of this PR is master if hotfix, develop if not

Closing due to #1316


Format tweak on changelog. Drafted known issue list

Please see the list of known issues and update or confirm.

This will likely need ongoing update to the "known issues", but can be merged and published at this point.


Ensure events get handled in the right order

Due to a race condition, the consumer exited before the connection close event got a chance to be handled. This prevented to consumer from exiting with an error code if the connection got closed from by the server.

Wrong repo ;)


refactor odinson index operations into interface and provide implementation that supports incremental indexing

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

I would suggest that, if approved, this PR be "squash merged" so that it is easy to roll back these changes in case any issues are discovered

Something for us to work on...  Grep for finalize.
    var searcher: IndexSearcher = null
    try {
      searcher = acquireSearcher()
      searcher.getIndexReader.getTermVectors(docId)
    } catch {
      case e: Throwable => throw new RuntimeException("what is the best way to deal with this?")
    } finally releaseSearcher(searcher)

@kwalcock could you explain your comment about finalize? i'm happy to look into it, but if you know what you are looking for i'd say go ahead and take a look!

@reynolds88, I have a touch-up PR almost ready for you/us.  I'm not yet quite sure how to integrate the changes, but the code above presently looks like this:
    usingSearcher { searcher =>
      searcher.getIndexReader.getTermVectors(docId)
    }

Also, LUM should decide "what is the best way to deal with this?"  The OdinsonController also has some questionable error handling, mostly unrelated to this PR, that should be checked and ironed out.

@reynolds88, I have a touch-up PR almost ready for you/us. I'm not yet quite sure how to integrate the changes, but the code above presently looks like this:
    usingSearcher { searcher =>
      searcher.getIndexReader.getTermVectors(docId)
    }

@kwalcock sounds good, once you are done push it to this PR and i can take a look...
and i agree that we need to do something about the error handling besides "find the best way to deal with this", I just wasn't sure what the team wanted to do there.

I see where reynoldsm88:master branched from lum-ai:master and that would be the obvious place to make a dev branch, but there is also one "making sure the indexer is up to date with master" that makes me think that the two branches connect again somewhere else without a trail.  Can @reynolds88 provide a few details?

I'm probably thinking about that wrong.  I should probably branch off the current master since that's where the PR is headed.

I'm attempting to move this to #348 so that we can work on it better.  I'll close this one, but reopen if necessary.

@marcovzla sure i'll take a look today

Thanks! I expect to merge this today.

@danebell whoops sorry, I didn't think that there were really any changes and didn't run the compile and test build before committing 🤦.
I'll push the changes tomorrow morning!


Improve REST API docs for sequences

I'm trying to figure out how to use the REST API to create a sequence. Not really documented (the swagger api is not that helpful in this case)

@ioana-blue this is not done AFAIK.


[Devportal] The subscription count is not shown in the API Credentials tile

In the Overview section of an API in Dev Portal, the subscription count is not shown.

The above issue  is not present in the latest APIM release. The subscription count is being shown. Hence this can be closed.

Closing as per the above comment.

In the latest build of APIM we have changed the API Credentials tile to Subscriptions as follows.

We do not show the number of subscriptions here. @dushansilva do we need to show this number in this tile now?

@tharikaGitHub In Subscription section, I think we need to show the existing subscription count.

Fixed with the above PR


mc in tmux with glitches

Very happy to see tmux working :)
This is small issue - running mc in tmux displays random glitches like this:

If mc is not run in tmux, this does not happen.

Hmm. I was able to get this to happen myself, but now it's gone and I can't seem to repro it at all.
If you could get me more reliable repro steps, I should be able to get a better look at it.
In your SS, it looks like it might have to do with the console rendering a double-wide garbage character (questionmark-box) instead of the unicode vertical line, but I'm not sure why that is...

Thanks for the discussion.
Closing this issue since:

This issue is old and has likely been fixed since it was opened. If not, please post a new issue in the Console GitHub Repo
This is the WSL issues repo, but this is an issue in Console which has its own Console GitHub Repo
GitHub doesn't allow issues to be moved between repos, preserving posters' identity :(

If you have further asks/issues, please file new issues on our Console GitHub Repo.


Add delay to a response.

Hi! would be really nice if we were able to do something like this:
whenGET(pathEndsWith("pokemon/1/"))
    .thenReturnFile(200, "getPokemonDetails_200.json")
    .delay(3, TimeUnit.SECONDS); // this!

Are there any plans to include something similar?
Thanks! Great work!

implemented in 0.2.0 version, enjoy!

Great! When will 0.2.0 be available? Thanks!

it's already released


Add clean-issue-filters feature

Closes #2016.
Test

With no projects or milestones: https://github.com/ramlmn/serv/pulls.
With repo level projects and no milestones: https://github.com/notlmn-dump/test/pulls.
With milestone and no projects: https://github.com/notlmn-dump/now-express-test/pulls.
With org level projects and not milestones: https://github.com/notlmn-dump/opev-gen-googio/pulls (needs org access for oAuth token).

Also thought of adding support for repo deployment status, but that requires another API request (one to get latest commit, and one to get its deployment status). And targeting status dropdown is a bit of problem too.

If not impossible, it would be nice to also drop the Checks selector. Does the API include that?

Took me a while to debug, but that's part of filter-pr-by-build-status. The dropdown doesn't exist until that features adds it, maybe it's better to handle this in that feature.

Also it would be good to cache the result of this, per-repo, especially with #2109 coming :)

Let's deal with that in a separate PR. Or will have to wait until #2109 is merged.

The dropdown doesn't exist until that features adds it, maybe it's better to handle this in that feature.

D’oh, I forgot about that

Thanks @notlmn! :blush:

It does look much better now!

If not impossible, it would be nice to also drop the Checks selector. Does the API include that?

Took me a while to debug, but that's part of filter-pr-by-build-status. The dropdown doesn't exist until that features adds it, maybe it's better to handle this in that feature.

Opened #2127 to track this.

@notlmn 	nothing major but
❌ clean-issue-filters
content.js:2111 TypeError: Cannot read property 'parentElement' of null
    at clean_issue_filters_init (content.js:6423)
    at async features_run (content.js:2106)

When a repo has not Issues or Pull requests


Update golangci-lint to v1.59.1 and fix lints

What type of PR is this?
/kind cleanup
What this PR does / why we need it:
Update the config and fix the intrange lints.
Which issue(s) this PR fixes:

None
Special notes for your reviewer:
None
Does this PR introduce a user-facing change?

None

/approve
/lgtm

@kubernetes-sigs/cri-tools-maintainers PTAL

Still looks good!
/approve
/lgtm

@kubernetes-sigs/cri-tools-maintainers PTAL

/approve
/lgtm


How to make hot changes write to files?

Hello,
I've been following the example pretty closely. However when I run it it doesn't seem to create a bundle.js file for me. However when the index.html file is served by express it is able to find the js file even though I don't see it in my file directory. Is it held in memory? If so is there anyway I can make it be written to a file?

It's the dev-middleware part which handles this, see https://github.com/webpack/webpack-dev-server/issues/62 for some discussion on saving to disk.


Update build-apps-for-windows.md

Updated Microsoft.UI.Xaml version and put it in Bold to make it easier to see, also updated the ms.date to today

@Laim : Thanks for your contribution! The author(s) have been notified to review your proposed change.


Run the demo video without any recognition

I run coco's 80 types of tracking and there is no output, and the same is not running a separate person tracking

When using coco_tracking.pth with 80 types, the result seems to be good, but when I use --num_class 1 to track person, there is no output. Seems to be the opposite?

When using coco_tracking.pth with 80 types, the result seems to be good, but when I use --num_class 1 to track person, there is no output. Seems to be the opposite?

hei,how did you run coco_tracking.pth with 80 types? i cant get any output=.=

python demo.py tracking
--load_model ../models/coco_tracking.pth
--demo video.mp4
The result is fine. Seems nothing special?
When I add --num_class 1, there is no result.

python demo.py tracking
--load_model ../models/coco_tracking.pth
--demo video.mp4
结果很好。好像没什么特别的？
当我添加 --num_class 1 时，没有结果。

I used the same method as you but no results. I don’t know if I configured it wrong.-.-

python demo.py tracking
--load_model ../models/coco_tracking.pth
--demo video.mp4
结果很好。好像没什么特别的？
当我添加 --num_class 1 时，没有结果。

I used the same method as you but no results. I don’t know if I configured it wrong.-.-

did u fix it?help me

same here

python demo.py tracking
--load_model ../models/coco_tracking.pth
--demo video.mp4
结果很好。好像没什么特别的？
当我添加 --num_class 1 时，没有结果。

I used the same method as you but no results. I don’t know if I configured it wrong.-.-

did u fix it?help me

Also curious to know

python demo.py tracking
--load_model ../models/coco_tracking.pth
--demo video.mp4
结果很好。好像没什么特别的？
当我添加 --num_class 1 时，没有结果。

I used the same method as you but no results. I don’t know if I configured it wrong.-.-

did u fix it?help me

Curious as well if you have found the solution


Bug

i run a little bot with your plugin and sometimes the picture generation fails and i get this error:
2022-08-23 09:34:15,255 - telegram.ext._application - ERROR - No error handlers are registered, logging exception.
Traceback (most recent call last):
File "/home/satdress/.local/lib/python3.9/site-packages/telegram/ext/_application.py", line 983, in process_update
await coroutine
File "/home/satdress/.local/lib/python3.9/site-packages/telegram/ext/_handler.py", line 137, in handle_update
return await self.callback(update, context)
File "/home/satdress/dalle2telegrambot/main.py", line 62, in paid
file_paths = dalle.generate_and_download(user_state[update.effective_chat.id][0])
File "/home/satdress/.local/lib/python3.9/site-packages/dalle2/dalle2.py", line 31, in generate_and_download
generations = self.generate(prompt)
File "/home/satdress/.local/lib/python3.9/site-packages/dalle2/dalle2.py", line 28, in generate
return self.get_task_response(body)
File "/home/satdress/.local/lib/python3.9/site-packages/dalle2/dalle2.py", line 77, in get_task_response
data = response.json()
File "/usr/lib/python3/dist-packages/requests/models.py", line 900, in json
return complexjson.loads(self.text, **kwargs)
File "/usr/lib/python3.9/json/init.py", line 346, in loads
return _default_decoder.decode(s)
File "/usr/lib/python3.9/json/decoder.py", line 337, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib/python3.9/json/decoder.py", line 355, in raw_decode
raise JSONDecodeError("Expecting value", s, err.value) from None
json.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)
Is this related to the dalle2 module not returning something or am i understanding this completely wrong?

would need more info about the project, but this probably isn't an issue from dalle2-in-python.

The project is https://github.com/exitfiat/dalle2telegrambot
I think its a problem of the dalle plugin as it works since i put the generate command in try exception, or its a problem of the api itself. The error happens around 5% of all requests.

will have another look at it 🔥


Separate Folder for Sensitive Information

Right now, the input and output folders contain testing data that could be modified and included in a commit.
Would it be better to create a separate standard folder that contains sensitive information like csv files with transaction data or reports generated using personal information? That folder could then be excluded in the .gitignore file and there wouldn't be any accidental inclusion of personal information in a commit.
Just a thought.

I recommend keeping your tax inputs in a separate folder (out of the RP2 or DaLI directories): that way it's impossible to check it in by mistake. This is what I do for my own taxes.

OK, I guess I'm not used to dealing with sensitive info. Maybe I should add some documentation on this to help newbs like me?

I'm closing this for now. If I have time, I'll try to add docs as a separate issue/PR.


Try to do this in CSS

Since it's styling, it should be there.
https://github.com/misspastelwitch/I-love-web/blob/9d6913e578914ecb02f39d21df5570366ef72d14/index.html#L87

Got rid of all the blank Ps, added margins in css instead so there is no more styling in the HTML :)


Remove checkout when you change the delivery method on the checkout page

When you have selected a different shipping method, the checkout should go away as soon it is linked to only 1 shipping method (package).

Case 00524400: In the latest version the checkout isn't visible after selecting another shipping method (which isn't connected to 'parcel'). However, the chosen delivery method is still selected (e.g. Pick up at PostNL)

+1 delivery options stay visible when 'afhalen' is selected in version 3.1.4

case:00448095

Case 00566661

Also case 00570090

Hi,
Never supported any project with my code but maybe i can help.
So i don't know how it works with pull requests in this project from outsiders.
I created that it is possible to show the myparcel delivery options only for specific shipping method of specific zone.
My commit with the changes
Ather these changes you will see this:

And the myparcel block will only be visible at the selected methods.

Hi,
Never supported any project with my code but maybe i can help.
So i don't know how it works with pull requests in this project for outsiders.
I created that it is possible to show the myparcel delivery options only for specific shipping method of specific zone.
My commit with the changes
Ather these changes you will see this:

And the myparcel block will only be visible at the selected methods.

The shipping zones:

Many thanks for your effort. We have already fixed this issue with our next update. We've only the issue now if you select pick up at store the first hand and you switch to delivery. You don't get the delivery options. See below:
https://monosnap.com/file/VSmI7aGNPjQXO6zXsroej5eeyfREA6

Hi,
This works at mine.
Further i still have the "Bezorgdatum" in the customer emails haha.

He Rick,
So it works for you with same code as you send before? I tried on our side but as you can see in the video doesn't work correctly.

released with 3.1.6.


ctaBarsEngine

on issue #1241

last commit relates to issue #1264

Actually, there is a bug with the last revision. Since I removed my original fork, I can't edit the file here. Can someone please do a simple change?  change the two occurrences of "self.lastBar.datetime" to "self.bar.datetime".

存在代码冲突
在对应的Issue里提到了不会为了个别的需求增加无谓的代码复杂性
代码质量风格和vn.py已有代码偏差明显

关闭PR


Fixing Docker PowerShell on NanoServer

Resolves: #157

Don't merge until I get a chance to pull this on Nano and check. The local builds are fine but the AppVeyor might give us grief.

LGTM?

Update-Module Docker
_Cannot convert null to type "System.DateTime".
At C:\Program Files\WindowsPowerShell\Modules\PowerShellGet\<IP_ADDRESS>\PSModule.psm1:6843 char:17

            $InstalledDate = $null

            ~~~~~~~~~~~~~~~~~~~~~~

CategoryInfo          : MetadataError: (:) [], ArgumentTransformationMetadataException
FullyQualifiedErrorId : RuntimeException_

????

What build of nano are you on by chance? Also what is the version of:
Get-Module PackageManagement
Get-Module PowerShellGet
Get-PackageProvider NuGet


Similar requests are not matched

I use WireMock c 2.6.0 and I get this strange exception all the time:

com.github.tomakehurst.wiremock.client.VerificationException:`
No requests exactly matched. Most similar request was:  expected:<
DELETE
/foo/bar?name=Dan&id=uniqId> but was:<
DELETE
/foo/bar?name=Dan&id=uniqId>

I've checked a lot of ways but nothing helps.
My code looks like:

stubFor(delete(urlMatching(".")))
executeRequest()
verify(deleteRequestedFor(urlMatching(s"/foo/bar.")))

And I suppose that it's a bug.
Correct me if I'm wrong

Could you post the details of the request you're making in executeRequest()?

@dzyanis I think you were trying to verify with the wrong regular expression.
I suppose executeRequest is calling "/foo/bar?name=Dan&id=uniqId"
and the verify is only accepting a character but not any character. Should be "." instead of ".*"
verify(deleteRequestedFor(urlMatching(s"/foo/bar.")))
so the verify should looks like
verify(deleteRequestedFor(urlMatching(s"/foo/bar.*")))

Today I had this error, in my case it was because I am using cache (akka.http.caching), therefore, instead of my GET request being completed, the value came from the cache and the error occurred. To fix it, I cleared the cache before testing.

@tomakehurst Any update on this issue. I am also facing similar issue and more surprisingly same code is working on different machine but not on my machine.

@tomakehurst Any update on this issue. I am also facing similar issue and more surprisingly same code is working on different machine but not on my machine.

totally forgot about this issue and I don't remember how I fixed that. By the way, there is no bug. It was something wrong or with the version or with the order.

totally forgot about this issue and I don't remember how I fixed that. By the way, there is no bug. It was something wrong or with the version or with the order.

By the way, this is totally a BUG! My team has struggle with it for months..Our investigations leads to the fact that the tests run before the stubs register. So the only solution was to wait for that registering, but definitely there should something out there that handle these things behind the scene. Here you can check what we did:  https://stackoverflow.com/questions/59768415/wiremock-behaves-weird-sometime . It's hacky , but at least we're all having green builds

By the way, this is totally a BUG! My team has struggle with it for months..Our investigations leads to the fact that the tests run before the stubs register. So the only solution was to wait for that registering, but definitely there should something out there that handle these things behind the scene. Here you can check what we did:  https://stackoverflow.com/questions/59768415/wiremock-behaves-weird-sometime . It's hacky , but at least we're all having green builds

I don't think this is a WireMock bug. Stubs are registered synchronously so there shouldn't ever be a need to wait for them to become registered unless your app or framework is introducing its own asynchronicity.
What I suggest is that you try to replicate this in a test case that uses WireMock directly, removing Spring etc. and if the problem persists then open a new issue and share the full details of how to reproduce.

I don't think this is a WireMock bug. Stubs are registered synchronously so there shouldn't ever be a need to wait for them to become registered unless your app or framework is introducing its own asynchronicity.
What I suggest is that you try to replicate this in a test case that uses WireMock directly, removing Spring etc. and if the problem persists then open a new issue and share the full details of how to reproduce.

Yeah, I guess you're right about introducing its own asynchronicity. We're also using spring-react, so probably this adds it. So in our case it was really interesting, the Integration tests pack increase with time and everything worked as expected but starting with a point, some integration tests failed randomly. So this was ultimately our last solutions to wait for those subs.
You can imagine that from a point in which the service has hundreds of integration tests it's really painful to investigate or to get rid of some spring dependencies..
Anyway thanks for your support, I didn't have these kinds of problem when I used it in the past with a spring-mvc framework integrated. Cheers

Yeah, I guess you're right about introducing its own asynchronicity. We're also using spring-react, so probably this adds it. So in our case it was really interesting, the Integration tests pack increase with time and everything worked as expected but starting with a point, some integration tests failed randomly. So this was ultimately our last solutions to wait for those subs.
You can imagine that from a point in which the service has hundreds of integration tests it's really painful to investigate or to get rid of some spring dependencies..
Anyway thanks for your support, I didn't have these kinds of problem when I used it in the past with a spring-mvc framework integrated. Cheers

@tomakehurst @brebDevv
We faced the same issue and we found it was a concurrency problem in our test. You can have a look here if you like https://github.com/5733d9e2be6485d52ffa08870cabdee0/sandbox/pull/64 . To keep it short:

we had a service that was making 4 async PUT requests to a server
the test was only waiting for 2 PUT requests to be received before asserting that a particular PUT request was made
If the expected request was not within the first two and it was not received by the mock before the verify, it was failing
the misleding thing is that the expected request was received by the mock before the new VerificationException was build, so in the error message we had a perfect match between the expected payload and the received one.

Bumping this because I see the same issue. The verification message is effectively expected: "X", but was: "X". It's pretty confusing.

@rob-h-w please could you provide full details of how to replicate the issue you've seen?

Hi all. It's quite hard to replicate the issue, especially since it was failing randomly in our case(especially if your testing an asynchronous environment, as ours ). The only solution found by our team was this one: https://stackoverflow.com/questions/59768415/wiremock-behaves-weird-sometime
@rob-h-w  Please take a look at the solution comment.

This is definitely an issue and I am quite certain it is a bug too. We are struggling with exactly the same thing and I've spent the last few days trying to pin it down. Acceptance tests fail occasionally, for example running 3.2k tests 150 times fails about 6 tests. So not very often, but it's definitely there.
This is what I have found so far, hopefully someone more knowledgeable than me on Wiremock can use these hints.

version used: 2.35.0, 2.35.1 (com.github.tomakehurst:wiremock-jre8) but also 3.3.1 (org.wiremock:wiremock)
app server: Quarkus 3.1.0.Final with vertx reactive webclient
jvm: kotlin 1.8.10

I've logged the be-jezus out of wiremock, overriding custom matchers to be able to log, and can see that sometimes the wrong body is passed to the request matchers. I am expecting to match a certain JSON pattern from the body against the setup stubs. That stub - which exists - is never executed against the request sent down (transactionId-LS63/FIDLEG) but against another request (some-ska/SOS); highlighted between >>>> x <<<<.
The request body is read in RequestPattern::allBodyPatternsMatch and consumed by WireMockHttpServletRequestAdapter::getBody where I think some concurrency issues exist that sometimes provide the wrong (cached?) body.
Now the most interesting bit is that if in BEFORE_MATCH event I filter the stubs and actually log the relevant ones, the test is rock-stable. Obviously the timings have changed, or something has been triggered.
I hope this helps!
The relevant logs are below.
[qtp723166096-180 com.github.tomakehurst.wiremock.stubbing.ServeEvent@1bde2db0/BEFORE_MATCH] request: {
  "url" : "/godwit/api/calculate/bulk/document/listed/fetch-regulatory-document",
  "absoluteUrl" : http://localhost:8988/godwit/api/calculate/bulk/document/listed/fetch-regulatory-document,
  "method" : "POST",
  "clientIp" : "<IP_ADDRESS>",
  "headers" : {
    "User-Agent" : "Vert.x-WebClient/4.4.2",
    "Content-Type" : "application/json",
    "Content-Length" : "457",
    "Host" : "localhost:8988",
    "traceparent" : "00-d60401f12ad30a6fa207c68d5ccc1d32-e3bd53b23b717514-01",
    "X-B3-TraceId" : "d60401f12ad30a6fa207c68d5ccc1d32",
    "X-B3-SpanId" : "e3bd53b23b717514",
    "X-B3-Sampled" : "1"
  },
  "cookies" : { },
  "browserProxyRequest" : false,
  "loggedDate" :<PHONE_NUMBER>937,
  "bodyAsBase64" : "",
  "body" : "{\"transactionId-LS63/FIDLEG\":{\"requestId\":\"bfd3b2bc-a57d-41a4-8ab5-94bc8ea1f13b}}",
  "protocol" : "HTTP/1.1",
  "scheme" : "http",
  "host" : "localhost",
  "port" : 8988,
  "loggedDateString" : "2023-12-15T16:55:10.937Z",
  "queryParams" : { },
  "formParams" : { }
} / response: null / stubMapping: null
>>>>> [qtp723166096-180] PATTERN match (com.csg.cs.gts.compliance.documents.calculation.FetchListedRegulatoryDocumentCalculation$FIDLEG@2636bb7c - 180b3cd5-4936-4698-b659-80ab0599913d): (FIDLEG): [some-ska/SOS] <<<<<
[qtp723166096-180] PATTERN match (com.csg.cs.gts.compliance.documents.calculation.FetchListedRegulatoryDocumentCalculation$UCITS_UK@30ec45e9 - 6596e589-b955-4aca-a2ea-26c64cf37b8e): (UCITS_UK): [transactionId-LS63/FIDLEG]
[qtp723166096-180] PATTERN match (com.csg.cs.gts.compliance.documents.calculation.FetchListedRegulatoryDocumentCalculation$UCITS_PRO@6fae9f39 - b855f9e8-b3ba-412b-beae-33446595485f): (UCITS): [transactionId-LS63/FIDLEG]
[qtp723166096-180] PATTERN match (com.csg.cs.gts.compliance.documents.calculation.FetchListedRegulatoryDocumentCalculation$UCITS_EU@699148d7 - d2ac5e39-39ba-454b-be3c-7a229e5817ce): (UCITS): [transactionId-LS63/FIDLEG]
[qtp723166096-180] PATTERN match (com.csg.cs.gts.compliance.documents.calculation.FetchListedRegulatoryDocumentCalculation$PRIIPS_UK@7861b7e0 - 312259ae-3374-4826-a3e7-c086ccefed2c): (PRIIPS_UK): [transactionId-LS63/FIDLEG]
[qtp723166096-180] PATTERN match (com.csg.cs.gts.compliance.documents.calculation.FetchListedRegulatoryDocumentCalculation$PRIIPS_EU@3d7abcbd - ecf1c26a-f984-457e-8284-8b160d420e43): (PRIIPS): [transactionId-LS63/FIDLEG]
[qtp723166096-180 com.github.tomakehurst.wiremock.stubbing.ServeEvent@57822f50/AFTER_MATCH] request: {
  "url" : "/godwit/api/calculate/bulk/document/listed/fetch-regulatory-document",
 "absoluteUrl" : http://localhost:8988/godwit/api/calculate/bulk/document/listed/fetch-regulatory-document,
  "method" : "POST",
  "clientIp" : "<IP_ADDRESS>",
  "headers" : {
    "User-Agent" : "Vert.x-WebClient/4.4.2",
    "Content-Type" : "application/json",
    "Content-Length" : "457",
    "Host" : "localhost:8988",
    "traceparent" : "00-d60401f12ad30a6fa207c68d5ccc1d32-e3bd53b23b717514-01",
    "X-B3-TraceId" : "d60401f12ad30a6fa207c68d5ccc1d32",
    "X-B3-SpanId" : "e3bd53b23b717514",
    "X-B3-Sampled" : "1"
  },
  "cookies" : { },
  "browserProxyRequest" : false,
  "loggedDate" :<PHONE_NUMBER>937,
  "bodyAsBase64" : "xxx",
  "body" : "{\"transactionId-LS63/FIDLEG\":{\"requestId\":\"bfd3b2bc-a57d-41a4-8ab5-94bc8ea1f13b}}",
  "protocol" : "HTTP/1.1",
  "scheme" : "http",
  "host" : "localhost",
  "port" : 8988,
  "loggedDateString" : "2023-12-15T16:55:10.937Z",
  "queryParams" : { },
  "formParams" : { }
} / response: (no response definition configured) / stubMapping: {
  "id" : "4df86ac9-3c39-402f-b69c-40fc46e6b6d4",
  "request" : {
    "method" : "ANY"
  },
  "response" : {
    "status" : 404,
    "fromConfiguredStub" : false
  },
  "uuid" : "4df86ac9-3c39-402f-b69c-40fc46e6b6d4"
}
[qtp723166096-180] console notification logger (# of mappings: 22 (-1014077506) Request received:
<IP_ADDRESS> - POST /godwit/api/calculate/bulk/document/listed/fetch-regulatory-document
User-Agent: [Vert.x-WebClient/4.4.2]
Content-Type: [application/json]
Content-Length: [457]
Host: [localhost:8988]
traceparent: [00-d60401f12ad30a6fa207c68d5ccc1d32-e3bd53b23b717514-01]
X-B3-TraceId: [d60401f12ad30a6fa207c68d5ccc1d32]
X-B3-SpanId: [e3bd53b23b717514]
X-B3-Sampled: [1]
{"transactionId-LS63/FIDLEG":{"requestId":"bfd3b2bc-a57d-41a4-8ab5-94bc8ea1f13b"}}

Matched response definition:
(no response definition configured)

Response:
HTTP/1.1 404
(no headers)

Thanks for reporting @Darkvater, but I don't think there's much we can do without a bit more information. Please could you share a repro project and your full startup/config settings?

Sorry, can't as it's an internal project. There is nothing special in the server setup; global transformer.is enabled, that's it. I'll try and investigate a bit more around the reading of the response body.

Okay, I have found the culprit, at least in my case. It's json-path or its json provider having a concurrency issue.
The logs show that for the same json body JsonPath.read(value, expectedValue) in MatchesJsonPathPattern::getExpressionResult returns a wrong value (MIFID) while it should return PRIIPS as done by objectmapper. Looks like it might be due to something in JsonSmartJsonProvider (json-smart-2.8.0) which json-path-2.8.0 is using by default
[qtp1597441511-250 - 909308825] MATCH body: <some-body>
[qtp1597441511-250 - 909308825] ISADVANCEDMATCH body: <some-body>
[qtp1597441511-250 - 909308825] GETEXPRESSIONRESULT expectedValue: concat($.keys()), body: <some-body>
[qtp1597441511-250 - 909308825] - GETEXPRESSIONRESULT objectmapper: [transactionId-Lr27/PRIIPS]
----------------------------------------------------------------------------------------------------------------
[qtp1597441511-250 - 909308825] - GETEXPRESSIONRESULT obj: [transactionId-Lr27/MIFID], expectedValue: concat($.keys()), value: <some-body>
[qtp1597441511-250 - 909308825] - GETEXPRESSIONRESULT obj(string): [transactionId-Lr27/MIFID], expectedValue: concat($.keys()), value: <some-body>
[qtp1597441511-250 - 709664492] PATTERN (PRIIPS): [transactionId-Lr27/MIFID]
----------------------------------------------------------------------------------------------------------------
[qtp1597441511-250 - 709664492] PATTERN is-match false
[qtp1597441511-250 - 909308825] ISADVANCEDMATCH result: false, body: <some-body>
[qtp1597441511-250 - 909308825] MATCH result: false, body: <some-body>

in the logs the first value is the thread id, the second is the object hash code.

Thanks for sharing this discovery @Darkvater !

For anyone having an issue with wiremock flakyness and using json matchers (at least up to and including json-path-2.8.0): turn off JSONPath cache which will "solve" the problem at least until a proper solution is in place. See https://github.com/json-path/JsonPath/issues/975#issuecomment-1867293053 for details.

@Darkvater would you mind raising a PR to turn this off in WireMock (at least until it gets fixed upstream)?


Make FileAccess and DirAccess classes reference counted.

Changes FileAccess and DirAccess to be reference counted, removes FileAccessRef and DirAccessRef.

For now, I have not attempted to merge corebind::File/Directory with these. There are some API differences, and it's probably better to do it in a separate PR.

This is incredible! Do not forget to remove the File and Dir wrapper classes used for bindings, since they will no longer be relevant.

This is incredible! Do not forget to remove the File and Dir wrapper classes used for bindings, since they will no longer be relevant.

@bruvzg mentioned he'd do in a separate PR, and I agree that it might be better (will be easier to review and test the two changes independently).

For now, I have not attempted to merge corebind::File/Directory with these. There are some API differences, and it's probably better to do it in a separate PR.

There's an issue with RotatedFileLogger and ObjectDB interaction, I do not know how to fix (at least without adding extra hacks).
RotatedFileLogger use Ref<FileAccess>, and it is part of OS class, so it's destroyed when OS is. The issue is, since FileAccess is ref. counted Object it is registered in the ObjectDB, and ObjectDB is cleared before OS destruction. So it's either reported as leaked by ObjectDB cleanup, or crash when it's trying to remove itself from the nonexistent ObjectDB.

The next question is, how to merge File and FileAccess (same points apply to Directory / DirectoryAccess):

Currently, there's abstract FileAccess and a bunch of implementations, so I guess the logical way to go is to register all of them (or maybe all except FileAccess{Platform}?) and remove File wrapper.
Existing File wrapper use Error open(....) non-static methods, and FileAccess use static Ref<FileAccess> open(..., Error *r_err = nullptr). Now we have static methods, but there's no equivalent of Error *r_err, so I'm not sure how to return both the instance of FileAccess and Error code (maybe an extra get_last_error static function?).
The rest of the wrapper is the same as FileAccess, there are a few extra functions, but everything should be easy to expose.

Thanks!


No PRs due to unclear update_not_possible

Is there an existing issue for this?

[X] I have searched the existing issues

Package ecosystem
npm
Package manager version
10.2.4
Language version
20.11.0
Manifest location and content before the Dependabot update
This is my package.json, located in the root project folder:
{
  "name": "my-project",
  "repository": "my-project-url",
  "license": "UNLICENSED",
  "scripts": {
    "build": "wireit",
    "i18n:build": "wireit",
    "test": "wireit",
    "lint": "wireit",
    "test:ci": "wireit",
    "i18n:extract": "wireit"
  },
  "wireit": {
    "build": {
      "dependencies": [
        "sass",
        "svg",
        "webpack",
        "esm"
      ]
    },
    "webpack": {
      "command": "webpack",
      "files": [
        "frontend/assets/js/**/*.js",
        "frontend/assets/js/**/*.vue",
        "webpack.*"
      ],
      "output": [
        "frontend/static/js/*.min.js"
      ],
      "clean": true,
      "dependencies": [
        "esm",
        "i18n:build"
      ]
    },
    "esm": {
      "command": "esbuild `find frontend/assets/js -iname \"*.js\" -not -path \"*/__tests__/*\" -not -path \"*/__fixture__/*\"` --outdir=frontend/static/js --minify --sourcemap --target=es6 --format=esm",
      "files": [
        "frontend/assets/js/**/*.js"
      ],
      "output": [
        "frontend/static/js/**/*.js"
      ],
      "dependencies": [
        "i18n:build",
        "esm-dists"
      ]
    },
    "esm-dists": {
      "command": "node esm-dists.mjs",
      "files": [
        "node_modules/**/*.js"
      ],
      "output": [
        "frontend/static/dependencies/*.min.mjs"
      ]
    },
    "svg": {
      "command": "svg-sprite --config=svg-sprite.config.json 'frontend/assets/gfx/**/*.svg' 'node_modules/plyr/src/sprite/*.svg'",
      "files": [
        "frontend/assets/gfx/**/*.svg",
        "node_modules/plyr/src/sprite/*.svg"
      ],
      "output": [
        "frontend/static/img/sprite.svg"
      ]
    },
    "sass": {
      "command": "npx sass frontend/assets/scss:frontend/static/css --style=compressed --embed-sources --load-path=node_modules",
      "files": [
        "frontend/assets/scss/**/*.scss"
      ],
      "output": [
        "frontend/static/css"
      ],
      "dependencies": [
        "fonts"
      ]
    },
    "fonts": {
      "command": "node copy-fonts.mjs",
      "files": [
        "frontend/assets/fonts/*.woff2",
        "frontend/assets/fonts/*.woff"
      ],
      "output": [
        "frontend/static/fonts/*.woff2",
        "frontend/static/fonts/*.woff"
      ]
    },
    "i18n:extract": {
      "command": "lit-localize extract",
      "files": [
        "lit-localize.json",
        "frontend/assets/js/**/*.js"
      ]
    },
    "i18n:build": {
      "command": "lit-localize build",
      "files": [
        "lit-localize.json",
        "frontend/assets/js/xliff/*.xlf"
      ],
      "output": [
        "frontend/assets/js/locale/*.js"
      ]
    },
    "lint": {
      "dependencies": [
        "lint:js",
        "lint:sass"
      ]
    },
    "lint:js": {
      "command": "eslint \"**/*.{js,vue}\""
    },
    "lint:sass": {
      "command": "stylelint \"**/*.scss\""
    },
    "test": {
      "command": "jest"
    },
    "test:ci": {
      "command": "jest --ci"
    }
  },
  "version": "0.1.0",
  "engines": {
    "node": "20.*",
    "npm": "10.*"
  },
  "packageManager": "npm",
  "imports": {
    "#js/components/*": "./frontend/static/js/components/*.js",
    "#js/integrations/*": "./frontend/static/js/integrations/*.js",
    "#js/locale/*": "./frontend/static/js/locale/*.js",
    "#js/pages/*": "./frontend/static/js/pages/*.js",
    "#dependencies/*": "./frontend/static/dependencies/*.min.mjs"
  },
  "sasslintConfig": ".sass-lint.yaml",
  "dependencies": {
    "htmx.org": "*",
    "lit": "*"
  },
  "devDependencies": {
    "@algolia/autocomplete-js": "*",
    "@algolia/autocomplete-theme-classic": "*",
    "@easepick/bundle": "*",
    "@lit/localize": "*",
    "@lit/localize-tools": "*",
    "@mapbox/mapbox-gl-geocoder": "*",
    "@pusher/push-notifications-web": "*",
    "@sentry/browser": "*",
    "@sentry/integrations": "*",
    "@testing-library/jest-dom": "*",
    "algoliasearch-helper": "*",
    "chart.js": "*",
    "chartjs-adapter-dayjs-4": "*",
    "chartjs-chart-treemap": "*",
    "chartjs-plugin-annotation": "*",
    "dayjs": "*",
    "esbuild": "*",
    "esbuild-jest": "*",
    "eslint": "*",
    "eslint-config-standard": "*",
    "eslint-plugin-jest": "*",
    "eslint-plugin-jsdoc": "*",
    "eslint-plugin-promise": "*",
    "eslint-plugin-vue": "*",
    "hls.js": "*",
    "identity-obj-proxy": "*",
    "jest": "*",
    "jest-canvas-mock": "*",
    "jest-environment-jsdom": "*",
    "lit-css-loader": "*",
    "lodash": "*",
    "lodash-webpack-plugin": "*",
    "mousetrap": "*",
    "normalize.css": "*",
    "plyr": "*",
    "pusher-js": "*",
    "sass": "*",
    "shepherd.js": "*",
    "standard": "*",
    "stylelint": "*",
    "stylelint-config-standard-scss": "*",
    "stylelint-scss": "*",
    "svg-sprite": "*",
    "svgo": "*",
    "swiper": "9.*",
    "vue": "2.7.16",
    "vue-loader": "15.x",
    "vue-template-compiler": "*",
    "webpack": "*",
    "webpack-cli": "*",
    "wireit": "*"
  }
}

dependabot.yml content
# https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file
version: 2
updates:
- package-ecosystem: pip
  directory: "/"
  schedule:
    interval: weekly
  groups:
    minor-python-dependencies:
      update-types:
        - "minor"
        - "patch"
    major-python-dependencies:
      update-types:
        - "major"
  versioning-strategy: lockfile-only
  open-pull-requests-limit: 10
- package-ecosystem: npm
  directory: "/"
  schedule:
    interval: weekly
  groups:
    minor-javascript-dependencies:
      update-types:
        - "minor"
        - "patch"
    major-javascript-dependencies:
      update-types:
        - "major"
  versioning-strategy: lockfile-only
  open-pull-requests-limit: 10
- package-ecosystem: github-actions
  directory: "/"
  schedule:
    interval: weekly

Updated dependency
No response
What you expected to see, versus what you actually saw
As of today, I see a list of outdated dependencies, while Dependabot states: No PRs affected.
In dependabot logs I see the following:
updater | 2024/04/15 07:05:37 INFO <job_814568055> Checking if hls.js  needs updating
  proxy | 2024/04/15 07:05:37 [315] GET https://registry.npmjs.org:443/hls.js
  proxy | 2024/04/15 07:05:37 [315] 200 https://registry.npmjs.org:443/hls.js
  proxy | 2024/04/15 07:05:40 [317] HEAD https://registry.npmjs.org:443/hls.js/-/hls.js-1.5.8.tgz
  proxy | 2024/04/15 07:05:40 [317] 200 https://registry.npmjs.org:443/hls.js/-/hls.js-1.5.8.tgz
updater | 2024/04/15 07:05:40 INFO <job_814568055> Latest version is 1.5.8
updater | 2024/04/15 07:05:40 INFO <job_814568055> Requirements to unlock update_not_possible
updater | 2024/04/15 07:05:40 INFO <job_814568055> Requirements update strategy lockfile_only
updater | 2024/04/15 07:05:40 INFO <job_814568055> No update possible for hls.js

This started several months before, without me touching the dependency logic.
Native package manager behavior
❯ npm outdated
Package               Current   Wanted   Latest  Location
@sentry/browser       7.109.0  7.110.0  7.110.0  node_modules/@sentry/browser
@sentry/integrations  7.109.0  7.110.0  7.110.0  node_modules/@sentry/integrations
eslint                 8.57.0    9.0.0    9.0.0  node_modules/eslint
eslint-plugin-vue      9.24.1   9.25.0   9.25.0  node_modules/eslint-plugin-vue
hls.js                  1.5.7    1.5.8    1.5.8  node_modules/hls.js
sass                   1.74.1   1.75.0   1.75.0  node_modules/sass
swiper                  9.4.1    9.4.1   11.1.1  node_modules/swiper
vue                    2.7.16   2.7.16   3.4.21  node_modules/vue
vue-loader            15.11.1  15.11.1   17.4.2  node_modules/vue-loader

Images of the diff or a link to the PR, issue, or logs
No response
Smallest manifest that reproduces the issue
No response

@abdulapopoola thank you for adding this to the project!
I wonder if it is possible to get information on the process. Is there something to be done, can I help with moving this forward?
The issue here means that right now we cannot rely on dependabot to do the job it is supposed to do - update our dependencies.

Getting same error, seems to be related to NPM V10.
Dependabot can't resolve your JavaScript dependency files
Dependabot failed to update your dependencies because there was an error resolving your JavaScript dependency files.

Dependabot encountered the following error:

Dependabot uses Node.js v20.16.0 and NPM 10.8.1. Due to the engine-strict setting, the update will not succeed.

From log
Dependabot encountered '3' error(s) during execution, please check the logs for more details.
+----------------------------------------------------------------+
|                 Dependencies failed to update                  |
+-------------------------------+--------------------------------+
| @fortawesome/fontawesome-free | dependency_file_not_resolvable |
| tailwindcss                   | dependency_file_not_resolvable |
| eslint-plugin-n               | dependency_file_not_resolvable |
+-------------------------------+--------------------------------+
Failure running container a6c2610781485ad9fc036538ab247374a7a35622deaf45bfbd0c6ae61e469417
Cleaned up container a6c2610781485ad9fc036538ab247374a7a35622deaf45bfbd0c6ae61e469417
  proxy | 2024/07/26 04:05:29 10/92 calls cached (10%)
  proxy | 2024/07/26 04:05:29 Posting metrics to remote API endpoint
Error: Dependabot encountered an error performing the update

Error: The updater encountered one or more errors.

Found someone else with same problem:
https://github.com/oaknational/Oak-Web-Application/pull/2484

updater | 2024/07/26 04:05:15 INFO <job_860834412> Checking if @fortawesome/fontawesome-free 6.5.2 needs updating
  proxy | 2024/07/26 04:05:15 [083] GET https://registry.npmjs.org:443/@fortawesome%2Ffontawesome-free
  proxy | 2024/07/26 04:05:15 [083] 200 https://registry.npmjs.org:443/@fortawesome%2Ffontawesome-free
  proxy | 2024/07/26 04:05:15 [085] HEAD<EMAIL_ADDRESS>  proxy | 2024/07/26 04:05:15 [085] 200<EMAIL_ADDRESS>updater | 2024/07/26 04:05:15 INFO <job_860834412> Latest version is 6.6.0
  proxy | 2024/07/26 04:05:15 [087] GET https://registry.npmjs.org:443/photobooth
  proxy | 2024/07/26 04:05:15 [087] 200 https://registry.npmjs.org:443/photobooth
  proxy | 2024/07/26 04:05:17 [089] GET https://registry.npmjs.org:443/@fortawesome%2ffontawesome-free
  proxy | 2024/07/26 04:05:17 [089] 200 https://registry.npmjs.org:443/@fortawesome%2ffontawesome-free
  proxy | 2024/07/26 04:05:17 [091] GET https://registry.npmjs.org:443/photobooth
2024/07/26 04:05:17 [091] 200 https://registry.npmjs.org:443/photobooth
updater | 2024/07/26 04:05:17 INFO <job_860834412> Requirements to unlock own
  proxy | 2024/07/26 04:05:17 [093] GET https://registry.npmjs.org:443/photobooth
2024/07/26 04:05:17 [093] 200 https://registry.npmjs.org:443/photobooth
updater | 2024/07/26 04:05:17 INFO <job_860834412> Requirements update strategy bump_versions
updater | 2024/07/26 04:05:17 INFO <job_860834412> Updating @fortawesome/fontawesome-free from 6.5.2 to 6.6.0
  proxy | 2024/07/26 04:05:18 [095] POST /update_jobs/860834412/record_update_job_error
  proxy | 2024/07/26 04:05:18 [095] 204 /update_jobs/860834412/record_update_job_error
updater | 2024/07/26 04:05:18 INFO <job_860834412> Handled error whilst updating @fortawesome/fontawesome-free: dependency_file_not_resolvable {:message=>"Dependabot uses Node.js v20.16.0 and NPM 10.8.1. Due to the engine-strict setting, the update will not succeed."}

Where does https://registry.npmjs.org:443/photobooth come from?
The repo is called photobooth having trouble on... but it is not available via npmjs ... That's a different project.


NO IUSSE！！ Here is a python script that can use the steering wheel to control the gear shifting

You can set your own steering wheel input keys, the default settings are as follows：
Button 21: Mapped to the LCtrl key (Left Control).
Button 34: Mapped to the LAlt key (Left Alt).
Hope this helps！
keys.zip

I use joystick gremlin to achieve something equivalent. My shifter is mapped to my numblock which is used for the different gears in smgm.ini.
https://whitemagic.github.io/JoystickGremlin/


RuntimeError: dictionary changed size during iteration

Description
We experienced in incident the other day where our servers were overload (100% cpu usage) and the newrelic agent was crashing and making things much worse. A dictionary is being modified while its being iterated over - looking at the code there does not seem to be any protection from this happening
Expected Behavior
The agent does not crash and properly handler concurrency
Troubleshooting
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/uvicorn/protocols/http/h11_impl.py", line 404, in run_asgi
    result = await app(  # type: ignore[func-returns-value]
  File "/usr/local/lib/python3.9/site-packages/uvicorn/middleware/proxy_headers.py", line 78, in __call__
    return await self.app(scope, receive, send)
  File "/usr/local/lib/python3.9/site-packages/newrelic/api/asgi_application.py", line 359, in nr_async_asgi
    return await coro
  File "/usr/local/lib/python3.9/site-packages/newrelic/common/async_proxy.py", line 148, in __next__
    return self.send(None)
  File "/usr/local/lib/python3.9/site-packages/newrelic/common/async_proxy.py", line 120, in send
    return self.__wrapped__.send(value)
  File "/usr/local/lib/python3.9/site-packages/newrelic/common/async_proxy.py", line 110, in __exit__
    trace_cache().record_event_loop_wait(self.enter_time, time.time())
  File "/usr/local/lib/python3.9/site-packages/newrelic/core/trace_cache.py", line 362, in record_event_loop_wait
    for trace in self._cache.values():
  File "/usr/local/lib/python3.9/weakref.py", line 248, in values
    for wr in self.data.values():
RuntimeError: dictionary changed size during iteration

Steps to Reproduce
This is not very easy to reproduce, but if needed I can try to come up with an application.  Reading the code I did not really see how this scenario was protected against and the fix could be as simple as iterating over a copy of the dict.
Your Environment
fastapi==0.75.0
uvicorn==0.18.3
gunicorn==20.1.0
newrelic==<IP_ADDRESS>

Python FastAPI application running in a docker container in kubernetes.

I believe this was addressed in https://github.com/newrelic/newrelic-python-agent/pull/631, if this is still an issue after upgrading to v8.2.1 feel free to reopen this issue.

Still seeing this; list(dict.values()) is still iterating over the dictionary to copy it to a list - you're likely going to need a lock or some other concurrency mechanism.
Error Message
dictionary changed size during iteration
Traceback (most recent call last):
File "/usr/local/bin/gunicorn", line 8, in <module>
                         File /usr/local/lib/python3.9/site-packages/gunicorn/app/wsgiapp.py, line 67, in run
                            File /usr/local/lib/python3.9/site-packages/gunicorn/app/base.py, line 231, in run
                            File /usr/local/lib/python3.9/site-packages/gunicorn/app/base.py, line 72, in run
                             File /usr/local/lib/python3.9/site-packages/gunicorn/arbiter.py, line 202, in run
                             File /usr/local/lib/python3.9/site-packages/gunicorn/arbiter.py, line 551, in manage_workers
                             File /usr/local/lib/python3.9/site-packages/gunicorn/arbiter.py, line 622, in spawn_workers
                             File /usr/local/lib/python3.9/site-packages/gunicorn/arbiter.py, line 589, in spawn_worker
                              File /usr/local/lib/python3.9/site-packages/uvicorn/workers.py, line 66, in init_process
                        File /usr/local/lib/python3.9/site-packages/gunicorn/workers/base.py, line 142, in init_process
                              File /usr/local/lib/python3.9/site-packages/uvicorn/workers.py, line 83, in run
                                            File /usr/local/lib/python3.9/asyncio/runners.py, line 44, in run
                                        File /usr/local/lib/python3.9/asyncio/base_events.py, line 629, in run_until_complete
                                        File /usr/local/lib/python3.9/asyncio/base_events.py, line 596, in run_forever
                                        File /usr/local/lib/python3.9/asyncio/base_events.py, line 1890, in _run_once
                                             File /usr/local/lib/python3.9/asyncio/events.py, line 80, in _run
              File /usr/local/lib/python3.9/site-packages/uvicorn/protocols/http/h11_impl.py, line 404, in run_asgi
             File /usr/local/lib/python3.9/site-packages/uvicorn/middleware/proxy_headers.py, line 78, in __call__
                File /usr/local/lib/python3.9/site-packages/newrelic/api/asgi_application.py, line 359, in nr_async_asgi
                  File /usr/local/lib/python3.9/site-packages/newrelic/common/async_proxy.py, line 148, in __next__
                  File /usr/local/lib/python3.9/site-packages/newrelic/common/async_proxy.py, line 120, in send
                  File /usr/local/lib/python3.9/site-packages/newrelic/common/async_proxy.py, line 110, in __exit__
                    File /usr/local/lib/python3.9/site-packages/newrelic/core/trace_cache.py, line 362, in record_event_loop_wait
                                                    File /usr/local/lib/python3.9/weakref.py, line 248, in values

@TimPansino i am not able to reopen this issue.


Error when evaluating SSR module when running SvelteKit 1.0.0-next.168 dev server

After explicitly adding dayjs to my devDependencies in my package.json per https://github.com/6eDesign/svelte-calendar/issues/125, I get:

1:47:35 PM [vite] Error when evaluating SSR module /node_modules/svelte-calendar/src/lib/components/Datepicker.svelte:
Error: failed to load module for ssr: /src/lib/stores/datepicker
at instantiateModule (/Users/nates/dev/my-app/node_modules/vite/dist/node/chunks/dep-63d4bd14.js:75058:15)
1:47:35 PM [vite] Error when evaluating SSR module /node_modules/svelte-calendar/index.js:
Error: failed to load module for ssr: /src/lib/stores/datepicker
at instantiateModule (/Users/nates/dev/my-app/node_modules/vite/dist/node/chunks/dep-63d4bd14.js:75058:15)
1:47:35 PM [vite] Error when evaluating SSR module /src/routes/index.svelte:
Error: failed to load module for ssr: /src/lib/stores/datepicker
at instantiateModule (/Users/nates/dev/my-app/node_modules/vite/dist/node/chunks/dep-63d4bd14.js:75058:15)
failed to load module for ssr: /src/lib/stores/datepicker
Error: failed to load module for ssr: /src/lib/stores/datepicker
at instantiateModule (/Users/nates/dev/my-app/node_modules/vite/dist/node/chunks/dep-63d4bd14.js:75058:15)

when doing an npm run dev -- --open with a fresh SvelteKit project that imports Datepicker and uses the component on /src/routes/index.svelte.

Reverting back to<EMAIL_ADDRESS>is my temporary workaround.

Same problem here with Svelte kit.
Didn't include dayjs.
Using<EMAIL_ADDRESS>works.
Also having errors in VSCode (my project is a typescript one)

with 2.0.4: SX element type 'Datepicker' does not have any construct or call signatures.
with 3.x: Type '{}' is not assignable to type 'IntrinsicAttributes & { formatted: string; selected?: Date; start?: Date; end?: Date; theme?: {}; defaultTheme?: any; format?: string; store?: { set: (this: void, value: { open: boolean; ... 8 more ...; activeViewDirection: number; }) => void; ... 11 more ...; getCalendarPage(month: any, year: any): { ...; }[]; }; }'. Property 'formatted' is missing in type '{}' but required in type '{ formatted: string; selected?: Date; start?: Date; end?: Date; theme?: {}; defaultTheme?: any; format?: string; store?: { set: (this: void, value: { open: boolean; hasChosen: boolean; selected: any; start: Date; ... 5 more ...; activeViewDirection: number; }) => void; ... 11 more ...; getCalendarPage(month: any, ye...'

Wonderful calendar by the way!

Packaging configuration updates have been applied and sveltekit-specific instructions have been added to the README.  Please re-open/comment if you are continuing to have issues after updating svelte-calendar and updating your svelte.config.js.


linux_testing: 6.6-rc2 -> 6.6-rc3

Description of changes

Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

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

2 packages built:

linux_testing
linux_testing.dev (linux_testing.dev.dev)


Project sharing backend

update getUsers function to be accessible by users of any role
add endpoint for adding contributors to a project
update getUsers function to accept post requests with role as query parameter and project_id as request parameter

issue #30


Named/reserved lobbies are displayed in number form when outside the lobby menu

When still connected to a lobby, named lobbies are not displayed in named form in the top bar while in the Main Menu.

This is not a bug. The server uses a 4-digit code for all lobbies including aliased lobbies.
In the future this may change however since both identifiers are valid ways to connect to a lobby it isn't an issue.


Stop marker moving

Hello i used this snippets to move a marker but I wanna handle the moving with button to stop the marker from moving
final stream = Stream.periodic(kDuration, (count) => kLocations[count]).take(kLocations.length);

I solved this by adding StreamSubscription
here is my code that might help
  StreamSubscription mySubscribedStream;
  Stream<dynamic> stream;
  ....
  ....
  ....
  ....
  ....
   play() {
    if (mySubscribedStream != null && mySubscribedStream.isPaused)
      mySubscribedStream.resume();
    else {
      stream = Stream.periodic(Duration(milliseconds: 1500),
          (count) => currentPoints[count]);
      mySubscribedStream =
          stream.take(currentPoints.length).listen((value) {
       newLocationUpdate(value);
      });
    }
   }

Hey, I used your code but it doesn't seem to work. Can you guide me how you stoped the marker?


Null reference on FluentSelect even if there is data

🐛 Bug Report
I'm not being able to use FluentSelect, everytime i get "NullReferenceException: Object reference not set to an instance of an object." even when there is data. I want to use fluent select inside FluentGrid.
💻 Repro or Code Sample

Create Invoice

@(context.UnitPrice * context.Quantity)

🤔 Expected Behavior
Expect it to work
😯 Current Behavior

💁 Possible Solution

🔦 Context

🌍 Your Environment

OS & Device: [e.g. MacOS, iOS, Windows, Linux] on [iPhone 7, PC]
Browser [e.g. Microsoft Edge, Google Chrome, Apple Safari, Mozilla FireFox]
.NET and FAST Version [e.g. 1.8.0]

Could you give us the content of Items property? Do you have a null item in this list?
Maybe related to #1144

Oh property inside the Item was now the problem is gone, Thanks @dvoituron ,
But i'm using fluent select inside FluentGrid and getting the akward ui, the list on the select is not completely visible

That is a know open issue. See #217 for some possible workarounds


[GHSA-6c5p-j8vq-pqhj] python-jose algorithm confusion with OpenSSH ECDSA keys

Updates

Affected products
CVSS v3

Comments
uhh

Hi @gtpropy, could provide more detail on why the score should be removed?


Update the dns crate and add graceful shutdown

trust-dns crate has been changed to hickory-dns.
This PR is updating to the new crate and also using the new graceful shutdown support to shutdown the server on drain and avoid the warnings in logs.

PR needs rebase.

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@ymesika: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

test_ztunnel
03a7491d82701f6fe4ac785f25e66a68b5219f6e
link
true
/test test

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.


Apple ID Token is Faulty (auth code)

The ID token for sign-in-with-apple seems to be a faulty JWT recently.
Checking the code, it the id token is passed as access token and the auth-code is passed as id token: https://github.com/Cap-go/capacitor-social-login/blob/main/ios/Sources/SocialLoginPlugin/AppleProvider.swift#L256 - why is the auth code being assigned to ID token instead of identityToken?
Ref: https://developer.apple.com/documentation/authenticationservices/asauthorizationappleidcredential

The name have been changed to be consistent between all auth systems.
Maybe we can implement an option to keep the original name

I ran into this same problem. For now, I'm accessing the accessToken.token to capture the user email address.

@eugenedw thanks you are a genius ! i added that in swift code ! now you always have the email !


Update i18next to 21.8.3 version to remove chrome warnings because of navigator.userAgent

Describe the bug
next-i18next use i18next underneath, that uses navigator.userAgent causing issue in chrome: https://github.com/i18next/i18next/issues/1778
Issue was already fixed: https://github.com/i18next/i18next/commit/4b9413c1f1a12ebda3760ebf7c8c58377b77cddd
Please update i18next library in project to version 21.8.3
Occurs in next-i18next version
"next-i18next": "^11.0.0"
Steps to reproduce

Use library in any project
Run Lighthouse report from ChromeDev tools with "Best practices" checkbox selected
Switch to console tab
Open issues - one issue found:

Title: "Audit usage of navigator.userAgent, navigator.appVersion, and navigator.platform"
Description: "A page or script is accessing at least one of navigator.userAgent, navigator.appVersion, and navigator.platform. Starting in Chrome 101, the amount of information available in the User Agent string will be reduced.
To fix this issue, replace the usage of navigator.userAgent, navigator.appVersion, and navigator.platform with feature detection, progressive enhancement, or migrate to navigator.userAgentData.
Note that for performance reasons, only the first access to one of the properties is shown."
More details about issue: https://blog.chromium.org/2021/09/user-agent-reduction-origin-trial-and-dates.html

Expected behaviour
No issue related with dependent library
Screenshots

OS (please complete the following information)

Device: MacBook Pro 2021 - macOS Monteret v12.2.1 / Apple M1 Pro
Browser: Chrome v100.0.4896.127
Runtime version: node v16.14.0

#1898


How to hide the menu on a specific ViewController

I need to hide the MMDrawerController on a specific ViewControllers such as my Login and Signup controllers.

You can try to set up a UIViewController call it the ApplicationViewController, then put a container view in it. This container view will switch between you LoginViewController /SignupViewController / MainAppViewController (this the view containing the MMDrawerController, and it will be presented after user logged in successfully). To switch between view controllers in the container view, you can the follow method. Hope this helps.
`- (void)setEmbeddedViewController:(UIViewController *)controller
{
if([self.childViewControllers containsObject:controller]) {
return;
}
//remove all existing child view controllers
for(UIViewController *vc in self.childViewControllers) {
    [vc willMoveToParentViewController:nil];

    if(vc.isViewLoaded) {
        [vc.view removeFromSuperview];
    }

    [vc removeFromParentViewController];
}

if(!controller) {
    return;
}

//set new view controller
[self addChildViewController:controller];
[self.containerView addSubview:controller.view];
[controller.view mas_updateConstraints:^(MASConstraintMaker *make) {
    make.edges.equalTo(@0);
}];
[controller didMoveToParentViewController:self];

//animate new view
[UIView animateWithDuration:0.25 animations:^{
    self.containerView.alpha = 0.5;
    self.containerView.alpha = 1;
}];

}
`


Unsecret error on Workflow D.2 query

https://arax.ncats.io/?source=ARS&id=9938906a-6f8e-4886-b454-66f5372c81ae

{
  "callback": "http://localhost:8000/ars/api/messages/838f61aa-090e-4c25-b232-3a170e409f5c",
  "message": {
    "query_graph": {
      "edges": {
        "e00": {
          "object": "n01",
          "subject": "n00"
        },
        "e01": {
          "object": "n02",
          "subject": "n01"
        }
      },
      "nodes": {
        "n00": {
          "categories": [
            "biolink:ChemicalSubstance"
          ],
          "ids": [
            "DRUGBANK:DB00215",
            "DRUGBANK:DB01175",
            "DRUGBANK:DB00472",
            "DRUGBANK:DB00176",
            "DRUGBANK:DB00715",
            "DRUGBANK:DB01104"
          ]
        },
        "n01": {
          "categories": [
            "biolink:Gene"
          ]
        },
        "n02": {
          "categories": [
            "biolink:Disease"
          ],
          "ids": [
            "DOID:114"
          ]
        }
      }
    }
  },
  "validation_result": {
    "message": "",
    "size": "1 kB",
    "status": "PASS",
    "version": "1.1.1"
  }
}```

@webyrd request for update

Will triage by August 12, 2021.

After further investigation, this looks like a server (probably Kubernetes) configuration issue.  We probably need to work out the problem with ITRB.  Seems like there is a 60-second timeout from Kubernetes.
When I run the query locally, using light-weight reasoning, the query returns in 6 minutes.  with 50 results.

Jeff sent an email to ITRB explaining the problem:
"We think the dropped connection may be due to idle timeout, for which AWS ALB has a default of 60 seconds.
...
In deploy/ingress.yaml I have changed the following parameter according to the AWS kubernetes documentation, but it seems to have no effect:
alb.ingress.kubernetes.io/load-balancer-attributes: idle_timeout.timeout_seconds=660

I also noticed that this parameter is supposed to change the URL for ALB health checks.  It also seems to have no effect in our system:
alb.ingress.kubernetes.io/healthcheck-path: /health

Please investigate."

ITRB seems to have fixed the timeout issue.  I will test with the updated timeout once today's hackathon session is over.


CrateDB 4 Upgrade

The problem
With the CrateDB 4.x series out since June 2019, we should consider upgrading at some point.
Currently we support version 3.3 and it doesn't look like that upgrading to 4.x is going to be a walk in the park for us. In fact, some of the SQL statements we generate rely on features that were dropped in Crate v4 (see e.g. #254) and it'd be a good idea to review the rest of the SQL we generate too. Also, we might have to migrate prod tables since according to the Crate docs:

Tables that were created prior CrateDB 3.x will not function with 4.x and must be recreated before moving to 4.x.x.

Do we have any prod tables that we created with Crate 2? Did the upgrade to v3 automatically changed their format so that they'll be compatible with v4? Um, I doubt it...
Proposed solution
Test each and every SQL statement we generate with Crate 4 and fix what breaks. Figure out if we need a data migration too. Then do the upgrade.
Alternatives
If testing SQL statements turns out to be too time consuming, we should consider if this is a good time to re-engineer the translators (both Crate and Timescale) to use ASTs instead of string manipulation.

@c0c0n3 as first action, i would in the readme the version supported of crate and timescale

ON CONFLICT (column_ident [, ...]) DO UPDATE SET { column_ident = expression update may not be that painful. Yes we had some release using crate 2.x. But i am not sure anyone is still using it.

not be that painful.

Yep, as long as it's the only thing to change, but we should test the rest too :-)

Hi,
is there any update on this? From my perspective crate 4.x is slighly easier adminstrate and to scale than v3.x. Especially from the documentation point of view it seems easier. But maybe this also goes together with #258 which would make quantumleap more independent from the database engine itself.
Cheers

Hi @tstorek,
No, we haven't managed to tackle this yet. We're understaffed at the moment, so this will probably have to wait until next year---of course, contributions are welcome! Re: InfluxDB, we have no plans to support it at the moment since it's missing some critical (to us!) features, see this comment to #258.
Sorry to disappoint you, but like I said we'd really need an extra pair of hands to get this off the ground...

We would also very much appreciate if crate 4.x gets supported as we already use it as a component, currently persist context data with our very own glue code (but without an API to query the timeseries) and downgrading to 3.x isn't really an option at our stage.
As much as I would like to contribute on this, I doubt that my python skills will be helpful here, but at least I have forked the repo to examine if there is anything simple I can do.

@pinkerltm I suspect the issue is not much about python skills, at least to introduce base support. At the moment, as you can read from the thread, is not a priority internally. Of course contributions are welcome. If that's really something extremely important and urgent to you, we can explore some commercial support option, but we will have to check if allocations allow for that.

@pinkerltm

examine if there is anything simple I can do.

You could try patching SQL statement generation like @chicco785 explained in an earlier comment. If we're lucky, perhaps that's all we need to do.
If you'd like to give it a shot:

Update the Crate version in deps.env

Patch on duplicate ... statement as explained earlier

Assuming you've got Python 3.6 on your box, cd to the repo root dir and run
$ pip install pipenv
$ pipenv install
$ source setup_dev_env.sh
$ sh run_tests.sh

If all hell breaks loose, well nice try, but let's leave it at that. On the other hand if there are no errors, you could build a new QL image
$ docker build -t quantumleap .

deploy it to your cluster and hammer it away, trying as many queries as you can. This would be very valuable as it could unearth lots of issues that we could, in time, fix.

Oh forgot to mention. A couple of tests will fail regardless, just ignore them---see #292.

@pinkerltm as you can see i made an attempt in #300 probably not so painful to fix except if one of the test failing is actually a crate 4.x bug.
feel free to build an image from the branch and play with it

@pinkerltm @tstorek
except few last checks, we are ready with cratedb 4.0 support. it would be great if you could run few tests before we merge to master.
an image build is available as smartsdk/ngsi-timeseries-api:fix-256

@pinkerltm @tstorek
We just merged #300 into master with experimental Crate 4 support. By the time you read this the latest QL image with Crate 4 support should have become available on Docker Hub.
docker pull smartsdk/quantumleap:latest

to get the goodies. It'd be great if you could take it for a spin and report any issues here on GitHub.
Many thanks!

@c0c0n3 @chicco785 thanks a lot for your great effort...sorry I didn't recognize this as long as I received the issue closed per mail. I will test it immediately on our dev cluster.


docs: :memo: Add template file for making learning shorts

Description

This PR adds a template for writing learning shorts. This makes it easier to start writing a learning short and gives some standardization to them.
Doesn't need much review, since it is a basic template.

@signekb I'm making another two PRs that will make this PR make sense 😛 They've been sitting as branches for almost a year!


BGP 1.7

Chnages for RT-1.7

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.567%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
872

Relevant Lines:
1691

💛  - Coveralls

/gcbrun

/gcbrun


Add a feature that allows user to change the color of the animations

TYRBO-on-terminal displays some art in multiple stages of the program. The default color is green. Add a feature to allow the user to change color by passing certain flags while giving the command to run the program!
Ensure this color the user sets is remembered and needs to be set only once. What colors to add is upto your discretion, make sure you add the instruction to change color in  help() ! Add your favourites :)
BONUS POINTS: Add funny creative names for the colors in the help menu (trigger on calling tyrbo with empty flags).
examples:
Blue -> Bootiful Blue.
Red -> Zubaan Kesari (uk I had to @_@)

hey! can i work on this

i would like to work on this . can u assign it to me??

Can I be assigned to this?

@n1haldev Go ahead!

This issue has been closed by the latest commit :)

This issue has been closed by the latest commit :)


[stable-4.2] dependency cleanup, github files, README

This drops unused .firebaserc (#1917),
drops insights mode and Deploying sections from README and remove profiles/ (insights mode updated in #1526, deploying is up-to-date only on master),
remove github files that only work on master: PULL_REQUEST_TEMPLATE.md
cleans up unused npm dependencies - backports most of #325, and non-ts parts of #579, similar to #858 for 4.3
removes husky (only needed on master)

Merging, dependabot will have less deps to work with.


ci: enable tests with kubernetes v1.27

bump kind to v0.18.0
enable tests with kubernetes v1.27

Codecov Report

Merging #836 (f94899c) into main (348c89a) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #836   +/-   ##
=======================================
  Coverage   51.58%   51.58%
=======================================
  Files          36       36
  Lines        2367     2367
=======================================
  Hits         1221     1221
  Misses       1100     1100
  Partials       46       46

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Issue #564: unified pod name examples in booster deployment sections

Where applicable, pod names examples in oc get routes output examples within booster deployment sections are now given as  {app-name}-1-aaaaa.
Changes affect all missions except Secured.
resolved #564
@gytis WDYT?

Can one of the admins verify this patch?

[test]

merged: c838c8265f58767b1999bd4fb35273a838b1182f


Return more credit functionality to odysee.com

Return more credit functionality to odysee.com, including Credit details, unlocking, and top results on search.

show support_sum report


refactor: rename dropdown to picker

Description
Renaming Dropdown to Picker following design API discussions.
How and where has this been tested?
Testing locally
Screenshots

To-do list

[x] If my change impacts other components, I have tested to make sure they don't break.
[x] If my change impacts documentation, I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.

[x] This pull request is ready to merge.

Related to https://github.com/adobe/spectrum-css/issues/234

might need a re-base


Documentation website

This PR adds a documentation website to Velocidi Android SDK.

LGTM overall just left a couple of small comments. When running, I noticed this:

It would be nice if we could have a bit more spacing between the class name and its description.

I added a small margin in 5b3bbc8. Much better now :)