Add HttpResponse interface

copied from https://github.com/Azure/azure-functions-durable-js/blob/master/src/ihttpresponse.ts
This is useful for HttpTriggers.
example usage:
import { AzureFunction, Context, HttpRequest, HttpResponse } from '@azure/functions'

export interface OutputBinding {
  res: HttpResponse // <--- usage
}

const httpTrigger: AzureFunction = async function (context: Context, req: HttpRequest): Promise<OutputBinding> {
  const output: OutputBinding = {
      res: { status: 400, body: { message: 'bad request' } }
   }
   return output
}

export default httpTrigger

@mhoeger this seem like a feasible change?

related to: #169


[INTEGRATION] Airflow DBT cloud integration

What is the target system?
Apache Airflow + DBT Cloud
What kind of integration is this?

[X] Produces OpenLineage metadata
[ ] Consumes OpenLineage metadata
[ ] Something else

How should this integration be implemented?
This integration will produce OpenLineage events by implementing Extractor for Apache Airflow's DBT cloud operators outlines here: https://airflow.apache.org/docs/apache-airflow-providers-dbt-cloud/stable/operators.html :
The proposed extractor will be executed during the run of the following operators:

DbtCloudRunJobOperator
DbtCloudJobRunSensor

When the run job operator runs as 'sync' mode (meaning the operator waits until the completion of the DBT cloud job) - then the extractor, upon completion of the run, will try to obtain the run artifacts from DBT cloud and then produce lineage data and emit it. So, in case the DbtCloudRunJob Operator times out without seeing the end of the DBT job to be completed, since the lineage data cannot be created, it will emit failed event with error facet to indicate the lineage data won't be available due to the timeout instead.
When the run job operator runs as 'async' mode, then the extractor will not perform such operation, but would delegate that to the DbtCloudJobRunSensor. DbtCloudJobRunSensor pretty much waits for the job completion, and upon completion, performs the same logic of retrieving job runs and extracting lineage data from it.
Where should this integration be implemented?

[ ] In the target system
[X] In the OpenLineage repo
[ ] Somewhere else

Do you plan to make this contribution yourself?

[X] I am interested in doing this work

I think there is one problem here, we lack profiles.yml file that we use to get the dataset naming right in dbt cli. Not sure how to solve this, maybe there is additional metadata dbt cloud has.
Also, the integration should use metadata processor from integration/common, modifying it to work with data gathered from HTTP requests, not only files.

Thanks for writing this up @howardyoo ! Few things:

This will also work for the async operators that we've developed right?
https://github.com/astronomer/astronomer-providers/tree/main/astronomer/providers/dbt/cloud

Will there be any changes to user DAG code for this?

Remind me again, why aren't we implementing this in the target repo?

 Will it be equivalent to what gets collected with the dbt ol wrapper?

I think there is one problem here, we lack profiles.yml file that we use to get the dataset naming right in dbt cli. Not sure how to solve this, maybe there is additional metadata dbt cloud has.
Also, the integration should use metadata processor from integration/common, modifying it to work with data gathered from HTTP requests, not only files.

So, I did some research and it looks like the information that our integration needs from the profiles.yml can be provided from the dbt cloud's REST API, so I don't believe we would need profiles.yml (good news).
Yes, I did check the metadata processor under that location (thank you for mentioning that!) - I think we might be able to create a new metadata processor that can work both for dbt core and dbt cloud, with some addition of methods.

Thanks for writing this up @howardyoo ! Few things:

This will also work for the async operators that we've developed right?
https://github.com/astronomer/astronomer-providers/tree/main/astronomer/providers/dbt/cloud
Will there be any changes to user DAG code for this?
Remind me again, why aren't we implementing this in the target repo?
 Will it be equivalent to what gets collected with the dbt ol wrapper?

Yes, it will.
No, the target is to have no code change on DAG side, so the lineage generate happens transparently (by OL extractor)
Not sure what you mean by target repo
The initial goal would be to have identical set of data collected that from the dbt ol wrapper - not going to introduce anything new here, unless it is necessary.

Watching this issue!

this Integration will be in blocked state - as a future improvement related to newer version of Airflow needs to take place first in order to resolve the 'timeout' issue related to extracting dbt cloud artifacts. Apparently, the way the current extractor is handled is via a thread that will time-out after 30 seconds of it running, whether the extraction finishes or not.
Checking, downloading, processing, and submitting lineage data may take longer than that period, so the work is currently not so readily achievable.


 Going through them as I find them in the game (and translate some other things in those sections).

Thanks, @Lego3! Awesome job :)


package.json ENOENT error

Issue:
#2
Resolution and Explanation:
The problem with using ./package.json is that it tries to search in the local directory from which the command jsexplorer is run.
In order to make it relative across operating systems and filesystems, using the global node variable of __dirname can be useful.
__dirname is not available in the command line environment since it is a global variable in the node environment
In order to introduce the __dirname we use a simple path mixin method fileURLToPath to generate local dirname from the ImportMetaUrl global environment variable

Thank you so much! This was on my list to dig in to today, I really appreciate it (and the explanation!)


Copy Qt function documentation into Go comments for IDE hinting

It should be possible to codegenerate better function comments based on Qt's own documentation.
But what license is the Qt documentation under, what are the license implications of this?

General explanitory Qt documentation in qtdoc is under the GFDL. Functions are described directly in .cpp comments in qtbase, marked LGPL/Commercial.

Option 1: MIQT remains MIT license but "redistributions in source form must..." comply with docs licensing
Option 2: Give up on this idea, not worth the legal hassle

I think the documentation was deliberately put into the cpp instead of the public header. I think that suggests that the Qt company feel like it's part of the implementation, not the interface. Copying the implementation is beyond what MIQT is allowed.
Because a primary purpose of MIQT is to maintain the permissive licence for static linking I think it's impossible to resolve this in a legal way.
This can be reopened if there is a better legal theory.


Ctrl-Shift-Return / Ctrl-Shift-C / typing gives unexpected result

When trying out Continuous by following your guidelines in the README I can't get my changes appear. When I select a complete function and press Ctrl-Shift-Return then debugging is stopped. If I press Ctrl-Shift-Return / Ctrl-Shift-C  I get the following screen:

What do I do wrong?

Any news on this issue? Would love to work with Continuous... Do other people have it working?


Not working on 3.8 beta client

It unlocks the fps up until the game starts loading it then just caps at 60.

fyi its called closed beta for a reason


Introduce simple MessagePipeMediator class

Trying to address issue #85
If you don't mind sending the template/generic arguments explicitly this will work (See unit tests):
var result = mediator.Send<MyRequest, MyResponse>(new MyRequest { Question = "This works?" });

Can we have @neuecc ? I want this for a long time


Error after connecting BitBucket $pushAll is depreciated

Hi,
When using Strider from a docker and trying to connect BitBucket (after pushing allow) I receive this error:
Looks like strider is using $pushAll which is now depreciated and removed from the latest mongodb. Any workaround or fixes?
Connect
500 MongoError: Unknown modifier: $pushAll
   at Function.MongoError.create (/data/node_modules/mongoose/node_modules/mongodb-core/lib/error.js:31:11)
   at toError (/data/node_modules/mongoose/node_modules/mongodb/lib/utils.js:139:22)
   at /data/node_modules/mongoose/node_modules/mongodb/lib/collection.js:1059:67
   at /data/node_modules/mongoose/node_modules/mongodb-core/lib/connection/pool.js:469:18
   at process._tickCallback (internal/process/next_tick.js:176:11)

After some research I find that this issue is caused by Mongoose and fixed by upgrading mongoose to version 5 or later. Can we get the package.json updated?

As described here, not only changing the version is enough, the code has to be migrated too. A pull-request is welcome :)

So they changed v4 in a breaking way? Or is v5 being installed when it shouldn't be?

@hongkongkiwi what version is in /data/node_modules/mongoose/node_modules/mongodb/package.json?

I had the same issue and i tried with latest version 5.2.6 and it worked fine

Latest of mongoose?

Yes mongoose 5.2.6

I've released v1.10.1 to use mongoose v5. This uses the new db_uri format, i.e. you need to specify a port now.


Fix long/many topics layout in challenge card

fixes #291

only showing the first four topics/tags for now

@vpchung - See above. Do you have suggestion on how to handles lots of topics?
I saw somewhere that @rrchai is targetting to have challenge cards that have the same heights, but is it really what we want? This could have been a requirement if we display multiple challenge cards on one line, but currently they appear one on top of another. Therefore it may not really matter if they have different height? Not having the same height contraint could allow us to display all the topics we want.

I just had a look at GH and they don't enforce challenge card to have the same height.

@tschaffter @vpchung As we discussed in the meeting, the card now has flexible heights and displays all the tags.


Fix deprecation message for str_starts_with

str_starts_with(): passing null to parameter #1 ($haystack) of type string is deprecated in /var/www/vendor/laravel/framework/src/illuminate/support/str.php on line 1298

This was just released in v3.8.1


Add ARIA attributes - Switch

Describe the bug
Currently, the Switch component doesn't have the ARIA attributes, this will have NextUI more accessible to people with disabilities.
Expected behaviour
Add Aria Attributes to components
Additional info
References:
ARIA-Moz
ARIA-Google
Chrome extension

I would like to help with this task!

Yeah for sure!
Thanks @sauloviniciusf


refactor(installer): Global image and tag management

This PR treats with #7578
helm-service + jmeter-service + installer/manifests/keptn

introduce set values for image registry and repo globally in values.yaml
introduce common

installer/manifests/common

crated _images.tpl and implemented functions service.image and service.tag

How to test
Example for installer/manifests/keptn

Checkout master
helm template . --name-template test-helm-keptn --output-dir ../../../../tmp/keptn-chart-test/tempMaster
Checkout PR
helm template . --name-template test-helm-keptn --output-dir ../../../../tmp/keptn-chart-test/tempPR
Compare now templated Manifests
Test local installation in cluster with custom changes
see docs/developer/install_local_customisations.md

Fixes #7578
Fixes #6043

closed due to new PR https://github.com/keptn/keptn/pull/7695


updated pod number

Please, go through these steps before you submit a PR.

[X] My Pod Leader knows I'm working on this Pull Request
[X] I've explained what the Pull Request is adding.
[X] I've explained why this is important.

Fixes #13

Hi @akshgpt7, can you please review this PR?

LGTM!


tried to add client validation to table names

3 error messages to _common_error, validation in create_table, 4 ut for new wrong cases, one ut changed

Before I take a look at this, could you confirm that you've read the contribution guidelines linked to in the README and submitted the CLA referenced in that doc?

Hi,
I can do it , but I am not sure what is better to do, cause actually I am
Microsoft FTE. Should I sign it as an FTE or as a 3rd party person?
On Tue, Oct 27, 2015 at 8:12 PM, Emily Gerner<EMAIL_ADDRESS>wrote:

Before I take a look at this, could you confirm that you've read the contribution
guidelines http://azure.github.io/guidelines.html linked to in the
README and submitted the CLA referenced in that doc?
—
Reply to this email directly or view it on GitHub
https://github.com/Azure/azure-storage-python/pull/60#issuecomment-151594513
.

--
Best regards,
Michael 'Karn' Ivanov

Per the instructions in the link for full time devs: "You will need to clearly identify yourself as a Microsoft employee in your GitHub profile. You should also include your alias in any pull requests." Could you please give me your alias?

Mivanov (Europe domain), you can look through the link as Mikhail Ivanov
On Oct 27, 2015 4:21 PM, "Emily Gerner"<EMAIL_ADDRESS>wrote:

Per the instructions in the link for full time devs: "You will need to
clearly identify yourself as a Microsoft employee in your GitHub profile.
You should also include your alias in any pull requests." Could you please
give me your alias?
—
Reply to this email directly or view it on GitHub
https://github.com/Azure/azure-storage-python/pull/60#issuecomment-151673224
.

lync I mean :)

Verified alias. Thanks! Took a look at the code a bit. Just so I fully understand the intent: What was the issue with letting the server do the validation and throw an error?

Well:) From my side I also not sure this check is necessary (it has one positive effect - more informative messages, but  also brings one (and more powerful) negative effect - overlapping native azure server-side validation). So - if you don't think this validation should take place - just reject my request, it's ok:) I was just surfing GitHub, looked up this repo and wanted to take some small issue to help. I thought that the issue was approved for future fix already)

Ah, sorry, I see the confusion on the issue. When we ported issues from the old repo (azure-sdk-for-net) it shows all customer issues as being reported by us. We do realize the naming rules can be confusing, so we will:

Improve the method-level documentation to better specifying naming limitations.
Take a service-side feature request to make the error messages more informative.

Does that sound reasonable?
This specific pull request aside, we are really excited to take contributions. Right now per this issue we're doing a major library revamp. After that we'll open things up to ideas for additional features. Hopefully with that list of discussed features we can more easily welcome and encourage community contributions.

Sure, feel free to reject pull request:)
On Thu, Oct 29, 2015 at 1:54 AM, Emily Gerner<EMAIL_ADDRESS>wrote:

Ah, sorry, I see the confusion on the issue. When we ported issues from
the old repo (azure-sdk-for-net) it shows all customer issues as being
reported by us. We do realize the naming rules can be confusing, so we will:

Improve the method-level documentation to better specifying naming
limitations.
Take a service-side feature request to make the error messages more
informative.

Does that sound reasonable?
This specific pull request aside, we are really excited to take
contributions. Right now per this issue
https://github.com/Azure/azure-storage-python/issues/57 we're doing a
major library revamp. After that we'll open things up to ideas for
additional features. Hopefully with that list of discussed features we can
more easily welcome and encourage community contributions.
—
Reply to this email directly or view it on GitHub
https://github.com/Azure/azure-storage-python/pull/60#issuecomment-152006367
.

--
Best regards,
Michael 'Karn' Ivanov


How to reset keras random state many times inside python?

For generating different initial random state for neural network I have been doing this based on
suggestions in the forum:
import numpy as np ;
import datetime ;
np.random.seed(datetime.datetime.now().microsecond)
from keras import ....
(setting numpy random seed before importing anything from keras).
Now, assume that I want to train/evaluate a neural network with different initial random states,
for 10 times, and take average of f-scores. I had to run the file externally for 10 times (e.i., python myprog.py) to make it work.
Now assume I want to this inside python:
for i in range(10):
import numpy as np ;
import datetime ;
np.random.seed(datetime.datetime.now().microsecond)
from keras import ....
train()
evaluate()
but I guess this will not do it, because keras is already imported.
does del np, del keras, inside the function works?
does reload (np), reload (keras) works ?
What is the correct way of doing this?
Thanks in advance.

I tested. Above code works perfectly for me. No need to do anything else :)


Update README.md

Description

Types of changes

[ ] Bug fix or improving code quality
[ ] New language
[ ] New feature

Checklist:

[ ] My code follows the code style of this project.
[ ] I have updated the documentation accordingly.

This is an update including the Fortran, Groovy and Haskell languages in the README.md document. If the format is acceptable, it can be used for other languages.


vue-cli 3 not loading javascript in index.html when

Version
3.0.1
Reproduction link
[No official software. Corporate owned.](No official software. Corporate owned.)
Node and OS info
npm
Steps to reproduce
Shortly describing the issue:
Inside my index.html,
<script src="https://js.stripe.com/v3/"></script>
is loaded as last step inside the body tag and is the only thing added to index.html after project creation.
Loading the script inside <head> tag works exactly the same and does not differ. So to follow best practice, I load javascript last inside the body tag.
Inside our app we use Stripe as payment provider to buy access to internet.
Meaning, their device will most likely use their pop-up browser (CPA/CNA) to use the app, but it can also be used in any browser on any device.
Since we have to be compliant with CPA/CNA browsers, functions like localeStorage and other unsupported stuff is not used in our SPA app. We need to keep it as clean and simple as possible.
Possible steps to reproduce:

Create an app with vue-cli 3 ui that includes Vuex, vue-router and vue-stripe-elements-plus
Include the Stripe script tag last inside the body tag as described above
Create a component that uses vue-stripe-elements-plus  (https://github.com/fromatob/vue-stripe-elements)
Build and run the app on a restricted WiFi, forcing the device to open the app in the CPA/CNA browser

What is expected?
The app should behave exactly the same inside the Androids Captive Portal Assistant, and Apples Captive Network Assistant as in all other browsers.
This was the case when the app was built with vue-cli 2.
Building the project in vue-cli 3.x should be no different than building with vue-cli 2.x
What is actually happening?
App works as expected in all browsers except Android CPA and Apples CNA. Then, Stripe is never loaded in index.html file.
This is no longer working as expected building with vue-cli 3.

I have been trying to analyze and figure out where things stop, but debugging or inspecting CNA/CPA browsers is not possible, so adding alerts() and other checks lead me to the conclution that Stripe javascript is never loaded when the app runs inside CPA/CNA browsers. It is always loaded when app runs in other browsers like Safari, Chrome and Firefox.
The only thing that has changed is my build environment, changing from vue-cli 2 to vue-cli 3.
I really hope you can help, because this is a huge 'product' and 'money income' stopper for our company.

We understand that you can't share the production code, but yould you at least provide a repository which includes the steps you described to reproduce the issue - including any changes done to the vue.config.js concerning configuration options?
Then we an be sure that we are talking about the same code.

I'm no expert, but wouldn't a external resource request be force redirected in a CNA/CPA environment?

Thank you for your quick response. I am sorry for my late.
When you try to connect to the internet at a hotel, coffee shop or airport where you need to log in or buy access to internet, your device will 'pop up' a mini-version of a browser that does not have the same functionality support as a normal browser. That pop-up browser is called Captive Portal Assistant on an Android device, and Captive Network Assistant on an Apple device. Please check out the CNA explanation here (Android will be the same..)  :
https://alexmeub.com/apple-captive-network-assistant-macos/
I will try to create a small project to share with you.
But to be able to test the app, you need to build it and run it on a device on a restricted WiFi network where you need to pay for internet access. And make sure the app opens in a CPA/CNA browser. Verify on both Android and Apple devices.
Check this out to understand more about Stripe and how it works:
https://stripe.com/docs/stripe-js/elements/quickstart
Possibly you do not need to actually use Stripe, we just need to make sure it loads in all browsers.
I will get back to you as soon as I have something ready. Meanwhile, please read and checkout the links I have provided about CNA/CPA and Stripe.

I have now recreated the problem in this repository:
https://github.com/bhtw/stripe-test
Please check it out.

I am really sorry.
The network guys found a missing configuration in our network routers, so the issue was neither mine or yours.
But really, please be aware of CNA/CPA browsers anyway in the future.


Adding a ; between the dumped files

will allow files that don't end properly or with a semicolon to be combined without error.

You can do this using SeparatorFilter.

Didn't see that. Thanks!

Doesn't look like that file is in a tagged release? What's the scoop on that?

Good point. I'll get another release out soon.
On Wed, Jul 8, 2015 at 4:20 PM Ryan Thompson<EMAIL_ADDRESS>wrote:

Doesn't look like that file is in a tagged release? What's the scoop on
that?
—
Reply to this email directly or view it on GitHub
https://github.com/kriswallsmith/assetic/pull/742#issuecomment-119719248
.

Sweet deal, thank you!
Ryan Thompson
President / CEO
AnomalyLabs, Inc.
www.anomaly.ishttp://www.anomaly.is
t<PHONE_NUMBER>
m<PHONE_NUMBER>
On Jul 8, 2015, at 3:27 PM, Kris Wallsmith <notifications<EMAIL_ADDRESS>wrote:
Good point. I'll get another release out soon.
On Wed, Jul 8, 2015 at 4:20 PM Ryan Thompson <notifications<EMAIL_ADDRESS>wrote:

Doesn't look like that file is in a tagged release? What's the scoop on
that?
—
Reply to this email directly or view it on GitHub
https://github.com/kriswallsmith/assetic/pull/742#issuecomment-119719248
.

—
Reply to this email directly or view it on GitHubhttps://github.com/kriswallsmith/assetic/pull/742#issuecomment-119721775.

Do you have a target for the next tag? I've got a beta release this month Ill hold off on some changes if you're thinking soon-ish.


Add responsive spacing example on spacing page

I've noticed a lot of people visiting the spacing page, but remain unaware of the option to specify a breakpoint while it is in the documentation. After talking with some of them it seems that they are mostly looking at the Examples section.
Is it an idea to add a breakpoint example to the Examples section?

Hi @pcmulder thanks for reporting this. Improvements on the docs are always welcome.
Would you like to send a PR adding more examples to utilities/spacing/ or improvement the text to be more clear?

Could be interesting to do one for the framework section that's just all our spacing options?

Closing out as I don't want to make this myself 😁 but if someone has an idea, please send a PR! <3


Update libhandy

libhandy has released the first beta of the final API. The API is marked stable.
Update libhandy to a version >= 0.90.0 as soon as it is available as a package.

Some news:
Looks like libhandy is in the process of becoming libadwaita, which will be a "GNOME HIG" library for Gtk4 (See https://gitlab.gnome.org/GNOME/libhandy/-/issues/356). The plan, from what I can tell, is to rename/fork libadwaita from libhandy after the 1.0 release and move to Gtk4 exclusively.
When the fork happens (still some time off), we should package the "final" version of libhandy for Gtk3 and then look into Gtk4 builds for libadwaita going forward.

Libhandy1 is available in fedora: https://src.fedoraproject.org/rpms/libhandy1

This is probably obsolete if we do #396.


feat: Add ValidConnection for wrapping raw pointers

This PR adds a ValidConnection wrapper for a raw pointer. It can be used as an "escape hatch" for the crate's safety guarantees to allow for raw pointers to be used where AsRawXcbConnection is expeted.

I am still not convinced. When would I need ValidConnection for something that is not possibly without it?
Since NonNull is Copy, I'd expect ValidConnection to also be Copy. Doesn't that mean that unsafe code cannot possible provide a ValidConnection to other code without violating the safety guarantee? (Something could copy/clone the ValidConnection and then use it again later after wherever this came from was already dropped and called xcb_disconnect)
But if I already control all the code that is involved, I could just build my own, local ValidConnection and not make it pub.

This largely stems my own personal (mis-)experience with raw-window-handle, where it's impossible to just pass a RawWindowHandle to anything that takes T: AsRawWindowHandle, which makes working with wgpu::create_surface harder. Having to create your own newtype struct is somewhat of a pain.

Since NonNull is Copy, I'd expect ValidConnection to also be Copy. Doesn't that mean that unsafe code cannot possible provide a ValidConnection to other code without violating the safety guarantee? (Something could copy/clone the ValidConnection and then use it again later after wherever this came from was already dropped and called xcb_disconnect)

This is why ValidConnection isn't Copy. By creating ValidConnection, you're essentially guaranteeing that the underlying xcb_connection_t won't be deallocated for as long as whatever you're passing the ValidConnection to lives.

Argh, Copy totally is not an auto-trait. Sorry! :facepalm:


Student task list view not sorted by date

Should display none that have a date that is already past, and one closest to today should be displayed at top.


Showing modal #A then #B , then trying to close #A will close BOTH.

jsfiddle :
https://jsfiddle.net/zq14c4uv/5/
this bug is extremely annoying, and basically breaks using modal for progress/loading notifications in my app.

As per the docs, you need to set allowMultiple: true when you initialise the modal if you don't want hiding a modal to hide all other modals.
In addition, it still fails if you try to hide it immediately. This works fine though:
   var modal1 = $("#modal1").modal({ allowMultiple: true });
   var modal2 = $("#modal2").modal({ allowMultiple: true });

   modal1.modal("show");
   setTimeout(function() {
     modal2.modal("show");
   }, 2000);
   setTimeout(function() {
     modal1.modal("hide");
   }, 4000);


refactor(ndt scan matcher): update parameter

Description

rename validation.lidar_topic_timeout_sec to sensor_points.timeout_sec
add new parameter validation.initial_to_result_distance_tolerance_m
add new parameter validation.skipping_publish_num

Tests performed

LSim works.
Effects on system behavior

Not applicable.
Interface changes
rename a parameter

validation.lidar_topic_timeout_sec to sensor_points.timeout_sec

add new parameters

validation.initial_to_result_distance_tolerance_m
validation.skipping_publish_num

Pre-review checklist for the PR author
The PR author must check the checkboxes below when creating the PR.

[ ] I've confirmed the contribution guidelines.
[ ] The PR follows the pull request guidelines.

In-review checklist for the PR reviewers
The PR reviewers must check the checkboxes below before approval.

[ ] The PR follows the pull request guidelines.

Post-review checklist for the PR author
The PR author must check the checkboxes below before merging.

[ ] There are no open discussions or they are tracked via tickets.

After all checkboxes are checked, anyone who has write access can merge the PR.

@YamatoAndo  This is a very minor suggestion, there are diffs of the yaml file in universe and launch.


Choreonoid aborts in CI

https://github.com/isri-aist/MultiContactController/actions/runs/4120205495/jobs/7114695001
+ choreonoid MCC_JVRC1_SampleField.cnoid --start-simulation
...
[info] Loading additional plugin configuration: /usr/lib/x86_64-linux-gnu/mc_plugins/etc/ROS.yaml
[info] Loading additional controller configuration: /home/runner/work/MultiContactController/MultiContactController/catkin_ws/devel/.private/multi_contact_controller/lib/mc_controller/etc/MultiContactController.yaml
[info] Loading additional controller configuration: /home/runner/.config/mc_rtc/controllers/MultiContactController.yaml
[info] Create controller MultiContactController
[success] [overwriteConfig] Overwrite with configuration jvrc1.
choreonoid: /package/mc_rtc/3rd-party/RapidJSON/rapidjson/document.h:1993: bool rapidjson::GenericValue<Encoding, Allocator>::StringEqual(const rapidjson::GenericValue<Encoding, SourceAllocator>&) const [with SourceAllocator = rapidjson::CrtAllocator; Encoding = rapidjson::UTF8<>; Allocator = rapidjson::CrtAllocator]: Assertion `rhs.IsString()' failed.
/home/runner/work/_temp/fd9076cd-19f5-4bb4-a134-da7[484](https://github.com/isri-aist/MultiContactController/actions/runs/4120205495/jobs/7114695001#step:9:485)39b8c7.sh: line 29: 24184 Aborted                 (core dumped) choreonoid ${CNOID_FILE} --start-simulation
+ kill -2 24140
+ kill -2 24184
/home/runner/work/_temp/fd9076cd-19f5-4bb4-a134-da748439b8c7.sh: line 31: kill: (24184) - No such process
Error: Process completed with exit code 1.

Hi @mmurooka
I think this is related to the robots/env bug (it's just a different manifestation), I think it doesn't happen on the most recent runs?

Yes, it is solved by https://github.com/isri-aist/MultiContactController/commit/45838c6528b8b73105b0cd35e018b1676bb07bf4

The same problem still seems to occur at CI with low frequency.
https://github.com/isri-aist/MultiContactController/actions/runs/4134994629/jobs/7146853595
https://github.com/isri-aist/MultiContactController/actions/runs/4131754151/jobs/7139894439

I believe this problem has occurred several times on the local PC, and although I have not been able to reproduce it in gdb, the terminal output when the controller is started via choreonoid is as follows: The "[overwriteConfig]" message is printed just before the constructor of fsm::Controller, so the segmentation fault must be caused in the constructors of MultiContactController, fsm::Controller, or MCController. (BTW, the overwrite just before the controller constructor will be eliminated soon for sure.)
[info] Create controller MultiContactController
[success] [overwriteConfig] Overwrite with configuration jvrc1.
Segmentation fault

Hi @mmurooka
I think this should be definitely fixed by https://github.com/jrl-umi3218/mc_rtc/commit/1651fa9f088685f63459753befcdd49cb216f02f

@gergondet  Thank you!


Tags created by changeset tag don't trigger workflows with on.push.tags

Affected Packages

@changesets/cli
Problem

My original plan was to create a tag/version based deployment for my monorepo, where changesets would handle the versioning and tagging. I set up github actions workflows that are triggered on.push.tags.
At first I was using the workflow:
name: Version
permissions:
  pull-requests: write
  contents: write

on:
  push:
    branches:
      - main

concurrency: ${{ github.workflow }}-${{ github.ref }}

jobs:
  release:
    name: Release
    runs-on: ubuntu-latest
    steps:
      - name: Checkout
        uses: actions/checkout@v4
        with:
          fetch-depth: 0

      - name: Setup
        uses: ./.github/actions/setup

      - name: Create Release Pull Request
        uses: changesets/action@v1
        with:
          createGithubReleases: false
          publish: pnpm changeset tag
        env:
          GITHUB_TOKEN: ${{ secrets.CHANGESET_GITHUB_TOKEN }}
          HUSKY: 0

I had some more complex workflows for deploying apps, but for demonstration say there is one workflow for creating tag for api. Running changeset, then changeset version then changeset tag should create tag<EMAIL_ADDRESS>which should trigger:
name: Test tag
permissions:
  pull-requests: write
  contents: write

on:
  push:
    tags:
      -<EMAIL_ADDRESS>
jobs:
  didirun:
    name: Did it run
    runs-on: ubuntu-latest
    steps:
      - name: Checkout
        uses: actions/checkout@v4
        with:
          fetch-depth: 0

      - name: Checker
        run: echo YES!

Where everything works fine, I create the changeset, the PR is created for the version bump, and upon merging to main, it creates and pushes the tags.
The problem is it doesn't trigger the "Test tag" workflow.
I thought that based on this discussion the reason is because the tags are created by a bot, and I replaced the action's GITHUB_TOKEN with a PAT stored in secrets.CHANGESET_GITHUB_TOKEN. It didn't help.
Further debugging, I ran the whole flow manually locally (on main).
pnpm changeset
pnpm version
git commit -m "Version bump"
pnpm changeset tag
> 🦋  New tag<EMAIL_ADDRESS>> 🦋  New tag<EMAIL_ADDRESS>> 🦋  New tag<EMAIL_ADDRESS>> 🦋  New tag<EMAIL_ADDRESS>git push
git push --tags
>  * [new tag]<EMAIL_ADDRESS>-><EMAIL_ADDRESS>>  * [new tag]<EMAIL_ADDRESS>-><EMAIL_ADDRESS>>  * [new tag]<EMAIL_ADDRESS>-><EMAIL_ADDRESS>>  * [new tag]<EMAIL_ADDRESS>-><EMAIL_ADDRESS>
No workflow run.
Then I created a tag manually with
git tag<EMAIL_ADDRESS>
and pushed it, then it triggered the workflow.
Then created an even more simplified version, deleted every package, every app except api, and the workflow has been triggered even with changeset.
I was quite frustrated at this point, but curiosity drove me forward to find out yet another of the many undocumented annoying behaviour of github actions in this discussion.
Apparently, if you push more than 3 tags at once, github actions will just ignore all of them, not running any workflows triggered by on.push.tags.
Proposed solution
The ideal solution would be to somehow demolish the hype around github actions so they will finally build something without weird behaviour that people are complaining about for years receiving hundreds of likes, so they finally wake up and at least document these behaviours so people don't have to research hours and days to manually figure out what's causing unexpected things. But I guess none of us can do anything about this, gh actions is the industry standard. Sorry for the rant.
Pushing tags one-by-one could work as proposed solution of this discussion.
Also, tags pushed by changesets/action@v1 don't trigger on.push.tags even when only one tag is being pushed, and even when a custom PAT is passed to env.GITHUB_TOKEN most likely because of this discussion. This one is not a priority though, I'll just ditch the action, and do the version bump and tagging manually, but not being able to trigger custom workflows for each app independently based on tag name if there are more than 3 is a blocker.

Created a script:
#!/bin/bash

pnpm changeset tag

comm -23 \
  <(git tag --list | sort) \
  <(git ls-remote --tags origin \
    | awk '{print $2}' \
    | sed 's|refs/tags/||' \
    | sort) \
| while read tag; do
    echo "Pushing tag: $tag"
    git push origin "$tag"
  done

That successfully triggers tag based workflows in github actions. It filters unpushed tags, and pushes them one by one synchronously.
When using changesets/action@v1 to push the tags via the bot it still doesn't trigger workflow runs.

TL;DR:

if more than 3 tags are pushed at once, github actions workflows triggered by on.push.tags won't run. See discussion. When version bump is happened to more than 3 packages, changeset will tag each of them, and push them at once. One possible solution is pushing tags one-by-one synchronously as per the above comment.
as in changesets/action the user is set to the github actions bot, any events created by it won't trigger any workflows. See docs and discussion. This means that the same workflow that depends on a tag push is triggered if you push a matching tag, but if the tag is pushed by the github actions bot, it won't trigger it. I don't have a proposed solution for this.


Release ability to set request headers

It's nice you've added it but I'd like to use it as well :)

It "should" of release in the pipeline automatically.
I will have to add a commit to kick off semantic-release to release it.

Could you do it?

:tada: This issue has been resolved in version 1.7.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


fix: set background images for feature boxes in dark mode

Addresses the issue where the feature boxes ("Bring Ideas to Live," "Component Templates," "Project Management," and "Live Collaboration") remained white in dark mode.
This PR resolves the problem by setting appropriate background images for the boxes when the website is in dark mode.
Issue: #98

LGTM


build(ci): add specs

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

Project coverage is 92.30%. Comparing base (0ce9465) to head (7b3a460).

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #808      +/-   ##
==========================================
+ Coverage   85.87%   92.30%   +6.43%
==========================================
  Files          29       30       +1
  Lines         354      364      +10
==========================================
+ Hits          304      336      +32
+ Misses         46       23      -23
- Partials        4        5       +1

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


Support Swift Package Manager

By creating Package.swift, this commit introduces support for Swift Package Manager. @joanromano, or someone, can you look at this?

Since this is Swift Package Manager, I'm closing this request in favour of the one at https://github.com/Haneke/HanekeSwift


This is following the example above to the letter... why don't you keep these examples current?

'IWebJobsBuilder' does not contain a definition for 'AddAzureStorageCoreServices' and no accessible extension method 'AddAzureStorageCoreServices' accepting a first argument of type 'IWebJobsBuilder' could be found (are you missing a using directive or an assembly reference?)

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

ID: 2e9e1a8a-6284-a230-061e-7cb27258571a
Version Independent ID: 43390e30-04d6-6d4e-018e-21419dbb11e8
Content: Get started with the WebJobs SDK - Azure
Content Source: articles/app-service/webjobs-sdk-get-started.md
Service: app-service-web
GitHub Login: @ggailey777
Microsoft Alias: glenga

@thedavegray
Thanks for the feedback! I have assigned the issue to the content author to investigate further and update the document as appropriate.
@ggailey777
Hi Glenn, could you please help to check this issue and update the document if need? Thank you.

Did you install version 3.0.x of Microsoft.Azure.WebJobs.Extensions? This article is only supported for version 3.x of the WebJobs SDK.

Since we haven't heard back, it's assumed that the wrong version was being used. If that's not the case, please reopen this issue. #please-close


fix load_state_dict for xpu and refine xpu safetensor version check

What does this PR do?

enable test_load_state_dict on xpu, because torch.device(0) by default is cuda
add xpu support in load_state_dict when device_map's values are identical integers
refine the xpu safetensor version check to make code clean and compact

@SunMarc this PR is ready for review. Could you help review it? Thx a lot!

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

@faaany small merge conflict (the joys of day-of-release-merging-post-OOO), if you can fix that I'll get this in and it'll be part of the release today 🚀

@faaany small merge conflict (the joys of day-of-release-merging-post-OOO), if you can fix that I'll get this in and it'll be part of the release today 🚀

awesome, thx! conflict resolved.

Please check out the new failure on main @faaany, thanks! :) (Test is failing bc of the aforementioned note above)


Remove functionality to delete board

@dottenbr functionality removed from this commit https://github.com/elexess/DoneDone/commit/55621cedb2f75d8398a74ea60ea84c16b9663879


PublishEvent  option failed to set keys TTL

Describe the bug
In use the PublishEvent function , I set the PublishEventOption :
client.PublishEventWithMetadata(map[string]string{"ttlInseconds":"3600"})
But when I check redis :
<IP_ADDRESS>:6379> TTL Stop
(integer) -1
clearly failed to set ttl , the value is -1  , but key store success.
And I don't see anything ttl unit test in client/pubsub_test.go
To Reproduce
redis docker version 6.2.5
go version 1.19
github.com/dapr/dapr v1.10.4
github.com/dapr/go-sdk v1.7.0
Hear's full codes:
if err := d.daprClient.PublishEvent(ctx, "redis-pubsub", master.MethodType_Stop.String(), param, 		client.PublishEventWithMetadata(map[string]string{"ttlInseconds": "3600"})); err != nil { 		return err 	}
Expected behavior

If this is user mistake, please point where I was wrong.
fix this bug, pls

For those components that don't have built-in ttl support, dapr will handle it in runtime. This means dapr will check the TTL and ignore these expired messages.

@Taction Thx for your reply
In this case, Redis store too much msg , i have to delete them manually(because I lost one msg, may cause by redis perforemance issue).
My question ：Msgs are not delete after they are receviced(OnTopicEvent), is that right?

My question ：Msgs are not delete after they are receviced(OnTopicEvent), is that right?
Yes, Dapr redis pubsub component uses redis stream which doesn't delete messages when acked.

For your situation, you can set maxLenApprox metadata, which defines maximum number of items inside a stream. The old entries are automatically evicted when the specified length is reached so that the stream will be left at a constant size. Or you can try other components (such as rabbitmq), which delete the expired or acked message.

Describe the bug In use the PublishEvent function , I set the PublishEventOption : client.PublishEventWithMetadata(map[string]string{"ttlInseconds":"3600"}) But when I check redis : <IP_ADDRESS>:6379> TTL Stop (integer) -1 clearly failed to set ttl , the value is -1 , but key store success. And I don't see anything ttl unit test in client/pubsub_test.go
To Reproduce redis docker version 6.2.5 go version 1.19 github.com/dapr/dapr v1.10.4 github.com/dapr/go-sdk v1.7.0
Hear's full codes: if err := d.daprClient.PublishEvent(ctx, "redis-pubsub", master.MethodType_Stop.String(), param, client.PublishEventWithMetadata(map[string]string{"ttlInseconds": "3600"})); err != nil { return err }
Expected behavior

If this is user mistake, please point where I was wrong.
fix this bug, pls

Try modifying ttlInseconds to ttlInSeconds

I have the same problem with C# client, when using pubsub with Redis streams:
var metadata = new Dictionary<string, string>
{
{"ttlInSeconds", "120"}
};
        await _daprClient.PublishEventAsync(
            pubsubName: "pubsub",
            topicName: "test",
            data: message,
            metadata: metadata,
            cancellationToken: cancellationToken);

but when I'm using state store with Redis it works well:
await _daprClient.SaveStateAsync("statestore", "test", 1, metadata: metadata);


Migdal source

This PR introduces a first draft of the Migdal source using wimprates to generate the differential rates.
It is dependend on the successful approval of this other PR (for the integration of wimprates to compute differential rates on the fly).

The wimprates version needed to run this is not published yet, as it's currently being reviewed.
However it's available here: https://github.com/lorenzomag/wimprates
When git cloning, use the --recursive flag, as there are submodules to initiate.

Moved to other PR (https://github.com/FlamTeam/flamedisx/pull/368)


Teach driver to locate the scanner library when the compiler is invoked from the build dir

@swift-ci please test


Resampling on non-preloaded data

According to http://martinos.org/mne/dev/auto_examples/preprocessing/plot_resample.html this should be possible

When resampling epochs is unwanted or impossible, for example when the data doesn’t fit into memory or your analysis pipeline doesn’t involve epochs at all, the alternative approach is to resample the continuous data. This can also be done on non-preloaded data

header=mne.io.read_raw_brainvision('somefile.vhdr')
header.copy().resample(100)

gave me raw.resample requires raw data to be loaded. Use preload=True (or string) in the constructor or raw.load_data().
this is related to #4381 : I would like to resample only certain channels, without loading the whole data file. If there are any ideas on how to do that in MNE I would be grateful :) (right now I'm resampling manually with scipy.signal, but I trust the MNE routines more on EEG data).
Second issue (but known as I see #1814) is that even with the data preloaded and all unnecessary channels dropped it has been running for more than 30 minutes (is it stuck in a loop?), while with scipy.signal it takes ~5 seconds.

see that example loads data:
raw = mne.io.read_raw_fif
http://martinos.org/mne/dev/generated/mne.io.read_raw_fif.html#mne.io.read_raw_fif(raw_fname).crop(120,
240).load_data()

Yes, but then the documentation is wrong?
Then the second part of my issue comes into play: It seems to be stuck in a loop since around 30 minutes. 2 Processes seem to be running (although I set n_jobs=4) with full process usage.

Yeah that documentation appears to be incorrect.
Are you using npad='auto'? What is len(raw.times) and raw.info['sfreq']? It's possible that the frequency-domain resampling is suboptimal here and might be a good case for / reason to implement polyphase resampling.

Are you using npad='auto'? What is len(raw.times) and raw.info['sfreq']

I didn't touch npad so I think it should default to auto.
len(raw.times) is 5157120 (8h sleep recordings)
raw.info['sfreq'] is 127.99
(Yes I know it's a very long recording, that might explain the problems with the FFT resampling)

Hmmm... how long does raw.copy().filter(None, 10., picks=[0]) (assuming you are on latest master) take? That will give some idea of how long the polyphase resampling would take for a single channel.

And I'm curious why you need to resample to 100 Hz? It doesn't seem like it would affect the analyses too much.

raw.copy().filter(None, 10., picks=[0]) takes 0.8 seconds.
(I'm on 0.15.dev0)
I am using the input to feed a neural network and want to standardize the input to 100 Hz.

Can you try this code? It takes 1.24 sec on my machine:
import mne
import numpy as np
import time

n_samples = 5157120
n_chan = 1
raw = mne.io.RawArray(np.random.randn(n_chan, n_samples),
                      mne.create_info(n_chan, 127.99, 'eeg'))
t0 = time.time()
raw.resample(100.)
print(time.time() - t0)

It suggests that resampling this data would take 1.24 * len(raw.ch_names) (how many channels are there)?

1.8 sec for me
I am using a subset of 3 channels. So it should not take much longer.
I figured it's a problem with using the original header.
raw = mne.io.read_raw_brainvision('file.vhdr', preload=True)

data,_ = raw[[0,1,2],:]
new_raw = mne.io.RawArray(data, mne.create_info(3, 127.99, 'eeg'))

t0 = time.time()
new_raw.resample(100.)
print(time.time() - t0)
# takes a few seconds

raw.pick_channels(['C3', 'LOC', 'EMG1'])
t0 = time.time()
raw.resample(100.)
print(time.time() - t0)
# get's stuck

Is it possible for you to share the file privately (or another similarly failing file)? It would be good to understand what in MNE broke it.

I've sent you a mail. Thank you very much for looking into this!

So it turns out I can replicate with my RawArray example above using sfreq=127.99180852425445 (the actual sample rate of your data). This results in a much less favorable irfft length than 127.99 does.
There might be some way to choose the padding so that a favorable lengths are available for both rfft and irfft. I can't think of one offhand, but someone can try if they want. In the meantime, you can also hack a fix into your data by doing this instead of using RawArray:
raw.info['sfreq'] = 127.99

So you can accept some inaccuracy / drift for faster computation. Actually polyphase filtering relies on integer ratios, which would probably also be an approximation of this sample rate, so it wouldn't fix this problem. (And usually in polyphase filtering there is some acceptable inaccuracy, so maybe choosing a close but not equivalent sample rate is acceptable here.)
Let's leave this open as a reminder to fix the tutorial wording, though.

Ah! That makes sense.
Could it be that the original sample rate was 128 but due to conversion to/from float it got saved as<PHONE_NUMBER>2425445 ?
I think I will just use np.round(), or do you recommend staying with the 2 decimals?

Could it be that the original sample rate was 128 but due to conversion to/from float

This looks like too much precision loss for this to be the case, at least for 32-bit float.
With rounding to 128 you'd be off by ~0.008 instead of ~0.002 Hz for using 127.98. Assuming the reported sample rate is correct, your recording was 40292.57856 seconds long, and using 128 Hz it would appear to be 40290 seconds long exactly. (FWIW the fact that 128 divides evenly into the number of samples also suggests that 128 might be the true sample rate, because data are often stored in 1-second buffers.) So perhaps some conversion routine to BrainVision format mis-reports the sample rate?


is the preprint/paper available?

hello authors, is there a pre-print available for this work? or is this still work in progress?

The paper is available at https://arxiv.org/pdf/2209.06158.pdf


[Fixes #15951] Document JS test suite basics

[Fixes #15951] Document JS test suite basics

I'll deal with the remaining changes; just making notes to myself at this point.

Ah, oops, I've already made the changes you mentioned :smile:

For it to be relative paths it'd have to be ./folder. I'd just go with folder/ personally.

@hnrch02 Fixed paths and added a brief "what a test should look like" section

We should link the "include relevant unit tests" part of the main README to this new file.

@cvrebert this has been added. :+1:

Successor PR: #15999


Reporting dashboard functioning

User story

As a user
I want from every report a dashboard (as the central aggregated dashboard) should be available
=> via this dashboard, the emba report is called

Acceptance criteria

The above requirement works and every report is available for access.

Definition of done

Code review from peers has been completed and passed

Code is fully implemented and commented
Adheres to coding guidelines
Commits are not squashed
Code is checked into the repository

Unit tests for backend have been written and are passing
Manual performance tests on the browser are passing
No critical bugs are open

Closed on 9.06.2021


Is there a limit of repos returned?

I've a few repos which hound isnt finding,

Are you an owner of the repos. Due to GitHub permission system, only repo owners can activate Hound for them.

I think the issue is the github token is old - i've got a new org and it probably need reissuing to ask for approval?

Found it - that org needed approval - did it via the github ui.

Great!
For future reference, going to https://github.com/settings/applications, then clicking on "Hound CI" will display a list of organizations and Hound can be granted access via that screen.


Authenticating user with other authentication backends

I'm wondering how I could make use of django's authentication capabilities? This package and jwt seem to provide a non-standard (at least in it's own system) method to authenticate user (JSONWebTokenMiddleware)?
An example use case might be that I may want to first log in with django admin and then use session authentication for resolving user in me query, later the react front end will use JWT auth.
This is possible in django rest framework.
ref: https://www.django-rest-framework.org/api-guide/authentication/#setting-the-authentication-scheme
Update:

I could access the authenticated user by info.context.request.user.
gqlauth.user.queries.UserQueries uses g_user which in turn is accessing info.context.user, this seems to be filled in by JSONWebTokenMiddleware which doesn't seem to work as intended?!

I think django will call all the authentication backends you have, one of them being JSONWebTokenMiddleware this middleware will search for Authentication header or a cookie (I didn't used cookie yet).
as for g_user sometimes the user would be in  info.context and sometimes in info.context.request so this is just an helper for that..

I think django will call all the authentication backends you have, one of them being JSONWebTokenMiddleware this middleware will search for Authentication header or a cookie (I didn't used cookie yet).
That doesn't makes sense, we add GraphQLAuthBackend or JSONWebTokenBackend to AUTHENTICATION_BACKENDS which will return the authenticated user or AnonymousUser.

JSONWebTokenMiddleware is an Schema extension.
I'm confused.

as for g_user sometimes the user would be in info.context and sometimes in info.context.request so this is just an helper for that.

what's that "sometimes" here? why isn't info.context.user always set? Is this an implementation difference between graphene and strawberry?

sorry you are correct In graphene it was in django middlewares, now the author of jwt did that in schema extension.
And about the user the creator of this library used to inject the user in tests to a RequestFactory (maybe in graphene and in graphene I think the user was in request obj).
recently I changed that and I the tests runs against django.tests.Client/AsyncClient so I don't inject the user there and also not inside context.
I will see if that g_user is really redundant.

I'm wondering how I could make use of django's authentication capabilities? This package and jwt seem to provide a non-standard (at least in it's own system) method to authenticate user (JSONWebTokenMiddleware)?

An example use case might be that I may want to first log in with django admin and then use session authentication for resolving user in me query, later the react front end will use JWT auth.

I am not familiar with django "standard" way of authenticating but if you have any ideas I would love to help on that.
Also I am not anywhere near a pro django'er or something so don't expect me to know everything...
I am just a guy that was using this library in graphene and when I realized that graphene is dead I needed to migrate to strawberry and I learned on the way so to speak.  I did put a lot of effort in this project though and I think that overall it is going in the right direction.

Having some piece of code/middleware somewhere that injects info.context.user and mentioning it in docs will go a long way. Strawberry django docs on this are very ambiguous (at least for me coming from django rest framework). Maybe even a pull request to that package could solve it all.

Also I am not anywhere near a pro django'er or something so don't expect me to know everything...
I am just a guy that was using this library in graphene and when I realized that graphene is dead I needed to migrate to strawberry and I learned on the way so to speak. I did put a lot of effort in this project though and I think that overall it is going in the right direction.

That's the way everyone does it. Even more so the creators of libraries/frameworks/standards/etc.

Re 1: Sorry I didn't understood how strawberry django is related here?
Generally I think that Strawberry and Django are built very differently.
Strawberry is all about typing while in django (probably beacause of its age) there are so many
raw strings and dicts flying around..

A quick look at
https://github.com/KundaPanda/strawberry-django-jwt/blob/17d520efcb1f2e2cfefc2744d283b7c93ea8d540/strawberry_django_jwt/auth.py#L30
seems like all the authentication backends already being called. So what do you mean exactly?

Here's the code I came up after digging through the library
Uses the helper from https://github.com/KundaPanda/strawberry-django-jwt/issues/338
@gql.mutation
    def token_auth(self, info: Info, password: str, username: Optional[str] = None,
                   phone_number: Optional[str] = None) -> TokenDataType:
        """
        obtain JWT token
        compatible with `strawberry_django_jwt.mutations.ObtainJSONWebToken.obtain`
        """
        if username is not None:
            user = authenticate(username=username, password=password)
        elif phone_number is not None:
            phone_number = PhoneNumberField().to_internal_value(phone_number)
            user = authenticate(phone_number=phone_number, password=password)
        else:
            raise Exception("This mutation needs at least one of username or phone number to authenticate user.")
        if user is not None:
            return generate_jwt_token_payload(info, user)
        raise Exception("Please enter valid credentials")

Ref https://github.com/KundaPanda/strawberry-django-jwt/issues/134

We call authenticate here https://github.com/nrbnlulu/strawberry-django-auth/blob/aca6eb22a1a7c7b569d3c79763b58ae89918e776/gqlauth/jwt/types_.py#L172
This calls all django authentication backends with the fields you defined for login mutation.
Ref: https://docs.djangoproject.com/en/4.1/topics/auth/default/#authenticating-users


host/cli: Fix volume garbage collection

Volumes from stopped jobs are still considered attached.
This fixes volume gc so that unless the volume is attached to a running
or starting job it will be collected.

We should probably add some test coverage for this, although I don't think we should block merging this fix.

Agreed, I will look at adding some tests for it.


Adding in minor refactoring to make sure they work with the old code for

debugging reasons

hrm... merging #46 caused this to have conflicts. rebase?
-s

I'll close this the other one fixes this


Cleanup into Java 8

Resolved with: https://github.com/fcrepo4/fcrepo-module-auth-xacml/commit/377491a4d8524e393e519eea47698266aa7004ee


Cannot override background color

Hello,
I have the following configuration:
require("github-theme").setup({
  specs = {
    github_light_high_contrast = {
      bg0 = "#EFF1F5",
      bg1 = "#EFF1F5",
    },
  },
})

Since https://github.com/projekt0n/github-nvim-theme/pull/328, the background color is not overriden and stays in pure white #FFFFFF.
I'm not sure if there were a breaking change in the configuration?
I did run :GithubThemeCompile, but no change :(

Thanks for reporting this. I will look into it.


Member Permissions too relaxed

Rancher versions:
rancher/server: 1.6.14
rancher/agent: v1.2.9
Infrastructure Stack versions:
healthcheck: 0.3.3
ipsec: 0.13.7
network-services: 0.7.19
scheduler:
kubernetes (if applicable): 1.8.5-rancher4
Docker version: (docker version,docker info preferred)
17.06.2-ce
Operating system and kernel: (cat /etc/os-release, uname -r preferred)
4.9.75-rancher
Type/provider of hosts: (VirtualBox/Bare-metal/AWS/GCE/DO)
bare-metal
Setup details: (single node rancher vs. HA rancher, internal DB vs. external DB)
single-node
Environment Template: (Cattle/Kubernetes/Swarm/Mesos)
Kubernetes
Steps to Reproduce:
Adding a user to the environment with "member"-permissions. The user can still see, modify infrastructure-stacks, remove complete hosts as opposed to the docs ( http://rancher.com/docs/rancher/v1.6/en/environments/#membership-roles ).
Results:

Can you confirm that the user is not an admin?
Also, they will be able to see the actions but if you try to do one of the actions, the API will reject them.
In 2.0, we are adding the ability for the UI to hide the actions that they don't have permissions for.

A member is exactly like an owner except you can't change the membership roles of the environment.
A restricted user is equivalent to the permissions that you are looking for.

Argh, sorry, i made a mistake myself... i meant a member with the "read-only"-permissions, but that seems to be only a ui-issue.
Read-only users still get the bullet-points to delete containers, but an error after clicking).
When using a read-only user, it seems i can't even access the kubernetes-api?
Testing the restriced-user, i wonder why they can delete the kube-dns pod, which is quite essential (shouldn't this be infra anyway?)..
Maybe it would be useful to have kube-system namespace excepted from the restricted-users access.

Either the documentation is wrong or the Rancher 1.6.11 (or later) code: As environment member I can see the infrastructure services which must not be the case according to the 1.6 documentation which reads as follows:
A member of an environment can perform any actions in Rancher that do not affect the environment. They will not be able to add/remove members or change the membership roles of existing members or view any of the infrastructure services.
See http://rancher.com/docs/rancher/v1.6/en/environments/#membership-roles
I think this is a bug - a serious one because infrastructure services like the External-DNS expose DNS server secrects!

Thanks, this was corrected in the docs.


Is Internet mandatory to run gauge test ? Or can we configure it ??

Problem facing :
Configured gauge environment in a test machine where we planned to run test and it runs perfectly as expected as well. After configuration internet has been disabled and now tried to run the test it fails.
Response required ..

Is Internet mandatory to run gauge test ?
if not tell me how to configure that .?
3.Find the gauge log below

16:28:03.692 Plugin java is already installed.
16:28:03.693 Plugin html-report is already installed.
16:28:03.728 Checking updates...
16:28:03.730 Downloading https://downloads.gauge.org/plugin/html-report?l=java&p=html-report,java,json-report,screenshot,xml-report&o=windows&a=386
16:28:04.528 Failed to download html-report-install.json file: Get https://downloads.gauge.org/plugin/html-report?l=java&p=html-report,java,json-report,screenshot,xml-report&o=windows&a=386: read tcp <IP_ADDRESS>:4871-><IP_ADDRESS>:443: wsarecv: An existing connection was forcibly closed by the remote host.
16:28:04.530 Downloading https://downloads.gauge.org/plugin/java?l=java&p=html-report,java,json-report,screenshot,xml-report&o=windows&a=386
16:28:04.766 Failed to download java-install.json file: Get https://downloads.gauge.org/plugin/java?l=java&p=html-report,java,json-report,screenshot,xml-report&o=windows&a=386: read tcp <IP_ADDRESS>:4872-><IP_ADDRESS>:443: wsarecv: An existing connection was forcibly closed by the remote host.
16:28:04.768 Downloading https://downloads.gauge.org/plugin/json-report?l=java&p=html-report,java,json-report,screenshot,xml-report&o=windows&a=386
16:28:05.004 Failed to download json-report-install.json file: Get https://downloads.gauge.org/plugin/json-report?l=java&p=html-report,java,json-report,screenshot,xml-report&o=windows&a=386: read tcp <IP_ADDRESS>:4874-><IP_ADDRESS>:443: wsarecv: An existing connection was forcibly closed by the remote host.
16:28:05.008 Downloading https://downloads.gauge.org/plugin/screenshot?l=java&p=html-report,java,json-report,screenshot,xml-report&o=windows&a=386
16:28:05.244 Failed to download screenshot-install.json file: Get https://downloads.gauge.org/plugin/screenshot?l=java&p=html-report,java,json-report,screenshot,xml-report&o=windows&a=386: read tcp <IP_ADDRESS>:4875-><IP_ADDRESS>:443: wsarecv: An existing connection was forcibly closed by the remote host.
16:28:05.246 Downloading https://downloads.gauge.org/plugin/xml-report?l=java&p=html-report,java,json-report,screenshot,xml-report&o=windows&a=386
16:28:05.481 Failed to download xml-report-install.json file: Get https://downloads.gauge.org/plugin/xml-report?l=java&p=html-report,java,json-report,screenshot,xml-report&o=windows&a=386: read tcp <IP_ADDRESS>:4876-><IP_ADDRESS>:443: wsarecv: An existing connection was forcibly closed by the remote host.
16:28:05.882 Runner connection error: Runner with pid 5792 quit unexpectedly(exit status 1).
16:28:05.882 Error while killing runner: invalid argument
16:28:05.883 Failed to start gauge API: Runner with pid 5792 quit unexpectedly(exit status 1).
Gauge version
html-report (4.0.8)
java (0.7.2)
json-report (0.3.1)
screenshot (0.0.1)
xml-report (0.2.1)

No internet is not mandatory for running gauge specs.. unless required by the step implementation. I could run the sample java project without internet fine. Only initial installation of plugins require internet, there are offline installation options available for those too. which version of Gauge is used in the test machine ?

gauge version 1.0.5

I have installed html-report plugin already (find the versions i attached). so why it is trying to download html-report-install.json file after executing the spec ..?

gauge is trying to find updates for plugins installed, that should not affect the spec execution though. From the log it looks like the runner is crashing for some reason. Can you please confirm if this is happening only when run in offline ? and also will be great if you can share a project to replicate this since I could run the sample project offline without any issue ?

@akalaiselvan Any updates on this?

Closing this due to inactivity. Feel free to reopen if you are still facing the issue.


help: Update "Emoji reactions" mobile instructions.

Updates Emoji reactions to follow current help center documentation patterns.
Screenshots and screen captures:

Self-review checklist

[x] Self-reviewed the changes for clarity and maintainability

Communicate decisions, questions, and potential concerns.

[x] Explains differences from previous plans (e.g., issue description).
[x] Highlights technical choices and bugs encountered.
[x] Automated tests.

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

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

Completed manual review and testing of the following:

[x] Visual appearance of the changes.
[x] Links.

@laurynmm This PR is ready for review.
@zulipbot add "help center review" "area: mobile"


Changed Webpack Compressor from UglifyJs to Terser

I did some testing building the project in a windows machine then testing it in an iphone 12 and Macbook Safari client and it seems to be working.
Closes #14

UPD: These changes were included in 1.1.1


Error while Generating static pages in Next JS 13.4

Hi all,
I am using Material Tailwind components with Next JS 13.4 with App router and server components as per instructions in the Material Tailwind docs.
Everything is running well locally but when trying to build the app and send it to vercel I encountered a strange error and have been stuck for 3 days, I will copy the terminal logs here:
 ✓ Creating an optimized production build
 ✓ Compiled successfully
 ✓ Linting and checking validity of types
 ✓ Collecting page data
   Generating static pages (1/7)  [=   ]
RangeError: Maximum call stack size exceeded
    at P (/Users/filipjurkovic/Dev/izyPOS/izypos-dashboard/.next/server/chunks/5.js:12:100780)
    at l (/Users/filipjurkovic/Dev/izyPOS/izypos-dashboard/.next/server/chunks/5.js:12:95971)
    at /Users/filipjurkovic/Dev/izyPOS/izypos-dashboard/.next/server/chunks/5.js:12:97172
    at Array.forEach (<anonymous>)
    at /Users/filipjurkovic/Dev/izyPOS/izypos-dashboard/.next/server/chunks/5.js:12:97145
    at Array.forEach (<anonymous>)
    at a (/Users/filipjurkovic/Dev/izyPOS/izypos-dashboard/.next/server/chunks/5.js:12:96965)
    at /Users/filipjurkovic/Dev/izyPOS/izypos-dashboard/.next/server/chunks/5.js:12:97229
    at Array.forEach (<anonymous>)
    at l (/Users/filipjurkovic/Dev/izyPOS/izypos-dashboard/.next/server/chunks/5.js:12:96922)

Error occurred prerendering page "/_not-found". Read more: https://nextjs.org/docs/messages/prerender-error
RangeError: Maximum call stack size exceeded
    at P (/Users/filipjurkovic/Dev/izyPOS/izypos-dashboard/.next/server/chunks/5.js:12:100780)
    at l (/Users/filipjurkovic/Dev/izyPOS/izypos-dashboard/.next/server/chunks/5.js:12:95971)
    at /Users/filipjurkovic/Dev/izyPOS/izypos-dashboard/.next/server/chunks/5.js:12:97172
    at Array.forEach (<anonymous>)
    at /Users/filipjurkovic/Dev/izyPOS/izypos-dashboard/.next/server/chunks/5.js:12:97145
    at Array.forEach (<anonymous>)
    at a (/Users/filipjurkovic/Dev/izyPOS/izypos-dashboard/.next/server/chunks/5.js:12:96965)
    at /Users/filipjurkovic/Dev/izyPOS/izypos-dashboard/.next/server/chunks/5.js:12:97229
    at Array.forEach (<anonymous>)
    at l (/Users/filipjurkovic/Dev/izyPOS/izypos-dashboard/.next/server/chunks/5.js:12:96922)
RangeError: Maximum call stack size exceeded
    at P (/Users/filipjurkovic/Dev/izyPOS/izypos-dashboard/.next/server/chunks/5.js:12:100780)
    at l (/Users/filipjurkovic/Dev/izyPOS/izypos-dashboard/.next/server/chunks/5.js:12:95971)
    at /Users/filipjurkovic/Dev/izyPOS/izypos-dashboard/.next/server/chunks/5.js:12:97172
    at Array.forEach (<anonymous>)
    at /Users/filipjurkovic/Dev/izyPOS/izypos-dashboard/.next/server/chunks/5.js:12:97145
    at Array.forEach (<anonymous>)
    at a (/Users/filipjurkovic/Dev/izyPOS/izypos-dashboard/.next/server/chunks/5.js:12:96965)
    at /Users/filipjurkovic/Dev/izyPOS/izypos-dashboard/.next/server/chunks/5.js:12:97229
    at Array.forEach (<anonymous>)
    at l (/Users/filipjurkovic/Dev/izyPOS/izypos-dashboard/.next/server/chunks/5.js:12:96922)

Error occurred prerendering page "/companies". Read more: https://nextjs.org/docs/messages/prerender-error
RangeError: Maximum call stack size exceeded
    at P (/Users/filipjurkovic/Dev/izyPOS/izypos-dashboard/.next/server/chunks/5.js:12:100780)
    at l (/Users/filipjurkovic/Dev/izyPOS/izypos-dashboard/.next/server/chunks/5.js:12:95971)
    at /Users/filipjurkovic/Dev/izyPOS/izypos-dashboard/.next/server/chunks/5.js:12:97172
    at Array.forEach (<anonymous>)
    at /Users/filipjurkovic/Dev/izyPOS/izypos-dashboard/.next/server/chunks/5.js:12:97145
    at Array.forEach (<anonymous>)
    at a (/Users/filipjurkovic/Dev/izyPOS/izypos-dashboard/.next/server/chunks/5.js:12:96965)
    at /Users/filipjurkovic/Dev/izyPOS/izypos-dashboard/.next/server/chunks/5.js:12:97229
    at Array.forEach (<anonymous>)
    at l (/Users/filipjurkovic/Dev/izyPOS/izypos-dashboard/.next/server/chunks/5.js:12:96922)
RangeError: Maximum call stack size exceeded
    at P (/Users/filipjurkovic/Dev/izyPOS/izypos-dashboard/.next/server/chunks/5.js:12:100780)
    at l (/Users/filipjurkovic/Dev/izyPOS/izypos-dashboard/.next/server/chunks/5.js:12:95971)
    at /Users/filipjurkovic/Dev/izyPOS/izypos-dashboard/.next/server/chunks/5.js:12:97172
    at Array.forEach (<anonymous>)
    at /Users/filipjurkovic/Dev/izyPOS/izypos-dashboard/.next/server/chunks/5.js:12:97145
    at Array.forEach (<anonymous>)
    at a (/Users/filipjurkovic/Dev/izyPOS/izypos-dashboard/.next/server/chunks/5.js:12:96965)
    at /Users/filipjurkovic/Dev/izyPOS/izypos-dashboard/.next/server/chunks/5.js:12:97229
    at Array.forEach (<anonymous>)
    at l (/Users/filipjurkovic/Dev/izyPOS/izypos-dashboard/.next/server/chunks/5.js:12:96922)

Error occurred prerendering page "/tenants". Read more: https://nextjs.org/docs/messages/prerender-error
RangeError: Maximum call stack size exceeded
    at P (/Users/filipjurkovic/Dev/izyPOS/izypos-dashboard/.next/server/chunks/5.js:12:100780)
    at l (/Users/filipjurkovic/Dev/izyPOS/izypos-dashboard/.next/server/chunks/5.js:12:95971)
    at /Users/filipjurkovic/Dev/izyPOS/izypos-dashboard/.next/server/chunks/5.js:12:97172
    at Array.forEach (<anonymous>)
    at /Users/filipjurkovic/Dev/izyPOS/izypos-dashboard/.next/server/chunks/5.js:12:97145
    at Array.forEach (<anonymous>)
    at a (/Users/filipjurkovic/Dev/izyPOS/izypos-dashboard/.next/server/chunks/5.js:12:96965)
    at /Users/filipjurkovic/Dev/izyPOS/izypos-dashboard/.next/server/chunks/5.js:12:97229
    at Array.forEach (<anonymous>)
    at l (/Users/filipjurkovic/Dev/izyPOS/izypos-dashboard/.next/server/chunks/5.js:12:96922)
RangeError: Maximum call stack size exceeded
    at P (/Users/filipjurkovic/Dev/izyPOS/izypos-dashboard/.next/server/chunks/5.js:12:100780)
    at l (/Users/filipjurkovic/Dev/izyPOS/izypos-dashboard/.next/server/chunks/5.js:12:95971)
    at /Users/filipjurkovic/Dev/izyPOS/izypos-dashboard/.next/server/chunks/5.js:12:97172
    at Array.forEach (<anonymous>)
    at /Users/filipjurkovic/Dev/izyPOS/izypos-dashboard/.next/server/chunks/5.js:12:97145
    at Array.forEach (<anonymous>)
    at a (/Users/filipjurkovic/Dev/izyPOS/izypos-dashboard/.next/server/chunks/5.js:12:96965)
    at /Users/filipjurkovic/Dev/izyPOS/izypos-dashboard/.next/server/chunks/5.js:12:97229
    at Array.forEach (<anonymous>)
    at l (/Users/filipjurkovic/Dev/izyPOS/izypos-dashboard/.next/server/chunks/5.js:12:96922)

Error occurred prerendering page "/". Read more: https://nextjs.org/docs/messages/prerender-error
RangeError: Maximum call stack size exceeded
    at P (/Users/filipjurkovic/Dev/izyPOS/izypos-dashboard/.next/server/chunks/5.js:12:100780)
    at l (/Users/filipjurkovic/Dev/izyPOS/izypos-dashboard/.next/server/chunks/5.js:12:95971)
    at /Users/filipjurkovic/Dev/izyPOS/izypos-dashboard/.next/server/chunks/5.js:12:97172
    at Array.forEach (<anonymous>)
    at /Users/filipjurkovic/Dev/izyPOS/izypos-dashboard/.next/server/chunks/5.js:12:97145
    at Array.forEach (<anonymous>)
    at a (/Users/filipjurkovic/Dev/izyPOS/izypos-dashboard/.next/server/chunks/5.js:12:96965)
    at /Users/filipjurkovic/Dev/izyPOS/izypos-dashboard/.next/server/chunks/5.js:12:97229
    at Array.forEach (<anonymous>)
    at l (/Users/filipjurkovic/Dev/izyPOS/izypos-dashboard/.next/server/ch
 ✓ Generating static pages (7/7)

> Export encountered errors on following paths:
	/_not-found
	/companies/page: /companies
	/page: /
	/tenants/page: /tenants

Since this I have tried to logically remove parts of the app and even switched to Daisy UI for testing and I have concluded that this is a Material Tailwind issues.
I was wondering if anyone else is struggling with this issue and what have you done about it.
Kind regards,
Filip Jurković

I just encountered a very similar issue. In my case, I upgraded to Next 13.5, and I'm getting Maximum call stack size exceeded when I try to build the project for production with the material-tailwind Dialog included.

I have the same issue. I managed to work around it by using an older version of next
"next": "13.5.4",
Anything newer than that gives me the same Maximum call stack size exceeded error

I have the same issue. I managed to work around it by using an older version of next
"next": "13.5.3",
Anything newer than that gives me the same Maximum call stack size exceeded error

Thank you, 13.5.3 is working for me, as well

I've faced same issue

I've faced this issue with Button component

I have the same problem since NextJs v 3.5.4. Downgrade is not the solution in my case, so I decided to drop material-tailwind...

I've faced this issue with Button component

I had the same issue and downgraded to<EMAIL_ADDRESS>and don't run npm audit fix or npm audit fix --force after downgrading. This is just a temporary solution as I wait for @material-tailwind/react to be updated . You can check my code and the live  production link at github-code & live-production-demo

I've been following https://github.com/vercel/next.js/issues/56614 - does the latest Next.js canary fix the issue for anyone? It does not for me.

When using Material Tailwind, downgrading the next version to 13.5.3 solves the problem. 13.5.4 or higher will cause an error. v13.5.7-canary.9 as well.

Can you assign this issue to me?

I've still faced this error with<EMAIL_ADDRESS>+<EMAIL_ADDRESS>but downgrade nextjs to 13.4.19 work well.
More info:  npm run dev is work well, but npm run build will raise error
@kdy1 I see the issue in nextjs repo is closed but, it seem not. btw thank your hard word.

@alexews v13.5.7-canary.16 will work.

@alexews v13.5.7-canary.16 will work.

Yeah, great, confirmed it works with v13.5.7-canary.16 and also latest v13.5.7-canary.25 without this regression ;)

Thank you for capturing these details, folks. I ran into this, downgrading didn't help much, but v13.5.7-canary.25 works.

I am facing this issue with following versions:

"next": "14.0.3"
"tailwindcss": "^3.3.0"
"postcss": "^8"

I'm facing this issue with the version: "next": "13.5.6"
Problem resolved by upgrading to version: "next": "14.1.0"
🇧🇷🇧🇷


olive-editor-nightly does not install

Bug Report
Package Name: olive-editor-nightly
Current Behaviour
Installing through scoop install olive-editor-nightly does not work. The following error is presented:
PS G:\projects\personal\scoop-versions-bucket> scoop install olive-editor-nightly
Installing 'olive-editor-nightly' (7fea1476) [64bit] from versions bucket
The remote server returned an error: (404) Not Found.
URL https://nightly.link/olive-editor/olive/workflows/ci/master/Olive-7fea1476-Windows-x86_64.zip.zip is not valid

Expected Behaviour
Package should install correctly and be ready to use after running scoop install olive-editor-nightly.
Additional context/output

Possible Solution
I've fixed it on https://github.com/ScoopInstaller/Versions/compare/master...rmobis:scoop-versions-bucket:master, just by updating the url, setting the extract_dir property and removing the workaround for it being a .zip.zip file previously. I have a PR drafted and ready to be submitted as soon as you allow it.
System details
Windows version: 11
OS architecture: 64bit
PowerShell version: 5.1.22000.832
Additional software: Windows Terminal
Scoop Configuration
{
    "lastUpdate":  "2022-09-21T21:03:35.8919215-03:00"
}

@rmobis you should try creating a pull request (PR), it seems you have managed to solve this problem yourself.


Create workflow factories

Created workflow factories to support new workflow ruby tests in the UI repo.


Add numbers in year view

It would be great to see the ammount of media in the Years view like it shows in tags view.

Thank you for your input.
In Years.tsx the result should be than a Map of year -> amount to add this information to the view.
A PR is welcome to fix it. Otherwise I it comes to the list for the after-vacation-time in about a week.

BTW are you evaluating this web gallery for your YouTube channel ;-)

Awesome article. Thanks a lot for the evaluating, reviewing and citing my gallery

Hi @geekedtv I've implemented the amounts of media, image and videos in 6c3446b. See the demo gallery:

Closing this ticket as solved


[ci:component:github.com/gardener/machine-controller-manager:v0.50.1->v0.53.0]

failed to retrieve release-notes

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


[WIP] Investigate export test failure

What this PR does
This test is failing consistently in the storage lanes: https://search.ci.kubevirt.io/?search=http+endpoint+when+exporting+snapshot&maxAge=336h&context=1&type=bug%2Bissue%2Bjunit&name=&excludeName=&maxMatches=5&maxBytes=20971520&groupBy=job.
The failure seems impossible to replicate locally, so I'll use this PR to do some testing.

/test pull-kubevirt-e2e-k8s-1.29-sig-storage
/test pull-kubevirt-e2e-k8s-1.30-sig-storage

Found a way to replicate it locally, thanks @akalenyu!


Jcache example

This is an example of using JCache to provide caching.
Payara Micro includes hazelcast that provides distributed cache across all connected cluster members. It also provides means to pass messages using cache listeners (example is not provided yet).
So far, the implementation relies on jcache-api provided by the runtime. CacheManager is created by a CDI producer when first needed, a cache is used to store data accessed by ScheduleDAO instead of a hashmap. Can easily be extended to cache persistence layer when persistence is added. Application behaves as behore, but the data can be replicated to more nodes if you run multiple nodes. Tested with Payara Micro.
To see how it works, run microservice-schedule.jar multiple times on the same machine:
java -jar target/microservice-schedule.jar [Options]
java -jar target/microservice-schedule.jar [Options]
java -jar target/microservice-schedule.jar [Options]

When multiple instances are running, use ScheduleResource REST endpoint to store some data using one of the nodes (e.g. at port 8080). Then restart the node. After restart, the very same data should be available, as they are retrieved from the other nodes in the cluster.

I created a PR to master branch as I cannot create new branches. This is an experimental proposal and works only with runtimes that provide JCache (like Payara, perhaps TomEE).
Therefore I would rather put it into a separate branch.

@OndrejM LMK if you have any troubles getting this into the samples project.

Is there anywhere where this process is documented? e.g. a "how to contribute" page off microprofile.io? For someone new to the project who wanted to submit a proposal via example like this, there's very little guidance on what goes where and it seems like the only way to find out is to comb the last few months of posts in the Google group. Even the microprofile-samples project isn't really named in a way that makes it obvious that proposals could be accepted there. (would it make sense to have a microprofile-proposals project which is pretty open and lets anyone add a module? The process could be something like....open GitHub issue for the proposal then open a PR with a module named after the GH issue id to keep them in sync)
I'm very happy to help out and create a page to describe all the stuff that's currently agreed!
/cc @gregrluck

Hi @mikecroft - I think that's a good idea.  Perhaps the base microprofile org could have a README explaining all of the various repos as well.  I'd take this to the mailing list for general discussion.


Install RVS license file

SWDEV-318550 -  License file missing in RVS packages
Set and Install RVS license file

Looks good, but can you also add:
set(CPACK_RPM_PACKAGE_LICENSE "MIT")
It's not mentioned in the ticket, but it would save me from going around adding this to all the ROCm packages, since it's missing for most.

@Mystro256 Thanks for review comments. Added set(CPACK_RPM_PACKAGE_LICENSE "MIT") as well.


[WFCORE-4994] Add the ability to adjust the case of a user name using an Elytron principal transformer

Jira: https://issues.redhat.com/browse/WFCORE-4994
To pass CI, this will require an Elytron upgrade.
Analysis Document: https://github.com/wildfly/wildfly-proposals/pull/315
Requires: https://issues.redhat.com/browse/ELY-1987
Elytron PR with tests: https://github.com/wildfly-security/wildfly-elytron/pull/1418
Wildfly PR with tests and documentation updates: https://github.com/wildfly/wildfly/pull/13379

Core - Full Integration Build 9708 outcome was FAILURE using a merge of 7e3b6898bdaba6ecd6dd90ced02ebc3db5336558
Summary: Compilation error: Compiler (new) Build time: 00:01:04

Core - Full Integration Build 9737 outcome was FAILURE using a merge of 7e3b6898bdaba6ecd6dd90ced02ebc3db5336558
Summary: Compilation error: Compiler (new) Build time: 00:02:33

Core - Full Integration Build 9710 outcome was FAILURE using a merge of 3d1ce210d96bcf6b588c479ffe8f51797680581d
Summary: Compilation error: Compiler Build time: 00:01:07

Core - Full Integration Build 9739 outcome was FAILURE using a merge of 3d1ce210d96bcf6b588c479ffe8f51797680581d
Summary: Compilation error: Compiler Build time: 00:02:08

Core - Full Integration Build 9744 outcome was FAILURE using a merge of 3d1ce210d96bcf6b588c479ffe8f51797680581d
Summary: Compilation error: Compiler Build time: 00:00:57

@SoniaZaldana This PR has some conflicts that need to be resolved whenever you get a chance.

@fjuma I resolved the conflicts.

Core - Full Integration Build 9830 outcome was FAILURE using a merge of c9980cedcd2099e6c49283d1178bf6988138d511
Summary: Compilation error: Compiler (new) Build time: 00:00:57

Core - Full Integration Build 9788 outcome was FAILURE using a merge of c9980cedcd2099e6c49283d1178bf6988138d511
Summary: Compilation error: Compiler (new) Build time: 00:01:27

This PR is currently being processed via the RFE process so it still active.

Core - Full Integration Build 9910 outcome was FAILURE using a merge of 9a257d67ce6bf06b94e8477ae3430f62707a0e9d
Summary: Compilation error: Compiler (new) Build time: 00:02:31

Core - Full Integration Build 9960 outcome was FAILURE using a merge of 9a257d67ce6bf06b94e8477ae3430f62707a0e9d
Summary: Compilation error: Compiler (new) Build time: 00:01:11

Core - Full Integration Build 9955 outcome was FAILURE using a merge of 122f322594b5d275486c524ba324c9df3f30aa68
Summary: Compilation error: Compiler Build time: 00:01:18

Core - Full Integration Build 10000 outcome was FAILURE using a merge of 122f322594b5d275486c524ba324c9df3f30aa68
Summary: Compilation error: Compiler Build time: 00:00:56

Core - Full Integration Build 9956 outcome was FAILURE using a merge of cb0eb71a1c61206a9c0a8e83eebe6d9b423e8532
Summary: Compilation error: Compiler Build time: 00:01:04

Core - Full Integration Build 10001 outcome was FAILURE using a merge of cb0eb71a1c61206a9c0a8e83eebe6d9b423e8532
Summary: Compilation error: Compiler Build time: 00:01:55

Core - Full Integration Build 9957 outcome was FAILURE using a merge of 68ad4d8bd752e88c516c4394ca439b9b6615d822
Summary: Compilation error: Compiler Build time: 00:00:58

Core - Full Integration Build 10002 outcome was FAILURE using a merge of 68ad4d8bd752e88c516c4394ca439b9b6615d822
Summary: Compilation error: Compiler Build time: 00:01:14

Core - Full Integration Build 10003 outcome was FAILURE using a merge of 59fbe7f257f6387e200d64479543460f020f9a16
Summary: Compilation error: Compiler Build time: 00:00:57

Core - Full Integration Build 9958 outcome was FAILURE using a merge of 59fbe7f257f6387e200d64479543460f020f9a16
Summary: Compilation error: Compiler Build time: 00:01:31

Core - Full Integration Build 9960 outcome was FAILURE using a merge of d3300b433e7534b9e4b4d4a6f172180dd6d2673d
Summary: Compilation error: Compiler Build time: 00:00:46

Core - Full Integration Build 10005 outcome was FAILURE using a merge of d3300b433e7534b9e4b4d4a6f172180dd6d2673d
Summary: Compilation error: Compiler Build time: 00:00:51

Core - Full Integration Build 9961 outcome was FAILURE using a merge of e57708b2e809bbff66e094981f352f348d3cbbc1
Summary: Compilation error: Compiler Build time: 00:00:45

Core - Full Integration Build 10006 outcome was FAILURE using a merge of e57708b2e809bbff66e094981f352f348d3cbbc1
Summary: Compilation error: Compiler Build time: 00:00:49

Core - Full Integration Build 10147 outcome was FAILURE using a merge of f6876141d7dd7642bc2ca09728c65873b446ac90
Summary: Compilation error: Compiler (new) Build time: 00:02:22

Core - Full Integration Build 10102 outcome was FAILURE using a merge of f6876141d7dd7642bc2ca09728c65873b446ac90
Summary: Compilation error: Compiler (new) Build time: 00:02:30

@SoniaZaldana FYI this one has a merge conflict now that will need resolving.

Core - Full Integration Build 10180 outcome was FAILURE using a merge of dff99099b45423a1dc5d5cf105c6e4bbaaade076
Summary: Execution timeout (new); tests passed: 7048, ignored: 113 Build time: 05:01:10


Added package security updates

Update to latest docker image version and update outdated packages.

Looks good. Please also do the Java 11 one.


Switch to nixpkgs from nixpkgs-channels

The 2nd repo was deprecated an e.g. 20.09 is not present there

Thanks. Fixed in<PHONE_NUMBER>ff8d8c72ca6a145a2a347ebfd335e2


Improve the log generated when a non administrator user login fails

Steps

Create a role with only login permission.
Create a user and assign the created role.
Now try to login to the console with a incorrect password.

Issue : Following log gets printed. Which is misleading. The user is not an Administrator.
TID: [-1234] [] [2017-12-13 17:43:19,350]  WARN {org.wso2.carbon.core.services.util.CarbonAuthenticationUtil} -  Failed Administrator login attempt 'chathura[-1234]' at [2017-12-13 17:43:19,350+0530]

Thank you for your contribution!
We are closing this issue since it has not been prioritized for a long time. Chances are that it has already been solved in more recent versions. If not, we will be re-evaluating this when it becomes a priority.


feat: add rgbd representation of 3d mesh

Goals:
A common input format of 3d data for machine learning model are RGBD images due to the fixed size ndarray representation. RGBD images are usually stored in 2 separate image files, the first one stores the RGB values (shape=(n, m, 3)), the second one stores a depth value for each pixel of the RGB image (shape=(n, m, 1)). Those two ndarray can be concatenated to one ndarray of shape=(n, m, 4).
Representation in DocArray:

Save the two file paths in the .uri attribute of a Documents .chunks

Load the 2 files into 1 tensor and store the tensor of shape=(n, m, 4) in the Document's top level .tensor attribute.

[ ] load chunks uris to top level rgbd image tensor

[ ] check and update documentation, if required. See guide

Codecov Report
Base: 84.40% // Head: 16.84% // Decreases project coverage by -67.56% :warning:

Coverage data is based on head (45192ee) compared to base (6af88dc).
Patch has no changes to coverable lines.

Additional details and impacted files
@@             Coverage Diff             @@
##             main     #753       +/-   ##
===========================================
- Coverage   84.40%   16.84%   -67.57%
===========================================
  Files         133      133
  Lines        6703     6703
===========================================
- Hits         5658     1129     -4529
- Misses       1045     5574     +4529

Flag
Coverage Δ

docarray
16.84% <0.00%> (-67.57%)
:arrow_down:

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

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

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

do we need this params in the notebook ?

can we remove the install lines print statement ? (The trick to do it is to run the pip install, coment the pip install line, run the empty cell, uncomment the pip install)

should not we see the display of the 3d object here ?


Update Cargo.toml. Remove debug info from release build

Debug information uses a lot of space for the binary file, which might result in simple binaries having bigger sizes than the Flash of the device.
In release mode, the program should be as compact as it can be in order to upload it to the microcontroller and use it as a final program/product.
If somebody needs the debug information that should be during developing and testing, for those situations, development profile should be used instead

Hi,
debug information is never written to flash when uploading code to your microcontroller.  It only lives in the ELF file that's produced when compiling the project.  When calling avrdude, only the actual code and data sections of the ELF are written to the MCU's flash.
Generally, this means that there is no reason to not produce debug information in embedded microcontroller projects like these here.

Ok, Thank you for the acclaration!
I had a wrong understanding of how many symbols were being introduced and thought more infomation was being added when debug is enabled.
I understand your point, but having smaller elf files with stripped information still has other small advantages and generally, nobody will expect extra information to be there in a release profile.
If you prefer to leave it like it is I can close the PR. Please tell me.

The motivation for explicitly enabling debug in release was this: When you deploy a firmware (release build) and then later notice a crash on production hardware, you'll want to be able to attach a debugger and take a closer look where it is crashing.  You can only do that if you built the release firmware with debug information back when the release was made.  So it's a saner default in my eyes to have the release info enabled than having it disabled...


Feature request: Support for webp files (LiteSpeed Cache)

Although not yet a native WordPress format, several image conversion plugins support webp as well as caching plugins. Webp support is growing around the web and supported by modern browsers today. Those looking to optimize loading times are leveraging this new format as well as CDN technology so adding support for webp in wp-stateless would be beneficial.

Hi @afonseca08,
So far I have found that ShortPixel Image Optimizer can generate webp when it optimize image.
I think it's not something we can find generic solution, we have add support plugin by plugin.
So we will try to include support for webp generated by ShortPixel inside of the existing compatibility for ShortPixel.

Hi @alimuzzaman, thank you for following-up. I am already using the LiteSpeed Cache for WP plugin:
https://wordpress.org/plugins/litespeed-cache/ which also supports webp. Something like ShortPixel would duplicate functionality and is an additional cost so not an option for me.
Would you be able to look into LiteSpeed Cache plugin compatibility?

@afonseca08
Yes will take a look.

Hi @afonseca08 to test LiteSpeed do I have to install LiteSpeed server?

Hi @afonseca08
Would you like to help me setting up the LiteSpeed, I don't experience with LiteSpeed.
Please contact me so that I can send you login details<EMAIL_ADDRESS>

@alimuzzaman Sure, I just sent you an e-mail. You don't need LiteSpeed server to use the plugin.

@alimuzzaman Can you let me know what is the status of this issue?

@antonkorotkov
Contacted with LiteSpeed support team, they added some new hook.
Here is the response:

Hi,
Thanks for reaching us. Regarding this request, we added couple hooks to WebP generation and validation process. The commit is in https://github.com/litespeedtech/lscache_wp/commit/e33861db9144ae02b9a6feddc56807eb49c90bc0
Please let us know if there is anything more that we need to do.
Best regards,
Hai

@afonseca08
Can you please test?
To test you have to enable compatibility from Media >> Stateless Settings >> Compatibility tab.
https://github.com/wpCloud/wp-stateless/tree/5751b06f2d38a9ffa3a973d0f1d51c7995086f17

Compatibility for ShortPixel Image Optimizer will be handle in separate issue #364.

@alimuzzaman Can you explain how to test LiteSpeed Cache with WP-Stateless? When/Where the webp appears or should it be uploaded manually? I tried but WP does not allow it so I assume this is not what I should do.

@antonkorotkov
You have to enable the Optimize WebP Versions setting in LiteSpeed Cache Settings >> Media tab

Ok, it works for me. I see webp files on GCS

Hi, unfortunately this is not working for me, I just have the original files uploaded, none of then has webp version.

You have to enable the Optimize WebP Versions setting in LiteSpeed Cache Settings >> Media tab

Someone can provide me some assistance?