Add support to consume return values from stored procedures

It would make sense to consume out parameters returned from a stored procedure. Since the R2DBC spec doesn't define how to consume out params, we could map these onto a Row. R2DBC 0.9 allows defining out/in-out parameters so we could leverage Statement.bind(…) to register out parameter declarations. The invocation syntax would follow SQL Server defaults without having the driver to rewrite a stored procedure call.
Schema setup:
CREATE PROCEDURE test_proc
    @TheName nvarchar(50),
    @Greeting nvarchar(255) OUTPUT
AS

    SET NOCOUNT ON;
    SET @Greeting = CONCAT('Hello ', @TheName)

SQL statement:
EXEC test_proc @P0, @Greeting OUTPUT

Java code:
MssqlConnection connection = …;

connection.createStatement("EXEC test_proc @P0, @Greeting OUTPUT")
    .bind("@P0", "Walter")
    .bind("@Greeting", Parameters.out(R2dbcType.VARCHAR))
    .execute()
    .flatMap(it -> it.map((row, metadata) -> {
        return row.get(0); // row.get("@Greeting");
    }))
    .as(StepVerifier::create)
    .expectNext("Hello Walter")
    .verifyComplete();

See: https://docs.microsoft.com/en-us/sql/relational-databases/stored-procedures/execute-a-stored-procedure?view=sql-server-ver15

Proof of concept at: https://github.com/r2dbc/r2dbc-mssql/tree/result-segment-mapping (requires https://github.com/r2dbc/r2dbc-spi/pull/215).

Would this be how an IN/OUT parameter is bound?
.bind("@Greeting", Parameters.out(R2dbcType.VARCHAR, "in value"))

Also, is there a specified order in which the OUT parameters and other result sets are returned? E.g. what should happen if the procedure was like this?
CREATE PROCEDURE test_proc
    @TheName nvarchar(50),
    @Greeting nvarchar(255) OUTPUT
AS
    SET NOCOUNT ON;
    SET @Greeting = CONCAT('Hello ', @TheName);
    SELECT 1;

Would this be how an IN/OUT parameter is bound?
Parameters.out(R2dbcType.VARCHAR, "in value")

Yes. The server protocol requires the registration of all parameters consisting of a type, name, and direction. IN/IN/OUT parameters can also hold a value.
Re Parameters.out, this comes from the SPI and we could add there also a inOut factory variant. I think it would serve primarily the API and not really any functionality.

Also, is there a specified order in which the OUT parameters and other result sets are returned?

Yes, there there are ordinals involved. But there's also a bit of additional complexity as the general mechanism for parametrized query execution is RPC-based using built-in stored procedures. SQL Server responds with return values in the order of their declaration and the first returned user-space value is @Greeting so either row.get(0) or row.get("@Greeting") works for retrieval. There's also RowMetadata available reflecting names, types, and index positions.

E.g. what should happen if the procedure was like this?

SQL Server responds with a row first and sends the out params at the end. It seems there's no way to know for the consumer in which order any assignments happen. From a code interpretation perspective, it even makes sense, because out params become available after the procedure has terminated, there's no way to push out params from within the procedure.

Protocol debug log
2021-04-20 | 14:25:19.026 | main                 | DEBUG | i.r.m.c.ReactorNettyClient | [cid: 0x1] Request: RPCRequest [procName='null', procId=10, optionFlags=io.r2dbc.mssql.message.token.RpcRequest$OptionFlags@66e8997c, statusFlags=0, parameterDescriptors=[RpcString [name='null', value=EXEC test_proc @P0, @Greeting OUTPUT], RpcString [name='null', value=@P0 nvarchar(4000),@Greeting nvarchar(4000) OUTPUT], EncodedRpcParameter [name='P0', value=io.r2dbc.mssql.codec.CharacterEncoder$NvarcharEncoded@6f0cb5a1], EncodedRpcParameter [name='Greeting', value=io.r2dbc.mssql.codec.CharacterEncoder$NvarcharEncoded@1b29d52b]]]
2021-04-20 | 14:25:19.035 | reactor-tcp-nio-2    | DEBUG | i.r.m.c.ReactorNettyClient | [cid: 0x1] Response: ColumnMetadataToken [columns=[Column [name='", type=MutableTypeInformation [maxLength=4, lengthStrategy=FIXEDLENTYPE, precision=10, displaySize=11, scale=0, flags=32, serverType=int, userType=0, udtTypeName="null", collation=null, charset=null], table=null]]]
2021-04-20 | 14:25:19.036 | reactor-tcp-nio-2    | DEBUG | i.r.m.MssqlSegmentResult | [cid: 0x1] Creating new result
2021-04-20 | 14:25:19.038 | reactor-tcp-nio-2    | DEBUG | i.r.m.c.ReactorNettyClient | [cid: 0x1] Response: io.r2dbc.mssql.message.token.RowToken@4f927e50
2021-04-20 | 14:25:19.039 | reactor-tcp-nio-2    | DEBUG | i.r.m.c.ReactorNettyClient | [cid: 0x1] Response: DoneInProcToken [done=false, hasCount=false, rowCount=1, hasMore=true, currentCommand=0]
2021-04-20 | 14:25:19.039 | reactor-tcp-nio-2    | DEBUG | i.r.m.c.ReactorNettyClient | [cid: 0x1] Response: DoneInProcToken [done=false, hasCount=false, rowCount=0, hasMore=true, currentCommand=0]
2021-04-20 | 14:25:19.039 | reactor-tcp-nio-2    | DEBUG | i.r.m.MssqlSegmentResult | [cid: 0x1] Creating new result
2021-04-20 | 14:25:19.040 | reactor-tcp-nio-2    | DEBUG | i.r.m.c.ReactorNettyClient | [cid: 0x1] Response: ReturnStatus [status=0]
2021-04-20 | 14:25:19.092 | reactor-tcp-nio-2    | DEBUG | i.r.m.c.ReactorNettyClient | [cid: 0x1] Response: ReturnValue [ordinal=3, parameterName='@Greeting', value=PooledSlicedByteBuf(ridx: 0, widx: 26, cap: 26/26, unwrapped: PooledUnsafeDirectByteBuf(ridx: 112, widx: 125, cap: 256)), type=MutableTypeInformation [maxLength=8000, lengthStrategy=USHORTLENTYPE, precision=4000, displaySize=4000, scale=0, flags=0, serverType=nvarchar, userType=0, udtTypeName="null", collation=Collation [encoding=CP1252], charset=UTF-16LE]]
2021-04-20 | 14:25:19.093 | reactor-tcp-nio-2    | DEBUG | i.r.m.MssqlSegmentResult | [cid: 0x1] Creating new result
2021-04-20 | 14:25:19.093 | reactor-tcp-nio-2    | DEBUG | i.r.m.c.ReactorNettyClient | [cid: 0x1] Response: DoneProcToken [done=true, hasCount=false, rowCount=0, hasMore=false, currentCommand=0]
2021-04-20 | 14:25:19.098 | reactor-tcp-nio-2    | DEBUG | i.r.m.c.ReactorNettyClient | [cid: 0x1] Conversation complete

FWIW, the actual call looks like:
sp_cursoropen cursor OUTPUT, 'EXEC test_proc @P0, @Greeting OUTPUT', scrollopt, ccopt,rowcount OUTPUT, '@P0 VARCHAR(4000),@Greeting VARCHAR(4000) OUTPUT', @P0, @Greeting

Re Parameters.out, this comes from the SPI and we could add there also a inOut factory variant. I think it would serve primarily the API and not really any functionality.

I was thinking the same thing. Also for clarity reasons, because a lot of RDBMS call the modifier INOUT or IN OUT or something similar. SQL Server is a bit special with their OUTPUT really meaning IN OUT and no OUT only parameter support.

SQL Server responds with a row first and sends the out params at the end. It seems there's no way to know for the consumer in which order any assignments happen. From a code interpretation perspective, it even makes sense, because out params become available after the procedure has terminated, there's no way to push out params from within the procedure.

Makes sense. I vaguely remember having to handle this differently per dialect even in JDBC for some dialects, where the order of fetching OUT params and other results is significant, probably even SQL Server again. Some JDBC drivers buffer the things to make them available in any order, but this isn't applicable in R2DBC. Perhaps an API note could be interesting?
Also, while I see that unifying OUT parameters and other types of Row simplifies the API and makes it more elegant as in my PostgreSQL example here: https://github.com/r2dbc/r2dbc-spi/issues/27#issuecomment-811955839, this example shows that it would probably be useful to be able to formally expose whether a Row is a set of OUT parameters or a result set. Perhaps two different Segment subtypes possibly sharing some common API could help?

Re Parameters.out, this comes from the SPI and we could add there also a inOut factory variant. I think it would serve primarily the API and not really any functionality.

I was thinking the same thing. Also for clarity reasons, because a lot of RDBMS call the modifier INOUT or IN OUT or something similar. SQL Server is a bit special with their OUTPUT really meaning IN OUT and no OUT only parameter support.

Can you file either a SPI ticket or submit a PR if you like? The changes are limited to the Parameters type and basically a copy of the out methods with a separate type implementing In and Out interfaces.

Also, while I see that unifying OUT parameters and other types of Row simplifies the API and makes it more elegant as in my PostgreSQL example here: r2dbc/r2dbc-spi#27 (comment), this example shows that it would probably be useful to be able to formally expose whether a Row is a set of OUT parameters or a result set. Perhaps two different Segment subtypes possibly sharing some common API could help?

The idea to map out values to something Row-like goes into a proper direction. Thanks for this suggestion. Feel free to leave a comment on https://github.com/r2dbc/r2dbc-spi/pull/215. Coming up with a proper name for the interfaces might be a more difficult challenge than actually implementing it. Row extends <result-thing> for rows and <result-thing> for anything (including out params) that can be described with metadata and retrieved by name/index sounds seems a neat arrangement. On the Segment side, we can come up with a more fine-grained set of interfaces to represent row data and non-row data.

Can you file either a SPI ticket or submit a PR if you like? The changes are limited to the Parameters type and basically a copy of the out methods with a separate type implementing In and Out interfaces.

OK: https://github.com/r2dbc/r2dbc-spi/issues/216. I'll provide a PR suggestion also.

Feel free to leave a comment on r2dbc/r2dbc-spi#215.

I will


How to sum up all the elements inside the symbol?

Environment info
Operating System: Ubuntu 14.04
Package used (Python/R/Scala/Julia): Python
MXNet version:
If you are using python package, please provide
Python version and distribution: Python 2.7
 This is the formula
The code:
def free_energy(self, v_sample):
''' Function to compute the free energy , self.w  refers to the weight matrix'''
wx_b = mx.symbol.FullyConnected(data=v_sample, weight = self.w,
bias=self.h_bias, num_hidden=self.num_h)
vbias_term = mx.symbol.FullyConnected(data=v_sample, weight = self.v_bias,
bo_bias = True, num_hidden=self.num_h)
hidden_term = mx.symbol.log(1+ mx.symbol.exp(data = wx_b))  #problem here: parameter of exp should be ndarray
The elements are in the symbol, how to sum all of them according to the formula?
And how to do calculation of log and exp with symbol instead of ndarray?

mxnet.symbol.sum

@Godricly Thank you

@Godricly Could you please tell me how to calculate the gradient of a symbol?

its depends on the formula of your backward calculation.

@Godricly  But I need to calculate it in the process of forward.
This is part of the code.
cost = mx.symbol.mean(data = self.free_energy(self.var_data)) -
mx.symbol.mean(data=self.free_energy(h_gi))
#here I calculate the cost ,and in the next step,I am supposed to calculate the gradient of cost so that I can use it later, how can I achieve this?

This issue is closed due to lack of activity in the last 90 days. Feel free to reopen if this is still an active issue. Thanks!


Add Apple Silicon iOS Simulator Targets

To allow downstream projects to build iOS Simulator slices on Apple Silicon (M1) architecture, the iosSimulatorArm64() compilation target is required.
Upstream dependencies also require this change, so this PR bumps the following dependencies to latest versions...

uuid = 0.3.1
kotlinCoroutines = 1.5.2
kotlinx-datetime = 0.3.0

verification:allTests completed successfully locally.

@pauldavies83: Thank you for submitting a pull request! Before we can merge it, you'll need to sign the Apollo Contributor License Agreement here: https://contribute.apollographql.com/

Niiiice, thanks for the contribution!

Had this locally for ages, just been waiting for all the ~stars to align~ dependencies to update


Generate and publish dashboard into documentation

Description of changes:
Generates and publishes the dashboard into rmc-docs, where we have included a dedicated section and the dashboard itself.
Resolved issues:
Resolves #484
Call-outs:
If approved, the dashboard step will be restricted to run in the same way as the publication step.

Testing:

How is this change tested? See the CI run here.

Is this a refactor change? No.

Checklist

[x] Each commit message has a non-empty body, explaining why the change was made
[x] Methods or procedures are documented
[ ] Regression or unit tests are included, or existing tests cover the modified code
[x] My PR is restricted to a single feature or bugfix

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 and MIT licenses.

Well litani didn't work, so I guess we still don't have a sense of how long it'll take in CI
ModuleNotFoundError: No module named 'dataclasses'

In response to your questions:

Yes, but I wanted to test this on the PR first (it was worth it).
Unfortunately not (see #491). I was thinking maybe try tools like timeout <dashboard-command>?

Well litani didn't work, so I guess we still don't have a sense of how long it'll take in CI
ModuleNotFoundError: No module named 'dataclasses'

We are actually getting three different errors. For macOS we get the one below:
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 35, kind: WouldBlock, message: "Resource temporarily unavailable" }', src/tools/dashboard/src/litani.rs:93:48

I think this is due to the MacOS runner being too slow, basically.
The error on Ubuntu 20.04 is:
FileNotFoundError: [Errno 2] No such file or directory: 'dot'

Because we need to add litani dependencies.

Okay, that worked (50 minutes). Saving the run here.
I am going to apply the final changes now.

Following @avanhatt's advice, I have updated our README to point to rmc-docs so the quickstart section is simplified and we have installation instructions in one location. You can see a preview here, let me know what you think.


lockerbox.sh requires either wget or curl, but actually depends upon curl.

Having tried to do install of Locker using lockerbox.sh I have found a few errors, and a few things that should be mentioned.
My install system was a blank Ubuntu 11.04 VM, and I was trying to identify issues that would arise when setting up locker for a few users.
Users need to 'sudo apt-get install git libssl-dev' to checkout code and build node.
Users also must install curl, although you can wget the lockerbox.sh itself, and inside the script it tries to use curl or wget, the npm install script explicitly uses curl, but fails pretty silently, and is only obvious when you ./checkEnv
So, really all that is needed to get everything to install, and pass ./checkEnv
However,  I still had to manually npm install ini to get locker running.
There are also errors as Clucene requires a later version of Node than the one lockerbox.sh installs, but this doesn't stop things working.

The wiki documents the build dependencies on OpenSSL and git; there are a billion ways to install and manage packages, and lockerbox can't possibly deal with all of them. You don't want a fairly simpleminded shell script to try to build and install complicated toolchains by itself, trust me.
You're right that requiring either curl or wget but depending on curl is a problem. This is a bug and I'll retitle this bug to deal with that.
Can you open a new bug and paste a gist of the npm issue you're seeing? That's not something any of us have seen recently in development. I'm not even sure I know what ini is.

One further thing -- which version of lockerbox are you using? http://github.com/othiym23/lockerbox or smurthas or pib's? We're going to create an official LockerProject version, but most of the recent tweaking has been done in mine (othiym23's).

https://github.com/LockerProject/Locker/wiki/Detailed-Set-Up-Instructions does not mention the dependencies on git or libssl-dev, and it is linked from 'detailed instructions' from the lockerproject.org main page.
Thanks for renaming the bug, that is what I was trying to get at in a roundabout way :)
I shall open the ini bug when I have a chance to reinstall locker again.
The lockerbox is smurthas' as it too is linked from the main lockerbox.org page.

OK, so there's two bugs here, the second one being that we need to actually pull a build of lockerbox.sh into the LockerProject hierarchy. Need more roundtuitz!

In the meantime I've Tweaked the Detailed Setup instructions page to mention the deps.

Where are we at on this?

@elsmorian Where are we on this?

When I was installing a week ago, lockerbox failed for me and I was advised to just npm install and then node _lockerd.js, which worked. Based on that, it seems like lockerbox is kaput and the installation docs should be updated.

if you already have node and mongod on your machine you are very close to getting things running, but not everyone else has that. lockerbox is still pretty valuable IMO.

I definitely think we should get this updated and working.  It's been helpful to plenty of people.  Is this issue complete and we need a new one to track updates?

@kristjan if lockerbox failed for you, please file a bug on the lockerbox repo

There are a few issues discussed here, all of which pertain to either lockerbox or lockerproject.org, both of which have separate repos.

apparently, OpenSSL development libraries are required in order to build node. but lockerbox doesn't take care of this → lockerbox issue
curl is required in order to install npm, but this dependency isn't documented → lockerproject.org issue
clucene →  this is obsolete as it is no longer required
Manual install doesn't mention git or OpenSSL →  looks like this is fixed on the current wiki page

I filed the first issue as https://github.com/LockerProject/lockerbox/issues/6
Merci filed the second issue as https://github.com/LockerProject/lockerproject.org/issues/1
I think that handles everything here, and this one can be closed.


[GHSA-2c6m-6gqh-6qg3] Docker Command Escaping in the GitHub Actions Runner

Updates

CVSS
Description
Severity

Comments
Critical vulnerability with dependabot not updating security.

Hi there @thboop! A community member has suggested an improvement to your security advisory. If approved, this change will affect the global advisory listed at github.com/advisories. It will not affect the version listed in your project repository.
This change will be reviewed by our highly-trained Security Curation Team. If you have thoughts or feedback, please share them in a comment here! If this PR has already been closed, you can start a new community contribution for this advisory


CC0056 Identify invalid format strings

Discussed in #335, I have extended the StringFormatArgsAnalyzer to also identify invalid format strings.

Coverage increased (+0.03%) to 90.16% when pulling d83ff19ed419853330980324b93b99ff2d45bd2d on thorgeirk11:CC0056_Identify_invalid_format_strings into f689d480699ea8ba1016d97b033451792a5d35be on code-cracker:master.

@thorgeirk11  I just overviewed the code, it looks good, and tests pass, and coverage increased (yey!). I will have to try it and if everything is ok I will merge.

Awesome.

Woops, did not mean that to happen

I have merged it but as the update works perfectly. I am just not sure that we should be using 2 different messages with the same diagnostic id. I am thinking we should use a different id.
@code-cracker/owners please see that we have two rules with the same diagnostic id and different messages:
https://github.com/code-cracker/code-cracker/blob/master/src/CSharp/CodeCracker/Usage/StringFormatArgsAnalyzer.cs#L20-L38
Note: Do you think that is ok or should we create a new id? I am leaning towards creating a new one.
There is no fix for the diagnostic generated by StringFormatArgsAnalyzer, so the impact would be minimal.

@giggio About this analyzer in particular, I guess that is not a problem.


Typora.Typora version 0.11.18

[x] Have you signed the Contributor License Agreement?
[x] Have you checked that there aren't other open pull requests for the same manifest update/change?

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

Resolves https://github.com/microsoft/winget-pkgs/issues/35843
Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

Installers from here https://typora.io/windows/dev_release.html dont appear in control panel so I'm going with static link.


Publish limits via MQTT

If possible, it would be useful to have a 'monitor' MQTT topic, similar to 'limiter' and 'site' which publishes/mirrors the controlls that are sent to the inverter devices.
This would allow data to be pushed, rather than HA (as an example) polling the API.

I've done a first pass at https://github.com/longzheng/open-dynamic-export/pull/64
It publishes something like
{
    "opModEnergize": {
        "source": "sep2",
        "value": true
    },
    "opModConnect": {
        "source": "sep2",
        "value": true
    },
    "opModExpLimW": {
        "source": "sep2",
        "value": 1500
    },
    "opModImpLimW": {
        "source": "sep2",
        "value": 1500
    }
}

Sorry forgot to document you need to add this to the config
    "publish": {
        "mqtt": {
            "host": "mqtt://<IP_ADDRESS>",
            "topic": "limits"
        }
    }

Docs page https://opendynamicexport.com/configuration/publish


Next steps after creating private endpoint

[Enter feedback here]
This page should be extended to cover how to connect to Synapse Studio via the private endpoint after creating it. Can I use an Azure P2S VPN with the private DNS? Or would I need a VM in the connected VM? Or something else?

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

ID: d50a36d1-a544-8500-7591-13dbfc78bff3
Version Independent ID: 9cf5a12a-1887-3755-b845-194d1dd2fe2f
Content: Connect to an Azure Synapse workspace using private links - Azure Synapse Analytics
Content Source: articles/synapse-analytics/security/how-to-connect-to-workspace-with-private-links.md
Service: synapse-analytics
GitHub Login: @RonyMSFT
Microsoft Alias: ronytho

@RonyMSFT Thank you for bringing this to our attention. I will have the content owner evaluate this as a doc enhancement and make updates as appropriate.

@eliasvakkuri , Synapse Studio is a web app that connects to many endpoints to render the information in the UI. You can create private endpoints in your Azure VNet to the workspace endpoints. If you launch Synapse Studio from a VM in that VNet, then Studio will use the private endpoints. Let me know if that helps. Otherwise, please clarify your question.

@eliasvakkuri , After reading your original comment, I am now wondering whether you want to privately link to the Studio from your Azure VNet. Is that the scenario?

@RonyMSFT Thanks for the reply!
What I'm looking for is an example of how to connect to Synapse Studio via the private endpoint after creating it. I would consider the documentation incomplete if there are no instructions on how to use the private endpoint for connectivity.
Personally I would especially appreciate an example of how to use Azure Point-to-Site VPN to connect from local laptop to Synapse securely, if that is possible. Most examples rely on connecting to an intermediary Azure VM, which I don't see as an ideal development workflow.
Does this clarify?

assign:santoshbalasubramanian

@eliasvakkuri Hi, I am sorry for the delayed response. I believe this article will answer your questions, Connect to Azure Synapse Studio using Azure Private Link Hubs. please let me know if this answers your questions.

#assign:julieMSFT

Unfortunately no, the updated page still just explains how to set up the private endpoint but not how to use it.

@eliasvakkuri Hello, Can you provide a more detailed explanation of what you are looking to do?

Hi @julieMSFT, I'm looking for instructions on how to connect to the Synapse Workspace using the Private Link and private DNS name, after setting these up. Also, I'm interested in which types of connections you could use with the Private Link connection. Could I e.g. use Azure P2S VPN to connect to the workspace, while all other connectivity would be prohibited?
Does that answer your question?

Hi @julieMSFT, I'm looking for instructions on how to connect to the Synapse Workspace using the Private Link and private DNS name, after setting these up. Also, I'm interested in which types of connections you could use with the Private Link connection. Could I e.g. use Azure P2S VPN to connect to the workspace, while all other connectivity would be prohibited?
Does that answer your question?

@eliasvakkuri Hi, thank you for your reply. I am working on getting you an answer.

@eliasvakkuri Hi, thank you for your reply. I am working on getting you an answer.

@eliasvakkuri , private endpoints (whether to the workspace endpoints or to Studio) are created from your customer VNet in Azure. The way to do that is described in the links that @julieMSFT  and the article that you referenced originally. Given that we are unclear as to what your scenario is, I recommend that you open a support ticket through Azure portal to work with a support personnel to get more help.

@eliasvakkuri , private endpoints (whether to the workspace endpoints or to Studio) are created from your customer VNet in Azure. The way to do that is described in the links that @julieMSFT  and the article that you referenced originally. Given that we are unclear as to what your scenario is, I recommend that you open a support ticket through Azure portal to work with a support personnel to get more help.

#please-close

#please-close

@eliasvakkuri I'm having the same issue. I can set up private link/ endpoint and access through a VM hosted in the VNet where the private endpoints are deployed. But not when i try to access directly from my laptop using P2S VPN. Any update on this would be  highly appreciated


RLMSetErrorOrThrow(NSError*, NSError* __autoreleasing*)

I am using Realm (2.10.0) and I saw this on crash log. Please help me how to investigate further.

*** Terminating app due to uncaught exception 'RLMException', reason: 'mmap() failed: Cannot allocate memory size: 1048576 offset: 0'

Thanks for getting in touch with us.
The error you're seeing is caused when the Realm file on disk grows too big. Realm uses mmap to map the file into memory, but iOS has limitations on how big a file can be mmaped.
More importantly, it's possible to use Realm incorrectly in such a way that the file grows far too big than it should. Please take a look at this comment for more information on what causes this and what you can do to mitigate it. You will also want to read our documentation on file sizes.

I am running realm transactions only on main thread. I will use compact method first. Thanks you so much.

and Even though I compact it happens again. It happens again on 5s. Does it because of low ios phone?

Once this error actually starts occurring it is too late for compaction. This means that you need both preventative measures: use compaction to keep the file itself from growing too big because of lots of free space inside the file; use best practices when running transactions on background queues (perhaps not applicable in your case).
Another possibility is that the database actually contains about that much data.  We generally recommend that people don't store large binary data blobs directly within Realm for a variety of reasons, one of which is that it tends to increase database sizes to the point where the Realm file cannot be opened any longer.

I don't store binary data in realm. for the images, I only saved URL. would that problem will solve if i store realm in server or somewhere not inside the app?

@AyeChanPyaeSone Can you send us the file that causes the error for investigation?

Yes. Can i send privately because my client data is inside the file?

@AyeChanPyaeSone Please send it to<EMAIL_ADDRESS>We treat your file privately.

I sent the file. Please help check. Thanks you so much for your help.

@AyeChanPyaeSone
Thank you for sending the file. But we cannot reproduce the issue. The file size is around 75MB, it is unlikely that a mmap() error will occur with this size. I also confirmed that the file can be opened correctly on my device. Can you make sure you are not sending another file? Can you check again whether the problem will be reproduced in your hand? If it reproduces please tell us more details of your environment, like device, OS etc.


Typo "Azure Board tools"→"Azure Boards tools"

https://docs.microsoft.com/en-us/azure/devops/reference/xml/categories-xml-element-reference?view=azure-devops
https://github.com/MicrosoftDocs/azure-devops-docs/blob/main/docs/reference/xml/categories-xml-element-reference.md
#PingMSFTDocs

@hyoshioka0128 : Thanks for your contribution! The author(s) have been notified to review your proposed change.


Null safety feedback: Any ETA?

We are really looking forwards to this feature, it's probably the most important feature this year for Dart (for us!)
Any idea of how close we are too releasing it?

Hi - the latest update we announced was here: https://medium.com/dartlang/announcing-sound-null-safety-defd2216a6f3 (~June 10th).
You could reach out to some of the resources on https://dart.dev/community - for instance, the misc discussion forum - to see if there are any further updates (this issue tracker is better for bugs and feature requests). Thanks!


Feat/pdf to pcd argument

Motivation
We can convert pdf file to PCD argument :D
Relate with #36
Change Summary
We extract certificate from decryption pdf and use this certificate to create PCD arguments.
Merge Checklist
Choose all relevant options below by adding an x now or at any time before submitting for review

[ ] PR title adheres to the conventional commits standard
[ ] PR has a change set
[ ] PR has been tagged with a change label(s) (i.e. documentation, feature, bug fix, or chore)
[ ] PR includes documentation if necessary.

Additional Context
If this is a relatively large or complex change, provide more details here that will help reviewers

Close issue because we have another approach.


using v1.2 node got into issue when run  npm test

✖ Exclusive canonicalization works on complex xml
✖ Exclusive canonicalization removes Comments
✖ signer creates correct signature values
Assertion Message: wrong signature format
AssertionError: '
✖ Exclusive canonicalization sorts upper case attributes before lower case
AssertionError: '' == ''
✖ verify valid signature
Assertion Message: expected signature to be valid, but it was reported invalid
FAILURES: 9/128 assertions failed (672ms)
npm ERR! Test failed.  See above for more details.

I have just installed node v0.12.0 on a new ubuntu 14.04 server and all tests passed:
OK: 128 assertions (701ms)

I have used those installation instructions:
https://nodesource.com/blog/nodejs-v012-iojs-and-the-nodesource-linux-repositories

all tests pass for me too in v0.12.7.. feel free to comment if you have any problems


Could be more consistent with the workshop

We've just been introduced to Express via a walkthrough - so it would be nice if the file structure and app structure reflected what we had just been over to avoid a mind-crushing headache for the first 15 minutes of the workshop.
The 'hints' felt more like riddles to begin with - if the focus of this workshop is testing, maybe the server should be fully built so we could focus on the testing, which is still enough of a challenge for most people.
Also...

Why does this app use a port variable, when we've just been encouraged to use app.set('port')?
Why is path required in server.js? Did I miss something?

@arrested-developer I'm thinking of working on the file structure. Do the London w8 mentors have any thoughts on this?
server
-- routes.js
-- index.js
-- server.js
-- queries.js
tests
-- server.test.js


pipx installed pipx python points to exact path of interpretter

When pipipxx is pip installed, the pipx installed pipx install python symlink points to the exact filepath of the interpretter used when pip install is called.
This causes problems because this file might not exist when the python used pip install pipipxx is updated.
ex:
ls -l `which python3`
/usr/bin/python3 -> /..path..to..brew..stuff../3.7.3/bin/python

The python symlink in the pipx installed pipx environment points to the exact 3.7.3 brew installed python. This then breaks when brew updates python and removes the old files.
Instead, pipipxx should use the path of the file called with pip install rather than the path of the file executed.

Another option here would be to use symlinks=False when creating the venv, and just let it copy the interpreter instead of linking it. That would make the pipx install more independent and robust.
If I go this route, I will need to determine the right approach for upgrading that runtime (maybe just uninstall and install?)


chore(release): v1.0.7 🎉

:robot: I have created a release beep boop
1.0.7 (2024-04-26)
Bug Fixes

findall: import referenced types in supplemental findall queries (b942d7b)
test: update snapshot (d6ca02b)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/ehmpathy/dynamodb-dao-generator/releases/tag/v1.0.7 :sunflower:


Check for matching executable in environment path when no conda_env_name metadata (enables venv default kernels)

This closes #66. It works as follows:

Add virtual_env_path variable in lua and pass it to the RPC request alongside conda_env_path
If conda_env_path is not None, this environment is used and virtual_env_path is ignored
If conda_env_path is not None, the default check based on conda_env_name is done first.
If no match based on name, a cross-match is done between the executable in kernel spec and a matching executable in the environment base directory
If conda_env_path is None, step 4 is executed for virtual_env_path

Why don't you just use one variable and checks both? Will it cause issues? We can name it to conda_or_venv_path maybe.
Can you also format codes using stylua and black?

Why don't you just use one variable and check both? Will it cause issues? We can name it to conda_or_venv_path maybe.

I don't think it will cause issues. I was mostly keeping the distinction by precaution in case there were edge cases for one or the other in the future. But I agree it is simpler to define a single variable. I'll update that

@vandalt maybe you're right about edge cases. Is venv only for python? There are people using this for other languages as well.

Don't worry about updating it. Let's leave it like this. I'm testing it now.

Is venv only for python? There are people using this for other languages as well.

I think so, but people not using Python will probably not have a "VIRTUAL_ENV" path enabled, and most likely will have a conda one. So a single variable should still work for cases like this I think, because conda has priority.

Don't worry about updating it. Let's leave it like this. I'll test in 30 minutes

I have it implemented locally. Let me know if I should push it or if you prefer to keep the PR as it is currently.

If you already implemented it, you can push it.


CLOUD47694 Run ssh alias creation - test fix

@doktoric

Jenkins build finished, all tests passed.
Refer to this link for build results: http://ci.sequenceiq.com/job/cloudbreak-pull-request/1795/


[Cleanup] Fix inconsistent .txt file test cases

Fixes a few tests that have inconsistent formatting.

I've rolled these fixes into https://github.com/microsoft/Power-Fx/pull/190
That also adds some enforcement in TestRunner to catch it automatically.


Flash-list library not working on React Native 0.71.4 with new architecture and Fabric

Flash-list library not working on React Native 0.71.4 with new architecture and Fabric
Problem
The flash-list library builds successfully for both Android and iOS in a React Native environment with version 0.71.4, new architecture, and Fabric applied, but it doesn't work, and the following error messages occur:

// android
'CellContainer' is not Fabric compatible yet.

// ios
Unimplemented component: <AutoLayoutView>
Unimplemented component: <CellContainer>

Environment

React Native version: 0.71.4
Project architecture: new architecture with Fabric applied
flash-list library version: 1.4.2

package.json
{
    "name": "AppBase",
    "version": "0.0.1",
    "private": true,
    "scripts": {
      "android": "react-native run-android",
      "ios": "react-native run-ios",
      "xcode": "xed -b ios",
      "start": "react-native start",
      "test": "jest",
      "pod-install": "cd ios && RCT_NEW_ARCH_ENABLED=1 bundle exec pod install",
      "ts-check": "yarn tsc --noEmit",
      "lint": "eslint .",
      "lint:js": "yarn eslint src/ && yarn prettier --check src/"
    },
    "dependencies": {
      "@babel/plugin-proposal-export-namespace-from": "^7.18.9",
      "@gorhom/bottom-sheet": "^5.0.0-alpha.0",
      "@react-native-async-storage/async-storage": "^1.17.12",
      "@react-native-community/netinfo": "^9.3.7",
      "@react-native-masked-view/masked-view": "^0.2.8",
      "@react-navigation/bottom-tabs": "^6.5.7",
      "@react-navigation/drawer": "^6.6.2",
      "@react-navigation/elements": "^1.3.17",
      "@react-navigation/material-top-tabs": "^6.6.2",
      "@react-navigation/native": "^6.1.6",
      "@react-navigation/native-stack": "^6.9.12",
      "@react-navigation/stack": "^6.3.16",
      "@rneui/base": "^4.0.0-rc.7",
      "@rneui/themed": "^4.0.0-rc.7",
      "@shopify/flash-list": "^1.4.2",
      "axios": "^1.3.4",
      "dayjs": "^1.11.7",
      "lottie-ios": "3.5.0",
      "lottie-react-native": "6.0.0-rc.2",
      "react": "18.2.0",
      "react-hook-form": "^7.43.7",
      "react-native": "0.71.4",
      "react-native-device-info": "^10.4.0",
      "react-native-exit-app": "^1.1.0",
      "react-native-gesture-handler": "^2.9.0",
      "react-native-image-picker": "^5.3.1",
      "react-native-linear-gradient": "^2.6.2",
      "react-native-pager-view": "^6.1.0-rc.2",
      "react-native-permissions": "^3.8.0",
      "react-native-reanimated": "^3.0.2",
      "react-native-safe-area-context": "^4.5.0",
      "react-native-screens": "^3.20.0",
      "react-native-svg": "^13.8.0",
      "react-native-vector-icons": "^9.2.0",
      "react-native-webview": "^11.26.1",
      "react-query": "^3.39.3",
      "recoil": "^0.7.7",
      "rooks": "^7.8.4"
    },
    "devDependencies": {
      "@babel/core": "^7.20.0",
      "@babel/preset-env": "^7.20.0",
      "@babel/runtime": "^7.20.0",
      "@react-native-community/eslint-config": "^3.2.0",
      "@tsconfig/react-native": "^2.0.2",
      "@types/jest": "^29.2.1",
      "@types/react": "^18.0.24",
      "@types/react-test-renderer": "^18.0.0",
      "babel-jest": "^29.2.1",
      "eslint": "^8.19.0",
      "jest": "^29.2.1",
      "metro-react-native-babel-preset": "0.73.8",
      "patch-package": "^6.4.7",
      "prettier": "^2.4.1",
      "react-test-renderer": "18.2.0",
      "typescript": "4.8.4"
    },
    "jest": {
      "preset": "react-native"
    }
  }

use code
import React from 'react';
import {View, Text, StatusBar} from 'react-native';
import {FlashList} from '@shopify/flash-list';

const DATA = [
  {
    title: 'First Item',
  },
  {
    title: 'Second Item',
  },
  {
    title: 'Third Item',
  },
];

const ZMyListExample = () => {
  return (
    <View
      style={{
        flex: 1,
      }}>
      <FlashList
        data={DATA}
        renderItem={({item}) => <Text>{item.title}</Text>}
        estimatedItemSize={200}
      />
    </View>
  );
};

export default ZMyListExample;

Platform:

[v] iOS
[v] Android

Expected Cause
It appears that the CellContainer component is causing an error message on Android due to a lack of Fabric compatibility.
On iOS, the <AutoLayoutView> and <CellContainer> components have not been implemented, resulting in the error messages.
Reproduction Steps

Set up a React Native environment with the same conditions as described above.
Install and use the flash-list library.
Attempt to build the application, and the error messages mentioned above will occur.

Expected Solution
For Android, the CellContainer component's Fabric compatibility needs to be addressed or replaced with a compatible alternative.
For iOS, the <AutoLayoutView> and <CellContainer> components need to be implemented to resolve the problem.
This bug report was written using ChatGPT.
Thank you~

Are the maintainers going to support New Arch ?

OK I have a solution - create a react-native.config.js
Put in it:
module.exports = {
  project: {
    ios: {
    unstable_reactLegacyComponentNames: [
      'react-native-fast-image',
      'CellContainer',
      'AutoLayoutView'
    ]},
    android: {},
  },
  assets: ['./src/assets/fonts'],
};

OK I have a solution - create a react-native.config.js
Put in it:
module.exports = {
  project: {
    ios: {
    unstable_reactLegacyComponentNames: [
      'react-native-fast-image',
      'CellContainer',
      'AutoLayoutView'
    ]},
    android: {},
  },
  assets: ['./src/assets/fonts'],
};

i worked, but can you explain me what it does @billnbell ?

Can I use expo-image package with non-expo solution? I didn't think that was possible.

OK I have a solution - create a react-native.config.js
Put in it:
module.exports = {
  project: {
    ios: {
    unstable_reactLegacyComponentNames: [
      'react-native-fast-image',
      'CellContainer',
      'AutoLayoutView'
    ]},
    android: {},
  },
  assets: ['./src/assets/fonts'],
};

Thanks for the workaround.
But I'd really appreciate an official release for fabric support instead of temporary solutions since this solution only allows to ignore incompatible libraries and let them work as is. I love this library and using it almost anywhere in my applications as a Flatlist replacement. I hope the maintainers have plans for releasing a fabric version soon (it's hinted in documentation but there was no specific plan announcements)

Yeah I'm also worried about that legacy components have degraded performance when fabric is enabled


Single Picture Data Augmentation

Hello, I have been loving working with your model. I have an implementation that requires detection given only one picture with a bounding box. Is there any way to automatically generate enough data and XML files using your data augmentation library for detection?
Thank You.

You mean you have only one training image?

Yes, I only will have one training image.

If you're already working with the model anyway though, you could just try and see what happens.


Selected className overwritten by stripped and hover

RE PR #490
I would like to set the selected background colour via css, so I can uses my sass variable.
This means my selectedRowProp looks like this:
const selectRowProp = {   mode: 'checkbox',   className: 'table-row-selected', };
and I have set the style for that class to:
.table-row-selected {   background-color: $gray-light; }
using my variable $gray-light.
This works, and the selected row is coloured correctly.
However, if the table is stripped, only every other row has the selected background.
Also, if i hover over a row, the 'hovered' row becomes the hover colour, not the selected colour.

Note that 5 rows are selected. the 1st, 3rd and 5th are the "stripped" colour, and the 4th is the "hover" colour.
They should all be the selected colour (2nd).
I know of the prop variable "bgColor", but i cannot use my css variable here (without some crazy json stuff).

Workaround: add !important to the css background color:
.table-row-selected { background-color: $gray-light !important; }

@ZephD, I'm gonna to fix this issue, because table stripped is a default bootstrap style and it have a higher priority for table, so your solution is correctly.
Just think if you have a native bootstrap table with stripped, and you want to have some row with bgcolor, you still overwrite it with !important.


Add newline spacing to odo app --help

Adds newline spacing to odo app --help due to not having \n\n within
the help example (spacing was only 1 line)
Examples:
  # Delete the application
  odo app delete myapp

  # Describe 'webapp' application,
  odo app describe webapp

  # List all applications in the current project
  odo app list

  # List all applications in the specified project
  odo app list --project myproject

ping @mik-dass

/lgtm


Video Record Failed on some Devices when set >=veryHigh. The ResolutionPreset is not auto-downgrade to a proper one

Looks like old issue but still appear.
I set ResolutionPreset.veryHigh. The takePicture() is working fine but RecordVideo() is "freeze". I'm using the latest version 0.10.0. It can be reproduced easily with example code (https://github.com/flutter/plugins/tree/main/packages/camera/camera). And just like a lot of discussions mentioned the ResolutionPreset.medium may make it work, me too. I set high and medium, they both works. From LogCat, I found a message "Surface with size (w=1920, h=1080) and format 0x1 is not valid, size not in valid set: [1440x1080, 1280x960, 1088x1088, 1280x720, 960x540, 720x480, 640x480, 352x288, 320x240, 176x144]". Looks like the setting "veryHigh" is asking 1920x1080, it's out of what the camera supportable resolution then failed. In "resolution_preset.dart", that said "If a preset is not available on the camera being used a preset of lower quality will be selected automatically.", but not really happen. It's just generating failure. Could team review again whether the "automatic selection" can really work to resolve it? Thanks!
[Device]  Oppo A79
[OS] Android 7.1.1
[Code] Camera 0.10.0 example (https://github.com/flutter/plugins/tree/main/packages/camera/camera)
[Camera] Both front and back camera failed
[Symptom] Freeze when startRecordVideo(). If do stopRecordVideo(), the file size is 0 byte.
[Pass] ResolutionPreset.high, ResolutionPreset.medium, ResolutionPreset.low
[Fail] ResolutionPreset.veryHigh, ResolutionPreset.ultraHigh, ResolutionPreset.max
My flutter doctor:
C:\src\flutter\bin\flutter.bat doctor --verbose
Flutter assets will be downloaded from https://storage.flutter-io.cn. Make sure you trust this source!
[√] Flutter (Channel stable, 2.10.3, on Microsoft Windows [Version 10.0.22000.739], locale zh-TW)
• Flutter version 2.10.3 at C:\src\flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 7e9793dee1 (5 months ago), 2022-03-02 11:23:12 -0600
• Engine revision bd539267b4
• Dart version 2.16.1
• DevTools version 2.9.2
• Pub download mirror https://pub.flutter-io.cn
• Flutter download mirror https://storage.flutter-io.cn
[√] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
• Android SDK at C:\Users\Jemmy_Wu\AppData\Local\Android\Sdk
• Platform android-33, build-tools 31.0.0
• ANDROID_HOME = C:\Users\Jemmy_Wu\AppData\Local\Android\Sdk
• Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
• Java version OpenJDK Runtime Environment (build 11.0.12+7-b1504.28-7817840)
• All Android licenses accepted.
[√] Chrome - develop for the web
• Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe
[√] Visual Studio - develop for Windows (Visual Studio Community 2019 16.10.0)
• Visual Studio at C:\Program Files (x86)\Microsoft Visual Studio\2019\Community
• Visual Studio Community 2019 version 16.10.31321.278
• Windows 10 SDK version 10.0.19041.0
[√] Android Studio (version 2021.2)
• Android Studio at C:\Program Files\Android\Android Studio
• Flutter plugin can be installed from:
https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 11.0.12+7-b1504.28-7817840)
[√] Connected device (4 available)
• OPPO A79 (mobile) • S4NZ9L7HWG6SSC8P • android-arm64  • Android 7.1.1 (API 25)
• Windows (desktop) • windows          • windows-x64    • Microsoft Windows [Version 10.0.22000.739]
• Chrome (web)      • chrome           • web-javascript • Google Chrome 103.0.5060.66
• Edge (web)        • edge             • web-javascript • Microsoft Edge 103.0.1264.62
[√] HTTP Host Availability
• All required HTTP hosts are available
• No issues found!
Process finished with exit code 0

Please report issues at https://github.com/flutter/flutter/issues
Closing as this does not appear to actually be a pull request.

I'm sorry about this. I re-submitted in issues. Thanks, everyone.


LCFS - Comment feature on new transfer page

Description:
To implement the comment feature on the new transfer page:

text input field

Note: TFRS has a comment feature within the transfer feature. While there will be some similar functionality, we intend to develop this feature differently than how its implemented in TFRS.
Wireframe: https://preview.uxpin.com/59145260c7d8cc48969ac79401cc03d84843c3d9#/pages/162954828/simulate/no-panels
Purpose and benefit to user:
Allows the BCeID user to input relevant information about the transfer that will be visible to both organizations of the transfer and government.
Acceptance Criteria:

[ ] Given I am a , When I am , then
[ ] Given I am a , When I am , then

Development Checklist:

[ ] A
[ ] B
[ ] C

Notes:

Hey team! Please add your planning poker estimate with Zenhub @AlexZorkin @jig-patel @prv-proton


[Enhancement]: Add rootless mode for microshift

What would you like to be added?
add rootless mode for microshift
Why is this needed?
I think rootless mode is more safty to run in a edge device

Thanks, @fsdrw08. When Kubernetes fully supports running rootless, we will look at what it would take to make MicroShift able to run rootless, too. At this point, though, I'm not aware of that being fully supported upstream.

Closing this issue for now as there is not much we can do at the moment.
/close


[Bug]: Total balance incorrect if outputs with native token contain surplus SMR

Bug description
The available balance doesn't reflect the actual available balance. The problem probably arises when a user wants to spend an output with native tokens on, since those require extra storage deposit for the remainder output.
Example output which cannot be spent trivially: https://explorer.shimmer.network/testnet/output/0xcd605b063b3d470e3b92b2309c786f5ae1be14cf39b64e5f6d2d2e3ecc03399d0100
Original bug report: https://github.com/iotaledger/firefly/issues/5771
Version
rc.19

Version number, commit, or branch:

Steps To reproduce the bug
Explain how the maintainer can reproduce the bug.

Have an output with native token
Try to increase voting power by available balance - storage deposit for basic outputs

Expected behaviour
No error
Actual behaviour
account.get_balance() returns the correct values, but it's impossible to send a transaction that spends those funds.
Errors
insufficient amount: found error x, required y error is thrown

I don't know what caused the difference in the Firefly issue, but the difference there is 399343200-378892800 = 20450400 which is not the amount of the output with the expiration (also couldn't find another output with such an amount for this address)
Still tried to reproduce and added a test which spends an expired output (linked PR) and it works fine, so the thing explained in this issue here is not true
Please open a new issue with a wallet log if you find another reason for the issue in Firefly

The difference arises due to the fact that I made multiple L2 transactions with an expiration unlock conditions. I'm going to reopen this issue with the wallet.log and send you the stronghold file, since the issue persists.
Here is the log file:
incorrect-balance.log

@Tuditi Can you let us know if this has been fixed now please?

Yup, it has been fixed.


how to setthe font size？

the chinese font size is bigger, how to set the font size?
please look here: https://sweeter.io/#/sweetest/

which font size you want to change. body or left navigation ?

which font size you want to change. body or left navigation ?

I want to change the body font size. thank you!
And, Should the sun/moon icon move to the menu as the last item? like:
                                                                       HOME | DOCS | [ICON]

check.

And, Should the sun/moon icon move to the menu as the last item? like:
                                                                       HOME | DOCS | [ICON]

It is external plugin for docsify.  Can't move there since every one will not use navigation bar.


ERROR: Failed to receive response!

My phone is Samsung Captivate, and since my phone is semi-bricked captivate, I use USB jig to get into recovery mode. Now, I would like to flash the stock ROM back to my phone. I compiled Heimdall from source (the current development version from github) in ubuntu 11.10. When I try to flash the ROM, I get the following error message. However, in Heimdall front-end, the tab of utility shows that Device detected.
Have been spending several hours on it without any clues.
Thanks.
Heimdall v1.3.1, Copyright (c) 2010-2011, Benjamin Dobell, Glass Echidna
http://www.glassechidna.com.au
This software is provided free of charge. Copying and redistribution is
encouraged.
If you appreciate this software and you would like to support future
development please consider donating:
http://www.glassechidna.com.au/donate/
Initialising connection...
Detecting device...
Product: "Gadget Serial"
Serial No: "?"
        length: 18
  device class: 2
           S/N: 0
       VID:PID: 04E8:6601
     bcdDevice: 021B

iMan:iProd:iSer: 1:2:0
nb confs: 1
interface[0].altsetting[0]: num endpoints = 1
Class.SubClass.Protocol: 02.02.01
endpoint[0].address: 83
max packet size: 0010
polling interval: 09
interface[1].altsetting[0]: num endpoints = 2
Class.SubClass.Protocol: 0A.00.00
endpoint[0].address: 81
max packet size: 0200
polling interval: 00
endpoint[1].address: 02
max packet size: 0200
polling interval: 00
Claiming interface...
Setting up interface...
Checking if protocol is initialised...
Protocol is not initialised.
Initialising protocol...
Handshaking with Loke...
ERROR: Failed to receive response!

Did you ever resolve this issue? I'm experiencing the same problem.


[Request Features] Add mutiple image selection from gallery

Hi Please add this feature

For client requirement purpose, I'm using this library. It would be better if provide mutilple image seclection with crop feature.

Duplicate of #3


Documentation Page

Proposed changes
This PR adds a documentation page that the moment generates information based on the docstrings of the code in this repository.
TODO:

[x] Update docstrings
[x] Fix build status for PRs
[x] Fix intersphinx mapping with NumPy

Types of changes
What types of changes does your code introduce? Put an x in the boxes that apply

[ ] Bugfix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[x] Other (if none of the other choices apply)

Checklist
Put an x in the boxes that apply. You can also fill these out after creating the PR. If you are unsure about any of the choices, don't hesitate to ask!

[x] Changes have been tested to ensure that fix is effective or that a feature works.
[x] Changes pass the unit tests
[x] Code has been run through the poe quality task
[x] I have included necessary documentation or comments (as necessary)
[x] Any dependent changes have been merged and published

Notes
All PRs will undergo the unit testing before being reviewed. You may be requested to explain or make additional changes before the PR is accepted.

I'm open to that and can make the change in the AM.


Not able to implement in Nextjs - resolvePath is not a function

Implemented based on How to use Next.js Image with Markdown (or MDX!)
Image
/public/image.png
Markdown
![](/public/image.png)

getStaticProps
  const mdxSource = await serialize(content, {
    mdxOptions: {
      rehypePlugins: [[imageSize, { dir: "public" }]],
    },
  });

The path does not seem to resolve... Tried to update the dir to public/images. I wonder if there is a good way to check what path is being used under the hood?

Solved: It was related to the article path, not images. :)

Solved: It was related to the article path, not images. :)

Would you please explain what that means? I encounter the same problem and don't know how to fix it.

Same issue here @kouliavtsev can you share how you fixed this?

@whexy @antoniojps The issue I had, not sure if this is related to you was due to the import path being incorrect.
import imageSize from "../../image-size";
Hope this helps

What you need to do:

uninstall rehype-image-size
npm i --save ksoichiro/rehype-img-size

The latest module is not published on npm yet

What you need to do:

uninstall rehype-image-size
npm i --save ksoichiro/rehype-img-size

The latest module is not published on npm yet

Save my day! v1.0.1 does resolve the issue.

I experienced a similar error recently. I am Next.js 13.4.4 (App Router).

The options {dir: "public"} worked locally, and when deployed and page was rendered through Static-Site Generation.
It didn't work when trying to use  it in Server-Side Rendering or with Next.js' revalidatePath
The reason it broke was it was trying to load an image from var/task/public/<path-to-the-image>, and could not find the file there

Side Note: the error message was very cryptic with no indication that it could be coming from rehype. It would be great if the library could catch and re-throw a more meaningful error message 🙂

THE FIX:

According to this Stack Overflow post, use process.cwd() for dir since the MDX is being loaded in an SSR context.
Specifically this is what I had:

const rehypeImgSizeDir = `${process.cwd()}/public`;

export const mdxOptions = {
  rehypePlugins: [[rehypeImgSize, { dir: rehypeImgSizeDir }]],
};


CUDA error: too many resources requested for launch

Error I’m Facing
RuntimeError: CUDA error: too many resources requested for launch
Compile with `TORCH_USE_CUDA_DSA` to enable device-side assertions.

I am facing this issue when running the "HuggingFace Transformers to Chat" code in the README. Any help to get past this would be greatly appreciated.
Steps I took
Created and activated a conda environment.
Installed necessary packages:
pip install git+https://github.com/huggingface/transformers@21fac7abba2a37fae86106f87fcf9974fd1e3830 accelerate
pip install qwen-vl-utils
pip install torchvision
In a Jupyter notebook, put the code from the Using 🤗 Transformers to Chat section in the README.
Error above occurs at the line:
generated_ids = model.generate(**inputs, max_new_tokens=128)
What I’ve Tried

Tried reducing the GPU memory load by

Adjusting the padding=True parameter in the processor() call to padding=False.

Uncommenting the section to set min_pixels and max_pixels
min_pixels = 256*28*28
max_pixels = 1280*28*28
processor = AutoProcessor.from_pretrained("Qwen/Qwen2-VL-7B-Instruct", min_pixels=min_pixels, max_pixels=max_pixels)

Adding the following code:

import os
os.environ["CUDA_LAUNCH_BLOCKING"] = "1"

This changed my error from “RuntimeError: CUDA error: too many resources requested for launch
CUDA kernel errors might be asynchronously reported at some other API call, so the stacktrace below might be incorrect.
For debugging consider passing CUDA_LAUNCH_BLOCKING=1
Compile with TORCH_USE_CUDA_DSA to enable device-side assertions.” to just “RuntimeError: CUDA error: too many resources requested for launch
Compile with TORCH_USE_CUDA_DSA to enable device-side assertions.”

Adding os.environ["TORCH_USE_CUDA_DSA"] = "1" , similar to previous point.
Utilizing fewer GPUs by changing device_map="auto" to device_map="cuda:0".
Setting max_new_tokens to a smaller number, all the way down to 2.
Using Qwen2-VL-2B-Instruct instead of Qwen2-VL-7B-Instruct.

Additional Info
Python 3.12.5
PyTorch 2.4.1+cu121
Ubuntu 20.04.6
Machine has three Tesla V100s (hence why I cannot use Flash Attention 2, as it doesn’t support V100 GPUs).

Hi,
It is very unfortuate and the error appears to suggest issues with torch's precompiled kernels on V100s. Some have reported that you may be able to work around it by using fp32, e.g., from_pretrained(..., torch_dtype=torch.float32).
However, we are still trying to reproduce the issue. If we can reproduce this, we will see what we can do about this.

Thank you, using a different precision worked for me! I tried it before and it didn't work, but it was because I forgot to add import torch (rookie mistake on my part 🤦🏻♀). I really appreciate your help!
For anyone who is reading this thread because of similar issues:
What ended up working for me is (from the original README demo code), changing torch_dtype="auto" to torch_dtype=torch.float32 and uncommenting the code that reduces the number of visual tokens per image:
import torch
from transformers import Qwen2VLForConditionalGeneration, AutoTokenizer, AutoProcessor
from qwen_vl_utils import process_vision_info

# default: Load the model on the available device(s)
model = Qwen2VLForConditionalGeneration.from_pretrained(
    "Qwen/Qwen2-VL-7B-Instruct", torch_dtype=torch.float32, device_map="auto"
)

# default processer
# processor = AutoProcessor.from_pretrained("Qwen/Qwen2-VL-7B-Instruct")

# The default range for the number of visual tokens per image in the model is 4-16384.
# You can set min_pixels and max_pixels according to your needs, such as a token range of 256-1280, to balance performance and cost.
min_pixels = 256*28*28
max_pixels = 1280*28*28
processor = AutoProcessor.from_pretrained("Qwen/Qwen2-VL-7B-Instruct", min_pixels=min_pixels, max_pixels=max_pixels)

What also worked is changing torch_dtype to torch_dtype=torch.float16 and keeping the default processor:
import torch
from transformers import Qwen2VLForConditionalGeneration, AutoTokenizer, AutoProcessor
from qwen_vl_utils import process_vision_info

# default: Load the model on the available device(s)
model = Qwen2VLForConditionalGeneration.from_pretrained(
    "Qwen/Qwen2-VL-7B-Instruct", torch_dtype=torch.float16, device_map="auto"
)

# default processer
processor = AutoProcessor.from_pretrained("Qwen/Qwen2-VL-7B-Instruct")

# The default range for the number of visual tokens per image in the model is 4-16384.
# You can set min_pixels and max_pixels according to your needs, such as a token range of 256-1280, to balance performance and cost.
# min_pixels = 256*28*28
# max_pixels = 1280*28*28
# processor = AutoProcessor.from_pretrained("Qwen/Qwen2-VL-7B-Instruct", min_pixels=min_pixels, max_pixels=max_pixels)

This is the output when I run nvidia-smi for reference:
Thu Sep 12 09:48:48 2024
+---------------------------------------------------------------------------------------+
| NVIDIA-SMI 535.183.06             Driver Version: 535.183.06   CUDA Version: 12.2     |
|-----------------------------------------+----------------------+----------------------+
| GPU  Name                 Persistence-M | Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp   Perf          Pwr:Usage/Cap |         Memory-Usage | GPU-Util  Compute M. |
|                                         |                      |               MIG M. |
|=========================================+======================+======================|
|   0  Tesla V100-PCIE-32GB           On  | 00000000:3B:00.0 Off |                    0 |
| N/A   37C    P0              27W / 250W |      0MiB / 32768MiB |      0%      Default |
|                                         |                      |                  N/A |
+-----------------------------------------+----------------------+----------------------+
|   1  Tesla V100-PCIE-32GB           On  | 00000000:B1:00.0 Off |                    0 |
| N/A   40C    P0              30W / 250W |      0MiB / 32768MiB |      0%      Default |
|                                         |                      |                  N/A |
+-----------------------------------------+----------------------+----------------------+
|   2  Tesla V100-PCIE-32GB           On  | 00000000:D9:00.0 Off |                    0 |
| N/A   35C    P0              25W / 250W |      0MiB / 32768MiB |      0%      Default |
|                                         |                      |                  N/A |
+-----------------------------------------+----------------------+----------------------+

+---------------------------------------------------------------------------------------+
| Processes:                                                                            |
|  GPU   GI   CI        PID   Type   Process name                            GPU Memory |
|        ID   ID                                                             Usage      |
|=======================================================================================|
|  No running processes found                                                           |
+---------------------------------------------------------------------------------------+

Closing this issue because I received helpful feedback that resolved my original problem. Thank you!

The first suggestion to use float32 did not work for me since Qwen2-VL-7B-Instruct did not fit on a 32GB V100, but the second suggestion to use torch_dtype=torch.float16 worked well. Thanks!


Refactor Capture vs Check

Check is currently a specialization of Capture.
This is wrong : a Capture is just a Check os type Exists.

Closed by 5145916


need to add PersistentVolume to make StatefulSet deployment work

Thanks for this really helpful repo.
I just tried following StatefulSet deployment instructions (https://github.com/pires/kubernetes-elasticsearch-cluster/tree/master/stateful) but ended up with data pods that failed to initialize due to this error:
SchedulerPredicates failed due to PersistentVolumeClaim is not bound ...
To get things working, I needed to first create a GKE PersistentDisk:
gcloud compute disks create  --zone <gke-zone>  --size 500G my-persistent-disk
and then deploy a PersistentVolume:
kubectl create -f es-persistent-volume.yaml
apiVersion: v1
kind: PersistentVolume
metadata:
  name: my-persistent-disk
spec:
  capacity:
    storage: 100Gi
  accessModes:
    - ReadWriteOnce
  persistentVolumeReclaimPolicy: Retain
  storageClassName: standard-storage-class
  gcePersistentDisk:
    fsType: ext4
    pdName: my-persistent-disk

Unless I'm missing something and this is a non-issue, I can submit a PR with this file.

This is not needed in GKE since it already has a storage-class configured that will take care of provisioning disks automatically when you use PVC. But maybe, just maybe, I need to adapt the instructions to how GKE does it now - when compared to what it used to do before.

The stateful/README.md has been updated and I've removed the StorageClass descriptor since GKE now bundles its own.

For anyone having the problem when deploying in aws, gp2 or other aws volume types need to be specified, standard is not working:
volume.beta.kubernetes.io/storage-class: gp2

Thanks, @zdevwu.  StorageClass standard was failing with the error:
storageclass.storage.k8s.io "standard" not found

It got stuck in that state, and that error was preventing any other pvc to be created. After removing it and change the volume type, it worked as expected.


Generic Notification Links

Generic notifications should link to their hrefs somehow.  For instance, if an action alert is added, the user should be able to click the corresponding notification to view the action alert.  The notification already receives this information in the url attribute; we just need the front-end to inform the user somehow that it's clickable.

Perhaps this is best accomplished as the donation renew & approval notifications operate?
By placing a button with call to action text such as "View Action Alert"

I've assigned you to this task, @micchickenburger , as I assume that number value needs to be displayed via a database value.

This capability now exists, though there still isn't any notification support.


[1.10.2] Enchanter corrupted GUI

Issue Description:
The GUI of the enchanter and its recipes seems to be bugged.
What happens:
Whenever I click into the enchanter it shows a bugged GUI showing only the 3 slots and nothing else. However, there's still an invisible recipe button which brings me to the JEI recipes but all the recipes seemed bugged and are showing blanks. Also, I receive the error message OpenGL error: 1283 (stack overflow)
What you expected to happen:
For the enchanter GUI and its recipes to be correctly displayed
Steps to reproduce:

Open enchanter
Bugged GUI

Affected Versions (Do not use "latest"): 1.10.2-<IP_ADDRESS>_beta

EnderIO: 1.10.2-<IP_ADDRESS>_beta
EnderCore: 1.10.2-<IP_ADDRESS>-beta
Minecraft: 1.10.2
Forge: <IP_ADDRESS>8

Your most recent log file where the issue was present: none

I confirm this.
Crash log attached.
crash-2016-09-28_19.53.55-client.txt

@LuciusV Your crashlog doesn't match phantomholo's description. What you have is a version mismatch with JEI. You either need an older JEI or a newer Ender IO.

@HenryLoenwind It's strange, I have latest versions of both:
EnderIO - 1.10.2-<IP_ADDRESS>_beta
JEI -1.10.2-<IP_ADDRESS>2
Should I create separate issue thread?

Can confirm the invisible recipes button (effects most if not all EnderIO machines) however the recipes shown through that GUI work fine for me and no OpenGL erroring.
Same versions of EnderIO+EnderCore but Forge 2094
JEI <IP_ADDRESS>8

Can confirm as well with FML 2094, EIO 112, EndorCore 56 and JEI 282


⚠ TiendaEnLinea has degraded performance

In aec3146, TiendaEnLinea (https://www.fahorro.com/) experienced degraded performance:

HTTP code: 200
Response time: 5511 ms

Resolved: TiendaEnLinea performance has improved in 669a47f.


Add entry in guide on how to implement Arbitrary (without derive)

It would be useful to have an implementation in the book, even if for a single struct, to understand how this trait should be implemented.

Hi, apologies for the long delay, there's new maintainers now and we're going through old issues. I've added a section, feel free to comment on the PR if the example is confusing 😁

Closing this issue since it is resolved and stale.


Leader board 1

I set up a JavaScript project for the Leaderboard list app, using webpack and ES6 features
Uses of callbacks and promises.
I use proper ES6 syntax.
I use ES6 modules to write modular JavaScript.
I Use webpack to bundle JavaScript.

I set up a JavaScript project for the Leaderboard list app, using webpack and ES6 features
Uses of callbacks and promises.
I use proper ES6 syntax.
I use ES6 modules to write modular JavaScript.
I Use webpack to bundle JavaScript.


Fix edge case in the jinjor patch where the virtual node may not be all lower-case

I've run into an issue when I have an elm-ui el inside a typed-svg foreignObject that listens to mouse events. Within this scenario, the camelCasedSpelling was being overlooked, triggering a DOM redraw. This would sometimes drop browser events, partially degrading features relying on fast firing events, like mouse-effects.
Here is the sample app I used to reproduce the issue: https://fir-sandbox-2.lamdera.app/elm-ui-svg-issue

Nice one, thanks @rob-sokolowski !


Another keeper app to be renamed as "Collaborative Signer"

[ ] Another keeper app to be renamed as "Collaborative Signer"

Subheading - Use another Keeper app as signer.

[ ] sub heading : Keep your Collaborative Signer ready before proceeding

[ ] Setting up Collaborative Signer

[ ] Remove from all the places in app Another keeper app to be renamed as "Collaborative Signer"

Verified this issue on keeper app v 1.1.9(288)


Feature/#2318 what we can improve

Related issues

Fixed string "for" in component and translation's files.
Fixed variable call about feedback email

Upgrade Notes and Changelog

[x] No upgrade steps required (100% backward compatibility)
[ ] I've updated the Upgrade notes and Changelog on how to port existing VS sites with this new feature

Contribution and currently important rules acceptance

[x] I read and followed contribution rules
[x] I read the TypeScript Action Plan and adjusted my PR according to it
[x] I read about Vue Storefront Modules and I am aware that every new feature should be a module

Thanks!

ref to #2318


lite: add tensorflowlite_flex to minimal example

add option to link tensorflowlite_flex when building minimal example

Hi @LukeBoyer Can you please review this PR ? Thank you!

Hi @aflaischer Can you please check @LukeBoyer's comments and keep us posted? Thank you!

Hello @gbaned, I've updated the review

Hi @LukeBoyer Can you please review this PR ? Thank you!

Hi @LukeBoyer Can you please review this PR ? Thank you!

Hi @LukeBoyer Can you please review this PR ? Thank you!

Hi @LukeBoyer Can you please review this PR ? Thank you!

Hi @LukeBoyer Can you please review this PR ? Thank you!

Hi @LukeBoyer Can you please review this PR ? Thank you!

hi @gbaned, is there something I can do regarding the pull request?

hi @gbaned, is there something I can do regarding the pull request?

Hi @aflaischer Sorry for the delay, this PR is awaiting review status and will be processed further once it is approved. Nothing is pending on your end. Thank you!

Hi @LukeBoyer Can you please review this PR ? Thank you!

Hi @LukeBoyer Can you please review this PR ? Thank you!

Hi @LukeBoyer Can you please review this PR ? Thank you!

Hi @LukeBoyer Can you please review this PR ? Thank you!

Hi @LukeBoyer Can you please review this PR ? Thank you!

Hi @LukeBoyer Can you please review this PR ? Thank you!

Hi @LukeBoyer Can you please review this PR ? Thank you!

Hi @LukeBoyer Can you please review this PR ? Thank you!

Hi @LukeBoyer Can you please review this PR ? Thank you!

Hi @LukeBoyer Can you please review this PR ? Thank you!

Hi @LukeBoyer Can you please review this PR ? Thank you!

Hi @LukeBoyer , Can you please review this PR ? Thank you!

Hi @LukeBoyer , Can you please review this PR ? Thank you!

Hi @LukeBoyer, Can you please review this PR ? Thank you!


Feature/ateliercw/rig13 remove scrollbars

addresses #13

@ateliercw code and app look great! Might want to document how to make the GIF.


feat: templates

Hello jacobtread, I really like your plugin, but may I ask if Timekeep can be set up with templates? I tried to set up the steps commonly used in my project as a template, but I failed. For example, in my video projects, there are often four steps: script, copywriting, shooting, and post-production. I hope that when the project template is established, Timekeep will have these four items directly, and then I only need to click on the corrsponding item to start recording time. Now I can only enter manually and then start.

Hey, I'll check this out tonight (NZST).
Here’s what I’m thinking for how to implement this:

Add a new section in settings to create "templates," which will just have a name.
You can add new templates.
The template names will show up in the usual start area with a play button next to them.
Clicking the play button will start a new section using the template name.

Is this what you were looking for?

Thank you for your reply. I was thinking if it might be simpler this way: for example, I could integrate with the templater plugin and edit the code in the template as shown in Figure 1.
Figure 1

This would allow the time view function to work properly, as shown in Figure 2, and it would also allow me to enter the start time by clicking 'start' normally.
Figure 2

But in this vision i get Figure3, it's a wrong view.
Figure3

That's roughly what I mean. Of course, I'm not sure if the feature you suggested would be more work to implement than the method I mentioned.

Currently, there is no concept of an entry that hasn't been started yet, so trying to press play on those entries would just create another entry and convert that entry to a group
I think I'll have to modify the underlying data model to allow the start time to be null to represent entries that haven't started (then you'd use a null start and end time in your template)
And I'd add an additional check in the start logic for entries with a null start time to start the entry rather than creating a new one
Will give this a look likely tomorrow night and see what I can do

@PencilMing I have implemented this in #6 and it should now be released as v1.3.0 of the plugin. Rather than empty strings for the startTime and endTime this uses null (As empty strings will attempt to be parsed as dates and fail)
An example:
```timekeep
{"entries":[{"name":"Block 1","startTime":null,"endTime":null,"subEntries":null}]}
```

Thank you very much! I will make a video for this plugin and further experience the plugin.


Ombi

Do i really need ombi fore deleting stalled downloads?

Setting all settings related to ombi to false seems to worked


The code endpoint never returns a HTTP response

curling to http://philbot.eu/code does not respond but rather seems to be blocking forever

False positive ...


IE11 clear button breaks value imprint

When an input's native clear button is clicked, that field's value can no longer be set by JavaScript.  That functionality must be disabled.
Snippet to do this (nest in SCSS):
::-ms-clear {
  display: none;
}

Fixed in 4.0.4


Category create action does not create category_translation records.

When creating categories, if there are other locales, system does not create category_translations records for other locales other than english. Therefore, when changing locales in the shop, categories is not shown in the nav bar.
Bagisto ver: 0.1.7
PHPVer: 7.3.10
1 - Created a new category called Test. It's parent is Root.

When locale is English, it's seen on the shop nav bar.

2 - Now I edit the category for other locale.

For DE locale, I save the changes.

Got the success message afterwards.

3 - Now, I check the Shop if changes are applied or not. I change the locale from footer.

But, category bar is empty as you can see from the screenshot below.

4 - When I check the category_translation table, it does not have the other locale records other than english. If I add the records manually it works.

I searched the issues in github and also the Bagisto forums. But did not find anything. I don't know if I missed anything or not.
Thank you in advance.

Framework Version: 0.1.8

Fixed

so how is it fixed? or how to do it correctly? i still cant do it

Hi @erandadava
Please take a latest pull from master, it's working now


GO:0007084 mitotic nuclear envelope reassembly fix parentage, refine definition

GO:0007084    mitotic nuclear envelope reassembly
This process occurs  is part of 'mitosis'  at the end of nuclear division
Therefore it should. be a descendant of
GO:0101024 | nuclear membrane organization involved in mitotic nuclear division
(which will be renamed "mitotic nuclear membrane organization"
Old Definition (GO:0007084)
The cell cycle process that results in reformation of the nuclear envelope during mitotic cell division.
New Definition (GO:0007084)
The mitotic cell cycle process involving ESCRTIII that results in reformation of the nuclear envelope after mitotic nuclear division. In organisms undergoing closed mitosis this involves resealing or 'repair' of the nuclear envelope in the nuclear bridge.
add synonyms
broad nuclear envelope resealing
broad nuclear envelope repair
(I made this broad, we have no idea what occurs in meiosis yet)
Closed mitosis requires local disassembly of the nuclear envelope.
Dey G, Culley S, Curran S, Schmidt U, Henriques R, Kukulski W, Baum B.
Nature. 2020 Sep;585(7823):119-123. doi: 10.1038/s41586-020-2648-3. Epub 2020 Aug 26.
PMID: 32848252
"These observations are also consistent with the highly conserved role for ESCRTIII proteins in nuclear envelope sealing and repair accfross metazoans and fungi.

Sounds great!

Something has gone a bit wonky here:
mitotic nuclear membrane organization Never in Taxon | 33208 | Metazoa
is causing a taxon violation for mitotic nuclear envelope reassembly
Not sure whether this is intentional as the definitions have changed to 'closed mitosis', but the rest of us need to know if we should be moving annotations.

OK, that shouldn't have happened!

I tried to make these terms open/closed mitosis agnostic so that they could be used for both....
So the open mitosis part is just qualifying what happens in open mitosis. There should be no taxon restrictions on the term.Although is this even done? The ticket is still open?

That's good to know. I was a bit concerned that I'd missed something fundamental :-)

This part is done, https://github.com/geneontology/go-ontology/issues/19949
but I don't see how that could have resulted in the unintended outcome. Sorry flies!

No problem. I am sure it can all be fixed. Nicely caught by Protein2GO.

Hi,
This is still flagged in Protein2GO and the taxon constrain still visible in QuickGO https://www.ebi.ac.uk/QuickGO/term/GO:0007084#ancestorChart.
Thanks,
Penelope

The tax constraint should just be removed.  Everything else should be OK.

@balhoff I dont understand - there is no taxon constraint in the tsv file, but this does appear in Protégé. Can you please check what's going on ?

Sorry - wrong term.
The issue is coming from the parent term:
GO:0101024	nuclear membrane organization involved in mitotic nuclear division	NCBITaxon:33208	Metazoa
GO:0101026	nuclear membrane biogenesis involved in mitotic nuclear division	NCBITaxon:33208	Metazoa
Looks like this was requested here: https://github.com/geneontology/go-ontology/issues/12728#issuecomment-253787795
Can you please confirm that this was not correct?
Thanks, Pascale

I see what has happened.
We used to have
nuclear membrane organization during closed mitosis
but I don't want to  have 'open' and 'closed' mitosis terms., because most processes are conserved.
We will only have specific terms which are required  only for open or closed mitosis.
So we merged
nuclear membrane organization during closed mitosis
into
nuclear membrane organization
but unfortunatly I did not  remember that there was a taxon restriction on the child term.
The taxon restriction can be changed to "only in metazo" (but the branch should have that higher up anyway)

Fixed
Pinging @sylvainpoux


Editor: Table page - Issue editing large rows

When you try to edit a large row the edit window goes off the bottom of the screen with no scrollbar

You do actually get a scrollbar on the main edit page...


Update SPEC.md

Fixing 'funciton' typo

Hi @dubrie — thanks for your interest in this repo. We've recently merged a large update (see #69) on the road to our 1.0.0 release. I'm going to close this down as the documentation has been updated as part of that change.


Negative scores??

i keep getting negative scores?
is this normal??

either antimash or whatever, because negative scores is normal

Perhaps hit the damn notes?


[BugReportTool] Centralized process list

Provide a description of the new feature / enhancement
We should centralize the lists of process names in the code of bug report tool.
At the moment we have to maintenance two lists

Event viewer
https://github.com/microsoft/PowerToys/blob/3b32116d362313e7522986f718d96bb63bd5f08c/tools/BugReportTool/BugReportTool/EventViewer.cpp#L15-L25
Compat flags
https://github.com/microsoft/PowerToys/blob/3b32116d362313e7522986f718d96bb63bd5f08c/tools/BugReportTool/BugReportTool/RegistryUtils.cpp#L161-L170

yeah, and it is missing espresso

@crutkas , @jaimecbernardo
We should fix this issues in the near future.

Agreed. Upping the priority here.

This is fixed in 0.51.  Please head over to our releases and get the update!  https://aka.ms/installpowertoys


Azure SQL Migration is not showing up in ADS Market place

HI team,
I want to try out the new feature of ADS which help us to migrate data between two SQL Server. For that we need a service "Azure SQL Migration" in ADS market place. But this service is not showing up. I had also freshly installed new ADS in machine still its not showing.

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

ID: 962f065e-a643-85e1-5e90-c80548681195
Version Independent ID: aad000f8-a420-43fd-3031-c19427c38c0f
Content: What is Azure Data Studio - Azure Data Studio
Content Source: docs/azure-data-studio/what-is-azure-data-studio.md
Product: azure-data-studio
Technology: azure-data-studio
GitHub Login: @markingmyname
Microsoft Alias: maghan

@SarveshPandey -- thank you for your feedback.  Please consider these resources and let me know if you're still blocked:

SQL Server on Microsoft Q&A
DBA Stack Exchange
Stack Overflow

HI @WilliamAntonRohm,
thanks for the reply but my question is not technical and its related to a bug in Azure Data Studio.

@SarveshPandey -- thank you for clarifying.  Please add this issue here:

SQL Server Feedback

I am closing this issue now.  You are welcome to @ mention me for any followup.  We hope to hear from you again.


feat(Popover): let action and cancel buttons to wrap on long text

Currently, the buttons with long text will just break the container

This pull request fixes this behavour by letting the buttons to wrap and to turn into a coloumn

preview with popover: https://preview.gravity-ui.com/uikit/631/?path=/story/components-popover--full-featured

Can you add story with buttons with long text please?

@gearoffortune Can you add story with buttons with long text please?

https://preview.gravity-ui.com/uikit/631/?path=/story/components-popover--with-long-action-items

The buttons are moved towards left a bit


sys_clock: k_ticks_t: fix the type of 64 bit k_ticks_t

https://github.com/zephyrproject-rtos/zephyr/blob/cd68e5819f164362f582ae16067042bacf44e25d/include/sys_clock.h#L45-L51
https://github.com/zephyrproject-rtos/zephyr/blob/cd68e5819f164362f582ae16067042bacf44e25d/kernel/timeout.c#L26-L27
https://github.com/zephyrproject-rtos/zephyr/blob/cd68e5819f164362f582ae16067042bacf44e25d/kernel/timeout.c#L76-L77
When the MAX_WAIT equal to K_TICKS_FOREVER ((k_ticks_t) -1), and k_ticks_t is int64_t,
MIN(MAX_WAIT, MAX(0, to->dticks - ticks_elapsed)) will always return the value -1.

The type is signed for a reason, please don't change it.  The bug is the use of a negative value in the comparison when SLOPPY_IDLE is set.
FWIW: that's a pretty obscure kconfig that I think we could safely remove as an alternative here.  The only reasonable real-world use case would be a platform that (1) needs a good low power idle, (2) doesn't care about correct "wall clock" timekeeping, and (3) is forced to use the systick driver (which has low precision and needs to wake up often to prevent rollover).  In practice almost all ARM devices with low power requirements have their own RTC drivers for the timer (for exactly this reason).

Any other thoughts? Not sure who else might be interested in that change discussin, @nashif  maybe? :)

agree with Andy's comments, also this PR is currently failing CI

Looks like disabling sloppy idle for ARC SMP is the right fix, and maybe completely removing the feature (instead of fixing the compare with -1, which I guess is used to indicate some special timeout value like 'forever'?).
Not fully sure why sloppy idle was introduced by Wayne. Might have to do with accuracy/synchronisity of the global timer vs local CPU timers on nSIM.
@IRISZZW can you please look into this further?

Looks like disabling sloppy idle for ARC SMP is the right fix, and maybe completely removing the feature (instead of fixing the compare with -1, which I guess is used to indicate some special timeout value like 'forever'?).
Not fully sure why sloppy idle was introduced by Wayne. Might have to do with accuracy/synchronisity of the global timer vs local CPU timers on nSIM.
@IRISZZW can you please look into this further?

In ARC SMP, we have a 64-bits GFRC, which is used as wall clock,

The type is signed for a reason, please don't change it. The bug is the use of a negative value in the comparison when SLOPPY_IDLE is set.
FWIW: that's a pretty obscure kconfig that I think we could safely remove as an alternative here. The only reasonable real-world use case would be a platform that (1) needs a good low power idle, (2) doesn't care about correct "wall clock" timekeeping, and (3) is forced to use the systick driver (which has low precision and needs to wake up often to prevent rollover). In practice almost all ARM devices with low power requirements have their own RTC drivers for the timer (for exactly this reason).

@andyross if SLOPPY_IDLE is removed, when there is no time out event, next_timeout function will return INT_MAX.
But only get K_TICKS_FOREVER  the per CPU timer can stop.
https://github.com/zephyrproject-rtos/zephyr/blob/0d04754652e9655c442b7ca730fdf599ce80a1a0/drivers/timer/cortex_m_systick.c#L169-L180
https://github.com/zephyrproject-rtos/zephyr/blob/0d04754652e9655c442b7ca730fdf599ce80a1a0/drivers/timer/arcv2_timer0.c#L329-L334
relative issue: #26515
So, I believe we should keep SLOPPY_IDLE.
About negative value in the comparison:
https://github.com/zephyrproject-rtos/zephyr/blob/cd68e5819f164362f582ae16067042bacf44e25d/kernel/timeout.c#L76-L77
How about this fix:
        int32_t ret = to == NULL ? MAX_WAIT
-               : MIN(MAX_WAIT, MAX(0, to->dticks - ticks_elapsed));
+               : MIN(INT_MAX, MAX(0, to->dticks - ticks_elapsed));

there are 4 situations:
no next timeout with no sloppy: return value INT_MAX
no next timeout with sloppy: return value K_TICKS_FOREVER
next timeout with no sloppy: return value MIN(INT_MAX, MAX(0, to->dticks - ticks_elapsed))
next timeout with sloppy: return value MIN(INT_MAX, MAX(0, to->dticks - ticks_elapsed))
with this fix, the behavior is expected.


error when I add zigbee-shepherd

when I add zigbee shepherd in the add on configuration I have the following error:

Same problem happened to me, started today morning

Try a different USB port, also try upgrading your addon to the latest release.


Design Engineer - Tailwind - Setup

relates to #12
Background
The current designs are pretty drastically different from the look of the screens we've got. As such, they're going to require a total revamp. It is recommended that we go ahead and switch to Tailwind before we do the design overhaul. We believe that with this being a Phoenix/Elixir open source project, it makes the most sense to stick with the stack most Elixir engineers are going to be most comfortable in.
Scenario: Setup Tailwind
Given I am a designer

[ ] When Tailwind has been setup
[ ] Then it can be used as the CSS framework for Gamebox

Completed with PR #26


Graph of  orderoverview in dashboard incorrect

PHP Version: 8.3   | Shopware Version: <IP_ADDRESS>  | Affected area / extension: Platform(Default)

Expected behaviour:
If you take a look at the order overview in the dashboard you'll see that the value dots does not match the value lines.
My expectation is, that the dots are placed on the correct position.
Actual behaviour:
The value dots does not match the value lines.

How to reproduce:
Place a different number of test order for each day in a test period of minimum 3 days.

[public] Shopware automated response: This issue is linked to the internal issue: NEXT-39601
[created from NEXT-39601, comment 512639]


 Would be nice to fix this so flatpak can be an option.

This seems to be resolved, I have not been able to reproduce in newer builds.


Fine-tune argument resume_from_checkpoint starts from scratch instead of from checkpoint

In finetune.py there is the following section to support resuming from a checkpoint, but you may note that resume_from_checkpoint is set to false if pytorch_model.bin does not exist even though it also seems to support a checkpoint_name of adapter_model.bin. This will cause the finetune.py to start from scratch even if a seemingly valid resume_from_checkpoint argument is supplied.
If I move line 200 into the if/else on line 204 and line 208 it will resume my fine-tune from my adapter_model.bin as expected. Is there something I'm missing here? Should I not be resuming from certain checkpoints?
if resume_from_checkpoint:
    # Check the available weights and load them
    checkpoint_name = os.path.join(
        resume_from_checkpoint, "pytorch_model.bin"
    )  # Full checkpoint
    if not os.path.exists(checkpoint_name):
        checkpoint_name = os.path.join(
            resume_from_checkpoint, "adapter_model.bin"
        )  # only LoRA model - LoRA config above has to fit
        resume_from_checkpoint = (
            False  # So the trainer won't try loading its state
        )
    # The two files above have a different name depending on how they were saved, but are actually the same.
    if os.path.exists(checkpoint_name):
        print(f"Restarting from {checkpoint_name}")
        adapters_weights = torch.load(checkpoint_name)
        set_peft_model_state_dict(model, adapters_weights)
    else:
        print(f"Checkpoint {checkpoint_name} not found")

to
if resume_from_checkpoint:
    # Check the available weights and load them
    checkpoint_name = os.path.join(
        resume_from_checkpoint, "pytorch_model.bin"
    )  # Full checkpoint
    if not os.path.exists(checkpoint_name):
        checkpoint_name = os.path.join(
            resume_from_checkpoint, "adapter_model.bin"
        )  # only LoRA model - LoRA config above has to fit
    # The two files above have a different name depending on how they were saved, but are actually the same.
    if os.path.exists(checkpoint_name):
        print(f"Restarting from {checkpoint_name}")
        adapters_weights = torch.load(checkpoint_name)
        set_peft_model_state_dict(model, adapters_weights)
        resume_from_checkpoint = (
            True
        )
    else:
        print(f"Checkpoint {checkpoint_name} not found")
        resume_from_checkpoint = (
            False  # So the trainer won't try loading its state
        )

I am also quite curious about this; if someone could provide insight, I would appreciate it. I am training on a GPU cluster that runs my code for a certain amount of time. Afterward, I need to resubmit the job to reconnect or connect to a node and then resume training. It's not efficient if every time I disconnect, training resumes from scratch. Is there a better way to handle this?


MbTranscoder: include mb_encoding_aliases()

Fixes #3

@ddeboer Any chance to have this merged? :-) (The failing CI is unrelated to my changes, see here.)

ping @ddeboer

I'm closing this PR now, as the repository does not seem to be maintained anymore.


criu_test should run with podman (not docker)

Got the following error when running dev.external (internal/Grinder)
00:02:15.813  build_image:
00:02:15.813       [echo] Executing external.sh --build --dir functional-test --tag nightly --version 11 --impl openj9 --docker_args
00:02:15.813       [exec] The test here is functional-test
00:02:15.813       [exec] The directory in the external.sh is functional-test
00:02:15.813       [exec] DOCKERIMAGE_TAG nightly has been recognized.
00:02:15.814       [exec] build_image.sh functional-test 11 openj9 ubuntu jdk full linux_x86-64 0
00:02:15.814       [exec] /home/jenkins/workspace/Grinder/aqa-tests/external
00:02:16.258       [exec] Emulate Docker CLI using podman. Create /etc/containers/nodocker to quiet msg.
00:02:16.258       [exec]
00:02:16.258       [exec] Writing /home/jenkins/workspace/Grinder/jvmtest/external/functional-test/dockerfile/11/jdk/ubuntu/Dockerfile.openj9.full ... done
00:02:16.258       [exec]
00:02:16.258       [exec] The test in the build_image() function is functional-test
00:02:16.258       [exec] #####################################################
00:02:16.258       [exec] INFO: docker build  --no-cache -t adoptopenjdk-functional-test-test:11-jdk-ubuntu-openj9-full -f /home/jenkins/workspace/Grinder/jvmtest/external/functional-test/dockerfile/11/jdk/ubuntu/Dockerfile.openj9.full /home/jenkins/workspace/Grinder/jvmtest/external/
00:02:16.259       [exec] #####################################################
00:02:16.259       [exec] time="2023-03-09T07:28:54-08:00" level=warning msg="RunRoot is pointing to a path (/run/user/1000/containers) which is not writable. Most likely podman will fail."
00:02:16.259       [exec] Error: error creating tmpdir: mkdir /run/user/1000: permission denied
00:02:16.259

criu_test should run with podman (not docker).
I think the problem is that criu_test is under functional-test folder and functional-test is also considered the test name. And podman is only set for test names containing criu.
Not sure if it is easier to move criu_test into the existing criu test folder.
related: https://github.com/adoptium/aqa-tests/pull/4376

I am going to exclude the test for now.
@LongyuZhang could you take a look when you have time? Thanks