[ENH] Add support for the BIDS template coordinate frames

Related to https://github.com/mne-tools/mne-bids/issues/961 and https://github.com/mne-tools/mne-bids/pull/962.
Both EEG and iEEG data can be stored in any of the template coordinate frames in BIDS https://bids-specification.readthedocs.io/en/stable/99-appendices/08-coordinate-systems.html#eeg-specific-coordinate-systems. If one of these coordinate frames is used, MNE-Python could have an internal representation for it in transforms.py. The question is what would we need? What comes to mind are 1) a mapping in FIF for roundtrip save/load, 2) the fiducials in this coordinate frame to transform it to other coordinate frames and 3) optionally, the template MR image itself for examples (and potentially also the freesurfer recon but that's going to be quite a bit of data).
Once this is done, a montage object could have apply_trans used and be in that coordinate frame to save to BIDS using mne_bids.write_raw_bids and then could also be read out using mne_bids.read_raw_bids and it would have an official named integer representation and work just like the other coordinate frames.
I think the hardest part would be figuring out the representation in the FIF standard. Do you know if this would be easy or very hard @larsoner or @agramfort?

Both EEG and iEEG data can be stored in any of the template coordinate frames in BIDS

At least for MEG data, our policy when reading CTF and BTi data -- which have their own coordinate frames -- is to convert these to Neuromag. Then we only need to worry about the HEAD coordinate frame in the end. (IIRC we actually do store some stuff about the original CTF coordinate frame, but I'm not sure we need to generalize that to other systems.) So my inclination would be not to support writing these to FIF, and instead always use our standard coordinate frames.
Then transforms.py can contain the knowledge/functions of how to go from MNE-Python's standard coordinate frames to any others of interest, without needing to support actually writing those to disk (the instances and FIF files on disk continue to use standard coordinate frames). It makes everything much easier at the coding end if we know things are always stored in head, device, or MRI (FreeSurfer surface RAS) space, regardless of where they started at the native acquisition (or BIDS) end.

Okay so then maybe all we need to do is go and collect the fiducials from all those templates so that they can be transformed to head. And then maybe the T1 or downsampled T1 for each could be added to some dataset so that we could add an example to check that coordinates from a BIDS dataset make sense in MNE. Maybe it's own MNE templates data repository? I'd have to look to see if there's already one location where all the templates are stored (and maybe open an issue on BIDS).
I think this would mostly be a PR to mne-bids but it would probably be nice to store the coordinate frames names and transforms to head in MNE-Python.

Okay so then maybe all we need to do is go and collect the fiducials from all those templates so that they can be transformed to head

The fiducials only allow you to determine a rigid transformation. It's likely that you'll probably want a full affine (at least scaling, maybe also shear) to get from one space to another, assuming you're talking about things like different MRI templates (MNI versus Talairach, etc.)

I thought you could get scaling (at least directionally uniform) with the fiducials.
Anyway, I'm not sure how to compute that, that's all done by Freesurfer from individual T1 to Talairach right?

I thought you could get scaling (at least directionally uniform) with the fiducials.

Only in two out of three directions (X and Y), which IMO is worse than giving you zero out of three via a rigid. The get_ras_neuromag_t only gives a rigid based on the mapping of three points to three other points, which I think is the right behavior. I don't think just fiducials is enough here unless you know you don't need any scale or shear...

We have symmetric diffeomorphic mapping but that would be a lot of data to store. I guess it could go in the template data repository...

I would check first if there is a standard way of transforming for the (MRI?) space of interest to standard MNI space. My guess is that people live / it's acceptable to use some simple affine transformation for this. And storing 4x4 matrices is trivial and much more permanent / translatable across other platforms / future proof compared to the SDR stuff. I'd really like to avoid having to use SDR if possible.

... to give a concrete example and sticking to MRI template spaces, I would expect that at least some of these:
https://bids-specification.readthedocs.io/en/stable/99-appendices/08-coordinate-systems.html#standard-template-identifiers
Have some standard affine 4x4 matrix you can use to get to MNI305 space either in the literature, or defined in the code of some software package somewhere. Or at least we can say, we only support the subset of them that do, and just hard-code those affines. If we really need the others, maybe we can use FLIRT or dipy or ANTSpy or whatever to compute the affine from that space to MNI305, whichever gives the best goodness of fit.

Thinking about it, they could just have the fiducials so that they can be transformed to "head" and then saved. Then you just have to worry about the head->template mri transform. Template to template transforms would be optional; I assume that's not really the goal anyway, you probably just want to work in the template you got the data in so that you don't run into transform of a transform problems.

Thinking about it, they could just have the fiducials so that they can be transformed to "head" and then saved

It sounds like this requires no changes at the MNE-Python end -- just require at the MNE-BIDS end that they have fiducials properly defined/marked in whatever space their electrodes live in.
For convenience, if you want, you could even automagically add them for different templates (like we already have for fsaverage in MNI305 space) at the MNE-BIDS end if they are missing so that people don't have to manually do this.

I think the original issue was that they wanted the montage coordinate frame to say it was in the template space so I think we'd just need named integers for the coordinate frame and then raise an error if you try and save the montage with that coordinate frame maybe? ... I agree the magic transforms would be nice but I think you want it to magically work when you save to disk and load but not to magically transform your montage into different coordinates when you think they're in a template mri space.

Are we talking about montage.save here? We can just leave that as UNKNOWN, and no transformations are performed. No need to enumerate every possibility.
Are we talking about raw.set_montage(...).save(...)? In MNE-Python when you do raw.set_montage, it will transform to head (or at least try to do so, and warn if it cannot IIRC). If you want to be able to get back to your original coordinate frame, you should use montage.get_native_head_t and keep track of it somewhere. This has been the more or less established way of doing things for a while.
For some datasets like fsaverage, we're "lucky" I suppose in that fsaverage is MNI, so you can just do trans='fsaverage', and this means you are in MNI space and MRI surface RAS for the fsaverage subject. In principle we could decide to have additional helper function get_mri_template_head_trans('MNI152NLin6Sym') that a) knows the fiducial locations for MNI152NLin6Sym, b) is used by MNE-BIDS to set the fiducial locations, and c) uses these to get you the same transformation that a MNI152NLin6Sym montage.get_native_head_t would get you. But I don't see where we end up needing new constants for that coordinate frame, since info will always be in Neuromag head coordinates.
Maybe I still don't quite follow... maybe discussing on Friday would be easier.

Happy to discuss Friday, that all sounds good and the montage.save part answered my question. I think the only thing is to check that if all of the dig points in a raw object have coordinate frame 'MNI152NLin6Sym', that doesn't mess anything up. I thought the coordinate frame had to be an integer but maybe not.

I think the only thing is to check that if all of the dig points in a raw object have coordinate frame 'MNI152NLin6Sym', that doesn't mess anything up. I thought the coordinate frame had to be an integer but maybe not.

I think you missed / I wasn't clear enough about this point above:

Are we talking about raw.set_montage(...).save(...)? In MNE-Python when you do raw.set_montage, it will transform to head (or at least try to do so, and warn if it cannot IIRC).

So I'm not sure what you mean by "raw object have the coordinate frame 'MNI152NLin6Sym'". When you do raw.set_montage(montage), the electrode locations in the raw object will and should be in head coordinates regardless of what coordinate frame they are in for the montage, at least according to our standard procedures. The fact that these positions in the head coordinate frame can be transformed to some other coordinate frame (like MNI152NLin6Sym) has been lost at that point.

The transform only happens if there are fiducials though and because we added apply_trans, the montage can be moved around to different coordinate frames. I was asking about what happens when the montage is transformed back from head to the template space to be used in things like label montage contacts etc. in the ieeg tutorial.

The transform only happens if there are fiducials though

... true, but they ideally should be present. If they aren't, I think we are right to warn, as many/most viz functions will do the wrong thing / misrepresent the data, and we are right to call them UNKNOWN because this is more or less an unsupported way of using MNE. (Calling them HEAD is misleading, though it might be what set_montage actually does when setting info['chs'][ii]['coord_frame'].) This is why we warn when using montages this way, and we shouldn't advertise this as a way to use MNE.

the montage can be moved around to different coordinate frames

Ahh so you're talking about transforming the montage, not raw...

I was asking about what happens when the montage is transformed back from head to the template space to be used in things like label montage contacts etc. in the ieeg tutorial.

...I think the best way to make this work is to ensure that you can properly get to and from the HEAD coordinate frame. In other words:

Make sure your montage has LPA/Nasion/RPA (maybe adding things to MNE or MNE-BIDS to make this easy for spaces other than mni_tal / MNI305 / fsaverage)
MNE transforms to head in raw.set_montage
You can always get the transform from head to your native space using montage.get_native_head_t

Ok, now I think we're on the same page. The only question to add to MNE is: can the montage coordinate frame just be a string or does it have to be a signed int supported by MNE?

It has to be int. Hence I would just leave it as UNKNOWN, but containing LPA/RPA/Nasion is enough to get to/from it and HEAD. The fact that it's 'MNI152NLin6Sym' or any other space can just be in the tutorial narrative.

Okay, good discussion, let's have it all be MNE-BIDS-level tutorial, I agree.

Hopefully you can convince others that this limited support for coordinate frames is ultimately a good thing and not laziness on our part :)


feat(ssi): add submit endpoints

Description
add endpoints to submit usecaseparticipation and ssi certificates
Why
To be able to submit use case participations a endpoint was needed, same for an ssi certificate
Issue
N/A - Jira Issue: CPLP-2854
Corresponding CD PR
#34
Checklist
Please delete options that are not relevant.

[x] I have followed the contributing guidelines
[x] I have performed a self-review of my own code
[x] I have successfully tested my changes locally
[x] I have added tests that prove my changes work
[x] I have checked that new and existing tests pass locally with my changes
[x] I have commented my code, particularly in hard-to-understand areas

waiting for #84 to be merged, since this PR builds upon the code

⚠ GitGuardian has uncovered 2 secrets following the scan of your pull request.
Please consider investigating the findings and remediating the incidents. Failure to do so may lead to compromising the associated services or software components.
🔎 Detected hardcoded secrets in your pull request
🛠 Guidelines to remediate hardcoded secrets
🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request.Our GitHub checks need improvements? Share your feedbacks!

The finding are only uuid's used for tests, don't know why gitGuardian is marking them as security issue (secret).
I've already shared my feedback

This PR now seems to be fine, but CD-PR eclipse-tractusx/portal-cd#34 is still draft?

Sorry i set i to active


Aerclouds produce shadows

In both the official versions of the Aether by Gilded Games, aerclouds are transparent blocks like glass and do not produce shadows. However in Aether Reborn they do produce block shadows causing lots of ugly dark spots in the Aether.
Resolving this might also cause a slight performance increase due to there not being as many shadows that need to be calculated on the lighting engine
The file BaseAercloudBlock.java also has a tag saying it should be non-opaque, however other references to aerclouds I could find don't, so I'm inclined to say this is a bug

Please attach a screenshot for a clear reference, as from my end this does not seem to be occuring.

For the most part, after extensive testing, I believe this is resolved within the 1.17 branches, so I'll mark this as resolved. I'll leave the issue open in case this gets backported (Or someone else wants to close this)


can't get capture data

yesterday and before it works fine on windows11，but today i can't get cature data，And I tested it on another Win7 device，it works，i didn't change any settings，I found some differences in usage compared to before，it seems it will call  System Capture twice，i don't why this is happening

I encountered the same problem

Hello, I've similar problem for Windows : it works on Win10 but does not work on Win11 :-/

It because of the snipping tool if we uninstall screenshot will work is there any solution


⚠ Bofrost.fr has degraded performance

In 86748f7, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 1705 ms

Resolved: Bofrost.fr performance has improved in c665d0a after .


Export from Zepp(Amazfit) to Garmin

It's possible?

Hi @lpawlak
By this app not. It's only converting current measure. But workarounds exists to export data from zepp to csv file. Then You can manually import the data or write small script and use console/api version of YAGCC

R U sure? I just did that. I have a xiaomi scale, but it's native app is called now zepp life.

In Mi fit was possible for sure, for Zepp life should be also. Otherwise you can try search ofr a function to export/download all your data from Xiaomi itself. https://www.mi.com/global/support/article/KA-11566/


✨ Add azure e2e test job

kind/feature
What this PR does / why we need it:
Implement e2e job for testing import functionality for Azure cluster

Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #118
Special notes for your reviewer:
Checklist:

[ ] squashed commits into logical changes
[ ] includes documentation
[ ] adds unit tests
[x] adds or updates e2e tests

LGTM peding rebase to fix conflicts.

Lets hold off merging this until the changes for the AWS test have merged as i think it will make it a bit easier.

Cluster was provisioned successfully and the rancher agent is deployed.


Inconsistent scroll (main editor/integrated terminal)

Issue Type: Bug
Apart from VSCode not complying with Windows WheelScroll setting (mine is 3, VSCode scrolls 4.1 on main editor) (there is another bug opened for both these bugs), there is a third bug related to Integrated Terminal:
This is my screen, without any scroll:

This is the same screen, with 1 click of the mouse wheel:

The main editor scrolled 4 lines (and a bit more) - ok, there are issues open for that.
The terminal has scrolled 1 entire screen!
This is where terminal should scroll (considering the two bugs above (not comply with Windows settings + top margin being cut)):

It seems VSCode is scrolling a fixed amount of lines, because with terminal window shorter, the first line after the scroll remains the same:
No scroll:

1 scroll using mouse wheel:

P.S.: My monitors are 4K (3840 x 2160 pixels) scalled to 200% (so they are 1920 x 1080 without DirectText/GDI/WPF horrible font rendering =P). Mentioning that because there is a LOT of softwares that don't work well in this configuration (not sure if is the issue here, since Electron is fine with that).


Update besapi.py to disable SSL warnings

This change has been integrated into: https://github.com/CLCMacTeam/besapi/pull/5


register_table: RESTException: Unable to process: Failed to get subscoped credentials

Is this a possible security vulnerability?

[X] This is NOT a possible security vulnerability

Describe the bug
Hi All
Able to create, and add data to the Polaris catalog/namespace table. Branching, FastFarward, and all maintenance procedures are working fine. In the Test Undo Drop Table use case, the below procedure failed.
spark.sql("""CALL polaris.system.register_table(table => 'polaris.market.ksn’,metadata_file => 's3://<>/market/ksn/metadata/00001-b5616bb5-d382-4cd7-8ce3-235cd702c0c0.metadata.json')""")
py4j.protocol.Py4JJavaError: An error occurred while calling o76.sql.
: org.apache.iceberg.exceptions.RESTException: Unable to process: Failed to get subscoped credentials: Unable to load credentials from any of the providers in the chain AwsCredentialsProviderChain(credentialsProviders=[SystemPropertyCredentialsProvider(), EnvironmentVariableCredentialsProvider(), WebIdentityTokenCredentialsProvider(), ProfileCredentialsProvider(profileName=default, profileFile=ProfileFile(sections=[])), ContainerCredentialsProvider(), InstanceProfileCredentialsProvider()]) : [SystemPropertyCredentialsProvider(): Unable to load credentials from system settings. Access key must be specified either via environment variable (AWS_ACCESS_KEY_ID) or system property (aws.accessKeyId)., EnvironmentVariableCredentialsProvider(): Unable to load credentials from system settings. Access key must be specified either via environment variable (AWS_ACCESS_KEY_ID) or system property (aws.accessKeyId)., WebIdentityTokenCredentialsProvider(): Either the environment variable AWS_WEB_IDENTITY_TOKEN_FILE or the javaproperty aws.webIdentityTokenFile must be set., ProfileCredentialsProvider(profileName=default, profileFile=ProfileFile(sections=[])): Profile file contained no credentials for profile 'default': ProfileFile(sections=[]), ContainerCredentialsProvider(): Cannot fetch credentials from container - neither AWS_CONTAINER_CREDENTIALS_FULL_URI or AWS_CONTAINER_CREDENTIALS_RELATIVE_URI environment variables are set., InstanceProfileCredentialsProvider(): Failed to load credentials from IMDS.].
To Reproduce
No response
Actual Behavior
No response
Expected Behavior
No response
Additional context
No response
System information
No response

Further stack trace.
Caused by: org.apache.iceberg.exceptions.ServiceFailureException: Server error: SdkClientException: Unable to load credentials from any of the providers in the chain AwsCredentialsProviderChain(credentialsProviders=[SystemPropertyCredentialsProvider(), EnvironmentVariableCredentialsProvider(), WebIdentityTokenCredentialsProvider(), ProfileCredentialsProvider(profileName=default, profileFile=ProfileFile(sections=[])), ContainerCredentialsProvider(), InstanceProfileCredentialsProvider()]) : [SystemPropertyCredentialsProvider(): Unable to load credentials from system settings. Access key must be specified either via environment variable (AWS_ACCESS_KEY_ID) or system property (aws.accessKeyId)., EnvironmentVariableCredentialsProvider(): Unable to load credentials from system settings. Access key must be specified either via environment variable (AWS_ACCESS_KEY_ID) or system property (aws.accessKeyId)., WebIdentityTokenCredentialsProvider(): Either the environment variable AWS_WEB_IDENTITY_TOKEN_FILE or the javaproperty aws.webIdentityTokenFile must be set., ProfileCredentialsProvider(profileName=default, profileFile=ProfileFile(sections=[])): Profile file contained no credentials for profile 'default': ProfileFile(sections=[]), ContainerCredentialsProvider(): Cannot fetch credentials from container - neither AWS_CONTAINER_CREDENTIALS_FULL_URI or AWS_CONTAINER_CREDENTIALS_RELATIVE_URI environment variables are set., InstanceProfileCredentialsProvider(): Failed to load credentials from IMDS.]
	at org.apache.iceberg.rest.ErrorHandlers$DefaultErrorHandler.accept(ErrorHandlers.java:217)
	at org.apache.iceberg.rest.ErrorHandlers$TableErrorHandler.accept(ErrorHandlers.java:118)
	at org.apache.iceberg.rest.ErrorHandlers$TableErrorHandler.accept(ErrorHandlers.java:102)
	at org.apache.iceberg.rest.HTTPClient.throwFailure(HTTPClient.java:211)
	at org.apache.iceberg.rest.HTTPClient.execute(HTTPClient.java:323)
	at org.apache.iceberg.rest.HTTPClient.execute(HTTPClient.java:262)
	at org.apache.iceberg.rest.HTTPClient.post(HTTPClient.java:368)
	at org.apache.iceberg.rest.RESTClient.post(RESTClient.java:112)
	at org.apache.iceberg.rest.RESTSessionCatalog.registerTable(RESTSessionCatalog.java:509)

Possibly BaseMetastoreCatalog#registerTable requires overridden in BasePolarisCatalog to have BasePolarisCatalog#refreshIOWithCredentials or refreshCredentials considered before making s3 call.

Thanks for the report! Indeed, it looks like the problem is that registerTable is the only thing in BaseMetastoreCatalog that tries to directly use the ops.io() immediately after building ops = newTableOps(identifier).
Whereas other flows either deal with an existing Table entity and by calling current() will trigger a doRefresh() which will properly initialize the FileIO with StorageConfiguration-based credentials, or else will go through a doCommit which also initializes the FileIO with the right credentials, this registerTable flow will revert to the catalog's "default" FileIO.
The catalog's "default" FileIO is in some ways vestigial to make it easy for "Local FileSystem" based Java tests to work without having to mock out a fake credential-vending flow. We might want to refactor BasePolarisCatalog a bit to fast-fail if BasePolarisTableOperations::io() is ever used without being initialized with a refreshIOWithCredentials one way or another.
This will also require some consideration for how the validateNoLocationOverlap enforcement works, and also validateLocationForTableLike so that it can't be abused to load metadata JSON files residing outside of the StorageConfiguration's ALLOWED_LOCATIONS.
I'll try to draft a fix for this tomorrow.

Got a bit delayed from working on this, but I think I've at least gotten to a clear picture of how we might want to segregate scenarios for how callers can interact with BasePolarisCatalog to obtain a FileIO instance.
Mostly just thinking out loud here for posterity - one problem is that since we wanted to leverage BaseMetastoreCatalog to avoid re-implementing all the TableOperations logic, there's potential for conflating things that are supposed to happen logically on the "client-side" vs on the "service-side".
Basically we run the base Iceberg CatalogTests and View equivalents in two modes:

PolarisRestCatalogIntegrationTest - end-to-end logic that plumbs CatalogTests through a RESTSessionCatalog so that BasePolarisCatalog is only ever used for "server-side" actions (e.g. only needs to interact with metadata JSON files)
BasePolarisCatalogTest - directly points CatalogTests at the BasePolarisCatalog as if it's a traditional client-side-defined Iceberg catalog where "local" Transaction objects are used and TableOperations::io() is used for the FileIOs that potentially interact with manifest files and manifest-list files

Roughly, there are three categories of tests to consider:

Tests that use the BasePolarisCatalog to obtain a "client-local" FileIO -- these should either manually create a FileIO for pre-creating data or can go through a config setting that forces BasePolarisCatalog to create a "defaultFileIO" using catalogProperties.
Tests which go through the full REST plumbing but need the "server-side" Catalog to still use special or mocked FileIO settings. For example, PolarisSparkIntegrationTest uses S3MockContainer and needs to be able to set s3.endpoint int he catalog config
Tests which go through the full REST plumbing and fully cooperate with "standard" credential-vending semantics and/or use only file:/// paths. These should work without needing to fall back to catalogProperties nor rely on defaultFileIO

Right now these rely on a lot of silent fallthrough behaviors, but we should make them more explicit. Supporting (2) more explicitly may also be the key to supporting https://github.com/apache/polaris/issues/69 in a cleaner way.

Can we test this in snowflake-managed Polaris account?


Webhook associated with the session

Is there a way to have dynamic webhook? For example i want one session to post events to one url, and other session to a completely different application.

Hi! There's no way of doing it yet, but we're working on that and hopefullly'll add it by the end of August
Here's more details about features that we're adding to webhooks - https://github.com/devlikeapro/whatsapp-http-api/issues/68
You can subscribe on Boosty (with the Free tier) to get updates and news about the project to see when it's ready!

We released that in new version!


Covid alert app raises alert on and off

Hi,
I installed the app on the first day when it became available.
Suddenly, app raised the alert saying that I have been exposed to covid positive person in the last 14 days. It did not give any indication as to when and where.
I think it is pretty useless if it could not tell at least the date when the alert came on.
One normal person asked, why id it waiting 15 minutes and then raised the alert instead of raising the alert (similar to emergency text that we get) as soon as it detects that say within a minute?  Pretty basic right ?
I got nervous and I am a heart patient. I told the employer and got home and then went to test. It was another hectic story. Anyway, test result came after  days, that was another nightmare. it was negative. There is no way to enter the key in the app.
App alert went off after few days, then after few days, the alert came back on. I have no idea what is going on. At this point, as you can imagine, I lost my confidence with it. It is pretty useless app.
Why don't you fix these issues and release new updates ? I have not seen any update for the app from the beginning.
How would one person who was positive and then later negative enter the key in his/her app so it does not tell other phones nearby false notifications ?
Why don't you do good test ?  If this app was pretty solid, it would have prevented the latest raise in infections.
Thanks,
Sri Bala

Hi Sri,
Thanks for the message. I forwarded it to my colleagues and they mentioned that they saw this message come in through a  security email and have responded to it there.
Sorry for the bad experience you have had, but we take all feedback seriously and it helps us improve the app for others. Thank you for reaching out!
Paul


jest.disableAutoMock() is silently ignored

I'm using jest-cli 12.0.2 and babel-jest 12.0.2.
In a test, I wrote jest.disableAutoMock() (i.e. uppercase M) when the actual API is jest.disableAutomock() (lowercase m). Surprisingly, I didn't get an error. Instead, it seems like test ran as if that line wasn't present.
Ideally, jest would throw an error if I try to call something incorrectly. I briefly tried jest.definitelyNotThere() and got an error. I haven't dug into why the version differing only by case is silently ignored.

hm... i just tested it and it threw an error
this is how i tried to replicate it
https://github.com/dmitriiabramov/jest/blob/errors_outside_tests/__integration_tests__/errors_outside_tests/__tests__/test.js
https://github.com/dmitriiabramov/jest/blob/errors_outside_tests/__integration_tests__/__tests__/errors_outside_tests-test.js

@dmitriiabramov try renaming _nonExistingFunction_ to disableAutoMock

Did your test actually pass or did it fail with a runtime error? I'd expect it to fail in some way while it imports some modules that cannot be auto-mocked. Because you have a typo in the function name, it wouldn't hoist the disableAutomock call and therefore happen after the imports, when another failure has already happened.

@cpojer ah, you're correct. Sorry about reporting it was "silently ignored". I guess I got confused by hoisting. But there is indeed a runtime error!
I suppose the options for this issue are either:

just close it, or
add a warning/error to the transform when jest functions have incorrect case

@dmnd I think we should error in the transform when incorrect casing is detected. Would you like to send a PR for this feature? The transform code is pretty simple and can be found here: https://github.com/facebook/jest/blob/master/packages/babel-plugin-jest-hoist/src/index.js – simply doing a case-insensitive check first and throwing if the case-sensitive check for the method names doesn't match should be good enough :)

Closing due to inactivity.


Beyond 2.0, Clickhouse-Data-Bridge

I've been using clickhouse-jdbc-bridge v1.0 for a long time. It helps me tremendously. A couple of days ago, I wanted to build a new Clickhouse cluster that uses the new version of the clickhouse-jdbc-bridge but the 2.0 looks like too much feature squeezed into one product that makes it hard to grasp, especially for newcomers. In terms of usage and features, it may seem pretty obvious for old users of the clickhouse-jdbc-bridge but believe me, it is more complicated than it sounds. Remember that clickhouse-jdbc-bridge started to act as a proxy between Clickhouse and other JDBC databases. But after 2.0 release, it is no more limited to JDBC. It evolved in a way that makes it a general-purpose data fetching solution for Clickhouse. Therefore this naming it as "jdbc-bridge" seems inaccurate and incomplete.
To make it more clear for users and also make it easily extendible, understandable, and usable, here I propose some major changes to this product.
I propose to release a new version (v3.0) with a new name and clear description like this:

The new version is ClickHouse Data Bridge and it is v3.0.
It contains a number of bridges that can be used to transfer data between Clickhouse and other products.
JDBC bridge is just one of them. It is used to transfer data between Clickhouse and other JDBC compliant databases. It is currently just a simplex data bridge, which means the data transfer is uni-directional. Therefore it can only transfer data from JDBC compliant databases to Clickhouse. But it has the potential to be a duplex bridge, which will allow users to also transfer data from Clickhouse to JDBC compliant databases. In fact, the JDBC bridge supports INSERT to write data TO JDBC databases but it is work-in-progress.
Another well-known bridge is the Native Bridge, which connects Clickhouse to another Clickhouse. Clickhouse-server has a built-in duplex Native bridge, which is implemented as a table function (remote and remoteSecure)
We also have JavaScript bridge, which can be used to run JS code and get the result.
URL bridge is used to transfer data between Clickhouse and an HTTP server (this is also implemented in Clickhouse-server code as URL table engine).
REST bridge is a specialized kinf of URL bridge, which follows common REST standards to transfer data between Clickhouse and REST services.
Plugin architecture helps user to write their own bridge with Java and make it a .jar file to plug into ClickHouse Data Bridge.

I believe naming is much more important than we think. Because naming things properly makes it easy to distinguish things and understand the difference. What do you think @alex-krash , @alexey-milovidov ?

Thanks for sharing your thoughts on this @ramazanpolat. I'll take the blame of making it too complex :p
A few comments:

clickhouse-jdbc-bridge 2.0 is bi-directional. I gave a few examples for mutation in README. However, it's inconvenient as you have to create a table using JDBC engine first. I added a SQL parser in clickhouse-jdbc, so that we can run queries like below:
-- #jdbc is a client-side macro, which is not available in public release yet
insert into #jdbc('db1', 'schema1', 'table1')
select * from jdbc('db1', 'select * from table1 where col1=1 limit 100')

-- above query will be translated into below:
drop table if exists jdbc_db1_schema1_table1;
create table jdbc_db1_schema1_table1(...) engine=JDBC('db1', 'schema1', 'table1');
insert into jdbc_db1_schema1_table1
select * from jdbc('db1', 'select * from table1 where col1=1 limit 100');
drop table if exists jdbc_db1_schema1_table1;

Scripting
2.0 is based on JSR-223, so Groovy and Jython etc. are supported as well.

Naming
In the beginning, I named 2.0 clickhouse-datasource-bridge but later I changed it back, because it's still using XDBC bridge protocol.

Issues
IMO, there 2 critical issues in ClickHouse need to be addressed: 1) stability; and 2) optimize the protocol to avoid unnecessary overhead.

Future
I think XDBC bridge can be renamed to ODBC bridge, and it's better to create a new and more generic table function and engine like Data Bridge/Connector, with more features like pushdown hints. clickhouse-jdbc-bridge can then be renamed accordingly.

@zhicwu I can't thank you enough for what you did here. I believe that you put more features and made it more flexible than ever. Kudos to you for all of your efforts.
I'm not fluent in 2.0 features. I just wanted to point out that it will become much more cluttered in time if we don't name the features properly. I'm not suggesting any feature or code upgrade here. My suggestions are just for naming things properly and making it more structural.
E.g: Now we have a plethora of options to fetch data from other data sources, it is much more flexible than ever, but this also makes it hard to grasp. So l would suggest that let's call each connection type a "bridge". This will make it easy for readers to distinguish. Just like in my first post, if we are using JDBC, then let's call it JDBC Bridge. This approach will draw a picture in our head that simplifies the structure and usage of this tool, like "Ok, this thing has a number of bridges, that connects to other datasources(and databases)". Since you said that JDBC bridge is bi-directional, let's stick to this naming. So we can have a documentation that says "bridges can be either uni-directional or bi-directional".
BTW, I would like to write a tutorial for this repo if you may. Just chasing the right time for it.

Thanks @ramazanpolat. I'm glad this can be of use. Kudos goes to ClickHouse team and @alex-krash who created JDBC bridge.
Looking forward to see your tutorial :) In the near future, I'll also spend some time to improve the poor documentation, once I'm done with JDBC driver refactoring.


fix test for test_get_hw_info

test_get_hw_info relies on overriding response.text using a method that we are phasing out. We will need to find a different way to override this using a FakeRequest

Testing #56 fixed this issue with the addition of the fake_request fixture and FakeResponse class.


Adds an option to suppress printing errors

Adds the printError property to MTMathUILabel, which, if false, suppresses the printing of errors generated while parsing LaTeX.

Some people might want the logging, right? Or was this intended to be a debugging that was left in?

Yeah it was just for debugging.

@kostub Here you go.

Oops, it looks like I had left the first commit intact in my squash. Fixed.


Make sure we do not register Resque as module when autoloading

Although we might not directly load the Resque::ThreadSafeRedis, having the folder lib/resque in the Zeitwerk loader, will reserve the Resque name as module ("/usr/local/bundle/gems/mission_control-jobs-0.2.0/lib/resque"=>[Object, :Resque])
This results in issues when other gems (like rails_sementic_logger) perform checks with defined?(Resque).
This PR excludes the lib/rescue from Zeitwerk and requires the file only when required.
fixes #95

Thanks @rosa for this quick review! 🙏


supabase db diff --use-migra generates same grants in all generations

Bug report

[x] I confirm this is a bug with Supabase, not with my own application.
[x] I confirm I have searched the Docs, GitHub Discussions, and Discord.

Describe the bug
supabase db diff --use-migra generates same grants in all generations
To Reproduce
Take migration files from attachments.
migrations.zip
The problem is already seen there – in last 3 migrations you see the same grants:
grant delete on table "public"."test" to "postgres";
grant insert on table "public"."test" to "postgres";
grant references on table "public"."test" to "postgres";
grant select on table "public"."test" to "postgres";
grant trigger on table "public"."test" to "postgres";
grant truncate on table "public"."test" to "postgres";
grant update on table "public"."test" to "postgres";
grant delete on table "public"."test2" to "postgres";
grant insert on table "public"."test2" to "postgres";
grant references on table "public"."test2" to "postgres";
grant select on table "public"."test2" to "postgres";
grant trigger on table "public"."test2" to "postgres";
grant truncate on table "public"."test2" to "postgres";
grant update on table "public"."test2" to "postgres";

Used script:
{
  "scripts": {
    "db:dump": "dotenv -- cross-var supabase db diff --use-migra -f initial_schema --db-url=%POSTGRES_URL%",
  },
  "devDependencies": {
    "cross-var": "^1.1.0",
    "dotenv-cli": "^7.4.2"
  }
}

Running db:dump multiple times creates new same files
Expected behavior
Grants migrations are not duplicated
System information

OS: macOS
Version of Node.js: 22.2, but I'm using bun

It seems that this bug has already been fixed in the latest version of the Supabase CLI.
I wanted to take a look at this, so I tried to reproduce the issue locally by following the steps outlined in the migrations attached to this issue. After running the following command:
npx supabase db diff --use-migra -f initial_schema

on Supabase CLI version 1.191.3, the result was as expected:
No schema changes found

Additionally, after adding an extra column to the "test" table and running the command again, the generated migration contained only the ALTER TABLE instruction, which is the expected behavior.
It appears this issue has been resolved in the newer versions. Could you please confirm if this is also solved on your end so we can close this issue?

The grant for specific columns seems to be broken.
For instance:
revoke update on table public."Address" from authenticated;
grant update (country_id, address_line_1, postal_code, city, region) on table public."Address" to authenticated;

generates:
grant update on table "public"."Notification" to "authenticated";


Action Sheet/Popover backdrop not removed on.closed

Describe the bug
Using the latest version of Framework7, when a new Action Sheet or Popover is opened, Framework7 adds backdrop by default:

 and

 respectively.
Once button from the menu is clicked and the Action Sheet / Popover is closed and destroyed, the backdrop elements remain in the DOM.
To Reproduce
Steps to reproduce the behavior:

Create and open either an Action Sheet or Popover
Click on any button to close the Action Sheet/Popover
Look at the DOM Elements and you will find the popover element created by Action Sheet/Popover still existing ($('.actions-backdrop, .popover-backdrop').length will be greater than 0)

Expected behavior
Just like the .actions-modal and .popover elements are removed once closed, the backdrop elements should be removed as well.
Actual Behavior
The backdrop elements for Actions Sheet and Popover remain in the DOM after close() and destroy()

It is by design because these backdrops will be re-used by other modals of same type

I urge you to reconsider this. Having multiple not displayed DOM elements with opacity on them only puts strain on the hardware as the browser still computes their rendering, even if they are not displayed.
I personally don't consider it to be good practice to have non-used elements bothering the renderer, especially since calling create() will still make the needed backdrop if it doesn't exist.


Navbar component : PR

Description

Created a navbar/sidebar component

Status: Approved!

Linters are passing!

Theres nothing else to say that is time to merge it!


iPhone 6s and can not upgrade to unc0ver 3.0.0 b38

I have an iPhone 6s and can not upgrade to unc0ver 3.0.0 b38.
I install unc0ver 3.0.0 b38 with Appdb, and then I see wait,
and if I click on it, there is no download, and click again.
Then he updates to version unc0ver 3.0.0 b38, but app installed but greyed out and can not be opened.
If I reboot my iPhone, and click on unc0ver Jailbreak I see installing unc0ver and then have unc0ver 3.0.0 b37 on my iPhone again.
So I can not install unc0ver 3.0.0 b38.
I have also try to install unc0ver 3.0.0 b38 from /var/mobile/Documents/AppcakeIPAs/Downloaded, then I will fail.

I use tweakbox until I get Cydia, then remove tweakbox, profile, & unc0ver app & use ReProvision to install a copy of the ipa I get directly from here.
If tweakbox doesn’t work, then go back to the beta you were on, use restore rootFS, then install newest beta & rejailbreak.

Coupedeebaybee how do you use tweakbox? Is it like Cydia?

@howmanymeninthenorth tweakbox is a signing service

user_hidden say to me install unc0ver with Impactor.
It now works perfectly.
I have an iPhone 6s iOS12.1.2
Here is the explanation
Start impactor_0.9.51 (not as administrator.)
Undecimus-v3.0.0-b39.ipa drag on Impactor, then he asks for your appleid
Then you will create another appleid at,
https://appleid.apple.com/account#!&page=create
no fake email address because you have to verify with a code.
Then fill this in Impactor, and then he installs unc0ver,
then click on install Cydia Extender in Impactor.
if you succeed, click on unc0ver on your phone.
Then you get an error message about management,
then you go to Settings, General, Device Manager on your iPhone,
App From Developer, and click on trust.


disable goodput recorder in test-maxtest.sh

The goodput recorder was turned off by default and we do not use it. However, it has been turned on by default from MaxText side 2 days ago which is breaking the CI tests. We just need to explicitly disable these whenever we're running.

Thanks for the quick fix! Approved modulo tests passing


TextInputLayout features such as password toggle

I have seen that there is no way in a dialog with input fields to add the togglePassword hint or other features that belong to support.
Is that possible to?

Technically this can be done with getInputLayout() on your dialog, but I may add properties to .input(...).


Add spot light

You have a merge conflict here.
I suspect this arises because the previous commit had changed Java.md.

@ajpmaclean : Conflicts Resolved. Please check now.

Thanks


Alpha.1 release notes

Updates the docs for Alpha.1

A generic comment on using the --plain-http flag with notation. Is that optional or mandatory for alpha.1 ? If mandatory, should it also be added with the below snippet in the Quick Start section of the Readme.MD ?
notation sign $IMAGE
notation list $IMAGE
notation verify $IMAGE

LGTM, provided the above comments are addressed

Thanks @iamsamirzon,
--plain-http is required if you don't configure insecure registries in the config file. I've captured the issue here: #95
The feedback for the root readme was to keep it as super simple as possible. The hello-signing doc goes into the detailed steps with descriptions


Veracruz doesn't build natively on aarch64 or aarch32

Describe the bug
Too much hardcoding of crosstools

I believe that this is now no longer an issue.  @mathias-arm is that correct?

I've built with AArch64 (https://github.com/veracruz-project/veracruz-docker-image/pull/24). AArch32 will likely not work. Is it somethi

Per the comment above, we support Aarch64 and have no plans to support Aarch32, so I am closing this as complete.


Update Composer dependencies (2023-03-26-00-12)

Visual regression test passed!
View the visual regression test report


Could you please privide the file data_process.py ?

No description provided.

@llj110 hi, do you have some solutions? I notice there is a "data_processing.sh" under the "./scripts" folder. It may work.

No description provided.

@llj110 hi, do you have some solutions? I notice there is a "data_processing.sh" under the "./scripts" folder. It may work.

It must utilize "data_process.py" to generate annotations for required datasets, and then use "data_processing.sh" to split them.

Sorry for not replying in time. You can run data_processing.py in this url (https://github.com/luogen1996/SimREC/blob/main/data/data_process.py).


chore(java): Added a famous string problem  Longest_Common_Subsequence

What kind of change does this PR introduce? (check at least one)

[ ] Bugfix
[x] New algorithm
[ ] Optimization in previous algorithms
[ ] Code style update
[ ] Refactor
[ ] Documentation
[ ] Other, please describe:

Briefly describe the changes in this PR

Added a most asked string problem Longest common subsequence which is solved using dynamic programming

This is duplicated.


Keras to_categorical how to reverse it

0
down vote
favorite
So i have written a network which consists of the followings for multi-class classification : -y_labels transformed with to_categorical -last layer uses a sigmoid function with 3 neurons as my classes -model compile uses categorical_crossentropy as loss function So i used
model.predict_classes(x_test)
and then i used it as
classification_report(y_test,pred)
y_test has the form to_categorical And i am getting the following error :
ValueError: Mix type of y not allowed, got types set(['binary', 'multilabel-indicator'])
My question is how can i transform it back in order to use it as such?

The inverse of to_categorical is np.argmax or K.argmax.
If you're predicting 3 independent classes, make sure to use softmax output so the outputs sum to 1. With sigmoid output, the network could predict no class or all classes.
Cheers,
Ben

I fail to see how to use argmax. Could you please provide a dummy example?

from numpy.random import randint
from numpy import argmax
from keras.utils.np_utils import to_categorical
k = 8
n = 20
x = randint(0, k, (n,))
print(x)
print(argmax(to_categorical(x, k)))

argmax(to_categorical(x,k),axis=1)

np.argmax(y,axis=1)

The inverse in R:
inverse_to_categorical <- function(mat)
{
  apply(mat, 1, function(row) which(row==max(row))-1)
}

I know, it's closed, but for my problem the answer had to be slightly modified:
import numpy as np
import keras

two_examples = np.array([[0, 4, 3], [3, 4, 5]])
two_examples.shape   # (2, 3)
two_examples_one_hot = keras.utils.to_categorical(z)
two_examples_one_hot.shape  # (2, 3, 6)
argmax(two_examples_one_hot, axis=2)  # 2 means 3
# array([[0, 4, 3],
#        [3, 4, 5]])

Hi,
I am using ImageDataGenerator and flow_from_directtory. I set using 'categorical' labels.
When I print train_generator_dict[_att_group].class_indices, I obtain something like this:
'1': 0, '16': 1, '22': 2, '3': 3, '4': 4, '40': 5, '41': 6, '419': 7, '5': 8 and its okey because the name of my folders classes are the numbers '0', '16', '22',... and '0', '1', '2', '3',... are the assigned labels.
But when I obtain they y values, they are in categorical values (as I had selected), but I do not know which categorical value correspond with the target that prints class_indices.
I hope I have explained correctly.
Cheers and Thanks.

@gomezabeatriz your description is quite hard to understand.
It feels like you face a reverse dictionary problem, which is not related to keras, but is a more general python question.
Also, it might make sense for you, but keras disagrees: keras.utils.to_categorical will create a class for every integer from 0 to max_int_in_the_data. So, if you give it an array [3, 5, 7] you will end up with 8-dimensional vectors -- be careful!

Hi,
I have created a Multi class classification model with MLP. Now the model output is in categorical format. How can I change the format to real?
for more clarification the real out put should be 0, 1, 2, 3, 4, 5, 6 but the output format is as following
[1. 0. 0. 0. 0. 0. 0.]

predicted = np.argmax(model.predict(x_valid/255), axis=-1)


DONOTSUBMIT - PLEASE IGNORE

Enable Dependabot for Docker and GoMod if not already so.
Keeping K8s dependencies up-to-date.
This PR is created by bot.
Signed-off-by<EMAIL_ADDRESS>

Hi @zhuxiaow0. Thanks for your PR.
I'm waiting for a istio member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.
Once the patch is verified, the new status will be reflected by the ok-to-test label.
I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

Please stop spamming our repo.
On Tue, Aug 29, 2023 at 10:58 PM zhuxiaow1 @.***> wrote:

Closed #46752 https://github.com/istio/istio/pull/46752.
—
Reply to this email directly, view it on GitHub
https://github.com/istio/istio/pull/46752#event-10228655196, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAEYGXJ5HFPA3NYGP643MIDXX3JA5ANCNFSM6AAAAAA4D66BAI
.
You are receiving this because your review was requested.Message ID:
@.***>


Properly handle private and protected properties in intersections

With this PR we properly handle private and protected properties in intersection types. This fixes several issues related to use of private and protected in mixins (which use intersections to construct the resulting types).
This PR also introduces a new CheckFlags enum type representing bit flags that are present in every TransientSymbol (i.e. every symbol created by the type checker) and moves the Instantiated and SyntheticProperty flags from SymbolFlags to the new CheckFlags. Furthermore, the Merged flag is removed from SymbolFlags since the Transient flag already provides the same information.
Fixes #13830.
Fixes #13924.

@mhegazy Want to review this before I merge?


[Program]: Write a R program to find sum of n natural numbers

Description
Write a R program to find sum of n natural numbers
Input  : 5
Output : 15

How to contribute

Save the solution in program/program/find-sum-of-n-natural-numbers/find_sum_of_n_natural_numbers.r file

!assign

!unassign


vpnc resolvconf issues

I'm having a problem getting vpnc to work after having a clean install of crouton on a new Samsung Chromebook.  It is pretty much the last problem stopping me from working from home.  I've followed exactly the instructions listed in
https://github.com/dnschneid/crouton/wiki/VPNC
But when I run the vpnc script I get:
/run/resolvconf/interface either does not exist or is not a directory
Any ideas?
=======
All working now.  I wrote a script to create the missing directory if not there when starting vpnc.  Added my dns entries needed for local vpn.  Up and running now....

Steve, would you mind showing me an example of the script you wrote for this? I'm getting same error on my Toshiba cb2.
Thanks, Chris

Hi Chris,
The following has continued to work well for me:

I have a script for starting the vpn client. It is copied below, but
I have put XXXX where local information is required, such as
nameserver ip addresses and searchable domains.  If you add your
account to sudoers then you won't be prompted for a password.  I
keep my ".vpnc.config" file my root directory and mapped keyboard
shortcuts to the scripts for quick access.

#!/bin/bash
# Modified 21/09/13, corrected for local nameservers

function dns {
    NS1="xxx.xx.x.xxx"
    NS2="xxx.x.x.x"
    NS3="xxx.xx.x.x"
    OPTIONS="options single-request timeout:1 attempts:5"
    SEARCH="xx.xx.xx.xx"
    echo "## IN VPN MODE" | sudo tee /var/host/shill/resolv.conf
> /dev/null
    echo "nameserver ${NS1}"  | sudo tee -a
/var/host/shill/resolv.conf > /dev/null
    echo "nameserver ${NS2}"  | sudo tee -a
/var/host/shill/resolv.conf > /dev/null
    echo "nameserver ${NS3}"  | sudo tee -a
/var/host/shill/resolv.conf > /dev/null
    echo "options ${OPTIONS}" | sudo tee -a
/var/host/shill/resolv.conf > /dev/null
    echo "search ${SEARCH}"   | sudo tee -a
/var/host/shill/resolv.conf > /dev/null
    echo "## Changed DNS Config"
}

function main {

    # Start sudo with a nice prompt
    sudo -p "Please enter your sudo password to start the VPN: "
echo "Successfully received password"

    # First check if config exists
    if [[ ! -f ~/.vpnc.conf ]]; then
        echo "~/.vpnc.conf not found."
        exit
    fi

    # Then check if vpnc is installed
    if [[ ! -f `sudo which vpnc` ]]; then
        echo "vpnc not installed."
        exit
    fi

    echo "## Copied current DNS config to /tmp/resolvtmp.conf"
    cp /var/host/shill/resolv.conf /tmp/resolvtmp.conf;
    # Set VPN DNS config
    dns
    if [[ ! -d /run/resolvconf/interface ]]; then
        sudo mkdir /run/resolvconf
    sudo mkdir /run/resolvconf/interface
    fi
    echo "## Starting vpnc in tap mode"
    sudo vpnc --ifmode tap ~/.vpnc.conf
    sleep 2
}

main;

I have another script for closing and finishing off, below:
#!/bin/bash

echo "## Killing vpnc"

sudo killall -9 vpnc

if [ -f /tmp/resolvtmp.conf ]; then

    echo "## Going to copy backed up DNS config to
/var/host/shill/resolv.conf"

    sudo cp /tmp/resolvtmp.conf /var/host/shill/resolv.conf

fi

sleep 2

I'm running trusty on my Samsung Chromebook.

Best wishes,
Steve

On 07/01/2015 11:46, Chris wrote:

  Steve, would you mind showing me an example of the script you
    wrote for this? I'm getting same error on my Toshiba cb2.
  Thanks, Chris
  —
    Reply to this email directly or view
      it on GitHub.

--

Steve Sheard,
Department of Engineering Science,
Oxford University,
Parks Road,
Oxford OX1 3PJ
Phone: +44(0)1865 273929

Thanks a lot, Steve.
In the last few days I did find this script also, which looks like the one you might have based yours on:
https://github.com/RaymiiOrg/df/blob/master/vpnc.sh
which looks similar to yours. I actually got VPN finally working last night when I tried the script at that link, though the error I get (resolvconf: Error: /run/resolvconf/interface either does not exist or is not a directory) still exists. However, it does not prevent VPN from working, and I can access IP addresses over the VPN.
I will compare that one a little more to your script and see if yours might help me get rid of this final error.
For your reference, the issue I started a few days ago is at:
https://github.com/dnschneid/crouton/issues/1320
Thanks again,
Chris


Add route and documentation for deleting route

This adds a route for deleting images via sharex.
Resolves #6
I added the image to the repo, but feel free to upload it to r2 and change to that URL.

Thanks!


Underline text

This is a suggestion of improvement of the UX.
We can see Bold, Italic, Strikethrough options but not underline in the demo.
Is underline already implemented but not shown in the demo?

Raised PR #50 for underline text implementation.


Deployment updates

After getting  error (#381) - tried to deploy it myself and got to some minor error.

Outdated test results
Libraries that have removed certain functionality, which is why the launch was not successful

So, i tried to fix it in someway

Updated test results
Fixed library version error (sort of workaround - just specified exact version, that used)
Removed online tests (because of #381  error couldn't gather any information)
Updated alpine to 3.18 ()

After all work got 20/20 tests passed and online tests remained untested.

Dont be scared of change number - most part of it just test results changes

I could review a separate PR with test fixes alone without touching libraries and changing config. Even if some of them fail.


How to detect window popup are opened or closed?

Hi, sorry i'm newbie in vue.js and javascript, i need to add some stuff when the social sharing popup window are closed.
I need to detect the popup are closed, then i execute some function :)

Hello @muhghazaliakbar,
I just released a new version of vue-social-sharing (2.2.0) https://github.com/nicolasbeauvais/vue-social-sharing/releases/tag/v2.2.0 that add an event when a popup is closed.
The events are documented in the readme https://github.com/nicolasbeauvais/vue-social-sharing#available-events
Hope this solve your issue :)

Ah that's very cool thank you!


feat: added initialisation flag for IntelliJ Deno Config

What kind of change does this PR introduce?
This change include a feature to initialise supabase with deno config for IntelliJ Idea
What is the current behavior?
Only VSCode settings generation for deno is present. Have to add Deno support in my intelliJ project manually
What is the new behavior?
Using --with-intellij-settings flag with supabase init auto generated deno cofig for IntelliJ IDEA.
Additional context
This PR resolves @supabase/cli#1998

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

19 of 27 (70.37%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.02%) to 58.947%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

internal/init/init.go
14
22
63.64%

Totals

Change from base Build<PHONE_NUMBER>:
0.02%

Covered Lines:
6259

Relevant Lines:
10618

💛  - Coveralls


chore: Make ripple-rpc like a firebolt extension

b'## Blackduck scan failure details
Summary: 0 violations, 0 files pending approval, 3 files pending identification.

Protex Server Path: /home/blackduck/github/ripple-rpc/72/rdkcentral/ripple-rpc

Commit: 2459ecd4d277c80f636da82c796c1e94dd151a9e

Report detail: gist'

b'## Blackduck scan failure details
Summary: 0 violations, 0 files pending approval, 3 files pending identification.

Protex Server Path: /home/blackduck/github/ripple-rpc/72/rdkcentral/ripple-rpc

Commit: de54b14489c21f55731df7b4b080ff0444c9e585

Report detail: gist'

b'## Blackduck scan failure details
Summary: 0 violations, 0 files pending approval, 3 files pending identification.

Protex Server Path: /home/blackduck/github/ripple-rpc/72/rdkcentral/ripple-rpc

Commit: c4982b1bd5f6be2af8e1e3ebbb7d0b567e6055ce

Report detail: gist'

b'## Blackduck scan failure details
Summary: 0 violations, 0 files pending approval, 3 files pending identification.

Protex Server Path: /home/blackduck/github/ripple-rpc/72/rdkcentral/ripple-rpc

Commit: b533197d1e923e883cd2b87e41b18d93fdbe4bd4

Report detail: gist'

b'## Blackduck scan failure details
Summary: 0 violations, 0 files pending approval, 3 files pending identification.

Protex Server Path: /home/blackduck/github/ripple-rpc/72/rdkcentral/ripple-rpc

Commit: 93276eb7f09643eadb1f012ffaa4c982ae9499f5

Report detail: gist'

b'## Blackduck scan failure details
Summary: 0 violations, 0 files pending approval, 3 files pending identification.

Protex Server Path: /home/blackduck/github/ripple-rpc/72/rdkcentral/ripple-rpc

Commit: c3cf2487a413eb341287ac599099cead4335a68e

Report detail: gist'

b'## Blackduck scan failure details
Summary: 0 violations, 0 files pending approval, 3 files pending identification.

Protex Server Path: /home/blackduck/github/ripple-rpc/72/rdkcentral/ripple-rpc

Commit: 74d5fbf2b886b10f057485ce1f7812dc09de8fd5

Report detail: gist'

b'## Blackduck scan failure details
Summary: 0 violations, 0 files pending approval, 2 files pending identification.

Protex Server Path: /home/blackduck/github/ripple-rpc/72/rdkcentral/ripple-rpc

Commit: e67c6c542e3b6c6dd9fa130139791aadeab2315a

Report detail: gist'

Hi,
I have cleared off most of the blackduck complaints but please will you make a change to NOTICE at the top level.  It still says "firebolt-manage-sdk" and should say "ripple-rpc".
I'll clear off the last blackduck then.
Thank you,
Martin H, RDK CMF Compliance Team

Thank you!

:tada: This PR is included in version 1.1.0-next.2 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Handle camera requests more decent and communicate

Should fix https://github.com/home-assistant/core/issues/67560
@cgtobi
Thank you for our session yesterday. I did anyway try to reproduce it locally and therefore probably came up with the correct solution. If I missed something or if you want to add tests, feel free to do so, because I totally skipped this one 😉

@jabesq
Do I still miss something to get this merged?
The IP address suggestion was giving me much more troubles than resolving what was intended, so I improved it after your input accordingly and the other one is really just to not run into a request not possible to apply the method json on which I had during my checks in my own network where the issue was easy to reproduce.


Handle balances event not issued with extrinsic

Like this: https://statemine.statescan.io/event/746348-0

Fixed in #529


flutter attach and mDNS

I know that being able to develop/debug on an iPhone using windows is not in the official docs, but this post explains pretty well what would be needed to be able to do it.
I was able to follow it and develop/hot reload in iOS from windows. Pretty amazing experience.
However, while doing it I think I may have discovered a couple of problems on multicast_dns.dart.
Important Note: I have multiple network adapters on my laptop.
Steps to Reproduce

Run flutter run on macOS, and successfully run the application.
Install all the requirements to make iOS be recognized by flutter in windows. (More info)
User the patches from this post
Run flutter attach

The first problem I encounter is that flutter attach will crash saying:
    Oops; flutter has exited unexpectedly.

Logs,
Please see "Logs 1" at the end
What I think that happened
I believe this is caused because on
\Pub\Cache\hosted\pub.dartlang.org\multicast_dns-0.1.1\lib\src\constants.dart
mDnsPort is set to 5353. However, for some reason I do not understand, mDNS is not running on port 5353 on this laptop. (I tried all this in a clean windows VM and this was not a problem port 5353 was correct).
After figuring out what port was used for mDNSResponder.exe, I was able to modify the constant value of the port, and move forward.
My question here is, should flutter attach have an optional parameter for the port of mDNSPort instead of just being a constant? Perhaps --mdns-port ?
Second Problem
After the previous problem was fixed, I was able to get a step further, but then later run into another problem.
Again,
    Oops; flutter has exited unexpectedly.

Logs, Please see "Logs 2" at the end
My laptop has multiple network adapters, and I believe the problem is inside the for loop
for (NetworkInterface interface in interfaces) {
when it is trying to assign the value of socket. I noticed I have many interfaces on the interface array, and probably for some of those mDns is not available and therefore crashing there while trying to connect.
I was able to fix this by just try/catching what's inside that for loop. (This will be a problem if ALL the attempts to create a connection fail, in which case I think an error should be thrown)
After fixing this last problem, I was able to successfully attach to the iOS application on my phone, and hot reload and debug.
Before I realized how to fix these 2 problems, I noticed that disabling ALL my network interfaces will solve the problem too, I was able to attach and debug, and that's how I ended up realizing about the port for mDNSResponse and the problem with all the other network interfaces.
I do not know if this will matter to you now, as developing on iOS devices from windows is not officially supported, but at least for me and my team, this is such a game changer, and this was the last thing my team needed before we can transition our app from React Native to Flutter.
LOG 1
command
flutter attach
exception
SocketException: SocketException: Failed to create datagram socket (OS Error: Only one usage of each socket address (protocol/network address/port) is normally permitted.
, errno = 10048), address = <IP_ADDRESS>, port = 5353
#0      _NativeSocket.bindDatagram (dart:io-patch/socket_patch.dart:615:7)
<asynchronous suspension>
#1      _RawDatagramSocket.bind (dart:io-patch/socket_patch.dart:1881:26)
#2      RawDatagramSocket.bind (dart:io-patch/socket_patch.dart:1839:31)
#3      MDnsClient.start (package:multicast_dns/multicast_dns.dart:78:41)
<asynchronous suspension>
#4      MDnsObservatoryDiscovery.query (package:flutter_tools/src/commands/attach.dart:421:20)
<asynchronous suspension>
#5      AttachCommand._attachToDevice (package:flutter_tools/src/commands/attach.dart:231:88)
<asynchronous suspension>
#6      AttachCommand.runCommand.<anonymous closure> (package:flutter_tools/src/commands/attach.dart:175:19)
#7      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:153:29)
<asynchronous suspension>
#8      _rootRun (dart:async/zone.dart:1124:13)
#9      _CustomZone.run (dart:async/zone.dart:1021:19)
#10     _runZoned (dart:async/zone.dart:1516:10)
#11     runZoned (dart:async/zone.dart:1463:12)
#12     AppContext.run (package:flutter_tools/src/base/context.dart:152:18)
<asynchronous suspension>
#13     AttachCommand.runCommand (package:flutter_tools/src/commands/attach.dart:174:19)
<asynchronous suspension>
#14     FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:488:18)
#15     _asyncThenWrapperHelper.<anonymous closure> (dart:async-patch/async_patch.dart:77:64)
#16     _rootRunUnary (dart:async/zone.dart:1132:38)
#17     _CustomZone.runUnary (dart:async/zone.dart:1029:19)
#18     _FutureListener.handleValue (dart:async/future_impl.dart:126:18)
#19     Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45)
#20     Future._propagateToListeners (dart:async/future_impl.dart:668:32)
#21     Future._complete (dart:async/future_impl.dart:473:7)
#22     _SyncCompleter.complete (dart:async/future_impl.dart:51:12)
#23     _AsyncAwaitCompleter.complete.<anonymous closure> (dart:async-patch/async_patch.dart:33:20)
#24     _rootRun (dart:async/zone.dart:1124:13)
#25     _CustomZone.run (dart:async/zone.dart:1021:19)
#26     _CustomZone.bindCallback.<anonymous closure> (dart:async/zone.dart:947:23)
#27     _microtaskLoop (dart:async/schedule_microtask.dart:41:21)
#28     _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5)
#29     _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:115:13)
#30     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:172:5)

flutter doctor
[✓] Flutter (Channel beta, v1.6.3, on Microsoft Windows [Version 10.0.17134.765], locale en-US)
    • Flutter version 1.6.3 at D:\Flutter\flutter
    • Framework revision bc7bc94083 (13 days ago), 2019-05-23 10:29:07 -0700
    • Engine revision 8dc3a4cde2
    • Dart version 2.3.2 (build 2.3.2-dev.0.0 e3edfd36b2)

[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
    • Android SDK at C:\Users\Rodrigo\AppData\Local\Android\sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-28, build-tools 28.0.3
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b02)
    • All Android licenses accepted.

[✓] Android Studio (version 3.1)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin version 29.0.1
    • Dart plugin version 173.4700
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b02)

[✓] VS Code (version 1.34.0)
    • VS Code at C:\Users\Rodrigo\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.1.0

[✓] Connected device (1 available)
    • Rodrigoâ€™s iPhone • f276cb97b3639dff6ed5a58122ab6e8e6605abe9 • ios • iOS 12.2

• No issues found!

Log 2
command
flutter attach
exception
SocketException: SocketException: Failed to create datagram socket (OS Error: The requested address is not valid in its context.
, errno = 10049), address = , port = 55340
#0      _NativeSocket.bindDatagram (dart:io-patch/socket_patch.dart:615:7)
<asynchronous suspension>
#1      _RawDatagramSocket.bind (dart:io-patch/socket_patch.dart:1881:26)
#2      RawDatagramSocket.bind (dart:io-patch/socket_patch.dart:1839:31)
#3      MDnsClient.start (package:multicast_dns/multicast_dns.dart:111:76)
<asynchronous suspension>
#4      MDnsObservatoryDiscovery.query (package:flutter_tools/src/commands/attach.dart:421:20)
<asynchronous suspension>
#5      AttachCommand._attachToDevice (package:flutter_tools/src/commands/attach.dart:231:88)
<asynchronous suspension>
#6      AttachCommand.runCommand.<anonymous closure> (package:flutter_tools/src/commands/attach.dart:175:19)
#7      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:153:29)
<asynchronous suspension>
#8      _rootRun (dart:async/zone.dart:1124:13)
#9      _CustomZone.run (dart:async/zone.dart:1021:19)
#10     _runZoned (dart:async/zone.dart:1516:10)
#11     runZoned (dart:async/zone.dart:1463:12)
#12     AppContext.run (package:flutter_tools/src/base/context.dart:152:18)
<asynchronous suspension>
#13     AttachCommand.runCommand (package:flutter_tools/src/commands/attach.dart:174:19)
<asynchronous suspension>
#14     FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:488:18)
#15     _asyncThenWrapperHelper.<anonymous closure> (dart:async-patch/async_patch.dart:77:64)
#16     _rootRunUnary (dart:async/zone.dart:1132:38)
#17     _CustomZone.runUnary (dart:async/zone.dart:1029:19)
#18     _FutureListener.handleValue (dart:async/future_impl.dart:126:18)
#19     Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45)
#20     Future._propagateToListeners (dart:async/future_impl.dart:668:32)
#21     Future._complete (dart:async/future_impl.dart:473:7)
#22     _SyncCompleter.complete (dart:async/future_impl.dart:51:12)
#23     _AsyncAwaitCompleter.complete.<anonymous closure> (dart:async-patch/async_patch.dart:33:20)
#24     _rootRun (dart:async/zone.dart:1124:13)
#25     _CustomZone.run (dart:async/zone.dart:1021:19)
#26     _CustomZone.bindCallback.<anonymous closure> (dart:async/zone.dart:947:23)
#27     _microtaskLoop (dart:async/schedule_microtask.dart:41:21)
#28     _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5)
#29     _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:115:13)
#30     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:172:5)

flutter doctor
[✓] Flutter (Channel beta, v1.6.3, on Microsoft Windows [Version 10.0.17134.765], locale en-US)
    • Flutter version 1.6.3 at D:\Flutter\flutter
    • Framework revision bc7bc94083 (13 days ago), 2019-05-23 10:29:07 -0700
    • Engine revision 8dc3a4cde2
    • Dart version 2.3.2 (build 2.3.2-dev.0.0 e3edfd36b2)

[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
    • Android SDK at C:\Users\Rodrigo\AppData\Local\Android\sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-28, build-tools 28.0.3
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b02)
    • All Android licenses accepted.

[✓] Android Studio (version 3.1)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin version 29.0.1
    • Dart plugin version 173.4700
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b02)

[✓] VS Code (version 1.34.0)
    • VS Code at C:\Users\Rodrigo\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.1.0

[✓] Connected device (1 available)
    • Rodrigoâ€™s iPhone • f276cb97b3639dff6ed5a58122ab6e8e6605abe9 • ios • iOS 12.2

• No issues found!

Hello @collaorodrigo7 !
Does the problem still persist in the latest stable version?

Without additional information, we are unfortunately not sure how to resolve this issue. We are therefore reluctantly going to close this bug for now. Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.


[Error] Request textDocument/hover failed.

Hi,
QAQ(我不太会说英文)，the following errors：

[Error]Request textDocument/hover failed.
  Message: Request textDocument/hover failed with message: Cannot read property 'replace' of undefined
  Code: -32603

It can be reproducible in the simple demo . I tried volar 0.25.x and volar 0.26.x ，it seemed to happen.

Fixed in https://github.com/johnsoncodehk/volar/commit/7ee76fac05c8baa480eb980b61ecbb34caf4619b.


week-start-date seems not working

Hello,
Nice work here! I really like it.
I tried several days as week-start-day attribute but it doesn't seem to work, even in your plunker.
I use it with Angular v1.3, angular-material v0.11.4 and moment 2.10.6.
Thx

I will check and fix it if it is a bug. Thanks

Hi,
How i can choose Hijri calendar?
Thanks


Bump version up to 0.3.1.

Codecov Report
Patch and project coverage have no change.

Comparison is base (bc946b7) 94.01% compared to head (a70eab3) 94.01%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #16   +/-   ##
=======================================
  Coverage   94.01%   94.01%
=======================================
  Files           8        8
  Lines        1003     1003
  Branches       84       84
=======================================
  Hits          943      943
  Misses         60       60

Flag
Coverage Δ

unittests
94.01% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

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


💡 [REQUEST] - Add dummy data to test the code

Summary
To prevent a rate limit, create a dummy data object to use in development.
Drawbacks
No need to login to the apple account each time you restart the Adapter
Unresolved questions
No response

Done


fix: check for child process exits periodically

fixes #1193
- What I did

Created a dynamic array to track process ids for child processes created during the lifecycle of the program
In between each monitor message read, check if each child process has exited (with waitpid) and remove it from the queue
This solution assumes that 99% of the time there will be only 0 or 1 child process

1% or less there will ever be 2 or more.

- How I did it
- How to verify it
- Description for the changelog
fix: check for child process exits periodically

@cconstab can you test that this fixes your issues in #1193 please

Quickly read over the code and LGTM


Fix two security issue types

Through a static security scan two types of issues came up that were classified as high severity.

Target Blank Vulnerability
Macro replacement lists should be parenthesized

This code changes addresses some of the found locations. While these in their current usage do pose problems it is easy to fix them regardless.

@majetideepak FYI.

@czentgr can you rebase with main to fix the failing CI?


ToolLearning_eval函数的问题

Seal-Tools/Seal-Tools_Dataset文件中的test_in_domain.jsonl的数据格式为[{"api": "getPostmodernTheory", "parameters": {}}, "Retrieve information about postmodern theory."]
而函数中需要的是conversations和id，这对不上呀

Code in LLM_Evaluation/src/eval.py is only for calculating the score of LLM result.
You should refer to LLM_Evaluation/src/README.md and use LLM_Evaluation/src/inference.py for LLM inference.
Please read the documents and code carefully and thank you for your concentration!
Let me know if you have more questions.

Code in LLM_Evaluation/src/eval.py is only for calculating the score of LLM result. You should refer to LLM_Evaluation/src/README.md and use LLM_Evaluation/src/inference.py for LLM inference. Please read the documents and code carefully and thank you for your concentration! Let me know if you have more questions.

readme文件说执行Plugin_eval函数进行推理，但是这个函数的数据集和之前提到的数据格式要求是一样的呀

Code in LLM_Evaluation/src/eval.py is only for calculating the score of LLM result. You should refer to LLM_Evaluation/src/README.md and use LLM_Evaluation/src/inference.py for LLM inference. Please read the documents and code carefully and thank you for your concentration! Let me know if you have more questions.

 readme文件说执行Plugin_eval函数进行推理，但是这个函数的数据集和之前提到的数据格式要求是一样的呀

We use the shargpt format for finetuning and inference. It's in Seal-Tools_Dataset/dataset_for_finetune.zip.
And actually you can write inference code by yourself for implemention. The code for evaluation is only for reference.


Update README.md

Coverage remained the same at 100.0% when pulling 8a03c9e1db9a0a43e9d28822177e050a59761e50 on readme-migration into 7bf9273789808f7721054cf1080ade08710c6aaa on master.


Delete Fleet/Boxes on command fail

So i run fleex scan with the --delete flag, for some reason the file copying failed and hence the command didn't run. But also, the boxes were not deleted. Imagine my surprise a couple of hours later.
I think on command fail the rest of the clean up should still go through.

Hi, I will go deeper to this problem to see how to fix


Nested, Sortable Field Type

Add a new field type that allows for nesting Fields.
Example of a simple sortable list of text fields:
{
  "type": "sortable",
  "key": "list_values",
  "label": "Strings",
  "field": "text"
}

Example of a more complex sortable list of fields:
{
  "type": "sortable",
  "key": "sections",
  "label": "Sections",
  "fields" [
    {
      "type": "text",
      "key": "title",
      "label": "Title"
    },
    {
      "type": "text",
      "key": "subtitle",
      "label": "Sub Title"
    },
  ]
}

We probably want this to work with arbitrary levels of nesting. :) So a
list could embed other lists. Contentful does this by opening a new
tile/lightbox for every sub-list.
On Fri, Feb 14, 2020 at 3:33 PM Randy Merrill<EMAIL_ADDRESS>wrote:

Add a new field type that allows for nesting Fields.
Example of a simple sortable list of text fields:
{
"type": "sortable",
"key": "list_values",
"label": "Strings",
"field": "text"
}
Example of a more complex sortable list of fields:
{
"type": "sortable",
"key": "sections",
"label": "Sections",
"fields" [
{
"type": "text",
"key": "title",
"label": "Title"
},
{
"type": "text",
"key": "subtitle",
"label": "Sub Title"
},
]
}
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/grow/selective-edit/issues/5?email_source=notifications&email_token=AAE527PCXJRQMSN3VQMO4H3RC4S57A5CNFSM4KVSB3A2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4INWPKEA,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAE527OTIAPNNXDC6BILTV3RC4S57ANCNFSM4KVSB3AQ
.

It already is setup to work with arbitrary levels, its mostly about how we style it.


Delete(object id) throws System.NullReferenceException

When I called the Delete method with ID, I got the exception System.NullReferenceException.
After checking the code, I found that the problem is in the line
var typeInfo = typeof(TEntity).GetTypeInfo(); var key = _dbContext.Model.FindEntityType(typeInfo.Name).FindPrimaryKey().Properties.FirstOrDefault();
My entity object is in a different project and has different namespace with the datacontext.  typeInfo.Name just return the name of the entity but not the full name (with namespace) of the entity.  As a result
_dbContext.Model.FindEntityType(typeInfo.Name) cannot find the entity and throw NullReferenceException.
For example,
_dbContext.Model.FindEntityType("MyEntity") //throws exception
_dbContext.Model.FindEntityType("MyProject.DataModel.MyEntity") //works
_dbContext.Model.FindEntityType(typeInfo) //works too

Good job, thanks.

@edkwchan
Had released a fixed version v2.0.3


Maybe uninit

As recently discussed around the release of 1.36, using mem::uninitialized() can do insta-UB, depending on the type being created. So this pull request uses the new MaybeUninit to deal with that. I'm using slightly different technique than the one described in the MaybeUninit example, because having to use the trait was getting into the way. I believe this should still be fine.
As a side effect, this gets rids of the sole dependency (nodrop). Furthermore, I've added a simple test just to make sure I didn't break it in some very obvious way.
This changes both the trait and the minimal needed version of rustc (probably significantly), so it probably needs a „big“ version change.
Also, there's one thing I'm not 100% sure. That is, can an array have alignment-gaps in between neighboring elements, or are any such gaps part of the Ts layout? If the first, is it fine that this'd leave these gaps as uninitialized?
And, I deleted the _copy variants. Using the MaybeUninit, they'd be the same inside, so there's no need to keep them. And I hope the current version should allow the rustc to not do any extra memcpys, but I don't know how to check that.
(btw, I don't want to sound too egoistical as this is quite a small bit of code, but given this is mostly a  rewrite, do I qualify to be included between the authors?)

Feel free to add yourself to authors!

Oh, make it a breaking version bump while you're at it

(I'm not sure if 0.0.4 → 0.0.5 would be considered breaking or not, so I'm moving it to 0.1.0)

It is, but 0.1.0 is fine too.

Thank you :-)
I didn't plan this, but it turns out the last two releases are exactly a year apart. It looks cool :-)


Mobile support? Is it inactive? Recommendations?

Is this program going to have mobile support? also, is this project inactive? It seems to have been a while since the last update and I think this is going to be a good project.
And last but not least, if this project is indeed not abandoned, I would like to recommend a feature: Smart playlist. Something simple really. Just music suggestions and stuff. Maybe some basic machine learning based on the genre of music?

Mobile support is along the way
I will consider machine learning.


OHBM Action Point 2: Separate tractography BEP

Given the potential scope of the diffusion derivatives, and the lack of standardisation with respect to the storage of streamlines data, it was decided that it would be more pragmatic to remove all references to tractography from BEP016, and instead have a new standalone "Tractography derivatives", which would then be allowed to evolve over a a longer requisite time period. It would also give us the opportunity to afford the specification of diffusion models the amount of time and attention that they still require.

I think we can keep BEP16, but using a different branch for tractography until models are merged into the main spec. Just to minimize the churn since we will be about the same people working on tractography.

#9


Clarify scope rules of implicit supertype

This is from Dart Programming Language Specification, 4th Edition:

The superclass of a class C that has a with clause with M1, . . . , Mk and an extends clause extends S is the application of mixin (12) Mk ú · · · ú M1 to S. If no with clause is specified then the extends clause of a class C specifies its superclass. If no extends clause is specified, then either:
• C is Object, which has no superclass. OR
• Class C is deemed to have an extends clause of the form extends Object,
and the rules above apply.

...

The scope of the extends and with clauses of a class C is the type- parameter scope of C.

Based on this, one could argue that the class C has a problem or that its toString method should return "fisk":
import 'dart:core' hide Object;

class C {
}

class Object {
  String toString() => "fisk";
}

main() {
  print(new C());
}

Specifically, I find this ambiguous: "Class C is deemed to have an extends clause of the form extends Object, and the rules above apply." This is clearly syntax, however, it shouldn't be treated as normal syntax. Perhaps this could be expressed in terms of S.

No milestone now: This clarification should be carried out as indicated, but it does not block Dart 2.


Propose using Bootstrap glyphicons

How do you feel about using the glyphicons embedded in Bootstrap instead of importing a Font Awesome? I think this would make more sense to do this for streamlining since the library already depends on Bootstrap. There are icons that are a close match to the ones you're using currently.

I think you are right switching to glyphicons make sense. We could remove the fontawesome dependency and it looks like angular-bootstraps depends on glyphicons too.


Make dead links using the Hash Symbol has an issue.

Challenge Make Dead Links using the Hash Symbol has an issue.
User Agent is: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:53.0) Gecko/20100101 Firefox/53.0 Waterfox/53.0.
Please describe how to reproduce this issue, and include links to screenshots if possible.
  Bad example in the directions.

Potential contributors need to add one line "For example: href="#"" to the instruction to read as such:

Replace the value of your a element's href attribute with a #, also known as a hash symbol, to turn it into a dead link.
For example: href="#"

I will take this issue up

Submitted my PR
https://github.com/freeCodeCamp/freeCodeCamp/pull/14670

The text editor doesn't let me edit the text to replace the href.. Maybe I should wait for this issue to be fixed.

Hi @jedz
Thanks for reporting, can you open a new issue with details and screenshots, etc. and Check these troubleshooting steps first.
Happy Coding!


Re-organizing draft:account

Putting all of the draft:account actions into one controller, ____AuthenticationController (I believe that this is the pattern Devise follows?); to make it easier to see in one place and understand, and skip the :force____sign_in before_action for signing up/in a person opts in to that.
I believe the older approach grew organically out of adding authentication to an existing tutorial project while I was recording a video (photogram-gui => photogram-signin) and then we codified it in this gem.
To review:

Include gem 'draft_generators', github: 'firstdraft/draft_generators', branch: 'rb-spring-2020'
Try to break draft:account in various ways.
skip_forgery_protection if you're using a vanilla Rails app.

@raghubetina wrote some review here: https://github.com/jmw686-appdev/test-new-draft-account/pull/2
Minor comments, LGTM


Added load-info-json example to readme

The example uses a file, now it writes a file using writeFileSync

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 92.157%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
28

Relevant Lines:
28

💛  - Coveralls

Hey, if there are problems if this PR edit the readme yourself, so we don't do this back and forth.

Hello,
I integrated it out of readme as a new folder called example
https://github.com/microlinkhq/youtube-dl-exec/pull/68
🙂


Remove "separator" comment between function declarations?

Hi all,
These comments appear throughout the codebase, and to me it is unclear why it is necessary.
	//--------------------------------------------------------------------

Some classes with only one method will use it:
https://github.com/codeigniter4/CodeIgniter4/blob/e609147fbc883a3d2ec35518fd822049ba5891fe/app/Config/Database.php#L112
Others won't:
https://github.com/codeigniter4/CodeIgniter4/blob/22c93a53123baf3d64fa3c45c3c005ae808736cd/app/Config/Modules.php#L56
The styleguide does not directly mention where or why such comment would be needed, but it does include one such "separator" on the docblock section.
I feel like it only adds visual bloat and the line breaks between function declarations should already be good enough visual cues, therefore such comments shouldn't be necessary.
I'm happy to create a PR for this if it's agreed upon.

Those were a holdover from CI3. They're nice for quickly scanning files but not really necessary. My trend lately has been to leave them out. I'm fine with a PR to remove them.

Nothing came of this so closing.


Pool: Add Create BPN Endpoint

As a sharing service provider I want to inquire a new BPN from the BPDM Pool when I discover a business partner data is a new business partner without a BPN yet.
Acceptance Criteria:

BPDM Pool offers a new POST endpoint which accepts a request for creating a number of BPNL, BPNS and BPNA
The endpoint returns the requested number of BPNs
Users can't request more up to a configurable amount of BPNs

This issue is outdated and the proposed endpoint will not be needed


Authentication Error in the portal

Describe the bug
User sees authentication error after logging in using LDAP in the portal
VinylDNS Version
Latest
To Reproduce
Steps to reproduce the behavior:

Login as an ldap user
User sees an "Authentication Failed" error

Expected behavior
Zones, groups, all requests should succeed
Issue Discovered
We are not decrypting the user secret key when signing in the portal.  Need to add crypto to the VinylDNS main controller when we communicate with the backend api.

More fun info, we had "encrypt user secrets" set to off by default in the API.
This is why local testing worked fine.
That flag is set to on in dev and real environments.  I changed the default value.  In reality, that flag should be removed.


hedgedoc: 1.9.4 -> 1.9.5

This PR has been made using the provided update script.
There were some inconsistencies in the script and it had to be updated.
TODO:

[ ] The hash returned by nix-prefetch-github hedgedoc hedgedoc --rev "1.9.5" | jq -r .sha256 is not the expected hash format (sha256-dcqCc4UUI1knRlDfQlXq3cpTRTh+kbgFynbypDzw9y8= vs n6I9i0b5Z8HgGmGEM+pYl340P/UDzRYOFElyyS0s6cM=)

Description of changes

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.11 Release Notes (or backporting 22.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[ ] Fits CONTRIBUTING.md.

@GrahamcOfBorg build hedgedoc

@GrahamcOfBorg build hedgedoc

@GrahamcOfBorg build hedgedoc

@GrahamcOfBorg build hedgedoc

@GrahamcOfBorg build hedgedoc

@GrahamcOfBorg build hedgedoc

@GrahamcOfBorg build hedgedoc

Hi and thank you for this quick PR.
Could this version bump also be backported to NixOS 22.05?

I've just ran into a data loss issue with v1.9.5 (https://github.com/hedgedoc/hedgedoc/issues/2809), so let's skip this version bump for the stable channels until the maintainers figure out a fix.
Applying this patch without waiting for a patched release might also be worth it.

This is running HedgeDoc with NodeJS 18 on my system. They changed this wording from ">=16" to "Node 18 is NOT supported."
https://github.com/hedgedoc/hedgedoc/compare/1.9.4...1.9.5#diff-28a940e1f5c7a976526b9437278b5ad3f3b60dad38c138b1dbf4fcdc6683fe77
This seems to be due to "dependency problems" and we don't seem to run into those so that part is probably fine (but I ran into a similar issue as Mrmaxmeier). I haven't noticed any problems due to Node 18, yet.

Node 18 is not supported, because the frontend cannot be built with it, because we use Webpack 4, which is not compatible with Node 17+.
Using the prebuilt frontend should work with 18, but we don't test that.

This is running HedgeDoc with NodeJS 18 on my system.

fixing that right now.

see #199873


chore: upgrade dependencies

:tada: This PR is included in version 3.4.1 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Could not build Objective-C module 'BRCore'

I would make my own app with xcode 9.
But i cannot "Make Project", i become this: error: "Could not build Objective-C module 'BRCore'"
Is there someone who knows where this error comes from?

You may need to initialize the submodules ala git submodule init and git submodule update


Add TTL expiration for API keys

Automatically expire API keys when they haven't been used for 90 days

@codekansas in order for this to work, I need to connect with AWS environment. This feature doesn't work with Localstack

done


MUIEditor How to set limit chars

Hi,
I'm struggling since a couple days to trying to set a limit characters to the Editor. But it's seems that the handleBeforeInput doesn't works ?? How could I firgure this out ?? Please!! Please !!! any Idea ? or example. Have look below. Thank you!!
`
const [editorState, setEditorState] = useState(MUIEditorState.createEmpty());
const { maxLength } = props
/**
 *
 * @returns {string}
 */
const handleBeforeInput = () => {
    const currentContent = editorState.getCurrentContent();
    const currentContentLength = currentContent.getPlainText("").length;

    if (currentContentLength <= maxLength) {
        console.log("not-handled")
        return 'not-handled';
    }
    return "handled";
};

<MUIEditor
            editorState={editorState}
            onChange={(newState) => onChange(newState)}
            handleBeforeInput={handleBeforeInput()}
            config={props.invalid && props.errorState ? errorConfig : config }
        />

`

Hello Monoulou,
You can set the handleBeforeInput in config.draftEditor option of the MUIEditor:
https://kelsier90.github.io/react-mui-draft-wysiwyg/configuration/draft-editor
An example of how to set limit chars:
`
const maxLenght = 10;
const handleBeforeInput = (
chars,
editorState,
eventTimeStamp
) => {
if (editorState.getCurrentContent().getPlainText().length >= maxLength)
return 'handled';
}
const config = {
draftEditor: {
handleBeforeInput: handleBeforeInput
}
}
const [editorState, setEditorState] = React.useState(
MUIEditorState.createEmpty(config),
)
const onChange = newState => {
setEditorState(newState)
}
return (

)
`

Thks so much dude!! God bless you!! It works like a charm !!!


Set up ALS E2E test

Also:

Remove istio-mixer-ci.yaml
Don't run test on git tags
Not run plugin tests on push event

Now I check the services and topology by name prefix, such as ratings-v1.*, so it should also work when refactoring the list pods API with informer, as @hanahmily suggested

A year ago, I try the kubernetes cluster E2E test, but failed :smile:


the picture internal link not updated while disable wikilink

Describe the bug
A clear and concise description of what the bug is.
the picture internal link not updated while disable wikilink , the internal link only updated the wikilink setting is enabled
Environments (please complete the following information):

OS: [e.g. Windows 10]
Use [[Wikilinks]]: [true or false, this option locates at Settings > Files & Links > Use [[Wikilinks]]]
Debug info:

To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.

Same problem

the same problem

Hey guys, this issue should be fixed in 1.6.0, please update and try if it works. You can also look at the release log, which contains more details and my sincere gratitude to you.