Dockerfile Project Help Needed

I need some help on a Dockerfile project based on the app I made.  I got an error saying that there's no such file or directory as nlohmann/json.hpp.   I got similar errors for Jinja2Cpp, but I'll ask that on their GitHub rather than here (though if someone here can help me with that, then that's even better for me).
The command I'm using in the Dockerfile to compile my executable is:
RUN g++ -std=c++17 -Wall -pedantic -I /usr/local/jinja2cpp/install/include -I /usr/local/boost_1_68_0/ -I /usr/local/json/single_include/ -L /usr/local/jinja2cpp/build/ -llibjinja2cpp.* -L /usr/local/boost_1_68_0/stage/lib/ -llibboost_system.* currency_converter.cpp -o currency_converter

The error from g++ during the Dockerfile build process is:
currency_converter.cpp:29:10: fatal error: nlohmann/json.hpp: No such file or directory
 #include <nlohmann/json.hpp>
          ^~~~~~~~~~~~~~~~~~~
compilation terminated.

This is my code (I posted it on GitHub as well): https://github.com/DragonOsman/currency_converter/blob/master/currency_converter.cpp .
Any help is appreciated. Thanks.

As you passed -I /usr/local/json/single_include, can you make sure the file /usr/local/json/single_include/nlohmann/json.hpp exists?

As noted in https://github.com/flexferrum/Jinja2Cpp/issues/70, we need your Dockerfile and its build script to diagnose the problem.

Okay, I took out the flag to bring in nlohmann/json from the regular include directory and kept just the single_include one, but I still have that error.  Relevant part of the Dockerfile build output is:
Cloning into 'json'...
Checking out files: 100% (1804/1804), done.
Removing intermediate container c6b8c75af70e
 ---> a122c5924902
Step 8/12 : RUN g++ -std=c++14 -Wall -pedantic -I app/jinja2cpp/install/include -I app/json/single_include -I /usr/local/include/ -I app/jinja2cpp/thirdparty/nonstd/value-ptr-lite/include currency_converter.cpp -L app/jinja2cpp/install/lib/static -ljinja2cpp -L usr/local/lib -lboost_system -lpthread -o currency_converter
 ---> Running in bdbf146fe3b5
currency_converter.cpp:29:10: fatal error: nlohmann/json.hpp: No such file or directory
 #include <nlohmann/json.hpp>
          ^~~~~~~~~~~~~~~~~~~
compilation terminated.

 -DCMAKE_INSTALL_PREFIX=../install \
    && cmake --build . --target all
RUN git clone https://github.com/nlohmann/json
RUN g++ -std=c++14 -Wall -pedantic -I app/jinja2cpp/install/include -I app/json/single_include -I /usr/local/include/ -I app/jinja2cpp/thirdparty/nonstd/value-ptr-lite/include currency_converter.cpp -L app/jinja2cpp/install/lib/static -ljinja2cpp -L usr/local/lib -lboost_system -lpthread -o currency_converter
EXPOSE 80
ENV apikey <APIKEY>
ENV accesskey <ACCESSKEY>
CMD ["./currency_converter", "<IP_ADDRESS>", "8080", "."]

What is the content of app/json/single_include?

Let me check and get back to you (I'll update this comment).

Your compiler cannot find the JSON header. This has nothing to do with this library or Docker, but is a standard C++ problem. Can you try to compile a smaller program that only includes nlohmann/json.hpp?


⚠ Roblox Devforum has degraded performance

In d1218ac, Roblox Devforum (https://devforum.roblox.com) experienced degraded performance:

HTTP code: 200
Response time: 1688 ms

Resolved: Roblox Devforum performance has improved in 31faefe.


Upgrade eventlet - fix python 3.12 runtime issue - update requirements.txt

Updated the version of eventlet from 0.35.2 to any version greater than or equal to 0.36.1.
Running 0.35.2 causes an ssl error on launch, which causes changedetection.io to crash immediately when running Python 3.12.

Closes https://github.com/dgtlmoon/changedetection.io/pull/2288

@DWilly92 it also needs dnspython updated, see https://github.com/dgtlmoon/changedetection.io/pull/2288/files
thoughts?

https://github.com/dgtlmoon/changedetection.io/blob/bce02f9c82d2267a9b2bcbf8fd0be066250a7a9a/Dockerfile#L5
it also is broken in py 3.11/3.12., however we are ONLY testing as py3.10, so the test passing here is no real indication..

added tests for those other versions, and your commit is over at https://github.com/dgtlmoon/changedetection.io/pull/2419 :)

Looks good, thanks for looking at that 👍


JupyterLab 0.34.0 support

...would be great to have!
<EMAIL_ADDRESS>is not compatible with the current JupyterLab
Conflicting Dependencies:
JupyterLab              Extension        Package
>=0.18.2 <0.19.0        >=0.17.0 <0.18.0 @jupyterlab/application
>=0.18.2 <0.19.0        >=0.17.0 <0.18.0 @jupyterlab/console
>=0.18.2 <0.19.0        >=0.17.0 <0.18.0 @jupyterlab/notebook
>=0.18.2 <0.19.0        >=0.17.0 <0.18.0 @jupyterlab/apputils

Same issue here!
Especially since it is stated in the README.md  that:

Prerequisites

JupyterLab [>= 0.33]

Thanks for informing me about this. The current master should work now with JLab 0.34.
Best regards


Fix scale brokenness

Where is negative scale used? Does it work with autosize and masking? I don't think I considered that case when I wrote the code for these things.

Anywhere where "flipping" is desired, e.g. the catcher in osu!catch.

I'd like to see in this PR a test case where a negatively sized sprite is placed within an autosize container. This case should definitely be supported.
Another situation which we may want to support but might prove hard to do is negatively sized containers (with an without masking).

ok ready for a re-look through.


Exception when trying to serialize a nullable Enum that does not have a value for 0.

Using the Template generator throws an exception when I try to serialize a class that has a nullable enum.  The enum has values 1, 2, 3, 4.
Exception is occurring in EnumNameSerializer.Serialize.  obj value is 0.
See attached log for details.

Originally created at 2016-02-17 19:11:04+00:00 (UTC) by Danoceline as a(n) major issue.

Please download v3.2.2 for the fix.  I updated so that if the value hasn't been cached, it will simply perform a ToString().  This means that it will serialize as the numeric value in string form (e.g. "10").  This works for deserialization as well.

Not sure the Nullable<> is part of this issue.  Will create a test to replicate.
Also, I think this is only an issue when using the serialization template generator.


task changes

Testing : manual

Description : changes to add support for publish code coveragetask for xplat

Added Unit tests

Update tool tip information

there is noting specific to windows in tool tips

Documentaton changes will be done once the vso-agent is released with related changes


Feature request: Add duration to specific animation.

Would it be possible to use the third parameter for duration?
F.ex:
opacity: [0,1,600]

Yup, this is something I'd like to do at some point but I'm not sure yet about the ideal API as I'd also like to make the easing configurable for each property. In the meantime, you can simultaneously launch multiple animations on the same element:
const el = "div";

animate({
  el,
  translateX: 500,
  duration: 4000,
  easing: "easeOutQuad"
});

animate({
  el,
  opacity: 0.5,
  duration: 2000,
  easing: "linear"
});


Jwt to vuex (http module)

This will close #459
I removed the patch method since we don't use it anymore and I don't think we will in the future.

My tests look over-complicated :disappointed:, on the other hand http mocks + vuex mocks doesn't sound easy

I don't have idea how to test token expiration, that's why there're 2 possible outcomes of the last test.


[FEATURE] A brand new shop page 🛠

Description
Changes recommended :

Add a new folder in the pages folder name it shops
Add a new folder inside it name it ShopLanding.jsx
Make components for the stuffs you'll add in the Landing page
Make sure you add css files in the styles folder

Resources :
Follow this design Figma Shop Design
Screenshots
Shop page - Top part

Shop page- Products part

Additional information
Important ⚠

Use components folder to make components
The top part should be one component
The Products part should be another component
Make styles for different components if possible

It's great having you contribute to Milan ! This is an auto-generated textThe maintainers/owner will look into the issue soon, add relevant tags and proceed further, please have paitence. Meanwhile feel free to support star the repo and share it with your friends. :nerd_face: :rocket:

Hi, can i grab this issue :)

I also want to contribute to it, please give me a chance @IAmTamal

@Alcadeus0  - go for it !

I also want to contribute to it, please give me a chance @IAmTamal

This one is assigned to someone else, if they fail to do it- you can contribute to it, take a look at other issues, feel free to raise your own too !

I also want to contribute to it, please give me a chance @IAmTamal

This one is assigned to someone else, if they fail to do it- you can contribute to it, take a look at other issues, feel free to raise your own too !

As I am new to all this, can I start with a basic portfolio page if u consider it good then please allow me.

I also want to contribute to it, please give me a chance @IAmTamal

This one is assigned to someone else, if they fail to do it- you can contribute to it, take a look at other issues, feel free to raise your own too !

As I am new to all this, can I start with a basic portfolio page if u consider it good then please allow me.

There are other projects with good first issue labels too, check them out instead !

Should both the top and bottom part be in ShopLanding or should I make separate components for the two and import them int ShopLanding?

should the navbar be included in the page?

should the navbar be included in the page?

Yes

should the star rating also be stored as props called from a data.js file or should i render all 4 of them as a single image?

For cards you can manually just add 4 cards in a flexbox in a different component. And render that component in the products page.
Since we have no backend for it now, we will handle dynamic cards LATER ON.


Timestamp in Notifications (New Feature)

Hi Team,
1 more suggestion can you please add Timestamp with each Notification?

Hey i would love to see that but it would be possible until the transactions include that data, which they dont do currently:
See https://github.com/bitclout/backend/issues/25
Theres also this extensive discussion about whether this may be possible with a workaround.
https://github.com/bitclout/frontend/issues/103

Ok :(

Can you add Images and Links option in chat?

@harpreet9629 please dont mix up feature requests as its gonna get really hard for all devs to manage delivering on them.
It would also help, seeing your a developer, if you tried to PR some of these suggestions, or develop a proof of concept.

Closing this in favor of bitclout/frontend#103


add license

it's a very interesting project!
Would you consider adding a license to this repository to specify under which terms this code can be used?

Updated readme and license in repository. Let me know if you need anything else.


feat(deps) update polkdatot dependencies

📝 Description
Update polkadot related dependencies in LLC, LLD and LLM
❓ Context

Impacted projects: LLC LLM LLD
Linked resource(s): ``

✅ Checklist

[x] Test coverage
[x] Atomic delivery
[x] No breaking changes

📸 Demo

🚀 Expectations to reach
Please make sure you follow these Important Steps.
Pull Requests must pass the CI and be internally validated in order to be merged.

@lvndry please pay attention to the PR's title & description

polkdatot :eyes:
provide the JIRA ticket link
Thanks

@lvndry about bot runs: while a little funds remain on Nitrogen, the seed we officially use to test Polkadot is actually Oxygen (Nitrogen runs daily, for most coins that are cheap enough, Oxygen runs weekly, for all chains that are too expensive, including DOT).
Please run the Oxygen bot a few multiple times, the ideal is to make sure that all types of mutations are run at least once, which you can check in the report comment in the sections "Details of the X mutations" and "Details of the Y uncovered mutations":

However in the case of Polkadot, staking flows are actually not really used and hard to run with the bot... so please just make sure that at least send ~50% and send max have been run. Thanks!

Couldn't test bound/unbound because at least 250 DOT minimum are needed. Otherwise everything works fine


Add nested wildcards to children of abs nodes. [phab:D1189]

Created by misha at 2016-12-16 01:24:49:
Previously, we did not include wildcards that appeared in bounds of
other wildcards.
Added a test demonstrating this.
Also added a test demonstrating that type parameters appear before
wildcards as children of abs nodes.
Added myself to AUTHORS and CONTRIBUTORS, as requested on
http://kythe.io/contributing

misha wrote at 2016-12-16 01:44:23:
I thought it was an oversight that #1494 does not add edges for nested wildcards, so I modified the code to add those in, but please let me know if I misunderstood!

salguarnieri wrote at 2016-12-16 19:44:08:
Thanks for the patch. Have you signed our CLA? https://cla.developers.google.com/

misha wrote at 2016-12-16 19:50:06:
My pleasure. Looking forward to hearing how this looks!
Yup, I signed your CLA.

zarko wrote at 2016-12-16 20:36:39:
Looks good. I fiddled with the test a bit to check that it works with another level of nesting.
Thanks for the patch!

zarko accepted this revision at 2016-12-16 20:36:39

zarko closed via commit b4b5b56b818997ce62a4fe85b2307ce1d6929343 at 2016-12-16 20:37:23

misha wrote at 2017-01-06 01:05:13:
This is embarrassing to admit, but I think this change should be reverted.
I misunderstood the meaning of the ABSVAR nodes. As I now understand them, they are used to specify the parameters that need to be provided in order to instantiate a concrete type (in this case a method). If that's correct, then I believe that only the top-level wildcards need to be provided, as salguarnieri originally implemented in #1494.
To consider a concrete example, let's look at nestedWildcard() from WildcardMethod.java in this change's testdata. Once we determine a type for FirstWildcard, we don't care what SecondWildcard is (as long as FirstWildcard is compatible).  Namely two different calls to nestedWildcard() with the same type for FirstWildcard, but different types for SecondWildcard can be answered by the same instantiation of nestedWildcard.
Does that makes sense to you? If so, I'm happy to make the change reverting this change.


Problem about BEV render

hi, @DRosemei thanks for your great work! I use my datasets run RoMe, but find in bev render, img is not a bev result. What wrong might cause this problem? Thanks for your help!

@zjulabwjt Sorry for late reply. You can check ego car poses and make sure they are mostly paralleled to road/ground.

@zjulabwjt Sorry for late reply. You can check ego car poses and make sure they are mostly paralleled to road/ground.

@DRosemei thanks for your reply. I visualize my ego pose xyz,The range of z-axis variation of the vehicle's pose is 4.9 meter during movement. Besides, the trajectory nearly a straight line. I also found the trajectory before and after multiplying the vehicle's pose by the transform_normal2origin matrix does not match. Is it because the plane fitting algorithm fails in this case?

@zjulabwjt Q: Is it because the plane fitting algorithm fails in this case? A: It may be yes. Plane fitting algorithm is not always good especially. You can skip this and "camera_height", use actual (but may not be accurate road elevations) to init/supervise/fix elevation mlp.

@DRosemei
Thank you for your advice. Following your suggestions, I improved the effectiveness of road surface reconstruction using pre-trained z mlp. However, I still encounter some issues I'd like to consult you about. In our scenario, there are a large number of vehicles. Due to the removal of dynamic objects during the training process, this results in numerous holes in the final road surface. Is there any effective method to address this situation?

@DRosemei It is unavoidable, so we use more than one clip to reconstruct the whole area

@DRosemei It is unavoidable, so we use more than one clip to reconstruct the whole area

Thanks for your reply! Does multiple clip data refer to data collected multiple times from the same area at different times?


TAS: Add e2e test Job which will have larger strcuture (multiple blocks and racks)

What would you like to be added:
Currently we only have a sanity e2e tests for TAS using a single node.
Also, we should use JobSet & Job, as JobSet let's us have multiple pods.
For the started I think we can have 4 nodes: 2 blocks divided into 2 racks each, two nodes per rack.
Why is this needed:
With the current sanity tests we cannot test more complex scenarios.
This is particularly important as users start report issues: https://github.com/kubernetes-sigs/kueue/issues/3211#issuecomment-2458900114

/assign @mszadkow
tentatively
/cc @mbobrovskyi @tenzen-y

Yes, one cluster


Defect link in the SBOM documentation

The link "https://github.com/package-url/purl-spec/VERSION-RANGE-SPEC.rst" in vulnerabilities/affects/versions/range is defect.
An alternative might be "https://github.com/package-url/purl-spec/blob/version-range-spec/VERSION-RANGE-SPEC.rst".

duplicates #187


Multi-cycle addition to composite electrode notebook

Description
Updating composite electrode for multi-cycling example with calc_esoh=False.
This is an example showing a temporary fix to #2682.
Type of change
Please add a line in the relevant section of CHANGELOG.md to document the change (include PR #) - note reverse order of PR #s. If necessary, also add to the list of breaking changes.

[ ] New feature (non-breaking change which adds functionality)
[ ] Optimization (back-end change that speeds up the code)
[ ] Bug fix (non-breaking change which fixes an issue)

Key checklist:

[ ] No style issues: $ pre-commit run (see CONTRIBUTING.md for how to set this up to run automatically when committing locally, in just two lines of code)
[ ] All tests pass: $ python run-tests.py --all
[ ] The documentation builds: $ python run-tests.py --doctest

You can run unit and doctests together at once, using $ python run-tests.py --quick.
Further checks:

[ ] Code is commented, particularly in hard-to-understand areas
[ ] Tests added that prove fix is effective or that feature works

@all-contributors add @BradyPlanden for examples


Support hidden/config variable assignment in sample case definitions

Suppose the input format is a list of strings, of undefined length. We can use this Problem spec:
class Problem : public BaseProblem {
protected:
    int L;
    vector<string> S;

    void InputFormat() {
        LINES(S) % SIZE(L);
    }
};

Then, in the test case definitions, we can use:
CASE(L = 3, S = { "abc", "def", ghi" });

However, there is currently no way to set L in sample case definition.

Will be solved by #98.

Still have a bug in function OutputFormat
LINES(result) % SIZE(N_result) with defined length (computed in function OutputFormat() still give me output like this:
Reasons:
    * Cannot parse for 'result[2]'. Found: <EOF>

And this is part of my code that still buggy:
void OutputFormat() {
	int N_result = 0;
	for(int i = 0;i < (int)op.size(); ++i){
		if(op[i] == 2){
			N_result++;
		}
	}
	LINES(res) % SIZE(N_result);
}

OK, I think the best way to handle this is to apply the lifecycle methods BeforeTestCase() and AfterTestCase() for sample test cases as well. This way, you can calculate the correct value of N_result in AfterTestCase().

Ugh, nevermind. The above is totally wrong because AfterTestCase() can possibly overwrite the input variables that have been parsed from the sample input literals.
How about adding a new hook, like, BeforeOutputFormat()? Since I think this is the only use case.

I have another alternative in my mind.
So by using BeforeOutputFormat(), after testcase has been defined, it will go to AfterTestCase() and BeforeOutputFormat()? Seems a bit confusing to me.
What about BeforeSampleTestCase() and AfterSampleTestCase() instead?

PS : By doing the above, if the user wants to make AfterSampleTestCase() and AfterTestCase() the same, they can just do AfterSampleTestCase() { AfterTestCase(); }` to avoid code duplication. And they can make them different as well.

After another thought, @fushar's idea is not really confusing since the method names are quite intuitive. So we can go with @fushar's idea then.


Scroll isn't reset after clicking on new page 🖱

More context coming soon...

Could take a look at this if it goes unclaimed!

I've done quite a bit of investigation on this one already so I'm going to try to wrap it up - there's some deeper underlying issues with the layout styling unfortunately 😭


Why getproperties and constructorof?

By default, @batteries generate explicit getproperties and constructorof definitions:
https://github.com/jw3126/StructHelpers.jl/blob/c316e303675d5d6048d2159ec54c924d2aeec659/src/StructHelpers.jl#L53-L54
Those definitions look very similar to default ConstructionBase fallbacks. Why are they needed at all? Differ in some corner cases?

They are equivalent. The potential advantage they have is that they don't involve generated functions. Though I don't know a practical example, where that makes a difference.


Upgrade keycloak to 3.4.3.Final

@lulf we had a look into this Keycloak version and had to update the
keycloak-plugin/src/main/configuration/standalone.xml
file for Keycloak to start - the original
standalone/configuration/standalone.xml
file from the Keycloak 3.4.3 release zip has some changes compared to the 3.3.0 version.

@calohmn Thanks, that saved us some time!


Link back to the blog post

Also please add the link to the blog post which is guiding through this code:
https://devkimchi.com/2021/10/06/securing-azure-function-endpoints-via-openapi-auth/

@DBJDBJ It's already in the README page.


KeyError: 'url_encoded_fmt_stream_map'

Here is the traceback:
  File "/usr/local/lib/python3.7/dist-packages/pytube/__main__.py", line 81, in __init__
    self.prefetch_init()
  File "/usr/local/lib/python3.7/dist-packages/pytube/__main__.py", line 90, in prefetch_init
    self.init()
  File "/usr/local/lib/python3.7/dist-packages/pytube/__main__.py", line 117, in init
    mixins.apply_descrambler(self.vid_info, fmt)
  File "/usr/local/lib/python3.7/dist-packages/pytube/mixins.py", line 76, in apply_descrambler
    for i in stream_data[key].split(',')
KeyError: 'url_encoded_fmt_stream_map'

I know I used Python 3.7 but with some videos worked well.
I saw a similar issue referenced here, hope this can help.

you're on an old version, please update to the latest


ActionMode dismissed callback

Hi,
First of all thank you for such a nice plugin. It does the job pretty well.
In one of my use case, I need to hide/unhide a view based on ActionMode enabled/disabled status. I tried to figure it out but could not able to identify if the ActionMode is disabled. Though by using the CounterBuilder I identified that the ActionMode is enabled when itemCount >= 0
Looking forward for your help.
Thanks in advance.

Thanks for the feedback, i think what you need is a callback or a stream to
listen to when the actionMode is enabled or disabled. I will try and add
this in the next update. I will let you know when this update is done
On Tue, 21 Jul 2020 at 17:55, Sanjay Sah<EMAIL_ADDRESS>wrote:

Hi,
First of all thank you for such a nice plugin. It does the job pretty well.
In one of my use case, I need to hide/unhide a view based on ActionMode
enabled/disabled status. I tried to figure it out but could not able to
identify if the ActionMode is disabled. Though by using the CounterBuilder
I identified that the ActionMode is enabled when itemCount >= 0
Looking forward for your help.
Thanks in advance.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/De-Morgan/flutter-contextual-action-bar/issues/2, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AJNWMI7H4LXTZC3FTZTBRFLR4XCBFANCNFSM4PDZOM5A
.

Hello @Sanjay Sah, i have added this feature, you can check version 1.0.3
On Wed, 22 Jul 2020 at 17:55, Michael Adeyemo<EMAIL_ADDRESS>wrote:

Thanks for the feedback, i think what you need is a callback or a stream
to listen to when the actionMode is enabled or disabled. I will try and add
this in the next update. I will let you know when this update is done
On Tue, 21 Jul 2020 at 17:55, Sanjay Sah<EMAIL_ADDRESS>wrote:

Hi,
First of all thank you for such a nice plugin. It does the job pretty
well.
In one of my use case, I need to hide/unhide a view based on ActionMode
enabled/disabled status. I tried to figure it out but could not able to
identify if the ActionMode is disabled. Though by using the CounterBuilder
I identified that the ActionMode is enabled when itemCount >= 0
Looking forward for your help.
Thanks in advance.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/De-Morgan/flutter-contextual-action-bar/issues/2,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJNWMI7H4LXTZC3FTZTBRFLR4XCBFANCNFSM4PDZOM5A
.

@De-Morgan
Thank you for adding the feature.
I tried to use it. Refer the below code:
@override
  void initState() {
    super.initState();
    ActionMode.actionModeEnabledStream<int>(context).listen((bool status) {
      setState(() {
        _actionModeEnabled = status;
      });
    });
  }

But it throws an exception:
`════════ Exception caught by widgets library ═══════════════════════════════════════════════════════
The following ProviderNotFoundException was thrown building DevicesPage(dirty, state: _DevicesPageState#ac953):
Error: Could not find the correct Provider<ItemsController> above this DevicesPage Widget
This likely happens because you used a BuildContext that does not include the provider
of your choice. There are a few common scenarios:

The provider you are trying to read is in a different route.
Providers are "scoped". So if you insert of provider inside a route, then
other routes will not be able to access that provider.

You used a BuildContext that is an ancestor of the provider you are trying to read.
Make sure that DevicesPage is under your MultiProvider/Provider<ItemsController>.
This usually happen when you are creating a provider and trying to read it immediatly.
For example, instead of:
Widget build(BuildContext context) {
  return Provider<Example>(
    create: (_) => Example(),
    // Will throw a ProviderNotFoundError, because `context` is associated
    // to the widget that is the parent of `Provider<Example>`
    child: Text(context.watch<Example>()),
  ),
}

consider using builder like so:
Widget build(BuildContext context) {
  return Provider<Example>(
    create: (_) => Example(),
    // we use `builder` to obtain a new `BuildContext` that has access to the provider
    builder: (context) {
      // No longer throws
      return Text(context.watch<Example>()),
    }
  ),
}

`

This plugin makes use of Provider internally, as a result you can't use the actionModeEnabledStream above the ContextualActionScaffold, please check the Whatsapp example to see how it's being used


COMP: Fix missing initialization braces warning

Fix missing initialization braces warning.
Fixes:

[CTest: warning matched]
/Users/builder/externalModules/Filtering/DisplacementField/test/itkDisplacementFieldJacobianDeterminantFilterTest.cxx:169:49:
warning: suggest braces around initialization of subobject [-Wmissing-braces]
    typename FilterType::WeightsType weights{ { 1.0, 2.0, 3.0 } };
                                                ^~~~~~~~~~~~~
                                                {            }

Raised for example in:
https://open.cdash.org/viewBuildError.php?type=1&buildid=7679172
PR Checklist

[X] No API changes were made (or the changes have been approved)
[X] No major design changes were made (or the changes have been approved)

Issue introduced in #3077.


Algorithmics Graph travsersal ArangoDB with FILTER too slowly

My Environment

ArangoDB Version:        3.12.0-NIGHTLY.20231219
Deployment Mode:       Single Server
Deployment Strategy:   Manual Start
Infrastructure:               own
Operating System:        Windows 10
Total RAM in your machine:        32Gb
Disks in use:        SSD

Component, Query & Data
Affected feature: AQL query using web interface
AQL query (if applicable):
for v,e, path in 0..1 outbound 'nodes/2' edges
  filter e._to == 'nodes/td_0'
return v._key

AQL explain and/or profile (if applicable):
Query String (91 chars, cacheable: false):
 for v,e, path in 0..1 outbound 'nodes/2' edges
   filter e._to == 'nodes/td_0'
 return v._key

Execution plan:
 Id   NodeType          Calls   Par   Items   Filtered   Runtime [s]   Comment
  1   SingletonNode         1     -       1          0       0.00002   * ROOT
  2   TraversalNode         1     0       1    1004010       3.59838     - FOR v  /* vertex (projections: `_key`) */, e  /* edge (projections: `_from`, `_to`) */ IN 0..1  /* min..maxPathDepth */ OUTBOUND 'nodes/2' /* startnode */  edges /* order: dfs */
  5   CalculationNode       1     0       1          0       0.00001       - LET #5 = v.`_key`   /* attribute expression */
  6   ReturnNode            1     -       1          0       0.00000       - RETURN #5

Indexes used:
 By   Name   Type   Collection   Unique   Sparse   Cache   Selectivity   Fields        Stored values   Ranges
  2   edge   edge   edges        false    false    false        0.00 %   [ `_from` ]   [  ]            base OUTBOUND

Traversals on graphs:
 Id  Depth  Vertex collections  Edge collections  Options                                              Filter / Prune Conditions
 2   0..1                       edges             uniqueVertices: none, uniqueEdges: path, order: dfs  FILTER (e.`_to` == "nodes/td_0")

Optimization rules applied:
 Id   Rule Name                                  Id   Rule Name                                  Id   Rule Name
  1   move-calculations-up                        4   move-filters-up-2                           7   remove-unnecessary-calculations-2
  2   move-filters-up                             5   optimize-traversals                         8   async-prefetch
  3   move-calculations-up-2                      6   remove-filter-covered-by-traversal

Query Statistics:
 Writes Exec      Writes Ign      Doc. Lookups      Scan Full      Scan Index      Cache Hits/Misses      Filtered      Peak Mem [b]      Exec Time [s]
           0               0                 0              0         1004011                  1 / 0       1004010         108134400            3.59872

Query Profile:
 Query Stage                Duration [s]         Query Stage                Duration [s]         Query Stage                Duration [s]
 initializing                    0.00000         loading collections             0.00001         instantiating executors         0.00008
 parsing                         0.00004         instantiating plan              0.00003         executing                       3.59842
 optimizing ast                  0.00000         optimizing plan                 0.00014         finalizing                      0.00002

Problem:
Collection edges contains 1 millions. I graph from a node to 1millions edges with filter field _to ==  "nodes/td_0". It's only a result, but it takes 3.5s. I think Algorithmics graph and filter of Arango not good by field _to indexed but it works too slowly. Solr work it only 105ms.
Expected result:  Can you explain to me why Arango work too slowly ?

What are strengths of ArangoDB? with a simple graph from a nodes to millions edges takes 6.1s, compare with solr take 95ms.
Query
for v,e, path in 0..1 outbound 'nodes/2' edges
  //filter e._to == 'nodes/td_0'
return v._key

Profile
Query String (93 chars, cacheable: false):
 for v,e, path in 0..1 outbound 'nodes/2' edges
   //filter e._to == 'nodes/td_0'
 return v._key

Execution plan:
 Id   NodeType          Calls    Par     Items   Filtered   Runtime [s]   Comment
  1   SingletonNode         1      -         1          0       0.00000   * ROOT
  2   TraversalNode      1005   1004   1004011          0       6.07071     - FOR v  /* vertex (projections: `_key`) */ IN 0..1  /* min..maxPathDepth */ OUTBOUND 'nodes/2' /* startnode */  edges /* order: dfs */
  3   CalculationNode    1005      0   1004011          0       0.05797       - LET #4 = v.`_key`   /* attribute expression */
  4   ReturnNode         1005      -   1004011          0       0.00389       - RETURN #4

Indexes used:
 By   Name   Type   Collection   Unique   Sparse   Cache   Selectivity   Fields        Stored values   Ranges
  2   edge   edge   edges        false    false    false        0.00 %   [ `_from` ]   [  ]            base OUTBOUND

Traversals on graphs:
 Id  Depth  Vertex collections  Edge collections  Options                                              Filter / Prune Conditions
 2   0..1                       edges             uniqueVertices: none, uniqueEdges: path, order: dfs

Optimization rules applied:
 Id   Rule Name                   Id   Rule Name
  1   optimize-traversals          2   async-prefetch

Query Statistics:
 Writes Exec      Writes Ign      Doc. Lookups      Scan Full      Scan Index      Cache Hits/Misses      Filtered      Peak Mem [b]      Exec Time [s]
           0               0                 0              0         2008021                  1 / 0             0         108199936            6.11645

Query Profile:
 Query Stage                Duration [s]         Query Stage                Duration [s]         Query Stage                Duration [s]
 initializing                    0.00000         loading collections             0.00001         instantiating executors         0.00004
 parsing                         0.00004         instantiating plan              0.00002         executing                       6.11624
 optimizing ast                  0.00000         optimizing plan                 0.00010         finalizing                      0.00003

Consider the following original query
FOR v, e, path IN 0..1 outbound 'nodes/2' edges
  FILTER e._to == 'nodes/td_0'
  RETURN v._key

This is a traversal that looks for all outgoing edges that have a _from value of nodes/2. In your example that happen to be around 1M edges. There is also an additional filter condition that filters on the _to value of the connected edge. That brings down the total number of results to just 1.
How this query is executed is that, because it is an outbound traversal with a given start node, it will start with the index on the _from attribute of the edges collection and will look in the index for all edges that have a _from value of nodes/2. That index however has an abysmal selectivity, because most/all _from values are identical. So it will find the 1M documents with that same _from value and will then post-filter on the correct _to value.
The index on the _to attribute of the edges collection would be much more selective here, I guess.
But as the query is a traversal with direction "outbound", it will always look for an index that contains the _from attribute and will look up all matching edges for the given start vertex first.
If the query is rewritten in a way such that an arbitrary index can be used, then it should execute in less than a millisecond
FOR e IN edges
  FILTER e._to == 'nodes/td_0' && e._from == 'nodes/2'
  RETURN SUBSTRING(e._to, FIND_FIRST(e._to, '/') + 1)

Note that this query does not even need to look at the vertex value, simply because the _key attribute of the vertex can be extract from the _to value of the connected edge.
Of course it is possible to join the vertex collection later should it actually be needed. But if only the _key is needed, it can be assumed from just extracting the key part of the _to attribute.

@jsteemann I cant filter as your suggest because I graph with max deep.

for v,e, path in 0..3 outbound 'nodes/2' edges
filter e._to == 'nodes/td_0'
return v._key

@jsteeman how to guide me the best way to optimize the graph with max deep. For detail, a node graph with max deept until final nodes. Count edges about 5 millions

@son2408 Would you be available for a call with myself and one of our Solution Architects so that we can review this with you in more detail?

hi @Redmen2679 I work usecase to authorized users on tree data.

For detail, I have tree data as image. Now I authorized a user to parent path /data then user see all data in childern path of /data path. I want to filter by a contion in this all data.
Query
FOR v,e, p IN 0..5 OUTBOUND 'node/data'
    FILTER v.Name == 'node_1_4'
RETURN v

Profile
Query String (88 chars, cacheable: false):
 for v,e,p in 0..3 outbound 'nodes/data' edges
     FILTER v.Name == 'node_1_4'
 RETURN v

Execution plan:
 Id   NodeType        Calls   Par   Items   Filtered   Runtime [s]   Comment
  1   SingletonNode       1     -       1          0       0.00000   * ROOT
  2   TraversalNode       1     0       0    2000004      49.08274     - FOR v  /* vertex */ IN 0..3  /* min..maxPathDepth */ OUTBOUND 'nodes/data' /* startnode */  edges /* order: dfs */
  5   ReturnNode          1     -       0          0       0.00000       - RETURN v

Indexes used:
 By   Name   Type   Collection   Unique   Sparse   Cache   Selectivity   Fields        Stored values   Ranges
  2   edge   edge   edges        false    false    false        0.00 %   [ `_from` ]   [  ]            base OUTBOUND

Traversals on graphs:
 Id  Depth  Vertex collections  Edge collections  Options                                              Filter / Prune Conditions
 2   0..3                       edges             uniqueVertices: none, uniqueEdges: path, order: dfs  FILTER (v.`Name` == "node_1_4")

Optimization rules applied:
 Id   Rule Name                                  Id   Rule Name
  1   optimize-traversals                         3   remove-unnecessary-calculations-2
  2   remove-filter-covered-by-traversal          4   async-prefetch

Query Statistics:
 Writes Exec      Writes Ign      Doc. Lookups      Scan Full      Scan Index      Cache Hits/Misses      Filtered      Peak Mem [b]      Exec Time [s]
           0               0                 0              0         4000007           26 / 1999978       2000004         207912960           49.08297

Query Profile:
 Query Stage                Duration [s]         Query Stage                Duration [s]         Query Stage                Duration [s]
 initializing                    0.00000         loading collections             0.00001         instantiating executors         0.00003
 parsing                         0.00004         instantiating plan              0.00002         executing                      49.08279
 optimizing ast                  0.00001         optimizing plan                 0.00011         finalizing                      0.00002

@Redmen2679 other idea is I know node_1_4 in path /data/node_1, so that i build query
FOR v,e, p IN 0..1 OUTBOUND 'identities/sontt' edges
        PRUNE NOT REGEX_TEST(e.Path, '^/data/node_1')
        FILTER v.Name == 'node_1_4'
    RETURN v

but PRUNE can't work with negation of REGEX_TEST

I want to know testcase ArangoDB can travsersal max edges in a second? I see  Arango traversal large number of edges about 1 ,2M too slow as the above example. Do you have a tip to improve speedup graph ? @jsteemann  @Redmen2679.


⚠ Bofrost.fr has degraded performance

In 7f13613, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 1486 ms

Resolved: Bofrost.fr performance has improved in 92c84e1 after 6 minutes.


Templates should inherit annotations

It should not be necessary to define annotations on a template that is the same as on its super-template. That can be solved by annotation inheritance via the rdfs:subClassOf relationship. This is object-oriented kind of inheritance which is different from RDF/OWL inference rules:
http://www.w3.org/TR/sw-oosd-primer/#comparison
However, doing it on annotation properties of type owl:AnnotationProperty should not be a problem:

Annotation information is not really part of the logical meaning of an ontology
http://www.w3.org/TR/owl2-primer/#Document_Information_and_Annotations

In Java, @Inherited is used to enable such inheritance on annotations:
https://docs.oracle.com/javase/7/docs/api/java/lang/annotation/Inherited.html

SPIN inherits properties the same way:
http://spinrdf.org/spin.html#spin-class-description

Solved using Jena rules:
https://github.com/Graphity/graphity-processor/issues/13


Feature request: rainbow matching div classes

I have been using Quarto in vs code to make a revealjs presentation that mixes R, Python and javascript (plotly, mermaid) with various html stuff that could not be used in a pdf presentation, e.g. gifs, background iframes. It is awesome.
I love the vscode extension - the syntax highlighting works really well for the main document and all languages. The only thing is that when adding several
 tags with a class attribute using the ::: notation, it can get a bit confusing. For example:
# Slide title

:::: {.columns}

::: {.column width="50%"}
::: {layout="[[-1], [1], [-1]]"}
::: {.nonincremental}
1. Here is a point.

2. This is another point.

3. I have used the layout tag to make this appear in the centre of the screen [^reference1]

:::
:::
:::

::: {.column width="50%"}
::: {layout="[[-1], [1], [-1]]"}
![](./plots/some-plot.png)
:::
:::

::::
[^reference1]: https://stackoverflow.com/questions/72941210/vertical-align-of-images-in-quarto-presentations

This is how this appears:

If these were nested brackets then vs code could highlight which close bracket matches each open bracket. I wondered whether it would be straightforward to add similar functionality for each :::?

I agree that nested divs are quite painful to edit! I'm not sure if the syntax highlighter has the ability to do coloring at that level (if not then there is a separate tokenizer interface we might be able to take advantage of). One thing you can do is to use varying numbers of colons (e.g. ::::: {.columns} <content> :::::).

Oh awesome thanks I didn't realise that. Is any set of 3+ colons interpreted as a div? Is this documented somewhere?

It's not in our docs but its in the Pandoc docs: https://pandoc.org/MANUAL.html#divs-and-spans (I'll update ours to mention this though)

I did not realise this - it can be a bit hard to keep track of where to look sometimes - thanks for the link.


Added text

"Besides CodeBlocks, Microsoft Visual Studio is also a good alternative to consider."

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

Hi @findtopia, thank you for opening this pull request.
This is a standard message notifying you that we’ve reviewed your pull request and have decided not to merge it. We would welcome future pull requests from you.
Thank you and happy coding.


Added GitHub search and info commands and error handler

I have added these new commands

GitHub search repo - Searches for a repo

Preview

GitHub search user - Searches for a user

Preview

There is a bug with the paginator, I have reported to the discordSuperUtils dev team, I will create a new PR as soon as the bug is fixed 😄

GitHub info repo - Sends the info about the repo

Preview

GitHub info user - Sends the info about a user

Preview

Sorry for not mentioning what the bug is beforehand

The bug is with discordSuperUtils.generate_embeds() which creates an extra embed page at the end.
For example, if we are using %gs_r 10 discord bot command, this gives us 10 search results for discord bot.
Each embed page will have 5 search results contained in them, so by this there should be total only 2 embed pages, but as I said there is an extra embed page been generated at the ended which results to total 3 embed pages

@Kira272921 great work ,thanks for the contribution 😊

#6 solved

#5 solved


Multiple option limit

Is there a way to limit the number of elements selected?
For example,  I can choose up to 2 elements.
Thanks

@FilippoP this would be a nice feature, but it's not supported as of now.


bug in upload files

Package
filament/filament
Package Version
2.10
Laravel Version
9.1.0
Livewire Version
No response
PHP Version
8.1.0
Bug description
I get an error when submitting a form with an attachment:

League\Flysystem\Filesystem::write(): Argument #2 ($contents) must be of type string, null given, called in >C:\Users....\my_app\vendor\laravel\framework\src\Illuminate\Filesystem\FilesystemAdapter.php on line 331

Steps to reproduce
field:
Forms\Components\FileUpload::make('file'),

Relevant log output
No response

Hi, this is not a Filament issue. I think it's most likely to be to do with your environment, but if not it'll be related to Livewire or Flysystem itself. We don't control the file upload logic, Livewire does, which uses Flysystem under the hood.

@danharrin
I wonder who it is related to ...
The "yes" insult is performed
The file is in its place in the storge / public folder
It probably gets stuck in the file view after uploading

@sbc640964 did you find a solution to this ? i face the same issue

@sbc640964 same issue, any solution?


⚖ Register Validator:

Network Choice
drunemeton-1
Who are you?
No response
Delegator address
okp416xah98wjfs898yxv6wt55dp58ue474ps8gyzzj
gentx
{"body":{"messages":[{"@type":"/cosmos.staking.v1beta1.MsgCreateValidator","description":{"moniker":"TrustedPoint","identity":"D116AD27764E8C4E","website":"https://trusted-point.com/","security_contact":"romanv1812@gmail.com","details":"TrustedPoint is a a staking provider for PoS blockchains. We do ensure reliability, security and decentralisation that are successfully backed by an experienced team, technically advanced community from all over the world as well as dependable hosting providers"},"commission":{"rate":"0.050000000000000000","max_rate":"0.200000000000000000","max_change_rate":"0.010000000000000000"},"min_self_delegation":"1","delegator_address":"","validator_address":"okp4valoper16xah98wjfs898yxv6wt55dp58ue474psj05tun","pubkey":{"@type":"/cosmos.crypto.ed25519.PubKey","key":"0ZbYfsGx2O9WINr6RO5+Fh5tnwhVSb0xKfkfqIotzxc="},"value":{"denom":"uknow","amount":"10000000000"}}],"memo":"7cbf0307b4e2cb801e301692aa6aac262baf853b@<IP_ADDRESS>:26656","timeout_height":"0","extension_options":[],"non_critical_extension_options":[]},"auth_info":{"signer_infos":[{"public_key":{"@type":"/cosmos.crypto.secp256k1.PubKey","key":"AlJiWGjvk+EcGrl1jRcydFmMCA8fIERhQ1T8YUjNOyXo"},"mode_info":{"single":{"mode":"SIGN_MODE_DIRECT"}},"sequence":"0"}],"fee":{"amount":[],"gas_limit":"200000","payer":"","granter":""},"tip":null},"signatures":["YsvL69RALB9riupFldiCLqiSFVhFitxTXAlvAFDgMLQ8v5raLevQ64umMlnw9cLg85EbyxNT3BvswWdWykDJKA=="]}

😉 Here is the corresponding PR: https://github.com/okp4/networks/pull/722


Update New-ThrottlingPolicy.md

To modify the discovery throttling parameters, create a new policy and name it as "DiscoveryThrottlingPolicy" only

Docs Build status updates of commit 4f0bd30:
:clock10: Full build: the average full build time is 18 min(s) 3 sec(s), this is based on the last 1000 build(s) for this repository.

Docs Build status updates of commit 4f0bd30:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

exchange/exchange-ps/exchange/New-ThrottlingPolicy.md
:white_check_mark:Succeeded
View (exchange-ps)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel

Docs Build status updates of commit 1d83937:
:clock10: Full build: the average full build time is 18 min(s) 3 sec(s), this is based on the last 1000 build(s) for this repository.

Docs Build status updates of commit 1d83937:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

exchange/exchange-ps/exchange/New-ThrottlingPolicy.md
:white_check_mark:Succeeded
View (exchange-ps)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel

Docs Build status updates of commit 8b7b566:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

exchange/exchange-ps/exchange/New-ThrottlingPolicy.md
:white_check_mark:Succeeded
View (exchange-ps)

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


Trade menu android

Pretty much working
I might make it so the back button dismisses the little popup menu if its visible.

I cant think of anything else I want to do to this now so merge it whenever youre ready

@tom-pratt @andreas-eberle: merged master and trade menu android from Tom

Thanks.


Notifications module update

Don't separate My content & My subscriptions. It should be one list with all notifications and one alert counter.
Check the notification when somebody subscribes to your profile.
Make sure that main actions are displayed properly for own and subscribed profiles (something is posted, comment to your content, like, etc).

No notification when Discussion topic posted, reply posted or like by person you are subscribed to.

Also when reposting Discussion, it displays as "Alex reposted a timeline post" - without any name and link to the discussion.

When posting something to timeline then it shows in Notification as:

"Alex added a new timeline post Alex added post" - when posting text (or text + something)
"Alex added a new timeline post Alex added a post" - when posting link, photo, video without text

I think that when text is posted then instead of "Alex added post" display first N letters from the text then 3 dots, when text isn't posted then display "link", "photo", "video" words, or combination of them.

When person you are subscribed to posts comment/vote to the Image in the Album it isn't showing in Notifications, for the Album it works fine.

Is it possible to add notification when the person you are subscribed to get new friend ?

When reposting, it is displayed as
"Alex reposted a timeline post Galaxy added a post", I think it should be "Alex reposted Galaxy post"
"Alex reposted a timeline post Online.me added an album" , I think it should be "Alex reposted AlbumNameHere post" (or  AlbumNameHere album, if possible)
same for other content

Different issue -  why there is no Like and Social sharing buttons for Market Products ?

Warning: array_merge(): Argument #2 is not an array in /Users/alex/www/hihi/una/modules/boonex/timeline/classes/BxTimelineTemplate.php on line 1174

There are a lot of reposted posts in timeline, it maybe it's because of reposted File, since it looks like it isn't implemented properly ?

"Abc added a new timeline post's comment to Alex reposted Alex's poll" should be
"Abc added a new timeline post's comment to PollNameHere".

No notification when comment or like is posted to my Post, Product, Poll.

Is it possible to add notification when somebody replies to your comment ?


[Suggestion] Mapped types with inner generic arguments and constraints

Proposal
I'd like to suggest a feature where in mapped types we could unwrap some of the properties.  I'm trying to solve a problem where I want to unpromise a type, and this requires access to the inner generic argument type.  This is useful in creating redux style reducers that are strongly typed.
Example
//i'd like access to the inner generic arguments, without having to pass TPayload
type Unpromise<TPayload, TPromise extend Promise<TPayload>> = TPayload;

//and then use that also as a type guard for mapped types
type Reducer<TActions> = {
    [K in keyof TActions where TActions[K] extends Promise<any>]: (payload: Unpromise<TActions[K]>)=>void;
    [K in keyof TActions where TActions[K] !extends Promise<any>]: (payload: TActions[K] )=>void;
}

Complete Example
//redux style actions class
class Actions{
    get(): Promise<string>;
}
//redux style reducer
class MyReducer{
  get(payload:string){...}
}

//unpromise type
type Unpromise<TPayload, TPromise extend Promise<TPayload>> = TPayload;

//example derived usage with generic constraints
type Reducer<TActions> = {
    [K in keyof TActions where TActions[K] extends Promise<any>]: (payload: Unpromise<TActions[K]>)=>void;
    [K in keyof TActions where TActions[K] !extends Promise<any>]: (payload: TActions[K] )=>void;
}

//redux style reducer wireup
function handleActions<TActions>(actions: TActions, reducer: Reducer<TActions>){
...
}

//this would check that MyReducer has methods similar to Actions taking in the resolved promise payload as an argument
handleActions(new Actions(), new MyReducer());

related to #12424

See https://github.com/Microsoft/TypeScript/issues/12424 and https://github.com/Microsoft/TypeScript/pull/17077

Automatically closing this issue for housekeeping purposes. The issue labels indicate that it is unactionable at the moment or has already been addressed.


Update README.md

Ready for review @thoughtbot/growth

I'd like to make sure these commits get squashed/rebased/reworded appropriately before merging this into master.

I'm going to go ahead and close this due to inactivity but please feel free to reopen if this is still an issue.


[Android] android-release.yml

Related Issue
No issue.
Description
To use android-release.yml instead of the release pipeline hosted on the OS repo.
How Verified
Manual verification
Microsoft Reviewers: Open in CodeFlow

Where do we stand on this one @golddove ? This looks like the new pipeline is failing?


Build workflow is broken

https://github.com/coderefinery/testing/blob/main/requirements.txt#L4
It seems something got removed/merged? @rkdarst

It has been built and deployed.
Medium-term, we should remove the custom sphinx-copybutton install path.  But, rather than changing now and changing after it is released, we can leave it as it is now (not broken) and then remove the custom path on next release.

Weird. I got an email from GitHub and it looked like that branch did not exist anymore. Maybe it was just a dream. Sorry for the noise.

no, you are right, that is exactly what happened.  And you needed to tell me so I could add that branch back on my personal fork of sphinx-copybutton (and then I re-ran the workflow) and it passed.
Either I didn't realize the implications of deleting the branch and did it myself, or the repository that merged my PR could delete the branch in my own repository.

Ah OK :-)


default value with autocomplete.ModelSelect2

Jpic,
Been searching for examples of setting the default value for the Select2 dropdown box through sub-classing the forms.ModelForm class:
class UsernameForm(forms.ModelForm):
    myusers = User.objects.filter(is_active=True).order_by("id")
    username = UserModelChoiceField(
        queryset=myusers,
        widget=autocomplete.ModelSelect2(
                url="typeahead",
                attrs={
                    "data-placeholder": "Choose Username",
                    "onChange": "clearPW()",
                    "type":"virtual_keyb"
                },
        ),
    )
    class Meta:
        model = User
        fields = ('username',)

Is that the correct place to start with or is this done through jQuery Select2? On a related note the default value for the <option> tags is the id value.  If I want to change that to something else would I also do that through jQuery Select2? Been reading this but didn't get any wiser
Thanks for reading!
ThaiN

Did you try with initial ?

of course and thank you!


lb expainability

as first task, for all cases, present the rule of "private IPs can initiate a connection only to the pool members of the load balancer"
also, handle cases as follow:

cli mode - the user gives an address of a fake private IP  - we should ignore the pake ip, and say that there is no node at this address
cli mode - the user gives an address of a private IP - handle the same as all other nodes
html mode - the user mark a private IP (original or fake) - handle the same as all other nodes.
cli/html mode - the user give/mark a name of a load balancer - we return a list of result - one per private ip (including fake)

@ShiriMoran @adisos @zivnevo @kyorav  please comment/agree/disagree
please mention the case that you refer to when commenting

cli - support input of LB name  (vsi to LB connectivity / LB to backend connectivity)
no support for vsi to vsi through LB

Done


Bug: IBAN validator dictionaty has duplicate entry for 'CR'

When running the code through my linter (ruff) it told me, that the IBAN dictionary has the key 'CR' duplicated.
I looked up, I think it should only have the value '21' and not the second of '22' (maybe it was meant for another country code and got mistyped?)
The errors are in searcher.py on line 460 (the correct entry) and line 469 (the supposedly wrong one).

Thanks for the report. Indeed the key should not be duplicated. According to this webpage the correct length for Costa Rica (CR) is 22, not 21
https://www.iban.com/structure
I fixed that entry and also added a bunch of countries that were missing
I have released a 1.0.2 iocsearcher package that should fix this. If the fix looks good to you, please close this issue, otherwise let me know.

hey,
thanks for the quick reply! My bad I thought (after quick search) 'CR' would be Croatia.
I will close, the issue :)


Profile Screen Update

[ ] Update the current profile screen and show the user details and buttons to navigate to the "Your Orders" and "Wishlist" screen:
[x] Add menu icon to the top right to navigate to the "Settings" screen
[x] Make the screen responsive for any device.

please assign the 'Add menu icon to the top right to navigate to Setting screen" task to me under gssoc'21

Sure @sakshi2707

@himanshusharma89 Will be done by Tomorrow

Can I work on that issue...I am also a GSSOC'21 particiapant....Please assign me to here

@SamarpanCoder2002 Sure, but make sure to do it like this:

@himanshusharma89 ... Sir I don't even get into the project....many errors came

1.
2.

Everytime invalid reuqest came.... Even I give the right password and my own email...
Even I can't do Google or Facebook Sign In, everytime Platform Exception Came...

I implement email and password Auth and even Google And Facebook Auth in more than 3 projects of GSSOC and even in my project.... I don't get such kind of error
That may be due to use old plugin version in pubspec.yaml
Even Look at that picture

The text is not visible when invalid Request is came..... How Can I forward with that, If I can't take entry.....
Please help me sir @himanshusharma89 .....
Can I raise a new issue to remove that kind of error from the project???????
WAiting for your response @himanshusharma89

@SamarpanCoder2002 The issue is most probably because of the SHA-1 key not being added to the firebase console. Your SHA-1 keys need to be added in the console for auth to be working.
And about the error message, an issue is already raised for that.

@SamarpanCoder2002 The issue is most probably because of the SHA-1 key not being added to the firebase console. Your SHA-1 keys need to be added in the console for auth to be working.
And about the error message, an issue is already raised for that.

Ok cool.... please add me with that firebase account.... My Gmail<EMAIL_ADDRESS>

@himanshusharma89 I provide my mail to add me with firebase account....
Please response @himanshusharma89....
Otherwise I can't start working on that

@SamarpanCoder2002 Send me your SHA-1 key via Discord, I'll add it to the console.

@SamarpanCoder2002 Any update?

@SamarpanCoder2002 Any update?

I not noticed your reply.... I will send SHA1 ket in discord

@himanshusharma89 I can work on this issue.


Openstack infra backend for OpenStack components

Builds on top of #2554 .
Creates HostOpenstackInfra#refresh_openstack_services.
This is used for getting OpenstackHostServices populated from output of openstack-status CLI on Host.
OpenstackHostService is connected to one or more SystemServices of its Host and to one or more Filesystems of its Host.

Updated with intention to make rubocop happier.

Rebased

Renamed according to suggestions at #2554 from @Fryguy and @Ladas .

@Ladas thanks for review - you are right.

Should I rewrite parts where rubocop complains about multi-line block chaining?

Overall, looks good. :+1:  Minor comments above.

And rebased on top of current master.


trace-dispatcher: optional EKG.Store.

This PR makes EKG.Store optional for initForwarding. Uses updated version of ekg-forward library.

bors r+

bors r-

bors r+


UIEXPMGR-106 Add permission to download files with view permissions

Updated permissions to dowload files with view permission. Changelog updated in initial implementation https://github.com/folio-org/ui-export-manager/pull/176

don't commit under another module ticket


How to modify pretrained weighted file : mask_rcnn_r50_fpn_mstrain-poly_3x_coco_20210524_201154-21b550bb.pth

Hi,
I am currently working on a project using the MMDetection framework, I  try to train a Mask R-CNN model with the TBBRV2 dataset, which has 5-channel images. I encountered an issue when trying to adapt the standard 3-channel pretrained model for this purpose.
During training, I ran into the following error:
RuntimeError: Expected 3D (unbatched) or 4D (batched) input to conv2d, but got input of size: [1, 2, 5, 2688, 3392]
I noticed that in your projects, you have used a modified pretrained file (e.g., "mask_rcnn_r50_fpn_mstrain-poly_3x_coco_20210524_201154-21b550bb_truncated.pth") which might have been adapted for similar scenarios. Could you provide guidance on how to modify the pretrained model file to be compatible with 5-channel input? Any advice or pointers towards resources or documentation would be greatly appreciated.
Thank you for your assistance!

Hi there,
If I understand correctly, you're having trouble recreating the training of the Mask R-CNN model with pretrained weights on the TBBRv2 5-channel dataset. The way this works is actually not through modified weights files - I know this line seems to indicate that, but for f.e. the swin-t version you'll notice the standard weights work fine. You simply need to run training with the correct config file .pretrained.py and define the load_from parameter as the path to the standard, downloaded weights file. The custom numpy file loader and in_channels=5 definition handle the 5-channel inputs.
In my fork of this repo, I've detailed how you can train with pretrained weights. The example train command there is for 5-channel inputs. A small forewarning: I define most parameters (such as load_from) directly via the command line to simplify matters, but I amended the scripts to be able to do so - this might not work with these ones here.
I'm not sure exactly what you commands you tried out that returned that RuntimeError but I hope this points you in the right direction. If not, please share some more specific details (i.e. command(s), system setup etc).
Cheers!


Missing files

When building on a linux server from source code (./configure) I get the following missing files:
zlib.h
cannot find library z
jpeglib.h
library jpeglib
dockbook fo stylesheets
docbook xhtml
apache fop

Looks like I just have to yum/apt-get zlib-devel and jpeg. Still not sure what the other problems deal with.

There is a section in the qpdf manual about its dependencies. Your best bet here is to consult the packaging specs for your preferred distribution to see what is needed. You can also take a look at azure-pipelines/build-linux in the qpdf source distribution for the code used to build it on a clean Debian-based system. I don't have any RedHat/CentOS examples, but they are readily findable.

Looks like zlib is installed on said server however that warning that zlib.h is missing, any tips?


net: lwm2m: Rename timer object instance create function

There is a regression with ipso_timer.c. The function timer_create is declared in POSIX time.h as well as a static function in ipso_timer.c with different signatures and purposes.
The issue was introduced with commit 73a637eda003dff929d2023ce33f45337872117f when first includingtimer.h into lwm2ms.h.
Steps to reproduce: Build lwm2m sample for the native_posix board:
west build -d build -b native_posix -palways zephyr/samples/net/lwm2m_client

This changes the naming convention used in most of the IPSO objects lwm2m_engine_obj create_db callback. If requested I can also refactor this for all IPSO objects in the form of create_inst_<object_name> within this PR.

Please add a signoff to the commit message.


[TLM CI] Split tlm ci into two separate workflows

remove extra tlm call from ci.ylm

/test-tlm

/test-tlm ✨ Starting TLM tests... ✨ If you want to run the TLM tests again (in case they failed or you have further updates to the TLM code), comment '/test-tlm' on this PR. View full GitHub Actions run log

FYI this will not pass correctly until this pr is in (will not have results reported)


enhance: use tokio in docstore compress

issue: https://github.com/milvus-io/milvus/issues/37851

doc-compress is calling by index_writer which has been scheduled by a tokio runtime.
perform a sync to async here, cause a double runtime creation for tokio.
It can not work.


fully qualified domain name with '.' dot at the end, gets wrong result

The dot at the end of an fqdn should be removed before evaluation
var domainParser = new DomainParser(ruleProvider);
domainParser.Parse("microsoft.com.");

published a new version


Check data buffer before release()

Fixes #834 There may be cases where cipher initialization itself could fail when the key is invalid. At this point, the target buffer is not allocated yet, so need to check before assuming.

retest this please

retest this please


Map jumping effect on sidebar open/close

Browser: Firefox
When opening and closing the sidebar, the base map and all objects move with it and jump back afterward.
In my opinion, it should just stay how it is, and the sidebar slides over it. No idea how simple that would be.
Screencast_20240830_164558.webm

It definitly then also needs logic adjustments for the "fitToMap" parts that calculates the bounds differently when the sidebar is open.


[DOCS] Add 8.15.1 release notes

Adding release notes for 8.15.1

💚 All backports created successfully

Status
Branch
Result

✅
8.15

Questions ?
Please refer to the Backport tool documentation


Add syntax highlighting to Real stub

Very simple, this block of code lacks the "swift" after the triple grave that tells MD what syntax highlighting language to use.

Thanks!


0.3.0 : serviceaccount "tiller" not found

Describe the bug
After installation of k3s 0.3.0, tiller replicaset fails to create pods due to a missing service account
Error creating: pods "tiller-deploy-7575566df7-" is forbidden: error looking up service account kube-system/tiller: serviceaccount "tiller" not found
Hence, you cannot use the helm cli with tiller at all.
To Reproduce
Install 0.3.0 and try
λ ~/ helm init --service-account tiller
$HELM_HOME has been configured at /home/deas/.helm.
Warning: Tiller is already installed in the cluster.
(Use --client-only to suppress this message, or --upgrade to upgrade Tiller to the current version.)
Happy Helming!
λ ~/ helm list
Error: could not find tiller
λ ~/

Expected behavior
Tiller pod running and working.

Did you follow the steps to install using RBAC as described on https://github.com/helm/helm/blob/master/docs/rbac.md? The command also shows it is already installed (possibly in a wrong way). If you run helm reset --force and retry using the correct prerequisites, does that work? If not, can you supply exact commands used?

Applying the rbac yaml and deleting the ReplicaSet fixed the issue for me. Just wanted to mention the issue because using helm might be one of the first things people might be trying so this should probably be working out of the box.
Thanks!

@deas can you explain how to install tiller on k3s.
I tried applying the tiller serviceaccount over a fresh k3s installation.
The tiller deploy pod is crashing.
Is it true to set KUBECONFIG to /etc/rancher/k3s/k3s.yaml before installing helm?

Hello.
This not a k8s/k3s business. Only RBAC set-up for helm.
cat << EOF | kubectl apply -f -
---
apiVersion: v1
kind: ServiceAccount
metadata:
  name: tiller
  namespace: kube-system
---
apiVersion: rbac.authorization.k8s.io/v1
kind: ClusterRoleBinding
metadata:
  name: tiller
roleRef:
  apiGroup: rbac.authorization.k8s.io
  kind: ClusterRole
  name: cluster-admin
subjects:
  - kind: ServiceAccount
    name: tiller
    namespace: kube-system
EOF

And you be able to run helm init --service-account tiller --upgrade --wait

HI all, Raspberry PI 4B with Raspbian Buster Lite here.
I successfully installed k3s using an "ansible" method, then followed the Rancher's guide to install tiller and got stuck by the "CrashLoopbackOff" error. RBAC and KUBECONFIG were OK.
Thanks to the above @giminni hint I solved the issue by using the jessestuart/tiller arm image.
To make Raspberry (and generally arm) tinkerers happy, it may be worth to update the official Rancher's guide also for Raspberry users, in addition to the note already there for chinese users.
Big thanks to @giminni
Thanks,
Piero

Closing due to age. Also helmv2 (and tiller) is EOL.


New interop between Chef and PowerShell 4.0 (or higher)

Description
This change provides a new way of working with PowerShell on Windows-based systems that support .NET Framework 4.0 and PowerShell 4.0 or higher (This is the out of box configuration included with Windows Server 2012 R2).

The primary benefit of this approach is PowerShell is accessed through the Ruby process and not via shell_out.
The output from PowerShell that is usually formatted specially for console but in the new case is coerced to JSON and available as a Hash.
Files containing potentially sensitive data are not written to disk, they are sent via COM to the PowerShell engine.
Errors that occurred during script block execution can be trapped and handled

What's included:

Chef::Powershell class (require "chef/powershell")
powershell_exec mixin
Binary inclusion of COM interop component required in the Windows package.
Registry keys required for operation added to the Windows installer package.

Example mixin usage
  outcome = powershell_exec("Get-WindowsFeature | where { $_.Installed -eq $true }")
  if outcome.error?
    outcome.errors.each do |e|
      Chef::Log.error e
    end
  else
    Chef::Log.info "Result: #{outcome.result}"
  end

NB: powershell_exec has been included in the Universal DSL mixin list, alongside the existing powershell_out
It should be noted a full install of Chef Client is required to test this due to the components being registered by Windows installer.
What's outstanding?
Still working on appropriate Ruby tests and getting them through CI - and will add the above information to the RELEASE_NOTES.md file.
Check List

[x] New functionality includes tests
[x] All tests pass
[x] RELEASE_NOTES.md, has been updated if required (not required for bugfixes, required for API changes)
[x] All commits have been signed-off for the Developer Certificate of Origin. See https://github.com/chef/chef/blob/master/CONTRIBUTING.md#developer-certification-of-origin-dco

Ready for merge, the Travis failures with Chef Zero seem unrelated...


config_reloader 0.4.1 not available

gke.gcr.io/prometheus-engine/config-reloader:v0.4.1-gke.0
as mentioned in  the prometheus.yml in the examples is not available?

Hello,
Apologies - there was a delay in our image publishing. This is now available.
Thanks for reaching out!


Refactor Tag to Variant

Renamed class (and package) as well as methods and variables.

Closes #99, closes #100


Goliath psi warrior combo causes Stone's Endurance to be prompted before Kinetic Shield

Obviously this doesn't make sense.
This save shows it, but it can take a while for the Bandito to roll the right number.
QuickSave_3 (2).zip

While you're in the neighborhood, this is probably an easy fix.

fixed


Configure Azure Pipelines

This pipeline configuration builds the application and produces a build for the Release configure

 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.:x: hum0555 sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.

test


Linking to articles not quite loading

Not sure if we're requiring people to be logged in to read articles, or use HTTP or HTTPS .. but this is what I'm seeing when clicking from twitter
On Desktop it's just grey, on mobile it partially loads

The tweet in question

You can update linkage. twitter card info now available on the articles. Close this ticket after


KakaoCorp.KakaoTalk version <IP_ADDRESS>82

[x] Have you signed the Contributor License Agreement?
[ ] Have you checked that there aren't other open pull requests for the same manifest update/change?
[ ] Have you validated your manifest locally with winget validate --manifest <path>?
[ ] Have you tested your manifest locally with winget install --manifest <path>?
[ ] Does your manifest conform to the 1.0 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

I think it would be better for PackageIdentifier to be Kakao.KakaoTalk instead of KakaoCorp.KakaoTalk


Column pinning selection opacity issue

mantine-react-table version
1.2.0
react & react-dom versions
18.2.0
Describe the bug and the steps to reproduce it
When we pin the colums to left or right and there are columns behind with row selection enabled the opacity of hover and selected row will make it so that the text behind the pinned columns overlap.

Minimal, Reproducible Example - (Optional, but Recommended)
Attached the screenshot and the code is below.
`
import { useState } from 'react';
import { MantineReactTable, useMantineReactTable } from 'mantine-react-table';
import { columns, data as initialData } from './makeData';
import { ActionIcon, Box } from '@mantine/core';
import { IconEdit, IconSend, IconTrash } from '@tabler/icons-react';
export const Example = () => {
const [data, setData] = useState(initialData);
const table = useMantineReactTable({
columns,
data,
enableRowSelection: true,
enableRowActions: true,
enablePinning: true,
renderRowActions: ({ row }) => (
<Box sx={{ display: 'flex', flexWrap: 'nowrap', gap: '8px' }}>
<ActionIcon
color="blue"
onClick={() =>
window.open(
mailto:kevinvandy@mailinator.com?subject=Hello ${row.original.firstName}!
)
}
>

<ActionIcon
color="orange"
onClick={() => {
table.setEditingRow(row);
}}
>

<ActionIcon
color="red"
onClick={() => {
data.splice(row.index, 1); //assuming simple data table
setData([...data]);
}}
>

),
});
return ;
};
export default Example;
`
Screenshots or Videos (Optional)
No response
Do you intend to try to help solve this bug with your own PR?
None
Terms

[X] I understand that if my bug cannot be reliably reproduced in a debuggable environment, it will probably not be fixed and this issue may even be closed.

This also happens in V2, here's a video from the documentation website:
https://github.com/KevinVandy/mantine-react-table/assets/20308945/7b1dc6a1-12b6-44a7-9db4-334446f95496
I'm happy to help fix this if you can point what files should I check to debug it.

This was fixed for V2 in #229 although it's not published. We will see about back porting this fix for V1.

@alessandrojcm any info on is it ported to V1 yet ?

@nairvishal I can take a look into this later today.

#247


Don't allow zero subscriber to private stream subscription

create stream: Do not subscribe current user automatically to stream.
In frontend we are providing option, whether current user wants to
subscribe to stream or not.
Previously, if there are zero subscriber to stream we automatically
subscribe current user to stream.
This feels like bug to user as they are subscribed to stream, even they
have manually deselect themselves from subscription while creating stream.

Add one more restriction to not allow non realm admin users to create stream without subscribing themselves, only in UI.

Non realm users will not be able to diselect their option, in case if they do(by changing in inspect elements) they will get following error.

Thanks, @eeshangarg for reviewing!

Hey, @timabbott Can you merge this when you get time? Thanks!

@timabbott Thanks for reviewing!
I had addressed all your comments. It's updated.

Merged, after adding b8fd24b13dd7fb8a12cda079153410721b6b1ec3 to fix a bug in that part of the stream creating flow that this PR missed.  Thanks @YJDave!


lib: remove maintainers alias

Remove the lib.nixvim.maintainers alias for lib.maintainers.
Also cleanup lib usage in several plugins, specifically the plugins that were touched by the main part of the PR:

removed with lib
migrate helpers -> lib.nixvim
remove (most?) nixvimTypes usage

@mergifyio queue


pkg/shelf: remove use of Chain.track, bump min SDK to 1.7

Now that zones handle all async cases, we can remove usage of Chain.track

This issue has been moved to dart-lang/shelf#38.


Add yaml

Hello,
This is my PR in response to the #111 issue.
Now  YAML files are supported

@DeliciousBounty are you able to continue this? @GuyL99 , can you re-review?


Fail when the forked test harness fails

Fixes #2442/#2722
Replaces #2723

Given this attracted some initial feedback in https://github.com/sbt/sbt/pull/2723, I'm holding back on merging this until it gets some LGTMs.
Review by @eed3si9n / @retronym plz

By the way, this is green in TravisCI. So if the implementation and testing is good enough, it's ready to be merged.

LGTM

Forward port this please.


YETUS-1101. perlcritic doesn't honor excludes

Hang on a sec. This issue might have gotten fixed with the changes to excludes in YETUS-1127.  This PR should have really started with some test code rather than jumping head first with the hammer.


Calling a method get_ break the syntax highlights and tooltips on hover

Hello,
I found a strange bug in my project when calling a method get_.
Demo:

As you can see in the demo, the syntax highlight stop working after get_ is called same goes for the tooltips. Sometimes it seems like syntax and tooltip still works for but I guess that's because some information are still in the cache.
To check if it was a bug in the FCS I checked with Ionide v5.2.0 (latest ATM) and it working fine with it.
Reproduction code:
type Test =
    abstract get : unit -> unit
    abstract get_ : unit -> unit
    abstract Get : unit -> unit
    abstract Get_ : unit -> unit
    abstract ARandomMethodName_ : unit -> unit

let t = unbox<Test> null

// 1. Uncomment this line
t.get_()
// ---
t.get()
t.Get()
t.Get_()
t.get()
t.Get()
t.Get_()
// ---
// 2. Try to write one of the previous line and see how neither the syntax highlight doesn't work or neither the tooltips
t.get()

// From my test the problem seems to happen only with get_ not Get_ or XXXXX_ methods
// 3. To confirm you can try by replacing t.get_() with t.ARandomMethodName_()

If context is needed:
I know it not a common name for a method/functions in F# but this is because I creating a binding for Express and I am adding _ to some method to say this methods returns unit on opposition with the same method name without _ which returns a value. That's mostly for syntax sugar and avoid having |> ignore everywhere.

@MangelMaxime Thanks for the report! The highlighting disappears due to exception in FCS:
com.jetbrains.rdclient.util.BackendException: Invalid internal property name: 'get_'

--- EXCEPTION #1/2 [Exception]
Message = “Invalid internal property name: 'get_'”
ExceptionPath = Root.InnerException
ClassName = System.Exception
HResult = COR_E_EXCEPTION=80131500
Source = FSharp.Core
StackTraceString = “
  at Microsoft.FSharp.Core.PrintfModule.PrintFormatToStringThenFail@1433.Invoke(String message) in F:\workspace\_work\1\s\src\fsharp\FSharp.Core\printf.fs:line 1433
     at FSharp.Compiler.SourceCodeServices.FSharpMemberOrFunctionOrValue.get_IsPropertyGetterMethod()
     at JetBrains.ReSharper.Plugins.FSharp.Psi.Features.Daemon.FSharpSymbolHighlightingUtil.GetMfvHighlightingAttributeId(FSharpMemberOrFunctionOrValue mfv) in C:\BuildAgent\work\175d07bfda058979\ReSharper.FSharp\src\FSharp.Psi\src\Features\Daemon\FSharpSymbolHighlightingUtil.cs:line 64

I'll look into what a proper fix on both our and FCS sides should be.

FCS fix PR: https://github.com/dotnet/fsharp/pull/11055.

This has been fixed.
@MangelMaxime Thanks again!

@auduchinok Thank you for the fix :)


Create the settings reducers

Write all of the reducers that will carry out the settings actions.

Settings reducers


Feature Request: Take content permissions into account when indexing projections

In Orchard 1, projections don't respect content item permissions.  It would be great if content permissions were first class properties on content and having projections support this.

@sebastienros can we make a first class implementation for this?


Fix Sync Issue with Entry being Deleted

The extention should now update the icon when the currently running
timer is deleted. It will also set that deleted entry that was running
in the latest stopped entry for the resume shortcut.
This should fix #993

Thank you for your contribution, @clptrsn! Working fine in Chrome and Firefox. 👍


JSON plugin interop?

What do you want to change?
I can't find it anywhere, is there a plugin setting for communicating with a plugin via JSON rather than protobuf?
What database engines need to be changed?
No response
What programming language backends need to be changed?
No response

There currently isn't a way to do this. I'm a bit hesitant to add it, as it's difficult to ensure backwards compatibility.
What language are you using? I'd be happy to help you get set up. There's also a plugin that outputs the codegen request as JSON.

This is what I'm trying now,  I found it here  but doesn't imply "plugin" in any way, it generates codegen_request.json
      "gen": {
        "json": {
          "out": "."
        }
      }

This is whats on the plugins page, its very confusing that it does the same thing, I think it might be out of date documentation.  (btw, "codegen" isn't documented anywhere)
{
  "version": "2",
  "plugins": [
    {
      "name": "jsonb",
      "process": {
        "cmd": "sqlc-gen-json"
      }
    }
  ],
   "sql": [
    {
      "schema": "schema.sql",
      "queries": "query.sql",
      "engine": "postgresql",
      "codegen": [
        {
          "out": "gen",
          "plugin": "jsonb",
          "options": {
            "indent": "  ",
            "filename": "codegen.json"
          }
        }
      ]
    }
  ]
}

Anyway, if the output from the first config is all I need, then all I need is to let sqlc do the heavy lifting and I can get started on some templeting.
The reason I was looking into making a "plugin" is because I didn't want this potentially stale, possibly confusing, otherwise meaningless to the user, json output file sitting around.
Suggestion: maybe offer this option
      "gen": {
        "json": {
          "stdout": true
        }
      }

This raises the question, why not support every language this way?  sqlc does the heavy lifting, and pipes the metadata to plugins written in their own language.  It just seems counterproductive to the community to write kotlin/python/typescript/etc support in go.
Btw what I'm doing is experimenting with using sqlc with rescript.  Using intermediate JSON might be the solution now, but writing go to output rescript would simply never happen, not only because nobody uses rescript, but the two languages are natural enemies :)

This raises the question, why not support every language this way? sqlc does the heavy lifting, and pipes the metadata to plugins written in their own language. It just seems counterproductive to the community to write kotlin/python/typescript/etc support in go.

This is how plugin support works today, but instead of JSON you need to use Protobuf. An example of a process-based plugin can be found here: https://github.com/kyleconroy/sqlc/tree/main/cmd/sqlc-gen-json
Instead of outputting JSON, you can change that plugin to output anything you'd like. It also doesn't need to be written in Go. Your plugin just needs to be able to parse Protobuf from Stdin.


CI: Enabled OpenCL tests on Linux and OpenGL tests on Windows

Checklist:

[x] The PR title is formatted as: <Module or Topic>: <Action> <Summary> (see contributing guidelines)

This PR enables:

OpenCL tests on Linux in github actions by using Intel OpenCL ICD (adapted from pyFAI config, thanks @kif !).
OpenGL tests on Windows in github actions by a software rasterisation mesa OpenGL lib as it was done on appveyor.

It also explicitly enables/disables OpenCL tests depending on the platforms:

Disabled on ubuntu-20.04 because it seg fault. I used suspect the ICD to be incompatible with ubuntu 20.04.
Disabled on Windows because installation of OpenCL is not done (yet).

OpenGL tests are now enabled on all platforms

Ready for review

Also enable OpenGL tests on Windows


Remove update dockerfile script

Now that there is no version anymore on the Dockerfile there is no need to update it

merge on green


Make "piston" repo contain core only

After giving this some thought, I think the "piston" repo should contain the core and nothing else.
The high level experiment is a personal interest I would like to see growing, but it seems too confusing for new users and it does not represent the majority interest of the community. There could be other patterns for a game engine design that works better in the future. I want to move the current design to a personal repo.
When it comes to picking which libraries should go into "piston", I think a small core would be better than a large collection, due to choice of libraries and the current flux. For example, the "image" library is undoubtedly popular, but it is a large project on its own with no shared dependencies before the back-end level. There are people working on their own 2D and 3D libraries, which are going to break a lot over the coming years and there will probably keep coming new libraries that overlaps in functionality with different tradeoffs.
I think the current design of the core fits a large range of games and interactive applications. It is based on an extensible event threading model and is agnostic toward the window abstraction. It supports conceptually simple events such as render, update and idle, and it has a basic user input structure for mouse and keyboard. While this doesn't seem like much, it covers 90% of what you want a game loop to do and is hard to get right starting from scratch. With the quack library there is a way to share the window with the event iterator safely. The core is also separated into small libraries that lets you write your own core without starting from scratch. The name "piston" also describes what the library does: It takes events from a window and gives you events that fits games and interactive applications.
The libraries I want to go in "piston" are:

quack (since the other libs in the core depends on it)
pistoncore-event (reexports "event_loop")
pistoncore-input
pistoncore-window

As for people who want to have a library that "includes everything you ever want for game development", you can easily make one yourself in one evening! The Piston project as a whole will continue making libraries that fits well together, but the "piston" repo should focus on the core.

I've created a repo https://github.com/bvssvni/start_piston where I will put this stuff and then make this repo function as the core.


[cherry pick] Automated cherry pick of #4047 origin release 2.8

Cherry pick PR #4047 to release/2.8 branch.

@milosgajdos, @Jamstah can you have a look? Thanks in advance!

We're not planning another 2.8 release anytime soon. We'd like to get a v3 alpha out soon.
A bunch of America folks are out for thanksgiving hols (+ the runup to it) so we'll wait until the milestone PRs are cleared and then charge on

Hi Milos,
Thank you for providing the details.
From our side, we (Gardener project) are looking forward to consume a new release of distribution/distribution to adopt the following upstream changes:

Configurable proxy TTL (https://github.com/distribution/distribution/pull/3880). There is also open backport PR to the release/2.8 branch: https://github.com/distribution/distribution/pull/4090
Proxy metrics fix and metrics in prometheus format: https://github.com/distribution/distribution/pull/4045 and https://github.com/distribution/distribution/pull/4047

Is it possible to provide a rough estimation when a new major/minor release could happen? The last minor release (v2.8.0) was cut on Feb 7, 2022, more than year and a half ago. I am concerned about the timelines for v3.0.0 as in the release milestone there are issues that are open since 2018. Would you consider cutting a new minor release v2.9.0 instead?
Thanks in advance!

We are aiming to cut an alpha/beta before the EOY.
We still need to investigate the following issues before we cut the release:

https://github.com/distribution/distribution/issues/2668
https://github.com/distribution/distribution/issues/2670

TBD

It looks like this is backporting new functionality, which is out of scope for a 2.8 patch release as well.

@milosgajdos @thaJeztah any news with the new release? When we can expect a new release (that is not alpha/beta) to consume?

A stable release is a bit far away, but alpha release is baking.
We've hit a snug. See this discussion: https://github.com/distribution/distribution/pull/4185#discussion_r1419482745
Once we've resolved that issue, we'll cut the alpha release.

Once we've resolved that issue, we'll cut the alpha release.

I see that the corresponding PR (https://github.com/distribution/distribution/pull/4185). Could you cut the new release? Thanks in advance!

We cut a new release last night, @ialidzhikov  https://github.com/distribution/distribution/releases/tag/v3.0.0-alpha.1 out I'm inclined to close this PR as it won't be merged into 2.x branch. All the further development is going into getting a stable v3 release out next year.

With https://github.com/distribution/distribution/releases/tag/v3.0.0-alpha.1 out, I'd suggest closing this PR as we won't be adding anything into the v2.x branch which will be deprecated very soon.

@milosgajdos thank you for the efforts for the v3.0.0-alpha.1. We will experiment with it and provide feedback.
However, we are looking forward to v3.0.0 - we cannot rollout alpha/beta/non-GA versions in our environements.

Hi @milosgajdos ,
When can we expect v3.0.0? Thanks in advance!

We will experiment with it and provide feedback.

Just to provide the feedback that I provided in Slack:

It (3.0.0-alpha.1) is working for us. Our e2e tests are passing. We even plan to consume it in our prod envs - ref https://github.com/gardener/gardener-extension-registry-cache/pull/138.
Except the minor nit in https://github.com/distribution/distribution/issues/4270. But there is a workaround for it.


Things that can be implemented (thinking about it)

[ ] Spawner Interface, see and possibly change properties of the Spawner
[x] Beehive Interface, get the data from the bee hive and the bees inside of it
[ ] Farming Interface, get Data about crops and apply bonemeal at a desired plant

I've been thinking about a couple of turtle equipables that might be interesting - for example: Electro-magnet - expends 1 fuel, gathers all item entities in a radius around the turtle, and what about a tank - allow the turtle to store fluids by extracting from a bucket - could be used to fuel the turtle directly or to refill a bucket

nice ideias, could be very interresting