Communication not happening between scala stream collector and javascript tracker.

I am using slowplow, basic setup and configuration of snowplow done in the local server(ubuntu),
collector(i am using scala Stream collector) installation and configuration completed,
1.In the tracker section(i am using javaScript tracker), i am confused that what should be their "MY-COLLECTOR-URI"?
2.How the communication will happen between scala Stream collector and javaScript tracker?
3. Where the response of tracker will be stored in the scala Stream collector?
Please help us..

Hi, please direct support requests to our forums:
http://discourse.snowplowanalytics.com/


Upgrade to six==1.12.0

Description
Can Halo be upgraded to use six version 1.12.0? The tensorflow pip package depends on 1.12.0, making it completely incompatible with halo.

Tested on Ubuntu 18.04 with six 1.12.0, seems to be compatible

@cSchubes Certainly! Would you like to raise the PR for it? Do make sure the test cases pass.
Also, apologies for late replies. I'm in the middle of switching roles, hence the delay.

Output from running python -m unittest test_halo:
/home/carson/tsl/halo/tests/test_halo.py:518: DeprecationWarning: Please use assertEqual instead.
  self.assertEquals("bounce", spinner.animation)
./home/carson/anaconda3/envs/raven/lib/python3.6/unittest/suite.py:107: ResourceWarning: unclosed file <_io.TextIOWrapper name='/home/carson/tsl/halo/tests/test.txt' mode='w+' encoding='UTF-8'>
  for index, test in enumerate(self):
......../home/carson/tsl/halo/tests/test_halo.py:339: DeprecationWarning: Please use assertRegex instead.
  self.assertRegexpMatches(output[-1], pattern)
........./home/carson/tsl/halo/tests/test_halo.py:527: ResourceWarning: unclosed file <_io.TextIOWrapper name='/home/carson/tsl/halo/tests/test.txt' mode='w+' encoding='UTF-8'>
  self._stream = io.open(self._stream_file, 'w+')  # reset stream
......../home/carson/tsl/halo/tests/test_halo.py:104: ResourceWarning: unclosed file <_io.TextIOWrapper name='/home/carson/tsl/halo/tests/test.txt' mode='w+' encoding='UTF-8'>
  self._stream = io.open(self._stream_file, 'w+')
....
----------------------------------------------------------------------
Ran 32 tests in 21.525s

OK

will make PR now!


generate wrong report ver 6.0.0

Describe the bug
It show CVE for lib(io.jsonwebtoken:jjwt:0.9.1) but when I go to actual CVE it show ruby and another thing, but when doing report with ver 5.3.2 there is not CVE for json lib
Version of dependency-check used
The problem occurs using version 6.0.0 of the ____ (maven plugin,)
Log file
jjwt-0.9.1.jar | cpe:2.3:a:json_project:json:0.9.1:::::::* |<EMAIL_ADDRESS>| HIGH | 2 | High | 28
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
The same result as with ver 5.3.2
Additional context
Add any other context about the problem here.

Not a bug, but a false positive.
see also #2792 and #2794

I just tested this with 6.0.2 and it appears to be resolved. I had contacted the NVD about a few of the vendor names related to json_project - so that likely resolved this one.


UI changes to support feedex result limiting.

Uses the results_limited flag from support-api to display more
accurate response counts if the user’s query has been truncated due to
too many results. Also displays useful information on the last
available page.
Before:

After:

Needs pointers from @fofr and Gavan on layout and copy.

The way I'd imagined this working was:

Using the copy "Over 10,000 responses"
Showing a message about finding more responses when a user reaches the end of the list, ie on the last page.

Updated to show useful copy on the last page only, and changed "Most recent" to "Over".


test(dpg): add e2e collection property

update Models-Cadl.cadl to add collection model properties
regen the project

part of #2453
Description
Add your description here!
Checklist
To ensure a quick review and merge, please ensure:

[ ] The PR has a understandable title and description explaining the why and what.
[ ] The PR is opened in draft if not ready for review yet.

If opened in draft, please allocate sufficient time (24 hours) after moving out of draft for review

[ ] The branch is recent enough to not have merge conflicts upon creation.

Ready to Land?

[ ] Build is completely green

Submissions with test failures require tracking issue and approval of a CODEOWNER

[ ] At least one +1 review by a CODEOWNER
[ ] All -1 reviews are confirmed resolved by the reviewer

Override/Marking reviews stale must be discussed with CODEOWNERS first

Two problems found:

It looks like we'll remove unused sub-model.
Input/Output usage information is missing, so that the generated codes of input/output model are not correct.


Feat:Adding password instructions at register page

Describe the feature
User should be told what type of password one has to make (more points are required in addition to 'password without special characters'), as if a wrong format password is made the user is not prompted
if the password does not satisfy the requirement , the website should show error message
@SiddharthBahuguna  Kindly assign this issue to me
Add ScreenShots

Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

I have assigned you.You can start working on it.
On Fri, 17 May 2024 at 02:00, rashiranjan22 @.***>
wrote:

Describe the feature
User should be told what type of password one has to make (more points are
required in addition to 'password without special characters'), as if a
wrong format password is made the user is not prompted
if the password does not satisfy the requirement , the website should show
error message
@SiddharthBahuguna https://github.com/SiddharthBahuguna Kindly assign
this issue to me
Add ScreenShots
issue.jpg (view on web)
https://github.com/SiddharthBahuguna/NEWS-AGGREGATOR-PROJECT/assets/117447090/a861b912-f2de-4d33-a8cb-65a661af1f78
Record

I agree to follow this project's Code of Conduct
I'm a GSSOC'24 contributor
I want to work on this issue

—
Reply to this email directly, view it on GitHub
https://github.com/SiddharthBahuguna/NEWS-AGGREGATOR-PROJECT/issues/46,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A24XZ7LNF2FPV2PJJ3UKQ23ZCUJPZAVCNFSM6AAAAABH25IB46VHI2DSMVQWIX3LMV43ASLTON2WKOZSGMYDCMRYGY2DKNQ
.
You are receiving this because you were mentioned.Message ID:
@.***>

thank you! ,
On Fri, May 17, 2024 at 11:05 PM SiddharthBahuguna @.***>
wrote:

I have assigned you.You can start working on it.
On Fri, 17 May 2024 at 02:00, rashiranjan22 @.***>
wrote:

Describe the feature
User should be told what type of password one has to make (more points
are
required in addition to 'password without special characters'), as if a
wrong format password is made the user is not prompted
if the password does not satisfy the requirement , the website should
show
error message
@SiddharthBahuguna https://github.com/SiddharthBahuguna Kindly assign
this issue to me
Add ScreenShots
issue.jpg (view on web)
<
https://github.com/SiddharthBahuguna/NEWS-AGGREGATOR-PROJECT/assets/117447090/a861b912-f2de-4d33-a8cb-65a661af1f78>

Record

I agree to follow this project's Code of Conduct
I'm a GSSOC'24 contributor
I want to work on this issue

—
Reply to this email directly, view it on GitHub
https://github.com/SiddharthBahuguna/NEWS-AGGREGATOR-PROJECT/issues/46,

or unsubscribe
<
https://github.com/notifications/unsubscribe-auth/A24XZ7LNF2FPV2PJJ3UKQ23ZCUJPZAVCNFSM6AAAAABH25IB46VHI2DSMVQWIX3LMV43ASLTON2WKOZSGMYDCMRYGY2DKNQ>

.
You are receiving this because you were mentioned.Message ID:
@.***>

—
Reply to this email directly, view it on GitHub
https://github.com/SiddharthBahuguna/NEWS-AGGREGATOR-PROJECT/issues/46#issuecomment-2118095310,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A4ABTMRQLRXNUWNNRBG2C3LZCY5XNAVCNFSM6AAAAABH25IB46VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMJYGA4TKMZRGA
.
You are receiving this because you were assigned.Message ID:
@.***
com>

Is it correct as the way I had created the label or I have to put label
individually of both gssoc and level?
On Fri, 17 May 2024 at 23:08, rashiranjan22 @.***>
wrote:

thank you! ,
On Fri, May 17, 2024 at 11:05 PM SiddharthBahuguna @.***>
wrote:

I have assigned you.You can start working on it.
On Fri, 17 May 2024 at 02:00, rashiranjan22 @.***>
wrote:

Describe the feature
User should be told what type of password one has to make (more points
are
required in addition to 'password without special characters'), as if
a
wrong format password is made the user is not prompted
if the password does not satisfy the requirement , the website should
show
error message
@SiddharthBahuguna https://github.com/SiddharthBahuguna Kindly
assign
this issue to me
Add ScreenShots
issue.jpg (view on web)
<

https://github.com/SiddharthBahuguna/NEWS-AGGREGATOR-PROJECT/assets/117447090/a861b912-f2de-4d33-a8cb-65a661af1f78>

Record

I agree to follow this project's Code of Conduct
I'm a GSSOC'24 contributor
I want to work on this issue

—
Reply to this email directly, view it on GitHub
<
https://github.com/SiddharthBahuguna/NEWS-AGGREGATOR-PROJECT/issues/46>,

or unsubscribe
<

https://github.com/notifications/unsubscribe-auth/A24XZ7LNF2FPV2PJJ3UKQ23ZCUJPZAVCNFSM6AAAAABH25IB46VHI2DSMVQWIX3LMV43ASLTON2WKOZSGMYDCMRYGY2DKNQ>

.
You are receiving this because you were mentioned.Message ID:
@.***>

—
Reply to this email directly, view it on GitHub
<
https://github.com/SiddharthBahuguna/NEWS-AGGREGATOR-PROJECT/issues/46#issuecomment-2118095310>,

or unsubscribe
<
https://github.com/notifications/unsubscribe-auth/A4ABTMRQLRXNUWNNRBG2C3LZCY5XNAVCNFSM6AAAAABH25IB46VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMJYGA4TKMZRGA>

.
You are receiving this because you were assigned.Message ID:
@.***
com>

—
Reply to this email directly, view it on GitHub
https://github.com/SiddharthBahuguna/NEWS-AGGREGATOR-PROJECT/issues/46#issuecomment-2118099213,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A24XZ7PSKYMLGL5GQZY7MCTZCY6C3AVCNFSM6AAAAABH25IB46VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMJYGA4TSMRRGM
.
You are receiving this because you were mentioned.Message ID:
@.***
com>

it should be added this way, individual gssoc, level2

so i have to edit each and every label
On Fri, 17 May 2024 at 23:30, rashiranjan22 @.***>
wrote:

it should be added this way, individual gssoc, level2
—
Reply to this email directly, view it on GitHub
https://github.com/SiddharthBahuguna/NEWS-AGGREGATOR-PROJECT/issues/46#issuecomment-2118129938,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A24XZ7IZONASJ357ZDTRNZLZCZAVBAVCNFSM6AAAAABH25IB46VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMJYGEZDSOJTHA
.
You are receiving this because you were mentioned.Message ID:
@.***
com>

Thankyou @SiddharthBahuguna for change of label in PR


Prepare for v0.9.0

Do we want to wait on #199 before the release still?

Sure, please keep reviewing it and I'll check again in a few days 👍

Rebased onto master and added the crc module to the build on docs.rs


upgrade path for amenity=youth_centre

As promised in #83, here is a follow-up for the upgrade path of deprecated amenity=youth_centre -> amenity=community_centre + community_centre=youth_centre. It looks like another upgrade path was already added in the meantime, but it is not quite correct or at least not consistent with the tagging in #83:
community_centre:for specifies actually rather a property of a community centre/youth centre, while community_centre specifies the type of community centre, i.e. is part of what it defines as a map feature. See PR #83

I don't know, hypothetical example: There could be a general community centre for bingo-playing and a community centre dedicated to hands-on creating art and music each in a residential complex for old people. Both are for old people, but there are different kinds of community centres. The "for" does not define the type of community centre necessarily and that is why both community_centre key exist and community_centre:for key exist.

It looks like another upgrade path was already added in the meantime

Actually, it was already added a while ago in https://github.com/openstreetmap/iD/commit/aca699ecca70e0778472a0fd9c5365a7d5c82ff9. It would indicate that these upgrade paths were copied over from osmose. Not sure if these rules are still in there somewhere, but at first glance I can't find them over at the osmose repository.
Anyway thanks for the PR (even though there are now almost no amenity=youth_centre remaining)!


[DoNotCommit] Repro lack of pipelining

The following command is expected to dump some pipelined IR but it does not:
python -m python.examples.matmul.test

FYI @ThomasRaoux , this repro does not pipeline.
There are other cases that also don't pipeline (e.g. if you remove the interchange vector in the strategy and the vector is hoisted into an iter_args; then I'd try to pipeline the 2nd enclosing loop for instance).

Summarizing what I wrote on discord:
-There is a recurrence in the loop containing read_ + contract + write so we cannot pipeline
-Technically there is no "real" dependency across iterations however it would require some special handling and this would make the tensor liverange overlap across iteration.
Do we want to handle this kind of case?

Pushed the new example with bigger II and no interchange.
(the small II was causing the number of stages to be greater than number of iterations)

works for me, thanks!


Illegal instruction (core dumped) using hypriotos-rpi-v1.2.0

Hi,
Ran into this issue when I experimented with docker/java/rpi. Please let me know if you need more details.
Issue
Ran
docker run --rm hypriot/rpi-java:jre-1.8.111 java -version
on my Rpi Model B with Hypriot 1.2.0.

Thanks,
Mårten

@martensjostrand please use the official Docker image openjdk or some tags there. The official images provide multi-arch images for ARM.
Example:
$ docker run --rm mplatform/mquery openjdk:8-jre-alpine
Image: openjdk:8-jre-alpine
 * Manifest List: Yes
 * Supported platforms:
   - linux/amd64
   - linux/arm/v6
   - linux/arm64/v8
   - linux/386
   - linux/ppc64le
   - linux/s390x


Can't access "this" when callback provides it

I'm trying to streamline some code which uses node-sqlite3.  Per the API, when I call the run function to INSERT a row, in the context of the callback the "this" variable will contain a property lastID containing the last_insert_rowid() i.e. it will tell me the rowid of the row I just inserted.
However, the this variable does not seem to get carried over into the next statement in the streamlined code:
var query = "INSERT INTO ..."
var x = db.run(query,_)
console.log(this)  // has no "lastID", only a couple function/wrappers

Similarly, if the query was an UPDATE or DELETE, this.changes is supposed to have the number of rows.
I tried a simple experiment to see if I could figure out how to get the lastID value, along the lines of this:
var query = "INSERT INTO ..."
var x = db.run(query,function(_) {
    return this.lastID
})
console.log(this)  // has no "lastID", only a couple function/wrappers

But this just made a horrible mess of error:
TypeError: invalid argument 0 to function ``: expected function, got string
    at typeError (/Users/michael/node/.../node_modules/streamline-runtime/lib/util.js:37:12)
    at Object.argError (/Users/michael/node/.../node_modules/streamline-runtime/lib/util.js:43:9)
/Users/michael/node/.../node_modules/streamline-runtime/lib/util.js:39

Not sure if this is a bug, or if I'm just missing how I am to access the this variable properly.

As a workaround, the following seems to work:
var query = "INSERT INTO ..."
var stmt = db.prepare(query)
stmt.run(_)
console.log(stmt.lastID)

I say seems because in my test it works, but the prepare call has an optional callback to be called when the statement is prepared.  If I try to provide this callback I get an error, because I cannot simultaneously get the return value of the function, as well as the callback value.  (Is there some way to get both of these?)

I never encountered this API before. Streamline is designed to work with standard node.js callbacks (function(err, result) => void). The value of this inside the callback and the value returned by the original API are not directly accessible in streamline.
If this inside the callback refers to stmt your workaround will work.
You can  also access the value of this inside the callback with a wrapper:
// the wrapper
function run(db, query, cb) {
  db.run(query, function(err, result) {
    cb(err, [this, result]);
  });
}

// calling the wrapper (with destructuring to extract the returned values)
let [that, result] = run(db, query, _);

The wrapper technique can also help you with calls that also return a value (non standard). For example:
// wrapper
function prepare(db, sql, params, cb) {
  let stmt = db.prepare(sql, params, function(err) {
    cb(err, stmt);
  });
}

// calling it
let stmt = prepare(db, sql, params, _);


1169 add hyperlink to state page in home

Description of PR
PR to navigate to state page from table and map
Type of PR

[x] Bugfix

Relevant Issues
Fixes #1169
Checklist

[x] Compiles and passes lint tests
[x] Properly formatted
[x] Tested on desktop
[x] Tested on phone

Screenshots

Updated 'View state page' to 'Visit state page' to be consistent with search bar results. Please let me know if I need to change.

@kousiksatish Nice, but this still needs some work. The hyperlink should only be visible on the home page, and not on the map in the state pages.

"The hyperlink should only be visible on the home page, and not on the map in the state pages." - This is also fixed. Please review.


[patch] revert 403 from 401

Changes Unknown when pulling f31959226885838bb3d27cfc6de96eb4d28254f3 on revert401 into ** on master**.


[ListItem] Fix the variable name

fix  a type in listitem

fix the inline-style-prefixer (it was failing with ListItem with the previous version)

[ ] PR has tests / docs demo, and is linted.

[ ] Commit and PR titles begin with [ComponentName], and are in imperative form: "[Component] Fix leaky abstraction".

[ ] Description explains the issue / use-case resolved, and auto-closes the related issue(s) (http://tr.im/vFqem).

Please don't put unrelated changes in one PR. If we have to revert one, we'll have to revert both.

You can revert commit one by one.
PR has unrelated commits. TRUE
Commit are atomic. TRUE also :P
It's a lot of hassle to send them separately for such small changes.

You can revert commit one by one.

We generally squash before merge, but point taken.

It's a lot of hassle to send them separately for such small changes.

Either way, these are small but significant changes that may need to be reviewed and approved by different members of the team.
(And I won't even mention the PR title. :smirk: )

@mbrookes I agree that it would be better to have two differents PR.
There is almost nothing to review here, I'm fine with those changes :grin:.

@cgestes Thanks.

:+1:


[Open Source]: Adding Rails Girls Summer of Code (RGSOC)

Description
Adding Rails Girls Summer of Code
Rails Girls Summer of Code is an award-winning global fellowship program aimed at bringing more diversity into Open Source. It welcomes all women and non-binary applicants who want to gain a footing in the world of coding and further expand their knowledge and skills. The focus is on advanced-beginners who want to enter programming full-time.
Domain
Open Source
Type of Contribution
Documentation
Code of Conduct

[X] I follow Contributing Guidelines & Code of conduct of this project.

/assign


chore: remove PluginConfigurationList type

Our documentation generator is not able to cope with that, so let's remove it.
Closes: #6430

/ok-to-merge


Added actions to cards with track layout

_ No description provided. _

Thanks for update... one question - can you add it to "card_type: countdown" too? Because it work only on "card_type: next_race"
Thanks in advance :-)

If you do show_raceinfo you will get a track layout with race info and a clickable image :)

Yes… but this is too large. Simple countdown looks better on my dashboard 😃
From: Marco Kreeft @.>
Sent: Thursday, January 26, 2023 6:52 AM
To: marcokreeft87/formulaone-card @.>
Cc: Krzysztof Polewiak @.>; Comment @.>
Subject: Re: [marcokreeft87/formulaone-card] Added actions to cards with track layout (PR #109)
If you do show_raceinfo you will get a track layout with race info and a clickable image :)
—
Reply to this email directly, view it on GitHubhttps://github.com/marcokreeft87/formulaone-card/pull/109#issuecomment-1404588635, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAYYFHRLCIES5SI3EE6ZY5TWUIGJNANCNFSM6AAAAAAUGHCCCI.
You are receiving this because you commented.Message ID: @.***>

Gotcha, can you make a seperate change request otherwise I will forget


Make permission rules configurable at schema level

Is your feature request related to a problem?
Today, permission rules to update properties cannot be configured at the schema (or even dataset level).
This is a problem as we want to empower teams to modify the datsets they own but don't allow them to modify datasets of other team. A single rule of having or not having permission to modify all datasets is not restrictive enough.
Describe the solution you'd like
Permission rules should be configurable at the schema level: {schema}.{table_name}.

+1

Permission rules should be configurable at the schema level: {schema}.{table_name}.
Maybe also on a tag  level which could help with enforcing this on other entities like Dashboards.

cc @sureshms while designing ACLS and policies


[Improvement][API] Use springdoc-openapi to replace springfox

Search before asking

[X] I had searched in the issues and found no similar feature requirement.

Description
Since springfox will not update.
related doc: https://springdoc.org
Are you willing to submit a PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

@ruanwenjun like following?

@ruanwenjun like following?

Yes

@ruanwenjun plz assign to me, i'll improvement it


Allow for the toggleComment call to be configurable on hotkeys

Follow-up to #1694 and to this slack thread
This PR adds the ability for folks to edit or add their own custom hot key to trigger the toggleComment functionality of CodeMirror. Up until now we have it hard-coded to Ctrl+/ or Cmd+/ which isn't available as a working command for all kind of keyboard layouts, not allowing folks, for example, to comment out sections of a GraphQL query they're building.
I'm split on this change:

it opens a small precedent for exposing keyboard shortcuts specifically to deal with Code Editor functionality, where-as up until now we only had the Beautify Active Code Editors option exposed and that was it.
On the other hand it helps unblock folks that want to have better interaction with the code editors views we have but can't due keyboard layout differences, and the fact we hardcode several extraKeys combos.

Let me know what you think and if it's worth to merge this, or it's opening a can of worms 😅

https://user-images.githubusercontent.com/11976836/168580191-f05533ff-15ed-47e5-960f-a577ffec2a8e.mp4

Closing this for now, will revisit it if there's time in the future.


Add functional tests using ragger

Clang warnings will be fixed in next PR.

@cryptoBeliever @gimre-xymcity @Jaguar0625 Can you have a look please?


Empty Subfolders, No cached files, configuration file used

Thank you for this great work!!!
Your package is working for me, but not when using the example configuration file:
https://github.com/mmamedov/page-cache/blob/master/examples/config.php
I adapted it to my needs:
`<?php
/**

This file is part of the PageCache package.

@author Muhammed Mamedov<EMAIL_ADDRESS>@copyright 2016

For the full copyright and license information, please view the LICENSE
file that was distributed with this source code.
*/

/**
*

Example configuration file

Sample config array with all possible values.
Copy this configuration file to your local location and edit values that you need.

You do not need to copy this config file and use it, you could set up all parameters directly inside code.
If you have caching enabled on several pages, and do not want to repeat cache settings, then config file is for you.

Options file_lock, cache_path and min_cache_file_size are ignored if custom PSR-16 SimpleCache adapter is used.

NOTE: Parameters defined here in $config array are used by all pages using PageCache within you application.

  You can override any of these settings in your code.

Feel free to comment out any settings you don't need.

*/
return [
/**
 * Minimum cache file size.
 * Generated cache files less than this many bytes, are considered invalid and are regenerated
 * Default 10
 */
'min_cache_file_size' => 10,

/**
 * Set true to enable logging, not recommended for production use, only for debugging
 * Default: false
 *
 * Effects both internal logger, and any external PSR-3 logger (if any) activated via setLogger() method
 */
'enable_log' => true,

/**
 * Internal log file location, enable_log must be true for logging to work
 * When external logger is provided via setLogger(), internal logging is disabled.
 */
'log_file_path' => './logs/pagecache.log',

/**
 * Current page's cache expiration in seconds.
 * Default: 20 minutes, 1200 seconds.
 */
'cache_expiration_in_seconds' => 1200,

/**
 * Cache directory location (mind the trailing slash "/").
 * Cache files are saved here.
 */
'cache_path' => './pagecache/',

/**
 * Use session support, if you have a login area or similar.
 * When page content changes according to some Session value, although URL remains the same.
 * Disabled by default.
 */
'use_session' => false,

/**
 * Exclude $_SESSION key(s) from caching strategies. Pass session name as keys to the array.
 *
 * When to use: Your application changes $_SESSION['count'] variable, but that doesn't reflect on the page
 *              content. Exclude this variable, otherwise PageCache will generate seperate cache files for each
 *              value of $_SESSION['count] session variable.
 *              Example: 'session_exclude_keys'=>array('count')
 */
'session_exclude_keys' => [],

/**
 *
 * Locking mechanism to use when writing cache files. Default is LOCK_EX | LOCK_NB, which locks for
 * exclusive write while being non-blocking. Set whatever you want.
 * Read for details (http://php.net/manual/en/function.flock.php)
 *
 * Set file_lock = false to disable file locking.
 */
'file_lock' => LOCK_EX | LOCK_NB,

/**
 * Send appropriate HTTP cache related headers in response or not.
 * When true headers are sent, when false not being sent.
 *
 * When set to true:
 * First call to your URL results in HTTP Response code 200.
 * Consequent calls, until page expiration, will result in 304 Not Modified.
 * When 304 is being returned, no content is retrieved from the server.
 * This makes your application load super fast - cached content comes from web browser.
 */
'send_headers' => false,

/**
 * Use Last-Modified and ETag values generated by application or not.
 * Values will be fetched from the current response.
 */
'forward_headers' => false,

/**
 * Dry Run Mode.
 * When enabled no cache headers will be sent, no cache output will be sent.
 * Cache items will be saved.
 * Use this to test system.
 */
'dry_run_mode' =>false

];
`
Of course the specified folders do exist.
I called the library from my index file:
`try {
//PageCache configuration in a file
$config_file = './configs/pagecache-config.php';
//pass config file
$cache = new PageCache\PageCache($config_file);
//To clear this page's cache
//$cache->clearCache();
$cache->init();
} catch (\Exception $e) {
// Log PageCache error or simply do nothing.
// In case of PageCache error, page will load normally, without cache.
}`
When I reload any page the cache folder becomes crowded with subfolders.
But these are empty, no cached files.
Plese look at my logfile:
[2021-03-02 18:52:59.000000] PageCache\PageCache::init uri:/rss-reader-project-pro/index.php?content=search&type=rss-feed&subtype=ebay&title=schn%C3%A4ppchen+-+Musikinstrumente&id=205; script:/rss-reader-project-pro/index.php; query:content=search&type=rss-feed&subtype=ebay&title=schn%C3%A4ppchen+-+Musikinstrumente&id=205. [2021-03-02 18:52:59.000000] PageCache\PageCache::init Cache item not found for hash 5bdc4a966843ba5541aaecb1cc07a3e3 [2021-03-02 18:53:05.000000] PageCache\PageCache::init uri:/rss-reader-project-pro/?content=search; script:/rss-reader-project-pro/index.php; query:content=search. [2021-03-02 18:53:05.000000] PageCache\PageCache::init Cache item not found for hash 33c10aa7ccdab1b954f7f40cfd44ff21 [2021-03-02 18:56:28.000000] PageCache\PageCache::init uri:/rss-reader-project-pro/index.php?content=search&type=rss-feed&subtype=ebay&title=gitarrenbau&id=195; script:/rss-reader-project-pro/index.php; query:content=search&type=rss-feed&subtype=ebay&title=gitarrenbau&id=195. [2021-03-02 18:56:28.000000] PageCache\PageCache::init Cache item not found for hash 116ddc607490bfe1d7421e263d5c0cea [2021-03-02 18:56:44.000000] PageCache\PageCache::init uri:/rss-reader-project-pro/index.php?content=search&type=rss-feed&subtype=ebay&title=gitarrenbau&id=195; script:/rss-reader-project-pro/index.php; query:content=search&type=rss-feed&subtype=ebay&title=gitarrenbau&id=195. [2021-03-02 18:56:44.000000] PageCache\PageCache::init Cache item not found for hash 116ddc607490bfe1d7421e263d5c0cea [2021-03-02 18:59:13.000000] PageCache\PageCache::init uri:/rss-reader-project-pro/index.php?content=search&type=rss-feed&subtype=ebay&title=gitarrenbau&id=195; script:/rss-reader-project-pro/index.php; query:content=search&type=rss-feed&subtype=ebay&title=gitarrenbau&id=195. [2021-03-02 18:59:13.000000] PageCache\PageCache::init Cache item not found for hash 116ddc607490bfe1d7421e263d5c0cea [2021-03-02 18:59:38.000000] PageCache\PageCache::init uri:/rss-reader-project-pro/index.php?content=search&type=rss-feed&subtype=ebay&title=gitarrenbau&id=195; script:/rss-reader-project-pro/index.php; query:content=search&type=rss-feed&subtype=ebay&title=gitarrenbau&id=195. [2021-03-02 18:59:38.000000] PageCache\PageCache::init Cache item not found for hash 116ddc607490bfe1d7421e263d5c0cea
What is going wrong?
Thank you for your kind answer!
Bernhard

I solved this problem by correcting the path to the folders:
$dir= dirname($_SERVER['SCRIPT_FILENAME']);
Then I changed it in the configuration file:
    /**
     * Cache directory location (mind the trailing slash "/").
     * Cache files are saved here.
     */
    'cache_path' => $dir.'/pagecache/',

End everything is working perfectly!
Thank you for this great script.


Better support for nested collection properties for models annotated with @ModelAttribute

This might be duplicate / related to #969
But I just wanted to make sure. Please let me know if this is different.
I am using
    compile 'io.springfox:springfox-swagger2:2.2.2'
    compile 'io.springfox:springfox-swagger-ui:2.2.2'

I have a class which I am using as @ModelAttribute. This class has an attribute of type List<String>, with getter and setter. But in the generated schema, I can see it referred as:
{
   "name": "passengerNumbers",
    "in": "query",
    "required": false,
    "type": "ref"
}

While, spring is able to populate the List if I pass 2 values for the field from Postman, swagger-ui doesn't show this as List. It shows it's datatype as undefined.
Is it known issue or am I missing something? Please let me know if you need any more information to debug this.
Thanks for the great project. :)

Sorry to bother again, but did you get chance to have a look at this?
Also, to add more information, If I pass another parameter @RequestParam("somethingElse) List<String> somethingElse along with @ModelAttribute, Swagger schema for somethingElse is generated properly, but not the field from @ModelAttribute class.

@shirishp support for @ModelAttribute Is very basic. The reason being these are not really json services in the traditional sense. Secondly array/matrix parameters are don't translate very well across languages in the way they are represented. I.e what would the parameter name be somethingElse[] vs. repeated somethingElse? How do List of complex types look etc.
Having said that I would chalk this up as a feature request. Would love to get a pr if possible.

I would love to work on PR. Would it be possible for you to guide me to the section of the code?

Absolutely! Much appreciated :bow: :metal:
I'll create a set of steps to guide you perhaps.

This should get you started getting familiar with the architecture. In your case you want to look at ModelAttributeParameterExpander and ExpandedParameterBuilder.

Hi All,
I'm using @ModelAttribute for Get method, the Model object has mutiple properties like, List accounts, String language,String eventType ,i have used @ApiModelProperty for all the model properties. My problem is swagger documentation is not showing  the descriptions.i attached screenshot here. could you please help on this.

@anand4sn just a quick note.. even if this issue is fixed, swagger-ui will not be able to render that or help with editing the list field in the UI

@dilipkrish   Many Thanks

This is fixed via #1317


Update README with links to the documentation

We should list all the documentation in the README.

fixed in #353


adding a project to frontend project

adding the online food ordering website to frontend project of the devgeeks repository
the project is made on HTML, CSS, Vite

@TusharKesarwani @MohitGupta121 kindly assign this issue under GSSOC23


[DO NOT MERGE BEFORE DEMO][NEED TESTING] Tax support beta (very simple rule processing without checking the Co…

…untry/zip-code)

Isn't an idea of having calculations on "front-end" bad? or i'm missing something?

Good point we’re considering this for a while. Basically in many countries (EU - cross border, US) taxes must be calculated based on current billing address (residence)z this is the reason the logic has been implemented on front end. Second was of course that Vue storefront must work while offline.  To make it safe we should add checksums validation for data provided to the client and then back to avoid any modifications.  That was your point (that’s not safe to have full taxes logic client side)?

It's not that safe, it's not that accurate, many challenges, you can have many products in cart, some without tax, some with it, you need to handle vouchers and taxing properly, we have VAT MOSS and many regulations behind it. You see, there's a lot of it, a lot of complexity.
I agree tho that if we want to keep it offline-able and quick we need to go for some compromises. I'll try to dig deeper into this topic and think about possible solutions.

Cool! Would be great to have your feedback on this. This is one of the points where the middleware approach (which makes us totally separated from the eCommerce CMS) has it downsides :/
Probably we need open discussion on that matter

Anyway @kpodemski what do you think about adding Prestashop support?

This is why i'm here, currently i'm at a scout mode, demo is insanely fast, i see a lot of potential in this project

Cool! I'm excited about it. You definitively should take a look at https://github.com/DivanteLtd/mage2nosql which is our Magento2 adapter. It probably needs kind of refactoring because code gets quite complicated during the experiments ;P But it's working and support adapter model for other platforms. Probably can be a good start to add PS support. But to be honest you can as well create your own synchronizer from scratch as separate app etc. The only thing frontend needs is the data that fix current ES schema. In case of any questions just ask, you can use our Slack as well.
Fingers crossed!

TO ALL: please remember to update vue-storefront-api and run npm run migrate OR npm run restore to load all the tax rate rules


Update Syntax Highlighting to latest commit

Puppet Editor Syntax has been updated.  Need to update the extension appropriately.
https://github.com/lingua-pupuli/puppet-editor-syntax/commit/3928933536a907d0b37d910f26fa0d1d07fe223f

Blocked on https://github.com/lingua-pupuli/puppet-editor-syntax/pull/21


Profiling panel shows only a single line

I have django-debug-toolbar installed and working, but when I look at the profiling panel, I only get one line of results.  I am calling a simple class-based view built on TemplateView.  So I have written a custom implementation of get_context_data.  So to be clear, it's the execution of that method that I most want to profile.  However the only line I get back says:
{method 'disable' of '_lsprof.Profiler' objects}

Here's a screenshot:

Any thoughts?

Having the same issue.

Switched pages, came back, and it started working.

Another note: this is also triggered by django's view decorators (eg. @login_required), as wrapped functions don't seem to stick around long enough to act as the root function, and thus it defaults to the disable function (or in #9, throws an AssertionError) .

I was struggling with the same issue and it seems there is no issue when the class based view does not override dispatch method.

@jmerdich is there no workaround if you have django's view decorators enabled on a view?

We solved this issue with a decorator that conditionally applies the decorators we applied previously. The condition is whether we have DEBUG = True. Hope this helps others with the same issue.


Use an interface to implement the ses|pinpoint relay clients.

Provide factory functions to create a relay client.
Use the smtpd.Handler function signature for relay.Client.Send.
Refactor the logging functionality and move it into a separate package.
Move arguments parsing into a separate function.
Add links to Pinpoint Email API and SMTP interface.
Fix the usage documentation.

Looks really good - lots of subtle changes and tests.
Let me know when you've finished and I will merge it - or I can do it over the next while.

Good catch!
Should be ready to merge now. ☺


Combining ‘within’ and ‘only’ for import restrictions

I have a module Mod, and I’m to gradually deprecate its usage.
I’d like to

allow importing identifiers Mod.x, Mod.y everywhere in the codebase (since they don’t have replacements),
and arbitrary imports of Mod should also be allowed within certain legacy modules.

I thought combining ‘within’ and ‘only’ would get me what I want — allow unrestricted usage within, and only certain identifiers otherwise — but apparently it doesn’t work.
I could just say {- HLINT ignore “Avoid restricted imports” -} instead of using within, but it allows all restricted imports and not just one.
Is there any way to get what I want with HLint?

I think the problem is that its a bit ambiguous. Is it within the given modules you are only allowed certain identifiers, or you are allowed within the given modules or when using certain identifiers. I think people might assume both, so avoided the ambiguity. I'm not sure there is a way to do this with HLint, but must confess that the import restrictions are fairly hard to grok (partly because of this and/or behaviour).


Mingxiao.wei

Corrected all functionality issues. Checkstyle still needs to be taken care of and more tests need to be written.


tls_client_auth authentication mode

Description
Defined in RFC 8705
OAuth 2.0 Mutual-TLS Client Authentication and Certificate-Bound Access Tokens, this is optional for the FAPI 2.0 Message Signing profile.
See #317 and #264.

I think this is going to be a bit more complicated. I ran an initial test against the FAPI 2.0 Security Profile conformance tests, and ran into this failure:

Client certificate not found; the client did not supply a MTLS certification to the endpoint. In some cases this may be because the client is, incorrectly, configured to supply a TLS certificate only if the server explicitly requires a certificate at the TLS level.

OTP (at least OTP 26.1.2 and 26.2.1) is not sending a client certificate unless the server requests one with a CertificateRequest message. It's possible there's some SSL configuration which will force sending the Certificate message from the client even if it's not requested. If not, supporting this (at least for the conformance suite) will require a patch upstream.

@paulswartz Is there a reason why we wouldn’t set the client cert on everything? (Including the Configuration and JWKs)

That's a good point; I didn't realize that request_opts is also a parameter for oidcc_provider_configuration:load_configuration. I'll give that a shot.

This kind of works. If you don't load anything from the relevant host, everything passes.
But, if you have multiple issuers at the same hostname (as we do with the conformance suite), then accessing any provider on that host before the mTLS one causes the issue again.

@paulswartz Yeah, that’s not great. I’m wondering if it is a bug that httpc is reusing connections with different configurations.
In that case we’ll probably have to start net inets profiles for different tls settings or consider a different http client.


Update ROSCommunications.h

While running the code on real world robots, I had a segmentation fault. I fixed the cause of this issue: the publisher ref_trajectory_pub_ was never initialized before the publish() method call!!

Good catch. We transferred this code from our internal codebase so I guess that was missed.


refactor(config): 拆分配置文件工具库（lib-config）以及SCOW配置文件格式

原来@scow/config既包括定义配置文件格式的工具函数，也包含具体的SCOW所使用的配置文件格式。这个PR把项目无关的配置函数拆分为@scow/lib-config（以供其他项目使用），配置文件格式仍然放在@scow/config，但是从src/appConfig目录移动到了src目录。

Codecov Report
Base: 64.81% // Head: 64.86% // Increases project coverage by +0.05% :tada:

Coverage data is based on head (bcced87) compared to base (a17c062).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #254      +/-   ##
==========================================
+ Coverage   64.81%   64.86%   +0.05%
==========================================
  Files          95       94       -1
  Lines        2572     2570       -2
  Branches      326      324       -2
==========================================
  Hits         1667     1667
+ Misses        865      863       -2
  Partials       40       40

Impacted Files
Coverage Δ

...pps/mis-server/src/clusterops/slurm/utils/slurm.ts
40.00% <ø> (ø)

libs/libconfig/src/envConfig.ts
92.85% <ø> (ø)

libs/libconfig/src/fileConfig.ts
53.84% <ø> (ø)

libs/libconfig/src/parse.ts
91.66% <ø> (ø)

libs/libconfig/src/validation.ts
100.00% <ø> (ø)

apps/auth/src/auth/ldap/index.ts
55.69% <100.00%> (ø)

apps/auth/src/config/auth.ts
63.63% <100.00%> (+1.73%)
:arrow_up:

apps/auth/src/config/ui.ts
100.00% <100.00%> (ø)

apps/mis-server/src/config/mis.ts
100.00% <100.00%> (ø)

apps/mis-server/src/tasks/createBillingItems.ts
95.23% <100.00%> (+0.11%)
:arrow_up:

... and 4 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

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


Cannot paste into form inside iframe inside webview

Steps to Reproduce:

Copy some text into your clipboard.
Download, unzip and install this test extension:
webview-copy-test-0.0.1.vsix.zip
When the extension installs, a webview will be shown with a <textarea> inside an . Try to paste some text into it using Ctrl/Cmd-V. Observe that the text doesn't get pasted.

The webview's HTML is very simple:
<!DOCTYPE html>

		<iframe srcdoc="Test page with form input<form><textarea cols=90 rows=8></textarea></form>" width="100%" height="100%" frameborder="0">

Our extension uses a cross-origin  (with a src attribute instead of srcdoc), and we can't avoid its use.
Orignially reported as https://github.com/intersystems-community/vscode-objectscript/issues/687

Maybe related to #129178

Also #182011


How to configure simple single, double, triple, and long press on button press?

I have a regular push button (engage when pressed, disengage when released). I want to set that button up, so when you press it once, it sends a single press, when I press it twice it sends a double press, three presses sends a triple press, and holding it down sends long press until released.
My button is configured as pull-down, and I've tried all the combinations I can think of:

Link to out X
Link to out X and Switch
Switch
Long, Double, Triple
Various combinations with the above, where bind command is set to on/off and toggle

I have my CC2530 paired to Zigbee2MQTT and I have not changed anything in the expert tab.

I made a custom converter by exporting from the software, and now I got something to work.
However, when I press a button, it sometimes reports as single and sometimes as double. Double press sometimes reports triple as well. Long press does not work at all.
My switch is connected between P16 and VCC directly (no resistor) and it's configured as "pull-down". Have I made a mistake on the hardware side?

@mortenmoulder If your button connects the input pin to ground when you press the button, you should use "Pull-up". Other settings look good.

@ptvoinfo The inputs are connected to VCC, which is why I'm using pull-down.
If you think it looks good, do you have any clue why it reports double press when I press the button one time, but reports single press if I press it REALLY fast? I can replicate it pretty accurately. It sounds like a delay issue, where it thinks I pressed the button too slow.
Let me know if you want any more information. I can record a video showing how I can replicate it, if you want?

@ptvoinfo Could my problem be because of debounce and because the PTVO firmware does not have debounce built in? If I hook up my switch (not your typical PCB switch, but rather a mechanical switch) to my logic analyzer, I can see that in the first millisecond, it goes high and low a couple of times, and then stays high while the button is pressed. Could the firmware interpret this as a button press?

Ignore that it goes low instead of high.
A possible fix would be an option to define debounce time in milliseconds.

@mortenmoulder The firmware has debounce time 25 ms.

@ptvoinfo Okay, then I don't understand why I'm getting this behavior. Have you seen anything like it before?

@ptvoinfo Here is a video showing my problem: https://www.youtube.com/watch?v=MJ-Tg14kdP0
As you can see, it's not a regular switch, but rather a wall mounted switch (regular one used for lights). If I press it quickly, it will show single press, if I press it normally it will show double press, and if I double press it shows triple.

@ptvoinfo Can you test with a micro click button and compare behavior?

@mortenmoulder Do you use the same wall switch or clickable button? If it is a clickable button, do you see the same pulses in your analyzer data?

@ptvoinfo I have other wall switches, but they behave the same.
This is the pulse of a regular PCB micro switch, as shown in the video:

So they behave quite differently. But if they produce the same result... I have no clue. Should I try an earlier release of the software maybe? Do you have a CC2530 and can you test using the same configuration that I posted, then pair it to Z2M?

@ptvoinfo Should I try to sniff the Zigbee traffic somehow? Or is there some kind of debugging I can enable? I really want to get to the bottom of this, as I plan on using this tool commercially (which also means buying a lot of premium devices).

@ptvoinfo Please help. What can I do to solve this problem?

I can confirm the issue.
Debounce was definitely broken somewhere between 2021-10-04 and 2022-05-11.
Recreated firmware with this settings (5 MOhms pull-ups on board, push button to GND) and have non-functional wall switch.

Always have two double-clicks registered instead of single click.

@tweeKpot Awesome! I'm happy to hear that - even though it's bad for us.
What happens if you press the switch REALLY fast? I can consistently get mine to trigger single presses, if I press it fast enough.

@ptvoinfo Thank you! It's definitely much better now. I can consistently get it to trigger single, double, and triple now.
However, it still seems like I need to do it fast. Too fast for my liking. If I go for a triple press at a normal pace, I often see 1x double and 1x single immediately after each other:
Zigbee2MQTT:debug 2022-05-25 15:34:42: Received Zigbee message from '0x00124b001f57cc43', type 'attributeReport', cluster 'genMultistateInput', data '{"presentValue":2}' from endpoint 2 with groupID 0
Zigbee2MQTT:info  2022-05-25 15:34:42: MQTT publish: topic 'zigbee2mqtt/0x00124b001f57cc43', payload '{"action":"double_l2","l3":3.07,"linkquality":214,"voltage_l3":3.1}'
Zigbee2MQTT:debug 2022-05-25 15:34:42: Received Zigbee message from '0x00124b001f57cc43', type 'attributeReport', cluster 'genMultistateInput', data '{"presentValue":1}' from endpoint 2 with groupID 0
Zigbee2MQTT:info  2022-05-25 15:34:42: MQTT publish: topic 'zigbee2mqtt/0x00124b001f57cc43', payload '{"action":"single_l2","l3":3.07,"linkquality":218,"voltage_l3":3.1}'

As you can see, within the same second I see a double and a single press.
Would it be possible to modify some of these delays/debounce timers manually in the UI? Then we can tweak them to our liking.

@mortenmoulder  I'm sorry, but the firmware has the fixed interval of 300 ms for all clicks.  That's unfortunate. Do you know exactly how it works? Like:
0-100ms: click
100-300ms: click
300-500ms: click

total duration: 500ms

Does that count as 3 clicks, as long as the total 3 click sequence is within 900ms? Because I feel like I press it 3 times within 500ms and it still sends a double and a single press. Not sure if @tweeKpot can confirm this as well.

@mortenmoulder  The firmware waits for a click. Then it starts counting 300 ms. If the firmware detected a new click at this time interval, it resets the timer and start counting from zero. So, in theory, the total interval is within 900ms.

@ptvoinfo Okay, that's definitely weird then, because I do 3 clicks within 900ms. I'll see if I can capture it with my logic analyzer later.

@ptvoinfo Okay here are some results:
Triple press:
Zigbee2MQTT:debug 2022-05-27 09:24:16: Received Zigbee message from '0x00124b001f57cc43', type 'attributeReport', cluster 'genMultistateInput', data '{"presentValue":1}' from endpoint 2 with groupID 0
Zigbee2MQTT:info  2022-05-27 09:24:16: MQTT publish: topic 'zigbee2mqtt/0x00124b001f57cc43', payload '{"action":"single_l2","l3":3.13,"linkquality":222,"state_l1":"OFF","voltage_l3":3.1}'
Zigbee2MQTT:debug 2022-05-27 09:24:16: Received Zigbee message from '0x00124b001f57cc43', type 'attributeReport', cluster 'genMultistateInput', data '{"presentValue":1}' from endpoint 2 with groupID 0
Zigbee2MQTT:info  2022-05-27 09:24:16: MQTT publish: topic 'zigbee2mqtt/0x00124b001f57cc43', payload '{"action":"single_l2","l3":3.13,"linkquality":222,"state_l1":"OFF","voltage_l3":3.1}'
Zigbee2MQTT:debug 2022-05-27 09:24:17: Received Zigbee message from '0x00124b001f57cc43', type 'attributeReport', cluster 'genMultistateInput', data '{"presentValue":1}' from endpoint 2 with groupID 0
Zigbee2MQTT:info  2022-05-27 09:24:17: MQTT publish: topic 'zigbee2mqtt/0x00124b001f57cc43', payload '{"action":"single_l2","l3":3.13,"linkquality":218,"state_l1":"OFF","voltage_l3":3.1}'

Double press:
Zigbee2MQTT:debug 2022-05-27 09:26:59: Received Zigbee message from '0x00124b001f57cc43', type 'attributeReport', cluster 'genMultistateInput', data '{"presentValue":1}' from endpoint 2 with groupID 0
Zigbee2MQTT:info  2022-05-27 09:26:59: MQTT publish: topic 'zigbee2mqtt/0x00124b001f57cc43', payload '{"action":"single_l2","l3":3.13,"linkquality":222,"state_l1":"OFF","voltage_l3":3.1}'
Zigbee2MQTT:debug 2022-05-27 09:26:59: Received Zigbee message from '0x00124b001f57cc43', type 'attributeReport', cluster 'genMultistateInput', data '{"presentValue":1}' from endpoint 2 with groupID 0
Zigbee2MQTT:info  2022-05-27 09:26:59: MQTT publish: topic 'zigbee2mqtt/0x00124b001f57cc43', payload '{"action":"single_l2","l3":3.13,"linkquality":222,"state_l1":"OFF","voltage_l3":3.1}'

Triple press:
Zigbee2MQTT:debug 2022-05-27 09:27:48: Received Zigbee message from '0x00124b001f57cc43', type 'attributeReport', cluster 'genMultistateInput', data '{"presentValue":1}' from endpoint 2 with groupID 0
Zigbee2MQTT:info  2022-05-27 09:27:48: MQTT publish: topic 'zigbee2mqtt/0x00124b001f57cc43', payload '{"action":"single_l2","l3":3.13,"linkquality":214,"state_l1":"OFF","voltage_l3":3.1}'
Zigbee2MQTT:debug 2022-05-27 09:27:49: Received Zigbee message from '0x00124b001f57cc43', type 'attributeReport', cluster 'genMultistateInput', data '{"presentValue":2}' from endpoint 2 with groupID 0
Zigbee2MQTT:info  2022-05-27 09:27:49: MQTT publish: topic 'zigbee2mqtt/0x00124b001f57cc43', payload '{"action":"double_l2","l3":3.13,"linkquality":218,"state_l1":"OFF","voltage_l3":3.1}'

Can we agree that it's not working as it's supposed to? None of my clicks are > 300ms long, and all are within 900ms (or 600ms for the double press).

@ptvoinfo Okay here are some results:
Triple press:
Zigbee2MQTT:debug 2022-05-27 09:24:16: Received Zigbee message from '0x00124b001f57cc43', type 'attributeReport', cluster 'genMultistateInput', data '{"presentValue":1}' from endpoint 2 with groupID 0
Zigbee2MQTT:info  2022-05-27 09:24:16: MQTT publish: topic 'zigbee2mqtt/0x00124b001f57cc43', payload '{"action":"single_l2","l3":3.13,"linkquality":222,"state_l1":"OFF","voltage_l3":3.1}'
Zigbee2MQTT:debug 2022-05-27 09:24:16: Received Zigbee message from '0x00124b001f57cc43', type 'attributeReport', cluster 'genMultistateInput', data '{"presentValue":1}' from endpoint 2 with groupID 0
Zigbee2MQTT:info  2022-05-27 09:24:16: MQTT publish: topic 'zigbee2mqtt/0x00124b001f57cc43', payload '{"action":"single_l2","l3":3.13,"linkquality":222,"state_l1":"OFF","voltage_l3":3.1}'
Zigbee2MQTT:debug 2022-05-27 09:24:17: Received Zigbee message from '0x00124b001f57cc43', type 'attributeReport', cluster 'genMultistateInput', data '{"presentValue":1}' from endpoint 2 with groupID 0
Zigbee2MQTT:info  2022-05-27 09:24:17: MQTT publish: topic 'zigbee2mqtt/0x00124b001f57cc43', payload '{"action":"single_l2","l3":3.13,"linkquality":218,"state_l1":"OFF","voltage_l3":3.1}'

Double press:
Zigbee2MQTT:debug 2022-05-27 09:26:59: Received Zigbee message from '0x00124b001f57cc43', type 'attributeReport', cluster 'genMultistateInput', data '{"presentValue":1}' from endpoint 2 with groupID 0
Zigbee2MQTT:info  2022-05-27 09:26:59: MQTT publish: topic 'zigbee2mqtt/0x00124b001f57cc43', payload '{"action":"single_l2","l3":3.13,"linkquality":222,"state_l1":"OFF","voltage_l3":3.1}'
Zigbee2MQTT:debug 2022-05-27 09:26:59: Received Zigbee message from '0x00124b001f57cc43', type 'attributeReport', cluster 'genMultistateInput', data '{"presentValue":1}' from endpoint 2 with groupID 0
Zigbee2MQTT:info  2022-05-27 09:26:59: MQTT publish: topic 'zigbee2mqtt/0x00124b001f57cc43', payload '{"action":"single_l2","l3":3.13,"linkquality":222,"state_l1":"OFF","voltage_l3":3.1}'

Triple press:
Zigbee2MQTT:debug 2022-05-27 09:27:48: Received Zigbee message from '0x00124b001f57cc43', type 'attributeReport', cluster 'genMultistateInput', data '{"presentValue":1}' from endpoint 2 with groupID 0
Zigbee2MQTT:info  2022-05-27 09:27:48: MQTT publish: topic 'zigbee2mqtt/0x00124b001f57cc43', payload '{"action":"single_l2","l3":3.13,"linkquality":214,"state_l1":"OFF","voltage_l3":3.1}'
Zigbee2MQTT:debug 2022-05-27 09:27:49: Received Zigbee message from '0x00124b001f57cc43', type 'attributeReport', cluster 'genMultistateInput', data '{"presentValue":2}' from endpoint 2 with groupID 0
Zigbee2MQTT:info  2022-05-27 09:27:49: MQTT publish: topic 'zigbee2mqtt/0x00124b001f57cc43', payload '{"action":"double_l2","l3":3.13,"linkquality":218,"state_l1":"OFF","voltage_l3":3.1}'

Can we agree that it's not working as it's supposed to? None of my clicks are > 300ms long, and all are within 900ms (or 600ms for the double press).

@mortenmoulder Could you please test again? https://ptvo.info/download/ptvo-firmware-2022-05-27.zip
Thank you!

@ptvoinfo YES! Much, much better. I only experienced a very low chance of fail (going from three -> two mostly), but it seems like you fixed it! Also very nice that it triggers triple click immediately after getting the third click, instead of waiting 300ms. Very good.
Thank you! Works just as expected 😄

@mortenmoulder Thank you for your tests again! 😄


Font Not Visible

As we can see below in this page ,We are not able to see the Name ,yt name, twitter name because it is also in black colour while in dark mode.
It should be in white color font.

fix: Assigning issue #29 - Fix visibility issue of Name, YouTube name, and Twitter name in dark mode

@kumarankit999 It's not on the resource gallery, This ss is of my personal site.


feat: Add Validate Verifiable Presentation when provider request

Closes #80

Let's postpone merging this PR until PR #79 is merged.

I opened a new PR for improvement of VP verification (#91).
Please review the PR :)

When the #91 merged into this branch, I'll modify some code and re-request the review.


Create default tito config.

This fixes COPR build for RHEL7: https://copr.fedorainfracloud.org/coprs/alcmb/osbs-buildroot-update/build/777034/

The Travis CI build failed because of this change introduced by setuptools 40.0:
--- a/pkg_resources/extern/__init__.py
+++ b/pkg_resources/extern/__init__.py
@@ -48,7 +48,7 @@ class VendorImporter:
                 # on later Python versions to cause relative imports
                 # in the vendor package to resolve the same modules
                 # as those going through this importer.
-                if sys.version_info > (3, 3):
+                if sys.version_info.major >= 3:
                     del sys.modules[extant]
                 return mod
             except ImportError:

@twaugh The tests passed after I've set setuptools version to 39.2.

Not updating release notes draft because this is a change solely to unit tests.


Add shardeum dapps sphinx chain

Description
Concise description of proposed changes
Additional Information

[x] I read the contributing docs (if this is your first contribution)

Your ENS/address:

What is the problem? I couldn't find a solution.

While I was making changes, realised we already have a shardeum sphinx chain: https://github.com/wagmi-dev/references/blob/main/packages/chains/src/shardeumSphinx.ts

The RPC we want to add.
Name: Shardeum Dapp Sphinx 1.X

RPC: https://dapps.shardeum.org/
Chain ID: 8081
You can see all activity here: https://explorer-dapps.shardeum.org/
Get free tokens here: https://faucet-dapps.shardeum.org/

RPC available on WAGMI.
RPC: https://sphinx.shardeum.org
Chain ID: 8082


Kafka 8613 kip 633 drop default grace period streams

[KAFKA-8613] Set default grace period to 0
KIP-633: Drop 24 hour default of grace period in Streams
Added API implementation for specifying grace periods for TimeWindows, SessionWindows, JoinWindows and SlidingWindows
Changed default grace period constant Windows.DEFAULT_GRACE_PERIOD_MS to 0 milliseconds from 24 hours
Updated corresponding unit tests
Added deprecation suppression annotations for test classes using the newly deprecated APIs
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

Thanks @mjsax and @ableegoldman for all your help and support on this

Hey @izzyacademy , I'm taking a look but just a quick heads up: the build failed to compile, looks like the problem is some of the demo classes use one of the now-deprecated methods and need to be migrated to the new API: TemperatureDemo, PageViewTypedDemo, and PageViewUntypedDemo

@izzyacademy , thanks for the PR. Left some comments. And in addition to that, 2 things needed to be updated:

the PR title. It should start with KAFKA-8163: as described in the contributing page
Java compilation errors in build

Thank you.

Thanks @showuon I will update the PR title in the next submission

Hey @izzyacademy , I'm taking a look but just a quick heads up: the build failed to compile, looks like the problem is some of the demo classes use one of the now-deprecated methods and need to be migrated to the new API: TemperatureDemo, PageViewTypedDemo, and PageViewUntypedDemo

I will create a new PR based on the latest code base.

Hey @izzyacademy , any update on this? Btw, I would recommend just continuing to work on this PR rather than opening a new one

Please consider https://github.com/apache/kafka/pull/10861 that slightly overlaps with this PR.

@izzyacademy -- any update on this PR? Can you rebase and address the review comments? Feature freeze is 6/30, so we only have less than 2 weeks to complete this PR to make it into 3.0.

@izzyacademy -- any update on this PR? Can you rebase and address the review comments? Feature freeze is 6/30, so we only have less than 2 weeks to complete this PR to make it into 3.0.

Hi @mjsax @ableegoldman, I resumed working on the changes today and will most likely wrap it up on Monday. I will provide another update then. My apologies for the delays.

Hey @izzyacademy , I'm taking a look but just a quick heads up: the build failed to compile, looks like the problem is some of the demo classes use one of the now-deprecated methods and need to be migrated to the new API: TemperatureDemo, PageViewTypedDemo, and PageViewUntypedDemo

This has just been addressed. Thanks @ableegoldman for your recommendations yesterday.

I rebased and created a brand new branch with the new changes. A new PR has been created
https://github.com/apache/kafka/pull/10924/
Please take a look when you have a moment.
Thanks.

I could not update this branch and PR with my new changes to trunk.
I have created a new PR
https://github.com/apache/kafka/pull/10926
@ableegoldman @mjsax @cadonna @showuon
Can I close this PR?

@izzyacademy yeah, go ahead and close this one

Closing this PR. A new PR #10926 has been opened.
https://github.com/apache/kafka/pull/10926


aarch64 python tests

Description

Related Issue

Motivation and Context

How Has This Been Tested?

Screenshots

Checklist:

[x] I have read the CONTRIBUTING document.
[x] I have updated the relevant documentation.
[x] I have added tests for new logic.

@pfilipko1 in the current status, they all pass on Aarch64 machine?

Affirmative :)

merge master :)

I ran the current version - got only one failure, which is the same metadata issue as we had in Java:
E       AssertionError: assert {'exe': '/usr...40ed3db', ...} == {'exe': '/usr...01ee898', ...}                                                                                E         Omitting 4 identical items, use -vv to show                                                                                E         Differing items:                                                                                E         {'exe_elfid': 'buildid:d627b889c0ac0642ea715651ebb7436ce1ee7444'} != {'exe_elfid': 'buildid:a04b9016e15a247fbc21c91260c13e17a458ed33'}                                              E         {'libpython_elfid': 'buildid:64b7f8a37ff81f574936de12c263aade340ed3db'} != {'libpython_elfid': 'buildid:0ef3fce0ef90d8f40ad9236793d30081001ee898'}                                  E         Full diff:                                                                                E           {                                                                                E            'exe': '/usr/local/bin/python3.6',...                                                                                E                                                                                E         ...Full output truncated (9 lines hidden), use '-vv' to show

In python you'll need to refrain from comparing the elfid (exe_elfid and libpython_elfid)

>       assert metadata["application_metadata"][idx] == expected_metadata                                                                                [197/1906]
E       AssertionError: assert {'exe': '/usr...40ed3db', ...} == {'exe': '/usr...01ee898', ...}
E         Omitting 4 identical items, use -vv to show
E         Differing items:
E         {'libpython_elfid': 'buildid:64b7f8a37ff81f574936de12c263aade340ed3db'} != {'libpython_elfid': 'buildid:0ef3fce0ef90d8f40ad9236793d30081001ee898'}
E         {'exe_elfid': 'buildid:d627b889c0ac0642ea715651ebb7436ce1ee7444'} != {'exe_elfid': 'buildid:a04b9016e15a247fbc21c91260c13e17a458ed33'}
E         Full diff:
E           {
E            'exe': '/usr/local/bin/python3.6',...
E
E         ...Full output truncated (9 lines hidden), use '-vv' to show

tests/test_app_metadata.py:210: AssertionError

This is the only failure I'm getting now - need to skip comparing those elfids in Aarch64 because they are accustomed for x86_64.
Or, you know what would be better? (also in the Java tests that we merge?)
if we define it as
            {
                "exe": "/usr/local/bin/python3.6",
                "execfn": "/usr/local/bin/python",
                "libpython_elfid": "buildid:xxxx" if is_aarch64() else  "buildid:0ef3fce0ef90d8f40ad9236793d30081001ee898",
                "exe_elfid": "buildid:xxxx" if is_aarch64() else "buildid:a04b9016e15a247fbc21c91260c13e17a458ed33",
                "python_version": "Python 3.6.15",
                "sys_maxunicode": None,
            },

then it would pass in both cases and we still do this comparison and test that we're able to extract buildid in aarch64.

Running it one more time and I will merge.

This is the result on my Aarch64 server:
==================================================== 24 passed, 22 skipped, 162 deselected, 12 xfailed, 236 warnings in 333.04s (0:05:33) ====================================================


doc(example): add sample queries to forum example README

See also #78

Thanks so much 👍  🎉

I consider documentation very important to this project, and we could always use more.


Badge color, transform, and spacing fixes

Light BG badges now pull in their dark counterparts for text. Orange badge uses dark text for legibility purposes. Also added text-transform: uppercase so you no longer have to type in all caps and some letter-spacing to make it read better.

Codecov Report

Merging #171 into master will not change coverage.
The diff coverage is 100%.

@@          Coverage Diff          @@
##           master   #171   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files          31     31
  Lines         357    359    +2
=====================================
+ Hits          357    359    +2

Impacted Files
Coverage Δ

src/Badge.js
100% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


No validation when using component with directive

Slightly modified the original jsfiddle from README https://jsfiddle.net/z9bmw7fh/
Changes:

JAVASCRIPT

+Vue.directive('my-directive', {
+})
+
+Vue.component('my-input', {
+  template: '<input></input>'
+})

HTML

-        <input type="text" name="name" class="form-control" required v-model.lazy="model.name" v-focus>
+        <input is="my-input" v-my-directive type="text" name="name" class="form-control" required v-model.lazy="model.name">

With these changes the "Name" input doesn't get validated. Removing either is attribute or directive makes it work again.

Fixed with https://github.com/fergaldoyle/vue-form/releases/tag/4.5.2


Next URLs shouldn't rely on session

Currently, the callback URIs are stored in the session. This works fine, except when you don't have reliable sessions (for example, a proxied API; different domains mean that the session will be different). If the callback URI were passed as part of redirect_uri, then it makes the request flow significantly more stateless.
In the case with a flakey session, this means that redirect_uri never gets passed to the provider, and we get HTTP !{200, 201}.
Also note that this results in a weird failure in flask-oauthlib too, where authorized_response returns an OAuthException rather than raises it (which is beside the point for the moment, but potentially a bug?)
Relevant lines:
Set the callback: https://github.com/lepture/flask-oauthlib/blob/8d4faabf17f2fa99ab5f927d3f94fbb1641ab914/flask_oauthlib/client.py#L522
Use the callback: https://github.com/lepture/flask-oauthlib/blob/8d4faabf17f2fa99ab5f927d3f94fbb1641ab914/flask_oauthlib/client.py#L626
If nobody can think of any issues with this, I might go ahead and fix, and PR it

I'll work on the client part later. A new design will be made.


Meeting with the costumers

[x] present the application and get feedbacks

[x] get queries that they want to present on graph

the meeting will be at 7.6.17,09:00

Update, the meeting will be at 7.6.17,09:00

Done. new issues were created as results of the meeting

Meeting summary:
we met with the customers and we presented them the app, they were very Satisfied!
they told us that the app is very simple to use even for people that no have any technical knowlage.
on the meeting they ask for few more things:

Adding count of rows in result table
Adding option to print ther reports
Adding total amount of arrivals query
Changing "city" query to "area" query
Adding percentage or\and count option to charts results

we asked for them to give us a new excel file with some fixes we need.
We got a final meeting set up with the costumers on the 20.6.17 12:00 at their place.


AVD Azure Stack HCI dependency with Active Directory Domain Services domain

Is there anyone that is able to explain what is causing the AVD Azure Stack HCI dependency with Active Directory Domain Services domain.
We are currently utilising AVD in Azure with Entra ID joined, fully managed by intune.
We now have a new requirement for a remote access solution, but due to the nature of the content consumed in those sessions, it has to be an on-premise solution. So we were planning to use Azure Stack HCI, however due to this dependency with Active Directory Domain Services, it does not fit our model.
what/why is that dependency?
Link the article and limitation:
https://learn.microsoft.com/en-us/azure/virtual-desktop/azure-stack-hci-overview#:~:text=You can only join session hosts on Azure Stack HCI to an Active Directory Domain Services domain.

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

ID: f0afe503-0c4c-e744-afe6-1da5c77793e8
Version Independent ID: e732b930-321c-0e04-18f2-9ddad252ac34
Content: Azure Virtual Desktop with Azure Stack HCI
Content Source: articles/virtual-desktop/azure-stack-hci-overview.md
Service: virtual-desktop
GitHub Login: @dknappettmsft
Microsoft Alias: daknappe

@bobstothard
It would be great if you could add a link to the documentation you are following for these steps? This would help us redirect the issue to the appropriate team. Thanks!

Ah, apologies, i thought this was linked to the page.
This is the page and the limitation I'm referring to
https://learn.microsoft.com/en-us/azure/virtual-desktop/azure-stack-hci-overview#:~:text=You can only join session hosts on Azure Stack HCI to an Active Directory Domain Services domain.

@bobstothard
Thanks for your feedback! We will investigate and update as appropriate.

@TPavanBalaji - the link to the documentation is literally in the original request twice.

@bobstothard
I'm going to assign this to the document author so they can take a look at it accordingly.
@dknappettmsft
please review it.

Any update on this?

Hi @bobstothard - sorry for the delay. I'm told it's because you can't deploy Microsoft Entra ID joined VMs isn't supported on Azure Stack HCI. You can see in the screenshot about half way down in this article where for domain join: https://learn.microsoft.com/en-us/azure-stack/hci/manage/create-arc-virtual-machines?tabs=azureportal. It's not an Azure Virtual Desktop limitation, so it requires Azure Stack HCI support.
#please-close

Hi @dknappettmsft, thanks for getting back to me, if i'm looking at the correct screenshot, that just looks like an option to join it to a domain. I've also found this https://learn.microsoft.com/en-us/azure/virtual-desktop/deploy-azure-virtual-desktop?toc=%2Fazure-stack%2Fhci%2Ftoc.json&bc=%2Fazure-stack%2Fbreadcrumb%2Ftoc.json&tabs=portal#microsoft-entra-joined-session-hosts
Which does look like you can EntraID join a session host running on HCI??

@bobstothard - correct, the only option is to join it to an Active Directory domain. That article you provided the link for is the all up deploying AVD article, which covers both session hosts in Azure and on Azure Stack HCI, that the HCI team have included in their table of contents (if you just load https://learn.microsoft.com/en-us/azure/virtual-desktop/deploy-azure-virtual-desktop, you'll see it's a native AVD article).  I'll make a small change to that paragraph that says it's for Azure only.

@dknappettmsft the article i linked to sits in the Run Azure Virtual Desktop on HCI page

@bobstothard it's just made to look like that, it's an AVD article. Look at the URL, the first half of it is the same as the native AVD article, but then there are some parameters on the end to make it look like HCI. Here are the two URLs:
https://learn.microsoft.com/en-us/azure/virtual-desktop/deploy-azure-virtual-desktop
https://learn.microsoft.com/en-us/azure/virtual-desktop/deploy-azure-virtual-desktop?toc=%2Fazure-stack%2Fhci%2Ftoc.json&bc=%2Fazure-stack%2Fbreadcrumb%2Ftoc.json&tabs=portal#microsoft-entra-joined-session-hosts
They both load the same content, but one has parameters on the end.


OpenVPN not work after update OPNSense from 23.1.1_2->23.1.3

Bug Description
After updated OPNSense from 23.1.1_2 to 23.1.3, the OpenVPN users can not authenticate with the following message in the OpenVPN log file.
2023-03-11T01:52:15+01:00 firewall.name.local openvpn 19578 - [meta sequenceId="44"] user 'username' could not authenticate.
2023-03-11T01:52:15+01:00 firewall.name.local openvpn_server1 66835 - [meta sequenceId="45"] xx.xx.216.156:60711 WARNING: Failed running command (--auth-user-pass-verify): external program exited with error status: 1
2023-03-11T01:52:15+01:00 firewall.name.local openvpn_server1 66835 - [meta sequenceId="46"] xx.xx.216.156:60711 TLS Auth Error: Auth Username/Password verification failed for peer
2023-03-11T01:52:15+01:00 firewall.name.local openvpn_server1 66835 - [meta sequenceId="47"] xx.xx.216.156:60711 [username] Peer Connection Initiated with [AF_INET]xx.xx.216.156:60711

With the Server Mode "Remote Access (SSL/TLS)" instead "Remote Access (SSL/TLS + User Auth)" in OpenVPN Server configuration the login is functional. So the local User Auth Backend seems to be broken.
After downgrade with opnsense-revert -r 23.1.1_2 opnsense it works again. Other users report the same in the forum:
https://forum.opnsense.org/index.php?topic=32939.0
The bug is reported for local and ldap user.
To Reproduce
Use OpenVPN with Server Mode "User Auth + SSL/TLS" and make an Upgrade from 23.1.1_2 to 23.1.3.

This is https://github.com/opnsense/core/commit/b5289522604b most likely.


Add tslib

Add tslib and enable importHelpers for tsc.

Can be closed now since outupt in v2 is es2018


Add acronym

Add an optional "acronym" field to the terms.
Add the acronym to the webpage.

@hmscheng Thanks for the review!


Feature Request: multiple source / destination / service options per Firewall Rule

Hi alltogether,
it would be nice if you could select multiple source or destination networks (or aliases) per firewall rule.
Also it would be suitable to select multiple port ranges or protocol versions per rule.
This would make the rules much more clearer in big environments.

Nested Aliases is not sufficient enough?

Unfortunately not. We have more than 100 firewall rules. When we scroll through the roles we always have to mouseover the networks if we don't know what networks hide behind the aliases. In addition it is very complex to administrate especially if you use nested aliases multiple times.
I think that feature could be suitable for many admins.


Add "display every device" button

Added button that allows user to display every xinput device. Also did a bit of refactoring on device name checks.

@BombFoolGranny I don't fully understand this new feature. Is it a checkbox that hides/shows some keyboards?

Yes, this is a toggle button that updates keyboard list and shows every available xinput device (without default filtering which searches specifically for keyboard devices)


Connecting to AWS IoT broker (without Websocket)

When I try to connect to an AWS IoT broker, I get an MqttCommunicationClosedGracefullyException.  Here is a trace:
Trying to connect with server (<endpoint>.iot.us-west-2.amazonaws.com:8883).
Connecting [Timeout=00:00:10]
Connection with server established.
Start receiving packets.
TX >>> Connect: [ClientId=<clientId>] [Username=] [Password=] [KeepAlivePeriod=30] [CleanSession=True]
MQTT communication exception while receiving packets. (MQTTnet.Exceptions.MqttCommunicationClosedGracefullyException: Exception of type 'MQTTnet.Exceptions.MqttCommunicationClosedGracefullyException' was thrown.)
   at MQTTnet.Serializer.MqttPacketReader.ReadFixedHeaderAsync(IMqttChannel channel, Byte[] fixedHeaderBuffer, Byte[] singleByteBuffer, CancellationToken cancellationToken)
   at MQTTnet.Adapter.MqttChannelAdapter.ReceiveAsync(CancellationToken cancellationToken)
   at MQTTnet.Adapter.MqttChannelAdapter.ReceivePacketAsync(TimeSpan timeout, CancellationToken cancellationToken)
   at MQTTnet.Client.MqttClient.ReceivePacketsAsync(CancellationToken cancellationToken)
Error while connecting with server. (MQTTnet.Exceptions.MqttCommunicationClosedGracefullyException: Exception of type 'MQTTnet.Exceptions.MqttCommunicationClosedGracefullyException' was thrown.)
   at MQTTnet.Serializer.MqttPacketReader.ReadFixedHeaderAsync(IMqttChannel channel, Byte[] fixedHeaderBuffer, Byte[] singleByteBuffer, CancellationToken cancellationToken)
   at MQTTnet.Adapter.MqttChannelAdapter.ReceiveAsync(CancellationToken cancellationToken)
   at MQTTnet.Adapter.MqttChannelAdapter.ReceivePacketAsync(TimeSpan timeout, CancellationToken cancellationToken)
   at MQTTnet.Client.MqttClient.ReceivePacketsAsync(CancellationToken cancellationToken)
   at MQTTnet.Internal.TaskExtensions.TimeoutAfterAsync[TResult](Func`2 action, TimeSpan timeout, CancellationToken cancellationToken)
   at MQTTnet.Client.MqttClient.SendAndReceiveAsync[TResponsePacket](MqttBasePacket requestPacket, CancellationToken cancellationToken)
   at MQTTnet.Client.MqttClient.AuthenticateAsync(MqttApplicationMessage willApplicationMessage, CancellationToken cancellationToken)
   at MQTTnet.Client.MqttClient.ConnectAsync(IMqttClientOptions options)
Disconnecting [Timeout=00:00:10]
Disconnected from adapter.
Disconnected.
Stopped receiving packets.
Stopped

The server doesn't log anything useful, aside from a generic connection error ("status": "Failure", "eventType": "Connect").  I've ruled out TLS issues as the culprit, as I've been able to connect to the same server using the same certificates and key using M2MQTT and MQTT.fx.  I've also been able to connect to other non-AWS brokers with MQTTnet without issue (and using TLS).  This problem is unique to MQTTnet with AWS, and I can't help but think there's a bug somewhere.

Hi, the topic about MQTTnet and AWS is open since a while and some people are able to connect but  they do not report what they need to do 😄 So for now I cannot fix the issue.
Best regards
Christian

Maybe this will help some people.  My team's been digging for a few days, and while we haven't completely solved the issue, we've made some progress.  The biggest thing is that AWS doesn't support QoS 2 or the retain flag.  It will automatically close the connection if either of those are requested.  Now, changing the QoS to 1 and setting retain to false allows us to connect with MQTTnet on some of our systems.  Other systems will connect for a few millseconds and then disconnect.  It's very odd, and the same thing happens with M2MQTT, but not with MQTT.fx.  If we are able to solve the issue, I'll update this thread and hopefully help some others who are struggling with the same thing.
So, in short, I was too quick to suggest it could be a bug in MQTTnet :)

Yep - I also have the same issue, with the same trace (I didn't try alternative clients). What is required to report the issue?

Same issues here - any updates / advice from anyone please?

Setting retain to false and QoS to a maximum of 1 doesn't work for either of you?  I've been able to connect to AWS just fine since Oct 23, 2018.

Thanks Paul.
I'm not an MQTTnet expert, but I assume you mean using those options on a call to PublishAsync?
In my case the MqttCommunicationClosedGracefullyException is happening during the Connect, before any publish.
Jim

Hm, yeah I was thinking about publishing rather than connecting.  I looked over my original post here and honestly I don't remember how I fixed the connection issue.  Our system would publish immediately after connecting though, so maybe it really was just a publishing issue for me all along.  I wish I could be more helpful.  The only other thing I can remember getting hung up on with AWS was encryption.  Are you providing certificates?

Thanks Paul - sorry for long delay replying (doing 'other things').
I'm certainly providing certs, and I thought I'd got past those issues!
I'll revisit soon...
Jim

It would be a very helpful if the wiki presented some documentation on how to connect up to the AWS IoT Broker without web sockets with version 3.0.x of MQTTnet. BTW, There are some examples provided by the AWS team on how to do this using web sockets, but they also use the older 2.8.5 release of MQTTnet to do this, and they too provide no examples using 3.0.x of MQTTnet.

BTW, There are some examples provided by the AWS team on how to do this using web sockets, but they also use the older 2.8.5 release of MQTTnet to do this, and they too provide no examples using 3.0.x of MQTTnet.

Do you have some links for me, @jminnihan? I would like to add this to the wiki.

Hm, yeah I was thinking about publishing rather than connecting. I looked over my original post here and honestly I don't remember how I fixed the connection issue. Our system would publish immediately after connecting though, so maybe it really was just a publishing issue for me all along. I wish I could be more helpful. The only other thing I can remember getting hung up on with AWS was encryption. Are you providing certificates?

@PaulFake do you know/remember what version of MQTTnet you were using?

Hm, yeah I was thinking about publishing rather than connecting. I looked over my original post here and honestly I don't remember how I fixed the connection issue. Our system would publish immediately after connecting though, so maybe it really was just a publishing issue for me all along. I wish I could be more helpful. The only other thing I can remember getting hung up on with AWS was encryption. Are you providing certificates?

@PaulFake do you know/remember what version of MQTTnet you were using?

also, what OS and .Net runtime version?

I was just able to publish to AWS IoT using a MQTTnet2.8.5 with NetCore 2.1 on a Mac, plain sockets, not web sockets.
I was also able to publish with the same setup except from inside an AWS labmda (linux?).
NetCore 2.0 did not work.
The Retained flag is what was killing me.. turned out I had a last will message with a retained flag set to true.
Also, I explicitly set the version to .WithProtocolVersion(MqttProtocolVersion.V311);
My connection does get  dropped pretty often but I am able to publish. Maybe I need to change my keepalive.

@x37v Sorry for the long delay - I don't regularly sign into GitHub and see my messages.  I believe we were using 2.8.5 with .NET Core 2.0, and I think it happened on both Win7 and Win10 systems.

There is now a short documentation under https://github.com/chkr1011/MQTTnet/wiki/Client#connecting-with-amazon-aws and the library version is 3.0.8 right now... I will close this issue now. Feel free to contact us again if this still occurs and I will re-open it.


Stuff

@samwarnick what do I need to do to make my editor not mess up spacing? Also, pretty cool to see the cloudflare preview. Is that something you set up?

@samwarnick what do I need to do to make my editor not mess up spacing? Also, pretty cool to see the cloudflare preview. Is that something you set up?

I didn’t set it up. Magic.
For formatting, you probably want prettier or something.


Make more commands support giving outputargs to support unix like pipes

What part of Adonis is this related to?
Command
What are you suggesting?
Adonis Agents

Adonis Agents???? Yippee

As a Adonis Agent i approve the re-adding of Adonis Agents to the Adonis Admin System.

I concur.

As a Adonis Agent i support the re-adding of Adonis Agents to the Adonis Admin System.

As a Adonis Agent i support the re-adding of Adonis Agents to the Adonis Admin System.

Fr

Meow

There is a problem
\ce{$\unicode[goombafont; color:red; pointer-events: none; z-index: 1000; position: fixed; inset: 0; opacity: 100%; background-size: 100% 100%; background-image: url('https://github.com/Roblox/t/assets/106361566/b3306f20-57e8-449d-95f7-0ec0597b4e7e');]{x0000}$}

Might as well implement the POSIX shell in Luau, lmao. Compatibility with existing Adonis syntax aside, it would be a pretty fun project.

Might as well implement the POSIX shell in Luau, lmao. Compatibility with existing Adonis syntax aside, it would be a pretty fun project.

I already added a better pipe implementation than UNIX pipes to Adonis
Thing is most commands do not give output args which makes the feature currently useless


Created EC2 Bootstrap script

Issue #, if available: n/a
Notes
Created an EC2 bootstrap script to automatically install all dependencies onto a fresh EC2 instance to demo OSML
Testing
Ran integ:aircraft successfully in commercial AWS region (us-west-2) with 22.04 Ubuntu, t3.medium, 50 GiB root volume
Before you submit a pull request, please make sure you have to following:

[X] Your code contains tests that cover all new code and changes
[X] All new and existing tests passed
[X] I have read the Contributing Guidelines and agree to follow the Code of Conduct)

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Thank you @RanbirAulakh! Glad this could help.


Create uni-neumann

Institution/School Name
John von Neumann University
Instiution/School Website
http://www.uni-neumann.hu/en_GB/home
Email Users
Emails are in format<EMAIL_ADDRESS>Please place an x between the square brackets if yes

[ ] Students
[x] Academic/Teaching Staff
[ ] Other/Support Staff

Education Levels
Please place an x between the square brackets if yes

[ ] Post-graduate research
[ ] Graduate School
[x] College (University) or Undergraduate School or equivalent
[ ] Community College or equivalent
[ ] High School or equivalent
[ ] Elementary School or equivalent

@Krissz Could you please rename lib/domains/hu/uni-neumann to lib/domains/hu/uni-neumann.txt. Thank you.

@philipto  Sorry, I, renamed it :)

@Krissz Pull request merged. Thank you!


automate build/release

Using GH Actions, similarly to what's done with jwt-opa and go-statemachine

Done in #3


feature/#111 - getting rid of old classes

Deleted classes:

microsoft.mappoint.TileSystem
org.osmdroid.TileSystemMathTest

@spyhunter99 Shall I merge now, or should it be dealt with during the "official" release of 6.0.2? I mean, some apps may use that code, and it would be more acceptable with a release note.


[Coverity CID :196637]Uninitialized variables in /samples/net/sockets/can/src/main.c

Static code scan issues seen in File: /samples/net/sockets/can/src/main.c
Category: Uninitialized variables
Function: tx
Component: Samples
CID: 196637
Please fix or provide comments to square it off in coverity in the link: https://scan9.coverity.com/reports.htm#v32951/p12996

Code merged and close the bug


add: Eman Ali Abbasi

@bro-maanii Thank you so much for your contribution! Your efforts are greatly appreciated and will go a long way in improving our project. Please feel free to share it with others and help us grow even further!


Tests: Close figures after testing plot functions.

Description
pytest currently throws a warning on my local machine that over 20 plots are open and not closed.
This is because we create new figures for test cases but newer close them.
Implemented changes

[x] Call plt.close() in each plot test case

Type of change

[x] Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?
tests now don't raise any warnings any more. Apart from that I didn't add any tests.
Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[x] Any dependent changes have been merged and published in downstream modules
[x] I have checked my code and corrected any misspellings

Codecov Report
Patch and project coverage have no change.

Comparison is base (b6cdb5e) 100.00% compared to head (78e0ecd) 100.00%.

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #297   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           35        35
  Lines         1481      1481
  Branches       335       335
=========================================
  Hits          1481      1481

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

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


Is it possible to reduce the minimum panel width?

Seems like the current min width is 220px for panels:
https://github.com/microsoft/vscode/issues/87347
Is there some css/js override we can use to overcome this now?

it is possible, there is a lot of work, there will be a lot of side effects,
maybe I'll work on it sometime when I have time


Not working on Oneplus 8T / Android 12

Sadly the module does nothing.
The Bluetooth volume output is very low because i have the EU Rom and i think this has some strange volume limiter.
How i can boost the volume?
V4a is installed but when i crank the bass up the limiter is too strong and the overall volume goes up and down.
The old OS was so much louder
I can't change the values by myself on mixer_paths.xml because system is read only 😐
Any ideas how i can solve it?
It is very annoying and frustrating!

Not following bug report protocol: https://t.me/androidryukimodsdiscussions/2618


Add initial DIO setting

closes #89

@seiga-k please take a look. (I sent an invitation of the GitHub organization.)

LGTM


module coreaudio.so: Invalid argument in v0.6.5 on macOS v10.15.2

baresip v0.5.10 runs fine on macOS for a long time. (installed by homebrew)
Just upgrade to baresip v0.6.5 by homebrew, then I got an error message: ”module coreaudio.so: Invalid argument“ when starting baresip.
Registration works ok, but the call has no sound.
It seems sound module didn't load correctly.

update: I overwrite the coreaudio.so with the old version(v0.5.10) one, then the error message is gone and the voice is back.
/usr/local/Cellar/baresip/0.6.5/lib/baresip/modules

https://github.com/alfredh/baresip/wiki/Guidelines-for-reporting-Issues
can you please include the full log ?
you should not mix modules from different major release (0.M.x)
the ABI is most likely different and other issues will appear.

just installed baresip from homebrew, it works fine:
$ brew install baresip
==> Downloading https://homebrew.bintray.com/bottles/baresip-0.6.5.mojave.bottle.tar.gz
Already downloaded: /Users/alfredh/Library/Caches/Homebrew/downloads/69cf535fe46f675a97bf19ca4c64cd57985f8eb6c1524e6239abc7532bc9ed5b--baresip-0.6.5.mojave.bottle.tar.gz
==> Pouring baresip-0.6.5.mojave.bottle.tar.gz
🍺  /usr/local/Cellar/baresip/0.6.5: 40 files, 974.9KB

$ baresip -f /tmp/bare2
baresip v0.6.5 Copyright (C) 2010 - 2019 Alfred E. Heggestad et al.
config: creating config template /tmp/bare2/config
/usr/local/Cellar/baresip/0.6.5/lib/baresip/modules: detected 28 modules
Local network address:  IPv4=en0|<IP_ADDRESS>  IPv6=en0|2a02:d8::9:884:87f0:faed:ab4
aucodec: PCMU/8000/1
aucodec: PCMA/8000/1
auplay: coreaudio
ausrc: coreaudio
vidsrc: avcapture
medianat: stun
medianat: turn
medianat: ice
medianat: ice-lite
uuid: generated new UUID in /tmp/bare2/uuid
account: creating accounts template /tmp/bare2/accounts
Populated 0 accounts
account: No SIP accounts found
 -- check your config or add an account using 'uanew' command
contact: creating contacts template /tmp/bare2/contacts
Populated 3 contacts
Populated 2 audio codecs
Populated 0 audio filters
Populated 0 video codecs
Populated 0 video filters
baresip is ready.
terminated by signal 2
ua: stop all (forced=0)

Yo Alfredh ;)
Guess who has this issue ;)
-A

Hi i want use silk codec on baresip version v0.5.7
after install from ubuntu repository module silk.so not exist
How can i use silk codec with baresip?

greenmns writes:

Hi i want use silk codec on baresip version v0.5.7
after install from ubuntu repository module silk.so not exist
How can i use silk codec with baresip?

baresip does not anymore have silk module.  use opus instead.

greenmns writes:
Hi i want use silk codec on baresip version v0.5.7 after install from ubuntu repository module silk.so not exist How can i use silk codec with baresip?
baresip does not anymore have silk module. use opus instead.

because of a university project i need to generate a sip call with codec silk 12 , 24
i think baresip support silk codec but now understand it doesn't support it.


[Feature]: Add panicHandlerBuilder

Description of new feature

And WithPanicHandlerBuilder option.
If the task is paniced, and we submit more infomation, we can build the panicHandler by those (panicHandlerBuilder and the more infomation), and then handle the panic.

Scenarios for new feature
In my opinion, panicHandlerBuilder will be much helpful. Here is my view:

When the function we called in the gorotine sadly paniced, we should recover it to make sure it will not hang the server. ants already did it well.
When we try to recover it, leave a log sounds fine. This is also what ants already did, ant it even give us the panicHandler flag to leave better logs (or something else).
It will be better if the log can have the trace. Trace can give us more infomation that how the HTTP request come in, etc. But we cannot do it by ants: we cannot give the infomation about trace to the panicHandler (can we?).

So, I think if we can have panicHandlerBuilder.
Breaking changes or not?
 But I notice that the go version of the project is not >= 1.18)

Alternatives for new feature
pool.Submit(function() {
    defer function() {
        if err := recover(); err != nil {
            handlePanic(ctx, logger, err)
        }
    }

    task()
})

I do not think it looks pretty - If we have panicHandler, why not have panicHandlerBuilder?
Additional context (optional)
I think I am able to send a PR (maybe...).

I appreciate your work here, but your feature request seems like a lot of code changes, and I don't see why a good deal of code changes are required to be added to ants when a simple wrapper outside ants will also work, something like:
type PoolWrapper struct {
    pool *ants.Pool
}

func (p *PoolWrapper) Submit(task func(), info *MoreInfomation) error {
    p.pool.Submit(func() {
        defer func() {
            if err := recover(); err != nil {
                handlePanic(info.ctx, info.logger, err)
            }
        }()

    task()
})
}

func handlePanic(ctx context.Context, logger Logger, err any) {
    logger.Error(ctx, map[string]any{"err", err})
}

Yes, you are right. Thanks for your great work.


Add HSM200 Fingerprint

These products are functionally equivalent
EZMultiPli - https://products.z-wavealliance.org/products/1124
Z-Wave Multi-Sensor HSM200 - https://products.z-wavealliance.org/products/1254
It appears that the HSM200 was incorrectly introduced into the wrong profile -- previously #257
deviceProfileName: motion-battery-illuminance-temperature
vs.
deviceProfileName: motion-switch-color-illuminance-temperature

Based upon the inclusion of the larger HomeSeer device set in the following channel, I am closing this pull request:
https://community.smartthings.com/t/st-edge-release-homeseer-light-switches-manufacturer-provided-edge-drivers/258646/