C++ Unions with methods are forced to be Structures

Describe the bug
A union declared in C++ which has a defined method is automatically forced to be a Structure in Ghidra.
To Reproduce
Steps to reproduce the behavior:

Compile example code or use provided binary.
Import to Ghidra and run analysis.
View the CppUnion class functions an notice that the this parameter is an empty placeholder struct even though the correct type declaration has been provided by dwarf information.
Note that replacing the placeholder struct with the correct Union type results in Low-level Error: Unable to resolve type: CppUnion

Expected behavior
A union type to be a union regardless of whether or not it has class methods.
Additional context
I realized this would occur while reading the gdb documentation on stabs to add support for C++ specific stabs in the stab parser I'm working on. Reading the first sentence in section 8.1 which reads "In C++, a class name which is declared with class, struct, or union, is not only a tag, as in C, but also a type name", alarmed me as I realized that a union in C++ could have methods and that Ghidra would most likely automatically generate and use a Structure as the this parameter. The example source code below and attached binary show that this is exactly the case.
#include <iostream>
#include <stdio.h>

#ifdef __cplusplus
extern "C"
{
#endif

typedef union {
    int cInt;
    float cFloat;
} CUnion;

void cUnion_printInt(CUnion* self) {
    printf("CUnion Int: %d\n", self->cInt);
}

void cUnion_printFloat(CUnion* self) {
    printf("CUnion Float: %f\n", self->cFloat);
}

#ifdef __cplusplus
} // extern "C"
#endif

union CppUnion {
    private:
        int cppInt;
        float cppFloat;

    public:
        CppUnion() : cppFloat(3.1415f) {}
        ~CppUnion() = default;
        void printInt() {
            std::cout << "CppUnion Int: " << cppInt << std::endl;
        }

        void printFloat() {
            std::cout << "CppUnion Float: " << cppFloat << std::endl;
        }
};

int main() {
    CppUnion cppUnion = CppUnion();
    CUnion cUnion;
    cUnion.cFloat = 3.1415f;
    std::cout << "Hello World" << std::endl;
    cppUnion.printFloat();
    cppUnion.printInt();
    cUnion_printFloat(&cUnion);
    cUnion_printInt(&cUnion);
}

main.tar.gz

@dragonmacher this seems to have fallen through the cracks. Just tagging someone so it is at least noted.

@astrelsky After discussing with a couple of people on the team there is a way you can manually edit the CppUnion class structure to get you a bit closer to what you want until/if we can get the this params to accept Unions instead. you can just put the Union inside the empty class struct. It seems to be displaying the right thing at least in the two print methods. The constructor is using the int part of the union not the float. Not sure if this can be manually adjusted or if decompiler should figure this out. Will ask.

Ooh. Figured out how to fix the issue in the constructor. the data is stored in program memory and was marked as undefined data. As soon as I made it a float data type the constructor displayed correctly. Should have realized that right away, sorry.

@astrelsky Would be a simple thing to write a script to look for same named empty class struct and union in the DWARF subfolders and add the union into the class struct.

Thank you, it's not a problem I'm currently facing but is still something that should be fixed.


feat: use https as submodule url

Signed-off-by: Alex Chi<EMAIL_ADDRESS>Pull Request Template
Description
Not everyone has SSH key added to their local machine. For most cases, developers simply run git clone with only HTTPS credentials or no credentials. Therefore, this PR changes submodule to HTTPS upstream instead of the SSH ones.
Type of change
Please delete options that are not relevant.

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

How Has This Been Tested?
~/Work/hstream/external/gRPC-haskell
$ git remote get-url origin
https://github.com/hstreamdb/gRPC-haskell.git

Checklist:
Must:

[x] I have run format.sh under script
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] New and existing unit tests pass locally with my changes

Semi-Must

[x] I have added new tests that prove my fix is effective or that my feature works
[x] I have checked my code and corrected any misspellings

Optional:

[x] My code follows the style guidelines of this project
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] Any dependent changes have been merged and published in downstream modules

IMO, it would be better use cabal.project's source-repository-package to handle non-hackage dependencies.

We use ssh because it is more secure than https, until recently, https required using password authentication for pushing. SSH does have a little setup cost, but it’s worth it.

ssh because it is more secure than https

Not really. SSH is prune to man-in-middle attack if we trust the wrong authentication key initially :(

Not really. SSH is prune to man-in-middle attack if we trust the wrong authentication key initially :(

Yes, but it is your own responsibility to validate GitHub's SSH key fingerprints firstly.

For clarity, I'm not trying to compare the security of the two protocols in general here, just pointing out the differences in how github uses them. The main reason is that Github required using password authentication for pushing when using https before, but recently they disable it.


HIVE-23901: Overhead of Logger in ColumnStatsMerger damage the perfor…

…mance

The current implementation is purposeful.  This is an abstract class.  The idea is that every subclass gets it's own logger.  With the implementation proposed in this PR, every subclass will have the same logger.  This makes logging very difficult to tease out.
Can you please elaborate on the performance implications here?  If it's absolutely required, it is better that each subclass have their own Logger than to inherit a logger in this fashion.

This only happens if these objects are being instantiated repeatedly. May need to look at that.

@belugabehr Thank you for pointing out that.
The problem happens in here and other aggregators. When a table has many partitions, the merger is being instantiated repeatedly.
Yeah, I think each subclass has its own Logger is a good idea.

IsColumnStatsMerger a class internal to hive? I think it is but I am not certain. Otherwise changing the method name might be an issue.

@nrg4878 the method doMerge is declared as protected originally and is used only in class *ColumnStatsMerger, so it seems fine to be reduced to only one method merge.

fix has been committed to master. Please close out this PR.


Pandas selection brackets inferred as Series instead of DataFrame

Environment data

Language Server version: 2024.7.1 (pyright version 1.1.369, commit 1168be71)
OS and version: Ubuntu 20.04.6 LTS
Python version (& distribution if applicable, e.g. Anaconda): 3.10.14

Code Snippet
df1: pd.DataFrame = pd.DataFrame(
    [[1, 2], [3, 4]],
    columns=['a', 'b']
)
df2: pd.DataFrame = df1[['a']]

Expected behavior
Pandas DataFrames allow the selection of columns by specifying the column names in double square-brackets as suggested on their site: https://pandas.pydata.org/docs/getting_started/intro_tutorials/03_subset_data.html
Pylance should regocnize the result as a DataFrame.
Actual behavior
Error message in VS Code on the last line:
Expression of type "Series[Unknown]" is incompatible with declared type "DataFrame" "Series[Unknown]" is incompatible with "DataFrame"
It appears that the subset of the DataFrame is recognized as a Series instead which produces errors when assigning to a DataFrame (like in this case) or when executing DataFrame functions.
I believe this is similar to #252 and I came across that issue when checking if this has been reported to Pylance already.
Logs
After adding "python.analysis.logLevel": "Trace" to my settings.json configuration I couldn't observe notable output in the "Python Language Server" output window. In case something else is needed, please let me know and I'm happy to provide it.

For some reason this was an issue when running inside VS Code in an Azure Machine Learning workspace.  I have restarted my VS Code session in the AML workspace and now the issue is gone.
It seems as if this has to do something with the environment and not Pylance. In case I am able to narrow it down further I am going to try to check with the AML team if they have any ideas.


Toggle visibility of individual annotations for PDFViewController

<!— Provide a general summary of the issue in the Title above —>
I want to restrict the highlight and text annotations inside the PDFViewController while allowing the pen annotation.
Expected Behaviour
Add boolean values to controller the buttons for each annotation inside PDFViewController. i.e. instead of having a catch-all allowsAnnotations,  have

allowHighlighterAnnotation
allowPenAnnotation
allowTextAnnotation

These booleans would be used inside the function fileprivate func rightBarButtons() so that the buttons would not be appended in the navigation.
Current Behaviour
A single boolean value for allowsAnnotations for the PDFViewController

@bentacles thanks for proposing this. A better long term solution would be to pass an array of enums of the types of annotations you want to appear (or something similar). Currently there are only three types, but this will be changing in the nearish future. If you want to submit a pull-request to support this feel free, else it might be a little bit before I get around to integrating this. Thanks!

Thanks for the changes.
I have a problem if I wanted to have different text or images inside those buttons.
I could create my own MyAnnotationController that inherits from PDFAnnotationController.  Then define MyAnnotationController.buttons.
The problem is most of the access levels are internal inside PDFAnnotationController.  Also I can't set my own AnnotationController inside PDFViewController.
I would also like to define my own buttons in rightBarButtons but it's fileprivate function.

@bentacles if you take a peek at the develop branch you will see that there is a new version coming that opens up annotations considerably and allows you to change buttons, etc. Originally the PDFViewController was meant to be more of a reference than something to be extended, but as more and more people such as yourself have been using it directly and wanting customizability that is changing


Decoding quoted keys with new lines

TOML will happily deserialize
"\n" = 5

but if you try and serialize it, it will return toml::ser::Error::KeyNewLine.
So AFAICT, this behavior is motivated by the key-newline.toml test, so this might be expected behavior. But for consistency, I feel like either TOML should refuse to deserialize "\n" as a key, or to go ahead and serialize it as a quoted string key.
Found with https://github.com/rust-fuzz/targets

Aha nice find! I think we should have a special mode of serializing strings here, falling back to this style of escaped newlines for string keys (to make this round-trippable)


Update Entity Reference parameter fields

Describe your changes :

fix #4012

Type of change :

[x] Bug fix
[x] Improvement
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation

Frontend Preview (Screenshots) :
For frontend related change, please link screenshots of your changes preview! Optional for backend related changes.

Checklist:

[x] I have read the CONTRIBUTING document.
[ ] I have commented on my code, particularly in hard-to-understand areas.
[ ] I have added tests that prove my fix is effective or that my feature works.
[x] All new and existing tests passed.

Reviewers

@open-metadata/ingestion

Failing tests not related to this PR


Revert "packages.yaml: reflect python-ceph package split"

This reverts commit 4543fb64cedffc97c816feff7d4a69cd0456ab15.
Fixes: http://tracker.ceph.com/issues/17075
Signed-off-by: Nathan Cutler<EMAIL_ADDRESS>

@vasukulkarni This looks like the simplest fix. I will also update https://github.com/ceph/ceph/pull/9757 by dropping the commit that drops the python-ceph-compat package. We'll hold off dropping that package as long as traces of pre-hammer releases remain in ceph-qa-suite.

After speaking with @smithfarm I agree we at least need this. I'm not sure, however whether we need/want https://github.com/ceph/ceph-qa-suite/pull/1130 - let's talk there after this is merged

@smithfarm @zmc this will break jewel/rpm,  The right place to fix is to add packages.yaml and use overrides in places required or else the purpose of packages.yaml is not going to be useful.


Some ISSUEs concerning about constructing REFERENCE on vdj sequencing and full length immune receptor sequencing

Description
When I did as the tutorial on official tweets, I met some issues as running the following codes:
celescope vdj mkref human TR
but encounted issue like :

Traceback (most recent call last):
File "/bios-store1/home/logcoin/.conda/envs/Celescope/bin/celescope", line 8, in
sys.exit(main())
File "/bios-store1/home/logcoin/.conda/envs/Celescope/lib/python3.9/site-packages/celescope/celescope.py", line 54, in main
args.func(args)
File "/bios-store1/home/logcoin/.conda/envs/Celescope/lib/python3.9/site-packages/celescope/vdj/mkref.py", line 81, in mkref
runner()
File "/bios-store1/home/logcoin/.conda/envs/Celescope/lib/python3.9/site-packages/celescope/vdj/mkref.py", line 35, in call
self.combine_seq()
File "/bios-store1/home/logcoin/.conda/envs/Celescope/lib/python3.9/site-packages/celescope/tools/utils.py", line 45, in wrapper
result = func(*args, **kwargs)
File "/bios-store1/home/logcoin/.conda/envs/Celescope/lib/python3.9/site-packages/celescope/vdj/mkref.py", line 59, in combine_seq
assert len(imgt_files) == 7
AssertionError

And I run the code:
celescope vdj mkref human IG
I met another issue like:

Building a new DB, current time: 11/01/2023 15:27:28 New DB name:   /bios-store1/home/logcoin/Reference/hs_vdj/Homo_sapiens/IG/human_cele_BR/IGV.fa New DB title:  IGV.fa Sequence type: Nucleotide Deleted existing Nucleotide BLAST database named /bios-store1/home/logcoin/Reference/hs_vdj/Homo_sapiens/IG/human_cele_BR/IGV.fa Keep MBits: T Maximum file size:<PHONE_NUMBER>B BLAST options error: File IGV.fa is empty Traceback (most recent call last):   File "/bios-store1/home/logcoin/.conda/envs/Celescope/bin/celescope", line 8, in <module>     sys.exit(main())   File "/bios-store1/home/logcoin/.conda/envs/Celescope/lib/python3.9/site-packages/celescope/celescope.py", line 54, in main     args.func(args)   File "/bios-store1/home/logcoin/.conda/envs/Celescope/lib/python3.9/site-packages/celescope/vdj/mkref.py", line 81, in mkref     runner()   File "/bios-store1/home/logcoin/.conda/envs/Celescope/lib/python3.9/site-packages/celescope/vdj/mkref.py", line 36, in __call__     self.build_index()   File "/bios-store1/home/logcoin/.conda/envs/Celescope/lib/python3.9/site-packages/celescope/tools/utils.py", line 45, in wrapper     result = func(*args, **kwargs)   File "/bios-store1/home/logcoin/.conda/envs/Celescope/lib/python3.9/site-packages/celescope/vdj/mkref.py", line 76, in build_index     subprocess.check_call(f"makeblastdb -parse_seqids -dbtype nucl -in {out_file_name}.fa", shell=True)   File "/bios-store1/home/logcoin/.conda/envs/Celescope/lib/python3.9/subprocess.py", line 373, in check_call     raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command 'makeblastdb -parse_seqids -dbtype nucl -in IGV.fa' returned non-zero exit status 1.

To Troubleshot
I think the isse NO.1 might cause by the wrong format but have no idea about another issue, so I did some troubleshots:

Format of one of the IMGT reference files showed as following:
head -n 20 TRAJ.fasta

head -n 20 IGHD.fasta

Check whether the output directory is null:
ls -al ../IG/human_IG

but the "TR" directory is null.
And I finally check version of celescope
Version
celescope -v
2.0.3

I sincerely expect some responses on resolution about these issues, or show me some normative format of IMGT data for constructing index file. Moreover, I hope that some detailed instance on how to construct index file about vdj or full length immune receptors sequencing.
Last question I would like to raise:
Whether the index files based on IMGT data between single cell vdj and full length immune receptor sequencing are coincident?

Make sure celescope version>=1.15.1 and refer to https://github.com/singleron-RD/CeleScope/blob/master/doc/assay/multi_vdj.md.
IMGT and full length vdj reference are different.

Thanks for your response! I tried as tutorial you provided, but unfortunately I encunted another issue while running codes like:
wget https://www.imgt.org/download/V-QUEST/IMGT_V-QUEST_reference_directory/Homo_sapiens/TR/TR{A,B}{V,J}.fasta
and
wget http://www.imgt.org/download/V-QUEST/IMGT_V-QUEST_reference_directory/Mus_musculus/IG/IG{H,K,L}{V,J}.fasta
The issue descriped as:

--2023-11-03 10:47:00--  https://www.imgt.org/download/V-QUEST/IMGT_V-QUEST_reference_directory/Homo_sapiens/TR/TR{A,B}{V,J}.fasta
正在解析主机 www.imgt.org (www.imgt.org)... <IP_ADDRESS>
正在连接 www.imgt.org (www.imgt.org)|<IP_ADDRESS>|:443... 已连接。
已发出 HTTP 请求，正在等待回应... 404 Not Found
2023-11-03 10:47:01 错误 404：Not Found。

Remove character \
Correct link:

wget https://www.imgt.org/download/V-QUEST/IMGT_V-QUEST_reference_directory/Homo_sapiens/TR/TR{A,B}{V,J}.fasta

Remove character \ Correct link:

wget https://www.imgt.org/download/V-QUEST/IMGT_V-QUEST_reference_directory/Homo_sapiens/TR/TR{A,B}{V,J}.fasta

Thanks for your response.

Description When I did as the tutorial on official tweets, I met some issues as running the following codes: celescope vdj mkref human TR but encounted issue like :

Traceback (most recent call last):
File "/bios-store1/home/logcoin/.conda/envs/Celescope/bin/celescope", line 8, in
sys.exit(main())
File "/bios-store1/home/logcoin/.conda/envs/Celescope/lib/python3.9/site-packages/celescope/celescope.py", line 54, in main
args.func(args)
File "/bios-store1/home/logcoin/.conda/envs/Celescope/lib/python3.9/site-packages/celescope/vdj/mkref.py", line 81, in mkref
runner()
File "/bios-store1/home/logcoin/.conda/envs/Celescope/lib/python3.9/site-packages/celescope/vdj/mkref.py", line 35, in call
self.combine_seq()
File "/bios-store1/home/logcoin/.conda/envs/Celescope/lib/python3.9/site-packages/celescope/tools/utils.py", line 45, in wrapper
result = func(*args, **kwargs)
File "/bios-store1/home/logcoin/.conda/envs/Celescope/lib/python3.9/site-packages/celescope/vdj/mkref.py", line 59, in combine_seq
assert len(imgt_files) == 7
AssertionError

And I run the code: celescope vdj mkref human IG I met another issue like:

Building a new DB, current time: 11/01/2023 15:27:28 New DB name:   /bios-store1/home/logcoin/Reference/hs_vdj/Homo_sapiens/IG/human_cele_BR/IGV.fa New DB title:  IGV.fa Sequence type: Nucleotide Deleted existing Nucleotide BLAST database named /bios-store1/home/logcoin/Reference/hs_vdj/Homo_sapiens/IG/human_cele_BR/IGV.fa Keep MBits: T Maximum file size:<PHONE_NUMBER>B BLAST options error: File IGV.fa is empty Traceback (most recent call last):   File "/bios-store1/home/logcoin/.conda/envs/Celescope/bin/celescope", line 8, in <module>     sys.exit(main())   File "/bios-store1/home/logcoin/.conda/envs/Celescope/lib/python3.9/site-packages/celescope/celescope.py", line 54, in main     args.func(args)   File "/bios-store1/home/logcoin/.conda/envs/Celescope/lib/python3.9/site-packages/celescope/vdj/mkref.py", line 81, in mkref     runner()   File "/bios-store1/home/logcoin/.conda/envs/Celescope/lib/python3.9/site-packages/celescope/vdj/mkref.py", line 36, in __call__     self.build_index()   File "/bios-store1/home/logcoin/.conda/envs/Celescope/lib/python3.9/site-packages/celescope/tools/utils.py", line 45, in wrapper     result = func(*args, **kwargs)   File "/bios-store1/home/logcoin/.conda/envs/Celescope/lib/python3.9/site-packages/celescope/vdj/mkref.py", line 76, in build_index     subprocess.check_call(f"makeblastdb -parse_seqids -dbtype nucl -in {out_file_name}.fa", shell=True)   File "/bios-store1/home/logcoin/.conda/envs/Celescope/lib/python3.9/subprocess.py", line 373, in check_call     raise CalledProcessError(retcode, cmd) subprocess.CalledProcessError: Command 'makeblastdb -parse_seqids -dbtype nucl -in IGV.fa' returned non-zero exit status 1.

To Troubleshot I think the isse NO.1 might cause by the wrong format but have no idea about another issue, so I did some troubleshots:

Format of one of the IMGT reference files showed as following:
head -n 20 TRAJ.fasta

head -n 20 IGHD.fasta

Check whether the output directory is null:
ls -al ../IG/human_IG

but the "TR" directory is null.
And I finally check version of celescope
Version
celescope -v
2.0.3

I sincerely expect some responses on resolution about these issues, or show me some normative format of IMGT data for constructing index file. Moreover, I hope that some detailed instance on how to construct index file about vdj or full length immune receptors sequencing. Last question I would like to raise: Whether the index files based on IMGT data between single cell vdj and full length immune receptor sequencing are coincident?

I found out the key of issue that there remained some undesired files when I mannually downloaded data from IMGT. For instance, redundant file named "TRGJ" in the directory Path/TR/  made constructing reference failure.

Our vdj pipeline focuses on alpha/beta TCR.
Using following command to download only alpha/beta TCR sequence from IMGT to avoid error when running celescope vdj mkref.

wget https://www.imgt.org/download/V-QUEST/IMGT_V-QUEST_reference_directory/Homo_sapiens/TR/TR{A,B}{V,J}.fasta


Replace Remaining HttpBin.org Tests with WebListener

PR Summary

Replaces all remaining test that rely on httpbin.org
Adds Put, Post, Patch, and Delete tests to WebListener by means of routes to Get test and modifications to the Get controller.
Adds responsephrase option to the Response test to accommodate error message tests
removed redundant GET tests from irm and iwr tests.
Fixed markdown linting errors in README.md for WebListener
closes #5611
references #2504

PR Checklist
Note: Please mark anything not applicable to this PR NA.

[X] PR has a meaningful title

[X] Use the present tense and imperative mood when describing your changes

[X] Summarized changes
NA User facing Documentation needed

NA Issue filed - Issue link:

[X] Change is not breaking
[X] Make sure you've added a new test if existing tests do not effectively test the code changed

[X] Add [feature] if the change is significant or affectes feature tests

[x] This PR is ready to merge and is not Work in Progress.

If the PR is work in progress, please add the prefix WIP: to the beginning of the title and remove the prefix when the PR is ready.

Codecov Report

Merging #5665 into master will increase coverage by 18.49%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##           master    #5665       +/-   ##
===========================================
+ Coverage   42.39%   60.89%   +18.49%
===========================================
  Files         924      924
  Lines      274195   274195
===========================================
+ Hits       116258   166975    +50717
+ Misses     157937   107220    -50717

Impacted Files
Coverage Δ

...on/engine/remoting/commands/PushRunspaceCommand.cs
15.17% <0%> (+0.15%)
:arrow_up:

...ion/engine/remoting/fanin/WSManTransportManager.cs
64.11% <0%> (+0.23%)
:arrow_up:

....Management.Automation/help/UpdatableHelpSystem.cs
61.87% <0%> (+0.26%)
:arrow_up:

...Automation/engine/remoting/client/ThrottlingJob.cs
81.16% <0%> (+0.26%)
:arrow_up:

...tion/engine/interpreter/ControlFlowInstructions.cs
82.93% <0%> (+0.29%)
:arrow_up:

src/Microsoft.WSMan.Management/WsManHelper.cs
41.81% <0%> (+0.38%)
:arrow_up:

src/System.Management.Automation/engine/Pipe.cs
78.26% <0%> (+0.39%)
:arrow_up:

src/Microsoft.WSMan.Management/ConfigProvider.cs
73.36% <0%> (+0.41%)
:arrow_up:

...on/engine/interpreter/CallInstruction.Generated.cs
32.38% <0%> (+0.47%)
:arrow_up:

...nt.Automation/namespaces/NavigationProviderBase.cs
72.84% <0%> (+0.52%)
:arrow_up:

... and 625 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 2a9c1ca...466d019. Read the comment docs.

Reopen to restart AppVeyor CI


sort.cc added to runtime for nms compatability

sort.cc added to wasn runtime for nms support
Solves this issue

@tqchen

@AlexanderSerov please resolve the lint error

Update PR but it not solve the problem, checks locally. Can't understand what's wrong

You can run tests/lint/git-clang-format -i upstream/main (assuming upstream/main points to the latest main). The error is due to clang format

@AlexanderSerov please run clang-format-10 on wasm_runtime.cc

@masahi I do so. This tool just delete a problem line and don't say why. Also I tried to make changes from different text redactors - the same. If you understand linting, can you resolve the issue instead of me as this will be a lot faster. This issues marked as contributors can make change.

It is just complaining that file names are not sorted in alphabet order.

@masahi Done. Thanks

Thanks @AlexanderSerov


Use Affected Elements - > button instead "Button $ selector"

Dynamic Action plugins has option for "Affected Element Required" and "For button" use this options instead of custom implemented "Button $ selector"

fixed in v2


Replace Java 7 base image with Java 7 JRE

This is mostly a space saving technique, since we don't really need any of the JDKs functionality.
In addition, add a brief test to the Travis CI configuration, and update the README.

+1
Running sbt fetches a lot of .jars which it does not fetch the second time around. Do you think it could be worth baking this into the image? or do they get baked in later on in derivative images?

I added a call to sbt in the Dockerfile so that it pulls down the dependencies. I think it makes sense to include that stuff as part of the image.


A bug in Revel v0.19.0 (2018-02-06) and go1.11 linux/arm

I use revel Revel v0.19.0 (2018-02-06) and go1.11 linux/arm to build my project.
I have the below error.
I wonder if this is the problem of revel or not and how to fix.
ERROR 14:35:55  revel  build.go:157: go build runtime/cgo: open /usr/local/go/pkg/linux_arm/runtime/cgo.a: permission denied

ERROR 14:35:55  revel  build.go:380: Failed to parse build errors              error="go build runtime/cgo: open /usr/local/go/pkg/linux_arm/runtime/cgo.a: permission denied\n"
Abort: Failed to build: Go Compilation Error: See console for build error.

Thank you very much.

It is just a small project and I was able to compile it with Go 1.9.
I searched on the web and I think there may be a problem with the parameter -i when revel calls go to compile my project.
Could you please let me know the place where I can modify the source code of Revel so that I remove the parameter -i when Revel calls go compiler to compile my project?
I can see /usr/local/go/bin/go build -i  ... in the below log.
DEBUG 08:54:39  revel  build.go:150: Exec:                                     args="[/usr/local/go/bin/go build -i -ldflags -X mywebapp/app.AppVersion= -X mywebapp/app.BuildTime=2018-08-30T22:54:39Z -tags  -o /home/pi/gocode/bin/revel.d/mywebapp/app/tmp]"

Thanks.

Thank you, @notzippy .
The bug has been fixed.
It is because Revel uses the parameter -i when it calls go to compile my web project.
I just delete the line [https://github.com/revel/cmd/blob/master/harness/build.go#L137] and I can compile my project.

Interesting, I see there is a bug listed for it here as well : https://github.com/golang/go/issues/25138

Example using revel build-flags to omit the -i argument (just pass any build flag in.) This worked around the issue for me, which is still occurring in go1.14.
revel -X-v run -a myapp


[DOCS] Fix issues

Fixes incorrect docstrings in many models
Fixes incorrect links in readme.md
Adds TimeMixer to docs
Replaces .qmd pages with .ipynb pages as the qmd pages did not render online
Groups tutorials to reduce overload of information in sidebar

Looks good to me! Great job!


Frontend Prep and Updates

Upgrade Dependencies

Vue is upgraded from 2.6.14 to 2.7.14 which integrates the Vue Composition API directly into Vue.
Vue Router, Vue Template Compiler, Vuetify Loader also see updates.
Vue Composition API as a standalone dependency is removed.
An overrides setting is added to the package.json so that using TypeScript 5.x doesn't cost npm i to fail.

There is a known bug in npm which prevents overrides from working correctly with existing node_modules and package-lock.json files, if running into issues remove these and retry.

Update code in existing composition components to work with 2.7.x.
Update tsconfig.json so latest Volar tools work optimally with Vue code.

ControlPanel.vue

Refactored to utilize composition instead of options API.

TypeScript

A number of smaller changes made throughout that fix issues caught by upgraded TS, ESLint, etc.

Vuex

Remove remaining dependencies on direct-vuex.

Other

Fixes to Vue shim
Reorder types, add additional

Re: cross-browser testing
I agree it would be better if we ran the tests cross-browser - but it does take around 3x as long as running through a single test. This isn't a big deal in the CI but it starts to get onerous when doing local dev. That said, there may be a way to configure it so that it runs single browser on local and cross-browser for CI.
This is the first project I'm using Playwright on, so it's likely I don't know all the ins-and-outs and this situation seems like a common scenario.

Disabling the pyppeteer tests and running a playwright test for one browser is acceptable for now. Could you make this change and make an issue to address the browser testing migration in the future?

@davidshq Do you mind if I merge this? I'd like to propagate it to the main repo.

Go for it!
On Fri, Apr 21, 2023 at 12:08 PM Anne Haley @.***>
wrote:

@davidshq https://github.com/davidshq Do you mind if I merge this? I'd
like to propagate it to the main repo.
—
Reply to this email directly, view it on GitHub
https://github.com/knowledgevis/miqa-annotate/pull/10#issuecomment-1518047212,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AB5DQLTSYINV2XZJMFVWV5DXCKWI3ANCNFSM6AAAAAAWVWYB2I
.
You are receiving this because you were mentioned.Message ID:
@.***>


[Python-SDK] Fix serialization error not being caught.

We weren't handling a serialization error as we expected.
Ref: https://hpe-aiatscale.slack.com/archives/C057E0TFT1R/p1707852214611959?thread_ts=1707851239.169829&cid=C057E0TFT1R

Seems like a good change to me. I looked through the codebase and saw similar places where we handle grpc.RpcError like this (see below). The types all check out also so 👍🏻
python-sdk/pachyderm_sdk/api/pps/extension.py#79
        except grpc.RpcError as err:
            err: grpc.Call

yeah, grpc errors are quite strange. I'm actually going to re-add in the comment that I deleted because it's a good reference.


The type initializer for 'System.Management.Automation.PSVersionInfo' threw an exception

Hi, it's maybe a bug of .Net 5.
Steps to reproduce
Open a runspacepool in a .Net5 Web Api published as a single file.
Expected behavior
The runspace pool is open and works fine like before (before the update of .Net or powershell package)
Actual behavior
System.TypeInitializationException: The type initializer for 'System.Management.Automation.PSVersionInfo' threw an exception.
 ---> System.ArgumentException: The path is empty. (Parameter 'path')
   at System.IO.Path.GetFullPath(String path)
   at System.Diagnostics.FileVersionInfo.GetVersionInfo(String fileName)
   at System.Management.Automation.PSVersionInfo..cctor()
   --- End of inner exception stack trace ---
   at System.Management.Automation.PSVersionInfo.get_SerializationVersion()
   at System.Management.Automation.Remoting.RemoteSessionCapability..ctor(RemotingDestination remotingDestination)
   at System.Management.Automation.Remoting.RemoteSessionCapability.CreateClientCapability()
   at System.Management.Automation.Remoting.ClientRemoteSessionImpl..ctor(RemoteRunspacePoolInternal rsPool, URIDirectionReported uriRedirectionHandler)
   at System.Management.Automation.Internal.ClientRunspacePoolDataStructureHandler.CreateClientRemoteSession(RemoteRunspacePoolInternal rsPoolInternal)
   at System.Management.Automation.Internal.ClientRunspacePoolDataStructureHandler..ctor(RemoteRunspacePoolInternal clientRunspacePool, TypeTable typeTable)
   at System.Management.Automation.Runspaces.Internal.RemoteRunspacePoolInternal.CreateDSHandler(TypeTable typeTable)
   at System.Management.Automation.Runspaces.Internal.RemoteRunspacePoolInternal..ctor(Int32 minRunspaces, Int32 maxRunspaces, TypeTable typeTable, PSHost host, PSPrimitiveDictionary applicationArguments, RunspaceConnectionInfo connectionInfo, String name)
   at System.Management.Automation.Runspaces.RunspacePool..ctor(Int32 minRunspaces, Int32 maxRunspaces, TypeTable typeTable, PSHost host, PSPrimitiveDictionary applicationArguments, RunspaceConnectionInfo connectionInfo, String name)
   at System.Management.Automation.Runspaces.RunspaceFactory.CreateRunspacePool(Int32 minRunspaces, Int32 maxRunspaces, RunspaceConnectionInfo connectionInfo, PSHost host, TypeTable typeTable, PSPrimitiveDictionary applicationArguments)
   at System.Management.Automation.Runspaces.RunspaceFactory.CreateRunspacePool(Int32 minRunspaces, Int32 maxRunspaces, RunspaceConnectionInfo connectionInfo, PSHost host, TypeTable typeTable)
   at System.Management.Automation.Runspaces.RunspaceFactory.CreateRunspacePool(Int32 minRunspaces, Int32 maxRunspaces, RunspaceConnectionInfo connectionInfo, PSHost host)
   at System.Management.Automation.Runspaces.RunspaceFactory.CreateRunspacePool(Int32 minRunspaces, Int32 maxRunspaces, RunspaceConnectionInfo connectionInfo)
   at System.Management.Automation.Remoting.RemoteSessionCapability.CreateClientCapability()
   at System.Management.Automation.Remoting.ClientRemoteSessionImpl..ctor(RemoteRunspacePoolInternal rsPool, URIDirectionReported uriRedirectionHandler)
   at System.Management.Automation.Internal.ClientRunspacePoolDataStructureHandler.CreateClientRemoteSession(RemoteRunspacePoolInternal rsPoolInternal)
   at System.Management.Automation.Internal.ClientRunspacePoolDataStructureHandler..ctor(RemoteRunspacePoolInternal clientRunspacePool, TypeTable typeTable)
   at System.Management.Automation.Runspaces.Internal.RemoteRunspacePoolInternal.CreateDSHandler(TypeTable typeTable)
   at System.Management.Automation.Runspaces.Internal.RemoteRunspacePoolInternal..ctor(Int32 minRunspaces, Int32 maxRunspaces, TypeTable typeTable, PSHost host, PSPrimitiveDictionary applicationArguments, RunspaceConnectionInfo connectionInfo, String name)
   at System.Management.Automation.Runspaces.RunspacePool..ctor(Int32 minRunspaces, Int32 maxRunspaces, TypeTable typeTable, PSHost host, PSPrimitiveDictionary applicationArguments, RunspaceConnectionInfo connectionInfo, String name)
   at System.Management.Automation.Runspaces.RunspaceFactory.CreateRunspacePool(Int32 minRunspaces, Int32 maxRunspaces, RunspaceConnectionInfo connectionInfo, PSHost host, TypeTable typeTable, PSPrimitiveDictionary applicationArguments)
   at System.Management.Automation.Runspaces.RunspaceFactory.CreateRunspacePool(Int32 minRunspaces, Int32 maxRunspaces, RunspaceConnectionInfo connectionInfo, PSHost host, TypeTable typeTable)
   at System.Management.Automation.Runspaces.RunspaceFactory.CreateRunspacePool(Int32 minRunspaces, Int32 maxRunspaces, RunspaceConnectionInfo connectionInfo, PSHost host)
   at Perseus.API.Helpers.PowerShell.PowerShellHelper.VerifyRunspacePool(RunspacePool rp, Func`1 creator, Boolean retry)
   at Perseus.API.Helpers.PowerShell.PowerShellHelper.VerifyRunspacePool(RunspacePool rp, Func`1 creator, Boolean retry)
   at Perseus.API.Helpers.PowerShell.PowerShellHelper.VerifyRunspacePool(RunspacePool rp, Func`1 creator, Boolean retry)
   at Perseus.API.Services.RDS.RDSService.GetRunspacePool(RDSPlatformEnum platform)
   at Perseus.API.Services.HostedExchange.HostedExchangeService.GetRunspacePool(ExchangeVersionEnum version)
   at Perseus.API.Services.RDS.RapsManager.UpdateRaps()
   at Perseus.API.Services.HostedExchange.Mailbox.MailboxDatabasesManager.UpdateServersCache()
   at Perseus.API.Services.RDS.RapsManager.GetCache(Boolean forceRefresh)
   at Perseus.API.Services.RDS.RapsManager.RefreshRapsRoles()
   at Perseus.API.Services.HostedExchange.Mailbox.MailboxDatabasesManager.GetCache(Boolean forceRefresh)
   at Perseus.API.Services.HostedExchange.Mailbox.MailboxDatabasesManager.RefreshDatabaseEval()

Environment data
System.Management.Automation Version 7.1.0 Preview 7
.Net 5 RC-1
Workaround
If I publish the Web API to IIS without single file generation, it's work fine.

Duplicate of #13540


Proper handling of carriage returns

Build output currently does not handle carriage returns properly. They are used in terminals for rewriting the current line but the web terminal is just printing everything. In the following bash test case, doing is supposed to only appear in the ongoing build but not after build has finished:
printf 'doing'
printf '\r%5s\r'
printf 'done\n'

It seems these lines can be improved to move the cursor to the beginning or maybe delete the current line. Note that this is not related to #939 since the current line has already been converted by whatever ANSI-to-HTML library you decided to use.

I've renamed #939 to be more inclusive of any terminal output issues. The display is fully handled by a 3rd party library, so we need to either improve or replace this library. I would prefer to track this under #939 instead of having multiple issues to track problems with the 3rd party library.


Vault-generated private keys throw FailedToConstructPrivateKey errors

Hello-
I've deployed linkerd as well as a couple sample applications with linkerd-tcp containers. We've successfully applied cfssl and openssl certificates and keys, but are having trouble with keys generated with Vault. Our pk8-encoded key will throw the error "WrongNumberOfKeysInPrivateKeyFile" and our regular .key file will throw "FailedToConstructPrivateKey" errors. There does not appear to be any errors with the certificates on the client side. We have similar vault-generated certs that work with our main linkerd service mesh.
client configuration:
    routers:
...
      client:
        kind: io.l5d.static
        configs:
        - prefix: /svc/server
          connectTimeoutMs: 400
          tls:
            dnsName: "server.default.svc.cluster.local"
            trustCerts:
            - /io.buoyant/linkerd/certs/tls.chain

server configuration:
    routers:
...
      servers:
      - ip: <IP_ADDRESS>
        port: 7474
        dstName: /$/inet/127.1/80
        tls:
          defaultIdentity:
            privateKey: /io.buoyant/linkerd/certs/tls.key
            certs:
            - /io.buoyant/linkerd/certs/tls.crt

Is there any reason that this may be happening to Vault keys and not other private keys?

My hunch is that the keys are RSA keys and they either are missing the Chinese Remainder Theorem (CRT) parameters or they have the CRT parameters but parameter p < parameter q. If it is the latter then the fix for https://github.com/briansmith/ring/issues/220 will fix this after we upgrade the version of ring being used.

@briansmith I believe you're correct; these are RSA keys, and looking at Vault's keybase/go-crypto/rsa dependency shows the same issue as with the crypto/rsa package that has already been called out in briansmith/ring#220 as possible sources of such keys (i.e. no sorting of the p/q parameters).
It does seem like the p and q parameters are at least present, so I suspect that upgrading ring will fix this issue.


[dev]: utilize GitHub security tools

@jawnsy brought up adding dependabot to code-server in #2830
I took a look at the Security tab and it looks like there is a lot of security tools provided by GitHub that we should be utilizing (including dependabot alerts).

Now that we're using CodeQL (#3229) and trivy (#3261) and dependabot (#2830), we can close this.


filed named "fisher_20000.bn" not found

Dear author:
When I run your code "main.py" under the folder of additional_baselines, there exists an error that "can not find the file named 'fisher_20000.bn' ". And I couldn't  find any code files to create that file. Could you please tell me the procedure that you produce this file? Thank you very much.

Hello,
That file is simply the feature representation (fc layer) of all points concatenated. It is later pickled. I will upload the code which generated it and update the issue.
In the mean time; some folks re-implemented our method in (
https://github.com/google/active-learning/blob/master/sampling_methods/kcenter_greedy.py) And, it is significantly simpler and nicer code.


delayed integration object

When integrating an integrand with placeholder arguments return a DelayedIntegral object, name up for discussion, instead of evaluating the integral immediately. DelayedIntegral objects can be summed if the shapes match. A DelayedIntegral object can be evaluated via e.g. .eval, which requires values for all placeholder arguments.

Implemented: model.Integral.


[BUG]: LoggingService with JSON log writer fails for gRPC messages

I am geetting the following error:
Unexpected exception while formatting a request log: {request log's string representation here}

No serializer found for class com.linecorp.armeria.common.DefaultRpcRequest and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationFeature.FAIL_ON_EMPTY_BEANS)

All I am doing is adding the following to my server and calling some gRPC endpoints:
            .decorator(
                LoggingService
                    .builder()
                    .logWriter(
                        LogWriter
                            .builder()
                            .logFormatter(LogFormatter.ofJson()) // Log in JSON format
                            .successfulResponseLogLevel(LogLevel.DEBUG) // Log all responses as DEBUG
                            .failureResponseLogLevel(LogLevel.WARN) // Log all failures as warnings
                            .requestLogLevel(LogLevel.TRACE) // Request logs are not as important, thus trace
                            .build(),
                    ).newDecorator(),

test reprod under JsonLogFormatterTest,
    @Test
    void formatRpcRequest() {
        final LogFormatter logFormatter = LogFormatter.ofJson();
        final ServiceRequestContext ctx = ServiceRequestContext.of(HttpRequest.of(HttpMethod.POST, "/com.Foo"));
        final DefaultRequestLog log = (DefaultRequestLog) ctx.log();
        log.requestContent(RpcRequest.of(DefaultRequestLogTest.class, "service", "method"), null);
        log.endRequest();
        final String requestLog = logFormatter.formatRequest(log);
        System.out.println(requestLog);
        assertThat(requestLog)
                .matches("^\\{\"type\":\"request\",\"startTime\":\".+\",\"length\":\".+\"," +
                         "\"duration\":\".+\",\"scheme\":\".+\",\"name\":\".+\",\"headers\":\\{\".+\"}}$");
    }

Is this still a problem? What was the culprit?

Is this still a problem? What was the culprit?

I did not mean to complete this 😭 I have reverted this change in an internal repo and linked this request, thus it automatically resolved.

Is this still a problem? What was the culprit?

We have some options, my first attempt is this:
    private static <T> BiFunction<? super RequestContext, T, JsonNode>
    defaultContentSanitizer(ObjectMapper objectMapper) {
        return (requestContext, obj) -> {
            if (obj instanceof RpcRequest) {
                RpcRequest rpcRequest = (RpcRequest) obj;
                ObjectNode node = objectMapper.createObjectNode();
                node.put("method", rpcRequest.method());
                node.put("serviceName", rpcRequest.serviceName());
                node.set("params", objectMapper.valueToTree(rpcRequest.params()));

                return node;
            }
            return objectMapper.valueToTree(obj);
        };

This works somewhat fine, however JSON formatting of RPC based params is incorrect. Protobuf messages can't be serialized using Object Mappers, there is some kind of recursion happening.
I don't even know how to serialize other types such as Thrift. Maybe we can check params and if they extend Message proto type, we can use jsonPrinter?

I have created a draft PR here: https://github.com/line/armeria/pull/5873
For whatever reason my test can't capture logger.info (even though it is being called 🤔)


Docker support

Solves https://github.com/yonaskolb/SwagGen/issues/160
Changes:

adds Dockerfile
updates README with instructions to use a pre-built image

Can the Dockerfile be split into multiple stages so that the published version does not necessarily contain the sources and build directory?
Ideally, the docker image should be published to a Docker Hub repository owned by @yonaskolb. Otherwise, users may not trust it

I have an example of a multi-stage Dockerfile here: https://github.com/mithun/swaggen-docker/blob/master/Dockerfile

Thanks for this example @mithun, good suggestion!

@mithun Can your https://github.com/mithun/swaggen-docker take all the same parameter as the official binary ?

@mithun Can your https://github.com/mithun/swaggen-docker take all the same parameter as the official binary ?

Yes


Add shutdown banner to the top of ampbench.appspot.com

Staged at https://ampbench-staging.appspot.com/; should look like this:

Note that before deploying to production, the project needs to be update to "use" split health checks. (They are actually essentially deactivated, but they need to be turned on because GAE...)
Draft of issue text to be circulated separately.

as a standalone service and as an endpoint is there something we are doing as far as notifying any users who might hit this endpoint via their own script or service to notify them of the deprecation? Like so: https://stackoverflow.com/questions/13884141/convention-for-http-response-header-to-notify-clients-of-deprecated-api

@alabiaga Good point re Warning header, added in
be2d589. Now you get (for all requests actually, not just API):
$ curl -sS -D - -o /dev/null 'https://ampbench-staging.appspot.com/api?url=https%3A%2F%2Fbeebo.red%2F'
HTTP/2 200
date: Mon, 18 Nov 2019 13:39:59 GMT
content-type: application/json; charset=utf-8
content-length: 606
vary: Accept-Encoding
x-powered-by: Express
warning: 299 - "ampbench will be shut down on 2020-01-31, see https://github.com/ampproject/ampbench/issues/126"
...


User ID feature

Hi there, with this package, is it possible to leverage the User ID feature? i.e. https://support.google.com/analytics/answer/3123663
Cheers,
Phil

Can you test release 1.1.4 please if that is what you need.

Feature works at our app.


Proper handling of UTF8 characters

I noticed that fints2ledger doesn't handle UTF8 characters (in this case german Umlauts) properly.
I made a transaction with a purpose "Büro" (it shows up like this in my Banks Website transaction list).
However, it's imported into csv with the purpose "Buro":
2020/11/03;-50.00;EUR;...;Überweisungsauftrag;Buro...

The matching dialog also displays the posting "Überweisungsauftrag" like this (it's added correctly to the journal file afterwards, so this is just a display issue):
{
 "date": "2020/11/03",
 "amount": "-50.00",
 "currency": "EUR",
 "payee": "...",
 "posting": "\u00dcberweisungsauftrag",
 "purpose": "Buro",
 "debit_account": "Assets:Privat:Giro"
}

Please make sure that UTF chars are properly imported.

Hugh, now an Umlauts are already showing up wrongly imported in the csv file:
2020/12/18;-90.80;EUR;DB Fernverkehr AG;M-CM-^\berweisungsauftrag…

I pushed version 0.6.2 which now properly displays unicode characters on the command line.

I am not sure though what is causing the wrongly displayed umlauts in the csv, as this is not happening on my side.
You could check if it has to do anything with the bank or the pyfints library setup by running this snippet:
import logging
from datetime import date
from datetime import timedelta
import getpass
from fints.client import FinTS3PinTanClient

logging.basicConfig(level=logging.INFO)
f = FinTS3PinTanClient(
    '###',  # Your bank's BLZ
    '###',  # Your login name / account number
    "###",  # Your banking PIN
    'https://###', # the fints endpoint
)
account = f.get_sepa_accounts()[0] # select the account here for which you download transactions
transactions = f.get_transactions(account, start_date=date.today() - timedelta(days=30), end_date=date.today())
for transaction in transactions:
  print(transaction.data)

I pushed version 0.6.2 which now properly displays unicode characters on the command line.

I am not sure though what is causing the wrongly displayed umlauts in the csv, as this is not happening on my side.
You could check if it has to do anything with the bank or the pyfints library setup by running this snippet:
import logging
from datetime import date
from datetime import timedelta
import getpass
from fints.client import FinTS3PinTanClient

logging.basicConfig(level=logging.INFO)
f = FinTS3PinTanClient(
    '###',  # Your bank's BLZ
    '###',  # Your login name / account number
    "###",  # Your banking PIN
    'https://###', # the fints endpoint
)
account = f.get_sepa_accounts()[0] # select the account here for which you download transactions
transactions = f.get_transactions(account, start_date=date.today() - timedelta(days=30), end_date=date.today())
for transaction in transactions:
  print(transaction.data)

I tried with your example code above and the Umlauts displayed fine. I'll report back once I experience this issue again.

I tried with your example code above and the Umlauts displayed fine. I'll report back once I experience this issue again.


Propose a new project here!

Surfacing new ideas
The power of the Optimism Ecosystem Contributions Dashboard is in its ability to surface potentially valuable tasks from all over the Optimism Collective ecosystem. As the Collective becomes increasingly decentralized, it'll be important to create a system that allows anyone to highlight new contribution opportunities that might be valuable.
We created this dashboard as a stepping stone towards a more decentralized system. GitHub isn't ideal for a free-for-all system because its limited filtering capabilities could potentially drown out high-quality projects. We have a top-priority project in works to move this dashboard to a standalone interface that would make entirely permissionless project proposals easy. We expect this interface to be live within the next 1-2 months.
We would still love to surface your project ideas and contribution opportunities within this dashboard. While we wait for the standalone dashboard interface, we'll be using this GitHub issue as the staging ground for new project proposals. If you have an idea of a task that someone could take on to improve the Optimism and Ethereum ecosystems, please feel free to drop that idea here.
Ideal project proposals
The ideal proposal is well-defined, highly detailed, and clearly impactful. A potential contributor should be able to easily understand the proposed task and start work with the resources that you've provided. Contributors should also be able to understand why the project is important and the potential impact that the project might have.
Proposed projects should generally positively impact the Optimism and Ethereum ecosystems, but this is a loose definition. Some projects might clearly benefit the ecosystem as a whole (see 🔴 Ecosystem Project Idea: List of Crypto Legal Public Goods) but projects can also be proposed that help specific efforts within the Optimism ecosystem. For example, an application deployed to OP Mainnet may wish to propose that users review the user experience of their application.
When in doubt, propose! If specific aspects of a proposed project are confusing or may not be perfectly appropriate for this dashboard, someone will help you make modifications.
Using the proposal template
Please use the following template when proposing a project idea or contribution opportunity. This helps keep proposals uniformly digestible by potential contributors and speeds up the process of turning your proposal into a live task. Please also make sure to include as much detail as possible so that a potential contributor knows exactly what to do with your project.

Project Proposal Template
Metadata

Title: pick a short and descriptive title for your proposal
Contribution Category: select one of the Contribution Categories defined in the README of this repository
Tags: select one or more of the tags defined in the README of this repository
Estimated Effort: select one of the estimated effort sizes defined in the README of this repository
Estimated Impact: select one of the estimated impact sizes defined in the README of this repository

Summary
Include a detailed summary of your proposed project idea or contribution opportunity. The more detail here, the better. A contributor should be able to clearly understand what your project is about and what needs to get done.
Potential Features

Bullet point list of potential features
Add as many features as you can think of
Anything not listed here may not be implemented

Impact

Bullet point list of ways this proposal is impactful
Clear impact statements help a contributor understand why they should work on this project

Resources

List of resources that may be needed to successfully complete this project
Each item should include a link to required resources
More resources are always better

Hi, I have a project idea to propose to the ecosystem. Before I start implementing this, any feedback is welcomed.
Project Proposal
Title: Opinionated building blocks of smart contract and front-end snippets to reduce L2 gas cost by encoding calldata for DApp development to use fewer bytes of calldata as much as possible.
Contribution Category: 🔴 Ecosystem Project Ideas
Tags: Devs Tool ,  Contracts
Estimated Effort: Large
Estimated Impact: Large
Summary
Gas optimization on layer 2 requires different paradigm and design from layer 1. The execution of layer 2 is brought out of Ethereum layer, so that the most part of total gas cost is batch submission to layer 1. In other words, either the fewer bytes of call data sent or the tighter packed call data, the lower gas  users will pay on layer 2.
However, this paradigm is quite new and there is no standard to adopt this seriously. In order to push forward the cutting edge of crypto scalability even more, new design and paradigm should be standardized.
Potential Features

Current Milestone:

Wrapper snippet to encode the data,  This can encode various input arguments into single tightly compressed calldata, There are two options to implements these

This can be encode off-chain by written in typescript, published as npm package.
This can be encode on-chain by written in solidity, with read-only function. Together with another front-end wrapper, the appropriate compressed calldata can be forward to decode in later step.

Solidity Helper Library to decode the encoded call data on chain

AddressTable to store the mapping between addresses and indexes, allowing:

The address can be registered to the contract, then the index is generated.
The generated id can then be used  to look up the registered address  during the compressed call data decoding process

Data Serialization

The encoded calldata could be deserialized into the correct type. For example, if we choose to reduce the calldata by sending the time period as arguments with type of uint40 (5 bytes) instead of uint256, the calldata should be sliced at the correct offset and the result can be correctly used in the next steps.

Test suites and measurements how much gas is saved
Technical Writing/ Examples to integrate with popular front-end libraries & frameworks (eg. ether.js, viem, wagmi)

Impact

On layer 1, calldata optimization is not impactful, as  the gas costs to decode the calldata is costly. However, it save a tons of gas on layer 2 where calldata is expensive while computation is cheaper. The gas amount saved will be multiplied, especially after EIP4844.
Standardization and practice on calldata optimization paradigm is important to ensure security in web3 development on layer 2
Metrics to Measure Impact

Number of code repo forks
Number of external contributors’ issues and PRs submitted
Number of npm package downloaded

Resources

Me ( Rati Montreewat, Smart Contract Developer)

Proposal to create a CIS community of OP and ecosystem projects.

Project Proposal
Organization of the CIS-community on Twitter, YouTube, Telegram.
Within the community we provide news on the OP ecosystem and educational material in Russian for those who wish to become ambassadors of the project.  We plan to work with large regional Influencers and hold events.
Contribution Category: 🔴 Ecosystem Project Ideas
Tags: Meta
Estimated Effort: Large
Estimated Impact: Large

Summary
At this stage, the Optimism system looks complexly structured. And many people don't quite understand how to interact with the ecosystem and how to add value. We will organize community work and hold various educational and entertaining events.
Stimulating a CIS community in the OP ecosystem. Increasing engagement, working with Influencers - increasing reach in the media space and Optimism's influence among web3 users.

Potential Features

Conducting content events by means of Zealy with rewards from % of the grant.
Conducting online/offline events
Supporting ecosystem projects and working with OP Influencers
Voting to promote OP within the CIS media space

We have extensive experience in realization of similar events and work with media resources and Influencers: CRYPTUS (189k subscribers in YouTube, 72k subscribers in Telegram), Farmer (more than 100k subscribers in total in Telegram-channels) and many others.
Also we have developed a plan for content-events with the distribution of awards among the participants:
Content Plan:

Twitter
Account Requirements: 100+ subscribers, account at least 6 months old
Contributions: 8 tracks (2 pds/week - MAX)
Content requirements: illustration (infographics, art, meme), 5+ pieces. Mark Optimism_CIS (https://twitter.com/Optimism_CIS) and official Twitter(https://twitter.com/optimismFND)- Language requirements: English
Notes: The use of translators is allowed, as long as the translation is correct.

Video content
Account Requirements: 50+ subscribers, the account is at least 1.5 months old and has more than 3 crypto-themed videos.
Creating video content on YouTube, TikTok, Instagram, Twitter
Contributions: 4 videos (1pcs/week - MAX)
Content requirements: Clear sound, Clear picture, Subtitles depending on format and original language. Note Optimism_CIS (https://twitter.com/Optimism_CIS) and official Twitter(https://twitter.com/optimismFND)- Duration of videos: YouTube - 5-10 minutes; TikTok-Instagram 10-300 sec.
Language requirements: CIS languages (Russian, Belarusian, Ukrainian, Kazakh, etc.), English
Accounts and content will be further verified by the means of appropriate platforms.
Graphic works
Content is published on Twitter, Telegram (channel)
Content requirements: Use of project colors. Check Optimism_CIS (https://twitter.com/Optimism_CIS) and official Twitter(https://twitter.com/optimismFND)
Language requirements (if necessary): CIS languages (Russian, Belarusian, Ukrainian, Kazakh, etc.), English

Telegram Channel
Channel requirements: 50+ subscribers, account is at least 1 month old and has more than 5 posts on crypto topic.
Content publication: 800+ characters. Mark Optimism_CIS (https://twitter.com/Optimism_CIS) and official Twitter(https://twitter.com/optimismFND)- Contributions: 8 posts (2pc/week - MAX)
Language requirements: CIS languages (Russian, Belarusian, Ukrainian, Kazakh, etc.), English
Remarks: Posting with art/thematic illustration is rewarded additionally.

Prohibited
Chat-GPT usage
Images of Midjorney and other AIs as the final product
Pdp spoofing
Posting of unconfirmed information
Discussing speculation with OP token, predicting price
Propaganda, displaying violence, insults
Plagiarism
Deleting (hiding) posts
Corrupting audience activity with the help of bots and third-party resources
*Accounts and content will undergo additional verification through appropriate resources.
Bonuses:
Accounts/channels with over 500 subscribers are additionally rewarded at 30% exp (if eligible)
Accounts/channels with over 1000 subscribers are rewarded an additional 50% in exp (if eligible)
Contributions with wide reach/number of views and reactions will be rewarded individually
Participant who completes the MAX number of category contributions will receive +20% to that category's point total. MAX 2 categories, bonus applies to each participant's most successful category.

Mandatory Content Topics (Example):
Token House Governance.
Citizens' House Governance
RetroPGF
BedRock Update.
Preferred Content Topics:
News and integrations published on official Twitter (https://twitter.com/optimismFND).
The best work will be translated and published on CIS-Twitter
Reward distribution plan (Example):
Dedicated pool per community 12k OP.
The 10k OP will be distributed to members of the Zealy campaign.
Distribution Procedure: 10k OP - total award pool. At the end of the epoch, the exp-Zeal of the top 50 content makers will be counted, who will share the award pool among themselves according to their contribution.
Example:
Exp pool = 20k.
10k(OP) / 20k(exp) = 0.5 OP/exp
2k OP will be distributed to contests and events held on Telegram & Twitter.

Impact

OP recognition for the CIS community
Increased influence and engagement
Increase of coverage in media resources

Resources
Twitter
Telegram
YouTube
For feedback please contact: Telegram ; Discord

Project Proposal
Metadata

Title: Open Source Crypto Payment Gateway for Web2 Integration
Contribution Category: Mad Science Project Ideas.
Tags: Consumers / Dev Tools
Estimated Effort: Medium
Estimated Impact: Large

Summary
Developing an open-source crypto payment gateway that integrates with Web2 platforms, offering a zero-fee solution for cryptocurrency transactions. This project will support Ethereum, various rollups, and other cryptocurrencies like BTC, Tron, etc. The aim is to provide a comprehensive payment solution for Web2 projects and a hosted, paid version for smaller initiatives.
Potential Features

APIs for invoice creation and status updates, mirroring standard payment gateways.
Support for Ethereum, Optimism, Other Rollups, and also other blockchains like BTC, TRON, Monero, and more.
User dashboard for configuration and management.
Integration tools for CMS and various programming languages.
Paid version with advanced features.
Automated conversion and swap system for various cryptocurrencies.

Impact

Facilitates seamless integration of cryptocurrencies into Web2 platforms.
Enhances user experience by offering diverse crypto transaction options.
Promotes wider adoption of cryptocurrencies in everyday transactions.

Resources
In my research, I've come across a few open-source projects:
Shekeeper: Shekeeper on GitHub
Latest update: 6 months ago
Does not support layer2 or rollups
BTCPay Server: BTCPay Server on Github
Limited to BTC transactions only
Your feedback and insights would be greatly appreciated!
Telegram


Fix Export Transform Overrides (#USDU-216)

Purpose of this PR
Ticket/Jira #: https://jira.unity3d.com/browse/USDU-216

This feature never worked, but there was an example that was exporting overrides properly.
The use case is that you bring a usd asset in Unity, tweak a bunch of transforms to change the layout, animate a couple of transforms, and you want to export your changes in an override layer. This file should only contain what you changed, nothing else.
This PR fixes override export. You can call it from the USD menu or from use a new option in the USD Recorder window.

Testing
Functional Testing status:

New tests checking that the exported file only contains over prims for the modified transforms and contains no sublayers,
And this is the result of exporting overrides for the kitchen after moving the stool:
#usda 1.0
(
    defaultPrim = "Kitchen_set"
    endTimeCode = 0
    startTimeCode = 0
    upAxis = "Z"
)

over "Kitchen_set"
{
    matrix4d xformOp:transform.timeSamples = {
        0: ( (1, 0, 0, 0), (0, 5.960464477539063e-8, 0.9999999403953552, 0), (0, -0.9999999403953552, 5.960464477539063e-8, 0), (0, 0, 0, 1) ),
    }
    uniform token[] xformOpOrder = ["xformOp:transform"]

    over "Props_grp"
    {
        over "North_grp"
        {
            over "SinkArea_grp"
            {
                over "SinkFloor_grp"
                {
                    over "StoolWooden_1"
                    {
                        matrix4d xformOp:transform.timeSamples = {
                            0: ( (1, 0, 0, 0), (0, 1, 0, 0), (0, 0, 1, 0), (-32.90289306640625, 47.29999923706055,<PHONE_NUMBER>517578, 1) ),
                        }
                        uniform token[] xformOpOrder = ["xformOp:transform"]
                    }
                }
            }
        }
    }
}

Performance Testing status:

Note that exporting animated overrides from recorder is expensive as every xform attributes have to be checked against the original prims.
Overall Product Risks

Complexity:

Minimal
Halo Effect:

Minimal
Additional information
Note to reviewers:
Reproduction Steps:

load an usd file
move one of the imported object
USD>Export Transform Overrides (usd usda)
open the exported file, you get all prims exported as override

Desired behavior: you should only get the single xform prim you modified (and its parents)
Reminder:

[ ] Add entry in CHANGELOG.md (if applicable)

@sebastienduverne on the doc review side I just need your approval for the exposed recorder attribute option and the changelog edit.

I noticed the recorder option name appears truncated in the UI. Checking with Vlad offline.

Checked with Vlad, the layout issue is known in the recorder settings.
I shortened the following property labels by removing the Export prefix:

Export Materials
Export Transform Overrides

@sebastienduverne can you confirm it's allright

Exporting as transform override only saves the changed object and its transform data
Using the Unity Recorder with USD Clip setting "Export X Form Overrides" only record the objects that has its transform changed (Tested both manually changing the transform of objects and running timeline animation)
However, I was also able to reproduce the error reported by cguer

Tested again on Unity 2019.4.26f1

Imported Maneki.usd file into Unity

Changed "Coin" object by changing its transform values (position & rotation)

Exported Transform override as .usda

Checked the USDA file only contains the transform changes

Manually added the "subLayers" reference to the .usda file

Imported the transform override file - the imported file contains the transform changes 👍

Imported Maneki.usd file into Unity

Set the Unity Recorder to be USD Clip & Export Transform Override Only

Changed "Coin" object by changing its transform values (position & rotation) while the recorder was recording

Checked the resulting USDA file only contains the transform changes 👍

Manually added the "subLayers" reference to the .usda file

Imported the .usda file into Unity as Timeline Clip

Applied the imported Timeline Clip to the original already imported Maneki object - the animation plays 👍

Checked the test case that was previously failing "ExportSkeletalAnimation_ExportedPrimsHaveSkeletalTypes" is now passing 👍
Confirmed the 3 new automated test cases are also passing 👍
LGTM!


Several models in ThermoFluidStream appear to have parameters without binding and without explicitly set start value

MLS 3.5 Section 8.6 states:

If a parameter has a modifier for the start attribute, does not have fixed = false, and neither has a binding equation nor is part of a record having a binding equation, the modifier for the start attribute can be used to add a parameter binding equation assigning the parameter to that start value. In this case a diagnostic message is recommended in a simulation model.

So if the unbound parameter doesn't have an explicit modifier for the start attribute, the model is invalid. This rule is enforced strictly in OMC 1.23.0 since we fixed OpenModelica/OpenModelica#10386. Other tools are more lenient, but I believe accepting parameters without bindings and explicitly set default values to be zero is really not a good idea.
If you check the latest OMC report, there are 10 models failing in the frontend, all for the similar reasons:
[/home/hudson/saved_omc/libraries/.openmodelica/libraries/ThermofluidStream 1.1.0-main/FlowControl/BasicControlValve.mo:22:3-23:88:writable]
Error: Parameter controlValve.Cvs_US has neither value nor start value, and is fixed during initialization (fixed=true).

If you want those parameters to get a value of zero (with a warning, as mandated by the MLS), please add an explicit modifier start = 0 to their declarations. We are going to release 1.23.0 in a few weeks, so it would be nice to have a patch release of your library by then.
Thanks!

IMO similarity to #171
Probably cause due to parameters Kvs, Cvs_US and Cvs_UK in ThermofluidStream/FlowControl/BasicControlValve.mo ff.

Sorry, I forgot I had already opened #171...


Version 2.1.5 hasn't been published?

Hi,
After running npm info blessed-contrib, the latest version I got is 2.0.5, and the master branch version is 2.1.5, seemed has't been published. There is a bug in 2.0.5 and has been fixed in 2.1.5: in version 2.0.5 the first row in table won't not be displayed until you press page down key, but 2.1.5 is Okay. When will you release the newest version? Thanks

You can specify the github repo to npm install instead of just
'blessed-contrib'.... or in package.json as the version# and then run npm
install. you can see how I used it in my ceph dashboard since I have a few
new features in my blessed-contrib fork that it uses that he hasn't merged
to main branch
Look at package.json
https://github.com/xcezzz/blessed-ceph-dash
On Sun, Jun 21, 2015, 10:50 PM Justin Ma<EMAIL_ADDRESS>wrote:

Hi,
After running npm info blessed-contrib, the latest version I got is
2.0.5, and the master branch version is 2.1.5, seemed has't been published.
There is a bug in 2.0.5 and has been fixed in 2.1.5: in version 2.0.5 the
first row in table won't not be displayed until you press page down key,
but 2.1.5 is Okay. When will you release the newest version? Thanks
—
Reply to this email directly or view it on GitHub
https://github.com/yaronn/blessed-contrib/issues/51.

I got it, Thanks very much. And it's not quite convenient.

Hi @hustcer, you can now use version 2.2.0 with all the latest goodies by @xcezzz

Great! Thanks


[BUG] Get-PnPClientSidePage page does not exist

Get-PnPClientSidePage is returning page does not exist error when called from an Azure function. The page I am trying to get is in a subfolder in Site Pages library.
I have added PnP.PowerShell='1.*' as a dependency in the app files and I am able to connect to SPO site using Connect-PnPOnline command.
Is this a (known) issue?

@280237 - Please do not delete the template when you fill an issue. The info requested helps understand your environment, and also know if you've done some troubleshooting for a faster resolution.
Have you tried without an Azure Function?

Thanks @veronicageek for your response. I posted this after a long day of troubleshooting so could not focus on the template. Sorry for that.
Yes, I tried from a standalone script and it works. The only difference I see is, I have installed SharePointPnPPowerShellOnline modules for standalone script whereas in Azure function I have used PnP.PowerShell modules as a dependency.

I can run an Azure function with v1.*

Hi @veronicageek , is your test page residing in a subfolder or root of site pages? It is working for pages in the root level, but for subfolder level pages it is giving the error 'page does not exist'. I tried specifying the full path of the page as well.
This is happening only in the Azure function.

@280237 - My page is the same as the first screenshot, inside a folder on the SitePages. However, I don't have another page with the same name at the root.
@gautamdsheth - I've also seen a similar scenario with Get-PnPPage where when you have the same page name at the root + in a subfolder, we don't seem to be able to provide a specific path to make the distinction for the page we're targeting... Have you any ideas / insights?

Looks like an issue from PnP Core.
Assigning to @jansenbe


WIP: 1.7pg-skydb

@cheungpat, thanks for your PR! By analyzing the annotation information on this pull request, we identified @rickmak to be a potential reviewer


live-restore not compatible with any type of swarm

Intent is to make it clearer that live-restore is incompatible with both swarm
mode and standalone swarm.
Signed-off-by: Trapier Marshall<EMAIL_ADDRESS>

Thanks for the edit. Please hold off on merging. May have been premature and have a caveat from the Swarm classic team.

Ping.

@trapier Do you still want us to hold off on merging?

@trapier what's the news here?

Didn't get a concrete answer on this, so closing it out.  Sorry for the delay.


I have problems updating the some parameters inside envioronment

app.editServerStartup(idserverpanel, {     environment: {       WORLD_SIZE: '1000',       WORLD_SEED: '3434',     },   }).then((res) => console.log(res))
Hi, I've been looking at some examples and I think the structure is correct. However I get the following error:
`...\node_modules@linux123123\jspteroapi\dist\application\ApplicationRequest.js:36
return this.errorHandler(new Error_1.JSPteroAPIError(rawData, await rawData.json(), data, requestType));
^
JSPteroAPIError
at Application.request (......\node_modules@linux123123\jspteroapi\dist\application\ApplicationRequest.js:36:38)
at processTicksAndRejections (node:internal/process/task_queues:96:5) {
HTML_URL: 'https://myserver.com/api/application/servers/43/startup$',
HTML_STATUS: 405,
HTML_STATUS_TEXT: 'Method Not Allowed',
REQUEST_TYPE: 'PATCH',
REQUEST_BODY: {
startup: './RustDedicated -batchmode +server.port {{SERVER_PORT}} +server.identity "rust" +rcon.port {{RCON_PORT}} +rcon.web true +server.hostname \"{{HOSTNAME}}\" +server.level \"{{LEVEL}}\" +server.description \"{{DESCRIPTION}}\" +server.url \"{{SERVER_URL}}\" +server.headerimage \"{{SERVER_IMG}}\" +server.logoimage \"{{SERVER_LOGO}}\" +server.worldsize \"{{WORLD_SIZE}}\" +server.seed \"{{WORLD_SEED}}\" +server.maxplayers {{MAX_PLAYERS}} +rcon.password \"{{RCON_PASS}}\" +server.saveinterval {{SAVEINTERVAL}} +app.port {{APP_PORT}} {{ADDITIONAL_ARGS}}',
environment: {
HOSTNAME: 'A Rust Server',
OXIDE: '0',
LEVEL: 'Procedural Map',
DESCRIPTION: 'Powered by Pterodactyl',
SERVER_URL: 'https://google.com',
WORLD_SIZE: '1000',
WORLD_SEED: '3434',
MAX_PLAYERS: '40',
RCON_PORT: '28016',
RCON_PASS: 'CHANGEME',
SAVEINTERVAL: '60',
APP_PORT: '28082'
},
egg: 14,
image: 'quay.io/pterodactyl/core:rust',
skip_scripts: undefined
},
ERRORS: [
'The PATCH method is not supported for this route. Supported methods: DELETE.'
]
}`
I would appreciate someone to tell me where I am failing. I also got another bug before but have managed to patch it. He told me:
Error: Environment variable SERVER_IMG was not defined!
When that parameter is empty by default and I don't want to overwrite it.

Ok after doing some research I discovered that there was a $ left over.
https://github.com/Linux123123/JSPteroAPI/blob/ffd90ffddc7907ff954fbaeb5f87881179c16d5c/src/application/methods/serverMethods.ts#L255
And this is what I had to comment on to make it work for me.
https://github.com/Linux123123/JSPteroAPI/blob/ffd90ffddc7907ff954fbaeb5f87881179c16d5c/src/application/methods/serverMethods.ts#L238

Ok after doing some research I discovered that there was a $ left over.
https://github.com/Linux123123/JSPteroAPI/blob/ffd90ffddc7907ff954fbaeb5f87881179c16d5c/src/application/methods/serverMethods.ts#L255

So this is indeed a leftover $ which I will fix.

And this is what I had to comment on to make it work for me.
https://github.com/Linux123123/JSPteroAPI/blob/ffd90ffddc7907ff954fbaeb5f87881179c16d5c/src/application/methods/serverMethods.ts#L238

But I am not sure about this error. It checks if the provided variable is supported by the egg. It grabs the egg information and checks if it can be used.

So the egg includes nullable in rules, so this should grab it and send it as empty.
https://github.com/Linux123123/JSPteroAPI/blob/ffd90ffddc7907ff954fbaeb5f87881179c16d5c/src/application/methods/serverMethods.ts#L317
I will test it locally.

Ok I found the issue and fixed it in the next branch. It will be released sometime today.


Log when making a github api request

Sometimes it's not clear what is happening because a bunch of unlogged github API requests are being made
Log when making a curl request to the github api
PRs

https://github.com/silverstripe/module-standardiser/pull/10

PR merged


[bug]Aeotec Range Extender 7 Device file migration incomplete.

Version
1.0.0-alpha.2.51f715c
Build/Run method

[ ] Docker
[ ] PKG
[x] Manually built (git clone - npm install - npm run build )

zwavejs2mqtt version: 1.0.0-alpha.2.51f715c
Describe the bug
Aeotec Range Extender 7 showsup as unknown manufacturer, type, etc.
Fix:
Add the following to device file 0x0371/zwa189.json

               {
                        "productType": "0x0104",
                        "productId": "0x00bd"
                }

Also, technically both of these types are ZW189, instead of a ZWA189.

I’ll push a PR for this later tonight.

I’ll push a PR for this later tonight.

@tommyjlong Are you sure the productType is accurate? The zwave alliance only lists 0x0004.

@tommyjlong Are you sure the productType is accurate? The zwave alliance only lists 0x0004.

Yes, productType=x104 (Product-id=xbd; mfg code=0x0371) is what my two devices actually show up as.
Here is the zwave alliance's site for this (Model for USA):
copy/paste from there :
Brand Name: Aeotec
Product Identifier: ZW189-A01
Product Line: Z-Wave Plus v2 Line
Product Version: HW: 189 FW: 1.00
Z-Wave Certification Number: ZC12-19080007
Z-Wave Certification Date: 8/23/2019
Use In: U.S. / Canada / Mexico
Product Features:
Z-Wave Plus Version: 2
Security S2 Classes: S2 Authenticated, S2 Unauthenticated
SmartStart Compatible: Yes
Manufacturer Provided Product Manual: Download
Product Manual in English: Download
Advanced Information Product Manual: Download
Association Capabilities:   View Associations
Z-Wave hardware platform: ZGM130
Z-Wave version: 7.11.00
Z-Wave library type: Enhanced 232 Slave
Z-Wave Device Type: Repeater
Z-Wave Role Type: Always On Slave
Product Type ID: 0x0104
Product ID: 0x00BD

Yes, productType=x104 (Product-id=xbd; mfg code=0x0371) is what my two devices actually show up as.
Here is the zwave alliance's site for this (Model for USA):
copy/paste from there :
Brand Name: Aeotec
Product Identifier: ZW189-A01
Product Line: Z-Wave Plus v2 Line
Product Version: HW: 189 FW: 1.00
Z-Wave Certification Number: ZC12-19080007
Z-Wave Certification Date: 8/23/2019
Use In: U.S. / Canada / Mexico
Product Features:
Z-Wave Plus Version: 2
Security S2 Classes: S2 Authenticated, S2 Unauthenticated
SmartStart Compatible: Yes
Manufacturer Provided Product Manual: Download
Product Manual in English: Download
Advanced Information Product Manual: Download
Association Capabilities:   View Associations
Z-Wave hardware platform: ZGM130
Z-Wave version: 7.11.00
Z-Wave library type: Enhanced 232 Slave
Z-Wave Device Type: Repeater
Z-Wave Role Type: Always On Slave
Product Type ID: 0x0104
Product ID: 0x00BD


iOS 13.3 commands working except for getSSIDDATA() function

After installing the 13.3 GM release, I was able to get the FGRoute pod to work fine except for the FGRoute.getSSIDDATA() function as it's causing my application to crash, although I don't need that function.

I noted some comments on this github page as well.
https://github.com/HackingGate/iOS13-WiFi-Info/issues/7

Hello @nneuberger1 , Okay, thanks for the information, let me investigate that, and if there is no alternative for this method, I will remove it for iOS 13 in next update.

yeah, I didn't need that function but figured I'd report it. All other commands seem to be fine with iOS 13.3.


java.sql.SQLException: Unknown field 'age' from the Android sqlite cursor, not in:[id, name]

Hello
I upgrade my database and add one cloumn to the table 'user' . When i do CURD first time , i got this error.
This is my upgrade code in OrmLiteSqliteOpenHelper's subclass

@Override
public void onUpgrade(SQLiteDatabase database, ConnectionSource connectionSource, int oldVersion, int newVersion) {
if (oldVersion < 2) {
try {
Dao<User, Integer> dao = DaoManager.createDao(connectionSource, User.class);
dao.executeRaw("ALTER TABLE user ADD COLUMN age INTEGER;");
} catch (SQLException e) {
e.printStackTrace();
}
}
}

Perhaps you forgot to run OrmLiteConfigUtil to regenerate ormlite_config.txt with the newly added field.

I agree with @luaz .  Best of luck.


bugfix : prevented creation of duplicate users

Let's say, we'll use the following JSON as a body to the registration POST request :
{
    "firstname": "Hamza",
    "lastname": "Benchrif",
    "email"<EMAIL_ADDRESS>    "password": "TlkèpI@ka72"
}

If you send multiple POST requests with the same JSON body, a user is created each time in the database, thus this leads to duplicate users in the database.
To fix this issue, in AuthenticationService, I added a boolean that checks if the user exists in the database. If it's true just extract the user, otherwise create it & save it to database.

@ali-bouali Could you please review this PR ?


update, delete recipe category

Coverage increased (+0.05%) to 89.459% when pulling 4f3dae9f054454067b1378138a392fb67515128b on models_migrations into ba32d1e96b410c8c15493460dbed94d557c12edb on master.


Temporarily remove Hugo Pipes Sass conversion

Background: Netlify does not yet support the "extended" version of Hugo, which includes support for Sass conversion to CSS (which is under the Hugo Pipes feature). The current workaround for this issue is to commit the generated resources folder to Git. As with most instances of committing generated assets to Git, this has produced a variety of headaches. This PR removes the Hugo Pipes Sass conversion pipeline in favor of one that uses the sass CLI tool for those who need to work with Sass. Once Netlify supports the extended version of Hugo we can go back to using Hugo Pipes.

/assign @chenopis @zparnold @kbhawkey

@kbhawkey 👋 Does this PR look good enough to you to /lgtm?

/lgtm

/lgtm
/approve


Spinning up without Codespace

Hello, I wanted to ask how I could spin up without using codespaces I've installed the necessary dependencies, but it doesn't seem to work. Can you guide me as to what you've done after the cloning of the repo. Thanks!

Additionally, I have tried following the steps on the manually building documentation. They do not work as well.

Hi @raybeecham
Thanks for raising this issue. We suggest using the provided Dockerfile in /.devcontainer for creating a containerized environment that installs all of the dependencies and builds the quickstarts. If you are using VSCode, this can be done quickly with the Dev Containers plugin.
If you are not using the Docker container, could you kindly provide additional details on your OS, OS version and architecture? At this time, we only support Ubuntu 22.04 with amd64 (See https://docs.qrypt.com/sdk/quickstarts/cpp/)
We will work on updating our documentation to add details on how to use the Dockerfile and correcting arm64 to amd64.

Hi @raybeecham
The entropy and key generator GUIs you've been working on look great!
With the updated README on how to use the docker image, are you still looking for additional documentation on how to build it outside of docker? Happy to add additional documentation on that process as well.
Thanks!

good morning @qryptdev,
To be honest, I haven't thought of what to try next. I'll stick with the Docker implementation for now, but any suggestions on what else to tinker with? Thanks!

Hi @raybeecham
We have added some additional clarifying notes on building manually without Docker in the same README, and have verified that those instructions work. If you can give that a try and let us know if you run into any specific issues, that would be great!

@raybeecham
Works beautifully for me. Thanks!

No problem! Closing this issue out as it is now working.


npmignore npm-debug logs

Unblock #149

Belt and suspenders. 👍

The travis build failed with ECONNREFUSED <IP_ADDRESS>:8769, which is weird.  I restarted it with the hopes that it is transient (since it seems unrelated to my changes).


Can't edit an existing wg0

Describe The Problem
There is no way to edit an existing Wireguard config once entered. I have looked at the sqlite db file, there is no config being held there. I have edited the wg0 interface in /etx/wireguard/wg0.conf and the interface changes are not reflected in WGDashboard (ie. server IP / subnet).
How do you change interface config after initial install?
Expected Error / Traceback
N/A
To Reproduce
Create a new wg0 interface, try to edit it
OS Information:
N/A
Sample of your .conf file
N/A

Correction, I was able to edit the wg0.conf file manually but had to restart the WGDashboard instance to pick up changes


Enable full-text searching

Fixes an issue with Sufia's CatalogSearchBuilder where file sets that
matched the query were not being joined into works to return from a
search.

Coverage remained the same at 0.0% when pulling 42ff2fdf22fa3e15a0e81f3ef28a422c18ee0bb2 on i#1180 into 02673819ffd320887a9cd2d8dd905f368b1b32e0 on develop.


MSID: 88289 Version: 2 DOI: 2<IP_ADDRESS>6092

[PLACE MANUSCRIPT AND EDITOR DETAILS HERE WHEN AVAILABLE] See step 3
[PLACE PDF URL HERE WHEN AVAILABLE] See step 7
Step 1. Inform bioRxiv
Who can help: @QueenKraken, @nlisgo, @scottaubrey

[x] Manuscript is in data hub index (https://data-hub-api.elifesciences.org/enhanced-preprints/docmaps/v1/by-publisher/elife/get-by-manuscript-id?manuscript_id=88289)

Step 2. Create preview of manuscript
Who can help: @fred-atherden, @nlisgo, @scottaubrey

[x] Manuscript is available for preview (https://prod--epp.elifesciences.org/preview/88289/v2)

[ ] Trigger import for staging: https://prod--epp.elifesciences.org/import
[ ] Sync data folder with s3://prod-elife-epp-data/data
[ ] Trigger import for staging: https://staging--epp.elifesciences.org/import
[ ] Sync data folder with s3://staging-elife-epp-data/data
[ ] Pull request created to enhanced-preprint-data
[ ] Post link to pull request below

Pull request: [PLACE LINK TO PULL REQUEST HERE]
Detailed instructions: https://github.com/elifesciences/enhanced-preprints-data#add-a-manuscript
Step 3: Awaiting public reviews and QC
Who can help: Production team

[ ] QC passed or QC not needed

Who can help: Editorial team

[x] Public reviews available on sciety (https://sciety.org/articles/activity/10.1101/2<IP_ADDRESS>6092)
[ ] Manuscript and editor details at the top of this issue (Supplied by Editorial team)
[ ] Reviews returned by EPP - https://prod--epp.elifesciences.org/api/reviewed-preprints/88289/v2/reviews

Example
"msas": "Genetics and Genomics", "Neuroscience"
"msid": "84628"
"version": "1"
"preprintDoi": "10.1101/2<IP_ADDRESS>4241"
"articleType": "Reviewed Preprint"
"status": "Published from the original preprint after peer review and assessment by eLife."

"Reviewed Preprint posted": "2023-01-02"
"Sent for peer review": "2022-10-28"
"Posted to bioRxiv": "2022-11-21" (link: "Go to bioRxiv": "https://www.biorxiv.org/content/10.1101/2<IP_ADDRESS>4241v1")

Editors:
Reviewing Editor
Michael B Eisen
University of California, Berkeley, United States
Senior Editor
Michael B Eisen
University of California, Berkeley, United States

Step 4: Modify manuscripts.json (no PDF)

[ ] Reviewed preprint is published to EPP (https://elifesciences.org/reviewed-preprints/88289)

[ ] Pull request created to enhanced-preprint-client
[ ] Pull request switched to "Ready for review"
[ ] Post link to pull request below

[ ] Request that a doi be registered

[ ] Post link to #enhanced-preprint comment below

Pull request: [PLACE LINK TO PULL REQUEST HERE]
#enhanced-preprint comment thread: [PLACE LINK TO COMMENT HERE]

Instructions to modify manuscripts.json

Visit: https://github.com/elifesciences/enhanced-preprints-client/actions/workflows/publish-manuscript.yaml
Click: Run workflow
Complete the form and click "Run workflow"
A successful run should result in a new pull request at https://github.com/elifesciences/enhanced-preprints-client/pulls
Open the pull request and click the "Ready for review" button to trigger tests
Once the tests pass and you are happy with the changes the PR can be merged

Example pull request: https://github.com/elifesciences/enhanced-preprints-client/pull/334/files
Once the pull request is merged in it should be available a few minutes later.

Request that a doi
Post the following in #enhanced-preprint:
@Fred can you register a doi for https://elifesciences.org/reviewed-preprints/88289

Step 5: Awaiting search reindex

[ ] Reviewed preprint is avaliable on journal homepage (https://elifesciences.org)

The search reindex is triggered once an hour. We need the reviewed preprint to be indexed as the search application serves the journal homepage.

Additional info
If needed, the jenkins pipeline to reindex search can be triggered sooner.
https://alfred.elifesciences.org/job/process/job/process-reindex-reviewed-preprints/

Step 6: Published! Request PDF generation

[ ] Post the link to the PDF url at the top of the issue

[ ] Post link to #enhanced-preprint comment below

#enhanced-preprint comment thread: [PLACE LINK TO COMMENT HERE]
Post the following to the #enhanced-preprint on slack:
@Ryan Dix-Peek please can you generate a PDF for https://elifesciences.org/reviewed-preprints/88289

Step 7: Introduce PDF to data folder and git repo

[ ] PDF is avaliable at https://github.com/elifesciences/enhanced-preprints-data/raw/master/data/88289/v2/88289-v2.pdf

Detailed instructions: https://github.com/elifesciences/enhanced-preprints-data#add-a-pdf
Step 8: Add PDF url to manuscripts.json

[ ] Reviewed preprint PDF is available for download (https://prod--epp.elifesciences.org/reviewed-preprints/88289)

[ ] Pull request created to enhanced-preprint-client
[ ] Pull request switched to "Ready for review"
[ ] Post link to pull request below

[PLACE LINK TO PULL REQUEST HERE]

Instructions to add PDF url to manuscripts.json

Visit: https://github.com/elifesciences/enhanced-preprints-client/actions/workflows/add-pdf-url-to-manuscript.yaml
Click: Run workflow
Complete the form and click "Run workflow"
A successful run should result in a new pull request at https://github.com/elifesciences/enhanced-preprints-client/pulls
Open the pull request and click the "Ready for review" button to trigger tests
Once the tests pass and you are happy with the changes the PR can be merged

Example pull request: https://github.com/elifesciences/enhanced-preprints-client/pull/397/files
Once the pull request is merged in it should be available a few minutes later.

Step 9: Done!

[ ] Kettle is on!

elocations missing from references


Hot bag, imposition of prototypes on the server!

hooks overrides insert, update, remove methods. This leads to that their properties become common for all collections. It means that:
Mongo.Collection.prototype.abc = function() { this.find.test = this._name; };
var x = new Mongo.Collection('x');
x.abc();
var y = new Mongo.Collection('y');
y.abc();
y.find.test // 'y';
x.find.test // 'y';

The solution is to move in the next version all methods of link / links in their namespace in the collection.
collection.link.find collection.link.insert...


Add a way to customize the completion result

This PR provides a way to inject a custom completion. It won't override the current completion but will enrich it instead.
It will be possible to trigger the custom completion for a certain kind of completion (like only when the system will autocomplete the aggregation)
related to https://github.com/prometheus/prometheus/pull/8174

@juliusv many thanks for your review. I think I changes everything you asked. Tell me if you are ok know with the changes

:+1: Thanks!


fix: correct some syntax errors in README.md

There were two minor syntax error and I fixed them

Coverage remained the same at 32.191% when pulling 0bc52eac78c19a58b970267b6426b915e60497e1 on mvenkov/fix-syntax-error-in-readme.md into 1d3184971a0ddd6e13811efc97af5464d7e155ed on master.


Devices new api for IoT Security

MSFT employees can try out our new experience at OpenAPI Hub  - one location for using our validation tools and finding your workflow.

Contribution checklist:

[ ] I commit to follow the Breaking Change Policy of “no breaking changes
[ ] I have reviewed the documentation for the workflow.
[ ] Validation tools were run on swagger spec(s) and errors have all been fixed in this PR. How to fix?

If any further question about AME onboarding or validation tools, please view the FAQ.
ARM API Review Checklist

[V ] Ensure to check this box if one of the following scenarios meet updates in the PR, so that label “WaitForARMFeedback” will be added automatically to involve ARM API Review. Failure to comply may result in delays for manifest application. Note this does not apply to data plane APIs, all “removals” and “adding a new property” no more require ARM API review.

Adding new API(s)
Adding a new API version
Adding a new service

[ ] If you are blocked on ARM review and want to get the PR merged with urgency, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.

Breaking Change Review Checklist
If there are following updates in the PR, ensure to request an approval from API Review Board as defined in the Breaking Change Policy.

[ ] Removing API(s) in stable version
[ ] Removing properties in stable version
[ ] Removing API version(s) in stable version
[ ] Updating API in stable version with Breaking Change Validation errors
[ ] Updating API(s) in preview over 1 year

Please follow the link to find more details on PR review process.

/azp run automation - sdk

/azp run automation - sdk

/azp run automation - sdk

/azp run automation - sdk

@MichalHel  Does this ready for review ? If not , do you have a plan for it

@jianyexi - Yes, it is ready for review

/azp run automation - sdk

Why was the "CI-BreakingChange-Python" tag added?

Could you fix the Go SDK failure ？

/azp run automation - sdk

/azp run

/azp run automation - sdk

/azp run automation - sdk

@MichalHel  do you want to merge it now ?

@jianyexi  Yes it is ready to merge


[BIA-1293] Actions Workflows

For examples of this catching lint errors on a pull request, please see this workflow run.