[add] new notifier/Discord plugin

Implemented feature requests:

Support Discord webhook for notify plugin
Feathub #53.

Implementation:

I based the plugin on the already existing slack plugin
I adapted the schema of the config to correspond to discord webhook format: https://discordapp.com/developers/docs/resources/webhook#execute-webhook

Config usage:
    notify:
      entries:
        message: "{{series_name}} - {{series_id }}"
        via:
          - discord:
              web_hook_url: "{? web_hook_url ?}
              avatar_url: "{? avatar_url ?}
              username: "Flexget"
              embeds:
                - title: "{{series_name}}"
                  description: "{{tvmaze_series_summary|default('Unknown')}}"
                  url: "{{tvmaze_series_url}}"
                  color: 0xe67e22
                  author:
                    name: "Flexget"
                    url: "https://flexget.com"
                    icon_url: "https://i.imgur.com/R66g1Pe.jpg"
                  fields:
                    - name: "Episode Name:"
                      value: "{{tvmaze_episode_name|default('Unknown')}}"
                      inline: True
                    - name: "Score"
                      value: "{{tvmaze_series_rating|default('Unknown')}}"
                      inline: True
                    - name: "Made in"
                      value: ":flag_jp:"
                  thumbnail:
                    url: "{{tvdb_ep_image|default('https://i.imgflip.com/j69nf.jpg')}}"
                  image:
                    url: "{{tvmaze_series_original_image}}"
                  footer:
                    text: "Such amaze, Much wow !"
                    icon_url: "{? icon_url ?}"

Discord output:

To Do:

Wiki

Thanks for this! Can you please update the wiki?

Yes sure I can do that


feat: integration with backend

Integrated it with the backend
Closes #11

Closed in favour of https://github.com/IEEE-VIT/ieeevit.org/pull/13


grpc: Server.Serve failed to create ServerTransport

Requirement - what kind of business use case are you trying to solve?

Problem - what in Jaeger blocks you from solving the requirement?

Proposal - what do you suggest to solve the problem or improve the existing situation?

Any open questions to address

We have  jaegertracing 1.14  deployed on  azure kubernetes cluster .   Collector service is defined as loadbalancer  with annotation , external-dns.alpha.kubernetes.io/hostname ,
our agent  connects the collector using the service dns name ,
I see warning   logs in  collector  log , and making me worried  is there anything wrong.   I see  traces and spans coming in to  jaeger back end   , i.e. Elastic Search.
Below is the log which i keep observing.
WARNING: 2020/04/07 18:40:43 grpc: Server.Serve failed to create ServerTransport:  connection error: desc = "transport: http2Server.HandleStreams failed to receive the preface from client: read tcp <IP_ADDRESS>:14250-><IP_ADDRESS>:50417: read: connection reset by peer"
Any idea/suggestion will be highly appreciated.

@prana24 could you please update to Jaeger 1.17.1?

@pavolloffay getting this kind of warning even on 1.17.1 ^^

I have noticed this  in 1.18 version with storage backend to kafka.
{"level":"warn","ts":1591511301.9598265,"caller":"grpc@v1.27.1/server.go:669","msg":"grpc: Server.Serve failed to create ServerTransport: connection error: desc = \"transport: http2Server.HandleStreams failed to receive the preface from client: EOF\"","system":"grpc","grpc_log":true}

I forgot to update this issue, but I could pin-point it to 'cloud provider' healthchecks on k8s nodes. As this relates to grpc, I've made an issue here: https://github.com/grpc/grpc-go/issues/4234 - When this gets resolved, the package could be updated in Jaeger.

This is now fixed in grpc-go, would be nice to upgrade this package when there is a new release

Unfortunately, I think updating grpc-go is a bit problematic right now. @joe-elliott and @pavolloffay have tried in the past, with no luck.

Unfortunately, I think updating grpc-go is a bit problematic right now. @joe-elliott and @pavolloffay have tried in the past, with no luck.

Ai, that does not boost my confidence xD - Do you perhaps have any related issues/PR's so I can have a look what was blocking? At the moment this issue is spamming our logs insanely. So I have motivation to get it fixed (:

I think the problem is related to gogo, which doesn't seem to work on any recent version of gRPC. And moving away from gogo would cause performance regressions. We have to eventually find a solution to this, as we are one CVE away from being forced to make a decision in a rush...
Perhaps @pavolloffay and @joe-elliott can add comments based on their recollection of the matter?

Maybe we should look into otel collector's pdata, which iirc avoids default proto perf issues.

Here is my attempt at upgrading:
https://github.com/jaegertracing/jaeger/pull/2857
The last few comments show the final hurdles I could not get past.

Perhaps this could be useful: https://vitess.io/blog/2021-06-03-a-new-protobuf-generator-for-go/

^ this is a great find, I think we should try it out. At minimum, it will unblock us to upgrade proto & grpc.

Could this be re-opened as even though we are upgrading to 1.38, the fix for this issue itself is not yet included in 1.38, as this has been made 6 days ago :)
It would require an update to 1.39 or whatever version that includes grpc/grpc-go#4234
Thanks a lot for this upgrade move though. Awesome <3

It may be related to https://github.com/grpc/grpc-go/issues/875

Hey Peeps!
This issue is still happening.
I've had the same issue on the same scenario reported by @prana24

{"level":"info","ts":1685345493.0991235,"caller":"grpc@v1.54.0/server.go:935","msg":"[core][Server #1] grpc: Server.Serve failed to create ServerTransport: connection error: desc = "transport: http2Server.HandleStreams received bogus greeting from client: \"POST /api/v2/spans HTTP/\""","system":"grpc","grpc_log":true}

{"level":"info","ts":1709008560.3461268,"caller":"grpc@v1.61.0/server.go:994","msg":"[core][Server #5] grpc: Server.Serve failed to create ServerTransport: connection error: desc = "transport: http2Server.HandleStreams received bogus greeting from client: \"POST /v1/traces HTTP/1.1\""","system":"grpc","grpc_log":true}

sending HTTP to gRPC port


Removed icon support.

The underlying layout has changed from LinearLayout to FrameLayout in support lib v25.3.0. This means the icon can't be added simply by adding an ImageView to the layout.

An icon on a snackbar isn't part of the Material Design spec.

Won't be removing it.


Out-of-date gems (fixes #619)

Hey @tombruijn!
I keep the backup gem in the Gemfile in order to not forget to install it when updating the Ruby version in the server, because rbenv keeps gems in separate places for different Ruby versions.
The problem is that others gem requires faraday 0.9.0 or newer, so right now I'm not able to include backup gem to the Gemfile.
Thank you.

Hey @tombruijn!
I keep the backup gem in the Gemfile in order to not forget to install it when updating the Ruby version in the server, because rbenv keeps gems in separate places for different Ruby versions.
The problem is that others gem requires faraday 0.9.0 or newer, so right now I'm not able to include backup gem to the Gemfile.
Thank you.

@lucascaton in what Gemfile are you adding it? The Gemfile of your Rails application? It's recommended to create a separate project for your backup configuration with its own Gemfile that pretty much only contains gem "backup".
Let me know if my assumption was correct or not.

What I usually post when I see people adding backup to their rails project Gemfile:

I see you have backup in the same Gemfile as your rails project. This is not recommended. Instead we recommend using a separate project to install and configure backup. It not designed to play nice with other installations due to it's rather harsh gem version locks.

@lucascaton in what Gemfile are you adding it? The Gemfile of your Rails application? It's recommended to create a separate project for your backup configuration with its own Gemfile that pretty much only contains gem "backup".
Let me know if my assumption was correct or not.

What I usually post when I see people adding backup to their rails project Gemfile:

I see you have backup in the same Gemfile as your rails project. This is not recommended. Instead we recommend using a separate project to install and configure backup. It not designed to play nice with other installations due to it's rather harsh gem version locks.

@tombruijn Yes, but as I explained, we usually put it in the project's Gemfile (of all of our projects).
I can't see any problem to update the gems.

@tombruijn Yes, but as I explained, we usually put it in the project's Gemfile (of all of our projects).
I can't see any problem to update the gems.

@lucascaton as I explained, you shouldn't do that. With the hard version locks this gem has it isn't meant to be included in the same bundle as another gem/framework.
This was done long before I joined the project, but I can see why this was done. Other people might also include this in their (rails) projects (which they shouldn't) or have added other gems to their bundle to setup other (experimental) integrations. If we just update it for the sake of updating (it's a different story for bugs and security issues) other setups might break when they update. So we will get another issue/PR, and another one, etc. And since we've burned ourselves already on "just updating" other gems I'm a little hesitant to merge this.
So unless there's a real bug or security issue I will not merge gem version bumps for compatibility in other projects.
This certainly isn't the best approach, but it's the direction this gem is currently on forced by its design. I promise that future versions won't have this problem, but it's nowhere near release just yet. We're working on it though.

@tombruijn No problem, thanks anyway ツ


Added changelog.md file

Added changelog.md file to project root

You are not strong enough with the force yet, young padawan, to influence the Jedi academy.
Check which repo you forked!


Got Call to a member function auth() on null error on filament testing

Package
filament/filament
Package Version
v3.2
Laravel Version
v10.10
Livewire Version
v3.3
PHP Version
php 8.1
Problem description
Hi. I'm writing some tests to check if creating admin process is right. But I got this error:
Call to a member function auth() on null (View: C:\Users\AmirReza\Desktop\Projects\risman-admin\storage\framework\views\a168b0ebcff266df6b662fc4b6d06e88.blade.php)
<?php
namespace Tests\Feature;

use function Pest\Livewire\livewire;
it('creates admin',function () {
        livewire(\App\Filament\Resources\AdminResource\Pages\CreateAdmin::class)
        ->fillForm([

        ])
        ->call('create')
        ->assertHasNoFormErrors();
    }
);

Expected behavior
pass my test
Steps to reproduce
just install packages using composer install and run tests using pest and you will see the error
Reproduction repository
https://github.com/amirrezashahidi83/risman-admin
Relevant log output
No response

aren't this expected behaviour?
i think you should create a user and login with that user
it('creates admin',function () {

    $user = User::factory()->create();
    actingAs($user);

        livewire(\App\Filament\Resources\AdminResource\Pages\CreateAdmin::class)
        ->fillForm([

        ])
        ->call('create')
        ->assertHasNoFormErrors();
    }
);

Thanks for your replay But it didn't worked.
I used dd(auth()->user()); to check my user data and  it was ok,I can test target page successfuly
   $response = $this->get('/admins/create');     $response->assertStatus(200);

hmm does it mean that auth()->user() return an null?

No I mean I can see user data without any problem. Here is output of dd():
App\Models\Admin {#3090   #connection: "mysql"   #table: "admins"   #primaryKey: "id"   #keyType: "int"   +incrementing: true   #with: []   #withCount: []   +preventsLazyLoading: false   #perPage: 15   +exists: true   +wasRecentlyCreated: false   #escapeWhenCastingToString: false   #attributes: array:12 [     "id" => 1     "name" => "admin"     "username" => "admin"     "password" => "$2y$10$q1a0QkbWo0uCKxZKo6IFaODkx/KNO0ndJj8JiwzDlcrL4ZOufc9ma"     "merchant_id" => "80b03beb-5c77-4b95-9c08-891a5fbeab30"     "email" => ""     "remember_token" => "DwQA11AyzRquqRzhTEGmNrjsSNyjS47fEjeZ6E8DMae2Of0XMxfMcXubMwsi"     "created_at" => "2022-12-19 14:44:08"     "updated_at" => "0000-00-00 00:00:00"     "role" => "super"     "school_id" => null     "mobile_token" => ""   ]   #original: array:12 [     "id" => 1     "name" => "admin"     "username" => "admin"     "password" => "$2y$10$q1a0QkbWo0uCKxZKo6IFaODkx/KNO0ndJj8JiwzDlcrL4ZOufc9ma"     "merchant_id" => "80b03beb-5c77-4b95-9c08-891a5fbeab30"     "email" => ""     "remember_token" => "DwQA11AyzRquqRzhTEGmNrjsSNyjS47fEjeZ6E8DMae2Of0XMxfMcXubMwsi"     "created_at" => "2022-12-19 14:44:08"     "updated_at" => "0000-00-00 00:00:00"     "role" => "super"     "school_id" => null     "mobile_token" => ""   ]   #changes: []   #casts: []   #classCastCache: []   #attributeCastCache: []   #dateFormat: null   #appends: []   #dispatchesEvents: []   #observables: []   #relations: []   #touches: []   +timestamps: true   +usesUniqueIds: false   #hidden: []   #visible: []   #guarded: []   #rememberTokenName: "remember_token"   -roleClass: null   -permissionClass: null   -wildcardClass: null   -wildcardPermissionsIndex: ? array } // tests\Feature\CreateResourcesTest.php:11

I notice few problem after cloning your repo

Your livewire keep giving 419 Problem, which solve by adding it to VerifyCSRFToken Middleware. Ref
You did not install livewire pest plugin  https://pestphp.com/docs/plugins#content-livewire
Your Migration File is wrong, maybe you created your database schema manually without using laravel migration system ( there is no migration script for creating a admin table)
You should use RefreshDatabase trait to get phpunit to automatically refresh your database while you test.

I suggest you to take a deeper dive on study in laravel <3
Cheers!

It solved. I had to inject AdminPanelProvider in my tests


Please change

Hii

Hi @markyjackson-taulia he opened a similar PR in one of my repos, and some others (doing checks here), for me it looks like he is just trying to get the hacktoberfest challenge the easy way.
I leave you a reference, please label this PR as invalid 👎🏾 this is not the open-source spirit hacktoberfest tries to embrace.


Clear Maintainers for Extensions

There is a Sensu Extensions org that does not have as much community stewerdship as the plugins do. I'd like to get our arms around whether:

we default to inviting plugin maintainers to also maintain extensions
who's best to champion this additional set of repos

Agreed, I have have seen users voice their frustration at this. My 2 cents are we should not by default invite plugin maintainers but should be evaluated on a case by case basis in terms of how often they are contributing, the level of contribution, and comfort levels of current maintainers of the extensions org. I believe it should probably follow the same (or almost identical) pattern I am in the process out outlining for sensu-plugins governance.
So far I have only had interactions with @agoddard on these repos/orgs and it was purely can you migrate this over to us but have not seen any actual review happen. This needs to change either we need to add maintainers that will be more active and responsive or we need the existing maintainers of extensions to step up their game. Having a public repo that people can't really contribute to is not helpful and maddening as a user.
Due to the lack of engagement I would propose myself and @eheydrick to be added simply because we need to get the ball rolling on stuff and we are the most active plugin maintainers.

Agreed on the goal. I know @agoddard and team would love to help where they can, but this org needs more community support to stay on its toes. As a stopgap, I've invited those already trusted as plugin maintainers into the extensions org. Before we can do more than that, we need to focus on improving maintainer workflow, which is happening right now.
Updates will come on this thread and ideas are very welcome from the community. Much ❤ to everyone here.

I've invited all current Plugin maintainers to the Extensions organization for visibility. We can still discuss next steps after this.

I'd like to recommend @luisdavim as the first extensions maintainer (which would resolve this issue). If accepted and +1ed, we can document it in the README.md of this repo if accepted and then start the onboard process. cc @majormoses @eheydrick

As per @majormoses request I've opened this:
https://github.com/sensu-plugins/sensu-plugins-feature-requests/issues/37

Oh I could have closed this a while ago. So glad to have you @luisdavim 👏 👏 👏 . We welcome further maintainers as well 😄


Future improvements for Pipeline run log viewer

Use this issue to record some features that haven't been implemented for the first pass for future reference:

After implementing the initial version, assess whether to mask the original notification (log content) retrieved from the server after the log ends.
Provide links for users to access/download the logs of completed pods. Such logs should be stored in object storage (e.g. S3).

The following features are what OpenShift is supporting that could be potentially included in our console in the future:

Keep one version of the previous log in case of a crash loop for reference and troubleshooting purpose
Find/search feature
Support for viewing raw log. This will open a new tab in the browser to show the whole history of the log.
Enhance the functionality to include support for a full-screen log viewer (expand functionality).
Monitoring stale logs and providing a notification with a Refresh button.

Some further clarifications:

After implementing the initial version, assess whether to mask the original notification (log content) retrieved from the server after the log ends.

We were uncertain about the information that the server would return to the log viewer once the log had completed. Now according to the screenshots in #2159 , is it true that the server doesn't return any specific message at the end of the log? If so, I think we could ignore this requirement since the status in the toolbar could totally convey the message that the log is completed.

Provide links for users to access/download the logs of completed pods. Such logs should be stored in object storage (e.g. S3).

This has been brought up during the larger team review. The discussion is about the pod could only be kept for a period of time after it's completed, while it would be nice if users could still download these logs from S3 after the pod is not there.

The following features are what OpenShift is supporting that could be potentially included in our console in the future:

Keep one version of the previous log in case of a crash loop for reference and troubleshooting purpose

Regarding this point, you can refer to the toolbar in this doc. There is a [current log/previous log] dropdown next to the container selection, which allow users to view one previous version.

Monitoring stale logs and providing a notification with a Refresh button.

I have accidentally seen this alert when using OpenShift pod logs. But I don't actually know when it will show up and how to reproduce it.

@yih-wang When you complete this effort, can you post a message either on the Tracker or here and tag @alexcreasy & I? We'll need to create follow up issues that likely won't be done now.
cc @DaoDaoNoCode
Such as going to S3 -- that's not supported today in anyway, and we need to investigate that path and if Pipelines gives us that metadata. Which may need v2 (unsure).

@andrewballantyne What is the timeline for these improvements? If it's not on an urgent schedule, I anticipate beginning work on this in mid-December at the earliest, as my current focus is primarily on Model Registry designs.

Based on roadmaps and what not -- I think we are looking to try and wrap everything up mid January. Sooner the better though.

@andrewballantyne I'll try to complete this within this sprint.

Hi @yih-wang, I'm good with the second approach too but have a few concerns.

I'm a bit concerned about the download icon with the dropdown. I'm afraid that the down arrow(that signifies the dropdown) may look like another option altogether(similar to all the inline actions in the toolbar). Currently, we have a kebab menu for small screens(less than 576 px). Is it okay if we go ahead with this kebab menu? Also, we need to have some space beside download to make way for the downloading spinner that appears just after we click on a download item or download button(as per https://github.com/opendatahub-io/odh-dashboard/pull/2034#issuecomment-1788653279)
This is how it looks like now(based on https://github.com/opendatahub-io/odh-dashboard/pull/2034#discussion_r1383003323)

We currently have a "Step" text item beside the container dropdown. Are we getting rid of that altogether? Or does it stay for anything more than 576 px? This is a screenshot of the current design for your reference.

Hi @andrewballantyne @manaswinidas, I have finalized the design for the new layout of the toolbar. This new design accommodates our current components and offers flexibility for future features. Here is a demo of what a standard-size toolbar looks like.
https://github.com/opendatahub-io/odh-dashboard/assets/23331885/35ffbfe4-042e-4b9c-8f41-aaec81b548c1
And here is what a compact version looks like

I'd like to hear your feedback on this. And I could also share this in the UX meeting on Thursday if you think this solution is doable from your perspective.


[Feature Request] Timeout locking functions

I haven't found that a timeout lock is supported - something like xautolock 's  -time.

xautolock -time 10 -locker betterlockscreen -l should work

xautolock -time 10 -locker betterlockscreen -l
should work

This doesn't seem to be working for me, I try to do xautlock -locknow and that doesn't seem to work.

have you tried putting betterlockscreen -l in quotes?

You have to set -nowlocker for when you lock manually with xautolock -locknow.  -locker is for auto timeout only. Try xautolock -locker "betterlockscreen -l dim" -nowlocker "betterlockscreen -l blur"


AttributeError: 'NoneType' object has no attribute 'shape'

Hello,
I'm trying to train a model using the model.fit() function, but it keeps throwing me an error which I cannot resolve.
The error is:
Traceback (most recent call last):
  File "train.py", line 355, in <module>
    main()
  File "/Users/pietmuller/Dokumente/code/AI/E2EASRS/tensor_venv/lib/python3.8/site-packages/tensorflow/python/autograph/impl/api.py", line 620, in wrapper
    return func(*args, **kwargs)
  File "train.py", line 338, in main
    history = model.fit(
  File "/Users/pietmuller/Dokumente/code/AI/E2EASRS/tensor_venv/lib/python3.8/site-packages/tensorflow/python/keras/engine/training.py", line 1100, in fit
    tmp_logs = self.train_function(iterator)
  File "/Users/pietmuller/Dokumente/code/AI/E2EASRS/tensor_venv/lib/python3.8/site-packages/tensorflow/python/eager/def_function.py", line 828, in __call__
    result = self._call(*args, **kwds)
  File "/Users/pietmuller/Dokumente/code/AI/E2EASRS/tensor_venv/lib/python3.8/site-packages/tensorflow/python/eager/def_function.py", line 871, in _call
    self._initialize(args, kwds, add_initializers_to=initializers)
  File "/Users/pietmuller/Dokumente/code/AI/E2EASRS/tensor_venv/lib/python3.8/site-packages/tensorflow/python/eager/def_function.py", line 725, in _initialize
    self._stateful_fn._get_concrete_function_internal_garbage_collected(  # pylint: disable=protected-access
  File "/Users/pietmuller/Dokumente/code/AI/E2EASRS/tensor_venv/lib/python3.8/site-packages/tensorflow/python/eager/function.py", line 2969, in _get_concrete_function_internal_garbage_collected
    graph_function, _ = self._maybe_define_function(args, kwargs)
  File "/Users/pietmuller/Dokumente/code/AI/E2EASRS/tensor_venv/lib/python3.8/site-packages/tensorflow/python/eager/function.py", line 3361, in _maybe_define_function
    graph_function = self._create_graph_function(args, kwargs)
  File "/Users/pietmuller/Dokumente/code/AI/E2EASRS/tensor_venv/lib/python3.8/site-packages/tensorflow/python/eager/function.py", line 3196, in _create_graph_function
    func_graph_module.func_graph_from_py_func(
  File "/Users/pietmuller/Dokumente/code/AI/E2EASRS/tensor_venv/lib/python3.8/site-packages/tensorflow/python/framework/func_graph.py", line 990, in func_graph_from_py_func
    func_outputs = python_func(*func_args, **func_kwargs)
  File "/Users/pietmuller/Dokumente/code/AI/E2EASRS/tensor_venv/lib/python3.8/site-packages/tensorflow/python/eager/def_function.py", line 634, in wrapped_fn
    out = weak_wrapped_fn().__wrapped__(*args, **kwds)
  File "/Users/pietmuller/Dokumente/code/AI/E2EASRS/tensor_venv/lib/python3.8/site-packages/tensorflow/python/framework/func_graph.py", line 977, in wrapper
    raise e.ag_error_metadata.to_exception(e)
AttributeError: in user code:

    /Users/pietmuller/Dokumente/code/AI/E2EASRS/tensor_venv/lib/python3.8/site-packages/tensorflow/python/keras/engine/training.py:805 train_function  *
        return step_function(self, iterator)
    /Users/pietmuller/Dokumente/code/AI/E2EASRS/tensor_venv/lib/python3.8/site-packages/tensorflow/python/keras/engine/training.py:795 step_function  **
        outputs = model.distribute_strategy.run(run_step, args=(data,))
    /Users/pietmuller/Dokumente/code/AI/E2EASRS/tensor_venv/lib/python3.8/site-packages/tensorflow/python/distribute/distribute_lib.py:1259 run
        return self._extended.call_for_each_replica(fn, args=args, kwargs=kwargs)
    /Users/pietmuller/Dokumente/code/AI/E2EASRS/tensor_venv/lib/python3.8/site-packages/tensorflow/python/distribute/distribute_lib.py:2730 call_for_each_replica
        return self._call_for_each_replica(fn, args, kwargs)
    /Users/pietmuller/Dokumente/code/AI/E2EASRS/tensor_venv/lib/python3.8/site-packages/tensorflow/python/distribute/distribute_lib.py:3417 _call_for_each_replica
        return fn(*args, **kwargs)
    /Users/pietmuller/Dokumente/code/AI/E2EASRS/tensor_venv/lib/python3.8/site-packages/tensorflow/python/keras/engine/training.py:788 run_step  **
        outputs = model.train_step(data)
    /Users/pietmuller/Dokumente/code/AI/E2EASRS/tensor_venv/lib/python3.8/site-packages/tensorflow/python/keras/engine/training.py:758 train_step
        self.compiled_metrics.update_state(y, y_pred, sample_weight)
    /Users/pietmuller/Dokumente/code/AI/E2EASRS/tensor_venv/lib/python3.8/site-packages/tensorflow/python/keras/engine/compile_utils.py:387 update_state
        self.build(y_pred, y_true)
    /Users/pietmuller/Dokumente/code/AI/E2EASRS/tensor_venv/lib/python3.8/site-packages/tensorflow/python/keras/engine/compile_utils.py:317 build
        self._metrics = nest.map_structure_up_to(y_pred, self._get_metric_objects,
    /Users/pietmuller/Dokumente/code/AI/E2EASRS/tensor_venv/lib/python3.8/site-packages/tensorflow/python/util/nest.py:1159 map_structure_up_to
        return map_structure_with_tuple_paths_up_to(
    /Users/pietmuller/Dokumente/code/AI/E2EASRS/tensor_venv/lib/python3.8/site-packages/tensorflow/python/util/nest.py:1257 map_structure_with_tuple_paths_up_to
        results = [
    /Users/pietmuller/Dokumente/code/AI/E2EASRS/tensor_venv/lib/python3.8/site-packages/tensorflow/python/util/nest.py:1258 <listcomp>
        func(*args, **kwargs) for args in zip(flat_path_gen, *flat_value_gen)
    /Users/pietmuller/Dokumente/code/AI/E2EASRS/tensor_venv/lib/python3.8/site-packages/tensorflow/python/util/nest.py:1161 <lambda>
        lambda _, *values: func(*values),  # Discards the path arg.
    /Users/pietmuller/Dokumente/code/AI/E2EASRS/tensor_venv/lib/python3.8/site-packages/tensorflow/python/keras/engine/compile_utils.py:418 _get_metric_objects
        return [self._get_metric_object(m, y_t, y_p) for m in metrics]
    /Users/pietmuller/Dokumente/code/AI/E2EASRS/tensor_venv/lib/python3.8/site-packages/tensorflow/python/keras/engine/compile_utils.py:418 <listcomp>
        return [self._get_metric_object(m, y_t, y_p) for m in metrics]
    /Users/pietmuller/Dokumente/code/AI/E2EASRS/tensor_venv/lib/python3.8/site-packages/tensorflow/python/keras/engine/compile_utils.py:439 _get_metric_object
        y_t_rank = len(y_t.shape.as_list())

    AttributeError: 'NoneType' object has no attribute 'shape'

This is my .fit() function:
history = model.fit(
        train_ds,
        validation_data=val_ds,
        epochs=EPOCHS,
        batch_size=BATCH_SIZE,
        callbacks=[earlyStopping, modelCheckpoint]
    )

My train dataset is a tf.data.Dataset and is of type: <class 'tensorflow.python.data.ops.dataset_ops.BatchDataset'>
The model is building and compiling fine, but training...
When I try to look at the dataset using:
for batch in train_ds.take(1):
    input_shape = batch["spectrogram"].shape
    label_shape = batch["label"].shape
    print('Input shape:', input_shape)

It outputs the shape just fine.
I'm looking forward for help:)

@redmlr,
In order to reproduce the issue reported here, could you please provide the TensorFlow version, the complete code and the dataset you are using. Thanks!

All you need is in this simple colab.https://colab.research.google.com/drive/1MuPS8uruRzWo_tEFJjgVPUOD8NqGPrQG?usp=sharing

@redmlr,
Thank you for the update.
However, I do not have access to the Colab notebook. Could you please provide the required permissions to view the file?

@amahendrakar it should work now:) https://colab.research.google.com/drive/1MuPS8uruRzWo_tEFJjgVPUOD8NqGPrQG?usp=sharing

@redmlr,
Thank you for the gist.
In the given code snippet, the mod_func function returns a Python dictionary. And since Python dictionaries do not have the shape attribute the AttributeError: 'dict' object has no attribute 'shape' error is thrown.
If you require the shape attribute, I'd suggest you to use an alternative data structure. Thanks!

@redmlr,
In this case, you can either return the strings as a Tensor or use the len() function instead of shape for the dictionary.
Please check this gist for reference. Thanks!

@amahendrakar Well, unfortunately it's not that simple. The error occurred in the model.fit() function where I don't have any control over using len() or .shape.

@redmlr,
Could you please provide the complete code snippet along with the model.fit() function, so that we can look into this? Thanks!

This is the main function:
def main():
    train_list, validation_list, test_list = load_json_into_lists(TRAIN_DS_PATH, TEST_DS_PATH)
    train_ds = preprocess_dataset(train_list)
    val_ds = preprocess_dataset(validation_list)
    test_ds = preprocess_dataset(test_list)

    for spectrogram, label in train_ds.take(1):
        input_shape = spectrogram.shape

    train_ds = train_ds.cache().prefetch(AUTOTUNE)
    val_ds = val_ds.cache().prefetch(AUTOTUNE)

    model = build_model(input_shape)
    model.summary()

    earlyStopping = Keras.callbacks.EarlyStopping(monitor="val_loss", mode="min", patience=10, restore_best_weights=True)

    train_ds = train_ds.batch(BATCH_SIZE)
    val_ds = val_ds.batch(BATCH_SIZE)

    print(type(train_ds))

    history = model.fit(
        train_ds,
        validation_data=val_ds,
        epochs=EPOCHS,
        callbacks=[earlyStopping]
    )

def preprocess_dataset(files):

    # Creating a new list, just including the filenames
    filenames_train_list = [sample[0] for sample in files]

    # Converting the filenames into tensors
    filename_tensors = string_to_tensor(tf.constant(filenames_train_list))

    # Creating a tensorflow dataset containing audio filenames
    files_ds = tf.data.Dataset.from_tensor_slices(filename_tensors)

    # Conversion into a waveform dataset (filenames converted to waveforms)
    waveform_ds = files_ds.map(lambda file_path: tf.py_function(get_waveform_and_label, [file_path], [tf.float32, tf.string]), num_parallel_calls=AUTOTUNE)

    # Next Conversion: waveforms into spectrograms
    spectrogram_ds = waveform_ds.map(
        get_spectrogram_and_label, num_parallel_calls=AUTOTUNE
    )

    return spectrogram_ds

@redmlr,
You have defined the functions but are not calling them anywhere. On calling the main() function, I am facing an error stating NameError: name 'load_json_into_lists' is not defined. Please find the gist of it here.
Could you please provide the complete code along with the dataset, so that we can reproduce the issue. Alternatively, you can run the code on Google Colab and share the notebook with us. Thanks!

@amahendrakar Sorry! I updated the gist with some code and comment instructions now.

@redmlr,
Looks like the changes were not saved in the gist. I still see the same code.

Could you please save the changes and share the updated link. You can also save the gist using the following method 'File' -> 'Save a copy as Github Gist', and share the link of the new window. Thanks!


[move-ide] Create an IOTA VS Code Extension Marketplace publisher

To publish the VS Code IOTA Move extension we need to create an account on the marketplace:
https://code.visualstudio.com/api/working-with-extensions/publishing-extension
Also, we need to create a publisher which will be reflected in the extension manifest:
https://code.visualstudio.com/api/working-with-extensions/publishing-extension#create-a-publisher
If we use vsce for the extension publishing, using CI, for example, we need to create a Personal Access Token:
https://code.visualstudio.com/api/working-with-extensions/publishing-extension#get-a-personal-access-token

The publisher has been created.
# vsce login iotaledger
 WARNING  Failed to open credential store. Falling back to storing secrets clear-text in: /root/.vsce
https://marketplace.visualstudio.com/manage/publishers/
Personal Access Token for publisher 'iotaledger': ************************************************************************************

The Personal Access Token verification succeeded for the publisher 'iotaledger'.

@junwei0117 thank you! As I see we should change the published name in the extension manifest to iotaledger.


Remove mqtts from the list of supported schemes

What?
Fixes #46
Removes mqtts in favor of secure-mqtt, which is the right IANA id for the protocol.
Why?
See #46 for more details.

Not needed since #151 got merged.


Error when run

prometheus-es-exporter -p 9206  -e http://localhost:9200 -c /opt/prometheus-es-exporter/exporter.cfg
Traceback (most recent call last):
File "/opt/prometheus-es-exporter/prometheus-es-exporter/bin/prometheus-es-exporter", line 7, in
from prometheus_es_exporter import main
File "/opt/prometheus-es-exporter/prometheus-es-exporter/lib/python3.4/site-packages/prometheus_es_exporter/init.py", line 17, in
from prometheus_es_exporter import cluster_health_parser
File "/opt/prometheus-es-exporter/prometheus-es-exporter/lib/python3.4/site-packages/prometheus_es_exporter/cluster_health_parser.py", line 34
result.extend(parse_block(n_value, metric=metric + [key], labels={**labels, singular_key: [n_key]}))
^
SyntaxError: invalid syntax

Can you advise ?

Hi @thanh3d, looks like the syntax for unpacking a dictionary inside a dictionary display was only added in Python 3.5 (see PEP 448).
I'll push a patch soon, but if you can upgrade your Python version to 3.5+ you can work around it in the meantime.

@thanh3d Released a fix in version 0.4.2. Let me know if you have further issues.


Exception when using ALLOWED_FILE_TYPE

I using string from documentation, and app fail on start
app.config['DROPZONE_ALLOWED_FILE_TYPE'] = 'image/*, .pdf, .txt'
and catch this error in logs

current_app.config['DROPZONE_ALLOWED_FILE_TYPE']]

KeyError: 'image/*, .pdf, .txt'

If you want to use custom type, you'll need to set DROPZONE_ALLOWED_FILE_CUSTOM to True:
app.config['DROPZONE_ALLOWED_FILE_CUSTOM'] = True
app.config['DROPZONE_ALLOWED_FILE_TYPE'] = 'image/*, .pdf, .txt'

Sorry for the poor documentation, here is the detail:
You can use these file type:
allowed_file_type = {
    'default': 'image/*, audio/*, video/*, text/*, application/*',
    'image': 'image/*',
    'audio': 'audio/*',
    'video': 'video/*',
    'text': 'text/*',
    'app': 'application/*'
    }

Just set DROPZONE_ALLOWED_FILE_TYPE to one of default, image, audio, video, text, app,
for example:
app.config['DROPZONE_ALLOWED_FILE_TYPE'] = 'image'

If you want to set the allowed file type by yourself, you need to set
DROPZONE_ALLOWED_FILE_CUSTOM to True, then add mime type or file extensions to
DROPZONE_ALLOWED_FILE_TYPE, such as:
app.config['DROPZONE_ALLOWED_FILE_CUSTOM'] = True
app.config['DROPZONE_ALLOWED_FILE_TYPE'] = 'image/*, .pdf, .txt'

it works. Great, thanks!


libp2p updates:  1.2 goal

@mrodriguez3313 About the capitalization of "libp2p", I was told it should be lowercase (probably marketing and brand), but you can bring it up in the content stand-up to see what's our standard

Merging to use this content in upcoming libp2p updates PRs


Images are not available in other OS, except macOS

After setting up local storage as a source cloud storage all the files are seen in the label-studio (I am using macOS), but unfortunately other users cannot see these photos as they are using other OS (linux, windows). I tried to access the resource from different account, but also from macOS, everything worked fine. Maybe the case is not in OS, but unfortunately I couldn't find anything more explaining the problem. Here I attach the images of the error:

In macOS everything is fine:

To be more precise, the images cannot be opened in Firefox and Chrome, though works fine on Safari.

The problem is solved: tif images are visible in Safari, but not visible in other browsers (I have checked in Firefox and Chrome), so I had to convert tif images into png and change json file with annotations.


Confusing arg name for sequence_loss

Sorry if this is noise, but it's just a minor suggestion to make the API better (before the release of TensorFlow 1.0 where it will be much more difficult to change)
For the function sequence_loss on the master branch, the name of the parameter softmax_loss_function seems to imply that only softmax based loss are compatible which is not true (for instance tf.nn.sigmoid_cross_entropy_with_logits works too). Maybe the name was that just to indicate the default behavior but I think it is misleading.
Why not simply call the parameter loss_function ? It's more representative of what the parameter really does.

contrib and its submodules are not covered by API stability guarantees, so we do have an opportunity to change them. This was introduced in PR #4382
@lukaszkaiser @ebrevdo : Any opinions here?

I think all that code belonged in seq2seq_legacy, it doesn't seem to really
be a good fit for the new seq2seq API.
On Jan 18, 2017 11:08 AM, "Asim Shankar"<EMAIL_ADDRESS>wrote:

contrib and its submodules are not covered by API stability guarantees,
so we do have an opportunity to change them. This was introduced in PR
#4382 https://github.com/tensorflow/tensorflow/pull/4382
@lukaszkaiser https://github.com/lukaszkaiser @ebrevdo
https://github.com/ebrevdo : Any opinions here?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/tensorflow/tensorflow/issues/6937#issuecomment-273569807,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABtim-K6AZzFImUtWSt78An5Fitmd6ukks5rTmM-gaJpZM4LnQBq
.

Automatically closing due to lack of recent activity.
please feel free to reopen if this is still an issue, or better yet, send a pull request with the proposed fix.


[Service Bus] Fix docs generated in Typedoc

Following is a sceenshot from the generated docs with typedoc

https://azuresdkdocs.blob.core.windows.net/$web/javascript/azure-service-bus/7.0.0-preview.6/index.html
logger, isError and toAmqpAnnotatedMessage are meant to be internal and are not exported through index.ts, however they show up in the docs.
TODO: Update the JSdoc comments for these methods/classes/interfaces with @ignore and @internal tags to hide them in the generated type docs.

Done with #11427


PropertyGrid and Tree might become blank when switching widgets

VirtuallizedPropertyGrid and ControlledTree might become blank when switching widgets. This happens when PropertyGrid/Tree is scrolled to the bottom, other widget is opened and then widget containing PropertyGrid/Tree is opened again.
This issue is encountered because when switching widgets components inside aren't unmouted. As both PropertyGrid and Tree uses virtualized list we end up in a situation where list is scrolled to the bottom but scroll returns to the top after opening widget again without scroll event. Need to update virtualized list scroll position in this case.

Fix for this was included in 4.3.0.


_ Prechecks _

+1 :green_heart:
dupname
0m  0s
No case conflicting files found.

+1 :green_heart:
hbaseanti
0m  0s
Patch does not have any anti-patterns.

+1 :green_heart:
@author
0m  0s
The patch does not contain any @author tags.

_ master Compile Tests _

+1 :green_heart:
mvninstall
3m  4s
master passed

+1 :green_heart:
compile
0m 37s
master passed

+1 :green_heart:
checkstyle
0m 15s
master passed

+1 :green_heart:
spotless
0m 44s
branch has no errors when running spotless:check.

+1 :green_heart:
spotbugs
0m 44s
master passed

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
2m 43s
the patch passed

+1 :green_heart:
compile
0m 35s
the patch passed

+1 :green_heart:
javac
0m 35s
the patch passed

+1 :green_heart:
checkstyle
0m 13s
the patch passed

+1 :green_heart:
whitespace
0m  0s
The patch has no whitespace issues.

+1 :green_heart:
hadoopcheck
10m 30s
Patch does not cause any errors with Hadoop 3.2.4 3.3.6.

+1 :green_heart:
spotless
0m 41s
patch has no errors when running spotless:check.

+1 :green_heart:
spotbugs
0m 48s
the patch passed

_ Other Tests _

+1 :green_heart:
asflicense
0m  9s
The patch does not generate ASF License warnings.

28m  0s

Subsystem
Report/Notes

Docker
ClientAPI=1.43 ServerAPI=1.43 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5413/1/artifact/yetus-general-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/5413

Optional Tests
dupname asflicense javac spotbugs hadoopcheck hbaseanti spotless checkstyle compile

uname
Linux 25566a4fc1e6 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
master / 94e4055fd1

Default Java
Eclipse Adoptium-11.0.17+8

Max. process+thread count
77 (vs. ulimit of 30000)

modules
C: hbase-client U: hbase-client

Console output
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-5413/1/console

versions
git=2.34.1 maven=3.8.6 spotbugs=4.7.3

Powered by
Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.


Support for interleaved user interaction

Hi,
On page 12 of the white paper refers that "In the current design, the simulator sequentially simulates each user."
Is it available to support interleaved user interaction now?
Thanks,
Jeremy.

Yes. We implemented a MultiUserEnvironment
https://github.com/google-research/recsim/blob/master/recsim/simulator/environment.py#L225
class
which simulates a batch of users every step. Do you want to take a look and
give it a try? Thanks for using RecSim.
On Mon, Mar 16, 2020 at 7:41 AM jeremy1320<EMAIL_ADDRESS>wrote:

Hi,
On page 12 of the white paper refers that "In the current design, the
simulator sequentially simulates each user."
Is it available to support interleaved user interaction now?
Thanks,
Jeremy.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/google-research/recsim/issues/12, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ALVSYDTHDNS45TGOP6DRVODRHY3CRANCNFSM4LMJOQQQ
.


Include a Change Log

Could you please include a changelog when new versions are released? Thanks

Fair. I'll work on that, thanks.


Regex conversion loses plus character

I ran in to the following issue when validating a schema which checks a date string with a pattern like this:
<xs:pattern value=".+T.+(Z|[+-].+)"/>
I get this kind of error:
failed validating '2015-12-31T13:32:26+02:00' with XsdPatternsFacet(['.+T.+(Z|[+-].+)']).

Reason: value don't match any pattern of ['.+T.+(Z|[+-].+)'].

This pattern seems fine and matches the example if I try it with the python re module directly.
As far as I can tell, this happens in regex.get_python_regex which produces a new regex like this: '^[^\\r\\n]+T[^\\r\\n]+(Z|[\\-][^\\r\\n]+)$' which appears to be missing the "+" character within the brackets.

Caught this error. It was at line 74 of codepoints.py module:
https://github.com/brunato/xmlschema/blob/f2c5d19b677f33745e758d5c8678059b92850164/xmlschema/codepoints.py#L74
The first test has to be changed to last_index <= 1. I'll include this in the next version, adding also a test with your case.
Thanks

The fix is now available on release 0.9.26.


Added OfficeVibe

OfficeVibe charges a one time fee of $3000 for SSO... How hard is it to have ansible/salt/chef scripts to enable that?

@robchahin What changes are required?


Role claims in service user token

As a developer I want to be able to get the roles of a service user in a JWT access token, so I don't have to get them with a second request.
### Acceptance Criteria
- [ ] I am able to request all roles (of a project / projects) by a single scope (`urn:zitadel:iam:org:project:roles` vs `urn:zitadel:iam:org:project:role:{rolekey}`)
- [ ] When requesting all roles by scope, roles of all projects in the audience (requested by scope) are asserted.
    - [ ] Each project is added as a separate claim: `urn:zitadel:iam:org:project:{projectid}:roles`

Additional Information
Is audience scope needed?
Raised in the following bug report: https://github.com/zitadel/zitadel/issues/5266, resp. https://github.com/zitadel/zitadel/issues/5266#issuecomment-1482334609

I don't get your question :)
There are two different scopes:
One which reqeusts all roles urn:zitadel:iam:org:project:roles (to be implemented) and one that reqeusts specific roles: urn:zitadel:iam:org:project:role:{rolekey}
Also the audience scope has to be sent so ZITADEL knows from which project the roles should be read.

I don't get your question :) There are two different scopes: One which reqeusts all roles urn:zitadel:iam:org:project:roles (to be implemented) and one that reqeusts specific roles: urn:zitadel:iam:org:project:role:{rolekey}
Also the audience scope has to be sent so ZITADEL knows from which project the roles should be read.

I don't get how we should check for the roles? if you request two projects and both have the role admin which one should we assert? or should we not care?

WARNING: check for backwards compatibilty


Generalise debugMem and group it with the other debugging helpers

Could we have the debugging helpers in their own module?

Of course.


ApplicationApiOauth2PermissionScopeArgs Id field claims it is computed in version 4.3.0, but getting error that Id is missing

ApplicationApiOauth2PermissionScopeArgs has an Id field that says it is a computed field. However, when I run pulumi up with this code:
 Api = new ApplicationApiArgs
                    {
                        Oauth2PermissionScopes = new ApplicationApiOauth2PermissionScopeArgs
                        {
                            AdminConsentDescription =
                                $"Allow the application to access {Constants.ResourcePrefixes.ActiveDirectory.ServicePrincipal}-{inputArguments.AppServiceName} on behalf of the signed-in user.",
                            AdminConsentDisplayName =
                                $"Access {Constants.ResourcePrefixes.ActiveDirectory.ServicePrincipal}-{inputArguments.AppServiceName}",
                            Type = "User",
                            UserConsentDescription =
                                $"Allow the application to access {Constants.ResourcePrefixes.ActiveDirectory.ServicePrincipal}-{inputArguments.AppServiceName} on your behalf.",
                            UserConsentDisplayName =
                                $"Access {Constants.ResourcePrefixes.ActiveDirectory.ServicePrincipal}-{inputArguments.AppServiceName}",
                            Value = "user_impersonation"
                        }
                    }

I get the error: System.ArgumentNullException: [Input] Pulumi.AzureAD.Inputs.ApplicationApiOauth2PermissionScopeArgs.Id is required but was not given a value (Parameter 'Id')
It seems like it either isn't computing properly or it isn't really computed anymore.
Using Pulumi.AzureAD version 4.3.0

Looking at it today, the Id parameter is marked as required in our docs. Same in the upstream provider:

id - (Required) The unique identifier of the delegated permission. Must be a valid UUID.


Unable to perform training perceiver-ar

If I follow the steps in the ReadMe, I get the following error when training the model.
HONPATH python experiment.py  --config=experiment.py:random_mirrored_32
Traceback (most recent call last):
  File "experiment.py", line 29, in <module>
    from perceiver_ar import dataset
ModuleNotFoundError: No module named 'perceiver_ar'

PYTHONPATH=.::$PYTHONPATH python experiment.py  --config=experiment.py:random_mirrored_32

NO.
I typed the same command as in the previous example, but it was displayed as follows.
 PYTHONPATH=.::$PYTHONPATH python experiment.py  --config=experiment.py:random_mirrored_32
Traceback (most recent call last):
  File "experiment.py", line 29, in <module>
    from perceiver_ar import dataset
ModuleNotFoundError: No module named 'perceiver_ar'

Apologies for not looking into this more earlier, I was offline for a while. I see the problem with the paths in the README now and will fix shortly.


How to use it with SystemJS?

Hi @amansharma0091 this is a very good question.
You have to add the package declaration in system.conf.js.
For example, if you are using angular2-starter, you need to add those few things to the config file.
https://github.com/antonybudianto/angular2-starter/blob/master/src/systemjs.conf.js#L18
https://github.com/antonybudianto/angular2-starter/blob/master/src/systemjs.conf.js#L31
https://github.com/antonybudianto/angular2-starter/blob/master/src/systemjs.conf.js#L38
I would personally recommend moving your project from SystemJs to webpack. As you don't need to touch the configuration file as much and the entire build process will be easier for developers.
There are some good starting points.
Angular2 CLI
Angular2 Webpack Starter
Hope this helps.

Hey @amansharma0091 , any updates?

Closing due to no updates.


Warning about options were not recognized by any processor on compileTestJava task

I have a small project that uses MapStruct with Lombok. I integrated your plugin (which works like a charm :partying_face:), but I see these warnings popping up all the time:
[x80486@uplink:~/Workshop/Development/java-flink-sandbox]$ ./gradlew clean check
To honour the JVM settings for this build a single-use Daemon process will be forked. See https://docs.gradle.org/7.4/userguide/gradle_daemon.html#sec:disabling_the_daemon.
Daemon will be stopped at the end of the build
> Task :clean
> Task :generateEffectiveLombokConfig
> Task :compileJava
> Task :processResources
> Task :classes
> Task :generateTestEffectiveLombokConfig

> Task :compileTestJava
warning: The following options were not recognized by any processor: '[mapstruct.verbose, mapstruct.defaultInjectionStrategy, mapstruct.unmappedTargetPolicy, mapstruct.suppressGeneratorVersionInfoComment, mapstruct.defaultComponentModel, mapstruct.suppressGeneratorTimestamp]'
1 warning

> Task :processTestResources
> Task :testClasses
> Task :test
> Task :check

BUILD SUCCESSFUL in 8s
8 actionable tasks: 8 executed

I completely understand it's just a warning, but at the same time I don't know for sure if it's something caused by MapStruct itself, or because the plugin is not registering correctly (to name it somehow) those.
I'm just applying the plugin via the plugins block without any additional configuration. I'm also using Gradle 7.4 — as you can see in the execution logs.
I do have this task though (not sure if it's overwriting anything):
tasks.withType(JavaCompile) {
  final def arguments = ["-parameters"]
  options.compilerArgs.addAll(arguments)
  options.encoding(StandardCharsets.UTF_8 as String)
}

Hello, x80486!
I took a look at your problem and found that part of code in MapstructPlugin that works with compiler args added them to all existing tasks of type JavaCompile (compileJava, compileTestJava, compileIntegrationTestJava, etc). We need mapstruct only in annotationProcessor configuration and not in testAnnotationProcessor or integrationTestAnnotationProcessor so I decided to focus only on compileJava task and problem gone.
I tested fixed version on my work project and log seems fine:
> Configure project :
...
> Task :bootBuildInfo
> Task :generateMainEffectiveLombokConfig1
> Task :compileJava
> Task :processResources UP-TO-DATE
> Task :classes
> Task :generateTestEffectiveLombokConfig1
> Task :compileTestJava UP-TO-DATE
> Task :processTestResources UP-TO-DATE
> Task :testClasses UP-TO-DATE
> Task :test
...
> Task :jacocoTestReport
BUILD SUCCESSFUL in 17s
9 actionable tasks: 6 executed, 3 up-to-date

Please, take a look at version 1.0.1 and give me a feedback :)

Awesome! The warnings are gone!
[x80486@uplink:~/Workshop/Development/java-flink-sandbox]$ ./gradlew clean check
To honour the JVM settings for this build a single-use Daemon process will be forked. See https://docs.gradle.org/7.4/userguide/gradle_daemon.html#sec:disabling_the_daemon.
Daemon will be stopped at the end of the build
> Task :clean
> Task :generateEffectiveLombokConfig
> Task :compileJava
> Task :processResources
> Task :classes
> Task :generateTestEffectiveLombokConfig
> Task :compileTestJava
> Task :processTestResources
> Task :testClasses
> Task :test
> Task :check

BUILD SUCCESSFUL in 8s
8 actionable tasks: 8 executed

...and everything-MapStruct works like before as well. Thanks for fixing it! :tropical_drink:


Cerebro and Traefik

Hi,
I try to redirect http://URL/cerebro to my cerebro container with traefik, but when i change basePath to "/cerebro", i get a white page after login with title page "{{title}}"...
Traefik configuration :
        traefik.frontend.entryPoints: http,https
        traefik.frontend.rule: PathPrefix:/cerebro
        traefik.docker.network: traefik_traefik_net
        traefik.port: 9000
        traefik.enable: 'true'
        traefik.backend.loadbalancer.method: drr

I have try other configuration:
basePath = "/cerebro/"
        traefik.frontend.entryPoints: http,https
        traefik.frontend.rule: PathPrefix:/cerebro/
        traefik.docker.network: traefik_traefik_net
        traefik.port: 9000
        traefik.enable: 'true'
        traefik.backend.loadbalancer.method: drr

But Cerebro respond only with ending slash (http://URL/cerebro/) not with http://URL/cerebro :/
Any idea ?

@m4dm4rtig4n Have you tried a mix of both?
basePath = "/cerebro/"
traefik.frontend.rule: PathPrefix:/cerebro

The problem seems that the basePath within Cerebro confguration is the path used for the filesystem but not the virtual URL path?
I tested both variants with same error GET /  not found or so in both variants behind Apache 2.4 😢
The problem is with basePath=/ that frontend /cerebro/ call with / as background path works nearly fine but requests for /css/ and /js/files weren't prepended with correct subfolder /cerebro/.


Issue94

fixes #94 with the 'just delete it' strategy. I cited the example given in the Simulations section instead.

Thanks!
On Mon, Mar 2, 2015 at 3:31 PM, Katy Huff<EMAIL_ADDRESS>wrote:

Merged #108 https://github.com/cyclus/fundamentals-paper/pull/108.
—
Reply to this email directly or view it on GitHub
https://github.com/cyclus/fundamentals-paper/pull/108#event-244746032.

--
Matthew Gidden
Ph.D. Candidate, Nuclear Engineering
The University of Wisconsin -- Madison
Ph.<PHONE_NUMBER>


jenkins issue

while giving the sour

cecode repo we are getting the following issue..

please post your error screenshot properly

please fork the project to your github account and try

hi surendra please reply or else close this issue if resolved


Allow arrays for allow and deny in subnet pool

Description
In the dhcp_subnet pool resource you can specify allow and deny
directives as strings, meaning you can only have one of each. Although
possible to achieve higher granularity with subclasses it is sometimes
simpler to just have two directives.
This commit allows for arrays or strings to be specified in the
resource, and coerces the string argument into a single-element array
for consistency.
Issues Resolved
none/new functionality
Contribution Check List

[ ] All tests pass.
[x] New functionality includes testing.
[x] New functionality has been documented in the README if applicable

Hey @ccrebolder would you mind fixing the failures on this branch and I can get it merged in.
Thanks,
Dan

@damacus fixed the cookstyle warnings in the new version that were causing the failures in this branch. Ready now.

Awesome. Thanks @ccrebolder


⚠ ClamAV has degraded performance

In 2651494, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 66 ms

Resolved: ClamAV performance has improved in d5e8347.


Support NV12-encoded images

Added support for logging NV12 encoded images via the existing log_image_file api.
As promissed a while back :)
from rerun import ImageFormat
import rerun as rr

rr.log_image_file("NV12 image", img_bytes=bytes(frame), img_format=ImageFormat.NV12(width=1920, height=1080))

The raw (encoded) image data is stored in an R8Uint texture. The contents of the texture get decoded in the rectangle_fs.wgsl via the decoder written in decodings.wgsl.
Other YUV image formats could be added easily, following the NV12 implementation with slight modifications to the decoder.
Checklist

[x] I have read and agree to Contributor Guide and the Code of Conduct
[x] I've included a screenshot or gif (if applicable)
[x] I have tested demo.rerun.io (if applicable)

PR Build Summary
Docs preview
Examples preview
Recent benchmark results
Wasm size tracking

Example with example image:
nv12_example.zip

If you merge in latest main we should have a working CI for external PRs like this one :)

Fixed remaining warnings and ArrayView conversion. Added a simple python test based on the capture script you posted (not using a capture tho, but just static rerun logo).
Confirmed working on the web just fine! :)

@zrezke looks like I can't push to this PR. I think there's a setting somewhere, but I get confused about this feature all the time.
Can you cherry-pick in

e542a4e
18bf6c3
2e462b7
9942772
thx!

thanks! now 🤞  ci is happy!

I added the example I posted above as examples/python/nv12. Didn't upload a picture to the readme tho, not sure how or if I can do that.

I think you can just kill the fromtatter line with the link that linkinator complained about 🤷

ah I see this thing is giving you a hard time, sorry about that 😅
There's a few shortcuts for the python stuff in the justfile:
just py-format
just py-lint

(the latter only shows issues, don't fix them yet)
And the other thing that probably bites you now is that codegen is now no longer automatic, so you need to manually run cargo codegen :/

Thanks for the commands, I also had to setup my venv with requirements-lint.txt... I installed llvm and flatbuffers compiler like it's specified in the ci_docker/Dockerfile but the cargo codegen doesn't seem to generate any diff on my machine

but the cargo codegen doesn't seem to generate any diff on my machine

having the same issue Oo. Looking into it!

ah ofc that ci step runs against the codegenerator on main... and things are moving fast..
Tried again to push to the PR to no avail. I think this is an option one needs to opt-in on creating the PR.
Fixes:

bb69c1e1d21ecc3d4dbe341dfb527339c5910718
2ad6ecd413606cd88236d98df5168e893e4dcc23
b733d2019031bbf06507a476a5ec75c6be438af6

that's should be all unless main changes again :/

yeaaaah that merge was also too old again as well. Somebody again merged stuff meanwhile to main that changes the codegen's output...

... if everything else goes green I'll just merge this and fix the issue on main then.

🎉

Awesome! :100:


Are we allowed to put others Youtube videos while the app is monetized by ads?

I am using this plugin to display youtube videos that is not mine. Most of these videos are gameplays from mobile game. Is there anyone out there who uses this library and got a problem uploading their app after this? What if the youtube owner of an specific video i embed report my app? What kind of legal issue will i face?
By the way, my app have other contents that i made myself, it just that i wanted to put youtube videos since my application is a guide app

@Albert0405 AFAIK you're not suppose to monetize the content (videos) themselves. If the content helps you to sell something else that it's ok. Google it


rule: allow merging labels from group level

Support merging labels from groups to rule labels
Signed-off-by: Seena Fallah<EMAIL_ADDRESS>

Hi, thanks, interesting! Just for my understanding, was there any feature request discussion around this? Allowing labels for whole groups of rules seems like it would make sense, but not sure if it came just out of the blue or there were talks about it before.
@roidelapluie What do you think?
(btw. if we do this, this PR will also need to update the rule documentation under https://github.com/prometheus/prometheus/blob/main/docs/configuration/recording_rules.md

@juliusv I don't think so (as I didn't find any issue to link), I just needed and implement it 😅
But I think it's really helpful as you won't need to copy-paste labels on each rule in a group.

Yeah, it definitely makes sense to me at a first glance. Would still like to get the opinions of a few more Prometheus people, since rules are a pretty core thing :)

I am mostly worried that blindly adding labels to all rules and groups would add a lot of cardinalty, where it's only needed in practice for a  few alerts.

I am mostly worried that blindly adding labels to all rules and groups would add a lot of cardinalty, where it's only needed in practice for a few alerts.

I think cardinality might be not quite the right term here, since it doesn't create new time series, it just adds (or overrides) labels on existing alert output time series. Obviously it should still only be used if the labels should apply to the whole group. One use case example shown in the new tests here is a team label (and could be similar for severity etc.), but those are usually only wanted in alert outputs, and then any recording rules in the same group (that might be required as inputs to the group's alerts) would get those labels too.

Interesting because we had a related request for the PrometheusRule CRD in prometheus-operator recently (https://github.com/prometheus-operator/prometheus-operator/issues/5050).
The main differences are:

Annotations were also requested (only apply for alerting rules obviously).
The labels/annotations would be declared at the custom resource's level rather than group level (a PrometheusRule object can embed several groups).

Overall I think it makes sense and I'd be pleased if it lands in Prometheus :)

Annotations were also requested (only apply for alerting rules obviously).

Interesting! I wonder if we should also do annotations here. But since annotations only apply to alerting rules, setting them at the group level would be a bit confusing. Although I can see it being useful for stuff like:
annotations:
  runbook: 'https://myrunbooks/{{ $labels.alertname }}'

Still, tending towards not quite doing that yet...

Yeah I think it makes sense too.
As a side note, a new user could mixed things between the labels in the group and the groupedLabels in AlertManager. But I think it's a minor issue.

I think to be coherent and consistent, annotation should be available as well.

Annotations should be per alert, I don't think it is useful for groups.

Ok, seems like everyone has been happy with adding rule group labels for now at least, so let's do that :)

Nice, it looks good to me now. Everyone else happy?

One example in https://github.com/prometheus-operator/prometheus-operator/issues/5050 for having "group annotations" was to identify the origin of a group of alerts (e.g. "link to the mixins source"). I guess people could come with more use cases but I agree that most folks would be ok only having "group labels".
The fact that group labels apply to both alerting & recording rules feel a bit inflexible to me (as @juliusv noted elsewhere, a team label makes sense for alert dispatching, not so much for recorded metrics) but I don't have a good suggestion to solve this :shrug:

Ping

@simonpasquier Yeah, the concern makes sense. Is that an objection to the addition of rule group labels, or do you think it's still ok to merge this?

@simonpasquier Yeah, the concern makes sense. Is that an objection to the addition of rule group labels, or do you think it's still ok to merge this?

ping @simonpasquier

@juliusv Any chance to get in touch with @simonpasquier if this is the only reason this PR is blocking from merge?

Bump

@clwluvw I had pinged him on chat, but not sure there was a response... in lieu of getting a reply from @simonpasquier, maybe @roidelapluie do you think it's ok to merge this anyway? I feel 50/50 on it, I see its usefulness, but also the issue with how labels are useful in different ways across recording+alerting rules, which makes this feature less useful if you also have recording rules in the same rule group (e.g. to precompute some results that are then used in alerting rules).

ping @roidelapluie

ping @roidelapluie

So can we proceed with the merge?
I don't quite get the objection regarding the recording and alerting rule in the same group - It basically can be and maybe someone needs to add a label to the recording rule as well as the one being added to the alerting rule and someone doesn't (basically you can add a custom label to a recording rule - so why grouping that label should be an objection).
It's just a merging option that users can use instead of copy-pasting labels for each rule.

I still feels that this is not the best for users to add labels to every rule and alert. It makes templating also very difficult to reason about.

I understand the potential convenience of adding labels to groups of rules, but I still have concerns about blindly applying labels to all rules in a group. In many cases, individual rules may not require the added label, and it could lead to unnecessary complexity and confusion.
Additionally, Prometheus typically avoids getting involved in config management, and this feature seems to veer into that territory.
Furthermore, labels are templatables, and it seems more intuitive to have them closer to the actual definitions of the rules, rather than separated in a group.
It also raises the question of which definition of the labels takes precedence when there is a conflict between the group and individual rule labels.

Another concern I have with adding labels to recording rules is that for the recording rules that don't need the extra label, any change on that label will change the metric. For example, if the label is used to route alerts to a certain team, team changes will also have an impact and change the generated time series inside the recording rules, in addition to the alerts. This could have unintended consequences and may cause confusion (and metrics alerts on common label change, e.g. if you use min_over_time over the result of such a changed rule).
(Even if labels are only applied to alerts, it still raises similar issues around confusion and templating, as well as questions about precedence in case of conflicting labels)

We have discussed this during our bug scrub and we will discuss it during the Prometheus dev summit to discuss it further and take a decision.

:wave: from the bug scrub.
We are very sorry for the delay. There are sooooo many topic to discuss at the dev summit, and we didn't get to this one yet. We have now upvoted the topic and are fairly certain it will make it to the discussion at the next session in January.
Sorry again…

I'm happy to announce that we finally got to this during the dev summit. The feature got approved, with the added detail that the order of preference is 1) the per-rule labels stanza 2) the group-wide setting 3) the labels generated by the expression.
@clwluvw apologies again for taking so long. Are you still interested in getting this across the finish line? See note by @bboreham above.

the labels API instead of assuming labels.Labels is a slice.

I couldn't find any reference to the API. Can you please point me to the commit or any slice of code that needs to be used rather than what is there? thanks.

By API I mean the functions exported from the labels package. Eg to scan through name/values you can call Range.
https://pkg.go.dev/github.com/prometheus/prometheus/pkg/labels
Run tests with -tags stringlabels to check.
https://prometheus.io/blog/2023/03/21/stringlabel/

bump :)

Apologies; I will look at this again.

thanks, @bboreham for the review. Is there gonna be any plan moving this forward to merge?


can't connect with Client when Agent is launched in a docker container

Although the Client and the Agent is in the same network, They can't connect with each other when using a docker container.
I can ping from container to host IP or gateway IP but I can't ping container's IP from my host machine (window 10).
docker official's site also say it https://docs.docker.com/docker-for-windows/networking/#i-cannot-ping-my-containers
I want to know is there any way to connect Micro-XRCE-DDS-Agent with Micro-XRCE-DDS-Client even though Micro-XRCE-DDS-Agent is installed in Ubuntu which inside a docker container created by docker desktop.

Good morning. Which flags are you using to launch the Docker container? Have you tried using the --net=host option, or is there some reason preventing you from doing that?

I tried to use --net=host but still can't to my micro computer.

This should be working, but I have not faced the situation of running the Micro XRCE-DDS Agent within a Docker that is running within a virtualized Ubuntu environment. I remember having issues with virtualization systems in the past though, not being able to access to the virtualized environment from my host system. This could be related with the network settings of the virtualization tool that you are using (I'm assuming it is virtualBox). Have you checked your network settings? Could you paste them here?

Have you tried to use a configured IP and port in the client? I'm not sure about the multicast networking (used by Agent discovery) inside a virtual machine.

To jamoralp:
I use docker desktop and the host、the client use the same wireless network.
ubuntu's (in docker container) network settings :

host's (windows 10) network settings :

To pablogs9 :
the client's IP is allocated by micro computer's script and I don't need to do anything about the client. (I think so)

Closing due to inactivity. Reopen if needed.


1.0 Dev GSOC page added

Signed-off-by: krishna katyal<EMAIL_ADDRESS>Added page for the GSoC program
@fzliu @filip-halt  have a look

Put this under Developer Guides/Contributing. Also be sure you signed off your PR.


Move terrain type into fully independent objects

... instead of passing a string like "flat" to NeuroMechFlyMuJoCo.__init__.

Add option for odor source also - I will do this.

Let's call this "world" instead, since we will incorporate higher-level features in the environments (see #33). Gym environments are already called "environments," so let's not call it that.


Mass Import/Export from CSV

Is your feature request related to a problem? Please describe.
Frustrating to interact with the API regarding faffery with logins now.
Describe the solution you'd like
Page for admins to mass-import/remove people from CSVs.

Import people from CSV, Import/Export to CSV is in prod and implemented, but needs to have notes on expected format and import events from CSV.


How to install package on sl-pyt?

The pyt relies on the address server. How to install package on sl-pyt?

Hello,
I am not getting the context of your question.
Please provide some more details on what is your need for additional package installation?

For example, I want to use cv2. But it seems there is no this package opencv-python inside.

Hello,
For any additional packages support to machine learning process, user has to do following.

Write a dockerfile to create a local SL image
•	By extending FROM the default SL image (sl-tf or sl-pyt).
•	Add required additional packages
Build the local SL image from above dockerfile.
If local SL image name differs from default SL image, then update ‘common’ script (inside swarm-learning/bin) and make sure following lines uses local SL image.
slTFImage="${swarmDockerHubAndUser}/sl-tf:${swarmVer}" (or)
slPytImage="${swarmDockerHubAndUser}/sl-pyt:${swarmVer}"
As usual run the container using run-sl command.

Closing this issue as instructions provided on the initial query. Please open a new issue in case any further assistance required.


Change condition for retrying kubeconfig init in SKR tests

Description
Retry kubeconfig init in case of any error.
Changes proposed in this pull request:
Related issue(s)

/kind enhancement


add ConditionTaskFinished

Codecov Report

Merging #8 into master will decrease coverage by 1.41%.
The diff coverage is 0%.

@@            Coverage Diff             @@
##           master       #8      +/-   ##
==========================================
- Coverage   65.46%   64.05%   -1.42%
==========================================
  Files           4        4
  Lines         362      370       +8
==========================================
  Hits          237      237
- Misses        112      120       +8
  Partials       13       13

Impacted Files
Coverage Δ

condition.go
55.55% <0%> (-44.45%)
:arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update cefcd0c...d193491. Read the comment docs.


Add docstring for cirq.QasmOutput

Is your feature request related to a use case or problem? Please describe.
The use case is documentation.
Describe the solution you'd like
Basically something like the docstring used here: https://github.com/quantumlib/Cirq/blob/d58423a3f06dd0a40fd8acfdd006d9a876274a7c/cirq/circuits/qasm_output.py#L86
What is the urgency from your perspective for this issue? Is it blocking important work?
We should do it in the next couple of quarters

I'd like to work on this. If I understand correctly, docstring for the constructor of cirq.QasmOutput is missing, right?

@unaiic That's right. Thanks for picking this up!


Impossible build messaging app

Trying build test messaging app I get errors
Undefined symbols for architecture arm64:
"OBJC_CLASS$_UNUserNotificationCenter", referenced from:
objc-class-ref in libMessaging.a(messaging_0d72481c6b9f9d4c5456dcb81aa103f1.o)
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

This is a duplicate of #42 .  You'll need to use Xcode 8 for the moment, until we release a fix that uses weak references to the notification framework.


Upgrade ouroboros-consensus to build with ghc-9.6

[ ] Make it build
[ ] Add it to CI.
[ ] Upload to CHaP.

I tried to assign myself to this but failed due to permissions.

PR https://github.com/input-output-hk/hedgehog-extras/pull/35

This has been done!


remix-serve is incompatible with serverModuleFormat:esm

What version of Remix are you using?
v1.16.0
Are all your remix dependencies & dev-dependencies using the same version?

[X] Yes

Steps to Reproduce
Set the serverModuleFormat to esm and run the server
Expected Behavior
Run without any issues
Actual Behavior
Getting the SyntaxError: Cannot use import statement outside a module from the build/index.js

Can also confirm this seems broken. If you add type: module to the package.json and converting remix.config,js to ES module doesn't work either as @remix-run/serve uses require() to get the build.

Same issue here on 1.16.0. Setting serverModuleFormat to esm, I receive:
GET / 500 - - 1.453 ms
/Users/<USERNAME>/source/hahaha/main/app/api/index.js:12
import { PassThrough } from "stream";
^^^^^^

SyntaxError: Cannot use import statement outside a module
     at Object.compileFunction (node:vm:360:18)
     at wrapSafe (node:internal/modules/cjs/loader:1119:15)
     at Module._compile (node:internal/modules/cjs/loader:1155:27)
     at Object.Module._extensions..js (node:internal/modules/cjs/loader:1245:10)
     at Module.load (node:internal/modules/cjs/loader:1069:32)
     at Function.Module._load (node:internal/modules/cjs/loader:904:12)
     at Module.require (node:internal/modules/cjs/loader:1093:19)
     at require (node:internal/modules/cjs/helpers:108:18)
     at /Users/<USERNAME>/source/hahaha/node_modules/.pnpm/@remix-run+serve@1.16.0/node_modules/@remix-run/serve/dist/index.js:43:17
     at Layer.handle [as handle_request] (/Users/<USERNAME>/source/hahaha/node_modules/.pnpm/express@4.18.2/node_modules/express/lib/router/layer.js:95:5)

Can also confirm this seems broken. If you add type: module to the package.json and converting remix.config,js to ES module doesn't work either as @remix-run/serve uses require() to get the build.

Confirmed, I think, on my end too. I did what I can only assume are the required changes:

changed serverModuleFormat to esm
added type: module to my package.json
changed remix.config.js to ES module

Plus, I added @remix-run/serve to the serverDependenciesToBundle array, just for good measure, and still I get the error about require() in the serve code.

yup, this is broken for me too, using the nightly version of Remix

Yeah ESM is totally broken for me too, same issue with @remix-run/serve using require to import the build.
Error [ERR_REQUIRE_ESM]: require() of ES Module /Users/oli/Code/my-app/build/index.js from<EMAIL_ADDRESS>not supported.
Instead change the require of /Users/oli/Code/my-app/build/index.js in<EMAIL_ADDRESS>to a dynamic import() which is available in all CommonJS modules.
    at /Users/oli/Code/my-app/node_modules/@remix-run/serve/dist/index.js:43:17

This is with a super minimal setup, nothing but type: module in package.json and serverModuleFormat: esm in remix.config.js. Using Remix 1.16.1

The same for me with Remix 1.16.1 anyone was able to find a fix for this?

The same for me with Remix 1.16.1 anyone was able to find a fix for this?

Only fix I could find was changing serverModuleFormat back to cjs in remix config

I'm trying to use PureScript in Remix but can't because it can only produce ES Modules. It has no options for CJS, since that's an old format.

Add it to your server dependencies: https://remix.run/docs/en/1.16.1/pages/gotchas#importing-esm-packages

I did that. I have a PNPM monorepo with packages/ui which packages @code9/todo-ui which is written in PureScript and produces a JS file that is an ESM.
Then in apps/web (Remix application) I use that module and I have it included in the server dependencies:
serverDependenciesToBundle: ['react-movable', '@code9/todo-ui']

Error [ERR_REQUIRE_ESM]: require() of ES Module /home/tom/Code/code9/node/test-astro-solid/packages/ui/dist/index.js from /home/tom/Code/code9/node/test-astro-solid/apps/web/build/index.js not supported.
Instead change the require of /home/tom/Code/code9/node/test-astro-solid/packages/ui/dist/index.js in /home/tom/Code/code9/node/test-astro-solid/apps/web/build/index.js to a dynamic import() which is available in all CommonJS modules.
    at Object.<anonymous> (/home/tom/Code/code9/node/test-astro-solid/apps/web/build/index.js:287:19)
    at /home/tom/Code/code9/node/test-astro-solid/node_modules/.pnpm/@remix-run+serve@1.16.1/node_modules/@remix-run/serve/dist/index.js:43:17

getting this error when trying to use the template: " The template could not be verified. Please double check that the template is a valid GitHub repository and that the filepath points to a directory in the repo and try again."

That branch has been merged to dev, you can now run
npx create-remix --template https://github.com/remix-run/remix/tree/dev/templates/express

You may also need to install @remix-run/serve as a devDependency in the created app.

remix-serve has been updated as part of this PR, but I'm having trouble with windows CI: https://github.com/remix-run/remix/pull/6949

@jacob-ebey just tried upgrading all my @remix-run/* dependencies to the nightly tag. However, I'm still seeing the [ERR_REQUIRE_ESM] issue :/.

@remix-run/serve is not compatible with serverModuleFormat: "esm" in v1 because that would be a breaking change. Once v2 is released, it will be compatible with serverModuleFormat: "esm".
For now, if you are using @remix-run/serve you should set serverModuleFormat: "cjs" in your remix.config.js to explicitly indicate your app setting which will silence the warning and ensure your app is able to upgrade to v2 without issues.

So does this mean in a v1 app that uses @remix-run/serve we cannot opt into the v2 "esm" format?


Update navicat-for-oracle to 11.2.17

After making all changes to the cask:

[x] brew cask audit --download {{cask_file}} is error-free.
[x] brew cask style --fix {{cask_file}} left no offenses.
[x] The commit message includes the cask’s name and version.

Verified locally - thank you for your contribution.


"Baba Ana", "Cireșanu", "Conduratu", "Crângurile", "Satu Nou" are listed in the drop-down menu

Description:
When user writes "Baba Ana", "Cireșanu", "Conduratu", "Crângurile" and "Satu Nou" the locations appear in the drop-down menu next to the comune and the county witch is a part according to the law
Precondition:
The website is up an running.

Step 1
Write in the search bar "Baba Ana"
Expected results
The location appears in the drop-down menu as "Sat Baba Ana, PRAHOVA (Baba Ana)"

Step 2
Press "x" button.
Expected results
The location was deleted from the search bar.

Step 3
Write in the search bar "Cireșanu"
Expected results
The location appears in the drop-down menu as "Sat Cireșanu, PRAHOVA (Baba Ana)"

Step 4
Press "x" button.
Expected results
The location was deleted from the search bar.

Step 5
Write in the search bar "Conduratu"
Expected results
The location appears in the drop-down menu as "Sat Conduratu, PRAHOVA (Baba Ana)"

Step 6
Press "x" button.
Expected results
The location was deleted from the search bar.

Step 7
Write in the search bar "Crângurile"
Expected results
The location appears in the drop-down menu as "Sat Crângurile, PRAHOVA (Baba Ana)"

Step 8
Press "x" button.
Expected results
The location was deleted from the search bar.

Step 9
Write in the search bar "Satu Nou"
Expected results
The location appears in the drop-down menu as "Sat Satu Nou, PRAHOVA (Baba Ana)"


How to use ChatGPTFactory?

You guys did a great work!
I already know from the issue that ChatGPT is supported, but i didn't know how to set ChatGPTFactory in app.py.
Please help guide how to use it.
Thank you.

Hi @jacky68147527,
Firstly, a heartfelt thanks for showing such keen interest in our Zero2Story project. We really appreciate your query regarding the ChatGPTFactory.
We're truly glad to see your enthusiasm for this feature. However, I must inform you that the ChatGPTFactory is still under development. Our team is committed to ensuring that it functions smoothly and reliably.
As of now, we don't have a detailed guide on setting up and using ChatGPTFactory in app.py ready. We understand this might be inconvenient, and we genuinely appreciate your patience during this phase of development.
Please rest assured, we are putting our best efforts to finalize this feature promptly. Once completed, we'll update our documentation with comprehensive instructions.
Stay tuned for updates on our project, and don't hesitate to reach out if you have further questions or require assistance down the line. Your ongoing interest and support mean a great deal to us.
Thank you,
@jphan32 / Sangjoon Han

Thank you for your reply, eagerly waiting for it.


BCE Dates

I am working on a mapping project which includes BCE dates, but I am having trouble getting CartoDB to understand them as dates. So far, the methods I have tried either give me a date in '69 or no date at all.
One way that the data has been inputted is with a format like -0050-11-02 (or 11/02/-50 etc.) to indicate November 2, 50 BCE. This results in "null" when the column is changed from string to date.
Another way that the data has been inputted is with a format like -0049, which results in a '69 date when the column is changed from string to date.
Alternatively, if I try to input the data manually with the column already set to date, I have no option to input anything earlier than 1900.

Workaround by @gabriellehk (source): "inputting the dates as YYYY-MM-DD BC/AD (e.g. 0050-11-02 BC) and then switching the column from string to date"

There has been no activity on this issue for more several months. We are closing it. If you think this still needs to be addressed please open a new issue.


fix: 3239 tests need to strip leading zeros

Description:
Test fix.  Ethereum transaction signatures v and s values need to have leading zeros stripped before being evaluated.
Detailed description can be found in the issue.
Related issue(s):
Fixes #3239

Replaced by #3421


🚀 Feature: integrate firebase authentication

Integrating firebase authentication
Use Case

Firebase authentication will allow us utilize an admin.tinycl.com page and give role based access
Proposed Solution

[ ] Add a check to see if the context is coming from admin.tinycl.com or tinycl.com
[ ] If admin.tinycl.com, request authentication through a login screen
[ ] If a user registers, we add them to our firestore database,
[ ] only users with the role board-member or director can see the editable features

[ ] :wave: I may be able to implement this feature request

This is a :rocket: Feature Request

Closing because switching backend to contentful


Add Avalonia support

Add Avalonia
https://github.com/AvaloniaUI/Avalonia

[x] Microcharts.Avalonia
[x] Microcharts.Samples.Avalonia

@eman1986

I'll take a look at this, I'm hoping that we can expect you to aid in support for this as I'm not really versed with this UI framework and don't honestly plan to be since I mainly work in Xamarin in my day to day operation.

Thank you!
Avalonia is very similar to WPF, but it uses Skia to draw the controls and runs also on Mac, Linux, and mobile devices.
To be honest, I'm no Avalonia expert either, but I'm working on a project using Avalonia and your beautiful charts are a perfect fit. Actually, as Avalonia uses Skia underneath anyway it wasn't very hard to implement this.

that's al I ask 😃
I'll look this over tonight.


vtrace uses lax.scan?

Hi,
I'm wondering is there any fundamental reason the implementation of vtrace uses python for loop rather than lax.scan?
The reason I ask is that it appears that currently vtrace compilation takes significantly longer time than a scan version, which also doesn't seem to give a huge performance benefit?
Is backward pass memory usage the issue here?
My scan based implementation: https://colab.research.google.com/drive/1lnxLNSse90MG8WuUu251KUMCzT0k2H4c#scrollTo=x3oxiZ9ZI5Vs
Benchmark numbers (in seconds):
rlax compile: 22.384824752807617
rlax: 38.763017416000366
scan compile: 0.5877189636230469
scan: 38.86183452606201

Hello,
thanks for reaching out,
The main reason is readability,
since compilation only happens once,
we chose to go wiith the `for loop version as we received feedback that it was easier to read and modify

@mtthss I see that makes sense. Thanks!
I'm going to use my own version with scan than -- in my case since the sequence was long, and there is already an outer python loop around the vtrace, compilation takes very very long because of that.


updated bsSeq descriptions for Unknown Not collected Not applicable Not specified

Added updated descriptions for unknown, not collected, not applicable, not specified where missing.

@avanlinden, I opened a new PR for the remaining missing definitions of the bsSeq manifest.

Running the join_data_model.py script successfully joins the full csv from the modules but fails to convert to json-ld, and swallows the schematic error.
Running schematic schema convert separately gives the following error:
schematic schema convert EL.data.model.csv
Starting schematic...
Parsing data model.
Traceback (most recent call last):
  File "/Users/alinden/Library/Caches/pypoetry/virtualenvs/elite-data-models-7WrDxpD_-py3.10/bin/schematic", line 8, in <module>
    sys.exit(main())
  File "/Users/alinden/Library/Caches/pypoetry/virtualenvs/elite-data-models-7WrDxpD_-py3.10/lib/python3.10/site-packages/click/core.py", line 1157, in __call__
    return self.main(*args, **kwargs)
  File "/Users/alinden/Library/Caches/pypoetry/virtualenvs/elite-data-models-7WrDxpD_-py3.10/lib/python3.10/site-packages/click/core.py", line 1078, in main
    rv = self.invoke(ctx)
  File "/Users/alinden/Library/Caches/pypoetry/virtualenvs/elite-data-models-7WrDxpD_-py3.10/lib/python3.10/site-packages/click/core.py", line 1688, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/Users/alinden/Library/Caches/pypoetry/virtualenvs/elite-data-models-7WrDxpD_-py3.10/lib/python3.10/site-packages/click/core.py", line 1688, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/Users/alinden/Library/Caches/pypoetry/virtualenvs/elite-data-models-7WrDxpD_-py3.10/lib/python3.10/site-packages/click/core.py", line 1434, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/Users/alinden/Library/Caches/pypoetry/virtualenvs/elite-data-models-7WrDxpD_-py3.10/lib/python3.10/site-packages/click/core.py", line 783, in invoke
    return __callback(*args, **kwargs)
  File "/Users/alinden/Library/Caches/pypoetry/virtualenvs/elite-data-models-7WrDxpD_-py3.10/lib/python3.10/site-packages/schematic/schemas/commands.py", line 88, in convert
    data_model_grapher = DataModelGraph(parsed_data_model, data_model_labels)
  File "/Users/alinden/Library/Caches/pypoetry/virtualenvs/elite-data-models-7WrDxpD_-py3.10/lib/python3.10/site-packages/schematic/schemas/data_model_graph.py", line 90, in __init__
    self.graph = self.generate_data_model_graph()
  File "/Users/alinden/.pyenv/versions/3.10.9/lib/python3.10/contextlib.py", line 79, in inner
    return func(*args, **kwds)
  File "/Users/alinden/Library/Caches/pypoetry/virtualenvs/elite-data-models-7WrDxpD_-py3.10/lib/python3.10/site-packages/schematic/schemas/data_model_graph.py", line 117, in generate_data_model_graph
    node_dict = self.dmn.generate_node_dict(
  File "/Users/alinden/Library/Caches/pypoetry/virtualenvs/elite-data-models-7WrDxpD_-py3.10/lib/python3.10/site-packages/schematic/schemas/data_model_nodes.py", line 249, in generate_node_dict
    node_display_name = node_display_name.strip()
AttributeError: 'float' object has no attribute 'strip'

Oh, right, it's line 147 in the EL.data.model.csv -- there's no attribute name in the first column, just an NA. I don't know what happened here but it's on the main branch too, not just a result of the joining process 😬

The error was originally introduced by running the join data model script somehow.

I verified that totalReads.csv is formatted correctly
I manually deleted the truncated row from the full csv data model
I re-ran the join_data_model.py script again and it re-introduced the truncated row for totalReads, in addition to some whitespace before several other attribute names
I spent some time debugging and realized that the data model was getting joined ok, but the csv was not being written correctly
I tried deleting all the modules with the incomplete "file_annotation_template" attributes ported over from AD, since they did not contain any complicated logic and many conflicted with other existing attributes
I then ran the script again and the csv was correctly written, and converted to the json ld

@ameliakallaher I think I got it working!
Here's an empty version of the updated bsSeq assay metadata template--can you take a look and let me know if it looks as expected to you? https://docs.google.com/spreadsheets/d/1QayhJO79tCZ0Lvt2nn-I_Q9omaDrboYFDr3PIvsRNSI/edit?gid=0#gid=0
I checked a few drop-downs and I do see "not applicable"/"not collected"/et al listed as options.

@avanlinden template looks correct to me, thanks!


import command typo

In the file pybamm/solvers/jax_bdf_solver.py, the import command on line 12 is written
from jax.tree_util import tree_map, tree_flatten, tree_unflatten, tree_multimap, partial
but the final term should be the capitalised "Partial" rather than "partial". As it is currently written, an error will prevent the python command "import pybamm" from successfully running.

This is something that I and @tinosulzer encountered too (specifically on ubuntu, with the develop branch), re-installing pybamm worked for us.

@DrMichaelCornish let us know if re-installing fixes this

Hi,
I encountered the same issue. I tried to uninstall and reinstall pybamm, however this did not fix the issue for me. Please refer to the issue mentioned for my current installation.

Weird. Which version of pybamm are you using? Can you navigate to pybamm/solvers/jax_bdf_solver.py and check if partial is being imported from jax.tree_util or from functools?

Hi,
Thank you for your reply.
Here is my pybamm installation:
pip show pybamm
Name: pybamm
Version: 0.2.4.post3

I think I have just noticed another bug. Pip does not install the latest version of pybamm for me. I think I will create another issue for that.
In my installation, in pybamm/solvers/jax_bdf_solver.py, partial is imported from jax.tree_util.

Oh, then this might be a version issue. Updating pybamm would solve this.

Trying to upgrade pybamm gives me the error:
pip install --upgrade pybamm==0.4.0
Defaulting to user installation because normal site-packages is not writeable
Collecting pybamm==0.4.0
  Using cached pybamm-0.4.0-cp39-cp39-manylinux2010_x86_64.whl (1.5 MB)
Requirement already satisfied: jupyter in ./.local/lib/python3.9/site-packages (from pybamm==0.4.0) (1.0.0)
ERROR: Could not find a version that satisfies the requirement jaxlib==0.1.57 (from pybamm) (from versions: 0.1.60, 0.1.61, 0.1.62, 0.1.63, 0.1.64, 0.1.65, 0.1.66, 0.1.67, 0.1.68, 0.1.69, 0.1.70, 0.1.71)
ERROR: No matching distribution found for jaxlib==0.1.57

Maybe pybamm needs to be updated for the latest jaxlib.

Also it looks like you aren't using a virtual environment (based on the path ./.local/lib/python3.9/site-packages). We strongly recomment using one (via virtualenv or conda) to avoid issues like this, compatibility clashes, etc. Not just for pybamm but all your python projects.

Hi,
Thank you for the suggestion. I created a new virtual environment and tried pip install pybamm==0.4.0.post1. Here is the error I got:
pip install pybamm==0.4.0.post1
Collecting pybamm==0.4.0.post1
  Using cached pybamm-0.4.0.post1-cp39-cp39-manylinux2010_x86_64.whl (1.5 MB)
Collecting scipy>=1.3
  Using cached scipy-1.7.1-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.whl (28.5 MB)
Collecting matplotlib>=2.0
  Using cached matplotlib-3.4.3-cp39-cp39-manylinux1_x86_64.whl (10.3 MB)
Collecting numpy>=1.16
  Using cached numpy-1.21.2-cp39-cp39-manylinux_2_12_x86_64.manylinux2010_x86_64.whl (15.8 MB)
ERROR: Could not find a version that satisfies the requirement jaxlib==0.1.57 (from pybamm) (from versions: 0.1.60, 0.1.61, 0.1.62, 0.1.63, 0.1.64, 0.1.65, 0.1.66, 0.1.67, 0.1.68, 0.1.69, 0.1.70, 0.1.71)
ERROR: No matching distribution found for jaxlib==0.1.57

So if I understood this right, pip install pybamm=0.4.0 requires jaxlib==0.1.57, which is the not available. Only jaxlib>=0.1.60 is available.
I wanted to check the version of jaxlib that pybamm==0.2.4.post3 requires. So I created a new virtual environment and tried pip install pybamm==0.2.4.post3. Here is what I got:
pip install pybamm==0.2.4.post3
Successfully installed MarkupSafe-2.0.1 Send2Trash-1.8.0 anytree-2.8.0 argon2-cffi-21.1.0 attrs-21.2.0 autograd-1.3 backcall-0.2.0 bleach-4.1.0 casadi-3.5.5 cffi-1.14.6 cycler-0.10.0 debugpy-1.4.3 decorator-5.0.9 defusedxml-0.7.1 entrypoints-0.3 future-0.18.2 ipykernel-6.4.0 ipython-7.27.0 ipython-genutils-0.2.0 ipywidgets-7.6.4 jedi-0.18.0 jinja2-3.0.1 jsonschema-3.2.0 jupyter-1.0.0 jupyter-client-7.0.2 jupyter-console-6.4.0 jupyter-core-4.7.1 jupyterlab-pygments-0.1.2 jupyterlab-widgets-1.0.1 kiwisolver-1.3.2 matplotlib-3.4.3 matplotlib-inline-0.1.3 meshio-5.0.0 mistune-0.8.4 nbclient-0.5.4 nbconvert-6.1.0 nbformat-5.1.3 nest-asyncio-1.5.1 notebook-6.4.3 numpy-1.21.2 packaging-21.0 pandas-1.3.2 pandocfilters-1.4.3 parso-0.8.2 pexpect-4.8.0 pickleshare-0.7.5 pillow-8.3.2 prometheus-client-0.11.0 prompt-toolkit-3.0.20 ptyprocess-0.7.0 pybamm-0.2.4.post3 pycparser-2.20 pygments-2.10.0 pyparsing-2.4.7 pyrsistent-0.18.0 python-dateutil-2.8.2 pytz-2021.1 pyzmq-22.2.1 qtconsole-5.1.1 qtpy-1.11.0 scikit-fem-3.2.0 scipy-1.7.1 six-1.16.0 terminado-0.12.1 testpath-0.5.0 tornado-6.1 traitlets-5.1.0 wcwidth-0.2.5 webencodings-0.5.1 widgetsnbextension-3.5.1

It did not install jax nor jaxlib.

 Sounds like you got this fixed though


Confusing log output (hyperparameters check)

Project Robyn
Describe issue
in the facebookexperimental/Robyn/R/R/checks.R file,

The output is reversed.
Line 432 should be total_in,  total
Provide reproducible example

I literally provided 6 parameters, but 12 were required.
Environment & Robyn version
Robyn v3.7.1

Thanks for reporting this mistake @sallyhong Fixed! :)


WIREFRAME:  Create work item - full add multiple items

When I create a new work item from Full add - what is the behavior expected for entering the title and saving the work item?  It currently acts a bit odd in prod-preview.  Submitted at least one issue already on changing the title field to be in focus to start typing easier here:  https://github.com/fabric8io/fabric8-planner/issues/1741
How the save behaves should be looked at further though - if I enter something into the field and press tab, enter, or click into another field should it auto-save the name and create the work item?

@mindreeper2420 would it make sense to roll this into the work you're looking at?

@catrobson I think so. I can extend the work from the Quick Add where I looked into having it be in the Detail Panel.

Wireframe Design: https://redhat.invisionapp.com/share/WPBVEZF7C