ENH: scipy.signal.find_peaks for 2D signals

As stated in the documentation, scipy.signal.find_peaks works for 1D signals.
There are many attempts of similar function for 2D arrays, such as https://stackoverflow.com/questions/3684484/peak-detection-in-a-2d-array, https://stackoverflow.com/questions/16842823/peak-detection-in-a-noisy-2d-array, (or other methods in sklearn: https://scikit-image.org/docs/stable/auto_examples/segmentation/plot_peak_local_max.html), etc.
Is there an implementation of 2D-array peak detection that could become an "official" scipy.signal.find_peaks_2d function?
This would be interesting in many scientific purposes.
Have there been discussions about adding 2D peak detection in scipy, with prominence like in scipy.signal.find_peaks?

Thanks @josephernest for the report.
@lagru can you take this one? 😃

Is there an implementation of 2D-array peak detection that could become an "official" scipy.signal.find_peaks_2d function?

As far as I'm aware there isn't but there has been some work in scikit-image to get there for 2D and more dimensions.

Like you already said, there's skimage.feature.peak_local_max which works for n-dimensions and allows to reduce the peak number by distance via min_distance similar to find_peaks(..., distance=...).
There's skimage.morphology.local_maxima, which also allows for ND and especially defining the connectivity in higher dimensions. There's no peak filtering included in this function.
To filter peaks returned by the former there is currently

skimage.morphology.remove_small_objects
And https://github.com/scikit-image/scikit-image/pull/4165 which has been in the work for some time. I think it mainly stalled because of lack of time to figure out and review the final kinks. Feel very welcome to take a look. Maybe we can pick it up again. :crossed_fingers:

For prominence filtering there hasn't been anything that I'm aware of. I've thought about tackling that after https://github.com/scikit-image/scikit-image/pull/4165 though.
A quick search also brought up https://github.com/Xunius/python_peak_promience2d but I haven't investigated it closely yet.

Thanks @tupui and @lagru.

Would you say this should be kept open as wanted or it's something to do in another library than SciPy.

The rationale behind this was the fact that scipy.signal.find_peaks is really popular (see e.g. https://stackoverflow.com/questions/1713335/peak-finding-algorithm-for-python-scipy), and so people search an equivalent of this for 2D signals, possibly with the same Scipy API (prominence, etc.).

Would you say this should be kept open as wanted or it's something to do in another library than SciPy.

That depends on whether you see this functionality as within scope of SciPy. I've never been really clear on the border between scipy.ndimage and skimage. I'd say keep this open. Might be a good indicator down the line for where people look for this functionality first.
Personally, it seems general enough to me to include it in SciPy with what's available already. And I wouldn't be opposed to migrating that code to SciPy. I will probably try to move this along within scikit-image though first and then look into whether it is worth moving later. It's would also be trivial to point users to scikit-image in find_peaks docstring and within an exception message.

Sounds good 👍 thanks 🙏

Fyi, I polished off https://github.com/scikit-image/scikit-image/pull/4165 and hope that we get the reviews to merge it soon. @josephernest, would that be a step in the right direction?
@tupui, that PR implements another algorithm in skimage that repeatedly calls on https://github.com/scipy/scipy/blob/7d4600e705f0929a77097d82d0d605aeb9c9bc50/scipy/spatial/_ckdtree.pyx#L850-L853
from within Cython code. Unfortunately, it returns a list which together with the Python-facing API makes it somewhat hard to release the GIL and do fast iteration. I didn't take a thorough look at all discussions here, but do you know of any efforts in SciPy to expose a C,C++-API like NumPy does with get_include?
If we could wrap the functionality from cKDTree directly in Cython that would likely yield significant performance benefits. The only other solution I can think of would be to vendor it, which seems wasteful.

Thanks @lagru!
I am not sure there are discussions for that. But worth asking @tylerjereddy.

Oh gosh, I'm not aware of any plans to make our spatial C/C++-level "API" consumable in a public sense. I guess there's some stuff happening like that in special, but a decent chunk of spatial is wrapped around Qhull, and the community also has the (more?) popular/competing license-incompatible CGAL, which is quite different to use I think.
I'm also not entirely clear on the route to performance improvement here, since the function can return ragged data structures, which is why the nested objects/lists are used. It already takes a workers argument, is there no way for you to use concurrency to get some speedup that way after accumulating enough points? I'll take a look at the skimage source in a minute to see if anything sticks out, and maybe ask for sample timings there.

We can also ask @sturlamolden of course.

And, not to derail even more, but sklearn also has KDTree. Maybe some opportunities to consolidate things somehow, but yikes on the amount of effort that would be to coordinate (I talked to Thomas Fan about that at some point at SciPy conference).

Thanks Tyler. I agree that it would be good if we could coordinate something with sklearn 👍

And, not to derail even more, but sklearn also has KDTree.

Oh, sklearn's KDTree returns arrays on query. I definitely need to check this out from a performance perspective. Maybe the biggest challenge with SciPy's current version is iterating the results quickly. The returned list or (array of lists) makes it hard to do fast Cython-indexing or using nogil.
Speaking of, I'm a bit surprised by this bit
https://github.com/scipy/scipy/blob/8431e12346ac9564e244bfce920dc8a04bcabbd9/scipy/spatial/_ckdtree.pyx#L962
https://github.com/scipy/scipy/blob/8431e12346ac9564e244bfce920dc8a04bcabbd9/scipy/spatial/_ckdtree.pyx#L983-L989
The internal C++ implementation returns a vector which is then unpacked into a list whose size is even pre-allocated with m * [None]. Maybe I'm missing context, but why not transform the C++ vector into a proper array instead?
I'd be happy to make a PR that adds an option to return a more efficient data structure. Though, I'd be happy to know what kind of API update you would prefer. A new function query_radius, query_ball_point_arr (like sklearn)?

The internal C++ implementation returns a vector which is then unpacked into a list whose size is even pre-allocated with m * [None]. Maybe I'm missing context, but why not transform the C++ vector into a proper array instead?
I'd be happy to make a PR that adds an option to return a more efficient data structure. Though, I'd be happy to know what kind of API update you would prefer. A new function query_radius, query_ball_point_arr (like sklearn)? I'd prefer SciPy's kdtree long-term, as sklearn is only an optional dependency.

A lost is returned because cKDTree was written to behave identical to KDTree, which was a pure Python implementation. Why @aarchiba chose to return this data structure from KDTree I do not know. A likely reason is that at the Python side the results would be a "jagged array" which ndarray do not support, except by having an ndarray with dtype=object and stacking ndarrays into an ndarray. In any case it would not allow for iteration without holding the GIL, as iterating something with dtype=object requires you to hold the GIL, and it would also incure a lot of reference counting.
Another oddity that has the same historical explanation is that the results from query_ball_pointand query_ball_tree are transposed instead of identical.
I do now why I used a std::vector internally in the C++ code, though. That was to release the GIL while performing the query in C++, to precent cKDTree from locking up the interpreter. A common use of kd-trees are games and computer graphics, and having a GUI or CG that freezes is bad, even if it just means missing a few frames. That was the very reason I moved cKDTree to C++.
The C++ code returns a std::vector of std::vector<npy_intp>, which is a simple way of making a jagged 2D array in C++.
Basically to make this efficient, you need to create a cdef class that stores the std::vector< std::vector<npy_intp> > internally and (optinally) return this to Python instead of a list. Then your Cython code that uses cKDTree.query_ball_tree could grab the jagged array from this class and iterate without holding the GIL. It is actually rather trivial to implement.

The internal C++ implementation returns a vector which is then unpacked into a list whose size is even pre-allocated with m * [None]. Maybe I'm missing context, but why not transform the C++ vector into a proper array instead?

The short ansver is numpy.ndarray does not support jagged 2D arrays, so you cannot just call PyArray_SimpleNewFromData.

Thanks for the insights! :) You totally right, I glossed over the fact, that each point may return a different number of neighbors. If I understand this correctly, a list of arrays would work for the jagged case? That might already be a lot easier to iterate.

Basically to make this efficient, you need to create a cdef class that stores the std::vector< std::vector<npy_intp> > internally and (optinally) return this to Python instead of a list. Then your Cython code that uses cKDTree.query_ball_tree could grab the jagged array from this class and iterate without holding the GIL. It is actually rather trivial to implement.

To clarify, are you suggesting to do this on skimage's or SciPy's side? I thought about using the internal C++ implementation more directly from our side, but wasn't sure how to do that.

Thanks for the insights! :) You totally right, I glossed over the fact, that each point may return a different number of neighbors. If I understand this correctly, a list of arrays would work for the jagged case? That might already be a lot easier to iterate.

A list of arrays would work. However, you would need to hold the GIL while iterating over the list, and you would incure increfs and defcrefs for each array in the list. You would also need to use the Python buffer API (slow) or NumPy C API (faster) to grab the data from each array. Basically this will be slow too.

Basically to make this efficient, you need to create a cdef class that stores the std::vector< std::vector<npy_intp> > internally and (optinally) return this to Python instead of a list. Then your Cython code that uses cKDTree.query_ball_tree could grab the jagged array from this class and iterate without holding the GIL. It is actually rather trivial to implement.

To clarify, are you suggesting to do this on skimage's or SciPy's side? I thought about using the internal C++ implementation more directly from our side, but wasn't sure how to do that.

If you are going to do this in skimage you might consider just making a small C or C++ kd-tree that will just to what you need and nothing else.
The ABI of scipy.spatial.cKDTree is not frozen, so using it with custom C++ would be fragile.
Making a tiny kd-tree for the purpose of range query is very easy. So my advice is do that.


External links page

Shinai maintenance could be put in resources
Links to other kendo clubs are broken or no longer relevant (they don't link to other kendo clubs anymore, including ours)
Affiliations to MWKF (Midwest Kendo Federation) and AUSKF (All-US Kendo Federation) can be put on the About Us page


Starting work on documentation

Initial documentation for Constructing routes

The documentation will need to move over to single-spa.js.org once we release, but this is good to have for now.


One year later: TypeScript still cannot emit valid ES modules

Bug Report
This report is being submitted again as one year has passed since this team proposed Node12 module resolution as a workaround.  There has been no effort to make VS Code autocomplete resolve full specifiers with this module target set, presumably because that would involve resolution by the compiler (something that has been precluded on the basis of bureaucratic sclerosis).
The best we can get out of the compiler as far as emitting valid ESM is letting VS Code populate the import and then manually resolving the entry points by hand, for each import.  It seems incredibly obvious that these are bad decisions and we should really work towards supporting the standard that was released 7 years ago now.
See original report: https://github.com/microsoft/TypeScript/issues/42151#issue-776143967

We've explained the rationale behind not modifying import paths on emit many times, and don't see value in rehashing that discussion since it relates to a core design goal.
This report is not actionable beyond venting and that's been accomplished. Please file something concrete in the future.


test(rbac): add playwright tests for the plugin

playwright tests for the RBAC plugin in dev setup
Tracks: https://issues.redhat.com/browse/RHIDP-1463

/cc @jrichter1
/cc @gashcrumb


common_msgs: 1.13.0-1 in 'noetic/distribution.yaml' [bloom]

Increasing version of package(s) in repository common_msgs to 1.13.0-1:

upstream repository: git@github.com:ros/common_msgs.git
release repository: https://github.com/ros-gbp/common_msgs-release.git
distro file: noetic/distribution.yaml
bloom version: 0.9.7
previous version for package: 1.12.7-1

actionlib_msgs
* Bump CMake version to avoid CMP0048 warning (#158 <https://github.com/ros/common_msgs/issues/158>)
* Contributors: Shane Loretz

common_msgs
* Bump CMake version to avoid CMP0048 warning (#158 <https://github.com/ros/common_msgs/issues/158>)
* Contributors: Shane Loretz

diagnostic_msgs
* Bump CMake version to avoid CMP0048 warning (#158 <https://github.com/ros/common_msgs/issues/158>)
* Contributors: Shane Loretz

geometry_msgs
* Bump CMake version to avoid CMP0048 warning (#158 <https://github.com/ros/common_msgs/issues/158>)
* Contributors: Shane Loretz

nav_msgs
* Bump CMake version to avoid CMP0048 warning (#158 <https://github.com/ros/common_msgs/issues/158>)
* Contributors: Shane Loretz

sensor_msgs
* Update BatteryState.msg (#140 <https://github.com/ros/common_msgs/issues/140>)
* Use setuptools instead of distutils (#159 <https://github.com/ros/common_msgs/issues/159>)
* Bump CMake version to avoid CMP0048 warning (#158 <https://github.com/ros/common_msgs/issues/158>)
* Fix TabError: inconsistent use of tabs and spaces in indentation (#155 <https://github.com/ros/common_msgs/issues/155>)
  * Fix TabError: inconsistent use of tabs and spaces in indentation
  Python 3 is much more strict for spacing.
* Contributors: Ramon Wijnands, Rein Appeldoorn, Shane Loretz

shape_msgs
* Bump CMake version to avoid CMP0048 warning (#158 <https://github.com/ros/common_msgs/issues/158>)
* Contributors: Shane Loretz

stereo_msgs
* Bump CMake version to avoid CMP0048 warning (#158 <https://github.com/ros/common_msgs/issues/158>)
* Contributors: Shane Loretz

trajectory_msgs
* Bump CMake version to avoid CMP0048 warning (#158 <https://github.com/ros/common_msgs/issues/158>)
* Fix EOF line break so cat output is more usable.
* Contributors: Halie Murray-Davis, Shane Loretz

visualization_msgs
* Bump CMake version to avoid CMP0048 warning (#158 <https://github.com/ros/common_msgs/issues/158>)
* Contributors: Shane Loretz

Will merge with #24998 later tonight


Implement an API for Parser Textual-Diff Communication

Summary
The Enso parser can take any handle or string as an input. This is sufficient for one-run tasks, but not very efficient for interactive editing of the source code, where parser needs to be run after each modification.
The Text API will be a communication channel between text editors and our language interpreter / parser, providing simple and efficient way to trigger small modification of our AST.
Value
Since Enso studio also operates over textual representation, good text API is a requirement.
Specification

Define the API
Implement it

Acceptance Criteria & Test Cases
Working API for text manipulation.

Obsolete.


Replace curly single-quotes with a standard quote character.

This fixes an issue with printing those characters on Windows.

This change is

As mentioned in #34, I don't want to throw away quotes just because Windows is deficient. I would prefer that single quotes be used only if on a platform that can't handle UTF-8, overridable by the user requesting curly quotes explicitly.

Review status: 0 of 1 files reviewed at latest revision, 1 unresolved discussion.

include/cxxopts.hpp, line 321 at r1 (raw file):

    public:
    option_exists_error(const std::string& option)
    : OptionSpecException(u8"Option '" + option + u8"' already exists")

I would prefer to make these conditional on platforms that aren't sane.

Comments from Reviewable

Reviewed 1 of 1 files at r1.
Review status: all files reviewed at latest revision, 1 unresolved discussion.

Comments from Reviewable

Any chances these changes will soon be merged into the base branch?

As I said in my comment, I like the curly quotes, as do a lot of unix tools (GCC). I would be happy to disable them with an #ifdef.

Fixed by #68.


go vet / go lint support

This adds go vet and go lint support with downloading as necessary. I commented the sticky portions.
closes #68

LGTM


data-source doesn't support two datasources (same type of database) with different password key

Currently with light-4j data-source, user can define more that one data-source with different database types. For example:
com.networknt.db.SqlServerDataSource:

com.networknt.db.SqlServerDataSource:

java.lang.String: SqlServerDataSource

com.networknt.db.OracleDataSource:

com.networknt.db.OracleDataSource:

java.lang.String: OracleDataSource

In the secret.yml, user can define different password for the datasource:
sqlServerPassword: ${secret.sqlServerPassword:change-me}
oraclePassword: ${secret.oraclePassword:password}
And user can have more than one data-source with same database type:

com.networknt.db.MysqlDataSource:

com.networknt.db.MysqlDataSource:

java.lang.String: MysqlDataSource1

com.networknt.db.MysqlDataSource:

java.lang.String: MysqlDataSource2

But for this case, the 'MysqlDataSource1' and 'MysqlDataSource2' has different password, system cannot define it in the secret.yml file since the password key is pre-defined in the code.
private static final String SQLSERVER_PASSWORD = "sqlServerPassword";

We may need change the code make the password key can be set from service.yml.

With the latest changes in the config module, we don't need to use secret.yml for encrypted passwords anymore. If we put the passwords in the data-source.yml, do we still have this issue?

need change the datasource to get the password key from datasource config first:

    String password = (String)mainParams.get(getDbPassKey());
    if (password==null) {
        password = (String)secret.get(getDbPassKey());
    }
    ds.setPassword(password);

Should we just use password as the key?

I think that is a good point.   I will make the change

 data-source does not support two data sources (same type of database) with a different password key 1.6.x

 data-source does not support two data sources (same type of database) with a different password key master


feat: add kustomization for crds

Description of your changes
A minor PR adding a kustomization.yaml file allowing for the direct installation of CRDs, similar to the base controller: https://github.com/crossplane/crossplane/blob/master/cluster/kustomization.yaml

Fixes #
I have:

[ ] Read and followed Crossplane's contribution process.
[ ] Run make reviewable test to ensure this PR is ready for review.

How has this code been tested

What's the use case for this @Demonsthere?

We are using Crossplane in our environments, and wanted to add some integration tests to the pipeline. We do it with the use of a local cluster against which we would like to evaluate our manifests. In order to do this you need to have the CRDs deployed on the cluster. We would like to avoid installing crossplane and the gcp provider for each time, as we only need the CRDs to be installed for the validation to work.
This kustomization allows the installation of all CRDs via kustomize with a url like https://github.com/Demonsthere/provider-gcp//package/crds?ref=feat/crd-kustomize instead of having to link to each and every CRD in the directory 😉

Isn't it possible to just kubectl apply the folder package/crds?

Well, TBH I don't know if this should or shouldn't be merged. I haven't a strong opinion about it, maybe @negz has more context if this should or not go into the repository?


Bump Scala.js version to 0.6.21

1, Updated SBT to 1.1.0 #33
2, Bumped Scala.js version to 0.6.21
3. Fixed Scala.js deprecation errors.
4. Updated sbt plugins.

hey sorry for the delay. I merged your PR with a few changes ontop. Thank you very much for helping out with this :+1:

@lucidd hi, nice bindings, very helpful. :+1:  Can you publish the updated version of scala-js-chrome to Bintray?


add MCP server badge

This PR adds a badge for the ArXiv MCP Server server listing in Glama MCP server directory.

Glama performs regular codebase and documentation scans to:

Confirm that the MCP server is working as expected
Confirm that there are no obvious security issues with dependencies of the server
Extract server characteristics such as tools, resources, prompts, and required parameters.

This badge helps your users to quickly asses that the MCP server is safe, server capabilities, and instructions for installing the server.

realized the project is missing a license
https://docs.github.com/en/communities/setting-up-your-project-for-healthy-contributions/adding-a-license-to-a-repository
Would you mind adding one?
We will automatically pick up the change (we scan every repo every 6 hours)

Just added - Apache 2.0. Appreciate being listed

Thanks! are you on the MCP Discord?
Let me know your Discord username and I will give you a special flair that's only for MCP server authors.


File chooser support

Is there any chance to include file chooser implementation for desktop?

https://github.com/JetBrains/compose-jb/issues/176

AWT, really?
is the awt FileDialog decorated?
If not, then it is not a good solution, neither using swing file chooser, if both just use "plain" components.
awt is very old and ugly, and swing has its own theme, that will not match material design in all its variants (in fact I have a swing theme for material design done, very old, around 2015).
will Compose desktop replace awt, swing and javafax or not?
Anyway, maybe I can make a contribution and create a chooser file for compose (if I find time to do so).

It depends on how you define a "good solution". Your users will probably expect that file chooser to have all the features the native file chooser has on their specific platform (drag and drop, favorite location, different grid views, sorting, filtering, history, and who knows what else). I don't think I have a single desktop app on my machine (macOS) that does its own thing with file choosers. They all use the system one (which is what AWT gives you), no matter how finely "themed" that app is.

Feel free to try to make your own file chooser, but first check if https://docs.oracle.com/javase/7/docs/api/javax/swing/JFileChooser.html is not doing what you want.
Also see https://docs.oracle.com/javase/tutorial/uiswing/components/filechooser.html for more information.

How about using kotlin native and call plataform code???

How about using kotlin native and call plataform code???

You don't need Kotlin Native for this, because that is exactly what java.awt.FileDialog does...

@Phaestion you are right, awt delegates to native implementation peer and so there is no need to add this component.
Do you know why IntelliJ does not resolve any link to classes or methods on any package (crtl + left mouse button click)? I'm testing this on imageviewer sample from the repo:

now you can use this  https://github.com/Wavesonics/compose-multiplatform-file-picker

Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.


ERA-10519: [Events API Optimizations] Page Size change and Parallelization of calls

What does this PR do?

It adds logic to handle parallel calls for pagination for map events fetch
It adds modification to fetch more events on feed

Relevant link(s)

Tracking tickets: ERA-10519
Hosted demo environments

The deployment failed. An Eslint issue it seems?

The Promise.race is still confusing for me, I can't really link how a race is related to what we are doing here (I understand how it works though, just wonder if there is a more straightforward way to implement it). But now with the env I can see it working and it does what it is expected.
However, I get the impression that when using this new fetching system the environment gets kind of slow. But I'm not sure if I'm doing a false relationship here and maybe my computer is slow because of something else. I'd leave further testing on that to the QA team @fonzy911 @AlanCalvillo

We can discuss the implementation in more detail, may be the pool can be handled only by a counter or something way more simpler ? not sure haha
Also, I'm not sure if I'm getting wrongly the behavior/usage of Promise.race also it would be great to have more discussion on it
Regarding the slowness of the site, its quite a point, lets see QA results 👀

Nicely implemented 🙂 I did notice what feels like a UX problem; it seems like the map data may be getting cleared too early, before the newly-fetched data is retrieved. It's noticeable when zooming in towards a particular area, like this. Watch all the events disappear:

This change has been addressed, I sent the commit this morning but forgot to mentioned it here 🫡

Hi @gaboDev, this is looking great so far. I'm able to see the adjusted items number for both feed and map, however, just wanted to run something by you real quick @netomo.
When it comes to the map items, each batch of 150 within each page, is taking longer as they progress being fetched:

On root.dev, even though the map items count is lower (25) it is only taking this time to be fetched:

not sure if these are the numbers that we were expecting or if we should dive in a tad more.

@fonzy911 this isn't an apples-to-apples comparison. root.dev is fetching way fewer events than feature-env, can you ensure you are testing similar amounts of data?

Hi @gaboDev, this is looking great so far. I'm able to see the adjusted items number for both feed and map, however, just wanted to run something by you real quick @netomo.
When it comes to the map items, each batch of 150 within each page, is taking longer as they progress being fetched:

On root.dev, even though the map items count is lower (25) it is only taking this time to be fetched:

not sure if these are the numbers that we were expecting or if we should dive in a tad more.

@fonzy911 this isn't an apples-to-apples comparison. root.dev is fetching way fewer events than feature-env, can you ensure you are testing similar amounts of data?

Hi @AlanCalvillo, yes, thank you very much for that input. You are right, I have made the comparison now using my local instance, pointing to this backend: https://era-10519.dev.pamdas.org, and I see the following:
scoping this to map calls, I see that 6 calls of 25 map items take this amount of time to render:

Which is around 3.30seconds per 150 items
Now, with Gabo's fix, I see that 1 call of 150 map events, it takes around 2.24seconds to be completed

And the backend params are showing appropriately:

Hi @gaboDev, this is looking great so far. I'm able to see the adjusted items number for both feed and map, however, just wanted to run something by you real quick @netomo.
When it comes to the map items, each batch of 150 within each page, is taking longer as they progress being fetched:

On root.dev, even though the map items count is lower (25) it is only taking this time to be fetched:

not sure if these are the numbers that we were expecting or if we should dive in a tad more.

@fonzy911 this isn't an apples-to-apples comparison. root.dev is fetching way fewer events than feature-env, can you ensure you are testing similar amounts of data?

Hi @AlanCalvillo, yes, thank you very much for that input. You are right, I have made the comparison now using my local instance, pointing to this backend: https://era-10519.dev.pamdas.org, and I see the following:
scoping this to map calls, I see that 6 calls of 25 map items take this amount of time to render:

Which is around 3.30seconds per 150 items
Now, with Gabo's fix, I see that 1 call of 150 map events, it takes around 2.24seconds to be completed

And the backend params are showing appropriately:

@fonzy911 Did you gather metrics around how long the client takes to load X number of events, not only on a per-call basis but on the overall sum?
E.g 15 secs to render 3000 events vs 30 secs to render the same 3000 events. I don't think comparing individual calls is enough since they might vary. So an overall time will give us a glance at how would be the real UX. (See https://allenai.atlassian.net/wiki/spaces/ER/pages/30470471682/Results for inspo)
As discussed earlier, we don't only want to validate AC in a vacuum but actually make sure that the foundational objective is being met, which for this is story is "Optimize the loading of ER events to improve the performance of the web app. ")

https://allenai.atlassian.net/wiki/spaces/ER/pages/30470471682/Results

Hi @AlanCalvillo, yes, I was able to draft some numbers at a larger scale, this is what I got:

Without Parallelization, every call (for 25 items) takes in average 570ms to be completed
With Parallelization, it takes an average of 3.55 seconds for every 150 items call, making 591ms per every 25 items called.

https://allenai.atlassian.net/wiki/spaces/ER/pages/30470471682/Results

Hi @AlanCalvillo, yes, I was able to draft some numbers at a larger scale, this is what I got:

Without Parallelization, every call (for 25 items) takes in average 570ms to be completed
With Parallelization, it takes an average of 3.55 seconds for every 150 items call, making 591ms per every 25 items called.

So if time w parallelization > w/o parallelization, to me, kinda suggests that the objective is not being met. why is it approved?

https://allenai.atlassian.net/wiki/spaces/ER/pages/30470471682/Results

Hi @AlanCalvillo, yes, I was able to draft some numbers at a larger scale, this is what I got:

Without Parallelization, every call (for 25 items) takes in average 570ms to be completed
With Parallelization, it takes an average of 3.55 seconds for every 150 items call, making 591ms per every 25 items called.

So if time w parallelization > w/o parallelization, to me, kinda suggests that the objective is not being met. why is it approved?

Previously, when running on an individual basis, the Parallelization process seemed to be faster than the original feature, that's where I originally approved it, but yes, it seems that performance diminishes as calls number rises. I have removed my approval due to new findings.


Clean up ejabberd configuration

Pull out Python code from Ruby string
Support newer ejabberd configuration format

https://ocd.appscale.com:8080/job/Daily Build/3203/

https://ocd.appscale.com:8080/job/Daily Build/3209/

@whoarethebritons lol, I agree that there are many things that can be improved about this script. Just to be clear, I did not write it. With this PR, I just wanted to move it so that it does not exist as a Ruby string.


[Enhancement] Pf2e "passive" perception outside combat

Just realized that during exploration mode, you should be able to roll a Perception check and have that roll be defined as your check while you (for example) move around a dungeon room searching for traps and secret doors outside of combat, with no time pressure. If you enter another room, the GM can call for you to make another Perception check, at which point the result of that second roll would become the new value for spotting secret things.
Perhaps a field added to the seeking token? Something like "current Search check"?

I was already planning on adding something like this. I am currently not sure how to make an ui that allows the gm to easily stop this rolled value from being used. Maybe a HUD button that a) show the current value and b) resets it when being clicked and is c) invisible when no value is currently used

Yeah, a HUD button would be good!

The new feature "Lingering active perception" has been added with v2.0.0


Feature Request: apply effects from measured templates

It definitely can't involve the Aura rule element, despite that being the exact concept I think should be emulated, except in only a partial arc of the circle.

ok, so no bursts, lines, or non-aura emanations?

My goals were merely as stated, I had only thought of cones. If you're generalizing this to 'apply things within the bounds of any template originating at a token', I won't complain.

It definitely can't involve the Aura rule element, despite that being the exact concept I think should be emulated, except in only a partial arc of the circle.

Why can't it invoke the aura rule? :)


[Event Hubs] Change Log Updates

Summary
The focus of these changes is to update the change log to reflect the addition of a table of contents for each sample and acknowledge the contributor who kindly volunteered their time to implement it.
References and Related

Add table of contents for Event Hubs samples (#29076)
Samples: Add a Table of Contents (#28841)

API change check
API changes are not detected in this pull request.


Missing using System;

The code above in question is missing a using System; deceleration. Otherwise Console.WriteLine can't be called and Visual Studio gives me an error unless I type it in.

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

ID: 443c9051-c55e-1202-7b75-ce86f6977017
Version Independent ID: 677b6375-196f-fed8-7300-b9823c1031d5
Content: Get started with Azure Service Bus topics and subscriptions
Content Source: articles/service-bus-messaging/service-bus-dotnet-how-to-use-topics-subscriptions.md
Service: service-bus-messaging
GitHub Login: @spelluru
Microsoft Alias: spelluru

Hi @Blackglade Thank you for reporting this issue! We will investigate and make any necessary changes.

Hi @Blackglade - Thanks for the feedback on the article. When I create a console application (.NET core) as mentioned in the article, the Program.cs file already has the "using System;" statement. As per the step 1, we are supposed to add the using statements in the block to the file. Therefore, after you follow the step, you should still have the "using System".
// already there when I created the console app. I didn't have to add it manually
using System;
// these are the statements you add as part of Step 1
using System.Text;
using System.Threading;
using System.Threading.Tasks;
using Microsoft.Azure.ServiceBus;
Please let me know if you did not see "using System" when you created the console app.
Thanks,
Sreedhar


Issue with the base URL of DICOMWeb RESTful services

DICOMcloud's RESTful APIs are divided into 3 sub-services:

/qidors/* (GET)
/wadors/* (GET)
/stowrs/* (POST)

The DICOM standard has evolved and now RESTfull services are grouped together, see http://dicom.nema.org/medical/dicom/current/output/chtml/part18/sect_7.2.html and http://dicom.nema.org/medical/dicom/current/output/chtml/part18/sect_10.3.html
So the URL for QIDO-RS, WADO-RS and STOW-RS must have the same base URL, e.g.

QIDO-RS: http://localhost/dicomweb/studies?PatientName=Test
WADO-RS: http://localhost/dicomweb/studies/<IP_ADDRESS>.4.1.11<IP_ADDRESS>30169333457801

@nroduit I am glad the standard has been updated to treat these resources as a true REST API.
I'll add this to the pipeline of items to be included next

DICOMcloud is updated to share the same base URL.
Here is the updated swagger: http://dicomcloud.azurewebsites.net/swagger/
The old URLs are also still supported, so these two are the same:
http://dicomcloud.azurewebsites.net/qidors/studies
http://dicomcloud.azurewebsites.net/api/studies
Thanks @nroduit for pointing the update to the standard.

@Zaid-Safadi it looks like the URL referenced above no longer functions?


fix(doc): Correct typos and adjust allow-all flag explanation

Minor typos corrected for better consistency
Also, slightly adjusted the wording for --allow-all flag. It may be better left as is, I just personally found the phrase "disable all security" strange.

 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.

Retag as docs when landing please


node_path not working with angular cli

Command
build
Is this a regression?

[ ] Yes, this behavior used to work in the previous version

The previous version in which this bug was not present was
No response
Description
We can't check in our node modules in our build gitlab based on company policy they are much too large.
When node_modules are in the project folder ng build works
When node modules are in a parent directory ng build works
When we move node_modules to a different folder and set set NODE_PATH=D:\henryNodeModules\node_modules
We get error node_modules cannot be found for example
Cannot find module '@angular/core' or its corresponding type declarations.
Noticed previous similar issue :
https://github.com/angular/angular-cli/issues/3864
Any workarounds fixes
Using v18.16.0
Minimal Reproduction
Do any ngbuild and move node_modules
Exception or Error
No response
Your Environment
Angular CLI: 15.2.7
Node: 18.16.0
Package Manager: npm 9.5.1

Anything else relevant?
No response

NODE_PATH is not supported with ESM code (https://nodejs.org/api/esm.html#no-node_path). As more and more of the ecosystem shifts to ESM, NODE_PATH will no longer be a viable option for most projects.
Node.js also strongly recommends using a local node_modules directory (https://nodejs.org/api/modules.html#loading-from-the-global-folders).
The node_modules directory is also very rarely checked into a repository.  Typically, the package lock file is checked in to ensure consistent package layout and versions but otherwise an install is performed after a clone/checkout of the repository to create/populate the node_modules directory.

One possible solution is to use a symlink/shortcut to the node_modules folder you want.

Hello, we reviewed this issue and determined that it doesn't fall into the bug report or feature request category. This issue tracker is not suitable for support requests, please repost your issue on StackOverflow using tag angular-cli.
If you are wondering why we don't resolve support issues via the issue tracker, please check out this explanation.


netopeer2-server error: Schema node not found

Hi,
after solving some sysrepo-issues I fail getting the netopeer2-server. All modules are imported according to sysrepoctl -l . Starting sudo netopeer2-server -d -v 3 outputs following messages:
[INF]: LY: Plugin "/usr/local/lib/libyang1/extensions/nacm.so" successfully loaded.
[INF]: LY: Plugin "/usr/local/lib/libyang1/extensions/yangdata.so" successfully loaded.
[INF]: LY: Plugin "/usr/local/lib/libyang1/extensions/metadata.so" successfully loaded.
[INF]: LY: Plugin "/usr/local/lib/libyang1/user_types/user_inet_types.so" successfully loaded.
[INF]: LY: Plugin "/usr/local/lib/libyang1/user_types/user_yang_types.so" successfully loaded.
[INF]: LY: Reading module "ietf-yang-metadata".
[INF]: LY: Module "ietf-yang-metadata@2016-08-05" successfully parsed as implemented.
[INF]: LY: Reading module "yang".
[INF]: LY: Resolving "yang" unresolved schema nodes and their constraints...
[INF]: LY: All "yang" schema nodes and constraints resolved.
[INF]: LY: Module "yang@2017-02-20" successfully parsed as implemented.
[INF]: LY: Reading module "ietf-inet-types".
[INF]: LY: Resolving derived type "union" failed, it will be attempted later.
[INF]: LY: Resolving derived type "union" failed, it will be attempted later.
[INF]: LY: Resolving derived type "union" failed, it will be attempted later.
[INF]: LY: Resolving derived type "union" failed, it will be attempted later.
[INF]: LY: Resolving "ietf-inet-types" unresolved schema nodes and their constraints...
[INF]: LY: All "ietf-inet-types" schema nodes and constraints resolved.
[INF]: LY: Module "ietf-inet-types@2013-07-15" successfully parsed as implemented.
[INF]: LY: Reading module "ietf-yang-types".
[INF]: LY: Module "ietf-yang-types@2013-07-15" successfully parsed as implemented.
[INF]: LY: Searching for "ietf-yang-types" in /home/pi/Development/OpAndManageTechStudy/sysrepo/build/repository/yang.
[INF]: LY: Resolving "sysrepo" unresolved schema nodes and their constraints...
[INF]: LY: All "sysrepo" schema nodes and constraints resolved.
[INF]: LY: Module "sysrepo@2020-01-15" successfully parsed as implemented.
[INF]: LY: Resolving unresolved data nodes and their constraints...
[INF]: LY: All data nodes and constraints resolved.
[INF]: SR: Applying scheduled changes.
[INF]: LY: Searching for "ietf-datastores" in /home/pi/Development/OpAndManageTechStudy/sysrepo/build/repository/yang.
[INF]: LY: Loading schema from<EMAIL_ADDRESS>file.
[INF]: LY: Module "ietf-datastores@2018-02-14" successfully parsed as implemented.
[INF]: LY: Searching for "ietf-yang-library" in /home/pi/Development/OpAndManageTechStudy/sysrepo/build/repository/yang.
[INF]: LY: Loading schema from<EMAIL_ADDRESS>file.
[INF]: LY: Searching for "ietf-inet-types" in /home/pi/Development/OpAndManageTechStudy/sysrepo/build/repository/yang.
[INF]: LY: Searching for "ietf-datastores" in /home/pi/Development/OpAndManageTechStudy/sysrepo/build/repository/yang.
[INF]: LY: Loading schema from<EMAIL_ADDRESS>file.
[INF]: LY: Module "ietf-yang-library@2019-01-04" successfully parsed as implemented.
[INF]: LY: Searching for "sysrepo-monitoring" in /home/pi/Development/OpAndManageTechStudy/sysrepo/build/repository/yang.
[INF]: LY: Loading schema from<EMAIL_ADDRESS>file.
[INF]: LY: Resolving "sysrepo-monitoring" unresolved schema nodes and their constraints...
[INF]: LY: All "sysrepo-monitoring" schema nodes and constraints resolved.
[INF]: LY: Module "sysrepo-monitoring@2020-04-17" successfully parsed as implemented.
[INF]: LY: Searching for "ietf-netconf" in /home/pi/Development/OpAndManageTechStudy/sysrepo/build/repository/yang.
[INF]: LY: Loading schema from<EMAIL_ADDRESS>file.
[INF]: LY: Module "ietf-netconf@2011-06-01" successfully parsed as implemented.
[INF]: LY: Searching for "ietf-netconf-with-defaults" in /home/pi/Development/OpAndManageTechStudy/sysrepo/build/repository/yang.
[INF]: LY: Loading schema from<EMAIL_ADDRESS>file.
[INF]: LY: Searching for "ietf-netconf" in /home/pi/Development/OpAndManageTechStudy/sysrepo/build/repository/yang.
[INF]: LY: Loading schema from<EMAIL_ADDRESS>file.
[INF]: LY: Module "ietf-netconf-with-defaults@2011-06-01" successfully parsed as implemented.
[INF]: LY: Searching for "ietf-netconf-notifications" in /home/pi/Development/OpAndManageTechStudy/sysrepo/build/repository/yang.
[INF]: LY: Loading schema from<EMAIL_ADDRESS>file.
[INF]: LY: Resolving "ietf-netconf-notifications" unresolved schema nodes and their constraints...
[INF]: LY: All "ietf-netconf-notifications" schema nodes and constraints resolved.
[INF]: LY: Module "ietf-netconf-notifications@2012-02-06" successfully parsed as implemented.
[INF]: LY: Searching for "ietf-origin" in /home/pi/Development/OpAndManageTechStudy/sysrepo/build/repository/yang.
[INF]: LY: Loading schema from<EMAIL_ADDRESS>file.
[INF]: LY: Searching for "ietf-yang-metadata" in /home/pi/Development/OpAndManageTechStudy/sysrepo/build/repository/yang.
[INF]: LY: Resolving "ietf-origin" unresolved schema nodes and their constraints...
[INF]: LY: All "ietf-origin" schema nodes and constraints resolved.
[INF]: LY: Module "ietf-origin@2018-02-14" successfully parsed as implemented.
[INF]: LY: Searching for "ietf-netconf-monitoring" in /home/pi/Development/OpAndManageTechStudy/sysrepo/build/repository/yang.
[INF]: LY: Loading schema from<EMAIL_ADDRESS>file.
[INF]: LY: Module "ietf-netconf-monitoring@2010-10-04" successfully parsed as implemented.
[INF]: LY: Searching for "notifications" in /home/pi/Development/OpAndManageTechStudy/sysrepo/build/repository/yang.
[INF]: LY: Loading schema from<EMAIL_ADDRESS>file.
[INF]: LY: Module "notifications@2008-07-14" successfully parsed as implemented.
[INF]: LY: Searching for "nc-notifications" in /home/pi/Development/OpAndManageTechStudy/sysrepo/build/repository/yang.
[INF]: LY: Loading schema from<EMAIL_ADDRESS>file.
[INF]: LY: Module "nc-notifications@2008-07-14" successfully parsed as implemented.
[INF]: LY: Searching for "ietf-x509-cert-to-name" in /home/pi/Development/OpAndManageTechStudy/sysrepo/build/repository/yang.
[INF]: LY: Loading schema from<EMAIL_ADDRESS>file.
[INF]: LY: Module "ietf-x509-cert-to-name@2014-12-10" successfully parsed as implemented.
[INF]: LY: Searching for "ietf-keychain" in /home/pi/Development/OpAndManageTechStudy/sysrepo/build/repository/yang.
[INF]: LY: Loading schema from<EMAIL_ADDRESS>file.
[INF]: LY: Module "ietf-keychain@2015-10-09" successfully parsed as implemented.
[INF]: LY: Searching for "ietf-netconf-acm" in /home/pi/Development/OpAndManageTechStudy/sysrepo/build/repository/yang.
[INF]: LY: Loading schema from<EMAIL_ADDRESS>file.
[INF]: LY: Module "ietf-netconf-acm@2018-02-14" successfully parsed as implemented.
[INF]: LY: Searching for "ietf-tls-server" in /home/pi/Development/OpAndManageTechStudy/sysrepo/build/repository/yang.
[INF]: LY: Loading schema from<EMAIL_ADDRESS>file.
[INF]: LY: Module "ietf-tls-server@2015-10-09" successfully parsed as implemented.
[INF]: LY: Searching for "ietf-ssh-server" in /home/pi/Development/OpAndManageTechStudy/sysrepo/build/repository/yang.
[INF]: LY: Loading schema from<EMAIL_ADDRESS>file.
[INF]: LY: Module "ietf-ssh-server@2015-10-09" successfully parsed as implemented.
[INF]: LY: Searching for "ietf-netconf-server" in /home/pi/Development/OpAndManageTechStudy/sysrepo/build/repository/yang.
[INF]: LY: Loading schema from<EMAIL_ADDRESS>file.
[INF]: LY: Searching for "ietf-x509-cert-to-name" in /home/pi/Development/OpAndManageTechStudy/sysrepo/build/repository/yang.
[INF]: LY: Loading schema from<EMAIL_ADDRESS>file.
[INF]: LY: Resolving "ietf-netconf-server" unresolved schema nodes and their constraints...
[INF]: LY: All "ietf-netconf-server" schema nodes and constraints resolved.
[INF]: LY: Module "ietf-netconf-server@2015-10-09" successfully parsed as implemented.
[INF]: LY: Searching for "ietf-netconf-nmda" in /home/pi/Development/OpAndManageTechStudy/sysrepo/build/repository/yang.
[INF]: LY: Loading schema from<EMAIL_ADDRESS>file.
[INF]: LY: Searching for "ietf-origin" in /home/pi/Development/OpAndManageTechStudy/sysrepo/build/repository/yang.
[INF]: LY: Loading schema from<EMAIL_ADDRESS>file.
[INF]: LY: Searching for "ietf-netconf-with-defaults" in /home/pi/Development/OpAndManageTechStudy/sysrepo/build/repository/yang.
[INF]: LY: Loading schema from<EMAIL_ADDRESS>file.
[INF]: LY: Resolving "ietf-netconf-nmda" unresolved schema nodes and their constraints...
[INF]: LY: All "ietf-netconf-nmda" schema nodes and constraints resolved.
[INF]: LY: Module "ietf-netconf-nmda@2019-01-07" successfully parsed as implemented.
[INF]: SR: No scheduled changes.
[INF]: SR: Session 9 (user "root") created.
[INF]: SR: Triggering "ietf-netconf-server" "done" event on enabled data.
[INF]: SR: Triggering "ietf-netconf-server" "done" event on enabled data.
[INF]: SR: Triggering "ietf-netconf-server" "done" event on enabled data.
[INF]: SR: Triggering "ietf-netconf-server" "done" event on enabled data.
[INF]: SR: Triggering "ietf-netconf-server" "done" event on enabled data.
[ERR]: LY: Schema node not found. (ssh-server-parameters)
[ERR]: SR: Schema node not found.
[ERR]: NP: Subscribing for providing "ietf-netconf-server" state data failed (libyang error).
[ERR]: NP: Server data subscribe failed.
[INF]: NP: Server terminated.
[INF]: SR: Ext SHM was defragmented and 4268 B were saved.

Sorry in case I bug you, but I tried a lot and don't have any glue.
Best regards,
Umberto

Hi,
it seems you have installed some old ietf-netconf-server and connected YANG modules, you should not do that. netopeer2 will install all its modules during make install. Please remove all your modules (make sr_clean) and reinstall netopeer2, should work then.

Hi Michal,
incredible! Thank you so much. This solved the issue. My netopeer2-server is working now!
Best Regards,
Umberto


Please provide examples on how to use theme-bulma with Vue 2, especially when importing single components

the readme states: 'Please note, the package also works for @oruga-ui/oruga (Vue 2) and you can use it without importing the full Oruga bundle.' and while I am not using Vue 2, I am still using the Options API.  So I would import components like
import { OButton } from '@oruga-ui/oruga-next';
import { bulmaConfig } from '@oruga-ui/theme-bulma';

export default {
  components: {
    OButton
  }
  ...blah blah blah
}

But how would I use the bulmaConfig to configure that individual components where there are needed? I really do not want to import the entire package into my app, I only need a few components.

https://vue2.oruga.io/documentation/#adding-classes, third example

@jtommy that did not help, that's documentation is for Vue 2.  I just edited my post to specify that  I am using Vue 3, but I am using the Options API.
So my main.js file has the createApp().mount() stuff from Vue 3, but my individual components are just importing other apps the standard way:
/// my-component.vue
import { OButton } from '@oruga-ui/oruga-next';
import { bulmaConfig } from '@oruga-ui/theme-bulma';

export default {
  components: {
    OButton
  }
  ...blah blah blah
}

So Vue.use() doesnt work here, if I try to import Vue from the vue package like so:
import Vue from 'vue';
I get this error in my terminal:
export 'default' (imported as 'Vue') was not found in 'vue' (possible exports: so my console would show:
TypeError: Cannot read properties of undefined (reading 'use')
All the documentation for the Vue3 examples have the Oruga components being imported into the main app, and not individual components like I am attempting to do.
Do we have to import Oruga components at the global (root) level instead of in individual components?

https://oruga.io/documentation/#adding-classes, always third example

Ah ok I see, so I dont need to import the component globally (which is what the examples show) but I need to use the Config plugin globally and pass in the bulmaConfigs.


UI improvements in the Onboard APEX Product view

Improvements done:

Fixed Service Tree link and added information to Contact Us:

Improved success message to include email information:


JoinTable Command should not require PlayerName

It should take the already known name of the tcp connection

Done ! 55673bae9a9d015fea50cbd1b5a024db2231d375


Phonegap Orientation Issue

Orientation in app is forced to portrait, can't change it...

Ipad 2 (MC979B/A)
iOS 8.3
App version 1.5.4

I have the same problem, been there since a week. Probably introduced in this last 1.5.4 version.

I have the same problem too

Hey all,
Thanks for pointing this error out - the fix should be in the next release.

+1

Still not fixed. A little ridiculous given that this issue has been reported for at least 15 months

+1

+1

I believe this has been fixed in the latest app store release. Works on my iPhone 6.


Support for more version tag prefixes

The current version doesn't support unprefixed version tags, so needs to support for some prefixes
Current:

v1.2.3: supported
v1.2.3.pre: skipped
v1.2.3-alpha: skipped
1.2.3: skipped (NOT preferable)
V1.2.3: skipped (hmm...)

Will be released in version v1.2.0.


IgSignupBlockError: POST /api/v1/accounts/create/ - 400 Bad Request; feedback_required

Form
Requirements

[x] I've searched the Issues
[x] I've read the basic concepts
[x] I'm using the latest version
[ ] I've debugged my code using the DEBUG variable.

Platform

[x] I'm using Node.js version 14.12.0

Description
When i create an account with ig.account.create i get this error "feedback_required"
Code
const {IgApiClient} = require("instagram-private-api");

(async () => {
    const ig = new IgApiClient();
    ig.state.generateDevice("username");

    const auth = await ig.account.create({
        username: "username",
        password: "password",
        email: "email",
        first_name: "firstname",
    }).catch(err => console.log(err));

    console.log(JSON.stringify(auth));
})();

Error and Output
IgSignupBlockError: POST /api/v1/accounts/create/ - 400 Bad Request; feedback_required
    at /Users/haikelouerfelli/Desktop/InstaBotRequest/node_modules/instagram-private-api/dist/repositories/account.repository.js:142:27
    at tryCatcher (/Users/haikelouerfelli/Desktop/InstaBotRequest/node_modules/bluebird/js/release/util.js:16:23)
    at /Users/haikelouerfelli/Desktop/InstaBotRequest/node_modules/bluebird/js/release/catch_filter.js:17:41
    at tryCatcher (/Users/haikelouerfelli/Desktop/InstaBotRequest/node_modules/bluebird/js/release/util.js:16:23)
    at Promise._settlePromiseFromHandler (/Users/haikelouerfelli/Desktop/InstaBotRequest/node_modules/bluebird/js/release/promise.js:547:31)
    at Promise._settlePromise (/Users/haikelouerfelli/Desktop/InstaBotRequest/node_modules/bluebird/js/release/promise.js:604:18)
    at Promise._settlePromise0 (/Users/haikelouerfelli/Desktop/InstaBotRequest/node_modules/bluebird/js/release/promise.js:649:10)
    at Promise._settlePromises (/Users/haikelouerfelli/Desktop/InstaBotRequest/node_modules/bluebird/js/release/promise.js:725:18)
    at _drainQueueStep (/Users/haikelouerfelli/Desktop/InstaBotRequest/node_modules/bluebird/js/release/async.js:93:12)
    at _drainQueue (/Users/haikelouerfelli/Desktop/InstaBotRequest/node_modules/bluebird/js/release/async.js:86:9)
    at Async._drainQueues (/Users/haikelouerfelli/Desktop/InstaBotRequest/node_modules/bluebird/js/release/async.js:102:5)
    at Immediate.Async.drainQueues [as _onImmediate] (/Users/haikelouerfelli/Desktop/InstaBotRequest/node_modules/bluebird/js/release/async.js:15:14)
    at processImmediate (internal/timers.js:461:21)

There are many old issues about this endpoint not working anymore

There are many old issues about this endpoint not working anymore

Thanks dude ;)

@MrPerry300 any workaround?

@hubba-bubba-776 what is an alternative?


Assembled version for purchase?

Nice work on this project! This looks perfect. I really like the way you've used the rotary encoder as the only interface.
I would really like use one of these to replace the Sleep As Android app. I currently use it for alarms and to record the start and end time of my sleep with a sync into Google Calendar. But I want to get out of the routine of having my smartphone being the first and last thing I see each day.
Thanks for sharing your work with all the schematics and documentation. Although the assembly project still looks outside of my capability as a web developer - would you be open to assembling one on commission?

Hello @winterec, I feel quite flattered with your feedback! My motivation when I created this project was pretty much the same you have explained in your comment.
However, for now, I will not assemble any clocks on commission. Besides the legal implications on selling something I cannot offer guarantee for, I honestly don't feel like this is polished enough that I could charge some money on it. The software still crashes sometimes (see #2, I closed it but I am still having some issues), I have had some wiring problems with the current mounting solution and the last case I printed didn't turn out as good as I was expecting. And it wouldn't be cheap! Just the components were around 40€ last time I checked - add the shipping costs to that because I sourced them from different shops and some more for filament, power and other miscellaneous stuff. It would be probably be more expensive than most people would be willing to pay and I would have just covered the costs.
Nevertheless, thank you very much for your interest. I might create a new version in the future which simplifies the process and meets my own expectations. Maybe then I could assemble a few on commission.

I am happy to see that you are giving it a go! Don't hesitate to ask if you have something not working on the breadboard. I also would be happy to give you a couple of hints regarding the case and the PCB board before you get into it. I think there are a couple of things I could have made better and you can learn from my mistakes.
I also like the ideas you have regarding the alarm time and the lights. I thought about these things too but in the end I decided I am happy with setting the alarm by myself every day. In the end, it is an open source project and you can modify as it suits you better :). And I do have a light automation coupled to the alarm (which is why I added the MQTT events in the first place). When my home assistant gets the alarm trigger event, it waits for 5 minutes and after that it begins to slowly dim the light so that after further 5 minutes it will have the maximum intensity. But again: this is how I like it and you can customize to your own preference.
I am quite curious to see how it turns out!


3.0.0alpha15: "openssl crl" can not read from STDIN

Example from 1.1.1k:
openssl crl -noout -hash < /path/to/crl/ca-bundle.crl
fdd35eee
The same for 3.0.0alpha15:
openssl crl -noout -hash < /path/to/ca-bundle.crl
No filename or uri specified for loading CRL
Unable to load CRL
The same error happens when using a pipe to feed STDIN, which works for 1.1.1k as well.
Cross check: using the same file with "-in":
openssl crl -noout -hash -in /path/to/ca-bundle.crl
issuer name hash=fdd35eee
So the file in general works.
Further nit: The output format changed. I think that was supposed to get fixed by https://github.com/openssl/openssl/pull/14553, but that seems not to be enough. Should I open a second issue for the format change topic?
Thanks and regards,
Rainer

Should I open a second issue for the format change topic?

Yes please.

2nd issue (format change) opened: #15034

Fix is simple.. PR coming soon..


[WhatsApp] Edited messages via app don't update in nchat

If I edit a message on WhatsApp app on my phone and then open nchat, the version of the message that I see in nchat is the old/original one, not the edited one.
Version: 4.75

Hi @fulalas - thanks for reporting a bug. I can see the issue here too. I will look into preparing a fix.

WhatsApp handling for edited messages has been added now, let me know in case you still encounter any issues. Thanks!

It's fixed, thanks!
I noticed something peculiar though. If I send a message via nchat and try to edit it using WhatsApp app, I can't. The edit option doesn't even show up. Can you replicate this?

I can see that issue too. I'm not sure what the cause is. Possibly due to some WhatsApp protocol updates which the reverse-engineered library does not yet handle. I'm planning to soon (~few weeks) update to a newer version of the whatsapp library, will see if that resolves this issue.


change description from unbiased to hypothesis-free

Following discussion with various partners, "hypothesis-free" better conveys what we're doing than "unbiased".


Is the code available for study?

I am very interested in your paper and its implementation. My current research point is very similar to yours and I want to learn the code implementation. If there is a new paper output, I will definitely refer to your paper.Thanks for the code.

Hi, thanks a lot for your attention on our work.  I have uploaded my codes for FedNewsRec.


[Feature]

Summary
One paragraph description of the feature.
Motivation
Why should this be worked on? What problems or use cases does it solve or
improve?
Additional Context
Any other context or screenshots or API request payload/responses that you
pertain to the feature.

Hi I would like you to know the pugs on my account and the flack emails

@ashwanisindhu1 @neok @aldarmak @Nikhil-Nandagopal @Daddy2200


go1.8 compliant functions in vitessdriver

Addresses #2204.
This is mostly to show that vitess can comply with
the new go1.8 database driver specifications. I've left
out the row support functions because most of them are
not supported by the protocol. The most important changes
are supported: contexts and named arguments.
Building a go1.8 binary looked non-trivial due to the bootstrap
process. So, I've punted on that part, which means that there
are no tests for the new functions. However, we can add them
later once go1.8 is mainstream.
I've also deleted the per-shard functionality, which is
a deprecated feature.

@kardianos

I thought we said we would keep the shard in there, so by specifying a specific shard, DBAs could target a shard? And if no shard is there, we revert to v3? Or do I not remember correctly? We should have written it down...

I don't remember either, but it's too dangerous though. They may send non-compliant statements to those shards. Since it's a public API, it could get accidentally abused.
I think it will be better if those who want to perform repairs go through vtctl.

@michael-berlin @alainjobart @kardianos PTAL
I've addressed all code review comments.

PTAL
All new comments are addressed.


Task 2: Rename ViewController

Rename the ViewController class you’ve been working on in Assignments 1 and 2 to be CalculatorViewController.

Hint 1: Forgetting to set the class of a UIViewController or a custom UIView in the Identity Inspector in Xcode is a common error. You’ll need to do this when you rename ViewController to CalculatorViewController and for both the new UIViewController and the new UIView that you are creating in this assignment. Also, if you rename a class or struct, don’t forget to rename the file that contains it (if appropriate).


RPC not loading on tests

Hi,
With the latest version of sockectstream, the rpc's are not loading on my app, was there any major change in the way these are loaded?
On the tests header i have the usual require("socketstream").start() which is at test/server/rpcs.test.js... For the frontend the rpc's load perfectly, is there anything that I need to do differently on this version?
This is my current folder structure:
.
├── app.js
├── gulpfile.js
├── package.json
├── client
│   ├── code
│   ├── css
│   ├── modules
│   └── views
├── node_modules
├── server
│   ├── jobs
│   ├── middleware
│   ├── models
│   └── rpc
└── test
    ├── client
    │   ├── modules
    │   └── views
    ├── mocha.opts
    ├── protractor.conf.js
    └── server
        ├── jobs
        ├── models
        ├── models.test.js
        ├── rpcs
        └── rpcs.test.js

Tasks

[x] Add sample transporter tests
[ ] Document transporter tests

Hi there, are you talking about 0.5.0 ? It is an unstable release for testing only. Thanks for reporting.
Indeed much is changing. calling start without an http server is now supported to facilitate gulp integration and running pack-all as a task. https://github.com/socketstream/ss-examples/blob/master/express-4-and-js/app.js
It means that transporter tests will have to be supported in a different way. There is already a task for that. If you can point me to an example test that doesn't pass anywhere, I'll be happy to fix the issue.

You might be able to make your test work by calling ss.load() instead of ss.start(), hmm probably not will have to look into this

@cuckoopt Could you try out your tests with this: https://github.com/socketstream/socketstream/pull/590 ?

I was talking about the 0.4.4, I tried to run the tests with that line both with 0.4.4 and 0.5.0 and in the 2 of them I get
! task failed { [Error: task "test-socketstream" is not defined]
  missingTask: 'test-socketstream',
  taskList:
   [ 'start-server',
     'load-api',
     'load-socketstream',
     'serve',
     'live-assets',
     'live-reload',
     'stop-server',
     'default',
     'pack-all',
     'pack-if-needed',
     'pack-prepare' ] }

@thepian Sorry, I didn't test with that branch, I tested with it (without the done callback, outside of the describes) and it seems to be working fine :+1:
btw (offtopic) the newer versions will bring the updated deps? it's a bummer to not be using node 4 to installing this... :stuck_out_tongue:

Sorry, I'm unable to keep up with all software details. Node 4 completely missed my radar. We can add Node 4 to the platforms tested. Does that bring Promises and other ES 2015 goodies?
With 0.5.0 we are moving away from bundling big dependencies in SocketStream. This means your project is checked for stuff like Jade and Engine.io and you can use the version you are happy with as-long-as it remains API compatible.
I want to shrink SocketStream to a small bundle of glue that you can stick big pieces on and it will make things work together.

FYI, Node 4 is the merger of io.js back into the main Node branch (io is no longer a thing). And yes, it includes lots of new goodies as well as more frequent updates (on Semver). We should definitely add Node 4 to the test suite. Actually, it's going to be a more rapid moving target. We're already on 4.2.1.


cli environment variable

Environment Variables info for CLI commands added to docs

I think it would be interesting to move this section https://docs.frontity.org/frontity-cli/create-package#the-no-prompt-option to the top level of the Frontity CLI section, because that graph is not only for create-package but for all the commands.
Also, note that the env variables now include the command FRONTITY_COMMAND_ARGUMENT.
Also, the graph can be recreated using https://excalidraw.com (right now the final part is a copy-paste of another graph).

As I'm having some conflicts due to the long existence of this PR and the complete reorganization of this folder  I've created a whole new branch w/ new changes taking into account this conversation and these changes
https://github.com/frontity/docs/pull/93


Add runn all in scripts

Preparing tikui module by adding the possibility to have multiple executions for each npm script target.

Need https://github.com/jhipster/jhipster-lite/issues/10795


Blog posts - no list, view is unstyled

I see a whole implementation you did for ./content/posts but there isn't a list of posts anywhere, and when I've tried browsing to https://localhost:8000/post-one/ I got an awkward page with no styling.

I don't consider this an issue. This template is set up to take blog posts, but its primarily meant for docs / ToC. I didn't want to make this too opinionated in styling -- just in functionality.

I think you should rather remove all posts related stuff. It is just confusing. Better remove it than leave this half working reminisence in there.

Fixed.


1.2.0 Feature: Push Notifications: Local Device State

One of a family of pull requests addressing #3.
This pull request cannot be merged until the following have happened, in order:

#13 has landed to main branch
The v1.2.0-alpha.1 tag has been pushed at HEAD of main branch

Thanks for your comment, @qsdstefan. To address your question:

Local Device State is now a separate feature as part of the Push Notifications section?

The answer is either a light yes or a heavy no, depending on what perspective you look at this from...
The light Yes: From the perspective of someone viewing this with an existing understanding of our IDL and the API structures that it translates to in our SDKs, then "now a separate feature" - describing a move operation - sounds like the correct analysis.
However, this isn't a move. It represents what we already have, from a different angle of view...
The heavy No: From the perspective of the way we're representing our canonical features tree in this repository, I've intentionally deviated from the IDL structure when that is more logical in abstract. The intention is to represent our feature hierarchy in a way that is most logical from a user's perspective, flowing down from node to node. The contents of sdk.yaml is not an IDL or an API.
These feature nodes are intended to be referenced using their fully qualified path into the tree. So, in this case, that's:
Push Notifications: Local Device State
Hopefully an appropriate balance between human and machine readability. 🤞
It's why I implemented the CSS-powered tooltips as you scroll up and down the rendered output:


[Question] Huawei with HMS

Hello Everyone!
I have a question about logic regarding Huawei devices with HMS.
I noticed we are gathering errors on Rollbar and common thread is it happens only on Huawei devices that were downloaded from AppGallery:

I found this in Huawei docs:
https://developer.huawei.com/consumer/en/doc/HMS-Plugin-Guides/accessing-analytics-kit-0000001058501350-V1
Given that - is it not possible to access user AAID using this library when app was installed via AppGallery?
Looking forward to hearing from you!
Best regards and thank you for your work.

Hi @wonderlul, Huawei devices don't run Google Play Services so they cannot access the Google AAID, that comes from a Play Services library.
When you try to read the AAID from the library it should reject the Promise, so that you can catch the exception and handle it gracefully without flooding your logs with errors.
Can you confirm that this is the case?

Exactly this. Thank you for quick response!

Glad to help @wonderlul 👍


findWakeFreeConditions.m: fairly extensive function changes

Use parse_pv_pairs hleper function to process optional args Add help in Matlab standard format
Changed data input field names
Improve data validity checks
Updated code style in places

@Visgaard I made some updates based on your initial commit. The only thing I think you might find controversial is my changing of the data field names. I changed the main structure names to
ControlWTPre
ControlWTPost
TestWTPre
TestWTPost
I used Test rather than Mod to be aligned with the terminology in the paper. I removed the shortening as I generally prefer clarity and there wasn't much gain form the shortened versions.
Slight more controversially I propose a rough convention for the data field names which goes like this:
[Variable type][Optional Further description][Optional Modifiers]
So, for example where you used ActivePower I instead propose PowerActive, and all power related fields would also start Power. So the binned active power would be called something like PowerActiveBinned, binned time would be called TimeBinned etc.
Let me know what you think about this. If you're happy I'll merge my changes.
@jecheniq @reos-otulloch  pinging you both so you are aware of the changes


Add tests for player_option! for Player{Human}'s

Right now, there aren't any tests for player_option! for Player{Human}. Doing so requires simulating input to REPL.TerminalMenus. Here is an example.

Closed by #58!


Fixed Typo in dualboot.sh

This typo needs to be fixed XD

This typo needs to be fixed XD

XD, I think people know what i want to say LOL


Wave Terminal - Windows

It would be great to have a windows distribution as well.

Existing Issue: #76

going to close this since it's existing


Added generic versions of iOS controller and views

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
I've added generic versions of every Reactive ViewController and View / Control on iOS and Mac to allow easier assignment of ViewModels with such classes.
We use these classes in all of our projects, and it's kind of cumbersome to copy them every time, or to create a special package.
It's also spoken of in https://github.com/reactiveui/ReactiveUI/issues/1029.
What is the current behavior? (You can also link to an open issue here)
You have to create/add these versions to all of your projects.
What is the new behavior (if this is a feature change)?
They're factory-installed!
Does this PR introduce a breaking change?
It shouldn't, since the non-generic versions are still there. I took the liberty of cleaning up unused usings though. But this is a case of "If it builds, it works."
Please check if the PR fulfills these requirements

[x] The commit follows our guidelines: https://github.com/reactiveui/reactiveui#contribute
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

Other information:

@reactiveui/reviewers-ios and @reactiveui/reviewers-mac could you please have an 👁 of this for inclusion into ReactiveUI v7.1.0 (tomorrow?)

lgtm. Thanks @Qonstrukt!


Add support for setting up configuration files automatically

Currently we hide the instructions in the YAML file, on how to set up the cluster access.
# $ export KUBECONFIG=$PWD/kubeconfig.yaml
# $ limactl shell k3s sudo cat /etc/rancher/k3s/k3s.yaml >$KUBECONFIG

# $ export KUBECONFIG=$PWD/kubeconfig.yaml
# $ limactl shell k8s sudo cat /etc/kubernetes/admin.conf >$KUBECONFIG

Could make this actionable for Kubernetes, like it was done earlier for Docker / Podman ?

#472

Adds set up for config files, to be automatically copied from the guest to the host: (with "mode")
configFiles:
  - guestConfig: "/etc/rancher/k3s/k3s.yaml"
    hostConfig: "{{.Dir}}/conf/kubeconfig.yaml"
message: |
  To run `kubectl` on the host (assumes kubectl is installed):
  $ export KUBECONFIG={{.Dir}}/conf/kubeconfig.yaml
  $ kubectl

configFiles:
  - guestConfig: "/etc/kubernetes/admin.conf"
    hostConfig: "{{.Dir}}/conf/kubeconfig.yaml"
message: |
  To run `kubectl` on the host (assumes kubectl is installed):
  $ export KUBECONFIG={{.Dir}}/conf/kubeconfig.yaml
  $ kubectl

Then the setup is a simple one-liner, to set up the KUBECONFIG variable ?

I feel this is both too powerful, and not powerful enough:

Too powerful: When I run limactl start https://lima.vm/k8s.yaml, I don't want it to be able to overwrite just any file on the host.

Not powerful enough: As your examples show, it does not do the full setup; you still have to setup the environment variable.
And this is just one possible configuration; maybe I want to configure a docker context or kube context to be able to use the VM without any environment variable setup (e.g. to use it from VS.Code).

So I think copying the config variable should be just another line in the message:
message: |
  To run `kubectl` on the host (assumes kubectl is installed):
  $ mkdir -p "{{.Dir}}/conf"
  $ limactl cp "{{.name}}:/etc/kubernetes/admin.conf" "{{.Dir}}/conf/kubeconfig.yaml"
  $ export KUBECONFIG="{{.Dir}}/conf/kubeconfig.yaml"
  $ kubectl

I feel this is both too powerful, and not powerful enough:

Too powerful: When I run limactl start https://lima.vm/k8s.yaml, I don't want it to be able to overwrite just any file on the host.

Not powerful enough: As your examples show, it does not do the full setup; you still have to setup the environment variable.
And this is just one possible configuration; maybe I want to configure a docker context or kube context to be able to use the VM without any environment variable setup (e.g. to use it from VS.Code).

So I think copying the config variable should be just another line in the message:
message: |
  To run `kubectl` on the host (assumes kubectl is installed):
  $ mkdir -p "{{.Dir}}/conf"
  $ limactl cp "{{.name}}:/etc/kubernetes/admin.conf" "{{.Dir}}/conf/kubeconfig.yaml"
  $ export KUBECONFIG="{{.Dir}}/conf/kubeconfig.yaml"
  $ kubectl

True, that could be a better approach. I think other tools just copy it to ~/.kube/config, as a new context ?

@jandubois
Using "limactl cp" didn't work, because of permission issues.
scp: /etc/kubernetes/admin.conf: Permission denied

The upstream example uses root@ but that is blocked I think.
https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/create-cluster-kubeadm/
So message is long and ugly.


Incorrect descriptions of some functions in document

For example, Selector, get_inner_node, get_outer_node

The selector part is a misunderstanding, who mistakenly regarded the syntax of selecting the result that was supposed to be the selecting the attribute.
The node part is indeed not precisely reflected what the method does, has been fixed.

However, after a glance in the doc, there is still some room to refine, like the accuracy, syntax, and it's a little out of date, as well as the Chinese version.

Maybe need another a few hours to go over the docs.
Leave this open for a few days.


[Feature Request] Embeddings like EasyNegative

Are embeddings like EasyNegative supported? I would like to use EasyNegative in my prompts. Civitai tells me this is an 'embedding'. Do we support that here? If yes: With what option do I load that file?
Thanks

It is not supported yet. Maybe in the future, I'll have time to investigate how embeddings work and add a pull request to support it

Thank you. I've renamed this issue to [Feature Request] ... Feel free to assign this any priority you like, it's not something I use regularly. Thank you for stable-diffusion.cpp anyways, I don't think I'm of any help with this. I can code, but ggml and machine learning isn't my field of expertise ;-)


Fix conflicting visibility

PHP Fatal error:  Underpin\Abstracts\Taxonomy and Underpin\Traits\Feature_Extension define the same property ($name) in the composition of Underpin\Abstracts\Taxonomy

Not by a human but by static analysis.

Thanks @szepeviktor - I ended up handling this in #11


make nextMadeUpTo in confirmationStatement non optional

revision to ncs-89 -> https://github.com/companieshouse/api-sdk-node/commit/1802774c2d6e199b25580ca49f03c82e8ef4e3cd
updating nextMadeUpTo to be non-optional as described in spec -> https://developer-specs.company-information.service.gov.uk/companies-house-public-data-api/resources/companyprofile?v=latest

I'm wary of this change.
There are plenty of company profiles in CiDev that do not have this field present, so how would this change effect trying to retrieve the profile of those companies?

Are there really? I had a chat with JR and was under the impression this field should always have a value, unlike lastMadeUpTo

Are there really? I had a chat with JR and was under the impression this field should always have a value, unlike lastMadeUpTo. Also when looking over the spec it isn't optional

Yeah, there are ones present in staging too.
You can run this query to find examples: db.getCollection('company_profile').find({"data.confirmation_statement.next_made_up_to" : {$exists : false}})
Though looking at the spec... I think the confirmation statement itself should be optional (currently in the sdk it isn't) and if it does have a confirmation statement object, then it will have a next_made_up_to


WinZipAES256 problem on UWP

Steps to reproduce

Make UWP project min sdk 10240
Create Zip using WinZipAES256 with some password
Try to extract it using ZipFile.GetInputStream(zipEntry)

Expected behavior
Opening zip file and extracting entries. WinRAR opens this file and shows no errors.
Actual behavior
System.ArgumentException: Specified initialization vector (IV) does not match the block size for this algorithm.Parameter name: rgbIV   at Internal.Cryptography.AesImplementation.CreateTransform(Byte[] rgbKey, Byte[] rgbIV, Boolean encrypting)   at Internal.Cryptography.AesImplementation.CreateEncryptor(Byte[] rgbKey, Byte[] rgbIV)   at ICSharpCode.SharpZipLib.Encryption.ZipAESTransform..ctor(String key, Byte[] saltBytes, Int32 blockSize, Boolean writeMode)   at ICSharpCode.SharpZipLib.Zip.ZipFile.CreateAndInitDecryptionStream(Stream baseStream, ZipEntry entry)   at ICSharpCode.SharpZipLib.Zip.ZipFile.GetInputStream(Int64 entryIndex)   at ICSharpCode.SharpZipLib.Zip.ZipFile.GetInputStream(ZipEntry entry)   at damirkutTestsDataGetter.MainPage.ZipDeCrypter(String localfolder, String[] FileNames)
Version of SharpZipLib 1.0.0 alpha 2
Obtained from (place an x between the brackets for all that apply)

[ ] Compiled from source
branch: _______
commit: _______
[ ] Downloaded DLL from GitHub
[ ] Downloaded DLL from SourceForge
[ ] Downloaded DLL from _______
[ ] DLL included as part of
Package installed using:
[x] NuGet
[ ] MyGet
[ ] Chocolatey

Hi @Kutikov , I experienced the exact same issue. What I did to get around this is to change the input passport to 16 characters, after which I was able to successfully extract the ZIP file.

After further use, the 16 characters only work for files of a certain size. So the IV is a calculated value, which needs to be done per file. Since a password is usually constant, using Password for IV doesn't make sense. So this is an issue that caused me to look for different unzipping solutions.

Duplicate of #181


NCD - Labs - Creatinine [6h]

Issue
NCD introduces a new type of lab called Creatinine. One lab is pulled but there are three results inputs (similar to urine dipstick). These results will eventually diagnose and help monitor chronic kidney disease. At this point in time, it helps us see if someone has hypertension with renal complications so there is logic associated with these results. See the Logic Master for more information.
Lab Order

Lab Results

To Do

Style screens per design
update any logic (if needed)

@anvmn changes had to be made to the lab results input screen for creatinine. Urea + Nirtogen results are a combo result called BUN. Updated in figma.

@jeanette-pelizzon ^^ requires separate issue, since this issue was implemented and merged.

https://nutrition-ihangane.pantheonsite.io/
QA Review
Checked and approved:

Creatinine


Fix awkward shadow on tags

Why remove box shadow, I think it looks good

@Ascent817 I noticed there's a weird cutoff because of the margin/padding on the sides of the scrolling container... have to find a better way to do the tag container but this is more of a temp fix


feat: add labels: release blocker, needs reviewer assigned

also: this chills out the shade of the
"release testing" label a bit so that the
"release blocker" label can really pop

https://github.com/openedx/axim-engineering/issues/1129
https://github.com/openedx/axim-engineering/issues/1130

Applied


The container_* Prometheus metrics are missing on certain systems, can someone help?

The container_* Prometheus metrics are missing on certain systems, can someone help?
For instance, I see: container_cpu_usage_usec_microseconds and container_memory_usage_bytes on an Ubuntu 22.04 installation, but when I install to a RHEL-like OS, I don't see these.
In my image below, you can see cgroups v1 and v2 seem to be present:

Containerd metrics were enabled in the normal way on both systems:
[metrics]
  address = "<IP_ADDRESS>:9113"
  grpc_histogram = false

I found some vague third-party materials mentioning certain metrics were only available in cgroups v1, but the Ubuntu system seems to be running on v2 from what I can tell.
There's very little in terms of documentation on this, and I can't find the string "memory_usage_bytes" anywhere in this org.

It looks like these metrics come from cadvisor and may be proxied through containerd.
I have two RHEL-like OSes below, but one seems to have something missing in the Kernel or somewhere else.
Any suggestions on where to look?

I do see the raw metric if I run cadvisor directly:

And this looks like the containerd handler to populate/pass on the metrics: https://github.com/google/cadvisor/blob/fdd3d9182bea6f7f11e4f934631c4abef3aa0584/container/containerd/handler.go

curl http://<IP_ADDRESS>:1338/v1/metrics|grep container_memory|more
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0# HELP container_memory_active_anon_bytes The active_anon amount
# TYPE container_memory_active_anon_bytes gauge
container_memory_active_anon_bytes{container_id="05068ef1aa88043117339e7fadc2c5529a718d0af840c02a777a13922fab3d40",namespace="k8s.io",runtime="io.containerd.runc.v2"} 4096
container_memory_active_anon_bytes{container_id="0508e6621059ac653ba56e9f123d122e19c27262f58b036398a1d4a9e716b4c7",namespace="k8s.io",runtime="io.containerd.runc.v2"} 4096
container_memory_active_anon_bytes{container_id="060058a5d48e1881b42f8bd7cc8515467a2b0200d09ed9ffae7ee1eb513ef90f",namespace="k8s.io",runtime="io.containerd.runc.v2"} 8192
container_memory_active_anon_bytes{container_id="1019f7f94ccb98d4a7103310bb206b3979efec45bc44eacc985a7466215df3cd",namespace="k8s.io",runtime="io.containerd.runc.v2"} 4096

containerd version
containerd --version
containerd containerd.io 1.6.20 2806fc1057397dbaeefbea0e4e17bddfbd388f38

ctr debug
ctr --debug -n k8s.io t  ls
TASK                                                                PID       STATUS
cfcb731821626e03c036a0ed906b0808f0044188454f50efe33ab282666af653    697698    RUNNING

ctr --debug -n k8s.io t metrics cfcb731821626e03c036a0ed906b0808f0044188454f50efe33ab282666af653
ID                                                                  TIMESTAMP
cfcb731821626e03c036a0ed906b0808f0044188454f50efe33ab282666af653    2024-09-27 01:22:28.438801955 +0000 UTC

METRIC                VALUE
pids.current          1
pids.limit            799999
cpu.usage_usec        33598
cpu.user_usec         20379
cpu.system_usec       13219
cpu.nr_periods        0
cpu.nr_throttled      0
cpu.throttled_usec    0
memory.usage          221184
memory.usage_limit<PHONE_NUMBER>3709551615
memory.swap_usage     0
memory.swap_limit<PHONE_NUMBER>3709551615

Which version of containerd is installed?

/assign @zouyee

The system was running Oracle Linux 8 which had both sets of cgroups but v1 was enabled by default. After moving to 9.4 these new metrics just appeared.
My question would be - is there a way to get the container_ metrics on older systems which still have cgroups v1 as a default?


Crasher minimization

It would be very useful to automatically minimize programs that trigger bugs.
The main obstacle here is that currently we don't attribute bugs to particular programs, so we cannot say that this program triggers a bug. Without such signal it is not possible to minimize. The signal is challenging, because console output is processed asynchronously and a VM can run several programs concurrently.
Probably we can separate minimization process from normal testing. That is, once we have a crash log, we can wind up a dedicated VM and run it in special slower mode when we attribute output/bugs to just executed program. This would simplify things significantly.

Here is a rough description of how I currently create and minimize reproducers:
https://github.com/google/syzkaller/wiki/Crash-reproducer-programs
Ideally, it all should be automated.

Generally, a syscall is a candidate for removal if it doesn't produce any arguments used by other syscalls.
We can start with breaking as much dependencies as possible by replacing various arguments with constants, and then apply multidelta to the program.
IIUC the main problem is to provide a reliable predicate to distinguish between the test cases on each minimization step.

tools/syz-repro now can do some of this
It probably needs more tuning to be more robust and useful, but it is a starting point.

Can this be closed?

Yes, this is fixed.


Provide states with dynamic values

Hello, today I have been working with Pact in provider side with states (@State) and I have found one enhancement that could be interesting and it is provide a way to set dynamic values, something like it is done in Cucumber JVM.
So the idea is that you could do something like:
In consumer side:
return builder
            .given("user Alex is on database")
            .uponReceiving("ExampleJavaConsumerPactTest test interaction")
                .path("/")
                .method("GET")
....

Nothing new in consumer side but then in provider side:
@State("user (\\w+) is on database")
public void toDatabaseState(String name) {
  System.out.println("Insert " + name + "user to database");
}

...

What do you think? Also we could support list using (.*) to get a comma separated list elements: https://cucumber.io/docs/reference/jvm#java
What do you think? I can provide a PR as well.

There is also a V3 extention which improves this by adding key value pairs https://github.com/pact-foundation/pact-specification/tree/version-3#allow-multiple-provider-states-with-parameters

Ah right, this is supported in 3.5.beta 2


Structured reference condition

Context
When developing references, we postponed certain features associated with it in order to ship the change ahead of a new cycle.
One of the things that we postponed, due to the fact that users could make use of existing conditions functionality, was the addition of a structured reference condition.
What it is not done yet?

[ ] Candidate interface
[ ] Change (edit) offer

Screenshots

 Create a structured reference condition for references (Manage users)


Please release vavr 1.0.0-alpha built with Java 8 targetCompatibility

@danieldietrich I'm very excited that I can introduce Vavr 1.0.0 (alpha) library to my colleagues starting at least with Try only - as a first step of "step-by-step" Functional programming education :-)
Unfortunately, existing "1.0.0-alpha-1" artifact is built at Java 11 compatibility level, which prevents the artifact's usage in our Java 8 project. Although current source code in "v1.0.0" branch is already fixed to be Java 8 compatible.
Please, publish next alpha release based on current source code, so we could start using it! (Inserting source code of Vavr 1.0.0 directly in our custom project looks ugly and I'm afraid that my attempt to introduce FP may be rejected based on this only...)

Thx! I will prepare an alpha-2 release this day.

Hi, just wanted to give you an update.
I polished the alpha-2 a bit and wanted to release it. However, I'm stuck with the net.researchgate.release plugin for Gradle. Version 2.7.0 does not allow me to perform a release based on a non-master git branch. It seems to be solved in 2.8.0, but it isn't released, yet.

@danieldietrich Thank you for update. Very strange restriction...
As a workaround, you could try this: fork your own repository and make vavr 1.0 be in a master branch of that repository. And release from that repository?!


Erroneous tokenization from Returned prediction phrases in zero-shot detection

2 quick questions about text prompt for zero-shot detection.
I used
boxes_filt, pred_phrases, scores = get_grounding_output(model, image, text_prompt, box_threshold, text_threshold, with_logits=False, cpu_only=args.cpu_only)
with text_prompt, say, melon . zucchini . apple . approcot . japanese_fruit
And GDINO would often return compound phrases like melon zucchini instead of individually.
Another issue is the underscored phrase such as japanese_fruit would have weird returned tokenization, become separate returned phrases like japanese _ , fruit, Which is undesirable.
Are there ways to fix these issues? Thank you!

2 quick questions about text prompt for zero-shot detection. I used boxes_filt, pred_phrases, scores = get_grounding_output(model, image, text_prompt, box_threshold, text_threshold, with_logits=False, cpu_only=args.cpu_only)
with text_prompt, say, melon . zucchini . apple . approcot . japanese_fruit And GDINO would often return compound phrases like melon zucchini instead of individually.
Another issue is the underscored phrase such as japanese_fruit would have weird returned tokenization, become separate returned phrases like japanese _ , fruit, Which is undesirable.
Are there ways to fix these issues? Thank you!

This is because GroundingDINO will combine the words with similarity > text threshold as the phrase for the specific object
I thinks this may not be the practical way for application, we will try to modify the post process of GD for better usage, more details can also be found in: https://github.com/IDEA-Research/GroundingDINO#arrow_forward-demo

Ok, thank you. Please keep me posted!

Ok, thank you. Please keep me posted!

You're welcome, you can try to use token span instead of this situation for detecting specific text prompts without needing to modify the post process, I've already shared the link before~


How to test readFragment with MockProvider

Intended outcome:
I have a HOC that reads some data from store:
compose(
    withApollo,
    withProps(({ client, subjectId }) => ({
        name: get(
            client.readFragment({
                id: `Subject${subjectId}`,
                fragment: SubjectFragment,
            }),
            'name'
        ),
    }))
)I try to use `MockedProvider` to test the `readFragement` block. To do so I create a mocked redux store using `redux-mock-store`:

const mockStore = configureMockStore([])
const store = mockStore({
    apollo: {
        data: {
            SubjectsomeId: {
                id: 'someId',
                name: 'test',
                __typename: 'Subject',
            },
        },
    },
})

then I create an ApolloClient like this (I'm using it in several other test so I assume that it works):
const client = new ApolloClient({
    fragmentMatcher,
    addTypename: true,
    dataIdFromObject,
})

Then I stick this together:
const Component = () => <div />
const WrappedComponent = hoc(Component)
<MockedProvider client={client} store={store}>
   <WrappedComponent />
</MockedProvider>
expect(component.find(Component).props('name').toBe('test')

Actual outcome:
The readFragment call always return null
Version

<EMAIL_ADDRESS><EMAIL_ADDRESS>

➤ stale[bot] commented:
This issue has been automatically labled because it has not had recent activity. If you have not received a response from anyone, please mention the repository maintainer (most likely @jbaxleyiii). It will be closed if no further activity occurs. Thank you for your contributions to React Apollo!


Captcha error for kissasian

hello! When I try to download anything from kissasian.com it says captcha error. Here's the output:
kissanime-dl http://kissasian.com/Drama/Kekkon-Dekinai-Otoko ~/Videos/kissdrama/kekkon/ --episode=1 --quality=480
Platform: Linux
Python Version: 3
Program Version: 1.9.8
Warning: Version 1.9.6 changed the host of kisscartoon.me to kisscartoon.se.
Checking for updates
Waiting for authentication...
Should take about 4 seconds
Success!
Episode-1
Captcha Error @ http://kissasian.com/Drama/Kekkon-Dekinai-Otoko/Episode-12?id=18135
Captcha Error @ http://kissasian.com/Drama/Kekkon-Dekinai-Otoko/Episode-11?id=18134
Captcha Error @ http://kissasian.com/Drama/Kekkon-Dekinai-Otoko/Episode-10?id=18133
Captcha Error @ http://kissasian.com/Drama/Kekkon-Dekinai-Otoko/Episode-1?id=18124
Downloaded 0 files at /home/x/Videos/kissdrama/kekkon
Elapsed time: 0:00:19.526511
Can you look into it?I guess it is due to cloudflare. Would be great if you could make it work. Thanks.

so what's going on with kissanime-dl and other similar programs is that the kisssites completely changed how they store the url to videos.  Now they encrypt them using keys that change based on time and ip. A solution I am working on is changing kissanime-dl's engine so it uses an actual browser rather than a faux one. However, this may take some time and not even work at all, so please be patient.

Chrome just announced headless support. Might be a good idea to check out. Also there are text based lightweight browsers like links , links2, and elinks.
Is there a dev branch to test these?

@wileyyugioh Thanks for the reply.

@hex007 I haven't started work yet, because what I plan to do is use selenium with headless chrome which hasn't been released yet. Hopefully in the next major update I can replace requests and js2py with just selenium.

is kissanime_dl stil functioning for kissanime?

No, kissanime also updated their encryption.

even if you use a headless browser like PhantomJs or WebKit. You cannot pass the Captcha.
You seriously need to change everything , little hack into the Captcha engine can tell you something (Disclaimer: Kissanime now uses their own Captcha).
But if you want a easy to use and Well documented headless browser api for Python.
Then my recommendation would be The Qt Binding for Python , you just need to discard the line that renders the application then you are good to go. Its even faster than PhantomJs so its your best choice!
Click here to Know More about the Qt Framework!

I have used the website after they changed the capcha. There are only few that they recycle. Technically it might be possible to solve them after getting some of them solved by the user and saving the mapping

in regard to kissanime.ru can't you load the mobile page http://kissanime.ru/m to avoid the captchas ?

The mobile version of the site generates the video urls through js which goes back to the original problem that a) the video links on the desktop site are heavily obfuscated through javascript and b) there is a captcha that needs to be bypasses for every video.

we can just hope that the attack against their servers ends and they remove the annoying captcha


fix: do not uri-encode Basic Auth header contents

Motivation
Basic Auth is supported by all clients, and only Lodestar URI-encodes certain special characters provided in the userinfo portion of the URI. These changes align Lodestar with the other clients.
Additionally, it adds some protection against leaking http uri userinfo segments into the logs, as they could be considered sensitive.
Description
First commit fixes the issue where new URL() would URI-encode the = character by simply calling decodeURIComponent on username/password from the parsed URL.
Re: https://github.com/ChainSafe/lodestar/issues/6154#issuecomment-1839305982
Certain characters are not allowed in URIs, even in the userinfo field. These seem to align with the new URL() behavior fine:
userinfo      = *( unreserved / pct-encoded / sub-delims / ":" )
unreserved    = ALPHA / DIGIT / "-" / "." / "_" / "~"
pct-encoded   = "%" HEXDIG HEXDIG
sub-delims    = "!" / "$" / "&" / "'" / "(" / ")"
                 / "*" / "+" / "," / ";" / "="

Specifically, @ and # are in gen-delims, and should not be parts of username:password pairs provided in a URI.
Because of the way javascript handles URLs, % will not be encoded, and users providing URIs to lodestar with userinfo that contains a % character should take care to manually encode it as %25.
Closes #6154
Steps to test or reproduce
yarn test

:tada: This PR is included in v1.13.0 :tada: