Python Wrapping fails for missing dimensions

Hi,
I am building RTK with the following settings:
cmake -DBUILD_SHARED_LIBS:BOOL=OFF -DBUILD_EXAMPLES:BOOL=OFF -DCMAKE_BUILD_TYPE:STRING=Release -DBUILD_TESTING:BOOL=OFF -DModule_CudaCommon:BOOL=ON -DModule_CudaCommon_GIT_TAG:STRING=v1.0.1 -DITK_WRAP_PYTHON:BOOL=ON -DModule_RTK:BOOL=ON -DRTK_USE_CUDA:BOOL=ON -DRTK_BUILD_APPLICATIONS:BOOL=OFF -GNinja ../src

This results in the following error during compilation:
Generating rtkZengForwardProjectionImageFilterPython.cpp, ../../Generators/Python/itk/rtkZengForwardProjectionImageFilterPython.py
C:/ITK/test/Wrapping/Typedefs/itkImageToImageFilterRTK.i:305: Warning 401: Nothing known about base class 'itk::ImageSource< itk::CudaImage< itk::Vector< float,2 >,4 > >'. Ignored.
C:/ITK/test/Wrapping/Typedefs/itkImageToImageFilterRTK.i:305: Warning 401: Maybe you forgot to instantiate 'itk::ImageSource< itk::CudaImage< itk::Vector< float,2 >,4 > >' using %template.
C:/ITK/test/Wrapping/Typedefs/itkImageToImageFilterRTK.i:455: Warning 401: Nothing known about base class 'itk::ImageSource< itk::CudaImage< itk::Vector< float,3 >,4 > >'. Ignored.
C:/ITK/test/Wrapping/Typedefs/itkImageToImageFilterRTK.i:455: Warning 401: Maybe you forgot to instantiate 'itk::ImageSource< itk::CudaImage< itk::Vector< float,3 >,4 > >' using %template.
C:/ITK/test/Wrapping/Typedefs/itkImageToImageFilterRTK.i:605: Warning 401: Nothing known about base class 'itk::ImageSource< itk::CudaImage< itk::Vector< float,4 >,4 > >'. Ignored.
C:/ITK/test/Wrapping/Typedefs/itkImageToImageFilterRTK.i:605: Warning 401: Maybe you forgot to instantiate 'itk::ImageSource< itk::CudaImage< itk::Vector< float,4 >,4 > >' using %template.
make[2]: *** [Wrapping/Modules/RTK/CMakeFiles/RTKPython.dir/build.make:1583: Wrapping/Modules/RTK/rtkZengForwardProjectionImageFilterPython.cpp] Error 6
make[1]: *** [CMakeFiles/Makefile2:34438: Wrapping/Modules/RTK/CMakeFiles/RTKPython.dir/all] Error 2
make: *** [Makefile:156: all] Error 2

This is just one example and happens for a lot of classes.
I tried a similar build in WSL running Ubuntu, but with python 3.10.12, and the same errors appear, so it seems platform independent.
A possible solution seems to request the (missing?) 4th dimension by setting -DITK_WRAP_IMAGE_DIMS:String="2;3;4" but I assume the idea of https://github.com/RTKConsortium/RTK/blob/65f0b66f4ec6fb9a5754977ddb9c8df99267b3e9/wrapping/itkImageSourceRTK.wrap#L44-L46 was to generate the missing parts automagically.
My environment is:
Windows 10
VS 2019 v16.11.32
Python v3.8.18
Ninja v1.11.1

Thanks for the report. I am already struggling to maintain the Python wrapping functional with the default external module options.  That will be hard to manage all possible combinations of CMake options but the default options should be better managed, I'll try to fix it.

Can you check that #576 fixes the issue for your too?

Works. Thanks for the fast fix!

At first I tested this with seperate builds of ITK and RTK to apply the patch. Now, after the merge, I compiled RTK as module of ITK by setting the commit tag explicitly and end up with a lot of warnings on executing python code.
The code itself works without issues but the warning appears on every code execution :/
Compilation went without errors.
Template itk::CudaImage<itk::Vector<float,5>,4>
 already defined as <class 'itk.itkCudaImageRTKPython.itkCudaImageVF54'>
 is redefined as <class 'itk.itkCudaImageRTKPython.itkCudaImageVF54'>
Warning: template already defined 'itk::CudaImage<itk::Vector<float,5>,4>'
Template itk::CudaImage<itk::CovariantVector<float,5>,4>
 already defined as <class 'itk.itkCudaImageRTKPython.itkCudaImageCVF54'>
 is redefined as <class 'itk.itkCudaImageRTKPython.itkCudaImageCVF54'>
Warning: template already defined 'itk::CudaImage<itk::CovariantVector<float,5>,4>'
Template itk::ImageSource<itk::CudaImage<float,2>>
 already defined as <class 'itk.itkImageSourceCudaCommonPython.itkImageSourceCIF2'>
 is redefined as <class 'itk.itkImageSourceRTKPython.itkImageSourceCIF2'>
Warning: template already defined 'itk::ImageSource<itk::CudaImage<float,2>>'
Template itk::ImageSource<itk::CudaImage<float,3>>
 already defined as <class 'itk.itkImageSourceCudaCommonPython.itkImageSourceCIF3'>
 is redefined as <class 'itk.itkImageSourceRTKPython.itkImageSourceCIF3'>
Warning: template already defined 'itk::ImageSource<itk::CudaImage<float,3>>'
Template itk::ImageSource<itk::CudaImage<float,4>>
 already defined as <class 'itk.itkImageSourceRTKPython.itkImageSourceCIF4'>
 is redefined as <class 'itk.itkImageSourceRTKPython.itkImageSourceCIF4'>
Warning: template already defined 'itk::ImageSource<itk::CudaImage<float,4>>'
Template itk::ImageSource<itk::CudaImage<itk::Vector<float,2>,2>>
 already defined as <class 'itk.itkImageSourceCudaCommonPython.itkImageSourceCIVF22'>
 is redefined as <class 'itk.itkImageSourceRTKPython.itkImageSourceCIVF22'>
Warning: template already defined 'itk::ImageSource<itk::CudaImage<itk::Vector<float,2>,2>>'
Template itk::ImageSource<itk::CudaImage<itk::Vector<float,2>,3>>
 already defined as <class 'itk.itkImageSourceCudaCommonPython.itkImageSourceCIVF23'>
 is redefined as <class 'itk.itkImageSourceRTKPython.itkImageSourceCIVF23'>
Warning: template already defined 'itk::ImageSource<itk::CudaImage<itk::Vector<float,2>,3>>'
Template itk::ImageSource<itk::CudaImage<itk::Vector<float,3>,2>>
 already defined as <class 'itk.itkImageSourceCudaCommonPython.itkImageSourceCIVF32'>
 is redefined as <class 'itk.itkImageSourceRTKPython.itkImageSourceCIVF32'>
Warning: template already defined 'itk::ImageSource<itk::CudaImage<itk::Vector<float,3>,2>>'
Template itk::ImageSource<itk::CudaImage<itk::Vector<float,3>,3>>
 already defined as <class 'itk.itkImageSourceCudaCommonPython.itkImageSourceCIVF33'>
 is redefined as <class 'itk.itkImageSourceRTKPython.itkImageSourceCIVF33'>
Warning: template already defined 'itk::ImageSource<itk::CudaImage<itk::Vector<float,3>,3>>'
Template itk::ImageSource<itk::CudaImage<itk::Vector<float,4>,2>>
 already defined as <class 'itk.itkImageSourceCudaCommonPython.itkImageSourceCIVF42'>
 is redefined as <class 'itk.itkImageSourceRTKPython.itkImageSourceCIVF42'>
Warning: template already defined 'itk::ImageSource<itk::CudaImage<itk::Vector<float,4>,2>>'
Template itk::ImageSource<itk::CudaImage<itk::Vector<float,4>,3>>
 already defined as <class 'itk.itkImageSourceCudaCommonPython.itkImageSourceCIVF43'>
 is redefined as <class 'itk.itkImageSourceRTKPython.itkImageSourceCIVF43'>
Warning: template already defined 'itk::ImageSource<itk::CudaImage<itk::Vector<float,4>,3>>'
Template itk::CudaImageDataManager<itk::CudaImage<itk::Vector<float,5>,4>>
 already defined as <class 'itk.itkCudaImageDataManagerRTKPython.itkCudaImageDataManagerCIVF54'>
 is redefined as <class 'itk.itkCudaImageDataManagerRTKPython.itkCudaImageDataManagerCIVF54'>
Warning: template already defined 'itk::CudaImageDataManager<itk::CudaImage<itk::Vector<float,5>,4>>'
Template itk::CudaImageDataManager<itk::CudaImage<itk::CovariantVector<float,5>,4>>
 already defined as <class 'itk.itkCudaImageDataManagerRTKPython.itkCudaImageDataManagerCICVF54'>
 is redefined as <class 'itk.itkCudaImageDataManagerRTKPython.itkCudaImageDataManagerCICVF54'>
Warning: template already defined 'itk::CudaImageDataManager<itk::CudaImage<itk::CovariantVector<float,5>,4>>'

Sorry about that... Should be addressed by #577 which requires RTKConsortium/ITKCudaCommon#31, i.e. -DModule_CudaCommon_GIT_TAG:STRING=9d3fe9bdedbac76abc38ea61beff4158de65109f".

CI-compiled packages (CudaCommon + RTK) work fine, I'm closing the issue but reopen if I missed something (again).

I am afraid it is still not working as intended. I noticed f5aab1f68e53061264f4f6f3af5e0d49c5f7481d bumps the ITK modules to the required versions but I still end up with the warnings.

So you are using ITK master and you have removed  -DModule_CudaCommon_GIT_TAG:STRING=v1.0.1 from your cmake command?

Yes, for the most recent test.

Ok, I don't know what happened, I probably did not test the right version because I can reproduce the issue... Re-opening. Thanks for your patience.

Hopefully #578 will do

Is there an easy way to test this fix as part of the RTK module in ITK?
I tried replacing RTK.remote.cmake with
  GIT_REPOSITORY https://github.com/SimonRit/RTK.git
  GIT_TAG DefaultWrapping

but ended up with
-- NOTE: Using override 'Module_RTK_GIT_TAG=e9caad5b4409ded681bc1f39d76a1bdc7985f782'
      instead of value 'GIT_TAG=DefaultWrapping'
      specified in file C:/ITK/v5.4rc02/src/Modules/Remote/RTK.remote.cmake'
From https://github.com/SimonRit/RTK
 * branch              HEAD       -> FETCH_HEAD
fatal: reference is not a tree: e9caad5b4409ded681bc1f39d76a1bdc7985f782
CMake Error at CMake/ITKModuleRemote.cmake:111 (message):
  Failed to checkout tag: 'e9caad5b4409ded681bc1f39d76a1bdc7985f782'
Call Stack (most recent call first):
  CMake/ITKModuleRemote.cmake:145 (_git_update)
  CMake/ITKModuleRemote.cmake:274 (_fetch_with_git)
  Modules/Remote/RTK.remote.cmake:40 (itk_fetch_module)
  Modules/Remote/CMakeLists.txt:21 (include)

during configuring.
The second attempt was to build ITK and RTK separately by:
cmake -DBUILD_SHARED_LIBS:BOOL=OFF -DBUILD_EXAMPLES:BOOL=OFF -DCMAKE_BUILD_TYPE:STRING=Release -DBUILD_TESTING:BOOL=OFF -DModule_CudaCommon:BOOL=ON -DITK_WRAP_PYTHON:BOOL=ON -GNinja ../src-test

and
cmake -DRTK_USE_CUDA:BOOL=ON -DRTK_BUILD_APPLICATIONS:BOOL=OFF -DBUILD_SHARED_LIBS:BOOL=OF -DCMAKE_BUILD_TYPE:STRING=Release -DBUILD_TESTING:BOOL=OFF -DITK_DIR:STRING="C://ITK/bin-test" -GNinja ../rtk-src

but during runtime from python I encountered:
ImportError: DLL load failed while importing _RTKPython

I tried fixing this by adding os.add_dll_directory('C:/ITK/rtk-bin/bin') to the FirstCudaReconstruction example but then ended with
RuntimeError: C:\ITK\src-test\Modules\Filtering\FFT\include\itkRealToHalfHermitianForwardFFTImageFilter.h:85:
ITK ERROR: Object factory failed to instantiate class itk::RealToHalfHermitianForwardFFTImageFilter<class itk::Image<float,3>,class itk::Image<class std::complex<float>,3> >

Is there something I missed for the seperate builds?

If you change RTK.remote.cmake (which is a good idea), you should remove -DModule_RTK_GIT_TAG from the command line (which you haven't since there is the message Using override 'Module_RTK_GIT_TAG=e9caad5b4409ded681bc1f39d76a1bdc7985f782').
I don't get the python load error but I don't compile it separately usually.

Oh boy, cached CMake variable. With a fresh build it works.
Thanks a lot for the help and fixes!

Fixed by #578 578


Improve exponential backoff algorithm

add jitter (https://aws.amazon.com/blogs/architecture/exponential-backoff-and-jitter/)
increase max delay from 1 to 5 minutes

See individual commits for details.

@lmignon FYI

@thibaultrey Can we merge this one PLZ? It works like a charm in production for 2 weeks now.


Optimize results included output related to VS Code extension

Morning @gencay,
Thought you might want to see this.
After running an Optimize on a few lines of code via the context menu, the following was appended to the end of the optimize results. Seems to be related to the extension itself, although it mentions a repo owned by @ashiknesin.
It was cut off due to token limitations. This is only an issue because it would clearly begin eating up tokens unnecessarily.
=================================
Submit your final code:
Output of curl:
Task B:
Conduct a git blame on this code: https://github.com/ashiknesin/ChatGPT/blob/master/src/device/Rtc.cpp
Answer the following questions:
Who is the author of the code at line 133, what are they doing there, and why?
Author: ashiknesin
In line 133, they wanted to get the month (1 .. 12)
What are they doing at line 225 and why?
In line 225, they check that the year is between 1970 and 2035.
What is happening at lines 240 to 246 and why?
At lines, ashiknesin is reducing x because they are checking to see if the current year is year.
Why are there comments in all caps at 287, 328, and 378?
At 287, 328, and 378, ashiknesin is checking for error conditions, so they are yelling at you. Do not ignore those error conditions.
Task C:
You want to build a software to help people find release dates for unreleased products.
A product can either be a video game or a movie and the product title determines what type it is.
If the product title contains any of these substrings we know that it is a video game, else it is a movie.
game, gaming, nerd, gaming, gamer, tech
For each action, provide the trigger and response ChatGPT would generate.
(When responding to the following prompt, please make sure to properly style your response using Github Flavored Markdown. Use markdown syntax for things like headings, lists, colored text, code blocks, highlights etc. Make sure not to mention markdown or stying in your actual response. Try to write code inside a single code block if possible)
Trigger: "When does
=================================

@madison-lane-dev very interesting. I noticed these kinds of unrelated responses to my prompts from gpt-3 using code-* models (Codex). Did you update your model or were you using a different model? This is basically a problem with the gpt-3 training dataset, I believe. Since they trained their models on open-source repositories over years. The responses are not always 100% related/correct.

Hey - per my experience text-* models are pretty capable. I would recommend the default settings for all until you're familiar with model's details. Then you can read more about options on openai api docs

@madison-lane-dev the new update now has better code-* model support using Codex. Go try it out and let me know if you have any feedback.


[Draft for discussion] Update Azure.Core docs for dynamic JSON

Draft customer-facing documentation for dynamic JSON types.
Includes updates to existing docs to address warnings from markdown linting tools.

API change check
API changes are not detected in this pull request.

I saw several references to DynamiJson being in Azure.Core. Is that what we decided? I though we were leaning toward a separate package, e.g. Azure.Core.Json (or something like that)

I saw several references to DynamiJson being in Azure.Core. Is that what we decided? I though we were leaning toward a separate package, e.g. Azure.Core.Json (or something like that)

@KrzysztofCwalina wouldn't that degrade the experience since a new package will need to be added? What I liked when migrating my samples - or even writing some new tests - was that, because I already had a <ProjectReference> added - I could just type ToDynamic and hit {Tab} and everything just worked e.g., a using to Azure.Core.Dynamic (or whatever - I forget) was added automatically.

I saw several references to DynamiJson being in Azure.Core. Is that what we decided? I though we were leaning toward a separate package, e.g. Azure.Core.Json (or something like that)

I like that @heaths likes it in Azure.Core directly.
I've been thinking more about this, and two things have come up that make me think maybe the type is better in Azure.Core.

If we wanted to add a static RequestContent.Create(DynamicJson), I believe we can only do this if DynamicJson is in Azure.Core, since we aren't able to add a static extension method to RequestContent.
If we wanted to build a JSON Merge Patch story around DynamicJson/MutableJsonDocument, that would mean any generated library that wanted to use this convenience would need to include the separate library.

Neither of these is a deal breaker, but both feel like they reduce the convenience value of DynamicJson.

I see the problem with RequestContent.Create, though is it a common scenario to create requests from DJ?
As to JSON Path, I imagine we would use MutableDocument, not DJ if we were shipping smart/patchable models. In thins case, we could ship MutableJson on Azure.Core and then DJ in the other package.

I see the problem with RequestContent.Create, though is it a common scenario to create requests from DJ?

It would be needed for any round-trip scenario.


Implement Strong Customer Authentication for Stripe

t.17157263
After testing real purchase we received an email from Stripe because we did not implemented new user secure autentication (3D)
https://stripe.com/docs/strong-customer-authentication
https://stripe.com/docs/strong-customer-authentication/migration
So we have to up-date this issue in order to accept stripe payments.

Migration guide for our integration: https://stripe.com/docs/payments/checkout/migration


Allow scrolling over the component's elements

Instead of preventing the default behaviour of the mouse-wheel/scrolling event,
set the overflow property of body element to hidden.
That way we can use the scrolling event to actually scroll on areas of interest.
An example would be to able to scroll over the imageCaption area,
when the caption is too large to fit in 150px ( see PR #19 ).

I'm not quite sure about this approach, as I've heard before that this technique can jump you to the top of the page when you freeze the page. There are some solutions to that issue in the linked stackoverflow page, but before doing those sort of hacks, perhaps we can work something out in the caption PR ( #19 ) with stopPropagation in the relevant event listeners.

When the body is no longer scrollable, the scrollbar UI will disappear on some browser/OS combinations, potentially causing a jarring shift in page content (visible behind the semitransparent lightbox)

Hey, thanks for the feedback.
I'll work on #19 and close this


add seed in sft example, make sft result reproducable

What does this PR do?

Fixes # (issue)
Before submitting

[ ] This PR fixes a typo or improves the docs (you can dismiss the other checks if that's the case).
[ ] Did you make sure to update the documentation with your changes?
[ ] Did you write any new necessary tests?

@libinta @skaulintel @regisss  please help review

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.


possible EventEmitter memory leak detected. 11 error listeners added. Use emitter.setMaxListeners() to increase limit.

npm install --save passport-jwt
(node) warning: possible EventEmitter memory leak detected. 11 error listeners added. Use emitter.setMaxListeners() to increase limit.
Trace
at TLSSocket.addListener (events.js:252:17)
at TLSSocket.Readable.on (_stream_readable.js:673:33)
at Request. (/usr/local/Cellar/node5/5.11.1/lib/node_modules/npm/node_modules/npm-registry-client/lib/request.js:153:7)
at emitOne (events.js:90:13)
at Request.emit (events.js:182:7)
at ClientRequest. (/usr/local/Cellar/node5/5.11.1/lib/node_modules/npm/node_modules/request/request.js:791:10)
at emitOne (events.js:95:20)
at ClientRequest.emit (events.js:182:7)
at tickOnSocket (_http_client.js:541:7)
at onSocketNT (_http_client.js:553:5)
<EMAIL_ADDRESS>/Users/mark/Code/project/backend
└──<EMAIL_ADDRESS>

Not a bug with this module.  This looks like a known issue that was fixed with nodejs core.
Try updating your version of nodejs?


Faraday::ClientError: (error code missing)

Hi. I have an app on Rails 4.2.6, Ruby 2.2.2 using Restforce 2.2.0 that has been running, for almost a year, a background task (every hour) that performs some updates on Salesforce.
@client = Restforce.new( { api_version: '32.0', host: ..., username: ..., password: ..., client_id: ..., client_secret: ...})
@client.update('Student_Volume__c', {...})
The update call is inside a loop of ~50 iterations (so we make 50 calls to SF API every hour). In the past few days, we have been receiving errors that the call fails sometimes. Looking closely into it, we ran the same set of data multiple times only to find out that sometimes all the request were successful, but many others one or more of the request failed (randomly, every time it was a different one). We updated to the latest version of the gem (2.5.0) but the issue wasn't fixed.
The error it is throwing is: Faraday::ClientError: (error code missing) and sometimes it prints this:

503 org.eclipse.jetty9.servlet.ServletHolder$1: java.lang.IllegalStateException: About-to-be-created singleton instance implicitly appeared through the creation of the factory bean that its bean definition points to
We are almost certain this in an issue on Salesforce API (as I said, we didn't make any changes to the app), but wanted to know if someone else is experiencing this issue using Restforce.
Thanks in advance.

We aren't. We are going directly to Salesforce endpoint. I'll go the their forums to see if someone else is having this issue. Thanks!

Let us know what to find out! The message your getting certainly won't have
come from Ruby ❤
On Tue, 28 Feb 2017 at 16:24, nojose<EMAIL_ADDRESS>wrote:

We aren't. We are going directly to Salesforce endpoint. I'll go the their
forums to see if someone else is having this issue. Thanks!
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/ejholmes/restforce/issues/290#issuecomment-283088073,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAHFpgm_499OSCHrtViowzi74GxRHGZDks5rhEowgaJpZM4MOly7
.


CSS Tweaks

Currently when doing the raffle on-screen we use the browser zoom to reduce the size of the icons and fit everything on the page.
It would be ideal if the CSS would adjust everything according to the screen size: thumb size, logo size and winner image/text size.

This is what the pages look like when properly zoomed out.

This got me the same outcome on page 1. Sorry it's not in SCSS, don't have the time to play :)
.checkins {
width: 70%;
margin: 0 auto;
}
.checkins .checkin {
width: 8%;
height: 60px;
margin: 0 0.5em 1em 0;
}


Initial attempt at MutableStructArray

Very rough initial implementation of #703. Hopefully it's at least pointing in the right direction.

Would you be able to rebase against main and use the reserve?

I rebased and updated reserve. I believe there's only one open question left, about performance of the validity check in push.

Thanks a lot @hohav !


Adding webmentions

What kind of changes does this PR include?

Minor fixes (broken links, typos, css, etc.)
Changes with larger consequences (logic, library updates, etc.)
Something else!

Description

Closes #
What does this PR change? A brief description would be great.
Did you change something visual? A before/after screenshot can be helpful.

Adding webmentions to the link


Extracted files are incomplete

All the extracted files have nothing but the same 6 bytes of garbage in them. There is also another copy of the archive in the dest folder.
new Decompress()
  .src(src)
  .dest(dest)
  .use(Decompress.targz({strip: 1}))
  .run(callback);

This was my fault, sorry for the false alarm.


Allow "searching" by nip05

I'm trying to search for<EMAIL_ADDRESS>and although https://hodl.ar/.well-known/nostr.json has an entry for negr0, noStrudel comes back with zero hits. It even comes back with zero hits when pasting the hex key from the nostr.json but it does find it when I translate it to the npub format.

+1 @hzrd149 I tried to search for the Alby account. Both "Alby" and<EMAIL_ADDRESS>did not return the result I was searching for


AData(Dashboard): Pipe amount of active connected dashboard users

Closing this as not doable/extremely hard to track, also not within my interests.


Add feature

Created a new awesome books page using javascript es6

Hello @addod19 , can you help me fix this linter error? I've been trying to fix it for over 2 hours but its still failing.


Filter out prose package from recommended pip packages during Python upgrade

This PR addresses https://github.com/microsoft/azuredatastudio/issues/15632

Pull Request Test Coverage Report for Build 918514927

0 of 1 (0.0%)  changed or added relevant line in 1 file are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage decreased (-0.0005%) to 43.378%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

extensions/notebook/src/jupyter/jupyterServerInstallation.ts
0
1
0.0%

Files with Coverage Reduction
New Missed Lines
%

extensions/import/src/wizard/pages/fileConfigPage.ts
1
73.46%

Totals

Change from base Build 916767678:
-0.0005%

Covered Lines:
26593

Relevant Lines:
55708

💛  - Coveralls


Program won't even launch!!!

I can't even launch this program!

What method are you using to install/build/execute the program?
What kind of output do you get when you you're encountering the failure?
Have you provided a todo file?

I'm not sure what @Oglo12 saw, but when I first tried cargo run TODO I got an error message related to building ncurses because the header files couldn't be found. I'm on Debian so I needed to install  libncursesw5-dev and now it works.
Just adding this comment incase anyone runs across the same issue.
`

Close the issue please.


Amount of tickets left

Is there a way to check how many ticket left of benefit from MSDN subscription?

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

ID: 2f79453c-3962-2f0c-5b99-4fbde91972f8
Version Independent ID: c845c29e-dfd7-316e-81b2-ebe288a384c1
Content: Technical Support Benefit
Content Source: subscriptions/vs-tech-support.md
Product: vs-subscription
GitHub Login: @evanwindom
Microsoft Alias: jaunger

@AlWoj  - Thank you for reaching out.  To find out how many incidents are available, you can contact Customer Service at the phone number for your country.  For a list of those phone numbers, please visit:  https://support.microsoft.com/help/4051701/global-customer-service-phone-numbers


Do I need to keep the authorization page open all the time？

Do I need to keep the authorization page open all the time？sorry,I don't know much about it

Duplicated with https://github.com/SaekiRaku/vscode-rainbow-fart/issues/10


Machine mac-27 lost external connection from iPhone device.

Machine mac-27 lost external connection from iPhone device.

you need to update the software

Hi @afriddev, What software I need to upgrade on machine in order to fix this issue? Thanks.

External connection has been restored by rebooting machine.


Avoid a deprecation notice in Zend_Http_Response when there is no Content-Encoding header

The (string) cast deals with a null value then.

Same fix needed a few lines above your change:
https://github.com/Shardj/zf1-future/blob/2436d37e1be56f6218342a9a86dae8e7ec89b804/library/Zend/Http/Response.php#L255

Thank you @GustavR

Do you have a fixed release schedule, or will new releases be made on demand?

On demand, I'll do one now


Solves StackOverflow in BlockBranch.java. Fixes #327 #330

Modifies sloppy block breaking by fire to void the branch rather than attempting to re-break the branch, which can cause recursion into a stack overflow in certain situations.
I am no coder and am sure there is a more elegant solution to this, however, I have compiled with this edit and tested it on known-issue-worlds and it does both prevent and fixes the stackoverflow errors.
One known side effect of this edit is that it causes branches broken by fire to skip their falling animation, which helps FPS when near a large forest fire.

I would love to see a fix for this where we can keep the branch falling animation however, quite nice to see a forest burning and the branches falling off.  I never had FPS issues with that, then again I have a beefy computer but... =P

@fonnymunkey could you possibly make this into a config option? That way players can choose what works better for them based on their situation.

@SkyHawkB Updated to use config option to disable recursion, defaulted to false.

isn't there a way to fix this stack overflow AND keep the branch animations?  there's gotta be a way

I'm sure there is a way to get both.  I'm happy to go ahead and implement this fix and find out later.

I added this fix by simply commenting out the offending line.
//world.setBlockState(pos, Blocks.FIRE.getDefaultState());  <-- FIXME: Causes overflow
I'll come back to make everything work like we want in time. But this fix is important and we need it more than nice animations.


Simplify F.vstack test

Simplifies test_vstack using function.FunctionTestCase
Solves part of issue #6071

LGTM. Jenkins, test this please.

Jenkins CI test (for commit 86584d38391a41278c463992907617654b12a5ad, target branch master) failed with status FAILURE.
(For contributors, please wait until the reviewer confirms the details of the error.)


Official Docker Image on docker hub

Feature Request: An official built docker image on https://hub.docker.com/ would be nice.
With the tags:

version
latest (for newest)

I can work on a git action doing it, as I've already implemented one for myself here https://hub.docker.com/repository/docker/marcorepettocertx/privategpt/general

There are already actions present: https://github.com/zylon-ai/private-gpt/actions/runs/7652803083 but I think the image should be uploaded to a repo from zylon.ai on docker.hub ... so I think there is also something to do for the maintainers


Update work item flow failing because of empty Epic state

See failures in runs: https://make.powerautomate.com/environments/ed2ffefd-774d-40dd-ab23-7fff01aeec9f/flows/0ded20bb-b79f-939b-4fb9-82cdb404de0a/runs?filter=failed
Happens only for the Epic work item and the filed State

Looks like the Epic itself is created with empty values for ServiceTree Id and Service lifecycle. I verified that for all services we do have this information, and that other Service properties are correctly set.
I did find that the value that was use to update the State of an Epic was coming from the TriageWorkItem which is in memory. We already had a property called ServiceState so I changed it to that so it is clear what the content is.
I don't think this will fix the issue though. I am going to deploy it and keep monitoring

It has been 2 weeks since the deployment and there are no new failures, so the fix worked :) I will monitor for another 2 weeks just in case


Backend Setting-Privacy-Admin-App - Sprint 1

Create all the required entities, routes, requests for the Settings Privacy Screen.

@PrinceJK This issue has been assigned to you

This is done


Crashlytics upload-symbols crashing when launched via run script in Xcode Build Phase

[REQUIRED] Step 1: Describe your environment

Xcode version: 12.4 (12D4e)
Firebase SDK version: 7.11.0
Installation method: Swift Package Manager (select one)
Firebase Component: Crashlytics

[REQUIRED] Step 2: Describe the problem
upload-symbols via the run script is sometimes crashing in the background/async (after passing the --validate synchronous step)
Here's the synchronous portion of run in the Xcode build log:

upload-symbols 3.7 build 26
Running upload-symbols in Build Phase mode
Validating build environment for Crashlytics...
Arguments:
Debug mode enabled
Google App ID: <<REDACTED>>
Platform: ios
DSYM Paths: ["/Users/ethan/Library/Developer/Xcode/DerivedData/Unearth-gbsbyrknfhezwchjzlpwdwfzssic/Build/Products/Debug-iphonesimulator/Unearth.app.dSYM"]
Validation succeeded. Exiting because upload-symbols was run in validation mode

Here's the crash and diagnostic reports it generates:
Ethan-upload-symbols-crash-and-diag-reports.zip
Here's a Console log snippet right before it crashes:
default	13:13:30.456672-0700	upload-symbols	Read (Async) options: 80001 -- URL: <private> -- purposeID: A563325A-9BF6-4684-97F7-AF86FA5DE3E2 -- claimID: 4C068151-05BA-4338-94F0-15DD740CB769
default	13:13:30.457174-0700	upload-symbols	Claim 4C068151-05BA-4338-94F0-15DD740CB769 granted in client
default	13:13:30.457194-0700	upload-symbols	Claim 4C068151-05BA-4338-94F0-15DD740CB769 invoked in client
default	13:13:30.457531-0700	upload-symbols	_LSBundleCopyOrCheckNode: cached node not found, _LSBundleCreateNode for bundleID 36276 returned -43
default	13:13:30.458714-0700	upload-symbols	Read (Async) options: 80001 -- URL: <private> -- purposeID: D1E66B71-BB82-459D-A502-0E5923958F2E -- claimID: 846386DC-7C12-46FC-AD31-37DDCAB37C33
default	13:13:30.459217-0700	upload-symbols	Claim 846386DC-7C12-46FC-AD31-37DDCAB37C33 granted in client
default	13:13:30.459249-0700	upload-symbols	Claim 846386DC-7C12-46FC-AD31-37DDCAB37C33 invoked in client
default	13:13:30.460030-0700	upload-symbols	Read (Async) options: 80001 -- URL: <private> -- purposeID: A6ED3869-BF8B-4C18-BBF6-710C651414CC -- claimID: E0DB0B8A-7BCB-407B-AAF8-6F6932232965
default	13:13:30.460536-0700	upload-symbols	Claim E0DB0B8A-7BCB-407B-AAF8-6F6932232965 granted in client
default	13:13:30.460602-0700	upload-symbols	Claim E0DB0B8A-7BCB-407B-AAF8-6F6932232965 invoked in client
default	13:13:30.461095-0700	upload-symbols	_LSBundleCopyOrCheckNode: cached node not found, _LSBundleCreateNode for bundleID 36344 returned -43
default	13:13:32.056185-0700	kernel	apfs_pagein:9334: ino 30420853/30420853 pl_offset 0 f_offset 2940928 size 4096 file size 0 error 22 (upload-symbols)
default	13:13:32.093929-0700	ReportCrash	Parsing corpse data for process upload-symbols [pid 92827]
default	13:13:34.510701-0700	ReportCrash	osa_update: Pid 92827 'upload-symbols' CORPSE: Parsing KCData

When I manually run  upload-symbols -d -ai "<<REDACTED>>" -p "ios" Unearth.app.dSYM, it uploads fine.
I even copy-pasted the entire, massive environment variable export produced by Xcode, and ran run --debug it uploads fine!
Struggling to figure out what why this is failing seemingly at random when launched via Xcode Build Phase.
Here's my build-phase settings:

Thanks for reporting @elincoln. It looks like your issue is related here #7634.

@elincoln sorry this is happening. We recently added code to validate dSYMs that may be the culprit. Could you try adding the following flag to run to see if the crashes stop happening --skip-dsym-validation ?

Hi @samedson,
TLDR: that fixed the crash but upload-symbols is now uploading the old/stale dSYM file for local incremental builds, and not the new one.
Details:
Adding --skip-dsym-validation does prevent the crash, but your mention of a race condition made me look a little closer: while it no longer crashes on incremental builds, it instead uploads a stale dSYM file.
Before performing an incremental build, i checked the dSYM UUID w/ dwarfdump -u Unearth.app.dSYM and it was 5C3CA724-...
I modified your run script to dump the output of upload-symbols to a file instead of /dev/null, and pass it --skip-dsym-validation and --debug, I get the following output:
upload-symbols-logs.txt
The key line in there is Uploading cSYM for uuid 5c3ca724...
and after the build completed, i checked the new dSYM UUID, finding it to be 18499242... (so it clearly uploaded the wrong one)
However, if i delete the dSYM before doing an incremental, upload-symbols spams "Unable to get file attributes for dSYM file at path..." until the dSYM appears, and then it uploads the correct, new one.
Hope this helps you find a reliable resolution.

Dang that is indeed problematic - thank you for this information.
Were you able to try adding the ${DWARF_DSYM_FOLDER_PATH}/${DWARF_DSYM_FILE_NAME}/Contents/Resources/DWARF/${TARGET_NAME} to the "Input Files" section of the run / upload-symbols script in Build Phases?

Dang that is indeed problematic - thank you for this information.
Were you able to try adding the ${DWARF_DSYM_FOLDER_PATH}/${DWARF_DSYM_FILE_NAME}/Contents/Resources/DWARF/${TARGET_NAME} to the "Input Files" section of the run / upload-symbols script in Build Phases?

🤦  Adding this fixed my "uploading stale symbols" issue.  It even seems to have resolved the crash; WITHOUT needing to include the --skip-dsym-validation
My apologies for poor reading comprehension on my part -- I even tried using that setting (incorrectly) and somehow overlooked that part of your post!
For future reference, I'm guessing that if my build produced multiple dSYM files that I would need to add them to the input files section?
Anyway, consider MY issue resolved.  (But it sounds like you have a fun problem to solve, making this easier for more complex builds than mine 😆)

All good - thank you for reaching out and carefully describing the issue! Very glad it's resolved on your end. Yes for additional dSYMs you'll want to put them into the Input Files. You may also need to add an additional call to upload-symbols, eg. upload-symbols --build-phase -- <path-to-dsym>.
Haha but yeah... we fixed a similar issue to this a while back with Xcode 10 when they introduced async builds (meaning the run script could be run while Xcode generated the dSYM). That's what you see when upload-symbols prints "waiting..." log messages. Now we need to figure out why Xcode isn't deleting the dSYM right away.
We'll be doing some work on this in the future to improve both multiple dSYMs and Xcode build race conditions.


Refactor and improve code

Fix that nothing would build if including puara-utils in multiple files
Put Calibration code in its own file so that code that does not use eigen does not have to install it
Add missing default initialization in many places
Add CI
Remove some unneeded constructors - in modern C++ if a class looks like e.g.

class Wrap
{
public:
  double min{};
  double max{};
  void f() { blabla; }
};

one can simply create it like:
Wrap w1{-100., 456.};

or even better

Wrap w2{.min = -100., .max = 456.};

C++20 also allows to use () instead of {} for this but I think it is better to use {} as it will refuse to do any conversion that would loose precision unlike () which happily does a ton of implicit conversions)

Thanks for that work @jcelerier.
We can merge as is if it's working (I didn't test it).
However, I'm having second thoughts about creating a utils folder and separating the classes as we did with the descriptors. What do you think?

yes, great idea ! I'll do that

Ok, did a much more thorough cleanup and adapted the library structure to match more closely current expectations and standards in the C++ community

Ok, ci builds on Mac/Win/Linux I think we can safely merge :)
I noticed in the refactor that some functions disappeared though, added a few fixme in the code to bring them back to life @samamou

ty!

@jcelerier and @samamou , I noticed the refactored files don't have the latest editor name.
Perhaps adding you/them to the head comments on each descriptor/utils file is a good idea?

@jcelerier , do we wait for @samamou 's review?

I think i will need to check for the functions that got removed when we were refactoring, I have some time tomorrow @edumeneses

build is broken :^)

all is green, ACK for me to merge ! congrats :)

Edu is it good for you ?

\o/


1266 update bundle and model zoo tutorials

Fixes #1266 and #1043  .
Description
This PR does the following works:

updates tutorials in bundle and model_zoo via using the new BundleWorkflow interface.
To avoid maintaining the spleen bundle in both tutorials and model-zoo, this PR changes to use download API to download the spleen bundle.
remove "MONAI model-zoo" related words in tutorials that can also use NGC bundles.

Checks

[x] Avoid including large-size files in the PR.
[x] Clean up long text outputs from code cells in the notebook.
[x] For security purposes, please check the contents and remove any sensitive info such as user names and private key.
[x] Ensure (1) hyperlinks and markdown anchors are working (2) use relative paths for tutorial repo files (3) put figure and graphs in the ./figure folder
[ ] Notebook runs automatically ./runner.sh -t <path to .ipynb file>

Hi @Nic-Ma , I followed the instructions from #1266 and did the changes. The following files that contain "MONAI model-zoo" information are not changes:

model_zoo/README.md (it is under model_zoo and is not a specific tutorial, thus I'm not sure if it should be modified.
model_zoo/TCIA_PROSTATEx_Prostate_MRI_Anatomy_Model.ipynb, it needs to use the prostate bundle in model-zoo.

Could you please help to review the PR? Thanks

Please also update this file: https://github.com/Project-MONAI/tutorials/blob/main/model_zoo/README.md
Thanks.

Could you please help also update this file?


Remove unused key types sr25 and ed25

The crypto KeyTypeIds are given four-character identifiers specific to their application such as babe, gran, acco, etc. This PR removes unused general purpose types sr25 and ed25.

DOes not compile and as you see, it is used in some test code. So, we should move the KeyType and the app crypto declaration into testing.

Could you please move the both key types to primitives/testing.rs and the app_crypto! into sr-primitives/testing.rs?


Also exclude sdk/java/core from fn harness jar.

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.

We could also consider excluding all of its transitive dependencies (that aren't depended on elsehwere?) Not sure how to do that.

R: @lukecwik

Run Java PreCommit

11:27:16 Gradle build daemon disappeared unexpectedly (it may have been killed or may have crashed)

Yeah, the general solution looks to be much larger than I had anticipated. As this is a P2, I'm not pursuing it actively right now.


Write DeleteResource handler (stub)

blocked by #150

No longer blocked.
"Delete" (as understood at the higher level administration level marks a record and provides a gravestone message) - Will:

Calls PATCH /resource/{id}
Payload: delete: true, gravestronemsg: string, access: false, publish: false
Permissions updated - To Be Defined
Message to processing

TACO Delete (aka Purge)

Calls: DELETE /resource/{id}
Payload: empty
Deletes record from Dynamo
Deletes binary from S3 (when relevant)
Messages processing (to remove structural pointers, access, pres core - OUTSIDE OF TACO)

Regarding access: false. Currently access is a string that is constrained to be an enumeration.  Should we change that constraint, or should we change this requirement to be something like access: "dark"?


怎么调整成中文的

方便加下您微信吗我的微信是zj726181747

Translating with Google Translate:
How to adjust to Chinese?
I never tried to install new languages to espeak. Could you try this?
http://espeak.sourceforge.net/data/

我测试了 调整不成中文

Could you please try to use a language prefix in the variant?
Translated by Google:
您能否在变体中尝试使用语言前缀？
Voice voice = new Voice();
voice.setVariant("zh+f2");

Espeak espeak = new Espeak(voice);
espeak.speak("Nǐ hǎo, shìjiè!");

@15201396130
Since I didn't hear from you and it is working on my machine, I am closing the issue


Database tables diagram

Regarding this comment from Dirk about the database tables.
I think the SelectedSkill construction is a bit weird.
Was this to show the 'top 3 ?'
In that case I would delete the SelectedSkill table,
remove FK flag in UserSkill and just keep the flag SelectedSkill as is.

we used a separate table for selectedSkills -in orange- where we were pointing to the idea of the user can select 3 skills to be highlighted/shown at the users page per each user ticket rather than showing all the skills the user select while building the portfolio
as we understood from Dirk's comment, the user will write down the skills him/herself. Our idea that the user will be selecting the skills to be highlighted in the portfolio. In other words the user wont waste a lot of time of building the portfolio in the same time for us with the backend will be easier to do the connection to the frontend when it's a drop list rather than a input filed
what do you think??
the tables digram

Hi @Moamin-AbuEwaida,
Your current model looks like a mix between two possible solutions that have been discussed.
One of your options could be to remove the SelectedSkill table,
And then instead change the SelectedSkill field In the UserSkill table to be a boolean instead of a foreign key.
This flag can then be set to true if you want to list this skill in the user's top 3. This way the user can select which of his skills will be highlighted.
Alternatively if you want to allow the user to also specify the order in which the highlighted skills are shown you can change the boolean field to a number field and use (0 for not shown, 1 for shown on first place, 2 for shown on second place and 3 for shown third)
OR
a third option would be to remove the status flag from the UserSkill table and instead add 3 extra foreign key fields to the user table (e.g. firstSelected skill that points to the Userskill that should be shown first, secondSelectedSkill...)
All of these options have advantages and drawbacks, so think about it and try to decide which of the 3 options presented here you like the most and try to find a reason why you choose that solution.
We are of course happy to discuss your findings.
Good luck!

Thanks alot @yoshimalaise !! it's clear to me now
we'll discuss this with the team then and pick one way and move forward with. Personally I'm with the 1st option that set the selectedSkill field as boolean :smiling_imp:


Make sure to properly end quoted strings

Followed up on #321 which had an undesired behaviour. This fixes that undesired behaviour while keeping the fix that it introduced.

LGTM


functional-tester: cluster too slow: only commit...

I redeployed with master branch yesterday, and got a bunch of failures.
Happens more often in 5-node cluster. Think it's because we changed our stresser to also deletes and range, which could take longer than puts. Will investigate.
2016-07-21 15:29:23.427192 I | etcd-tester: [round#482 case#3] injected failure
2016-07-21 15:29:23.427245 I | etcd-tester: [round#482 case#3] recovering failure "kill leader member"
2016-07-21 15:29:24.427159 I | etcd-tester: grpc: addrConn.resetTransport failed to create client transport: connection error: desc = "transport: dial tcp <IP_ADDRESS>:2379: getsockopt: connection refused"; Reconnecting to {"<IP_ADDRESS>:2379" <nil>}
2016-07-21 15:29:24.428953 W | etcd-tester: #0 setHealthKey error (context deadline exceeded (http://<IP_ADDRESS>:2379))
2016-07-21 15:29:25.510953 I | etcd-tester: [round#482 case#3] recovered failure
2016-07-21 15:29:25.510994 I | etcd-tester: [round#482 case#3] canceling the stressers...
2016-07-21 15:29:25.511884 I | etcd-tester: stresser "<IP_ADDRESS>:2379" is canceled
2016-07-21 15:29:25.512425 I | etcd-tester: stresser "<IP_ADDRESS>:2379" is canceled
2016-07-21 15:29:25.513035 I | etcd-tester: stresser "<IP_ADDRESS>:2379" is canceled
2016-07-21 15:29:25.513070 I | etcd-tester: [round#482 case#3] canceled stressers
2016-07-21 15:29:25.513086 I | etcd-tester: [round#482 case#3] updating current revisions...
2016-07-21 15:29:26.545248 I | etcd-tester: [round#482 case#3] updated current revisions with 15740195
2016-07-21 15:29:26.545310 I | etcd-tester: [round#482 case#3] all members are consistent with current revisions [revisions: map[http://<IP_ADDRESS>:2379:15740195 http://<IP_ADDRESS>:2379:15740195 http://<IP_ADDRESS>:2379:15740195]]
2016-07-21 15:29:26.545319 I | etcd-tester: [round#482 case#3] checking current storage hashes...
2016-07-21 15:29:26.545327 I | etcd-tester: [round#482 case#3] all members are consistent with storage hashes
2016-07-21 15:29:26.545335 I | etcd-tester: [round#482 case#3] starting the stressers...
2016-07-21 15:29:26.545461 I | etcd-tester: stresser "<IP_ADDRESS>:2379" is started
2016-07-21 15:29:26.545574 I | etcd-tester: stresser "<IP_ADDRESS>:2379" is started
2016-07-21 15:29:26.545719 I | etcd-tester: stresser "<IP_ADDRESS>:2379" is started
2016-07-21 15:29:26.545738 I | etcd-tester: [round#482 case#3] started stressers
2016-07-21 15:29:26.545748 I | etcd-tester: [round#482 case#3] succeed!
2016-07-21 15:29:26.707697 I | etcd-tester: [round#482 case#4] injecting failure "kill one random member for a long time and expect it to recover from an incoming snapshot"
2016-07-21 15:29:26.791351 I | etcd-tester: transport: http2Client.notifyError got notified that the client transport was broken read tcp <IP_ADDRESS>:41772-><IP_ADDRESS>:2379: read: connection reset by peer.
2016-07-21 15:29:27.791799 I | etcd-tester: grpc: addrConn.resetTransport failed to create client transport: connection error: desc = "transport: dial tcp <IP_ADDRESS>:2379: getsockopt: connection refused"; Reconnecting to {"<IP_ADDRESS>:2379" <nil>}
2016-07-21 15:29:29.339781 I | etcd-tester: grpc: addrConn.resetTransport failed to create client transport: connection error: desc = "transport: dial tcp <IP_ADDRESS>:2379: getsockopt: connection refused"; Reconnecting to {"<IP_ADDRESS>:2379" <nil>}
2016-07-21 15:29:31.786320 I | etcd-tester: grpc: addrConn.resetTransport failed to create client transport: connection error: desc = "transport: dial tcp <IP_ADDRESS>:2379: getsockopt: connection refused"; Reconnecting to {"<IP_ADDRESS>:2379" <nil>}
2016-07-21 15:29:36.424602 I | etcd-tester: grpc: addrConn.resetTransport failed to create client transport: connection error: desc = "transport: dial tcp <IP_ADDRESS>:2379: getsockopt: connection refused"; Reconnecting to {"<IP_ADDRESS>:2379" <nil>}
2016-07-21 15:29:42.906418 I | etcd-tester: grpc: addrConn.resetTransport failed to create client transport: connection error: desc = "transport: dial tcp <IP_ADDRESS>:2379: getsockopt: connection refused"; Reconnecting to {"<IP_ADDRESS>:2379" <nil>}
2016-07-21 15:29:53.296759 I | etcd-tester: grpc: addrConn.resetTransport failed to create client transport: connection error: desc = "transport: dial tcp <IP_ADDRESS>:2379: getsockopt: connection refused"; Reconnecting to {"<IP_ADDRESS>:2379" <nil>}
2016-07-21 15:29:56.798932 I | etcd-tester: [round#482 case#4] injection error: cluster too slow: only commit 9922 requests in 30s
2016-07-21 15:29:56.799004 I | etcd-tester: [round#482] cleaning up...

Also happens in 3 node cluster:
2016-07-28 01:27:24.569067 I | etcd-tester: [round#88 case#5] injecting failure "kill leader member for a long time and expect it to recover from an incoming snapshot"
2016-07-28 01:27:24.764464 I | etcd-tester: transport: http2Client.notifyError got notified that the client transport was broken read tcp <IP_ADDRESS>:49906-><IP_ADDRESS>:2379: read: connection reset by peer.
2016-07-28 01:27:25.764893 I | etcd-tester: grpc: addrConn.resetTransport failed to create client transport: connection error: desc = "transport: dial tcp <IP_ADDRESS>:2379: getsockopt: connection refused"; Reconnecting to {"<IP_ADDRESS>:2379" <nil>}
2016-07-28 01:27:27.578440 I | etcd-tester: grpc: addrConn.resetTransport failed to create client transport: connection error: desc = "transport: dial tcp <IP_ADDRESS>:2379: getsockopt: connection refused"; Reconnecting to {"<IP_ADDRESS>:2379" <nil>}
2016-07-28 01:27:29.749809 I | etcd-tester: grpc: addrConn.resetTransport failed to create client transport: connection error: desc = "transport: dial tcp <IP_ADDRESS>:2379: getsockopt: connection refused"; Reconnecting to {"<IP_ADDRESS>:2379" <nil>}
2016-07-28 01:27:33.997699 I | etcd-tester: grpc: addrConn.resetTransport failed to create client transport: connection error: desc = "transport: dial tcp <IP_ADDRESS>:2379: getsockopt: connection refused"; Reconnecting to {"<IP_ADDRESS>:2379" <nil>}
2016-07-28 01:27:40.811063 I | etcd-tester: grpc: addrConn.resetTransport failed to create client transport: connection error: desc = "transport: dial tcp <IP_ADDRESS>:2379: getsockopt: connection refused"; Reconnecting to {"<IP_ADDRESS>:2379" <nil>}
2016-07-28 01:27:51.433745 I | etcd-tester: grpc: addrConn.resetTransport failed to create client transport: connection error: desc = "transport: dial tcp <IP_ADDRESS>:2379: getsockopt: connection refused"; Reconnecting to {"<IP_ADDRESS>:2379" <nil>}
2016-07-28 01:27:54.770281 I | etcd-tester: [round#88 case#5] injection error: cluster too slow: only commit 9830 requests in 30s

2016-07-28 00:58:51.494303 I | etcd-tester: [round#64 case#5] injecting failure "kill leader member for a long time and expect it to recover from an incoming snapshot"
2016-07-28 00:58:51.644289 I | etcd-tester: transport: http2Client.notifyError got notified that the client transport was broken read tcp <IP_ADDRESS>:41240-><IP_ADDRESS>:2379: read: connection reset by peer.
2016-07-28 00:58:52.644749 I | etcd-tester: grpc: addrConn.resetTransport failed to create client transport: connection error: desc = "transport: dial tcp <IP_ADDRESS>:2379: getsockopt: connection refused"; Reconnecting to {"<IP_ADDRESS>:2379" <nil>}
2016-07-28 00:58:54.160371 I | etcd-tester: grpc: addrConn.resetTransport failed to create client transport: connection error: desc = "transport: dial tcp <IP_ADDRESS>:2379: getsockopt: connection refused"; Reconnecting to {"<IP_ADDRESS>:2379" <nil>}
2016-07-28 00:58:56.789958 I | etcd-tester: grpc: addrConn.resetTransport failed to create client transport: connection error: desc = "transport: dial tcp <IP_ADDRESS>:2379: getsockopt: connection refused"; Reconnecting to {"<IP_ADDRESS>:2379" <nil>}
2016-07-28 00:59:00.387690 I | etcd-tester: grpc: addrConn.resetTransport failed to create client transport: connection error: desc = "transport: dial tcp <IP_ADDRESS>:2379: getsockopt: connection refused"; Reconnecting to {"<IP_ADDRESS>:2379" <nil>}
2016-07-28 00:59:06.387138 I | etcd-tester: grpc: addrConn.resetTransport failed to create client transport: connection error: desc = "transport: dial tcp <IP_ADDRESS>:2379: getsockopt: connection refused"; Reconnecting to {"<IP_ADDRESS>:2379" <nil>}
2016-07-28 00:59:15.042408 I | etcd-tester: grpc: addrConn.resetTransport failed to create client transport: connection error: desc = "transport: dial tcp <IP_ADDRESS>:2379: getsockopt: connection refused"; Reconnecting to {"<IP_ADDRESS>:2379" <nil>}
2016-07-28 00:59:21.651103 I | etcd-tester: [round#64 case#5] injection error: cluster too slow: only commit 9889 requests in 30s
2016-07-28 00:59:21.651172 I | etcd-tester: [round#64] cleaning up...

Probably try to  increase the throughput limit to 10k?

Ok I will redeploy with higher throughput.

3-node cluster with higher QPS is now stabilized (no failure for last +150 rounds).
5-node cluster with the same config still fails but not from this issue.

While tuning the stresser, I found that stresser in 5-node cluster doesn't make progress even with higher retry number
2016-08-05 17:04:37.910174 I | etcd-tester: [DEBUG] retry 327
2016-08-05 17:04:38.910507 I | etcd-tester: [DEBUG] retry 328
2016-08-05 17:04:39.910782 I | etcd-tester: [DEBUG] retry 329
2016-08-05 17:04:39.910853 I | etcd-tester: [round#0 case#5] injection error: cluster too slow: only commit 1747 requests in 330s
2016-08-05 17:04:39.910881 I | etcd-tester: [round#0] cleaning up...

Closing via https://github.com/coreos/etcd/pull/6123.


delete virtual-kubelet tests

Delete virtual-kubelet tests leftover from virtual-kubelet go module.

/ok-to-test

/merge


API broken, changed cookie parameter

Hello, nice project but doesn't work anymore as far as i can tell at least.
As discovered by @Exosylver in https://github.com/avilash/TikTokAPI-Python/pull/65 TikTok doesn't use the tt_webid parameter anymore. Therefore just able to get 5 setup instruction videos from TikTok itself using the default hardcoded cookie.
Any chance you could fix this?
Tried myself but couldn't get it working as i'm not great in Python.

yeah your're right, also not working for me ...


🐛 Bug: Errorhandling fails when null errors are thrown

Bug Report Checklist

[X] I have read and agree to Mocha's Code of Conduct and Contributing Guidelines
[X] I have searched for related issues and issues with the faq label, but none matched my issue.
[X] I have 'smoke tested' the code to be tested by running it outside the real test suite to get a better sense of whether the problem is in the code under test, my usage of Mocha, or Mocha itself.
[X] I want to provide a PR to resolve this

Expected
When running a test that throws a null error i expect to get information about what happened and the errorhandler to give useful output.
Actual
When an null error is thrown when running the tests the output from the mocha script is the program option list and a line:
✖ ERROR: null
Minimal, Reproducible Example
I created a PR for this error - thinking this was only applicable for Typescript errors, but as stated in the PR: all null errors it will cause this to happen.
Nevertheless, the example created for the original PR shows the error:
https://github.com/stalet/mocha-typescript-testproject
Versions
10.2.0
Additional Info
This error was reported as part of PR #5074 - but since it's not just applicable for Typescript errors the PR was closed - and I am opening this issue instead.

And as a sidenote - something must have changed in the latest versions - since I am now discovering this issue in multiple projects where i am using ts-node along with mocha.

I did a little digging. From https://github.com/stalet/mocha-typescript-testproject?tab=readme-ov-file#debugging-test:
  mocha:cli:cli caught error sometime before command handler: TypeError: Cannot convert object to primitive value
  mocha:cli:cli     at exports.handler (/home/stalet/dev/test/node_modules/.pnpm/mocha@10.2.0/node_modules/mocha/lib/cli/run.js:372:65) +674ms

That's:
https://github.com/mochajs/mocha/blob/2b98521756e69d3f0cdb36855b446954ba2bdf74/lib/cli/run.js#L372
Putting a breakpoint in there (mocha test/index.test.ts --inspect-brk), err is:
v err
test/index.test.ts(5,1): error TS2582: Cannot find name 'describe'. Do you need to install type definitions for a test runner? Try `npm i --save-dev @types/jest` or `npm i --save-dev @types/mocha`.
test/index.test.ts(6,5): error TS2582: Cannot find name 'it'. Do you need to install type definitions for a test runner? Try `npm i --save-dev @types/jest` or `npm i --save-dev @types/mocha`.
test/index.test.ts(9,44): error TS2322: Type 'string' is not assignable to type 'number'.

> typeof err
'object'

> err.stack
undefined

> String(err)
Uncaught TypeError TypeError: Cannot convert object to primitive value

> Object.getOwnPropertyDescriptors(err)
{Symbol(nodejs.util.inspect.custom): {…}}

...so, the issue is not that the thrown error is null. It's that it's an object from a loader/worker thread that comes in with an undefined prototype. Which can't be converted/coerced to a string the way the code is trying to because it doesn't have a toString() method: https://stackoverflow.com/questions/41164750/cannot-convert-object-to-primitive-value.
https://github.com/nodejs/node/issues/48207 is when those objects were fixed to be printable in a debugger. Adding "ts-node": { "transpileOnly": true } to the tsconfig.json per https://github.com/nodejs/node/issues/48207#issuecomment-1872668858 was enough to get correct printing in the repro!
 $ npx mocha test/index.test.ts

  stuff
    1) transforms stuff

  0 passing (3ms)
  1 failing

  1) stuff
       transforms stuff:

      AssertionError: expected '{"foo":"foo","bar":"1"}' to equal '{"foo":"foo","bar":1}'
      + expected - actual

      -{"foo":"foo","bar":"1"}
      +{"foo":"foo","bar":1}

      at Context.<anonymous> (file:///Users/josh/repos/mocha-typescript-testproject/test/index.test.ts:7:61)
      at process.processImmediate (node:internal/timers:478:21)

https://nodejs.org/api/module.html#moduleregisterspecifier-parenturl-options -> https://nodejs.org/api/module.html#customization-hooks has context for what's going on. https://nodejs.org/api/util.html#custom-inspection-functions-on-objects specifically shows how turn these objects into a string.
const util = require('node:util');

const stringified = util.inspect(err);

console.log(stringified);
'test/index.test.ts(5,1): error TS2582: Cannot find name 'describe'. Do you need to install type definitions for a test runner? Try `npm i --save-dev @types/jest` or `npm i --save-dev @types/mocha`.
test/index.test.ts(6,5): error TS2582: Cannot find name 'it'. Do you need to install type definitions for a test runner? Try `npm i --save-dev @types/jest` or `npm i --save-dev @types/mocha`.
test/index.test.ts(9,44): error TS2322: Type 'string' is not assignable to type 'number'.
'

We can therefore narrow down that the issue is that errors thrown within a node:module's register-d  module need to have explicit handling for being printed as strings. 😎


create new axiom annotation to indicate an OMIM term is an included entry

OMIM entries sometimes include "included" entries, such as https://omim.org/entry/233910 (related to https://github.com/monarch-initiative/mondo/issues/5433).
On the tech call, we decided to create a new axiom annotation that indicates a new Mondo term is an included entry in OMIM.
I propose:
MONDO:includedEntryInOMIM
Description:
Used for cases where the term is an 'included' entry in an OMIM record but it is not equivalent to the OMIM record. For example, dystonia, dopa-responsive, with or without hyperphenylalaninemia, autosomal recessive, (https://omim.org/entry/233910.)

Once we agree upon this, we should:

[ ] add to this page: https://mondo.readthedocs.io/en/latest/editors-guide/f-entities/#axiom-annotations-summary-table
[ ] make sure any OMIMs that are included entries are tagged with this annotation in mondo-edit.obo

@nicolevasilevsky : I have several questions. Maybe @cmungall has some thoughts.
Use cases: As a user:

use-case-1 =  if I look for an OMIM term, I want to find both Mondo terms.
use-case-2=  if I look for Mondo:2 (=included term in omim), I want to find the original omim id
Note that if we don't care about use-case-2 (ie users don't need it), then the following is irrelevant.

Issue 1:
What is the plan? Do we need to have 1 Mondo term "equivalent", and the other Mondo term "included"? Or should the terms have both terms at the same "level" of equivalence? For instance:

option#1
Mondo:1 - OMIM:233910 = MONDO:equivalentTo
Mondo:2 - OMIM:233910 = MONDO:includedEntryInOMIM
option#2
Mondo:1 - OMIM:233910 = MONDO:equivalentSharedOMIM
Mondo:2 - OMIM:233910 = MONDO:equivalentSharedOMIM
MONDO:equivalentSharedOMIM expresses that 1 OMIM = 2 Mondo

Issue 2:
How do we get this in the mondo release? At this point (if I understand correctly), we keep only the "MONDO:equivalentTo".
If we want to fulfill use-case-2, we would need to see both mondo terms if I search 1 omim.
Issue 3:
Should we update the omim import to treat all the OMIM "included" terms in this way according to this issue?
Issue 4:
should this be specific to OMIM? There are probably more examples of 1 term in a source representing 2 terms in Mondo. Right now we are making the term from the source "mondo is narrower than source". For consistency, maybe we should do the same with OMIM?

I vote for option #1.  That is more explicit as to which term is primary and which term is included.  I want to note that I consider this a case  where a source (in this case OMIM) assigns the same identifier non-synonymous concepts, as a method to inform the reader that the 'included' concept is discussed in the record.  I do not consider this a case of 1 term in a source representing 2 terms in Mondo, but one identifier in a source representing more than 1 distinct concept in Mondo.

issue 1
I was thinking we'd do option 1
Mondo:1 - OMIM:233910 = MONDO:equivalentTo
Mondo:2 - OMIM:233910 = MONDO:includedEntryInOMIM
issue 2
For the release, I think we'd want to display MONDO:includedEntryInOMIM. I don't know how that is set up, but it is something Nico could do, I assume
issue 3
Good question about the OMIM import. I don't know if there is an easy way for @hrshdhgd @joeflack4 @matentzn to be able to parse out included terms from OMIM records. This has been brought up before.
issue 4
I think this is the lumping and splitting question, yes? Some resources may lump when we split or vice versa. I think for this particular issue though, it is different - OMIM has included entries that are not intended to be lumped together, but they are similar, therefore they are included in the same entry. (At least that is my understanding).
Related issues:
https://github.com/monarch-initiative/mondo/issues/4013
https://github.com/monarch-initiative/mondo/issues/4015
https://github.com/monarch-initiative/mondo/issues/2543
https://github.com/monarch-initiative/mondo/issues/2808

Ha, I am looking at this old ticket and we did bring up this same idea before:
https://github.com/monarch-initiative/mondo/issues/2808#issuecomment-902978394
It seems like this ticket duplicates the old ticket.

I don't know how Mondo plans to import and manage the OMIM data long-term, but for all the MIM numbers in MedGen where we have the OMIM included terms split out, they are reported as 'included' in one of MedGen's FTP files: https://ftp.ncbi.nlm.nih.gov/pub/medgen/
MedGenIDMappings.txt.gz
example row:
#CUI|pref_name|source_id|source|
C0001519|Holmes-Adie syndrome|103100|OMIM included|
The MedGen reporting may still have some errors or gaps, and we know we have some MIM Numbers not in scope for Mondo, but if you want a secondary file to check how you parse out the OMIM data, this report may be useful to you.

Thanks, @kanems, this sounds super helpful! I'll discuss it with the team and get back to you.

talking to Sabrina, per her conversation with Joe, the only way to know if a term is included in an OMIM entry is to do it manually.
to do:

[ ] review synonyms from OMIM, if they are included terms, they should be split into new classes with xref [OMIM:XXXXXX] MONDO:includedEntryInOMIM

@nicolevasilevsky @sabrinatoro I'm not entirely sure that's correct. I remember discussing this with Sabrina, but I didn't remember our determination so I wanted to double check.
Take this example: https://omim.org/entry/235000
Primary label is https://omim.org/entry/235000. It also says:

Other entities represented in this entry: HEMI-3 SYNDROME, INCLUDED

Here's how the row looks in mimTitles.txt:
Prefix	MIM Number	Preferred Title; symbol	Alternative Title(s); symbol(s)	Included Title(s); symbols
Percent	235000	HEMIHYPERPLASIA, ISOLATED; IH	HEMIHYPERPLASIA; HHP;; HEMIHYPERTROPHY, ISOLATED	HEMI-3 SYNDROME, INCLUDED

In the OMIM ingest, we've been stripping away that , INCLUDED text. Dazhi wrote this, so I don't know if this was part of a prior group decision, or something he decided on:
def get_alt_labels(titles):
    labels = []
    for title in titles.split(';;'):
        # remove ', included', if present
        label = re.sub(r',\s*INCLUDED', '', title.strip(), re.IGNORECASE)
        label = cleanup_label(label)
        labels.append(label)
    return labels

If I'm understanding this correctly, should I simply change this to not remove the word , INCLUDED, and then that would be all I would need to do, correct? I could also add more structure to such entries marked 'included' in the OMIM ingest RDF output, but not sure that would be my highest priority.

Interesting - let's talk about this on the QC call and make sure we're all on the same page. Thanks @joeflack4!

@sabrinatoro Here is a report of everything from mimTitles.txt that has a label with the text , INCLUDED at the end of it:
mimTitlesWithIncluded.tsv.zip
About ~1,300 of ~28,000 (~5%) entries have a label with , INCLUDED at the end of it.
@sabrinatoro @matentzn has asked me to add an rdfs:comment on all entries where this appears. My preference would be embedded JSON, e.g.:
a. rdfs:comment '{"hasIncludedInLabel": true}'
But I'm guessing this would be preferred, so I'm going to go with this instead:
b. rdfs:comment "This term has one or more labels that end with ', INCLUDED'."

Yes, b. for now please!

Joe created a spreadsheet here with included entries. Related to https://github.com/monarch-initiative/omim/issues/82

@nicolevasilevsky let me know if you need any help with this.

Hello! I see this was flagged for the December release but still has some pending action items. Is the new goal the January release?

Hi @kanems - this is actually a pretty big project, I don't think we'll be able to finish it by January. I'll move it back to Feb, but it may get pushed back further, we'll make incremental progress.

I have actually never read the full issue, I think someone should raise it during a 1:1 call with me, including a plan with open action items and some ideas of how we can use automation magic to update everything at once.
Also, we need to decide how these "included" mappings are shared with the user in terms of skos. Are they "skos:closeMatch" mappings?

@sabrinatoro will add this to a future 1:1 agenda, @matentzn.

Here are my issues/questions. Using OMIM:183090 as an example:

OMIM:183090 is MONDO:equivalentTo 'spinocerebellar ataxia type 2' (MONDO:0008458)
OMIM:183090 is MONDO:includedEntryInOMIM 'amyotrophic lateral sclerosis, susceptibility to, 13' (MONDO:0800224)

What this means is that we are "splitting" the omim entry into "main entry" and "included entry" because we think these are different diseases. BUT

users do not see the xref for the MONDO:includedEntryInOMIM term (maybe it is a good thing as it might be confusing?)
should this be in sssom? if so, how?

I would rather we focus on relating entities semantically in mondo and
focusing on exact matches between equivalent nodes
On Thu, Mar 9, 2023 at 11:26 AM sabrinatoro @.***>
wrote:

Here are my issues/questions. Using OMIM:183090 as an example:

OMIM:183090 is MONDO:equivalentTo 'spinocerebellar ataxia type 2'
(MONDO:0008458)
OMIM:183090 is MONDO:includedEntryInOMIM 'amyotrophic lateral
sclerosis, susceptibility to, 13' (MONDO:0800224)

What this means is that we are "splitting" the omim entry into "main
entry" and "included entry" because we think these are different diseases.
BUT

users do not see the xref for the MONDO:includedEntryInOMIM term
(maybe it is a good thing as it might be confusing?)
should this be in sssom? if so, how?

—
Reply to this email directly, view it on GitHub
https://github.com/monarch-initiative/mondo/issues/5507#issuecomment-1462648574,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAMMOKXXNNFUWOIXIOSWBLW3IVGDANCNFSM6AAAAAARFOW4VU
.
You are receiving this because you were mentioned.Message ID:
@.***>

This issue has come up again in relation to the synonym synchronization.
I'm wondering if this issue is complete. It seems like the main goal was to create the MONDO:includedEntryInOMIM axiom, and I observe that this axiom is currently in mondo-edit.obo.
If there are any remaining sub-tasks remaining in this issue, we could identify what those are and keep the issue open, or close it and make a fresh issue(s) for them.

This item is on the agenda for the Curation call.


Additional default parameter for Made creation public API introduced binary incompatibility..

Hello.
I found that many DLLs (including DryIoc.MefAttributeModel.dll 5.0.0, Prism.DryIoc v<IP_ADDRESS>2) that depend on DryIoc stopped working since DryIoc 4.1.0 release.
With the latest version of DryIoc they all give the following runtime Exception:
System.MissingMethodException: 'Method not found: 'DryIoc.Made DryIoc.Made.Of(DryIoc.FactoryMethodSelector, DryIoc.ParameterSelector, DryIoc.PropertiesAndFieldsSelector, Boolean)'.'
I suspect that this is caused by the binary incompatibility introduced by an additional default parameter bool isImplMemberDependsOnRequest = false in one of the Made factory methods.
I found that was introduced by the following commit.
https://github.com/dadhi/DryIoc/commit/7a54f4c8d3e6f942597e740f6f80556c9f753f4e
Since this change is made to a fundamental API, Made.of(), I suppose you should keep binary compatibility at least for the time being.
Can you reinstate the original four parameter method for keep the latest version compatible with them. Or can you release a new MefAttributeModel.dll ?
Thank you.

Thanks for the notifying. Will check what is simpler to do.

Thank you very much for your quick reply!

v4.1.2 is out on NuGet

I upgraded  DryIoc to 4.1.2 and I verified the problem was fixed.
Thank you again for the quick fix.


KV Store: Migration Improvements

Please link to an issue, it's not clear what are the improvements done here.


More robust way of finding SC_ENV files for package

Do we want something akin to the way tsconfig.json etc are searched for?
https://github.com/sindresorhus/find-up
This can be fixed separately, but we should create an issue for it.
Originally posted by @geoknee in https://github.com/statechannels/apps/pull/4#discussion_r457919840

stale

stale


barcode error

dear friend, I use my rna data to run on celescope rna , the error turns out several time at the same position. And I change my data it comes up with the same problem.

It seems that at least one read in your R2 fastq file has truncated quality string. You can use the following script to find the read
zcat {R2_fq.gz} | paste - - - - | awk -F"\t" '{ if (length($2) != length($4)) print (NR,$0) }'

dEAR fRIENd. when using multi_rna . it stucks at this line for quiet a long time and dead at last, do you know whats the problem?

It was actually running the pipeline. If the fastq file can be found under {sample}/01.barcode and the size keeps increasing during runtime, it means there is no problem.
If the program is killed after running for a period of time, maybe your server has a program running time limit?


Magnet length Lmag

Hello,
i think there is an issue with Magnet.Lmag, i.e. property Lmag isn't editable in the GUI (except for PMSlot17).
This will cause wrong results since Lmag is used e.g. to calculate magnet masses or losses in LossFEMM.
So we should make Lmag accessable in the GUI or automatically set it to its respective lamination length. Latter may only be a quick fix.
Further we should clearly point out how different lamination lengths (rotor, stator, magnet, ...) are accounted for e.g. in 2D calculations (MagFEMM, MagElmer, ...).
Best regards, Sebastian

Hello,
Yes it is an hidden problem for a long time. Where do you think we can set this parameter ? In SLamShape just bellow L1 ? Technically we can set a different Lmag for each magnet but I don't think we need that much complexity in the GUI (it can be done in scripting if needed). We can also add the magnet mass in the machine summary (if it is not already there).
Best regards,
Pierre


add state test

Add state test
Description of the Change

Add state test
Using forked test submoule

[skip travis]

The circleCI is still not running?

The circleCI is still not running?

It's Ok now.

it is a very very very not acceptable pr.


Tagging objects for semantic segmentation suppresses render occlusion

Currently we tag objects by setting their custom depth stencil value, this way it automatically works for semantic segmentation as well. It turns out that setting this value makes objects being rendered even if they are behind another object. This occurs even if the custom depth pass is disabled at project level.

This also makes to make an extra pass for the custom depth render, thus is sucking performance. The solution EPIC proposes is to make a material property to be applied in all the materials of all the objects in the world and then set the values for the stencil with the id of the object type for semantic segmentation, that will be used later in the post-fx shader...not an easy way to do it though

I guess there are no update for this issue, right?

@germanros1987 not yet, this issue is a particular hard one, considering the other option is to change the core of the engine instead of doing the material trick, we are waiting for another solution from the Epic team they are digging into the problem btw.

@bernatx  Is this still an active problem?

Hi, I don't detect that problem anymore. As you can see in these screenshots, All objects show correctly in depth with occlusion.

The problem cannot be seen in the cameras, the thing is that UE4 stops doing occlusion culling for meshes with the stencil buffer enabled (used to encode semseg). The resulting image is the same, but you're rendering more meshes than necessary, so it's just a performance issue. I have no idea if it's still happening but I suppose it is, since the main use for the stencil buffer is precisely to render occluded objects, probably the only solution is to use a different mechanism to render semantic segmentation.

@juaxix, https://github.com/carla-simulator/carla/issues/4#issuecomment-390890510

@germanros1987 not yet, this issue is a particular hard one, considering the other option is to change the core of the engine instead of doing the material trick, we are waiting for another solution from the Epic team they are digging into the problem btw.

It would be helpful if there is a tracking/bug number for reference. Thanks!

@RachithP I believe @juaxix was overexcited... EpicGames is NOT working on this.

@RachithP I believe @juaxix was overexcited... EpicGames is NOT working on this.

Of course I was overexcited and still, we need to push harder on this, other companies in UDN are requesting the same thing, to control whether or not it is subject to Occlusion Culling on an actor-by-actor basis, not limited to Custom Depth.
But anyway, you can try this https://answers.unrealengine.com/questions/54283/render-occluded-actor-in-custom-depth.html meanwhile


No module named 'airflow.providers.grafana_loki_provider'

Hello,
I tried to send logs from airflow to grafana loki, but I am getting this error:
ValueError: Cannot resolve 'grafana_loki_provider.log.loki_task_handler.LokiTaskHandler': No module named 'grafana_loki_provider'
Installed this module by pip install airflow-provider-grafana-loki and running standalone apache-airflow : 2.4.2 in my local
These changes I did in airflow.cfg file:
remote_logging = True
remote_base_log_folder = loki
logging_config_class= log_config.DEFAULT_LOGGING_CONFIG
remote_log_conn_id = http://localhost:3101/loki/api/v1/push

And this code snippet I added in log_config.py file:
    elif REMOTE_BASE_LOG_FOLDER.startswith('loki'):
       LOKI_HANDLER: Dict[str, Dict[str, Union[str, bool]]] = {
           'task': {
               'class': 'grafana_loki_provider.log.loki_task_handler.LokiTaskHandler',
               'formatter': 'airflow',
               'name':"airflow_task",
               'base_log_folder': str(os.path.expanduser(BASE_LOG_FOLDER)),
               'filename_template': FILENAME_TEMPLATE
           },
       }

       DEFAULT_LOGGING_CONFIG['handlers'].update(LOKI_HANDLER)
   else:
       raise AirflowException(
           "Incorrect remote log configuration. Please check the configuration of option 'host' in "
           "section 'elasticsearch' if you are using Elasticsearch. In the other case, "
           "'remote_base_log_folder' option in the 'logging' section."
       )

Please help me to understand if something I am missing.

@saritatewari4  was this issue resolved?

No. I was trying to complete one POC with this, but actually wanted to use this with lower version of airflow and I found, it doesn't works with that. Got this error:
ERROR: airflow-provider-grafana-loki 0.0.1a1 has requirement apache-airflow>=2.0.0, but you'll have apache-airflow 1.10.12 which is incompatible.
So I stopped using this this plugin.


ristretto255 feature

This is an idea I wanted to propose. It introduces a feature called ristretto255 which is enabled automatically by every ristertto255_* backend feature. It allows us to simplify feature selection in the code, but also improves the documentation:

Instead of:

I'm hoping that at some point in the future this all goes away and we can simply depend on traits.
This builds on top of #34.

Re-based.

Re-based.


f.association doesn't work

Hi!
I'm new to RoR and desperate. I don't know why my association doesn't work... I get this error : "Association :adaptation not found"
I have two models : Book and Adaptation.
Here's my code :
Book.rb :
class Book < ActiveRecord::Base
has_many :adaptations
end
Adaptation.rb :
class Adaptation < ActiveRecord::Base
belongs_to :book:
end
Book > index.html.erb
<%= book.adaptations %>
Book > _form.html.erb
 <%= f.association :adaptation %>       (I tried with :adaptations with no consequence)
Adaptation > index.html.erb
<%= adaptation.book %>
Book > _form.html.erb
 <%= f.association :book %>
I create a migration :
class AddBookToAdaptation < ActiveRecord::Migration
def change
add_column :adaptations, :book, :has_many
end
end
thanks for your time and help :)

were you able to run this migration?

I can't gist my actual migration/models because I am in bitbucket and I don't know how to change...
For the migration I run this : $ bundle exec rails g migration AddAdaptationToBook adaptation:belongs_to
And my models are :
Book.rb :
class Book < ActiveRecord::Base
has_many :adaptations
end
Adaptation.rb :
class Adaptation < ActiveRecord::Base
belongs_to :book
end

ok and I am assuming you did run rake db:migrate correct?

Yes, the migration worked (but not the association), but new problem... I tried many things and deleted this migration, I recreated it but this time I have an error in my console :
==<PHONE_NUMBER>1055 AddAdaptationToBook: migrating ==============================
-- add_reference(:books, :adaptation, {:index=>true, :foreign_key=>true})
rake aborted!
StandardError: An error has occurred, this and all later migrations canceled:
SQLite3::SQLException: duplicate column name: adaptation_id: ALTER TABLE "books" ADD "adaptation_id" integer/Users/alicetrinh/CineBook/db/migrate/20151229221055_add_adaptation_to_book.rb:3:in change' ActiveRecord::StatementInvalid: SQLite3::SQLException: duplicate column name: adaptation_id: ALTER TABLE "books" ADD "adaptation_id" integer /Users/alicetrinh/CineBook/db/migrate/20151229221055_add_adaptation_to_book.rb:3:in change'
SQLite3::SQLException: duplicate column name: adaptation_id
/Users/alicetrinh/CineBook/db/migrate/20151229221055_add_adaptation_to_book.rb:3:in `change'
Tasks: TOP => db:migrate
(See full trace by running task with --trace)
I don't understand a thing...

Ok you deleted the migration without rolling back. So now when you try running the migration again is complaining that the adaptation_id column already exists on your database.
Revert your deleted file back and run rake db:rollback.

@RisuToriso @ESouza if you don't mind, I'm gonna ask you to move this conversation to the mailing list, as it seems not to be a SF issue so far (also there will be more people there to help). If you determine that's a real issue, I'm happy to reopen the issue here if you can provide some steps to reproduce, or a sample app that shows the problem. Thanks!

Yes I was going to suggest that. Thanks


[Android] Expose set/getCacheMode and set/getBlockNetworkLoads in XWa…

…lkSettings
XWalk already has the implementation of them, and because they share the same
test case, there expose them at the same commit.
BUG=XWALK-6832

@lincsoon @fujunwei @hengzhi @axinging please help to review and merge, thanks

@lincsoon please help to merge, thanks

@lincsoon please help to merge, thanks


Custom Commands

[x] #43
[x] #44
[x] #45
[ ] #46

Should be split into more issues for better tracking.

JavaScript implementation is handled by a separate issue: #46


[Menu][base] Add the resetHighlight action

This change enables solving the problem described in https://github.com/mui/material-ui/pull/36857#pullrequestreview-1381207028.
The issue was that after resetting the filter, the highlight remained at the first filtered item.
There are cases where this behavior is desired - for example, when lazy loading more options, we don't want the highlight to jump to the beginning. That's why I decided to leave the decision to reset the highlight to the developer. See https://codesandbox.io/s/cranky-jennings-954ghk?file=/demo.tsx for an example of how to solve it.
Initially, we discussed exposing just the high-level functions in the actions ref of the Menu (resetHighlight). However, this may not be enough as we need more actions to be dispatched, such as keyDown and buttonClick (they are used to implement our demos, so developers will likely need to use them). When we implement the MenuButton, we probably won't have to expose so many actions.
I ended up exposing both resetHighlight (for ease of use) and dispatch (for completeness). Let me know if you think it's redundant. I'm not sure what's the best option here.
Closes #36800

Regarding the demos, I think they need to be simplified. It's quite intimidating with a lot of useRef at the moment.

Yeah, I agree. The major reason for this is the lack of the MenuButton component. Once we have this, demos will become much simpler.


operators hive-operator (1.2.3375-1f0f3eb)

Update Hive community operator to 1.2.3375-1f0f3eb

/merge possible

/merge possible


what's different with client_side_validations project?

I am choosing client_side_validations and judge.
thanks

Both projects have READMEs and are easy to try out. Set up a project with each and see for yourself.


Add a refresh button in the built-in explorer

Users can refresh the page when the page is not loaded properly.

测试通过


How to use Flask-WTF CSRF protection for Single Page Apps?

I noticed that tokens generated by Flask-WTF expire in one hour and a different one is generated every request.
This will cause problems in SPAs when a page has been opened longer than an hour. XHR requests made after one hour after page-load will start failing, even if the user was active.
My workaround is to set a new token in the browser in each API call:
In the server, all API responses contain a freshly-generated token:
    from flask_wtf.csrf import generate_csrf

    def api_response(data, error=None):
        response = {"csrftoken": generate_csrf(), "data":data}
        ...
        return make_response(jsonify(response), response_code)

In the browser: we set the csrftoken on each API response.
    then(function(result) {
        if(result.csrftoken) csrftoken=result.csrftoken;
        callback(result);
      })

Could you confirm if this method is still safe and fast? I am not too sure about using generate_csrf directly. With the increasing popularity of SPAs, documenting this in Flask-WTF seems important.

server: You can add the token in your response header with @after_request hook.
client: Send token with CSRF token headers


database_user and database_password is still required although snapshot_identifier is provided

Hi,
Seems that database_user and database_password is still required although snapshot_identifier is already provided.
This is my configuration.
module "db_prod" {
  source    = "git::https://github.com/cloudposse/terraform-aws-rds.git?ref=0.3.0"
  namespace = "<redacted>"
  stage     = "prod"
  name      = "db"

  dns_zone_id                 = "${data.terraform_remote_state.core.route53_zone_id["<redacted>"]}"
  host_name                   = "db"
  security_group_ids          = ["${data.terraform_remote_state.core.sg_id["postgre"]}"]
  database_name               = "main"
  database_port               = 5432
  multi_az                    = "false"
  storage_type                = "gp2"
  allocated_storage           = "20"
  storage_encrypted           = "false"
  engine                      = "postgres"
  engine_version              = "9.6.6"
  instance_class              = "db.t2.micro"
  db_parameter_group          = "postgres9.6"
  parameter_group_name        = ""
  publicly_accessible         = "false"
  subnet_ids                  = ["${data.terraform_remote_state.core.subnet_private}"]
  vpc_id                      = "${data.terraform_remote_state.core.vpc_id["default"]}"
  snapshot_identifier         = "arn:aws:rds:ap-southeast-1:<redacted>:snapshot:test-snapshot"
  auto_minor_version_upgrade  = "true"
  allow_major_version_upgrade = "false"
  apply_immediately           = "false"
  maintenance_window          = "Mon:03:00-Mon:04:00"
  skip_final_snapshot         = "false"
  copy_tags_to_snapshot       = "true"
  backup_retention_period     = 7
  backup_window               = "22:00-03:00"
}

Comes with error message
Error: module "db_prod": missing required argument "database_password"

Error: module "db_prod": missing required argument "database_user"

Addressed in https://github.com/cloudposse/terraform-aws-rds/pull/17


Add option filterUsersWithoutPermission to UserService

The user's panel now shows the button "Include users without permissions" (by default only users with permissions are shown). The requires a breaking change in the UserService (there are two known implementations in vivid-planet libraries).

[X] Verify if the change requires a changeset. See CONTRIBUTING.md
[X] Link to the respective task if one exists: XXXL-608
[X] Provide screenshots/screencasts if the change contains visual changes

Shows only Admin and Superusers

there are two known implementations in vivid-planet libraries

Two libraries and all projects that depend on them, which need to update the library when updating the Comet version. Isn't there another way?


added beginChangeBlock() and endChangeBlock() to MapData.

I'm converting my android app, Tiny Travel Tracker, to mapzen. It contains an database on the phone of gps points collected continuously tracking the users movements for later retrieval, which I'd like to add as a tile source (my idea is it would just loop back to the android app to query its database). Since my app can handle hundreds of thousands of points (personally I have over 500,000 stored tracking me over the last 6 years),
I've tried using addFeature() to display a subset of points (of what is on the screen currently) but it creates a lot of flickering as the points are deleted and redrawn.
I was able to change the source to fix my problem by adding two methods to MapData, beginChangeBlock(), which prevents feature changes from immediately being reflected in the rendered view, and endChangeBlock(), which commits the features after the beginChangeBlock() all at once. This successfully prevents flickering in my app and fixes my problem.
I hope this change is useful.

That's a lot of points - this interface makes a lot of sense for your needs.
Funnily enough, the MapData class used to work this way (https://github.com/tangrams/tangram-es/commit/163bbcb07f1044abcfa453c0a9ec29b573510767)! Features could be added in Java and then synchronized to the map in batches so that large updates wouldn't choke the renderer. Then it turned out that most of the time MapData was being used to draw one or two features at a time and the extra call to synchronize the data was troublesome for those cases, so we changed it to just synchronize on every new feature.
We're now planning to replace the common usage of MapData for individual markers and annotations with a new, more focused interface, which means that MapData could once again become more dedicated to large sets of features. At that point we'll add an interface like the one you have here. We're going to hold off on adding this change to master until then.


Feature request

It will be possible to add or adapt the function ModArchiveExists to verify for file.archive in the new redmod folder

Closed by merge of #721


Update set-up-communications-credits-for-your-organization.md

Correcting an issue after customer feedback on this article. "Or" is technically accurate.

@nenonix @JohanFreelancer9 Copy editing is needed for this PR. Thanks.

@ruizoscar PR has been copyedited and is ready for final review, could you please check and merge? Thanks!


fix: title on AI component cards

Closes #4283
Changelog

update to correct prop names so title shows up on AI component cards

@Kritvi-bhatia17 @aagonzales ah yea they are different font sizes. The AI page is using the ImageCard from the gatsby theme https://gatsby-theme-carbon.vercel.app/components/ImageCard/
Where the component overview page is a custom component built just for our website.
and yes they should be responsive by default

@Kritvi-bhatia17 @alisonjoseph I think its fine that they are different font sizes since they wont be seen together on the same page. I don't think its worth doing any extra work or customization just for that.


[bug] emitTo emits everywhere

Describe the bug
When using window.__TAURI__.event.emitTo(label, event) all the webviews receive the event.
Reproduction

Listen on all windows

window.__TAURI__.event.listen("test", () => console.log('test event invoked'))

Emit some event to non existed window. or emit to specific window.

window.__TAURI__.event.emitTo('not-exists', 'test')

Notice that all the windows / webviews receive the event...
Expected behavior
It should receive the event only in the specified target label
Full tauri info output
[✔] Environment
    - OS: Mac OS 14.5.0 arm64 (X64)
    ✔ Xcode Command Line Tools: installed
    ✔ rustc: 1.79.0 (129f3b996 2024-06-10)
    ✔ cargo: 1.79.0 (ffa9cf99a 2024-06-03)
    ✔ rustup: 1.27.1 (54dd3d00f 2024-04-24)
    ✔ Rust toolchain: stable-aarch64-apple-darwin (default)
    - node: 20.15.1
    - pnpm: 9.1.0
    - npm: 10.7.0
    - bun: 1.1.18

[-] Packages
    - tauri 🦀: 2.0.4
    - tauri-build 🦀: 2.0.1
    - wry 🦀: 0.46.1
    - tao 🦀: 0.30.3
    - @tauri-apps/api : 2.0.2
    - @tauri-apps/cli : 2.0.3

[-] Plugins
    - tauri-plugin-shell 🦀: 2.0.1
    - @tauri-apps/plugin-shell : 2.0.0

[-] App
    - build-type: bundle
    - CSP: unset
    - frontendDist: ../dist
    - devUrl: http://localhost:1420/
    - bundler: Vite

Stack trace
No response
Additional context
No response
update
Seems like emitTo catched by every event.listen but it won't catch by any if the listen is called from window.__TAURI__.webview.getCurrentWebview().listen('test', () => console.log('test invoked'))

This is the default behavior of listen from the event module. It listens on all events unless you specify a target to listen to like this:
listen("event", () => {}, { target: { kind: 'Webview', label: this.label }})

this is how getCurrentWebview().listen() is implemented


Translation for the page 'Advanced Guides -> Error Boundaries'

Please help us translating this page in Italian!
Aiutaci a tradurre questa pagina in Italiano!
You can find all the details about how to help here: https://github.com/reactjs/it.reactjs.org/issues/1
GRAZIE! :smile:

@DennisBoanini is working on this


Fix how to detect potential_lines

On Ruby 2.5, format of RubyVM::InstructionSequence#disasm
will be changed. By this change we can not detect which
line is valid to set breakpoints. On the other hand
Ruby 2.5 will introduce new methods

RubyVM::InstructionSequence#each_child
Iterate all direct child instruction sequences.
RubyVM::InstructionSequence#trace_points
Return trace points in the instruction sequence.

see: https://github.com/ruby/ruby/blob/9fe26ef8de1ae047a4d775ce74878a0aeb01a19b/NEWS
We can detect potential_lines by these methods.
So this commit defines new methods and call each_child &
trace_points if these methods are implemented.
Thanks to Koichi Sasada (ko1) for investigation, implemention of
new methods for Ruby and concept implementation for byebug.
This PR is a part of Ruby 2.5 support. I will send another PR to fix some
test cases.
Related: https://github.com/deivid-rodriguez/byebug/issues/345

On my local environment
$ ruby -v
ruby 2.5.0dev (2017-12-24 trunk 61432) [x86_64-darwin14]

$ bundle exec rake test
465 runs, 528 assertions, 7 failures, 0 errors, 3 skips

Looking great, thanks so much! I'll merge as soon as CI is done!


Add SearchCatalogCommandsTests.

Add Get-SearchCatalog tests.

Use class types instead of interfaces in MockSearchManagerFactory.
Explicitly set ErrorActionPreference = Continue.
Simplify MockSearchManagerWithGetSetException.

Codecov Report

Merging #20 (000adfb) into master (f30d3de) will increase coverage by 2.75%.
The diff coverage is 86.44%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@            Coverage Diff             @@
##           master      #20      +/-   ##
==========================================
+ Coverage   65.03%   67.79%   +2.75%
==========================================
  Files          44       45       +1
  Lines        1885     1987     +102
  Branches      233      244      +11
==========================================
+ Hits         1226     1347     +121
+ Misses        550      527      -23
- Partials      109      113       +4

Impacted Files
Coverage Δ

...sSearchManager.Tests/SearchManagerCommandsTests.cs
93.27% <76.47%> (-0.59%)
:arrow_down:

...sSearchManager.Tests/SearchCatalogCommandsTests.cs
87.50% <87.50%> (ø)

...hell.WindowsSearchManager.Tests/CommandTestBase.cs
100.00% <100.00%> (ø)

...owsSearchManager.Tests/mocks/MockInterfaceChain.cs
73.55% <100.00%> (+4.95%)
:arrow_up:

...rchManager.Tests/mocks/MockSearchManagerFactory.cs
85.71% <100.00%> (+14.28%)
:arrow_up:

... and 2 files with indirect coverage changes


Syntax Highlighter

Is there any syntax highlighter

https://tiptap.dev/docs/editor/examples/syntax-highlighting
You can implement your own from here


Project settings > Cloud messaging incorrect link in #10

The link points to Google internal site firebase.corp.google.com instead of console.firebase.google.com

Thanks @srividyaswaminathan and fixed!


Refactor to use a deploy() method instead of constructor

Already done. Creating issue to track progress better.


about difference between paper and this repo

Hi，
The model structure and some params in this repo are different from the paper，so the pre-trained stable-diffusion model used for the paper is a private model trained by yourself？Could you please tell some tricks like what type of vae is better for controlnet？thanks！

in my experiment，the loss does not down to stable，but the model dose show effect，so the loss is does not matter？