Issue running server

I am having an issue getting the graphite server to run on my machine.
As per the instructions in the docs, I created a virtual environment, installed the requirements, created the directories and ran the server. I found these instructions here: http://graphite.readthedocs.io/en/latest/development.html
The server starts fine but when I navigate to <IP_ADDRESS>:8000, this is what I see

A server error occurred.  Please contact the administrator.

And the terminal shows this output:
(env) Sat-Jun-11 18:50:44 /home/suhussai/graphite-web/webapp> ./manage.py runserver
Could not import graphite.local_settings, using defaults!
/home/suhussai/graphite-web/webapp/graphite/settings.py:237: UserWarning: SECRET_KEY is set to an unsafe default. This should be set in local_settings.py for better security
  warn('SECRET_KEY is set to an unsafe default. This should be set in local_settings.py for better security')
Could not import graphite.local_settings, using defaults!
/home/suhussai/graphite-web/webapp/graphite/settings.py:237: UserWarning: SECRET_KEY is set to an unsafe default. This should be set in local_settings.py for better security
  warn('SECRET_KEY is set to an unsafe default. This should be set in local_settings.py for better security')
Performing system checks...

System check identified no issues (0 silenced).
June 12, 2016 - 00:50:47
Django version 1.9.7, using settings 'graphite.settings'
Starting development server at http://<IP_ADDRESS>:8000/
Quit the server with CONTROL-C.
Traceback (most recent call last):
  File "/usr/lib/python2.7/wsgiref/handlers.py", line 85, in run
    self.result = application(self.environ, self.start_response)
  File "/home/suhussai/env/local/lib/python2.7/site-packages/django/core/handlers/wsgi.py", line 177, in __call__
    response = self.get_response(request)
  File "/home/suhussai/env/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 230, in get_response
    response = self.handle_uncaught_exception(request, resolver, sys.exc_info())
  File "/home/suhussai/env/local/lib/python2.7/site-packages/django/core/handlers/base.py", line 296, in handle_uncaught_exception
    return callback(request, **param_dict)
  File "/home/suhussai/graphite-web/webapp/graphite/views.py", line 7, in server_error
    template = loader.get_template(template_name)
  File "/home/suhussai/env/local/lib/python2.7/site-packages/django/template/loader.py", line 26, in get_template
    engines = _engine_list(using)
  File "/home/suhussai/env/local/lib/python2.7/site-packages/django/template/loader.py", line 143, in _engine_list
    return engines.all() if using is None else [engines[using]]
  File "/home/suhussai/env/local/lib/python2.7/site-packages/django/template/utils.py", line 110, in all
    return [self[alias] for alias in self]
  File "/home/suhussai/env/local/lib/python2.7/site-packages/django/template/utils.py", line 101, in __getitem__
    engine = engine_cls(params)
  File "/home/suhussai/env/local/lib/python2.7/site-packages/django/template/backends/django.py", line 31, in __init__
    options['libraries'] = self.get_templatetag_libraries(libraries)
  File "/home/suhussai/env/local/lib/python2.7/site-packages/django/template/backends/django.py", line 49, in get_templatetag_libraries
    libraries = get_installed_libraries()
  File "/home/suhussai/env/local/lib/python2.7/site-packages/django/template/backends/django.py", line 142, in get_installed_libraries
    for name in get_package_libraries(pkg):
  File "/home/suhussai/env/local/lib/python2.7/site-packages/django/template/backends/django.py", line 159, in get_package_libraries
    "trying to load '%s': %s" % (entry[1], e)
InvalidTemplateLibrary: Invalid template library specified. ImportError raised when trying to load 'tagging.templatetags.tagging_tags': cannot import name get_model
[12/Jun/2016 00:50:47] "GET / HTTP/1.1" 500 59

My machine specs are:
OS: Ubuntu 14.04.3 LTS
Python: Python 2.7.6
Django==1.9.7
django-tagging==0.3.6
As for the graphite-web version, I did a git clone of the project and used the latest one.

The problem is that you are running with a default password for Django (which requires it), but since this is an open-source product and the password is widely-known, we provide a default value, but then check if this password is set to the default, and force you to change it so that you are less likely to be hacked via it.
This is purely for your benefit.  It is working as expected.

I changed the password on /graphite/settings.py but it is still giving me the same ImportError as above.

https://github.com/django-extensions/django-extensions/issues/705#issuecomment-194036134
Try to remove old *.pyc files

@deniszh I deleted the old .pyc files and restarted the server, but I ended up getting the same error when I navigated to the server.

Try to upgrade django-tagging to the latest version, 0.3.6 is quite old.
According to our test suite django 1.9.6 + tagging 0.4.3 was working fine - https://travis-ci.org/graphite-project/graphite-web/jobs/134935515

Thanks @deniszh! Updating django-tagging to 0.4.3 seems to have worked. I ran across a different error but I've gotten that resolved. I think the issue was resolved by installing Django version 1.8 instead of using version 1.9.7.

thanks @suhussai , one solution for all !!! thanks...


Add color prop typescript definition in Select

Describe the bug
Using color prop we can change the color of the currently selected. See the below screenshot. Color props works but ts shows it as an error.

Expected behaviour
TS should suggest color prop.

This issue has be resolved and will be fixed with the next Release.


DRILL-7672: Make metadata type required when reading from / writing into Drill Metastore

DRILL-7672: Make metadata type required when reading from / writing into Drill Metastore
Description

Upgraded Iceberg version and removed unneeded code for In / NotIn Expressions.
Updated Metastore Read / Modify interfaces to support required metadata types:
a. introduced abstract Read / Modify classes with boilerplate code;
b. added delete operation with filter and metadata type;
c. added metadata type validator which checks supported metadata types for each component;
d. made purge operation terminal;
e. made necessary changes in REAME.md files.
Added / updated unit tests.

Documentation
NA
Testing
Added unit tests.

@paul-rogers addressed code review comments. Had to do some refactoring to ensure we are always refer to MetadataColumn instead of its string representation, thus now PR contains slightly more files.
@vvysotskyi you might want to take a look as well since I have touched some new areas.

@vvysotskyi thanks, @paul-rogers is the PR ok to go?


Move extended description to editors notes

Edited defs by moving some details down as comments
Electrophys that are not defining characteristics are also moved into comments

Closing as this is stale - much of the fixes already happened with making terms agnostic


add gmusicapi python package

as well as several dependencies. Tested with a personal project that
relies on gmusicapi

Please read https://nixos.org/nixpkgs/manual/#idm140737318982464 and do changes to your descriptions.

Updated the description attributes. Previously they were generated by one of the pip-to-nix utilities.


Submission of register lists with errors require reason

The submission of register lists should require a reason to bypass warnings if any of the names have errors. This might be the case for missing types in the case of genome sequences still under embargo for the pre-publication path.

Depends on #100


SSL_ERROR_BAD_CERT_DOMAIN

Opening screenshows shows SSL_ERROR_BAD_CERT_DOMAIN error, github certs

Which screen are you getting this error on?

On readme page on this repo

I updated the links in the repo, can you try this again?

Yup, works fine


De-serialization issue when attribute is an array of objects

Hi, given the following contracts
   public class ResourceA
    {
      public string Id { get; set; }
      public string Type { get; set; } = "A";
      public ResourceB ResourceB { get; set; }
    }

    public class ResourceB
    {
      public string Id { get; set; }
      public string Type { get; set; } = "B";
      public ResourceC[] ResourceCs { get; set; }
    }

    public class ResourceC
    {
      public string Id { get; set; }
      public string Type { get; set; } = "C";
      public DateTimeOffset DateTimeOffset { get; set; }
    }

and the following jsonapi instance
{
  "data": {
    "id": "8a45fc9f-8d08-49d1-9f21-43fe7d27b47f",
    "type": "A",
    "relationships": {
      "resourceB": {
        "data": {
          "id": "20fa444b-38d7-481f-ac00-ef86b92fc8c0",
          "type": "B"
        }
      }
    }
  },
  "included": [
    {
      "id": "20fa444b-38d7-481f-ac00-ef86b92fc8c0",
      "type": "B",
      "attributes": {
        "resourceCs": {
          "data": []
        }
      }
    }
  ]
}

what we get with v1.7.4 is an instance of ResourceA with a property of ResourceB with an array containing a default instance of ResourceC, with Id=null, and DateTimeOffset=default(DateTimeOffset) (instead of an empty array).
With version 1.3.1, the array was empty as expected.
I noticed that renaming attributes to relationships does work but in our case it comes from an external service..
In any case, is this a bug? Thanks

ResourceCs is in the attributes so its treated as regular JSON serialization, it does not do any special handling of data property, its expecting your ResourceC object to have a data property to deserialize into. It is the equivalent of JsonConvert.DeserializeObject<ResourceC>(@"{""Data"":[]}"), which will return a default ResourceC (Id=null, and DateTimeoOffset=defalt(DateTimeOffset))
The model that more accurately fits your JSON is
public class ResourceA
{
    public string Id { get; set; }
    public string Type { get; set; } = "A";
    public ResourceB ResourceB { get; set; }
}

public class ResourceB
{
    public string Id { get; set; }
    public string Type { get; set; } = "B";
    public ResourceCData ResourceCs { get; set; }
}

public class ResourceCData
{
    public ResourceC[] Data { get; set; }
}

public class ResourceC
{
    public string Id { get; set; }
    public string Type { get; set; } = "C";
    public DateTimeOffset DateTimeOffset { get; set; }
}

ResourceC is not real Resource object, it is just an attribute that happens to have similar fields to a resource object.


Can the extension support VScode's difftool view?

When viewing git diff the extension doesn't work on the changes side.

Yes, it can.
Duplicate of #53


Investigate adding datalist to compatible inputs.

See: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/datalist
Polyfill: https://github.com/mfranzke/datalist-polyfill

@wildland/wildland-labs What do we think for this? Datalist is very useful suggestion tool for inputs, but isn't supported in safari.


tracker.sender_id always returns default in custom actions

Rasa version: 2.1.0
Rasa SDK version: 2.1.1
Python version: 3.7.9
Operating system: Ubuntu
Issue:
In all of my custom actions, tracker.sender_id now always returns default instead of the actual sender id. We are heavily using this sender id as user identifiers in our database which currently fails as a result.
Note that I am using Facebook Messenger and in the Rasa core, the sender_id is correctly set.
Error (including full traceback):
No error is thrown
Command or request that led to error:
rasa run actions --action actions --debug

Hi @joejuzl thanks for checking! I see where the issue lies now. Happy to provide a fix, looking into this now.

@wochinge I am looking at the _run_action from the MessageProcessor. I see that you added the temporary tracker that copies from the original one. However, tracker.copy() does not copy the sender_id because of how init_copy initializes the sender id:
    def init_copy(self) -> "DialogueStateTracker":
        """Creates a new state tracker with the same initial values."""

        return DialogueStateTracker(
            DEFAULT_SENDER_ID,  # problematic line
           ...

In order to fix this, I see two options:

Set the sender_id on the temporary_tracker
Modify the behavior of DialogueStateTracker.copy or DialogueStateTracker.init_copy so that they also copy the sender id. However, I do not have enough overview on the whole Rasa ecosystem to understand how that would effect other parts of Rasa.

What do you think would be the best approach?
Thanks for your inputs! Happy to do a PR afterwards :-)

Modify the behavior of DialogueStateTracker.copy or DialogueStateTracker.init_copy so that they also copy the sender id. However, I do not have enough overview on the whole Rasa ecosystem to understand how that would effect other parts of Rasa.

That sounds perfect! 👍 I checked the code base and it should actually fix a couple of other locations which use init_copy 🙈  Feel free to request review from me then 👍

Perfect, will work on it today!

Please target 2.1.x for your PR. Then we can ship a patch release asap.

I try to update rasa 2.1.3 and also my rasa sdk 2.1.2 but still get this bug. This happens in rasa docker hub images also. Did this release? I'm so stuck at here :(

I try to update rasa 2.1.3 and also my rasa sdk 2.1.2 but still get this bug. This happens in rasa docker hub images also. Did this release? I'm so stuck at here :(

I also tried doing this the day it appeared to have released. Same problem. I spent a while trying to figure out if I was somehow using an old version, or if I was reading the git commits wrong and it had not yet released. Came up empty. Thought I'd shelve that part of my work for a bit and come back to re-test.
So yes, has this fix been released? And in what version?

The fix was released released in Rasa Open Source 2.1.1 (cc @nbeuchat )

Hello,
did you manage to find a solution for this? I am using the latest version of Rasa. I am sending in my Rasa webhook the "sender" value but when I try to get the sender using
  tracker.current_state()['sender_id']

the result is "default" .
Thank you

Hello,
did you manage to find a solution for this? I am using the latest version of Rasa. I am sending in my Rasa webhook the "sender" value but when I try to get the sender using
tracker.current_state()['sender_id']
the result is "default" .
Thank you

@gdet which channel are you using? We fixed this issue in this PR #7341. Not sure if that's the same issue?

Hello,
I am trying to connect RASA to flutter and I am using the configuration of the website ("your own website"). I am posting the json data through Flutter http.post. Should I create a different channel?

Hello again,
So I had these versions:
Rasa Version     : 2.3.4
Rasa SDK Version : 2.3.1
Python Version   : 3.7.3
And I upgraded Rasa and now it is working. The version I have now for  rasa is  version 2.4.0
Thank you

Hello, I'm also facing the same issue with the following rasa version.
Rasa Version:         2.8.5
Minimum Compatible Version: 2.8.0
Rasa SDK Version:         2.8.2
Python Version:         3.8.10
Can anyone please help me out with that?
I really appreciate any help that can be provided.

@abhishek-teams . I was facing this issue because of my post request. Instead of sending
{
"sender": "user_id",
}
I was sending
{
"user": "user_id"
}
Not sure if thats what is causing an issue for you as well.

@shari-amalgamrx no I'm also using the same
{
'message': message,
'sender': user_id
}
but still I'm getting "default"

@shari-amalgamrx Thanks for the help I was doing the same mistake now it works.

I am facing same issue on "version": "3.5.10"
Can anyone please help me out with that?


METRON-532 Define Profile Period When Calling PROFILE_GET

This PR builds on top of @nickwallen 's work in METRON-529, which has already been committed to master. It adds an optional argument to PROFILE_GET, allowing run-time overrides of the profiler client global configuration parameters. The primary use case is when historical profiles have been created with a different profile configuration than is currently configured, and the analyst needing to access them does not want to change the global client configuration so as not to disrupt the work of other analysts working with current profiles.
This PR is essentially similar to the former proposed PR-345, except that the signature of the PROFILE_GET function has been changed to make groups be a List instead of a "varargs"-style sequence, so the new config_overrides Map argument can come after it.  This avoids a really hacky over-indulgence in polymorphism, and is consistent with discussion in PR-395.  I'm opening a new PR, rather than reopening the old one, because I also had to rebase to changes in master, and the forced push destroyed the history that PR-345 pointed at.
At suggestion of @cestella , scope of this work item was expanded to include checking for config changes at run time, in the PROFILE_GET Stellar function.  This is a much needed enhancement.
I also considerably improved the documentation of PROFILE_GET as regards the groups argument, with input from @nickwallen .  Thanks, Nick!
Testing: This build has passed Travis in my fork, and should shortly be reported passed here.  Since the only code changes were to the Stellar function, the corresponding junit tests are actually sufficient testing.  However, I will go ahead and test them on a live single-host test platform, taking the opportunity to test the new Profiler RPMs from PR-413!  I'll report the results here tomorrow.

Ok, I like this a lot.  I didn't see anything that I really have an issue with at all, in fact.  Great job @mattf-horton !  You get my +1 pending your tests :)

Clean, well-documented, tested. Nice work @mattf-horton! +1 from me as well.

The function has two optional arguments, no?  I thought per the discussion in METRON-590 that was not well liked?  Is this different somehow?

@nickwallen Yeah, I noticed that.  I THINK I've come around to it in this case.  They are differing types so should be able to be differentiated relatively easily.  Thanks for bringing attention to it, though.  It won't hurt to ensure nobody else is offended by it.

Sounds good.  +1

@nickwallen and @cestella, thanks for the comments.  Regarding multiple optional args, I followed the rule that if the second optional arg is provided, then the first "optional" arg isn't optional; or more generally, if a later optional arg is provided, all preceding optional args must also be provided, even if with trivial values.  No tricky polymorphisms with object types, just a simple argument count. I think that's the best we can do without named arguments.
BTW, @cestella , my previous PR-345 did use object type checking to allow either or both to be truly optional, but it felt very hacky, was obviously not generalizable, and I was happy to change to this.
Hopefully I made this clear for users in both the comments and documents.  Let me know if you feel more needs to be said.  Thanks.

A further comment on multiple optional parameters:  C++ allows multiple optional (defaulted) arguments, and does not support named arguments.  The rule "if a later optional arg is provided, all preceding optional args must also be provided, even if with trivial values", is exactly what C++ does. It is also consistent with what Python does when multiple defaulted arguments are provided positionally instead of as "named arguments" -- altho of course in Python one probably would use the named args instead.

@mattf-horton  Thanks for pointing out the precedent.  It is to my everlasting shame that I did not think to do named arguments initially for Stellar.

@cestella , Everlasting? Really? :-)  Considering that Java doesn't, and even most interpreted languages that do support them added them as a 2nd or 3rd generation feature, I'd say you're in very good company!

@mattf-horton hah fair point, I was being overwrought, but we might consider it if we ever have a bundle of Stellar changes to make.

@cestella @mmiklavc @nickwallen , thank you for the review comments.  Please see latest for improvements to comments per your suggestions.  No code was changed.  Also fixed a doc bug regarding profiler "init" syntax in example code.
This code has been validated on a single-node 16GB Centos7 vm with OracleJDK8, HDP-2.5.3, and Ambari-2.4.2.  The cluster was installed via my metron-mpack-singlenode, then Profiler was added with @nickwallen 's RPMs.  Bro data was pumped through the usual sequence of topologies, and was observed in Storm UI to propagate through all into indexer and profiler.  Elasticsearch and HBase were queried from outside Metron to confirm presence and format of data, and PROFILE_GET was used in Stellar REPL to read the profile data back out as expected.  Use of the config_overrides map argument in PROFILE_GET was also observed to be effective.

Couple additional fixes to the documentation.  Statements about storage of the writer and client configs were incorrect.


'barby/outputter/rmagick_outputter' crashes with ImageMagick 6.9.11-0

Installed
macos 10.15.3
gem install barby 0.6.8
brew install ImageMagick 6.9.11-0
On loading:
require 'barby'
require 'barby/barcode/code_128'
require 'barby/barcode/code_93'
require 'barby/barcode/ean_13'
require 'barby/outputter/ascii_outputter'
require 'barby/outputter/rmagick_outputter'  # crashes here on loading
SUMMARY CRASH
$ RAILS_ENV=development bundle exec rake db:migrate
rake aborted!

This installation of RMagick was configured with ImageMagick 6.9.10 but ImageMagick 6.9.11-0 is in use.

/Users/wti0405/devel/garaio-rem/rem2/lib/tasks/barcode_tester.rake:7:in `<top (required)>'
/Users/wti0405/devel/garaio-rem/rem2/Rakefile:14:in `<top (required)>'
/Users/wti0405/.rbenv/versions/2.5.3/bin/bundle:23:in `load'
/Users/wti0405/.rbenv/versions/2.5.3/bin/bundle:23:in `<main>'
(See full trace by running task with --trace)

DETAILED CRASH INFO
$ RAILS_ENV=development bundle exec rake db:migrate --trace
rake aborted!

This installation of RMagick was configured with ImageMagick 6.9.10 but ImageMagick 6.9.11-0 is in use.
/Users/wti0405/.rbenv/versions/2.5.3/lib/ruby/gems/2.5.0/gems/backports-3.11.4/lib/backports/std_lib.rb:9:in `require'
/Users/wti0405/.rbenv/versions/2.5.3/lib/ruby/gems/2.5.0/gems/backports-3.11.4/lib/backports/std_lib.rb:9:in `require_with_backports'
/Users/wti0405/.rbenv/versions/2.5.3/lib/ruby/gems/2.5.0/gems/activesupport-<IP_ADDRESS>/lib/active_support/dependencies.rb:274:in `block in require'
/Users/wti0405/.rbenv/versions/2.5.3/lib/ruby/gems/2.5.0/gems/activesupport-<IP_ADDRESS>/lib/active_support/dependencies.rb:240:in `load_dependency'
/Users/wti0405/.rbenv/versions/2.5.3/lib/ruby/gems/2.5.0/gems/activesupport-<IP_ADDRESS>/lib/active_support/dependencies.rb:274:in `require'
/Users/wti0405/.rbenv/versions/2.5.3/lib/ruby/gems/2.5.0/gems/rmagick-4.0.0/lib/rmagick_internal.rb:22:in `<top (required)>'
/Users/wti0405/.rbenv/versions/2.5.3/lib/ruby/gems/2.5.0/gems/backports-3.11.4/lib/backports/std_lib.rb:9:in `require'
/Users/wti0405/.rbenv/versions/2.5.3/lib/ruby/gems/2.5.0/gems/backports-3.11.4/lib/backports/std_lib.rb:9:in `require_with_backports'
/Users/wti0405/.rbenv/versions/2.5.3/lib/ruby/gems/2.5.0/gems/activesupport-<IP_ADDRESS>/lib/active_support/dependencies.rb:274:in `block in require'
/Users/wti0405/.rbenv/versions/2.5.3/lib/ruby/gems/2.5.0/gems/activesupport-<IP_ADDRESS>/lib/active_support/dependencies.rb:240:in `load_dependency'
/Users/wti0405/.rbenv/versions/2.5.3/lib/ruby/gems/2.5.0/gems/activesupport-<IP_ADDRESS>/lib/active_support/dependencies.rb:274:in `require'
/Users/wti0405/.rbenv/versions/2.5.3/lib/ruby/gems/2.5.0/gems/rmagick-4.0.0/lib/rmagick.rb:1:in `<top (required)>'
/Users/wti0405/.rbenv/versions/2.5.3/lib/ruby/gems/2.5.0/gems/backports-3.11.4/lib/backports/std_lib.rb:9:in `require'
/Users/wti0405/.rbenv/versions/2.5.3/lib/ruby/gems/2.5.0/gems/backports-3.11.4/lib/backports/std_lib.rb:9:in `require_with_backports'
/Users/wti0405/.rbenv/versions/2.5.3/lib/ruby/gems/2.5.0/gems/activesupport-<IP_ADDRESS>/lib/active_support/dependencies.rb:274:in `block in require'
/Users/wti0405/.rbenv/versions/2.5.3/lib/ruby/gems/2.5.0/gems/activesupport-<IP_ADDRESS>/lib/active_support/dependencies.rb:240:in `load_dependency'
/Users/wti0405/.rbenv/versions/2.5.3/lib/ruby/gems/2.5.0/gems/activesupport-<IP_ADDRESS>/lib/active_support/dependencies.rb:274:in `require'
/Users/wti0405/.rbenv/versions/2.5.3/lib/ruby/gems/2.5.0/gems/barby-0.6.8/lib/barby/outputter/rmagick_outputter.rb:2:in `<top (required)>'
/Users/wti0405/.rbenv/versions/2.5.3/lib/ruby/gems/2.5.0/gems/backports-3.11.4/lib/backports/std_lib.rb:9:in `require'
/Users/wti0405/.rbenv/versions/2.5.3/lib/ruby/gems/2.5.0/gems/backports-3.11.4/lib/backports/std_lib.rb:9:in `require_with_backports'
/Users/wti0405/.rbenv/versions/2.5.3/lib/ruby/gems/2.5.0/gems/activesupport-<IP_ADDRESS>/lib/active_support/dependencies.rb:274:in `block in require'
/Users/wti0405/.rbenv/versions/2.5.3/lib/ruby/gems/2.5.0/gems/activesupport-<IP_ADDRESS>/lib/active_support/dependencies.rb:240:in `load_dependency'
/Users/wti0405/.rbenv/versions/2.5.3/lib/ruby/gems/2.5.0/gems/activesupport-<IP_ADDRESS>/lib/active_support/dependencies.rb:274:in `require'
/Users/wti0405/devel/garaio-rem/rem2/lib/tasks/barcode_tester.rake:7:in `<top (required)>'
/Users/wti0405/.rbenv/versions/2.5.3/lib/ruby/gems/2.5.0/gems/zeus-0.15.14/lib/zeus/load_tracking.rb:82:in `load'
/Users/wti0405/.rbenv/versions/2.5.3/lib/ruby/gems/2.5.0/gems/zeus-0.15.14/lib/zeus/load_tracking.rb:82:in `load'
/Users/wti0405/.rbenv/versions/2.5.3/lib/ruby/gems/2.5.0/gems/zeus-0.15.14/lib/zeus/load_tracking.rb:74:in `load'
/Users/wti0405/.rbenv/versions/2.5.3/lib/ruby/gems/2.5.0/gems/activesupport-<IP_ADDRESS>/lib/active_support/dependencies.rb:268:in `block in load'
/Users/wti0405/.rbenv/versions/2.5.3/lib/ruby/gems/2.5.0/gems/activesupport-<IP_ADDRESS>/lib/active_support/dependencies.rb:240:in `load_dependency'
/Users/wti0405/.rbenv/versions/2.5.3/lib/ruby/gems/2.5.0/gems/activesupport-<IP_ADDRESS>/lib/active_support/dependencies.rb:268:in `load'
/Users/wti0405/.rbenv/versions/2.5.3/lib/ruby/gems/2.5.0/gems/railties-<IP_ADDRESS>/lib/rails/engine.rb:658:in `block in run_tasks_blocks'
/Users/wti0405/.rbenv/versions/2.5.3/lib/ruby/gems/2.5.0/gems/railties-<IP_ADDRESS>/lib/rails/engine.rb:658:in `each'
/Users/wti0405/.rbenv/versions/2.5.3/lib/ruby/gems/2.5.0/gems/railties-<IP_ADDRESS>/lib/rails/engine.rb:658:in `run_tasks_blocks'
/Users/wti0405/.rbenv/versions/2.5.3/lib/ruby/gems/2.5.0/gems/railties-<IP_ADDRESS>/lib/rails/application.rb:452:in `run_tasks_blocks'
/Users/wti0405/.rbenv/versions/2.5.3/lib/ruby/gems/2.5.0/gems/railties-<IP_ADDRESS>/lib/rails/engine.rb:453:in `load_tasks'
/Users/wti0405/.rbenv/versions/2.5.3/lib/ruby/gems/2.5.0/gems/railties-<IP_ADDRESS>/lib/rails/railtie.rb:194:in `public_send'
/Users/wti0405/.rbenv/versions/2.5.3/lib/ruby/gems/2.5.0/gems/railties-<IP_ADDRESS>/lib/rails/railtie.rb:194:in `method_missing'
/Users/wti0405/devel/garaio-rem/rem2/Rakefile:14:in `<top (required)>'
/Users/wti0405/.rbenv/versions/2.5.3/lib/ruby/gems/2.5.0/gems/rake-12.3.3/lib/rake/rake_module.rb:29:in `load'
/Users/wti0405/.rbenv/versions/2.5.3/lib/ruby/gems/2.5.0/gems/rake-12.3.3/lib/rake/rake_module.rb:29:in `load_rakefile'
/Users/wti0405/.rbenv/versions/2.5.3/lib/ruby/gems/2.5.0/gems/rake-12.3.3/lib/rake/application.rb:703:in `raw_load_rakefile'
/Users/wti0405/.rbenv/versions/2.5.3/lib/ruby/gems/2.5.0/gems/rake-12.3.3/lib/rake/application.rb:104:in `block in load_rakefile'
/Users/wti0405/.rbenv/versions/2.5.3/lib/ruby/gems/2.5.0/gems/rake-12.3.3/lib/rake/application.rb:186:in `standard_exception_handling'
/Users/wti0405/.rbenv/versions/2.5.3/lib/ruby/gems/2.5.0/gems/rake-12.3.3/lib/rake/application.rb:103:in `load_rakefile'
/Users/wti0405/.rbenv/versions/2.5.3/lib/ruby/gems/2.5.0/gems/rake-12.3.3/lib/rake/application.rb:82:in `block in run'
/Users/wti0405/.rbenv/versions/2.5.3/lib/ruby/gems/2.5.0/gems/rake-12.3.3/lib/rake/application.rb:186:in `standard_exception_handling'
/Users/wti0405/.rbenv/versions/2.5.3/lib/ruby/gems/2.5.0/gems/rake-12.3.3/lib/rake/application.rb:80:in `run'
/Users/wti0405/.rbenv/versions/2.5.3/lib/ruby/gems/2.5.0/gems/rake-12.3.3/exe/rake:27:in `<top (required)>'
/Users/wti0405/.rbenv/versions/2.5.3/bin/rake:23:in `load'
/Users/wti0405/.rbenv/versions/2.5.3/bin/rake:23:in `<top (required)>'
/Users/wti0405/.rbenv/versions/2.5.3/lib/ruby/site_ruby/2.5.0/bundler/cli/exec.rb:74:in `load'
/Users/wti0405/.rbenv/versions/2.5.3/lib/ruby/site_ruby/2.5.0/bundler/cli/exec.rb:74:in `kernel_load'
/Users/wti0405/.rbenv/versions/2.5.3/lib/ruby/site_ruby/2.5.0/bundler/cli/exec.rb:28:in `run'
/Users/wti0405/.rbenv/versions/2.5.3/lib/ruby/site_ruby/2.5.0/bundler/cli.rb:463:in `exec'
/Users/wti0405/.rbenv/versions/2.5.3/lib/ruby/site_ruby/2.5.0/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
/Users/wti0405/.rbenv/versions/2.5.3/lib/ruby/site_ruby/2.5.0/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'
/Users/wti0405/.rbenv/versions/2.5.3/lib/ruby/site_ruby/2.5.0/bundler/vendor/thor/lib/thor.rb:387:in `dispatch'
/Users/wti0405/.rbenv/versions/2.5.3/lib/ruby/site_ruby/2.5.0/bundler/cli.rb:27:in `dispatch'
/Users/wti0405/.rbenv/versions/2.5.3/lib/ruby/site_ruby/2.5.0/bundler/vendor/thor/lib/thor/base.rb:466:in `start'
/Users/wti0405/.rbenv/versions/2.5.3/lib/ruby/site_ruby/2.5.0/bundler/cli.rb:18:in `start'
/Users/wti0405/.rbenv/versions/2.5.3/lib/ruby/gems/2.5.0/gems/bundler-1.17.3/exe/bundle:30:in `block in <top (required)>'
/Users/wti0405/.rbenv/versions/2.5.3/lib/ruby/site_ruby/2.5.0/bundler/friendly_errors.rb:124:in `with_friendly_errors'
/Users/wti0405/.rbenv/versions/2.5.3/lib/ruby/gems/2.5.0/gems/bundler-1.17.3/exe/bundle:22:in `<top (required)>'
/Users/wti0405/.rbenv/versions/2.5.3/bin/bundle:23:in `load'
/Users/wti0405/.rbenv/versions/2.5.3/bin/bundle:23:in `<main>'

OOps - sorry solution is with rmagick gem reinstall -- not with barby:
gem uninstall rmagick
bundle install


mxnet to onnx conversion error

trying to convert the model retina face detcetor
https://github.com/deepinsight/insightface/tree/master/RetinaFace
downloaded network from
https://drive.google.com/drive/folders/1OTXuAUdkLVaf78iz63D1uqGLZi4LbPeL
ERRORS on conversion
raise AttributeError("No conversion function registered for op type %s yet." % op)
AttributeError: No conversion function registered for op type SoftmaxActivation yet.
raise AttributeError("No conversion function registered for op type %s yet." % op)
AttributeError: No conversion function registered for op type UpSampling yet.

@mxnet-label-bot add [ONNX]

Support for exporting Upsampling operator is here https://github.com/apache/incubator-mxnet/pull/15811

@vandanavk which version mxnet and onnx can convert retinaface mxnet to onnx?

@luan1412167 did you find any solution to this problem?

@vandanavk which version mxnet and onnx can convert retinaface mxnet to onnx?

Hi, any success on this?


feature: ignoreFunc (closes #112)

Coverage increased (+0.06%) to 99.125% when pulling 16b3c4e135efe5128c30a9428274c954e46d48bf on paulovieira:master into e73cc1db6cb9616248619c8727c4c9996b6c0df7 on pinojs:master.


Exception/error stacks are not fully colorized in console

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/16571916-exception-error-stacks-are-not-fully-colorized-in-console?utm_campaign=plugin&utm_content=tracker%2F6855523&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F6855523&utm_medium=issues&utm_source=github).

As designed.


Camera index=1 no longer works on android 11

This morning my mobile (redmi note 9 pro) updated from android 10 to android 11 and my kivy app is now crashing (although worked fine on android 10).
The error is the following:
07-07 20:15:10.026 15463 15493 I python  :  kivy.lang.builder.BuilderException: Parser: File "/data/data/org.test.lipovir/files/app/ui.kv", line 92:
07-07 20:15:10.026 15463 15493 I python  :  ...
07-07 20:15:10.026 15463 15493 I python  :       90:        Camera:
07-07 20:15:10.026 15463 15493 I python  :       91:            id: camera
07-07 20:15:10.026 15463 15493 I python  :  >>   92:            index: root.camera_index
07-07 20:15:10.026 15463 15493 I python  :       93:            play: False
07-07 20:15:10.027 15463 15493 I python  :       94:            resolution: (640,480)
07-07 20:15:10.027 15463 15493 I python  :  ...
07-07 20:15:10.027 15463 15493 I python  :  JavaException: JVM exception occurred: Fail to connect to camera service java.lang.RuntimeException
my kv file:
Widget:
id: proxy
Camera:
id: camera
index: 1
play: False
resolution: (640,480)
center: self.size and proxy.center
size: proxy.height, proxy.width
allow_stretch: True
buildozer.spec:
requirements = python3, kivy==master
android.api=30
Any idea
This was working fine on android 10.
On android 11, index:0 works but not index:1. However my app need the front camera...

you reslove this problem?
I Sampe This Problem ㅠㅠ

Duplicated of #7732


On making Windows Compilation less convoluted

Currently, the process of compiling Crystal code into a windows binary is quite convoluted. For context, I'm mostly a Linux user, and since so long ago that it may as well be considered forever, windows is something that other people use, which I have to interact with to help friends and family and tolerate when playing a few games. And since Valve pushed game developers to support Linux, it's actually been years since I last had windows installed on a Machine at all. But recently I came across Tauri and started using it, which got me thinking it'd be nice to share some of the stuff I make with friends and family (who use windows). Fast forward a couple months, I wrote quite a few small utilities using Tauri (Audio Transcriber, eBook reader, Manga reader, small side-projects that replace other software which I wasn't too happy with but had no better alternative to replace it, basically), but I'm not the biggest fan of Rust, and Tauri has an interesting feature called "Sidecar", which allows you to include binaries with your packages, and that gave me the idea of using Crystal to deal with some of the more hardcore stuff, since I don't like Rust all that much and front-end javascript is just not enough in some situations.
Upon trying to compile Crystal binaries for windows, though, I realized it wouldn't be as easy as I had hoped. After reading and re-reading https://github.com/crystal-lang/crystal/wiki/Porting-to-Windows I started trying stuff on Wine, which didn't go too well because microsoft (Their build tools, more specifically). Then I created a VM to do it, which did solve the build tools part, but then I came across a jumbled mess of libraries and having to compile from the same folder where the libraries are located and it's just unreasonably, painfully messy.
There's the possibility of writing code just to deal with those steps but doing that on a per-project basis seems counterproductive. Ideally crystal should provide a easy, reasonable way to deal with all those messy implementation details, providing a straightforward, objective sequence of steps for compiling a project in windows. Something like "Install Crystal in Windows" -> "Run crystal.exe --compile-shared-libs" -> "Run crystal.exe compile whatever.obj" or something like that.
I started to write a few scripts to deal with that, but as soon as I began in occurred to me that this deserves being discussed by more people and possibly being part of the official crystal release for windows, so I decided to open this issue.

but then I came across a jumbled mess of libraries and having to compile from the same folder where the libraries are located and it's just unreasonably, painfully messy.
I just have this
LIB=f:\projects\crystal\crystal\libs\;c:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\lib\amd64\;
in my environment, and then place all lib files into crystal\libs folder. I think that's not ideal (lib files literally doesn't have any information that isn't present in corresponding dll), but that's requirement of linker.

I think the experience for using Crystal on windows should eventually be similar to that on other platforms. You download an archive, extract it and get a crystal.exe which just works. Obviously you need MSVC installed for that. Maybe we can avoid the developer command prompt using vswhere (see https://github.com/crystal-lang/crystal/issues/5430#issuecomment-976574952). All dependencies except system libraries should be provided in the archive.
Maybe we can avoid the developer command prompt using vswhere (see https://github.com/crystal-lang/crystal/issues/5430#issuecomment-976574952). An alternative could be https://gist.github.com/Kalinovcic/b4d9cc55a37f929cb62320763e8fbb47
As a later step, we might want to add a Windows installer as well. But a plain archive should be good enough for a start. You can either download it manually or it can be used by package managers like scoop.

The Zig locator mentioned in that gist: https://github.com/ziglang/zig/blob/master/src/windows_sdk.cpp

This issue seems to start with the point of talking about the experience of a "normal" user trying to compile some program for Windows.
It is unfortunate that you followed https://github.com/crystal-lang/crystal/wiki/Porting-to-Windows for that purpose, because the guide isn't for that purpose.
For a normal user right now, the process is "install msbuild; download prebuilt crystal.exe+libs; download crystal source; set some environment variables; crystal.exe build whatever.cr".
So, what is this issue trying to discuss? I'm just saying that I'm finding it hard to reuse this issue for any particular purpose, because I don't understand it.

I understand the content of the OP as providing some background information on @frnco's story. The topic as I see it is how to provide a distribution package for Windows, so it basically continues the discussion starting from https://github.com/crystal-lang/crystal/issues/5430#issuecomment-976574952

I just have this LIB=f:\projects\crystal\crystal\libs\;c:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\lib\amd64\; in my environment, and then place all lib files into crystal\libs folder. I think that's not ideal (lib files literally doesn't have any information that isn't present in corresponding dll), but that's requirement of linker.

Yeah I'm precisely trying to figure out what'd be the best generalized solution to small things like that.

So, what is this issue trying to discuss? I'm just saying that I'm finding it hard to reuse this issue for any particular purpose, because I don't understand it.

Sorry I wasn't sufficiently clear. Crystal does not officially support Windows, so normal user trying to compile something for windows isn't something that should happen. However, as Crystal gets closer and closer to fully functional in Windows, it seemed like a good idea to start reviewing the current process. It makes sense to work from crystal repo's root folder if the only thing we're trying to do in windows is test the crystal compiler, but windows support reached a point where, in my humble opinion, it's time to start checking how other stuff will behave in windows. In this scenario the crystal compiler is merely a tool, not the protagonist. The current process revolves around the root folder of the crystal repo, and it seems like a good time to start the discussion on what we want to change and how we might go about it. Sure, ultimately we'll just have crystal.exe build something.cr do all the hard work, but before we get to that point we need to decide what that hard work should actually be, and this thread was intended as a place to discuss that, as opposed to me writing some stuff that would solve my problem but would not contribute anything towards supporting windows.
Using PATH/ENV is not a bad solution, but there should be some sort of script or something to deal with setting up Crystal and its libraries, preferably also checking whether MS build tools are installed and if possible even starting the process of installing build tools in case they're not available in the system. To make something like that it's necessary to discuss how to deal with different versions of Crystal, whether the script-thinggie will deal with updating Crystal if it detects an older version of crystal already installed, that kind of thing, and that's only after deciding what'd be the suggested installation path, how the libraries would be made available to the user etc.

That much is solved by CRYSTAL_CONFIG_PATH and CRYSTAL_CONFIG_LIBRARY_PATH which ensure a portable installation works, the only requirements being that Crystal is added to PATH and that currently the MSVC developer command prompt must be active.
What isn't solved right now is the self-hosting part of Crystal; the Makefile works on neither CMD nor Powershell (even with MSVC nmake), and the same goes for the bin/crystal wrapper script (this is the one used for compiler development, not one we distribute to releases). I ported the latter to a Powershell script, but it remains to be seen whether the Makefile should be similarly ported.

A fully convenient solution (via Scoop) has been offered in https://github.com/crystal-lang/crystal/issues/11489. It already fully works and further improvements to it are being discussed there. I intend to promote it as the main option, at least for the time being.

A fully convenient solution (via Scoop) has been offered in #11489. It already fully works and further improvements to it are being discussed there. I intend to promote it as the main option, at least for the time being.

I do have some reservations when considering Windows package managers in general, but Scoop does seem quite reasonable, at least for stuff that requires the .NET framework. Still, having something like a standard MSI installer, which is the de-facto standard for windows software, seems like something that should be done at some point in time.

What isn't solved right now is the self-hosting part of Crystal; the Makefile works on neither CMD nor Powershell (even with MSVC nmake), and the same goes for the bin/crystal wrapper script (this is the one used for compiler development, not one we distribute to releases). I ported the latter to a Powershell script, but it remains to be seen whether the Makefile should be similarly ported.

The first thing that comes to mind is: Considering sooner or later Crystal will probably be packaged and distributed using an MSI or similar installer, how should things be organized in that installer? I'm not a windows person, at least in the sense that, while I did use Windows a lot when I was younger and for gaming and when fixing computers of pretty much everyone I know (Programmers' perks, yay! -_-), and I actually do have some experience managing active directory and stuff, but I don't write windows software, and I avoid it like the plague whenever doing any actual programming, so I have no idea how I'd make something "install" in windows, and I'm not knowledgeable enough about what should go on a Makefile (or anywhere else for that matter) when packaging windows stuff. Thus, I can't help with stuff that is too windows-specific. One thing I do understand, however, is that installing stuff can be painful, and Makefiles will most likely be nowhere near enough to deal with all the windows-specific stuff. Thus, I'd start by considering how much windows-specific-stuff should be done by a Makefile, and what should be refactored to some other location. Setting the path is something I think will probably be better left to some other thing, script, installer or whatever, instead of the Makefile.
Honestly, I see nothing wrong with having a completely separate process for building in Windows, I'm more concerned about making it work in a way that is reasonable for windows and its users, meaning it has, for instance, to properly clear up when being uninstalled (Which is one of the things I hate about Windows, by the way).
This is something that deserves some serious consideration, I believe.

I do not think a msi packaging is required. Crystal is a dev tool and the people using it will be familiar with command line usage.
Supporting Scoop, Winget and Chocolatey would be sufficient. Maybe Windows Store in the future (now that it has started supporting non-gui apps).
Tools like Crystal need to be updated every now and then and this will anyway need integration with a windows package manager.

I'm sure we should provide a Windows archive which you can extract and just use, without installation. It should be easy to put that into an installer. But when the installer literally just downloads (or already includes) and extracts a zip archive, yeah, it might not be that useful. It's definitely an option though, and not hard to do based on having an archive anyways.
@frnco Makefile and bin/crystal wrapper are tools for compiler and stdlib developers. They are not made available to regular users who just want to build Crystal software. So this has nothing to do with an installer setup.

I do not think a msi packaging is required. Crystal is a dev tool and the people using it will be familiar with command line usage. Supporting Scoop, Winget and Chocolatey would be sufficient. Maybe Windows Store in the future (now that it has started supporting non-gui apps).

Absolutely agree with the command line bit. As someone used to version managers for languages I'm not sure I agree with the point about package managers though. I used msi as an example, but I should have phrased it as "a self-contained package that can be easily installed by anyone", my point here is that stuff like asdf, rvm, nvm etc ends up becoming a necessity for people working on a contract-basis, since we can't always afford to update everything from every client. Ruby is pretty okay, but NodeJS is a painfully painful pain in the rear to deal with just because anything you do with it take tons of disk space, Crystal will, hopefully, at some point be in the same boat, with devs needing more than one version of Crystal. Unless Scoop or whatever can properly deal with that, one or ten versioning-things for Crystal will pop-up, and the people working on that probably deserve to have some self-packaged-thing they can work with. Of course, it's not absolutely necessary, but then again the same can be said for Windows Support, or even for the language itself, but we're here because we want Crystal to succeed, and every time I decide to put Crystal aside and use Haskell or Rust or whatever pains me. I'd rather do everything in Crystal, but to do that I need to help push Crystal forward so that it doesn't hinder me. Currently, Crystal packages are so-so (A bit better than Haskell I guess, still behind Rust, nowhere near something like Ruby though), but compiling to Windows is, in my opinion, a game-changer. If this is done well, it can be an amazing thing, but it's also easy to screw this up.
Windows worries me mostly because more compilation targets mean more people can use Crystal, which in turn means more people writing Shards. In my opinion Crystal is already a lot better than Rust, but Rust has crates in greater number and often more polished than crystal shards. My goal here is to give some contribution to make it as reasonable as possible to use Crystal in Windows, which will hopefully let me use Crystal to write stuff that can be used in Windows, in turn allowing me to spend more time writing Crystal code and publishing such code as shards. And hopefully enough people are in the same boat that we can make this work.

I think this issue can be considered resolved.
We're building a self-contained and portable distribution package in CI now (since #11494). It is accessible as https://nightly.link/crystal-lang/crystal/workflows/win/master/crystal.zip: just download and extract the archive and there you have a working Crystal compiler. We can publish it as a build artifact on the next release.
scoop is an alternative method for installing Crystal on windows (#11489): https://github.com/neatorobito/scoop-crystal
For the current status of Windows support, these distribution methods should be sufficient. We can consider further improvements later.


Tested on a MHT-P5801. Works!

Hi, I tested this plugin on a Chinesse Bluetooth Thermal Printer MHT-P5801 (58mm) and it works very well. Thanks!!

Thank you!


isExact runtime function

We already feature Exact type (releated: https://github.com/krzkaczor/ts-essentials/issues/87), but it's hard to use. Basically, it's only useful in function signatures. I propose a runtime function isExact that makes it easier to use this type:
export type Exact<T, SHAPE> = T extends SHAPE ? (Exclude<keyof T, keyof SHAPE> extends never ? T : never) : never; // already in ts-essentials

function isExact<T, SHAPE>(x: Exact<T, SHAPE>): SHAPE {
  return x
}

type ABC = { a: number; b: number; c: number }
type C = { c: number }

const obj: ABC = {
  a: 1, b: 2, c: 3
}

const obj2= {
  c: 3
}

isExact<typeof obj, C>(obj) // error
isExact<typeof obj2, C>(obj2) // fine

note the ABC extends C. With isExact we can prevent passing anything other than exactly type C.
Open questions:

Is it possible to drop T (typeof obj) thing?
What should be a runtime behaviour?

Would be good to have something like this: https://tsplay.dev/mx5x1W
const isExact = (<T extends unknown>() => <U extends unknown>(x: U): Exact<T, U> => {
  return x as Exact<T, U>;
})();

No need to specify useless <T> all the time and call it instead:

declare const abc: ABC;
declare const bc: BC;
declare const c: C;

isExact<ABC>(abc);
// @ts-expect-error
isExact<ABC>(bc);
// @ts-expect-error
isExact<ABC>(c);

But it's not working correctly for all the cases at the moment

But it's also working if we inline object – https://tsplay.dev/wQK0Gm 👀

Also, possible to solve it this way:
export type Exact2<T, U> = T extends U ? U extends T ? T : never : never;

Should work fine for shallow cases, but need to have a closer look for deep comparison

Also, might be good to have identity-like function:
function isExact<T>(x: T): T {
  return x
}

Would be good to have something like this: https://tsplay.dev/mx5x1W
const isExact = (<T extends unknown>() => <U extends unknown>(x: U): Exact<T, U> => {
  return x as Exact<T, U>;
})();

No need to specify useless <T> all the time and call it instead:
declare const abc: ABC;
declare const bc: BC;
declare const c: C;

isExact<ABC>(abc);
// @ts-expect-error
isExact<ABC>(bc);
// @ts-expect-error
isExact<ABC>(c);

But it's not working correctly for all the cases at the moment

Final solution is similar:
const isExact = <ExpectedShape>() => <ActualShape>(x: Exact<ExpectedShape, ActualShape>): ExpectedShape => {
  return x;
};


Update http4s-blaze-client, ... to 0.21.14

Updates

org.http4s:http4s-blaze-client
org.http4s:http4s-blaze-server
org.http4s:http4s-circe
org.http4s:http4s-dsl

from 0.21.3 to 0.21.14.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Applied Migrations

dependency:v0_21@org.http4s:http4s-scalafix:0.21.5

Documentation:

https://github.com/http4s/http4s/releases/tag/v0.21.5

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.http4s" } ]

labels: library-update, semver-patch, scalafix-migrations

Superseded by #244.

Superseded by #244.


build: add repo-health-job script

Description
Added the repo-health-script in this repo to make it accessible to the new repo health job workflow for execution.
For further details on this change, see the discussion on the PR https://github.com/openedx/.github/pull/52.

Hi @nedbat
I've tried addressing most of your concerns and reviews on the script. Please have a look at it in detail. Thanks.


Remove yarn build step

As mentioned in #12, the arbitrum package.json no longer contains a yarn build command as it was removed during the deprecation of arb-ts.  The startLocalEthereum script functions without this step, so we can simply remove it.

LGTM! Thanks Kevin, feel free to merge!


The Project Name

I'm aware that swastikas are a symbol of good fortune in eastern Asia, but in Europe and the Americas, Swastikas have an extremely negative connotation. They're associated with genocide and mass murder, due to the Nazis.
Now, the maintainer can name this project whatever he feels, but: if I were to use this project for my professional needs, my clients would think that I have poor judgment. Will the name be changed? I couldn't use this CMS otherwise.

Hello @battistone , appreciated that you're interested in our CMS. You can follow this project https://github.com/Halcyon-Core/Halcyon-Core in case if you don't want to use "Swastika" name. As we are still in development, we not able to update Halcyon in real-time yet. But it will be perfect the same as Swastika (just the name is different).
Hope we have more feedback and review from you during using our CMS! Cheers!


Add coverage measure

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@ced98cf). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             master        #7   +/-   ##
==========================================
  Coverage          ?   100.00%
==========================================
  Files             ?         2
  Lines             ?        20
  Branches          ?         3
==========================================
  Hits              ?        20
  Misses            ?         0
  Partials          ?         0

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 ced98cf...2d2c64f. Read the comment docs.


Upgrade to angular 11 show incompatible peer dependency

Hi,
I'm using the mydatepicker, and mydaterangepicker.
I try to upgrade my project to latest angular version 11.
I'm get this error:
Package "ngx-monaco-editor" has an incompatible peer dependency to "@angular/common" (requires "^9.0.0" (extended), would install "11.0.2").
Package "ngx-monaco-editor" has an incompatible peer dependency to "@angular/core" (requires "^9.0.0" (extended), would install "11.0.2").

@ofirrifo Were you able to get it to work with Angular 11. I am facing the same problem.

@ofirrifo Were you able to get it to work with Angular 11. I am facing the same problem.

@VigneshVaidyanathan I update my project by remove this package and after I install it back.
But this is workaround.
I hope this package will be update soon

@VigneshVaidyanathan I update my project by remove this package and after I install it back.
But this is workaround.
I hope this package will be update soon

This is expected.
in node_modules/ngx-monaco-editor/package.json you will find the peer dependencies.
  "peerDependencies": {
    "@angular/common": "^9.0.0",
    "@angular/core": "^9.0.0",
    "tslib": "^1.10.0"
  }

Angular will avoid updating because one of your packages ngx-monaco-editor has not specified it's compatible with "@angular/core": "^11.0.0".
To bypass this use --force
ng update @angular/core --force

ng update
If you use a lot of packages it's unlikely all the developers will have made the change to their package.json. But chances are everything will work just fine.


Time for another release?

I'd like to use pupnp in an application, and it's been a while since the latest release. There seems to have been a lot of work on it since the last release so it'd make sense to create another one.

You're right as Marcelo seems less active, I made the release, tell me if it's ok for you.

yup, that's great, thanks!


Message inbox and chat interface ui fixed

Issue #201 fixed
Once the issue #208 to be fixed , It will works fine

[x] Responsiveness checked

Screenshots
InboxUI

Chat UI

@BHS-Harish  make time stamps in hours instead of minutes


Uncaught Error: /Applications/Atom.app/Contents/Resources/atom.asar/browser/api/lib/dialog.js:1(function (exports, require, module, __filename, __dirname) { .exports.DEFAULT^Unexpected token ./Applications/Atom.app/Contents/Resources/atom.asar/browser/api/lib/dialog.js:1(function (exports, require, module, __filename, __dirname) { .exports.DEFAULT^SyntaxError: Unexpected token .    at exports.runInThisContext (vm.js:75:16)    at Module._compile (module.js:458:25)    at Object.Module._extensions..js (module.js:493:10)    at Module.load (module.js:370:32)    at Function.Module._load (module.js:325:12)    at Module.require (module.js:380:17)    at EventEmitter. (/Applications/Atom.app/Contents/Resources/atom.asar/browser/lib/rpc-server.js:128:79)    at EventEmitter.emit (events.js:119:17)    at EventEmitter. (/Applications/Atom.app/Contents/Resources/atom.asar/browser/api/lib/web-contents.js:99:23)    at EventEmitter.emit (events.js:119:17)

[Enter steps to reproduce below:]

...
...

Atom Version: 0.188.0
System: Mac OS X 10.10.2
Thrown From: Atom Core
Stack Trace
Uncaught Error: /Applications/Atom.app/Contents/Resources/atom.asar/browser/api/lib/dialog.js:1
(function (exports, require, module, __filename, __dirname) { .exports.DEFAULT
^
Unexpected token .
/Applications/Atom.app/Contents/Resources/atom.asar/browser/api/lib/dialog.js:1
(function (exports, require, module, __filename, __dirname) { .exports.DEFAULT
^
SyntaxError: Unexpected token .
at exports.runInThisContext (vm.js:75:16)
at Module._compile (module.js:458:25)
at Object.Module._extensions..js (module.js:493:10)
at Module.load (module.js:370:32)
at Function.Module._load (module.js:325:12)
at Module.require (module.js:380:17)
at EventEmitter. (/Applications/Atom.app/Contents/Resources/atom.asar/browser/lib/rpc-server.js:128:79)
at EventEmitter.emit (events.js:119:17)
at EventEmitter. (/Applications/Atom.app/Contents/Resources/atom.asar/browser/api/lib/web-contents.js:99:23)
at EventEmitter.emit (events.js:119:17)
At /Applications/Atom.app/Contents/Resources/atom.asar/renderer/api/lib/remote.js:77

Error: /Applications/Atom.app/Contents/Resources/atom.asar/browser/api/lib/dialog.js:1
(function (exports, require, module, __filename, __dirname) { .exports.DEFAULT
                                                              ^
Unexpected token .
/Applications/Atom.app/Contents/Resources/atom.asar/browser/api/lib/dialog.js:1
(function (exports, require, module, __filename, __dirname) { .exports.DEFAULT
                                                              ^
SyntaxError: Unexpected token .
    at exports.runInThisContext (vm.js:75:16)
    at Module._compile (module.js:458:25)
    at Object.Module._extensions..js (module.js:493:10)
    at Module.load (module.js:370:32)
    at Function.Module._load (module.js:325:12)
    at Module.require (module.js:380:17)
    at EventEmitter.<anonymous> (/Applications/Atom.app/Contents/Resources/atom.asar/browser/lib/rpc-server.js:128:79)
    at EventEmitter.emit (events.js:119:17)
    at EventEmitter.<anonymous> (/Applications/Atom.app/Contents/Resources/atom.asar/browser/api/lib/web-contents.js:99:23)
    at EventEmitter.emit (events.js:119:17)
  at metaToValue (/Applications/Atom.app/Contents/Resources/atom.asar/renderer/api/lib/remote.js:77:15)
  at Object.exports.require (/Applications/Atom.app/Contents/Resources/atom.asar/renderer/api/lib/remote.js:157:34)
  at Atom.module.exports.Atom.showSaveDialogSync (/Applications/Atom.app/Contents/Resources/app/src/atom.js:846:23)
  at Pane.module.exports.Pane.saveItemAs (/Applications/Atom.app/Contents/Resources/app/src/pane.js:572:26)
  at Pane.module.exports.Pane.saveItem (/Applications/Atom.app/Contents/Resources/app/src/pane.js:562:21)
  at Pane.module.exports.Pane.saveActiveItem (/Applications/Atom.app/Contents/Resources/app/src/pane.js:537:19)
  at Workspace.module.exports.Workspace.saveActivePaneItem (/Applications/Atom.app/Contents/Resources/app/src/workspace.js:687:35)
  at atom-workspace.atom.commands.add.core:save (/Applications/Atom.app/Contents/Resources/app/src/workspace-element.js:295:30)
  at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app/src/command-registry.js:242:29)
  at /Applications/Atom.app/Contents/Resources/app/src/command-registry.js:3:61
  at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (/Applications/Atom.app/Contents/Resources/app/node_modules/atom-keymap/lib/keymap-manager.js:558:16)
  at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (/Applications/Atom.app/Contents/Resources/app/node_modules/atom-keymap/lib/keymap-manager.js:396:22)
  at KeymapManager.module.exports.KeymapManager.terminatePendingState (/Applications/Atom.app/Contents/Resources/app/node_modules/atom-keymap/lib/keymap-manager.js:539:14)
  at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (/Applications/Atom.app/Contents/Resources/app/node_modules/atom-keymap/lib/keymap-manager.js:428:21)
  at HTMLDocument.module.exports.WindowEventHandler.onKeydown (/Applications/Atom.app/Contents/Resources/app/src/window-event-handler.js:180:20)

Commands
     -1:56.7 window:update-available (atom-workspace.workspace.scrollbars-visible-when-scrolling.theme-monokai.theme-atom-dark-ui)
  2x -0:40.4 core:save-as (atom-text-editor.editor.is-focused)
     -0:01.4 core:save (atom-text-editor.editor.is-focused)

Config
{
  "core": {
    "themes": [
      "atom-dark-ui",
      "monokai"
    ]
  },
  "editor": {
    "invisibles": {}
  }
}

Installed Packages
# User
autoclose-html, v0.15.0
autocomplete-plus, v2.7.1
color-picker, v1.6.0
dash, v1.1.0
minimap, v4.7.5
monokai, v0.13.0

# Dev
No dev packages

+1 - just got the same issue when trying to save a file created my opening a new/empty tab

I think that the stack trace is referring to this file: https://github.com/atom/atom-shell/blob/fb00c280264ab9beac7032ff3a2b7ae14b00536c/atom/browser/api/lib/dialog.coffee

Possibly related to atom/tree-view#399.

@zcbenz any thoughts on this one?

Another report here: https://github.com/atom/atom/issues/6276

0.190.0 fixed it for me.

Found another one like this https://github.com/atom/tabs/issues/127
@zcbenz any idea what is going on here?

From the stack trace the dialog.js was read at wrong offset, it seems that the atom.asar has been updated but Atom is still using the old header to read it. A restart of Atom should fix this.
Fixing https://github.com/atom/electron/issues/1219 will solve this.

https://github.com/atom/electron/issues/1219 was fixed a few days ago -- would it be okay to close this out or should we keep it open @zcbenz @kevinsawicki?

would it be okay to close this out or should we keep it open @zcbenz @kevinsawicki?

I'd like to keep it open until we integrate that version of Electron into Atom.

Faced same issue, my fix was restarted atom->select all code->execute
It worked for me!!


Zebrafish 1.2

Main improvements in this PR:

Fixes/Features (commit c5a9256df4b778a5bf64c82ed7063d98e4850d55 , PR 382):

resolves issues reported in #5, by adding annotation information with updated annotateGEM function
change compartment abbreviation from p to x, to sync with changes made in Human-GEM PR 341
update ortholog pairs from Alliance of Genomes to ver 5.1.1

Style (PR #4):

add .gitattributes to ensure consistent LF (\n) line endings
add citation
rename branches: master --> main, devel --> develop

Something to think about is if there is a smarter way so we don't have to handle all species separately, if the number grows.

Very good question


Suggestion: Show total pages in footer of reciter embed

I think it would be nice if the reciter embed showed the total number of pages, in addition to the current page number. Something like "Page 2 of 14".
This PR implements my suggestion. It also makes each page have 10 names instead of the current 11, which I thought is a bug since a comment says "For every 10 reciters".

Jazakallah khair


Invalid n value (currently only n = 1 is supported)

[ ] I have checked the documentation and related resources and couldn't resolve my bug.
Describe the bug
openai.BadRequestError: Error code: 400 - {'detail': 'Invalid n value (currently only n = 1 is supported)'}

Ragas version:
0.1.10
Code to Reproduce
from ragas import evaluate
from langchain_openai import ChatOpenAI, OpenAI
from langchain_community.embeddings import HuggingFaceBgeEmbeddings
from datasets import Dataset
from langchain.vectorstores.milvus import Milvus

#embedding(chroma)
model_name = "BAAI/bge-m3"
model_kwargs = {'device': 'cpu'}
encode_kwargs = {'normalize_embeddings': True}
embeddings = HuggingFaceBgeEmbeddings(
    model_name=model_name,
    model_kwargs=model_kwargs,
    encode_kwargs=encode_kwargs
)

import nest_asyncio

nest_asyncio.apply()

llm = ChatOpenAI(model="deepseek-chat",api_key="sk-*******",base_url="https://api.deepseek.com/v1" ,temperature=0, n=1)

from ragas.metrics import (
    faithfulness,
    answer_relevancy,
    context_relevancy,
    context_recall,
    context_precision,
)

data = {
    'question': ['What is the capital of France?'],
    'contexts': [['Paris is the capital of France.']],
    'answer': ['Paris'],
    'ground_truth': ['Paris']
}
dataset = Dataset.from_dict(data)

result = evaluate(
    dataset = dataset,
    metrics=[
        context_precision,
        context_recall,
        faithfulness,
        answer_relevancy,
    ],
    llm=llm,
    embeddings=embeddings,
)

result
**Error trace**
Exception in thread Thread-11:
Traceback (most recent call last):
  File "/usr/lib/python3.10/threading.py", line 1016, in _bootstrap_inner
    self.run()
  File "/usr/local/lib/python3.10/dist-packages/ragas/executor.py", line 95, in run
    results = self.loop.run_until_complete(self._aresults())
  File "/usr/local/lib/python3.10/dist-packages/nest_asyncio.py", line 98, in run_until_complete
    return f.result()
  File "/usr/lib/python3.10/asyncio/futures.py", line 201, in result
    raise self._exception.with_traceback(self._exception_tb)
  File "/usr/lib/python3.10/asyncio/tasks.py", line 232, in __step
    result = coro.send(None)
  File "/usr/local/lib/python3.10/dist-packages/ragas/executor.py", line 83, in _aresults
    raise e
  File "/usr/local/lib/python3.10/dist-packages/ragas/executor.py", line 78, in _aresults
    r = await future
  File "/usr/lib/python3.10/asyncio/tasks.py", line 571, in _wait_for_one
    return f.result()  # May raise f.exception().
  File "/usr/lib/python3.10/asyncio/futures.py", line 201, in result
    raise self._exception.with_traceback(self._exception_tb)
  File "/usr/lib/python3.10/asyncio/tasks.py", line 232, in __step
    result = coro.send(None)
  File "/usr/local/lib/python3.10/dist-packages/ragas/executor.py", line 37, in sema_coro
    return await coro
  File "/usr/local/lib/python3.10/dist-packages/ragas/executor.py", line 111, in wrapped_callable_async
    return counter, await callable(*args, **kwargs)
  File "/usr/local/lib/python3.10/dist-packages/ragas/metrics/base.py", line 125, in ascore
    raise e
  File "/usr/local/lib/python3.10/dist-packages/ragas/metrics/base.py", line 121, in ascore
    score = await self._ascore(row=row, callbacks=group_cm, is_async=is_async)
  File "/usr/local/lib/python3.10/dist-packages/ragas/metrics/_answer_relevance.py", line 152, in _ascore
    result = await self.llm.generate(
  File "/usr/local/lib/python3.10/dist-packages/ragas/llms/base.py", line 93, in generate
    return await agenerate_text_with_retry(
  File "/usr/local/lib/python3.10/dist-packages/tenacity/asyncio/__init__.py", line 189, in async_wrapped
    return await copy(fn, *args, **kwargs)
  File "/usr/local/lib/python3.10/dist-packages/tenacity/asyncio/__init__.py", line 111, in __call__
    do = await self.iter(retry_state=retry_state)
  File "/usr/local/lib/python3.10/dist-packages/tenacity/asyncio/__init__.py", line 153, in iter
    result = await action(retry_state)
  File "/usr/local/lib/python3.10/dist-packages/tenacity/_utils.py", line 99, in inner
    return call(*args, **kwargs)
  File "/usr/local/lib/python3.10/dist-packages/tenacity/__init__.py", line 398, in <lambda>
    self._add_action_func(lambda rs: rs.outcome.result())
  File "/usr/lib/python3.10/concurrent/futures/_base.py", line 451, in result
    return self.__get_result()
  File "/usr/lib/python3.10/concurrent/futures/_base.py", line 403, in __get_result
    raise self._exception
  File "/usr/local/lib/python3.10/dist-packages/tenacity/asyncio/__init__.py", line 114, in __call__
    result = await fn(*args, **kwargs)
  File "/usr/local/lib/python3.10/dist-packages/ragas/llms/base.py", line 170, in agenerate_text
    return await self.langchain_llm.agenerate_prompt(
  File "/usr/local/lib/python3.10/dist-packages/langchain_core/language_models/chat_models.py", line 691, in agenerate_prompt
    return await self.agenerate(
  File "/usr/local/lib/python3.10/dist-packages/langchain_core/language_models/chat_models.py", line 651, in agenerate
    raise exceptions[0]
  File "/usr/lib/python3.10/asyncio/tasks.py", line 232, in __step
    result = coro.send(None)
  File "/usr/local/lib/python3.10/dist-packages/langchain_core/language_models/chat_models.py", line 836, in _agenerate_with_cache
    result = await self._agenerate(
  File "/usr/local/lib/python3.10/dist-packages/langchain_openai/chat_models/base.py", line 674, in _agenerate
    response = await self.async_client.create(**payload)
  File "/usr/local/lib/python3.10/dist-packages/openai/resources/chat/completions.py", line 1289, in create
    return await self._post(
  File "/usr/local/lib/python3.10/dist-packages/openai/_base_client.py", line 1816, in post
    return await self.request(cast_to, opts, stream=stream, stream_cls=stream_cls)
  File "/usr/local/lib/python3.10/dist-packages/openai/_base_client.py", line 1514, in request
    return await self._request(
  File "/usr/local/lib/python3.10/dist-packages/openai/_base_client.py", line 1610, in _request
    raise self._make_status_error_from_response(err.response) from None
openai.BadRequestError: Error code: 400 - {'detail': 'Invalid n value (currently only n = 1 is supported)'}

Expected behavior
A clear and concise description of what you expected to happen.
Additional context
Add any other context about the problem here.

Hello, @jidechao! I'm here to help you with any bugs or questions you have. Let's work together to solve this issue.
To resolve the openai.BadRequestError: Error code: 400 - {'detail': 'Invalid n value (currently only n = 1 is supported)'} error, ensure that the n parameter is set to 1 in your ChatOpenAI model configuration. The ragas library currently supports only n = 1 for text generation.
Here's the corrected part of your code:
llm = ChatOpenAI(
    model="deepseek-chat",
    api_key="sk-36906d31048e43c1a7ba5d7b9b45ea0f",
    base_url="https://api.deepseek.com/v1",
    temperature=0,
    n=1  # Ensure n is set to 1
)

Make sure that the n parameter is not set to any value other than 1. This should resolve the error related to the "Invalid n value" [1].
To continue talking to Dosu, mention @dosu.

I tested it and found that three metrics can be executed. With four metrics, it reports an error：Invalid n value (currently only n = 1 is supported)

metrics

I tested it again, and it seems that answer_relevancy has an issue, while other metrics can be executed normally.
error：

correct：

I'm having the same problem.

same problem

@jidechao @123gbk @Mervyn-1 which mode service are you using?
The issue is that use using ChatOpenAI so ragas expects n parameter to be supported. but I realize we need a way to override it now

@jidechao @123gbk @Mervyn-1 which mode service are you using?
The issue is that use using ChatOpenAI so ragas expects n parameter to be supported. but I realize we need a way to override it now

I guess the problem might be with deepseek-chat, which does not support n > 1. I'm not entirely sure about that, but I just found that both @jidechao and I are using deepseek compatible mode.
Maybe we can fix this problem by calling the deepseek API n times with 1 reply each time, rather than calling it once with n replies.

This issue is specifically related to the Deepseek API, which doesn't support the OpenAI API feature of generating multiple responses with a single call (the n parameter).
I've implemented a fix by modifying the _ascore method in src/ragas/metrics/_answer_relevance.py. Here's the updated code:
async def _ascore(self, row: t.Dict, callbacks: Callbacks) -> float:
    assert self.llm is not None, "LLM is not set"

    prompt = self._create_question_gen_prompt(row)

    answers = []
    for _ in range(self.strictness):
        result = await self.llm.generate(
            prompt,
            n=1,
            callbacks=callbacks,
        )
        generated_text = result.generations[0][0].text
        answer = await _output_parser.aparse(generated_text, prompt, self.llm)
        if answer is not None:
            answers.append(answer)

    if not answers:
        return np.nan

    return self._calculate_score(answers, row)

This solution loops through the generation process self.strictness number of times, each time generating a single response. This workaround allows the code to work with APIs like Deepseek that don't support the n parameter for multiple generations.
However, it's worth noting that this approach might have performance implications when used with other models that do support generating multiple responses in a single call.
A more optimal solution would be to implement a mechanism to switch between looping and using the n parameter based on the capabilities of the underlying LLM. But I don't know whats the best way to add this information to the LLM class.

This issue is specifically related to the Deepseek API, which doesn't support the OpenAI API feature of generating multiple responses with a single call (the n parameter).
I've implemented a fix by modifying the _ascore method in src/ragas/metrics/_answer_relevance.py. Here's the updated code:
async def _ascore(self, row: t.Dict, callbacks: Callbacks) -> float:
    assert self.llm is not None, "LLM is not set"

    prompt = self._create_question_gen_prompt(row)

    answers = []
    for _ in range(self.strictness):
        result = await self.llm.generate(
            prompt,
            n=1,
            callbacks=callbacks,
        )
        generated_text = result.generations[0][0].text
        answer = await _output_parser.aparse(generated_text, prompt, self.llm)
        if answer is not None:
            answers.append(answer)

    if not answers:
        return np.nan

    return self._calculate_score(answers, row)

This solution loops through the generation process self.strictness number of times, each time generating a single response. This workaround allows the code to work with APIs like Deepseek that don't support the n parameter for multiple generations.
However, it's worth noting that this approach might have performance implications when used with other models that do support generating multiple responses in a single call.
A more optimal solution would be to implement a mechanism to switch between looping and using the n parameter based on the capabilities of the underlying LLM. But I dont know what is the best way to add this information to the LLM class.

@Xiyuche actually we do that for LLMs that don't support n parameter and the solution is similar to what @PhillipRt has already suggested (thanks a lot btw 🙂 ❤ )
the con is that it's hard to keep a list. For example ChatOpenAI does support it but in this case since you're using the same class this happens.
https://github.com/explodinggradients/ragas/blob/b988f538b968b378604240d2b279f8bf4d8ecca9/src/ragas/llms/base.py#L29-L35
I think the solution would be to have a argument inside the LLM for this.

@Xiyuche actually we do that for LLMs that don't support n parameter and the solution is similar to what @PhillipRt has already suggested (thanks a lot btw 🙂 ❤ )
the con is that it's hard to keep a list. For example ChatOpenAI does support it but in this case since you're using the same class this happens.
https://github.com/explodinggradients/ragas/blob/b988f538b968b378604240d2b279f8bf4d8ecca9/src/ragas/llms/base.py#L29-L35
https://github.com/explodinggradients/ragas/blob/b988f538b968b378604240d2b279f8bf4d8ecca9/src/ragas/llms/base.py#L39-L44
I think the solution would be to have a argument inside the LLM for this.

Thank you, a lot of API providers like deepseek recommand using compatible mode directly , which is however, not that much perfectly compatible with openai 😂  just like n


[classify] Add classify function.

Adds classify.nim, which takes in a BAM and iterates over the records, returning a CountTableRef of supports for each SV.
Completely untested. Probably worth a test.

@brentp I think this might get us to classifyin' some reads, but I don't know how to fix the type issues. Would love your help when you get a chance (and for threading, too!).


Broken Link

the Substrate RPC API landing page is 404

@jonnysmillie, do you know where this reference is? Maybe the issue is fixed already?I'm not finding this link in the current doc:
https://docs.substrate.io/rustdocs/latest/sc_rpc_api/index.html

This link isn't in the documentation anymore and we aren't using the rustdocs path, so this is a no op. Closing.


Bug: gitlab-repository class unfindable at deployment build time

Hello,
Running prefecthq/prefect:2.10.16-python3.11 in docker on a CentOS7 vm instance.
I've successfully created gitlab-credentials and gitlab-repository blocks via the self-hosted Prefect UI.
I attempted to build a deployment as such (using the Prefect CLI):
prefect deployment build -sb "gitlab-repository/reporting-automations" -n "test_depl" -q default flow.py:greetings
Result:
KeyError: "No class found for dispatch key 'gitlab-repository' in request for type 'Block'."
Expected behavior:
Prefect would create the deployment as it would with any other block type.
Possibly related:
https://discourse.prefect.io/t/using-gitlab-block-as-flow-source-with-kubernetes-agent-on-prefect-2/2216

Sorry, seems this issue was addressed here:
https://github.com/PrefectHQ/prefect-gitlab/issues/10#issuecomment-1397267952
Is it possible to add this environment variable inside the docker-compose file for easy development, like the EXTRA_PIP_PACKAGES ?


[UX] Update screenshot of the added whitelisted policy

Description:
Not fulfilling checklist items:
Help and Documentation - Is the content upto date and accurate
Related task:
Add throttling policies - whitelist an IP
Issue:
The screenshot in step 6[1] should be updated according to the previous steps screenshots.
Doc Link:
[1] https://docs.wso2.com/display/AM220/Managing+Throttling#ManagingThrottling-IPWhitelisting
Suggested Labels:
UX, Improvement
Affected Product Version:
2.2.0

We will not be fixing this as this issue is based on an older version of the product.


Multiple condition in one handle bar

Hi, thank you for awesome package, I use it alot. Could I use something like this ?
 {{#if $and $eq folders.length 0 $eq files.length 0}}

folders and files are my 2 helpers, which return folder array and file array.
It seem not work in my app.
Thank you

I think spacebars now support the use of () eg.:
{{#if $and ($eq folders.length 0) ($eq files.length 0) }}

it works. thank you!


Update issue templates

Add a template for issues.

Okay, I really don't get how this conversation resolving mechanic works 🐸
Why does it seem to apply to some conversations and not the others? Is it part of the "single comment" vs "review" thing? 🤔
I'd say let's roll!


Reordering of selected RadzenListBox elements with saving checkboxes state

Hello!
I'm not sure that my situation is a bug, but it's unexpected behavior for me
I'm using RadzenListBox to reorder columns in RadzenDataGrid:
<RadzenListBox @ref="@_selectedListBox" Data="@_selectedColumns" @bind-Value="_selectedColumnsClicked" AllowSelectAll="false" Multiple="true"  FilterCaseSensitivity="FilterCaseSensitivity.CaseInsensitive" FilterOperator="StringFilterOperator.Contains" AllowFiltering="true"/>
private LinkedList<string>? _selectedColumns = new();
private List<string>? _selectedColumnsClicked = new ();

Practically, I want to select some elements, move them up or down, watch "moving" animation and do the same if I want to without reselecting elements.
For example, I select "Side" element, click upward button, "Side" element takes the second position and saves its active checkbox. Then I can move "Side" up or down by button again if necessary.
Code for reordering elements is following:
private async Task ReorderColumns(ReorderType reorderType)
    {
        // changing order of elements in _selectedColumns

        var savedItems = _selectedColumnsClicked?.ToArray();
        _selectedColumnsClicked?.Clear();
        _selectedListBox.Reset();

        foreach (var item in savedItems ?? Array.Empty<string>())
            await _selectedListBox.SelectItem(item);

        await InvokeAsync(StateHasChanged);
    }

with  _selectedListBox.Reset() I see new order of elements, but lose the selection in checkboxes.
 _selectedListBox.SelectItem(item) is assigned to activate corresponding checkboxes, but selectedItems collection here still has selected elements. So I add clearing  _selectedColumnsClicked?.Clear() but it doesn`t help.
How can I reset listbox deeply enough so selectedItems becomes empty? And shouldn't the Reset() function clear it due to its code here?
Desktop

OS: Windows
Chrome

Thanks!

You can set _selectedColumnsClicked to null.

But I have already done that.
selectedItems in DropDownBase level is not empty


Add GroupbyTimeParameter in GroupByLevelNode

Description

Add GroupbyTimeParameter in GroupByLevelNode
Add GroupbyTimeParameter transition in distribution planning stage for Aggregation Query

Coverage increased (+0.01%) to 44.959% when pulling b72a90a775c939ce750a2213087292d78e96eebe on xingtanzjr/agg_groupbytime into b535b278dc0d71bde001c23e8eefdb3f60f6881c on master.


challenge 0: fix vercel deployments

Description :

Locked the version of next for now checkout #90 for more description, fixes #89

Fix eth price as 0 on sepolia #85

Also fixed navlinks Icon and text breaks when deployed  we fixed this in SE-2 at https://github.com/scaffold-eth/scaffold-eth-2/pull/510 (need to update this on other branches too 🙌)

Thanks for being so fast @technophile-04  <3
I agree, locking the version is the best solution for now.
As you mentioned, let's also do 3 for the other challenges.


IDM Crack 6.42 Build 16 Patch + Serial Key Download [Latest]

Internet Download Manager 6.42 Build 16 IDM Crack with Patch free download is a powerful and fastest application that can increase the download speed upto 5 times. Now you can download any files you need using the IDM Crack free Download application. You can download IDM for free from IDM’s official website. But you only get a trial version from the official website. After the trial period ends, you need to register IDM with a license key.
https://crackedstore.co/

https://crackedstore.co/
https://crackedstore.co/


Request to integrate the new Google Hangouts Chat

Hello,
Google has launched a new messaging service called Google Hangouts Chat. They have provided an official API in order to integrate it with any app:
https://developers.google.com/hangouts/chat/
The one good thing over the "old" Hangouts is that the new Hangouts Chat supports threaded conversations.
Please integrate it with YakYak.

:+1:

3rd

This would be great. My teammates are all switching to the chat.google.com web app and can't see my messages when I use yakyak anymore.

Looks like this is a paid product.
You need a G Suite account to access Hangouts Chat

https://chat.google.com

Could someone form the maintainers confirm whether such integration would be accepted to the official codebase if provided?

We welcome all pull-requests!!
I just want to suggest to keep the separation between frontend and backend. Either integrate it with current hangupsjs library or as an external one.
If you or someone else wants to pick this up, I'll try to be more active monitoring it to answer any questions.

Given that classic Hangouts will be shut down this fall (https://gsuiteupdates.googleblog.com/2019/01/upcoming-hangouts-service-consolidation.html), I don't see this as a "pull requests welcome" kind of issue:  yakyak won't be usable if it doesn't accomodate the new protocol.


new(rules): initial tagging of PCI DSS and NIST related rules

What type of PR is this?

Uncomment one (or more) /kind <> lines:

/kind feature

/kind bug

/kind cleanup

/kind design

/kind documentation

/kind failing-test

Any specific area of the project related to this PR?

Uncomment one (or more) /area <> lines:

/area rules

/area registry

/area build

/area documentation

Proposed rule maturity level

Uncomment one (or more) /area <> lines (only for PRs that add or modify rules):

/area maturity-stable

/area maturity-incubating

/area maturity-sandbox

/area maturity-deprecated

What this PR does / why we need it:
All credits to @nigeldouglas-itcarlow ❤  Amazing job Nigel, truly!
https://falco.org/blog/falco-nist-controls/
https://falco.org/docs/rules/style-guide/
@leogr @LucaGuerra
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: incertum
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [incertum]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

LGTM label has been added.  Git tree hash: 84c6900020e66bc1688c86b7eb2ae8aee0332a04

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: incertum, leogr
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [incertum,leogr]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


fix: use DIF URLs in packages

This PR updates the repository URLs in the packages and most of the URLs in other docs to point to the DIF org.
Merging this will trigger a patch release.

Welcome to Codecov :tada:
Once merged to your default branch, Codecov will compare your coverage reports and display the results in this comment.
Thanks for integrating Codecov - We've got you covered :open_umbrella:


README examples don't reflect proper usage

The readme gives the following example:
a := New(WithShape(2, 2), WithBacking([]int{1, 2, 3, 4}))
fmt.Printf("a:\n%v\n", a)

I think this should be:
a := tensor.New(tensor.WithShape(2, 2), tensor.WithBacking([]int{1, 2, 3, 4}))
fmt.Printf("a:\n%v\n", a)

This is how gorgonia uses it currently.
I think the readme was probably using dot imports where the package name wasn't necessary but it is not recommended to do that.

Dot imports. If a program imports a standard package using import . "path", additional names defined in the imported package in future releases may conflict with other names defined in the program. We do not recommend the use of import . outside of tests, and using it may cause a program to fail to compile in future releases.

As a new Go user, I also ran into this. But I appreciate the reduced clutter with the current style. Maybe the docs could just mention the import statement one needs at the top, and then assume the user adds the package prefix thereafter?


topic_tools: 1.0.0-1 in 'rolling/distribution.yaml' [bloom]

Increasing version of package(s) in repository topic_tools to 1.0.0-1:

upstream repository: https://github.com/ros-tooling/topic_tools.git
release repository: https://github.com/ros2-gbp/topic_tools-release.git
distro file: rolling/distribution.yaml
bloom version: 0.10.7
previous version for package: null

topic_tools
* Improve QoS detection robustness (#27 <https://github.com/wep21/topic_tools/issues/27>)
  * improve qos detection robustness
  Co-authored-by: Emerson Knapp<EMAIL_ADDRESS>* Feature/mux (#26 <https://github.com/wep21/topic_tools/issues/26>)
  * feat: add mux
* Feature/transform (#17 <https://github.com/wep21/topic_tools/issues/17>)
  * Add transform
* Contributors: Daisuke Nishimatsu, Steve Nogar

topic_tools_interfaces
* Feature/mux (#26 <https://github.com/wep21/topic_tools/issues/26>)
  * feat: add mux
* Contributors: Daisuke Nishimatsu

cc @emersonknapp

Holding releases for an upcoming Rolling sync.

@mabelzhang Thank you for pointing it out. I will fix it.


New Risky mod update causes multiplayer to have tons of issues

Playing multiplayer for the person NOT hosting causes a ton of crazy issues to occur. Please fix whenever possible!
Downgrading Risky mod to the older version fixes this all, so it's definitely the new update!
All this ONLY affects, appears and happens to the other player, the host is unaffected.
Version report was made and used: 0.6.7
Issues/Bugs:

randomly starting the game as overloading while in the pod (also shows host as overloading for them sometimes)
other player struggling to get out of their capsule or just not being able to completely
blight being given to players randomly and once given, permanently (not actual affecting or hurting the player)
merc dashes makes him go very low hp, then goes back to full hp, on and off
random visual effects
random buffs/debuffs
enemy health and player health constantly flipping from low to full
host's hp bar sometimes just completely disappears for the other player

This is on a completely QoL modpack too. Nothing new is added (besides Teammate Revival), the only tweaks were from the actual risky mod itself. As soon as this Risky mod is disabled NONE of this happens.
Code for pack to test multiplayer IF there is actual mod conflicts: dCfXLWQ4wA

All Issues seem to be fixed with R2API update


Proposal for Enhancing Wiki Functionality – Access Control

Hello,
I would like to discuss the possibility of adding a feature to the Wiki application that allows for access control for users or groups to specific sections of Wiki pages.
The idea is to set up access so that certain groups or users can view or edit only the sections or pages they have the appropriate permissions for. This could help better manage the content while maintaining flexibility and control over access to information.
If such a feature is feasible, it would be great to also have an intuitive interface for managing these permissions and the ability to track user activities within their allowed scope.
I believe this enhancement could improve both the security and usability of the Wiki, and I would appreciate it if you could consider my proposal.
Thank you in advance for your time and attention to this suggestion!

Hi, @AyshaHakeem
please answer. Thank you!

Total agree with the level access for each user/ group user.

Hi, @AyshaHakeem
please answer. Thank you!


Add new features to tutorials

Add the features of https://github.com/OGGM/oggm-3dviz/pull/17 to the tutorials:

[x] side_by_side plots and animations with one heading
[x] round the thickness colorbar values to 'nice' numbers
[x] change default background to black
[x] add moving camera for animations
[ ] add side walls to topography

first four points where added in https://github.com/OGGM/oggm-3dviz/pull/22


Detecting code from free flow text prompt

Was wondering if the input scan here can detect and extract code in free flow text prompt?
For example when the prompt contains code without the three backticks or markdown?

Hey @aditya1709 , thanks for raising the issue here.
We actually looked at that using a few methods but it's not really trivial as code can be in many programming languages and sometimes it can be partial code. Anyway, recently we found a way to achieve that which still needs to be tested.
I will keep you posted

Thanks @asofter
I have been working on this independently and would be down to collaborate if we can work on it together. I have a solution that I have almost built as well.

That's awesome. Are you part of our Slack (invite? Let's connect there and discuss the next steps

How can we enter the Slack space without a laiyer.ai email address @asofter ?


add swagger-mongodb resource to Node.js section of README.md

hi, i'm the maintainer for swagger-mongodb @ https://www.npmjs.org/package/swagger-mongodb
i just published the first stable npm package yesterday, and it got 137 downloads yesterday :)
can you add my resource to the Node.js section? thx!
u can checkout the live test-server @ https://hrku01-swagger-mongodb-beta.herokuapp.com

woot!


Remove test files from image

Hello,
This may be an odd request, but can any test files be removed from the image or just not installed?  My company requires that all downloads, including images, be virus scanned before we use them on a project.  In the current image, there are some tar file that aren't tar files and that causes the scanner to complain.
Thanks.

If they aren't used at runtime, I'm +1 on removing them. :+1:

This image is officially deprecated in favor of upstream's images (see https://www.elastic.co/guide/en/logstash/current/docker.html).
For more information, please see https://github.com/docker-library/elasticsearch/pull/160, https://github.com/docker-library/docs/pull/842, and https://github.com/docker-library/docs/pull/945.

This image has been deprecated in favor of the official logstash image provided and maintained by elastic.co. The upstream images are available to pull via docker.elastic.co/logstash/logstash:[version] like 5.4.2. The images found here will receive no further updates once the 5.6.0 release is available upstream. Please adjust your usage accordingly.
Elastic provides open-source support for Logstash via the elastic/logstash GitHub repository and the Docker image via the elastic/logstash-docker GitHub repository, as well as community support via its forums.

Thanks!


Issues loading pre-builded indexes on mobile

I have a 16mo index to load on mobile. Unfortunately JSON.parse is not asynchronous, nor fast and it blocks the UI + take 3+ secondes to load.
Is there any other way to load the index ? Or any other lib I could use ?

There are definitely asynchronous versions of JSON.parse, I haven't used any enough to recommend a particular library though. Anything that parses JSON could be used and the result passed to lunr.Index.load.


AdaptiveHeight does not re-calculate height on image load if multiple Sliders are on the page

I am having an issue where the adaptiveHeight setting is not re-calculating the height on a Slider when there are two Sliders on the page.
Here is codeSandBox that duplicates the issue but only sometimes and when the connection is slow enough: https://codesandbox.io/s/k27p314y6o .
Locally the issue does not happen if I only have one Slider.  The Slide height is re-calculated properly once the image finishes loading.  However when a second Slider is added without images, and it is added higher on the page than  the slider with adaptiveHeight={true}, then the adaptiveHeight setting does not re-calculate the height of the Slider with the image (the Lower Slider on the page).   This leaves much of the slide not visible as it extends outside the carousel
NOTE:  I have looked into this some and have noticed that the adaptHeight() function is called when the image finishes loading but it is called on the wrong slider ( the first Slider on the page without the image).

i think that if the getHeight or another callback function could be exposed to be triggered manually we can solve this easily, I'll try something here and submit the PR


Haystack Heuristic

https://www.nature.com/articles/s41598-017-04439-5
A cool paper that shows how a simple heuristic can find disease motifs in a dataset of B-cell receptor sequences drawn from (roughly) 50 healthy patients and 50 unhealthy patients.
A simple deep-learned version of such a model might use a 1D conv-net to predict from sequence to patient healthy/unhealthy state.
Would it be possible to get access to the data as a public resource?

The data is publicly available at http://www.immport.org/immport-open/public/study/study/displayStudyDetail/SDY1043