Customizable name for headless service

In cp-helm-charts/charts/cp-kafka/templates/headless-service.yaml there is the following part:
metadata:
name: {{ template "cp-kafka.fullname" . }}-headless
This forces any service to have a name xxx-headless which results in usage of this helm chart being unviable for my team unless I ask our devs to change a large number of services. Usage of the helm chart would save me a lot of hassle though.
Is it possible to change this into a fully customizable name? For instance having a variable headlessServiceNameOverride or something along those lines?

This is also relevant for migration from other charts to the Confluence chart which is probably something that Confluence wants to make as smooth as possible.
I'm willing to work on it and provide a PR. Before, I'd like to have get a feedback from the devs, though.


Add support for Ubuntu 18.10

Because ubuntu18.10 is not in this list, build bootstrap fails on Ubuntu 18.10. By adding ubuntu18.10 it will continue and construct $alt_download_link. This URL does not actually exist for 18.10 but that does not matter because the generic $download_link is used instead. Simply adding the list entry allows bootstrapping to complete. Since the value is not necessarily used, I also added an entry for any unknown distro.
In all the regular repos, this file is actually pulled down, from https://dot.net/v1/dotnet-install.sh. I will open an arcade issue to update that also.

Did we intent to break macOS?

scratch that, this didn’t break it.


lib: overrideScope: Correct parameter names in deprecation warning

Motivation for this change
The deprecation warning when using overrideScope is incorrect.
Things done
self: self: -> self: super:

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[ ] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[x] Fits CONTRIBUTING.md.

This was fixed in https://github.com/NixOS/nixpkgs/commit/fceab3ec621e13b6317af77c7177c7ebd2c1dd64


Call hook on entry publication

Allow plugins to register custom functionality to be performed when an
entry has been published.

Coverage decreased (-0.04%) to 99.014% when pulling 2eb6ee98a1010758b84e3c5f140f79f662dde423 on tf:publication-hook into 966a98f4b786a2fb3fa7d209346a0b8dd6b40335 on codevise:master.

Coverage increased (+0.0007%) to 99.059% when pulling 48b309ae9eeb5779c3d044ae9dcb80e925892a04 on tf:publication-hook into 966a98f4b786a2fb3fa7d209346a0b8dd6b40335 on codevise:master.

Coverage increased (+0.0007%) to 99.059% when pulling 48b309ae9eeb5779c3d044ae9dcb80e925892a04 on tf:publication-hook into 966a98f4b786a2fb3fa7d209346a0b8dd6b40335 on codevise:master.

So many new features! It's hard to keep track! :)


Exatrkx machine

This is a container description for the acts Exa.Trkx Plugin. It installs the extra dependencies cugraph, libtorch and ONNX.

I don't understand why the CI doesn't run on this one...

In any case, could you add this image to the CI workflow?

In any case, could you add this image to the CI workflow?

So based on my fork of this repository? I thought that we must first merge this PR before it can find the Dockerfile...

No i meant modifying the CI yaml file in this repo so that it BUILDs the docker image.

Ah okay, sure! I wasn't aware of this yaml file here

There is this comment in the yaml file... Seems like this is the problem?
# on pull_request does not work with forks since the jobs will try to push
# to the target registry but run only with the privileges of the fork.
#- pull_request

Ok, I built and pushed it locally, so the CI should now be able to build. Merging this now.


Teach angular-translate optional language info section

I would like to push https://github.com/angular-translate/angular-translate/pull/262 forward, maybe we can specify how things should work.
So the basic idea is to define a special namespace in a language file to store additional information, about the language itself like for example the language direction.
This could look like this:
{
  "__": {
    "direction": "rtl",
    "something": "else"
  },
  "ID": "foo bar"
  ...
  ..
}

The $translate service could then provide a method like getLocaleInfo() which returns that object (so we have to make sure that __ is not flattened). I could also imagine that it expects an optional parameter to request specific information like getLocaleInfo('direction').
Based on that there could be a translate-locale-direction (or sth.) that toggles a css class on its element depending on what direction is.
Any thoughts? @knalli @tspaeth

-> v3 maybe, but definitely not in v2.
Closed due #1671


Guidelines for image sizing

I need some guidelines about the best size image to upload for Panoptes projects. I know that with Snapshot Serengeti, our images are shrunk in pre-processing to make front-end load time faster. Our leaf project images are even bigger than Snapshot Serengeti images, so I imagine I should shrink them. But by how much? I want to optimize both load time and volunteer-viewed image resolution.

Pinging @chrissnyder and @brian-c as they may have a better idea about this than me. Panoptes doesn't have any limits built in.

We should probably have some limit, even if it's not enforced on the back end. Is 1MB per image a reasonable max?

If the image is being displayed "as-is" within the interface, then there's little value in uploading anything greater than ~1500px wide, as it will just be shrunk down when viewed within the interface for most people.
1MB/image seems fine as a first-pass validation. Should probably also check file type, as I can see somebody trying to upload a folder of bmp, tif, whatever.

Great, that's the guideline I was looking for: ~1500px wide. Thanks!

Sorry for closing. I guess this is now "check file type" for v0.0.6.

@edpaget - any thoughts about restricting the subject mime types [here]
(https://github.com/zooniverse/Panoptes/blob/5d27b845846c712d385b9639437ff64e4d13343b/app/controllers/api/v1/subjects_controller.rb#L62)?
Also it looks like a 500 will occur if client uploads an unknown mime type.

Apologies for a potentially naive comment, but I've used the Paperclip gem to automatically process images into different sizes for different uses server-side:
https://github.com/thoughtbot/paperclip
(It's also probably a second-order consideration, and would introduce more dependencies, but it's worked well for me. It also handles the file types too.)


feat: add methods remover caracters specials and return only numbers

There was a need for methods to clean up the special characters in a string and return only the numbers, it would be interesting if these two methods were implemented.
This solution for issue: #223

@VinnyLima merged 🎉


Allow bypassing role name checking

Fix https://github.com/ansible/ansible-compat/issues/78

Hi @briantist
Could you whether this PR address your issue?
Ensure role_name_check: 1 is added in molecule.yml file if the role name is invalid. like below
https://github.com/ansible-community/molecule/pull/3549/files#diff-6d870a34c1531cdde908908cf22ee6b5957ca848266004cb1e5b39c679a27a50

This PR looks ok to me but I want confirmation from someone else that it is fixing that issue.

I can't comment on if this PR itself is fixing the problem as I don't have a way to test it, but setting role_name_check=2 as the option to self._install_galaxy_role in ansible-compat's runtime.py file does resolve the problem I've been having with this (there is some abuse of sed going on :eyes:)
As far as I can tell this PR will set the same value, so I would think this will solve the problem.

@zhan9san thank you, I definitely would like to try this out, this week is very busy for me and I'll be away from the computer much more than usual, so I may not be able to try it for a few days.

@ssbarnea
It is rebased.
Please take a look.

Yes.
You can set role_name_check: 1 in molecule.yml, and then the invalid name format issue would be skipped.
And there is no need to keep role-name in lint file skip_list.
Does it work for you?

Right now I'm not setup to test on the bleeding edge release but may try it out in a bit. Do you know when the next stable release will hit pip? At that point it's just a matter of waiting until my CI runs again.

I am afraid I can't give you an exact date.

@geerlingguy I am sure you know how to use --pre flag on pip installs or 'ansible-lint>=4.0.0a0' to get the newer version. We made a pre-release for v4, so we can get feedback without asking people to install from main branch, which is bit harder.

I'm still getting a WARNING in the output, even with role_name_check: 1:
 14:25:48 VMs/roles/geerlingguy.php-mysql
$ molecule --version
molecule 4.0.0a0 using python 3.9
    ansible:2.12.6
    delegated:4.0.0a0 from molecule
    docker:1.1.0 from molecule_docker requiring collections: community.docker>=1.9.1

 14:26:06 VMs/roles/geerlingguy.php-mysql
$ molecule test
INFO     default scenario test matrix: dependency, lint, cleanup, destroy, syntax, create, prepare, converge, idempotence, side_effect, verify, cleanup, destroy
INFO     Performing prerun with role_name_check=1...
INFO     Set ANSIBLE_LIBRARY=/Users/jgeerling/.cache/ansible-compat/24324c/modules:/Users/jgeerling/.ansible/plugins/modules:/usr/share/ansible/plugins/modules
INFO     Set ANSIBLE_COLLECTIONS_PATH=/Users/jgeerling/.cache/ansible-compat/24324c/collections:/Users/jgeerling/.ansible/collections:/usr/share/ansible/collections
INFO     Set ANSIBLE_ROLES_PATH=/Users/jgeerling/.cache/ansible-compat/24324c/roles:/Users/jgeerling/Dropbox/VMs/roles
WARNING  Computed fully qualified role name of geerlingguy.php-mysql does not follow current galaxy requirements.
Please edit meta/main.yml and assure we can correctly determine full role name:

galaxy_info:
role_name: my_name  # if absent directory name hosting role is used instead
namespace: my_galaxy_namespace  # if absent, author is used instead

Namespace: https://galaxy.ansible.com/docs/contributing/namespaces.html#galaxy-namespace-limitations
Role: https://galaxy.ansible.com/docs/contributing/creating_role.html#role-names

As an alternative, you can add 'role-name' to either skip_list or warn_list.

INFO     Using /Users/jgeerling/.cache/ansible-compat/24324c/roles/geerlingguy.php-mysql symlink to current repository in order to enable Ansible to find the role using its expected full name.
INFO     Running default > dependency
Starting galaxy role install process
- downloading role 'repo-remi', owned by geerlingguy
- downloading role from https://github.com/geerlingguy/ansible-role-repo-remi/archive/2.0.1.tar.gz
- extracting geerlingguy.repo-remi to /Users/jgeerling/.cache/molecule/geerlingguy.php-mysql/default/roles/geerlingguy.repo-remi
- geerlingguy.repo-remi (2.0.1) was installed successfully
- downloading role 'apache', owned by geerlingguy
- downloading role from https://github.com/geerlingguy/ansible-role-apache/archive/3.3.0.tar.gz
- extracting geerlingguy.apache to /Users/jgeerling/.cache/molecule/geerlingguy.php-mysql/default/roles/geerlingguy.apache
- geerlingguy.apache (3.3.0) was installed successfully
- downloading role 'mysql', owned by geerlingguy
- downloading role from https://github.com/geerlingguy/ansible-role-mysql/archive/3.5.0.tar.gz
- extracting geerlingguy.mysql to /Users/jgeerling/.cache/molecule/geerlingguy.php-mysql/default/roles/geerlingguy.mysql
- geerlingguy.mysql (3.5.0) was installed successfully
- downloading role 'php', owned by geerlingguy
- downloading role from https://github.com/geerlingguy/ansible-role-php/archive/4.8.0.tar.gz
- extracting geerlingguy.php to /Users/jgeerling/.cache/molecule/geerlingguy.php-mysql/default/roles/geerlingguy.php
- geerlingguy.php (4.8.0) was installed successfully
INFO     Dependency completed successfully.
WARNING  Skipping, missing the requirements file.
INFO     Running default > lint
INFO     Lint is disabled.
INFO     Running default > cleanup

The role I'm testing with (at the latest commit): https://github.com/geerlingguy/ansible-role-php-mysql

I think that's expected when you set it to 1. Try setting it to 2 - I believe that suppresses the warning.

If it's set to 1, we are trying to remind the user this is still not a recommended way.
Besides, it does not block users.

Does this requires using a more recent version of ansible > 2.9.6 ? Seem to be hitting the issue even of setting the role_name: namespace: and role_name_check: 1 with the latest version of molecule.
10:44:01 molecule create: /w/workspace/lf-infra-ansible-roles-tox-verify-any/.tox/molecule
10:44:02 molecule installdeps: ansible~=2.9.6, ansible-lint~=4.2.0, detox~=0.18, docker, yamllint, molecule, molecule[docker], testinfra>=3.0.0, pytest~=5.4.0
10:44:37 molecule installed: ansible==2.9.27,ansible-compat==1.0.0,ansible-lint==4.2.0,arrow==1.2.2,attrs==21.4.0,bcrypt==3.2.2,binaryornot==0.4.4,cached-property==1.5.2,Cerberus==1.3.2,certifi==2022.6.15,cffi==1.15.0,chardet==5.0.0,charset-normalizer==2.0.12,click==8.0.4,click-help-colors==0.9.1,commonmark==0.9.1,cookiecutter==1.7.3,cryptography==37.0.3,dataclasses==0.8,detox==0.19,distlib==0.3.4,distro==1.7.0,dnspython==2.2.1,docker==5.0.3,enrich==1.2.7,eventlet==0.33.1,filelock==3.4.1,greenlet==1.1.2,idna==3.3,importlib-metadata==4.8.3,importlib-resources==5.4.0,Jinja2==3.0.3,jinja2-time==0.2.0,MarkupSafe==2.0.1,molecule==3.6.1,molecule-docker==1.1.0,more-itertools==8.13.0,packaging==21.3,paramiko==2.11.0,pathspec==0.9.0,platformdirs==2.4.0,pluggy==0.13.1,poyo==0.5.0,py==1.11.0,pycparser==2.21,Pygments==2.12.0,PyNaCl==1.5.0,pyparsing==3.0.9,pytest==5.4.3,pytest-testinfra==6.8.0,python-dateutil==2.8.2,python-slugify==6.1.2,PyYAML==6.0,requests==2.27.1,rich==12.4.4,ruamel.yaml==0.17.21,ruamel.yaml.clib==0.2.6,selinux==0.2.1,six==1.16.0,subprocess-tee==0.3.5,testinfra==6.0.0,text-unidecode==1.3,toml==0.10.2,tox==3.6.1,typing_extensions==4.1.1,urllib3==1.26.9,virtualenv==20.15.0,wcwidth==0.2.5,websocket-client==1.3.1,yamllint==1.26.3,zipp==3.6.0
10:44:37 molecule run-test-pre: PYTHONHASHSEED='3979270437'
10:44:37 molecule run-test: commands[0] | ./molecule.sh
10:44:38 /w/workspace/lf-infra-ansible-roles-tox-verify-any/.tox/molecule/lib/python3.6/site-packages/ansible/parsing/vault/__init__.py:44: CryptographyDeprecationWarning: Python 3.6 is no longer supported by the Python core team. Therefore, support for it is deprecated in cryptography and will be removed in a future release.
10:44:38   from cryptography.exceptions import InvalidSignature
10:44:38 /w/workspace/lf-infra-ansible-roles-tox-verify-any/.tox/molecule/lib/python3.6/site-packages/requests/__init__.py:104: RequestsDependencyWarning: urllib3 (1.26.9) or chardet (5.0.0)/charset_normalizer (2.0.12) doesn't match a supported version!
10:44:38   RequestsDependencyWarning)
10:44:38 INFO     default scenario test matrix: dependency, lint, cleanup, destroy, syntax, create, prepare, converge, idempotence, side_effect, verify, cleanup, destroy
10:44:38 INFO     Performing prerun...
10:44:38 INFO     Set ANSIBLE_LIBRARY=/home/jenkins/.cache/ansible-compat/e97c04/modules:/home/jenkins/.ansible/plugins/modules:/usr/share/ansible/plugins/modules
10:44:38 INFO     Set ANSIBLE_COLLECTIONS_PATHS=/home/jenkins/.cache/ansible-compat/e97c04/collections:/home/jenkins/.ansible/collections:/usr/share/ansible/collections
10:44:38 INFO     Set ANSIBLE_ROLES_PATH=/home/jenkins/.cache/ansible-compat/e97c04/roles:/home/jenkins/.ansible/roles:/usr/share/ansible/roles:/etc/ansible/roles
10:44:38 ERROR    Computed fully qualified role name of lfit.ansible-galaxy-puppet-install does not follow current galaxy requirements.
10:44:38 Please edit meta/main.yml and assure we can correctly determine full role name:
10:44:38
10:44:38 galaxy_info:
10:44:38 role_name: my_name  # if absent directory name hosting role is used instead
10:44:38 namespace: my_galaxy_namespace  # if absent, author is used instead
10:44:38
10:44:38 Namespace: https://galaxy.ansible.com/docs/contributing/namespaces.html#galaxy-namespace-limitations
10:44:38 Role: https://galaxy.ansible.com/docs/contributing/creating_role.html#role-names
10:44:38
10:44:38 As an alternative, you can add 'role-name' to either skip_list or warn_list.

@askb
This feature is included in molecule==4.0.0. But I noticed molecule==3.6.1 is installed.
Could you update the molecule and try again?

@zhan9san Not sure what is pulling the older version of molecule, since its not pinned int tox.ini. Does this require more recent version of ansible-lint or ansible?
[testenv:molecule]
basepython = python3
deps =
    ansible~=2.9.6
    ansible-lint~=4.2.0
    detox~=0.18
    docker
    yamllint
    molecule
    molecule[docker]
    testinfra>=3.0.0
    pytest~=5.4.0

https://jenkins.opendaylight.org/releng/job/lf-infra-ansible-roles-tox-verify-any/668/console

@askb
Neither ansible-lint nor ansible requires molecule.
We cannot identify the dependency tree from Jenkins log.
Could you list the dependencies via pipdeptree?


Related to the flash the code in ESP32.

In aws_demo_config.h file i enabled the shadow demo.
And then i flash the code in to the ESP32 module i get below error, when i flash the code.
assertion "globalSubscribePacketIdentifier == usPacketIdentifier" failed: file "../demos/common/mqtt_demo_helpers/mqtt_demo_helpers.c", line 490, function: vHandleOtherIncomingPacket
Can anyone help me about this?How to solve this error?

It's possible that you are receiving the SUBACK for an earlier subscription attempt rather than what the current subscription attempt is expecting. This can happen depending on the client's latency with AWS IoT Core. Can you try increasing mqttexamplePROCESS_LOOP_TIMEOUT_MS in demos\common\mqtt_demo_helpers\mqtt_demo_helpers.c to fix this problem?

Now, It is okk , i solved the error successful,
Thank you for your valuable report.

That's great. I will close this issue for now, but just feel free to open again if you have further questions.


Wrong type of postin HttpRestRequest

Dart SDK 1.9.3
Uncaught Error: type 'Uri' is not a subtype of type 'String' of 'path'.
Stack Trace:
#0      HttpRestRequest.HttpRestRequest (package:rest/http_rest_request.dart:18:30)
#1      HttpRestRequest.HttpRestRequest.fromRequest (package:rest/http_rest_request.dart:24:5)
#2      HttpRest.act (package:rest/http_rest.dart:148:26)
#3      HttpRest.resolve (package:rest/http_rest.dart:102:27)

I'm not sure what you mean by "wrong type of post". The stack trace doesn't
appear to be complaining about the request method, but that the path argument
is a Uri and not a string, and it doesn't know how to construct HttpRestRequest.
I did a simple test on SDK 1.9.3 to see if I could replicate the problem;
HttpServer.bind(address, port).then((server) {
  server.listen((HttpRequest request) {

    // Does request.uri automatically convert to a string?
    print("Request uri ::: ${request.uri}");

    // What does Dart think request.uri's Class is?
    if(request.uri is Uri) {
      print('Request uri type is Uri');
    } else if(request.uri is String) {
      print('Request uri type is String');
    }

    // What if we assign it to a String variable?
    String test = request.uri;
    print('String conversion ::: ${test}');
  });
});

The above doesn't stack trace and gives output I would expect;
> Request uri ::: /foo/bar
> Request uri type is Uri
> String conversion ::: /foo/bar

So if I'm not making any mistakes in analysis, can you show me an example of
how you're arriving to the above error? Are you using something other than
HttpServer in dart:io? Or could this be the result of dart2js or something compilation related?

No dart2js involved.
You are right request.uri is Uri. The problem is String path; in http_rest_request.dart

Can you paste some example code that replicates the issue? Thanks.
On Apr 29, 2015 9:24 AM, "Draško Kokić"<EMAIL_ADDRESS>wrote:

No dart2js involved.
You are right request.uri is Uri. The problem is String path; in
http_rest_request.dart
—
Reply to this email directly or view it on GitHub
https://github.com/spacez320/dart-rest/issues/3#issuecomment-97423865.

I believe the problem disappears if you are not running in the checked mode. Never the less there is a type mismatch.
Here my code which is a copy of your example:

import 'dart:io';
import 'package:rest/http_rest.dart' show HttpRest, HttpRestRoute, HttpRestResponse;
//import 'package:rest_frame/rest_frame.dart';

main() {
  startServer();
}

void startServer() {
  // keys are regular expressions, or null
  var routes = {
    r"^foo": {
      r"^bar$": {

        // the null key will allow a request for 'foo/bar'

        null: new HttpRestRoute({
          'GET': getFooBar               // a function called fooBar
        }),

        // this will match PUT requests of form 'foo/bar/\d+'

        r"\d+": new HttpRestRoute({
          'PUT': createFooBar         // a function called createFooBar
        }),

      },

      // this will match POST requests of form 'foo/bat'

      r"^bat$": new HttpRestRoute({
        'POST': fooBat                // a function called fooBat
      })
    }
  };

  HttpRest rest = new HttpRest(routes);

  //Router router = new Router();
  //router.get(getFooBar, "/foo/bar");

  HttpServer.bind('<IP_ADDRESS>', 8888)
  .then((HttpServer httpServer) {

    print('Server available on http://${httpServer.address.host}:${httpServer.port}');

    httpServer.listen((HttpRequest httpRequest) {
      print("Received ${httpRequest.method} ${httpRequest.uri.path}");
      rest.resolve(httpRequest);
      //router.route(httpRequest);
    });
  });
}

HttpRestResponse getFooBar() {
  print('getFooBar(): ...');
  return new HttpRestResponse().build(204, 'found a fooBar!\n');
}

      createFooBar() {
        return new HttpRestResponse().build(204, 'created a fooBar!\n');
      }

      fooBat() {
        return new HttpRestResponse().build(502, 'fooBat!\n');
      }

void handleApi(_) {
  print(_);
}

After running a unit test:

import 'dart:io';
import 'dart:convert';
import 'package:unittest/unittest.dart';

main() {
  group('REST server group', () {
    var homeserver_base_url = 'http://localhost:8888';
    HttpClient httpClient = new HttpClient();

    setUp(() {
      print('setUp(): ...');
    });

    test('Test request', () {
      print('test(): ...');
      httpClient.getUrl(Uri.parse('$homeserver_base_url/foo/bar'))
      .then((HttpClientRequest request) {
        // Optionally set up headers...
        // Optionally write to the request object...
        // Then call close.
        return request.close();
      })
      .then((HttpClientResponse response) {
        expect(response.statusCode, 204);
        response.transform(UTF8.decoder).listen((content) {
          print(content);
        });
      });
    });

  });
}

it is crashing the server with the following error:
Observatory listening on http://<IP_ADDRESS>:56703
Server available on http://<IP_ADDRESS>:8888
Received GET /foo/bar
Unhandled exception:
Uncaught Error: type 'Uri' is not a subtype of type 'String' of 'path'.
Stack Trace:
#0      HttpRestRequest.HttpRestRequest (package:rest/http_rest_request.dart:18:30)
#1      HttpRestRequest.HttpRestRequest.fromRequest (package:rest/http_rest_request.dart:24:5)
#2      HttpRest.act (package:rest/http_rest.dart:148:26)
#3      HttpRest.resolve (package:rest/http_rest.dart:102:24)
#4      startServer.<anonymous closure>.<anonymous closure> (file:///Users/kodra/Developer/Projects/dart/matrix.dart/bin/server.dart:50:12)
#5      _RootZone.runUnaryGuarded (dart:async/zone.dart:1093)
#6      _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:341)
#7      _BufferingStreamSubscription._add (dart:async/stream_impl.dart:270)
#8      _StreamController&&_SyncStreamControllerDispatch._sendData (dart:async/stream_controller.dart:698)
#9      _StreamController._add (dart:async/stream_controller.dart:570)
#10     _StreamController.add (dart:async/stream_controller.dart:516)
#11     _HttpServer._handleRequest (dart:io/http_impl.dart:2316)
#12     _HttpConnection._HttpConnection.<anonymous closure> (dart:io/http_impl.dart:2070)
#13     _RootZone.runUnaryGuarded (dart:async/zone.dart:1093)
#14     _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:341)
#15     _BufferingStreamSubscription._add (dart:async/stream_impl.dart:270)
#16     _StreamController&&_SyncStreamControllerDispatch._sendData (dart:async/stream_controller.dart:698)
#17     _StreamController._add (dart:async/stream_controller.dart:570)
#18     _StreamController.add (dart:async/stream_controller.dart:516)
#19     _HttpParser._headersEnd (dart:io/http_parser.dart:387)
#20     _HttpParser._doParse (dart:io/http_parser.dart:709)
#21     _HttpParser._parse (dart:io/http_parser.dart:330)
#22     _HttpParser._onData (dart:io/http_parser.dart:819)
#23     _RootZone.runUnaryGuarded (dart:async/zone.dart:1093)
#24     _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:341)
#25     _BufferingStreamSubscription._add (dart:async/stream_impl.dart:270)
#26     _StreamController&&_SyncStreamControllerDispatch._sendData (dart:async/stream_controller.dart:698)
#27     _StreamController._add (dart:async/stream_controller.dart:570)
#28     _StreamController.add (dart:async/stream_controller.dart:516)
#29     _Socket._onData (dart:io-patch/socket_patch.dart:1793)
#30     _RootZone.runUnaryGuarded (dart:async/zone.dart:1093)
#31     _BufferingStreamSubscription._sendData (dart:async/stream_impl.dart:341)
#32     _BufferingStreamSubscription._add (dart:async/stream_impl.dart:270)
#33     _StreamController&&_SyncStreamControllerDispatch._sendData (dart:async/stream_controller.dart:698)
#34     _StreamController._add (dart:async/stream_controller.dart:570)
#35     _StreamController.add (dart:async/stream_controller.dart:516)
#36     _RawSocket._RawSocket.<anonymous closure> (dart:io-patch/socket_patch.dart:1344)
#37     _NativeSocket.issueReadEvent.issue (dart:io-patch/socket_patch.dart:728)
#38     _asyncRunCallbackLoop (dart:async/schedule_microtask.dart:41)
#39     _asyncRunCallback (dart:async/schedule_microtask.dart:48)
#40     _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:96)
#41     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:143)

#0      _rootHandleUncaughtError.<anonymous closure> (dart:async/zone.dart:886)
#1      _asyncRunCallbackLoop (dart:async/schedule_microtask.dart:41)
#2      _asyncRunCallback (dart:async/schedule_microtask.dart:48)
#3      _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:96)
#4      _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:143)

So let's look into http_rest_request.dart
part of http_rest;

/**
 * A response to an HTTP REST request.
 */
class HttpRestRequest implements RestRequest {
  /// request uri
  final String path;
  /// request method
  final String verb;
  /// request headers
  final Map headers;

  /**
   * Generates an HTTP REST request.
   */
  const HttpRestRequest(this.path, this.verb, this.headers);

  /**
   * Generates an HTTP REST request from an HttpRequest.
   */
  const HttpRestRequest.fromRequest(HttpRequest request) :
    this(request.uri, request.method, request.headers);
}

As you can see, the path is defined as String and used in the constructor to assign the value from request.uri which is defined as Uri ... ergo Uncaught Error: type 'Uri' is not a subtype of type 'String' of 'path'.

I believe this is fixed in 0cca10b6ee059d587bf0bfe787a5829e7991af07
Turns out I had completely forgotten about Dart's 'checked compilation' feature and the library was riddled with broken things.
One thing to note is that your endpoints will no longer call the factory-ish build method of HttpRestResponse, but should just create HttpRestResponse objects with the same arguments.
Example;
// change this
return HttpRestResponse.build(200, 'awesome');
// to this
return HttpRestResponse(200, 'awesome');

Can you confirm that things are working better? Thanks for your help.

Closing this, as I believe we're good, but feel free to complain if you disagree.

No complains ;-)


CAMEL-15494 Document how to add Http/2 Protocol to camel-undertow

[ ] Make sure there is a JIRA issue filed for the change (usually before you start working on it).  Trivial changes like typos do not require a JIRA issue.  Your pull request should address just this issue, without pulling in other changes.
[ ] Each commit in the pull request should have a meaningful subject line and body.
[ ] If you're unsure, you can format the pull request title like [CAMEL-XXX] Fixes bug in camel-file component, where you replace CAMEL-XXX with the appropriate JIRA issue.
[ ] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[ ] Run mvn clean install -Psourcecheck in your module with source check enabled to make sure basic checks pass and there are no checkstyle violations. A more thorough check will be performed on your pull request automatically.
Below are the contribution guidelines:
https://github.com/apache/camel/blob/master/CONTRIBUTING.md

@oscerd
Can you please review this PR which documents the configuration of the HTTP/2 protocol for the Camel Undertow component.
Thanks,
Gerry

@oscerd I have requested an example of the Camel 3 implementation to be created and will update this request in due course as you suggest - thank you for your feedback.

I think we can close this and o


SPFx as Teams tab - pop out tab not working

Category

[x] Bug

Describe the bug

I have an SPFx app running in Teams (TeamsTab) and SharePoint. Everything works fine except when trying "pop out tab" in Teams Desktop client, where nothing happens. I have tried updating to 1.1 and also doing an empty hello world project with the same result.

Steps to reproduce

Follow https://docs.microsoft.com/en-us/sharepoint/dev/spfx/web-parts/get-started/using-web-part-as-ms-teams-tab
In Teams Desktop, click pop out tab

Expected behavior

Webpart should load in a pop out window.

Environment details (development & target environment)

Your Developer Environment: Windows 10
Target Environment: SharePoint Online
Framework: Node.js 10.23.1
Browser(s): Teams Desktop Client (Microsoft Teams Version <IP_ADDRESS>662 (64-bit))
Tooling: SPFx v1.11.0

I have the same problem. In devtools I see a request without de tenant host -> undefined
https://undefined/_layouts/15/TeamsLogon.aspx?SPFX=true&dest=/_layouts/15/teamshostedapp.aspx%3Fteams%26personal%26componentId=....

I have the same problem as well . The Pop out teams Teams Personal App functionality doesn't work due to this issue .

Same issue here. All our SPFx apps stopped showing in pop up (I'm pretty sure they were showing at some point recently in the past few months...).
We really need this core feature to be fixed to support a Team's first approach.

Same issue here. It was working at least a couple weeks ago, if not more recently.

For me, the problem was resolved in connection to https://github.com/SharePoint/sp-dev-docs/issues/6563

For me, the problem was resolved in connection to #6563

Is that still working for you today? We also saw that fixed for a few months but It stopped working again recently starting in the past few weeks...

For me, the problem was resolved in connection to #6563

Is that still working for you today? We also saw that fixed for a few months but It stopped working again recently starting in the past few weeks...

Yes, at least the existing solution is still working.

@kjdahlsp   What was the solution?

Can you add a bit more information, like what kind of app this is?  (channel, personal, meeting, etc.)?  We have fixed some issues in the past in this area, and there is another fix currently rolling out.

In my case I have a personal app which was implemented using SPFX V 1.11.
For a few months now the pop-out shows only a blank screen
in Browser i saw a network error. I think the host will not be sumittet
https://undefined/_layouts/15/TeamsLogon.aspx?SPFX=true&dest=/_layouts/15/teamshostedapp.aspx%3Fteams%26personal%26componentId=

The app we are having an issue with is standalone available from the lefthand main toolbar. I have added some info below, please let me know what else might help. Thanks!
I see the following error logged in the main teams console when i try and pop out the app or refresh the pop out:
?agent=electron&version=21110108719:1 AuthenticationService: Authentication - {"context":"ShellService::requestMessage","subContext":"AuthElectron","message":"Received an error from IPC::{\"eventName\":\"aadGetToken\",\"error\":\"resourceRequiresConsent\",\"correlationId\":\"<removed>\"}::isOnline-true","errorCode":"RemoteOperationFailed","correlationId":"<removed>","isExpected":false}
When I inspect the pop out, I see:
iframe id="extension-tab-frame" class="extension-tab-frame" name="extension-tab-frame" src="https://undefined/_layouts/15/TeamsLogon.aspx?SPFX=true&dest=/_layouts/15/teamshostedapp.aspx%3Fteams%26personal%26componentId=removed%26forceLocale=en-us" frameborder="0" sandbox="allow-forms allow-modals allow-popups allow-pointer-lock allow-scripts allow-same-origin allow-downloads" allow="geolocation *; microphone *; camera *; midi *; encrypted-media *;" allowfullscreen="">

The issue still exists in  my solution with teams toolkit v3.1.1 .  SPFx version is 1.13.1 .  This only affects the tab with the web part .
The following is the content URL for the tab  from the manifest .
"contentUrl": "https://{teamSiteDomain}/_layouts/15/TeamsLogon.aspx?SPFX=true&dest=/_layouts/15/teamshostedapp.aspx%3Fteams%26personal%26componentId=d817c1bd-e96c-44da-80cd-6f7ae91de016%26forceLocale={locale}"
I added another tab in the manifest  with a SharePoint page as the Content URL  and it is working fine .
As a workaround can the pop out option be disabled through the manifest ?

@patmill anything else I can do to provide more information?
I'm unsure how to catch the event opens the pop out, but if I check window.location.hash in  "onDOMContentLoaded" function in the iframe-container.html, I see domain is passed undefined: "#iframeurl=https%3A%2F%2Fundefined%2F_layouts%2F15%2FTeamsLogon.aspx".
Please let me know what else I can do to help track this down. Thanks!

Had a whole write up with extra questions, etc. but just found the special case.  Tab apps work correctly, but personal ones don't (with the same 'undefined' URL).  Looking into it.

Yes, that's the behavior we see. Glad you were able to reproduce, thank you!
I spent a good bit of time tracing the execution of the code from the pop out event and couldn't track where the variable was getting lost. My guess/hunch is it has something to do with the fact that there is no team site for a personal app, so {teamSiteDomain} is therefore undefined.

It looks like a regression in how teams handles pop-outs of personal apps.  We're working with the Teams folks on getting a fix in.  I'll update here when I get a firm timeline.

excellent, thanks again!

Hello, any update on this feature please? It is still not working. Thanks a lot for any update.

It's working here now!

@kjdahlsp @plodik @jweiss-eqrx - could you please check if it is working now for you too?

@GuillermoBas - this sound not related to the pop out directly.
Could you please open a new issue?
Closing this one as the issue has been fixed.

@kjdahlsp @plodik @jweiss-eqrx - could you please check if it is working now for you too?

Hello @AJIXuMuK, I can confirm it started to work immediately in my testing tenant and also in the customer's environment as well. Thanks!!!

Works! Thank you!


Add other DEM-related functions to 'rasters' module

Right now, only hillshade and slope are available. We already faced the need to use aspect.
If we add a xarray-spatial (or xdem) depandency, this should be straightforward.

Closing, because no other functions are needed (for now)


[FEATURE]: First-class support for pensions

Hey, nice job, I'm working on a tool myself but thought I would contribute to yours too. Thanks for keeping it open source!
Right now, I don't see a clear way to describe a pension to the tool. OK, I can add my contributions as income, but it could be cool if the tool recognised that this income is only accessible at a certain age (retirement). Also, I don't think you are accounting for the state pension at this point? It can make a small difference.
Arguably pensions should be added under investments with monthly contributions (as per #2). Even better, maybe introduce a first-class salary concept as part of Income which shows a pension section. Users might want to input the monthly £ contribution or two % values (employee contrib, company contrib). In the case of the latter, you would need to ask for pre-tax income, which is a bit of a change and means you might need to start calculating income tax (my unreleased tool has some black box functional code for this, so I could potentially help).
On another note, support for pensions could be taken much further by allowing users to supply a growth curve for their pension pot (it is typical for younger people to have higher risk/reward, older people to have lower risk/reward) - this could help get a more accurate result for people looking beyond 5-10 years into the future.
Let me know your thoughts!

I definitely agree that a more bespoke approach is needed for pensions (have been asked this question a couple of times). I am trying to keep the tool fairly 'general purpose' so don't want to get into the various issues related to pension contributions/tax implications in various jurisdictions.
However, saying that, I think the solution could be to create an entirely new section in the left hand menu which is 'pensions' which feeds into the net worth and fire calculations, as well as showing some of the charts / statistics you mentioned.


Minor Fixes

Hi,
this merge request fixes some minor issues.
It was created with help of Feram.
If it helped to improve this repository,
please consider to star Feram's repo to show some love! 😊
PS:
The Feram team is currently working on making this technology
available for everyone. If you want to be one of the first to use it,
please sign up up for the newsletter on feram.co.

Sorry, this repo is no longer takin pull requests.


Dependency injection is flawed.

Having dependency injection would be good for creating mock controllers or hiding the implementation details, but as it stands, this can't be done. Momentum uses Object.runtimeType, which does not account for Mixing, Implementing or Extending classes, and is unsafe on dart2js in some scenarios. The functions that use Object.runtimeType should be refactored to use 'foo is T', and the places that should be refactored are Momentum._validateControllers, Momentum._getControllerOfType. Additionally, not related to the DI, Router._goto should also be refactored for the same reason.

The remaining usages of Object.runtimeType, which are for logging and stuff are fine.

Okay so after some testing. I figure out that foo is T is the bug, not runtimeType.
Take a look at this:
Sample script:
You can also run it on dartpad.dev
Type type<T>() => T;

class Settings {
  // logic here ...
}

class ASettings extends Settings {
  // logic here ...
}

class BSettings extends ASettings {
  // logic here ...
}

var _settings = Settings();
var _aSettings = ASettings();
var _bSettings = BSettings();

void main() {
  print('using "foo is T":\n');
  fooIsT();
  print('\n\nusing "runtimeType == Type":\n');
  objectRuntimeType();
}

void fooIsT() {
  print('$Settings is $ASettings => ${_settings is ASettings}');
  print('$ASettings is $Settings => ${_aSettings is Settings}');
  print('$Settings is $BSettings => ${_settings is BSettings}');
  print('$BSettings is $Settings => ${_bSettings is Settings}');
  print('$ASettings is $BSettings => ${_aSettings is BSettings}');
  print('$BSettings is $ASettings => ${_bSettings is ASettings}');
}

void objectRuntimeType() {
  print('$Settings == $ASettings => ${_settings.runtimeType == type<ASettings>()}');
  print('$ASettings == $Settings => ${_aSettings.runtimeType == type<Settings>()}');
  print('$Settings == $BSettings => ${_settings.runtimeType == type<BSettings>()}');
  print('$BSettings == $Settings => ${_bSettings.runtimeType == type<Settings>()}');
  print('$ASettings == $BSettings => ${_aSettings.runtimeType == type<BSettings>()}');
  print('$BSettings == $ASettings => ${_bSettings.runtimeType == type<ASettings>()}');
  print('\ncorrect types:\n');
  print('$Settings == $Settings => ${_settings.runtimeType == type<Settings>()}');
  print('$ASettings == $ASettings => ${_aSettings.runtimeType == type<ASettings>()}');
  print('$BSettings == $BSettings => ${_bSettings.runtimeType == type<BSettings>()}');
}

The output of the script is this:
using "foo is T":

Settings is ASettings => false
ASettings is Settings => true
Settings is BSettings => false
BSettings is Settings => true
ASettings is BSettings => false
BSettings is ASettings => true

using "runtimeType == Type":

Settings == ASettings => false
ASettings == Settings => false
Settings == BSettings => false
BSettings == Settings => false
ASettings == BSettings => false
BSettings == ASettings => false

correct types:

Settings == Settings => true
ASettings == ASettings => true
BSettings == BSettings => true

Breaking it down:

Now first, let's take a look at foo is T's last result:

BSettings is ASettings => true

Applying this in momentum:
var bController = Momentum.controller<BController>(context);

BController can also be AController, this is very bugged and it should never return AController.

What I want personally on my projects and what I want with momentum to do is this:
Let's take runtimeType == Type's last result:

BSettings == ASettings => false

Now as you can see because this is false, Momentum.controller<BController> will never return AController. And that's what I want.

It is the same as the Router. If you have PageB that extends PageA, and you called Router.goto(context, PageB), you will be redirected to PageA instead. PageB is PageA returns true.
The test files are in these locations:

test\types_test.dart
test\types_one_builder_test.dart
test\widgets\types_test_widget.dart - the controllers has their own MomentumBuilder.
test\widgets\types_test_widget_one_builder.dart - all the controllers are injected only into one MomentumBuilder.
test\widgets\types_test_widget_one_builder_error.dart - error test for extending controllers.
test\components\types-test\ - the controllers and models are here. Includes abstract, mixin, extends, and implements.

The original issue was changing runtimeType checks into foo is T. But when testing multiple cases, foo is T ended up becoming the bug. I have fixed this issue and refactored all type checks into runtimeType. I left router is Router unchanged because you will only want 1 router to be injected into services anyway.
I will close this issue now but feel free to reopen it if you have some cases that can invalidate these tests.


Bug: MSBuild doesn't build all variants

Expected behavior
Building with MSBuild either via dotnet build, MSBuild.exe, or via Visual Studio 2019 results in all the different DLLs used in the package:
/bin/Debug/unity-aot/Newtonsoft.Json.dll
/bin/Debug/unity-standalone/Newtonsoft.Json.dll
/bin/Debug/unity-editor/Newtonsoft.Json.dll
/bin/Debug/unity-portable/Newtonsoft.Json.dll
/bin/Debug/unity-tests/Newtonsoft.Json.dll

Actual behavior
Only some build. Sometimes it even takes multiple builds to get the most builds. But never the full list.
The missing build DLLs are:
/bin/Debug/unity-aot/Newtonsoft.Json.dll
/bin/Debug/unity-standalone/Newtonsoft.Json.dll

Steps to reproduce

Clone repo
Open solution /Src/Newtonsoft.Json.sln in Visual Studio 2019
Start build Ctrl+B

Details

Host machine OS running Unity Editor 👉 Windows

Unity build target 👉 N/A

Newtonsoft.Json-for-Unity package version 👉 12.0.301

I was using Unity version 👉 N/A
Checklist

[x] Shutdown Unity, deleted the /Library folder, opened project again in Unity, and problem still remains. (irrelevant)
[x] Checked to be using latest version of the package.

Suggested solution is to abuse the MSBuild Batching feature.
I successfully did a small sample in the jilleJr/Newstonsoft.Json-for-Unity.Converters repo to target multiple files after a build (https://github.com/jilleJr/Newtonsoft.Json-for-Unity.Converters/blob/880c3d350f1eb3832d553dd0003e245df5b1e520/Src/Newtonsoft.Json.UnityConverters.Tests/Newtonsoft.Json.UnityConverters.Tests.csproj).
I wonder if the same technique can be applied to force multiple builds of the same target framework, as the AOT, Standalone, and Editor builds all use .NET Standard 2.0.

Nah abusing the Platform targets seems much more appropriate.
There should be no harm in defining a platform for AOT, one for Standalone, one for Editor, etc.
Then rely on the "Batch Build" feature to build them all. Links:

MSDN: How to: Configure projects to target multiple platforms
MSDN: How to: Build multiple configurations simultaneously
StackOverflow: How do I specify the platform for MSBuild?

To fix the TargetFramework issue, maybe that could be resolved with having platform-specific target frameworks?
Something like:
<Project Sdk="Microsoft.NET.Sdk">

  <Choose>
    <When Condition="'$(Platform)'=='Tests'">
      <PropertyGroup>
        <TargetFramework>net46</TargetFramework>
      </PropertyGroup>
    </When>
    <When Condition="'$(Platform)'=='Portable'">
      <PropertyGroup>
        <TargetFramework>portable-net45+win8+wpa81+wp8</TargetFramework>
      </PropertyGroup>
    </When>
    <Otherwise>
      <PropertyGroup>
        <TargetFramework>netstandard2.0</TargetFramework>
      </PropertyGroup>
    </Otherwise>
  </Choose>

</Project>

(MSDN on the <Choose> element: https://docs.microsoft.com/en-us/visualstudio/msbuild/choose-element-msbuild?view=vs-2019)


Fix For Acars Config Button Not Showing Up Bug #919

PR fixes issue #919 ... Download Acars Config button will now be visible in user profile if VMSAcars is installed and enabled.

I think you need to redo this - there's a bunch of files deleted

I think you need to redo this - there's a bunch of files deleted

Yes, i mis clicked and pushed my old patch into this branch ... Will close and open a clean branch for the changes.

Yes, i mis clicked and pushed my old patch into this branch ... Will close and open a clean branch for the changes.


fix(versions): update Activiti/activiti-cloud-notifications-graphql versions into master

UpdateBot pushed maven dependency: org.activiti.cloud.notifications.graphql:activiti-cloud-notifications-graphql-dependencies to: 7.1.128

UpdateBot commands:
updatebot push-version --kind maven org.activiti.cloud.notifications.graphql:activiti-cloud-notifications-graphql-dependencies 7.1.128


Error while trying get thick client

Linux ass-srv 4.4.0-62-generic #83-Ubuntu x86_64 GNU/Linux
1c-enterprise83-client:i386  8.3.9-2309
ruby 2.3.1p112 (2016-04-26) [x86_64-linux-gnu]
ass_launcher: v0.3.1
user@ass-srv:~$ irb
irb(main):001:0> require 'ass_launcher'
=> true
irb(main):002:0> include AssLauncher::Api
=> Object
irb(main):003:0> thick_client = thicks('~> <IP_ADDRESS>').last
NoMethodError: undefined method `strip' for nil:NilClass
        from /var/lib/gems/2.3.0/gems/ass_launcher-0.3.1/lib/ass_launcher/support/linux.rb:39:in `version'
        from /var/lib/gems/2.3.0/gems/ass_launcher-0.3.1/lib/ass_launcher/support/linux.rb:60:in `get_pkg_version'
        from /var/lib/gems/2.3.0/gems/ass_launcher-0.3.1/lib/ass_launcher/enterprise/binary_wrapper.rb:59:in `extract_version'
        from /var/lib/gems/2.3.0/gems/ass_launcher-0.3.1/lib/ass_launcher/enterprise/binary_wrapper.rb:41:in `version'
        from /var/lib/gems/2.3.0/gems/ass_launcher-0.3.1/lib/ass_launcher/enterprise.rb:80:in `requiremet?'
        from /var/lib/gems/2.3.0/gems/ass_launcher-0.3.1/lib/ass_launcher/enterprise.rb:101:in `block in thick_clients'
        from /var/lib/gems/2.3.0/gems/ass_launcher-0.3.1/lib/ass_launcher/enterprise.rb:100:in `map'
        from /var/lib/gems/2.3.0/gems/ass_launcher-0.3.1/lib/ass_launcher/enterprise.rb:100:in `thick_clients'
        from /var/lib/gems/2.3.0/gems/ass_launcher-0.3.1/lib/ass_launcher/api.rb:14:in `thicks'
        from (irb):3
        from /usr/bin/irb:11:in `<main>'

In Linux ass_launcher searches 1C binaries in /opt and tries to detect of version  them via dpkg or rpm output. But it can work incorrectly in different Linux distributives.
In this case ass_launcer falls while parsing output of command:
`apt-cache policy #{pkg} | grep -i installed:`

where pkg is a name of 1C deb package.
I hav't Ubuntu now. Please execute and atache otput for commants:

get deb name:
$dpkg -S path/to/1c/binary

using deb name geted in previws command:
$apt-cache policy 1c_deb_name

Thanks.

user@ass-srv:~$ ass-launcher env
1C:Enterprise installations was searching in:
 - /opt/1C
 - /opt/1c
Thick client installations:
/var/lib/gems/2.3.0/gems/ass_launcher-0.3.1/lib/ass_launcher/support/linux.rb:39:in `version': undefined method `strip' for nil:NilClass (NoMethodError)
        from /var/lib/gems/2.3.0/gems/ass_launcher-0.3.1/lib/ass_launcher/support/linux.rb:60:in `get_pkg_version'
        from /var/lib/gems/2.3.0/gems/ass_launcher-0.3.1/lib/ass_launcher/enterprise/binary_wrapper.rb:59:in `extract_version'
        from /var/lib/gems/2.3.0/gems/ass_launcher-0.3.1/lib/ass_launcher/enterprise/binary_wrapper.rb:41:in `version'
        from /var/lib/gems/2.3.0/gems/ass_launcher-0.3.1/lib/ass_launcher/enterprise.rb:80:in `requiremet?'
        from /var/lib/gems/2.3.0/gems/ass_launcher-0.3.1/lib/ass_launcher/enterprise.rb:101:in `block in thick_clients'
        from /var/lib/gems/2.3.0/gems/ass_launcher-0.3.1/lib/ass_launcher/enterprise.rb:100:in `map'
        from /var/lib/gems/2.3.0/gems/ass_launcher-0.3.1/lib/ass_launcher/enterprise.rb:100:in `thick_clients'
        from /var/lib/gems/2.3.0/gems/ass_launcher-0.3.1/lib/ass_launcher/api.rb:14:in `thicks'
        from /var/lib/gems/2.3.0/gems/ass_launcher-0.3.1/lib/ass_launcher/cmd.rb:885:in `execute'
        from /var/lib/gems/2.3.0/gems/clamp-1.1.2/lib/clamp/command.rb:63:in `run'
        from /var/lib/gems/2.3.0/gems/clamp-1.1.2/lib/clamp/subcommand/execution.rb:11:in `execute'
        from /var/lib/gems/2.3.0/gems/clamp-1.1.2/lib/clamp/command.rb:63:in `run'
        from /var/lib/gems/2.3.0/gems/clamp-1.1.2/lib/clamp/command.rb:132:in `run'
        from /var/lib/gems/2.3.0/gems/ass_launcher-0.3.1/exe/ass-launcher:6:in `<top (required)>'
        from /usr/local/bin/ass-launcher:23:in `load'
        from /usr/local/bin/ass-launcher:23:in `<main>'

user@ass-srv:~$ dpkg -S /opt/1C/v8.3/i386/1cv8
1c-enterprise83-client:i386: /opt/1C/v8.3/i386/1cv8

user@ass-srv:~$ apt-cache policy 1c-enterprise83-client:i386
1c-enterprise83-client:i386:
  Установлен: 8.3.9-2309
  Кандидат:   8.3.9-2309
  Таблица версий:
 *** 8.3.9-2309 100
        100 /var/lib/dpkg/status

user@ass-srv:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 16.04.2 LTS
Release:        16.04
Codename:       xenial

I think trouble with locale.
You grep keyword  installed:, but in my locale it's Установлен:.
Maybe better use dpkg -s <pkg_name>. It has the same out in different locales.
i.e. in my Ubuntu:
user@ass-srv:~$ dpkg -s 1c-enterprise83-client:i386
Package: 1c-enterprise83-client
Status: install ok installed
Section: commercial
Installed-Size: 382012
Maintainer: 1C<EMAIL_ADDRESS>Architecture: i386
Version: 8.3.9-2309
Depends: 1c-enterprise83-common (= 8.3.9-2309), 1c-enterprise83-server (= 8.3.9-2309), libwebkitgtk-1.0-0 (>= 1.2.5)
Description: 1C:Enterprise 8.3 client applications

You can just use:
`dpkg -s #{pkg} | grep -i Version:`

It's out:
Version: 8.3.9-2309


ma version

Description
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Fixes # (issue)
Type of change
Please delete options that are not relevant.

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

Make your own repo by forking it and don't expect these changes to go live.

SLAPPED WITH THE FISH 🤣🤣


This repo is missing web site

hello guyzzzz

heyy guys

open source

Add your comment here...........

Add your comment here...........

haha


How to translate HTML content?

Hello,
I wonder if there is a way to translate content with html?
Here is a sample:

We are IOTERM
INTERNET OF THINGS (IOT)
Solutions Company.

Is there a way to add this whole inner html as a key?
$translateProvider.translations('en', {
         'MOTTO': 'We are IOTERM
INTERNET OF THINGS (IOT)
Solutions Company.',

Best Regards.

No, it isn't. You cannot rely on the markup on every environment (say: browser). Stay with a key and a value, latter can be html of course.


Fix cmake binary url on travis

Looks like wget is the same as curl as far as following redirects by default :P

>>> r = requests.get('http://psg.mtu.edu/pub/apache/spark/spark-1.3.1/spark-1.3.1-bin-hadoop2.4.tgz', allow_redirects=False)
>>> r.status_code
302
>>> r.text
u'<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">\n\n<title>302 Found</title>\n\n
Found
\n
The document has moved here.
\n\n'
>>> r.headers
{'date': 'Wed, 23 Sep 2015 14:36:39 GMT', 'content-length': '212', 'content-type': 'text/html; charset=iso-8859-1', 'location': 'http://psg.mtu.edu/fail.html', 'server': 'Apache'}

The spark download is also failing now.  When it rains, it pours.  Maybe a temporary failure.  But +1 on the failure image there.

Heh, just noticed the "fail.html". Guess we can try again later.

I updated the spark download location on this as well.  The new url is hosted by apache and so is probably more official.

Does anyone want to give this a +1?

Lgtm


VSCode keeps crashing

My VSCode keeps crashing with a code 5 error. It started happening last week after I upgraded to the lasted mac OS Monterey, but today it won't stay open at all. It is literally unusable. If I reopen the window it opens where I left off, but the moment I try to edit anything it crashes again.

Does the issue happen when you run with --disable-extensions


Scope rules are not obeyed

Hello!
job-conf.rst lacks info about scope rules so I did my best to try to define them in my job.yml:
id: myjob
time_limit: 60 # seconds
scope:
  surt: http://(com,site,www,)/wanted-path
seeds:
  - url: https://www.site.com

If I understand correctly, brozzler should find all links i.e. https://www.site.com/wanted-path/extra and crawl only links with wanted-path in them. Is this correct?
The problem I have is that Brozzler crawls all links i.e. https://www.site.com/other-path, but I don't want that. Is the problem with my config or does brozzler ignore path of provided surt?

Hmm.
This happens when the seed url from the location bar of the browser doesn't match the original seed url:
        new_scope_surt = brozzler.site_surt_canon(url).surt().decode("ascii")
        if not new_scope_surt.startswith(self.scope["surt"]):
            self.logger.info("changing site scope surt from {} to {}".format(
                self.scope["surt"], new_scope_surt))
            self.scope["surt"] = new_scope_surt

So if https://www.site.com doesn't redirect to a truly different url, you can probably make it work the way you want by adding the trailing slash (https://www.site.com/).
It strikes me as odd to have your seed url be outside the specified scope though. Seed and scope handling is not designed with that use case in mind. Can you not use http://www.site.com/wanted-path as your seed?

Thank you, I have managed to get it working to get the first batch of accepted outlinks. Now I just have to figure it out why I get the timeout and then brozzler only puts these outlinks on the queue and doesn't start to crawl the outlinks.

Is there a way to try to restart a finished job that has queued pages?

Not a super easy way at the moment. There is a function brozzler.RethinkDbFrontier.resume_job which helps, but you need to get into python land to use it. Moreover, you'll need to change time limits (or whatever caused the crawl to stop) in rethinkdb first, or the job will immediately finish again.
We actually do this in archive-it. But right now the code that does it is tightly coupled with archive-it code. It might well be worth writing a brozzler-resume-crawl utility.
P.S. to avoid confusion, we term this "resuming" as opposed to be "restarting" (which could be interpreted as starting the crawl over from scratch)

a little OFF:
What do I need to be able to run and pass all the tests?
I want to try to implement brozzler-resume-crawl cli command and first I want all tests to pass.
I run brozzler-easy and I wonder if this is all I need to run tests? A lot of tests fail in lines where stop_service('brozzler-worker') is called.
Do you have any advice?

Try ./vagrant/run-tests.sh (you'll need vagrant).
test_cluster.py is the only set of tests that needs the whole vagrant vm up and running. With just rethinkdb running on localhost and default ports, you should be able to run the other tests.
py.test -v tests/test_units.py tests/test_frontier.py tests/test_cli.py tests/test_brozzling.py

So, I've installed Vagrant and Ansible, but when I run vagrant provision, I get this error:
TASK [brozzler-worker : install brozzler in virtualenv] ************************
fatal: [<IP_ADDRESS>]: FAILED! => {"changed": false, "cmd": "/opt/brozzler-ve34/bin/pip install --exists-action=w --upgrade --pre --cache-dir=/tmp/pip-cache -e git+https://github.com/internetarchive/brozzler.git#egg=brozzler", "failed": true, "msg": "stdout: Obtaining brozzler from git+https://github.com/internetarchive/brozzler.git#egg=brozzler\n  Updating /opt/brozzler-ve34/src/brozzler clone\nCollecting PyYAML (from brozzler)\n  Using cached PyYAML-3.12.tar.gz\nCollecting youtube-dl (from brozzler)\n  Using cached youtube_dl-2017.5.9-py2.py3-none-any.whl\nCollecting reppy==0.3.4 (from brozzler)\n  Using cached reppy-0.3.4.tar.gz\nCollecting requests (from brozzler)\n  Using cached requests-2.14.1-py2.py3-none-any.whl\nCollecting websocket-client!=0.39.0 (from brozzler)\n  Using cached websocket_client-0.40.0.tar.gz\nCollecting pillow==3.3.0 (from brozzler)\n  Using cached Pillow-3.3.0-cp34-cp34m-manylinux1_x86_64.whl\nRequirement already up-to-date: urlcanon>=0.1.dev16 in /opt/brozzler-ve34/lib/python3.4/site-packages (from brozzler)\nRequirement already up-to-date: doublethink>=0.2.0.dev71 in /opt/brozzler-ve34/lib/python3.4/site-packages (from brozzler)\nRequirement already up-to-date: rethinkdb<2.4,>=2.3 in /opt/brozzler-ve34/lib/python3.4/site-packages (from brozzler)\nCollecting cerberus==1.0.1 (from brozzler)\n  Using cached Cerberus-1.0.1.tar.gz\nCollecting jinja2 (from brozzler)\n  Using cached Jinja2-2.9.6-py2.py3-none-any.whl\nCollecting python-dateutil!=2.0,>=1.5 (from reppy==0.3.4->brozzler)\n  Using cached python_dateutil-2.6.0-py2.py3-none-any.whl\nCollecting url<0.2.0 (from reppy==0.3.4->brozzler)\n  Using cached url-0.1.7.tar.gz\nRequirement already up-to-date: six in /opt/brozzler-ve34/lib/python3.4/site-packages (from websocket-client!=0.39.0->brozzler)\nRequirement already up-to-date: idna in /opt/brozzler-ve34/lib/python3.4/site-packages (from urlcanon>=0.1.dev16->brozzler)\nCollecting MarkupSafe>=0.23 (from jinja2->brozzler)\n  Using cached MarkupSafe-1.0.tar.gz\nCollecting publicsuffix (from url<0.2.0->reppy==0.3.4->brozzler)\n  Using cached publicsuffix-1.1.0.tar.gz\n    Complete output from command python setup.py egg_info:\n    Traceback (most recent call last):\n      File \"<string>\", line 1, in <module>\n      File \"/tmp/pip-build-4k25adjq/publicsuffix/setup.py\", line 19, in <module>\n        long_description=get_long_description(),\n      File \"/tmp/pip-build-4k25adjq/publicsuffix/setup.py\", line 13, in get_long_description\n        read_doc(\"LICENSE\")\n      File \"/tmp/pip-build-4k25adjq/publicsuffix/setup.py\", line 7, in read_doc\n        return open(os.path.join(os.path.dirname(__file__), name)).read()\n      File \"/opt/brozzler-ve34/lib/python3.4/encodings/ascii.py\", line 26, in decode\n        return codecs.ascii_decode(input, self.errors)[0]\n    UnicodeDecodeError: 'ascii' codec can't decode byte 0xc5 in position 23: ordinal not in range(128)\n    \n    ----------------------------------------\n\n:stderr: Command \"python setup.py egg_info\" failed with error code 1 in /tmp/pip-build-4k25adjq/publicsuffix/\n"}
	to retry, use: --limit @/home/primoz/projects/dmt/brozzler/ansible/playbook.retry

PLAY RECAP *********************************************************************
<IP_ADDRESS>                   : ok=36   changed=2    unreachable=0    failed=1

which is weird because if I try to manually install publicsuffix with pip it works.
Any advice how to proceed?

Ugh, I've seen this kind of thing in other contexts, 3rd party packages that only install correctly in a utf-8 locale.
Inside your vagrant vm, maybe check what /etc/default/locale says? Here's mine:
# Created by cloud-init v. 0.7.5 on Mon, 17 Apr 2017 20:46:11 +0000
LANG="en_US.UTF-8"

Closing due to idleness. Feel free to reopen or file a new issue with more info.


Feat: ReFL training with StableDiffusionXL

Hi,
Thank you for sharing your amazing work! As mentioned in issue #77, I have implemented ReFL training with StableDiffusionXL.
Please note the following:
The implementation requires diffusers==0.26.0 which needs a separate requirements file for the necessary dependencies.
I would be glad to hear if any further changes are needed.

Thank you very much for your cooperation!

"Hero! Could you also add the training of Flux with ReFL?"


Add details in kubeadm-reconfigure.md for etcd

The kubeadm init phase doesn't permit to reconfigure the etcd yaml manifest (when etcd is in local mode)
Adding a little more infos and the right command when etcd needs to be reconfigured

Thanks for the suggestions, I added them and squashed the commit as requested


bugfix: query misspelled as quit

有一处误拼写错误。

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


Return bad request if blobName length reach out to db limit

Codecov Report
Patch coverage has no change and project coverage change: -5.55 :warning:

Comparison is base (659d1e6) 72.81% compared to head (9197439) 67.26%.

Additional details and impacted files
@@             Coverage Diff              @@
##             master    #2507      +/-   ##
============================================
- Coverage     72.81%   67.26%   -5.55%
+ Complexity    11161    10367     -794
============================================
  Files           790      790
  Lines         63095    63098       +3
  Branches       7710     7711       +1
============================================
- Hits          45940    42443    -3497
- Misses        14640    18179    +3539
+ Partials       2515     2476      -39

Impacted Files
Coverage Δ

.../java/com/github/ambry/frontend/NamedBlobPath.java
84.84% <0.00%> (-8.49%)
:arrow_down:

... and 169 files with indirect coverage changes

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


[20.03] nixos/acme: adjust renewal timer options

Motivation for this change
Backport of the essential part of #80856.
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[ ] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[x] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

@worldofpeace Are you OK with pulling this into 20.03 release?

A cross mention I was ok with this https://github.com/NixOS/nixpkgs/pull/80856#issuecomment-593093446.
CC @disassembler


feat!: remove SharedImmutable

Working on https://github.com/AztecProtocol/aztec-packages/pull/10164 made me realize that this state variable is now useless: it is the exact same as PublicImmutable except it also has getters for private execution contexts. I deleted it entirely in favor of PublicImmutable, which should be less surprising for a library user. After all, reading publicly known immutable values during private execution is fine.
I updated the docs and tests accordingly, mostly keeping the shared immut versions as those were more complete.

cc @critesjosh

Docs Preview
Hey there! 👋 You can check your preview at https://6744b191a120562fe94c99a7--aztec-docs-dev.netlify.app


why？when I copy a New Project

Checklist

[ ] This is not a Apple's bug.
[ ] Reviewed the README and documents.
[ ] Searched existing issues for ensure not duplicated.

Expected Behavior

Current Behavior

Steps to Reproduce

Detailed Description (Include Screenshots)

Reproducible Demo Project

Environments

Carbon version:

Swift version:

iOS version:

Xcode version:

Devices/Simulators:

CocoaPods/Carthage version:

Hi, @ZW19920614
I can't guarantee that Carbon works correctly when you modify the source code.
Recommend to install Carbon according to installation in README.
https://github.com/ra1028/Carbon#installation


Migrate to aws-eks-blueprints v5.

Fix load-balancer installation and close #32 issue.
Upgrade mendix operator version to v2.13.0.
Upgrade aws vpc module.

Looks good to me - and including Prometheus configs into the blueprint should make things more stable 👍


Resource to add: https://usethekeyboard.com/

URL: https://usethekeyboard.com/
Message: Possible category: Tools
This issue was automatically generated from the website.

Added.


[Popper] Typing and documentation

PR following the Popper discussion in #12211.
Things to clarify as I am not sure how to handle these :

[x] Using the ReferenceObject type from the popper.js library (packages/material-ui/src/Popper/Popper.d.ts@22 )
[x] Reference the same type in the documentation through the commit hash (docs/src/pages/utils/popper/popper.md@16).

Closes #12211

@dispix Awesome work! The only import point I have changed is around the scroll handling. I have updated the logic reposition.

Thanks for all the feedbacks and the quick merge ! Hope I'll be able to help again in the future :)

Anytime you want :)


Dialogs in ASP.NET Core 2.0

SDK Platform: .NET Core
SDK Version: 3.14.0

Can't find how to make dialogs flow in .NET Core SDK. Looks into source files and didn't find where in conversations I can put dialog. It will be good if you extend samples and add more difficult samples for ASP.NET Core

Will you support it later?

Not in V3, however V4 is .Net Core and will/does. @L0ndra https://github.com/Microsoft/BotBuilder-dotnet


missing dependancy for ome_tiff_reader.py?

Hi @davehorsfall,
I think there's one missing dep file here.
Is it this one from vitessce?

Thanks @BioinfoTongLI, I had accidentally dropped that file in the init commit because it was commented out. I've only just picked this issue up, but the tile_zarr_base helper file was added yesterday in fd67cd4131841c22a557527f4e8c0f692e3ba7db.


download word broken on windows?

USING: http.client checksums.md5 checksums io.directories ;
"resource:" [
    5 [
        "http://downloads.factorcode.org/images/latest/boot.windows-x86.64.image" download
        "resource:boot.windows-x86.64.image" [ md5 checksum-file hex-string . ] [ file-info size>> . ] bi
    ] times
] with-directory

! MacOSX and linux:
"fde1d1115d5fb65f3db4cf9d875a0b9e"
4115232
"fde1d1115d5fb65f3db4cf9d875a0b9e"
4115232
"fde1d1115d5fb65f3db4cf9d875a0b9e"
4115232
"fde1d1115d5fb65f3db4cf9d875a0b9e"
4115232
"fde1d1115d5fb65f3db4cf9d875a0b9e"
4115232

! Windows:

"278936bd0679ade3d438624626df8342"
4105284
"025f77a351b5cbef6af2f9b8104972ea"
4111124
"53847b260f3199eaa18efc6f3b7590d7"
4112584
"fde1d1115d5fb65f3db4cf9d875a0b9e"
4115232
"28b3334f04bbb1de2a97226c35197f18"
4106744

Something to do with Rackspace's Windows boxes. Closing for now.


Add pause command

Especially with how long busts are getting, it might be a good idea to add a !pause and !resume command so we can implement a break

The original purpose for this was to implement an intermission, but today we do this using audio submissions from busters. A further improvement would likely involve reordering the list of songs to insert that intermission submission in the middle, rather than using !pause and !resume commands.
It's also often unlikely that we'll see songs long enough for us to need to take a break in the middle of them. And if we want to stop in the middle of a bust for any reason, we'll likely start from the beginning of a song again. In which case we can use a combination of !stop and !bust <song number>.
So let's close this for now. We can re-open if we end up finding a use case.


Romanian locale

I created the properties file and JUnit test for the Romanian locale.
Taking into account that the 'between' expression in Romanian is different for the days of the week, I had to introduce a new property in all the locales.

This is awesome! Thanks for this :+1: :)


Error in the text on FreeCodeCamp..!?

Please pay attention on the red box I selected it on the picture ,,
inside the text you wrote it already it should including the word "true" in the  quotes,,?
Greetings, Hasan
https://www.freecodecamp.com/challenges/disable-an-element-using-jquery

@hasanshahoud:
Hi Hasan,
Thanks for reporting, first of all the challenge link you mentioned above is different than that of the screenshot. I think you are referring to https://www.freecodecamp.com/challenges/disable-an-element-using-jquery in the screenshot.
Also the code is there because you might have accidentaly visited someone else's link or maybe you have already attempted the challenge earlier, due to which the code is saved in your local browser cache.
A simple Reset (Button below the Run Tests) and refresh should clean the code.
Happy coding.

@raisedadead
that's right the link was wrong and I edited now ..thanks
and you can try yourself and push the button it does't work , i tried before..
and hope they fix it soon..

Do you mean the "reset" button does not work or the "run tests" don't work?


Fixed build error and warnings when building VTA_TSIM with TVM

When building VTA_TSIM from TVM, an error occurred, which was fixed by changing the signature of DPIModule (src/dpi/module.cc) from std::string to tvm::runtime::String. Additionally, override statements were added to DPIModule methods which override virtual methods of DPIModuleNode (src/dpi/module.h) to get rid of warnings when building VTA_TSIM.

Good catch, and looks like this was introduced by https://github.com/apache/tvm/pull/14902 may in May.

Unfortunately, I don't have commit privs for the tvm-vta repo, but I've reached out to ask on it.


Yelp4 han

Add Yelp2014 for HAN. @achyudhk  please Review. Thanks.

@Ashutosh-Adhikari you were supposed to push this to karkaroff/Castor, not here.

I'm sorry, it was a mistake. I closed the pull request. Thanks!


Possibly use "due date" field in comment

if there, use, if not, fall back to application wide due date

doing it now


Improved Websocket support for Latency

Issue

Performing Latency calculations are a challenge.
Websocket reconnect so users don't need to redefine their events handlers in their code
Websocket native keep alive when it's been 10s or more since data/message

Acceptance Criteria

Send-queue for all messages on websocket, so connection drops don't kill transcription - include resend opening packet/headers

@lukeocodes


Crash when try to push

Before opening, please confirm:

[X] I have installed the latest version of the Amplify CLI (see above), and confirmed that the issue still persists.
[X] I have searched for duplicate or closed issues.
[X] I have read the guide for submitting bug reports.
[X] I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.

How did you install the Amplify CLI?
npm
If applicable, what version of Node.js are you using?
12
Amplify CLI Version
5.0.2
What operating system are you using?
Mac
Amplify Categories
Not applicable
Amplify Commands
push
Describe the bug
When I try to use amplify push after answering the question yes I will see sometimes the following error:

⠸ Uploading files...✖ An error occurred when pushing the resources to the cloud
Inaccessible host: amplify-cimplycitywebapp-staging-62032-deployment.s3.amazonaws.com'. This service may not be available in the us-east-1' region.
An error occurred during the push operation: Inaccessible host: amplify-cimplycitywebapp-staging-62032-deployment.s3.amazonaws.com'. This service may not be available in the us-east-1' region.
⠸ Uploading files...^Aborted!

Then it will leave deployment-state.json file in my S3 bucket and the bucket is there.
Also, it would cause crash other apps like Microsoft Teams and Chrome and would disconnect the internet.
I really don't think it is a bug in those apps or my mac. I tested my machine and my internet connection. If I don't run amplify push --y it won't crash or close any of those programs.
Expected behavior
Error handling.
Reproduction steps
Maybe not possible in your side. But I use the latest mac mini with new macOS big Sue 11.4 on new CPUs.
GraphQL schema(s)
No response
Log output
No response
Additional information
appId: dl91s1m9oit3p
region: us-east-1

I tested with my windows machine too, it is almost 30 minutes that it shows Uploading files... but nothing happen afterwards.

After several failed tries, I could finally push via my Windows machine.

@mjza, how large is the zip of your #current-cloud-backend directory? And do you have any large lambda functions? (You can check the size of the latest-build.zip file in the function dist directory).

Where can I find that dist folder?

@edwardfoyle Anyway just for your information: I updated the amplify and now on the mac also when I try to push it does not disconnect the Internet.

@mjza are you saying that the problem is resolved now? Is it possible you had a bad Internet connection when you were experiencing problems?

@cjihrig I am sure it was not internet connection, I even disconnected my Wifi and used LAN. I used the same provider on two machines and I am sure the internet was there. Just when I ran the amplify push it disconnect my internet on my mac.
Yes the problem resolved by installing the version 5.1.0.


Readme, sparse, rename

Cool extension, are you okay with holding off on this one for a bit. I like your composition idea but want to give it some more thought.
If you wanted you could also refactor that isinstance call into a singledispatch method to beautify that method.

LGTM, merging


Issues with Steam Remote Play Together

Steam Remote Play Together "Input is temporarily disabled while the host is busy" Why is this displaying when attempting to play with a friend? I've tried different friends but the same. I'm using Godot, with GodotSteam addon. I can send invites, but once the two players connect it shows this error.

Hey there.  Just doing a sweep on the Github issues; any more information on this?

Hi. Sorry about the delay, and thanks for getting back to me. I've had to address a couple other things in the game but hoping to give this a bit more dedicated attention in the next couple of weeks. I'll report back anything that I find. In the meantime, I'll try to contact Steam to see if there is anything at the back end not setup. As far as I can see in the admin, it should be allowing remote play.

Understandable.  Figured I would check it and clean up some issues.  Keep me posted!

Hey, just checking back in!

Hi. Just came back to give an update. I just managed to get remote play working for the first time. However, this was when I hit play button in the Godot editor (GodotSteam compiled version) then invite a friend to play. I do get the "Input .. host is busy" message as before but the background is the game, not a grey pattern background as in my previous post screenshot shared with you. Then if I Esc from the Steam game in-line options on the host, the message disappears and I can see the game on both screens and proceed to have a game. Does depend upon a good internet connection but that was to be expected. Unfortunately, when I upload my build to Steam, and try to do the same thing I see the exact same screen as previously shared and even when I Esc out the inline Steam options, the message doesn't go away on the guest. Would there be any difference regarding this with the game running in the editor and the exported files that are uploaded to Steam? I'm wondering if the build requires steam_appid.txt file too, although in your docs it says to exclude it. That's the only thing that's different I can think of within my control. Does this shine any light on the issue for you? Thanks

Hmm, that is mighty strange.  In theory, there shouldn't be any difference in how they act; running it from editor or from within the Steam client.  At least functionally.  That steam_appid.txt just lets the Steam client know what external program / app is running, since it already knows when you run it from the Steam client.  While you can include it when uploading to Steam, it won't actually do anything.  It may override what Steam thinks is running if you put a different app ID in there, but I've never tested it.
Surely there are some folks who have gotten Remote Play working so I can ask around.  I've not messed with it at all myself, but am curious as to what the issue could be.
I will check into it more today once I finish the current animations I'm working on.  See what I can dig up!

Sorry for the late reply!  However, I didn't find anything too interesting.  I'll see if I can try to test this out somehow.

Hi. I've a feeling that it is working, but I haven't had the chance to test it. Just been busy with other things since the game was launched. There was a short period where I didn't have the correct template and you helped out there (thanks). Also, network issues and possibly even just not shutting down the in-game menus might have been the reason for the problems. I'll try and test it out tomorrow and get back to you. Thanks for keeping in touch on this. Everything else with the plugin is working great.

Sounds good and understandable.  Also, congrats on the launch!  Glad to hear everything else is working.  Do keep me posted.

Hi. Remote Play together worked fine when tested today. Really I don't know what the issue was before. The game wasn't at the time live, or perhaps that I was missing the GodotSteam templates for a little while. Anyway, all is well. Thanks for getting back to me so French and keeping an eye on this post.

Hey there!  Glad to hear it is resolved.  Who knows what the issue really was.  I am hoping to put out more tutorials on the missing classes next year; this will be on of them.  Maybe I'll find out
Welcome and thanks for keeping me posted on the issue.


Create migration guide for updating to the next release

This will cover at minimum:

The new Tailwind config plugin path (slightly changed)
The new CSS stylesheets importing - recommending all.css for now
Explain Tailwind Elements vs Svelte Components
Explain what components were converted to Tailwind Elements
Cover the new "kitchen sink" pages for typography/forms.
List migration best practices (find/replace, search caps, etc)
Notify that the deprecated components will be removed next release, to migrate asap!

https://github.com/Brain-Bones/skeleton/discussions/250
The first draft is available here. I welcome any an all feedback for improving this!
@niktek

Released!


Initialize Weights in Embedding

Hello folks ---
Yet again, thanks for the wonderful software and support. I'm trying to use word embeddings for a text classification task. To this point I've just used the vanilla Word2Vec pre-trained vectors.
If I wanted to train my own, but initialize them with the Word2Vec values, how can I do that? In other words, how can I provide initial values for the embedding only, and not for the rest of the network?
Thanks!

Maybe you can find how to do that in the example of cnn-text-classification.
https://github.com/dmlc/mxnet/tree/master/example/cnn_text_classification

Thanks, linmx0130. I've been using that example all along, but I just don't see where they initialize the embeddings. (They seem to initialize weights using mx.init.Uniform(0.01).
I was hoping to find out how to set the initial values for this one particular part of the model. (i.e., initialize the weights to the word2vec values). Do you know if that's possible?

The lookup tabel seems different to other part of the network. In the example the embeddings are used as the input of the network, but not a real part of the network. You can find more details in data_helpers.py. But if you want to set the initial values for other particualr part of the model, I think you'd better try to hack the initializer.


Document native dom properties that are problematic to override

e.g. appendChild, removeChild, and various native properties...

Closing this issue due to age and the release of version 1 release of Polymer - please feel free to re-open if this is incorrect.


Update minimum Ruby to 2.7

This PR includes changes to CI so we now only use Ruby 2.7:

The CI image is now based on CentOS 8 and includes just Ruby 2.7.
The tested versions of Redis and PostgreSQL have been updated to the versions shipping on RHEL 8.
The pg gem needed an upgrade and a minimal code change.

Ruby 3.0 requires further changes in dependencies that check for 2.X versions of Ruby.
Pending:

[x] ~Update the release image.~ Already done by David.

As a side note:
The CI image cannot be converted to CentOS Stream because no such container image is published, and UBI8 which is touted as the ideal RHEL for CI container image just... won't... install... bison and similarly ultra-basic packages for development. :/
This is part of the work needed for #303.

bors r+


Installation tracking blocks UI thread

Description/Reproduction
When initializing a game installation using Playnite, via the Xbox integration for example, the ui freezes every few seconds until the installation is finished. It shows, for example, when scrolling through the games list. Also happens with other integrations, but it is especially noticable with Xbox games.
I also tried it in safemode to rule out this being an issue with some extension.
Diagnostics ID
1fa74f83-526b-4ee0-adf7-25603fe9adc3
Screenshots

Moved to a different repository, this has to be fixed in each integration separately.

Fixed in master.


Cannot Connect to Application

Moved to a new system and copied everything with rsync.
Now the docker starts and everything seems to be fine. But I cannot access the web interface. It always says 502.
Just tried to delete everything and run it, still the same. The Docker does not need any env besides port, network access and the data folder or?
Log is attached:
26.09.2023
11:24:37
Initialising...
26.09.2023
11:24:37
Environment: undefined
26.09.2023
11:24:37
Running as user undefined
26.09.2023
11:24:37
AppRoot: /usr/local/share/twitchautomator
26.09.2023
11:24:37
DataRoot: /usr/local/share/twitchautomator/data
26.09.2023
11:24:37
Setting debug to false
26.09.2023
11:24:37
Client is built: /usr/local/share/twitchautomator/client-vue/dist/index.html
26.09.2023
11:24:37
Chat dumper is built: /usr/local/share/twitchautomator/twitch-chat-dumper/build/index.js
26.09.2023
11:24:37
Folder '/usr/local/share/twitchautomator/public' does not exist, creating.
26.09.2023
11:24:37
Created folder: /usr/local/share/twitchautomator/public
26.09.2023
11:24:37
Data folder '/usr/local/share/twitchautomator/data/logs/software' does not exist, creating.
26.09.2023
11:24:37
Created data folder: /usr/local/share/twitchautomator/data/logs/software
26.09.2023
11:24:37
Data folder '/usr/local/share/twitchautomator/data/payloads' does not exist, creating.
26.09.2023
11:24:37
Created data folder: /usr/local/share/twitchautomator/data/payloads
26.09.2023
11:24:37
Data folder '/usr/local/share/twitchautomator/data/backup' does not exist, creating.
26.09.2023
11:24:37
Created data folder: /usr/local/share/twitchautomator/data/backup
26.09.2023
11:24:37
Cache folder '/usr/local/share/twitchautomator/data/cache' does not exist, creating.
26.09.2023
11:24:37
Created cache folder: /usr/local/share/twitchautomator/data/cache
26.09.2023
11:24:37
Cache folder '/usr/local/share/twitchautomator/data/cache/cron' does not exist, creating.
26.09.2023
11:24:37
Created cache folder: /usr/local/share/twitchautomator/data/cache/cron
26.09.2023
11:24:37
Cache folder '/usr/local/share/twitchautomator/data/cache/pids' does not exist, creating.
26.09.2023
11:24:37
Created cache folder: /usr/local/share/twitchautomator/data/cache/pids
26.09.2023
11:24:37
Cache folder '/usr/local/share/twitchautomator/data/cache/playlist' does not exist, creating.
26.09.2023
11:24:37
Created cache folder: /usr/local/share/twitchautomator/data/cache/playlist
26.09.2023
11:24:37
Cache folder '/usr/local/share/twitchautomator/data/cache/kv' does not exist, creating.
26.09.2023
11:24:37
Created cache folder: /usr/local/share/twitchautomator/data/cache/kv
26.09.2023
11:24:37
Cache folder '/usr/local/share/twitchautomator/data/cache/history' does not exist, creating.
26.09.2023
11:24:37
Created cache folder: /usr/local/share/twitchautomator/data/cache/history
26.09.2023
11:24:37
Cache folder '/usr/local/share/twitchautomator/data/cache/dotnet' does not exist, creating.
26.09.2023
11:24:37
Created cache folder: /usr/local/share/twitchautomator/data/cache/dotnet
26.09.2023
11:24:37
Cache folder '/usr/local/share/twitchautomator/data/cache/capture' does not exist, creating.
26.09.2023
11:24:37
Created cache folder: /usr/local/share/twitchautomator/data/cache/capture
26.09.2023
11:24:37
Cache folder '/usr/local/share/twitchautomator/data/cache/public' does not exist, creating.
26.09.2023
11:24:37
Created cache folder: /usr/local/share/twitchautomator/data/cache/public
26.09.2023
11:24:37
Cache folder '/usr/local/share/twitchautomator/data/cache/public/avatars' does not exist, creating.
26.09.2023
11:24:37
Created cache folder: /usr/local/share/twitchautomator/data/cache/public/avatars
26.09.2023
11:24:37
Cache folder '/usr/local/share/twitchautomator/data/cache/public/banners' does not exist, creating.
26.09.2023
11:24:37
Created cache folder: /usr/local/share/twitchautomator/data/cache/public/banners
26.09.2023
11:24:37
Cache folder '/usr/local/share/twitchautomator/data/cache/public/thumbs' does not exist, creating.
26.09.2023
11:24:37
Created cache folder: /usr/local/share/twitchautomator/data/cache/public/thumbs
26.09.2023
11:24:37
Cache folder '/usr/local/share/twitchautomator/data/cache/public/covers' does not exist, creating.
26.09.2023
11:24:37
Created cache folder: /usr/local/share/twitchautomator/data/cache/public/covers
26.09.2023
11:24:37
Loading key-value pairs...
26.09.2023
11:24:37
No key-value pairs found in storage.
26.09.2023
11:24:37
Migrating key-value pairs...
26.09.2023
11:24:37
No key-value pairs found to migrate.
26.09.2023
11:24:37
2023-09-26T09:24:37.173Z | keyvalue.cleanWildcard <warn> No keys deleted for wildcard tw.eventsub.*
26.09.2023
11:24:37
Loading config...
26.09.2023
11:24:37
✔ 85 settings loaded.
26.09.2023
11:24:37
2023-09-26T09:24:37.176Z | config.cfg <warn> Setting 'bin_path_python' does not exist.
26.09.2023
11:24:37
Setting 'bin_path_python' does not exist.
26.09.2023
11:24:37
Overriding setting 'BIN_PATH_PYTHON' with environment variable: '/usr/bin/python'
26.09.2023
11:24:37
Overriding setting 'NODE_PATH' with environment variable: '/usr/local/bin/node'
26.09.2023
11:24:37
Overriding setting 'BIN_DIR' with environment variable: '/usr/local/bin'
26.09.2023
11:24:37
2023-09-26T09:24:37.183Z | config.cfg <warn> Setting 'bin_path_python3' does not exist.
26.09.2023
11:24:37
Setting 'bin_path_python3' does not exist.
26.09.2023
11:24:37
Overriding setting 'BIN_PATH_PYTHON3' with environment variable: '/usr/bin/python3'
26.09.2023
11:24:37
Overriding setting 'SERVER_PORT' with environment variable: '8080'
26.09.2023
11:24:37
Overriding setting 'MEDIAINFO_PATH' with environment variable: '/usr/bin/mediainfo'
26.09.2023
11:24:37
2023-09-26T09:24:37.184Z | config.cfg <warn> Setting 'python_enable_pipenv' does not exist.
26.09.2023
11:24:37
Setting 'python_enable_pipenv' does not exist.
26.09.2023
11:24:37
Overriding setting 'PYTHON_ENABLE_PIPENV' with environment variable: '1'
26.09.2023
11:24:37
2023-09-26T09:24:37.184Z | config.cfg <warn> Setting 'docker' does not exist.
26.09.2023
11:24:37
Setting 'docker' does not exist.
26.09.2023
11:24:37
Overriding setting 'DOCKER' with environment variable: '1'
26.09.2023
11:24:37
Overriding setting 'FFMPEG_PATH' with environment variable: '/usr/bin/ffmpeg'
26.09.2023
11:24:37
Overriding setting 'TWITCHDOWNLOADER_PATH' with environment variable: '/usr/local/bin/TwitchDownloaderCLI'
26.09.2023
11:24:37
Overriding setting 'WEBSOCKET_ENABLED' with environment variable: 'true'
26.09.2023
11:24:37
Language changed to en
26.09.2023
11:24:37
2023-09-26T09:24:37.185Z | YouTubeHelper.setupClient <warn> No client_id or client_secret set up. YouTube uploads will not work.
26.09.2023
11:24:37
2023-09-26T09:24:37.186Z | tw.helper.setupAxios <info> Setting up axios...
26.09.2023
11:24:37
API client id not set, can't setup axios
26.09.2023
11:24:37
2023-09-26T09:24:37.189Z | dvr.init <success> The time is 2023-09-26T09:24:37.187Z. Current topside temperature is 93 degrees, with an estimated high of one hundred and five. The Black Mesa compound is maintained at a pleasant 68 degrees at all times.
26.09.2023
11:24:37
2023-09-26T09:24:37.237Z | helper.execSimple <info> Process 45 for 'git hash check' exited with code 128
26.09.2023
11:24:37
2023-09-26T09:24:37.238Z | config.getGitHash <warn> Could not fetch git hash
26.09.2023
11:24:37
2023-09-26T09:24:37.250Z | helper.execSimple <info> Process 46 for 'git branch check' exited with code 128
26.09.2023
11:24:37
2023-09-26T09:24:37.251Z | config.getGitBranch <warn> Could not fetch git branch
26.09.2023
11:24:37
2023-09-26T09:24:37.252Z | game.populateFavouriteGames <info> Populating favourite games...
26.09.2023
11:24:37
2023-09-26T09:24:37.253Z | game.populateFavouriteGames <info> Favourite games populated with 0 games.
26.09.2023
11:24:37
2023-09-26T09:24:37.255Z | dvr.loadChannels <info> Loading channels...
26.09.2023
11:24:37
2023-09-26T09:24:37.255Z | dvr.loadChannels <success> Loaded 0 channels!
26.09.2023
11:24:37
2023-09-26T09:24:37.256Z | job.loadJobsFromCache <info> Loaded 0 jobs from cache
26.09.2023
11:24:37
2023-09-26T09:24:37.258Z | scheduler.defaultJobs <info> Set up default jobs
26.09.2023
11:24:37
2023-09-26T09:24:37.290Z | scheduler.schedule <info> Scheduled job 'check_muted_vods' with cronTime '0 */12 * * *'
26.09.2023
11:24:37
2023-09-26T09:24:37.291Z | scheduler.schedule <info> Scheduled job 'check_deleted_vods' with cronTime '10 */12 * * *'
26.09.2023
11:24:37
2023-09-26T09:24:37.293Z | scheduler.schedule <info> Scheduled job 'match_vods' with cronTime '30 */12 * * *'
26.09.2023
11:24:37
2023-09-26T09:24:37.293Z | scheduler.schedule <info> Scheduled job 'clipdownload' with cronTime '0 0 * * *'
26.09.2023
11:24:37
2023-09-26T09:24:37.295Z | scheduler.schedule <info> Scheduled job 'validate_oauth' with cronTime '0 */1 * * *'
26.09.2023
11:24:37
2023-09-26T09:24:37.295Z | scheduler.schedule <info> Scheduled job 'export_vods' with cronTime '0 1 * * *'
26.09.2023
11:24:37
2023-09-26T09:24:37.295Z | scheduler.defaultJobs <info> Default job 'check_muted_vods' enabled
26.09.2023
11:24:37
2023-09-26T09:24:37.296Z | scheduler.defaultJobs <info> Default job 'check_deleted_vods' enabled
26.09.2023
11:24:37
2023-09-26T09:24:37.296Z | scheduler.defaultJobs <info> Default job 'match_vods' disabled
26.09.2023
11:24:37
2023-09-26T09:24:37.296Z | scheduler.defaultJobs <info> Default job 'clipdownload' disabled
26.09.2023
11:24:37
2023-09-26T09:24:37.296Z | scheduler.defaultJobs <info> Default job 'export_vods' disabled
26.09.2023
11:24:37
2023-09-26T09:24:37.296Z | tw.helper <info> Eventsub is not using websocket
26.09.2023
11:24:37
2023-09-26T09:24:37.467Z | dvr.venvcheck <info> Checking python virtual environment...
26.09.2023
11:24:37
2023-09-26T09:24:37.950Z | helper.execSimple <info> Process 48 for 'pipenv --venv' exited with code 0
26.09.2023
11:24:37
2023-09-26T09:24:37.950Z | dvr.venvcheck <info> Updating python virtual environment path in config.
26.09.2023
11:24:37
2023-09-26T09:24:37.951Z | config.saveConfig <success> Saved config from unknown
26.09.2023
11:24:37
Setting debug to false
26.09.2023
11:24:37
2023-09-26T09:24:37.951Z | dvr.venvcheck <info> Python virtual environment path: /home/node/.local/share/virtualenvs/twitchautomator-rNbiFSV2
26.09.2023
11:24:37
2023-09-26T09:24:37.952Z | dvr.bincheck <info> Checking binary versions...
26.09.2023
11:24:38
2023-09-26T09:24:38.751Z | helper.execSimple <info> Process 50 for 'about binary check' exited with code 0
26.09.2023
11:24:38
2023-09-26T09:24:38.753Z | dvr.checkBinaryVersions <info> Pip package streamlink version: 6.1.0
26.09.2023
11:24:38
2023-09-26T09:24:38.753Z | dvr.init <success> Loading config stuff done.
26.09.2023
11:24:38
2023-09-26T09:24:38.760Z | clientBroker.attach <info> Attaching WebSocket server to broker...
26.09.2023
11:24:38
🥞 LiveStreamDVR listening on port 8080, mode undefined. Base path: / 🥞
26.09.2023
11:24:38
Local: http://localhost:8080
26.09.2023
11:24:38
Public: undefined
26.09.2023
11:24:38
Type: Compiled JavaScript
26.09.2023
11:24:38
Build date: 9/5/2023, 1:44:48 PM (server.js)
26.09.2023
11:24:38
Version: 1.6.2 running on node v19.9.0 linux 🦄
26.09.2023
11:24:38
Debug: false
26.09.2023
11:24:38
Build: Local
26.09.2023
11:24:38
2023-09-26T09:24:38.763Z | clientBroker.attach <info> Client broker now attached to websocket.

the fact that it says 502 means there's a reply from somewhere, i'm not sure if i ever used that code myself. is it a reverse proxy?

the fact that it says 502 means there's a reply from somewhere, i'm not sure if i ever used that code myself. is it a reverse proxy?

it came directly from the application you now a popup. Fixed it I guess except it does not read the config in the config folder :D
Used the stock compose file you provided in the readme.

the fact that it says 502 means there's a reply from somewhere, i'm not sure if i ever used that code myself. is it a reverse proxy?

 I renamed the config file to test if it was the config.

the fact that it says 502 means there's a reply from somewhere, i'm not sure if i ever used that code myself. is it a reverse proxy?

ok now the error came back :D
AxiosError: Request failed with status code 502

the fact that it says 502 means there's a reply from somewhere, i'm not sure if i ever used that code myself. is it a reverse proxy?

ok now the error came back :D AxiosError: Request failed with status code 502

after waiting quite some time I could login.


Support for SpaCy 3

Hey! I'm just wondering if there will be support for the new SpaCy version 3?
Thanks!

If it helps, I think the main change needed is adding this decorator to it:
https://spacy.io/usage/v3#migrating-add-pipe

@davidrs Thanks!
I have gone now with solution using pycld2. This is pretty fast and can also be used with the decorator you mentioned.
Thanks anyway!


⚠ ClamAV has degraded performance

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

HTTP code: 200
Response time: 105 ms

Resolved: ClamAV performance has improved in be7a60d after 5 minutes.