TODO 2018/06

06/05

[x] Investigate the Pandoc 2.2.1 issue on CRAN.

06/06 - 06/07

[ ] A repo for Homebrew binary R packages: https://github.com/yihui/homebrew-r-packages

06/08 - 06/09

[x] Prepare rmarkdown 1.10 release.

06/11

[ ] Prepare the RaukR talk.
[ ] A homepage for https://github.com/yihui/homebrew-r-packages
[ ] An RStudio addin for bookdown to manage section IDs.
[ ] https://github.com/rstudio/bookdown/issues/544
[ ] Announce tinytex in RStudio blog.

06/12

[x] Give the remote talk to RaukR.
[ ] A homepage for https://github.com/yihui/homebrew-r-packages
[ ] An RStudio addin for bookdown to manage section IDs.
[ ] https://github.com/rstudio/bookdown/issues/544
[ ] Announce tinytex in RStudio blog.

06/13 - 14

[x] A homepage for https://github.com/yihui/homebrew-r-packages

06/18

[x] Finish the revision of the R Markdown book required by the copy-editor.

06/20

[x] https://github.com/yihui/knitr/issues/1558

06/25

[ ] rmarkdown issues
[ ] a plan for what to do next
[ ] 雪宁 R 书序
[ ] Use r-app to build the missing macOS binary R packages on CRAN
[ ] Build TinyTeX for Windows/Ubuntu/macOS on the cloud.
[ ] Use TinyTeX on Travis for macOS: https://github.com/travis-ci/travis-build/blob/master/lib/travis/build/script/r.rb
[ ] An RStudio addin for bookdown to manage section IDs.
[ ] https://github.com/rstudio/bookdown/issues/544
[ ] Announce tinytex in RStudio blog.
[ ] Typora

06/28

[x] https://github.com/rstudio/rmarkdown/pull/1350

06/29

[x] Use r-app to build the missing macOS binary R packages on CRAN


Investigate CMake.js for build

Came across this the other day as a alternate for the node-gyp/pan-gyp problems.
https://www.npmjs.com/package/cmake-js
I had looked at this for libsass awhile ago in https://github.com/sass/libsass/issues/616 but I've been pretty absent from development for the last while.

Hi there,
I'm the author of the mentioned package. Let me know if you need help with this.

Let me know if you need help with this.

A PR would be much appreciated! :sunny:  :sunglasses:

What's the actual issue are you having at node-sass side? If I PR a CMakeLists.txt, that's gonna be based on what I am seeing in binding.gyp file, not the libsass' makefile. So if you're having issues because gyp is ain't capable to does something that makefile does, then my PR migt not solve this. I simply don't have time to analize and deconstruct libsass source and its makefile, sorry. Converting the gyp file is achievable.

Well, libsass can be compiled in a Makefile-only (poor man's mode) configuration as well as with a full-blown autoconf

Yeah. I think io.js guys had to be stick with node.exe only. There is no good solution for this, that delay load hack that *.gyp uses is not works with every situation. Unfortuanatelly CMake.js can't help with that. Io.js modules of course builds flawlessly, but they are stick with iojs.exe, not node.js exe, so things like mocha.cmd or npm test will break, like with pangyp.
I hope for node and io.js reunion.
However, makefile to CMakeList.txt is doable. So there can be node-sass that compiles on every os and node compatible platforms, without using anything that have to be precompiled. Does this make you happier than you're today with gyp or doesn't?

I'm curious as to what the benefit you see here is @nschonni?
Is this just change for the sake of change, or is there a real world gain to be had?

Yeah, I'm too. I still don't get what's the actual issue that CMake or CMake.js could solve there.


[UPRISE]What is the use of some keys in hellaswag and copa?

What is the use of some keys in hellaswag and copa?
For example:
copa:{
"premise": "The woman filed a restraining order against the man.",
"choice1": "The man called her.",
"choice2": "The man stalked her.",
"question": "cause",
"idx": 302,
"label": 1,
"id": 0,
"task_name": "copa"
}
What's the use of “idx” in copa?
hellaswag:{
"ind": 34409,
"activity_label": "Home and Garden",
"ctx_a": "[header] How to make a butterfly out of plastic spoons [title] Gather the materials you will need for this project, listed below. [title] Put a craft cloth or some newspaper down on your working surface. [title] Cut the top portion of the four spoons off (leaving about half an inch of the handle left.",
"ctx_b": "",
"ctx": "[header] How to make a butterfly out of plastic spoons [title] Gather the materials you will need for this project, listed below. [title] Put a craft cloth or some newspaper down on your working surface. [title] Cut the top portion of the four spoons off (leaving about half an inch of the handle left.",
"endings": [
"[step] ) the top portion is the flat spoon part. [title] Using the cut-off handle of one of the spoons, make that the " body " of the butterfly.",
"[step] As the buttons stretch they will process the solution. ) [title] Put one of the red plastic buttons (left over for the butterfly) on top of the red plastic spoon.",
"[step] And when done, you should have 8 small, square, circular spoons. [title] Use these four spoons as either a mirror, or a butterfly.",
"[step] ) [title] Thread a thin needle into a cast iron ring with four ends attached. [step] Thread the needle to the ring, and then sew the top portion onto the handle of the spoon at the top, or the side which should be facing away from the spoon."
],
"source_id": "wikihow~56680",
"split": "train",
"split_type": "indomain",
"label": "0",
"id": 0,
"task_name": "hellaswag"
}
What's the use of "ind",“activity_label”,"ctx_a","ctx_b","source_id","split","split_type" in copa?

Could you please explain the quest@cdxeve

Hi, I've included code in task.py for processing the relevant information in each dataset example. Any additional information (such as those keys you've listed above) that isn't needed is simply ignored during processing.


Add UploadMediaBundle

Based on PHP library example.

Closing this PR due to wrong CLA.
Resubmitted new PR at https://github.com/googleads/google-ads-java/pull/280


When I'm trying to debug the C code of FFmpeg, I can perform breakpoint debugging, but I'm unable to obtain the list and values of symbolic variables.

platform: macos 14.0
compiler: Apple clang version 15.0.0 (clang-15<IP_ADDRESS>)
ffmpeg: 4.4.1 (--enable-debug)
My breakpoints in the Rust code are correct, but once it enters the C code block, although the breakpoint behavior is still fine, it cannot display all the variable lists and variable values in the C code.
I saw this log in the LLVM output: 'warning: test-f3214074073240dc was compiled with optimization - stepping may behave oddly; variables may not be available.'
However, I don't know how to resolve it and seek your help.

The debuginfo of your FFmpeg libs might have been stripped.
It's highly recommended to build FFmpeg yourself. You can follow the official compilation guide or use the utils/mac_ffmpeg.rs provided in rsmpeg as a shortcut.
After FFmpeg building, set FFMPEG_PKG_CONFIG_PATH to the pkgconfig directory, then recompile your project, and everything should be fine.

Thank you very much. I'm using a self-compiled version of FFmpeg(4.4.1), and when I tried to debug using C++, I didn't find that the aforementioned situation could be normally supported for debugging.
Below are my build options.  Can you see any anomalies?

Nope, it's legit.
Did you compile your Rust project in release mode? https://github.com/rust-lang/cargo/pull/13257

I've double-checked, and I can confirm that I am indeed using debug mode.
This situation is quite strange. It can correctly jump to the line information in the C source code, but it seems unable to obtain variable information through LLVM.
Thank you for your patient reply. I think I can try to see if I encounter this problem in a Linux environment to rule out LLVM-related issues.


.NET in docker ok?

hi, thanks so much for sharing this, I'm excited to try it. Does it still work in docker? Do I need to download and install a dotnet docker option? If it was supposed to I guess it failed but I didn't notice.
I get error:
Could not execute because the application was not found or a compatible .NET SDK is not installed.
Possible reasons for this include:
  * You intended to execute a .NET program:
      The application 'PrimS.dll' does not exist.
  * You intended to execute a .NET SDK command:
      It was not possible to find any installed .NET SDKs.
      Install a .NET SDK from:
        https://aka.ms/dotnet-download

I think the docker file was broken
Its best to just install it on the host machine without using docker

Thanks for quick response. I will do without docker, but wondering if I got the right version of dotnet runtime, which versions are you using? I'm running this on Linux and getting a warning only I think:
$ ./PrimitierServer
You must install or update .NET to run this application.

App: /home/tyler/src/primitier2/PrimitierServer
Architecture: x64
Framework: 'Microsoft.NETCore.App', version '5.0.0' (x64)
.NET location: /snap/dotnet-runtime-70/12

The following frameworks were found:
  7.0.2 at [/snap/dotnet-runtime-70/12/shared/Microsoft.NETCore.App]

Learn about framework resolution:
https://aka.ms/dotnet/app-launch-failed

To install missing framework, download:
https://aka.ms/dotnet-core-applaunch?framework=Microsoft.NETCore.App&framework_version=5.0.0&arch=x64&rid=ubuntu.20.04-x64

You need to install .Net 5.0
at the bottom of the error it gives you the exact download link I think
https://aka.ms/dotnet-core-applaunch?framework=Microsoft.NETCore.App&framework_version=5.0.0&arch=x64&rid=ubuntu.20.04-x64

Ok, that's what I've done. I must have an issue with my environment then.


Cannot create resource "customresourcedefinitioins"

During installing KEDA by using helm install keda kedacore/keda I've got following error:

Error: failed to install CRD crds/keda.k8s.io_scaledobjects_crd.yaml: customresourcedefinitions.apiextensions.k8s.io is forbidden: User "u-f6efqrxwsu" cannot create resource "customresourcedefinitions" in API group "apiextensions.k8s.io" at the cluster scope

It looks like your user does not have permissions to do so, is this an RBAC-enabled cluster?

@tomkerkhove - can it be slightly modified to operate only on namespace area? not cluster?

rules:

apiGroups: [""]
resources: ["pods", "persistentvolumeclaims", "secrets", "podtemplates", "serviceaccounts", "services", "replicationcontrollers", "endpoints", "configmaps", "events", "limitranges"]
verbs: ["create", "get", "update", "patch", "delete", "list", "watch"]
apiGroups: [""]
resources: ["namespaces"]
verbs: ["get"]
apiGroups: ["apps"]
resources: ["deployments", "replicasets", "daemonsets", "statefulsets", "controllerrevisions"]
verbs: ["create", "get", "update", "patch", "delete", "list", "watch"]
apiGroups: ["extensions"]
resources: ["ingresses", "deployments"]
verbs: ["create", "get", "update", "patch", "delete", "list", "watch"]
apiGroups: ["batch"]
resources: ["jobs", "cronjobs"]
verbs: ["create", "get", "update", "patch", "delete", "list", "watch"]

CustomResourceDefinitions requires admin permissions, those are cluster-wide resources.

Can we close this issue @gardnerdev ?


Flyway CLI with Vertica

What version of Flyway are you using?
Ans: 4.2
Which client are you using? (Command-line, Java API, Maven plugin, Gradle plugin, SBT plugin, ANT tasks)
Ans: Command-Line
What database are you using (type & version)?
Vertica
What operating system are you using?
Windows 7 Enterprise
What did you do?
(Please include the content causing the issue, any relevant configuration settings, and the command you ran)
C:\Software\flyway-4.2.0>flyway migrate
Flyway 4.2.0 by Boxfuse
Database: jdbc:vertica://XXXXXXXXXX.YYYY.net:5433/XXXXXX (Vertica Database 8.0)
ERROR:
Unable to check whether table "XXXXXXX"."schema_version" exists
SQL State  : 3F000
Error Code : 4650
Message    : [Vertica]VJDBC ERROR: Schema "information_schema" does not exist
What did you expect to see?
The flyway audit tables to be created in the specified schema and the SQL script to be migrated.
What did you see instead?
Unable to check whether table "XXXXXXX"."schema_version" exists
Message    : [Vertica]VJDBC ERROR: Schema "information_schema" does not exist
Please Note that “information_schema” is not a valid schema on Vertica, as it should be “v_catalog” schema in Vertica.

Is there a workaround for this?


MAISTRA-1717 Use go-based yq in generate-manifests.sh

I think Jonh made some changes that resulted in the yq binaries being called yq-go and yq-python (which is why the gen-check job is failing here). If this removes the need for the python variant, we should remove that logic from the Dockerfile

The go-based yq tool always indents list entries (there's no config option to stop it from doing this), so the resulting YAMLs have slightly different whitespace. Also, some empty strings are encoded as "" instead of ''. The same goes for boolean values (e.g. "true" instead of 'true').
The nice benefit of using the go-based yq tool is that it preserves comments in the YAML.

@dgn Thanks for the tip. I changed the script to first look for yq-go, which should make gen-check work now.

I'm not sure how I feel about adding all these things into vendor/ as they're not runtime dependencies. Is there a way we can go run it without that?

We've already done it like this for the other build-time dependencies. We could probably not vendor these things, but don't we need to ensure that the build is 100% repeatable and thus vendoring the build-time stuff also makes sense.

+1 on Daniel's comment. What's the problem with relying on yq being present on the host (like the previous iteration of this PR)?

@rcernich suggested we use go run as we already do for deepcopy-gen, controller-gen, conversion-gen. This way you just run make and everything works.

Yeah, I'm of two minds here. On the one hand, it installs everything it requires. On the other hand, it's adding extra stuff. We handle the dependencies via docker, but if you don't have docker installed this may cause issues. Is there any risk with the go mod solution if you already have, say, the python version installed?

Yeah, I'm of two minds here. On the one hand, it installs everything it requires. On the other hand, it's adding extra stuff. We handle the dependencies via docker, but if you don't have docker installed this may cause issues. Is there any risk with the go mod solution if you already have, say, the python version installed?

No, and that's really the big advantage of doing it like this.
I think I'm fine with merging this as-is, but we should then use the same solution in maistra.github.io

Nevermind. Go run will take care of my concern.


Fixed search for an ExtManagementSystem in ApplicationController.

ExtManagementSystem.exists?(params[:id]).nil? does not make sense since the #exists? method returns a boolean and code is checking for #nil? on that.
Also, rewrote this line to remove Brakeman warning.

:+1:

@matthewd Please review.


Migration is needed for new event properties for 5.8.0

Migration is required for the pr [1] for IS 5.8.0
[1] https://github.com/wso2/carbon-identity-framework/pull/1931/

Thank you for your contribution!
We are closing this issue since it has not been prioritized for a long time. Chances are that it has already been solved in more recent versions. If not, we will be re-evaluating this when it becomes a priority.


Public API

Pull Request Test Coverage Report for Build 495

0 of 0 (NaN%) changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.007%) to 79.922%

Totals

Change from base Build 496:
-0.007%

Covered Lines:
2261

Relevant Lines:
2829

💛  - Coveralls

Pull Request Test Coverage Report for Build 495

0 of 0 (NaN%) changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.007%) to 79.922%

Totals

Change from base Build 496:
-0.007%

Covered Lines:
2261

Relevant Lines:
2829

💛  - Coveralls


Added commands to prepare/cleanup AWS cloud

Added commands to prepare/cleanup AWS
These commands allow to prepare or cleanup an AWS cloud to submariner by calling subctl.
Currently in draft mode as it needs submariner-io/cloud-prepare#2 to work properly

/cc @skeeey @zhiweiyin318 @qiujian16
This gives an idea how to use the cloud-prepare library


[Issue #2006] Add {get,list,watch}/secrets permissions to calico-node rbac.

Hi,
We faced with issue that calico-node couldn't read bgp password from secrets since there is no appropriate permissions for this role [1]. This PR adds {get, list, watch}/secrets permissions to calico-node rbac. Also i have created PR to calico helm chart too. [2]
Thanks!
[1] https://projectcalico.docs.tigera.io/reference/resources/bgppeer#bgppassword
[2] https://github.com/projectcalico/calico/pull/6475

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.Ruslan Usichenko seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

@ruslanloman this is intentional - we don't want calico/node to have secrets access unless its really needed.
What you should do is create your own Role and RoleBinding to provide access to the specific secret you need. I'm not sure why this is missing from the Calico OSS docs, but this is what should be there: https://docs.tigera.io/v3.14/security/comms/secure-bgp#ensure-rbac-permissions

ok, thanks for your reply.


fix: invalid escape sequence error in regex pattern

This PR fixes the "SyntaxError: invalid escape sequence" error in the pydantic.py file. The issue was caused by the backslashes in the regular expression pattern being treated as escape characters. By using a raw string literal for the regex pattern (e.g., r"{.*}"), this fix ensures that backslashes are treated as literal characters, thus preventing the error.

E       "{.*}", text.strip(), re.MULTILINE | re.IGNORECASE | re.DOTALL
E       ^^^^^^^^
E   SyntaxError: invalid escape sequence '{'
.venv/lib/python3.10/site-packages/langchain/output_parsers/init.py:6: SyntaxError

Maybe add a unit test for this?


Mark badges as deprecated

Oh, really? How about community point?

Oh, really? How about community point?

Currently community points are still present, although you might make the argument that they should be moved into this Community Badges package as well.

Currently community points are still present, although you might make the argument that they should be moved into this Community Badges package as well.

Yes, we will move community points into this package as well.


WireGuard mode in mitmproxy where find client config file? How work with it? Any documentation?

Problem Description
WireGuard mode in mitmproxy where find client config file? (not mitmweb in "mitmproxy --mode wireguard@1111")
Steps to reproduce the behavior:

Look in ~./wireguard but nothing

System Information
Using last mitmproxy
And how it work? i cant find any documentation I need start wg too (with mitm), or setup some networks? what i need do for start mitmproxy in WireGuard mode on my server, share config to my iphone and see all requests (get, post, put, patch)

You can find the WireGuard config in the mitmproxy/mitmdump event log (or straight in mitmweb). We still need to do some UI work here.


How to have one instance of puppheteer

is it at all possible to have one instance of chrome running that we reference to in puppheteer instead of starting up a new browser in different tasks? (I understand having multiple pages and opening new pages) however i have a task that runs a lot that at the moment, starts a new browser.

I created a class that instanciate an instance in the constructor and then reference that in the rest of my class


JATS4R: spec for

object-id[pub-id-type=doi]?, label?, caption?, table

Needs sign off by:

[ ] PKP
[ ] Erudit
[ ] SciELO
[ ] eLife

Example:

<object-id pub-id-type="doi">10.7554/eLife.10565.006</object-id>
Table 2.

Sequence identity matrix of the piggyBac inverted terminal repeat sequences and consensus sequences of the MER75 and MER85 human piggyBac-like elements

...

Please help improve and finanlize this spec. It will be used for realizing the Texture user interface.

Hi,
About the table-wrap, For Erudit, it is  same as for the tag "fig". See #265.
Let’s specify that we must be able to edit tables in a image format, which seems to be allowed in JATS4R.

Expansions to the spec:
The object must have an @id (JATS4R requirement) so it can be cross-referenced in the document.
Should label be optional? It depends on whether you are storing "Table 1" in the XML or not. If you are, it should be required as per JATS4R recommendation.
According to JATS4R recommendation if the table has a description this will be contained in caption and title is optional within the caption
@position on table-wrap: Either "float" or "anchor" - where float means the table can move around the page based on text and other assets, but anchor means it has to stay exactly in this position with relation to the text () above and below. This is very important for typesetting (PDF) and potentially for the html page? eLife would prefer for this to be specified, but OK with it being phase 2.
title? is missing from the spec
table-wrap-foot? footnotes are missing too  and some footnotes may have cross labelling to cells in the table
This is important. Here's some example XML that shows footnotes with labels and without labels (also demonstrates how we deal with coloured cells - can be ignored):
xml
<object-id pub-id-type="doi">10.7554/eLife.00666.004</object-id>
                        Table 2.

This table contains references and footnotes and is sized to the text column width in the PDF.

                                    Protein
                                    Molar ratio of lipid:protein in RPL reactions<xref ref-type="table-fn" rid="tablefn1">*</xref>
                                    Molar ratio of lipid:protein on vacuoles
                                    References<xref ref-type="table-fn" rid="tablefn2">†</xref>

                                    BJ3505
                                    DKY6218

                                    Vam7p

                                    2 × 103

                                    30 × 104

                                    6.5 × 104

                                    <xref ref-type="bibr" rid="bib12">DeLano, 2002</xref>

                                    Vam3p

                                    2 × 103

                                    11 × 104

                                    22 × 104
                                    <xref ref-type="bibr" rid="bib13">Department of Education and Morgan, 2016</xref>

                                    Vti1p
                                    2 × 103
                                    10 × 104
                                    13 × 104
                                    <xref ref-type="bibr" rid="bib54">Zhong et al., 2013</xref>

                                    Nyv1p
                                    2 × 103
                                    4.3 × 104
                                    8.1 × 104
                                    <xref ref-type="bibr" rid="bib16">Ferry et al., 2014</xref>

                                     Protein
                                     Molar ratio of lipid:protein in RPL reactions<xref ref-type="table-fn" rid="tablefn1">*</xref>
                                     Molar ratio of lipid:protein on vacuoles
                                     References<xref ref-type="table-fn" rid="tablefn2">†</xref>

                                    Ypt7p
                                    4 × 103
                                    1.9 × 104
                                    1.8 × 104
                                    <xref ref-type="bibr" rid="bib54">Zhong et al., 2013</xref>

                                    Sec17p	7 × 103
                                    41 × 104
                                    13 × 104
                                    <xref ref-type="bibr" rid="bib51">Wolski et al., 2008</xref>

                                    Sec18p
                                    1 × 103
                                    10 × 104
                                    13 × 104
                                    This article (<xref ref-type="fig" rid="fig1">Figure 1</xref>)

                                    Vps33p
                                    6 × 103
                                    17 × 104
                                    31 × 104
                                    <xref ref-type="bibr" rid="bib54">Zhong et al., 2013</xref>

                            <fn id="tablefn1">*

Footnotes can be used to highlight properties of data reported in a table such as statistical significance. They are separate from
                                    the table caption and appear afterwards. They are hyperlinked to allow easy navigation. Footnotes in tables use the same standard
                                    set of symbols used for authors footnotes.

                            </fn>
                            <fn id="tablefn2">†

Authors are fully allowed to cite references and figures in tables. There is no difference in citation style between the main text and tables.

                            </fn>
                            <fn>
Order: Designated footnotes (e.g. *, †, ‡, §, #, ¶, **, and so on),
                                p value footnotes (*p, **p, ***p), undesignated footnotes and abbreviations.

                            </fn>

Writers will want to be able to determine the alignment of cells, and this is very important to them:
decimal (most common) in our content
left
centre
They will want to have ability to merge cells
If the table is copied from somewhere else by the author, it will need a permission statement which is XML encoded license statement. However, I think this could be a phase 2 item and it is more relevant to images.
If the table is in image formate - the mime type will be required (JATS4R)
Other relevant JATS4R recommendations:

Tables (). A table is a display object that generally contains one or more arrays of information. It should be named (with ) and may contain a title and caption. A single table may contain multiple arrays, but there may only be one caption. If each of the arrays has its own caption, use  (see recommendation 20).

Tables v. figures or boxes. If the object is actually a table (i.e., an array of information) but is represented graphically (i.e., with an image), then do not use  to contain the image. Instead, contain the  element referencing the image within .

@michael
object-id[pub-id-type=doi]?, label?, caption?, (table, graphic)
Related to #626

Suggest (table?, graphic?), since you may only have one.
In DTD-speak, this would actually be (table | graphic)* since you may have more than one
of either, but I can understand the restriction.

Does Texture not do the 'alternatives' element?

What about 2 paragraphs of text that is called Table 4? Are you following the JATS4R on that one?

We continue in separate issues. If I forgot something please add a missing issue and assign to "Waiting" milestone.
#1032
#918
#111
#626


Count Maximum Possible Subsequence

💥 Proposal
(A clear and concise description of what the proposal is.)
Have you read the Contributing Guidelines on Pull Requests?
YES.

/assign


2.0.3 does not work with User Templates

Version 2.0.3 crashes when I try to modify dock in User Template folder.
Version 2.0.2 works properly.
I guess os.stat does not like quoted paths.

Traceback (most recent call last):
File "/usr/local/bin/dockutil", line 678, in
main()
File "/usr/local/bin/dockutil", line 269, in main
if os.stat(plist_path).st_uid == os.stat('/dev/console').st_uid:
OSError: [Errno 2] No such file or directory: "'/System/Library/User Template/Non_localized/Library/Preferences/com.apple.dock.plist'"

Thanks for reporting the issue.
I'll look into it as soon as I can.
Kyle
Sent from Mobile

On Jun 8, 2016, at 10:42 AM, VitosX<EMAIL_ADDRESS>wrote:
Version 2.0.3 crashes when I try to modify dock in User Template folder.
Version 2.0.2 works properly.
I guess os.stat does not like quoted paths.
Traceback (most recent call last):
File "/usr/local/bin/dockutil", line 678, in
main()
File "/usr/local/bin/dockutil", line 269, in main
if os.stat(plist_path).st_uid == os.stat('/dev/console').st_uid:
OSError: [Errno 2] No such file or directory: "'/System/Library/User Template/Non_localized/Library/Preferences/com.apple.dock.plist'"
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

I fixed it... by disabling some odd code which I don't see any reason for in the first place - quoting plist_path with pipes.quote and then reversing that action by using a little hacky path_as_string.
All my test cases work as they should, so is this all quoting game necessary?

I also have problems with the User Templates.
The error I am receiving:
dockutil --add /Applications/Firefox.app --no-restart '/System/Library/User Template/English.lproj'
/System/Library/User Template/English.lproj/Library/Preferences/com.apple.dock.plist does not seem to be a home directory or a dock plist

You need root permissions to do that. Use sudo command. But dockutil will crash then unless you use 2.0.2 (or fixed version from my repo).

I did use root.. (sorry for not including the hash :P )
Where do I find your repo ?

Ah, indeed. You need to create some critical keys in com.apple.dock first, or just copy a existing file as template from some user account.
Here's my fixed version. I hope Kyle will fix his script though (or pull my commits). ;)

Yes sorry for the delays. I skimmed the changes today.

Also didn't understand the reason for the change for mktemp.
Thanks for your help!
Kyle
Sent from Mobile

On Jun 13, 2016, at 4:22 PM, VitosX<EMAIL_ADDRESS>wrote:
Ah, indeed. You need to create some critical keys in com.apple.dock first, or just copy a existing file as template from some user account.
Here's my fixed version. I hope Kyle will fix his script though (or pull my commits). ;)
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

Maybe quoting code was something needed in older versions? Just take your time.
As for mktemp in your implementation temporary is placed depending on TMPDIR variable, which in some


uhh a i am pretty stuck here

Describe your bug here.

Command Prompt/Terminal logs (if existing)
cl.exe -Iinclude -IC:/HaxeToolkit/haxe/lib/hxdiscord_rpc/git/project/discord-rpc/include -DDISCORD_DISABLE_IO_THREAD -IC:/HaxeToolkit/haxe/lib/linc_luajit/git//linc/ -nologo /WX- /fp:precise -DHX_WINDOWS -GR -O2(optim-std) -Zi(debug) -FdC:\Users\wals\Documents\fnf\FNF-PsychEngine-main\export\release\windows\obj\obj/msvc1964-nc/vc.pdb(debug) -Od(debug) -O2(release) -Os(optim-size) -FS -Oy- -c -EHs -GS- -IC:/HaxeToolkit/haxe/lib/hxcpp/4,3,2/include -DHXCPP_M64 -DHXCPP_VISIT_ALLOCS(haxe) -DHXCPP_CHECK_POINTER(haxe) -DHXCPP_STACK_TRACE(haxe) -DHXCPP_STACK_LINE(haxe) -DHX_SMART_STRINGS(haxe) -DHXCPP_API_LEVEL=430(haxe) -D_CRT_SECURE_NO_DEPRECATE -D_ALLOW_MSC_VER_MISMATCH -D_ALLOW_ITERATOR_DEBUG_LEVEL_MISMATCH -DHX_WIN_MAIN(main) -wd4996 ... tags=[haxe,static]

Are you modding a build from source or with Lua?
Source
What is your build target?
Windows
Did you edit anything in this build? If so, mention or summarize your changes.
i edited HScript.hx from teaCall to tea

If it worked before delete export folder that should fix the issue. This happens if you moved the folder as the files are still tied to the original location.

No it's the first time and it didn't work
On Sat, Aug 10, 2024, 7:50 PM Arolox666 @.***> wrote:

If it worked before delete export folder that should fix the issue. This
happens if you moved the folder as the files are still tied to the original
location.
—
Reply to this email directly, view it on GitHub
https://github.com/ShadowMario/FNF-PsychEngine/issues/15280#issuecomment-2282207522,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BKOBEU2IXV64FWFK5C7HO7DZQZAENAVCNFSM6AAAAABMJROVD2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEOBSGIYDONJSGI
.
You are receiving this because you authored the thread.Message ID:
@.***>


e2e: Dump artifacts if test namespace deletion takes too long

This commit updates the e2e scaffolding so that artifacts are dumped
if a test's namespace takes too long to be deleted, which usually means
there's some kind of teardown lifecycle bug to investigate. Having the
state after the point of failure is useful for debugging.

/lgtm


Contradictory message regarding the default value of az keyvault create --enable-rbac-authorization

Describe the bug
az keyvault create --help
...
    --enable-rbac-authorization       : ... If null or not specified, the vault
                                        is created with the default value of false ...  Allowed
                                        values: false, true.  Default: True.
...

Related command
az keyvault create
Errors
N/A
Issue script & Debug output
N/A
Expected behavior
Consistent help message for this flag.
Environment Summary
$ az --version
azure-cli                         2.61.0

core                              2.61.0
telemetry                          1.1.0

Additional context
No response

Thank you for opening this issue, we will look into it.


Add *.js files to .gitignore

As the bot is written in TypeScript, it does not need to have compiled JavaScript files in the GitHub repository

By design. We don't want to build the .js from scratch each time an action runs, so instead we build it at on-commit and store it in the repo.


Do not fix \r to \r\n

As this may cause issues when a new buffer is exactly in between \r and \n.
Fixes #1624

I thought about it a bit more, this won't cut it.

I like this. Will try to get it merged at some point.

We've been running this on prod for a while now and it did fix #1624.

Annoyingly this patch is no longer valid with the recent SSL fix. Just bad luck we had 2 bugs in the same block of code. Can you redo the patch against the latest version?

@catphish I fixed it. Luckily the change was only a tab/space. The line contents did not change.

I don't have a development environment running at the moment, so I have no way to test, but if you've been running this in production then I will happily merge it, because it looks good to me.
Personally I would have just done gsub("\r", '').gsub("\n", "\r\n"). I'm not sure what else the library is doing here, but I won't rock the boat if it works.

Awesome, if you plan on doing a new release I will be able to test in on prod again. :)

I'm super busy at the moment, but I really hope to find some time to test more of the pull requests here soon and then will be worth doing a release.


ionic2 closes previous page half way

Short description of the problem:
on click to next page, the slide closes half way, if we have map plugin enabled (native map)

What behavior are you expecting?
The previous page should slide off the page completely.
Steps to reproduce:

add ios platform
add google map native plugin https://github.com/mapsplugin/cordova-plugin-googlemaps/wiki/Map
on click navigate to map page.

goToNextPage()
{
      this.nav.push(MapPage);
}

Ionic Version:  2.x
Browser & Operating System: iOS (did not test on android, because cant get android up and running)
Run ionic info from terminal/cmd prompt:
Cordova CLI: 6.0.0
Gulp version:  CLI version 3.9.0
Gulp local:
Ionic Version: 2.0.0-beta.2
Ionic CLI Version: 2.0.0-beta.19
Ionic App Lib Version: 2.0.0-beta.9
ios-deploy version: 1.8.5
ios-sim version: 5.0.6
OS: Mac OS X El Capitan
Node Version: v0.12.0
Xcode version: Xcode 7.1 Build version 7B91b

Ok, so normally the leaving page does stay viewable (display: block), and new page enters from there right and covers up the leaving page. Both of them stay display: block.
However, looks like that doesn't play nice with the native map plugin. I'll have to look to see why it's not sitting on top of the leaving view. Thanks for the report.

Actually, is it a z-index issue? Each page is given a unique z-index, usually starting at 10. Can you try messing with z-indexes and see if the native plugin can somehow go on top?

I'm not sure if its z-index issue. the page slides half way and then stops.
I can still try, do you want me to put z-index on map or the map page?

It slides half way because that's what the leaving page does on iOS. If you inspect the elements on a normal page transition you'll see that's what the leaving page always does. What are the z-indexes on all of the ion-page elements?

z-index looks fine as any other page.

z-index does not have any effect from inspector

The only solution I can think of is hiding previous page on click and show that page again when clicking on back button.
If I wanted to do that, how is it possible using ionic2?

Right now it's not possible to completely hide the previous page. I'll try to replicate your issue and dig into this more, thanks

I don't think pasting html here would help you much... else I would just paste it here.
I been trying to debug this issue all day. its mostly cause when native map initially gets loaded into dom (regardless of dom size or settings).

Hey, I too ran into this issue. The issue is acutally how the maps plugin work, check https://github.com/mapsplugin/cordova-plugin-googlemaps/wiki/Map#how-does-the-plugin-work
Hope this helps.

@jgog did you manage to fix it?

Not exactly but, I change the design a bit, I don't push the map page on top of the parent page now, I set it as a rootPage.

well you can solve it by doing following, I don't recommend following solution because it will remove animation of slide completely, but its something. Once @adamdbradley  will solve this, then we can follow his advice..
ion-page.show-page {
  ion-content {
    transform: translateX(-100%) translateZ(0px) !important;
  }
}
ion-page.show-page:last-child {
  ion-content {
    transform: none !important;
  }
}

I think, I could resolve this by not using the injected NavController, but a parent(the root) of it via.
via IonivApp.getComponent('RootNav')

Sorry but I believe this is not specifically a problem with how Ionic pages work, but rather how this particular cordova plugin works. I'd recommend listening to the lifecycle events and changing the visibility of the map.

The same issue navigating from LoginPage to HomePage & from HomePage to otherPage.
nextPage(){   	this.nav.push(HomePage);  }
HomePage overlaps current page.
I tried the solutions suggested above but does not work for me.
If I use setRoot(HomePage), then I can not use nav.pop() to go back;
Other solution here?

Hi ungular...can you please elaborate how you solved this issue. I am facing the same issue in  most of my pages in both push and pop.

@rhuldip If you have code that reproduces your problem, please share it here.

@rcjsuen i wont be able to share the code...but on looking closely i found that when i am doing navcontroller.push(NewsAlertOptions),the ion-page is created fine with z-index 10000 but after that i am calling a webservice to load all my data in ionViewDidEnter() method,only the service call is finished the ion-page z-index is decreased to 9998.PFA screenshot

i wont be able to share the code...but on looking closely i found that when i am doing navcontroller.push(NewsAlertOptions),the ion-page is created fine with z-index 10000 but after that i am calling a webservice to load all my data in ionViewDidEnter() method,once the service call is finished the ion-page z-index is decreased to 9998.PFA screenshot

Did you debug and track down the source of why the Z-index is being changed?
For your information, you may be interested in issue #8042. However, without any code, it's hard to know if your problem is the same problem or not.

@rcjsuen  i used debugger and i came to know that the issue is coming because of loading icon,but still i am not able to solve that..here is the code-

ionViewDidEnter()
{
this.getNewsAndAlertsObject = new GetNewsAndAlertsObject();
//alert("NewsalertoptionsPage="+this.navCtrl.length());
var myLoader =  this.commonUtility.getLoader('Getting News...');
myLoader.present();
this.getNewsAndAlertsObject.EID= "H122984";
this.getNewsAndAlertsObject.SBG ="HON CORP";
this.remedyService.getNewsAndAlerts(this.getNewsAndAlertsObject).subscribe(
  data =>{
      myLoader.dismiss().then(()=>{
        console.log("success in getMyRequest"+JSON.stringify(data));
        debugger
        this.myNewsAndAlertsData = data;
        debugger
      })
  },
  err =>{
      console.log("err block");
      myLoader.dismiss();
      console.log("Error in getMyRequest"+JSON.stringify(err));
      console.log("1");
      var errObj = err._body;
      console.log("2");
      errObj = JSON.parse(errObj);
      console.log("3");
      //alert("errObj = "+errObj);
      console.log("4");
      //alert("errObj1="+errObj.error);
      if(errObj.error != undefined)
      {
        console.log("undefined block");
        if(errObj.error == "invalid_token")
        {
          this.navCtrl.setRoot(LoginPage);
        }
        else
        {
          console.log("ivalid not block");
          var myAlert= this.commonUtility.getAlert("Network Error", "Please try again later");
          myAlert.present();
        }
      }
      else
      {
        console.log("major else block");
        var myAlert= this.commonUtility.getAlert("Network Error", "Please try again later");
        myAlert.present();
      }
  },
  () =>
  {
      console.log("Completion of getMyRequest");
      //this.myLoadingCtrl.dismiss();
  }
);

}

After the first debugger,the z-index is changing.

import {LoadingController,AlertController} from "ionic-angular";
import { Injectable } from '@angular/core';
@Injectable()
export class CommonUtility
{
constructor(public loadingCtrl: LoadingController,public alertCtrl: AlertController)
{
console.log("Creating object for CommonUtility");
}
getLoader(content)
{
return this.loadingCtrl.create({
content: content
});
}
getName()
{
return 'Rahul Deepppp!!!!';
}
getAlert(alertTitle, alertSubTitle)
{
let popUp = this.alertCtrl.create({
title: alertTitle,
subTitle: alertSubTitle,
buttons: [
{
text:'Dismiss',
role:'cancel',
handler: () =>
{
console.log("alert box dismiss clicked");
popUp.dismiss();
}
}
]
});
popUp.present();
return popUp;
}
}

Also this is my commonUtility.ts which i am using to get loader.


Adding support for transifex

Moved from the issue:
TASKS

[x] Transifex-Setup

Will only be run if the following conditions are met

Transifex support have been enabled explicitly, or implicitly if the following file exists in the repo ./.tx/config
A user settings file doesn't already exists (this will always be located in %USERPROFILE%\.transifexrc on windows, don't know on other platforms)
If the transifex api credentials exists (by default will grab from the following environment variable TRANSIFEX_API_TOKEN)

Will have no dependencies
When it runs, it will create the user settings profile storing the specified api token.

[x] Transifex-Push-Sourcefiles

Will run if Transifex support have been enabled explicitly, or implicitly, and only if running on appveyor (or called explicitly)
Will not check if the user settings file exists, if it doesn't the user will prompted for their username and password (transifex cli is responsible for that).
Will depend on Transifex-Setup
When running it will push all source files (think of the source .resx file) that have been configured for the repository.

[x] Transifex-Pull-Translations

Will run if Transifex support have been enabled explicitly, or implicitly.
Will depend on Transifex-Push-Sourcefiles (still a little unsure about this)
When running it will pull in all translations from transifex (still thinking if which parameters that should be configurable)

[x] Transifex-Push-Translations

Will not be run during normal build, but only when being explicitly called.
Won't have any dependencies at all
Won't have any criteria, if explicitly called, we expect the user knows what he/she does.
When running it will push all translations located in the local repository to transifex.
This is a function that shouldn't be used normally, especially since I don't know exactly who can push to transifex (I think only those that have full access.)

[x] The build task will only take a dependency on Transifex-Pull-translations when transifex support have been enabled, otherwise they will remain as loose tasks.

Requires
The transifex client will be needed to be installed on the users computer, or the ci (available through pip as transifex-client, or on chocolatey with the same name (just pushed that package now)).
Will also require my own Cake.Transifex library, but still not completely sure what best way to include it.
will absolutely fix #127

@gep13 I believe this one to be ready now, unless I've missed something or you have some suggestions

@AdmiringWorm this PR LGTM!
One thing is confusing me, and that is why the AppVeyor build failed.  I can't immediately see what is causing this.  I will need to dig into this some more.

@gep13 it looks to be because Run-Integration-Tests have been defined two times.
https://github.com/cake-contrib/Cake.Recipe/search?utf8=✓&q=Run-Integration-Tests&type=

Interesting, but there have been successful builds since that part was added, that is the confusing part.

well I don't know what to say.
That is rather odd that it have worked previously, unless something changes when running on a PR compared to a normal repo commit?
I honestly have no idea

I don't even get that error when running locally (pre-push hook to run build.ps1 before pushing)

seems like I hadn't rebased completely to the latest that was available on the repo, just did that now and appveyor build succeeds.

@AdmiringWorm your changes have been merged, thanks for your contribution 👍


[Enhancement]:  Improving the UI as some portion of the page is not clearly visible

Do you want to have the enhancement of existing game ? 😀 Describe yourself..
Game enhancement : The lets play and the restart buttons  are not clearly visible so the colour combinations or the entire ui can be improved.
Describe the solution you'd like
Solution steps:
The colour combination or the of the ui and some structuring needs to be done so that the restart and the lets play  buttons are clearly visible and the rules of how to play will also become visible

Select program in which you are contributing
GSSoC23
Code of Conduct

[X] I follow CONTRIBUTING GUIDELINE of this project.

@Durgesh4993  Can you please assign me this issue ?

Hello @Durgesh4993 I would like to work on this issue .


启动页问题反馈

Description
设置为下次从本次离开的位置启动。但它好像每次启动都是首页。偶尔才会从上次离开的地方启动。望优化，ᠪᠠᠨᡳᡥᠠ（巴尼哈/谢谢）
Steps To Reproduce

Requirements

Files Version
<IP_ADDRESS>
Windows Version
10.0.25370.1
Log file
debug.log

Thanks for the report.

Can you fill out the steps to reproduce. including how you are closing and opening Files.

您好，或许我觉得这两个过程比较通用，没有什么特别的，便没有填写。
启动软件：电脑开机后，从任务栏或开始菜单，点击该APP，启动。
关闭软件：其一，点击右上角的“X”关闭。其一，电脑关机，APP连同系统关闭。

Sorry for the delayed response. Can you confirm it the same issue as #12624

Can you try

Opening Files
Go to a location
Close Files via the X button
Open Files and see if it at the location you were before

您好，這樣操作是可以回到之前的位置的。在關閉計算機或者重啟計算機的時候才沒有按照預定設置回到之前的位置。ᠪᠠᠨᡳᡥᠠ（巴尼哈/谢谢）

Based on that it seem it is the same issue as #12624. You can check there or click subscribe in the right sidebar for updates.


feat: port Order.Category.BddLatCat

This still contains the commits from the forward-port PR mentioned below.

[x] depends on: #4990
[x] depends on: #3918

This PR/issue depends on:

leanprover-community/mathlib4#4990
leanprover-community/mathlib4#3918
By Dependent Issues (🤖). Happy coding!

bors d+

This PR/issue depends on:

leanprover-community/mathlib4#4990
leanprover-community/mathlib4#3918
By Dependent Issues (🤖). Happy coding!

I just finished porting PRs for all files depending on this, and the simps issue did not have any impact. Therefore I think I'll just kick this on bors and we can address the porting note later if desired.
bors r+


Deadlock detection

I'd like to propose a isTransaction deadlocked property on a transnational level so that deadlocks can be appropriately handled even in asynchronous call scenario?
Context: using microlite to inflect type 4 change notifications upon an existing dataset imported by an dynamically in-memory generated ssis package.

Happy to review a PR if you want to try implementing this?


Feature request: check return codes for semaphore system calls

I noticed that the return codes for semaphore creation etc. aren't being checked for errors. So, create may fail and caller doesn't get notified. What do you think is the best way of handling error conditions: throw an exception, or return false ? Thanks!

I think that error handling for well formed calls to semaphore creation etc. would be superfluous, as in the situation that these occur the system is likely in a state where there isn't much the app can do but crash, which will happen when the semaphore is used. There is some potential utility in logging that this is a system issue rather than a app one, but this will be caught by a callstack handler like breakpad etc. when the semaphore use call fails and is likely so rare as to be overkill in adding specific handling.
I'm willing to be convinced though.
I should probably add a few more asserts though to ensure that the code is well formed, and that programming errors are easily caught.
Exceptions aren't something I'd use, so if we did add error handling it would be to return a error state and either add a GetLastError or error callback.

Yes, it's fine then as it is. I'm just in the habit of always checking return codes, no matter what :)

@dougbinks I am re-opening this as I found a semaphore implementation, cpp11-on-multicore,
that does check return codes for certain platforms.
https://github.com/preshing/cpp11-on-multicore/blob/master/common/sema.h
Interested to know your thoughts on this.

Preshing has an excellent set of libraries for atomics and multithreading, and his blog posts on C++11 atomics are a must-read.
The only error check I can see is in the Posix implementation of wait(), where gdb fails to wait the first few calls when attached to the debugger (actually it's when interrupted by a signal handler). That's worth adding to the code.

Thanks, yes, this would be good to have in there.

I've added a check with this commit: https://github.com/dougbinks/enkiTS/commit/503f006e4b685f69bd49f361a2aac4e9d487286d
Let me know if this resolves this issue for you.

Great, thanks! This commit also removes a compiler warning about unused variable err.

Closing.


Feature/remove old search setting page

#1337
Checklist

[x] the [contributor license agreement] is signed
[x] commit message follows [commit guidelines]

Description of change
Remove all of the Freemarker templates, Sections, extensions, module and plugin in relation to the old Search setting page.  Locally tested and every things look in order. Let's see if CI is happy.

Wow! That looks like a successful build. I thought there might've been a sneaky Selenium test or something in there, but I guess not. Good stuff. :+1:
(Travis just appears to be another flaky - New UI - test. I'm happy to ignore.)


Dcci finished

Might require some cleanup of the code, but no actual functionality changes

Hmmm, actually... there might be something going on still in this commit


[PATCH] Fixes typo and swapped unit test description misplaced in fix #1554 to issue #4360

Fixes typo and swapped unit test description misplaced in fix #1554 to issue #4360

@luislobo blarg, thanks man

@mikermcneil @sgress454 always around, checking this tiny little things :)


Need the ability to update a counter to a new value

As a manager,
I need more access,
So that we reach all the platformer.
Details and Assumptions
* [document what you know]

Acceptance Criteria
gherkin
Given [some context]
When [certain action is taken]
Then [the outcome of action is observed]

#7


test github vote

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

:blue_heart:
reexec
1m 25s
Docker mode activated.

:broken_heart:
yetus
0m  6s
Unprocessed flag(s): --jenkins --quick-hadoopcheck --skip-errorprone --skip-dir

Subsystem
Report/Notes

Docker
Client=19.03.1 Server=19.03.1 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-533/1/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/533

Console output
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-533/1/console

versions
git=2.11.0

Powered by
Apache Yetus 0.12.0-SNAPSHOT https://yetus.apache.org

This message was automatically generated.

I just tried the master branch, so the vote table is fine but we have something wrong with the flags...
-quick-hadoopcheck --skip-errorprone should be introduced by HBase, this means we failed to load the personality?
Ping @busbey

The personality has to be updated to say it used those parameters. The release notes for the 0.11.0  RC should have instructions.

And the --jenkins flag hasn't existed for awhile. Yetus just detects if it is running on Jenkins.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

:blue_heart:
reexec
0m 46s
Docker mode activated.

:broken_heart:
yetus
0m  6s
Unprocessed flag(s): --jenkins --quick-hadoopcheck --skip-errorprone --skip-dir

Subsystem
Report/Notes

Docker
Client=19.03.1 Server=19.03.1 base: https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-533/2/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/533

Console output
https://builds.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-533/2/console

versions
git=2.11.0

Powered by
Apache Yetus 0.12.0-SNAPSHOT https://yetus.apache.org

This message was automatically generated.

OK, is it YETUS-873? Let me take a look on how to make use of the delete_parameter method.


Disable resizing of tmpfs

TODO: Still testing this.
Resizing of tmpfs while it is in use by LXD VM, might be causing LXD VM to crash.

This is unlikely the cause of crash.
Tried manually resize a tmpfs on unit with runner. Afterwards, the runner successfully executed test job that includes installing microk8s.


Remove ForceReload

ForceReload is always true, and the only use of it required it to be false, so it's no longer needed.

:tada: This PR is included in version 3.11.10 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Move redaction decoding

I'm moving the decoding of redactions specified in json format to a package function for 2 reasons:

If pqstream is used as a library one can send redactions in JSON as well
Clean up pqsd.main

I like this, can you check on the build?

Strange. I'm not sure why the build is giving problems - my local build works fine.

Thanks @pieterlouw !


Depricated RType (devices) for API request

Issue description
I have a error message when i open the zigbee2mqtt tab in domoticz. only, one message. Only, a single message each time i open it
Additional information
Zigbee2MQTT version: 1.34.0
Python version: 3.9.2
Domoticz version:  2023.2 (build 15457
Plugin version:v. 3.2.0-beta
Logs
2023-12-30 10:12:16.062 [WebServer] Deprecated RType (devices) for API request. Handled via fallback (getdevices), please use correct API Command! (<IP_ADDRESS>)

problem resolved with version 2024.1 of domoticz.
Sorry

It's not true.
Domoticzt version: 2024.2
Python 3.9.2
Domoticz logs:
2024-01-21 14:07:53.976 [WebServer] Deprecated RType (devices) for API request. Handled via fallback (getdevices), please use correct API Command! (xxx.xxx.xxx.xxx)
Could you please solve the problem?

Have you written any update?

with this configuration, I don't get any error messages:
Zigbee2MQTT version: 1.35.1
Python version: 3.9.2
Domoticz version: 2024.3
Plugin version:v. 3.2.0-beta

git pull resolved the problem ;)
Do you know what can solve this problem:
2024-01-30 18:30:36.119 zigbee: Alias for handling level(endpoint: n/a) feature of device 0x84ba20fffe2a45d7 already exists in plugin configuration but Domoticz logical device with ID 0x84ba20fffe2a45d7(unit: 11) is not found. If you have removed device and want plugin to recreate it, please remove alias from configuration as well.
2024-01-30 18:30:36.121 zigbee: Trying to get legacy device 0x84ba20fffe2a45d7(wnd)
2024-01-30 18:30:36.121 zigbee: No such device found
2024-01-30 18:30:36.122 zigbee: Alias for handling wnd(endpoint: n/a) feature of device 0x84ba20fffe2a45d7 already exists in plugin configuration but Domoticz logical device with ID 0x84ba20fffe2a45d7(unit: 12) is not found. If you have removed device and want plugin to recreate it, please remove alias from configuration as well.
2024-01-30 18:30:36.123 zigbee: Trying to get legacy device 0x84ba20fffe2a45d7(child)
2024-01-30 18:30:36.123 zigbee: No such device found
2024-01-30 18:30:36.125 zigbee: Alias for handling child(endpoint: n/a) feature of device 0x84ba20fffe2a45d7 already exists in plugin configuration but Domoticz logical device with ID 0x84ba20fffe2a45d7(unit: 13) is not found. If you have removed device and want plugin to recreate it, please remove alias from configuration as well.
2024-01-30 18:30:36.125 zigbee: Received available devices groups from bridge

Tuya zigbee 3.0 radiator valve like this:
https://allegro.pl/oferta/termostatyczne-zawory-grzejnikowe-tuya-zigbee-3-0-14868046235?reco_id=bd26a054-bfa8-11ee-a572-0e065292b3e2&sid=0e7a5475e04eefd78184d559df6fb9f87c889ad5ac94196dac75ac99722370c3&bi_s=archiwum_allegro&bi_c=Product&bi_m=reco&

Tuya zigbee 3.0 radiator valve SHF-IS33068 : I can't find it in the list of supported devices.
https://www.zigbee2mqtt.io/advanced/support-new-devices/02_support_new_tuya_devices.html

SHF-IS33068 is the same than TS-0601.

Thank you.
I removed all devices and then reinstalled zigbee2mqtt. Now it is working without any problems.


[BUG] Cell coordinates produced by cellfinder don't align when mapped onto brainrender's default brain.

Describe the bug
I am not sure if I should ask this here or at cellfinder's github repo maintained by @adamltyson . But I have been trying to map cellfinder's output cell locations onto brainrender's root brain. For this, I followed the steps here and imported the .h5 file into brainrender. I noticed that after rendering the cells, they are misaligning. X,Y,Z coordinates of cell locations (within xml file generated by cellfinder in standard_space folder) aren't mapping correctly onto the brainrender's root brain image.
I tried swapping the coordinates (convert X to Z, X to Y, Y to Z etc.)  but that is not really helping. Following is an image that highlights what I mean when I say misaligning of cells onto brainrender's default root brain image:

The X,Y,Z coordinates are off and don't align properly to the root brain image. I am wondering if there are any parameters within brainrender that I can modulate to better fit the cellfinder's points_to_brainrender output.
Thanks @FedeClaudi for your work on this and active response to issues.

Hi,
Thanks for getting in touch. Is this with brainrender 1.0? If so that might be a hint to what went wrong, though ultimately only @adamltyson will know the whats causing this.
Just to be clear,in which way are they not aligned? It looks like the Y axis might be inverted?

This happens with both 0.4 and 1.0.

Just to be clear,in which way are they not aligned? It looks like the Y axis might be inverted?

That's the concern, it is hard to know what exactly is inverted or flipped. We have only tried swapping dimensions like MarkerX with MarkerY  or MarkerZ with MarkerX  (within cellfinder's xml file).  Here's one of the xml files we are trying to load onto brainrender at the moment.
If @adamltyson wants me to open this as an issue at cellfinder and provide him with full cellfinder output, I am happy to do that.

Hi @rdbcasillas, sorry about this, it might be a cellfinder issue.
What orientation is your data in (coronal, saggital, horizontal), and which is the first plane in your stack (posterior, superior, left etc.)?
The cells -> brainrender functionality isn't very robust at the moment, but I'm aiming to fix this when brainreg replaces amap in cellfinder.

What orientation is your data in (coronal, saggital, horizontal), and which is the first plane in your stack (posterior, superior, left etc.)?

Horizontal orientation.  First plane is posterior (ventral). Let me know if you need more info.

The cells -> brainrender functionality isn't very robust at the moment, but I'm aiming to fix this when brainreg replaces amap in cellfinder.

Thank you! Do you have an approximate timeline for this?

Horizontal orientation. First plane is ventral. Let me know if you need more info.

I think this is likely the issue, I released the points_to_brainrender functionality public very hastily, and I think it only works properly for coronal data.

Thank you! Do you have an approximate timeline for this?

Hopefully soon, it's very overdue, but I've got a lot on at the minute.
If you wanted to take a look at it, I think you should be able to just swap the x/y/z around in the conversion script here. The script is pretty simple, so I hope it makes sense.

Thank you @adamltyson for pointing me to the script! Seems understandable so I will play with it.


how to do it in PHP

how to do it in PHP ?

@jayaryan My code base doesn't have PHP example. Will add this to the roadmap.

@manojnetsmartz PHP not will be part of the roadmap. Sorry about that. You could use Javascript if that work for you.


Sia alarm integration not working with 2022.7 version

It seems las upgrade affects SIA integration and comunication between my Ajax alarm and home assistant is not working
any idea how to solve the problem?

Detected integration that uses deprecated async_get_registry to access device registry, use async_get instead. Please report issue to the custom component author for sia using this method at custom_components/sia/hub.py, line 95: device_registry = await dr.async_get_registry(self._hass)
07:05:29 – (ADVERTENCIA) helpers/frame.py

Hi @aperezva this custom integration is no longer maintained, so make sure you use the official integration, there was no change in 2022.7 so please turn on logging and create an issue with logs in the core repo since that is where I can easily link it if it requires a fix and also has all the fields for an issue. Finally if you are using ajax systems make sure to include the version of OS Malevich since I've previously had a report that their latest update caused encrypted sia to fail, so you can also try disabling encryption on both systems.

Thanks
Fixed
I didn’t know regarding official integration
Changed and everything is working
BR
El 7 jul 2022, 8:08 +0200, Eduard van Valkenburg @.***>, escribió:

Hi @aperezva this custom integration is no longer maintained, so make sure you use the official integration, there was no change in 2022.7 so please turn on logging and create an issue with logs in the core repo since that is where I can easily link it if it requires a fix and also has all the fields for an issue. Finally if you are using ajax systems make sure to include the version of OS Malevich since I've previously had a report that their latest update caused encrypted sia to fail, so you can also try disabling encryption on both systems.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: @.***>

Thanks for reporting back!


No way to test type

We need a way to be able to test the type of an object is equal to one another.
An example use case is when trying to print a certain type of form element based on the type of a given object.

That can be easily added by creating a custom test and adding it to your template context. Afterwards you could e.g. use {% if foo is type Bar %} (maybe an isinstance test would make more sense)

Come here from google.
Case: if 1 (one) address, then make string, else make array.
string_address: '<IP_ADDRESS>/24'
list_adress:
  - <IP_ADDRESS>/24
  - <IP_ADDRESS>/24

{% if item.address is defined and item.address | ipaddr('host/prefix') %}
{% if item.address is string %}
Address=('{{ item.address }}')
{% elif item.address %}
Address=({% if item.address %}{{ '\'' + item.address | join('\' \'') + '\'' }}{% endif %})
{% endif %}
{% endif %}

With jinja we can check type is string. It could be someone will be useful.

One year later...
Check for the data type can be made even more accurate (for example string or sequence).
---
network_scripts_interfaces:
- interface: 'vlan2'
  address:
  - '<IP_ADDRESS>/24'
  - '<IP_ADDRESS>/24'
- interface: 'vlan3'
  address: '<IP_ADDRESS>/24'

{% if item.address is defined and item.address != '' %}
{% if item.address is string and item.address | ipaddr('host/prefix') %}
{{ 'IPADDR' + '=\"' + item.address + '\"' }}
{% elif item.address is sequence %}
{% for addr in item.address %}
{% if addr | ipaddr('host/prefix') %}
{{ 'IPADDR' ~ loop.index ~ '=\"' ~ addr ~ '\"' }}
{% endif %}
{% endfor %}
{% endif %}
{% endif %}

One year later...
Check for the data type can be made even more accurate (for example string or sequence).
---
network_scripts_interfaces:
- interface: 'vlan2'
  address:
  - '<IP_ADDRESS>/24'
  - '<IP_ADDRESS>/24'
- interface: 'vlan3'
  address: '<IP_ADDRESS>/24'

{% if item.address is defined and item.address != '' %}
{% if item.address is string and item.address | ipaddr('host/prefix') %}
{{ 'IPADDR' + '=\"' + item.address + '\"' }}
{% elif item.address is sequence %}
{% for addr in item.address %}
{% if addr | ipaddr('host/prefix') %}
{{ 'IPADDR' ~ loop.index ~ '=\"' ~ addr ~ '\"' }}
{% endif %}
{% endfor %}
{% endif %}
{% endif %}

This is might not work as expected, as string type will also be true if you test with is sequence
is sequence does only test if the variable is iterable. Which means that array, string and dict will all test True with is sequence.
So the only way to test for a list, right now. Is using something like this:
{% if item.address is sequence and item.address is not string and item.address is not mapping %}
-- item.address should be a list in here --
{% endif %}

Therefore it would be really great to add strict type comparisons. So we could do item.address is dict, item.address is array and item.address is string. Where only the last one is available, right now.


[HUDI-8557] Enable metadata on the Spark reader by default

Change Logs
Enable metadata on the Spark reader by default. Data skipping (hoodie.enable.data.skipping) is already enabled by default. Other things such as BQ sync will still keep the same behavior i.e. DEFAULT_METADATA_ENABLE_FOR_READERS = false.
Impact
Enable metadata on the Spark reader by default
Risk level (write none, low medium or high below)
medium
Documentation Update
Describe any necessary documentation update if there is any new feature, config, or user-facing change. If not, put "none".

The config description must be updated if new configs are added or the default value of the configs are changed
Any new feature or user-facing change requires updating the Hudi website. Please create a Jira ticket, attach the
ticket number here and follow the instruction to make
changes to the website.

Contributor's checklist

[ ] Read through contributor's guide
[ ] Change Logs and Impact were stated clearly
[ ] Adequate tests were added if applicable
[ ] CI passed

Closing in favor of #12332


[Backend Issue]: Missing handleRegister function logic in register.jsx for form submission.

🛠 Backend Issue
Description

The Register component in register.jsx contains a form for user registration, but the handleRegister function lacks the necessary logic to handle form submission and communicate with the backend. This prevents users from successfully registering, as their data is not being sent to the API.
Steps to Reproduce

Click the "Register" button.
Fill in the registration form fields (Name, Phone Number, Email, and Password).
Observe that no action is taken, and the form data is not submitted.

Proposed Solution: Implement the handleRegister function as follows:

Collect the user data from the form fields (stored in state).
Use fetch or axios to send a POST request to the backend registration endpoint (/api/register).
Handle the success or failure response from the backend and provide appropriate feedback to the user.

[x] Yes
[ ] No

good go for it @Yashhuc

Shall i start working on this issue?

@Yashhuc please update

Hey, thanks for your patience. I'm still working on it. I will give you the final update by tomorrow evening.

Hey @dhairyagothi .
I have implemented the handle register functionality as part of the project. However, I haven't been able to test it on my local server since I don't have MongoDB experience. I have updated the fetch URL to the deployed URL instead.

I will be creating a pull request for this update, and it would be great if you could check it on your end and proceed from there.
If you are not satisfied, you may assign this to someone else. Thanks for your patience.

Hey @dhairyagothi . I have implemented the handle register functionality as part of the project. However, I haven't been able to test it on my local server since I don't have MongoDB experience. I have updated the fetch URL to the deployed URL instead.

I will be creating a pull request for this update, and it would be great if you could check it on your end and proceed from there. If you are not satisfied, you may assign this to someone else. Thanks for your patience.

ok i will check it backend is hosted on vercel

Hey @dhairyagothi , is this issue resolved completely or not yet. If not yet please assign this to me, i will try to fix it completely.


update net-framework-problems-with-ie11.md

issue #3246
correcting registry path info

@shortpatti - Can you please assist to check, approve and merge the content for this PR based on issue #3246?
Thank you.

@lizap - there's another article found by @MaratMussabekov that needs to be updated with this information. Here's the article link- Managed hosting controls are disabled in Internet Explorer from the .NET Framework 4 . However, we discovered that this article is on support.office.com which is a different system and not GitHub based. Do you happen to know how we can update the support.office.com (SOC) article?
Thank you!
cc: @mypil @kenwith

@lizap - I would like to follow up with you. Can you share your thoughts on how we can update this support.office.com (SOC) article - Managed hosting controls are disabled in Internet Explorer from the .NET Framework 4? Or do you know who we can reach out to get this fixed?
Thank you.

For what it's worth: I posted info about this PR and linked this page in the feedback feature "Did this solve your problem? [Yes] [No]" -- I clicked "No" and posted the link to this page and asked for this information to be considered used to update https://support.microsoft.com/en-us/help/2996039/managed-hosting-controls-are-disabled-in-internet-explorer-from-the-ne . I was logged in on my MS account while doing this (not my Github account).

@illfated - We appreciate your help. :smiley:

@illfated - Did you get any updates or any response after you posted info about this PR and linked this page in the feedback feature?

Thank you for asking, but unfortunately no luck so far. No replies yet.

@kenwith - No luck in finding out how we can edit the SOC article. Hope you can help in finding out who we can reach out to update the SOC article. Thank you.


[ALLUXIO-3107] Format should be like a master process

https://alluxio.atlassian.net/browse/ALLUXIO-3107
cherry-pick of #6887

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/18679/
Test PASSed.


Cassandra rules

I couldn't find any alert manager rules for this exporter.
Is there such file that I can use?

Hi @hadarizi I am not aware of any. If you manage to create one it would be cool to contribute it so folks can use it too. Thank you for your interest.

Hey, my PR#196 to this project got merged, so please check this page for Cassandra Rules https://awesome-prometheus-alerts.grep.to/rules.html#cassandra
I mostly used the existing rules from criteo/cassandra_exporter and converted them to rules for instaclustr/cassandra-exporter.
@zegelin you may want to add a note in README for Cassandra Prometheus Rules to this project and resolve this.


arch:  update licenses to Apache

Summary
arch: arm:  update licenses to Apache
arch: renesas: update licenses to Apache
arch: or1k: update licenses to Apache
arch: misoc:  update licenses to Apache
Impact
License
Testing
NONE

please ignore the erors

@jerpelea do we get the new ICLA from the owner?

@xiaoxiang781216 the copyright owners have submitted CLA or SGA


fresh install of az cli on ubuntu. az vm list gives error

This is autogenerated. Please review and update as needed.
Describe the bug
Command Name
az vm list
Errors:
No module named 'antlr4'
Traceback (most recent call last):
lib/python3/dist-packages/knack/cli.py, ln 206, in invoke
    cmd_result = self.invocation.execute(args)
azure/cli/core/commands/__init__.py, ln 528, in execute
    self.commands_loader.load_arguments(command)
dist-packages/azure/cli/core/__init__.py, ln 300, in load_arguments
    loader.load_arguments(command)  # this adds entries to the argument registries
azure/cli/command_modules/vm/__init__.py, ln 31, in load_arguments
    from azure.cli.command_modules.vm._params import load_arguments
azure/cli/command_modules/vm/_params.py, ln 31, in <module>
    from azure.cli.command_modules.monitor.actions import get_period_type
azure/cli/command_modules/monitor/actions.py, ln 7, in <module>
    import antlr4
ModuleNotFoundError: No module named 'antlr4'

To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

Put any pre-requisite steps here...
az vm list

Expected Behavior
Environment Summary
Linux-5.4.0-37-generic-x86_64-with-glibc2.29
Python 3.8.2
Shell: bash

azure-cli 2.0.81

Extensions:
azure-devops 0.17.0

Additional Context

Disregard, looks like the ubuntu package manager installed a really old version of az cli on Ubuntu 20.04 LTS
Used this solution to resolve it.

this solution fixed it https://github.com/Azure/azure-cli/issues/14011


Have problems with PE_merging

Hello, I'm new to the program and I'm trying to analyze some fastq files I jusr received. Reads are already demultiplexed, so I put them in the 2_Demultiplexing folder. Whenever I try to merge PE reads I get this error message:
09:32:42: Finding all file pairs in your input. This may take a while.
09:32:42: Found 1 matching file pairs in 2 input files.
09:32:42: Starting to merge forward and reverse reads.
joblib.externals.loky.process_executor._RemoteTraceback:
"""
Traceback (most recent call last):
File "c:\users\pvannucchi\appdata\local\programs\python\python39\lib\site-packages\joblib\externals\loky\process_executor.py", line 463, in _process_worker
r = call_item()
File "c:\users\pvannucchi\appdata\local\programs\python\python39\lib\site-packages\joblib\externals\loky\process_executor.py", line 291, in call
return self.fn(*self.args, **self.kwargs)
File "c:\users\pvannucchi\appdata\local\programs\python\python39\lib\site-packages\joblib\parallel.py", line 589, in call
return [func(*args, **kwargs)
File "c:\users\pvannucchi\appdata\local\programs\python\python39\lib\site-packages\joblib\parallel.py", line 589, in
return [func(*args, **kwargs)
File "c:\users\pvannucchi\appdata\local\programs\python\python39\lib\site-packages\apscale\b_pe_merging.py", line 73, in pe_merge
re.findall("(\d+)  Pairs", content)[0],
IndexError: list index out of range
Could you please indicate me how I could fix this problem?
Thank you in advance.

Can you please check your vsearch version?

Hi Dominik,
I was able to fix the problem (I just had to copy de dll file into the new vsearch folder again) and now with the downgraded version of Vsearch, it works!
Thank you so much for your help.
Cheers,
Patrizia Elena Vannucchi
Área Ecología Acuática
Eurofins Cavendish, S.L.U.
Ctra. Bailén-Motril, parc. 102 B, Edif. Cristal 2, Pol. Juncaril
C.P.: 18210 – Peligros (Granada)
Spain
Phone: +34 663701104
Email<EMAIL_ADDRESS>Website: https://www.eurofins-environment.es/es/eurofins-cavendish/
Política de privacidadhttps://www.eurofins-environment.es/es/politica-privacidad/
@.***
¡Síguenos en LinkedIn!
[Logo Linkedin Transparente - Vectores y PSD gratuitos para descargar]https://es.linkedin.com/company/eurofins-cavendish
This e-mail including its attachments may contain confidential and proprietary information. Any unauthorized disclosure or use of this e-mail including its attachments is prohibited and may be prosecuted. If you are not the intended recipient, please inform the sender by an e-mail reply and delete the message.
Transmission by e-mail is not secure and can result in errors or omissions in the content of the message. Despite state-of-the-art precautions we cannot guarantee that e-mails and attachments are free from viruses. We accept no liability for viruses or any transmission-related errors and omissions. You need to always virus-check any e-mails and attachments.
Eurofins companies are independent legal entities that are bound only by members of their management bodies. No other persons have representation power unless specifically authorised by proxy or other legal means.
De: DominikBuchner @.>
Enviado el: domingo, 17 de septiembre de 2023 21:29
Para: DominikBuchner/apscale @.>
CC: Patrizia Elena Vannucchi @.>; Author @.>
Asunto: Re: [DominikBuchner/apscale] Have problems with PE_merging (Issue #9)
Can you please check your vsearch version?
—
Reply to this email directly, view it on GitHubhttps://github.com/DominikBuchner/apscale/issues/9#issuecomment-1722549016, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BCGXRVD3NYAKR53WM3WXRSTX25FRTANCNFSM6AAAAAA4CQKYI4.
You are receiving this because you authored the thread.Message ID: @.***>


[SPARK-47560][PYTHON][CONNECT] Avoid RPC to validate column name with cached schema

What changes were proposed in this pull request?
If the column name exists in schema, avoid df.select validation
Why are the changes needed?
https://github.com/apache/spark/commit/6f87fe2f513d1b1a022f0d03b6c81d73d7cfb228 caches the schema, so if the column name exists in schema, we don't not need to validate it with df.select which requires additional RPC
Does this PR introduce any user-facing change?
no
How was this patch tested?
ci
Was this patch authored or co-authored using generative AI tooling?
no

merged to master


[#89] Reset admin user.

Merged in #93. This changes the default database in pg.myhpomdevelopment.sql which gets used by ./hsctl rebuild --db


feat: add support of null to remove the bucket CORS configuration

Codecov Report

Merging #17 into master will decrease coverage by 0.09%.
The diff coverage is 100.00%.

@@             Coverage Diff              @@
##             master      #17      +/-   ##
============================================
- Coverage     63.15%   63.06%   -0.10%
- Complexity      610      611       +1
============================================
  Files            32       32
  Lines          5133     5123      -10
  Branches        490      474      -16
============================================
- Hits           3242     3231      -11
+ Misses         1726     1724       -2
- Partials        165      168       +3

Impacted Files
Coverage Δ
Complexity Δ

...main/java/com/google/cloud/storage/BucketInfo.java
81.41% <100.00%> (-0.16%)
84.00 <2.00> (+1.00)
:arrow_down:

...in/java/com/google/cloud/storage/StorageBatch.java
88.00% <0.00%> (-4.00%)
13.00% <0.00%> (ø%)

...ain/java/com/google/cloud/storage/StorageImpl.java
80.91% <0.00%> (-0.10%)
138.00% <0.00%> (ø%)

...om/google/cloud/storage/spi/v1/HttpStorageRpc.java
1.60% <0.00%> (+<0.01%)
2.00% <0.00%> (ø%)

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 e63feb7...053a6f6. Read the comment docs.

The fix itself looks good.
I'm wondering about other properties: Acl, StorageClass etc. They seem implemented in the same way, do we need to update them as well?

@dmitry-fa For the Acl we have method called deleteAcl() which allow us to remove it from the bucket so i think we need to leave it as it is and for the other properties we need to check and confirm with Frank before adding it.


Use coursier-dependency to parse dependencies

It lives in this repository. Scala CLI uses that parser too. It allows to add support for things like 'org:name:ver,intransitive' for example

Unless anyone opposes or wants to ponder things, I think I'll merge that tomorrow (in about 24h say…)

What is the difference between coursier-dependency and coursier-dependency-interface?

coursier-dependency is the main / core library for dependency handling (data types, parsing, string interpolators, etc.). coursier-dependency-interface has helpers to convert the coursier-dependency data types to the ones of coursier-interface. It's briefly described here.


Export to png nothing happens

Visual Studio Code 1.49.0
ERD Editor 0.7.2
I would like to export my diagram as png. When I am trying to export it via the context menu nothing happens. It stucks for one second and then the context menu disappears. Same situation with export as JSON or SQL DDL.

I am having same problem. I have checked all log tabs, nothing interesting happens. It might be correlated to VS Code 1.49.0 update.
I am using the same versions as noted by @LeHoangDev.

Looks like an Electronjs 9.0 bug.

I'm going to change it as below.


Port PSReadLine project to compile on .NET Core

It must compile on .NET or we wouldn't have it in PowerShell Core.  What I'd like to be able to do is compile/debug PSReadLine on Linux.

This is wip, see https://github.com/lzybkr/PSReadLine/pull/442
I'm trying to work out a solution where I can generate 1 binary that works on all platforms to avoid shipping 3 binaries (Linux, Windows Core, Windows Full) - like what is happening today with PackageManagement.

I should mention - I have more changes on top of that PR that I haven't pushed yet because it's not ready.

You might talk with @daviwil if you haven't already.  He just did this for the PowerShellEditorServices.  It all builds from within VS Code.

Right now I'm hitting https://github.com/dotnet/corefx/issues/9658
I might have a sort of workaround to target the netstandard1.6 version of the System.Management.Automation reference assembly, but that could cause problems targeting older versions of PowerShell, e.g. if we use an api that wasn't in V3.

Weird, I use Hashtable in a couple places in PSES and I'm building against netstandard1.6 just fine:
https://github.com/PowerShell/PowerShellEditorServices/blob/2c7709bfe2748e9c832a9488e17010e63c71fb28/src/PowerShellEditorServices/Session/PowerShellVersionDetails.cs#L103
I'm building against the Microsoft.PowerShell.SDK package on MyGet:
https://powershell.myget.org/feed/powershell-core/package/nuget/Microsoft.PowerShell.SDK
I'm also using the v3-v5 reference assemblies to verify that my code builds against the older apis:

https://github.com/PowerShell/PowerShellEditorServices/blob/develop/PowerShellEditorServices.build.ps1#L135
https://github.com/PowerShell/PowerShellEditorServices/blob/develop/src/PowerShellEditorServices/PowerShellEditorServices.csproj#L58


Total time

A feature that tells you how much time you've spent on VS Code.

This feature is available via extensions. Google it.
This is one of them:
https://marketplace.visualstudio.com/items?itemName=softwaredotcom.swdc-vscode#:~:text=To see an overview of,typing in your editor today.


Quote cell values in Advanced Copy sets to Double Quote. Need to customize as Single Quote

Quote cell values in Advanced Copy sets to Double Quote. In Database such as Oracle, characters are enclosed in  Single Quote. Is there a way to change this ?

Advanced Copy copies values in CSV format.
If you need SQL format you can use Generate SQL or Export Resultset->SQL features.

I extensively use Advanced copy with "Quote cell values" for copying character values in my grid which I need to use in a IN clause back back in my SQLs.
The other 2 options don't make things as easy.

Ok, I see. I'll add extra config option

Great ! Appreciate it.


v1.0.8 of FormMaker is broken

v1.0.8 of FormMaker has a syntax error on line 70, where $connection is misspelled when passed in as an argument. It's fixed in origin/master, but when composer requires FormMaker as a dependency for laracogs, it asks for the broken version. I can't submit a pull requests for tag changes, so it'll have to be fixed by YABhq, something like this:

I must have got the tagging out of alignment, I'll fix the tag so that its correct with the master branch, thanks


Replace native alert with custom dialog that asks for clearing previously saved data

[#184232569]
This PR replaces the native browser confirm dialog with a custom one that is consistent with other dialogs that we use in data collection mode. It also adds a few log messages.

@dougmartin, I'll also go ahead and merge this PR to be able to demo everything using master (similarly to this one https://github.com/concord-consortium/tectonic-explorer/pull/313#issuecomment-1383235926). It's pretty straightforward, and I'll address all the comments that you might leave here.


kivy-examples/demo/kivycatalog won't play cityCC0.mpg on mac OS 10.13.6

Versions:

Kivy 1.11.1, 2.0.0
Python: 3.7.3
OS: Mac OS 10.13.6

Kivy installation method:

python3 -m venv Kivy
source Kivy/bin/activate
pip3 install kivy[full]
pip3 install kivy_examples

Description of issue:
The catalog demo does not load video providers and does not play the cityCC0.mpg video
Error messages:
[DEBUG  ] [Video       ] Provider  ignored by config
[DEBUG  ] [Video       ] Provider  ignored by config
[DEBUG  ] [Video       ] Provider  ignored by config
[CRITICAL] [Video       ] Unable to find any valuable Video provider. Please enable debug logging (e.g. add -d if running from the command line, or change the log level in the config) and re-run your app to identify potential causes
[ERROR  ] [Image       ] Error loading texture ../../widgets/cityCC0.mpg
[DEBUG  ] [ImageImageIO] Load </Users/tor/prj/RP-kivy-tut/venv/share/kivy-examples/widgets/cityCC0.png>
Expected behavior:
The video should play on mac os as it does on Ubuntu 20.04 in VMware Fusion
To Reproduce:
In venv: cd kivy-examples/demo/kivycatalog; python3 main.py

Installing the following dependencies should fix the issue:
brew install gstreamer
brew install gst-plugins-base
brew install gst-plugins-good
brew install gst-plugins-bad

Feel free to reopen the issue if it persists.

Brew is for mac os 10.15 and onwards, may or may not work on 10.13. This system has mac-ports which apparently is a no-go. Outdated I guess.

As an alternative, you can install gstreamer from here:
https://gstreamer.freedesktop.org/data/pkg/osx/1.16.2/

gstreamer is available, I have:
gstreamer1 @1.16.2_1 (active)
gstreamer1-gst-plugins-bad @1.16.2_4+x11 (active)
gstreamer1-gst-plugins-base @1.16.2_2+ogg+x11 (active)
gstreamer1-gst-plugins-good @1.16.2_3+gtk3+pulseaudio+qt+x11 (active)
This may come down to a configuration issue or a problem with my setup, who knows. I think we just leave it as it is, no big deal although I don't understand why it works on other platforms...


HTTPS support

Toggle for HTTPS support could be nice? Does Plex Support HTTPS @claesbert ? Not specifically your own Plex.

ofcourse.


Refactor action only changes last occurence of identifier under cursor.

I have been redirected here from this nvim-coc-rust-analyzer issue for it seems to @fannheyward that the problem is on RA side.
But I am not sure how to reformulate it in an LSP-client-agnostic + editor-agnostic way :(
Can I just assume that this description of the problem will be explicit enough?

coc-refactor is a feature that coc.nvim provided to refactor code, it does rename on current symbol within a buffer  preview. It needs LS, here RA, provides provideRenameEdits for current position symbol. https://github.com/neoclide/coc.nvim/blob/2984f288554ce1713d63465da0201bc22436e9fd/src/handler/index.ts#L1117
Maybe there is something wrong in RA on provideRenameEdits?

Yeah, I am pretty sure this is a dupe of https://github.com/rust-analyzer/rust-analyzer/issues/4831

@matklad Well, I'm a little confused now, but I suspect your intent was to close #4901 instead? X)

Right, it should be #4901. Sorry to everyone who got stuck in a loop :-)


[extensions] Health check conditions not updated in case of timeouts

How to categorize this issue?

/area stability
/kind bug
What happened:
provider-openstack ran into a timeout during a worker health check:
{"controller":"healthcheck-Worker-extensions.gardener.cloud-v1alpha1-KluN4AKKEv","error":"client rate limiter Wait returned an error: context deadline exceeded","level":"error","msg":"Reconciler error","name":"bar","namespace":"shoot--foo--bar","object":{"name":"bar","namespace":"shoot--foo--bar"},"reconcileID":"6bd219a7-be0e-4a14-bc2a-702f7ad9f679","stacktrace":"sigs.k8s.io/controller-runtime/pkg/internal/controller.(Controller).processNextWorkItem\n\t/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.12.1/pkg/internal/controller/controller.go:273\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(Controller).Start.func2.2\n\t/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.12.1/pkg/internal/controller/controller.go:234","ts":"2022-12-21T13:57:55.080Z"}

Because the actual health check already exceeded the reconciliations timeout of 15s there was no chance to update the Worker's conditions to a failed state.
This caused gardenlet's shoot health checks to complain about outdated worker conditions:
WorkerOutdatedHealthCheckReport
Worker extension (shoot--foo--bar/bar) reports an outdated health status (last updated: ... ago at ...).

What you expected to happen:
The extension object's conditions should be updated to an error state even if the actual health check runs into a timeout.
This is important in the context of https://github.com/gardener/gardener/issues/4798. Otherwise, such health check failures will go unnoticed.
Also, it helps in finding the root cause for the failed shoot health checks more easily.
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
Currently, the health check controller uses a single context (i.e., timeout) for both the actual health checks and the status update: https://github.com/gardener/gardener/blob/f691339c66de04e064fcd90b19354d3da47e0f0e/extensions/pkg/controller/healthcheck/reconciler.go#L77
Like in resource-manager's health controller, it should use dedicated contexts/timeouts for the actual health checks and the status update: https://github.com/gardener/gardener/blob/0a4f18e652b6626ab8cb4f95550c9545cf8b8b0d/pkg/resourcemanager/controller/health/health/reconciler.go#L58-L62
Environment:

Gardener version: v1.53.0 (extensions library)

/area robustness

Is this still present with newer versions/master branch? 1.53 is already out of maintenance.

Yes, this is still present. I just added the version as information in which version we observed it in our gardener installation

/assign


Cross assembly type cast exception when implementing a new AutofacAggregateFactory and using AutofacResolver.

A cross assembly type cast issue forces the extension method to configure the aggregate factory to be implemented in eventflow.dll and not eventflow.autofac.dll.
EXCEPTION DETAILS
An exception of type 'System.InvalidCastException' occurred in EventFlow.Autofac.dll but was not handled in user code
Additional information: [A] EventFlow.Configuration.Registrations.AutofacResolver cannot be cast to[B] EventFlow.Configuration.Registrations.AutofacResolver.Type A originates from 'EventFlow, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null' in the context 'Default' at location 'C:\Users\Jaco\Projects\EventFlowGuide\UsingAggregateState\bin\Debug\EventFlow.dll'. Type B originates from 'EventFlow.Autofac, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null' in the context 'Default' at location 'C:\Users\Jaco\Projects\EventFlowGuide\UsingAggregateState\bin\Debug\EventFlow.Autofac.dll'.
See https://github.com/JC008/EventFlow/tree/autofac-aggregatefactory for details

@JC008 The reason for your problem, might be that you are casting to the AutofacResolver of the EventFlow.dll assembly, which is different from the one in the EventFlow.Autofac assembly.
To fix it, will need to use the options.UseAutofacContainerBuilder(container) and then options.CreateContainer() with will make sure that the Autofac types are the same types that you use in your assembly.
Its basically a ILmerge/assembly internal problem.

That worked - thanks.


Fix Hapi events docs

description of logEvents options
description of log event
description of request event

#31

Coverage remained the same at 98.218% when pulling 35716c4ce40c2c8bb0f95fa0a5c39baef3c60448 on felixheck:hapi-events-docs into 91b8e0335402c69266b274d4a7d380768968bccd on pinojs:master.

Coverage remained the same at 98.218% when pulling eadff0fecd2fc350af61f1888271f2fe16ef00a5 on felixheck:hapi-events-docs into 91b8e0335402c69266b274d4a7d380768968bccd on pinojs:master.

Coverage remained the same at 98.218% when pulling 4fee551344e8de8d3f6223f31175e4972631b331 on felixheck:hapi-events-docs into 91b8e0335402c69266b274d4a7d380768968bccd on pinojs:master.

Coverage increased (+0.01%) to 98.229% when pulling 272b3cd2f4db106f8b53863bed3233723fbb1a87 on felixheck:hapi-events-docs into 91b8e0335402c69266b274d4a7d380768968bccd on pinojs:master.

Can you add unit tests for the code changes?

added tests for disabled and enabled logEvents = request-error

Coverage increased (+0.01%) to 98.232% when pulling 999c4146fd8269847c5b833b1f7b7932c93f7e26 on felixheck:hapi-events-docs into 91b8e0335402c69266b274d4a7d380768968bccd on pinojs:master.

Thanks, this is good work!
Do you want to help maintaining this? It seems you are using it with Hapi v17, and I'm currently not.

Would be glad!
Do you have already any plans when the changes got published via npm? :)

released as 3.1.0.


zeroclipboard cannot delegate event ?

Hi, again~
well, I read your wiki and found zeroclipboard cannot delegate event (exp: I new a zeroclipboard Object with a  never existed node, and just append that node. It won't works ).
Am I right or misunderstanding ?
so I now I find a way to do that by var client = new zeroclipboard(); and client.clip(node) every time after append it.
It works now.
Am I right or just a hack ?
I wanna do it better so I look into the code and found a param called "bubbleEvents", it seems that has no relation with delegate...

That's correct.  I put some effort into a jQuery wrapper for ZeroClipboard to help with this shortcoming (see https://github.com/zeroclipboard/jquery.zeroclipboard), though I never did much testing of it.  Feel free to try it out and file some issues if it isn't working.
Without using jQuery for event delegation, adding that concept into the ZeroClipboard codebase itself was simply a poor ROI: way too much code for not enough value.

Note to self: Should ensure that the documentation is clear about its lack of support for event delegation as it relates to clipping future elements.

Facing the same issue. This should be documented at the earliest. This is highly misleading


How to save stereo file?

Hello,
How can I save a stereo sound (2 elements on 0 axis) to a file using this library?
Best regards,
Maciej Błędkowski

Your data needs to be formatted frames x channels. Channels is always the second dimention in soundfile. Transpose your data if needed.


CORs policy enablement

💁♀ Summary
Clinical-UI portal needs to access the Infirmary API from a different server. Infirmary API currently blocks cross site access. Api throws the following error when attempting to access from a labcas-dev server:
"Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource."
📜 Reproduction
To reproduce as of Mon Nov 11 15:52 UTC 2020, do the following:

In the browser, open a new, non-incognito browser window.
In this window, visit http://labcas-dev.jpl.nasa.gov/clinical-ui
Log in following the prompts for username and password.
Login will fail with no response on the UI.
Check the developer console (ctrl-option-J)

The console should display the CORs error
🖥 Context
This seems to occur on Chrome 84.0.4147.125
🖼 Screenshot
N/A

@yuliujpl I've put into action on mcl-new.jpl.nasa.gov an update to Infirmary that includes these headers with responses:

Access-Control-Allow-Origin: *
Access-Control-Allow-Methods: POST,GET,DELETE,PUT,OPTIONS
Access-Control-Allow-Headers: Origin, Content-Type, Accept, Authorization
Access-Control-Allow-Credentials: true
Access-Control-Max-Age: 1728000

Please let me know if these help and if so, go ahead and close the issue. But if they don't work, leave a comment!

@yuliujpl I've also asked our sysadmins to make https://mcl-new.jpl.nasa.gov/clinical-ui/ be a reverse-proxy for labcas-dev/clinical-ui. When you access the application through that URL there should be no CORS issues because it's all same-origin.

@nutjob4life Thanks Sean! Sorry I just checked github and saw this comment.
I don't see the CORs error anymore but am seeing something else, but I think it might be related to my application itself. Once I troubleshoot and resolve it, then will follow up to confirm. Thanks Sean!

Unfortunately, I got this error:
Access to XMLHttpRequest at 'https://mcl-new.jpl.nasa.gov/infirmary//clinicalCores' from origin 'https://labcas-dev.jpl.nasa.gov' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: It does not have HTTP ok status.

@yuliujpl what if you try accessing the app from https://mcl-new.jpl.nasa.gov/clinical-ui/

Works! Thanks good sir!