feat: activity tabs

Thank you for your contribution to the KodaDot NFT gallery.
👇 _ Let's make a quick check before the contribution.
PR Type

[ ] Bugfix
[ ] Feature
[ ] Refactoring
[x] Redesign

Context

[x] Closes #4234
[x] branching from https://github.com/kodadot/nft-gallery/pull/4360, so that PR need to merge first

Before submitting pull request, please make sure:

[x] My contribution builds clean without any errors or warnings
[x] I've merged recent default branch -- main and I've no conflicts
[x] I've tried to respect high code quality standards
[x] I've didn't break any original functionality
[x] I've posted a screenshot of demonstrated change in this PR

Optional

[ ] I've tested it at </bsx/collection>
[ ] I've tested PR on mobile
[ ] I've written unit tests 🧪
[ ] I've found edge cases

Had issue bounty label?

[ ] Fill up your KSM address: Payout

Community participation

[x] Are you at KodaDot Discord?

Screenshot 📸

[x] My fix has changed something on UI; a screenshot is best to understand changes for others.

Merged :)

https://github.com/kodadot/nft-gallery/pull/4360

Seems like the tabs component is getting destroyed and re-rendered sometimes on clicks.
I'm looking at that weird whiteout between clicks; it doesn't always happen and is just pretty random
https://user-images.githubusercontent.com/5887929/206205882-d3186e25-869c-40a4-94f2-b19cb8468187.mov

for this, I will wrap them alongside the table component in this issue #4368, wdyt @roiLeo ?

Yes! I may need your help on #4430
When I move @oruga-ui imports (NeoButton) in histoire.scss the preview is good but I don't have the same rendering in kodadot app.
It would be a shame to have to import in all our new components the oruga-ui variables, lmk if you have any idea why it works this way.

eh, I think we need pagination in this section. so, temporary I will limit the results to 100

feel free to address @exezbcz in case, and I'll go through it with him; we are trying to have weekly calls to resolve some design issues in best efforts

#4403

Plus, I think categories/tags should be as a multi-check box? Like for example, I would like to see Sales and Transfers at once.

Plus, I think categories/tags should be as a multi-check box? Like for example, I would like to see Sales and Transfers at once.

yes, that should work on the multi-check box. maybe the active state to thin? i'm using text-shadow to avoid glitch instead of font-weight bold

Active state to thin is not a great system. Is there really that big of a problem with the bold active state?

Does

#4456 helps fix this?

Current issues are

user doesn't know which tab is currently selected -- bold text issues, we may change to different font?
currently there are missing wrapping text, we can use ... ? For addresses I would like to use some filter function with 3 beginning letters and 3 ending letters for now? Like 2Xk...9oP
hover card should pop up under cursor. Now position is showing over whole table
events name should not be in capslock, only capital letter on event
on the time column we probably can strip "about" if there is "about 1 month ago"
link between tabs and column names should be k-white?

responsive issues but can be solved separately, we will came up with design

let it fly!


More element leaderboards

no idea if this data is stored, but if it is, leaderboards for elements with the most combos that result in them, and elements found by the most people

duplicate of #68

also the 2nd one is kinda useless, because all the low tree size elements will be at the beginning and all the obscure elements are at the end
though once cats are made it'll be more useful


add Context argument to StatelessComponent

any word on getting this merged? When packages have flow errors and they are ignored with $flowIgnore they won't be ignored in user apps unless they have the same directive.
So that means any packages using stateless components accepting a 2nd context argument (whose error is ignored) will show up in user apps that dont have $flowIgnore.


How to login?

Hi,
Thanks for this project, one thing, how can we sign in? There seems no option to register at the first place. For example, if you go here, https://g5-chatbot-ui.vercel.app/ , which credential should be used to login this page?
Thanks
V

Hi, you can’t login on that project. You first need to fork the code into your own repo and provide your own keys for OpenAI and Supabase.

Got it, Thank you


fix(std): fix a couple mistakes in a couple std modules

Added take to std.parser exports and made second parameter of std.foldable.elem implicit

bors r+


Add Ruby 3.1 to the CI matrix

Adds Ruby 3.1 to the CI matrix.  In addition to the minimal change to the CI configuration, the following additional changes are made to support the addition:

The version of the Rails in Gemfile and Gemfile.lock is updated from 7.0.0.rc1 to <IP_ADDRESS>
Additional gem versions in Gemfile.lock are updated via bundle update
The CHANGELOG.md is updated to reflect the above
The 3.0 in the CI configuration is quoted, so that it properly resolves to a 3.0.x version.  An unquoted 3.0 will be truncated to 3, causing it to load the latest Ruby 3 - at this time 3.1.1.  To ensure a 3.0.x version is loaded, we quote the 3.0.

Note that the 3.0 is being truncated to 3, and the version of Ruby being loaded is 3.1.1:


align some versions of axios, yup, ramda between packages

Description
We had different dependencies versions between linode-js-sdk and manager
Type of Change

Non breaking change ('update', 'change')

Ramda last version introduces a problem, must be solved separately.
API of pathOr return never[]


Unable to perform initial chef-server-ctl reconfigure on CentOS 6 & 7

Expected Behavior

Current Behavior
There are two failures which occur during the initial reconfigure:
Recipe: private-chef::bootstrap
  * execute[/opt/opscode/bin/chef-server-ctl start postgresql] action run
    - execute /opt/opscode/bin/chef-server-ctl start postgresql
  * execute[/opt/opscode/bin/chef-server-ctl start oc_bifrost] action run
    - execute /opt/opscode/bin/chef-server-ctl start oc_bifrost
  * ruby_block[bootstrap-chef-server-data] action run

    ================================================================================
    Error executing action `run` on resource 'ruby_block[bootstrap-chef-server-data]'
    ================================================================================

    Errno::ECONNREFUSED
    -------------------
    Failed to open TCP connection to <IP_ADDRESS>:9463 (Connection refused - connect(2) for "<IP_ADDRESS>" port 9463)

    Cookbook Trace:
    ---------------
    /var/opt/opscode/local-mode-cache/cookbooks/private-chef/libraries/chef_server_data_bootstrap.rb:199:in `bifrost_request'
    /var/opt/opscode/local-mode-cache/cookbooks/private-chef/libraries/chef_server_data_bootstrap.rb:166:in `create_object_in_authz'
    /var/opt/opscode/local-mode-cache/cookbooks/private-chef/libraries/chef_server_data_bootstrap.rb:158:in `create_actor_in_authz'
    /var/opt/opscode/local-mode-cache/cookbooks/private-chef/libraries/chef_server_data_bootstrap.rb:40:in `bootstrap'
    /var/opt/opscode/local-mode-cache/cookbooks/private-chef/recipes/bootstrap.rb:36:in `block (2 levels) in from_file'

    Resource Declaration:
    ---------------------
    # In /var/opt/opscode/local-mode-cache/cookbooks/private-chef/recipes/bootstrap.rb

     34: ruby_block "bootstrap-chef-server-data" do
     35:   block do
     36:     ChefServerDataBootstrap.new(node).bootstrap
     37:   end
     38:   not_if { OmnibusHelper.has_been_bootstrapped? }
     39:   notifies :restart, 'service[opscode-erchef]'
     40: end
     41:

    Compiled Resource:
    ------------------
    # Declared in /var/opt/opscode/local-mode-cache/cookbooks/private-chef/recipes/bootstrap.rb:34:in `from_file'

    ruby_block("bootstrap-chef-server-data") do
      action [:run]
      default_guard_interpreter :default
      declared_type :ruby_block
      cookbook_name "private-chef"
      recipe_name "bootstrap"
      block #<Proc:0x00000000042b8820@/var/opt/opscode/local-mode-cache/cookbooks/private-chef/recipes/bootstrap.rb:35>
      block_name "bootstrap-chef-server-data"
      not_if { #code block }
    end

    System Info:
    ------------
    chef_version=14.3.37
    platform=centos
    platform_version=6.10
    ruby=ruby 2.5.1p57 (2018-03-29 revision 63029) [x86_64-linux]
    program_name=/opt/opscode/embedded/bin/chef-client
    executable=/opt/opscode/embedded/bin/chef-client

Recipe: private-chef::postgresql
  * runit_service[postgresql] action restart (up to date)
  * execute[restart_postgresql_log_service] action run
    - execute /opt/opscode/embedded/bin/sv restart /opt/opscode/sv/postgresql/log
Recipe: private-chef::oc_bifrost
  * runit_service[oc_bifrost] action restart (up to date)
  * execute[restart_oc_bifrost_log_service] action run
    - execute /opt/opscode/embedded/bin/sv restart /opt/opscode/sv/oc_bifrost/log
Recipe: private-chef::oc_id
  * runit_service[oc_id] action restart (up to date)
  * execute[restart_oc_id_log_service] action run
    - execute /opt/opscode/embedded/bin/sv restart /opt/opscode/sv/oc_id/log
Recipe: private-chef::nginx
  * runit_service[nginx] action restart

    ================================================================================
    Error executing action `restart` on resource 'runit_service[nginx]'
    ================================================================================

    Mixlib::ShellOut::ShellCommandFailed
    ------------------------------------
    Expected process to exit with [0], but received '1'
    ---- Begin output of /opt/opscode/embedded/bin/sv restart /opt/opscode/service/nginx ----
    STDOUT: fail: /opt/opscode/service/nginx: unable to change to service directory: file does not exist
    STDERR:
    ---- End output of /opt/opscode/embedded/bin/sv restart /opt/opscode/service/nginx ----
    Ran /opt/opscode/embedded/bin/sv restart /opt/opscode/service/nginx returned 1

    Cookbook Trace:
    ---------------
    /var/opt/opscode/local-mode-cache/cookbooks/runit/libraries/helpers.rb:174:in `tap'
    /var/opt/opscode/local-mode-cache/cookbooks/runit/libraries/helpers.rb:174:in `safe_sv_shellout!'
    /var/opt/opscode/local-mode-cache/cookbooks/runit/libraries/helpers.rb:202:in `restart_service'
    /var/opt/opscode/local-mode-cache/cookbooks/runit/libraries/provider_runit_service.rb:330:in `block in <class:RunitService>'

    Resource Declaration:
    ---------------------
    # In /var/opt/opscode/local-mode-cache/cookbooks/enterprise/definitions/component_runit_service.rb

     37:   runit_service component do
     38:     action :enable
     39:     retries 20
     40:     control params[:control] if params[:control]
     41:     options(
     42:       log_directory: log_directory
     43:     )
     44:     params[:runit_attributes].each do |attr_name, attr_value|
     45:       send(attr_name.to_sym, attr_value)
     46:     end
     47:   end
     48:

    Compiled Resource:
    ------------------
    # Declared in /var/opt/opscode/local-mode-cache/cookbooks/enterprise/definitions/component_runit_service.rb:37:in `block in from_file'

    runit_service("nginx") do
      params {:package=>"private_chef", :log_directory=>nil, :svlogd_size=>nil, :svlogd_num=>nil, :ha=>nil, :control=>nil, :runit_attributes=>{}, :action=>:enable, :name=>"nginx"}
      provider Chef::Provider::RunitService
      action [:enable]
      default_guard_interpreter :default
      service_name "nginx"
      enabled false
      running false
      masked nil
      options {:log_directory=>"/var/log/opscode/nginx"}
      pattern "nginx"
      status_command "/opt/opscode/embedded/bin/sv status /opt/opscode/service"
      supports {:restart=>true, :reload=>true, :status=>true}
      sv_bin "/opt/opscode/embedded/bin/sv"
      sv_dir "/opt/opscode/sv"
      service_dir "/opt/opscode/service"
      lsb_init_dir "/opt/opscode/init"
      log true
      restart_on_update true
      run_template_name "nginx"
      log_template_name "nginx"
      check_script_template_name "nginx"
      finish_script_template_name "nginx"
      sv_templates true
      log_dir "/var/log/nginx"
      service_mirror # Declared in

    service("nginx") do
      provider Chef::Provider::Service::Simple
      action [:nothing]
      default_guard_interpreter :default
      service_name "nginx"
      enabled nil
      running nil
      masked nil
      pattern "nginx"
      start_command "/opt/opscode/embedded/bin/sv start /opt/opscode/service/nginx"
      stop_command "/opt/opscode/embedded/bin/sv stop /opt/opscode/service/nginx"
      status_command "/opt/opscode/embedded/bin/sv status /opt/opscode/service/nginx"
      restart_command "/opt/opscode/embedded/bin/sv restart /opt/opscode/service/nginx"
      supports {:restart=>true, :reload=>true, :status=>true}
    end

      declared_type :runit_service
      cookbook_name "private-chef"
      recipe_name "nginx"
      retries 20
    end

    System Info:
    ------------
    chef_version=14.3.37
    platform=centos
    platform_version=6.10
    ruby=ruby 2.5.1p57 (2018-03-29 revision 63029) [x86_64-linux]
    program_name=/opt/opscode/embedded/bin/chef-client
    executable=/opt/opscode/embedded/bin/chef-client

Recipe: private-chef::opscode-solr4
  * runit_service[opscode-solr4] action restart (up to date)
  * execute[restart_opscode-solr4_log_service] action run
    - execute /opt/opscode/embedded/bin/sv restart /opt/opscode/sv/opscode-solr4/log
Recipe: private-chef::opscode-expander
  * runit_service[opscode-expander] action restart (up to date)
  * execute[restart_opscode-expander_log_service] action run
    - execute /opt/opscode/embedded/bin/sv restart /opt/opscode/sv/opscode-expander/log
Recipe: private-chef::bookshelf
  * runit_service[bookshelf] action restart (up to date)
  * execute[restart_bookshelf_log_service] action run
    - execute /opt/opscode/embedded/bin/sv restart /opt/opscode/sv/bookshelf/log
Recipe: private-chef::opscode-erchef
  * runit_service[opscode-erchef] action restart (up to date)
  * execute[restart_opscode-erchef_log_service] action run
    - execute /opt/opscode/embedded/bin/sv restart /opt/opscode/sv/opscode-erchef/log

Running handlers:
Running handlers complete
Chef Client failed. 264 resources updated in 02 minutes 27 seconds
[2018-09-12T12:51:13-04:00] FATAL: Stacktrace dumped to /var/opt/opscode/local-mode-cache/chef-stacktrace.out
[2018-09-12T12:51:13-04:00] FATAL: Stacktrace dumped to /var/opt/opscode/local-mode-cache/chef-stacktrace.out
[2018-09-12T12:51:13-04:00] FATAL: Please provide the contents of the stacktrace.out file if you file a bug report
[2018-09-12T12:51:13-04:00] FATAL: Please provide the contents of the stacktrace.out file if you file a bug report
[2018-09-12T12:51:13-04:00] FATAL: Chef::Exceptions::MultipleFailures: Multiple failures occurred:
* Errno::ECONNREFUSED occurred in chef run: ruby_block[bootstrap-chef-server-data] (private-chef::bootstrap line 34) had an error: Errno::ECONNREFUSED: Failed to open TCP connection to <IP_ADDRESS>:9463 (Connection refused - connect(2) for "<IP_ADDRESS>" port 9463)
* Mixlib::ShellOut::ShellCommandFailed occurred in delayed notification: runit_service[nginx] (private-chef::nginx line 37) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1'
---- Begin output of /opt/opscode/embedded/bin/sv restart /opt/opscode/service/nginx ----
STDOUT: fail: /opt/opscode/service/nginx: unable to change to service directory: file does not exist
STDERR:
---- End output of /opt/opscode/embedded/bin/sv restart /opt/opscode/service/nginx ----
Ran /opt/opscode/embedded/bin/sv restart /opt/opscode/service/nginx returned 1

[2018-09-12T12:51:13-04:00] FATAL: Chef::Exceptions::MultipleFailures: Multiple failures occurred:
* Errno::ECONNREFUSED occurred in chef run: ruby_block[bootstrap-chef-server-data] (private-chef::bootstrap line 34) had an error: Errno::ECONNREFUSED: Failed to open TCP connection to <IP_ADDRESS>:9463 (Connection refused - connect(2) for "<IP_ADDRESS>" port 9463)
* Mixlib::ShellOut::ShellCommandFailed occurred in delayed notification: runit_service[nginx] (private-chef::nginx line 37) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1'
---- Begin output of /opt/opscode/embedded/bin/sv restart /opt/opscode/service/nginx ----
STDOUT: fail: /opt/opscode/service/nginx: unable to change to service directory: file does not exist
STDERR:
---- End output of /opt/opscode/embedded/bin/sv restart /opt/opscode/service/nginx ----
Ran /opt/opscode/embedded/bin/sv restart /opt/opscode/service/nginx returned 1

Steps to Reproduce (for bugs)

Install chef-server 12.17.33 on CentOS 6.10 or 7.5
Run chef-server-ctl reconfigure

Your Environment

Chef Server Version: 12.17.33
Total/free RAM and disk space: 24GB/8GB RAM 412G/19G disk
Operating System and Version: CentOS 6.10 & CentOS 7.5
If upgrading, previous Chef Server version: N/A
Running in a container?  LXC container.

Having the same issue on Ubuntu 18.04

May be related to #942

TLDR; I can't repro  any problems on boxes with >=2GB of RAM. With 1GB of RAM, things fail terribly; SOLR wants 700MB+ of RAM or more. If that's it, then I think we can close this, as we generally recommend 4GB or more (https://docs.chef.io/chef_system_requirements.html).
However, if people are having troubles with higher memory instances we have a real regression, and I'd love to get details to repro.
Long version:
I was able to successfully install and reconfigure chef-server on m5.large, t3.medium, and t3.small instances:
aws ec2 run-instances --region us-east-1  --image-id ami-0ac019f4fcb7cb7e6 --count 1 --instance-type t3.medium [... stuff deleted...]

# ssh to instance:
% wget 'https://packages.chef.io/files/stable/chef-server/12.18.14/ubuntu/18.04/chef-server-core_12.18.14-1_amd64.deb'
% sudo dpkg -i chef-server-core_12.18.14-1_amd64.deb
% sudo chef-server-ctl reconfigure

Re the original report; we can repro this issue on Ryan's LXC, but can't in AWS/centos 7.5/ ami-9887c6e7.
At this point we think it's LXC quirks.

I'm going to close this issue for now.


[Ubuntu] Pin Helm 3.14.4 due to unusual release of 3.15.0

Description
New v3.15.0 version somehow returns an incorrect version when executing helm version.
Related issue:
https://github.com/actions/runner-images/issues/9865
Check list

[x] Related issue / work item is attached
[ ] Tests are written (if applicable)
[ ] Documentation is updated (if applicable)
[ ] Changes are tested and related VM images are successfully generated

/azp run ubuntu2004,ubuntu2204


About the bd_GT

Hi, thanks for sharing the code, great work!
I have a few issues as follow:
1、What is the value of bd_gt? 0(background) or 1(target)? or others?
2、Abou the set of super parameter that lamda1 is 20 whether more rely on BCE loss? More rely on empirical?

Thank you!

For issue 1: 0(background) and 1(target)
For issue 2: previous works set lamda1 as 20 empirically, so I just follow them and did not tune it. But, theoretically, this number should be tuned for optimal performance.
Thanks. jx


adding the other versions of dreamsim

Happy to review but currently out of the office today (back tomorrow) so if it's okay to wait, I will gladly take a look then. No worries if you need to re-assign to anyone else.

Unsure why some of the unit tests are failing. Based on the code changes for this PR, it's looks like this is caused by something already in the code base that's not as easy to spot from the POV of someone quickly reviewing this specific PR. So, I won't make reference to that below.

The README and website AvailableModels page needs to be updated to reflect the addition of the models.

General thoughts (non-specific to this PR)
Beyond that, it's a bit confusing to require the model_variants in this way because DreamSim then has quite a bit of different behaviour that doesn't match the given example on the website (in terms of defining the extractor). When extracting activations from 'open_clip_vitb32' then it says I should be able to use model and model.mlp but only the latter one works.
extractor.show_model()

DreamSimModel(
  (model): PerceptualModel(
    (mlp): Identity()
  )
)

KeyError: 'model'
If you specify anything different, you're informed:
ValueError:
X not a valid module name. Please choose a name from the following set of modules: ['model', 'model.mlp']

... which isn't actually the case (as the tests/helper.py file specifies, namely that only model.mlp is a possibility here). So, there's a bit of potential confusion there for end users which might need a bit of consideration in the future.
Summary  :thumbsup:
In any case, I was able to get activations from the two additional models (dino_vitb16 and ensemble) without issue from the model.mlp layer so it's only the update of the README and website that need to be updated and all looks good. Other points are general thoughts perhaps for ongoing consideration if more idiosyncratic behaviour is required for additional models in the library.

model.mlp

Thank you for your thorough review @Alxmrphi! I just updated both README.md and the docs according to your suggestion(s).

Unsure why some of the unit tests are failing. Based on the code changes for this PR, it's looks like this is caused by something already in the code base that's not as easy to spot from the POV of someone quickly reviewing this specific PR. So, I won't make reference to that below.
The README and website AvailableModels page needs to be updated to reflect the addition of the models.

General thoughts (non-specific to this PR)
Beyond that, it's a bit confusing to require the model_variants in this way because DreamSim then has quite a bit of different behaviour that doesn't match the given example on the website (in terms of defining the extractor). When extracting activations from 'open_clip_vitb32' then it says I should be able to use model and model.mlp but only the latter one works.
extractor.show_model()

DreamSimModel(
  (model): PerceptualModel(
    (mlp): Identity()
  )
)

KeyError: 'model'
If you specify anything different, you're informed:
ValueError:
X not a valid module name. Please choose a name from the following set of modules: ['model', 'model.mlp']

... which isn't actually the case (as the tests/helper.py file specifies, namely that only model.mlp is a possibility here). So, there's a bit of potential confusion there for end users which might need a bit of consideration in the future.
Summary 👍
In any case, I was able to get activations from the two additional models (dino_vitb16 and ensemble) without issue from the model.mlp layer so it's only the update of the README and website that need to be updated and all looks good. Other points are general thoughts perhaps for ongoing consideration if more idiosyncratic behaviour is required for additional models in the library.

Thank you for your thorough review @Alxmrphi! I just updated both README.md and the docs according to your suggestion(s).


Dart Sdk issue and emulator issue

Thank you for taking the time to file an issue!
This tracker is for issues related to:

Analyzer
Common Front End (CFE) and kernel
Dart core libraries ("dart:async", "dart:io", etc.)
Dart VM
dart2js
dartfix
dev_compiler

Some other pieces of the Dart ecosystem are maintained elsewhere. Please
file issues in their repository:

Dart language: https://github.com/dart-lang/language
Dart website: https://github.com/dart-lang/site-www
Flutter: https://github.com/flutter/flutter
Linter: https://github.com/dart-lang/linter
dartfmt: https://github.com/dart-lang/dart_style

If you aren't sure, file the issue here and we'll find the right home for it.
In your issue, please include:

Dart SDK Version (dart --version)
Whether you are using Windows, MacOSX, or Linux (if applicable)
Whether you are using Chrome, Safari, Firefox, Edge (if applicable)

Missing some or all of the above might make the issue take longer or be
impossible to act on.
If you simply have a question, consider starting with Stack Overflow:
https://stackoverflow.com/questions/tagged/dart
For a real-time response, consider our Gitter channel:
https://gitter.im/dart-lang/sdk

Closing for now since this issue was filed with the default template and does not give any details to investigate.
If you add a comment with details about the issue we can reopen.


Fix the display of lakes on the map

It looks like some lakes are missing or have been truncated. We should work out why these parts are missing and update the layers in the map to include them properly. We should also show the rivers and lakes at all zoom levels rather than below a certain point as the researchers use these to orientate the data based on where water sources are.

Acceptance criteria:

[x] lakes don't have missing sections
[x] large lakes are not missing from the map (particularly lake malawi)
[x] lakes and rivers can be seen in all zoom levels.

All AC met, test TC-4.1 added to STS


[WFLY-18937] Add git log data to the shared-wildfly-build.yml output

Issue: https://issues.redhat.com/browse/WFLY-18937
[WFLY-18937] Add git log data to the shared-wildfly-build.yml output
https://github.com/soul2zimate/wildfly/actions/runs/7623464104/job/20763551236 step Show Git commit logs is a manual run to show top 10 commits.

Thanks @soul2zimate!


Patch vrs showcase

Adds shading and preview image support for demos. Showcases two demos with custom preview images.
Demo here- https://samthor.github.io/web-animations-demos/

@shans @dstockwell

Actually the demos aren't loading over https, try this link-
http://samthor.github.io/web-animations-demos/


Latest version of tRPC v11 HTTP resolver has been rewritten with Fetch API

Hey there @wobsoriano,
We've just updated our resolveResponse-function to be based on the Fetch API rather than our bastardization.
I'm opening this issue mainly to let you know
We have some helper functions to convert a Node http.IncomingMessage to a Response-object.
I think this is the last breaking change for adapters prior to 11.0.0
To guide you, you can have a look at either the express adapter, the fetch adapter, or the Fastify adapter.
Don't hesitate to pop into our Discord and @ me if it proves itself tricky, we're happy to help out or make some tweaks to it to make it easier to adopt.
Greatly appreciate your work you're doing for the tRPC community 🙇

Thank you @KATT! Appreciate the update.
Will definitely be ready before v11.0.0.

@KATT @wobsoriano any chance that nuxt could be added as an official adapter for the v11.0.0 release? It looks like the v11 branch doesn't support 11.0.0-rc.467 yet, would love to see the adapter merged in as an official adapter.

FYI guys you can try tRPC v11 with
npm install<EMAIL_ADDRESS>


Typo in system/blueprints/pages/modular.yaml

https://github.com/getgrav/grav/blob/acea401a3d3ef02dd4c4f408ac037e354dbd12d7/system/blueprints/pages/modular.yaml#L45
shoud be header.media_order

Already fixed: https://github.com/getgrav/grav/blob/develop/system/blueprints/pages/modular.yaml#L45


Add support for shell executor

Would be great to be able to configure shell executor: https://docs.gitlab.com/runner/executors/shell.html

@ivankovnatsky Could you provide more details please? At the moment I do not see any advantage of supporting another runner type. But there might be use cases I do not know. What is the advantage of a shell runner?

I usually don't build container images using docker-in-docker, so I thought it would be great to have a shell runner with docker.
But yeah, if community does not feel it's necessary, that might not make sense to do it.

Could be a nice extension, @ivankovnatsky Any chance to get a PR from you on how to change the current template to support other executors?

I quickly checked the linked documentation. In the current setup we have one Gitlab Runner + many executors (docker machines). The shell executor is running on the runner directly. So there are no executors and thus this might create problems with higher workloads (no scaling). This can be fixed by deploying the module several times of course.

Could be a nice extension, @ivankovnatsky Any chance to get a PR from you on how to change the current template to support other executors?

sure, though can quite promise the timing.

@ivankovnatsky I have a similar need.  How did you solve this issue?

@lmilbaum Could you please elaborate on your use case? Can it be solved with the docker or docker+machine executor?


[pdpix] Improve Byte Ordering Conversion for sockaddr and Ipv4Endpoint

Description
There is some unclear byte-ordering conversions happening in sockaddr_to_ipv4endpoint.
fn sockaddr_to_ipv4endpoint(saddr: *const sockaddr) -> Result<Ipv4Endpoint, Fail> {
    // TODO: Review why we need byte ordering conversion here.
    let sin: libc::sockaddr_in =
        unsafe { *mem::transmute::<*const sockaddr, *const libc::sockaddr_in>(saddr) };
    let addr: Ipv4Addr = { Ipv4Addr::from(u32::from_be_bytes(sin.sin_addr.s_addr.to_le_bytes())) };
    let port: Port16 = Port16::try_from(u16::from_be(sin.sin_port))?;
    Ok(Ipv4Endpoint::new(addr, port))
}

Quoting @BrianZill

Ideally, we wouldn't have an assumption that host order is little endian. Windows (well NT) does, unfortunately, and I don't know about Linux, but BSD didn't, and had things like htons() which stood for host-to-network-short, which would convert a u16 from whatever the host order was to network order (which is always big endian). I haven't looked at whether the standard Rust libraries have such conversion functions that swap (or not) depending on the architecture they're running on.

This issue was addressed in https://github.com/demikernel/demikernel/pull/413.


Make scalars codegen lazy

At the moment, we generate definitions for all the scalars defined in a query's schema, but we could define only those needed by the query instead - this would alleviate some of the burden of defining mappings for all custom scalars.

Done in #116 ,  thanks again @mathstuf !


feat: Added Spectrum.chat badge

The resulting badge will look like this:

Hi! Thanks for this.
We can definitely add a logo, though this logo doesn't seem to be the spectrum logo.
Is there an API that returns, e.g. the number of users in the room? That could be a more helpful badge.
There isn't consensus about adding routes for static badges.  We do have a gitter badge, but that is the only one. As I wrote in #1031:

I'm ambivalent about whether to add more API-free badges like this, or simply use the custom badge route like Daniel suggests. On the one hand, it makes standardization and updating easy. On the other, it clutters the project with unnecessary code.

That's the logo used in their own version of the badge:
https://github.com/withspectrum/badge
About the number of users, they have a GraphQL API, I should ask if it's possible to use it for this kind of thing or not. I'll let you know.

Agree with what @paulmelnikow has said,
At this stage it should just use the static badge,
And if needed just create a PR to add the logo.
The uri could then be:
/badge/chat-on%20spectrum-7B16FF.svg?logo=spectrum

But once the API goes public this could be a good addition.

About the unnecessary code part, could we add a new API to read those static badges info from a JSON or YML file maybe?

We could discuss this in #1252. Maintaining static badges fer errything might be a lot of discussion work, but I think is something this project could take, on if people think we should.
Going to close for now.


add sample unit tests on github actions

currently all we run is cargo test which doesn't do a lot here
we want to have some unit tests on the CRD that deals with the state machinery (but after we do #21)

done in #38


Does latest Blazor WASM (3.1.0-preview4.19579.2) break MatBlazor-based applications?

Now with .NET Core 3.1 officially released there is also a new preview version of Blazor WASM:
3.1.0-preview4.19579.2
I upgraded an existing demo application to those new packages and bumped the version to netstandard2.1 - and left everything else as is.
After cleaning and rebuilding, I get a runtime exception that MatBlazor cannot be found in window.

Are there other users experiencing the same issue?
Thanks.

yep, same here unfortunately.

me too

Yep... same here

Seems like the demo has the same problem as well

I have just copied the old scripts from _content folder to bin\Debug\netstandard2.1\dist\_content and it worked.
Not ideal as I had those files because I'm using GitHub pages.
Here are the files if you need them:
https://github.com/jernejk/CognitiveServices.Explorer/tree/master/_content

@jernejk unfortionately, it did nothing for me copying _content to dist... You sure that was the onlything you had to do?

Ah, based on my commit, I also updated wwwroot/index.html
    <!-- MatBlazor-->
    <script src="_content/MatBlazor/dist/matBlazor.js"></script>
    <script src="_content/Blazor.FileReader/FileReaderComponent.js"></script>

https://github.com/jernejk/CognitiveServices.Explorer/commit/1669bfae52c0304330fab16389fb2509da7c3a71
So 2 things, manually copied the script files and manually included them in the index.html file.

Yep, that was it!
Thanks!

Ah, based on my commit, I also updated wwwroot/index.html
    <!-- MatBlazor-->
    <script src="_content/MatBlazor/dist/matBlazor.js"></script>
    <script src="_content/Blazor.FileReader/FileReaderComponent.js"></script>

jernejk/CognitiveServices.Explorer@1669bfa
So 2 things, manually copied the script files and manually included them in the index.html file.

Thank you so much. It worked.

@jernejk  Worked for me too thank you, maybe some update tutorial would be good ? @SamProf
Anyway, thanks for all the job you're doing on this project it's awesome :)

Actually the read me contains that since a couple of days :)

@ChristianWeyer @NPadrutt
This one should be resolved. Can you please close this?


Java skeleton

@h1alexbel 3 puzzles #4, #5, #6 are still not solved.

@h1alexbel 2 puzzles #5, #6 are still not solved; solved: #4.

@h1alexbel the puzzle #5 is still not solved; solved: #4, #6.


Restrict number of sub childs(depth)

Is there a method to prevent the   generation of new child nodes after a certain depth, such as in the hierarchy: root -> child-child -> child -> child-child?
Alternatively, could users be restricted from creating new nodes by simply pressing and holding the 'tab' key?
(This is because having too many child nodes can make the mind map look  confusing like this)

Like this
// ...
before: {
    insertSibling() {
      if(mei.currentNode.parent.children.length > 100)return false
      else return true
    },
}
// ...

Thank you very much for the quick reply

However, this it doesn't appear to function as expected. Is there a particular reason for this behavior?
https://codesandbox.io/s/sleepy-volhard-x9p2nw

The version you use is too old, before is not supported.

it is same for the 2.0.10 . should i use version 3 ?

Use 3.0 if breaking changes don't affect you too much.


Make parser submodule in XRD plugin

Copying the issue 123 from AreaA-data_modeling_and_schemas repo.

Andrea
put the parser and the related nomad_plugin.yaml file in a subfolder to have the possibility to import either the schema or the parser separately. Take inspiration from the movpe_IKZ plugin to see the init.py imports and everything


Amazing!

Greetings! This is amazing.
I'd like to propose making a video together where I interview you and you tell me all about this code, if you'd be interested.

I'd love to talk with you about this. Unfortunately I need to put further development of this on hold because I need to do some work with time series predictions and so I must turn to Python for a while since I don't know how to do ML with JS (plus Python is just natural for that stuff). I will definitely return to this later as I enjoyed it so much.

Ok cool! If you are ever free for a 30 min slot, let me know<EMAIL_ADDRESS>

I've got a very flexible schedule so it's all the same to me. If you're a night owl I'm always on around 10p-12p MT. But really it doesn't matter. How do you want to meet?


[Fix #4656] Fix Style/ConditionalAssignment auto-correction

Style/ConditionalAssignment cop's autocorrection results in invalid
syntax when it encounters assignment to unbracketed array.
This pull request modifies ConditionalAssignment cop's autocorrection so, it
wraps array in brackets, if needed.
This issue is very simillar to #3170, where Style/MutableConstant
wasn't able to properly handle assignment to unbracketed array.
Since both MutableConstant and ConditionalAssignment cops need to
check whether array node is bracketed or not, new method
Rubocop::AST::ArrayNode#bracketed? was introduced, to avoid
duplication.

Before submitting the PR make sure the following are checked:

[ ] Wrote good commit messages.
[ ] Commit message starts with [Fix #issue-number] (if the related issue exists).
[ ] Used the same coding conventions as the rest of the project.
[ ] Feature branch is up-to-date with master (if not - rebase it).
[ ] Squashed related commits together.
[ ] Added tests.
[ ] Added an entry to the Changelog if the new code introduces user-observable changes. See changelog entry format.
[ ] All tests(rake spec) are passing.
[ ] The new code doesn't generate RuboCop offenses that are checked by rake internal_investigation.
[ ] The PR relates to only one subject with a clear title
and description in grammatically correct, complete sentences.
[x] Updated cop documentation with rake generate_cops_documentation (required only when you've added a new cop or changed the configuration/documentation of an existing cop).

Nice! Hadn't crossed my mind that parallel assignment is parsed as an array node. 🙂

With the fix to the test configuration, I'm good with this @bbatsov. 🙂


Disable permissions change

Hi,
I have a very specific use case where data volumes are mounted from a sshfs partition and other network partitions, and in this case one can't change permissions on remote disks.
I just added an environment var to disable this when it's necessary.

Hello,
thanks for the pull request.
Can you please adapt it to the existing formatting :

use 2 spaces as indentation
close if statements with  fi

Will merge that in the 1.2.3 coming release.
Thanks

@eduardosan Could you please fix the formatting, so we could all benefit from your fix :)

Hello,
The fix is provided in above commit.

Now I thing they are all included

@eduardosan Thanks :+1:
@BertrandGouny Do you think it can be merged? Thanks.

Thanks all,
merge in next release


i18n support for zh-CN

The page_entries_info don't supprot zh-CN. Please fixed it.
Issue
When I code
<%= page_entries_info @brands %>

and
display_entries: "显示 %{total} 个 %{entry_name} 中的第 %{first} - %{last} 个"

I want

显示 69 个 品牌 中的第 1 - 10 个

but

显示 69 个 品牌s 中的第 1 - 10 个

Reason:
The default locale of AS is en, and the Kaminari use the default locale.
kaminari/helpers/action_view_extension.rb line 92
def page_entries_info(collection, options = {})
  entry_name = options[:entry_name] || collection.entry_name
  entry_name = entry_name.pluralize unless collection.total_count == 1

  if collection.total_pages < 2

active_support/core_ext/string/inflections.rb line 31
def pluralize(count = nil, locale = :en)
  locale = count if count.is_a?(Symbol)
  if count == 1
   self.dup
  else
    ActiveSupport::Inflector.pluralize(self, locale)

Environment

name
value

Rails version
4.2.0

Ruby version
2.2.0-p0 (x86_64-linux)

RubyGems version
2.4.5

kaminari
0.16.3

Thanks, but this seems like a duplicate of #586.


Iv curencies mappers

balance tracker on pallet_move;
conversion methods for Move <-> Native accounts;
conversion tests;

Abandoning in favour of #101


optimize: ensure trust-constr executes only maxiter iterations

This makes optimizer method trust-constr execute only maxiter iterations (instead of one more).
see #4921

Reference issue

What does this implement/fix?

Additional information

Thanks for contributing this PR. Unfortunately the test doesn't cover SLSQP, which was the subject of the original bug report, so I don't think this PR will close that issue.

<I edited your post to remove the fixes because it won't close the original issue. If you can use the test against SLSQP as well, then the issue can be closed as well.>

@chschock, thank you for contributing to scipy, this PR is now in a good state.

Thanks @chschock! If you'd like your name added to THANKS.txt, please make an entry here.


No github issue creation templates

The repo does not have any github issue templates. They will help people to describe issues more detailed. Also you can control issue types: bugs, suggestions, etc.

Please check 7 and approve


editor needs a right click menu

not sure if we should orchestrate a cross platform approach or just do it in egui itself.

Requested by @MehrotraRahul

I think the move here is to go with native context menus, at least on apple platforms


cannot import name 'Id' from 'nmdc_schema.basic_slots'

@cmungall I've reordered the dependency tree to remove cycles. Slots that are used across multiple schemas are in the a schema named basic_slots.yaml.  This appears to be working fine in the sense make install all builds the targets w/o error.
However, there is a problem with the pypi package. When I try to import the nmdc python class from the package I receive the error cannot import name 'Id' from 'nmdc_schema.basic_slots'.
Steps to reproduce:

Create a new virtual environment.
Install the nmdc schema: pip install nmdc-schema.
Start ipython.
Execute from nmdc_schema import nmdc.
Result:

<ipython-input-1-108b8f058d11> in <module>
----> 1 from nmdc_schema import nmdc

~/repos/NMDC/temp/nmdc-schema-install/.env/lib/python3.7/site-packages/nmdc_schema/nmdc.py in <module>
     25 from rdflib import Namespace, URIRef
     26 from linkml.utils.curienamespace import CurieNamespace
---> 27 from . annotation import FunctionalAnnotation, GenomeFeature, ReactionId, ReactionParticipant
     28 from . core import AttributeValue, Bytes, ChemicalEntityId, ControlledTermValue, GeneProductId, GeolocationValue, MetaboliteQuantification, NamedThing, NamedThingId, PeptideQuantification, PersonValue, QuantityValue, TextValue, TimestampValue
     29 from . prov import ActivityId

~/repos/NMDC/temp/nmdc-schema-install/.env/lib/python3.7/site-packages/nmdc_schema/annotation.py in <module>
     24 from rdflib import Namespace, URIRef
     25 from linkml.utils.curienamespace import CurieNamespace
---> 26 from . core import ChemicalEntityId, GeneProductId, MetaboliteQuantification, OntologyClass, OntologyClassId, PeptideQuantification
     27 from . workflow_execution_activity import MetagenomeAnnotationActivityId
     28 from linkml.utils.metamodelcore import Bool

~/repos/NMDC/temp/nmdc-schema-install/.env/lib/python3.7/site-packages/nmdc_schema/core.py in <module>
     22 from rdflib import Namespace, URIRef
     23 from linkml.utils.curienamespace import CurieNamespace
---> 24 from . basic_slots import Id
     25 from . prov import ActivityId
     26 from linkml.utils.metamodelcore import Bool

ImportError: cannot import name 'Id' from 'nmdc_schema.basic_slots' (/Users/wdduncan/repos/NMDC/temp/nmdc-schema-install/.env/lib/python3.7/site-packages/nmdc_schema/basic_slots.py)

The problem might that be that although the id slot is defined in basic_slots.yaml:
slots:

  id:
    identifier: true
    multivalued: false
    description: >-
      A unique identifier for a thing.
      Must be either a CURIE shorthand for a URI or a complete URI
    #required: false # for now we setting this to false until we develop an id template

The Id slot is not in basic_slots.py. Rather, slots.id is:
slots.id = Slot(uri=NMDC.id, name="id", curie=NMDC.curie('id'),
                   model_uri=NMDC.id, domain=None, range=URIRef)

let's just try building into a single python module, that should keep things simpler for now, we can investigate this more later
(using as ingle py file should be the default, i.e. don't specifiy --no-mergeimports)

Using --mergeimports worked to create the nmdc.py file.


Update app version in charts

Prepare for 0.3.3 release

Getting an error pulling the image?
Failed to pull image "ghcr.io/bcgov/traction-tenant-proxy:0.3.3": rpc error: code = Unknown desc = reading manifest 0.3.3 in ghcr.io/bcgov/traction-tenant-proxy: manifest unknown

Added gross hardcoded values for now

@loneil reverting the hardcoded changes - I should have put this in draft mode as I had not yet clicked on the "release" button.
Publishing is happening now.

@loneil it should be ready for review again


2.16.3 from upstream

Description & motivation

Pull down changes bringing master up to date with upstream 2.16.3
Changes:

To-do before merge:

Screenshots:

Validation of changes:

Checklist:

[ ] My pull request follows the guidelines in the Contributing guide?
[ ] My pull request does not duplicate any other open Pull Requests for the same update/change?
[ ] My commits are related to the pull request and do not amend unrelated code or documentation.
[ ] My code follows a similar style to existing code.
[ ] I have added appropriate tests.
[ ] I have updated or added relevant documentation.

References

@Exilliar - the commit with most of the changes from upstream is 72ca1a.
The review can focus on the other commits that I've added in addition to this, as I have reviewed the changes coming in the upstream commit. If you do want to review 72ca1a for familiarity and a second set of eyes on it, I'd recommend focusing on the Core, DesktopUI2, Revit, Grasshopper & Rhino projects.


Generating metadata in different RDF format

When specifying both a metadata file (-e option) and a format option (-s) the application crashes.
The following command works:
java -jar rmlmapper-4.8.0-r247.jar -m mapping.rml.ttl -s turtle
The following command does not work:
java -jar rmlmapper-4.8.0-r247.jar -m mapping.rml.ttl -s turtle -l triple -e metadata.turtle
and instead outputs:
Exception in thread "main" java.lang.Error: Serialization turtle not supported at be.ugent.rml.store.SimpleQuadStore.write(SimpleQuadStore.java:97)
at be.ugent.rml.cli.Main.writeOutputUncompressed(Main.java:413)
at be.ugent.rml.cli.Main.writeOutput(Main.java:379)
at be.ugent.rml.cli.Main.main(Main.java:295)
at be.ugent.rml.cli.Main.main(Main.java:35)

I was able to work around this issue by changing the used store of the MetadataGenerator to RDF4JStore here:
https://github.com/RMLio/rmlmapper-java/blob/fb2d8d7ace3eb5bb3d0a1f3913b8d92185726e35/src/main/java/be/ugent/rml/metadata/MetadataGenerator.java#L54
-Mggeldho

Thanks! Will have a look at it.


Use jinja for protodoc

description
the complexity of protodoc seems to have outgrown the python templating pattern used
this is resulting in a lot of \n and {indent} fu and making it increasingly difficult to work with
one possible solution to this problem is to use python only to create structured variables that a proper templating/markup lang like jinja can consume

cc @htuch

@phlax seems totally reasonable.

protodoc uses jinja now


Unicast discovery protocol compatibility with River 3.0

AtomicObjectInputStream factory create method ignored ObjectOutputStream compatibility parameter.
This caused a java.io.StreamCorruptedException: unexpected end of block data
at org.apache.river.api.io.AtomicMarshalInputStream.readNonPrimitiveContent(AtomicMarshalInputStream.java:980)
When discovering a lookup service exported from River 3.0.0


Send Controller: Address Text is going out of cell

I am copying and pasting address or scanning QR code ,and when i do, the address that, i paste runs out of the cell

No longer valid


404 File not found Exception when the page is reloaded

If the page https://defichain-bridge.com/welcome reloaded, an error message 404 File not found Exception appears.

This is all fixed now!


Add VNet defaults and subscription to resource update.

Hi,
Thanks for providing this sample, it's been super helpful! I successfully deployed functions using MI by following the steps here. However, I ran into two issues along the way, and I believe this PR could help resolve them:

The README says VNet flags are set to false by default, but they are not. If you try to deploy without checking the VNet checkboxes you get an InvalidTemplate error.
If you have access to multiple subscriptions and the function is not using the default one, the az resource update fail with and AuthorizationFailed error.

This is great. Thanks @matheper


Dependency updates

Codecov Report

Merging #66 (ba43d87) into master (1a283fa) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master      #66   +/-   ##
=======================================
  Coverage   88.79%   88.79%
=======================================
  Files          60       60
  Lines         928      928
  Branches      180      179    -1
=======================================
  Hits          824      824
  Misses        104      104

Impacted Files
Coverage Δ

...kages/insights-common-typescript/src/utils/Date.ts
100.00% <100.00%> (ø)

...n-typescript/src/components/Modals/ActionModal.tsx
100.00% <0.00%> (ø)

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 de7d94a...ba43d87. Read the comment docs.


addDivergence from OMA vignette

under the community typing section, I saw that you had a code snippet that I could not replicate.
tse <- addDivergence(
tse,
assay.type = "counts",
reference = "median",
FUN = vegan::vegdist)
I was not able to find addDivergence function. Any thoughts?

Hi, did you load mia package?
library("mia")

Is it okay now?

Hi , I apologize for not giving the details. I ran the tutorial or examples from OMA book. Most of the functions were unrecognized ( i had installed mia last year) I forced install from github (regular install -says there are no changes in the code). After the forced install of mia, the examples from the tutorial run ok but when I run against my data , I get errors (addRDA). I looked at the repo and i didn't see these functions so I was puzzled.

Hi, no worries. Can you run sessioninfo::package_info() and tell me the version of mia you have?

mia is still in development and the latest changes occur in the official BIoconductor release with a delay of some months, the remotes::install_github("microbiome/mia") will install the latest development version (which is in sync with OMA).

Hi, no worries.

I reinstalled mia ([using github](remotes::install_github("microbiome/OMA", dependencies = TRUE, upgrade = TRUE, force=TRUE)).
I am able to run all the vignettes from OMA, but run into an error from the ones on Community typing (under Diversity and Similarity section). I am attaching the error . I am suspecting it could be regarding data formats

Can you paste here output of typing "tse"?

Load dependencies
rm(list=ls())
library(bluster)
library(kableExtra)
library(mia)
data("peerj13075", package = "mia")
tse <- peerj13075
Filter out most taxa to ease the calculation
altExp(tse, "prevalent") <- agglomerateByPrevalence(

tse, rank = "class", prevalence = 20/100, detection = 1/100)
Error in x[[name, exact = FALSE]] :
each subscript must be a single integer when subsetting an DummyArrayGrid
object with [[

Load dependencies
rm(list=ls())
library(bluster)
library(kableExtra)
library(mia)
data("peerj13075", package = "mia")
tse <- peerj13075
Filter out most taxa to ease the calculation
altExp(tse, "prevalent") <- agglomerateByPrevalence(

tse, rank = "class", prevalence = 20/100, detection = 1/100)
Error in x[[name, exact = FALSE]] :
each subscript must be a single integer when subsetting an DummyArrayGrid
object with [[

tse
class: TreeSummarizedExperiment
dim: 674 58
metadata(0):
assays(1): counts
rownames(674): OTU1 OTU2 ... OTU2567 OTU2569
rowData names(6): kingdom phylum ... family genus
colnames(58): ID1 ID2 ...
Is this the exact sequence that you run after launching a fresh R session:
rm(list=ls())
library(bluster)
library(kableExtra)
library(mia)
data("peerj13075", package = "mia")
tse <- peerj13075
altExp(tse, "prevalent") <- agglomerateByPrevalence(tse, rank = "class", prevalence = 20/100, detection = 1/100)

Hmm. So you are right. I used the same code on the new session and it didn't give me an error (ddn't run the previous sections). When I sent you the code,  I was following the book per page. I think  I do something majorly wrong in between the first  section and the last section of the Diversity and similarity.. Thanks though. Can I ask you something? Why can't i see these functions on git hub? Thank you for this!

Possibly there was some difference in the code that you initially used.
I cannot fully assess that because you have only shared 1) screenshot, and later 2) copypasted code that breaks in the middle (see above). It can help to use the "code" higlight (from the top panel of this text box, "< >"). Then we could directly compare the exact code. Perhaps you copied also the "+" mark in the code? That is actually not code but instead denotes line break and it should not be included in the code. Anyway, if the problem is solved now it seems good.
Not seeing the functions on Github: where did you try to search for those functions in Github? Do you need to see the function source code, function documentation page, or something else?

I reckon you are right. So rather than probe this further , I will try to run each section individually and as whole and see where I go wrong. It is quite possibly that I am doing something wrong.
The reason I asked about the functions like agglomerate by rank, I think it aggregates the count matrix by the rank you specify. I was looking at the source code for functions such as agglomerateByPrevalence from the OMA in here https://github.com/microbiome/mia. Then I found it in agglomerate.R. Apologies.

Ok - and documentation for each function, with examples and details are here:
https://microbiome.github.io/mia/reference/index.html


max dynamic endpoint (CON-1360)

I'm creating a bridge that adds many devices.
By modifying the CONFIG_ESP_MATTER_MAX_DYNAMIC_ENDPOINT_COUNT configuration I can add up to 140 devices
If I increase the value again > 140 I get this error:
esp-aes: Failed to allocate memory

@stefano055415 I would need more details to debug the issue. I'm trying this on ESP32-C3 blemesh_bridge with different values for CONFIG_ESP_MATTER_MAX_DYNAMIC_ENDPOINT_COUNT, and here are my observations.

esp-idf : v5.3.1
esp-matter: 42b6412e011c6d0fea431123cd77a3b138e3ae4d (I have a patch on top to fix some ble-mesh issues)

Endpoint count
Remark

16, 64
works fine, able to commission the bridge

140, 150
crash on boot during ble-init

100
threading related crash on boot

Can you please help with

esp-idf version
esp-matter version
SoC used
PSRAM enabled/disabled?

Can you elaborate a bit more on your workflow when you hit this problem.
eg:

you build the app with 140 and it just works and with 141st it does not.
Build successful, flash, and you see this problem.
or after commissioning
or after you start adding the 140 bridged devices to the Matter bridge and when you add the 141st you see this error?

@shubhamdp,

esp-matter docker release 1.3 (35765f30e5b2)
PSRAM enabled
esp32s3

I create a bridge without any device, but only with the configuration set to > 140 devices and the problem occurs immediately at boot.
The flash is successful.
To solve the problem I set the psram in this way:

ESP SPI

CONFIG_SPIRAM=y
CONFIG_SPIRAM_MODE_OCT=y
CONFIG_SPIRAM_MALLOC_ALWAYSINTERNAL=0
CONFIG_SPIRAM_TRY_ALLOCATE_WIFI_LWIP=y
CONFIG_SPIRAM_FETCH_INSTRUCTIONS=y
end ESP SPI
If I set "CONFIG_SPIRAM_MALLOC_ALWAYSINTERNAL=0" it works.

malloc() always allocates from the internal RAM, and since you are running low on internal RAM, you are seeing this problem.
Setting CONFIG_SPIRAM_MALLOC_ALWAYSINTERNAL=0 will allocate from the external RAM.
(ref: https://docs.espressif.com/projects/esp-idf/en/v5.3.1/esp32s3/api-reference/kconfig.html#config-spiram-malloc-alwaysinternal).
I am also scanning the code for any allocations that sits inside the static RAM, and these are many big buffers. I forgot to keep the direct links to the code from where they originated but heres the summary. (I'll try to update these with actual code pointers).
static-dram --> emberAfEndpoint  32 * 140
static-dram --> 2 * no-of-devices (esp-matter)
static-dram --> each cluster allocates few bytes per endpoint
And whenever a new bridged device joins your bridge there's some more heap overhead.
Good to know that this option works for you.


The reproduced result is not consistent with your paper. Is there any problem ?

I used the train_test_IQA.py training CLIVE data set as you suggested, but the result was not the same as what you showed in your paper. The parameters were set according to the default value of the code you gave, such as EPOchs =16, etc. May I ask if you have taken the highest value of the training model for many times in your paper? Could you please explain my doubts?

+1


Crash in startup

Failed to load mod "Clowns-Processing": Clowns-Processing/prototypes/items/vanilla-items.lua:399: attempt to index field 'pictures' (a nil value)
stack traceback:
Clowns-Processing/prototypes/items/vanilla-items.lua:399: in main chunk
[C]: in function 'require'
Clowns-Processing/data.lua:24: in main chunk

Sorry I missed this, ill look at it tonight, do you have a mod list I cam start digging with?

I think I have a fix in dev, but I need confirmation before I publish it to the mod portal.
I have a few other changes I want to finalise before I get the next version out, so this may not be "quick".

https://mods.factorio.com/mod/AngelBobPyanadonPack/downloads

well, considering the shenanigans going on with that pack, im not surprised my icon update functions were failing... ill have a patch up in the next few days.

I have patched my side of things, im getting a well known Py ingredient duplication error on start-up now... if you use the version of science from here you will see what i mean


Bump Zygote version and drop bound on ZygoteRules

Bump Zygote version and drop bound on ZygoteRules which is now bounded in Zygote.
Depends on https://github.com/TuringLang/DistributionsAD.jl/pull/15

Is this ready to merge?

Is this ready to merge?

Yup! Should be good:)


Dev/navbar

Functionality:
Breadcrumbs Indicate the current page’s location within a navigational hierarchy that automatically adds separators via CSS.
Solution:
Need to add routes
Risk level:

[x] high
[ ] medium
[ ] low

How to test:
From dashboard , you can go to the create new session page and without reloading you can come back or go to any other page using breadcrumbs

Please attach screenshots as well

Screenshot's

Screenshots

We can have a single component of navbar that can handle this, that will reduce lots of code

Updated screenshot

Updated screenshot

Please resolve merge conflict

Please resolve merge conflict

I have written the code merged it into dev-angular branch, so this pr can be closed

I have written the code merged it into dev-angular branch, so this pr can be closed


User Can Change Text Color

[ ] set text color (solid only)
[ ] edit color and opacity
[ ] set a fill color for textbox (color, opacity)

merged with #1509


Shiny Giratina Griseous Core Bug

Having a Shiny Giratina and using a Griseous Core on it turns it into his Origin form. However if you want to put an item or remove an item from him, he will be force back into his base form

Shiny Giratina
Turn him into Origin Form
Give him/remove item
Turn into Shiny Giratina Base Form

Giratina should of stand his Origin form for Three days then be forced back into Base Form
That didn't happen.
SageofWind (Person that found out0
WxllyDox (Tested Bug)
https://github.com/NebulaMC-GG/Bugs-and-Issues/assets/155786899/66cdb769-9f59-4659-a1c8-ab61e1edc235

tested in singleplayer and confirmed, forwarded to pixelmon


Update peruvian channels to channels.csv

This PR adds official websites.

Yesterday, two new fields "launched" and "closed" were added to the channel list: https://github.com/iptv-org/database#channels. So the error occurred most likely because your version of the file does not have these fields.
If there were not many edits I think it would be easier to create a new PR, or leave everything as is and I'll try to fix it later.

I will edit manually. Close for now.


Add "Migration and Modernization" category

The intention is to rename 'Modernization & Migration' (M & M) category
to 'Migration and Modernization' (M and M).  The approach we're taking
is to first introduce 'M and M' alongside 'M & M', then reach out to
existing consumers of the 'M & M' category to switch to the 'M and M'
category, followed by later removing 'M & M' as a category.
Reference(s):

https://issues.redhat.com/browse/MIG-980
https://issues.redhat.com/browse/MIG-978
https://github.com/k8s-operatorhub/community-operators/issues/475
https://github.com/operator-framework/community-operators/pull/2760
https://github.com/operator-framework/community-operators/pull/2961

Signed-off-by: Rayford Johnson<EMAIL_ADDRESS>Thanks submitting your Operator. Please check below list before you create your Pull Request.
New Submissions

[ ] Are you familiar with our contribution guidelines?
[ ] Have you packaged and deployed your Operator for Operator Framework?

[ ] Have you tested your Operator in all supported installation modes?
[ ] Have you considered whether you want use semantic versioning order?
[ ] Is your submission signed?
[ ] Is operator icon set?

Updates to existing Operators

[ ] Did you create a ci.yaml file according to the update instructions?
[ ] Is your new CSV pointing to the previous version with the replaces property if you chose replaces-mode via the updateGraph property in ci.yaml?
[ ] Is your new CSV referenced in the appropriate channel defined in the package.yaml or annotations.yaml ?
[ ] Have you tested an update to your Operator when deployed via OLM?
[ ] Is your submission signed?

Your submission should not

[ ] Modify more than one operator
[ ] Modify an Operator you don't own
[ ] Rename an operator - please remove and add with a different name instead
[ ] Modify any files outside the above mentioned folders
[ ] Contain more than one commit. Please squash your commits.

Operator Description must contain (in order)

[ ] Description about the managed Application and where to find more information
[ ] Features and capabilities of your Operator and how to use it
[ ] Any manual steps about potential pre-requisites for using your Operator

Operator Metadata should contain

[ ] Human readable name and 1-liner description about your Operator
[ ] Valid category name1
[ ] One of the pre-defined capability levels2
[ ] Links to the maintainer, source code and documentation
[ ] Example templates for all Custom Resource Definitions intended to be used
[ ] A quadratic logo

Remember that you can preview your CSV here.
--
1 If you feel your Operator does not fit any of the pre-defined categories, file an issue against this repo and explain your need
2 For more information see here

@mvalarh , if it is preferable to replace the existing category directly rather than the approach we're taking, I'll amend the PR to reflect that.  Thanks!

After further discussion about the scope and effort involved with the rename, we've decided to abandon its pursuit at this time.  Thanks!


[WIP] - Directory Structure

This PR is not ready to be merged.
Creating this PR early so we can review the initial directory structure & build setup. Branch still needs modifications to match establish API patterns and ensure tests are passing.

tensorflow_addons could be just named addons
opt: would optimizers or optimization make it more clear ?
metrics : for functions to use as loss function or evaluation metrics


Training Splits

Great work on the project!
Are the Objaverse IDs for the training set available somewhere? If not, could you please provide the training splits used for the Contronet model?

The Objaverse IDs used in Paint3D have been updated. You can find them in tools/idx_split.

training IDs have been updated.


Wireguard-ui currently only supports setting one Endpoint Address

Wireguard-ui currently only supports setting one Endpoint Address, such as test-ipv6.xvpn.cc. Some clients support IPv6, while others can only access IPv4 networks. I also have another domain, test-ipv4.xvpn.cc, and I hope wireguard-ui can support both simultaneously. When using OpenWRT with wireguardj, I can achieve simultaneous support for both IPv4 and IPv6 access, with some clients using IPv4 and others using IPv6 without any interference.

Has this project been abandoned?

@goldsoft8888 you may want something like this https://github.com/wg-easy/wg-easy


Catching exceptions in the dependancy call - eg for pydantic validati…

…on error to return a 422
Just a first pass, will need tests adding etc, but this aims to solve a few issues for deepObject encoding (where you need to use Depends currently), also in response to the issue raised in the discussion https://github.com/tiangolo/fastapi/discussions/3426#discussioncomment-1391836

@ghandic What are your thoughts on this feature idea?  Do you still think it's valid but just not a priority for you, or was there a particular reason to abandon this PR?

I need to reopen this from a feature branch as it was on my master branch on my fork... will aim to do it in the next few days


[Mobile] Input Chinese and click the end of the paragraph or line to focus on the last. The cursor is always at the penultimate Chinese character of each line

My issue is about [Mobile]  IOS
flutter 3.7
flutter_quill 6.3.5
Input Chinese and click the end of the paragraph or line to focus on the last. The cursor is always at the penultimate Chinese character of each line
@singerdmx

Having this same problem with links.
When a link text is the last in a paragraph, the cursor focuses the next-to-last character in the link text.
This issue seems to only manifest on iOS, and not on Android.

Having this same problem with links.
When a link text is the last in a paragraph, the cursor focuses the next-to-last character in the link text.
This issue seems to only manifest on iOS, and not on Android.

Yep, I am using android and it also appered.

Having this same problem with links.
When a link text is the last in a paragraph, the cursor focuses the next-to-last character in the link text.
This issue seems to only manifest on iOS, and not on Android.

Oh, it seems that depend on your TargetPlatform, I changed it to iOS at my android device.
    ThemeData theme = ThemeData(
      useMaterial3: true,
      colorScheme: lightColorScheme,
      platform: TargetPlatform.iOS,
      pageTransitionsTheme: const PageTransitionsTheme(builders: {
        TargetPlatform.iOS: CupertinoPageTransitionsBuilder(),
      }),
      fontFamily: 'Saira',
    );

    ThemeData darkTheme = ThemeData(
      useMaterial3: true,
      colorScheme: darkColorScheme,
      platform: TargetPlatform.iOS,
      pageTransitionsTheme: const PageTransitionsTheme(builders: {
        TargetPlatform.iOS: CupertinoPageTransitionsBuilder(),
      }),
      fontFamily: 'Saira',
    );

@singerdmx here can close issue now


Suspense

$(document.body, import('./external.html'))

let result = $('.app', async (el) => {
  $(el, 'Loading...')

  let result = await someQuery

  $(el, result)

  return result
})

Done as promise-able components:
let thenable = html`Loading...`
thenable.then(e => new Promise(ok => setTimeout(() => ok(html`Loaded!`), 1000)))

html`<${el}>${ thenable }</>`

Can be done as generator too.


Prepare 2.1 beta release

Prepare for 2.1 beta release and clean up the release notes and a couple of other errors in the docs.
Closes #3338, closes #3358.
We also need to update the translations, but that is a huge diff so I'll do that after this has been merged.

Hey guys, thanks for the great work. I don't know where to put this, or where to interact with you, but I wanted to know if #2730 is going to make it for this release. If you don't have the manpower, I can help with that. I'm just not sure where to start.

@fceruti no, there will be a separate major release in a few weeks with that. See #3304

@django-oscar/core would be grateful if any of you has a few minutes to review this - it's just a change to release notes so that I can cut a beta release.


Maybe not put your shodan key in your repo

Hey
Seems you hard coded your shodan key.
https://api.shodan.io/labs/honeyscore/IP?key=C23OXE0bVMxxxpj2by
also my honeypot scores as high as my legitimate site. So maybe a disclaimer that it's not full proof.

I won't remove the API key.
If someone takes over my shodan account or kills me by summoning devils, I am ok with that.


Improve interpreter identification failure logging

Currently, when a binary that looks like it might be a python binary is executed to determine the potential python binary's identity, failures from valid but misconfigured python binaries are more opaque than is useful to debug the underlying misconfiguration:
https://github.com/pantsbuild/pex/blob/e906d4d6430071dbe7269a13b48641979d60c005/pex/interpreter.py#L348-L364
In particular, except Exception as e drops details on the floor in the case where the exception is a pex.executor.Executor.NonZeroExit since its __str__ does not include its stdout or stderr fields. Make sure these are logged.

It looks like this was all fixed up though a series of changes culminating in #1500. In short, interpreter identification is now done via the Job system and Job errors are retained and printed. These job errors include the stderr from the Job, which provides good detail on what the issue was identifying the interpreter.


Can't dump passwords from Chrome on MacOS

Describe the bug
./hack-browser-data --vv -b chrome
cmd.go:69: error exit status 36
browser.go:154: debug Chrome find bookmark file failed, ERR:find Bookmarks failed
browser.go:158: debug Chrome find cookie File Success
browser.go:158: debug Chrome find history File Success
browser.go:158: debug Chrome find download File Success
browser.go:158: debug Chrome find password File Success
browser.go:158: debug Chrome find creditcard File Success
[x]:  Get 103 cookies, filename is results/chrome_cookie.csv
[x]:  Get 8 history, filename is results/chrome_history.csv
[x]:  Get 0 download history, filename is results/chrome_download.csv
[x]:  Get 1 passwords, filename is results/chrome_password.csv
[x]:  Get 0 credit cards, filename is results/chrome_credit.csv

Desktop (please complete the following information):
Software:

    System Software Overview:

      System Version: macOS 11.6 (20G165)
      Kernel Version: Darwin 20.6.0
      Boot Volume: System
      Boot Mode: Normal
      Computer Name: MacBook Pro — Admin
      User Name: Admin (admin)
      Secure Virtual Memory: Enabled
      System Integrity Protection: Enabled
      Time since boot: 19 minutes

Google Chrome 97.0.4692.99
Password string is empty.
UserName,Password,LoginUrl,CreateDate
MyName,,https://google.com/,2022-01-20T16:29:35.442975Z

The password string is returned on a macOS 10.15.6 (19G2021) with Google Chrome 97.0.4692.71.
Hope it helps debugging the issue.

Hi @ryanamaral , Try use v0.4.0 to check if the bug has been fixed. If it is not fixed, you can reopen this Issuse

Describe the bug
./hack-browser-data --vv -b chrome
cmd.go:69: error exit status 36
browser.go:154: debug Chrome find bookmark file failed, ERR:find Bookmarks failed
browser.go:158: debug Chrome find cookie File Success
browser.go:158: debug Chrome find history File Success
browser.go:158: debug Chrome find download File Success
browser.go:158: debug Chrome find password File Success
browser.go:158: debug Chrome find creditcard File Success
[x]:  Get 103 cookies, filename is results/chrome_cookie.csv
[x]:  Get 8 history, filename is results/chrome_history.csv
[x]:  Get 0 download history, filename is results/chrome_download.csv
[x]:  Get 1 passwords, filename is results/chrome_password.csv
[x]:  Get 0 credit cards, filename is results/chrome_credit.csv

Desktop (please complete the following information):
Software:

    System Software Overview:

      System Version: macOS 11.6 (20G165)
      Kernel Version: Darwin 20.6.0
      Boot Volume: System
      Boot Mode: Normal
      Computer Name: MacBook Pro — Admin
      User Name: Admin (admin)
      Secure Virtual Memory: Enabled
      System Integrity Protection: Enabled
      Time since boot: 19 minutes

Google Chrome 97.0.4692.99
Password string is empty.
UserName,Password,LoginUrl,CreateDate
MyName,,https://google.com/,2022-01-20T16:29:35.442975Z


Handle Empty State for Favorite Screen

I wanna implement an Empty state for favorite Screen

@mhmd-android  Sure, please! 😍


Eventloop future

Adds the EventLoopGroup.future methods from vapor/core.
Checklist

[x] Circle CI is passing (code compiles and passes tests).
[x] There are no breaking changes to public API.
[x] New test cases have been added where appropriate.
[x] All new code has been commented with doc blocks ///.
[x] The linuxMain.swift is regenerated using swift test --generate-linuxmain

Hey @calebkleveter, you just merged a pull request, have a coin!
You now have 466 coins.


Connected-React-Router latest version is showing dependency issue

I am using latest version of connected-react-routers and can see below error it was working for previous version 6.8.0

Latest version 6.9.0

Duplicate of https://github.com/supasate/connected-react-router/issues/480

Should be fixed in v6.9.1.


Support for Awattar

Hi,
I just found your plugin for Teslamate and it's exactly what I'd need for my installation - if it would support Awattar (https://www.awattar.de/services/api) as there is also an API available. Could you implement it, too?
Thanks,
Joerg

Hi @nottheedge, it looks to be a fairly simple API to use and implement, I've added in the API quickly and published a pre-release version for your testing to see if it's working as you expect.
I anticipate there will be a problem with VAT as the API does not include prices with VAT. Is this something that you would require?
If so, what is the VAT calculation for electricity in the region this energy provider operates in, presumably Germany only?
You can access the pre-release version with docker tag v1.7.0-rc.1
Refer to the guide in the README on how to force TeslaMateAgile to recalculate charges for testing.
Let me know if you run into any troubles. This looks to hopefully be a quick win 😄

Hey @nottheedge - just checking in, did you manage to try this out? I am waiting on your feedback before releasing this properly to make sure it's all good 😄

My apologies I didn’t recognise that you send me a message 6 days ago. Will have a look next days.

No worries, cheers!

I got it installed but I assume I can't recalculate charges at my home as the prices per hour are only valid for next 24h. A backward calculation is impossible. My car is plugged in and it will charge tomorrow 2-4am for (7,5ct at 2am, 7,35ct at 3am and 7,45ct at 4am). Let see what's gonna happen.
Related to your question about VAT calculation you only need to multiply with 1,19 as we have 19% per kWh. Probably you could set it as parameter inside docker-compose to be flexible?
Regards,
Joerg

Hey @nottheedge, just checking in again to see if you managed to give it a go?
Thanks for the info about VAT, I'll add an option specifically for this provider which has a default VAT rate of 19% if not set but you will be able to override it. This is because the other providers automatically include VAT in their prices so it is not something we need to worry about and it may confuse users if we add an option to add VAT to Octopus Agile prices when they are already included for example.
Hopefully everything (other than the lack of VAT) is working correctly for you?

I have now pushed a new release candidate v1.7.0-rc.4 with the the VAT multiplier option added, it is Awattar__VATMultiplier and it is set by default to 1.19 so you shouldn't generally need to set it at all unless you claim the VAT back or something but it's there just in case.
Could you please try out this new version and make sure everything is nice and happy and then we can properly release v1.7.0 😄

So far it looks good. As I charge the car over several hours there are different prices each hour. How do you cumulate it? Is there kind of database which stores the prices if charging is in progress? It's just to check if it cumulates correctly.

Yeah so it's actually pretty complicated but essentially TeslaMate samples the current charging state during a charge every 5 seconds or so so we know at any particular point how much power was being drawn and can calculate it over a particular datetime range, which TeslaMateAgile uses to calculate for each price from the aWATTar API relevant to your charging session.
You can calculate it roughly by knowing your normal charge rate (e.g. 7.2kW) and multiplying it by the current cost per hour divided by how much of that hour it was charging
So for example if your charge was from 00:30 to 02:00 and it was 5p/kWh for 00:00-01:00 and 10p/kWh for 01:00-02:00 and you were charging at 7kW: For the first hour you'd basically go 7/6030=3.5kWh then 5p3.5kWh=17.5p for the first hour, then for the second hour that would be 7/6060=7kWh as its a full hour and then 10p7kWh=70p and then just add them together to get a rough charge cost of 87.5p
This is essentially how TeslaMateAgile calculates it but on a much smaller timestep for more accuracy so if you compare the two outputs it should be within a few pennies (or cent or whatever)
Hope that makes sense!

v1.7.0 has now been released with aWATTar support, so I will close this. If there are any issues with the implementation please raise a new issue! Cheers


hidpp20: fix resolution count detection

This should fix #343 without impacting the mice without onboard profiles.
Signed-off-by: Ogier Bouvier<EMAIL_ADDRESS>

Done!

Nearly! :)
The "fix" should be on its own line in the commit message, not in the title (github might not bother, but this is not how we did for others)

Looks good now :)


Using typing.Annotated

Hi, I'm not sure if this has been already discussed in some other context (and please just close if this is a duplicate) but I was wondering if there is already some debate on whether or not it makes sense to also support using typing.Annotated for attrs. For example, I've seen that pydantic uses the mechanism to allow binding validation to types instead of attributes, which I think is a neat concept that allows reusing the same semantic meaning across different contexts/classes. And I've already had several situations in my code where such a mechanism would have been useful, e.g. when attributes of different classes should undergo the exact same conversion/validation logic.
Are there any plans for this in attrs already?

There's no plans underway, no. The whole field seems also a bit in flux tbh but @Tinche might have opinions.

We've just added another module to our code where the same combination of type hint + field definition is repeated all over the place, which again reminded me of how useful the typing.Annotated could be in many situations. Just wanted to ask again if the two of you already could make your minds about whether you see this on the roadmap or not. I think it would also help many people transition from pydantic to attrs, who are already used to that syntax, in fact ...

Duplicate of https://github.com/python-attrs/attrs/issues/775

Hi @dlax, thanks for tagging!

closing in favor of #775


Cannot install plugin anymore

When running
export TRIVY_RUN_AS_PLUGIN=aqua
trivy image python:3.4-alpine

the command fails while installing trivy-plugin-aqua. It seems it cannot find part of the plugin files. This issue first occurred today, maybe related to the release of v0.178.1?
Log output:
2024-07-31T12:20:17Z	INFO	[plugin] Updating the plugin index...	url="https://aquasecurity.github.io/trivy-plugin-index/v1/index.yaml"
2024-07-31T12:20:17Z	INFO	[plugin] Installing the plugin...	src="github.com/aquasecurity/trivy-plugin-aqua"
2024-07-31T12:20:22Z	FATAL	Fatal error	plugin error: plugin install error: failed to install the plugin: unable to download the execution file (https://github.com/aquasecurity/trivy-plugin-aqua/releases/download/v0.178.0/linux_amd64_v0.178.0.tar.gz): failed to download https://github.com/aquasecurity/trivy-plugin-aqua/releases/download/v0.178.0/linux_amd64_v0.178.0.tar.gz: Get "https://github.com/aquasecurity/trivy-plugin-aqua/releases/download/v0.178.0/linux_amd64_v0.178.0.tar.gz": failed to round trip: failed to get the file content: GET https://api.github.com/repos/aquasecurity/trivy-plugin-aqua/contents/releases/download/v0.178.0: 404 Not Found []

More specifically, this API request seems to fail with 404: GET https://api.github.com/repos/aquasecurity/trivy-plugin-aqua/contents/releases/download/v0.178.0.
Also, I see that the plugin index at https://aquasecurity.github.io/trivy-plugin-index/v1/index.yaml still references version 0.178.0.

Ah, seems to be related to trivy itself: https://github.com/aquasecurity/trivy-plugin-aqua/issues/828

Sorry for the inconvenience. Fixed in v0.54.1.

Working again ✅

Thanks for confirming!


Proxy not opening specified folder

Hello,
thanks very much for your work on this plugin, it's great.
I have just installed v2.0.0-rc4 and the proxy is only opening the main localhost folder rather than the directory I specified in my gulp task.
It is only going to http://localhost:3000 rather than http://localhost/susy-test/dist/
I installed v1.9.1 and it works fine. My gulp task is below and I am on windows 7.
gulp.task('browser-sync', function() {
	plugins.browserSync({
		proxy: '<IP_ADDRESS>/susy-test/dist/'
	});
});

Thanks for reporting. :)

No problem

Sorry, just noticed a mistake it is meant to be going to http://localhost:3000/susy-test/dist/

updated

npm install<EMAIL_ADDRESS>--save-dev
:)

That's great, many thanks @shakyShane, working fine for me.


Support for Search Ads 360 Reporting API

Hello,
If I'm not wrong this lib is not supporting yet the new "Search Ads 360 Reporting API".
If so, when will you add it?
Thanks

@AleeeKoi Hello! Thanks for reaching out!
Looking around a bit I found out that the 360 ADS API should be accessible via the services library here:
https://github.com/googleapis/google-api-php-client-services
This gets installed once you install the clients library. You should be able to use the API with something similar to this:
$client = new Google\Client();
$client->setApplicationName("YOUR_APP_NAME");
$client->setDeveloperKey("YOUR_API_KEYS");

$service = new Google\Service\SA360($client);
$service->searchAds360Fields();

And using the the different resources from the client library. I hope this helps!


[TASK-ORDER] General Receive Note

Background
GRN module is used to receive item from procurement (PO). GRN should created by existing PO, so the item details are not editable to another item defined in PO. Item can be received partially (multi deliver) in case of separated delivery from supplier so 1 PO can produce 2 or more GRNs. Once  the GRN created, items defined in GRN will added into targeted stock point and update PO detail for delivered item status to inform PO about pending delivery status if exists or close the PO status as done if all item is fulfilled. Stock log is created as well.
Objective

Add GRN from existing PO
Set the batch code and expiration date for each item
For multiple batch, multiple same item is allowed (item must exist in PO)
Create or accumulate stock to targeted stock point after GRN
Log the stock

Business Flow
PO -> GRN - > Stock

Masih bersedia dek @tukangk3tik ?


Question regarding javascript communication

I wanted to verify that I draw the right conclusions from the documentation:

Depending on when a script is loaded, it is possible that window.flutter_inappwebview is not yet set.

In that case we should listen to the flutterInAppWebViewPlatformReady event, in order to know about the earliest point in time, when we are able to make those calls to window.flutter_inappwebview.callHandler.

If we are confident enough that calls to window.flutter_inappwebview.callHandler only happen after the event, we can also just check if window.flutter_inappwebview or even window.flutter_inappwebview.callHandler is set before calling it. If it is truthy, we can make the call.

If we are not sure we can reliably listen to the flutterInAppWebViewPlatformReady event, we should rely on variant 3 to make those calls, since there is no other way to known wether the callHandler is actually ready.

Let me know if there is another place to post this, or if there is anything unclear.
Thx

I read through https://inappwebview.dev/docs/javascript/communication/ and I searched in the github issues but didn't find anything similar.
I considered this would be a better place for this specific question than going to/searching stackoverflow / google since I want to verify multiple assumptions I have after reading the documentation and having seen some code, that is based on those assumptions.


pprof requires binary as well as pprof output when using files.

from pprof usage:
usage: pprof [options] [binary]  ...
require a binaryname arg when using binaryfile.
verified this with local -cpuprofile output from tests.
r @sandlerben

Nit: let's get our commit messages up to open source standards. Capitalize, short subject, imperative verb, no trailing period.
http://chris.beams.io/posts/git-commit/

lgtm once you make binaryfile optional

Updated commit messages + made binaryname optional so the .pb.gz files don't need it.


Installing BetterDiscord

How to install BD?  Can someone help?

This is on the wrong repo, the repo you're looking for is https://github.com/rauenzi/BetterDiscordApp


Add ROADMAP

Signed-off-by: David Espejo<EMAIL_ADDRESS>
Changes proposed by this PR

closes #471

Release Note

PR Checklist
Note: Please do not remove items. Mark items as done [x] or use ~strikethrough~ if you believe they are not relevant

[ ] Linked to a relevant issue. Eg: Fixes #123 or Updates #123
[ ] Removed non-atomic or wip commits
[ ] Filled in the Release Note section above
[ ] Modified the docs to match changes

I don't think rebasing went well. Starting with a new PR


ci: cancel monitoring across restarts in K8sFQDNTest

cilium monitor requires the agent to be running, so there is no point in
keeping the two monitoring instances running accross restarts in
K8sFQDNTest.


Download GPX

Button should produce a .gpx file and start download, but it doesn't not seem to trigger action.

@amyleew we can drop this as I plan to remove .gpx support anyway. See https://github.com/Project-OSRM/osrm-backend/issues/1489


Dashboard - Improve rescueduling date handling

Correct date handling on todos in the following scenarios:
- Moving a scheduled todo from a calendar note using the quick edit dialog.
- Moving  a scheduled todo from a calendar note using Overdue's All -> Today button.
- Moving a scheduled todo from a project note using Overdue's All -> Today button.
- Rescheduling a todo from a calendar note using Overdue's All -> Today button.
- Rescheduling a todo from a project note using Overdue's All -> Today button.
Also, fix error using the Today section's All Today -> Tomorrow button. Previously would not reschedule any items, but would log an error scheduleAllTodayTomorrow :: Oddly I can't find a daily note for today.

Associated issue: 549


Use of other directives inside translation

I want to use other directives inside my translation files.
So the directive should be executed after my translation placeholder was replaced.
{
	"title": "Imprint",
	"subtitle": "Website example.com"
}

After the translate directive replaced my palceholder "subtitle" it should execute the directive "ui-sref", but actually thats not happening.
Is it possible to implement this?

This does not work for me. The directive is just deleted and I will instead have the plain element.
Example with ng-src here http://plnkr.co/edit/pV9AurCNnbgn8VJasuMc?p=preview
What am I missing? I am actually trying to use an ui-sref directive on an a element. But after translation the ui-sref directive is just stripped from my a element.

Okay - ngSanitize removes the ui-srefdirective.

@akleiber did you find any solution to have ui-sref working with ngSanitize?

@LeoLozes You could change the variable escaping to
$translateProvider.useSanitizeValueStrategy('escapeParameters');

or
$translateProvider.useSanitizeValueStrategy('sanitizeParameters');

@Phisherman thanks, I did find this same solution and it worked fine with 'sanitizeParameters' :)


filer.backup fails with panic: assignment to entry in nil map

Describe the bug
Error when running weed filer.backup:
I0508 21:45:35.281247 s3_sink.go:78 sink.s3.region: eu-central-1
I0508 21:45:35.281546 s3_sink.go:79 sink.s3.bucket: my-backup-bucket-on-aws-s3
I0508 21:45:35.281558 s3_sink.go:80 sink.s3.directory: /
I0508 21:45:35.281562 s3_sink.go:81 sink.s3.endpoint: https://s3.eu-central-1.amazonaws.com
I0508 21:45:35.281565 s3_sink.go:82 sink.s3.acl:
I0508 21:45:35.281569 s3_sink.go:83 sink.s3.is_incremental: false
I0508 21:45:35.281573 s3_sink.go:84 sink.s3.s3_disable_content_md5_validation: true
I0508 21:45:35.281577 s3_sink.go:85 sink.s3.s3_force_path_style: true
I0508 21:45:35.281586 s3_sink.go:86 sink.s3.keep_part_size: true
I0508 21:45:35.281590 s3_sink.go:92 sink.s3.uploader_max_upload_parts: 1000
I0508 21:45:35.281630 s3_sink.go:94 sink.s3.uploader_part_size_mb: 0
I0508 21:45:35.281636 s3_sink.go:95 sink.s3.uploader_concurrency: 8
I0508 21:45:35.281711 filer_replication.go:129 Configure sink to s3
I0508 21:45:35.284242 filer_backup.go:116 resuming from 2024-04-17 13:05:17.846599071 +0000 UTC
panic: assignment to entry in nil map

goroutine 1 [running]:
github.com/seaweedfs/seaweedfs/weed/replication/sink/s3sink.(*S3Sink).CreateEntry(0xc00031b4d0, {0xc000a08100?, 0xc000378770?}, 0xc000a344d0, {0x7?, 0xc000a2a030?, 0x17?})
	/go/src/github.com/seaweedfs/seaweedfs/weed/replication/sink/s3sink/s3_sink.go:179 +0x1f1
github.com/seaweedfs/seaweedfs/weed/command.doFilerBackup.genProcessFunction.func3(0xc000884640)
	/go/src/github.com/seaweedfs/seaweedfs/weed/command/filer_sync.go:433 +0x50b
github.com/seaweedfs/seaweedfs/weed/command.doFilerBackup.AddOffsetFunc.func4(0xc000884640)
	/go/src/github.com/seaweedfs/seaweedfs/weed/pb/filer_pb_tail.go:112 +0x47
github.com/seaweedfs/seaweedfs/weed/pb.FollowMetadata.makeSubscribeMetadataFunc.func1({0x2c28618, 0xc0003ba9b0})
	/go/src/github.com/seaweedfs/seaweedfs/weed/pb/filer_pb_tail.go:86 +0x298
github.com/seaweedfs/seaweedfs/weed/pb.WithGrpcFilerClient.func1(0xc00091a008)
	/go/src/github.com/seaweedfs/seaweedfs/weed/pb/grpc_client_server.go:262 +0x68
github.com/seaweedfs/seaweedfs/weed/pb.WithGrpcClient(0x59?, 0x0?, 0xc0007d3a40, {0xc0001ff0f0, 0xf}, 0x9?, {0xc0007d3a30?, 0x2?, 0x9?})
	/go/src/github.com/seaweedfs/seaweedfs/weed/pb/grpc_client_server.go:155 +0x343
github.com/seaweedfs/seaweedfs/weed/pb.WithGrpcFilerClient(0x1, 0x0, {0x242e059?, 0x45bb0a?}, {0x2bea5c0, 0xc0001adca0}, 0xc0007d3a90)
	/go/src/github.com/seaweedfs/seaweedfs/weed/pb/grpc_client_server.go:260 +0xae
github.com/seaweedfs/seaweedfs/weed/pb.WithFilerClient(...)
	/go/src/github.com/seaweedfs/seaweedfs/weed/pb/grpc_client_server.go:254
github.com/seaweedfs/seaweedfs/weed/pb.FollowMetadata({0x242e059?, 0x242098b?}, {0x2bea5c0?, 0xc0001adca0?}, 0xc0007d3dc0?, 0x2bd9468?)
	/go/src/github.com/seaweedfs/seaweedfs/weed/pb/filer_pb_tail.go:41 +0x69
github.com/seaweedfs/seaweedfs/weed/command.doFilerBackup({0x2bea5c0, 0xc0001adca0}, 0x3f852e0, 0x2b351b9f, 0x1)
	/go/src/github.com/seaweedfs/seaweedfs/weed/command/filer_backup.go:164 +0xa58
github.com/seaweedfs/seaweedfs/weed/command.runFilerBackup(0x3f68758?, {0xc0001c2010?, 0x0?, 0x0?})
	/go/src/github.com/seaweedfs/seaweedfs/weed/command/filer_backup.go:71 +0x99
main.main()
	/go/src/github.com/seaweedfs/seaweedfs/weed/weed.go:80 +0x2c2

System Setup

weed s3 -filer=localhost:8888 -ip.bind=<IP_ADDRESS> -config=/vault/secrets/s3-identities.json
weed filer -master=localhost:9333 -ip.bind=<IP_ADDRESS>
weed master -ip.bind=<IP_ADDRESS> -defaultReplication=00
OS version - Alpine Linux 3.19.1
output of weed version: version 30GB 3.64 b74e8082b linux amd64

Expected behavior
Working backup of seaweed to S3.
Any idea if a bug or problem with configuration?
Thanks a lot.

duplicate with https://github.com/seaweedfs/seaweedfs/pull/5406

Thanks, I updated to latest seaweed and this is solved. Unfortunately, there is another trouble.


[BUG] spawnOnJoin causing everlasting "Loading Terrain" for Java Edition players

Versions

EasyAuth mc1.19-3.0.0-7
Fabric API 0.58.0+1.19

Describe the bug
For Java Edition it's just everlasting loading screen, for Bedrock Edition (Geyser) players it's empty world with no blocks at all
To Reproduce
Steps to reproduce the behavior:

Turn "spawnOnJoin" on in mod config
Try to connect the server

Additional context
Add any other context about the problem here.

Setting config option "allowMovement" to true seems to fix this bug. Perhaps the client is waiting for movement before clearing the loading terrain screen when you join a server?

Same issue here. Temporarily resolved by allowing movement or turning off spawn on join.
"spawnOnJoin": false,
"allowMovement": false,
**OR
"spawnOnJoin": true,
"allowMovement": true,