Support request for CB28M1S(IB)-1

Hello,
would it be possible to add the support of CB28M1S(IB)-1 model?
Model: CB28M1S(IB)-1
Input: 19-33V V, 150W
Output M.1: 19-33V V, 4A
Duty Cycle: 2 Minutes ON, 18 Minutes OFF
M.D.: 1F10
Here is a picture below:

I have exactly one like this. Did you achieved something already? I would also like to automate this so that I could have this scheduled to move up and down depending on the time I'm in front of my PC (I would then do those checks in my current openHAB server with other sensors I have).
Any suggestions will be more than welcome! :)


Support field references in min and max options

Suppose, I have the following type definition:
message Range {
    int32 min_value = 1;
    int32 max_value = 2;
}

Obviously, the following should apply:

min_value <= max_value
max_value >= min_value, which is just an opposite of the item 1.

Can we do it now like this?
message Range {
    int32 min_value = 1 [(max).value = "max_value"]; // using optional `this.` prefix is also desired.
    int32 max_value = 2;
}

message NumberGenerated {
    int32 number = 1 [(min).value = "range.min_value", (max).value = "range.max_value"];
    Range range = 2 [(required) = true];
}

I've just tested it with NumberGenerated in a testFixtures of core-java project. We don't handle this case yet. No code is generated.


Replace DateTime.ToShortDate usage with .ToString()

Unit tests were failing on any computer using English as DateTime.ToShortDate() outputs the date as mm/DD/yyyy.

Great job Dylan! 💯 🙏

Good job!


Updated formating of (scan create) output for readability.

Scan submitted to Checkmarx

Checkmarx SAST - Scan Summary & Details
Cx-SAST Summary
Total of 16 vulnerabilities 1 High 7 Medium 8 Low 0 Info
Violation Summary
 1 High 4 Medium
View more details on Checkmarx UI
Cx-SAST Details

Lines
Severity
Category
File
Link

193 210
Medium
SSRF
internal/wrappers/client.go
Checkmarx

105
Medium
Denial_Of_Service_Resource_Exhaustion
internal/wrappers/configuration.go
Checkmarx

193
Medium
Denial_Of_Service_Resource_Exhaustion
internal/wrappers/client.go
Checkmarx

193
High
CGI_XSS
internal/wrappers/client.go
Checkmarx


Auto context with llm

Add the ability to use llm for context selection in benchmarks. In future PRs we'll add a command/arg to use this in the actual mentat - this lays the groundwork for that.

Move auto-context logic from CodeContext._get_auto_features to mentat.auto_context.py
Define two algos: _greedy (reproduce current results) and _llm
Use _llm algo in get_git_log_transcripts to build benchmark['expected_features'].

What this branch can do is:

Generate benchmarks using @jakethekoenig's script: ./scripts/git_log_to_transcripts.py --repo <gh-link>
Run context_benchmarks against the created benchmarks: pytest -s tests/benchmarks/context_benchmark.py --benchmarks. This will print your precision/recall first with the greedy method, then llm.

Sorry for leaving you with a lot of merge conflicts. I can fix them for you tomorrow if you don't want to bother with them.

No worries, I have a handful of other changes too.

I'd like the selectors to be aware of what files were manually included. Exactly how they respect that can be up to them. For instance maybe the LLM selector would always send it to the LLM to ask if it should be included but if the LLM says no it wouldn't be put in the final context even if the user included it.

It'd be good if the LLM saw those files as part of the selection process, as it gives it a hint on what else need to be included. And the user's prompt might refer to things in those files that would be ambiguous if you didn't know what files they included

I'd like the selectors to be aware of what files were manually included. Exactly how they respect that can be up to them. For instance maybe the LLM selector would always send it to the LLM to ask if it should be included but if the LLM says no it wouldn't be put in the final context even if the user included it.

It'd be good if the LLM saw those files as part of the selection process, as it gives it a hint on what else need to be included. And the user's prompt might refer to things in those files that would be ambiguous if you didn't know what files they included

As it stands, the CodeFeature itself has a user_included boolean flag, which is set correctly for all features passed to the Selectors, so they can decide if/how to respond.
For the case of the GreedySelector, checking for and prioritizing those seemed contrary to the spirit of it, so I move user-included features to the top of the list (formerly sorted by search), and that achieves the same thing.
For the LLMSelector, it doesn't know currently, but we can add some indication in the code_message like we've talked about elsewhere. e.g. add it to the filename line: mentat/conversation.py USER-INCLUDED. I'll leave that update for a future PR.

Given there isn't much user facing change in this PR, just another context selector hidden behind a flag, I think I'm okay to merge this to make it easier to work on the benchmark and the more expensive context selector algorithm (which I could do tomorrow?) in parallel. What do you think @biobootloader ?

I got it working as intended on the git-transcripts-script and pushed the small changes required for that.
Currently the LLMSelector's outputs still aren't usable for the benchmarks because they are missing ~10% of the edited lines. However I think this has to do with the prompt, so that's what I'm planning to work on next.
So I agree with @jakethekoenig that we ought to merge this as-is, switched off.


cy.contains('Join This Study')

:tada: This PR is included in version 5.12.1 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Support using pynco on Windows

I've received a few questions about how to use pynco on Windows.  I've never tried this but if anyone has, that would be great to hear.  Otherwise, I'm going to leave this as an open issue until somebody wants to give it a try.

Hi Joe,
I have used pynco successfully on Windows 10 a couple of times however when I try to initiate some operations, I get the same error. I am still relatively new to Python so I am not sure if this is an issue with my code or with pynco.
My code:
from nco import Nco
import os

nco = Nco()

#Folder containing .nc files I want to loop through
folder = os.listdir("C:\\Users\\jcrouch\\Desktop\\HFRadar")

#Loop through each ncfile to set the record dmn
#and append "_time" to the end of the file name
print("Making record dimensions...")
for ncfiles in folder:
    files = ncfiles.strip()
    inputs = str(files)
    outputs = str(os.path.splitext(files)[0] + "_time.nc")
    print("Input file = " + inputs)
    print("Output file = " + outputs)
    print("\n")
    nco.ncks(input = inputs, output = outputs, mk_rec_dmn = 'time_run')
print("Record dimensions complete.")

The output:
Making record dimensions...
Input file = 08_12.nc
Output file = 08_12_time.nc

Error in calling operator ncks with:
C:\Downloads\nco\ncks --mk_rec_dmn=time_run --output=08_12_time.nc 08_12.nc <<<
Inputs: 08_12.nc
b'nco_err_exit(): ERROR Short NCO-generated message (usually name of function that triggered error): nco__open()\r\nnco_err_exit(): ERROR Error code is 2. Translation into English with nc_strerror(2) is "No such file or directory"\r\n'
Traceback (most recent call last):
  File "C:\Users\jcrouch\Desktop\python\projects\nco\mk_rec_dmn.py", line 20, in <module>
    nco.ncks(input = inputs, output = outputs, mk_rec_dmn = 'time_run')
  File "C:\Program Files\Python35\lib\site-packages\nco-0.0.2-py3.5.egg\nco\nco.py", line 245, in get
nco.nco.NCOException: (returncode:1) b'nco_err_exit(): ERROR Short NCO-generated message (usually name of function that triggered error): nco__open()\r\nnco_err_exit(): ERROR Error code is 2. Translation into English with nc_strerror(2) is "No such file or directory"\r\n'
[Finished in 0.3s with exit code 1]

If it is indeed my code (more than likely), how do you suggest looping through .nc files using pynco?

Good to hear that you have gotten pynco on windows. I suppose we can close this issue now.
As for your error, it seems like 08_12.nc isn't a file. Try using glob.glob instead of os.listdir
Running this should raise the same error:
C:\Downloads\nco\ncks --mk_rec_dmn=time_run --output=08_12_time.nc 08_12.nc


Don't substitute indent_size with "tab" if it's not specified explicitly

Otherwise editor's default indent size will be ignored and replaced with tab size which may differ

#18 has been merged. Could you rebase so the CI can run?

The CI failed on master...


Implement support for assertion error codes

The various assertion instructions, e.g. assert in Miden Assembly now support constant integral error codes. We should add support for that in the IR.

I'm interested in this one; can pick and try to complete.


Passing multiple test configurations to cublas microbenchmark

What would you like to be added:
Support multiple configurations as a list in the YAML config file for cublas testing
Why is this needed:
Can create a sweep of custom tests to run
Without this feature, how does current superbenchmark work：
Use the default list of test configs or pass only 1 test config
Components that may involve changes:
The logic in https://github.com/microsoft/superbenchmark/blob/main/superbench/benchmarks/micro_benchmarks/cublas_function.py#L248
that can handle a list of different dictionaries
Brief description of your proposal if any:

Thanks for reaching out this issue to us, we will prepare a pr to fix it soon

#414 is to solve this issue


jquery 1.8 without SSL (https) from ajax.googleapis.com is blocked by some firewall

In my company, jquery CDN url with out https is blocked.
Blocked URL:
http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js
Working URL:
https://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js
I can see in if we browser below url its working,
https://plnkr.co/edit/?p=options
Because, this URL or route uses jquery with HTTPS - Identified from developer tools.
The same is not working with below urls, because, this URL or route uses jquery without HTTPS (http only)

http://plnkr.co/
http://plnkr.co/edit/SAl4YVXKRWpS7OeTYMrd?p=preview

Can we change all to HTTPS ?

changing plunker url to https worked.
I think this issue can be closed, if this is fine.


[SP-5743] Backport of PDI-18885 - Performance degradation due to open…

…ing of XML files. (8.3 Suite)
@pentaho-lmartins @ppatricio @ssamora @bcostahitachivantara @belxiors

:white_check_mark: Build finished in 27m 21s
Build command:
mvn clean verify -B -e -Daudit -amd -pl core

:ok_hand: All tests passed!
Tests run: 4747, Failures: 0, Skipped: 7    Test Results

:information_source:  This is an automatic message


fix cstyle error in src/replication_test.c

Repo: openebs/istgt
Branch: replication
File: src/replication_test.c
Steps to compile in: README.md
PR subject should be like: fmt(cstyle): cstyle fixes in
./src/replication_test.c: 23: #define followed by space instead of tab
./src/replication_test.c: 24: missing space between keyword and paren
./src/replication_test.c: 31: #define followed by space instead of tab
./src/replication_test.c: 32: missing space between keyword and paren
./src/replication_test.c: 63: unparenthesized return expression
./src/replication_test.c: 67: unparenthesized return expression
./src/replication_test.c: 80: unparenthesized return expression
./src/replication_test.c: 83: missing space between keyword and paren
./src/replication_test.c: 85: line > 80 characters
./src/replication_test.c: 86: unparenthesized return expression
./src/replication_test.c: 93: unparenthesized return expression
./src/replication_test.c: 108: space after cast
./src/replication_test.c: 120: unparenthesized return expression
./src/replication_test.c: 151: missing space between keyword and paren
./src/replication_test.c: 171: line > 80 characters
./src/replication_test.c: 183: unparenthesized return expression
./src/replication_test.c: 197: unparenthesized return expression
./src/replication_test.c: 199: unparenthesized return expression
./src/replication_test.c: 209: missing space between keyword and paren
./src/replication_test.c: 215: line > 80 characters
./src/replication_test.c: 216: unparenthesized return expression
./src/replication_test.c: 220: unparenthesized return expression
./src/replication_test.c: 224: missing space between keyword and paren
./src/replication_test.c: 228: unparenthesized return expression
./src/replication_test.c: 264: line > 80 characters
./src/replication_test.c: 269: line > 80 characters
./src/replication_test.c: 316: line > 80 characters
./src/replication_test.c: 316: missing blank after start comment
./src/replication_test.c: 316: comma or semicolon followed by non-blank
./src/replication_test.c: 325: line > 80 characters
./src/replication_test.c: 327: line > 80 characters
./src/replication_test.c: 327: continuation should be indented 4 spaces
./src/replication_test.c: 345: unparenthesized return expression
./src/replication_test.c: 358: unparenthesized return expression
./src/replication_test.c: 361: missing space between keyword and paren
./src/replication_test.c: 364: missing space between keyword and paren
./src/replication_test.c: 368: missing space between keyword and paren
./src/replication_test.c: 371: missing space between keyword and paren
./src/replication_test.c: 375: missing space between keyword and paren
./src/replication_test.c: 379: missing blank after start comment
./src/replication_test.c: 379: comma or semicolon followed by non-blank
./src/replication_test.c: 381: line > 80 characters
./src/replication_test.c: 382: unparenthesized return expression
./src/replication_test.c: 389: line > 80 characters
./src/replication_test.c: 391: line > 80 characters
./src/replication_test.c: 391: continuation should be indented 4 spaces
./src/replication_test.c: 400: unparenthesized return expression
./src/replication_test.c: 447: missing space between keyword and paren
./src/replication_test.c: 458: missing space between keyword and paren
./src/replication_test.c: 466: missing space between keyword and paren
./src/replication_test.c: 474: missing space between keyword and paren
./src/replication_test.c: 502: missing space between keyword and paren
./src/replication_test.c: 509: missing space between keyword and paren
./src/replication_test.c: 510: missing space between keyword and paren
./src/replication_test.c: 511: line > 80 characters
./src/replication_test.c: 512: space or tab at end of line
./src/replication_test.c: 513: space or tab at end of line
./src/replication_test.c: 515: line > 80 characters
./src/replication_test.c: 525: space or tab at end of line
./src/replication_test.c: 526: missing blank after start comment
./src/replication_test.c: 527: missing space between keyword and paren
./src/replication_test.c: 528: line > 80 characters
./src/replication_test.c: 528: indent by spaces instead of tabs
./src/replication_test.c: 528: non-continuation indented 4 spaces
./src/replication_test.c: 531: indent by spaces instead of tabs
./src/replication_test.c: 531: non-continuation indented 4 spaces
./src/replication_test.c: 532: indent by spaces instead of tabs
./src/replication_test.c: 532: non-continuation indented 4 spaces
./src/replication_test.c: 537: line > 80 characters
./src/replication_test.c: 543: missing space between keyword and paren
./src/replication_test.c: 546: missing blank after start comment
./src/replication_test.c: 547: missing space between keyword and paren
./src/replication_test.c: 563: line > 80 characters
./src/replication_test.c: 569: missing space around relational operator
./src/replication_test.c: 569: missing space around assignment operator
./src/replication_test.c: 569: missing space between keyword and paren
./src/replication_test.c: 571: continuation should be indented 4 spaces
./src/replication_test.c: 572: continuation should be indented 4 spaces
./src/replication_test.c: 573: line > 80 characters
./src/replication_test.c: 573: extra space between function name and left paren
./src/replication_test.c: 576: line > 80 characters
./src/replication_test.c: 576: missing space between keyword and paren
./src/replication_test.c: 579: line > 80 characters
./src/replication_test.c: 580: line > 80 characters
./src/replication_test.c: 585: line > 80 characters
./src/replication_test.c: 592: line > 80 characters
./src/replication_test.c: 593: line > 80 characters
./src/replication_test.c: 598: line > 80 characters
./src/replication_test.c: 604: missing space between keyword and paren
./src/replication_test.c: 605: line > 80 characters
./src/replication_test.c: 606: line > 80 characters
./src/replication_test.c: 610: line > 80 characters
./src/replication_test.c: 611: line > 80 characters
./src/replication_test.c: 618: line > 80 characters
./src/replication_test.c: 623: missing space between keyword and paren
./src/replication_test.c: 626: line > 80 characters
./src/replication_test.c: 626: missing space between keyword and paren
./src/replication_test.c: 629: line > 80 characters
./src/replication_test.c: 635: missing space between keyword and paren
./src/replication_test.c: 635: continuation should be indented 4 spaces
./src/replication_test.c: 636: missing space between keyword and paren
./src/replication_test.c: 636: continuation should be indented 4 spaces
./src/replication_test.c: 637: line > 80 characters
./src/replication_test.c: 637: continuation should be indented 4 spaces
./src/replication_test.c: 639: line > 80 characters
./src/replication_test.c: 640: line > 80 characters
./src/replication_test.c: 640: continuation should be indented 4 spaces
./src/replication_test.c: 644: line > 80 characters
./src/replication_test.c: 650: line > 80 characters
./src/replication_test.c: 651: missing space between keyword and paren
./src/replication_test.c: 652: line > 80 characters
./src/replication_test.c: 655: missing space between keyword and paren
./src/replication_test.c: 656: missing space between keyword and paren
./src/replication_test.c: 658: line > 80 characters
./src/replication_test.c: 662: line > 80 characters
./src/replication_test.c: 674: line > 80 characters
./src/replication_test.c: 678: line > 80 characters
./src/replication_test.c: 688: line > 80 characters
./src/replication_test.c: 692: line > 80 characters
./src/replication_test.c: 702: line > 80 characters
./src/replication_test.c: 703: line > 80 characters
./src/replication_test.c: 704: line > 80 characters
./src/replication_test.c: 706: line > 80 characters
./src/replication_test.c: 707: line > 80 characters
./src/replication_test.c: 709: line > 80 characters
./src/replication_test.c: 713: line > 80 characters
./src/replication_test.c: 714: line > 80 characters
./src/replication_test.c: 715: line > 80 characters
./src/replication_test.c: 716: line > 80 characters
./src/replication_test.c: 723: line > 80 characters
./src/replication_test.c: 724: line > 80 characters
./src/replication_test.c: 725: line > 80 characters
./src/replication_test.c: 726: line > 80 characters
./src/replication_test.c: 727: line > 80 characters
./src/replication_test.c: 730: line > 80 characters
./src/replication_test.c: 731: line > 80 characters
./src/replication_test.c: 731: continuation should be indented 4 spaces
./src/replication_test.c: 734: line > 80 characters
./src/replication_test.c: 738: line > 80 characters
./src/replication_test.c: 738: missing space between keyword and paren
./src/replication_test.c: 742: line > 80 characters
./src/replication_test.c: 743: line > 80 characters
./src/replication_test.c: 744: line > 80 characters
./src/replication_test.c: 745: line > 80 characters
./src/replication_test.c: 745: missing space between keyword and paren
./src/replication_test.c: 747: line > 80 characters
./src/replication_test.c: 747: missing space between keyword and paren
./src/replication_test.c: 748: missing space between keyword and paren
./src/replication_test.c: 748: whitespace before right paren
./src/replication_test.c: 749: line > 80 characters
./src/replication_test.c: 749: missing space between keyword and paren
./src/replication_test.c: 750: line > 80 characters
./src/replication_test.c: 751: line > 80 characters
./src/replication_test.c: 756: line > 80 characters
./src/replication_test.c: 756: missing space between keyword and paren
./src/replication_test.c: 762: line > 80 characters
./src/replication_test.c: 766: line > 80 characters
./src/replication_test.c: 766: missing space between keyword and paren
./src/replication_test.c: 769: line > 80 characters
./src/replication_test.c: 769: missing space between keyword and paren
./src/replication_test.c: 774: missing space between keyword and paren
./src/replication_test.c: 775: line > 80 characters
./src/replication_test.c: 778: line > 80 characters
./src/replication_test.c: 780: missing space between keyword and paren
./src/replication_test.c: 781: line > 80 characters
./src/replication_test.c: 782: missing space between keyword and paren
./src/replication_test.c: 782: whitespace before right paren
./src/replication_test.c: 783: line > 80 characters
./src/replication_test.c: 783: missing space between keyword and paren
./src/replication_test.c: 784: line > 80 characters
./src/replication_test.c: 785: line > 80 characters
./src/replication_test.c: 790: line > 80 characters
./src/replication_test.c: 790: missing space between keyword and paren
./src/replication_test.c: 797: line > 80 characters
./src/replication_test.c: 798: line > 80 characters
./src/replication_test.c: 799: line > 80 characters
./src/replication_test.c: 804: line > 80 characters
./src/replication_test.c: 813: line > 80 characters
./src/replication_test.c: 833: unparenthesized return expression

Resources:
-> Countributers guide: https://github.com/openebs/openebs/blob/master/CONTRIBUTING.md
Complexity: Easy

Working on this

Hey!

I am trying to fix cstyle for this file, but there are certain lines where cstyle error( line > 80 characters
) is inevitable like in line 767( or around ), see attached image for reference
						continue;
How to fix cstyle for these lines


Add Rpc Admin

We need a management system to maintain server list and other things.
Requirements:
rpc-admin module.

server list client list
log
close and start server manually
set weight to influence load balance policy(after we add server weight to the load balancing).

Here are some my first simple and crude implements.
Include
service list , service detail server list.

Decorate our page with bootstrap to make it looks better.

Bootstrap has beed added, and looks pretty.

Basic supports had been added#21


feat: store proposal_count and vote_count per user per space

Similar than on https://github.com/snapshot-labs/sx-monorepo/issues/157 we should store proposal_count and vote_count per user per space in a new table "leaderboard".

Isn't this related to https://github.com/snapshot-labs/snapshot-sequencer/pull/127


Associated Products problem

If simple products were not created during the creation configureimage of the item, it displays the JSON is empty or the data is not displayed.
Incomplete output in JSON
https://tradeinmobile.ru/api/rest/products/49/associated
in catalog:
https://tradeinmobile.ru/katalog/iphone-7.html
Empty:
https://tradeinmobile.ru/api/rest/products/152/associated
in catalog:
https://tradeinmobile.ru/katalog/iphone-x.html
<IP_ADDRESS>

Hi,
Are you creating both configurable and simple products through this API? Is there a notice in admin like "One or more indexes are out of date"? Lists of products in this extension use the flattened tables for speed, does reindexing the "Product Flat Data" have an effect?

I tried to associate the items via Magento Admin Panel, Magento Store Manager, Default Import/Export = no effect. Disable/Enable Flat Data and indexing = no effect. Indexing via shell = no effect. Associated products appear in the JSON /associated only if you create them together with a configurable item in the settings of the configurable product, and only if you use a full Manager, not quick create.

After removal and import of products using Default Import/export all associations disappeared in the JSON. In the catalog everything is fine. After you remove/import via magento manager partially installed Association. Trying Magmi

The associated products only show if they have an image.  For example, this URL returns an empty list, https://tradeinmobile.ru/api/rest/products/152/associated whereas this URL returns a list of names, https://tradeinmobile.ru/api/rest/products/152/associated?attrs=name.  This is because attrs does not include image_url so the image field is not joined.  I must change the join to a left join to prevent this from happening and will do so later today.

All right, once I added the image, JSON started to take shape. However seen printed no more than 10 indexes, while the I have 18.
https://tradeinmobile.ru/api/rest/products/153/associated


[feature request] sort subreddit search by new, relevance, top, comments

You can do this in the web ui. Currently, if you do a subreddit search (f), then sort by "new" for example, (4), rtv returns to the subreddit's new page.

Agreed, this would be nice to have.

The sorting options will now be applied to the current search, instead of discarding the query and refreshing the page.
Currently you can sort by (hot, new, top, rising, controversial). I opened a new issue to change the options to (new, relevance, top, comments) for search results. https://github.com/michael-lazar/rtv/issues/401


clear inconsistencies in id and add english name of book as \mte

Fixed repeated words in \id fields and added english names of books using tag \mte

\mte tag is used for major title ending.

Hi @berinaniesh
You're right \mte is for marking Major Title Ending. According to the reference, they are used for repeating the Major title at the end of the introduction.


[Redesign] Fix spacing of dependency groups

Before...

After:

After (for packages that support all frameworks):

Addresses https://github.com/NuGet/NuGetGallery/issues/8715
Test build: https://devdiv.visualstudio.com/DevDiv/_build/results?buildId=5037654
Test release:

Nice! :thumbsup:


Actually improve recovery when parsing bogus expressions

The crashes fixed appeared at first to be related to IfConfigStmt
parsing, but are in reality symptoms of being too lax in what we accept
when parsing of sub-expressions fails.
Optional type annotation parsing used to propagate failures before it
was patched to ‘recover’ with an AnyPattern.  Instead, we’ll just hit
the error path for parsing in the main expressions because what is here
now isn’t a reasonable thing to return.
#selector parsing assumed that the current token it was at after
consuming up to a right-brace wasn’t bogus.  Instead, if we’ve got
here, we may as well just return a loc we know is valid: PreviousLoc.

@slavapestov How's it look?
@swift-ci please smoke test.

Looks great, thanks!


Device shows as online even when physically disconnected from WiFi/Power

Hi,
I have a Sonoff POW R2 switch which keeps showing up as online (and presenting the last parameters before disconnection) even when it is physically disconnected from power/WiFi. Is that expected? Only restart of HS caused the device to show offline.
Here is my configuration
sonoff:
#  username: !secret sonoff_username
#  password: !secret sonoff_password
  mode: local
  sensors: [current, power, voltage]
  scan_interval: '00:00:10'
  force_update: [current, power, voltage]
  debug: true

Here is the log
2021-07-23 23:57:58  DEBUG    main          SysInfo: {'version': '2021.7.4', 'dev': False, 'hassio': True, 'virtualenv': False, 'python_version': '3.9.5', 'docker': True, 'arch': 'aarch64', 'os_name': 'Linux', 'os_version': '5.10.17-v8', 'supervisor': '2021.06.8', 'host_os': 'Home Assistant OS 6.1', 'docker_version': '20.10.6', 'chassis': 'embedded'}
2021-07-23 23:57:58  DEBUG    main          LOCAL mode start
2021-07-23 23:57:58  DEBUG    main          Init force_update for attributes: {'current', 'power', 'voltage'}
2021-07-23 23:57:58  DEBUG    main          Init auto sensors for: ['current', 'power', 'voltage']
2021-07-24 00:00:03  DEBUG    sonoff_local  <device_id_redacted> <= Local1 | {'alarmVValue': [-1, -1], 'alarmCValue': [-1, -1], 'alarmPValue': [-1, 2000], 'switch': 'on', 'startup': 'stay', 'pulse': 'off', 'pulseWidth': 5000, 'sledOnline': 'on', 'power': 0, 'voltage': 237.95, 'current': 0, 'ssid': '...', 'bssid': '...'} | 1
2021-07-24 00:00:03  DEBUG    main          <device_id_redacted> == Init   | {'uiid': 32, 'extra': {'manufacturer': 'SONOFF', 'model': 'POW', 'sw_version': 'PSC-B67-GL v3.5.0'}, 'params': {'alarmVValue': [-1, -1], 'alarmCValue': [-1, -1], 'alarmPValue': [-1, 2000], 'switch': 'on', 'startup': 'stay', 'pulse': 'off', 'pulseWidth': 5000, 'sledOnline': 'on', 'power': 0, 'voltage': 237.95, 'current': 0, 'ssid': '...', 'bssid': '...', 'local': 'online'}}
2021-07-24 00:00:07  DEBUG    sonoff_local  <device_id_redacted> <= Local3 | {'alarmVValue': [-1, -1], 'alarmCValue': [-1, -1], 'alarmPValue': [-1, 2000], 'switch': 'on', 'startup': 'stay', 'pulse': 'off', 'pulseWidth': 5000, 'sledOnline': 'on', 'power': 0, 'voltage': 238.46, 'current': 0, 'ssid': '...', 'bssid': '...'} | 2
2021-07-24 00:00:14  DEBUG    switch        Refresh device state <device_id_redacted>
2021-07-24 00:00:14  DEBUG    sonoff_local  <device_id_redacted> => Local4 | {'sledonline': 'on'} <= {'seq': 3, 'sequence': '1627077614025', 'error': 0}
2021-07-24 00:00:14  DEBUG    sonoff_local  <device_id_redacted> <= Local3 | {'alarmVValue': [-1, -1], 'alarmCValue': [-1, -1], 'alarmPValue': [-1, 2000], 'switch': 'on', 'startup': 'stay', 'pulse': 'off', 'pulseWidth': 5000, 'sledOnline': 'on', 'power': 0, 'voltage': 238.39, 'current': 0, 'ssid': '...', 'bssid': '...'} | 3
2021-07-24 00:00:15  DEBUG    sonoff_local  <device_id_redacted> <= Local3 | {'alarmVValue': [-1, -1], 'alarmCValue': [-1, -1], 'alarmPValue': [-1, 2000], 'switch': 'on', 'startup': 'stay', 'pulse': 'off', 'pulseWidth': 5000, 'sledOnline': 'on', 'power': 0, 'voltage': 238.54, 'current': 0, 'ssid': '...', 'bssid': '...'} | 4
2021-07-24 00:00:24  DEBUG    switch        Refresh device state <device_id_redacted>
2021-07-24 00:00:24  DEBUG    sonoff_local  <device_id_redacted> => Local4 | {'sledonline': 'on'} <= {'seq': 5, 'sequence': '1627077624026', 'error': 0}
2021-07-24 00:00:24  DEBUG    sonoff_local  <device_id_redacted> <= Local3 | {'alarmVValue': [-1, -1], 'alarmCValue': [-1, -1], 'alarmPValue': [-1, 2000], 'switch': 'on', 'startup': 'stay', 'pulse': 'off', 'pulseWidth': 5000, 'sledOnline': 'on', 'power': 0, 'voltage': 237.36, 'current': 0, 'ssid': '...', 'bssid': '...'} | 5
2021-07-24 00:00:25  DEBUG    sonoff_local  <device_id_redacted> <= Local3 | {'alarmVValue': [-1, -1], 'alarmCValue': [-1, -1], 'alarmPValue': [-1, 2000], 'switch': 'on', 'startup': 'stay', 'pulse': 'off', 'pulseWidth': 5000, 'sledOnline': 'on', 'power': 0, 'voltage': 237.36, 'current': 0, 'ssid': '...', 'bssid': '...'} | 6
2021-07-24 00:00:34  DEBUG    switch        Refresh device state <device_id_redacted>
2021-07-24 00:00:34  DEBUG    sonoff_local  <device_id_redacted> => Local4 | {'sledonline': 'on'} <= {'seq': 7, 'sequence': '1627077634028', 'error': 0}
2021-07-24 00:00:34  DEBUG    sonoff_local  <device_id_redacted> <= Local3 | {'alarmVValue': [-1, -1], 'alarmCValue': [-1, -1], 'alarmPValue': [-1, 2000], 'switch': 'on', 'startup': 'stay', 'pulse': 'off', 'pulseWidth': 5000, 'sledOnline': 'on', 'power': 0, 'voltage': 237.95, 'current': 0, 'ssid': '...', 'bssid': '...'} | 7
2021-07-24 00:00:35  DEBUG    sonoff_local  <device_id_redacted> <= Local3 | {'alarmVValue': [-1, -1], 'alarmCValue': [-1, -1], 'alarmPValue': [-1, 2000], 'switch': 'on', 'startup': 'stay', 'pulse': 'off', 'pulseWidth': 5000, 'sledOnline': 'on', 'power': 0, 'voltage': 238.46, 'current': 0, 'ssid': '...', 'bssid': '...'} | 8

...Here the switch was disconnected from power/WiFi...

2021-07-24 00:00:44  DEBUG    switch        Refresh device state <device_id_redacted>
2021-07-24 00:00:50  DEBUG    sonoff_local  <device_id_redacted> => Local4 | {'sledonline': 'on'} !! Timeout 5
2021-07-24 00:00:50  DEBUG    sonoff_local  <device_id_redacted> => Local4 | Check offline with timeout 20s
2021-07-24 00:00:54  DEBUG    switch        Refresh device state <device_id_redacted>
2021-07-24 00:01:00  DEBUG    sonoff_local  <device_id_redacted> => Local4 | {'sledonline': 'on'} !! Timeout 5
2021-07-24 00:01:00  DEBUG    sonoff_local  <device_id_redacted> => Local4 | Skip parallel checks
2021-07-24 00:01:04  DEBUG    switch        Refresh device state <device_id_redacted>
2021-07-24 00:01:10  DEBUG    sonoff_local  <device_id_redacted> => Local4 | {'sledonline': 'on'} !! Timeout 5
2021-07-24 00:01:10  DEBUG    sonoff_local  <device_id_redacted> => Local4 | Skip parallel checks
2021-07-24 00:01:11  DEBUG    sonoff_local  <device_id_redacted> => Local4 | {'cmd': 'info'} !! Timeout 20
2021-07-24 00:01:11  DEBUG    sonoff_local  <device_id_redacted> => Local4 | Check offline with timeout 40s
2021-07-24 00:01:14  DEBUG    switch        Refresh device state <device_id_redacted>
2021-07-24 00:01:17  DEBUG    sonoff_local  <device_id_redacted> => Local4 | {'sledonline': 'on'} !! (ConnectionKey(host='...', port=8081, is_ssl=False, ssl=None, proxy=None, proxy_auth=None, proxy_headers_hash=3266418204390635203), OSError(113, "Connect call failed ('...', 8081)"))
2021-07-24 00:01:17  DEBUG    sonoff_local  <device_id_redacted> => Local4 | {'cmd': 'info'} !! (ConnectionKey(host='...', port=8081, is_ssl=False, ssl=None, proxy=None, proxy_auth=None, proxy_headers_hash=3266418204390635203), OSError(113, "Connect call failed ('...', 8081)"))
2021-07-24 00:01:17  DEBUG    sonoff_local  <device_id_redacted> => Local4 | Skip parallel checks
2021-07-24 00:01:24  DEBUG    switch        Refresh device state <device_id_redacted>
2021-07-24 00:01:26  DEBUG    sonoff_local  <device_id_redacted> => Local4 | {'switch': 'off'} !! (ConnectionKey(host='...', port=8081, is_ssl=False, ssl=None, proxy=None, proxy_auth=None, proxy_headers_hash=3266418204390635203), OSError(113, "Connect call failed ('...', 8081)"))
2021-07-24 00:01:26  DEBUG    sonoff_local  <device_id_redacted> => Local4 | Skip parallel checks
2021-07-24 00:01:26  DEBUG    sonoff_local  <device_id_redacted> => Local4 | {'sledonline': 'on'} !! (ConnectionKey(host='...', port=8081, is_ssl=False, ssl=None, proxy=None, proxy_auth=None, proxy_headers_hash=3266418204390635203), OSError(113, "Connect call failed ('...', 8081)"))
2021-07-24 00:01:26  DEBUG    sonoff_local  <device_id_redacted> => Local4 | Skip parallel checks
2021-07-24 00:01:26  DEBUG    switch        Refresh device state <device_id_redacted>
2021-07-24 00:01:29  DEBUG    sonoff_local  <device_id_redacted> => Local4 | {'sledonline': 'on'} !! (ConnectionKey(host='...', port=8081, is_ssl=False, ssl=None, proxy=None, proxy_auth=None, proxy_headers_hash=3266418204390635203), OSError(113, "Connect call failed ('...', 8081)"))
2021-07-24 00:01:29  DEBUG    sonoff_local  <device_id_redacted> => Local4 | Skip parallel checks
2021-07-24 00:01:34  DEBUG    switch        Refresh device state <device_id_redacted>
2021-07-24 00:01:37  DEBUG    sonoff_local  <device_id_redacted> => Local4 | {'sledonline': 'on'} !! (ConnectionKey(host='...', port=8081, is_ssl=False, ssl=None, proxy=None, proxy_auth=None, proxy_headers_hash=3266418204390635203), OSError(113, "Connect call failed ('...', 8081)"))
2021-07-24 00:01:37  DEBUG    sonoff_local  <device_id_redacted> => Local4 | Skip parallel checks
2021-07-24 00:01:44  DEBUG    switch        Refresh device state <device_id_redacted>
2021-07-24 00:01:47  DEBUG    sonoff_local  <device_id_redacted> => Local4 | {'sledonline': 'on'} !! (ConnectionKey(host='...', port=8081, is_ssl=False, ssl=None, proxy=None, proxy_auth=None, proxy_headers_hash=3266418204390635203), OSError(113, "Connect call failed ('...', 8081)"))
2021-07-24 00:01:47  DEBUG    sonoff_local  <device_id_redacted> => Local4 | Skip parallel checks
2021-07-24 00:01:51  DEBUG    sonoff_local  <device_id_redacted> => Local4 | Check offline with timeout 60s
2021-07-24 00:01:54  DEBUG    switch        Refresh device state <device_id_redacted>
2021-07-24 00:01:54  DEBUG    sonoff_local  <device_id_redacted> => Local4 | {'cmd': 'info'} !! (ConnectionKey(host='...', port=8081, is_ssl=False, ssl=None, proxy=None, proxy_auth=None, proxy_headers_hash=3266418204390635203), OSError(113, "Connect call failed ('...', 8081)"))
2021-07-24 00:01:54  DEBUG    sonoff_local  <device_id_redacted> => Local4 | Device offline
2021-07-24 00:01:54  DEBUG    sonoff_local  <device_id_redacted> => Local4 | {'sledonline': 'on'} !! (ConnectionKey(host='...', port=8081, is_ssl=False, ssl=None, proxy=None, proxy_auth=None, proxy_headers_hash=3266418204390635203), OSError(113, "Connect call failed ('...', 8081)"))
2021-07-24 00:01:54  DEBUG    sonoff_local  <device_id_redacted> => Local4 | Skip parallel checks
2021-07-24 00:02:04  DEBUG    switch        Refresh device state <device_id_redacted>
2021-07-24 00:02:14  DEBUG    switch        Refresh device state <device_id_redacted>
2021-07-24 00:02:24  DEBUG    switch        Refresh device state <device_id_redacted>
2021-07-24 00:02:34  DEBUG    switch        Refresh device state <device_id_redacted>
2021-07-24 00:02:44  DEBUG    switch        Refresh device state <device_id_redacted>
2021-07-24 00:02:54  DEBUG    switch        Refresh device state <device_id_redacted>

Here is what I can see on my dashboard long after disconnection (notice the voltage value is equal to the last received one - 238.46)

Looks like the online/offline state is not properly registered.

20s+40s+60s - time to check offline. You need to wait a little more

I've been waiting almost 12h, and nothing changed. Keep getting this in the log
2021-07-24 00:02:54  DEBUG    switch        Refresh device state <device_id_redacted>
2021-07-24 00:03:04  DEBUG    switch        Refresh device state <device_id_redacted>
2021-07-24 00:03:14  DEBUG    switch        Refresh device state <device_id_redacted>
2021-07-24 00:03:24  DEBUG    switch        Refresh device state <device_id_redacted>
2021-07-24 00:03:34  DEBUG    switch        Refresh device state <device_id_redacted>
2021-07-24 00:03:44  DEBUG    switch        Refresh device state <device_id_redacted>

[...]

2021-07-24 11:34:09  DEBUG    switch        Refresh device state <device_id_redacted>
2021-07-24 11:34:19  DEBUG    switch        Refresh device state <device_id_redacted>
2021-07-24 11:34:29  DEBUG    switch        Refresh device state <device_id_redacted>
2021-07-24 11:34:39  DEBUG    switch        Refresh device state <device_id_redacted>
2021-07-24 11:34:49  DEBUG    switch        Refresh device state <device_id_redacted>

@AlexxIT What else would you need to investigate (and hopefully fix) the issue? Any particular logs? Screenshots? Configs? Anything else?

Have you checked switch state in Developer Tools panel?

Just after disconnecting it shows this

About 70-80 seconds later it shows this

Switch state changes to unavailable, but attributes still report old values.

@AlexxIT the above result got me thinking and I did some more experiments and it looks like whether the device is shown as offline or online when disconnected depends on the contents .sonoff.json configuration file. To be more precise the "online" parameter (see extract from the .sonoff.json file below):
"group":"","online":true,"shareUsersInfo":[]
If the device has been added to the .json file when it was offline in the cloud app (so the "online" parameter equals false) then HA displays it as offline/unavailable 70-80 seconds after disconnection. If the device has been added when it was online in the cloud app (so the "online" parameter equals true) the HA keeps displaying it as online even when it is not connected anymore for a long time.
The state is the same in dashboard and in the Developer Tools.
Hope that will help you to reproduce and fix the issue.

@kevinbosman Indeed this workaround is not ideal :(
@AlexxIT Any chance for a fix in the near future?

I'm not sure about the near future. There are tasks in other projects. Better not to use mode: local.

Probably fixed in latest master-version


Unable to receive images in iOS notifications.

[REQUIRED] Please fill in the following fields:

Unity editor version: 2020.2.0f1
Firebase Unity SDK version: 7.0.2
Source you installed the SDK: UPM (.unitypackage or Unity Package Manager)
Problematic Firebase Component: FCM (Auth, Database, etc.)
Other Firebase Components in use: Auth,Database,Storage,RemoteConfig, FCM etc (Auth, Database, etc.)
Additional SDKs you are using: AppsFlyer (Facebook, AdMob, etc.)
Platform you are using the Unity editor on: Mac (Mac, Windows, or Linux)
Platform you are targeting: iOS (iOS, Android, and/or desktop)
Scripting Runtime: IL2CPP (Mono, and/or IL2CPP)

[REQUIRED] Please describe the issue here:
Unable to receive image notifications (rich) via console, sent to the Unity App
(Please list the full steps to reproduce the issue. Include device logs, Unity logs, and stack traces if available.)
Steps to reproduce:

Build for iOS
Deploy to Xcode and build
Use generated token to send notifications via console
Send text + https image /image stored in bucket.
Image is ignored, only text is received
Have you been able to reproduce this issue with just the Firebase Unity quickstarts (this GitHub project)?
What's the issue repro rate? (eg 100%, 1/5 etc)
100%
What happened? How can we make the problem occur?
This could be a description, log/console output, etc.

If you have a downloadable sample project that reproduces the bug you're reporting, you will
likely receive a faster response on your issue.
Relevant Code:
// TODO(you): code here to reproduce the problem

Hi @adityathoutam
Thank you for reporting the issue.  Yes, I can reproduce the issue with quickstart on iOS as well.
Based on the Firebase iOS SDK doc, seems like there are several extra steps in Xcode to make it works, ex. Notification Service Extension.
The Xcode project generated from Unity is slightly complicated since it has two different targets, UnityFramework and Unity-iPhone.  I am not sure if those steps from iOS SDK doc is valid.  Will need to consult with our iOS team.

Hi @adityathoutam
Thank you for reporting the issue.  Yes, I can reproduce the issue with quickstart on iOS as well.
Based on the Firebase iOS SDK doc, seems like there are several extra steps in Xcode to make it works, ex. Notification Service Extension.
The Xcode project generated from Unity is slightly complicated since it has two different targets, UnityFramework and Unity-iPhone.  I am not sure if those steps from iOS SDK doc is valid.  Will need to consult with our iOS team.

@adityathoutam As @chkuang-g mentioned, setup Notification service extension is a required step and you need to call the Messaging ExtensionHelper API inside the extension.
Here's a tutorial you can check out: https://firebase.google.com/docs/cloud-messaging/ios/send-image
Let us know if you already done that and it still doesn't work for you.

@chliangGoogle As @chkuang-g mentioned, Unity creates two different targets UnityFramework and Unity-iPhone.
There are no instructions on what to do in this case. I have added the Notification service extension but I think it is not aware of the Firebase Messaging inside Unity. I have tried adding Firebase as pods dependencies, but Xcode is showing me 99+ errors. Here is the pod file
`source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '11.0'
def shared_pods
pod 'AppsFlyerFramework', '6.0.7'
pod 'Firebase/Analytics', '7.0.0'
pod 'Firebase/Auth', '7.0.0'
pod 'Firebase/Core', '7.0.0'
pod 'Firebase/Crashlytics', '7.0.0'
pod 'Firebase/Database', '7.0.0'
pod 'Firebase/Functions', '7.0.0'
pod 'Firebase/Messaging', '7.0.0'
pod 'Firebase/RemoteConfig', '7.0.0'
pod 'Firebase/Storage', '7.0.0'
pod 'PurchasesHybridCommon', '1.4.5'
end
target 'UnityFramework' do
shared_pods
end
target 'Unity-iPhone' do
target 'NotificationImage' do
shared_pods
end
end`

@chkuang-g can you try it in unity and see if this is reproducible.

In regular iOS app, the Messaging needs to be installed inside service extension as well: https://github.com/firebase/firebase-ios-sdk/blob/master/FirebaseMessaging/Apps/AdvancedSample/Podfile
@chkuang-g will test on unity to see if it's the similar case.

Yes, I noticed that Unity generates multiple targets and has UnityFramework embedded in Unity-iPhone.
I have not try to set it up yet but I think that should be align with this sample.
https://github.com/firebase/firebase-ios-sdk/tree/master/FirebaseMessaging/Apps/AdvancedSample
Will keep you updated.

Alright, finally had a chance to crack this.
Here are all the steps you need to make it work.  This has been tested with our quickstart project.

(Optional) Install Firebase '7.1.0'.  It includes a couple of fixes for Podfiles and Xcode project which should make the following steps much easier. See https://github.com/firebase/quickstart-unity/issues/862

Follow all of the steps from our sample readme.

Follow this doc to add Notification Service Extension to your Xcode project and modify NotificationService.m. Make sure you sort out the provision profile for this new target as well.
When you have doubt, try to reference this iOS sample and see the difference in your Xcode project (Remember to copy your GoogleServices-Infor.plist to your AppClips folder and change bundle id accordingly based on your provision profile).

Modify Podfile in your Xcode project. The basic idea here is you need Firebase/Messaging pod for both UnityFramework target and your new Notification Service Extension target. Your Podfile should look like the following
source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '11.0'

target 'UnityFramework' do
  pod 'Firebase/Core', '7.5.0'
  pod 'Firebase/Messaging', '7.5.0'
end
target 'Unity-iPhone' do
end
# This should use the name of your Notification Service Extension
target 'NotificationServiceExtension' do
  pod 'Firebase/Messaging', '7.5.0'
end
use_frameworks!
# Use the following if you do not have other Swift framework pods for stability
#  use_frameworks! :linkage => :static

I found that Xcode in general does not like to have the same pod added to multiple targets without use_frameworks!.
See more information about the quirk here  https://github.com/firebase/quickstart-unity/issues/862

Run pod install under your Xcode project to regenerate Unity-iPhone.xcworkspace.

And that's it. Should be working by now.
I can see several issues I can see here.

It is tedious.
When you regenerate Xcode project, even incrementally, External Dependency Manager for Unity will override Podfile you modified for good, which can be extremely annoying. One possible workaround to alleviate the pain for now is to add a script like this https://github.com/firebase/quickstart-unity/issues/862#issuecomment-771546659 to add the NotificationServiceExtension section automatically.
I did notice a different behavior between iOS sample and quickstart-unity.  For iOS sample, the notification show up in the notification tray no matter the app is foreground, background or killed.  And for quickstart-unity, the notification is only in notification tray IF the app is in the background or killed.  This seems to be an inconsistent behavior.

Let me know if this helps.  At the meantime, I will change this to a feature request for all the frictions I described above (maybe a bug for the last one).

Shawn


Missing properties in API specs

Hey,
I'm looking at the instances.insert "REST" API documentation and it has properties maxRunDuration and terminationTime, but this seems to be absent from both the openapi-directory as well as the protobuf interface definitions.
Am I missing something? Have to admit I'm a bit confused by the state of Google APIs 😬
Jaka

Hey @abdolence,
Thanks for the explanation!
Created a PR upstream:
https://github.com/APIs-guru/openapi-directory/pull/1290


Widgets tooltip

New tooltip! Thanks to @piensaenpixel who has done all the hard work!

REVIEWER: @viddo

:+1: but no styleguide examples in this case then?

@piensaenpixel ^^^?

yes @viddo i'll add today

pushed the styleguide :D


When typing the pin it is not hided

It would be better when typing the pin, asterisk to show up on each keystroke so if somebody is next to us he can't see the pin number.

Thanks for your suggestion, we may include this feature at an update

Done, please check version 1.5.15


Minor improvements to dist app builder config

Description
Some minor things I noticed while looking at app host config

Don't calculate sha then throw it away
Explicitly set resource service config to unsecured when unsecured

Checklist

Is this feature complete?

[x] Yes. Ready to ship.
[ ] No. Follow-up changes expected.

Are you including unit tests for the changes and scenario tests if relevant?

[ ] Yes
[x] No

Did you add public API?

[ ] Yes

If yes, did you have an API Review for it?

[ ] Yes
[ ] No

Did you add <remarks /> and <code /> elements on your triple slash comments?

[ ] Yes
[ ] No

[x] No

Does the change make any security assumptions or guarantees?

[ ] Yes

If yes, have you done a threat model and had a security review?

[ ] Yes
[ ] No

[x] No

Does the change require an update in our Aspire docs?

[ ] Yes

Is this introducing a breaking change?

[ ] Yes

Link to aspire-docs issue (please use this breaking-change template):

[ ] No

Link to aspire-docs issue (please use this doc-idea template):

[x] No

Microsoft Reviewers: Open in CodeFlow

/azp run


Skywalker.v2 Exploit - is there 2 issues?

Empire Version
1.5
Any additional information
http://www.harmj0y.net/blog/empire/empire-fails/
https://github.com/rapid7/metasploit-framework/pull/7450
First, this blog write-up is fantastic and great to see a vendor address issues head-on. Second, looking at the Metasploit module, it reads as if there are two distinct vulnerabilities at play. The first reads like a remote authentication bypass, and the second is the Skywalker.v2 variation on the previous traversal. For the authentication bypass possibility, this is what stands out:
"The module recovers the staging key by XORing specific offsets from the  powershell stage file which contain punctuation. Using punctuation characters  is necessary due to how Empire obfuscates the plaintext stage by shuffeling the  case of alphabetic characters. Once the staging key has been recovered the  module negotiates an RSA key to simulate an agent connecting."
Can you please confirm if this is an exploit, and if so, was there a fix for this? Or this is actually intended behavior?
Thank you!

This has already been patched in Empire 2.0_beta @attritionorg


Simplify and fix scope filter test

Realized the filter test was way too complicated. Now it just checks that the difference when clicking on an option is within a certain range.

I'll add the unit test as a separate PR.


Native outline appears when clicking above the label

Description
Related: vaadin/vaadin-combo-box#597

Expected outcome
There should be no native outline
Actual outcome
The native outline appears (especially funny in Safari).
Steps to reproduce

Put a vaadin-dropdown-menu element in the page.
Add a label attribute
Open the page in a web browser.
Click the vaadin-dropdown-menu element
Close the menu
Click a few pixels above the label

Browsers Affected

[x] Chrome
[x] Firefox
[x] Safari
[ ] Edge
[ ] IE 11
[ ] iOS Safari
[ ] Android Chrome

Fixed in e9bfbd8


System.ArgumentException: '-59.92*' non è un valore valido per la proprietà 'Height'.

I had a crash when opening the program. Looking at the crashlog and then running the debug I found that the problem lay in  SymbolsPanelHeight setter:
rightPanel.RowDefinitions[2].Height = new GridLength(totalHeight - normalized_value, GridUnitType.Star);
so, in order to go on, I put a patch:
           double normalized_value = value;
            if (totalHeight <= normalized_value)
                normalized_value = 400;
            rightPanel.RowDefinitions[2].Height = new GridLength(totalHeight - normalized_value,
                    GridUnitType.Star);

*** 20/08/2021 08:02:23 ***
App: 6502bench SourceGen v1.7.5-dev4
OS: Microsoft Windows 10.0.19042
System.ArgumentException: '-59.92*' non è un valore valido per la proprietà 'Height'.
Trace:
in System.Windows.DependencyObject.SetValueCommon(DependencyProperty dp, Object value, PropertyMetadata metadata, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType, Boolean isInternal)
in System.Windows.DependencyObject.SetValue(DependencyProperty dp, Object value)
in System.Windows.Controls.RowDefinition.set_Height(GridLength value)
in SourceGen.WpfGui.MainWindow.set_SymbolsPanelHeight(Double value) in C:\Documenti\DownLoads\6502bench-master\SourceGen\WpfGui\MainWindow.xaml.cs:riga 500
in SourceGen.MainController.SetAppWindowLocation() in C:\Documenti\DownLoads\6502bench-master\SourceGen\MainController.cs:riga 482
in SourceGen.MainController.WindowSourceInitialized() in C:\Documenti\DownLoads\6502bench-master\SourceGen\MainController.cs:riga 254
in SourceGen.WpfGui.MainWindow.Window_SourceInitialized(Object sender, EventArgs e) in C:\Documenti\DownLoads\6502bench-master\SourceGen\WpfGui\MainWindow.xaml.cs:riga 352
in System.Windows.Window.OnSourceInitialized(EventArgs e)
in System.Windows.Window.CreateSourceWindow(Boolean duringShow)
in System.Windows.Window.CreateSourceWindowDuringShow()
in System.Windows.Window.SafeCreateWindowDuringShow()
in System.Windows.Window.ShowHelper(Object booleanBox)
in System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
in System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
in System.Windows.Threading.DispatcherOperation.InvokeImpl()
in System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)
in MS.Internal.CulturePreservingExecutionContext.CallbackWrapper(Object obj)
in System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
in System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
in System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
in MS.Internal.CulturePreservingExecutionContext.Run(CulturePreservingExecutionContext executionContext, ContextCallback callback, Object state)
in System.Windows.Threading.DispatcherOperation.Invoke()
in System.Windows.Threading.Dispatcher.ProcessQueue()
in System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
in MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
in MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
in System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
in System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
in System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
in MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
in MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
in System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
in System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
in System.Windows.Application.RunDispatcher(Object ignore)
in System.Windows.Application.RunInternal(Window window)
in System.Windows.Application.Run(Window window)
in System.Windows.Application.Run()
in SourceGen.App.Main()

I was able to reproduce the problem by manually changing "main-symbols-height" in the settings file to be larger than the full right-panel window height.
If I make the app window as small as possible vertically, and put a breakpoint in the SymbolsPanelHeight setter, I see value=340 and totalHeight=390.08.  So substituting 400 could still blow up.  I think the best approach is probably to just ignore the saved setting in this case, i.e.:
                if (totalHeight > value) {
                    rightPanel.RowDefinitions[0].Height = new GridLength(value, GridUnitType.Star);
                    rightPanel.RowDefinitions[2].Height = new GridLength(totalHeight - value,
                        GridUnitType.Star);
                }

This leaves it with a default height.  The ReferencesPanelHeight setter would also get updated.
Do you know how you got into this state?

I have no idea how how i could fall in that state.
I was decompiling 2 files  in two separated sessions of the program ... could be this behaviour the issue ?

I wouldn't expect having two instances to cause a problem.  The settings file is always written in its entirety, so whichever one wrote it last would win.
My best guess at this point is that the window placement function in Windows decided to override the stored position/size with a reduced height.  I could see this happening on a dual-monitor setup if a monitor disappeared and it had to switch to a screen with a different size.
Whatever the case, I think ignoring the stored height values to let the UI reset to defaults should fix the crash.

Fix available in https://github.com/fadden/6502bench/releases/tag/v1.8.0-dev1


Fix: Always call Flutter.onError

:scroll: Description
See motivation
:bulb: Motivation and Context
Closes #522
:green_heart: How did you test it?
:pencil: Checklist

[x] I reviewed submitted code
[ ] I added tests to verify changes
[ ] I updated the docs if needed
[x] All tests passing
[x] No breaking changes

:crystal_ball: Next steps

Codecov Report

Merging #533 (4338e57) into main (d5416f8) will increase coverage by 0.45%.
The diff coverage is n/a.

:exclamation: Current head 4338e57 differs from pull request most recent head b75202e. Consider uploading reports for the commit b75202e to get more accurate results

@@            Coverage Diff             @@
##             main     #533      +/-   ##
==========================================
+ Coverage   91.54%   92.00%   +0.45%
==========================================
  Files          74        7      -67
  Lines        2426      250    -2176
==========================================
- Hits         2221      230    -1991
+ Misses        205       20     -185

Impacted Files
Coverage Δ

dart/lib/src/scope.dart

dart/lib/src/protocol/sentry_id.dart

dart/lib/src/noop_hub.dart

dart/lib/src/protocol/sentry_gpu.dart

dart/lib/src/sentry_user_feedback.dart

dart/lib/src/protocol/contexts.dart

...art/lib/src/enricher/enricher_event_processor.dart

dart/lib/src/transport/encode.dart

dart/lib/src/http_client/breadcrumb_client.dart

dart/lib/src/protocol/debug_image.dart

... and 57 more

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 d5416f8...b75202e. Read the comment docs.


Add configuration to support Snakemake parallelization

Adds:

Conda environment labels for every task that needs them
New Conda environments (these might be overscoped and err on the side of duplication)
Basic Snakemake resource configuration for the quickstart config

Modifies a couple other configurations that I'll call out in individual comments!

Thanks for resolving the issues, @taylorreiter and @mezarque.
My intent was to create a minimally working parallelized Snakemake pipeline for the quickstart, but looking back I did leave this in a bit of a partial state – sorry! Will reply separately to the open threads.


Controller to Get single comment

Before submitting your PR for review

Run npm run lint to find errors in code syntax/format
Run npm run lint:fix to fix all auto-fixable errors in source code and auto-format with prettier
Ensure you fix any linting errors displayed after running any of the above commands

What does this PR do?
Fixes #124
Proposes an endpoint and a controller to get a single comment
What is the link to the issue on Github?
Issue #124
Questions:

Duplicate task.


Initializes screen implementation

Screen implementation seems promising.

It is still a long road for us to release the first version. We need to migrate the user-mode kernel to the kernel mode first.


Offline pagination?

Is there any way to load all data and then make pagination? Something like datatables.net does.
I prefer speed when user is using the table before first-time load.

@LimitTech It never made for that because it will never scale well when there are a lot of data.

Ok, I understand. We'll see how it works.
Thanks.


ClearType not used for all visible text

VSCode Version: Code 1.6.0 (e52fb0bc87e6f5c8f144e172639891d8d8c9aa55, 2016-10-10T18:37:40.189Z)
OS Version: Windows_NT ia32 6.1.7601
Extensions: ms-vscode.cpptools-0.9.2, ms-vscode.csharp-1.4.1

Steps to Reproduce:

Open VS Code
E.g. Select Extensions and compare text in Search Field with text in the list

Screenshot:

Here is a magnification of the issue:

Electron update?

So it seems. @rblath Do you see the same behaviour in 1.5?

@rblath and how about other trees like the explorer, does it look ok there? what about the editor?

@bpasero here are a few more screenshots:

The terminal is interesting, the header is using ClearType but the content is not:

@joaomoreno I don't have the zip of this version laying around anymore, but I am pretty sure the issue existed there as well.
I also noticed that the plain electron shell has had the same problem for some time.

If this reproduces with electron then this should be reported to their repository https://github.com/electron/electron

Sure, this is probably an electron problem at the core, but it also matters how electron is used to render the text. Why else would a headline or text field be rendered correctly but normal text is not?

@rblath I am playing around with a newer version of Electron and was wondering if you could give this build a try that includes it to see if something has changed with this issue: https://az764295.vo.msecnd.net/insider/d47c8ba23ff35913052db316aaeef1bb92b0dd99/VSCode-win32-1.8.0-insider.zip
Thanks

@bpasero Hi Benjamin, I am still having the same issues as described before with the build you provided. Some texts are ClearType enabled and some are not.

Here is a portion of the screenshot magnified where you can see that the "Terminal" text is ClearType enabled and the "Microsoft" text is not.

@rblath thanks, I wonder if this issue is now scoped to the terminal alone or do you see it in more places?

It is also visible in the Explorer, Search, Git, Debug and Extensions view on the left side. The title is always correct but the content is not. The Code Editor however is always correct.

Todays VS Code insider build comes with Electron 1.6.x, would be interesting to hear if this update solves this issue for anyone: http://code.visualstudio.com/Download#insiders

Just tested the new version. Unfortunately the issue is not gone, instead it is now visible in all other areas except the code editor:

@rblath I just checked our stable release and I am also not getting sub-pixel anti-aliasing for the tree and other parts, can you compare with stable? When I check back with 1.10, it seems we lost sub-pixel anti-aliasing already with the update to 1.11. Maybe related to our theming work, I have to check...

@bpasero Actually the screenshot above is from the stable version 1.11.1. Somehow the link you gave me pointed to stable not insider. But anyway, I downloaded the insider version 1.12 and it shows the same behaviour:

I looked into it and it seems our work on the theming has made it worse for people. Specifically https://github.com/Microsoft/vscode/commit/7db643a5bbf1f633939adf30ff7cd43b7cc29c5e seems to have caused this by no longer setting a background on the workbench container. I am extracting https://github.com/Microsoft/vscode/issues/24532 to at least try to get back to our previous state.
The list widget and terminal is still an open issue.

@joaomoreno looks like the list widget is also using translate3d, would it possible to apply a similar fix as we do now in the editor to disable it when we are running scaled? see https://github.com/Microsoft/vscode/issues/24483#issuecomment-293521870 for more details.
Given that we use the list widget more and more (SCM, IntelliSense) it seems odd that we have fuzziness in those when the rest looks ok.

Created #24599

@joaomoreno awesome ❤

It's never worked in the terminal, tracked in https://github.com/Microsoft/vscode/issues/17827

Closing since the original issue in the list is now fixed. Opened https://github.com/Microsoft/vscode/issues/24957 for remaining parts.


Subtitle editor defaults to black-on-black mouseover text

The controls to the left of the subtitle editor have mouseover text that explains what the controls do. However, the editor defaults to dark mode, and the mouseover text is black. That means that the text ends up being largely illegible black-on-black.

Thank you for reporting this - we will try to get it fixed.

Thank you for reporting this - we will try to get it fixed.


tutorial typo

Hi,
In the 9th chunk of the tutorial Spectra_Colaboratory_tutorial.ipynb, there is the following typo: if len(annotation_labels)2
Thanks,

Thanks :) we are about to merge a new version which will have that typo removed.


Git LFS bandwidth of 1GB exceeded by Flowershow monorepo

It seems our CI/CD pulls all the files from git LFS on each site build. Can these assets be cached somehow?
Possible solution
https://github.com/nschloe/action-cached-lfs-checkout

FIXED.


Parse Client hello from buffer

Looks good. 👍
Can we please copy get_client_hello into proxy2/layers/tls.py so that mitmproxy/proxy/protocol/tls.py remains completely untouched? sans-io is still a bit away from getting into master, so keeping merges/rebases simple is crucial. The code can also be simplified if it only has to work with bytes.

Please rebase / cherry-pick to get #2509

Merged, thanks!


Backport CMS test fix for FIPS DH/ECDH SHA1.

Related to PR #25517
We forgot to run extended tests on the above PR.
This is broken in all old branches.
The CMS test changes need to be backported.

Checklist

[ ] documentation is added or updated
[ ] tests are added or updated

OK with urgent.

Merged to the 3.3, 3.2, 3.1 and 3.0 branches. Thank you for your contribution.


Nothing happens :(

Hi Everybody, I'm a newby...
I have follow all the step using HACS and my Yaml file is:
# SonOff
sonoff:
  username<EMAIL_ADDRESS>  password: xxx
  force_update: True
  scan_interval: '00:01:00'  # (optional) default 5 minutes
  mode: auto
  reload: always  # update device list every time HA starts

but nothing happen, someone can help me.....many tks
for info I've to add two sensors:

4CH Pro R2
2CH with RF 433 MHz

System info:
Versione HS: 0.118.1
Version OS: 4.19.127-v7
Grazie a tutti :)

up.... please :(

Nothing happens... What you expect to happen?

Hi,
It doesn't give me errors but I can't see my devices

Could be linked to #294

Devices don't supported yet.


Carousel Updates

This addresses a number of issues on the carousel.

https://feat--carousel-updates--design-website--adobe.hlx3.page/

#104
#98
#138
#150
#151
#148

@pfulton I've made adjustments here to adjust the size of the image and the layout of the carousel.  Let me know if this is good to merge or if we need more changes based on the work you're doing on layout.


Tailwind 4.2.1 -> 5.1.3 = FATAL  Invalid host defined options

Version
@nuxtjs/tailwindcss: 5.1.3
nuxt: 2.15.8
node: 16.13
Reproduction Link

Steps to reproduce
When upgrading from V4 to V5 there is a fatal error Invalid host defined options

I've done this upgrade on another project with yarn and I didn't have any issue but with npm I have this.

What is actually happening?

Same here ...

This is similar to this(https://github.com/nuxt/bridge/issues/266#issuecomment-1098195943)
It does work by adding DISABLE_V8_COMPILE_CACHE=true
However, It doesn't work by recreating yarn.lock 😕

rebuilding after removing "node_modules" + yarn.lock + .nuxt/  works for me with "@nuxtjs/tailwindcss": "^5.3.2",

I finally switched to yarn and deleted .nuxt + nod_modules and seems to work now, though a lot of styles seem to be broken even though I don't use deprecated classes 🤷♂

Does anyone know how this issue works, when it comes? Im on v6.1.3 and nuxt v2.15.3 and the problem came back. (using default settings)

@derHodrig did you fix this issue?

@aliwesome currently I use nuxt 2.16.3 and nuxt/tailwind 6.6.6 with YARN2 nodelinker and currently I have no issues.


Using chairs you can get yourself past the teleporter on stairs and become unkillable by xenos

Buckle, unbuckle, build next chair, repeat

Should be fixed now tm


Problem importing pure-react-carousel: Cannot read property 'state' of undefined

I'm attempting to utilize pure-react-carousel for my React project but the file won't import properly.
When the following import statements:
import {   CarouselProvider,   Slider,   Slide,   ButtonBack,   ButtonNext } from "pure-react-carousel";
import "pure-react-carousel/dist/react-carousel.es.css";
Without adding any components, I get  -- Cannot read property 'state' of undefined
Referencing the following line: return i.state = t(_extends({}, r.carouselStore.state)), i.updateStateProps = i.updateStateProps.bind(i), i;
Also, a few questions about the component itself.

I'm interested in this because it allows one to independently vary the height and width. Can I also control how the contained image is cut? Where to align it, etc?

Does this support captions?

The same problem.


Add line/column numbers to info box paths

Adds "line:X column:Y" to the text in the info box, like this:

Explicitly says these are line and column numbers in full, because we've got space to follow the pattern of space-saving form on the flamegraph vs written more completely in the info box
Written with colons (line:X column:Y) to complement the truncated form (:X:Y) used on the flamegraph
Slightly darker than the path text with two spaces separating it, so the path is still visually one unit and still nice and clean and easy to read
white-space: nowrap so that the line and column numbers stick together. So it wraps like this:

...not like this:

Small, negligible comment, but otherwise LGTM 👍

Checked across multiple examples and looking good across screen sizes with the text wrapping implemented. LGTM @AlanSl 👍


Make prediction loading faster

Currently, the browser rendering is still blocked for 2s-3s on render.

So jQuery is creating thousands of objects and calling append thousands of times. This requires multiple GCs during the rendering. We should switch to a real templating library...
A temporary fix is that instead of rendering the instances and then the predictions (two layout phases), we can just do them at the same time (one layout phase). This saves about 30% time.

Can we close?

It's fast enough, but it could be made even faster. :)
I created #1304 to track moving appropriate things to Handlebars, so we can close this.


What should I do if I want to use Arduino to compile?

Hi,
I only have VS (not VS code) and Arduino on my PC. How can I use Arduino to compile the program?
Thanks and best regards. :)

Hi @zhouxule,
I recommend using VS Code and its PlatformIO plug-in. VS Code can be installed in parallel to Visual Studio without any problems, it is completely free and many developers really like it. Note that Visual Studio and VS Code are two completely independent IDEs with somehow similar names.
If you still want to try it with the Arduino IDE, I guess you need to install its ESP32 add-on and the libraries listed in this project's file platformio.ini (U8g2, 256dpi) by hand and copy the source files from the projects src folder to the IDE. Maybe it also complains about some #include statements in the project source files and you have to remove them or find the right way of handling. Since I have no real experience with the Arduino IDE, this is only guessing.
Best regards,
Holger


[REQUEST] Fading ESP

Would be cool if the ESP didn't just appear and disappear. Fade in- and out effects are really good loking.
Maybe someone wants to make a Pull Request?

u make it


Servo component stops working after power cycle

Describe the bug
Servo stops updating after a power cycle. Can get it working again by either (1) clicking cog icon and then clicking "Update Component" without making any actual changes, or (2) deleting and recreating a new servo component.
Arduino board
Board is a QT PY ESP32 Pico. Servo is a standard micro hobby servo (SG92R) connected to MOSI.
To Reproduce
Steps to reproduce the behavior:

Add a servo component. Use slider to confirm it's working. Servo should move as expected.
Power cycle setup.
Once board shows as Online again, try moving servo slider.
Servo does not move.

Expected behavior
Servo should move again once board shows as Online.
Which components are connected to your device
Servo
Screenshots
None
Desktop (please complete the following information):

OS: Ubuntu
Browser: Firefox
Version: 104.0.1

Smartphone (please complete the following information):
None
Additional context
None

Update - this issue may be more general. I'm seeing the same behavior with a Push Button component.

cc @lorennorman - are we still sending the hardware re-sync packets?

@caternuson  Marking this as resolved, we deployed a fix for this to production and it was tested on hardware. Please re-open if you're still having this issue.

followup, i believe i fixed this with the servo slider primarily. i'm now realizing other components might be affected and am checking them separately.
thank you @caternuson!

Just saw this, totally forgot about that portion of the code …I think. I’m
guessing we didn’t think to test this!
Will fix first thing Monday and send it out with the update PR. I’ll also
do… something to help remember all the update spots for each component
type.
On Fri, Sep 9, 2022 at 12:09 PM Brent Rubell @.***>
wrote:

cc @lorennorman https://github.com/lorennorman - are we still sending
the hardware re-sync packets?
—
Reply to this email directly, view it on GitHub
https://github.com/adafruit/Adafruit_Wippersnapper_Arduino/issues/315#issuecomment-1242170805,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAEKIIY3O7VJUUWHMJEHWLV5NOK5ANCNFSM6AAAAAAQH75WTU
.
You are receiving this because you were mentioned.Message ID:
@.***>


Reason for suspending demo?

Hello
I really like the idea of this repository and I'd like to learn more. Unfortunately I see that you removed the demo. What is the reason behind that? Also, do you have a paper or preprint you could share?
Thanks!

Hi @yukw777 is it possible for me to know when will it be updated?

@fazlicodes The current plan is after Thanksgiving in December.

Hello everyone, I just released the next version called EILEV with an interactive demo. Please check that out instead!


3-to-4 project converter doesn't preserve viewport width and height

Godot version
4.0.beta1
System information
Linux (Pop!_OS 20.04)
Issue description
3-to-4 project converter changes viewport width and height. I would expect them to remain the same.
Steps to reproduce
Create a new Godot 3.x project. I used Godot 3.5.1.rc1.
Change the width and height in the project settings to 1280x720 (Project >> Project Settings... >> General >> Display >> Window >> Size >> Width,Height).
The 3.x minimal reproduction project attached below already has this change.
Import the project in Godot 4.0.beta1 and select Convert Full Project.
Go to Project >> Project Settings... >> General >> Display >> Window >> Size and enable Advanced Settings.
The Width and Height values are preserved, but the Viewport Width and Viewport Height have different values: 1152 and 648, respectively.
Minimal reproduction project
project_converter_3_to_4-bug3.zip

Not sure, but I recall the view rect was flipped, maybe it has a clamp on negative numbers.

Not sure, but I recall the view rect was flipped, maybe it has a clamp on negative numbers.

This is unrelated. The issue is the project settings not being renamed when running 3to4.

The rename aren't defined but, after few tests, it looks like no rename is applied for a project.godot file.
I see them used for ".gd" and ".tscn" files (project settings are allowed here?), so maybe it works in this case but not (as is) for project.godot, because this file uses a .ini format


[BUG] Provide new nuget packages, and docs with examples that will show how to use Azure Notification Hubs with MAUI

Describe the bug
For now, your docs contain instructions for Xamarin.Form, Xamarin.Android and Xamarin.iOS, so we need new docs and new examples and probably new nuget packages that will support MAUI.

Interested in this too is there any real chance of getting them. I would honestly be very very surprised if we get a reply from MS

We don't support MAUI at this time.

@lomagdal2 what does "we dont support Maui at this time" means ??  what stops using a connectionstring?

Just to clarify here, you can absolutely use Azure Notification Hubs (ANH) with .NET MAUI. What is meant here is that this library does not anything specific to support .NET MAUI at this time. We are working on content that shows how to use ANH together with .NET MAUI and there are also great community libraries out there like Shiny, that use AHN to implement push notifications.

@jfversluis Hello, Gerald!
I apologize, but the last time I tried to use Azure Notification Hubs (ANH) with .NET MAUI, it took me two weeks to complete the integration/migration. I only succeeded because someone provided an example. Every developer I know would say that using ANH with MAUI without clear instructions is quite challenging. Additionally, we did not want to use third-party packages like Shine. This is why we are requesting updated, clear, step-by-step instructions.

No need to apologize!
I totally understand that doing this for the first time might be a chore. For the record: I work on the .NET MAUI team, not the team that maintains this library. I just wanted to clarify that it is possible to use this with MAUI. From the MAUI side of things we will be providing a sample with content and instructions soon that we can hopefully make this easier for people.

@jfversluis  Thanks for the clarification, it's a relief , we have successfully implemented push notification for iOS and android in Maui using Azure notification hub and works really well. It was a utter nightmare as many of the docs out there are outdated and permission in android are changing all the time. We have all working in our internal library and going live soon , but clients ask what provider do you use? Your response goes a long way to reassure them, as a client found exactly this thread and send us an email for clarification.Thanks again.

@TedMobile Have you managed to implement a NotificationServiceExtension?
And do push notifications arrive when the app is closed?
Unfortunately, I haven't managed to get the DidReceiveNotificationRequest call in the extension yet
So I can hardly wait for better documentation

That probably means you don't have to change the notification content and therefore don't set mutable-content to 1, right?
That's why push works with a closed app without NotificationServiceExtension
@jfversluis  it would be cool if you would also consider the mutable-content and NotificationServiceExtension case. That's where the challenge lies :)


Banned for automation of captcha.

I want to thank you in advance for the project, it is very useful.
On my main account I managed to reach lvl 550 (on a private server and not on the official server) using the automation of captcha, however, when joining the bot's official discord I was banned after a few hours.
I created a secondary account and joined the official discord and continued using it on my private server, after a few 2 hours I was banned for the same reason.
I noticed that at the time of the ban, the bot log shows captcha detected but without embed.
Wouldn't it be interesting to release a version without captcha for testing?
Instead of solving the captcha automatically, just play a sound and wait for the captcha to be solved manually.

I want to thank you in advance for the project, it is very useful.
On my main account I managed to reach lvl 550 (on a private server and not on the official server) using the automation of captcha, however, when joining the bot's official discord I was banned after a few hours.
I created a secondary account and joined the official discord and continued using it on my private server, after a few 2 hours I was banned for the same reason.
I noticed that at the time of the ban, the bot log shows captcha detected but without embed.
Wouldn't it be interesting to release a version without captcha for testing?
Instead of solving the captcha automatically, just play a sound and wait for the captcha to be solved manually.

Would you mind sending a screenshot of that capatcha with no embed and any other helpful attachments ?

I want to thank you in advance for the project, it is very useful.
On my main account I managed to reach lvl 550 (on a private server and not on the official server) using the automation of captcha, however, when joining the bot's official discord I was banned after a few hours.
I created a secondary account and joined the official discord and continued using it on my private server, after a few 2 hours I was banned for the same reason.
I noticed that at the time of the ban, the bot log shows captcha detected but without embed.
Wouldn't it be interesting to release a version without captcha for testing?
Instead of solving the captcha automatically, just play a sound and wait for the captcha to be solved manually.

Would you mind sending a screenshot of that capatcha with no embed and any other helpful attachments ?

yeah I identified this too , here is a screen

another one

We are currently working on a new version of the AFB. Apparently, this is a new method for detecting automation (which does not include embedded images). Can you explain the current behavior of the bot when it faces this new captcha ? Its halts and waits ? Or just keep spamming clicks for continue fishing ?

@Ady7892 , @fazuelli We are currently working on a new version of the AFB. Apparently, this is a new method for detecting automation (which does not include embedded images). Can you explain the current behavior of the bot when it faces this new captcha ? Its halts and waits ? Or just keep spamming clicks for continue fishing ?

I dont know really , I think the (AFB) just trying to write the code , Idk how it works , but if they removed embed images , then its more easily to fix this . We dont need the OKR key  just make it to detect what there is written and then solve it automatically.

So I saw , if the (AFB) cant solve without embed , it fails 3 times , and then he trying to regen and he solves it, Im runing this bot already for 24h and I didnt got banned

@Ady7892 , Sure, if they remove the image would be way easier, but i need to know the current behavior when the bot faces this captcha, because if it kept fishing ignoring this type of captcha I would have to hot-fix it (since that would lead to a guaranteed ban).
Well, If it just regens that's fine. But either way will be fixed in the reworked version. I'll let this issue pinned so other users are aware.

@Ady7892 , Sure, if they remove the image would be way easier, but i need to know the current behavior when the bot faces this captcha, because if it kept fishing ignoring this type of captcha I would have to hot-fix it (since that would lead to a guaranteed ban).
Well, If it just regens that's fine. But either way will be fixed in the reworked version. I'll let this issue pinned so other users are aware.

If the bot said „Incorrect code.” that means , the (AFB) tried it to solve , well idk , if you can wait for 1h Ill test it what is going on really. But after 2 failed attemp of „Incorrect code.” , it regened . So I think the concept of this change is about , they did this to detect who regened because with the embeds you barely understand whats there , but with the text you just copy .
So what is your recomandation , I should farm next or just stop it until you fix?

@Ady7892 My honest recommendation would be to continue only continue farming if you can be constantly watching the bot and its behavior, the "fix" would take some time since we are developing the bot from scratch on another language to make it better. Otherwise if you don't wanna risk it or can't be watching it all the time, don't use it.

 another one

Maybe it's a problem with your internet or your version of Discord. I've never experienced a captcha like that. I always get a captcha in the form of an image containing letters and numbers.

I have 1GBps internet speed, everything is updated, but I noticed that I don't get those captchas anymore.


[feature] Support create and sync newly added tables in cdc ingestion

Purpose

This PR enables MySqlSyncDatabaseAction action to create and sync newly added tables as mentioned in https://github.com/apache/incubator-paimon/issues/1181.
Tests

MySqlSyncDatabaseActionTest: test sync newly added tables

API and Format
No.

Documentation
No.

Yes the idea of inducing a database sync mode is legit, and I refactored the code according.
However, for dynamic-tables mode, we need to take more attention when routing static tables and newly tables into new operators, because

the output tag of the new tables is determined at runtime, and
it's reasonable for users to switch back and forth between these two modes, e.g., using previous savepoint to start the database sync action.

Therefore, at this time being I route existing tables to single-table sinks and dynamic sink to multiple-tables sink.

I think we need support paimon table name different with mysql table name, such as adding prefix like "ods_"  or suffix like "_ods" to indicate that those tables belong to the "operation data store" layer in data warehouse system, how do you think?

I think we need to support the scenario that paimon table name different with mysql table name, such as adding prefix like "ods_"  or adding suffix like "_ods" to indicate that those paimon tables belong to the "operation data store" layer in data warehouse system, how do you think?

I think we need to support the scenario that paimon table name different with mysql table name, such as adding prefix like "ods_" or adding suffix like "_ods" to indicate that those paimon tables belong to the "operation data store" layer in data warehouse system, how do you think?

@ChenShuai1981 Yes, adding prefixes and suffixes is often needed in data ingestion. There are several other features that are missing at this time being:

add prefix and suffix to database and time
specify primary key or using unique key as primary key for tables w/o pk
merge multiple table from source into single table in Paimon
normalize source columns if contain invalid characters


Players can't use /trade or accept and decline trades.

Describe the bug
Players on the server can not use /trade or click "accept" and "deny" trades. When a player tries to use /trade receives error "This command only accessible in survival mode!" They are all in survival mode when trying to use. From testing only works in OP. When trying to trade a player as OP, player then receives the same error for trying to click "accept" or "deny".
To Reproduce
Unsure.
Expected behavior
Player should be able to use /trade and  get message other player was invited. The other player should be able to click "accept" and then get a trade window or "deny" cancelling the trade.
Screenshots
Errors:

From Server.Properties:

Current config https://pastebin.com/f1QFqwYJ
Additional context
I've so far tried adding all gamemodes to the config for allowed gamemodes. I've tried turning off requiring permissions. I've tried deleting all the config files and respawning. Did not resolve issue.
Discord contact: Kriptiq#0438

The message "This command only ..." does not belong to my plugin. You'll need to check your other plugin.


Using transformResponse/transformRequest: on Upload.upload

Is it possible to use transformResponse or transformRequest on Upload.upload, something like this:
    Upload.upload({
      url: URLS.BASE + URLS.FILE_UPLOAD,
      data: uploadData,
      transformRequest: appendTransform($http.defaults.transformRequest, function(value) {
        return doTransform(value);
      })
    }).then( .....

$http is not available i am wondering if perhaps $upload or something of that nature is.
Many Thanks

I now know i can access Upload.http.defaults.transformRequest, but where can i access the data so that i can apply a custom transformation just before Request or Response?

For the first question just inject $http in your controller.
For the second you can use transformRequest the same way you use for $http. So just have a look at the angular $http samples.

@danialfarid thanks, for your comments. I got the transformRequest working:
    Upload.upload({
      url: URLS.BASE + URLS.FILE_UPLOAD,
      data: uploadData,
      transformRequest: function (data) {
            var formData = new FormData();
            $log.debug('formData' + JSON.stringify(data));

            formData.append("model", angular.toJson(data.model));

            return formData;
        }
    })

I also set up a request interceptor so that i can see the content of the request as its going out:
  .factory('uploadRequestInterceptor', ['$q', '$location','$log',
    function($q, $location, $log) {
        return {
            request: function(config) {
                $log.debug('Request Interceptor'+JSON.stringify(config));
                //$log.debug('transformRequest'+config.transformRequest());
                return config;
            }
        };
    }

The output for both debug logs is as follows:
Request Interceptor = {"method":"POST","transformRequest":[null,null],"transformResponse":[null],"url":"http://testservices.co.uk/v1/customers/signup","data":{"idDocument":{"$ngfDataUrl":"data:image/jpeg;base64,/9j/4AAQSkZJRgABAQEASABIAAD//gA7Q1JFQVRPUjogZ2QtanBl…gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg//9k="},"customerInfoPart":{"_ngfBlob":true}},"_isDigested":true,"_chunkSize":null,"headers":{"Accept":"application/json, text/plain, /","Authorization":"Credentials ce8dcae2-8a1a-4dff-8b88-48aeac544998"},"_deferred":{"promise":{"$$state":{"status":0,"pending":[[{"promise":{"$$state":{"status":0}}},null,null,null]]}}}}
formData = {"idDocument":{"$ngfDataUrl":"data:image/jpeg;base64,/9j/4AAQSkZJRgABAQEASABIAAD//gA7Q1JFQVRPUjogZ2QtanBl…gICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg//9k="},"customerInfoPart":{"_ngfBlob":true}}
What i want to do is change the Content-Disposition from form-data to attachment. At what point is that being set and how can i change it. I am wondering if perhaps its a promise of some kind and thats why i cant see it even at the interceptor level?

The content disposition will be form-data since it is a multipart/form-data request.
If you want to send the file binary with file's content-type use Upload.http()


Pick up value interface changes

@xichen2020

Seems golint started working again for whatever reason.

@cw9 maybe we should just be consistent here and remove golint/lint in makefile/lint_check and turn on golint in metalinter since we've done that for other projects.

sure sounds good


Fail on password change

Hi,
I installed version 4.2.3 on iis and used default config file.
I got the following log when i tried to change a users password.
Did i configured something wrong or is this a problem in the source code?

info: Microsoft.AspNetCore.Routing.EndpointMiddleware[0]

Executing endpoint 'Unosquare.PassCore.Web.Controllers.PasswordController.Post (Unosquare.PassCore.Web)'

info: Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker[3]

Route matched with {action = "Post", controller = "Password"}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.IActionResult] Post(Unosquare.PassCore.Web.Models.ChangePasswordModel) on controller Unosquare.PassCore.Web.Controllers.PasswordController (Unosquare.PassCore.Web).

warn: Unosquare.PassCore.PasswordProvider.PasswordChangeProvider[0]

Using AutomaticContext

info: Unosquare.PassCore.PasswordProvider.PasswordChangeProvider[0]

PerformPasswordChange for user<EMAIL_ADDRESS>
fail: Unosquare.PassCore.PasswordProvider.PasswordChangeProvider[888]

ValidateGroups

System.NullReferenceException: Object reference not set to an instance of an object.

at Unosquare.PassCore.PasswordProvider.PasswordChangeProvider.b__7_1(Principal x) in C:\Unosquare\passcore\src\Unosquare.PassCore.PasswordProvider\PasswordChangeProvider.cs:line 173
at System.Linq.Enumerable.Any[TSource](IEnumerable1 source, Func2 predicate)
at Unosquare.PassCore.PasswordProvider.PasswordChangeProvider.ValidateGroups(UserPrincipal userPrincipal) in C:\Unosquare\passcore\src\Unosquare.PassCore.PasswordProvider\PasswordChangeProvider.cs:line 173

warn: Unosquare.PassCore.PasswordProvider.PasswordChangeProvider[0]

The User principal password cannot be changed and setPassword won't be called

warn: Unosquare.PassCore.PasswordProvider.PasswordChangeProvider[0]

The password does not meet the password policy requirements. Check the minimum password length, password complexity and password history requirements. (0x800708C5)

info: Microsoft.AspNetCore.Mvc.Infrastructure.ObjectResultExecutor[1]

Executing ObjectResult, writing value of type 'Unosquare.PassCore.Web.Models.ApiResult'.

@Serk352 can you help me to verify the Group's validations? It looks like there is a null reference.

It happens when i leave " "AllowedADGroups": [] " blank.
Now it works when i provided a group name to allowed ad groups but returns complexity error when i try to change the password second time for the same user.

Seems like it worked just that one time. I still can't change password for the test user and other users.
But there is no null reference error in the logs now.


Upate build script

Use GitHub-hosted runners
Sign packages
Upload packages to Azure Artifacts and NuGet Gallery (releases only)
Update GXOdata.Client dependency with new package ID (functionality is the same)

Manually cherry-picked up to commit 405be02 to the beta branch

Manually cherry-picked up to commit 44b752d to the beta branch


How to debug keyd-application-mapper?

Hello. I have this in my app.conf:
[code]
alt.e = macro(down down tab)

But nothing happens when I press alt+e. App.log doesn't give any information. Is there a way to debug and see why this doesn't work? I checked docs but I couldn't find anything. Thank you.

In my environment (archlinux, package: code 1.77.1-1), the following worked.
[code-oss]
alt.e = macro(down down tab)

Debugging is available at
KEYD_DEBUG=1 keyd-application-mapper

Document added to pull request 0b4552d.

I solved my current issue, but I was more interested in debugging. Thank you!


Using interfaces

As we talked in slack, these are my sugestions using interfaces and adapter:
https://gist.github.com/slinstj/3eb189bd94724b94426ecd9a991bd9a4
They have not been tested. So, maybe it is not 100% right. :+1:

Ok @slinstj !
I used your insights to build another version of this extension.
Thanks!


Add message attributes support

closing this PR as we are not going to merge in master but will keep this branch and refer to it from Gemfile.


Fix: Support Chunk from Stdin entry

🚀 Added Chunk Support to stdin Input Handling 🛠
Description:
Hello there! 👋
I've been using your awesome audit-export package and it's been super helpful! Recently, I encountered an issue when dealing with large JSON from npm audit --json. The data was getting truncated due to process.stdin buffer limitations.
To tackle this, I've made some modifications to the stdin input handling to support data chunks. 🧩
What's Changed:

The process.stdin.on('data', ...) now accumulates data in chunks.
Once the 'end' event is triggered, the complete data set is processed. 🔄
This ensures that even large JSON's are read and processed correctly. 📚

I've tested these changes in various scenarios, and they seem to work perfectly, ensuring that audit-export can handle larger datasets without any hiccups. 🎉
I believe this enhancement would be beneficial for others facing similar issues with large npm audit JSON outputs. I'd love for you to take a look and consider merging it into the main branch. 🌟
Thank you for your fantastic work on this package, and I'm looking forward to potentially contributing more in the future! 😊
Best regards,
Camilo Bernal

Hello @CamiloBernal!
Wow, impressive! It's a great improvement, and I appreciate your effort!
I was even surprised by the speed at which people appeared to want to enhance the tool since I only published it yesterday, but that makes me very, very happy 😁
I will review your changes, and once everything is in order, I'll proceed with the merge!
Once again, thank you very much ❤

Great work! Thank you very much ❤

Great work! Thank you very much ❤


How to install?

I do not understand how to install this wonderful tool..
Can you help?

https://github.com/Mottie/GitHub-userscripts#installation

Hi @NoamDev!
I hope you've figured out how to install and use these scripts. If you need further assistance, please feel free to continue the conversation in this issue. I'm going to close it, but that doesn't mean I won't respond.


[FEATURE] Improved UI

Description
Improve Ui for mobile state as well as a few changes for desktop state.
The UI right now is awesome but could use a little fixes here and there
Screenshots

Additional information
I'll love to take this on 💪🏼

Could you highlight the specific areas that need updating?

The Search Bar and how results are displayed

The Search Bar and how results are displayed

I think you should have a go at this. Let's see. I'll assign you because I do think the search bar could be worked upon.

On it 💪🏼

@Onyelaudochukwuka are there any updates on this?

None yet🤧

I'll be turning something in on friday

@Onyelaudochukwuka I apologize if this is too much pressure, but is it safe to close this issue?

Yes it is


The public input should also contain the commitments C_i for the summands.

          The public input should also contain the commitments C_i for the summands.

It is important for the FS-Sigma Protocol that the summand are input to the hash oracle.
Originally posted by @tschudid in https://github.com/project-origin/registry/pull/53#discussion_r1095572641

For the sum protocol it is important that the summand are part of the public input (which is used for the FS transform) as otherwise the proof becomes malleable.