[ISSUE #3407]task 5,add the logic of annotation on the splicing class…

Fixes #3407,task 5,add the logic of annotation on the splicing class for sofa client

Make sure that:

[ ] You have read the contribution guidelines.
[ ] You submit test cases (unit or integration tests) that back your changes.
[ ] Your local test passed mvn clean install -Dmaven.javadoc.skip=true.

Codecov Report

Merging #3441 (828016a) into master (1b4266c) will decrease coverage by 0.54%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master    #3441      +/-   ##
============================================
- Coverage     63.38%   62.83%   -0.55%
+ Complexity     5492     5452      -40
============================================
  Files           819      820       +1
  Lines         22690    22712      +22
  Branches       2039     2042       +3
============================================
- Hits          14381    14271     -110
- Misses         7003     7121     +118
- Partials       1306     1320      +14

Impacted Files
Coverage Δ

...plugin/logging/rocketmq/LoggingRocketMQPlugin.java
22.72% <0.00%> (-72.73%)
:arrow_down:

...ache/shenyu/plugin/grpc/cache/GrpcClientCache.java
75.00% <0.00%> (-25.00%)
:arrow_down:

...controller/ShenyuClientHttpRegistryController.java
77.77% <0.00%> (-22.23%)
:arrow_down:

...ogging/rocketmq/body/LoggingServerHttpRequest.java
0.00% <0.00%> (-20.00%)
:arrow_down:

...henyu/admin/service/impl/UpstreamCheckService.java
47.91% <0.00%> (-18.75%)
:arrow_down:

...yu/sync/data/http/refresh/AbstractDataRefresh.java
70.00% <0.00%> (-13.34%)
:arrow_down:

...henyu/plugin/grpc/resolver/ShenyuNameResolver.java
59.57% <0.00%> (-12.77%)
:arrow_down:

...ruptor/RegisterClientServerDisruptorPublisher.java
52.94% <0.00%> (-11.77%)
:arrow_down:

...a/org/apache/shenyu/common/utils/VersionUtils.java
67.85% <0.00%> (-10.72%)
:arrow_down:

...che/shenyu/sync/data/http/HttpSyncDataService.java
74.79% <0.00%> (-8.95%)
:arrow_down:

... and 32 more

Continue to review full report at Codecov.

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


the predicted result is nan

HI
I run your program and find that parameters in some layers are ## nan,  then I run the program with mse, it seems ok. Is there something wrong with the crossentropy?

Hi, I'm not sure if I understand your problem correctly. By "parameters in some layers are ## nan", I assume you mean the weights in some layers are nan. Do you get nan losses in that case?
Usually nan loss (or inf loss) is caused by improper configuration of hyperparameters, for example, the learning rate is to0 large.

Hi, I find that the loss is nan and the parameters after conv5 are nan.

where can I set the learning rate?
2.can you upload you trained model?

Hi,

You can change the arguments of the optimizer while fitting a data generator. See Keras Optimizers
Unfortunately, I don't have a trained model. At the moment, I am using a pre-trained model converted from the Caffe model zoo. (See #7)


Ansible recursive copy

[ ] Figure out why Ansible is not doing a recursive copy of files
[ ] Test using the synchronize option with the delegate_to option

Solved using Sync option


[PoC] Compute only mode to join into an existing controller

do kolla-ansible support this kind of deploy??


Fixing tests using consul for dns

Refactoring tests

Add a new test stage initialize_unseal useful when running multiple times the validation stage against the same cluster
Add testVaultUsesConsulForDns for all test cases

Updating vault service configuration

Adding service_registration used when using a different storage backend like s3
Updating systemd configuration based on this configure-systemd documentation

Bumping versions

bump min_packer_version -> 1.5.4
bump vault_version -> 1.6.1
bump consul_version -> 1.9.2

Tests passed! 🎉
So does this imply there's no actual bug with https://github.com/hashicorp/terraform-aws-vault/issues/228 / Ubuntu 18.04? That it was just that the service wasn't being registered? Or did we need newer Consul / Vault versions?

Tests passed! 🎉
So does this imply there's no actual bug with #228 / Ubuntu 18.04? That it was just that the service wasn't being registered? Or did we need newer Consul / Vault versions?

Indeed, it resolves #228 by adding the service registration and using newer Consul / Vault versions

Tests passed! 🎉
So does this imply there's no actual bug with #228 / Ubuntu 18.04? That it was just that the service wasn't being registered? Or did we need newer Consul / Vault versions?

Indeed, it resolves #228 by adding the service registration and using newer Consul / Vault versions

Sorry, crazy week, just coming back to this now. That's great news, thank you! I'm going to merge and release this now.

https://github.com/hashicorp/terraform-aws-vault/releases/tag/v0.14.2


Model save

Question

...
How can we save the model for 'DocumentConverter'? What is the syntax ?

You can find out how to download/prefetch & then configure the downloaded models here:
https://ds4sd.github.io/docling/usage/#provide-specific-artifacts-path
(As I think this answers the question, I am closing the issue, otherwise feel free to reopen.)


WebUnits repository model is proteced

When I try to log into my school with the admin and default user set to the same user (although it's not an admin, just setting the default doesn't work but thats an issue for another day) and then query the Period repository it gives me this:
Webuntis\Repositories\Repository Object ( [model:protected] => Webuntis\Models\Students [instance:protected] => Webuntis\Webuntis Object ( [path:Webuntis\Webuntis:private] => https://stundenplan.hamburg.de/WebUntis/jsonrpc.do?school=Hh5868 [client:Webuntis\Webuntis:private] => Webuntis\Client\Client Object ( [requiredHttpHeaders:Datto\JsonRpc\Http\Client:private] => Array ( [Accept] => application/json [Content-Type] => application/json [Connection] => close ) [uri:Datto\JsonRpc\Http\Client:private] => https://stundenplan.hamburg.de/WebUntis/jsonrpc.do?school=Hh5868 [headers:Datto\JsonRpc\Http\Client:private] => Array ( [Accept] => application/json [Content-Type] => application/json [Connection] => close [Cookie] => JSESSIONID=39E33EE814222D158102EB94FF825492.nodeTC01; Path=/WebUntis; Version=1; Max-Age=1209600; Expires=Wed, 12-Sep-2018 08:37:05 GMT; ) [context:Datto\JsonRpc\Http\Client:private] => Resource id #20 [client:Datto\JsonRpc\Http\Client:private] => Datto\JsonRpc\Client Object ( [messages:Datto\JsonRpc\Client:private] => Array ( ) ) ) [currentUserId:Webuntis\Webuntis:private] => 224 [currentUserType:Webuntis\Webuntis:private] => 1 [context:Webuntis\Webuntis:private] => admin ) [cache:protected] => [executionHandler:protected] => Webuntis\Handler\ExecutionHandler Object ( [cache:Webuntis\Handler\ExecutionHandler:private] => ) )
So this suggest that I don't have access to the Periods which I know to be false because I can log in to the Web Untis mobile app with that exact data.
Do I need to get an admin-read-only account from my school to get access to the Periods?

if you want the data from the request execute ->findAll() or other method. Please read the docs under Querys and then how to handle Repositories.

Thank you for the quick response but
Uncaught Webuntis\Exceptions\ModelException: There is no Model available for the user type: "1"
is what I get when I try to run the ->findAll() on the $query->get('Period') like this:
print_r($query->get('Period')->findAll());

My config looks like this:
$config = new WebuntisConfiguration([ 'admin' => [   'server' => 'stundenplan.hamburg.de',   'school' => 'hh5868',   'username' => '???',   'password' => '???',   'path_scheme' => 'https://{server}/WebUntis/jsonrpc.do?school={school}' ], 'default' => [   'server' => 'stundenplan.hamburg.de',   'school' => 'hh5868',   'username' => '???',   'password' => '???',   'path_scheme' => 'https://{server}/WebUntis/jsonrpc.do?school={school}'  ]  ]);
what might or might not be of interest is that the username starts with the number 1.

are your logged in with an klasse object?

No, I'm not, just the default config, I found another libary that works easier now, sorry for bothering you but keep up the good work ^^

yea this library is more for advanced usage, but I'm glad you found your fit.

will be solved in #37 #38 #39


Select all checkbox method

We are rendering checkboxes in list view. I am setting rowData.status to true to all the list item but it is not working. however it is working when I switch the tab and come back to same tab again
<MKCheckbox checked={rowData.status} onPress={() => self.abc(rowData) }/>

It seems when you set rowData.status to true, it won't re-render the parent component. If that is the case I suggest to use state or connect the component to redux, It should solve the issue.
PS: To get more information about connecting a component to redux check react-redux out. It's very handy.


Fix Modal Close Event is not Canceled

Codecov Report

Merging #1132 into master will increase coverage by <.01%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master    #1132      +/-   ##
==========================================
+ Coverage   99.75%   99.75%   +<.01%
==========================================
  Files         350      350
  Lines        8514     8516       +2
  Branches     2021     2021
==========================================
+ Hits         8493     8495       +2
  Misses         21       21

Impacted Files
Coverage Δ

src/components/modal/ModalComposite.tsx
100% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


Purpose of BlockBase.parent and BlockBase.next?

Currently, the BlockBase class has the properties parent and next, which appears to be the IDs of its parent block and the next block in the stack respectively.
They don't appear to be used anywhere in the export code, and could make it much harder to manipulate the block tree.
It looks like they're modeled after the SB3 JSON structure, but given that sb-edit's API has already deviated from SB3, it's unnecessary to have them. Can/should these properties be removed?

/cc @PullJosh for your thoughts on this.
Also @towerofnix, parent and next are never accessed from BlockBase in the toSb3 code, right? I did a quick search through and didn't find any usage of them (it looks like the parent and next properties on the serialized blocks are calculated in other ways, which is good), but I may be missing something.

Removing both makes sense. 👍

@adroitwhiz Yep! It's safe to remove parent and next. I was slightly concerned about "next" but that block link is calculated by serializeBlockStack without reference to that property.

@adroitwhiz Do you think it still makes sense to remove these relational properties? It's worth noting that it will have an influence on how "mutation" functions are written (for lack of a proper term, currently) — any function which performs static analysis and replaces input blocks with an equivalent but different set.
(We don't have any of those yet, and maybe we won't include any as built-in behavior, but sb-edit is ostensibly about manipulating projects including blocks, so it's worth considering for the sake of library-consuming code too. By removing parent and next, we would rule out certain code patterns for any modular "mutations". That could be a good thing! But I'm not sure.)

I think removing these would actually make it much easier to manipulate block stacks. It might even open up the possibility of placing the same block object in multiple stacks at once, which you can't do right now.

Sure thing! I think the styles it rules out forces you into much cleaner ones as a consequence, which is a win in my books 📦


Resampling an image to a reference image

Hi all,
I'm trying to resample an image (Image) using the grid of another image (RefImage).  Not only are the slices in the resampled image (ResImage) not anatomically related to the slices in RefImage, but I can't be sure that the intrically determined outputSpacing is correct, since I obtain an incorrect spacing along the third dimension for RefImage, i.e. RefImage.GetSpacing()[2].
I've gone through the Transforms and Resampling tutorial and searched for relevant issues already posted by other users but I've been unable to figure out where I'm going wrong.
I'm looking to use the second method covered in the tutorial under Resampling:

Resample(const Image &image1, Transform transform, InterpolatorEnum interpolator, double defaultPixelValue, PixelIDValueEnum outputPixelType)
Resample(const Image &image1, const Image &referenceImage, Transform transform, InterpolatorEnum interpolator, double defaultPixelValue, PixelIDValueEnum outputPixelType)
Resample(const Image &image1, std::vector< uint32_t > size, Transform transform, InterpolatorEnum interpolator, std::vector< double > outputOrigin, std::vector< double > outputSpacing, std::vector< double > outputDirection, double defaultPixelValue, PixelIDValueEnum outputPixelType)

I also found this helpful example which looks relevant.  However it seems that zivy was interested in aligning the two images to their geometric centres, whereas I am interested in aligning to their origins*.   So I skipped the contents of the third cell (setting up reference_center).  That said, I also tried using the centered transform as shown in that example, but still didn't yield the results I expected.
*Note:
The two volumetric images that I have are of the same patient imaged with the same ImageOrientationPatient (bar rounding differences), but different SliceThickness, Rows and Columns, and hence, different ImagePositionPatients (using DICOM parlance).   Their origins (= ImagePositionPatient[0]) are also different (using SimpleITK parlance).  Hence why I want to align their origins rather than geometric centres.
The code using Resample:
Dimension = Image.GetDimension()

Transform = sitk.AffineTransform(Dimension)
Transform.SetMatrix(Image.GetDirection())
Transform.SetTranslation(np.array(Image.GetOrigin()) - RefImage.GetOrigin())

ResImage = sitk.Resample(Image, RefImage, Transform, sitk.sitkLinear, Image.GetPixelIDValue())

Following are some results printed to the console:

Results after resampling Source image:
The Source and Target image size:
Original Source:  (208, 256, 50)
Resampled Source: (192, 192, 63)
Target:           (192, 192, 63)
The Source and Target voxel spacings:
Original Source:  (0.8984375, 0.8984375, 2.9999990463256836)
Resampled Source: (1.3020833730698, 1.3020833730698, 1.0)
Target:           (1.3020833730698, 1.3020833730698, 1.0)
The Source and Target Origin:
Original Source:  (-103.26176452636719, -153.43377685546875, -10.299073219299316)
Resampled Source: (-134.8488006591797, -162.71725463867188, -6.488883972167969)
Target:           (-134.8488006591797, -162.71725463867188, -6.488883972167969)
The Source and Target Direction:
Original Source:  (0.9972648738498597, 1.8634260454120088e-10, 0.07391056342109259, -0.022262997957353512, 0.9535561337886633, 0.3003915089278791, -0.07047787104598309, -0.301215370979001, 0.9509480374756598)
Resampled Source: (0.9972648742807271, -8.267604392764305e-09, 0.07391055760745978, -0.022262987236672742, 0.9535561377645052, 0.3003914971015985, -0.07047786833570838, -0.3012153583926953, 0.9509480416632733)
Target:           (0.9972648742807271, -8.267604392764305e-09, 0.07391055760745978, -0.022262987236672742, 0.9535561377645052, 0.3003914971015985, -0.07047786833570838, -0.3012153583926953, 0.9509480416632733)

Unlike the use of ResampleImageFilter, this method of Resample doesn't require setting outputSpacing (as required for Resample method 3), presumably since the necessary info is intrinsically obtained from the arguments image1 and referenceImage.  But I get the wrong pixel spacing along the third dimension for RefImage (it seems fine for Image) as reported by .GetSpacing().  The SliceThickness for Image and RefImage as reported by Pydicom are 3.0 mm and 5.0 mm, yet SimpleITK reports 2.999... mm and 1.0 mm for .GetSpacing()[2].  So if Resample is using the wrong outputSpacing could this be (at least one of) the issues?
I wondered if this is contributing to the fact that the resulting resampled image is not showing comparable anatomy when I print the slices in ResImage and RefImage side-by-side.  It's only the middle slice 31 where the anatomy shown in ResImage seems to agree with that in Image.
I decided to try using ResampleImageFilter, both using the voxel spacings given by RefImage.GetSpacing() and using the spacings from Dicom.PixelSpacing and Dicom.SliceThickness with Pydicom (where Dicom is a DICOM object imported with Pydicom).
The code using ResampleImageFilter:
Dimension = Image.GetDimension()

Resampler = sitk.ResampleImageFilter()
Resampler.SetReferenceImage(RefImage)
Resampler.SetInterpolator(sitk.sitkLinear)
Resampler.SetTransform(sitk.AffineTransform(Dimension))

Resampler.SetOutputSpacing(RefImageSpacings) # <-- allow use of Pydicom spacing
Resampler.SetSize(RefImage.GetSize())
Resampler.SetOutputDirection(RefImage.GetDirection())
Resampler.SetOutputOrigin(RefImage.GetOrigin())
Resampler.SetDefaultPixelValue(Image.GetPixelIDValue())

ResImage = Resampler.Execute(Image)

where RefImageSpacings is either RefImage.GetSpacing() or [Dicom.PixelSpacing[0], Dicom.PixelSpacing[1], Dicom.SliceThickness].
Although I get the expected dimensions in RefImage, when plotting the slices side-by-side the results appear worse than that obtained using Resample.  When I set  RefImageSpacings = RefImage.GetSpacing() I get 63 non-zero slices in ResImage, but even the central slices of ResImage and RefImage do not correspond anatomically.
When I set RefImageSpacings = [Dicom.PixelSpacing[0], Dicom.PixelSpacing[1], Dicom.SliceThickness] I get completely black slices from slice number 30 to 62 in ResImage.  So it appears that my attempts to correct the error in outputSpacing has not only not helped but made the situation worse.
This all leads me to suspect that I'm not using ResampleImageFilter properly (either), and hence, I'm no closer to determining whether or not the error in RefImage.GetSpacing()[2] is a cause for concern or if other mistakes are to blame for the lack in agreement between ResImage and RefImage.
I would greatly appreciate if someone could shed some light on this.

Hello @ctorti,
The problem isn't with the code, it is with the interpretation of the DICOM tag. Slice Thickness, "0018|0050", doesn't mean what you think it means. It is the thickness of the region in space represented by this slice where the infinity thin slice is at the center of this region.
The z spacing is computed based on the Image Position (Patient), "0020|0032",  and Image Orientation (Patient), "0020|0037", tags for the first two slices and assumed to be uniform.

Hi @zivy ,
Thanks for your reply.  I follow that Slice Thickness is the region of space represented by the slice of finite thickness, so is it also not true that the Slice Thickness is equivalent to the voxel dimension along the scan direction?
I did some playing around with Pydicom and SimpleITK to see how they differ.  First I create a list DicomFpaths which contain a list of filepaths of DICOMs in a directory that have been sorted by ImagePositionPatient[2].  I import the DICOM objects using Pydicom so I have a list of objects Dicoms.  I can then print the list of IPPs in ascending order of IPP[2].
Using SimpleITK I create a list of IPPs using .TransformIndexToPhysicalPoint((0, 0, i)) for each slice in the sitk image.
As expected when I compare the list of IPPs obtained with Pydicom and SimpleITK they are in agreement for one DICOM scan (the scan that is imported in sitk as Image).  To my surprise when I did the same for the other scan (the one that was imported in sitk as RefImage) I got repeated positions in the list obtained with Pydicom:
[[-134.84880591119, -162.71725421062, -6.4888838763119],
 [-134.84880591119, -162.71725421062, -6.4888838763119],
 [-134.84880591119, -162.71725421062, -6.4888838763119],
 [-134.29447603906, -160.46432070843, 0.64322671939124],
 [-134.29447603906, -160.46432070843, 0.64322671939124],
 [-134.29447603906, -160.46432070843, 0.64322671939124],
...

and the differences in the z-components of the IPPs are:
[0.        , 0.        , 7.1321106 , 0.        , 0.        ,        7.1321106 , ...
yet unique positions reported by sitk:
[[-134.8488006591797, -162.71725463867188, -6.488883972167969],
 [-134.77489010157223, -162.41686314157027, -5.537935930504696],
 [-134.70097954396476, -162.11647164446867, -4.586987888841422],
 [-134.6270689863573, -161.81608014736707, -3.6360398471781488],
 [-134.55315842874984, -161.51568865026547, -2.6850918055148756],
 [-134.47924787114238, -161.21529715316387, -1.734143763851602],
...

and the differences in the z-components of the IPPs are:
[0.95094804, 0.95094804, 0.95094804, 0.95094804, 0.95094804, 0.95094804, ...
I checked DicomFpaths for the second scan and verified that none of the filepaths were duplicated.  The SOPInstanceUIDs were also unique.
Then I loaded the DICOMs in DicomBrowser and noticed that there are only 21 IPPs listed (there are 63 DICOM files).  Then I noticed that the scan title is "6-ep2ddiff3scantracep2-55446", so it appears that this collection of images have been subtracted from one another in threes.  This explains why I get repeated IPPs from pydicom.
I note with interest your comment:

The z spacing is computed based on the Image Position (Patient), "0020|0032", and Image Orientation (Patient), "0020|0037", tags for the first two slices and assumed to be uniform.

I'm surprised because the list of files that I provided to ImageSeriesReader was the same ordering used to import the DICOMs in pydicom:
SortedFilePaths = GetDicomFpaths(DicomDir, 'slices', False)

SitkReader = sitk.ImageSeriesReader()
SitkReader.SetFileNames(SortedFilePaths)

Image = SitkReader.Execute()
Image = sitk.Cast(Image, sitk.sitkFloat32)

where GetDicomFpaths is a function that creates a list of filepaths in ascending order of IPP[2].  So if the first two IPPs in the list SortedFilePaths are the same, shouldn't sitk have reported Image.GetSize()[2] = 0?
If you're wondering why I've gone through the trouble of sorting the filepaths is because when I imported the image as follows:
SitkReader = sitk.ImageSeriesReader()
SitkNames = SitkReader.GetGDCMSeriesFileNames(DicomDir)

SitkReader.SetFileNames(SitkNames)
Image = SitkReader.Execute()
Image = sitk.Cast(Image, sitk.sitkFloat32)

and plotted the slices in Image it was clear that the slices were not in anatomical order.
So it looks like sitk is capable of loading images in a sensible order if the scan has "sensible" IPPs.  Because I tried to load a scan containing odd IPPs, sitk quite reasonably didn't know how to deal with it when working out Image.GetSize() it seems.
In any case it's fairly clear to me that I need to work with a different data set for RefImage because I don't know what has been done to the DICOMs in the scan "6-ep2ddiff3scantracep2-55446".
I'll see if I can obtain better resampling results with two "normal" scans.


Fix extensibility on reduced permissions

Description
Changes proposed in this pull request:

As in commits

Testing

Use the busola-tester kubeconfig from our Gardener - it's a namespaced user, and the Shoot configmap is already here. It should be visible with those changes.
Remember to set the extensibility: true in defaultConfig.json while testing on localhost - it will be true on dev.

Related issue(s)
Closes #1753

/retest

/test pre-busola-integration-test-k3s-namespace

/test pre-busola-integration-test-k3s-namespace

/test pre-busola-integration-test-k3s-cluster


[BUG] Resolve workflow failures on main branch following 3.0 bump

What is the bug?
PR https://github.com/opensearch-project/security-analytics-dashboards-plugin/pull/556 bumped the main branch of this plugin to 3.0, and with that, we saw unexpected failures in the github test workflows.
The unit and cypress test workflows are currently failing with the following error. Further investigation is needed to resolve.
Cache not found for input keys: cypress-cache-v2-Linux-d9e92abea0f3a9fd094be38db0e88a4810d49cc9d834c308b47ef396d26d9b55, cypress-cache-v2-Linux-d9e92abea0f3a9fd094be38db0e88a4810d49cc9d834c308b47ef396d26d9b55

As mentioned in comment https://github.com/opensearch-project/security-analytics-dashboards-plugin/pull/556#discussion_r1178241996, the OPENSEARCH_VERSION is now redundant, and can be removed.

The unit test failures were resolved in PR https://github.com/opensearch-project/security-analytics-dashboards-plugin/pull/561
The cypress test failures still require investigation.


Axios dependency security vulnerability

Axios issue: https://github.com/advisories/GHSA-4w2v-q235-vp99
Dependabot cannot automatically fix this issue in my repository. it says:
"The latest possible version that can be installed is 0.19.2 because of the following conflicting dependency:
<EMAIL_ADDRESS>requires<EMAIL_ADDRESS>The earliest fixed version is 0.21.1."

Fixed in https://github.com/farshed/genius-lyrics-api/commit/23bd2e77d39ef1d4e4d1c4f2b56ba58680470e13

Fixed in https://github.com/farshed/genius-lyrics-api/commit/23bd2e77d39ef1d4e4d1c4f2b56ba58680470e13


Translate logging-elasticsearch-kibana.md in Korean

This is a Feature Request

What would you like to be added

Translate /tasks/debug-application-cluster/logging-elasticsearch-kibana.md in Korean.
Why is this needed
There is no documents with /tasks/debug-application-cluster/logging-elasticsearch-kibana.md in Korean.
Comments

Page to update: https://kubernetes.io/docs/tasks/debug-application-cluster/logging-elasticsearch-kibana/

/language ko
/assign


How to catch CANCEL event for incoming call

Hi,
It's probably a feature request then just a question as I am sure it's not implemented today in API, but I was wondering if there's a workaround anyway so thought it worth asking here.
What I am trying to do is catch a SIP CANCEL on an Invitation.
The use case is very simple... I want to be able to return some indication when I'm answering the call.
Until today I was just waiting for SessionState to be ESTABLISHED, but it's not good enough and it is open to race conditions. I have a call center with agents, and I'm broadcasting the call to all agents. So when there's a case that 2 agents are trying to answer the call in the same time, one of them will succeed and then 2nd should get a CANCEL.
Problem is that in both cases, they'll switch to SessionState = ESTABLISHED, and it's not correct in my case because the call itself is not really established, that's why I'm looking for a way to catch the CANCEL and act according to it.
I asked something similar around 10 months ago, but no response:
https://groups.google.com/g/sip_js/c/hW9XUohVnDU/m/9TeE8WpqAQAJ
Any ideas?

Hey @slavikbialik, lurking around there's a delegate for onCancel on IncomingRequestDelegate.
https://github.com/onsip/SIP.js/blob/5cf805632e48ec2d882f4b1e0eab2ae7c78beda5/src/api/invitation.ts#L420-L436
However it seems to be used for internal use only, I'm not sure how to listen to it when receiving it.
Although looking at the code, you can definitely catch it when sessionState transition to Terminated and session.isCanceled is true.

Hey @slavikbialik, lurking around there's a delegate for onCancel on IncomingRequestDelegate.
https://github.com/onsip/SIP.js/blob/5cf805632e48ec2d882f4b1e0eab2ae7c78beda5/src/api/invitation.ts#L420-L436
However it seems to be used for internal use only, I'm not sure how to listen to it when receiving it.
Although looking at the code, you can definitely catch it when sessionState transition to Terminated and session.isCanceled is true.

Thanks!
Shame I cannot use it in SessionDelegate.. it would be awesome, now I'll have to find a way to add this in the code, and I fear it won't be an easy task for me.
Also I see that isCanceled flag is private, and I cannot access it using the API.
And I cannot understand why the _onCancel function is visible to use in the API commands, although I cannot really use it to do something.
If you have any ideas (regarding the code), it would be very much appreciated :)

@iomariani Well... after further investigation I realize that it is 100% race condition, and it's not so easy to reproduce, but still I will have to fix it for my platform at least.
What happens is that SIP.js sends 200OK on the INVITE, but before this 200OK reaches my FreeSWITCH, FreeSWITCH sees that the call is answered elsewhere and it generates a CANCEL towards the SIP.js client.
So from SIP.js perspective, it tried to answer the call by sending a final response (200 OK) but then got a CANCEL.
According to the RFC, CANCEL should not be received after final response, and if so it should ignore it and SIP.js implements exactly that.
But in my case, I cannot allow cases like that and I will probably need to change the source code (which I already did - not 100% tested yet) that will allow getting CANCEL after final response so when it gets it, it will terminate the session before fully answered (before the ACK). Hopefully it will work for me.

Yeah. This looks like a pretty standard race condition that we are handling to RFC standard. What FS should do is "Accept and Terminate". It should detect that the 200 OK arrived for a session that it already cancelled and since this is a known SIP race condition it should take the 200 OK and then send a BYE for the call. From your agents perspective this would be that the call was answered then immediately hung up on. There may be a special in the reason of the BYE that you can use to provide better feedback to the agent, but this is all really a question of how FS handles this race condition.

Yeah. This looks like a pretty standard race condition that we are handling to RFC standard. What FS should do is "Accept and Terminate". It should detect that the 200 OK arrived for a session that it already cancelled and since this is a known SIP race condition it should take the 200 OK and then send a BYE for the call. From your agents perspective this would be that the call was answered then immediately hung up on. There may be a special in the reason of the BYE that you can use to provide better feedback to the agent, but this is all really a question of how FS handles this race condition.

Hi Eric, thanks for the reply!
I investigated it from FreeSWITCH perspective and I saw that it receives the CANCEL after it already generates the CANCEL towards the SIP.js client. But then it gets the 200OK and it ignores it as it already sent a CANCEL.
Of course FreeSWITCH detects this race condition (as it seems) and after the ACK (on the 200OK - which couldn't answer the call of course) the FreeSWITCH sends a BYE, but BYE is lacking the Reason with the "answered elsewhere".
I thought about doing something simple on the SIP.js side:
Add some new variable in invitation.ts class, like isReceivedCancelOutOfOrder which will be a boolean and PUBLIC so it can be accessible by the API.
Then in the following IF condition:
https://github.com/onsip/SIP.js/blob/5cf805632e48ec2d882f4b1e0eab2ae7c78beda5/src/api/invitation.ts#L424
I will set this flag to TRUE.
In my client code I will be able to delegate with the onAck (what I previously contributed) and check if when I get an ACK if the flag isReceivedCancelOutOfOrder is TRUE, if it's TRUE I know something wrong happened, means the race condition happened. ELSE, everything is OK.
What do you think?
Previously I started to break the RFC in the SIP.js code by NOT ignoring CANCEL when SessionState is ESTABLISHED and I were able to delegate onCancel through the API, but then it got very complicated and there's lot of things to consider when doing it.
So the idea above is more simple then breaking the RFC.

As you found out, breaking the RFC can lead to some very nasty scenarios. I would highly recommend sticking to the standard here.
IMO the best way to handle this is either a reason from FS in the bye message, or an extra header on the bye to indicate that this scenario has happened. A hack in SIP.js here is really specific to your use case here and I do not see much use adding it to the library. I believe that Freeswitch is supposed to send a reason "Call Completed Elsewhere" on the BYE message. This code lives in mod_sofia.c. I would try and track down why that is not getting added.
If you still wanted to add your code to SIP.js, I think that it should work. You could take it a step further and add some sort of onOutOfOrderCancel listener, that way you don't need to wait for the ACK as there could be processing/network delays. But again, I do not see us accepting any of this into the library.

As you found out, breaking the RFC can lead to some very nasty scenarios. I would highly recommend sticking to the standard here.
IMO the best way to handle this is either a reason from FS in the bye message, or an extra header on the bye to indicate that this scenario has happened. A hack in SIP.js here is really specific to your use case here and I do not see much use adding it to the library. I believe that Freeswitch is supposed to send a reason "Call Completed Elsewhere" on the BYE message. This code lives in mod_sofia.c. I would try and track down why that is not getting added.
If you still wanted to add your code to SIP.js, I think that it should work. You could take it a step further and add some sort of onOutOfOrderCancel listener, that way you don't need to wait for the ACK as there could be processing/network delays. But again, I do not see us accepting any of this into the library.

Thanks!
What about pushing onCancel in session delegation? I found a suitable solution for that out of order CANCEL in my very specific case without breaking RFC and changing any code in SIP.js, but still had to delegate onCancel to the API (which is working for me). Because I still had a case where I press on the ANSWER button, and while 200OK is still being generated I got an immediate CANCEL while SessionState.ESTABLISHING already, so had to be able to catch that CANCEL and do something in my code.
Let me know if you'll accept a PR of delegating onCancel to the API. I'd prefer to have it inside the community package and not to manage a repository of my own just for this.
Thanks!

I think I would be ok with adding an onCancel to the API with some caveats. It should not change the underlying behavior of the UAS core. The cancel is a special case handled by the core, and should remain that way. And on the API level, I think that it should only fire if the session was actually cancelled. So if the cancel is received in the wrong state (ESTABLISHED), I would expect that delegate to not be called. I think that is consistent with other delegate methods.

Closing this post. Hopefully we'll see it soon in next release after PR is merged.
Thanks! :)


Captcha Error

Describe the bug
Captcha error
To Reproduce
The code says "captcha error" because of the new "puzzle captcha" method
Expected behavior
With image recognization it should work
Additional context
Can't log-in and do any operation

This API doesn't support completing captchas - you'll have to implement that yourself.


feat(card): v2 card style updates

Related Ticket(s)
Closes #10329
Description
Updates default Card to v2 styles
NOTE: when switching video variation in storybook, you may need to refresh the browser for the video duration to load properly
See design specs for details

Changelog
New

{{new thing}}

Changed

{{changed thing}}

Removed

{{removed thing}}

@annawen1 looking good! A few things:
Interactive states
- [ ] Hover: Can you double check the hover color for the card is $layer-hover-01
It looks a bit dark compared to the specs (right side of the screen shot)

- [ ] Focus: Slight shift in icon position when you tab into card

CTA Types
- [ ] Video: No text color change on hover for the video time stamp
Keep text color at $text-primary

Themes

[ ] Tags are not following dark theme when I change the Theme setting in Storybook
Tags are currently set to the white or g10 theme, they should follow the correct theme colors for Gray 90 or Gray 100

Storybook (not sure how much control you have other these things?)
- [ ] Storybook errors out when I try to add body copy to the Card. (Spacing looks correct for the brief moment I can see it though!)

- [ ] Storybook holds onto displaying the video time stamp when I select CTA type Video, then choose another PDF, Blog. I have to refresh the page to get the time stamp to go away.

@oliviaflory I created another ticket to capture the Storybook issues: [Component] Card v2 - Storybook #10920


bpf: hs-ipcache: use get_id_from_tunnel_id()

Avoid open-coding the translation from WORLD_ID to WORLD_IPV*_ID.

/test

/test

/ci-ipsec-upgrade


Plugin not working on 1.21.4

Plugin will throw an error when trying to open a book on version 1.21.4:
[20:16:51] [Server thread/ERROR]: [InteractiveBooks] [ACF] java.lang.ExceptionInInitializerError
[20:16:51] [Server thread/ERROR]: [InteractiveBooks] [ACF]      at InteractiveBooks.jar//net.leonardo_dgs.interactivebooks.lib.nbtapi.NBTCompound.setString(NBTCompound.java:176)
[20:16:51] [Server thread/ERROR]: [InteractiveBooks] [ACF]      at InteractiveBooks.jar//net.leonardo_dgs.interactivebooks.IBook.lambda$getItem$0(IBook.java:196)
[20:16:51] [Server thread/ERROR]: [InteractiveBooks] [ACF]      at InteractiveBooks.jar//net.leonardo_dgs.interactivebooks.lib.nbtapi.NBT.modify(NBT.java:252)
[20:16:51] [Server thread/ERROR]: [InteractiveBooks] [ACF]      at InteractiveBooks.jar//net.leonardo_dgs.interactivebooks.IBook.getItem(IBook.java:195)
[20:16:51] [Server thread/ERROR]: [InteractiveBooks] [ACF]      at InteractiveBooks.jar//net.leonardo_dgs.interactivebooks.IBook.open(IBook.java:165)
[20:16:51] [Server thread/ERROR]: [InteractiveBooks] [ACF]      at InteractiveBooks.jar//net.leonardo_dgs.interactivebooks.CommandIBooks.onOpen(CommandIBooks.java:85)
[20:16:51] [Server thread/ERROR]: [InteractiveBooks] [ACF]      at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(Unknown Source)
[20:16:51] [Server thread/ERROR]: [InteractiveBooks] [ACF]      at java.base/java.lang.reflect.Method.invoke(Unknown Source)
[20:16:51] [Server thread/ERROR]: [InteractiveBooks] [ACF]      at InteractiveBooks.jar//net.leonardo_dgs.interactivebooks.lib.acf.RegisteredCommand.invoke(RegisteredCommand.java:152)
[20:16:51] [Server thread/ERROR]: [InteractiveBooks] [ACF]      at InteractiveBooks.jar//net.leonardo_dgs.interactivebooks.lib.acf.BaseCommand.executeCommand(BaseCommand.java:578)
[20:16:51] [Server thread/ERROR]: [InteractiveBooks] [ACF]      at InteractiveBooks.jar//net.leonardo_dgs.interactivebooks.lib.acf.BaseCommand.execute(BaseCommand.java:513)
[20:16:51] [Server thread/ERROR]: [InteractiveBooks] [ACF]      at InteractiveBooks.jar//net.leonardo_dgs.interactivebooks.lib.acf.RootCommand.execute(RootCommand.java:99)
[20:16:51] [Server thread/ERROR]: [InteractiveBooks] [ACF]      at InteractiveBooks.jar//net.leonardo_dgs.interactivebooks.lib.acf.BukkitRootCommand.execute(BukkitRootCommand.java:84)
[20:16:51] [Server thread/ERROR]: [InteractiveBooks] [ACF]      at io.papermc.paper.command.brigadier.bukkit.BukkitCommandNode$BukkitBrigCommand.run(BukkitCommandNode.java:82)
[20:16:51] [Server thread/ERROR]: [InteractiveBooks] [ACF]      at com.mojang.brigadier.context.ContextChain.runExecutable(ContextChain.java:73)
[20:16:51] [Server thread/ERROR]: [InteractiveBooks] [ACF]      at net.minecraft.commands.execution.tasks.ExecuteCommand.execute(ExecuteCommand.java:31)
[20:16:51] [Server thread/ERROR]: [InteractiveBooks] [ACF]      at net.minecraft.commands.execution.tasks.ExecuteCommand.execute(ExecuteCommand.java:19)
[20:16:51] [Server thread/ERROR]: [InteractiveBooks] [ACF]      at net.minecraft.commands.execution.UnboundEntryAction.lambda$bind$0(UnboundEntryAction.java:8)
[20:16:51] [Server thread/ERROR]: [InteractiveBooks] [ACF]      at net.minecraft.commands.execution.CommandQueueEntry.execute(CommandQueueEntry.java:5)
[20:16:51] [Server thread/ERROR]: [InteractiveBooks] [ACF]      at net.minecraft.commands.execution.ExecutionContext.runCommandQueue(ExecutionContext.java:103)
[20:16:51] [Server thread/ERROR]: [InteractiveBooks] [ACF]      at net.minecraft.commands.Commands.executeCommandInContext(Commands.java:448)
[20:16:51] [Server thread/ERROR]: [InteractiveBooks] [ACF]      at net.minecraft.commands.Commands.performCommand(Commands.java:355)
[20:16:51] [Server thread/ERROR]: [InteractiveBooks] [ACF]      at net.minecraft.commands.Commands.performCommand(Commands.java:342)
[20:16:51] [Server thread/ERROR]: [InteractiveBooks] [ACF]      at net.minecraft.commands.Commands.performCommand(Commands.java:337)
[20:16:51] [Server thread/ERROR]: [InteractiveBooks] [ACF]      at net.minecraft.server.network.ServerGamePacketListenerImpl.performUnsignedChatCommand(ServerGamePacketListenerImpl.java:2301)
[20:16:51] [Server thread/ERROR]: [InteractiveBooks] [ACF]      at net.minecraft.server.network.ServerGamePacketListenerImpl.lambda$handleChatCommand$11(ServerGamePacketListenerImpl.java:2275)
[20:16:51] [Server thread/ERROR]: [InteractiveBooks] [ACF]      at net.minecraft.server.TickTask.run(TickTask.java:18)
[20:16:51] [Server thread/ERROR]: [InteractiveBooks] [ACF]      at net.minecraft.util.thread.BlockableEventLoop.doRunTask(BlockableEventLoop.java:154)
[20:16:51] [Server thread/ERROR]: [InteractiveBooks] [ACF]      at net.minecraft.util.thread.ReentrantBlockableEventLoop.doRunTask(ReentrantBlockableEventLoop.java:24)
[20:16:51] [Server thread/ERROR]: [InteractiveBooks] [ACF]      at net.minecraft.server.MinecraftServer.doRunTask(MinecraftServer.java:1579)
[20:16:51] [Server thread/ERROR]: [InteractiveBooks] [ACF]      at net.minecraft.server.MinecraftServer.doRunTask(MinecraftServer.java:207)
[20:16:51] [Server thread/ERROR]: [InteractiveBooks] [ACF]      at net.minecraft.util.thread.BlockableEventLoop.pollTask(BlockableEventLoop.java:128)
[20:16:51] [Server thread/ERROR]: [InteractiveBooks] [ACF]      at net.minecraft.server.MinecraftServer.pollTaskInternal(MinecraftServer.java:1556)
[20:16:51] [Server thread/ERROR]: [InteractiveBooks] [ACF]      at net.minecraft.server.MinecraftServer.pollTask(MinecraftServer.java:1549)
[20:16:51] [Server thread/ERROR]: [InteractiveBooks] [ACF]      at net.minecraft.util.thread.BlockableEventLoop.managedBlock(BlockableEventLoop.java:138)
[20:16:51] [Server thread/ERROR]: [InteractiveBooks] [ACF]      at net.minecraft.server.MinecraftServer.managedBlock(MinecraftServer.java:1500)
[20:16:51] [Server thread/ERROR]: [InteractiveBooks] [ACF]      at net.minecraft.server.MinecraftServer.waitUntilNextTick(MinecraftServer.java:1510)
[20:16:51] [Server thread/ERROR]: [InteractiveBooks] [ACF]      at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1346)
[20:16:51] [Server thread/ERROR]: [InteractiveBooks] [ACF]      at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:341)
[20:16:51] [Server thread/ERROR]: [InteractiveBooks] [ACF]      at java.base/java.lang.Thread.run(Unknown Source)
[20:16:51] [Server thread/ERROR]: [InteractiveBooks] [ACF] Caused by: java.lang.NullPointerException: Cannot invoke "Object.hashCode()" because "<parameter1>" is null
[20:16:51] [Server thread/ERROR]: [InteractiveBooks] [ACF]      at java.base/java.util.ImmutableCollections$MapN.probe(Unknown Source)
[20:16:51] [Server thread/ERROR]: [InteractiveBooks] [ACF]      at java.base/java.util.ImmutableCollections$MapN.get(Unknown Source)
[20:16:51] [Server thread/ERROR]: [InteractiveBooks] [ACF]      at java.base/java.util.ImmutableCollections$AbstractImmutableMap.getOrDefault(Unknown Source)
[20:16:51] [Server thread/ERROR]: [InteractiveBooks] [ACF]      at io.papermc.paper.pluginremap.reflect.PaperReflection.mapDeclaredFieldName(PaperReflection.java:79)
[20:16:51] [Server thread/ERROR]: [InteractiveBooks] [ACF]      at io.papermc.reflectionrewriter.runtime.AbstractDefaultRulesReflectionProxy.getDeclaredField(AbstractDefaultRulesReflectionProxy.java:90)
[20:16:51] [Server thread/ERROR]: [InteractiveBooks] [ACF]      at io.papermc.paper.pluginremap.reflect.PaperReflectionHolder.getDeclaredField(Unknown Source)
[20:16:51] [Server thread/ERROR]: [InteractiveBooks] [ACF]      at InteractiveBooks.jar//net.leonardo_dgs.interactivebooks.lib.nbtapi.NBTReflectionUtil.<clinit>(NBTReflectionUtil.java:59)
[20:16:51] [Server thread/ERROR]: [InteractiveBooks] [ACF]      ... 40 more

I suppose it needs to be updated :)

9b408962de888696cc41acba2ea718e5c4fe5e44

Thanks a whole lot!! :)


manifest missing

The `manifest.json´ is missing, as a result the plugin cannot be installed or updated.

@joethei So sorry about it! Have rectified the issue. Thank you!


nmea_gps_plugin: 0.0.2-2 in 'kinetic/distribution.yaml' [bloom]

Increasing version of package(s) in repository nmea_gps_plugin to 0.0.2-2:

upstream repository: https://github.com/OUXT-Polaris/nmea_gps_plugin.git
release repository: https://github.com/OUXT-Polaris/nmea_gps_plugin-release.git
distro file: kinetic/distribution.yaml
bloom version: 0.8.0
previous version for package: 0.0.2-1

nmea_gps_plugin
* Merge pull request #2 <https://github.com/OUXT-Polaris/nmea_gps_plugin/issues/2> from OUXT-Polaris/develop
  Develop
* Merge pull request #1 <https://github.com/OUXT-Polaris/nmea_gps_plugin/issues/1> from OUXT-Polaris/feature/improve_lat_lon_accuracy
  fix     std::string NmeaGpsPlugin::convertToDmm(double value) function
* fix     std::string NmeaGpsPlugin::convertToDmm(double value) function
* Update README.md
* Contributors: Masaya Kataoka
* Merge pull request #2 <https://github.com/OUXT-Polaris/nmea_gps_plugin/issues/2> from OUXT-Polaris/develop
  Develop
* Merge pull request #1 <https://github.com/OUXT-Polaris/nmea_gps_plugin/issues/1> from OUXT-Polaris/feature/improve_lat_lon_accuracy
  fix     std::string NmeaGpsPlugin::convertToDmm(double value) function
* fix     std::string NmeaGpsPlugin::convertToDmm(double value) function
* Update README.md
* Contributors: Masaya Kataoka
* Merge pull request #2 <https://github.com/OUXT-Polaris/nmea_gps_plugin/issues/2> from OUXT-Polaris/develop
  Develop
* Merge pull request #1 <https://github.com/OUXT-Polaris/nmea_gps_plugin/issues/1> from OUXT-Polaris/feature/improve_lat_lon_accuracy
  fix     std::string NmeaGpsPlugin::convertToDmm(double value) function
* fix     std::string NmeaGpsPlugin::convertToDmm(double value) function
* Update README.md
* Contributors: Masaya Kataoka

Did you mean to do an upstream source release here?  It's a little odd to have source changes and only a debinc bump.

@hakuturu583 Did you see the question from @clalancette above?

There's been no response for over a month, so I'll close this out.  Feel free to reopen or open a new pull request once we get the debinc/source version problem sorted out.


[WIP] Protocol v1.0

Pre-RFC: https://github.com/edgedb/edgedb/discussions/3772

Now, I think your approach also works so let's go with it.

Thanks for the quick response! That's exactly what I wanted to know.
However with my current approach, there're some complication of like switching the protocol object attached in the transport, and some in-and-out in the server. I'll try the inheritance approach very quickly and go on from there.


Add popup on registration page to explain user types

Parents keep registering themselves or their kids as champions.
Put an info icon to the right of the "user type" dropdown explaining how to pick which profile you want.
@rosalanghammer to provide text.

Champion - A CoderDojo Champion is an individual who spearheads setting up and maintaining a Dojo. Champions do not necessarily have to have the ability to code but possess the skills required to bring together technical mentors and supporters to run a Dojo frequently!

Mentor/Volunteer - these volunteers power their local Dojos with their technical and organisational skills and inspire the next generation of coders, entrepreneurs and innovators!

Ninja Over 13 - A Ninja is a young person who attends their local Dojo! Only Ninjas over 13 can have their own account, Ninjas under 13 must register under their Parent/Guardians account.

Parent/Guardian - Parents/kids are super important in CoderDojo as they encourage and inspire CoderDojo Ninjas on a daily basis! Parents can sign up on the platform to register their kids (both aged under 13 and over 13) for their Local Dojos events and so their kids can earn badges for their profile!


Decrease or remove at all load time buffer

Need to find there is initial buffering of mist player and remove it or shorter, now it takes 4+ sec to load.
I found that I get last 45 sec of stream ('maxkeepaway') and it can cause long time stream loading.
Can anyone know how I can decrease the 'maxkeepaway' time and minimize it? Or maybe I can fix it with another approach?

Your latency is ~497ms, as jitter is the start point where your playback starts as seen from the live point.
The maxkeepaway is the maximum jitter that will ever be used. This is something you can set when editing the stream. The field Maximum live keep-away distance: is this and defaults to 45 seconds. It is almost never used at this high.
Since your jitter value is far below 45000 the actual jitter value of 497 will be used.
The real reason your playback takes 4+ seconds to start is most likely because the player tries WebRTC and takes about 4 seconds to notice it failed and then goes to a fallback protocol.
To see this more clearly, you'll want to extend the Data field a bit to the right, the relevant information is cut off right now.
Most likely you want to just completely remove the WebRTC protocol from your protocols tab, as I assume it's not working in the current state.
If you want to verify it not working you can use the .html output and force it to only attempt WebRTC.
You force playback to WebRTC by going to the http://mistserveraddress:port/streamname.html?dev=1&forcetype=webrtc link. Fill in the mistserveraddress port and streamname to fit your setup.


[eigen3] use vcpkg_from_bitbucket to enable install from --head

@traversaro I wasn't aware of the existence of vcpkg_from_bitbucket. Just updated as you requested!

Thanks for the PR!


Old wallet file not working

Last time i logged into my wallet was august 2017. I have a file for my neo wallet with the master key and encrypted key inside. I used to just login with this file.
Does someone know how I can get into my wallet with this?

If you have any compatibility problem, you can use the client for this date, and extract the private key. you have all the releases in the release tab

Hi guys @shargon @MarianPole ,
Hope you are doing great !
May I ask you how did you solve the issue with the neo wallet, as I have the exact same issue at the moment. When you could help me with this would be awesome !!!!

@MaximePanta  use this release: https://github.com/neo-project/neo-gui/releases/download/v2.0.2/neo-gui-windows.zip
But careful: this is an old version. Try to retrieve your keys and use a more updated version to perform transfers.


Changes to handshake spec

@progrium and I propose changing the spec as documented here: https://github.com/ClusterHQ/docker-plugins/wiki/PluginProtocol
InterestedIn => Implements
Remove Org because it can be deduced from the container image name. etc

There is a deeper issue of metadata on plugins vs containers. In general, my thoughts:

We could rely on MAINTAINER from image history / Dockerfile for Author
We use the image name for Name
Website is less valuable without a specific constraint (must be docs, must be repo, etc)
Version is important, but we assume to use image tags for this

Really that makes handshake very simple.
type Handshake struct {
	Implements []string // extension types implemented
}

PR at https://github.com/ClusterHQ/docker-plugins/pull/14


Adding to the library with the selection of "Categories" and transferring names in the interface

Describe your suggested feature

I would like to see a choice when adding a novel to the library (as Tachiyomi does) as to which category (if there are several) to add it to. And of course “Local” will not be on the list for obvious reasons.
The names of the sections can be moved higher (shown in yellow on the screenshot. This is only in the “About the program” section. This way the view will be better and more compact.

Other details
No response
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a short but informative title.
[X] If this is an issue with a source, I should be opening an issue in the sources repository.
[X] I have updated the app to version 2.0.0.
[X] I will fill out all of the requested information in this form.

Long pressing the “Add to Library” button opens the set categories dialog, similar to the screenshot you shared.
Yes, it could be moved up for a more compact layout.


Added .gitignore

Added .gitignore to ignore some files from being tracked.

@nmearl , I cannot merge to your repo. Please merge ASAP at your convenience. It is quite annoying without this file when I am developing the code. Thanks!

I've added you as a collaborator; you should have push access now!

Thank you!


[BUG] Unable to run the Datadog agent with a non-root UID

Agent Environment

Output of agent version
Agent 7.43.1 - Commit: 9e9c790 - Serialization version: v5.0.67 - Go version: go1.19.6

Helm chart version: 3.30.10
Describe what happened:
I set runAsUser to 10000 to run the Datadog agent with a non-root user. After doing that, the agent pod went into a CrashLoopBackOff.
I checked the logs and these are the warnings/errors that I found
In the trace-agent container
2023-06-19 11:33:56 UTC | TRACE | CRITICAL | (run.go:279 in Criticalf) | Error creating UDS listener: listen unix /var/run/datadog/apm.socket: bind: permission denied

In the agent container
2023-06-19 10:53:11 UTC | CORE | WARN | (pkg/collector/python/datadog_agent.go:132 in LogMessage) | disk:67cc0574430a16ba | (disk.py:135) | Unable to get disk metrics for /host/var/run/docker/netns/9290478dbec1: [Errno 13] Permission denied: '/host/var/run/docker/netns/9290478dbec1'. You can exclude this mountpoint in the settings if it is invalid.
2023-06-19 10:53:11 UTC | CORE | WARN | (pkg/collector/python/datadog_agent.go:132 in LogMessage) | disk:67cc0574430a16ba | (disk.py:135) | Unable to get disk metrics for /host/var/run/docker/netns/a92387e29288: [Errno 13] Permission denied: '/host/var/run/docker/netns/a92387e29288'. You can exclude this mountpoint in the settings if it is invalid.
2023-06-19 10:53:11 UTC | CORE | WARN | (pkg/collector/python/datadog_agent.go:132 in LogMessage) | disk:67cc0574430a16ba | (disk.py:135) | Unable to get disk metrics for /host/var/run/docker/netns/ef61c97592dd: [Errno 13] Permission denied: '/host/var/run/docker/netns/ef61c97592dd'. You can exclude this mountpoint in the settings if it is invalid.
2023-06-19 10:53:11 UTC | CORE | WARN | (pkg/collector/python/datadog_agent.go:132 in LogMessage) | disk:67cc0574430a16ba | (disk.py:135) | Unable to get disk metrics for /host/var/run/docker/netns/c35f385d4904: [Errno 13] Permission denied: '/host/var/run/docker/netns/c35f385d4904'. You can exclude this mountpoint in the settings if it is invalid.
2023-06-19 10:53:11 UTC | CORE | WARN | (pkg/collector/python/datadog_agent.go:132 in LogMessage) | disk:67cc0574430a16ba | (disk.py:135) | Unable to get disk metrics for /host/var/run/docker/netns/4068fa1f9374: [Errno 13] Permission denied: '/host/var/run/docker/netns/4068fa1f9374'. You can exclude this mountpoint in the settings if it is invalid.
2023-06-19 10:53:11 UTC | CORE | WARN | (pkg/collector/python/datadog_agent.go:132 in LogMessage) | disk:67cc0574430a16ba | (disk.py:135) | Unable to get disk metrics for /host/var/run/docker/netns/e7a6eba58798: [Errno 13] Permission denied: '/host/var/run/docker/netns/e7a6eba58798'. You can exclude this mountpoint in the settings if it is invalid.
2023-06-19 10:53:11 UTC | CORE | WARN | (pkg/collector/python/datadog_agent.go:132 in LogMessage) | disk:67cc0574430a16ba | (disk.py:135) | Unable to get disk metrics for /host/var/run/docker/netns/81fe0a8f02c9: [Errno 13] Permission denied: '/host/var/run/docker/netns/81fe0a8f02c9'. You can exclude this mountpoint in the settings if it is invalid.
2023-06-19 10:53:11 UTC | CORE | WARN | (pkg/collector/python/datadog_agent.go:132 in LogMessage) | disk:67cc0574430a16ba | (disk.py:135) | Unable to get disk metrics for /host/var/run/docker/netns/b7cbd0b2cd40: [Errno 13] Permission denied: '/host/var/run/docker/netns/b7cbd0b2cd40'. You can exclude this mountpoint in the settings if it is invalid.
2023-06-19 10:53:11 UTC | CORE | WARN | (pkg/collector/python/datadog_agent.go:132 in LogMessage) | disk:67cc0574430a16ba | (disk.py:135) | Unable to get disk metrics for /host/var/run/docker/netns/3197b36462b9: [Errno 13] Permission denied: '/host/var/run/docker/netns/3197b36462b9'. You can exclude this mountpoint in the settings if it is invalid.
2023-06-19 10:53:11 UTC | CORE | WARN | (pkg/collector/python/datadog_agent.go:132 in LogMessage) | disk:67cc0574430a16ba | (disk.py:135) | Unable to get disk metrics for /host/var/run/docker/netns/ad9a970623de: [Errno 13] Permission denied: '/host/var/run/docker/netns/ad9a970623de'. You can exclude this mountpoint in the settings if it is invalid.
2023-06-19 10:53:11 UTC | CORE | WARN | (pkg/collector/python/datadog_agent.go:132 in LogMessage) | disk:67cc0574430a16ba | (disk.py:135) | Unable to get disk metrics for /host/var/run/docker/netns/8a9613a43cdf: [Errno 13] Permission denied: '/host/var/run/docker/netns/8a9613a43cdf'. You can exclude this mountpoint in the settings if it is invalid.
2023-06-19 10:53:11 UTC | CORE | WARN | (pkg/collector/python/datadog_agent.go:132 in LogMessage) | disk:67cc0574430a16ba | (disk.py:135) | Unable to get disk metrics for /host/var/run/docker/netns/92c5401bfe45: [Errno 13] Permission denied: '/host/var/run/docker/netns/92c5401bfe45'. You can exclude this mountpoint in the settings if it is invalid.
2023-06-19 10:53:11 UTC | CORE | WARN | (pkg/collector/python/datadog_agent.go:132 in LogMessage) | disk:67cc0574430a16ba | (disk.py:135) | Unable to get disk metrics for /host/var/run/docker/netns/915e0ff70776: [Errno 13] Permission denied: '/host/var/run/docker/netns/915e0ff70776'. You can exclude this mountpoint in the settings if it is invalid.
2023-06-19 10:53:11 UTC | CORE | WARN | (pkg/collector/python/datadog_agent.go:132 in LogMessage) | disk:67cc0574430a16ba | (disk.py:135) | Unable to get disk metrics for /host/var/run/docker/netns/9dc45a5ec6e5: [Errno 13] Permission denied: '/host/var/run/docker/netns/9dc45a5ec6e5'. You can exclude this mountpoint in the settings if it is invalid.
2023-06-19 10:53:11 UTC | CORE | WARN | (pkg/collector/python/datadog_agent.go:132 in LogMessage) | disk:67cc0574430a16ba | (disk.py:135) | Unable to get disk metrics for /host/var/run/docker/netns/aadf60f6b9f1: [Errno 13] Permission denied: '/host/var/run/docker/netns/aadf60f6b9f1'. You can exclude this mountpoint in the settings if it is invalid.
2023-06-19 10:53:11 UTC | CORE | WARN | (pkg/collector/python/datadog_agent.go:132 in LogMessage) | disk:67cc0574430a16ba | (disk.py:135) | Unable to get disk metrics for /host/var/run/docker/netns/ec2a28083661: [Errno 13] Permission denied: '/host/var/run/docker/netns/ec2a28083661'. You can exclude this mountpoint in the settings if it is invalid.
2023-06-19 10:53:11 UTC | CORE | WARN | (pkg/collector/python/datadog_agent.go:132 in LogMessage) | disk:67cc0574430a16ba | (disk.py:135) | Unable to get disk metrics for /host/var/run/docker/netns/9a2d8e7712b7: [Errno 13] Permission denied: '/host/var/run/docker/netns/9a2d8e7712b7'. You can exclude this mountpoint in the settings if it is invalid.
2023-06-19 10:53:11 UTC | CORE | WARN | (pkg/collector/python/datadog_agent.go:132 in LogMessage) | disk:67cc0574430a16ba | (disk.py:135) | Unable to get disk metrics for /host/var/run/docker/netns/4d1bfa654c5c: [Errno 13] Permission denied: '/host/var/run/docker/netns/4d1bfa654c5c'. You can exclude this mountpoint in the settings if it is invalid.
2023-06-19 10:53:11 UTC | CORE | WARN | (pkg/collector/python/datadog_agent.go:132 in LogMessage) | disk:67cc0574430a16ba | (disk.py:135) | Unable to get disk metrics for /host/var/run/docker/netns/dbf1894005f1: [Errno 13] Permission denied: '/host/var/run/docker/netns/dbf1894005f1'. You can exclude this mountpoint in the settings if it is invalid.
2023-06-19 10:53:11 UTC | CORE | WARN | (pkg/collector/python/datadog_agent.go:132 in LogMessage) | disk:67cc0574430a16ba | (disk.py:135) | Unable to get disk metrics for /host/var/run/docker/netns/a567dc46acf9: [Errno 13] Permission denied: '/host/var/run/docker/netns/a567dc46acf9'. You can exclude this mountpoint in the settings if it is invalid.
2023-06-19 10:53:11 UTC | CORE | WARN | (pkg/collector/python/datadog_agent.go:132 in LogMessage) | disk:67cc0574430a16ba | (disk.py:135) | Unable to get disk metrics for /host/var/run/docker/netns/eb2babef23da: [Errno 13] Permission denied: '/host/var/run/docker/netns/eb2babef23da'. You can exclude this mountpoint in the settings if it is invalid.
2023-06-19 10:53:11 UTC | CORE | WARN | (pkg/collector/python/datadog_agent.go:132 in LogMessage) | disk:67cc0574430a16ba | (disk.py:135) | Unable to get disk metrics for /host/var/run/docker/netns/21c2db728cbd: [Errno 13] Permission denied: '/host/var/run/docker/netns/21c2db728cbd'. You can exclude this mountpoint in the settings if it is invalid.
2023-06-19 10:53:11 UTC | CORE | WARN | (pkg/collector/python/datadog_agent.go:132 in LogMessage) | disk:67cc0574430a16ba | (disk.py:135) | Unable to get disk metrics for /host/var/run/docker/netns/423ac5a032bf: [Errno 13] Permission denied: '/host/var/run/docker/netns/423ac5a032bf'. You can exclude this mountpoint in the settings if it is invalid.

Describe what you expected:
I expected to run the agent with a non-root user. Is this something that is supported? (I assumed so due to the option in the Helm values file)
Steps to reproduce the issue:

Set the runAsUser value in the Datadog Helm values file to 10000 and run a helm upgrade command

Additional environment details (Operating System, Cloud provider, etc):

I am also experiencing the same issue.
I understand that setting the Datadog Agent to a non-root user may break log collection and some core host metrics. However, in our case, we are only using Datadog to run custom checks that are unrelated to the installed host.
It is an industry best practice to set non-root users to a user ID greater than 10000 to prevent host conflict and to check for privilege escalation. Our auditing system complains when I run the Datadog Agent as user 101, as seen here: https://docs.bridgecrew.io/docs/bc_k8s_37
I would appreciate it if you could let me know if there is any update to allow a higher user number for the Datadog Agent.

I am also experiencing the same issue.
I understand that setting the Datadog Agent to a non-root user may break log collection and some core host metrics. However, in our case, we are only using Datadog to run custom checks that are unrelated to the installed host.
It is an industry best practice to set non-root users to a user ID greater than 10000 to prevent host conflict and to check for privilege escalation. Our auditing system complains when I run the Datadog Agent as user 101, as seen here: https://docs.bridgecrew.io/docs/bc_k8s_37
I would appreciate it if you could let me know if there is any update to allow a higher user number for the Datadog Agent.

Also worth noting that the "Install the Datadog Agent on Kubernetes" documentation contains an unprivileged section, which based on this issue is highly misleading and likely to cause additional frustration (as it did for me)

However, in our case, we are only using Datadog to run custom checks that are unrelated to the installed host.

I was able to use UID=100 to run my datadog agent in K8s because it's the dd-agent user which has enough permissions for some directories and files. See: https://github.com/DataDog/datadog-agent/blob/aa88ee4324be06809b8ec7f033b91e6b433f7a99/Dockerfiles/agent/Dockerfile#L167-L178


Weights + input mask ?

Great work ! thank you so much for sharing.
I was wondering if you plan to make the weights of your model public so we can test the inference code ?
and also if you can share how to obtain the input mask (the tumor segmentation algorithm is no longer available) so we can also test on another dataset.

Dear AbdelIka,
Thank you for your interest in our work!
You can download the weights of the model here: https://zenodo.org/records/10614942
For input masks, a tissue-versus-background masks needs to be created. For new datasets you can use https://grand-challenge.org/algorithms/tissue-background-segmenation/. This should still be available, but please let me know if you have any problems with it and we can contact the creator.
Best wishes,
Mart

Thank you !
Yes i have requested access on  Tissue background segmentation  and awaiting on a response.
But to clarify both inputs should be pyramidal images ?

Yes you are correct both should be pyramidal.
Best wishes,
Mart


Banner Enhancements

Banner needs to have some additional states documented in the design doc:

Multiline text
Stacking multiple banners (might be the same type, might be different types....Warning, Info, Error, etc.)

What order do we keep them in? (time, severity, etc.?)

How many versions do we need? (Solid, outline, more?)

Navigate to: Notifications > Banners
Link to development spec:
https://nio365.sharepoint.com/sites/SystemLinkDesignSystem/Shared Documents/Forms/AllItems.aspx?csf=1&web=1&e=aYqhMD&CT=1656508192943&OR=Teams-HL&CID=268940c9-ea7e-64e6-9439-dd1d7f452179&RootFolder=%2Fsites%2FSystemLinkDesignSystem%2FShared Documents%2FGeneral&FolderCTID=0x012000E78ACBC3759B344A87E59DB2A1AD584A&clickparams=eyJBcHBOYW1lIjoiVGVhbXMtRGVza3RvcCIsIkFwcFZlcnNpb24iOiIyOC8yMjA2MTkwMDYwMCIsIkhhc0ZlZGVyYXRlZFVzZXIiOmZhbHNlfQ%3D%3D

Link to banner page in spec:
https://xd.adobe.com/view/33ffad4a-eb2c-4241-b8c5-ebfff1faf6f6-66ac/screen/29c405f7-08ea-48b6-973f-546970b9dbab/


Explicitly closing a connection

It seems that the only way to close a connection is to drop the the async handle. This will indeed close it but it may take time as that process happens on a different thread and we can never know when the file handle on the database is released. This is a problem on Windows.
call provides a &mut Connection so calling close on that doesn't work since Rusqlite's close must consume the connection.
It would be great if there was an explicit close method on the async handle that consumes the handle along with the connection and returns only when the closing process is over.

Hello @programatik29
I took a shot at solving this. Have a look at #12 and tell me what you think.


Fix Assembly.shutdown gathering booleans instead of shutdown async methods when any assembled servos are already shut down

Updates the Assembly.shutdown method to filter running Servos prior to mapping out their respective shutdown methods

Great catch.
I just merged an update to pytest-asyncio that smells like it may cover what you called out in the comments but we have bigger fish to fry so I'm just merging as is but FYI

Moved this into ready for review because it looked solid to me.


Create a simple stats query in CW

[x] total executed orders for the lifetime of chain (total number of orders executed)
[x] total pending orders
[x] total number of addresses in commitment
~total number of addresses in incentive~
~number of existing account/addresses in the chain~

To Query the number of Address
curl -X GET "http://localhost:1317/cosmos/auth/v1beta1/accounts?pagination.limit=1&pagination.count_total=true&pagination.reverse=true" -H  "accept: application/json"


Build mkcert release for Apple Silicon

I note that you already have mkcert in homebrew for Apple Silicon... Could we also have it built here in releases?

That would require building releases with Go 1.16, so I'll wait for the release candidate and switch.

That would require building releases with Go 1.16, so I'll wait for the release candidate and switch.

Thanks, that will be fine.  But release candidate will work out fine.

Thanks, that will be fine.  But release candidate will work out fine.


cargo fmt

Run cargo fmt to address nits. Should fix a falling ci check.

I can't remember what this was for.


AirMap Circle, set radius as screen width and not meters

All is said in the title. Is it possible to specify the radius as a screen width and not as a distance. So that it doesn't change the zooming / unzooming the map.

try marker with image

did you find a solution to this?

I found a solution to this by copying the code used to make the location marker. I initially tried creating marker images but that was limited and didn't look so good.
Use the normal Marker component and define an internal View component and style that as a circle using borderRadius.
https://github.com/airbnb/react-native-maps/blob/4e8326fd299500c0ba2dc2c794658bf5367663c4/example/examples/MyLocationMapMarker.js#L88
Mine looks roughly like this:
      <MapView.Marker
        anchor={ANCHOR}
        style={styles.mapMarker}
        coordinate={coordinate}
      >
        <View style={styles.container}>
          <View style={styles.marker}>
            <Text style={{ width: 0, height: 0 }}>
            </Text>
          </View>
        </View>
      </MapView.Marker>

What's the use case for that? I would set a map child element. Circle is an overlay, so it is bound to coordinates, not to viewport.
Anyway, wontfix for Circle :( If you really need that feature, let me know your use case and open a new issue please.


fix: Fixes clickoutside handler function for issue #1475

Closes #1475
📑 Description

Fixes the click outside dom check to find nodes within the datepicker container rather than looking at the input field
Status

[x] Not Completed
[ ] Completed

✅ Checks

[X] My pull request adheres to the code style of this project
[ ] My code requires changes to the documentation
[X] I have updated the documentation as required
[ ] I have checked the page with https://validator.unl.edu/
[ ] All the tests have passed
[X] My pull request is based on the latest commit (not the npm version).

ℹ Additional Information

https://github.com/user-attachments/assets/fb0cd79b-faf0-46c1-88e3-c463846ac115
There is still an issue with the example, the listener is binding to the top level document, and clicks within the iframe is not registered so the example looks broken even though it is functioning

I am unable to run tests:
><EMAIL_ADDRESS>test:integration
> playwright test

[WebServer]
[WebServer] <--- Last few GCs --->
[WebServer]
[WebServer] [60351:0x57dff10]    90911 ms: Mark-Compact 2029.3 (2088.5) -> 2021.8 (2089.0) MB, 345.08 / 0.00 ms  (average mu = 0.389, current mu = 0.223) allocation failure; scavenge might not succeed
[WebServer] [60351:0x57dff10]    91301 ms: Mark-Compact 2026.8 (2089.0) -> 2022.9 (2097.0) MB, 381.93 / 0.00 ms  (average mu = 0.232, current mu = 0.020) allocation failure; scavenge might not succeed
[WebServer]
[WebServer]
[WebServer] <--- JS stacktrace --->
[WebServer]
[WebServer] FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory
[WebServer] ----- Native stack trace -----
[WebServer]
[WebServer]  1: 0xb86ecf node::OOMErrorHandler(char const*, v8::OOMDetails const&) [node]
[WebServer]  2: 0xef74d0 v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, v8::OOMDetails const&) [node]
[WebServer]  3: 0xef77b7 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, v8::OOMDetails const&) [node]
[WebServer]  4: 0x1109355  [node]
[WebServer]  5: 0x11211d8 v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [node]
[WebServer]  6: 0x10f72f1 v8::internal::HeapAllocator::AllocateRawWithLightRetrySlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [node]
[WebServer]  7: 0x10f8485 v8::internal::HeapAllocator::AllocateRawWithRetryOrFailSlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [node]
[WebServer]  8: 0x10d5ad6 v8::internal::Factory::NewFillerObject(int, v8::internal::AllocationAlignment, v8::internal::AllocationType, v8::internal::AllocationOrigin) [node]
[WebServer]  9: 0x1531906 v8::internal::Runtime_AllocateInYoungGeneration(int, unsigned long*, v8::internal::Isolate*) [node]
[WebServer] 10: 0x7fa3d7ed9ef6
[WebServer] Aborted (core dumped)
Error: Process from config.webServer was not able to start. Exit code: 134

Chizaruu　Are you happy with this?

Chizaruu　Are you happy with this?

Looks good!


Ember-cli-rails compiles wrong asset files

I've spent hours figuring out why my "rake assets:precompile" suddenly started failing :)
/lib/ember-cli/app.rb:142 seems to be the root cause:
Rails.configuration.assets.precompile << /(?:\/|\A)#{name}\//

This adds all folders with the same name as the app to the precompile list. I happened to have a css folder with the same name as an ember-cli app. This caused a compilation error because the css files in that folder depend on sass variables defined elsewhere (which are normally imported upfront when compiling the usual application.css file).
Can we change the line in question so that it only adds the specific ember-cli asset folders?

I've alleviated my specific problem with this commit. It adds :appname/ to the precompile list, not */:appname/. With that commit users can create asset subfolders with the :appname, but not asset "root" folders with the :appname.
Can we explicitly add files to the precompile list instead of directories?  So far I've noticed that these files are precompiled:

:app/vendor.(js|css|map)
:app/:app.(js|css|map)
:app/failed.png
:app/passed.png
:app/test-loader.js
:app/test-support.(css|js|map)

Well, short answer is no. We can't make an explicit list of files to precompile, because EmberCLI plugins can actually implicitly add files to build output directory and we don't have a clear way to track that.
I don't really remember why I implemented it this particular way, but for now I don't see a problem with just changing precompile regex to /\A<your-app-name>\//.
Do you see any problems with that?
The assumption is that when you have an EmberCLI app called "frontend" for instance, everything in /assets/frontend is going to be compiled and you as a developer are going to try to avoid using this namespace for anything that's not related to this particular app.

I've created a pull request that changes the regex to /\A// at #53.
This does fix our case, where we use two rather generic ember app names (gate and venture) and we define the css for the individual items in assets/modules//.
Thanks!

Alright, seems like this one is solved. See #53.


terraform, azure and utoronto: fixes and aligning files with terraform state

This PR represents changes to terraform files that I found relevant to do in order to get utoronto's terraform state to be possible to apply with minimal changes.

terraform plan -var-file=projects/utoronto.tfvars
azurerm_resource_group.jupyterhub: Refreshing state... [id=/subscriptions/ead3521a-d994-4a44-a68d-b16e35642d5b/resourceGroups/2i2c-utoronto-cluster]
azurerm_virtual_network.jupyterhub: Refreshing state... [id=/subscriptions/ead3521a-d994-4a44-a68d-b16e35642d5b/resourceGroups/2i2c-utoronto-cluster/providers/Microsoft.Network/virtualNetworks/k8s-network]
azurerm_container_registry.container_registry: Refreshing state... [id=/subscriptions/ead3521a-d994-4a44-a68d-b16e35642d5b/resourceGroups/2i2c-utoronto-cluster/providers/Microsoft.ContainerRegistry/registries/2i2cutorontohubregistry]
azurerm_subnet.node_subnet: Refreshing state... [id=/subscriptions/ead3521a-d994-4a44-a68d-b16e35642d5b/resourceGroups/2i2c-utoronto-cluster/providers/Microsoft.Network/virtualNetworks/k8s-network/subnets/k8s-nodes-subnet]
azurerm_storage_account.homes: Refreshing state... [id=/subscriptions/ead3521a-d994-4a44-a68d-b16e35642d5b/resourceGroups/2i2c-utoronto-cluster/providers/Microsoft.Storage/storageAccounts/2i2cutorontohubstorage]
azurerm_kubernetes_cluster.jupyterhub: Refreshing state... [id=/subscriptions/ead3521a-d994-4a44-a68d-b16e35642d5b/resourceGroups/2i2c-utoronto-cluster/providers/Microsoft.ContainerService/managedClusters/hub-cluster]
azurerm_storage_share.homes: Refreshing state... [id=https://2i2cutorontohubstorage.file.core.windows.net/homes]
azurerm_kubernetes_cluster_node_pool.user_pool["default"]: Refreshing state... [id=/subscriptions/ead3521a-d994-4a44-a68d-b16e35642d5b/resourceGroups/2i2c-utoronto-cluster/providers/Microsoft.ContainerService/managedClusters/hub-cluster/agentPools/nbdefault]
kubernetes_namespace.homes: Refreshing state... [id=azure-file]
kubernetes_secret.homes: Refreshing state... [id=azure-file/access-credentials]

Note: Objects have changed outside of Terraform

Terraform detected the following changes made outside of Terraform since the last "terraform apply" which may have affected this plan:

  # azurerm_kubernetes_cluster.jupyterhub has changed
  ~ resource "azurerm_kubernetes_cluster" "jupyterhub" {
        id                                  = "/subscriptions/ead3521a-d994-4a44-a68d-b16e35642d5b/resourceGroups/2i2c-utoronto-cluster/providers/Microsoft.ContainerService/managedClusters/hub-cluster"
      ~ kube_config_raw                     = (sensitive value)
        name                                = "hub-cluster"
        tags                                = {}
        # (21 unchanged attributes hidden)

        # (8 unchanged blocks hidden)
    }

Unless you have made equivalent changes to your configuration, or ignored the relevant attributes using ignore_changes, the following plan may include actions to undo or respond to these changes.

───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────

Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols:
  - destroy

Terraform will perform the following actions:

  # kubernetes_namespace.homes will be destroyed
  # (because kubernetes_namespace.homes is not in configuration)
  - resource "kubernetes_namespace" "homes" {
      - id = "azure-file" -> null

      - metadata {
          - annotations      = {} -> null
          - generation       = 0 -> null
          - labels           = {} -> null
          - name             = "azure-file" -> null
          - resource_version = "1418" -> null
          - uid              = "09a992bc-9f2b-4bc8-a616-5e56a4ef4128" -> null
        }
    }

  # kubernetes_secret.homes will be destroyed
  # (because kubernetes_secret.homes is not in configuration)
  - resource "kubernetes_secret" "homes" {
      - data      = (sensitive value) -> null
      - id        = "azure-file/access-credentials" -> null
      - immutable = false -> null
      - type      = "Opaque" -> null

      - metadata {
          - annotations      = {} -> null
          - generation       = 0 -> null
          - labels           = {} -> null
          - name             = "access-credentials" -> null
          - namespace        = "azure-file" -> null
          - resource_version = "2276640" -> null
          - uid              = "ffecfd59-beb3-4527-8528-1709b80da7b9" -> null
        }
    }

Plan: 0 to add, 0 to change, 2 to destroy.

Changes to Outputs:
  ~ kubeconfig               = (sensitive value)

───────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────

Note: You didn't use the -out option to save this plan, so Terraform can't guarantee to take exactly these actions if you run "terraform apply" now.

📚 Documentation preview 📚: https://2i2c-pilot-hubs--3578.org.readthedocs.build/en/3578/

Thank you for reviewing and answering questions about this @yuvipanda. This is now applied, and terraform plan now reports No changes. Your infrastructure matches the configuration. :)

Thanks for going through this in detail and getting all this set up before the upgrade, @consideRatio!


New package: CologneCodeCompany.XYplorer version 25.10.0100

[x] Have you signed the Contributor License Agreement?
[x] Have you checked that there aren't other open pull requests for the same manifest update/change?
[x] This PR only modifies one (1) manifest
[x] Have you validated your manifest locally with winget validate --manifest <path>?

[x] Does your manifest conform to the 1.5 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

Can someone help me out here...says installer validation failed but I can't figure out why it's failing.

Can someone help me out here...says installer validation failed but I can't figure out why it's failing.

The Internal-Error-Dynamic-Scan indicates an ephemeral pipeline error occurred. It cleared on the next run, sorry for any concern caused.
I'm not sure what caused the Policy 2.7 check, though it's possible a subset of the package name has another meaning of which I'm unaware.

@wingetbot waivers Add Policy-Test-2.7


Change /etc/resolv.conf ownership for Mac

As of now /etc/resolv.conf is non writeable by user and need sudo access after start which we want to avoid so as a result we are going to provide the ownership of that file to current user.

fixed by #254


Update configurations.md with new defaults

Defaults have changed to match the RFC style and the defaults in configurations should be updated to reflect it.

I can do this over the weekend if it's not done by then.

I can do this over the weekend if it's not done by then.

Thanks! Let me know if you have any questions.


Add version: NamecoinProject.Electrum-NMC version nc.4.0.6

Pull request has been created with komac v2.1.0 :rocket:
Microsoft Reviewers: Open in CodeFlow

Hi @OfficialEsco,

This PR's version number nc.4.0.6 has 4 parameters (sets of numbers between dots - major, minor, etc), which is greater than the current manifest's version nc3.3.10, which has 3 parameters.

Does this PR's version number exactly match the version reported in the Apps & features Settings page? (Feel free to attach a screenshot.)
(Automated response - build 870)

Hi @OfficialEsco,

This PR's version number nc.4.0.6 has 4 parameters (sets of numbers between dots - major, minor, etc), which is greater than the current manifest's version nc3.3.10, which has 3 parameters.

Does this PR's version number exactly match the version reported in the Apps & features Settings page? (Feel free to attach a screenshot.)
(Automated response - build 870)


save ParentDocumentRetriever in local path 🤖

          _🤖_

Hey @nithinreddyyyyyy, back for more adventures in code, I see! Always a pleasure to dive into these challenges with you. 🚀

Based on the information you provided and the similar issue I found in the LangChain repository, you can use FAISS for ParentDocumentRetriever in the LangChain framework as follows:
from langchain_community.vectorstores.faiss import FAISS
from langchain_community.embeddings.openai import OpenAIEmbeddings
from langchain_community.textsplitters import RecursiveCharacterTextSplitter
from langchain.retrievers import ParentDocumentRetriever

# Initialize the embeddings and FAISS vector store
embeddings = OpenAIEmbeddings()
faiss = FAISS.from_texts(texts, embeddings)

# Define the child and parent splitters
child_splitter = RecursiveCharacterTextSplitter(chunk_size=400, chunk_overlap=50)
parent_splitter = RecursiveCharacterTextSplitter(chunk_size=1200, chunk_overlap=300)

# Initialize the ParentDocumentRetriever with FAISS
parent_document_retriever = ParentDocumentRetriever(
  vectorstore=faiss,
  docstore=store,
  child_splitter=child_splitter,
  parent_splitter=parent_splitter
)

# Add documents to the retriever
parent_document_retriever.add_documents(document, ids=None)

This code snippet includes the use of child_splitter and parent_splitter with FAISS as requested by the user. You can find more details in the related issue.
For retrieving relevant documents with additional metadata and filtering capabilities, you can follow the pattern shown in the test cases for the FAISS class:
from langchain_community.vectorstores.faiss import FAISS
from langchain_core.documents import Document

# Assuming you have a list of texts and corresponding embeddings
texts = ["text1", "text2", "text3"]
metadatas = [{"page": i} for i in range(len(texts))]
embeddings = [embedding1, embedding2, embedding3]  # replace with actual embeddings

# Create a FAISS instance from the texts, embeddings, and metadatas
docsearch = FAISS.from_texts(texts, embeddings, metadatas=metadatas)

# Now you can use this FAISS instance to retrieve relevant documents with filtering
query = "some query"
filter_criteria = {"page": 1}  # or use a lambda function for more complex filtering
relevant_docs = docsearch.similarity_search(query, k=1, filter=filter_criteria)

In this example, relevant_docs will contain the most relevant document to the query that also matches the filter criteria. You can adjust the k parameter to retrieve more documents and the filter parameter to apply different filtering rules. For asynchronous use cases, you can use the await FAISS.afrom_texts and await docsearch.asimilarity_search methods with the same parameters. You can find more details in the test cases for the FAISS class.
The FAISS.from_texts method in the LangChain framework is a class method that constructs a FAISS (Facebook AI Similarity Search) wrapper from raw documents. This method is a user-friendly interface that embeds documents, creates an in-memory docstore, and initializes the FAISS database. It is intended to be a quick way to get started with the framework. You can find more details in the FAISS class source code.
I hope this helps! If you have any further questions, feel free to ask.
Sources

can i use FAISS isntead of Chroma for ParentDocumentRetriver?
libs/community/tests/unit_tests/vectorstores/test_faiss.py
libs/community/langchain_community/vectorstores/faiss.py

About Dosu

This response is meant to be useful and save you time. It is not meant to be a precise solution, but rather a starting point for your own research.
Help me be more useful! Please leave a 👍 if this is helpful and 👎 if it is irrelevant.
If you want to continue the conversation, start your reply with @dosu-bot.

Originally posted by @dosubot[bot] in https://github.com/langchain-ai/langchain/issues/17576#issuecomment-1946203996

I want to know if the ParentDocumentRetriever can be saved in the local path. And, if it can, how to load and save it?


chkpt test hangs for pami-linux-ppc64le-smp & pamilrts-linux-ppc64le-smp build

Original issue: https://charm.cs.illinois.edu/redmine/issues/1775

On Summitdev, chkpt test (tests/charm++/chkpt) with pami-linux-ppc64le-smp build hangs with the following output:

Running on 2 processors:  ./hello +restart log +ppn 2
jsrun -n2 ./hello +restart log +ppn 2
Choosing optimized barrier algorithm name I0:HybridBinomial:SHMEM:P2P
Converse/Charm++ Commit ID: v6.8.2-58-gc448343
Warning> Randomization of virtual memory (ASLR) is turned on in the kernel, thread migration may not work! Run 'echo 0 > /proc/sys/kernel/randomize_va_space' as root to disable it, or try running with '+isomalloc_sync'.
CharmLB> Load balancer assumes all CPUs are same.
Charm++> cpu affinity enabled.
Setting default affinity
Charm++> Running on 1 unique compute nodes (160-way SMP).
Charm++> cpu topology info is gathered in 0.002 seconds.
Received 1 arguments: { |./hello| }
Main's MigCtor. a=987(0x10003b9f5bc), b[0]=654(0x10003b9f5c0), b[1]=321, old PE number 4
Main's PUPer. a=123(0x10003b9f5bc), b[0]=456(0x10003b9f5c0), b[1]=789
[1] data on Group 1
[3] data on Group 3
[2] data on Group 2
CHello's PUPer. step=3.
[0] data on Group 0
[1] data on NOdeGroup 1
[0] data on NOdeGroup 0
[0]CkRestartMain done. sending out callback.

To replicate, run with make test TESTOPTS="++ppn 2"

Original date: 2018-01-12 19:59:54

Similar hang is seen for pamilrts-linux-ppc64le-smp build as well. (~~https://charm.cs.illinois.edu/gerrit/#/c/3141/~~ https://github.com/UIUC-PPL/charm/commit/333d3699234fd0c24ff93eb4e892e98411a0ae15)


Expose more details of rust errors in .NET

This pull request introduces several changes to the Nerdbank.Zcash project, most notably in the handling of exceptions and error codes, and the addition of a new tool in the .config/dotnet-tools.json file. It also includes changes to the Rust bindings generation script and the ffi.udl file.
Here are the most important changes:
Changes to exception handling and error codes:

src/Nerdbank.Zcash/LightWalletException.cs: The LightWalletException constructor now uses a new string Strings.ErrorFromNativeSide instead of ex.Message. An additional error code Sqlite has been added to the ErrorCode enum to handle SqliteClientException errors from the uniffi.LightWallet.LightWalletException switch statement. [1] [2]
src/Nerdbank.Zcash/PublicAPI.Unshipped.txt: The ErrorCode.Sqlite has been added to the Nerdbank.Zcash.LightWalletException.ErrorCode enum.
src/Nerdbank.Zcash/Strings.resx: A new string ErrorFromNativeSide has been added, which describes an unmapped error occurring across the interop layer.

Changes to Rust bindings and ffi.udl file:

src/nerdbank-zcash-rust/generate_cs_bindings.ps1: The script now defines an $outDir variable for the output directory and includes a dotnet csharpier command to format the generated code.
src/nerdbank-zcash-rust/src/ffi.udl: The LightWalletError enum has been changed to an interface with methods for each error type.

Addition of new tool:

.config/dotnet-tools.json: The tool csharpier has been added with version 0.27.2 and command dotnet-csharpier.

/azp run


Add Cronos zkEVM to upcoming projects

Hi,
Please make sure that CI checks are passing. Focus on test, format and lint. Try to run yarn lint:fix and yarn format:fix to automatically fix both of those problems.


⚠ Spryr has degraded performance

In cac5601, Spryr (https://spryr.com) experienced degraded performance:

HTTP code: 200
Response time: 24113 ms

Resolved: Spryr performance has improved in 5e2eaae after 20 minutes.


chore: Update deps

TODO

[x] Validate build output is unchanged
[x] Update actions

Information
Unfortunately Turbo caching stopped working due to https://github.com/vercel/turbo/issues/6765

Closed in favor of https://github.com/amannn/next-intl/pull/1118


Greeting from United Global Inc

Hi @UnitedGlobalInc
The info screen is meant for internal advertisement only when it is advertisement, but thank you for the interest!


Support for reading pdf

The app currently reads only the first page of any pdf the ability to read any page or multiple pages will be useful.

I'm currently working on batch processing to fix that


Fixes the markup for tabs examples

This addresses issue #1664 by fixing the example markup for tabs.
https://github.com/twitter/bootstrap/issues/1664

Resolved in 2.0.1-wip manually with the mustache file.


Updating vulnerable dependencies according to assessment report : 6668476dbc10d64a960fb705

Summary Report

Scenario
Upgrades
Critical
High
Medium
Low

Full Upgrade
5
0
3
2
0

Full Upgrade
5
0
3
2
0

Full Upgrade
5
0
3
2
0

Full Upgrade
5
0
3
2
0

Full Upgrade
5
0
3
2
0

Full Upgrade
8
0
6
2
0


Major version bump (release 3.0.0)

Is it possible to consider https://github.com/Arkq/bluez-alsa/issues/376#issuecomment-691958895 before merging this?


Fix pytest warning on test case dataclass

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 78.90%. Comparing base (d6f28c5) to head (5301d96).
Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #198   +/-   ##
=======================================
  Coverage   78.90%   78.90%
=======================================
  Files         142      142
  Lines       10173    10173
=======================================
  Hits         8027     8027
  Misses       2146     2146

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


UPDATE: TextLink color in Alert

This Pull Request meets the following criteria:

[ ] Tests have been added/adjusted for my new feature
[ ] New Components are registered in index.js of my project
LiveURL: https://orbit-components-update-textlink-alert.surge.sh

Should be merged after tokens ?

My mistake, bad token name 🙂


doc: add README to embassy-macro

Documents the main and task macros.

Thanks for the reviews!
bors r+

bors r+


I am making my own package—

Hello,
I am making my own foreign greetings package which will include more than just 'thanks' and will have various other greetings too.
Is it alright if I include thanks in that package?
I can give you write permissions to the repository once it is done as well.
Thanks!

Hi @Dhruvsr, thanks for asking. Just, please, include reference to this project somewhere in your README. Thanks.

Sure, I will do that.


fix(syntax): support minor version with 2 digits

Previously the version string was stripped till 3 chars only
now we pick the major[dot]minor version explicitly.
fixes: Support for 3 digit python version #3

@diodonfrost please review :)

@diodonfrost gentle reminder.
This has been running fine in my local setup for 2 months now.

Still can't merge, need write access to this repository in order to do so.
Guess we need @diodonfrost for this PR.


Fix swift 2.0 and include YTPlayer.html

Updated readme
Swift 2.0 fixes and YTPlayer.html includes are from
LaserPatrick/Swift-YouTube-Player but he had not made a PR yet.

This is for #34

Thanks! :)


Renamed Update_fcs_file ,Updated the Docstrings,Created a comment

Welcome @MdSufiyan005 and thank you for your first contribution!
Unfortunately, your PR fails our automated checks related to code formatting as well as our unit tests. Please have a look and follow the instructions in our Contributing Guidelines for information around how to set up your own Poetry environment, and run the tests and checks on your local machine. The changes required for them to pass look fairly straightforward, so please feel free to make those changes and re-submit.
I also have a couple of minor suggested changes that I will comment on the PR with.

Hey, can you tell me what should I do?
It is showing " cannot import name 'update_model_files' from 'ResSimpy.Nexus.DataModels.FcsFile "

 Hey, can you Please tell me what should I do? It is showing " cannot import name 'update_model_files' from 'ResSimpy.Nexus.DataModels.FcsFile "

Hi there, I'm afraid I'm not sure what is going wrong here as it looks like your Poetry environment has been set up OK, but you seem to get an error when running the tests that I personally do not get when attempting the same steps. Can you please try and pull the latest master and try again? Please also check firewalls etc. If that still fails perhaps we should arrange a call to try and debug this?

Sure i will try it then

hey @cflynn3 I did what you wanted me to do, While doing a test run I got 5 errors I solved 3 of them, but I am not able to solve the last 2 errors.

hey @cflynn3 I did what you wanted me to do, But While doing a test run I got 5 errors I solved 3 of them, but I am not able to solve the last 2 errors. Can you please guide me.

Hi @MdSufiyan005 these failures will be related to your recent changes where you renamed that method. You should update all references to the previous method (which was update_fcs_file) in the project to your new name update_model_files

Thanks

I am really confused as to how to solve this issue (The last two errors).

I am really confused as to how to solve this issue (The last two errors).

I am really confused as to how to solve this issue (The last two errors).

OK, which part do you need more explanation of? The errors occur because you have changed the name of the method, but those two parts of the code are still trying to call that code using the old name. You need to search for instances of the old name in the code, and update them to the new name, and those errors will go away :-).

Ok thanks i will try again.


WIP: DbDesign replacement

What
Replace DbDesign with new DesignDocumentManager class that contains methods to get, put, and remove design documents.
Create design document from javascript design file:
DesignDocument designDoc = DesignDocumentManager.fromFile(".../views101.js");

Create design documents from directory of javascript files:
List<DesignDocument> designDocs = DesignDocumentManager.fromDirectory(".../design-files/");

Get design document from database:
DesignDocument designDocDb = db.getDesignDocumentManager().get("_design/views101");

How

Remove getFromDesk implementation in DbDesign and CouchDbDesign
Rename DbDesign to DesignDocumentManager
Add get and put methods for design documents
Replace db.sync call in test classes with Utils's helper method putDesignDocs
Update javadoc with new class name and method calls

Testing
Update existing test cases with new DesignDocumentManager.

I guess with the design document stuff consolidated into single .js files they old directories can probably be cleaned up too.

Also will need a CHANGES.md entry.

Old directories removed and CHANGES.md updated in be4510a.

I'm at a +1 after Rich's comments are addressed.

+1


Revert "E2E: Namespace soak test, confirms deletion of 100 NS happens…

Reverts GoogleCloudPlatform/kubernetes#8325

gotcha i will look into why it failed.  very odd that it is stuck at 4 namespaces...


How to get...

How to generate a list of socks proxies then replace it with
String proxy_ip = "ip_proxy"
int proxy_port = "port_proxy"

Issues area is for reporting bugs, etc. with protocol code.
Here you have an example: https://hastebin.com/uforimayeq.java

Everything is ok, but it's about me replace proxy_ip:proxy_port to proxy_ip to String and proxy_port to integer.

oh check this: https://hastebin.com/yifedemefu.java

error at line 18: Type mismatch: cannot convert from InetSocketAddress to String