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

Followed the install instructions but am getting this error stack trace:
mikeumus:~/workspace (master) $ sudo python ./manage.py runserver $IP:$PORT
/home/ubuntu/workspace/website/models.py:20: RemovedInDjango19Warning: Model class website.models.Service doesn't declare an explicit app_label and either isn't in an application in INSTALLED_APPS or else was imported before its application was loaded. This will no longer be supported in Django 1.9.
  class Service(models.Model):

/home/ubuntu/workspace/website/models.py:36: RemovedInDjango19Warning: Model class website.models.Issue doesn't declare an explicit app_label and either isn't in an application in INSTALLED_APPS or else was imported before its application was loaded. This will no longer be supported in Django 1.9.
  class Issue(models.Model):

/home/ubuntu/workspace/website/models.py:128: RemovedInDjango19Warning: Model class website.models.Bounty doesn't declare an explicit app_label and either isn't in an application in INSTALLED_APPS or else was imported before its application was loaded. This will no longer be supported in Django 1.9.
  class Bounty(models.Model):

/home/ubuntu/workspace/website/models.py:157: RemovedInDjango19Warning: Model class website.models.UserProfile doesn't declare an explicit app_label and either isn't in an application in INSTALLED_APPS or else was imported before its application was loaded. This will no longer be supported in Django 1.9.
  class UserProfile(models.Model):

/home/ubuntu/workspace/website/models.py:20: RemovedInDjango19Warning: Model class website.models.Service doesn't declare an explicit app_label and either isn't in an application in INSTALLED_APPS or else was imported before its application was loaded. This will no longer be supported in Django 1.9.
  class Service(models.Model):

/home/ubuntu/workspace/website/models.py:36: RemovedInDjango19Warning: Model class website.models.Issue doesn't declare an explicit app_label and either isn't in an application in INSTALLED_APPS or else was imported before its application was loaded. This will no longer be supported in Django 1.9.
  class Issue(models.Model):

/home/ubuntu/workspace/website/models.py:128: RemovedInDjango19Warning: Model class website.models.Bounty doesn't declare an explicit app_label and either isn't in an application in INSTALLED_APPS or else was imported before its application was loaded. This will no longer be supported in Django 1.9.
  class Bounty(models.Model):

/home/ubuntu/workspace/website/models.py:157: RemovedInDjango19Warning: Model class website.models.UserProfile doesn't declare an explicit app_label and either isn't in an application in INSTALLED_APPS or else was imported before its application was loaded. This will no longer be supported in Django 1.9.
  class UserProfile(models.Model):

Performing system checks...

System check identified some issues:

WARNINGS:
?: (1_8.W001) The standalone TEMPLATE_* settings were deprecated in Django 1.8 and the TEMPLATES dictionary takes precedence. You must put the values of the following settings into your default TEMPLATES dict: TEMPLATE_CONTEXT_PROCESSORS.

System check identified 1 issue (0 silenced).
November 22, 2015 - 22:04:27
Django version 1.8.6, using settings 'coderbounty.settings'
Starting development server at http://<IP_ADDRESS>:8080/
Quit the server with CONTROL-C.
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
Subject: [Django] ERROR (EXTERNAL IP): Internal Server Error: /
From: root@localhost
To: e, e
Date: Sun, 22 Nov 2015 22:04:33 -0000
Message-ID: <20151122220433.7622.38697@mikeumus-coderbounty-dev-2184777>

Internal Server Error: /
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py", line 132, in get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "/home/ubuntu/workspace/website/views.py", line 44, in home
    response = render_to_response(template, context, context_instance=RequestContext(request))
  File "/usr/local/lib/python2.7/dist-packages/django/shortcuts.py", line 45, in render_to_response
    using=using)
  File "/usr/local/lib/python2.7/dist-packages/django/template/loader.py", line 103, in render_to_string
    for engine in _engine_list(using):
  File "/usr/local/lib/python2.7/dist-packages/django/template/loader.py", line 143, in _engine_list
    return engines.all() if using is None else [engines[using]]
  File "/usr/local/lib/python2.7/dist-packages/django/template/utils.py", line 110, in all
    return [self[alias] for alias in self]
  File "/usr/local/lib/python2.7/dist-packages/django/template/utils.py", line 101, in __getitem__
    engine = engine_cls(params)
  File "/usr/local/lib/python2.7/dist-packages/django/template/backends/django.py", line 23, in __init__
    super(DjangoTemplates, self).__init__(params)
  File "/usr/local/lib/python2.7/dist-packages/django/template/backends/base.py", line 29, in __init__
    "Unknown parameters: {}".format(", ".join(params)))
ImproperlyConfigured: Unknown parameters: TEMPLATE_DEBUG

Request repr():
<WSGIRequest
path:/,
GET:<QueryDict: {}>,
POST:<QueryDict: {}>,
COOKIES:{'csrftoken': '0VKW9LVHlFhwGHscFFn61083bcy6B3O2'},
META:{'CONTENT_LENGTH': '',
 'CONTENT_TYPE': 'text/plain',
 u'CSRF_COOKIE': u'0VKW9LVHlFhwGHscFFn61083bcy6B3O2',
 'DJANGO_SETTINGS_MODULE': 'coderbounty.settings',
 'GATEWAY_INTERFACE': 'CGI/1.1',
 'HOME': '/home/ubuntu',
 'HTTP_ACCEPT': 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8',
 'HTTP_ACCEPT_ENCODING': 'gzip, deflate, sdch',
 'HTTP_ACCEPT_LANGUAGE': 'en-US,en;q=0.8,es;q=0.6',
 'HTTP_CACHE_CONTROL': 'max-age=0',
 'HTTP_CONNECTION': 'keep-alive',
 'HTTP_COOKIE': 'csrftoken=0VKW9LVHlFhwGHscFFn61083bcy6B3O2',
 'HTTP_DNT': '1',
 'HTTP_HOST': 'coderbounty-dev-mikeumus.c9users.io',
 'HTTP_UPGRADE_INSECURE_REQUESTS': '1',
 'HTTP_USER_AGENT': 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2490.86 Safari/537.36',
 'HTTP_X_FORWARDED_FOR': '<IP_ADDRESS>',
 'HTTP_X_FORWARDED_PROTO': 'https',
 'HTTP_X_REGION': 'usw',
 'LANG': 'C',
 'LANGUAGE': 'C.UTF-8',
 'LC_ALL': 'C.UTF-8',
 'LOGNAME': 'root',
 'MAIL': '/var/mail/root',
 'PATH': '/home/ubuntu/.nvm/versions/node/v4.2.1/bin:/usr/local/rvm/gems/ruby-2.2.1/bin:/usr/local/rvm/gems/ruby-2.2.1@global/bin:/usr/local/rvm/rubies/ruby-2.2.1/bin:/mnt/shared/bin:/home/ubuntu/workspace/node_modules/.bin:/home/ubuntu/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/mnt/shared/sbin:/opt/gitl:/opt/go/bin:/mnt/shared/c9/app.nw/bin:/usr/local/rvm/bin',
 'PATH_INFO': u'/',
 'QUERY_STRING': '',
 'REMOTE_ADDR': '<IP_ADDRESS>',
 'REMOTE_HOST': '',
 'REQUEST_METHOD': 'GET',
 'RUN_MAIN': 'true',
 'SCRIPT_NAME': u'',
 'SERVER_NAME': 'mikeumus-coderbounty-dev-2184777',
 'SERVER_PORT': '8080',
 'SERVER_PROTOCOL': 'HTTP/1.1',
 'SERVER_SOFTWARE': 'WSGIServer/0.1 Python/2.7.6',
 'SHELL': '/bin/bash',
 'SUDO_COMMAND': '/usr/bin/python ./manage.py runserver <IP_ADDRESS>:8080',
 'SUDO_GID': '1000',
 'SUDO_UID': '1000',
 'SUDO_USER': 'ubuntu',
 'TERM': 'screen',
 'TZ': 'UTC',
 'USER': 'root',
 'USERNAME': 'root',
 'wsgi.errors': <open file '<stderr>', mode 'w' at 0x7fa6922c41e0>,
 'wsgi.file_wrapper': <class wsgiref.util.FileWrapper at 0x7fa68e359b48>,
 'wsgi.input': <socket._fileobject object at 0x7fa68e303ed0>,
 'wsgi.multiprocess': False,
 'wsgi.multithread': True,
 'wsgi.run_once': False,
 'wsgi.url_scheme': 'http',
 'wsgi.version': (1, 0)}>
-------------------------------------------------------------------------------
Internal Server Error: /
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py", line 132, in get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "/home/ubuntu/workspace/website/views.py", line 44, in home
    response = render_to_response(template, context, context_instance=RequestContext(request))
  File "/usr/local/lib/python2.7/dist-packages/django/shortcuts.py", line 45, in render_to_response
    using=using)
  File "/usr/local/lib/python2.7/dist-packages/django/template/loader.py", line 103, in render_to_string
    for engine in _engine_list(using):
  File "/usr/local/lib/python2.7/dist-packages/django/template/loader.py", line 143, in _engine_list
    return engines.all() if using is None else [engines[using]]
  File "/usr/local/lib/python2.7/dist-packages/django/template/utils.py", line 110, in all
    return [self[alias] for alias in self]
  File "/usr/local/lib/python2.7/dist-packages/django/template/utils.py", line 101, in __getitem__
    engine = engine_cls(params)
  File "/usr/local/lib/python2.7/dist-packages/django/template/backends/django.py", line 23, in __init__
    super(DjangoTemplates, self).__init__(params)
  File "/usr/local/lib/python2.7/dist-packages/django/template/backends/base.py", line 29, in __init__
    "Unknown parameters: {}".format(", ".join(params)))
ImproperlyConfigured: Unknown parameters: TEMPLATE_DEBUG
Traceback (most recent call last):
  File "/usr/lib/python2.7/wsgiref/handlers.py", line 85, in run
    self.result = application(self.environ, self.start_response)
  File "/usr/local/lib/python2.7/dist-packages/django/contrib/staticfiles/handlers.py", line 63, in __call__
    return self.application(environ, start_response)
  File "/usr/local/lib/python2.7/dist-packages/whitenoise/base.py", line 62, in __call__
    return self.application(environ, start_response)
  File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/wsgi.py", line 189, in __call__
    response = self.get_response(request)
  File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py", line 218, in get_response
    response = self.handle_uncaught_exception(request, resolver, sys.exc_info())
  File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py", line 261, in handle_uncaught_exception
    return debug.technical_500_response(request, *exc_info)
  File "/usr/local/lib/python2.7/dist-packages/django/views/debug.py", line 97, in technical_500_response
    html = reporter.get_traceback_html()
  File "/usr/local/lib/python2.7/dist-packages/django/views/debug.py", line 382, in get_traceback_html
    t = DEBUG_ENGINE.from_string(TECHNICAL_500_TEMPLATE)
  File "/usr/local/lib/python2.7/dist-packages/django/template/engine.py", line 153, in from_string
    return Template(template_code, engine=self)
  File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 191, in __init__
    self.nodelist = engine.compile_string(template_string, origin)
  File "/usr/local/lib/python2.7/dist-packages/django/template/engine.py", line 260, in compile_string
    parser = parser_class(tokens)
  File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py", line 35, in __init__
    super(DebugParser, self).__init__(lexer)
  File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 303, in __init__
    self.add_library(lib)
  File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 417, in add_library
    self.tags.update(lib.tags)
AttributeError: 'NoneType' object has no attribute 'tags'
[22/Nov/2015 22:04:33] "GET / HTTP/1.1" 500 59

:|

So, how your settings.py looks like?
The error message is related to django-material completely.

I followed the TEMPLATES django 1.8 migration docs you sent me but am still getting the error. Here's the settings.py in question:
https://github.com/mikeumus/coderbounty-mikeDev/blob/mikeDev/coderbounty/settings.py#L1

Thanks for reporting! There was material.frontend.templatetags lib missing in pypi distributed version.
Fix released. Please use django-material==0.5.1

Your welcome, thanks for patching! :+1: :)

owh thanks

well It would be nice to have a package version sticker on github repo


Add README.md to repo

This PR starts the process of adding a README.md file to this repo by extracting the jostler section of the Autoloading Design Doc.
Images and links to documents that are not public were removed but they can incrementally be added later.

This change is

Coverage: 85.989%. Remained the same when pulling e6573b85a777fb0d9dcb72f5001c4c793d3a86f9 on sandbox-saied-readme into 2e2413f1ac895673c645594f9566baeeebe964e3 on main.

Yes, it makes perfect sense and I will do that.  For now, I just wanted to have a README.md file in the repo because a few people are interested in learning more about jostler.
Thank you for your review.

README.md line 128 at r2 (raw file):
Previously, cristinaleonr (Cristina Leon) wrote…
The boldface does not show up here.

Fixed.

README.md line 294 at r2 (raw file):
Previously, cristinaleonr (Cristina Leon) wrote…
This is called jsonlbundle.

Thanks for noticing this.  I updated the whole paragraph.


All codes will be opened?

Hi,
Due to privacy concerns, as this work is supported by a company, we just can release the code of the proposed network and loss function. I am so sorry.
Best,
Xiangde.


Deployment chain - allow rolling out to multiple clusters gradually or promoting across environments

Epic description
Currently, one application can be used to deploy a group of resources to a single target provider.
This feature adds the ability to combine multiple applications into a chain/flow.
Users can use it to roll out a group of applications into multiple clusters gradually or promote across environments.

should be safe to close since the deployment chain released under alpha status already.
/close


[bug] cargo tauri build fails on MacOS M1 12.3

Describe the bug
cargo tauri build fails on MacOS M1 12.3.
$ cargo tauri build --verbose
...
+ echo 'Blessing started'
Blessing started
+ bless --folder /Volumes/tdex-dashboard --openfolder /Volumes/tdex-dashboard
bless: The 'openfolder' is not supported on Apple Silicon devices.
Error: failed to bundle project

Caused by:
    Shell Scripting Error:`error running bundle_dmg.sh`
error Command failed with exit code 1.

Reproduction
No response
Expected behavior
No response
Platform and versions
▶ cargo tauri info

Operating System - Mac OS, version 12.3.0 X64

Node.js environment
  Node.js - 16.14.1
  @tauri-apps/cli - 1.0.0-rc.6
  @tauri-apps/api - 1.0.0-rc.2

Global packages
  npm - 8.1.4
  pnpm - Not installed
  yarn - 1.22.17

Rust environment
  rustup - 1.24.3
  rustc - 1.59.0
  cargo - 1.59.0
  toolchain - stable-aarch64-apple-darwin

App directory structure
/node_modules
/public
/scripts
/.github
/src-tauri
/build
/.git
/.idea
/src

App
  tauri - 1.0.0-rc.4
  tauri-build - 1.0.0-rc.4
  tao - 0.6.4
  wry - 0.13.3
  build-type - bundle
  CSP - default-src blob: data: filesystem: ws: wss: http: https: tauri: 'unsafe-eval' 'unsafe-inline' 'self' img-src: 'self'
  distDir - ../build
  devPath - http://localhost:3003/
  framework - React
  bundler - Webpack

Stack trace
No response
Additional context
No response

That's interesting and new. We have been building on Mac M1 for a while now... @lucasfernog wdyt is going on here?

It's a macOS 12.3 change, see https://github.com/create-dmg/create-dmg/issues/127
We just need to update our fork of that script.

Still weird though, I've been using the 12.3 beta for a while now and had no issues building 🤔

Maybe they've changed bless in the final release of 12.3 and not during the beta stages.


Is there way to disable only ElasticSearchStreamingLambda

Note: If your question is regarding the AWS Amplify Console service, please log it in the
official AWS Amplify Console forum

** Which Category is your question related to? **
** What AWS Services are you utilizing? **
** Provide additional details e.g. code snippets **
Is there way to disable only ElasticSearchStreamingLambda? I would like to create and manage elasticsearch service with @searchable. However I would like to disable only  ElasticSearchStreamingLambda this is because I would like to POST to elasticsearch by myself.

@bokuweb I don't see that this is currently supported using @searchable. The closest you can get is by creating a template in amplify\backend\api\myapiname\stacks\ where you can manage all the resources related to Elasticsearch. A good start point is to

Add @searchable to one of your model in the schema.grapql
Run amplify api gql-compile
Copy the generated template in the build folder, \amplify\backend\api\myapiname\build\stacks\SearchableStack.json to  amplify\backend\api\myapiname\stacks\
Remove the @searchable directive from the model added in step 1
Start editing your new template

Using this approach will give you total control of the resources related to the Elasticsearch service, but, will also require to do it all by your own.
Hope it helps

@kstro21 Thanks!! It solved for now. However I'm glad if user can select it :)

@bokuweb I'm glad to help.
And yes, it would be great if the user can have more options to customize or use the template generated when using the @searchable directive rather than doing it all manually.
I'm hoping to see some improvement in this part of the project in the future releases.


Cleanup: VPN: IPsec: Mobile Clients - Save-Button

Important notices
Before you add a new report, we ask you kindly to acknowledge the following:

[x ] I have read the contributing guide lines at https://github.com/opnsense/core/blob/master/CONTRIBUTING.md
[x ] I am convinced that my issue is new after having checked both open and closed issues at https://github.com/opnsense/core/issues?q=is%3Aissue

Describe the bug
It is not possible to disable the IKE Extensions under VPN: IPsec: Mobile Clients.
If you try to disable, the Save-Button disapperars.
To Reproduce
Steps to reproduce the behavior:

VPN - IPSec - Mobile Clients
under IKE Extensions set Enable
press Save
--
unset Enable
Save-Button is no longer clickable

Screenshots

Environment
OPNsense 23.7.9-amd64

this https://github.com/opnsense/core/commit/7c74e2255446c2ba49a0a24c97ca42a9e56938b9 should move the save button back in. @hsiewert thanks for reporting


WasmCloud drops several requests

I recently tested WasmCloud  Hello Actor with siege and seeing quite a few dropped connections:
Transactions:                 596065 hits
Availability:                  99.98 %
Elapsed time:                4238.51 secs
Data transferred:               6.25 MB
Response time:                  0.12 secs
Transaction rate:             140.63 trans/sec
Throughput:                     0.00 MB/sec
Concurrency:                   16.57
Successful transactions:      596065
Failed transactions:             134 <-----
Longest transaction:          952.13
Shortest transaction:           0.00

Wash version 0.13.0
I am running this example: https://wasmcloud.dev/app-dev/create-actor/run/
I am running on

Hey @f0rodo, thanks for putting in this issue. Could you link to the siege project so one of us can try and reproduce? I've got a similar-spec'd machine to yours (albeit with less memory) and would like to see what's causing the failed transactions.
Additionally, are you running a single instance of the hello module or multiple? It's worth noting that WebAssembly can only handle a single request at a time (no concurrency) but scheduling additional instances allows them to handle requests in parallel. Since you're running requests at a concurrency of 16.57 the requests might just get backed up

Sure I ran
seige -c 100 http://localhost:8076?name=f0rodo"
I had 100 instances running.

@f0rodo Where can one of us install seige?

@f0rodo I'm gonna go ahead and close this issue, please feel free to re-open if you're still hitting this bug and can give us a little more information about your testing strategy


Multiple Passive Scenario is not Properly Handled by Active

Multiple passives are able to connect and sync to a single active.  However once a new election occurs and one of the passives handles failover, the new active does not properly record the fact that additional passives are in-sync and can continue to receive replicated messages.  Fix this so that on failover, the additional in-sync passives are realized.

TAB-6572


ACM-3450 - Adding missing translation function use

Regarding: ACM-3450

/lgtm

/retest-required

/test unit-tests-sonarcloud

/test unit-tests-sonarcloud

Manually verified all tests passed. Bypassing broken SonarCloud.


add Pluggable service provider interfaces (SPI) and default implementations

Aries Framework should support pluggable services provider interfaces for Crypto/KMS  operations  as per the Hyperledger wiki (Phase 1) design
The following are action items needed to implement this design

[x] Add Common/Crypto service SPI #983

[x] Add Crypto SPI (using Tink API) and its default implementation #984

[x] Add KMS and SecretLock APIs and their default local implementations #985

[x] Rename existing KMS service to LegacyKMS in framework context #1144
[x] Add SecretLock API and mock #1145
[x] Add default SecretLock implementation #1146
[x] Create a new Storage type with Delete() function #1147
[x] Add a new KMS API and mock #1148
[x] Add a default (local) KMS implementation with Storage and SecretLock as providers #1149
[x] Hook the new KMS in framework and context #1150
[x] Update Crypto unit tests to load a KMS with the new key formats #1151

Add Default implementation for JWE Authcrypt #986 (will be done separately)

[x] Add Default implementation for JWE Anoncrypt #987

[x] Create new Key types to support ECDH-ES primitives (using NIST approved keys) #1469
[x] Replace HKDF with ConcatKDF in new ECDH-ES Tink primitive #1472
[x] Update created Tink Key types to return JWE components from crypto primitives #1470

[x] Add Local Storage implementation of KMS SPI #994

[x] Create (Keys) Storage Provider interface and implementations #995

[x] Create Secret Lock provider #996

All tasks completed:

Crypto: https://github.com/hyperledger/aries-framework-go/tree/master/pkg/crypto
KMS: https://github.com/hyperledger/aries-framework-go/tree/master/pkg/kms (with legacykms sub package soon to be deprecated)
JWE: https://github.com/hyperledger/aries-framework-go/tree/master/pkg/doc/jose (jwe files to for building JWE messages)


python310Packages.nats-py: 2.1.0 -> 2.1.2

Description of changes
Update to latest upstream release 2.1.2

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.05 Release Notes (or backporting 21.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 173598 run on x86_64-linux 1

2 packages built:

python310Packages.nats-py
python39Packages.nats-py


Matches are sometimes created with 0 length

During the last tournament we had some issues where Match.Length was erroneously set to zero in the latter tryouts. This happened in the matches after the initial four, so something is probably borky with the additional ones.
This doesn't affect gameplay, but does break the judging interface.
I wrote a unit test:
func TestAllMatchesHaveALengthSet(t *testing.T) {
	assert := assert.New(t)
	for x := 0; x < 1000; x++ {
		tm := testTournament(27)
		err := tm.StartTournament()
		assert.Nil(err)

		for _, m := range tm.Tryouts {
			assert.Equal(m.Length, 10)
		}

		for _, m := range tm.Semis {
			assert.Equal(m.Length, 10)
		}

		assert.Equal(tm.Final.Length, 20)
	}
}

But it runs fine for the 1000 iterations without breaking. Something else is wrong.
One way of solving this would be to update the juding interface to default to a length of 10 if there is something off with the data, but maybe that should not be required.

This is somewhat fixed in #133, but only because that starts to use match.end rather than match.length. This means that the frontend has a special case in terms of length of matches. It's definitely not the end of the world, but it's also not super cool.

Until this happens again, I choose not to care.


Fixing NotARegularFile message in NuGetPublisher task

Hi @prashkan90, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!

It looks like you're a Microsoft contributor (Prashanth Kannan). If you're full-time, we DON'T require a Contribution License Agreement. If you are a vendor, please DO sign the electronic Contribution License Agreement. It will take 2 minutes and there's no faxing! https://cla.microsoft.com.

TTYL, MSBOT;

:shipit:

:shipit:


question: what is the volume life cycle

Docker volume plugin has Create/Mount/Unmount/Delete operations.
Will all those methods be called on container startup/destroy ? At which step of the mesos container life cycle?
Thanks

Hi,
When the a request for a volume is made, the following will take place:

if the volume doesnt exist by name, the volume will be created with the give attributes and then mounted.
if the volume already exists, all the assoicated "create" parameters will be ignored and the volume will be mounted.

When the mesos task is destroyed, the volume will simply be unmounted. This facilitates reuse of the volume for specific use cases. For example, if the slave node fails, the task can be brought up another node with its data intact.
Delete is never called. Clean up can be done out of band or on the create, you can overwrite the existing filesystem effectively wiping the data.

Hi osallou,
Does this sufficient answer your questions? May I close this issue out?
Thanks!

You can close the issue, thanks
Le dim. 31 janv. 2016 18:10, David vonThenen<EMAIL_ADDRESS>a
écrit :

Hi osallou,
Does this sufficient answer your questions? May I close this issue out?
Thanks!
—
Reply to this email directly or view it on GitHub
https://github.com/emccode/mesos-module-dvdi/issues/62#issuecomment-177552176
.

No problem. If you have any other questions, you can stop by our codecommunity.slack.com channel and join #mesos.


Modifier guard: Wrong timing when combined with mouse keys?

Hello,
I just noticed the following issue: On my meta layer, some keys are mapped to mouse buttons. Today, when trying to use these bindings to press some mouse buttons on a webpage (in a text field where some javascript loads choices on every entered letter based on text input), I noticed that they do not work, in the sense that the click is not registered.

Indeed. This is a bug. Mouse and key events are generated by different virtual devices and need to be synchronized to accommodate this use case properly. I will take a look when I have some time.

I believe this should be fixed in the latest commit.


[Admin / Assessor] simple_format helper issue

Related to Trello Story
So we use simple_format helper for displaying linebreaks in assessor / admin
comments/ drafts and other 'textarea' content blocks.
http://apidock.com/rails/v4.2.1/ActionView/Helpers/TextHelper/simple_format
Problem is that simple_format always adds wrapper tags (p - by default)
It causes issue on JS code after clicking on 'Save'. (Attached screenshot below)
And there are no way to skip it as if you pass empty 'wrapper_tag' option like:
simple_format text, {}, wrapper_tag: ""

it will add brackets without any tag:
<>

So that's we overrided source code of simple_format and now
will use own qae_simple_format helper.

looks ok!


Fix minor issues in tests-performance

This PR fixes few minor issues:

After previous PR, the compilation was broken because of libcudd. This PR fixes this.
Adds lookup of build dir for people who use cmake.
Documents better how to build, if you have different directory.

Please @jurajsic try running make from tests-performance/src in your environment. I believe you are using the same way as Lukas, so you should build the files to cmake-build-debug or cmake-build-release.

I do not use CLion as Lukas, I use VS Code and I set it so it puts it into build/Release/ or build/Debug/ based on the build type. So it will not work for me. The best option would be to somehow get the build directory from CMake, but I do not know if it is possible.

Can you try to run make BUILD_DIR="../../build/Release/"? This should work for you. (Maybe the .. will need to be adjusted)

I think you need to add check for whether BUILD_DIR is set, because it still sets it to ../../build/

It should work without the check (it worked in my shell). I tried to replace the assignment from = to := this might help.

Of course it didn't work, I was on devel branch. Looks like it compiled without error.

Ook, good, thanks for checking :-)

What about this PR? Does it need any further work? Except maybe for the CMake variables usage? What do you think?
@jurajsic Could you take a look at the PR and review it?

I can investigate the usage of CMAKE variables (if it will be hustle or not elegant enough, I will keep it as it is for now), and then merge it myself. Is this OK with everyone?

Sounds good to me. Thank you.

@tfiedor How does it look with checking the CMake variables? I would suggest merging this PR and potentially make a new PR for the CMake variables. Simply, so this PR is not sitting here for nothing.

Yes, you are right, I forgot about it and got swamped by other things. You can merge it :)

No worries. I will merge the PR now.


Make cubic_interpolate() consider key time in animation

Fixes #60154.
In the previous implementation, cubic_interpolate() did not consider time, resulting in clunky transitions when the key interval was not constant. The following images show animations with the same keyframes, but the left one is the previous cubic_interpolate() without time(velocity) consideration and the right one is this PR with time(velocity) consideration.

By providing time as an argument, it allows for smoother movements. Also, based on previous implementations, the default values of the argument are -1.0, 0.0, 1.0, 2.0. The result of this argument will be the same as the previous implementation, but if there are performance concerns in Curve or Gradient classes, it may want to separate the functions.
https://user-images.githubusercontent.com/61938263/181659750-d697da3c-d01d-4d86-a2ae-1d3e3d95dddd.mp4
https://user-images.githubusercontent.com/61938263/181659760-8ddc570f-8442-4d4c-917c-1ef4c6a05973.mp4
If anyone don't want overshoot, simply adding more plots will solve the problem, but if the demand is too much, we can consider implementing makima interpolate (#57952) or adding a function to AnimationTrack that switches between the previous implementation and the new one.

I would not replace the existing function to be honest, since you don't always need to use it in time and this is more costly and complex.
I would add a new function cubic_interpolate_in_time() instead, which IMO makes more sense.

Ok, I'll modify this PR later.

@reduz Changed this PR implementation to add cubic_interpolate_in_time() as a new interpolation type.

Thanks!


Oksuzian111224a

Hi @oksuzian,
You have proposed changes to files in these packages:

Scripts
data
ProjPy
CampaignConfig

which require these tests: build.
@Mu2e/write, @Mu2e/fnalbuild-users have access to CI actions on main.
:hourglass: The following tests have been triggered for bb04db8d33fcf8e3a1d932b751ef4f70393d772d: build  (Build queue is empty)
About FNALbuild. Code review on Mu2e/Offline.

:sunny: The build tests passed at bb04db8d33fcf8e3a1d932b751ef4f70393d772d.

Test
Result
Details

test with
:white_check_mark:
Command did not list any other PRs to include

merge
:white_check_mark:
Merged bb04db8d33fcf8e3a1d932b751ef4f70393d772d at 9545a97ecc267ab63a0f661dc3abbe1f32f9b1f7

build (prof)
:white_check_mark:
Log file. Build time: 08 min 34 sec

ceSimReco
:white_check_mark:
Log file.

g4test_03MT
:white_check_mark:
Log file.

transportOnly
:white_check_mark:
Log file.

POT
:white_check_mark:
Log file.

g4study
:white_check_mark:
Log file.

cosmicSimReco
:white_check_mark:
Log file.

cosmicOffSpill
:white_check_mark:
Log file.

ceSteps
:white_check_mark:
Log file.

ceDigi
:white_check_mark:
Log file.

muDauSteps
:white_check_mark:
Log file.

ceMix
:white_check_mark:
Log file.

rootOverlaps
:white_check_mark:
Log file.

g4surfaceCheck
:white_check_mark:
Log file.

FIXME, TODO
:white_check_mark:
TODO (0) FIXME (0) in 0 files

clang-tidy
:white_check_mark:
0 errors 0 warnings

N.B. These results were obtained from a build of this Pull Request at bb04db8d33fcf8e3a1d932b751ef4f70393d772d after being merged into the base branch at 9545a97ecc267ab63a0f661dc3abbe1f32f9b1f7.
For more information, please check the job page here.
Build artifacts are deleted after 5 days. If this is not desired, select Keep this build forever on the job page.


Added DeclareEqualNormalizeFixer

Closes #2064

:+1:  LGTM, thanks! just two minor comments :)

done ;)

thanks & :ship:  :)

👍

could you take out the method;
https://github.com/FriendsOfPHP/PHP-CS-Fixer/blob/master/src/Fixer/Strict/DeclareStrictTypesFixer.php#L111
otherwise I'll PR it after this one, we no longer need the method as your fixer does the same :)

Good point.
But please do it as separate PR - this one is for 1.12, the one you mention is for 2.x ;)

ah yes, course :)
I'll put in on my 2.x todo list :+1:

merged to 1.12 and master.
@SpacePossum please open the follow up PR for master branch only


Global update for type hinting: IconStr enum and ColorStr type alias

Please Describe The Problem To Be Solved
I want to create new enum: IconStr in types.py. IconStr enum's variables is all icons from icons.py. ColorStr = Union[HexStr, Literal['primary', 'on_primary', ...]. Also i want to use this new variables in all controls
(Optional): Suggest A Solution
Create enum IconStr with all icons from icons.py and create variable ColorStr = Union[HexStr, Literal['primary', 'on_primary', ...]
It's for my future PR :)

We moved away from literals in favor of enums.
Please use Enums instead.

We moved away from literals in favor of enums. Please use Enums for both instead.
You could create Colors and Icons enums (the singular form could have been better but Icon is a Control) which could be used as follows: ft.Colors.BLUE. The types will then be Optional[Colors] and Optional[Icons].
While moving to enums we need to take care of backward compatibility for ft.colors.BLUE. For this, I suggest you dont remove the current variables in those modules now, but simply copy them into the new enum.
Let's discuss on discord if you want.

Thanks, but about literals with ColorStr. I don't know how make and enum string and hex color in one type hinting. Only way - use type alias with HexStr (i'll want to make new type hinting - HexStr represents hex string) and with Literal.
I don't want use this:
class Colors(Enum): ...

def a(x: Union[HexStr, Colors] # It's hard!

def a(x: Colors) # i want to use new type hinting this way

How i can make this?

I personally think we should leave colors and icons as-is. I mean, what is honestly the issue with Optional[str] ? it's short and normal - nothing fancy, no?
However, if you dont think its the case, then I suggest you could create something like OptionalString=Optional[str], then use it where necessary. I dont see the need of having HexStr, ColorStr, IconStr, etc, which are at the end of the day thesame (= Optional[str])

OK, let's leave it as is for now and settle other things. Lots of changes recently and there are even more changes towards 1.0 :)


Sound mode support media_player general and denonavr

Description:
Added backend support for selecting the sound mode and updating the sound mode status.
This is general support for all media_player components.
This box is not shown in media_players that did not (yet) implement sound mode support in the backend.
I implemented the sound mode support (backend) for the denonavr platform and that one works perfictly.
I already have a pull request for the frontend to have a dropdown select box in the user interface if the media_player supports sound mode.
https://github.com/home-assistant/home-assistant-polymer/pull/815
I tested this code and it works on Hassbian on my pi.
On the home assistant chat I heard that other platforms like onkyo and sonos could also implement sound mode support and probably most receivers could support this, this also provides a base for other platforms to simply implement sound mode support.
Pull request in home-assistant.github.io with documentation (if applicable): home-assistant/home-assistant.github.io#4470
Example entry for configuration.yaml (if applicable):
media_player:
  - platform: denonavr
    host: IP_ADRESS
    name: "Marantz"
    show_all_sources: False
    timeout: 2
    sound_mode: True
    sound_mode_dict: {'MUSIC':'PLII MUSIC', 'MOVIE':'PLII MOVIE', 'GAME':'PLII GAME', 'PURE DIRECT':'DIRECT', 'AUTO':'None', 'DOLBY DIGITAL':'DOLBY DIGITAL', 'MCH STEREO':'MULTI CH STEREO', 'STEREO':'STEREO'}

Checklist:

[x] The code change is tested and works locally.

If user exposed functionality or configuration variables are added/changed:

[x] Documentation added/updated in home-assistant.github.io

If the code communicates with devices, web services, or third-party tools:

[x] Local tests with tox run successfully. Your PR cannot be merged unless tests pass
[x] New dependencies have been added to the REQUIREMENTS variable (example).
[x] New dependencies are only imported inside functions that use them (example).
[x] New dependencies have been added to requirements_all.txt by running script/gen_requirements_all.py.
[x] New files were added to .coveragerc.

If the code does not interact with devices:

[x] Local tests with tox run successfully. Your PR cannot be merged unless tests pass
[x] Tests have been added to verify that the new code works.

This will require getting those changes I mentioned into denonavr first, I think after that this can be merged!

@rytilahti I have just implemented the code in the denonavr library and created a PR:
Denonavr library PR
Hopfully this PR can soon be merged when I make the changes in HASS to use these new functions.

@rytilahti Yes you are right, It got messed up when home assistant updated to v0.63.2.
Because some changes were made in the media_player component. So I coppied those changes to my fork to make it work again.
This PR is therefore a mess right now.
I am waiting till my PR in the denonavr gets accepted, then I will update my fork to use the new denonavr library funcionality, then I will rebase and close this PR and make a new one to have a clean PR that can be merged.

@rytilahti
I opened a new PR, that is now using the new denonavr library v.0.7.0 (my code for the sound mode support is merged in the new denonavr v.0.7.0)
The new PR
It schould be fully ready to be merged now.


Added an interactive weather app using weather app API

Developer Checklist

[x] Followed guidelines mentioned in the readme file.
[x] Followed directory structure. (e.g. ProjectName/{USERNAME}/...yourfiles)
[x] Starred ⭐ the Repo (Optional)

Summary
Weather App is a web application that allows users to check the current weather conditions for any city. It utilizes HTML, CSS, and JavaScript to provide real-time weather data using a weather data API.
Screenshot
attach screenshots/gifs here
Live Project Link
add a working project link here https://github.com/heeba-khan/Weather-App

I have added READMe file in my project and also added screenshot and summary in the comment . Kindly check it.

I have done the changes. Please check.
On Fri, Oct 13, 2023 at 11:53 AM Purshotam Bohra @.***>
wrote:

Hi @heeba-khan https://github.com/heeba-khan, Post some screenshots so
that we review it easily, also consider making a README.md
—
Reply to this email directly, view it on GitHub
https://github.com/thinkswell/javascript-mini-projects/pull/898#issuecomment-1760969265,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A2S5QNW4FBYFRN2TELISYBDX7DM7JAVCNFSM6AAAAAA56D7GHGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONRQHE3DSMRWGU
.
You are receiving this because you were mentioned.Message ID:
@.***>

You are trying to add package.json file at the very root folder this repository please delete it and revet back.

I have committed this change. Kindly check.
On Fri, Oct 13, 2023 at 2:59 PM Purshotam Bohra @.***>
wrote:

You are trying to add package.json file at the very root folder this
repository please delete it and revet back.
—
Reply to this email directly, view it on GitHub
https://github.com/thinkswell/javascript-mini-projects/pull/898#issuecomment-1761207561,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A2S5QNWAKYS622O4HF4Y3GLX7ECWHAVCNFSM6AAAAAA56D7GHGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONRRGIYDONJWGE
.
You are receiving this because you were mentioned.Message ID:
@.***>

Awesome, thanks!
On Sat, Oct 14, 2023 at 11:27 PM Purshotam Bohra @.***>
wrote:

Merged #898
https://github.com/thinkswell/javascript-mini-projects/pull/898 into
master.
—
Reply to this email directly, view it on GitHub
https://github.com/thinkswell/javascript-mini-projects/pull/898#event-10654959293,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A2S5QNVVSFQ5TLKE6SURYGDX7LG7HAVCNFSM6AAAAAA56D7GHGVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJQGY2TIOJVHEZDSMY
.
You are receiving this because you were mentioned.Message ID:
<thinkswell/javascript-mini-projects/pull/898/issue_event/10654959293@
github.com>


Add Option to always observe visibility

Closes: https://github.com/srigar/react-lazyloading/issues/27
Adding the option to always observe the visibility of the element/component while mounted
This change is backward compatible as the default value is : false
Config option

name
Type
Default
Description

always
boolean
false
Passing true to always observe the visibility

e.g.
useVisibilityHook({ always: true });

<LazyLoad config={{ always: true }}>

Can u pls update the Readme.md as well? Will merge it

Changes available in v1.0.13


m_dPktSndPeriod - "unhealthy" rounding

Inside CCCWrapper::setPacketSendPeriod, when setting the native m_dPktSndPeriod to the TimeStamp value, since value.Ticks is of type long, doing m_dPktSndPeriod = (double)(value.Ticks / 10); trims valuable decimals BEFORE converting to double. Instead, I suggest doing m_dPktSndPeriod = value.Ticks / 10.0;
Event though such a small resolution of time would not mean much for the packet sending rate, if the fine increase/decrease of the rate is done for every ack or loss based on the prior value of PacketSendPeriod (which actually makes sense), precisely those decimals will make the difference.

For reference, here is the line in question: https://github.com/dump247/udt-net/blob/master/UdtProtocol/CCCWrapper.cpp#L147


UNION query not working

I am trying to use the SQL UNION operator with SQLC and am having some issues. Below is an example query from my queries.sql file.
-- name: QueryMe :many
SELECT 1 AS one UNION SELECT 2 AS two;

When I run sqlc generate I get the following output.
# package db
error generating code: template: table:255:79: executing "queryCode" at <.Ret.Type>: error calling Type: no type for QueryValue:

Thanks for any help that can be provided and the awesome project!

Closing in favor of https://github.com/kyleconroy/sqlc/issues/568

Closing in favor of https://github.com/kyleconroy/sqlc/issues/568


Optimisation: Automate checking for multilib on arch

case $CHOICE in
        1)
            archlinux-2 &&
            select-your-path
            ;;
        2)
            sudo echo "[multilib]" >> /etc/pacman.conf &&
            sudo echo "Include = /etc/pacman.d/mirrorlist" >> /etc/pacman.conf &&
            archlinux-2 &&
            select-your-path
            ;;
esac

The above step could be replaced by a well crafted if and grep statement, checking if the multilib line exists and is uncommented. If so, archlinux-2. If not, then prompt the user to confirm the change then archlinux-2.
In pseudocode:
IF(grep[/etc/pacman.conf] for "multilib"[without #])
archlinux-2
else
dialog asking user to yes/no multilib

Happy to take care of this if nobody else (who actually use arch) wants to and if @cryinkfly approves the change.

I actually had this issue on my PC
fusion360-install.sh: line 488: /etc/pacman.conf: Permission denied

Didn't open github issue on it because I thought it was related to some of changes I had previously made to sudo on my system, but apparently same thing happened on fresh arch install in VM. I was going to further investigate the problem tomorrow and fix it, but keep that issue in mind when testing your upcoming changes :)

@blazej222 PR #101 implements a fix for that issue. See the link below for further info on the bug.
https://stackoverflow.com/questions/10134901/why-sudo-cat-gives-a-permission-denied-but-sudo-vim-works-fine
Cheers.


Someone stole your code without any attribution:

https://github.com/vishal259/EasyFont

Hello. Yes I've seen this but really I don't know what to do against this. I'm even not sure it is forbidden to do this. If someone knows, please tell me, thanks ! :)

The EasyFont repository has been removed.


🐛 Bug Report:

📜 Description
The bookmarks page bugs out when a bookmarked resource has been deleted
👟 Reproduction steps

Create a resource (question)
Add the resource to your bookmarks
Delete the resource
Check your bookmarks

👍 Expected behavior
It should render the bookmarks page. Bookmarks of resources that have been deleted should say so. A message like "this bookmarked resource is no longer available".
👎 Actual Behavior with Screenshots

The page breaks
📃 Provide any additional context for the Bug.
No response
👀 Have you spent some time to check if this bug has been raised before?

[X] I checked and didn't find similar issue

🏢 Have you read the Contributing Guidelines?

[X] I have read the Contributing Guidelines

Are you willing to submit PR?
Yes I am willing to submit a PR!

Thanks @tobisupreme. Everything here has been noted and will be worked on.


leave when reported does not work

I got banned for 4 weeks because it did not work i have to stick to g tag copies now please fix that mod.

yeah anti report barely works

its a really old version no shit your gonna get banned


Add mbed os support

Add support to use erpc with Mbed-OS.

Hello @AGlass0fMilk , please rebase to the head of the develop branch (1.7.3 version) and follow instructions about code formatting as described here: https://github.com/EmbeddedRPC/erpc/wiki/Contributing (avoid using tabs).
Also, could you point to an example project with mbedOS that we could use for build testing? Thanks.

Hi @MichalPrincNXP,
I rebased with the current head of the develop branch and I reformatted my changes to remove tabs.
You can find example projects using MbedOS here: https://github.com/EmbeddedPlanet/mbed-rpc

Hi @AGlass0fMilk,
your pull request looks good. We prefer the PR integration into the develop branch first, the main branch should be used for main releases. I have added this note into the https://github.com/EmbeddedRPC/erpc/wiki/Contributing As per this, could you please rebase your PR to the develop branch?
As for the mbedOS app. build testing, this would require certain effort to setup the build environment on our side. Because it is out of our focus now we can accept your PR, supposing you have tested the mbedOS port in your project. Once there are any issues reported to the mbedOS port we will route them to you. Are you OK?
Another way how to ensure mbedOS build testing is the Travis. Would you be able to prepare erpc project .travis.yml update to add an mbedOS erpc app build? This could be done as a separate PR. Thanks.

Hello @AGlass0fMilk , did you have a chance to read my last comment? Thank you.

Hi @MichalPrincNXP. Yes I will rebase soon. This is again relevant to customer projects so I'll be able to devote some more time to it.
I can look into setting up the travis as well.

@MichalPrincNXP I rebased this PR to develop, can you review?

Thank you @AGlass0fMilk for rebasing, your pull request looks good and could be merged.
Once there is any question about mbedOS support it will be routed to you as stated in my previous comment. It would be also good if you could invest time to the Travis update, preparing another pull request.

@AGlass0fMilk , I have missed that the correct name of the added cpp files should be erpc_threading_mbed.cpp (instead of erpc_port_mbed.cpp) to be aligned with other port layer files naming. Just note, that I will do the renaming.
Any progress on the Travis?
Thanks.


winget not found if connected via ssh

I am thrilled about winget, that seems to be the perfect tool to keep e.g. python installations uptodate ! Way to go!
I have a problem using winget remotely. I installed and enabled openssh on some Windows 10 machines, latest patches applied. I can login via remote desktop and everything is fine. Sometimes, particularly on lower bandwidth connections I prefer to login to those machines via ssh. On those connections I am not able to run winget.
For both logins, via remote desktop and via ssh
where winget

resolves to the same location.
path seems to be identical in both cases.
What am I missing to have winget also with on ssh connections ?
puzzled, Rolf

Duplicate of #513


@parallel=false is Applied to Scenario After the Tag

When applying the @parallel=false tag at the scenario level, it's running for the scenario after the one that's tagged.  Version under test is 1.2.0RC2:
@HelloWorld
Feature: TEMP

    Background:
        * def sleep = function(millis){ java.lang.Thread.sleep(millis) }

    Scenario: One
        * karate.log('Running test one...')
        * sleep(2500)
        * karate.log('Finishing test one...')

    Scenario: Two
        * karate.log('Running test two...')
        * sleep(2500)
        * karate.log('Finishing test two...')

    Scenario: Three
        * karate.log('Running test three...')
        * sleep(2500)
        * karate.log('Finishing test three...')

    @parallel=false
    Scenario: Four
        * karate.log('Running test four...')
        * sleep(2500)
        * karate.log('Finishing test four...')

    Scenario: Five
        * karate.log('Running test five...')
        * sleep(2500)
        * karate.log('Finishing test five...')

12:55:59.690 [pool-1-thread-3] INFO  com.intuit.karate - Running test three...
12:55:59.690 [pool-1-thread-4] INFO  com.intuit.karate - Running test four...
12:55:59.690 [pool-1-thread-1] INFO  com.intuit.karate - Running test one...
12:55:59.690 [pool-1-thread-2] INFO  com.intuit.karate - Running test two...
12:56:02.213 [pool-1-thread-1] INFO  com.intuit.karate - Finishing test one...
12:56:02.213 [pool-1-thread-4] INFO  com.intuit.karate - Finishing test four...
12:56:02.213 [pool-1-thread-2] INFO  com.intuit.karate - Finishing test two...
12:56:02.213 [pool-1-thread-3] INFO  com.intuit.karate - Finishing test three...
12:56:02.233 [pool-1-thread-5] INFO  com.intuit.karate - Running test five...
12:56:04.740 [pool-1-thread-5] INFO  com.intuit.karate - Finishing test five...

Runner File:
package coding;

import com.intuit.karate.Results;
import com.intuit.karate.Runner;
import static org.junit.jupiter.api.Assertions.*;
import org.junit.jupiter.api.Test;
import net.masterthought.cucumber.Configuration;
import net.masterthought.cucumber.ReportBuilder;
import org.apache.commons.io.FileUtils;
import java.io.File;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;

public class CodingParallelRunner {

    @Test
    public void testParallel() {
        final Results results = Runner.path("classpath:coding")
            .outputCucumberJson(true)
            .outputJunitXml(true)
            .tags("~@ignore", "~@debug", "~@performance")
            .parallel(5);
        generateReport(results.getReportDir(), getClass().getSimpleName());
        assertTrue(results.getFailCount() == 0, results.getErrorMessages());
    }

    public static void generateReport(String karateOutputPath, String className) {
        final Collection<File> jsonFiles = FileUtils.listFiles(new File(karateOutputPath), new String[] { "json" }, true);
        final List<String> jsonPaths = new ArrayList<String>(jsonFiles.size());
        jsonFiles.forEach(file -> jsonPaths.add(file.getAbsolutePath()));
        final Configuration config = new Configuration(new File("target"), className);
        final ReportBuilder reportBuilder = new ReportBuilder(jsonPaths, config);
        reportBuilder.generateReports();
    }

}

@adrian-85 please note that you have to use the Runner API and not the JUnit one. is that the case ?

I believe I am.  Included the runner file contents.

tagging as help wanted as I need time to create a sample project. anyone reading this please feel free to contribute code + fixes

Sample project: https://github.com/J-Harms/karate-parallel-scenario-issue-example/tree/master
While setting this up, I noted this exact problem does not exist in version 1.0.1 in case that is useful at all.

@J-Harms so it must be this change: https://github.com/karatelabs/karate/issues/1608
without digging more - there may be some people who prefer the current behavior. all the info needed for anyone to see which parts of the code need to be tweaked are in the above ticket with commit history. for now, I'd like a second opinion, and ideally a PR.

closing because of inactivity and no one else reporting this. to re-open, please submit a PR


FYI, no action needed: andreika-git-iBom with 3D view of the PCB

Just FYI, maybe a useful feature proposal: 3D view of the PCB
at the moment it's merged into https://github.com/andreika-git/hellen-one/ and right now we are short on time to properly extract it as a separate tool or properly contribute it into the upstread.
https://rusefi.com/docs/ibom/hellen72b-ibom.html

Implementation detail: we reuse a modified version of iBom-template.html

It's just a prerendered image drawn in the background. Nice, but I'd like to some day integrate this.

a 3D assembly view would be so nice and especially useful for electronic beginners! For this beginner-friendly project I've used scripts to generate resistor models with colour bands:

In such 'educational' use cases, the 2D iBOM webview is currently a bit too abstract for beginners and not really necessary of course for experienced tinkerers due to the simplicity of the board.
Together with @Kasbah we've briefly experimented with using the SVG board outline for generating a simple 3D board model in javascript. The component 3D model files could then be loaded separately as needed instead of working with one big STEP file.

Cleaning up unactionable issues.


Only emit  when inside a block

break inside of a while loop doesn't behave like break in a block: it only affects control flow. This PR implements this distinction by only emitting the <blockBreak> intrinsic when the use is directly inside of a block.
Motivation

Correctly compiling uses of break in while loops.
Test plan

See included automated tests.

We have a policy of testing changes to Sorbet against Stripe's codebase before
merging them. I've kicked off a test run for the current PR.  When the build
finishes, I'll share with you whether or how it failed. Thanks!
Stripe employees can see the build results here:
→ https://go/builds/bui_KZCmKQ1MWowxzZ
→ https://go/builds/bui_KZCmAJ4nCj9CCH


Restore Express Routes tests.

Fix #5998.
Whitelist was updated and the test was adjusted for the service's breaking changes. The CLI was already fixed to account for breaking changes.

This checklist is used to make sure that common guidelines for a pull request are followed.

[N/A] The PR has modified HISTORY.rst describing any customer-facing, functional changes. Note that this does not include changes only to help content. (see Modifying change log).

[X] I adhere to the Command Guidelines.

View a preview at https://prompt.ws/r/Azure/azure-cli/6035
This is an experimental preview for @microsoft users.


Update scala 2.13.0 to 2.13.3

Applying this PR will update scala 2.13.0 to 2.13.3. I had to make the bundle class extend scala.annotation.Annotation to make it compile under scala 2.13.1 and higher. Probably because of https://github.com/scala/scala/pull/7546. Also fixed a warning and updated sbt-scoverage to make the build green again.

Coverage decreased (-0.5%) to 94.656% when pulling a065414cb4f3cee632c3fdcf07730df0a820afc9 on Philippus:update/scala-2.13.3 into 155c4ca5596b44cd9855dcca95406c1c19b512a6 on iheartradio:master.

Superseded by https://github.com/iheartradio/ficus/pull/141.


Clicking on  does not respond

<action
  activationType="system"
  arguments="dismiss"
  content=""/>

<action
  activationType="system"
  arguments="dismiss"
  content=""/>

you should consult Microsoft's documentation for that. Many of these arguments provide actions in different statuses or require certain inputs. This plugin just sends the template to the notification service.

I'm closing this issue. If you have any further questions or concerns, please don't hesitate to reach out


playNote with duration option isn't sending a stop note event

I'm having an issue where calling playNote  with the duration option as specified in the readme doesn't appear to send a stop note event. I'm using  MIDI Monitor to monitor the events.
When I run:
midiOut.playNote("Gb2", 10, {duration: 2000, velocity: 0.25});

I only get the one Note On event, there's never a Note Off event:
12:23:27.458	To MIDI Monitor (Untitled)	Note On	1	F♯2	32

System info: chrome 66.0.3359.139 on mac os 10.13.4.
Thanks!

You are right but I can say with 100% confidence that it was working before. When I try it in Opera, it works fine. I'm guessing the problem is upstream in the Chromium codebase. I guess we will have to file a bug there...

I can confirm the issue (Chrome 66.0.3359.139 on OSX)

I just checked and there is indeed a problem in the Chromium codebase. Version 66.0.3359.141 fixes the problem and should be available very soon.
I'll leave this issue open until it is confirmed to be working. If you guys can chime in when it works, that would be useful.

This has been fixed in the Chromium codebase. Closing.


Unable to send Push

I implemented the parse server (currently on localhost) and was able to successfully create an installation object using a dummy app I built. But I am unable to send push notification using GCM thorugh the server. I get the following output when i try to send push
Can not find sender for push type ios, {"where":{"installationId":{"$in":["7790a0dc-a471-491d-8ff0-f7dd8bbc0922","5527b7bf-b8fe-4e69-9f0b-5850960b01e8"]}},"data":{"alert":"Testing message","title":"hello"}}
GCM request and response {"request":{"params":{"priority":"normal","data":{"time":"2016-02-23T06:21:38.830Z","push_id":"82psM58rp9","data":"{\"alert\":\"Testing message\",\"title\":\"hello\"}"}}}}

Found the problem. was using wrong API Key. Sorry guys.


Redux Essentials => Performance and Normalizing data => adding a badge for notifications

When adding a badge for notifications, for the purpose of the course only, we could use !n.new since all notifications are marked as 'read', otherwise the badge doesn't appear. Nothing important but i spent a few minutes trying to see If I had typed something wrong.
const numUnreadNotifications = notifications.filter(n => !n.read).length

This has already been suggested, but is correct as-is: https://github.com/reduxjs/redux/pull/4418#issuecomment-1245749665


Sample landing page code may have error

I believe that there is an error in the sample code provided in the Example of a visual with a landing page section of this page. The first line of the HandleLandingPage function is as follows.
if(!options.dataViews || !options.dataViews.length) { ...
This didn't work for me as the options.dataView.length column is always > 0, even without any columns added (at least in my custom visual). The following code solved this, though.
if(!options.dataViews || !options.dataViews[0].metadata.columns.length) { ...

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

ID: ee1bed41-e6a8-a311-102e-079f5a88bb64
Version Independent ID: 1bcf7398-818f-f65d-805f-8f43bec961d0
Content: Add a landing page to your Power BI visuals - Power BI
Content Source: powerbi-docs/developer/visuals/landing-page.md
Service: powerbi
Sub-service: powerbi-custom-visuals
GitHub Login: @mberdugo
Microsoft Alias: monaberdugo

Thanks for your comment, @dogbite1337. I’ll look into this and get back to you as soon as I can.

Thanks again, @dogbite1337. I updated the code and it should be live in a day or so.


Server messages are not handle by Wave client after reconnect to server

After a reconnect, client can keep sending messages to the server but ack's are not processed by client. They got the Atmosphere client but it seems they are not handle properly by WaveWebSocketClient

Wave protocol connections can't be resumed on following conditions:

On Server reboot -> the client will send wave messages with a seqNumber > 0 but server's will expect a seqNumber = 0;

On http session expiration

On network disconnection (1)

Atmosphere doesn't handle properly error messages (response.sendError) on remote client side, so we can't handle these conditions in the app.
This could be resolved (except 1) sending app-level messages (response.output(myErrorMsg)) and then process them by the Wave protocol connection layer.

Is it possible that in case 1, the server would send an error message and the client would reconnect?

Did you mean "On network disconnection"? in that case, Atmosphere returns a 408 status, we can try to reconnect from the app layer.

Sorry, but I don't understand the issue.
Are wave connections going to be resumed?

These comments apply to the Atmosphere layer limitations (which encapsulates WebSocket/HTTP transports). Hence, in these three situations, the Wave protocol layer should take the responsability to resume the Wave connection. This is not implemented yet, but the SwellRT API provides callbacks to inform apps about when the connection is closed.

Ok, I understand now
Indeed, as a SwellRT user, I expect the Wave protocol reconnecting for me.
I don't know if there is an issue about the forthcoming implementation. Just for reference


Feature: Adding a screenshot functionality. #18

hii @Aryainguz, solved issue #18.

Great work @maadi7


Rename chimera-controller to kubewarde-controller

Also ensure the new CRDs are in place

Thanks for the fixes!


⚠ SkipTheCommericals has degraded performance

In 802b39f, SkipTheCommericals ($STC) experienced degraded performance:

HTTP code: 200
Response time: 2878 ms

Resolved: SkipTheCommericals performance has improved in 03622bf.


Question: would be possible to have source release tarballs without compiled binaries?

I'm looking to package Renderdoc in Clear Linux: https://clearlinux.org/. Clear Linux ships the upstream tarballs as part of the source packages (in the form of SRPMs), but it can't ship upstream tarballs that contain binaries.
The existing source release tarballs are generated directly from Git and contain binary files in the repository for certain 3rdparty libraries.
I know that you already generate compiled tarballs/zips for various platforms (and sign them) as part of the release, would be possible to also generate (and sign) a "clean" source tarball, without the precompiled 3rdparty libraries?

No I don't think I'll provide tarballs like that. Depending on what you class as a binary it shouldn't be hard to strip out the folders you don't want. Most of it is in qrenderdoc/3rdparty, but bear in mind since binaries like the resources/icons and docs screenshots are needed on linux too.

@baldurk: I'm guessing the question is related to the bundling of 3rdparty libraries that commonly are built as separate packages on Linux, and also Windows exe and dll files.
@cmarcelo: I'm not sure we got the stripping 100% correct, but you can find the debian stripped 1.0 tarballs at https://packages.debian.org/source/sid/renderdoc. Let me know of anything that I missed.


Remove -incremental when using -whole-module-optimization

Passing both results in noisy remarks when building from the command line like:
remark: Incremental compilation has been disabled: it is not compatible with whole module optimization

https://forums.swift.org/t/incremental-compilation-has-been-disabled-it-is-not-compatible-with-whole-module-optimization/66092

a cherry pick for this too https://github.com/apple/swift-llbuild/pull/885

@swift-ci please smoke test

Looks like there are tests you will have to modify too.

@swift-ci please smoke test

@swift-ci please test Windows platform

Green now! https://github.com/apple/swift-llbuild/pull/885 too

@dmbryson I don't have commit access on this repo, can you land this and potentially review https://github.com/apple/swift-llbuild/pull/885 ?

Thanks!


When does resvg::backend_raqote::render_to_image fails?

I'd like to know when does resvg::backend_raqote::render_to_image returns None. As specified in the docs:

[resvg::Render::render_image] Returns None if an image allocation failed.

However, browsing through your code, it looks like resvg::backend_raqote::render_to_image  only returns None when there's a problem with the svg input, for example, a "0 0 0 0" viewBox. Is that so?
Can I assume it's going to return Some(_) if the svg data is validated previously?

Yes, raqote doesn't support failable allocations, but other backend do.

a "0 0 0 0" viewBox

Then Tree::from_str will return an error.
render_image returns None only when it failed to allocate the root canvas. So in case of raqote it would never happen.

Great! Thanks for the help!


Support for generic cells and headers

This allow you to use multiple different cell types within a sectioned recycler view.

@jaychang0917 Just curious if you have had the opportunity to look this over?

@jaychang0917 Is anyone still maintaining this repo?

you can do a fork.. in the worst case scenario. I think he is not responding because he is under a lot of work


Warn about leaving the page when the script is running actions after pressing "Done"

Similarly to when the script warns about closing or leaving the page when in the second menu, ideally the script should also warn about leaving the page when there are actions/edits still to make. I sometimes am a bit hasty when clicking off after running the script, so ensuring that everything finishes before I click of is useful for me. Perhaps it might be worth also warning about leaving the page when an error has occurred too (so to ensure that the person running the script sees the error and corrects for it if needed). I would include when a user is not blocked as part of the definition of error, as its best to ensure that the person running the script sees any difference in what they wanted before leaving the page. If the going back is intentional then all it takes is to press "Leave page" or similar which doesn't take too long.

Not sure exactly how to implement it right now, but my general idea is that each call to one of the long-running functions would add an entry to a "dirty" list and remove that entry/set it to false/whatever when it finished, and if someone tries to leave the page the script intercepts the close and checks whether that list has any "dirty" entries.

Not sure exactly how to implement it right now, but my general idea is that each call to one of the long-running functions would add an entry to a "dirty" list and remove that entry/set it to false/whatever when it finished, and if someone tries to leave the page the script intercepts the close and checks whether that list has any "dirty" entries.

Fixed in v2.5.0.


Could not find undo redo icons

Is there any chance to see soon an undo and a redo icons in the list of provided icons ? If not do you have any pointer to a svg source ?

Hi @padewitte!
We provide the "reply" icon which is actually used across Microsoft Office properties:

You can see it in the Outlook Web App for the undo metaphor:

...and the Word app for both undo and redo:

For redo, you can simply flip the icon along the vertical axis to where it points in the opposite direction. Let us know if you have any questions!


Ignore slug updates

Option to ignore slug updates by replacing the slug with the slug of existing product.
reason: https://github.com/sphereio/sphere-product-import/issues/48

@hajoeichler @emmenko please have a look.. urgent requirement for Carhartt


[Epic] Pigeon Cross-Chain & Cross DEX Order Routing System

Can Valiators find ultimate path for any swap?  What would be required?

Closed.


Regarding external minion detection.

I've come to an idea to record the headers for connections on external minions.
Don't ask where I found them xD
Here's me and the first bot connecting.
player header
{
  host: '<IP_ADDRESS>:701',
  connection: 'Upgrade',
  pragma: 'no-cache',
  'cache-control': 'no-cache',
  upgrade: 'websocket',
  origin: 'http://juniormgar.esy.es',
  'sec-websocket-version': '13',
  'user-agent': 'Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36',
  dnt: '1',
  'accept-encoding': 'gzip, deflate, sdch',
  'accept-language': 'sr-RS,sr;q=0.8,en-US;q=0.6,en;q=0.4,hr;q=0.2,ru;q=0.2',
  'sec-websocket-key': '7IZqimqcrH235J2wbI2+EA==',
  'sec-websocket-extensions': 'permessage-deflate; client_max_window_bits'
}
minion header
{
  host: '<IP_ADDRESS>:701',
  connection: 'Upgrade',
  upgrade: 'websocket',
  origin: 'http://agar.io',
  'sec-websocket-version': '13',
  'user-agent': 'ogar-feeder-bot',
  'sec-websocket-key': 'MTMtMTQ4MzgwMTU2ODc5MA==',
  'sec-websocket-extensions': 'permessage-deflate; client_max_window_bits'
}

As you might see, a minion header has a lot less info than a player header. Most notably, user-agent. On minion's header it's 'ogar-feeder-bot', while on player's header it's a standard agent version.
Since a lot of current minion versions use a modified version of ogar-feeder-bot, this poses for a large detection risk.
A regular minion user won't even notice that there's a config for changing the agent nor will know how to see the agent for his browser.
Perhaps we should use this in our power until they find out for this?

@Luka967 In ogar feeder bot there is a configuration for the user agent, I dont think blocking bots based on the user agent they have is such a good idea cause they can always just change it to look like its from a regular person

@Megabyte918 True for the config, but many users won't even change it. What Gimmo gave us is a validator using reverse proxying (in this case the validator is nginx). It's basically overriding every connection attempt and it must go through what nginx was told to do. A diagram for the connection which should looks like this:
connection -> connection attempt to server -> nginx (validator) -> server

We can add two configs, one for checking for the missing headers you listed, and the second one for checking the user-agent. I'll try a quick implementation to see if it works.

It's working on every agar and agar clone I go to and blocks off every minion that connects.
However I've noticed that even though minions are checked, nothing further is done to protect the server against them.
PlayerTracker.js, line 295
if (!this.isMinion || !this.isMi) {

It'll always evaluate as true and would update the view nodes.
For example, if it's a server minion; false || true = false
An AND (&&) operator is needed.
Also, why not just block receiving all packets if it's a minion?

 It's very easy to add all this headers. Also all operations with them on node.js are at least 10 times slower then on nginx , that's why it's used.  Using nginx we change only settings independent of our software structure, them can be changed easily, and don't touch main work.

Should be fixed now.


Proposal: enable single_line_empty_body rule

Using more and more constructor property promotion with PHP 8.0 now, I more often end up having empty contructor bodies and the current ruleset requires to always have the opening and closing curly braces in new lines.
Might be personal preference, but my suggestion would be to switch on the single_line_empty_body rule to allow for a more compact way of writing this

Empty body of class, interface, trait, enum or function must be abbreviated as {} and placed on the same line as the previous symbol, separated by a single space.

https://cs.symfony.com/doc/rules/basic/single_line_empty_body.html
Before
class MyService {
	public function __construct(
		private IURLGenerator $urlGenerator,
	) {
	}
}

After
class MyService {
	public function __construct(
		private IURLGenerator $urlGenerator,
	) {}
}

What do you think @ChristophWurst @nickvergessen @come-nc to pick some people ;)

Yeah, doing that one wrong very often as well, also in all the stub-files
I'd be okay.
Can we allow both patterns? Or would you break/disallow {\n} ?

I couldn't find a way to allow both but prefer this one.

I’m used to the "Before" state and I do that on purpose. I like having the closing tag always on its own line and not having to change that when removing the last line in a constructor.
It’s all about clean diff for me, I like when diffs look like:
diff --git a/lib/private/Security/Bruteforce/Backend/DatabaseBackend.php b/lib/private/Security/Bruteforce/Backend/DatabaseBackend.php
index 04f2a7b6397..8d6726bea6e 100644
--- a/lib/private/Security/Bruteforce/Backend/DatabaseBackend.php
+++ b/lib/private/Security/Bruteforce/Backend/DatabaseBackend.php
@@ -33,6 +33,7 @@ class DatabaseBackend implements IBackend {
        public function __construct(
                private IDBConnection $db,
        ) {
+               $this->thing = "init";
        }

        /**

And this is less clean:
diff --git a/lib/private/Security/Bruteforce/Backend/DatabaseBackend.php b/lib/private/Security/Bruteforce/Backend/DatabaseBackend.php
index 1304a36af47..8d6726bea6e 100644
--- a/lib/private/Security/Bruteforce/Backend/DatabaseBackend.php
+++ b/lib/private/Security/Bruteforce/Backend/DatabaseBackend.php
@@ -32,7 +32,9 @@ class DatabaseBackend implements IBackend {

        public function __construct(
                private IDBConnection $db,
-       ) {}
+       ) {
+               $this->thing = "init";
+       }

        /**
         * {@inheritDoc}

What I would be more interested in is https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/6325 , for the same reason of having a clean diff and a clean git blame as well.
All that said, I’m not a strong no on this, if it pleases people and is handled by the cs-fixer I will change habits, I have the pre-commit tool setup anyway.
(Also we’ll need https://github.com/nextcloud/server/pull/39271 first before doing other changes to codestyle config)

I'm fine with either. Single line makes the code more compact but I also get @come-nc's idea of clean diffs for removed/added constructor statements.


Background mode notifications not receiving data in latest Firebase Cloud Messaging APIs and SDKs

Bug Report
As noted in (https://github.com/havesource/cordova-plugin-push/issues/257), Firebase Cloud Messaging is obsoleting the old way of sending notifications and as of June 2024 will require an upgrade to v1 (https://firebase.google.com/docs/cloud-messaging/migrate-v1)
The documentation for this plugin states that in order for the on('notification') handler to be triggered, one must omit the "data" section of the message payload and instead use the "notifications" field. This is the only way to handle custom data to be passed to an application when it is in background mode and receives a notification.
My app works correctly when used with the legacy endpoint for FCM (https://fcm.googleapis.com/fcm/send), and receives custom data used to process the notification. When using the new FCM endpoint and associated new auth methodology (e.g. https://fcm.googleapis.com/v1/projects/myproject-b5ae1/messages:send), the app notifications correctly receive the custom data when the app gets a notification in foreground, but NOT when the app is in background.
Google's documentation says the message payload should look more or less as follows:
{
  "message": {
    "topic": "news", OR ("token": < A Device Token >,)
    "notification": {
      "title": "Breaking News",
      "body": "New news story available."
    },
    "data": {
      "story_id": "story_12345"
    }
  }
}

Whereas this documentation (https://github.com/havesource/cordova-plugin-push/blob/master/docs/PAYLOAD.md#notification-vs-data-payloads)_ says that to trigger the on('notification') from a background notification one should effectively do this:
{
   "message": {
    "topic": "news", (OR "token": < A Device Token >,)
    "data": {
      "title": "Test Notification",
      "body": "This offer expires at 11:30 or whatever",
      "notId": 10,
      "surveyID": "ewtawgreg-gragrag-rgarhthgbad"
  }
}

thereby omitting the "data" field of the message.
In the old FCM, this works. In the new FCM, not only does the on('notification') not get triggered, but the notification displayed to the user has no title or body (because the "notifications" were not specified.)
Therefore it seems impossible to receive custom data from a background notification.
Has anyone successfully done this?
Expected Behaviour
Background notifications should invoke the on('notification') handler
Actual Behaviour
Background notifications, when used with the latest FCM V1 HTTP APi, do not raise the on('notification') handler
Reproduce Scenario (including but not limited to)
Steps to Reproduce
Platform and Version (eg. Android 5.0 or iOS 9.2.1)
(Android) Device Vendor (e.g. Samsung, HTC, Sony...)
cordova info Printout

Cordova Packages:
cli: 11.1.0
    common: 4.1.0
    create: 4.1.0
    lib: 11.1.0
        common: 4.1.0
        fetch: 3.1.0
        serve: 4.0.1

Project Installed Platforms:
android: 10.1.2
browser: 5.0.4
ios: 6.3.0

Project Installed Plugins:
@havesource/cordova-plugin-push: 4.0.0-dev.0
branch-cordova-sdk: 5.1.0
cordova-clipboard: 1.3.0
cordova-plugin-add-swift-support: 2.0.2
cordova-plugin-androidx-adapter: 1.1.3
cordova-plugin-androidx: 3.0.0
cordova-plugin-app-version: 0.1.12
cordova-plugin-camera-preview: 0.11.1
cordova-plugin-camera: 6.0.1-dev
cordova-plugin-chooser: 1.3.1
cordova-plugin-contacts: 3.0.1
cordova-plugin-device: 2.0.3
cordova-plugin-email-composer: 0.8.15
cordova-plugin-fbsdk: 4.0.2
cordova-plugin-file: 7.0.0
cordova-plugin-inappbrowser: 4.1.0
cordova-plugin-ionic-keyboard: 2.2.0
cordova-plugin-ionic-webview: 5.0.0
cordova-plugin-jitsi-meet-sdk: 4.0.9
cordova-plugin-network-information: 3.0.0
cordova-plugin-purchase: 13.10.0
cordova-plugin-sign-in-with-apple: 0.0.1
cordova-plugin-splashscreen: 6.0.2
cordova-plugin-x-socialsharing: 6.0.4
cordova-sms-plugin: 1.0.3
cordova-support-android-plugin: 1.0.1
es6-promise-plugin: 4.2.2
phonegap-plugin-barcodescanner: 8.1.1-dev

Environment:
OS: macOS 14.3 (23D56) (darwin 23.3.0) x64
Node: v14.15.4
npm: 6.14.10

android Environment:
android:

ERROR: Command failed with exit code 1: avdmanager list target
Exception in thread "main" java.lang.NoClassDefFoundError: javax/xml/bind/annotation/XmlSchema
at com.android.repository.api.SchemaModule$SchemaModuleVersion.(SchemaModule.java:156)
at com.android.repository.api.SchemaModule.(SchemaModule.java:75)
at com.android.sdklib.repository.AndroidSdkHandler.(AndroidSdkHandler.java:81)
at com.android.sdklib.tool.AvdManagerCli.run(AvdManagerCli.java:213)
at com.android.sdklib.tool.AvdManagerCli.main(AvdManagerCli.java:200)
Caused by: java.lang.ClassNotFoundException: javax.xml.bind.annotation.XmlSchema
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:581)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
... 5 more
ios Environment:
xcodebuild:

Xcode 15.1
Build version 15C65
Project Setting Files:
config.xml:

So you can post pictures to your Readings chat windows

So you can post pictures to your Readings chat windows

So you can post pictures to your Readings chat windows

So you can save and post pictures to your Readings chat windows

When you invite people to Readings, we'll upload their contact information to our servers so we can send them Reading Invitations on your behalf.

fb
instagram
twitter

<branch-config>
         <OMITTED>
</branch-config>
<engine name="browser" spec="5.0.4" />

package.json:

--- Start of Cordova JSON Snippet ---
{
"plugins": {
"cordova-plugin-email-composer": {},
"cordova-clipboard": {},
"cordova-plugin-camera-preview": {
"ANDROID_SUPPORT_LIBRARY_VERSION": "26+"
},
"cordova-plugin-sign-in-with-apple": {},
"cordova-plugin-inappbrowser": {},
"cordova-plugin-app-version": {},
"cordova-plugin-device": {},
"cordova-plugin-androidx-adapter": {},
"cordova-plugin-chooser": {},
"cordova-plugin-androidx": {},
"cordova-plugin-jitsi-meet-sdk": {},
"cordova-plugin-network-information": {},
"cordova-plugin-ionic-keyboard": {},
"cordova-plugin-file": {
"ANDROIDX_WEBKIT_VERSION": "1.4.0"
},
"cordova-plugin-x-socialsharing": {},
"cordova-sms-plugin": {},
"cordova-plugin-contacts": {},
"branch-cordova-sdk": {},
"cordova-plugin-fbsdk": {
"APP_ID": "",
"APP_NAME": "",
"FACEBOOK_ADVERTISER_ID_COLLECTION": "false",
"CLIENT_TOKEN": "",
"FACEBOOK_URL_SCHEME_SUFFIX": " ",
"OTHER_APP_SCHEMES": " ",
"FACEBOOK_AUTO_LOG_APP_EVENTS": "true",
"FACEBOOK_HYBRID_APP_EVENTS": "false",
"FACEBOOK_ANDROID_SDK_VERSION": "14.1.1",
"FACEBOOK_IOS_SDK_VERSION": "14.1.0",
"FACEBOOK_BROWSER_SDK_VERSION": "v14.0"
},
"cordova-plugin-camera": {
"ANDROIDX_CORE_VERSION": "1.6.+"
},
"@havesource/cordova-plugin-push": {
"ANDROIDX_CORE_VERSION": "1.6.+",
"FCM_VERSION": "23.+",
"IOS_FIREBASE_MESSAGING_VERSION": "~> 8.1.1"
},
"cordova-plugin-purchase": {},
"cordova-plugin-ionic-webview": {},
"cordova-plugin-splashscreen": {},
"phonegap-plugin-barcodescanner": {
"ANDROID_SUPPORT_V4_VERSION": "27.+"
}
},
"platforms": [
"browser",
"android"
]
}
--- End of Cordova JSON Snippet ---
Sample Push Data Payload
Sample Code that illustrates the problem
Logs taken while reproducing problem

Thanks @ksch10bob. That does not work for me. When I add notId and click_action to my payload, I get an error like this:
"error": {
    "code": 400,
    "message": "Invalid JSON payload received. Unknown name "notId" at 'message.notification': Cannot find field.\nInvalid JSON payload received. Unknown name "click_action" at 'message.notification': Cannot find field.",
    ...
}

To confirm, are you using the NEW FIREBASE messaging service? i.e. you are sending to
https://fcm.googleapis.com/v1/projects/<your project>/messages:send
and not:
https://fcm.googleapis.com/fcm/send
The new API has a different payload structure, and so far as I can tell does not allow the parameters the documentation for this plugin suggests adding.
If you are using the new service, are you sending to a "topic" or a "token"? (the new payload requires a "message" field with that specified, e.g.
 "message": {
    "topic": "news",
   ...

OR

 "message": {
   "token": <A Device Token>,
...

Thanks for your help and any further details.

@viking2917
We do not call the FCM endpoints directly.
We use AWS SNS  and a "platform" for FCM (thats basically a container for the authentication.key) You can create a FCM platform with the new servicekey.json  or the old apikey.
The documentation of AWS SNS states, that they use the new FCM endpoints, when you create the platform with the servicekey.json.
But AWS SNS builds the REAL payload itself, we do not know how it looks like.
The FCM payload we give to AWS SNS has this structure
NO notId in the notification Object
{
    "notification": {
        "title": "Test Notification",
        "body": "This offer expires at 11:30 or whatever",
        "click_action": "com.adobe.phonegap.push.background.MESSAGING_EVENT"
     },
    "data": {
        "customData": "foobar"
    }
}

We think AWS SNS handles the wrapping of this payload into the new message Object that contains notification  and data as keys.
Sorry for not being specific enough about our exakt payload and Infrastructure.
My suggestion to you is just to add the key value pair   "click_action": "com.adobe.phonegap.push.background.MESSAGING_EVENT"  to the notification Object.

@ksch10bob. Thanks for your help!
I have the click_action on the data object. When the app is in background, the app opens when the alert is tapped, but the on() notification function does not fire, so no chance to handle the custom data. If I put the click_action on the data{} field, or for that matter on the top level message{} object, the post to FCM service returns an invalid field error. So I think it has to go on the data{} field and that is what I am trying.
Its good to know it works via SNS. Maybe I will try to set that up and then wireshark the payload or something. Just need to find the right magic dance :)
Will post here if/when I figure it out :)

@viking2917
i just found this:
https://firebase.google.com/docs/cloud-messaging/concept-options#example-notification-message-with-platform-specific-delivery-options
{
  "message":{
     "token":"bk3RNwTe3H0:CI2k_HHwgIpoDKCIZvvDMExUdFQ3P1...",
     "notification":{
       "title":"Match update",
       "body":"Arsenal goal in added time, score is now 3-0"
     },
     "android":{
       "notification"{
         "click_action":"com.adobe.phonegap.push.background.MESSAGING_EVENT"
       }
     }
   }
 }

The click_action key has to be wrapped with the platform specific android key and the notification key
Hope that helps

tried that too already :)

@ksch10bob found it.
You are correct, one does need the android section in the payload.
 "android":{
       "notification"{
         "click_action":"com.adobe.phonegap.push.background.MESSAGING_EVENT"
       }
 }

I had done that, but I also just discovered that somehow, not sure how, the following lines had been deleted from my AndroidManifest.xml, so the app would not start in background:
 <activity android:name="com.adobe.phonegap.push.BackgroundHandlerActivity" android:exported="true" android:permission="${applicationId}.permission.BackgroundHandlerActivity">
    <intent-filter>
        <action android:name="com.adobe.phonegap.push.background.MESSAGING_EVENT"/>
        <category android:name="android.intent.category.DEFAULT" />
    </intent-filter>
</activity>

(I found this by running 'adb logcat' while the background notification was happening and watching for errors, in case helpful to anyone.)
For anyone else with this issue, my full payload looks like:
{
    message: {
	token: <devicetoken>m
	notification: {
	    title: "title",
	    body: "body"
	},
	android: {
	    notification: {
		click_action:  "com.adobe.phonegap.push.background.MESSAGING_EVENT"
	    }
	},
	data: {
	    'customdata': 'foo',
	    notId: <an integer>,
	    etc
	}
    }
}

(I am passing notId, as per documentation, although in my experiments it does not seem to be required)
Thank you @ksch10bob !!!

@viking2917 We do not call the FCM endpoints directly. We use AWS SNS and a "platform" for FCM (thats basically a container for the authentication.key) You can create a FCM platform with the new servicekey.json or the old apikey. The documentation of AWS SNS states, that they use the new FCM service, when you create the platform with the servicekey.json. For every platform Container we create so called "endpoints" with a devicetoken. So an endpoint represents a devicetoken. We then publish messages to these endpoints. But AWS SNS builds the real payload itself, we do not know how it looks like.
The FCM payload we give to AWS SNS has this structure NO notId in the notification Object
{
    "notification": {
        "title": "Test Notification",
        "body": "This offer expires at 11:30 or whatever",
        "click_action": "com.adobe.phonegap.push.background.MESSAGING_EVENT"
     },
    "data": {
        "customData": "foobar"
    }
}

We think AWS SNS handles the wrapping of this payload into the new message Object that contains notification and data as keys.
Sorry for not being specific enough about our exakt payload and Infrastructure. Maybe AWS SNS put the click_action into the data Object Did you try to add the key value pair "click_action": "com.adobe.phonegap.push.background.MESSAGING_EVENT" to the data Object?

Sorry to highlight this closed issue, but we are using SNS also, and I was wondering how your experience was, switching from the old apikey, to the new json method of auth. Was it painless?

@sithwarrior
@ksch10bob may have more SNS-specific info. My server side is in PHP and I found this StackOverflow answer worked pretty much as-is for me, in converting to the new API: https://stackoverflow.com/a/75482555. May be helpful.

Hi @sithwarrior
we did not have any problems at all.


[question] StoreKit: alternative to recepit validation?

Sorry if this is offtopic here, I just could not find any community forum link and here it only offers a bug report template. So I want to ask a question, not to report a bug.
I was using validateReceiptIos return value to obtain certain things such as the expiration date.
Now with SK2 there are no receipts. Is there a supported way of obtaining the transaction-related metadata similar to how the response of receipt validation worked? I could not find any new transaction-related getter-like methods in the api. And although I am suspicious that verificationResultIOS could do this for me, I just dont know how to read the data from it (seems like base64-encoded ES256).
Thanks!

hello, did you find a solution ?


Revert "remove max_tokens from the official version of gpt4-turbo"

This reverts commit dd4648ed9a803568b839e2510ca01cf7f1c6f740.
The azure - gpt-4-turbo-2024-04-09 model still requires the max_tokens parameter,
so it doesn't work anymore since I updated to v2.12.3.
I think it is imprecise to simply determine whether the preview string is included,
and I hope to revert this commit until there is a more precise way to determine it.

This reverts commit dd4648e.
The azure - gpt-4-turbo-2024-04-09 model still requires the max_tokens parameter, so it doesn't work anymore since I updated to v2.12.3.
I think it is imprecise to simply determine whether the preview string is included, and I hope to revert this commit until there is a more precise way to determine it.

As you already know, the latest big version of nextchat will refactor users' model entities and provider entities, and at that time, nextchat will support the configuration of max_tokens parameters for any provider's model, currently, you can include this feature in your project, in the near future, the new big version of nextchat will be better for chat


Need help on multi-drop communication using OSDP

Hi,
We have 3 card readers multi-dropped(in the order 1,2,3) having different address. We are using the below code for OSDP communication. It works fine when all the 3 card readers are up and running. If one of the in-between card reader like Card reader with device address 2 is switched off, we are not able to get the response from any of the reader. The event triggered for device connection status change-online or offline is also not coming for rest of the card readers(1 and 3 in this case).
Please help on this...
string IPAddr = "<IP_ADDRESS>";
int port = 965;
int baudRate = 9600;
byte deviceAddress1 = byte.Parse("01");
byte deviceAddress2 = byte.Parse("02");
byte deviceAddress3 = byte.Parse("03");
var panel = new ControlPanel();
panel.ConnectionStatusChanged += (_, eventArgs) =>
{
Console.WriteLine("Device with address:" + eventArgs.Address + " is " + (eventArgs.IsConnected ? "Online" : "Offline"));
};
_connectionId = panel.StartConnection(new TcpClientOsdpConnection(IPAddr, port, baudRate));
panel.AddDevice(_connectionId, deviceAddress1, true, true);
panel.AddDevice(_connectionId, deviceAddress2, true, true);
panel.AddDevice(_connectionId, deviceAddress3, true, true);
while(true)
{
panel.IsOnline(_connectionId, deviceAddress1);
System.Threading.Thread.Sleep(100);
panel.IsOnline(_connectionId, deviceAddress2);
System.Threading.Thread.Sleep(100);
panel.IsOnline(_connectionId, deviceAddress3);
System.Threading.Thread.Sleep(100);
}

I made some changes in 2.1.6 that should help with your issue.

Closing since there has been no response.

Hi,
We are using multiple devices multi-dropped and connected over RS-485.
Serial to Ethernet converter that we are using is MOXA NPort 6650-16
With the latest 2.1.6, I am still facing the issue. If among the 3 multi-dropped devices, one of the device is switched off, we are not able to get response from any of the other devices
Can you please check this?


Remove errors that contain matching strings

Adds a user-editable array of strings which dictate what lines to omit from final error report.
For example:
removeLinesContaining: ['@angular', 'zone.js']
will remove useless error back-traces like this:
webpack:///~/@angular/core/@angular/core/testing.es5.js:105:0 <- src/test.ts:16390:29
onInvoke@webpack:///~/zone.js/dist/proxy.js:76:0 <- src/test.ts:95814:47
drainMicroTaskQueue@webpack:///~/zone.js/dist/zone.js:611:0 <- src/polyfills.ts:1766:28

Good riddance!
This PR does not have appropriate tests written. If you think this enhancement to the project is worthwhile, I will write the tests and resubmit, including whatever recommendations/suggestions you have.

Coverage decreased (-15.07%) to 84.932% when pulling 3dca56a3b0744d4556af3ca8cd8a645f06a6e570 on whyboris:removelinescontaining into 68da8261defe424c4ecf7805034f2de778c06d96 on dgarlitt:master.

I recommend closing this PR in lieu of https://github.com/dgarlitt/karma-nyan-reporter/pull/33


Select last element from a list

As you can read on the title i want to only use the last element from a list but i don't know how to do it can you help me?

You can do <LIST[-1]> to get the last one, <LIST[-2]> to get the one before etc.


minecraft:damage_sensor is missing list of "cause" types

The minecraft:damage_sensor is missing a list of documented "cause" types and it only specifies the default value is none.
However, a list of known types by the community that should probably be tested and documented include as provided.
`

all |
-- | --
anvil |
block_explosion |
charging |
contact |
drowning |
entity_attack |
entity_explosion |
fall |
falling_block |
fire |
fire_tick |
fireworks |
fly_into_wall |
freezing |
lava |
lightning |
magic |
magma |
none |
override |
piston |
projectile |
stalactite |
stalagmite |
starve |
suffocation |
suicide |
temperature |
thorns |
void |
wither

`
There may be others that are undocumented that should probably be looked into,
an example of an undocumented one that doesn't exist in the vanilla examples is "player"
"minecraft:damage_sensor": {
  "triggers": {
    "cause": "fall",
    "deals_damage": true,
    "damage_modifier": -20
  }
}

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

ID: 9508d013-e181-fe37-cd9f-c1ee229b1575
Version Independent ID: a8a78e2a-3fb7-6a67-2e44-76e6346d0c38
Content: Entity Documentation - minecraft:damage_sensor
Content Source: creator/Reference/Content/EntityReference/Examples/EntityComponents/minecraftComponent_damage_sensor.md
Product: gaming
GitHub Login: @v-josjones
Microsoft Alias: v-josjones

Relates to #98...?

Yeah, I guess though since they said it was addressed and it wasn't in the documentation, I figured it may have to be reopened.

Information for damage sensor is located in the Addon Reference documentation located here: Addons Documentation - Entity List
Will add the information to damage sensor, and other damage related docs that call for a damage type.

That table is not very helpful since it is not clear what kinds of damage have those causes.
Like, when would a damage sensor with cause none trigger? What about override? Or suicide? Is temperature death by powder snow freezing, or snowman melting in warm biomes? Or neither?


Update Network-Controller.md

Changed the link for "Network Controller cmdlets"

@AnirbanPaul  Thank you!


Hyprland crashes when in need for hyprpm update

It's already happened multiple times to me that hyprland crashed on reload when hyprpm needed updates, which is especially annoying since I have hyprpm reload as exec-once in my config (ergo, once it crashes once I can't just restart it and fix the issue)
Not sure how to debug this.
hyprlandCrashReport309844.txt
Also, was crashing on startup now too, but no update was needed. I had to comment that line in my config
hyprlandCrashReport2719.txt

couple things:

hyprpm lives in hyprland not -plugins
dupe of https://github.com/hyprwm/Hyprland/issues/5443