pybackend2: get_xu-->"The property set specified does not exist"; set_pu-->HResult 0x8007001f: "A device attached to the system is not functioning."

Required Info

Camera Model
D455

Firmware Version
<IP_ADDRESS>

Operating System & Version
Win 10

Platform
PC

SDK Version
V 2.41.0

Language
python

Segment
others

Hi, I use D455 and try to run the example offered here.
I compile my pybackend2 according to the guides, but I install pyrealsense2 ( <IP_ADDRESS>24) by pip, then after compilation, I copied the compiled pyrealsense2.pyd and pybackend2.pyd under /Lib/site-packages.
Then when I run the script to line 53
ae = dev.get_xu(xu, 0xB, 1) # get XU value. args: XU, control #, # of bytes
I get the error:
hr returned: HResult 0x80070492: "The property set specified does not exist on the object."
If I skip the XU controls part and go to PU controls, when it is executed to line 64
 dev.set_pu(rs.option.gain, 32),
I get the error:
hr returned: HResult 0x8007001f: "A device attached to the system is not functioning."

Hi @skaudrey  Which version of Python are you using, please?

Hi @skaudrey Which version of Python are you using, please?

py3.6.12

Could you describe your overall installation process for librealsense, Python and the Python wrapper to me, please?  It sounds as though you are using a laptop or desktop PC and Python 3.6.  If you are using a laptop / desktop PC and not a device with an Arm processor such as Raspberry Pi or Nvida Jetson then you should be able to install the wrapper using the pyrealsense2 pip package.  This would mean that you could ignore the installation instructions about building the wrapper from source code.
Below is the pip-based installation method that I have used on my own Windows computer:

Install the full RealSense SDK using the Windows 10 automated installer from the SDK Releases page.

Install Python on Windows if it is not already installed.  At the tine of writing this, if you intend to install the RealSense Python wrapper with pip then do not install a Python version newer than Python 3.7.  The guide in the link below should be helpful for installing Python on Windows.

https://www.liquidweb.com/kb/how-to-install-python-on-windows/

This next stage is likely unnecessary for you if you are already usng pip but I will list it anyway for the benefit of other readers.  Install pip by downloading the file get-pip.py and opening a Windows command prompt at the location of the get-pip.py file.  Then input the following command to install pip: python get-pip.py

You can obtain the file by right-clicking on the link below and selecting the option for downloading a link.  It might be called Save Link As, Save Target As or something similar.
https://bootstrap.pypa.io/get-pip.py
This link is sourced from the Liquid Web guide to installing pip on Windows, which was the guide that I followed when documenting my own installation procedure for setting up pip.
https://www.liquidweb.com/kb/install-pip-windows/

Place the file in the root folder of your Python installation on Windows (e.g Python36 for Python 3.6 or Python37 for Python 3.7).

In the Windows command prompt, use the cd command to change directory to the Scripts sub-folder of the Python parent (e.g Python37/Scripts).  Enter the command pip into the Windows command prompt to check whether pip has been installed okay.

From that /Scripts folder, input the pip install command into the Windows command prompt to install the pyrealsense2 wrapper with pip:

pip install pyrealsense2

Could you describe your overall installation process for librealsense, Python and the Python wrapper to me, please? It sounds as though you are using a laptop or desktop PC and Python 3.6. If you are using a laptop / desktop PC and not a device with an Arm processor such as Raspberry Pi or Nvida Jetson then you should be able to install the wrapper using the pyrealsense2 pip package. This would mean that you could ignore the installation instructions about building the wrapper from source code.
Below is the pip-based installation method that I have used on my own Windows computer:

Install the full RealSense SDK using the Windows 10 automated installer from the SDK Releases page.

Install Python on Windows if it is not already installed.  At the tine of writing this, if you intend to install the RealSense Python wrapper with pip then do not install a Python version newer than Python 3.7.  The guide in the link below should be helpful for installing Python on Windows.

https://www.liquidweb.com/kb/how-to-install-python-on-windows/

This next stage is likely unnecessary for you if you are already usng pip but I will list it anyway for the benefit of other readers.  Install pip by downloading the file get-pip.py and opening a Windows command prompt at the location of the get-pip.py file.

You can obtain the file by right-clicking on the link below and selecting the option for downloading a link. It might be called Save Link As, Save Target As or something similar.
https://bootstrap.pypa.io/get-pip.py
This link is sourced from the Liquid Web guide to installing pip on Windows, which was the guide that I followed when documenting my own installation procedure for setting up pip.
https://www.liquidweb.com/kb/install-pip-windows/
Place the file in the root folder of your Python installation on Windows (e.g Python36 for Python 3.6 or Python37 for Python 3.7).

Once the get-pip.py file is in the root folder of your Python installation, use the cd command in the Windows command prompt to change directory to the Python root folder and input the following command to install pip:

python get-pip.py

In the Windows command prompt, cd to the Scripts sub-folder of the Python parent (e.g Python37/Scripts).  Enter the command pip into the Windows command prompt to check whether pip has been installed okay.
Finally, from that /Scripts folder, input the pip install command into the Windows command prompt to install the pyrealsense2 wrapper with pip:

pip install pyrealsense2
This command should install the latest version of the pip pyrealsense2 file from the PyPi pyrealsense2 file download archive for the Python 3 version that you have got installed.

Hi, here's what I did while installing on my laptop (win10 x64):

My python (3.6.12) is installed by anaconda previously.
Then I install realsense SDK 2.0 from the link you mentioned in your reply.
Then run pip install pyrealsense2.
Then I try to run pybackend_example_1_general.py. But the pybackend2 cannot be found. So I compile the source codes according to the instructions, and just copy the compiled realsense2.pyd, pybackend2.pyd to Lib/site-packages. After this import pybackend2 works.
Then try to run the  pybackend_example_1_general.py, I got the error I described.

B.T.W.,
I also tried uninstall all (realsense SDK and pyrealsense2), then reinstall realsense SDK, pip install pyrealsense2. And to make the scripts works on import pybackend2, directly copy files realsense2.pyd, pybackend2.pyd created by running pip to Lib/site-packages. The error is the same.

I recall from a recent case that if Conda is being used then the PYTHONPATH used to direct the Python wrapper to where Python is installed on the computer may be different from the ones typically used with Python.
https://github.com/IntelRealSense/librealsense/issues/8184#issuecomment-770365205

I recall from a recent case that if Conda is being used then the PYTHONPATH variable used to direct the Python wrapper to where Python is installed on the computer may be different from the paths typically used with Python.
#8184 (comment)

Well, pip3 and add PYTHONPATH to system environments still don't work.

I went back to the start of the case and re-read it to seek new insights.
How I read it is that you installed the Python wrapper using pip install pyrealsense2 but the pybackend_example_1_general.py example script that you tried with it did not work.
So you tried building the Python wrapper from source code instead.   You then copy the compiled realsense2.pyd, pybackend2.pyd to Lib/site-packages.  It seems as though this is the stage of the process where it changes from the recommended instructions and goes wrong.
The Windows version of the wrapper's instructions for building from source code ask that the pyrealsense2.pyd file be coped to \Lib\site-packages but your method copies realsense2.pyd and pybackend2.pyd to that folder instead.  This would suggest that your installation process should be to put  pyrealsense2.pyd into the Lib/site-packages folder.
In your BTW you then try copying realsense2.pyd and pybackend2.pyd into the Lib/site-packages folder.   This too does not meet the recommendation of the instructions to install pyrealsense2.pyd into that folder (not pybackend2.pyd).
I hope that the above information is helpful.

I went back to the start of the case and re-read it to seek new insights.
How I read it is that you installed the Python wrapper using pip install pyrealsense2 but the pybackend_example_1_general.py example script that you tried with it did not work.
So you tried building the Python wrapper from source code instead. You then copy the compiled realsense2.pyd, pybackend2.pyd to Lib/site-packages. It seems as though this is the stage of the process where it changes from the recommended instructions and goes wrong.
The Windows version of the wrapper's instructions for building from source code ask that the pyrealsense2.pyd file be coped to \Lib\site-packages but your method copies realsense2.pyd and pybackend2.pyd to that folder instead. This would suggest that your installation process should be to put pyrealsense2.pyd into the Lib/site-packages folder.
In your BTW note, you then try copying realsense2.pyd and pybackend2.pyd into the Lib/site-packages folder. This too does not meet the recommendation of the instructions to install pyrealsense2.pyd into that folder (not pybackend2.pyd).
I hope that the above information is helpful.

Sorry, my bad for the typos.
It's pyrealsense2.pyd, always.
Here I list what I have under Lib/site-packages

Thanks for the update.  The filename and location of your pyrealsense.2 pyd file look okay.  And you have already defined your PYTHONPATH variable.
Which path to your Python Conda did you use for PYTHONPATH, please?

If placing pyrealsense2.pyd into the Lib/site-packages folder is not working for you then you still have the alternate method available of placing files in the same folder as your Python test script by copying pyrealsense2.cp36-win_amd64.pyd and realsense2.dll to that folder.
You can find pre-made x64 versions of these two files for the particular Windows librealsense SDK version that you are using by navigating to the SDK folder location below:
C: > Program Files (x86) > Intel RealSense SDK 2.0 > bin > x64

Thanks for the update. The filename and location of your pyrealsense.2 pyd file look okay. And you have already defined your PYTHONPATH variable.
Which path to your Python Conda did you use for PYTHONPATH, please?
If placing pyrealsense2.pyd into the Lib/site-packages folder is not working for you then you still have the alternate method available of placing files in the same folder as your Python test script by copying pyrealsense2.cp36-win_amd64.pyd and realsense2.dll to that folder.
You can find pre-made x64 versions of these two files for the particular Windows librealsense SDK version that you are using by navigating to the SDK folder location below:
C: > Program Files (x86) > Intel RealSense SDK 2.0 > bin > x64

Hi, thank you for your patience.
Here's the setting of environment variables:

where 1 is the path of my anaconda, 2 is the PYTHONPATH and Path variable, 3 is the concrete value of Path.
P.S., Under this envorionment setting, try to copy the files you mentioned to the path where the script is doesn't help.

I located a complete guide for doing a Python wrapper installation on Anaconda and Windows that a RealSense user created based on advice provided earlier in the same case by a RealSense team member.
https://github.com/IntelRealSense/librealsense/issues/1657#issuecomment-388734684

Hi @skaudrey  Do you require further assistance with this case, please?  Thanks!

Case closed due to no further comments received.


setDefaults not working + suggested solution

hi
the jQuery.validator.setDefaults({...}) is not working and not updating the settings.
i've suggested a fix here
http://stackoverflow.com/questions/11612939/invalidhandler-setdefault-ignored-in-validator-call-jquery-validation-plugin/24369083#24369083

I have the same problem.
Details:
jQuery v1.11.3
jQuery validator v1.13.1
//main.js ----
$.validator.setDefaults({
 //options including 'rules', etc.
})
// -----------

//manager.js ----
$('form').validate()
// -----------

But no apply the default settings!
Additional information:

jQuery validator is loaded before main.js
main.js is loaded before manager.js

Thanks in advance for any solution.

Please provide an actual testpage that shows the problem. Code snippets are insufficient. Also, commenting on closed tickets is generally a bad strategy.

I noticed the same issue with jQuery 1.9.1. (setDefaults() not working properly).

Same problem jQuery 2.2.3 + jQuery-Validation 1.15.0 + jQuery.validate.unobtrusive.js

https://jsfiddle.net/3uznxttf/5/

i have the same error,but a solved just calling first jquery and then jquery validator... its weard, but its works.

Same problem jQuery 2.2.3 + jQuery-Validation 1.17.0
See RouR's page above - I just changed the jQuery library to 1.17.0 and it still fails to highlight/unhighlight.

I did not check it further, but as 2 people report the same error we should investigate...

Just an update - I had a colleague add the code to the setDefaults() function and it is now working.  Not much different.  Perhaps a different location in the setup but otherwise nothing that should have impacted this.
Thanks for re-opening however I now have a working 'setDefaults()' function.

I experienced this issue as well but in my case I had one earlier project working fine and the new one was not working. In both cases I had the same version of jQuery (2.2.0), jquery-validation (1.14.0) and jquery-valdiation-unobtrusive(3.2.6). After a lot of back and forth trying to figure out what was different between these two projects it simply boiled down to the order in which the scripts were loaded.
setDefaults was NOT working when order was:

jQuery
jQuery Validation
jQuery Validation Unobtrusive
My custom script to set the defaults

setDefaults DID work when order was:

jQuery
my custom script to set the defaults
jQuery Validation
jQuery Validation Unobtrusive

To clarify - my custom script that updates the defaults is in a jQuery doc ready and wrapped with an if($.validator){ }. So it won't execute before the validation scripts load, but for whatever reason the exact same code being loaded AFTER the validation scripts load will result in the setDefaults being ignored.
Unfortunately I don't have a code-solution for you, but I did want to add the extra information that may help with a fix.

I had a similar experience as @Eltargrim.
The only way I could get it to work was in between jQuery Validation and unobtrusive.
Versions:

jQuery | 3.3.1
jQuery Validation | 1.17.0
jQuery Validation Unobtrusive | 3.2.10

My problem stemmed from #1729. The final comment on that thread is the problem that I am currently having.

I'm not quite sure how the validation works, but prior to this issue, I assumed it didn't occur until the form submit.

Like @jeremycook I believe this issue shows up when using ASP.NET's unobtrusive validation. The unobtrusive validation library calls the validate method passing in options which overrides the defaults.
Therefore I think it can probably be closed.

on jQuery Validation Plugin v1.17.0
try
$.extend($.validator.messages, {
required: "Ur message",
});


Script to create a plan from query

I'm writing a shell script to create a plan from query and got to the following curl command:
echo "$PLAN" | curl -s -w '%{redirect_url}' --data-urlencode plan@- -X POST 'https://explain.dalibo.com/new'

It returns an url to the plan, but then the url returns error 500. It's https://explain.dalibo.com/plan/0424...hacb (I can post full URL if you want, but I suppose you can see that in logs somewhere). Any pointers on what's wrong the the query? $PLAN in question is a JSON from postgres.

Thanks for the report. Currently, the POST is requiring title and query to be set to at least an empty string.
The following curl command works.
curl -Ls -w %{url_effective} -d '{"plan":"Seq Scan on tenk1 (cost=0.00..333.00 rows=10000 width=148)", "title": "", "query": ""}' -H "Content-Type: application/json" -X POST https://explain.dalibo.com/new -o /dev/null

I'll try to fix the code so that those parameters are not required.


feat: adds license file 'CC-BY-4.0.txt' in the corresponding director…

…y 'LICENSES'.

Description
This pull requests adds the license file 'CC-BY-4.0.txt' in the corresponding directory 'LICENSES' in order to fulfill that release guideline: https://eclipse-tractusx.github.io/docs/release/trg-7/trg-7-08

Pre-review checks
Please ensure to do as many of the following checks as possible, before asking for committer review:

[ ] DEPENDENCIES are up-to-date. Dash license tool. Committers can open IP issues for restricted libs.
[ ] Copyright and license header are present on all affected files

@SebastianBezold and @carslen hopefully this addition can be added to our upcoming release without too much issues.

@SebastianBezold and @carslen hopefully this addition can be added to our upcoming release without too much issues. Thank you very much for your support!

HI @mknoopvw, no issue at all. But question for clarification: Are you planning to put any documentation under CC-BY-4.0? You only need to add the License, if you are planning to release parts of the repo under the CC-BY.
AFAIK, the only file that has to go under CC-BY as agreed with our project leads is the Adoption View specific to KITs.
You are of course free to also put other content under CC-BY, as long as the main repo License is still Apache-2.0.
All code has to be licensed under Apache-2.0 and technical documentation is also usually licensed under Apache-2.0
/cc @AngelikaWittek

Hello @SebastianBezold -- very good question!
I do not know. I just the TRG and obviously missed that this is optional.
Nonetheless, I would like to proceed as this cannot be missing later on then.
Thank you very much!

Adjusted to aim at "develop" to use "develop" as source for tags for the release candidates.

After reconsidering, I will close this PR as MIW currently does have artefacts requiring the CC-BY-license to be present.


[AutoPR azure-iot-deviceupdate] add sample readme.typescript.md

Create to sync https://github.com/openapi-env-test/azure-rest-api-specs/pull/3128
You can install the use using pip install of the artificats.

API change check for azure-iot-deviceupdate
API changes have been detected in azure-iot-deviceupdate. You can review API changes here


hello_evo.ipynb code error

Is this code written incorrectly? There is no output key in the output

Fixed in https://github.com/evo-design/evo/pull/78


Search only for timestamps under a specific heading

⚠ Please check that this feature request hasn't been suggested before.

[X] I searched previous Issues didn't find any similar feature requests.
[X] I am only requesting a single feature. Multiple changes should be split into individual requests, with links between them.
[X] I believe my requested feature will be generally applicable to other users, not just me: it is not uniquely tied to my personal workflow.

🔖 Feature description
In my journal, there are two headings ("Heading 1" and "Heading 2"), both with time-attached content. However, I only want the day planner to summarize the events or tasks recorded under "Heading 1".
Because I use "Heading 1" to record the time occupied by everyday things, and under "Heading 2" I use it to record temporary thoughts and inspirations, I don't want to be counted in the chart.
✔ Solution
Add a function: limit the search under a certain heading, and only display the items under this heading in the picture
❓ Alternatives
No response
📝 Additional Context
No response

I second this feature request, and IMO it already be the default behaviour if the user has set a value for the "Planner Heading Text" setting.
I have a similar workflow as the OP and having any timestamp I add anywhere in my daily note treated as a time-block in the day planner is very frustrating.
I had resorted to the workaround of adding an "x" before timestamped lines but it seems that the latest release now searches the entire line not just the start of it for a timestamp, and I have no way of opting out of this.
Regarding a specific implementation, I suggest a checkbox named "Only show timestamps under planner heading" in the Planner Heading section of the settings.

This is a duplicate of #382


Mixin for slotted RenderObjectWidgets and RenderBox

Fixes https://github.com/flutter/flutter/issues/94075.
The newly provided SlottedMultiChildRenderObjectWidgetMixin and SlottedContainerRenderObjectMixin make it easier to implement RenderObjectWidgets, who have multiple children that are organizes in slots. In particular, it removes the need to implement a custom Element.
To show how this can simplify these kind of render object widgets, the ListTile, Chip, and Decoration widget have been refactored to use the new concepts.

/cc @HansMuller @justinmc @gspencergoog @Hixie I'm interested in what you think about this.

Even though our code base is now littered with examples of the new mixins in action, it would be helpful to include an as simple as possible, example along with them. Developers are likely to want to start by copy and pasting something and then hacking it up. Best if they don't have prune InputDecorator (or whatever) for that.

Even though our code base is now littered with examples of the new mixins in action, it would be helpful to include an - as simple as possible - example along with them.

Agreed. I am working on one. While doing so I realized that the SlottedContainerRenderObjectMixin can do even more lifting (e.g. attach/detach children, etc.).

This looks really cool, something we've needed for a long time.


Bat Beacon Limit Bug

Describe the bug
A user reported that the Bat Beacon wasn't respecting limits and spawning endless bats. This needs to be investigated.

Snowz — Today at 10:15 AM
Cheb Gonaz I apologize for the ping, but it appears limiting the bats spawn isn't working properly. I have it set to 5 and they still spawn 20+ bats, even after server restart and its causing some lag. Would you happen to know a workaround/fix?
MY guess is the max bats is, max bats per enemy presence. Going to lower the time they last and bring up how many spawns
Cheb Gonaz — Today at 10:30 AM
it's ok, thanks for telling me. I'll take a look
Snowz it's supposed to work like you describe. But the limit is per Bat Beacon. So if the limit is set to 5, but you have 4 beacons, you'll get 20 bats. If you have the limit set to 5 and you've only got one beacon and it's making endless bats, that's a bug unfortunately
Snowz — Today at 10:37 AM
I see, yeah lowering the time they stick around definitely helped, I might lower their sight as well because they seem to be spawning even with no enemies around. I have it at default, going to halve it to see if they still just keep respawning.
Cheb Gonaz — Today at 10:37 AM
Ok good. I'll double check the Bat Beacon later to see if it's working properly and get back to you

Bug confirmed

This actually affects all pylons with enumerators. They get added twice for some reason. I don't really know how that happens because we check if the component is there in the awake patch, but somehow it happens anyway. Maybe we gotta replace it with a TryGetComponent. But for now I just removed adding it to the prefab on loading and leave it only in the Awake patch


Manage state for each pipeline request

As a Pipeline Runner/ HKube Manager I want that HKube will manage state for each pipeline request, so that I can understand quickly the execution status of the request.
The following states will be managed:
Pending - upon receiving pipeline request
Active - the execution of one of the pipeline's algorithms started
Completed - the execution of all pipeline's algorithms was completed successfully
Failed - pipeline execution failed (e.g. one of its algorithm execution failed)
Stopped - pipeline execution stopped due to user request

TID-70

pipeline state management  Test
File:tid_70.js
describe : "TID-70- pipeline state management (git 55)"

Test
description

Received  status-completed
execute pipeline and  validate the status

Received  status-active
execute pipeline and  validate the status

Received  status-failed
execute pipeline and  validate the status

Received  status-stop
execute pipeline and  validate the status

Received  status-pending
execute pipeline and  validate the status


Extension request: CodeTour

[ ] Extension name: CodeTour
[ ] Extension GitHub or homepage: https://github.com/vsls-contrib/codetour

This allows a developer to get a live tour of the codebase with injected "comments" similar to Google Docs.

Thank you for your request! The extension is now live in the code-server extension marketplace.

Investigating an issue with the asset built from source...

Thank you for your request! The extension is now live in the code-server extension marketplace.


Hide copy button on inline code until hover

It looks a bit noisy when every inline code segment has a "copy" button:

In my experience, inline code is most often used as a way of indicating parameter names or file names, and not, say, a CLI command or extended code. The example above, from the Waypoint wiki, demonstrates this.
I suggest either removing the copy button altogether, or hiding it until hover (or click on touch devices).

This is not issue with Fornax itself (which is just execution engine) but with the template provided by Waypoint. I'll transfer the issue to Waypoint repo.


Translator: Internal improvements

In order to properly support (and fix) choice messages, we need access to the message selector. Unfortunately, the selector is private under Symfony's Translator class.
To circumvent this limitation, we need to define our own selector property and require from the constructor.
Changes:

Added protected getter for the LocalesManager (for subclasses)
Added setter/getter for the MessageSelector
Added Symfony's MessageSelector to the service provider
Updated Translator to use the manager's getter
Changed visibility to protected for isValidTranslation() (for subclasses)
Fixed choice message in translateChoice() and translationChoice()

Note: Unit tests are already completed but will be featured in a future commit, after this is merged.

Coverage decreased (-0.6%) to 32.794% when pulling d3d64351a151819ffd98eff01e2ad532dbaf1fcc on mcaskill-patch-2 into 4108dbc20b985146974c6444a89517d54dbfb904 on master.

Coverage decreased (-0.6%) to 32.794% when pulling 7132d9cb777cc48bb049bafe7e60f63b0a56a880 on mcaskill-patch-2 into 4108dbc20b985146974c6444a89517d54dbfb904 on master.

Coverage decreased (-0.6%) to 32.794% when pulling ee77d6c113088876f955e4dde4372ab778692f88 on mcaskill-patch-2 into 4108dbc20b985146974c6444a89517d54dbfb904 on master.


init container always running as root even when sidecar enablePrivilegedInitContainer flag not set

Bug description: Even when the meshconfig has enablePrivilegedInitContainer set to false, the injected sidecar image tries to run as root user, which causes the sidecar container to fail with the following:
Error: container has runAsNonRoot and image will run as root (pod: "", container: osm-init)
This results in the pod not coming up with Init:CreateContainerConfigError
I have verified via 'kubectl get pod -o yaml ' that the init container has the following under the security context:
securityContext:
capabilities:
add:
- NET_ADMIN
privileged: false
Init container image: mcr.microsoft.com/oss/openservicemesh/init:v0.11.1
Affected area (please mark with X where applicable):

Install                    [ ]
SMI Traffic Access Policy  [ ]
SMI Traffic Specs Policy   [ ]
SMI Traffic Split Policy   [ ]
Permissive Traffic Policy  [ ]
Ingress                    [ ]
Egress                     [ ]
Envoy Control Plane        [ ]
CLI Tool                   [ ]
Metrics                    [ ]
Certificate Management     [ ]
Sidecar Injection          [ X]
Logging                    [ ]
Debugging                  [ ]
Tests                      [ ]
Demo                       [ ]
CI System                  [ ]

Expected behavior: Sidecar init container doesn't run as root user and the pod comes up.
Steps to reproduce the bug (as precisely as possible):

Onboard the namespace to osm with 'osm namespace add '
Restart all pods in namespace with 'kubectl delete pods --all -n  '
Wait for pods to come up but they fail to

How was OSM installed?: osm installed via azure using
az aks enable-addons --resource-group $RG --name $CLUSTER_NAME --addons open-service-mesh
All default values used during installation.
Anything else we need to know?:
Bug report archive:

Environment:

OSM version (use osm version): v0.11.1
Kubernetes version (use kubectl version):
Client Version: version.Info{Major:"1", Minor:"22", GitVersion:"v1.22.1", GitCommit:"632ed300f2c34f6d6d15ca4cef3d3c7073412212", GitTreeState:"clean", BuildDate:"2021-08-19T15:38:26Z", GoVersion:"go1.16.6", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"20", GitVersion:"v1.20.7", GitCommit:"b55a30656180655e4773309bc68268b87394142f", GitTreeState:"clean", BuildDate:"2021-11-01T16:42:19Z", GoVersion:"go1.15.12", Compiler:"gc", Platform:"linux/amd64"}
Size of cluster (number of worker nodes in the cluster): 5
Others:

I cannot reproduce this issue. Can you try again?
I used:

Azure AKS with OSM addon.
OSM version is 0.11.1
enablePrivilegedInitContainer is confirmed set to false.

When I checked the osm-init container definition, I neither found securityContext section.

I tried again, and once again the osm-init container is failling to come up.
Warning  Failed                  5s (x6 over 66s)  kubelet                  Error: container has runAsNonRoot and image will run as root (pod: "_dev(5f1e8a6e-5536-4c7c-815d-90151ac98cdc)", container: osm-init)
Likewise, my osm-init container has a security context section when I run 'k get pod  -o yaml'

@Shrizo could you provide the security contexts of the pod and the container (not the init container)? I am going to try and repro with all the same security context conditions

Even when the meshconfig has enablePrivilegedInitContainer set to false, the injected sidecar image tries to run as root user, which causes the sidecar container to fail

Note that privileged init container is disabled because "privileged" grants more permissions than  root -- this elevated permission is not required except in very specific conditions (ex: on certain k8s distros). The init container is independently set to run as root (user 0) because it requires root permissions to finish scheduling. I suspect this error is caused by some other security context conflicts at pod vs container level

Thanks for explaining the difference between privileged and root - I didn't realize there was one at first.
The security context on the envoy container:
securityContext:
      runAsUser: 1500

The security context on my container:
securityContext:
      allowPrivilegeEscalation: false
      capabilities:
        drop:
        - ALL
      privileged: false
      readOnlyRootFilesystem: true

The security context on the pod:
  securityContext:
    fsGroup: 1001
    runAsNonRoot: true
    seccompProfile:
      type: RuntimeDefault

I see there is a mismatch as you stated between the pod and container security contexts.  If this is set and required for the pod for security reasons, how will setting the uid of the init container user to 0 (root) help?

@Shrizo I was able to repro this with your security contexts. I believe the cause is that containers default to user ID 0 when runAsUser is not set, so when you set runAsNonRoot: true at the pod level but do not explicitly set the UID of the containers, pod tries to validate non-root while container tries to run as root and you get an error. The original CreateContainerConfigError error from osm-init will get resolved by the change in our next release that sets the osm-init to root. Based on my repro using the upcoming release, you will then get the same error on your app container. You should be able resolve this by setting a runAsUser value explicitly in either the pod or container security context. Could you try this out once v1.0.0 is out on the AKS add-on and let me know if you run into any errors?

If this is set and required for the pod for security reasons, how will setting the uid of the init container user to 0 (root) help?

osm-init does have to run as root to finish scheduling, but you may apply the security contexts you require for security reasons to the pod which will apply it to any containers that do not have a user ID set in their security contexts.

@Shrizo I was able to repro this with your security contexts. I believe the cause is that containers default to user ID 0 when runAsUser is not set, so when you set runAsNonRoot: true at the pod level but do not explicitly set the UID of the containers, pod tries to validate non-root while container tries to run as root and you get an error. The original CreateContainerConfigError error from osm-init will get resolved by the change in our next release that sets the osm-init to root. Based on my repro using the upcoming release, you will then get the same error on your app container. You should be able resolve this by setting a runAsUser value explicitly in either the pod or container security context. Could you try this out once v1.0.0 is out on the AKS add-on and let me know if you run into any errors?

If this is set and required for the pod for security reasons, how will setting the uid of the init container user to 0 (root) help?

osm-init does have to run as root to finish scheduling, but you may apply the security contexts you require for security reasons to the pod which will apply it to any containers that do not have a user ID set in their security contexts.

@SanyaKochhar can we document the app requirements around SecurityContext at https://main--osm-docs.netlify.app/docs/guides/app_onboarding/prereqs/


no syntax highlighting

When I run julia-ts-mode out of the box, there's no syntax highlighting.
I see this is *messages*
Error during redisplay: (jit-lock-function 1) signaled (treesit-query-error "Node type error at" 350 "(assignment (identifier) @font-lock-variable-name-face (_)) (assignment (field_expression (identifier) \".\" (identifier) @font-lock-variable-name-face) (operator)) (assignment (bare_tuple (identifier) @font-lock-variable-name-face)) (assignment (bare_tuple (field_expression (identifier) \".\" (identifier) @font-lock-variable-name-face)) (operator)) (local_statement (identifier) @font-lock-variable-name-face) (let_binding (identifier) @font-lock-variable-name-face) (global_statement (identifier) @font-lock-variable-name-face)" "Debug the query with `treesit-query-validate'")
Error during redisplay: (jit-lock-function 1501) signaled (treesit-query-error "Node type error at" 350 "(assignment (identifier) @font-lock-variable-name-face (_)) (assignment (field_expression (identifier) \".\" (identifier) @font-lock-variable-name-face) (operator)) (assignment (bare_tuple (identifier) @font-lock-variable-name-face)) (assignment (bare_tuple (field_expression (identifier) \".\" (identifier) @font-lock-variable-name-face)) (operator)) (local_statement (identifier) @font-lock-variable-name-face) (let_binding (identifier) @font-lock-variable-name-face) (global_statement (identifier) @font-lock-variable-name-face)" "Debug the query with `treesit-query-validate'")
Error during redisplay: (jit-lock-function 3001) signaled (treesit-query-error "Node type error at" 350 "(assignment (identifier) @font-lock-variable-name-face (_)) (assignment (field_expression (identifier) \".\" (identifier) @font-lock-variable-name-face) (operator)) (assignment (bare_tuple (identifier) @font-lock-variable-name-face)) (assignment (bare_tuple (field_expression (identifier) \".\" (identifier) @font-lock-variable-name-face)) (operator)) (local_statement (identifier) @font-lock-variable-name-face) (let_binding (identifier) @font-lock-variable-name-face) (global_statement (identifier) @font-lock-variable-name-face)" "Debug the query with `treesit-query-validate'")

I'm running emacs v30, and have other treesit major modes working.

https://github.com/tree-sitter/tree-sitter-julia/commit/41eb1c17d2dd76524279afdac61966bae790048b
likely due to this change in the grammar

Hi! It is working perfectly here. Did you update the grammar to the latest version?

oh boy that might be it, i didn't realize how old the version in nixpkgs was

I am indeed using nix, I saw your comment @vale981 @ https://github.com/NixOS/nixpkgs/pull/242138
I had to recompile emacs with     # treesit-grammars.with-all-grammars
but it's working now, thanks! gonna close.


Fix GitHub Actions CI

This fixes the ci tests through GitHub Actions along with a few small changes (like adding entry to .gitignore).

Awesome, looks good! Thanks for fixing this!


Testing: add file comparison.

At the moment, the tests validate that the code runs. It also provides a lot of examples for the users of gofpdf.
However, it doesn't test if functionality is as expected. This is particularly important when changing functionality or adding new features.
My suggestion for this would be to have a set of pre-defined PDFs (the ones that are generated through the examples now) and compare the same PDF generation instructions to those PDFs. This assures that new/changed code wouldn't change old output (unintentional).
To do this, there needs to be a change to the way the file gets parsed. At the moment, time.Now() is used to put the creation date in place. This makes it tricky to compare the file as this date always changes and thus the output will always be different.
I'm suggesting a simple Clock implementation here to make it possible to mock this out during tests.
I have made a rough version of how this could work here: https://github.com/jung-kurt/gofpdf/compare/master...jelmersnoeck:test-comparison?expand=1
Would you be open to accept this kind of system for testing output? (Note, the version above is a POC, the actual implementation will probably be a bit different)

Excellent solution to a real problem. This will definitely be accepted into the project.
We could either have a set of pre-generated PDFs with which the test results can be compared, or maintain a hash of each file and compare those values.
I have been reluctant to include PDFs in the repository because their internal time fields would result in a lot of commit noise or cumbersome workarounds. But since your solution removes this variability, we may want to consider including PDFs not only for test comparisons but as samples for people investigating the project. Links could be provided from the README.

Is it certain that there are no non-deterministic elements in the PDF syntax? Given the nature of the format, it's very easy for two files to look identical but be written differently. For example, might Windows and Linux calculate font weights differently and so break strings directly?
If this question has a satisfactory answer, this sounds like a good solution.
As neat as it would be to compare file hashes, keeping the PDFs gives you the chance to compare diff and see what's changed, which would be useful for debugging.

Good points, @marcusatbang. We also need to consider changes between versions of the compiler and standard library. For example, images could be constructed with slightly different internal values.

This can probably be answered by testing rather than guessing. @jung-kurt, do you want to check in some standard tests and I'll see what I get on Windows?
Unless there's since way of testing if two files are equivalent, rather than equal?

@marcusatbang That is a very good point. I am actually running some more tests and seeing some failures on comparison. I will dig into it more and see what the issue is an if this is solvable.

I've thought about this some more. I'm increasingly starting to think that anything that produces different outputs for the same input is by definition a bug, whether the cause is platform dependent or not.

I'm sorry, I haven't had much time to work on this yet.
I agree though, it should - especially if it's on the same platform where I'm testing - always generate the exact same output. One thing I thought of was maybe that outputting data to a file might be slightly different than outputting it to a buffer. Once I start digging into it more, I'll see what actual file comparison gives.

I just approached this from a different angle. This branch compares the bytes of an example PDF with those of a reference file. The /CreationDate value is effectively ignored by replacing it with a fixed value during the comparison. This makes the process transparent to the PDF generation code as well as the example code.
I have not yet tried comparing reference files with PDFs generated on a different platform or with a different version of the standard library.

I like the way this automatically generates the reference file when the example is run for the first time! That way all the examples immediately start being a reference for the future. (It might be a little bit of a pain when you build the example though)
I am wondering though, we should probably not ignore the reference files? I'm thinking that we want a set of files already there, as an actual reference, which are correct. When someone changes code then, they can see when one of those files has been changed in their git status (or in a pull request).
I'm however not a big fan of the regex replacement for the creation date. It is fine for the core examples, but for external usage (and testing) this might be a bit of a pain. It relies on knowing exactly how the CreationDate is used in the PDF. If this expands - for example when you actually print the creation date on the page - this would not work either.

(It might be a little bit of a pain when you build the example though)

Maybe we could address this by treating a zero-length reference file as a match. During development of an example, one could use touch pdf/reference/foo.pdf to create, or cat /dev/null > pdf/reference/foo.pdf to truncate, the reference file.  Alternatively, I am game to simply having a single command generate them all. Unchanged examples will produce unchanged PDFs, so git won't be given a bunch of spurious changes.

I am wondering though, we should probably not ignore the reference files?

You mean in .gitignore? I completely agree -- that was just a temporary directive.

I'm however not a big fan of the regex replacement for the creation date. It is fine for the core examples, but for external usage (and testing) this might be a bit of a pain. It relies on knowing exactly how the CreationDate is used in the PDF. If this expands - for example when you actually print the creation date on the page - this would not work either.

I'm not sure I understand. This scheme is intended to work only with the example files that gofdpf_test (or test programs beneath contrib) produces, and the CreationDate tag is generated by gofpdf itself, so we have complete control over its format. If you're referring to some example using text that matches the expression (for example /CreationDate (D:20151009064231)) right in the page content, the matching scheme would still work correctly, and the example PDF would still have the intended contents. Only the reference PDF would have altered contents, but that is acceptable in my opinion.

With external libraries I mean applications using gofpdf internally (so not the core library). Thinking of that again, if we make the regex public, that could help as well.
The idea to do this came out of this instance for me personally, as we produce several PDFs, and being able to test that these do not change trough other criteria would be great.

Would your purposes be met if gofpdf exported a utility function that simply compares two specified PDFs? That way, the exact methods of comparison would be hidden and could change without breaking the interface.

@jung-kurt if we can export a helper to do that, that'd be great! We can then indeed leave the core library alone and replace both of the CreationDate instances with a fixed date.

@jelmersnoeck I'll proceed with that approach. One restriction that I will document is that it will be assumed that the specified PDFs were each produced by gofpdf.

Perfect! That makes sense yes.

How important is it that we identify the actual differences rather than simply report whether the PDFs are equal or not?

I think it could be quit useful to have, especially for subtle differences.
One example (rather simple though) I can think of is font colours. If for some reason it changes slightly from what we expect, we'd like to know. These changes might not always be visible to the eye.

We can aim for a dump something like diff would produce, for example,
00000230  44 46 20 31 2e 37 29 0a  2f 43 72 65 61 74 69 6f  |DF 1.7)./Creatio|
00000240  6e 44 61 74 65 20 28 44  3a 32 30 31 35 31 30 30  |nDate (D:2015100|
00000250  38 31 32 33 30 34 35 29  0a 3e 3e 0a 65 6e 64 6f  |8123045).>>.endo|

This could be potentially noisy in cases where there are a lot of differences, but that should not really happen often.

I just implemented a rudimentary byte-difference display (see this branch) and discovered a source of variations within the PDFs generated by gofpdf. Anywhere a map is used, for example with fonts and images, the resulting embedded resource dictionary may vary from run to run. This is embarrassingly obvious in hindsight but evaded me until I wrote the byte-difference routine. The solution will be to wrap all map iterations in a routine that sorts the map keys.

I come late to the party, but I am really excited about this idea.
I would advise against using a regex. How about exposing a method which can
set manually set the time? If there is no manual time set, time.Now() is
used.
Good idea to sort the map keys, but that should be optional (opt-in for
debugging). Otherwise it might have a unnecessary negative performance
impact on the gofpdf library.
Keep up the good work,
Stani
On Fri, Oct 9, 2015 at 10:00 PM, Kurt Jung<EMAIL_ADDRESS>wrote:

I just implemented a rudimentary byte-difference display (see this branch
https://github.com/jung-kurt/gofpdf/compare/compare-reference-pdf) and
discovered a source of variations within the PDFs generated by gofpdf.
Anywhere a map is used, for example with fonts and images, the resulting
embedded resource dictionary may vary from run to run. This is
embarrassingly obvious in hindsight but evaded me until I wrote the
byte-difference routine. The solution will be to wrap all map iterations in
a routine that sorts the map keys.
—
Reply to this email directly or view it on GitHub
https://github.com/jung-kurt/gofpdf/issues/46#issuecomment-146973671.

I would advise against using a regex. How about exposing a method which can set manually set the time? If there is no manual time set, time.Now() is used.

Easily done. However, this will require some additional code in the test routines. I'd like to do this without confusing users who are looking to the examples as the easiest way to accomplish a given task. Any ideas?

Good idea to sort the map keys, but that should be optional (opt-in for debugging). Otherwise it might have a unnecessary negative performance impact on the gofpdf library.

Excellent idea. Again, it would be nice to make this as transparent as possible in the example code.

Interesting regarding the differences with usage of maps. Just to understand this issue, how exactly is the map different from run to run?
Is the internal state of the map different (so at one point it is in the form of map[string]int{"key1": 1, "key2": 2}, another time it is map[string]int{"key2": 2, "key1": 1}) or is the way the map is iterated over different?

Just to understand this issue, how exactly is the map different from run to run?

From The Go Programming Language Specification:

The iteration order over maps is not specified and is not guaranteed to be the same from one iteration to the next.

It is randomized on purpose:
"When iterating over a map with a range loop, the iteration order is not
specified and is not guaranteed to be the same from one iteration to the
next. Since Go 1 the runtime randomizes map iteration order, as
programmers relied on the stable iteration order of the previous
implementation. If you require a stable iteration order you must maintain a
separate data structure that specifies that order."
https://blog.golang.org/go-maps-in-action
On Fri, Oct 9, 2015 at 10:30 PM, Jelmer Snoeck<EMAIL_ADDRESS>wrote:

Interesting regarding the differences with usage of maps. Just to
understand this issue, how exactly is the map different from run to run?
Is the internal state of the map different (so at one point it is in the
form of map[string]int{"key1": 1, "key2": 2}, another time it is map[string]int{"key2":
2, "key1": 1}) or is the way the map is iterated over different?
—
Reply to this email directly or view it on GitHub
https://github.com/jung-kurt/gofpdf/issues/46#issuecomment-146979305.

Thanks, that clears it up! I'm assuming that will be the differences I've noticed when I did some tests earlier as mentioned here.

Good point. Just brainstorming ... I see two strategies:

delegate this to the gofpdf library and hide it from the examples: It
should check if it is run as a test and take appropriate action. As far as
I know there is no elegant way for the golang to check if code is run as a
test. So you would have to resort to unwanted tricks like e.g.
setting/checking env variables,...
add minimal code to the example: My preference would be to define a
descriptive private method e.g. "markAsTest(f *gofdpf.Fpdf)"
inside fpdf_test.go It can be extended as needed without adding further
boilerplate to the examples. As it is a private method it is clear it can
not be used elsewhere. You could always explain shortly the presence of
this function somewhere in the documentation. So this approach would only
add one line to each of the examples.

What do you think?
Stani
On Fri, Oct 9, 2015 at 10:20 PM, Kurt Jung<EMAIL_ADDRESS>wrote:

I would advise against using a regex. How about exposing a method which
can set manually set the time? If there is no manual time set, time.Now()
is used.
Easily done. However, this will require some additional code in the test
routines. I'd like to do this without confusing users who are looking to
the examples as the easiest way to accomplish a given task. Any ideas?
Good idea to sort the map keys, but that should be optional (opt-in for
debugging). Otherwise it might have a unnecessary negative performance
impact on the gofpdf library.
Excellent idea. Again, it would be nice to make this as transparent as
possible in the example code.
—
Reply to this email directly or view it on GitHub
https://github.com/jung-kurt/gofpdf/issues/46#issuecomment-146977387.

Having a black box comparison function, separate from the tests, is a good idea. It means that the test code itself isn't too convoluted.
I'm not sure I like the idea of generating different PDFs when in test mode. It sounds like it could introduce heisenbugs: things that work differently when you test them than in the real world. Still, I can see how it's the easier solution in this case. You'd want to be able to switch the time-wasteful sorting of map parameters on/off independently of the test mode, to make it easier to identify problems.
The ideal solution would be code that understands the structure of a PDF and can determine whether they're equivalent regardless of being in a different order and using different IDs internally. But that would probably be a great deal of work.

All good points, @marcusatbang. My current work branch for this change includes a test-independent comparison function. It introduces two new instance values, a catalog sort flag and fixed creation timestamp. Additionally, the default values of these fields can be set with utility functions before any fpdf instance is created. An init() function of the  fpdf_test.go file calls this to set catalog sorting and assigns an arbitrary default creation timestamp. That way, all the example code remains intact. (This is admittedly a questionable practice. Setting default values like this is potentially hazardous because assignments made in different places within a project could interfere with one another in a hard-to-track way. But it addresses the point you made about not binding these features strictly to test-mode.)
Currently, the branch is close to working. The only unit with which I am encountering differences is the template code.
Yes, comparing the semantic parse trees of different documents would be the right way to go about this, but it would be a daunting task.

What's the issue with the template code? Is it about passing the fixed values into the separate sub-document?

Non-deterministic map iterations. This will be no big deal to fix, I just haven't gotten to it yet.

Re: sorted maps: would you sort all map operations?  I'm concerned about undue overhead.

Re: sorted maps: would you sort all map operations?

No, only when the resource catalogs are output, and then only when a flag indicates that it should be done.

I'll close this issue since the discussion has moved over to Compare example PDFs with reference copies #49.


Migration testing in next branch is not handling rollback with new migrations

Environment

Nautobot version (Docker tag too if applicable): 2.0.0alpha
Python version: 3.10
Database platform, version: Postgres 13
Middleware(s):

New migrations introduced for #3431 broke an unrelated test for dcim/tests/test_migrations. The ipam migration test still seems to be working in this branch. We may need to circle back on this and discuss changing the way this test is working.
https://github.com/nautobot/nautobot/actions/runs/4430129283/jobs/7771529844

@nautobot/core are we still performing these? Is #3960 a better way to execute these tests?

@nautobot/core ^ is this needed?

IMHO we should rip these tests out entirely since they're broken and unlikely to be fixed - we should proceed with #3279 instead.

I agree with @glennmatthews. We should probably keep this issue around to track removing those tests


Lazily load pygments styles

We currently try to retrieve all pygments styles at once, but this operation is very slow due to the import of pkg_resources on the pygments side.
https://github.com/httpie/httpie/blob/cfcd7413d1afbabc5ab3c88a892851335be4944a/httpie/output/formatters/colors.py#L31
We should load these styles lazily when a user specifies --style explicitly.

normal
lazy loading
factor

Environment 1
238.2 ms
185.4 ms
1.30X (30%)

Environment 2
383.3 ms
240.4 ms
1.58X (58%)

Since the actual load we are removing is pkg_resources import, the speed-up factor is very dependant on how complex the current python environment you are within. The Environment 1 is simply a fresh python docker image with only httpie installed. The Environment 2 is my local environment with over 300+ python packages.

(I'll send a patch after #1200)

Nice!
Could we do some quick lookup even if the user specifies --style? Many users probably have --style in their config file.
The full list is probably only needed for `--help' output. But also even then we only need the names.

Could we do some quick lookup even if the user specifies --style? Many users probably have --style in their config file.

If users specify --style, they will load the whole pygments (including all of it's plugins). And it will be like the original, so we will error out if the style is not available etc.

The full list is probably only needed for --help output. But also even then we only need the names.

Yea, that is definitely the trickiest thing to do. The names and the actual styles don't matter much since either way the most of the time is spent on collecting packages through pkg_resources.
We need to retrieve the full list on 3 occasions;

When you pass a valid --style (to verify it exists)
When you pass an invalid --style (to print all the choices)
To format the help message when run with --help.

When you pass a valid --style (to verify it exists)

Couldn’t we use a different method for checking if it exists (e.g. checking if a module exists first, and only then loading the styles if not)? If I use a custom --style (via config, for example), I won’t be able to benefit from this optimization.

Couldn’t we use a different method for checking if it exists (e.g. checking if a module exists first, and only then loading the styles if not)?

We could introduce layers (e.g check if this is a built-in httpie style > check if this is a built-in pygments style > check if this is coming from a pygments plugin), but I think that would be a bit complicated.
Another possibility is asking pygments maintainers whether they would accept a patch that migrates from pkg_resources to importlib_metadata (a much much faster version for iterating over entry points), if the use case where a --style is also important to us.


x/mobile: make it easier to publish on appstore

Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (go version)?
1.8
What operating system and processor architecture are you using (go env)?
macos
What did you do?
gomobile build ios app and want to pubulish on appstore
If possible, provide a recipe for reproducing the error.
A complete runnable program is good.
A link on play.golang.org is best.
What did you expect to see?
ios app could be publish on appstore
What did you see instead?
ios app need a lot of steps to make it publish on appstore

I think this issue is too vague. Please describe what steps gomobile should help you with. Please also state whether you're using gomobile bind or gomobile build apps.

I  am using  gomobile build a native apps.
but this app was unable to upload to itunesconnect.
too many errors,    so , yes, this issue is too vague.
But the go is very simple,  to make gomobile build apps publish on appstore.
It seems it is impossible now.
2018-03-16 18:58 GMT+08:00 Elias Naur<EMAIL_ADDRESS>
I think this issue is too vague. Please describe what steps gomobile
should help you with. Please also state whether you're using gomobile bind
or gomobile build apps.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/golang/go/issues/19904#issuecomment-373679163, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AH9v9K6F3m-ezMBPUZK2ZNKulo379f4Wks5te5rRgaJpZM4M4O4k
.

Ok, I'll close this as a dup of #20241, since that issue is more specific.


Duplicate LogSearchShipper.log messages sent during LogSearchShipper startup

It appears that LogSearchShipper ships duplicates of its own logs (LogSearchShipper.log) during startup:

LogSearchShipper.log
{"@timestamp":"2014-08-28T07:56:06.161Z","Message":"Topshelf v<IP_ADDRESS>, .NET Framework v4.0.30319.18408","logger":"Topshelf.HostConfigurators.HostConfiguratorImpl","level":"INFO"}
{"@timestamp":"2014-08-28T07:56:06.195Z","Message":"Starting as a Windows service","logger":"Topshelf.Runtime.Windows.WindowsServiceHost","level":"INFO"}
{"@timestamp":"2014-08-28T07:56:06.198Z","Message":"[Topshelf] Starting","logger":"Topshelf.Runtime.Windows.WindowsServiceHost","level":"INFO"}
{"@timestamp":"2014-08-28T07:56:06.338Z","Message":"BinFolder => C:\\Apps\\LogSearchShipper-DEV-data\\nxlog","logger":"LogSearchShipper.Core.NxLog.NxLogProcessManager","level":"INFO"}
{"@timestamp":"2014-08-28T07:56:06.339Z","Message":"Sending data to: syslog-tls://ingestor.cityindex.logsearch.io:443","logger":"LogSearchShipper.Core.NxLog.NxLogProcessManager","level":"INFO"}
{"@timestamp":"2014-08-28T07:56:06.340Z","Message":"Recieving data from file: C:\\Logs\\LogSearchShipper-DEV\\LogSearchShipper.log","logger":"LogSearchShipper.Core.NxLog.NxLogProcessManager","level":"INFO"}
{"@timestamp":"2014-08-28T07:56:06.340Z","Message":"Recieving data from file: \\\\PKH-QAT-APP01\\Logs\\Web\\InstructionProcessor.cityindex.co.uk\\Log.log","logger":"LogSearchShipper.Core.NxLog.NxLogProcessManager","level":"INFO"}
{"@timestamp":"2014-08-28T07:56:06.340Z","Message":"Recieving data from file: C:\\Dev\\temp\\fxsolutions.com\\u_ex14*.log","logger":"LogSearchShipper.Core.NxLog.NxLogProcessManager","level":"INFO"}
{"@timestamp":"2014-08-28T07:56:06.340Z","Message":"Recieving data from file: C:\\Dev\\temp\\wordpress.cityindex.co.uk\\wordpress.cityindex.co.uk-Aug-2014","logger":"LogSearchShipper.Core.NxLog.NxLogProcessManager","level":"INFO"}
{"@timestamp":"2014-08-28T07:56:06.343Z","Message":"NXLog config file: C:\\Apps\\LogSearchShipper-DEV-data\\nxlog.conf","logger":"LogSearchShipper.Core.NxLog.NxLogProcessManager","level":"INFO"}
{"@timestamp":"2014-08-28T07:56:06.343Z","Message":"Running \"C:\\Apps\\LogSearchShipper-DEV-data\\nxlog\\nxlog.exe\" -c \"C:\\Apps\\LogSearchShipper-DEV-data\\nxlog.conf\" as a service","logger":"LogSearchShipper.Core.NxLog.NxLogProcessManager","level":"INFO"}
{"@timestamp":"2014-08-28T07:56:06.343Z","Message":"Truncating C:\\Apps\\LogSearchShipper-DEV-data\\nxlog.log","logger":"LogSearchShipper.Core.NxLog.NxLogProcessManager","level":"INFO"}
{"@timestamp":"2014-08-28T07:56:08.237Z","Message":"[Topshelf] Started","logger":"Topshelf.Runtime.Windows.WindowsServiceHost","level":"INFO"}
{"@timestamp":"2014-08-28T07:56:08.239Z","Message":"nxlog-ce-2.8.1248 started","logger":"nxlog.exe","level":"INFO"}
{"@timestamp":"2014-08-28T07:56:08.239Z","Message":"connecting to ingestor.cityindex.logsearch.io:443","logger":"nxlog.exe","level":"INFO"}
{"@timestamp":"2014-08-28T07:56:08.239Z","Message":"successfully connected to ingestor.cityindex.logsearch.io:443","logger":"nxlog.exe","level":"INFO"}

Note that the duplication stops after nxlog-ce-2.8.1248 started

This appears to have been resolved when we switched to nxlog shipping its own log messages via the im_internal input.


Manifest merger failed : Attribute application@allowBackup value

I import the library to my app by gradle.
I got this building error :
"Manifest merger failed : Attribute application@allowBackup value=(false)".
I think you should remove allowBackup attribute from your library. (Lib should not have that attribute).
Thank you very much for the great lib.

That's weird it does not have it and thanks for trying my library try to
add that line in your manifest and anywhy il check it out
On Wed, Nov 2, 2016, 20:41 MattGetFlyp<EMAIL_ADDRESS>wrote:

I import the library to my app by gradle.
I got this building error :
"Manifest merger failed : Attribute application@allowBackup
value=(false)".
I think you should remove allowBackup attribute from your library. (Lib
should not have that attribute).
Thank you very much for the great lib.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/gilgoldzweig/EasyTabs/issues/5, or mute the thread
https://github.com/notifications/unsubscribe-auth/APvt3Er7tY3Y9x9ZRPjm69RVP-YOgUXdks5q6Nl1gaJpZM4Knms6
.

I find the bug and fixed it please use version 1.1.1 instead of 1.1.0 the  readme.md file will be updated soon please tell me if bug resolved
thanks in advance gil goldzweig creator of EasyTabs


Google Cloud Config Setup

Any help on implementing this? @kantai
What are the necessary steps to setup the google cloud and information and the details necessary for connecting to the google cloud api? the documentation for this isn't very clear. I have made a config.json but not sure if it correct format and what values are for each key.
{
"port": 3000,
"driver": "google-cloud",
"readURL": "url.com",
"bucket": "",
"pageSize": 20,
"gcCredentials": {
"credentials": {
"client_email": "",
"private_key": ""
},
"email": "",
"keyFilename": "",
"projectId": ""
},
"argsTransport": {
"level": "debug",
"handleExceptions": true,
"timestamp": true,
"colorize": false,
"json": true
}
}

Thanks for your interest in setting up GAIA.
You can follow up to date steps here and here.
If you can encounter issues following these steps, please open a new issue with the specific error that you are getting.


core: ✨ add new package space-header

Add the mini header into your project if running on a custom/sub domain

Example:
import { init } from "@huggingface/space-header"

// ...

init("enzostvs/lora-studio")

Must be called once the page has been mounted. If this is not the case, a log error is displayed to prevent the user
we've decided to stick with vanilla JS, which may evolve if necessary. (web component, etc)

Thank you @enzostvs  for doing this!
for some context I had started my own independent version based on Tailwind (my goal was to stay close to the original using Tailwind ie. save time in case the original design changes, let tailwind generate a tiny optimized stylesheet, let the framework generate a tiny static .js code injector etc)
but I never finished as I got involved in other things, and I think you approach works fine too (this header shouldn't change that often)..
plus no dependencies which is great! 👌

Thanks for this PR, looks great, just have a few questions from a gradio PoV, where we may not know the user and space name up front.

we already make this request, and would need to make an extra one to get the space name anyway (you only know the space name when using this manually, we don’t have it on a subdomain), would it be possible to skip the API request and just pass in the Space object instead of a name?
the origin check isn’t sufficient for gradio as gradio apps can be hosted anywhere and all non Hugging Face urls will ‘pass’ the check causing the widget to render (colab/ locally/ etc). This isn’t anything that requires changes here but just mentioning it, we will handle this on the gradio side.

Thanks for this PR, looks great, just have a few questions from a gradio PoV, where we may not know the user and space name up front.

we already make this request, and would need to make an extra one to get the space name anyway (you only know the space name when using this manually, we don’t have it on a subdomain), would it be possible to skip the API request and just pass in the Space object instead of a name?

@pngwn just pushed a change to cover your first point, now you can pass the namespace or directly the space information, here is the recommended informations
export interface Space {
	id: string;
	likes: number;
	author: string;
}

Amazing. Thanks!

the origin check isn’t sufficient for gradio as gradio apps can be hosted anywhere and all non Hugging Face urls will ‘pass’ the check causing the widget to render (colab/ locally/ etc). This

Yes, you will use the Spaces env variables to check whether the Gradio app is running on Spaces, correct, @pngwn?

@julien-c yus! We will also hide when embedded via the web component I think as there space info is already in the wrapper.
One case we may not be able to figure out is if someone embeds using an iframe. I'm not sure what we want to do in that case, should we just show it?

One case we may not be able to figure out is if someone embeds using an iframe. I'm not sure what we want to do in that case, should we just show it?

you mean the gradio app runs on Spaces, but the raw URL like https://julien-c-coqui.hf.space is embedded in an iframe on a different website?
I would display it in that case yes (but no strong opinion)


WEBGpu support with coral?

Homework

[X] I took the time to write a good, descriptive issue title
[X] I read nativefier --help and API.md, no existing option fits my needs.
[X] I checked CATALOG.md for community suggestions & workarounds.
[X] I searched existing issues, open & closed. Yes, my feature request is new.
[X] I'm running the latest version. Yes, the feature I'm requesting isn't in it.

Problem statement
I have googled and checked API.md and i can't find anything regarding this.
Is there any way to make nativefier utilize coral usb through webgpu?
Motivation & context
My lovelace machine is limited in resources, (it's intended that way so that it can be run through POE).
It shows cctv live footage through web2rtc addon,
with resulting app running, the cpu usage jumps 30-40 %
So it would be great if it could outsource the gpu usage through coral.

This ultimately boils down to a few things:

Does Coral support WebGPU? Looking at it, it appears to technically be a TPU, not a GPU.
Can you get this working in a local browser? Ultimately Nativefier is just a very localized browser, so if it's not possible in Chrome, it definitely wouldn't be possible in Nativefier.


Added the mailer url options to the test env config

The test environment cannot create users properly and we will need this for testing.

I also did this on my latest pull request.

Yes that wasn't live when I made this PR


Fix default pool size in readme

Default is listed as 128 in readme, but the actual default appears to be 10 (https://github.com/jupyter/tmpnb/blob/master/orchestrate.py#L144)

Thanks!


Minor Heading change in readme

Overall looks solid. Minor readme fix i have submitted. ATB for the app.
Also, do considering submitting the app on F-Droid if your are okay with it.

Overall looks solid. Minor readme fix i have submitted. ATB for the app.

I am really glad you liked it, thank you!!

Also, do consider submitting the app on F-Droid if you are okay with it.

Yes sure, I actually never thought about it. But I don't see any harm to that so sure I would upload it :)


Dialog: Fix close modal on click

Hi,
Dialogs have a bug which if you mousedown inside the dialog but mouseup outside of the dialog (on the dialog wrapper), the dialog will be closed. It is pretty common for dialogs which are containing forms inside them.
Close action can be mousedown instead of the click but it hurts UX, so I handled it by ensuring that mousedown and mouseup events have happened on the wrapper not on the dialog content.

[x] Make sure you follow Element's contributing guide (中文 | English | Español | Français).
[x] Make sure you are merging your commits to dev branch.
[x] Add some descriptions and refer relative issues for you PR.

@ziyoung


home-assistant

Hi Magnus! Do you use your project with home-assistant? Can you maybe share some more details about the setup? I understand that this is not an "issue" about inetbox2mqtt but would be very happy to get a better understanding what is possible (and maybe also what not) from your experience. I already know about Daniel's setup (at least from his slides and recent webinar) but that was already very much advanced for me. ;)
Wishing you all a nice weekend! :)

Hi, I don't understand exactly what you want to know. Is it about the realisation of the control of the TRUMA from HA, e.g. what the frontend looks like? Or is it about the functionalities as a whole?

Would you be so kind to send me the link for the webinar, mentioned above

If I'm right, you are interesting in the whole smart motorhome-concept? Right?

I have already taken your suggestion on board. You can now find an example of my current frontend in the docs.
Yes, indeed, the "whole setup" is too much not for the issue pages. But I will also take your suggestion and make a separate repository for this item. But give me a little time, pls.

Is your ESP32 now in use?

Yes, you should be able to c/p it, because the entity-names should be the same.
`type: vertical-stack
cards:

type: entity
entity: sensor.truma_clock
name: TRUMA Zeit
show_name: false
show_icon: true
show_state: true
type: glance
entities:

entity: sensor.truma_heating_mode
name: Lüfter
icon: mdi:fan-auto
entity: sensor.truma_energy_mix
name: Energie
icon: mdi:fuel-cell
entity: sensor.truma_el_power_level
name: El-Mode
icon: mdi:lightning-bolt-outline
columns: 3

show_name: false
show_icon: true
show_state: true
type: glance
entities:

entity: sensor.truma_operating_status
name: Mode
icon: mdi:state-machine
entity: sensor.truma_error_code
icon: mdi:head-question
entity: binary_sensor.truma_alive
name: Lin-Kom
columns: 3

type: horizontal-stack
cards:

type: entity
entity: sensor.truma_current_temp_water
name: Wasser
type: entity
entity: sensor.truma_target_temp_water
name: Ziel
title: Temperaturen

type: horizontal-stack
cards:

type: entity
entity: sensor.truma_current_temp_room
name: Raum
type: entity
entity: sensor.truma_target_temp_room
name: Ziel

type: entities
entities:

entity: select.truma_set_roomtemp
name: Raumtemperatur
entity: select.truma_set_heating_mode
name: Lüfter-Mode (off, eco, high)
title: Einstellung

type: entities
entities:

entity: select.truma_set_energy_mix
name: Energie_Mix (gas, electricity, mix)
entity: select.truma_set_el_power_level
name: EL_Power (0, 900,1800)

type: entities
entities:

entity: select.truma_set_warmwater
name: Warmwasser (0, 40, 60, 200)
`

I think it's a great idea to put it on the site as well. But for me it's more of a side note that doesn't belong on the main page of the project. There are a lot of people who realise it in other systems. We have planned to publish other examples there as well. Okay for you?

I am already looking forward to the discussions with you on the "whole setup".

All of life is a compromise! Cheers!

Which functionality would you lose?

You only see sensor-entities in the upper fields (up to "Settings") and they are constantly updated.
The lower select-entities, below "Einstellungen" on the other hand can be changed in Lovelance and then HA publishes the command once via the MQTT server.
So - imported to know - the value  has to be changed for re-sending something to the MQTT.
I will therefore replace the selections with buttons in an "improved" version of the frontend, which will then trigger the MQTT commands in an automation. But that's fine-tuning, once the inetbox has had its teething troubles removed. In particular, I can implement such things without having to sit in the vehicle.


Improve error message

Remind the users to change the measurements when they edit the client's gender

Codecov Report

Merging #229 (16c03c5) into master (b1295db) will decrease coverage by 0.04%.
The diff coverage is 0.00%.

@@             Coverage Diff              @@
##             master     #229      +/-   ##
============================================
- Coverage     58.94%   58.90%   -0.05%
  Complexity      679      679
============================================
  Files           134      134
  Lines          2609     2611       +2
  Branches        300      301       +1
============================================
  Hits           1538     1538
- Misses          981      983       +2
  Partials         90       90

Impacted Files
Coverage Δ

...java/seedu/address/logic/commands/EditCommand.java
92.30% <0.00%> (-2.08%)
:arrow_down:

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 b1295db...16c03c5. Read the comment docs.


self-update: Don't cancel download after 30s

What is the purpose of this change? What does it change?
We have an API timeout for the self-upate commands for requests against the GitHub API. Accidentally, this timeout was also used for the download itself, which (depending on the available bandwidth) may take much longer. So don't use this timeout for the actual download.
Was the change discussed in an issue or in the forum before?
Closes #2181

Checklist

[x] I have read the Contribution Guidelines
[x] There's a new file in changelog/unreleased/ that describes the changes for our users (template here)
[x] I have run gofmt on the code in all commits
[x] All commit messages are formatted in the same style as the other commits in the repo
[x] I'm done, this Pull Request is ready for review

Codecov Report

Merging #2187 into master will decrease coverage by 4.49%.
The diff coverage is n/a.

@@            Coverage Diff            @@
##           master    #2187     +/-   ##
=========================================
- Coverage   50.76%   46.26%   -4.5%
=========================================
  Files         176      172      -4
  Lines       14251    14218     -33
=========================================
- Hits         7234     6578    -656
- Misses       5964     6653    +689
+ Partials     1053      987     -66

Impacted Files
Coverage Δ

internal/backend/b2/b2.go
0% <0%> (-80.69%)
:arrow_down:

internal/backend/swift/swift.go
0% <0%> (-78.45%)
:arrow_down:

internal/backend/gs/gs.go
0% <0%> (-74%)
:arrow_down:

internal/backend/azure/azure.go
0% <0%> (-69.46%)
:arrow_down:

internal/backend/swift/config.go
36.95% <0%> (-54.35%)
:arrow_down:

cmd/restic/cmd_mount.go
13.75% <0%> (-42.5%)
:arrow_down:

internal/archiver/file_saver.go
81.57% <0%> (-7.02%)
:arrow_down:

internal/archiver/blob_saver.go
92.59% <0%> (-2.47%)
:arrow_down:

internal/backend/s3/s3.go
59.39% <0%> (-0.76%)
:arrow_down:

internal/restic/progress_unix_with_siginfo.go

... and 4 more

Continue to review full report at Codecov.

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


Change "precompilation" to "compile"

I'll admin this is a bit pedantic, but since this project is so early, I'd like to make a case that assets are actually "compiled" before they're deployed.
"precompile" makes sense if a rails application was compiled, but since its interpreted, there's actually no compilation that happens.
Quite simply, assets are compiled before they are deployed along side a Rails application.

Assets are compiled in the sense that we transform them by rewriting URLs inside CSS in particular. And the naming matches the task names that are already used in a broad variety of contexts.


Modeler inline comment plugin does not store the comments if nothing else has been changed in the model

Describe the bug
As I am not allowed to re-open my bug #3560 I have to create a new issue.
Please refer to #3560 for reproducibility, I will not copy all here once again. Additionally, please note, that the problem only comes up if no other changes have been done in the model.
I can reproduce at any time if the internal note is the ONLY change in the model. If there are other changes that are also reflected in the model's title bar with a blue point (indicator that a save is necessary) then the internal note is saved as well. But if I only add an internal note text, the blue point is not shown and the note's text is not saved.
I am not sure whether this is related to the model engine or to the internal note plugin.
Steps to reproduce
please refer to #3560
Expected behavior
The internal note shall be saved.
Environment
please refer to #3560
Additional context
No response

Duplicate of #3560


org.keycloak/keycloak-sssd-federation22.0.3

Type: Incorrect
Summary:
org.keycloak/keycloak-sssd-federation22.0.3
Details:
Fixing curation to AFL-2.1 OR LGPL-2.1-only
Resolution:
License file in Maven sources.jar indicates the license options are Academic Free License 2.1 OR LGPL-2.0. I think we would Declare "AFL-2.1 OR LGPL-2.1-only.
Affected definitions:

keycloak-sssd-federation 22.0.3

@capfei I really meant to fix to AFL-2.1 OR LGPL-2.1-only.


env takes priority over envFile

fix https://github.com/OmniSharp/omnisharp-vscode/issues/5413

Thanks for submitting this PR @askazakov !


Replaced alias_method_chain with Module#prepend approach

This fixes compatibility with https://github.com/scambra/devise_invitable and Module#prepend is also generally more intuitive.
Blog posts:
https://hashrocket.com/blog/posts/module-prepend-a-super-story
http://www.justinweiss.com/articles/rails-5-module-number-prepend-and-the-end-of-alias-method-chain

Any traction on this?

bump @senekis ?

@segantii-alex-falkowski @warmwaffles We are reviewing this PR, I hope in the next days we can release a new version

@senekis Thank you.

@senekis - Thanks for merging. When will the gem be pushed?

@raysegantii Thank you!
@segantii-alex-falkowski I just released the new version 1.8.0 to Rubygems


Export with multiple options feature request

This tool would be great to create a document to add to your CV to show what you know!
Having an export to multiple formats would be amazing. Being able to choose which areas to include would be even better.
I am not sure what formats would be best, but HTML would be very flexible, then you could edit and style it how you like. Maybe that would be a minority use case, as most people would probably prefer PDF for ease of use.
THANKS for this awesome tool!

Thanks, I like the idea. I think allowing users to take their data is the right thing to do generally, so I would at least do this as JSON. Other than that, CSV is probably the most portable raw format.
For now I'll add this to the TODO list, but no idea when I'll get to it.
Pull requests are always welcome ;)


cross-domain sample CDFSL, the following error occurred.

Thank you very much for the contributed code repository. When testing on the cross-domain sample CDFSL, the following error occurred. When testing 600 samples, an error will occur, "metric_logger has no attribute loss". Thank you very much. 🙏

Thanks for your interests! If still relevant:
It looks like engine.py#L120 was not executed, otherwise metric_logger should have a loss attribute. You may want to set up a breakpoint at that line to see what happened. It's probably due to the CDFSL dataset is incomplete or something like that.


Update Code - Proof_Of_ContributionSnapshot4.md

Thank you!

Glad that I can help the project along thanks for the weights


Can I somehow pass context directly to resolver?

As well as I know, I can only get the context in @Before decorator. How can I do something like this?
@Query({ type: [Provider] })
  async providers({ context }): Promise<Provider[]> {

It might be useful to specify things that belong to the authenticated user (in the database query, where clause) or get user itself, like me{}.

Sure, checkout @Context argument decorator:
https://prismake.github.io/typegql/explore/inject/
If you need more fine control, use raw @Inject decorator, also described in link above.


limit of 65535 characters for meta_value of build_meta with mysql

In my instance, the value of phpunit-data is silently cut to 65535 characters. This results in invalid json, so no results for phpunit are shown on the information tab.
The value for phpunit-data is stored in build_meta.meta_value. This field has type text.
The size limit for text is 65535: https://dev.mysql.com/doc/refman/5.7/en/string-type-overview.html#idm140523574444128
How should this be fixed? Store less data in this column for phpunit-data? Use another column type for mysql (MEDIUMTEXT, ...)?

I will change column type for MySQL to something large. Thanks @SimonHeimberg for the report.

Fixed in fresh master branch.


Not compatible with latest Nano S firmware 1.6

After upgrading to the latest firmware version 1.6 on Nano S, typing in a password via USB no longer works. Attempting to type a password produces no characters on the host; a second attempt freezes the Ledger device (buttons unresponsive, still no password) and requires a replug.

Disappointing to see Ledger failing to respond to this issue.

I find this pretty shocking how lethargic the whole LedgerHQ GitHub organisation is. The upgrade of the SDK to v1.6 happened via a big-bang merge after a long period of inactivity, suggesting that it is a facade repo, and the real work happens elsewhere. Not great for transparency. Commit history shows that in the merge a file that is still referenced elsewhere was deleted, which resulted in at least one module becoming impossible to build. How was this not caught by build automation? Said automation clearly exists, since Ledger bothered to implement ways to programmatically seed a ledger device, disable PIN requests etc., which are clearly features to support system tests. Utility and build scripts inconsistently use python and python3, meaning that one needs to hack them or install the PyPI package on both Python 2.x and Python 3.x to work effectively. Issues and pull requests are seemingly ignored.
Regarding this issue in particular, I built the password manager from source (which is harder than it should be, as it tries to build and link to the aforementioned unbuildable module). I managed to upload it to a test Nano S and investigate the issue some more. It appears that this app relies on the function ux_check_status being called by the SDK, which v1.6 does not do, even though the previous version did. I understand the password manager is an alpha version, but either the original was misusing the previous SDK, or the merge which produced SDK v1.6 broke a pre-existing invariant (which should be documented). All this is pretty hard to discern, because the changes between SDK v1.5.x and v 1.6 are also tied up with apparent efforts to unify the Nano S and Nano X SDK, and introduce a new UI framework called Flow. The docs are not in step with the changes. All this paints a messy picture.
Honestly, that's all the unpaid work that I'm prepared to do for a company which is big enough to know better.
Ledger... are you ok? All of the above issues are routine matters of workflow and best practice that have been solved by devs the world over (yes, also embedded devs). This password manager app is extremely useful, and all non-cryptocurrency related hardware password vaults/generators out there have serious UX or security flaws. It would be nice if this was shown some TLC; otherwise you're just making yourselves difficult to trust.

I've had this issue before. It's usually a USB cable issue.no idea why, but Ive had issues with the cables supplied by Ledger, at least some cables.
I'm updated to 1.6 on the Nano S and my password manager works flawlessly. My laptop is running Ubuntu 19.10, the Nano S connected to a USB 3.0 port.
The password manager holds my disk decryption password and 2FA to login in the actual account.
Seriously it's usually a cable issue.

One of the Ledger mods responded to my Reddit thread saying that the password typing still works on Linux and Mac OS X, which it sounds like zimlokks may have confirmed.
I completely agree with wkaluza and I don't understand why they can't integrate testing of their apps into their workflow to ensure things don't break. It is a pretty standard thing to do.

Also per the same Reddit mod, this seems to be a problem with Windows and not any specific firmware or Ledger update. Be this as it may, I still don't feel that it's any excuse for not responding to users for months on end when they tell you things are broken.

Not a cable problem in my case - that was the first thing I checked. Tried two old and trusty cables as well as the Ledger-supplied cable one I normally use. No change in behaviour, the device freezes. All three cables work with the password manager app on my second Nano S, which I didn't upgrade. The Ledger cable worked fine with password manager on my primary Nano S until the firmware upgrade. Besides, all other apps (BTC, XTZ, ETH, XRP, to name a few) are working flawlessly.
@zimlokks I'm not saying here that your problem didn't boil down to a faulty USB cable, only that it looks like that's not the whole story.
@pydlv Re problem with Windows: interesting. My primary machine is indeed Windows. Will investigate, I can access a Linux PC fairly easily, I used it to hack around with the password manager's source code. Could you post a link to the Reddit thread here?

@wkaluza Here you go: https://www.reddit.com/r/ledgerwallet/comments/fdnlm6/i_believe_it_is_critical_that_ledger_maintains/

Windows vs Linux: I can confirm that typing a password with FW v1.6 works when connected by USB to a Linux host machine. Choice of cable does not seem to be a factor - all the ones I have at my disposal function correctly with a Linux host and freeze the Ledger on Windows with 1.6. To reiterate, FW v1.5.5 still works fine regardless of cable or host OS, so I maintain something went badly wrong with the v1.6 firmware, SDK, or both. At least now I have a viable (if inconvenient) way to recover my most precious passwords if my backup Ledger ever malfunctions. Thank you @pydlv! 🏅 💐 🍾
Food for thought: this bug would have much lower impact if the password manager app had the option to read passwords on the secure Ledger display instead of only typing them via USB. That would give users a fallback method to recover their password irrespective of USB- or OS-related shenanigans.

Same issue here. v1.6 - Windows 10 - Freezes when "entering" :-(

This issue is usually fixed just by swapping the USB cable with a known
good. Some USB cables for some unknown reason, will cause the Nano S to
freeze.
On Mon, May 11, 2020, 2:35 PM Frank<EMAIL_ADDRESS>wrote:

Same issue here. v1.6 - Windows 10 - Freezes when "entering" :-(
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/LedgerHQ/app-password-manager/issues/24#issuecomment-626978294,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AARK4I7RGMEZLQDV6ZOYSGLRRBVR3ANCNFSM4KLTOPPA
.

Tried with an other Cable. Also changed the Port in the PC. No luck :-( same issue...
What a bummer. They should fix that and integrated it better in an UI like the Trezor Wallet

@fti7 Read issue history. I think we've established it's not a problem with the cable itself, but with how the operating system. Try on Linux or OS X. Still can't believe they haven't fixed this issue by now.

Sorry about the delay, again.
Windows support is broken, but now that the app is available on Nano X, I can try to fix it.
No ETA.
First, I need a windows computer :')

Any Updates here? :-)

Just merged https://github.com/LedgerHQ/app-passwords/pull/29
There's a lot of novelty, especially the possibility to backup the list of passwords with https://blog.ledger.com/passwords-backup/
(Sadly, it won't work with the version currently installed on your device (<1.0.0), but from now on updates will be smooth)
Be careful when upgrading the app, backup all the password names manually !


Clarification required on "Billing and metering"

In "Billing in metering" under "SaaS Subscription", it's stated:
"[...] If using the flat rate model, you can optionally include additional dimensions used to charge customers for usage not included in the flat rate."
This is unclear. What are these additional dimensions, how can they be reported for billing?

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

ID: 6fd16cf1-63d4-4bbd-a13c-bfb8ab051e18
Version Independent ID: f6b27e10-2190-82e2-4999-eb782171c4eb
Content: Azure Marketplace SaaS Applications Technical Publishing Guide
Content Source: articles/marketplace/marketplace-saas-applications-technical-publishing-guide.md
Service: marketplace
GitHub Login: @keithcharlie
Microsoft Alias: kevidal

@ztorage Thank you for the question! In order to best address your question, could you provide us with the URL of the MS Doc that you were following, if any?

https://docs.microsoft.com/en-us/azure/marketplace/marketplace-saas-applications-technical-publishing-guide

@ztorage, please see the following section for more info, and this would help clarify your question on billing dimensions:
https://docs.microsoft.com/en-us/azure/marketplace/partner-center-portal/saas-metered-billing#billing-dimensions


How to deal with Chinese GBK character

a csv file from server is GBK encode,
how to set csvtojson to handle this kind of staff?

Hi,
You will need to convert the encoding first to utf8 through streaming.
there are plenty of libraries out there doing this.
see: https://github.com/Keyang/node-csvtojson/issues/31
and https://github.com/Keyang/node-csvtojson/issues/84
Regards,
Keyang
On 25 July 2016 at 11:25, Kevin Mao<EMAIL_ADDRESS>wrote:

a csv file from server is GBK encode,
how to set csvtojson to handle this kind of staff?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/Keyang/node-csvtojson/issues/114, or mute the thread
https://github.com/notifications/unsubscribe-auth/ABCs9wLlrlRFODdLd723WXdSmjVHKOc8ks5qZI8bgaJpZM4JT-_x
.

good,iconv-lite works fine,thanks a lot


Type of let foo: 'foo' | 'bar' = 'foo' is different from let foo = 'foo' as 'foo' | 'bar'

Search Terms:
Literal type, inference, type annotation, control flow type analysis
Code
type FooBar = 'foo' | 'bar';
let foo: FooBar = 'foo';
let bar = 'bar' as FooBar;
type fooT = typeof foo; // Expected this type to be FooBar but is 'foo'
type barT = typeof bar; // This type is FooBar, as expected
let nobar: fooT & barT = 'bar'; // Gives error as `fooT & barT = 'foo' & ('foo' | 'bar') = 'foo'``

Expected behavior:
I expected foo and bar to be both of type FooBar.
Actual behavior:
foo has type 'foo' and thus the code gives this error:
src/bug.ts:6:5 - error TS2322: Type '"bar"' is not assignable to type '"foo"'
Observations:
If in the example we assign 'bar' to foo before taking its type the code works. I'm guessing this has something to do with control flow type analysis.
Maybe this is expected behavior but I find it highly confusing.
Playground Link:
https://www.typescriptlang.org/play/#src=type FooBar %3D 'foo' | 'bar'%3B
let foo%3A FooBar %3D 'foo'%3B
let bar %3D 'bar' as FooBar%3B
type fooT %3D typeof foo%3B %2F%2F Expected this type to be FooBar but is 'foo'
type barT %3D typeof bar%3B %2F%2F This type is FooBar%2C as expected
let nobar%3A fooT %26 barT %3D 'bar'%3B %2F%2F Gives error as `fooT %26 barT %3D 'foo' %26 ('foo' | 'bar') %3D 'foo'``

typeof foo yields the type of foo at the location where it's written; in this position the initialization with "foo" is in effect and the narrowed type is observed.

I find it highly confusing.

Understandable. typeof could do one of two things - produce the type of the expression at that location, or produce the type of the symbol as it's declared. Since you can always move the declaration of the type alias to a location where no control flow analysis is in effect, it's more flexible to do the former.

OK, I understand. I'm fine with closing this if it is expected behavior.
Just as a side note, it doesn't just affect typeof, it also affects any inferred types when using foo (guess that is using the same mechanism)? I just wasn't sure this was really expected behavior, hence the report.

Closing this.
I just went through @RyanCavanaugh 's twitter and saw he tweeted about another reporter commenting on the super quick feedback on an issue given there are >=2700 open issues (and ~25K closed ones!!!)
Its definitely a compliment on this fantastically run project. I was amazed as well. Go TypeScript!


5.6.2 release tarball is broken

I found the current 5.6.2 release tarball mixed with some later changes and it's not compatible with Kibana 5.6.2.
If I build the source from tag-5.6.2 it works fine.

@mxj4 yes, it is not compatible with all current releases. It will be fixed in the next release.
Only the following installation methods work:

kibana$ ./bin/kibana-plugin install https://github.com/sirensolutions/sentinl/releases/download/tag-5.6.2/sentinl-v5.6.2.zip

git clone https://github.com/sirensolutions/sentinl
cd sentinl && npm install && gulp package --version=5.6.2
kibana$ ./bin/kibana-plugin install file://`pwd`/target/gulp/sentinl.zip

cd sentinl && npm install
gulp dev --kibanahomepath=../kibana

Readme


Add check for testDynamic

Add check for testDynamic as boolean.
Signed-off-by: Violeta Sebe<EMAIL_ADDRESS>

@AdamBrousseau please review, thank you!


can't reload the source in the public

Describe the bug
the static server is wrong:
dev server can't find the file in public, and return the index.html:

Reproduction
https://stackblitz.com/edit/vitejs-vite-waoyuj?file=public%2Fcharting_library%2Fdatafeed%2Fudf%2Fdatafeed.js,public%2Fcharting_library%2Fstatic%2Fzh-tv-chart.e6c523133ea801233691.html,src%2FApp.svelte,package.json,index.html,vite.config.js,src%2Fmain.js&terminal=dev
System Info
System:
    OS: macOS 12.4
    CPU: (8) x64 Apple M1
    Memory: 55.07 MB / 16.00 GB
    Shell: 5.8.1 - /bin/zsh
  Binaries:
    Node: 14.15.1 - ~/.nvm/versions/node/v14.15.1/bin/node
    Yarn: 1.22.17 - ~/.nvm/versions/node/v14.15.1/bin/yarn
    npm: 6.14.8 - ~/.nvm/versions/node/v14.15.1/bin/npm
  Browsers:
    Chrome: 103.0.5060.53
    Edge: 103.0.1264.44
    Firefox: 102.0
    Safari: 15.5

Used Package Manager
pnpm
Logs
No response
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to vuejs/core instead.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
[X] The provided reproduction is a minimal reproducible example of the bug.

I was not able to reproduce it. Note that this html includes a redirect by js (writting below) so it won't be able to access without removing it.
http://localhost:3000/charting_library/static/zh-tv-chart.e6c523133ea801233691.html
<script>if(window===window.parent){location.href="about:blank"};</script>

why is the file /charting_library/charting_library.min.js not loaded

window.TradingView === undefined

It's because it is empty.
https://stackblitz.com/edit/vitejs-vite-waoyuj?file=public%2Fcharting_library%2Fcharting_library.min.js&terminal=dev

the file in frame. why is the html rejected:
<script>if(window===window.parent){location.href="about:blank"};</script>


To allow self hosted servers, forward UDP servers using Nebula

https://github.com/slackhq/nebula
Requirements

Be UDP based
Use the least amount of essential moving parts. For example, forwarding shouldn't support a custom multiplexing TCP protocol and UDP KCP.

+1 Proposal:
Use vault to store a certificate authority and REST commands to generate new keys.
Rejected

what? https://github.com/fatedier/frp
why? not KISS

References

https://arstechnica.com/gadgets/2019/12/nebula-vpn-routes-between-hosts-privately-flexibly-and-efficiently/

This is still relevant.

Paused.