Jetson TX2 install realsense error, unable to display RGB image

Before opening a new issue, we wanted to provide you with some useful suggestions (Click "Preview" above for a better view):

Consider checking out SDK examples.
Have you looked in our documentations?
Is you question a frequently asked one?
Try searching our GitHub Issues (open and closed) for a similar issue.

All users are welcomed to report bugs, ask questions, suggest or request enhancements and generally feel free to open new issue, even if they haven't followed any of the suggestions above :)

Required Info

Camera Model
D435i

Firmware Version
<IP_ADDRESS>

Operating System & Version
Ubuntu 16.04.7 LTS

Kernel Version (Linux Only)
4.4.38+

Platform
NVIDIA Jetson TX2

SDK Version

Language
C C++

Segment
Robot

Issue Description
My system version is JetPack 3.2.1. I installed SDK and librealsense (v2.13.0) correctly according to the method provided by https://github.com/jetsonhacks/buildLibrealsense2TX, but realsense-viewer cannot detect the camera. After consulting the information, I found that the version required to use D435i is at least 2.16.0. I completely uninstalled the v2.13.0 installed before, and then installed librealsense (v2.39.0) correctly on the official website using the reusb method. I opened realsense- The viewer can detect the camera correctly. I run the depth camera and get the depth map correctly. At this time, I wanted to run the RGB camera, but found that the RGB camera could not be opened and started reporting errors.
You can make the multiple udev error disappear by removing the udev rules located at etc/udev/rules.d/99-realsense-libusb.rules.
You should not remove the set of rules at /lib/udev/rules.d/60-librealsense2-udev-rules.rules.
Further details can be found at the link below.
https://github.com/IntelRealSense/librealsense/issues/6153#issuecomment-605687547

thank you. I know how to solve this problem. My question is why my RGB camera cannot be enabled after I follow the operation I described before. When I try to enable it, the above error appears, indicating that there is a problem with my user data callback .

Do you activate the Motion Module at all before the RGB problem with Exception was thrown during user processing callback occurs, please?

Thank you. I don’t know if I have activated the motion module. I just run realsen-viewer after installing it according to the installation tutorial, and then the above problem occurs. How should I check if I have activated the motion module to troubleshoot this problem?
发自我的 iPad
------------------ Original ------------------
From: MartyG-RealSense<EMAIL_ADDRESS>Date: Tue,Nov 17,2020 3:48 AM
To: IntelRealSense/librealsense<EMAIL_ADDRESS>Cc: GaoZiHong<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [IntelRealSense/librealsense] Jetson TX2 install realsense error, unable to display RGB image (#7776)
Do you activate the Motion Module at all before the RGB problem with Exception was thrown during user processing callback occurs, please?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

If the Motion Module is activated then it has a blue (On) icon beside it instead of a black (Off) icon.  The Motion Module, like the other streams, is always Off (black) when the RealSense Viewer launches.

Thank you, when I turn on the motion module, the depth image can be displayed normally, but the RGB image still cannot be displayed, and if the depth map and RGB image are opened at the same time, the depth map will also crash and eventually show that the camera loses connection. When opening the RGB image, the error message appears as described above
发自我的iPhone
------------------ Original ------------------
From: MartyG-RealSense<EMAIL_ADDRESS>Date: Wed,Nov 18,2020 1:27 AM
To: IntelRealSense/librealsense<EMAIL_ADDRESS>Cc: GaoZiHong<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [IntelRealSense/librealsense] Jetson TX2 install realsense error, unable to display RGB image (#7776)
If the Motion Module is activated then it has a blue (On) icon beside it instead of a black (Off) icon.  The Motion Module, like the other streams, is always Off (black) when the RealSense Viewer launches.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

Thank you for the additional details.  Your experience with the RealSense Viewer is a known issue when activating the Motion Module.  There are programming workarounds in C++ and Python when writing your own application but there is not currently a solution for the Viewer.  So the best recommendation would be to only use the Motion Module on its own in the Viewer.
If you activate color, depth, or both color and depth at the same time, then you should not have problems with the RGB if you leave the Motion Module unactivated.

Thank you, but I don't quite understand what you said. Do you mean I can only use the motion module alone in realsense-viewer? But RGB image and depth image are necessary for me. And my problem is that after I activate the motion module, I still cannot get the RGB image, and the above error message appears, showing the user callback error. To avoid misunderstandings, I repeat my question. RGB cameras cannot be used, including all the following situations:

Only open the RGB image, do not activate the motion module, RGB cannot be used;
Activate the motion module and open the RGB image;
Activate the motion module and open the RGB image and the depth image at the same time, the depth image cannot be used at this time;
I didn't change any settings. After I installed librealsense, this happened. In all cases, the RGB camera could not be used, and the error message I got was the same. I want to know how to solve this problem, and what is the reason for this problem, why is there a user data callback error? But can the depth map be used normally? Is it the kernel of my system? Please help me to solve this problem, it is very important to me, thank you

发自我的iPhone
------------------ Original ------------------
From: MartyG-RealSense<EMAIL_ADDRESS>Date: Thu,Nov 19,2020 2:48 AM
To: IntelRealSense/librealsense<EMAIL_ADDRESS>Cc: GaoZiHong<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [IntelRealSense/librealsense] Jetson TX2 install realsense error, unable to display RGB image (#7776)
Thank you for the additional details.  Your experience with the RealSense Viewer is a known issue when activating the Motion Module.  There are programming workarounds in C++ and Python when writing your own application but there is not currently a solution for the Viewer.  So the best recommendation would be to only use the Motion Module on its own in the Viewer.
If you activate color, depth, or both color and depth at the same time, then you should not have problems with the RGB if you leave the Motion Module unactivated.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

I do not mean not to use depth and color.  I mean to use depth and color in one Viewer session, and then close and re-open the Viewer and use motion module on its own (do not use the motion module at the same time as depth or color).  Do not turn the motion module on when you are using depth or color.
You have not done anything wrong and your computer is not at fault.  This is a well known issue with the Viewer.

Thank you for your quick reply. You mean I can’t activate the motion module and the RGB camera in the same viewer window? But I remember I did this when I used realsense on the x86 architecture. If your operation is correct, it means that my current system configuration allows me to use the RGB camera normally, right?
发自我的iPhone
------------------ Original ------------------
From: MartyG-RealSense<EMAIL_ADDRESS>Date: Thu,Nov 19,2020 3:17 AM
To: IntelRealSense/librealsense<EMAIL_ADDRESS>Cc: GaoZiHong<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [IntelRealSense/librealsense] Jetson TX2 install realsense error, unable to display RGB image (#7776)
I do not mean not to use depth and color.  I mean to use depth and color in one Viewer session, and then close and re-open the Viewer and use motion module on its own (do not use the motion module at the same time as depth or color).  Do not turn the motion module on when you are using depth or color.
You have not done anything wrong and your computer is not at fault.  This is a well known issue with the Viewer.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

Yes, please avoid activating the motion module and RGB in the same window of the Viewer if doing so disrupts the RGB.
It is a commonly occurring problem, though I am not aware of it occurring on every computer.  There is no way to tell in advance whether a particular computer / computing device will experience the problem.

thank you. In this case, when I only open RGB in one window, RGB cannot be used, right? I have to open RGB in one window and activate the motion module in another window. Is my description correct?
发自我的iPhone
------------------ Original ------------------
From: MartyG-RealSense<EMAIL_ADDRESS>Date: Thu,Nov 19,2020 3:58 AM
To: IntelRealSense/librealsense<EMAIL_ADDRESS>Cc: GaoZiHong<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [IntelRealSense/librealsense] Jetson TX2 install realsense error, unable to display RGB image (#7776)
Yes, please avoid activating the motion module and RGB in the same window of the Viewer if doing so disrupts the RGB.
It is a commonly occurring problem, though I am not aware of it occurring on every computer.  There is no way to tell in advance whether a particular computer / computing device will experience the problem.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

Basically, yes.  You can use RGB and depth in the same Viewer window, but do not activate the motion module in that same window.

thank you. I will verify this result tomorrow morning, I hope it is useful. I would like to know the possible reasons why RGB images can not be used in a single window but depth maps can be used? What exactly is the function of the motion module? Why is the above operation correct in two windows? Does this problem only occur under the arm architecture of TX2 or is it possible under the x86 architecture?
发自我的iPhone
------------------ Original ------------------
From: MartyG-RealSense<EMAIL_ADDRESS>Date: Thu,Nov 19,2020 4:13 AM
To: IntelRealSense/librealsense<EMAIL_ADDRESS>Cc: GaoZiHong<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [IntelRealSense/librealsense] Jetson TX2 install realsense error, unable to display RGB image (#7776)
Basically, yes.  You can use RGB and depth in the same Viewer window, but do not activate the motion module in that same window.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

You can use both RGB and Depth in the same Viewer session.  The trigger for the problem with the RGB is always the activation of the motion module.
So there should be no problem with having both RGB and depth on at the same time in the same Viewer session so long as you do not turn the motion module on too.
The motion module displays gyroscope and acceleration data from the IMU component (for example, how fast the camera is moving and if it is tilted at an angle).  If you do not need to use that data then you do not need to activate the motion module.  It is not needed for depth and RGB information.

Thank you, I went to test the method you mentioned this morning, unfortunately the method did not work. I still cannot use an RGB camera. After I open the motion module, the global time buffer error is displayed. What are the other possible solutions?

The easiest way to resolve this problem is to not open the motion module.  It is not needed for streamng RGB or depth.

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

yes,please
发自我的iPhone
------------------ Original ------------------
From: MartyG-RealSense<EMAIL_ADDRESS>Date: Thu,Nov 26,2020 4:08 PM
To: IntelRealSense/librealsense<EMAIL_ADDRESS>Cc: GaoZiHong<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [IntelRealSense/librealsense] Jetson TX2 install realsense error, unable to display RGB image (#7776)
Hi @GaoZiHong   Do you require further assistance with this case, please?    Thanks!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

I ran further tests with the new 2.40.0 Viewer and firmware <IP_ADDRESS> and the RGB problem after activating the Motion Module is still present.  I also found that the problem was unrelated to the camera.   If a D435i was attached when the RGB had No Frames Received and another camera model such as the D415 was used instead, the RGB still could not receive frames.  Only a reboot of the computer corrected the problem.
These results confirm that there is nothing that can be done right now to correct the problem in the Viewer, unfortunately.  If you need motion data, you will have to use only the Motion Module in the Viewer.
The rs-multicam program that can show depth, RGB and IMU simultaneously from a single D435i is not affected by this RGB issue.
https://github.com/IntelRealSense/librealsense/tree/master/examples/multicam

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

No thanks. This question is not so important to me now, I am now using x86 architecture equipment. If I still encounter this problem when I use TX2 in the future, I will ask for help again. Thanks again
------------------ 原始邮件 ------------------
发件人:                                                                                "IntelRealSense/librealsense"<EMAIL_ADDRESS>发送时间: 2020年12月3日(星期四) 晚上10:03
收件人<EMAIL_ADDRESS>抄送: "梓晨"<1246830895<EMAIL_ADDRESS>主题: Re: [IntelRealSense/librealsense] Jetson TX2 install realsense error, unable to display RGB image (#7776)
Hi @GaoZiHong   Do you require further assistance with this case, please?   Thanks!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

Thanks so much for the update @GaoZiHong - I will close this case now.


Product create form doesn't fetch product types on load

What I'm trying to achieve
Select a product type without typing a search keyword into the field.
Steps to reproduce the problem

Go into the "create a product" form
Try to select a product type by clicking the dropdown
Nothing happens
Try again after having entered a search word

What I expected to happen
Prefetched.
Screenshots

System information
Operating system: Arch
Browser: Firefox 68

Fixed in #189


Additional Items to Pull in during processing

The JSON export has a number of links (URIs) that should probably be processed by the curation script.  The Preferred Label should be included with the URI. Namely:
Techniques (http://uri.interlex.org/tgbugs/uris/readable/technique/anestheticAdministration)
Organ (http://purl.obolibrary.org/obo/UBERON_0000945)
Affiliation RORs
Also, the Protocol Information (Name, Description, etc) is not in the TTL/JSON export.  That should probably be included as well.
There are probably more, but this is a start

Organs, affiliations, dois, orcids, and protocols are in (see https://github.com/SciCrunch/sparc-curation/issues/25#issuecomment-632641868). I need to normalize the contributor_affiliation field which sometimes has a ror in it if @ankap2 filled it in.
Techniques should be in next release once I merge the methods branch into dev.

These are included now (and have been for a while).


Retag / update Podspec

Can you updated your tags and podspec so downstream pods can get your latest patches? the 2014 patches aren't included in tag 0.0.1

thanks


Reliably get public key from transaction for relaying exchange

https://github.com/James-Sangalli/learn-solidity-with-examples/blob/master/Finance/bitcoin-to-ethereum-swap/BtcParser.sol#L296

Can do this now for segwit txs


Refactor config_test.exs

Overview
Some general cleanup and making sure we check for a config entry that always exists by default.
Testing recommendations

Related Issues or Pull Requests

Checklist

[ ] Code is written and works correctly
[ ] Changes are covered by tests
[ ] Any new configurable parameters are documented in rel/overlay/etc/default.ini
[ ] A PR for documentation changes has been made in https://github.com/apache/couchdb-documentation

Thank you for the review, @nickva !
I just realized I missed the "un-skipping" of Standard config options are present. I'll add that to this PR before merging, if you don't mind.

@bessbd sounds good!


feat: Enable tracing

This PR adds instrumentation with AWS X-ray:

It covers request tracing all the way from the gateway to the app plus any http/https calls from the app.
Important
The deployment requires deleting base path mapping in API Gateway settings. Removing it manually from the console right before the deployment results in about 5 minute downtime.
see: https://trello.com/c/hXMKudeg/901-migrate-tracing-logic-to-express-lambda for details

How did you manage to attach the HTTP requests to the handler segment?

If I recall correctly, these last 4 requests used to be part of a different trace. Now they span out of the apiHandler segment. Where they always like this?

If I recall correctly, these last 4 requests used to be part of a different trace. Now they span out of the apiHandler segment. Where they always like this?

no, thats the whole point, By disabling express middleware I was able to get a single trace, which is what we wanted right?

@johnytiago FYI the reason we are unable to UPDATE the base path mapping is because API Gateway V1 and V2 have a different type of mapping meaning its a completely different resource in CloudFormation and such modification is not supported, see:

However although they seem to be two completely different resources they still clash because of the same domain.

later attempts to deploy without downtime showed that there is a lot of risk involved in deployment and little value overall, so I'm closing this PR in favour of https://github.com/yldio/asap-hub/pull/765


⚠ ClamAV has degraded performance

In b04b83e, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 224 ms

Resolved: ClamAV performance has improved in fd24e78.


Pattern: Develop Card - Prod level version

User Story

As a [user role below]:
IBM.com Library developer

I need to:
create/change the Card

so that I can:
provide the ibm.com adopter developers patterns/components they can use to build ibm.com web pages

Additional information

Story within Storybook with corresponding knobs
Utilize Carbon
The Card pattern will support presenting a video within the card.
Design specs issue (#2190  )
Functional specs issue (#2226  )
Sketch and PDFs for visual design specs are posted here: https://ibm.ent.box.com/folder/95514001950
Includes the video card specs posted here: https://ibm.ent.box.com/file/657576937319
Design QA testing issue (#)
Prod QA testing issue (#)

Acceptance criteria

[ ] Create new storybook story
[ ] create new sandbox for the Card pattern
[ ] export the Card properly as a component
[ ] export the Card styles properly with the styles package
[ ] Include README for the react pattern and corresponding styles
[ ] Minimum 80% unit test coverage
[ ] A comment is posted in the Design QA issue, tagging Wonil and Roberta, when development is finished
[ ] A comment is posted in the Prod QA issue, tagging Praveen and Chetan, when development is finished

5/11/2020 comments from Ellen Choi included in the func specs issue #2226:  SEO analysis provided on potential page discoverability when videos are played in a lightbox viewer concluded there is no negative impact. However, the CHQ content team still has concerns on supporting this type of interaction for video content therefore we will not be moving forward with this work (discussed this decision with Linda).
Closing based on this decision.


Use resource_name instead of session_name when creating Task

[x] This contribution adheres to CONTRIBUTING.md.

What does this Pull Request accomplish?
The nidaqmx_analog_input was using the session_information.session_name to create the nidaqmx session. It should be using the session_information.resource_name.
Why should this Pull Request be merged?
Use the correct information to initialize a session.
What testing has been done?
None. Prior to upcoming changes to session_information.session_name, the session_information.session_name would be identical to session_information.resource_name, so this should continue to work.

Abandoning this given the comments.


SystemTracer broken

It has something to do with this commit: d392a089dec1a747e247d3e33100a5286248129d
Works when this commit is reverted.
The images produced by the system tracer are broken.
################################################################RPython traceback:
  File "implement.c", line 237, in safe_entry_point
  File "implement.c", line 3168, in entry_point
  File "spyvm_squeakimage.c", line 1172, in ImageReader_read_all
  File "spyvm_squeakimage.c", line 2230, in ImageReader_read_body
  File "spyvm_squeakimage.c", line 6383, in ImageReader_read_object
  File "spyvm_squeakimage.c", line 9424, in ImageReader_read_3wordobjectheader
Fatal RPython error: AssertionError
[1]    73459 abort      ./rsqueak /tmp/imgd000999999999

@krono Any ideas what this could be? Seems to be some edge case. The size of the produced image file looks fine.

What about 6e8a4a435e90fb27eee1e8926b9fcd7438f4b69f ?

What if you add W_CompiledMethod here?
                if isinstance(w_obj, model.W_AbstractObjectWithClassReference):

Does not solve the problem. In fact, it seems to crash earlier now and the error message changed (ImageReader_read_2wordobjectheader instead of ImageReader_read_3wordobjectheader).
################RPython traceback:
  File "implement.c", line 236, in safe_entry_point
  File "implement.c", line 3170, in entry_point
  File "spyvm_squeakimage.c", line 1167, in ImageReader_read_all
  File "spyvm_squeakimage.c", line 2219, in ImageReader_read_body
  File "spyvm_squeakimage.c", line 6402, in ImageReader_read_object
  File "spyvm_squeakimage.c", line 10147, in ImageReader_read_2wordobjectheader
Fatal RPython error: AssertionError
[1]    85076 abort      ./rsqueak /tmp/imgd333999999999

Also tried replacing W_AbstractObjectWithClassReference with W_Object.

Have you looked at what objects get written in the first place?

writing images out with current master 1fad9b26 will still make the images crash when opening it
################RPython traceback:
  File "implement.c", line 236, in safe_entry_point
  File "implement.c", line 3172, in entry_point
  File "spyvm_squeakimage.c", line 1173, in ImageReader_read_all
  File "spyvm_squeakimage.c", line 2208, in ImageReader_read_body
  File "spyvm_squeakimage.c", line 6374, in ImageReader_read_object
  File "spyvm_squeakimage.c", line 10128, in ImageReader_read_2wordobjectheader
Fatal RPython error: AssertionError

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib        	0x994be69a __pthread_kill + 10
1   libsystem_pthread.dylib       	0x95a94f19 pthread_kill + 101
2   libsystem_c.dylib             	0x90066eee abort + 156
3   rsqueak                       	0x003464d4 pypy_debug_catch_fatal_exception + 68

it's resolved in master.
Terminating the ObjectHistory process is necessary. Not doing so will make the image freeze sometimes in general and always when loading a SystemTracer-written image.

:+1: Good work hunting that down


fix: build and ci

add statsmodels as dependency
remove support for python 3.9
fix test cases for MCA

Codecov Report

Merging #45 (4e33e86) into main (1e1694f) will decrease coverage by 4.83%.
The diff coverage is 91.49%.

@@            Coverage Diff             @@
##             main      #45      +/-   ##
==========================================
- Coverage   96.28%   91.45%   -4.83%
==========================================
  Files          49       39      -10
  Lines        3206     2599     -607
==========================================
- Hits         3087     2377     -710
- Misses        119      222     +103

Impacted Files
Coverage Δ

xeofs/utils/rotation.py
88.67% <ø> (-5.67%)
:arrow_down:

xeofs/utils/sanity_checks.py
80.76% <ø> (ø)

xeofs/utils/statistics.py
68.00% <ø> (ø)

xeofs/utils/xarray_utils.py
94.73% <ø> (ø)

xeofs/validation/__init__.py
100.00% <ø> (ø)

xeofs/validation/bootstrapper.py
98.59% <ø> (ø)

xeofs/models/mca_rotator.py
58.63% <58.44%> (-39.78%)
:arrow_down:

xeofs/models/_base_model.py
75.00% <75.00%> (ø)

xeofs/preprocessing/_base_stacker.py
76.19% <76.19%> (ø)

xeofs/preprocessing/_base_scaler.py
84.21% <84.21%> (ø)

... and 29 more


x/build/DIR:kubernetes not compatible with go1.6

I noticed in kubernetes/dialer.go the package "context" is used, but in other locations (for example here) "golang.org/x/net/context" is used. I think this is keeping the kubernetes package from working with go1.6 -- just wanted to check if this was intentional.
What version of Go are you using (go version)?
go1.6
What operating system and processor architecture are you using (go env)?
linux/amd64
What did you do?
go get golang.org/x/build/kubernetes
What did you expect to see?
No output, package should be retrieved.
What did you see instead?
Saw output:
package context: unrecognized import path "context" (import path does not begin with hostname)

Go 1.7 added the context yep, so that would be the minimum version required to compile that code.
The go release policy also mentions that right now only Go 1.9 and 1.10 are supported.

@adamdecaf is correct. We don’t support 1.6 anymore and users should migrate imports of golang.org/x/net/context to context where they can.


What does tsconfig.json do in this sample?

Let me first say a big thank you for the demo. This is something I was looking for.
After playing around with the sample I found something that bugs me. What does the compilerOptions/paths property in the sample do, because when I deleted it, nothing changed. Furthermore, I could not get my OSS definitions to work unless I added them there explicitly: "paths": { "currency.js": ["./node_modules/currency.js/dist/currency.d.ts"] }.
The pre-configured typeRoots seem to work only for definetly typed packages and the ui5 modules ofc, or?
What does the initial value of compilerOptions/paths do?
Is it correct to manually add paths to compilerOptions/paths?
Thanks in advance
Dimitar

Hey there,
I'll might be able to answer at least a few questions. Not all of them sadly, as I'd have to take a closer look into the repository first and my current Notebook isn't fully set up.

The pre-configured typeRoots seem to work only for definetly typed packages and the ui5 modules ofc, or?

Yep!

What does the initial value of compilerOptions/paths do?

I'd guess it has to do with running the application during development (as it includes the project path itself with a - at development time non-existant folder shim. I'm not a 100% sure why they are included as of now. I think @petermuessig can give a better explanation 😄

Is it correct to manually add paths to compilerOptions/paths?

So far, with what I have done in typescript, I'd say yes. You can of course find more detailled explanations regarding everything in the tsconfig file in the official documentation.

https://www.typescriptlang.org/docs/handbook/tsconfig-json.html
or more specifc, here: https://www.typescriptlang.org/tsconfig#paths

I don't know if this question here is still relevant - but some small comments from my side:

the tsconfig.json is mainly relevant for the IDE to provide a proper code completion support and for the tslint - for the pure build it is not taken into consideration
dependencies should nowadays be added into the types section and listed individually => this avoids and relative path in your tsconfig.json which may break (e.g. in mono repo using different npm package managers)
the compilerOptions/paths is relevant for the mapping of the source files into the UI5 namespaces - which indicates that everything in the src folder is mapped to the namespace ui5-ts-shim-showcase/shim
it works for your OSS library because you point to the concrete d.ts file and establish the mapping - but this may also work automatically when adding the currency.js to the types section (if the OSS library has properly configured his types information)


Support "repetition penality" in completion options

Validations

[X] I believe this is a way to improve. I'll try to join the Continue Discord for questions
[x] I'm not able to find an open issue that requests the same enhancement

Problem
vLLM (and maybe others?) support the Sampling Parameter repetition_penalty. this is used in the official recommended sampling parameters by Qwen 2.5 (-Coder). src1 src2
It's definition slightly differs from the existing presencePenalty (highlight by me):

repetition_penalty – Float that penalizes new tokens based on whether they appear in the prompt and the generated text so far. Values > 1 encourage the model to use new tokens, while values < 1 encourage the model to repeat tokens.

presence_penalty – Float that penalizes new tokens based on whether they appear in the generated text so far. Values > 0 encourage the model to use new tokens, while values < 0 encourage the model to repeat tokens.

src: vllm docs
Solution
add optional repetitionPenalty parameter to completionOptions

I just saw that there's the requestOptions.extraBodyProperties setting, which may be used.
      "completionOptions": {
        "temperature": 0.7,
        "topP": 0.8,
        "maxTokens": 1024
      },
      "requestOptions": {
        "extraBodyProperties": {
          "repetition_penalty": 1.05
        }
      }

Looks like it works:
autocomplete-qwen25-vllm-qwen25-7b-1  | INFO 09-23 06:01:13 logger.py:36] Received request cmpl-30769337f88b4ab08891f1bf90133902-0: prompt: '<fim_prefix>(...)<fim_suffix>(...)<fim_middle>', params: SamplingParams(n=1, best_of=1, presence_penalty=0.0, frequency_penalty=0.0, repetition_penalty=1.05, temperature=0.7, top_p=0.8, top_k=-1, min_p=0.0, seed=None, use_beam_search=False, length_penalty=1.0, early_stopping=False, stop=['<fim_prefix>', '<fim_suffix>', '<fim_middle>', '<file_sep>', '<|endoftext|>', '</fim_middle>', '</code>', '\n\n', '\r\n\r\n', '/src/', '#- coding: utf-8', '```', '\nfunction', '\nclass', '\nmodule', '\nexport', '\nimport'], stop_token_ids=[], include_stop_str_in_output=False, ignore_eos=False, max_tokens=1024, min_tokens=0, logprobs=None, prompt_logprobs=None, skip_special_tokens=True, spaces_between_special_tokens=True, truncate_prompt_tokens=None), prompt_token_ids: (...)

However, it is not logged in VSCode's Output panel if it works as intended

Great, thank you!
I think logging this at every request is a bit too verbose, but logging the complete setup parsed from the config.json once upon start /  window reload / changes to the file would be great.
Just print all models and their configuration (including default values like the template being used!) would be very much appreciated for debugging. Settings not explicitly set can also be printed in that case


Does Managed Disks only support P4 and P6?  Is this still true?

"P4 and P6 sizes are currently only supported for Managed Disks."

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

ID: 978b668c-13f9-a75a-b7ca-17bb59e398a6
Version Independent ID: 8ab14f42-c192-3cde-7f94-7b481276f3d4
Content: Azure Premium Storage: Design for performance on Windows VMs
Content Source: articles/virtual-machines/windows/premium-storage-performance.md
Service: virtual-machines-windows
GitHub Login: @aungoo-msft
Microsoft Alias: aungoo

@twoqubits Thanks for the feedback. We are actively investigating and will get back to you soon.

I have created a few VMs with P40 premium managed disks and wanted to make sure I'm getting P40 IOPS and throughput.  I'm setting up to benchmark this.


Height issue with TableView Cell

TagView height is not working perfect with tableView Cell.
Its clipping from bottom.

How do you layout TagView in a tableview cell?

What's the code in tableView(_ tableView: UITableView, heightForRowAt indexPath: IndexPath) -> CGFloat method?

I also get this issue. In my case, when I change height of tableview cell (static cell), the tagview doesn't.

UITableViewAutomaticDimension
tableView(_ tableView: UITableView, heightForRowAt indexPath: IndexPath) -> CGFloat method?

I am having the same issue. kindly help me. why this section is closed I read here but I dint find the solution for it. revert asap.

I am having the same issue. kindly help me. why this section is closed I read here but I dint find the solution for it. revert asap.

@priyankakanojia36 л
Sent with GitHawk

I also get this issue. In my case, when I change the height of the TableView cell (static cell), the tag view doesn't.

I got the same issue. Would you able to resolve it?

What's the code in tableView(_ tableView: UITableView, heightForRowAt indexPath: IndexPath) -> CGFloat method?

Any solution??!!

add notificaiton to reload superview frame. it is not best way, but i can deal it.

Same here.
Conflict happens when there are other views in the same cell and have multiple rows of tags.

I also have the same problem ,I am thinking that the TagListView content layout is finished before table view reload completed so that the cell which contains the TaglistView did not updated it's content layout.
what I do is just reloading the tableview layout after reloadData() :

 tableView.reloadData()
        DispatchQueue.main.asyncAfter(deadline: .now() + 0.1) {[weak self] in
            self?.tableView.beginUpdates()
            self?.tableView.endUpdates()
        }

and the problem solved:
may this help

I also have the same problem ,I am thinking that the TagListView content layout is finished before table view reload completed so that the cell which contains the TaglistView did not updated it's content layout.
what I do is just reloading the tableview layout after reloadData() :
 tableView.reloadData()
        DispatchQueue.main.asyncAfter(deadline: .now() + 0.1) {[weak self] in
            self?.tableView.beginUpdates()
            self?.tableView.endUpdates()
        }

and the problem solved:
may this help

Awesome. Its worked for me thanks alot

It is so sad we have still same problem.
Applying "beginUpdates" did not solve my problem.

Also for me the solution is to set margins and paddings programmatically, not from interface builder:
tagListView.paddingX = 7
tagListView.paddingY = 7
tagListView.marginX = 7
tagListView.marginY = 7

by using tagListView.subviews.count we can get the height.
height =  (tagListView.subviews.count * 32) + topMargin + bottomMargin
this will fix height issue

I had similar issue and resolve it thanks to reloadData call inside viewDidAppear one.
The solution was found here: https://github.com/zekunyan/TTGTagCollectionView#fix

I had similar issue and resolve it thanks to reloadData call inside viewDidAppear one.
The solution was found here: https://github.com/zekunyan/TTGTagCollectionView#fix

hey guys, i have the proplem, i'm try reload the tableview layout,but not working,please help me

I'm using TagListView in a table view with static cells. I calculate my TagListView's height like this:
import Foundation
import TagListView

extension TagListView {

    var height: CGFloat {
        // row count. If tagView doesn't have an item it will be 0
        let count = CGFloat(self.subviews.count)
        // subview (aka row) height. If no row exists 'first' item will be nil, so we set 0.
        let height = self.subviews.first?.frame.height ?? 0
        // margin
        let margin = self.marginY

        // calculate total height.
        // subview count times height + subview count - 1 times margin
        return CGFloat((count * height) + (count - 1) * margin)
    }

}

This will give you the exact height of the view.
Now you can set the cell height:
if you are using static cells like me:
@IBOutlet weak var myCell: UITableViewCell

func someFunct() {
    // do stuff
    myCell.frame.size.height = tagList.height
}

if you are using dynamic cells :
override func tableView(_ tableView: UITableView, heightForRowAt indexPath: IndexPath) -> CGFloat {
    if indexPath.row == theRowYouWant {
        return tagList.height
    }

    return aDefaultValOrSomethingElseIDontCare
}

// then use reload cells / reload data or smth

I'm using TagListView in a table view with static cells. I calculate my TagListView's height like this:
import Foundation
import TagListView

extension TagListView {

    var height: CGFloat {
        // row count. If tagView doesn't have an item it will be 0
        let count = CGFloat(self.subviews.count)
        // subview (aka row) height. If no row exists 'first' item will be nil, so we set 0.
        let height = self.subviews.first?.frame.height ?? 0
        // margin
        let margin = self.marginY

        // calculate total height.
        // subview count times height + subview count - 1 times margin
        // if count is 0 we don't want to make the view minus margin height
        return CGFloat((count * height) + (count == 0 ? count : count - 1)) * margin)
    }

}

This will give you the exact height of the view.
Now you can set the cell height:
if you are using static cells like me:
@IBOutlet weak var myCell: UITableViewCell

func someFunct() {
    // do stuff
    myCell.frame.size.height = tagList.height
}

if you are using dynamic cells :
override func tableView(_ tableView: UITableView, heightForRowAt indexPath: IndexPath) -> CGFloat {
    if indexPath.row == theRowYouWant {
        return tagList.height
    }

    return aDefaultValOrSomethingElseIDontCare
}

// then use reload cells / reload data or smth

thanks , let me try

tableView.reloadData()
        DispatchQueue.main.asyncAfter(deadline: .now() + 0.1) {[weak self] in
            self?.tableView.beginUpdates()
            self?.tableView.endUpdates()
        }

Works perfectly


MIC-184 add csip status and persist

Codecov Report
Attention: Patch coverage is 96.15385% with 1 line in your changes missing coverage. Please review.

Project coverage is 89.67%. Comparing base (c14c15f) to head (7a817c1).

Files
Patch %
Lines

...pportinterventionplanapi/enumeration/CsipStatus.kt
91.66%
1 Missing :warning:

Additional details and impacted files
@@             Coverage Diff              @@
##               main     #104      +/-   ##
============================================
+ Coverage     89.53%   89.67%   +0.13%
- Complexity      658      661       +3
============================================
  Files           115      116       +1
  Lines          2017     2033      +16
  Branches        112      112
============================================
+ Hits           1806     1823      +17
- Misses          169      170       +1
+ Partials         42       40       -2

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Change calendar link timezone from New_York to UTC

Change calendar link timezone from America/New_York to UTC to avoid confusion and import conversion errors, in light of move to daylight-immune UTC discussed in All Hands Call https://github.com/ipfs/pm/issues/584

thanks @Admin-DataRoads :)


change VmToolBar to ToolBar

as discussed in this PR
https://github.com/cosmos/voyager/pull/1188

Should this be labelled discuss to go through our process?

According to process it should. I don't know if necessary though


Black Formatter client: couldn't create connection to server - permission denied to /run/user/1000/vcode-ipc*.sock

I am using this extension in VSCode in conjunction with the WSL Extension and get the following error:
2024-02-14 09:33:23.765 [info] Name: Black Formatter
2024-02-14 09:33:23.765 [info] Module: black
2024-02-14 09:33:23.765 [info] Default formatter is set to ms-python.black-formatter for workspace /home/jake/dev/<project_name>
2024-02-14 09:33:23.765 [info] Python extension loading
2024-02-14 09:33:23.765 [info] Waiting for interpreter from python extension.
2024-02-14 09:33:23.765 [info] No interpreter found from setting black-formatter.interpreter
2024-02-14 09:33:23.765 [info] Getting interpreter from ms-python.python extension for workspace /home/jake/dev/<project_name>
2024-02-14 09:33:23.765 [info] Python extension loaded
2024-02-14 09:33:23.765 [info] Interpreter from ms-python.python extension for /home/jake/dev/<project_name>: /home/jake/dev/<project_name>/venv/bin/python
2024-02-14 09:33:23.765 [info] No interpreter found from setting black-formatter.interpreter
2024-02-14 09:33:23.765 [info] Getting interpreter from ms-python.python extension for workspace /home/jake/dev/<project_name>
2024-02-14 09:33:23.765 [info] Interpreter from ms-python.python extension for /home/jake/dev/dfs-<project_name>: /home/jake/dev/<project_name>/venv/bin/python
2024-02-14 09:33:23.765 [info] Server run command: /home/jake/dev/<project_name>/venv/bin/python /home/jake/.vscode-server/extensions/ms-python.black-formatter-2024.0.0/bundled/tool/lsp_server.py
2024-02-14 09:33:23.765 [info] Server: Start requested.
2024-02-14 09:33:23.765 [info] [Error - 9:33:23 AM] Black Formatter client: couldn't create connection to server.
2024-02-14 09:33:23.765 [info] Error: listen EACCES: permission denied /run/user/1000/vscode-ipc-af55b4cc76fd3187ffbc56c8404c8a9aae0c9f6a5a.sock
    at Server.setupListenHandle [as _listen2] (node:net:1734:21)
    at listenInCluster (node:net:1799:12)
    at Server.listen (node:net:1898:5)
    at /home/jake/.vscode-server/extensions/ms-python.black-formatter-2024.0.0/dist/extension.js:1:118326
    at new Promise (<anonymous>)
    at t.createClientPipeTransport (/home/jake/.vscode-server/extensions/ms-python.black-formatter-2024.0.0/dist/extension.js:1:118217)
    at /home/jake/.vscode-server/extensions/ms-python.black-formatter-2024.0.0/dist/extension.js:1:314945
    at w.createConnection (/home/jake/.vscode-server/extensions/ms-python.black-formatter-2024.0.0/dist/extension.js:1:147022)
    at w.start (/home/jake/.vscode-server/extensions/ms-python.black-formatter-2024.0.0/dist/extension.js:1:137476)
    at t.restartServer (/home/jake/.vscode-server/extensions/ms-python.black-formatter-2024.0.0/dist/extension.js:1:56186)
    at o (/home/jake/.vscode-server/extensions/ms-python.black-formatter-2024.0.0/dist/extension.js:1:66639)
    at g.value (/home/jake/.vscode-server/extensions/ms-python.black-formatter-2024.0.0/dist/extension.js:1:66743)
2024-02-14 09:33:23.765 [error] Server: Start failed: Error: listen EACCES: permission denied /run/user/1000/vscode-ipc-af55b4cc76fd3187ffbc56c8404c8a9aae0c9f6a5a.sock

My user (jake) does have ID 1000, but there is no /run/user/1000 folder:
$ ls -lha /run/user
total 0
drwxr-xr-x  3 root root  60 Feb 14 08:41 .
drwxr-xr-x 18 root root 600 Feb 14 08:41 ..
drwxr-xr-x  6 root root 200 Feb 14 08:41 0

I can temporarily "fix" this by creating /run/user/1000 and chown-ing it to myself, but this fix does not persist over a restart.

This is fixed in prerelease version. Please try that.


Dart Analyze error.

Analyzer Feedback from IntelliJ
Version information

IDEA AI-173.4819257
2.1.0-edge.a2eb050044eec93f0844667b8b6132e858467e4e
AI-173.4819257, JRE 1.8.0_152-release-1024-b01x64 JetBrains s.r.o, OS Mac OS X(x86_64) v10.14 unknown, screens 1440x900  Retina

Exception
Please append the contents of:
file:///private/var/folders/jg/z0qjj9cx5vnblrhdksv7p_4m0000gn/T/report1.txt
Dart analysis server, SDK version 2.1.0-edge.a2eb050044eec93f0844667b8b6132e858467e4e, server version 1.20.5, error: Analysis failed: /Users/hyochan/Documents/SourceCode/FlutterProjects/flutter_calendar_carousel/lib/flutter_calendar_carousel.dart
Exception: Element not found in summary: dart:core

Duplicate of #34555


EAN13 scanning different codes for same image (LiveStream)

Hello,
I'm trying to read EAN13 barcodes with the LiveStream option and it seems to have different results for each try. For instance for this image:

I got different results:

Only one of them is the correct code.
I'm using this configuration:

Any help??
Thanks!

Also, using this example on mobile:
https://serratus.github.io/quaggaJS/examples/live_w_locator.html
I'm getting lots of different results for the same image:

Tried adjusting the parameters there but still getting multiple results.

@AJMA12 I used the workarounds mentioned in #237 .
For me it worked, hopefully it will help you ass well.

@joscal-nl
Can you please help with which solution worked for you, I'm still dealing with a bunch of wrong codes


fix: reduce setters

Remove setters for

project-id
namespace
acm-version

set-project-id function needs to be run imperatively e.g.:
kpt fn eval --include-meta-resources --image gcr.io/kpt-fn/set-project-id:v0.2.0 -- 'project-id=$PROJECT_ID'
Before kpt fn render
Also removed duplicate service activation resources

/test test-int


fix(dao) fix incorrect function field reassignment

The Plugins DAO's select_by_cache_key translator function was not disabled even if checked migration had actually been executed before.
Summary
In order to load a new plugin entity, a worker executes the Plugins.select_by_cache_key function (call to kong.db.plugins:select_by_cache_key(...), which delegates the load to DAO:select_by_cache_key, and checks whether the core.009_200_to_210 migration was executed previously.
If yes, before returning the loaded entity, the Plugins.select_by_cache_key function tries to self-replace by the DAO's one, but it doesn't work because the assigned field's object isn't the right one.
As an impact, an important extra latency is added to the plugin's load one, for each request involving such load.
This PR is to fix this behavior, so that extra latency may happen only once per worker.
Full changelog

[Fix ever checking core.009_200_to_210 execution on plugin load]

Issue reference
Issue #8788

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

@marc-charpentier as we are approaching 3.0, I think we can remove this check altogether, right @hishamhm?

@bungle in the past we have removed those checks once their corresponding migrations were "squashed". I don't know which migrations will be squashed for 3.0, but if 200_to_210 migration file stops existing in the 3.0 codebase then I believe this translator function can go away as well in 3.0.

@bungle Indeed, with my workmates we chose to remove the translator function altogether when deploying Kong 2.8 in our environments because we ensure that all migrations are run before.

@bungle
Hello,
And sorry for this late answer.
Although we chose to remove the function for our own Kong instances, I had wished to contribute with a fix not thwarting blue-green deployment support, and thought it would be nice to have it in a 2.8.2+ release.
Also, I suppose the function's complete removal was possible for us because we chose the 'no downtime way' involving a Cassandra keyspace copy and migration before starting 2.8 nodes.


issue #65

Description
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Fixes #65
Type of change
Please delete options that are not relevant.

[x] New feature (non-breaking change which adds functionality)

Checklist:

[x] I have read the contribution guidelines and followed it as far as possible.
[x] I have performed a self-review of my own code (if applicable)
[x] I have commented my code, particularly in hard-to-understand areas (if applicable)
[x] I have run go fmt on my code (reference)
[x] I have made corresponding changes to the documentation (if applicable)
[x] My changes generate no new warnings
[x] Any dependent and pending changes have been merged and published

#67 has been merged.

updated @MadhavJivrajani

This looks good to me! @MadhavJivrajani merge when convenient


Not able to create a defect from Azure DevOPs via Pulse

Defects are not syncing as we do not have any procedure to create a new defect in Azure DevOps va pulse and that defect should go to qTest like we are doing from qTest to Azure.
Expected Behavior
When a developer creates a defect in Azure DevOps, it should automatically go to the qTest via Pulse. If setup.
Current Behavior
The developer created a defect in Azure DevOps which did not exist in the qTest. So, the QA team did not know about this defect.
Your Environment

Pulse Version used: 2023.6.0
Environment (e.g. OP or OD):

The ADO integration does not support creation of defects in ADO flowing to qTest, only updates on existing defects imported from qTest via this integration.  The are the supported features as per the documentation:

Automatically create new qTest Requirement when a new work item is created in Azure DevOps
Automatically update qTest Requirement when the corresponding work item is updated in Azure DevOps
Automatically delete qTest Requirement when the corresponding work item is deleted in Azure DevOps
Automatically create new Azure DevOps Bug when a new Defect is created in qTest
Automatically update qTest Defect when the corresponding Bug is updated in Azure DevOps


Credentials for authenticating to private registries

The current OCI support added in #39 only allows pulling anonymously from OCI registries.
There should be a way to pass credentials to authenticate to a private registry.

Do we think we want credentials in the modules.toml, passed via CLI, or in a separate file altogether? We might be able to use the same format that Docker does.

On one hand, it would be really convenient to have a single file for everything.
At the same time, I have used a modules.toml file to configure sensitive environment variables, and I would very much prefer having a separate credential file for this.

I will pick this up

@nitishm -- let me know what your thoughts are here.
I haven't really thought about this issue very much lately, so I'm curious how you want to approach it.

@radu-matei i haven't had a chance  to work on this last week. I plan to spend some time this week. I will let you know what I am thinking 🙂

@radu-matei I am considering using a credentials file with password in b64. And (maybe) additional a CLI flag?

That could definitely work.
One other option would be to reuse the Docker configuration file.
wasm-to-oci expects the Docker CLI to be already authenticated to the desired container registry -- this ensures that both straightforward auth works, but also things like az act login, or gcloud auth, which directly append the token to the Docker config file.
We could take the same approach here -- this has the advantage of reusing the existing ways to authenticate to container registries, but adds the dependency on that file and format.
I'm ok with either approach, not really sure which option would be better.
What do you think?
Thanks for looking into this!

Leveraging the docker auth sounds much cleaner. I would rather not store credentials in the clear. I will look into how it can be done. If it's too hard (for me as a rust amateur) I will switch to the CLI flag based option & config file

@radu-matei for clarity are we looking to use the docker config file as a credential store for a new set of basic auth credentials to authenticate with private registeries or are we looking to re-use the creds from existing authenticated entries in the docker config (which I suppose can be fetched using the docker "credential helper" methods?

@radu-matei @technosophos I am thinking of leveraging https://github.com/keirlawson/docker_credential crate for this. Any thoughts?
The idea is to,

docker login (or any other CLI based login) that adds the auth creds to .docker/config.json's auth section.
When running wagi, pass in the registry name as an arg and use it to lookup the registry creds using the docker-credential-helper crate.

Let me know if that makes sense and I can get cranking.

Yeah, I think that crate totally makes sense.


Registered TSO client- Doesn't populate information- Via Sign Up

Expected behavior
If the client is a registered user and is not logged in, and goes through the login or sign up page with their existing TS.com account information the system should recognize that they have an account and pre-populate the saved information from their profile. This includes:
First Name
Last Name
Email address
Shipping address line one
Shipping address line 2
Shipping City
Shipping State
Shipping Zip Code
Primary Phone Number
'My Primary is my mobile'
Mobile Phone Number
Billing address line 1
Billing address line 2
Billing address city
Billing address state
Billing address zip code
here is my client info

Actual behavior
When the client gets to the Tells us about yourself page no information is pre-populated.

Steps to reproduce behavior
Client goes to TS.com
Client clicks on JoinUs
Client clicks on Get Started
Client clicks on Sign up
Client enters is 1st name
Client enters last name
Client enters in email address
Client enters password
Client retypes password
Client clicks on next
Client sees Whats in your kit page
Client clicks next
Client is taken to the Tell us about your self page
Client should see pre-populated information from TS.com Profile---- but it is blank.

Sorry I should have included the email address I used for TSO registered account-
<EMAIL_ADDRESS>Password = Beerbread1!

Closing as this is building a sitecore TSO login into big commerce.


action command not using /me, instead just puts ACTION at the beginning of message

Actual behaviour:
When using the client.action command(channel, message), instead of sending a /me command to the channel, it simply sends a regular message with the word ACTION added to the front of it.
Expected behaviour:
The action command should send the /me command to the channel with the message.
Error log:
N/A
Insert your error log here

Server configuration

Operating system: Windows 10
Node version (if applicable):
NPM version (if applicable):
tmi.js version: 1.5.0

client.action is sending \u0001ACTION ${message}\u0001. Are you seeing "ACTION" rendered by the Twitch website or app with no third party extensions? How could I recreate this issue? Screenshots or something?

Yes, I'm seeing "ACTION" rendered on Twitch as well as the Streamlabs Chatbot. If it's working fine for you, I'm not sure how the issue could be recreated, but I was able to make it work by using  this._sendCommand instead of this._sendMessage in commands.js:110. I used /me ${message} as the message parameter and removed the message transformation on line 107 that put the word "ACTION" into it.

I've seen the same issue some times with client.say and could just replicate it. Seems to happen with longer messages.
No third-party extensions installed.
Call:
 client.say(
        channel,
        `/me ${tags.username} ${variable}: ${anotherVariable}. monkaThink Por ejemplo: ${anotherVariable}`
);

Screenshots:

I'm seeing this intermittently (1/3 messages); message is long but does not contain line breaks


CM-767: File Access Modifier in C#

Hi @karimkod , I've submitted a new commit to address the suggested changes. Thank you.


Fixed two typos on the Plugin Name

CicularConatiner -> CircularContainer :)

Ouch, that's embarrassing :laughing:


NoInfer isn't erased and breaks type narrowing

🔎 Search Terms
NoInfer
🕗 Version & Regression Information

This changed between versions 5.3 and 5.4 (introduced)

⏯ Playground Link
https://www.typescriptlang.org/play?ts=5.5.0-dev.20240419#code/C4TwDgpgBAglC8UDeB9YBDA5gLigInTwF8AoUSKAIQWTS1zwCNiSzxoBVGuAHytYD0AqOWgA5APYBJAHYAzCACcATAB4YAPm6sAxhJkBnYFAC2uJIogGArgBtguSbIWLVHDUQDaAXRo-WctYyOsAAlvqm6GDqADRUGgAUocAQJga4lugAJvq2ILA+cXK4CeiO0vJK6hoAlAhalHVIUJbA1ooyUFDJqQYAdCZRCXJ1pEJQEDJZBlDWYFDoM1AJzZY29uXOVe4A3FBEUHwydrY1Pt2GKdlQEnLLq1Z2DrB7B0cnZ94kepdQBhImCDAAAWoRkmBogzACRMcQSKDq8C0KD6ayefToEPg2PwhCgAH5kFA+iSUHE0RsoCiKcYDrhjrZTiQgA
💻 Code
type A = {_tag: "a"}
type B = {_tag: "b"}

type U = A | B

// type NoInfer2<A> = A

const m: { result: NoInfer<U> }[] = []

function map<A, B>(items: readonly A[], f: (a: NoInfer<A>) => B) { return  items.map(f) }
// ends up as  ({ result: NoInfer<U>; } | null)[] instead of ({ result: A; } | null)[]
const something = map(m, (_) => _.result._tag === "a" ? { ..._, result: _.result } : null)

🙁 Actual behavior
ends up as  ({ result: NoInfer<U>; } | null)[]
🙂 Expected behavior
({ result: A; } | null)[]
Additional information about the issue
use the custom NoInfer2 type instead, and it works as expected.
Here's the actual source that lead me to the problem https://www.typescriptlang.org/play#code/JYWwDg9gTgLgBAbzgQSlAhgTwDRwKIBmBApgMYy4DyYMwEAdnAL5wFQQhwBExRZMXAFCDSDAM7woxMQFcANjDFwAvHADahEuQB0s0qWLEAJgAoAjAEptYYGGInN-bcQAewCvj4709IwBUAC2J6E1d3FQA+OBMkMPgmCwtcRx0oGXoAZUx6UgsAXWFReglWdGA5YxUUNCxtAnKYYigAWXQwEylZBTFcEwB9C0jBOBG+5zcYbT6YdABzFWVVLgAxMrkZKS44AH44aloGXQ57JG0zvtw4gC44MbjmQZv9unptegZ7C0EvoA

@patroza can i work on the issue?

@patroza can i work on the issue? if so then please assign!

please feel free. I know @Andarist wants to look into it next days, but no time like the present :)

https://github.com/microsoft/TypeScript/blob/main/CONTRIBUTING.md#issue-claiming


e2e test fails with "serviceaccounts already exists"

Bug Report
What did you do?
operator-sdk test local ./test/e2e --up-local --namespace operator-test
What did you expect to see?
A clear and concise description of what you expected to happen (or insert a code snippet).
What did you see instead? Under which circumstances?
The test fails with serviceaccounts "mongodb-operator" already exists on ctx.InitializeClusterResources().
INFO[0000] Testing operator locally.
time="2019-02-05T19:27:40+03:00" level=info msg="Started local operator"
--- FAIL: TestMongoDB (10.08s)
    --- FAIL: TestMongoDB/mongodb (0.00s)
        --- FAIL: TestMongoDB/mongodb/Run (10.02s)
            mongodb_test.go:47:
                    Error Trace:    mongodb_test.go:47
                    Error:          Expected nil, but got: &errors.StatusError{ErrStatus:v1.Status{TypeMeta:v1.TypeMeta{Kind:"", APIVersion:""}, ListMeta:v1.ListMeta{SelfLink:"", ResourceVersion:"", Continue:""}, Status:"Failure", Message:"serviceaccounts \"mongodb-operator\" already exists", Reason:"AlreadyExists", Details:(*v1.StatusDetails)(0xc0002fe240), Code:409}}
                    Test:           TestMongoDB/mongodb/Run
                    Messages:       failed to initialize cluster resources
            mongodb_test.go:48: Initialized cluster resources
            wait_util.go:52: Waiting for availability of mongodb-operator deployment
            wait_util.go:52: Waiting for availability of mongodb-operator deployment
            wait_util.go:52: Waiting for availability of mongodb-operator deployment
            mongodb_test.go:56:
                    Error Trace:    mongodb_test.go:56
                    Error:          Expected nil, but got: &errors.errorString{s:"timed out waiting for the condition"}
                    Test:           TestMongoDB/mongodb/Run
FAIL
time="2019-02-05T19:27:50+03:00" level=info msg="Local operator stdout: "

Environment

operator-sdk version: operator-sdk version v0.4.0+git 203301be4d10eae16b02b6ae787352dd22143ca1

Kubernetes version information:

Client Version: version.Info{Major:"1", Minor:"13", GitVersion:"v1.13.2", GitCommit:"cff46ab41ff0bb44d8584413b598ad8360ec1def", GitTreeState:"clean", BuildDate:"2019-01-13T23:15:13Z", GoVersion:"go1.11.4", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"10", GitVersion:"v1.10.0", GitCommit:"fc32d2f3698e36b93322a3465f63a14e9f0eaead", GitTreeState:"clean", BuildDate:"2018-03-26T16:44:10Z", GoVersion:"go1.9.3", Compiler:"gc", Platform:"linux/amd64"}

Kubernetes cluster kind: minikube

Are you writing your operator in ansible, helm, or go?
Go

Additional context
If I set skipIfExists to true here https://github.com/operator-framework/operator-sdk/blob/3b86d1a9ad4e2f2b32eca2e565339cc1f43e9859/pkg/test/resource_creator.go#L55 then it works.
Possible Solution
Expose skipIfExists parameter here https://github.com/operator-framework/operator-sdk/blob/3b86d1a9ad4e2f2b32eca2e565339cc1f43e9859/pkg/test/resource_creator.go#L108

I re-initialized a clean minikube environment and the tests worked well. I'm sorry for bothering.


build: update h2

Notes: https://github.com/hyperium/h2/releases/tag/v0.3.24
Related: https://rustsec.org/advisories/RUSTSEC-2024-0003

Jump to indexmap 1.x -> 2.x looks like more MSRV related than related to the rustsec.

Internal thread: https://neondb.slack.com/archives/C059ZC138NR/p1705535377364229 -- first seen on https://github.com/neondatabase/neon/actions/runs/7562936823/job/20594398233.


Use core::net::Ip{Addr, V4Addr, V6Addr}

Re-export the types from the standard library instead of duplicating their code. The types have been stable since Rust 1.6 and this crate has a MSRV of 1.60.
Instead of re-exporting the equivalent types from core::net at the crate root, this change simply removes the names. This is semver-incompatible, but re-exporting types is also incompatible since a trait implementation in a consuming crate for, e.g., core::net::IpAddr and pki_types::IpAddr would now conflict.

Hm, it was my understanding that it was 1.77 that stabilised core::net?

Mine too, and the MSRV CI failure hints at similar:
error[E0432]: unresolved import `core::net`
 --> src/server_name.rs:8:[11](https://github.com/rustls/pki-types/actions/runs/11127874829/job/30921355418?pr=60#step:4:12)
  |
8 | use core::net::{IpAddr, Ipv4Addr, Ipv6Addr};
  |           ^^^ could not find `net` in `core`

This is semver-incompatible

I think any semver breaking change is a tough sell for this crate. It would be nice to tidy this stuff up but IMO I don't think it merits a breaking release.

Hm, it was my understanding that it was 1.77 that stabilised core::net?

I think they're talking about when they were standardized in std (as opposed to core).

My mistake, I looked at https://doc.rust-lang.org/stable/core/net/enum.IpAddr.html, which has 1.7. https://doc.rust-lang.org/stable/core/net/index.html says 1.77


Huge performance difference between CPU and GPU

🐛 Bug
When I trained the models on my local CPU, everything worked as I would expect. However, when I try to train on GPU the models break. More specifically, the F1 for a binary classification task remains 0 throughout training on GPU but on CPU (with exact same settings, seeds, etc) achieves ~80 F1. The architecture is a simple 2 layer GNN (I have tried GCN and GAT and both have the same behavior).
If you look at the sample outputs below from both the devices you can see that the losses on GPU are also higher. It looked like the gradients were there for just the classification head (MLP). But I printed gradients for both the cases and there are gradients for all the components of the model in each case (2 layers of GCN/GAT + classification layer).
Any pointers what might be going wrong on the GPU?
Am I missing something? Like some setting/parameter to set?
To Reproduce
Steps to reproduce the behavior:

Expected behavior
Output in case of GPU:
Epoch: 1/100,
train_loss = 0.5891,    train_Acc = 0.7685,    train_prec = 0.0000,    train_recall = 0.0000,    train_f1 = 0.0000,
eval_loss = 0.5305,     eval_acc = 0.7682,     eval_prec = 0.0000,     eval_recall = 0.0000,     eval_f1 = 0.0000
lr  =  0.00100000
Elapsed Time:  00:00:11.53
1

Epoch: 2/100,
train_loss = 0.5694,    train_Acc = 0.7685,    train_prec = 0.0000,    train_recall = 0.0000,    train_f1 = 0.0000,
eval_loss = 0.5497,     eval_acc = 0.7682,     eval_prec = 0.0000,     eval_recall = 0.0000,     eval_f1 = 0.0000
lr  =  0.00100000
Elapsed Time:  00:00:22.02
2

Epoch: 3/100,
train_loss = 0.5568,    train_Acc = 0.7685,    train_prec = 0.0000,    train_recall = 0.0000,    train_f1 = 0.0000,
eval_loss = 0.5047,     eval_acc = 0.7682,     eval_prec = 0.0000,     eval_recall = 0.0000,     eval_f1 = 0.0000
lr  =  0.00100000
Elapsed Time:  00:00:32.58
3

Epoch: 4/100,
train_loss = 0.5542,    train_Acc = 0.7685,    train_prec = 0.0000,    train_recall = 0.0000,    train_f1 = 0.0000,
eval_loss = 0.5315,     eval_acc = 0.7682,     eval_prec = 0.0000,     eval_recall = 0.0000,     eval_f1 = 0.0000
lr  =  0.00064000
Elapsed Time:  00:00:43.12
4

Epoch: 5/100,
train_loss = 0.5502,    train_Acc = 0.7685,    train_prec = 0.0000,    train_recall = 0.0000,    train_f1 = 0.0000,
eval_loss = 0.5302,     eval_acc = 0.7682,     eval_prec = 0.0000,     eval_recall = 0.0000,     eval_f1 = 0.0000
lr  =  0.00080000
Elapsed Time:  00:00:53.59
5

Output in case of CPU:
Epoch: 1/100,
train_loss = 0.3761,    train_Acc = 0.8277,    train_prec = 0.6361,    train_recall = 0.5973,    train_f1 = 0.6161,
eval_loss = 0.2803,     eval_acc = 0.8956,     eval_prec = 0.7908,     eval_recall = 0.7469,     eval_f1 = 0.7683
lr  =  0.00100000
Elapsed Time:  00:00:57.67
New High Score! Saving model...

Epoch: 2/100,
train_loss = 0.3129,    train_Acc = 0.9042,    train_prec = 0.8332,    train_recall = 0.7328,    train_f1 = 0.7798,
eval_loss = 0.2795,     eval_acc = 0.8875,     eval_prec = 0.7395,     eval_recall = 0.7942,     eval_f1 = 0.7659
lr  =  0.00100000
Elapsed Time:  00:02:01.88
1

Epoch: 3/100,
train_loss = 0.2775,    train_Acc = 0.9197,    train_prec = 0.8476,    train_recall = 0.7962,    train_f1 = 0.8211,
eval_loss = 0.2673,     eval_acc = 0.9008,     eval_prec = 0.8131,     eval_recall = 0.7428,     eval_f1 = 0.7763
lr  =  0.00100000
Elapsed Time:  00:03:17.85
New High Score! Saving model...

Epoch: 4/100,
train_loss = 0.2518,    train_Acc = 0.9326,    train_prec = 0.8734,    train_recall = 0.8292,    train_f1 = 0.8507,
eval_loss = 0.3062,     eval_acc = 0.8774,     eval_prec = 0.6978,     eval_recall = 0.8313,     eval_f1 = 0.7587
lr  =  0.00064000
Elapsed Time:  00:04:28.53
1

Epoch: 5/100,
train_loss = 0.2350,    train_Acc = 0.9318,    train_prec = 0.8767,    train_recall = 0.8209,    train_f1 = 0.8479,
eval_loss = 0.2778,     eval_acc = 0.9046,     eval_prec = 0.8373,     eval_recall = 0.7305,     eval_f1 = 0.7802
lr  =  0.00080000
Elapsed Time:  00:05:42.11
New High Score! Saving model...

Environment
CPU device details:

OS: Windows
Python version:
PyTorch version: 1.4
CUDA/cuDNN version: NA (CPU)
GCC version: NA
Any other relevant information:

GPU device details:

OS: Linux
Python version: 3.6.3
PyTorch version: 1.5
CUDA/cuDNN version: 10.1 / 7.6.5
GCC version:
Any other relevant information:

Additional context
I have made sure that torch-CUDA and device CUDA versions are same (10.1 and 10.1.243 respectively). I hope that works?
For the CPU device I have installed cpu versions of the libraries and for GPU device I have installed cu101 versions

UPDATE:
Works on GPU correctly for Torch 1.4 and CUDA 10.1
So I guess Torch 1.5 is causing issues (even though did not throw any warnings or errors)

Can you confirm a valid torch-scatter installation on PyTorch 1.5 by running the test suite of torch-scatter? That would be great to identify the error.


Key does not have a valid/acceptable signature to derive an expiration date from

Hi, I encountered the exception below while trying to encrypt and sign something with pgpainless-sop.
Caused by: org.pgpainless.exception.KeyException$UnacceptableSelfSignatureException: Key 87518BFC11C9B490C8980F489E459E50958DA71F does not have a valid/acceptable signature to derive an expiration date from.

My code is as follows:
byte[] ciphertext = sop.encrypt()
                    .withCert(publicKey)
                    .signWith(secretKey)
                    .withKeyPassword("password")
                    .plaintext(plaintext.getBytes())
                    .getBytes();

It looks like withCert is unable to use the publicKey but I can't figure out what to fix based on the exception message.
Furthermore, I was able to encrypt and sign with the same keys using the gnupg command on my local machine (Mac OS) so I am not sure what I am missing. Any help is appreciated!

Hey!
PGPainless might be using a stricter algorithm policy than GnuPG, so it is very likely that the keys you try to use do use algorithms (or signatures made using algorithms) which are rejected by PGPainless.
I can recommend the sequoia-keyring-linter to check what the exact issue is. The tool can even try to fix the issue for your own key.
If the issue persists (or you are unable to modify affected keys, e.g. if they are public keys of contacts) you can try to relax PGPainless' algorithm policy.
If the issue still persists, let me know :)

Hi @vanitasvitae,
I was able to get it working after relaxing the hash algorithm policy to allow SHA1 (I can't modify the key).
Policy policy = PGPainless.getPolicy();
Policy.HashAlgorithmPolicy customPolicy = new Policy.HashAlgorithmPolicy(
        HashAlgorithm.SHA512,
        Arrays.asList(HashAlgorithm.SHA512, HashAlgorithm.SHA384, HashAlgorithm.SHA256, HashAlgorithm.SHA224, HashAlgorithm.SHA1));
policy.setSignatureHashAlgorithmPolicy(customPolicy);

Thank you so much for your help!

Glad to hear :)

Reference: #373


Handle multiple target metadata files transparently

In #113, we're adding the ability for TUF to transparently download and verify target files before passing control back to the calling code. Right now, that means it needs to load the target files' known, signed metadata from targets.json. In review, @tedbow rightfully pointed out that there might be multiple files with target metadata, and that snapshot.json is the place to get a list of those. We'll need to handle this in such a way that TUF automatically figures out which target metadata file contains the information on the target being downloaded.

This has long been dealt with. :) Updater can search the targets tree, including delegations, to find the metadata with the target's info. We have extensive test coverage of that.


Compatibility with RetroZilla

Can this please work with https://github.com/rn10950/RetroZilla/ browser?

rawUa: Mozilla/5.0 (Windows; U; Windows NT 4.0; en-US; rv:<IP_ADDRESS>) Gecko/20190223 RetroZilla/2.2 SeaMonkey/1.1.19 Firefox/2.0.20
string:
family: SeaMonkey
major: 1
minor: 1
patch: 19
device: Other 0.0.0

Thank you.

would be nice to test and debug.
You could try to node tests\server.js then open http://localhost:8002 and capture the results.
Is it the same as Firefox 2 ? May be, I could download old Firefox and test....

@tobiastromm , https://github.com/Yaffle/EventSource/commit/ddddda0fe98a4a814f969322fac3c19e33bc2eba

@Yaffle, working exactly as expected.
Thank You soo much.
Just test it with https://www.w3schools.com/html/tryit.asp?filename=tryhtml5_sse example code.

Just a question.
Appears that old browsers do not support "var data = JSON.parse(e.data);"
Any alternative to that:
source.addEventListener('novaMensagem', function(e) {
var data = JSON.parse(e.data);
alert ('Mensagem: ' + data.mensagem + ' , Data\Hora: ' + data.mensagemNotificacao);
}, false);

@tobiastromm , you might try to use a polyfill for JSON - https://github.com/douglascrockford/JSON-js/blob/master/json2.js

@Yaffle , working exactly as expected!!! Again, thank you soo much. Thank you for your kindness and support. I am closing this.

@tobiastromm , thank you! Now it works in Firefox 2 :-)


Test of generated models fails, probably because db user does not have permission to create a new db

Model generation worked fine. Then when I went to test the models:
$ sqlboiler --version
SQLBoiler v2.3.0
$ go test -v ./models/
failed running: mysql [--defaults-file=/tmp/optionfile816793928]

ERROR 1044 (42000) at line 1: Access denied for user<EMAIL_ADDRESS>to database 'dedwqojajjmrsqkyrcnepxvwyyonfprzmnbhwzkz'

I think this happens because boileruser does not have permissions to create a new database or access it.

I confirmed that GRANT ALL ON dedwqojajjmrsqkyrcnepxvwyyonfprzmnbhwzkz.* to<EMAIL_ADDRESS>fixes the error.

Cool, glad to see you sorted it. You're correct though, those permissions are required.


Remove expired collaborator from Terraform file/s for mlaskowski4

Hi there
This is the GitHub-Collaborator repository bot.
The collaborator mlaskowski4 review date has expired for the file/s contained in this pull request.
Either approve this pull request, modify it or delete it if it is no longer necessary.

Hi @Nic-Hodg this collaborator review date has expired. Shall the user be removed or extended?

@NickWalt01 please extend this user


Using --webroot hangs forever at "Trying to solve HTTP-01"

Greetings. I want to migrate from --dns to --webroot. I'm running under fairly recent Apache. I make .well_known in the host directory. I start:
lego<EMAIL_ADDRESS>--webroot="/usr/web/mydomainhere.com" --domains="mydomainhere.com"  run
2016/11/01 22:38:56 [INFO][mydomainhere.com] acme: Obtaining bundled SAN certificate
2016/11/01 22:38:56 [INFO][mydomainhere.com] acme: Could not find solver for: dns-01
2016/11/01 22:38:56 [INFO][mydomainhere.com] acme: Trying to solve HTTP-01

The acme-challenge directory under .well-known is created, a file is in that directory, and I can wget that file from a different process. But lego hangs forever at "Trying to solve HTTP-01".
My apache config is:
Define Full www.mydomainhere.com
Define Short mydomainhere.com

<VirtualHost ${Full}:80>
ServerName ${Full}
Redirect / https://${Full}/
DocumentRoot /usr/web/${Short}
</VirtualHost>

<VirtualHost ${Short}:80>
ServerName ${Short}
Redirect / https://${Full}/
</VirtualHost>

<VirtualHost ${Full}:443>
ServerName ${Full}
DocumentRoot /usr/web/${Short}
CustomLog ${APACHE_LOG_DIR}/${Short}.access.log common
ErrorLog ${APACHE_LOG_DIR}/${Short}.error.log
SSLEngine on
SSLCertificateFile /etc/apache2/Certificates/${Short}.crt
SSLCertificateKeyFile /etc/apache2/Certificates/${Short}.key
SSLCertificateChainFile /etc/apache2/Certificates/chain.pem
</VirtualHost>

Clues would be appreciated.

Are you using the most recent release of lego?

I believe so:
# lego --version
lego version v0.3.1-0-g96a2477

@paulehoffman could you try with the latest version from master?

About to travel, so will try this in ~10 days. "On hold" for now.

@paulehoffman Late to the party here, but if you just run go get -u -v github.com/xenolf/lego Go should get the source for you into $GOPATH/src/github.com/xenolf/lego (see go help gopath for more information). You can then go to that folder and run go build, and after that ./lego to run the program.


Feature #329: Added ability to set default transfer accounts to sub-accounts

I think it is better to dynamically lookup the default transfer account of any ancestor accounts and use that when creating new transactions. (kind of how it is done when setting the title color for the account). That way there is no need to manage settings for sub-accounts individually.
So I would prefer not to merge this right now.

Thanks for the input. This sounds better.

Thanks for the patch!


Add Windows clean script to master

closing PR as a new version of this script will be available soon


Shortcuts dont work on Opera

Shortcurts like "Press g, then 0/- within one second of each other."  make the zoom larger/smaller here in Opera.

Hi @ShalokShalom!
I just tested this on Opera 45.0.2552.898 (PGO) on a Windows 10 64-bit system and the shortcuts are working for me.
From your other issue I'm guessing you see this issue in Opera for KaOS? With two reported issues, I'm wondering if the userscript manager is working as expected?

Is this still an issue?

It works now, while g- does also disable the dark theme at all now.
Same thing in Firefox, while it does not zoom even there.

Sorry for the delay in followup... would you please elaborate on what this means:

Same thing in Firefox, while it does not zoom even there.

I don't know what you mean about it not zooming?
If everything works, can I close this issue?

In Firefox, g- disables the theme, while your wiki means, its supposed to enable the settings menu:
https://github.com/StylishThemes/GitHub-Dark-Script/wiki#enable-github-dark

Same thing in Opera, while it zooms out there as well. So Page zoom out plus disablement of the Script, instead of an access to the settings.

I can not duplicate what you're describing... are only the g and - keys being pressed – separately but within one second of each other? Are you using the keypad - or the one in the number row (it shouldn't matter)?
The only way I get the zoom to work is if I hold down the Ctrl key (Windows).

within one second of each other and the number row, possible just on Linux

Would you try editing the userscript and try some different key combinations?
Look at lines 36-37 and modify them as desired:
// Keyboard shortcut to open ghd panel (only a two key combo coded)
keyboardOpen = "g+0",
keyboardToggle = "g+-",

It's not set up to allow you to enter stuff like "ctrl+F1", just single letters and numbers.
If it isn't the keys themselves, maybe it is because the script is bound to the document (see line 973) and listening for "keypress" and "keydown"... Maybe try switching that to document.body and see if that fixes the problem.
on(document.body, "keypress keydown", event => {

Sorry I can't be of more help... I don't have any systems running Linux to test these changes.

I changed it to g+b and g+f and it doesnt do anything on Grease at Firefox now:

Sorry for not getting back to you on this issue. It sounds like Linux is interfering with the script. I don't have any way to troubleshoot and solve this problem.

And now?

I was trying to ask that if you're still using this script, are you able to troubleshoot the event listener?
Are the "keypress" or "keydown" events firing? I just updated the script to check the event.key. Maybe that will fix the issue? If not, would you please add a console.log after the changed line to see what key is being reported?

I use the current Github version 2.2.7 and its still happening.
Can you give me a specific command? Under which specific line?
NOTE: As stated: g/- as an example work, in the wa that it triggers the Script on and off.
The zoom out happens additionally.

And what happens when you switch the keys to "g+b" and "g+f"?

https://github.com/StylishThemes/GitHub-Dark-Script/issues/34#issuecomment-314196630


Allow for any generic pre-processor commands in IDL

Time Tracking  information
Estimate of time to fix :
Actual time spent on fix:
We are finding that having the ability to add any pre-processor commands to model entities would be very useful in reducing the amount of hand editing that is required.  Specifically, the ability to #include things that are not automatically included (and are not model entities already, as that capability does exist).

Answers to clarifying questions:

What model elements would require this? Is it everything that can become an IDL file?
a - I believe so. At the very least, allowing pre-processor commands on everything would be useful

For each case above, where, exactly, in the generated IDL file would the customizations appear?
a - The use case inspiring this request is for the pre-processor commands to be near the top of the IDL File. I do not have a use case that needs the commands anywhere else at the moment, but I can't rule out that possibility for the future

Added time tracking fields to issue on 2019-09-30 @ 14:08

I'm going to close a few of these older issues that we may not want done before other things in the issue list. I don't want to cause confusion by leaving them up here. We still have them in our internal backlog and will reopen here once funding allows.


I changed things around a little bit, building things out for best practices and making the page generally responsive.

@kylerits Great pull request thank you


Usage based pricing and identity verification

Feature request

Extension name: [e.g. firestore-stripe-subscriptions]

A clear and concise description of what you want and what your use case is.
it would be ideal to have the full suite of Stripe products available in Firebase, however in my particular case Im interested in usage based pricing
Describe the solution you'd like
Usage based pricing allows me to charge customers for what they use in my app, eg like rate limiting API's or purchasing singular services that are not bundled into a flat monthly fee.
Perhaps this is already available, but there is no clear tutorial or documentation on how to impliment this. I would like to see a video or some documentation on how to configure Firebase to read these types of Products from Stripe
I'm considering simply using the Stripe identity verification tool instead of Firebase. It might even be a good idea to integrate this KYC into Firebase as this would allow for more use cases to be built.

Usage based pricing allows me to charge customers for what they use in my app, eg like rate limiting API's or purchasing singular services that are not bundled into a flat monthly fee.

Usage based pricing is already supported, see https://github.com/stripe/stripe-firebase-extensions/issues/134#issuecomment-783490547
Documentation on how to report usage can be found here: https://stripe.com/docs/billing/subscriptions/metered-billing#reporting-usage This is something you need to implement yourself as it tends to be very custom depending on your use case and can't be easily standardized.

I'm considering simply using the Stripe identity verification tool instead of Firebase. It might even be a good idea to integrate this KYC into Firebase as this would allow for more use cases to be built.

Identity verification is a use-case not related to subscriptions and wouldn't fit into this extension. But of course you can implement it with Cloud Functions yourself based on your needs.


'EARestrictedScrollView/EARestrictedScrollView.h' file not found

'EARestrictedScrollView/EARestrictedScrollView.h' file not found

Closing as a duplicate of #162


Cut down on recipe request paperwork

I feel like a simpler recipe request form will make this repo more inviting.
We can always add more requirements if we notice a pattern of missing content in recipe requests.

Makes sense!


New header layouts are missing

The new header layouts such as minimal and extended is not available in the schema. Can this be added?

Raising this again - same thing here. Layout="Extended" does not work.

Hi, thanks for your feedback. The option is now implemented in the next version of the provisioning schema,


Add custom sign in page

The project uses Clerk for authentication. Currently it just uses the default model based sign in UI. By following clerk documentation, you need to make a custom sign in page.
The page will be made like at /src/app/(auth)/signin/page.tsx
Clerk has a wonderful guide on how to do so - https://clerk.com/docs/custom-flows/email-password-mfa#build-a-custom-sign-in-flow-with-multi-factor-authentication
For design you can take inspiration from shadcn example authentication -

@ChiragAgg5k , could you assign me ?

@abhi9ab you are assigned!


Strip all images from text

Is there any way that the script could be configured to strip all images from the parsed content?
I neither need nor want them (screen reader) and they just take up space which leads to breaking results.

You can get the DOMDocument from readability and remove all the tags you want.
For example:
$dom = $readability->getDOMDocument();
$list = $doc->getElementsByTagName("p");

while ($list->length > 0) {
    $p = $list->item(0);
    $p->parentNode->removeChild($p);
}

Or you could get the final HTML and then use strip_tags.


#6: Is prime number check

Snippet for isPrime to check if a number is prime

Hi @iluwatar I'm done with the changes. Requesting a review.

Thanks @nikhilbarar for this new tested snippet! :+1:

Forgot to check that README.md is updated (it is like an index of all snippets) but no worries I'll update it myself.


Change type conversion error message with nil values.

Description:
Currently we are getting "cannot stamp null value to type..." This should be changed to " cannot stamp nil".
we need to do the same for convert as we..

Fixed with #13839


Remove const/let

Support versions of Internet Explorer before 11 by replacing const/let with var.

Could you resolve the confilict?

This became messed up.


fix: animation delay time of button

Pull Request
Related Issues:
[List any related issues or reference them using the syntax #issue_number.]
Fixes #(issue number)
fix issue #189
Description:
[Provide a brief description of your changes.]
add the necessary css for the animation delay of button
Checklist:

[x] I have tested my changes.
[x] My code follows the project's coding standards.
[ ] I have updated the documentation (if applicable).

Screenshots:
[If applicable, include screenshots to help reviewers understand your changes.]
https://github.com/ani1609/Spendwise/assets/102755411/bd0e6673-13de-4051-872b-4c3a3ebb71b6

@SharmaDhruv2511 Looks Good to me!


Announce

Here's some alpha quality work towards #255
Please take note of the "popular repository" indelibly front and centre on my Microsoft Github profile page.

Currently every top-level item is in its own file, and I'd like to keep doing that. It use fzf-vim to navigate around the project, and it makes it very easy to jump between structs by filename, and not have to search within a file.
What do you think about creating a tracker submodule in tracker.rs, and then renaming UdpTrackerConn to Client and putting it into src/tracker/client.rs? There might be an HTTP tracker in the future, or there might not be, so it seems unnecessary to plan in advance for it.
It makes sense to put request/response pairs in the the same file, so, for example, AnnounceRequest and AnnounceResponse can both go in src/tracker/announce.rs.
State can go in src/tracker/state.rs.
More comments in a second, but I wanted to start with that high level thought.

I also updated this branch with new commits from master, which I shouldn't have done, since it creates nasty merge commits. Feel free to rebase and force push.

The only problem I see with your high level thought: all of the big Linux distros use https trackers.

The only problem I see with your high level thought: all of the big Linux distros use https trackers.

Sorry, I don't follow. If we add an HTTPS tracker later, can't the code be reorganized then?

Sorry, I don't follow. If we add an HTTPS tracker later, can't the code be reorganized then?

It totally can. I was stating the obvious fact that if imdl is to become super serious software, loved by users everywhere, an http tracker client must be included.

It totally can. I was stating the obvious fact that if imdl is to become super serious software, loved by users everywhere, an http tracker client must be included.

100%!

This build pipeline is fastidious. Let's see if I can fix the book building.

There's a lot of generated documentation, and a lot of checks that make sure that all the documentation is consistent and/or up-to-date.
I think in this case it's complaining that imdl torrent announce doesn't have an entry in bin/gen/config.yaml:
https://github.com/casey/intermodal/blob/master/bin/gen/config.yaml#L5

Interesting failure on the Windows machine. You totally saw it coming

That's interesting! I'm surpised it would work on macos/linux, but fail on Windows.

I think Window is right to send back the error. Binding to <IP_ADDRESS>:0 was definitely the wrong address.

Ahh, yeah, I guess the tests should bind to <IP_ADDRESS>?

Yo!! I've had a bunch of changes queued up for a while now, and I think this is getting closer to usable. Let me know how it's looking.
I'm planning to push the Peer Protocol stuff up in the next few days.

Awesome! It might take me a little bit, but I'll definitely get to this within the next few days.

Heya heya---when 10 days is a few days plus holidays, you don't count the holidays.
I've pushed up your copy changes, but, I think, the "integration test" needs a look. And you should also try the command and confirm that it works.

Heya heya---when 10 days is a few days plus holidays, you don't count the holidays.
I've pushed up your copy changes, but, I think, the "integration test" needs a look. And you should also try the command and confirm that it works.

I think this has gone stale 😅


Documentation Enhancement: Prominently Include "email" Scope Requirement in Getting Started Steps

When setting up the Facebook app integration without adding the "email" scope, the setup fails with an error message indicating an invalid scope. The error message is as follows:
Invalid Scopes: email. This message is only shown to developers...

This issue occurs during the authentication process, preventing successful integration until the "email" scope is correctly added to the Facebook app configuration.
Suggested Enhancement
The current documentation does include a note about the necessity of adding the "email" scope within the Getting Started section. However, this note is somewhat inconspicuous and can be easily overlooked, leading to the aforementioned error and a potential roadblock for developers integrating Facebook authentication for the first time.
Proposal: To improve the developer experience and minimize setup errors, I suggest enhancing the documentation by elevating the importance of adding the "email" scope. Specifically, it would be beneficial to transform the current note into a distinct step within the Getting Started guide. This change would ensure that the requirement is more visible and acknowledged as a critical part of the setup process.
Proposed Location for the Enhancement
The enhancement could be placed at the same heading level as other steps in the Getting Started section to ensure it receives adequate attention. For example, if the current steps are formatted as follows:

Create a Facebook App
Configure the App Settings
Add a Callback URL
Note: Ensure you add the "email" scope to your app

It could be revised to:

Create a Facebook App
Configure the App Settings
Add a Callback URL
Add the "email" Scope to Your App - This step is crucial for ensuring your app can access the necessary permissions to function correctly.

Additional Context

Error encountered during the authentication setup phase.
Current documentation location: Getting Started
Snapshot of the issue: Error Message Snapshot
Snapshot of the current note in the documentation: Current Note Snapshot

Hi Natalia and @andrei-zgirvaci ,
I'm following up on this issue as I've encountered the same problem with the React Native app. This is likely to affect other developers as well. Could we prioritize documenting this?
Thank you,
Diego

Thanks. Tweaked and fixed in https://github.com/openmobilehub/android-omh-auth/commit/ed8b4e63494dd0a3eccdb671d2257290a1f6a594.


Use Promises instead of thunks

This requires a global Promise object, which should be available in any environment that implements generators anyway.
Implementation is easy since raw-body already returns Promises when no callback is specified.

Can you rebase from master to resolve the conflicts?

@fengmk2 I'll do that

@fengmk2 done

:grin: wooh!

:clap:

+1

@dead-horse help me publish a major version to npm

4.0.0 released


Pearling a player by command does not send them to the Nether

When using the command /ep exileany a player is prison pearled, but they are not send to the nether until they respawn or disconnect. They should be transported to the nether immediately

Do we want to kill the player on imprisonment or send them straight to nether, the cons of the latter are whole inventory transfer

Good question, I would say we want to kill them on imprisonment. Situations where this command would be used is if a pearl was freed by mistake and the player is getting manually pearled by admins. So killing them on imprisonment may be the way to go.

https://github.com/CivMC/ExilePearl/pull/19


quota-set 新增 secgroup 字段

这个 PR 实现什么功能/修复什么问题:
quota-set 新增 secgroup 字段
是否需要 backport 到之前的 release 分支:

release/2.10.0
release/2.11

/area climc

/area secgroup

Codecov Report

Merging #2219 into master will decrease coverage by <.01%.
The diff coverage is n/a.

@@            Coverage Diff            @@
##           master   #2219      +/-   ##
=========================================
- Coverage    7.07%   7.07%   -0.01%
=========================================
  Files         451     451
  Lines       71092   71092
=========================================
- Hits         5029    5027       -2
- Misses      65651   65652       +1
- Partials      412     413       +1

Flag
Coverage Δ

#aFlag
7.07% <ø> (-0.01%)
:arrow_down:

Impacted Files
Coverage Δ

pkg/appsrv/response.go
66.15% <0%> (-3.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 c60913e...9b884a6. Read the comment docs.

/lgtm

/approve


Muzzle flash when shooting from VSS Vintorez

When you fire a VSS Vintorez a muzzle flash appears which shouldn't be the case

Shoot from VSS Vintorez
And you will see the problem

Will be in 0.1


No scripts

i've installed the github repo but I'm missing all the scripts you have in your video tutorial. Why is that?

I'm having the same issue on windows


docs: add some verbiage for benchmark test rules

Commit Message: Add documentation about benchmark test bazel rules.
Additional Description: I'm trying to communicate that envoy_cc_benchmark_binary is for humans measuring performance, and envoy_benchmark_test is for machines running CI builds.
Risk Level: None. Documentation only.
Testing: automated spell check.
Release Notes: N/A

Hey @antoniovicente, do you think this will help the next time someone is confused by the difference between a benchmark_binary and benchmark_test rule?


coredns: work on tcp requests concurrently

Right now for a single network all requests where processed serial and
with tcp a caller is able to block us for a long time if it just opens
the connection but sends very little or no data. To avoid this always
spawn a new task if we accept a new tcp connection.
We could do the same for udp however my testing with contrib/perf/run.sh
has shown that it slows things down as the overhead of spawning a task
is greater than the few quick simple map lookups so we only spawn where
needed. We still have to spawn when forwarding external requests as this
can take a long time.
Fixes #500

@mheon PTAL

/lgtm


Catch Memory Leaks

Is your feature request related to a problem? Please describe.
Pluto should be able to capture memory leaks also, thus becoming a superset of Leak Canary.
For Context: We are using leak canary but we like your library and so was thinking to use this for debugging from now on. But, we are also using Leak canary and if Pluto could include the feature provided by Leak Canary (capture memory leaks), we could simply replace it with Pluto.
In addition, as somebody has already raised an issue, if we can add database inspector also in the Pluto, that would be awesome.
Something similar to this https://github.com/amitshekhariitbhu/Android-Debug-Database

hey @sonusourav, glad you like Pluto, to answer your queries

we don't see how we can add more value to what LeakCanary is already providing. If we can provide better leak management, we would definitely look into it, but there is no roadmap for that yet. If you have any use-case in mind, please do share.
we are actively looking into integrating Database Inspector, you will hear soon from us on this.

@sonusourav Pluto now supports Rooms DB on version 2.0.0+