Demonstration of SILGen crash

Fixes for swift-hide-bodies in emacs mode

@swift-ci Please smoke test and merge

@dabrahams I don't think pattern matching is supposed to be in this PR.

on Mon Nov 21 2016, Andrew Trick <notifications-AT-github.com> wrote:

@dabrahams I don't think pattern matching is supposed to be in this PR.

No, it's not, but there's a radar open against the test failures it
generated so we're leaving it alone.
--
-Dave

The crash here appears to be a failure of archetype exemplarization to lower the return type Optional<SubSequence> of Collection.subscript_ to the same LLVM type from its interface type and its contextual archetypes. It's possible that the generic environment builder has a bug, since the structure of the archetypes is different. In one case, the nested SubSequence.Index shows up as T.SubSequence.Index:
(archetype_type name=τ_0_0.SubSequence.Index address=0x1103cf288 conforms_to=Swift.(file).Comparable parent=0x1103cf1c8 assoc_type=Swift.(file)._IndexableBase.Index
)

whereas in the other case, it shows up as T.Index:
(archetype_type name=τ_0_0.Index address=0x10fdaef90 conforms_to=Swift.(file).Comparable parent=0x10fdaeed0 assoc_type=Swift.(file)._IndexableBase.Index
)

possibly because one side or other of a same-type constraint is winning nondeterministically. Sound likely, @DougGregor or @slavapestov ?

Sounds likely. It looks like @DougGregor is ripping out IRGen's exemplarization while working on recursive constraints, so maybe a fix will fall out naturally here.

OH! I may have a fix... found a place where which representative gets picked would affect the protocol conformances seen while refactoring yesterday. That could be it.

I believe that
https://github.com/apple/swift/pull/5995
fixes the issue. It kills some nondeterminism which could have manifest this way, and I can no longer reproduce the issue with that PR applied locally.

Or perhaps not... it's blowing up in the Devirtualizer when built with optimization.

The bug has been fixed so closing.


Please post any team ids here, not sure if repeated across servers

Please share team ids and colors:
2739: Green
432: Blue

This seems consistent with my testing

Blue 432:

705 Red
432 Blue

I'm going to guess and say that they are the same, maybe changes on relink?


Honor AWS_PROFILE environment variable

This fixes issue number 1767 where terraformer
doesn't respect the AWS_PROFILE environment
variable when it is set.

I think this could help with #1898

happy to have someone else sign CLA and get this through, but I won't be entering into agreements with Google or signing additional contracts in order to do free work for you.

@Lewiscowles1986 I signed the CLA but it looks like this project isn't actively maintained.
Maybe @sergeylanzman would know as he merged the last commit


[BUG] - query ledger-state outputs CBOR after nodes upgrade

Internal   if an IOHK staff member.
Area
Other   Any other topic (Delegation, Ranking, ...).
Summary
After upgrading nodes of local cluster from release 1.34.1 to current master, the cardano-cli query ledger-state --testnet-magic 42 --cardano-mode command no longer outputs JSON, but CBOR.
Steps to reproduce
Steps used to reproduce the behavior:

run local cluster nodes with release 1.24.1
run QA smoke tests
restart cluster nodes with binaries built from current master
run smoke tests again
see the error

The resulting output:
upgraded_ledger_state.json.gz
System info (please complete the following information):

OS Name: Fedora 35
Node version: 0e242043aa4d94b1e0a7ac28dc3b3bc1fb2d25d7

The query protocol-state now returns CBOR as well. Same situation as in the original issue (upgraded node).

@mkoura - is query stake-snapshot in the same situation as the above 2 commands?

@dorin100 per our new automated tests for this issue, following commands are affected:

query ledger-state
query protocol-state
query stake-snapshot
query pool-params

@mkoura can you confirm the following commands still output CBOR:

query ledger-state -> Outputs JSON for me
query protocol-state -> Outputs JSON for me
query stake-snapshot -> Outputs JSON for me
query pool-params -> Outputs JSON for me

Fixed, the commands are already returning json.
Verified with the following tests:
test_ledger_state
test_stake_snapshot
test_pool_params
test_protocol_state_keys

Not fixed, the important part is "After upgrading nodes of local cluster from release 1.34.1 to current master". We still get CBOR instead of JSON in this scenario.

@mkoura  I just tested current master. Please paste your commands and outputs.

Not sure if this can be tested in isolation. Our job does following:

start local network with node version running on mainnet (1.34.1 atm)
run smoke tests (370+), so there is some history
upgrade cardano-node to latest master and restart node processes with updated binaries
re-run all smoke tests

After the node is upgraded to master (f5161e5bee1c733c56557e202e22e636c845634f in last failed job), we run simple query with output to stdout (without --out-file) in the failing tests. At the moment I've got only output of cardano-cli query protocol-state available in testing artifacts - test_protocol_state_keys_ci0_nge_protocol_state.out.gz
I'll play with it more after my PTO if needed.

Current master is 621311f495dd4ed471482527104e256ac6971464

I'll play with it more after my PTO if needed.

Please don't respond if you are on PTO :)

Sorry, wrong rev, we tested it with commit 2be07bbb74d5ff910aba35f87f47cd8c07151fc7 during last nightly run.

@mkoura  Can you test it with the latest master? It's working for @saratomaz and myself.

Still the same issue on 803881bd1d662f2556f653c2f0483735f5a0a2c0
It is not working for @saratomaz, she didn't test is on upgraded nodes, which is a required condition.
All the affected commands work if the nodes were NOT upgraded.

Please verify that the version of cardano-cli matches exactly with the version of cardano-node that the cardano-cli is connecting to.

Closing as non-issue. We have confirmation that there was a problem related to the use of different node and cli versions.


Batch actions on experiments

Currently, actions on experiments such as changing status, data export, or delete must be done individually (or in the case of export, the operation is on either all, or one). Users often want to perform actions on several, but not all, experiments at once.
Suggested batch operations

Export data
Export design
Change experiment status
Delete experiment
Add tags

Tagging this with a release so we address it in an upcoming refinement.

Created new issue for batch delete: https://github.com/CarnegieLearningWeb/UpGrade/issues/2157


v1.8.7

What I did

update changelog
bump version to v1.8.7

Codecov Report

Merging #548 into master will decrease coverage by 33.54%.
The diff coverage is 100.00%.

@@             Coverage Diff             @@
##           master     #548       +/-   ##
===========================================
- Coverage   84.78%   51.23%   -33.55%
===========================================
  Files          56       56
  Lines        6304     6302        -2
  Branches     1392     1392
===========================================
- Hits         5345     3229     -2116
- Misses        707     2736     +2029
- Partials      252      337       +85

Impacted Files
Coverage Δ

brownie/_cli/__main__.py
35.48% <100.00%> (-64.52%)
:arrow_down:

brownie/_cli/bake.py
0.00% <0.00%> (-100.00%)
:arrow_down:

brownie/_cli/init.py
0.00% <0.00%> (-100.00%)
:arrow_down:

brownie/_cli/compile.py
0.00% <0.00%> (-100.00%)
:arrow_down:

brownie/_cli/test.py
0.00% <0.00%> (-85.00%)
:arrow_down:

brownie/_cli/ethpm.py
16.10% <0.00%> (-74.58%)
:arrow_down:

brownie/network/alert.py
25.80% <0.00%> (-72.59%)
:arrow_down:

brownie/_cli/networks.py
11.67% <0.00%> (-64.98%)
:arrow_down:

brownie/project/ethpm.py
30.49% <0.00%> (-62.64%)
:arrow_down:

... and 31 more

Continue to review full report at Codecov.

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


Failed to Launch

I am getting a Failed to Launch error even though I followed an install tutorial exactly.
http://imgur.com/a/7cWDK
Those are the settings for Launch CSGO and Custom Loader and the error message I get with both.
The second image says Custom Loader Failed, but it's the same error.

Most likely you have set csgo.exe to be run as administrator.
Please make sure that:

You don't launch HLAE with admin rights and also not in compatibility mode, this is not required and will lead to problems.

Also make sure that:

You don't launch CS:GO with admin rights and also not in compatibility mode, this is not required and will lead to problems.

In oder to do that, do this for each of HLAE.exe and csgo.exe in Explorer (in their respective folders, changing shortcuts won't help):

Right click -> Properties
Go to the compatibility tab
Make sure that "Execute/run program in compatibility mode" and "Execute/run program as administrator" are not checked (if they are checked then uncheck them)!
Click OK.

Also make sure to change the settings for all users, there is a button "Change settings for all users." in the compatibility tab of the .exe properties dialogue.

Worked perfectly. Thank you for the help.
https://www.youtube.com/watch?v=010iA37nIQc Here's the result.
On Wed, Dec 7, 2016 at 9:07 AM, Dominik Tugend<EMAIL_ADDRESS>wrote:

Also make sure to change the settings for all users, there is a button
"Change settings for all users." in the compatibility tab of the .exe
properties dialogue.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/ripieces/advancedfx/issues/29#issuecomment-265382375,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ASl7nyj-j6T7FFCjyxtirwq2Gr6_svSiks5rFmkvgaJpZM4LFzHX
.

Glad it worked.


Could you update to version 1.16.5 for this mod?

Like the title, I think there are a lot of people still using <IP_ADDRESS>, and I'm being plagued by this problem lately. So I was wondering if you could help me with an update? Thanks!

Can you reply to me as soon as possible？

😢😢😢

？

🙏

........................

🤷♂


zIndex doesn't seem to work for deltaDecorations

monaco-editor version: 0.27.0 (from the playground)
Browser: Chrome 92.0.4515.131 (Official Build) (arm64)
OS: macOS Big Sur 11.3.1 M1
Playground code that reproduces the issue:
var jsCode = `line1
line2
line3
line4`

var editor = monaco.editor.create(document.getElementById("container"), {
	value: jsCode,
	language: "javascript"
});

var decorations = editor.deltaDecorations([], [
	{ range: new monaco.Range(2, 2, 2, 6), options: { className: 'bgBlueBlackShadow', zIndex: 100 }},
	{ range: new monaco.Range(3, 2, 3, 6), options: { className: 'bgOrangeYellowShadow', zIndex: 1 }},
]);

.bgBlueBlackShadow {
    background-color: skyblue;
    box-shadow: 0 0 0 2px black;
    border-radius: 0.25rem;
}

.bgOrangeYellowShadow {
    background-color: orange;
    box-shadow: 0 0 0 2px yellow;
    border-radius: 0.25rem;
}

Result
We get the same as with no zIndex set: the bottom decoration beats the top:

Expected
With the higher zIndex, I expected the skyblue decoration to sit on top of the orange one

I see. The zIndex works more in terms of sorting decorations for rendering them on a single line. So the dom order of the decorations would reflect the zIndex for all decorations on a single line. I will adjust the documentation to clarify this. In the meantime, you can use z-index in CSS.

Thanks for the documentation update @alexdima ! Using z-index in css worked well instead


关于参考图像pose的问题

感谢您出色的工作，我这里有个问题想向您请教一下，我看你们的模型架构与Controlnext的比较接近，请问是否参考了他们的代码？如果是的话，我注意到Controlnext的模型在推理时需要额外拼接引用图像的姿势，而你们的代码好像优化了这一部分。想请教下是如何做到的？

Hi, the given pose sequence is directly fed to the PoseNet of StableAnimator without any concatenation during inference. The outputs of the PoseNet are element-wise added to the main latent in the diffusion model.

感谢回复，还想问一下，你们训练时使用unet的参数是全部都训练吗？这得需要多少的显存啊？

Hi, in the SVD U-Net, only the attention components are trainable. The training process requires 70GB of VRAM due to the mixed-resolution (512x512 and 576x1024) training pipeline. However, if you train StableAnimator exclusively on 512x512 videos, the VRAM requirement is reduced to approximately 40GB. I will release the training code and training tutorial this Friday. Stay Tuned!

非常棒，期待您的更新。

Looking forward to it, great work


remov redundant DbConnectionPoolKey gettype

i think the GetType is redundant since an as is done below. also converted to a pattern match instead

LGTM
Could you also update "netcore" class (here) to reflect the same change?

@cheenamalhotra yep. nice attention to detail, done

do u want all the other double ups of "as and null checks" converted to pattern matching?

do u want all the other double ups of "as and null checks" converted to pattern matching?

We'd have to be extra careful for those changes to verify it does not change behavior, improvements are always welcome!

well i will look at that in a diff PR.


Added Item Ordering Control (Move To Back/Forward etc..)

Adds support for Item Ordering. Allowing for Move Forward/ToFront and Move Backwards/ToBack.
Closes Issue #10.

Issue #10 Closed.


Update resampling.py

@mibaumgartner could you take a look at this simple fix please?

Dear @patricio-astudillo ,
thank you for your PR, we planning to bump the nnU-Net version in our next release which will incorporate the proposed changes (the augmentations and configurations need to be updated as well for full adaptation to the next 1.7.1 version of nnU-net).
Best,
Michael

Dear @mibaumgartner,
Thanks for your response. Looking forward to the next release since I'm experiencing some instability of nnDetection (e.g. multi-fold training needs to be done per fold otherwise there is a crash after the first fold which mentions a dying worker).
Best regards,
Patricio


fix(ibm-resource-response-consistency): expand support to bulk operations

PR summary

This commit adds support for recognizing bulk operations and recommending the collection schema be returned instead of the canonical schema. It also:

Updates the message to be more clear
Updates the path to be more aligned with the operation
Adds an "info" log pointing to the specific operation in case it is unclear

Previously, the rule would flag a bulk operation that didn't return the collection schema but it did so unintentionally (and with a bad heuristic) and the message would indicate that the canonical schema should be returned, which was false (often, the canonical schema was being returned).
Also, the warning would be tied to a specific schema and it was difficult to parse the debug logs to determine which operation was responsible for the warning.
PR Checklist
General checklist
Please make sure that your PR fulfills the following requirements:

[x] The commit message follows the Angular Commit Message Guidelines.
[x] Tests for the changes have been added (for bug fixes / features)
[x] Docs have been added / updated (for bug fixes / features)
[x] Dependencies have been updated as needed
[x] .secrets.baseline updated as needed?

:tada: This PR is included in version 1.15.1 :tada:
The release is available on npm package (@latest dist-tag)
Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.16.1 :tada:
The release is available on npm package (@latest dist-tag)
Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.3.1 :tada:
The release is available on npm package (@latest dist-tag)
Your semantic-release bot :package::rocket:


Nicer messages for lexical errors

See here: https://github.com/guibou/PyF/pull/24#issuecomment-502210310

Good job. Thank you!
I'll accept / merge the PR tomorrow. If you have time, could you add a failure test, see tests/SpecFail.hs? I'll add it myself if your are busy, but considering that you are the first contributor to PyF (thank you !), I think you may be interested to discover the awesome failure test suite ;)


Add some git tricks

Description
Add the most relevant git tricks I use.
Also add an example gitconfig showing how I configured my git for the tricks.
Checklist

[x] I made sure that the markdown files are formatted properly.
[x] ~I made sure that all hyperlinks are working.~

Could you please rebase on main?


[SPARK-21870][SQL][FOLLOW-UP] Clean up string template formats for generated code in HashAggregateExec

What changes were proposed in this pull request?

This pr cleans up string template formats for generated code in HashAggregateExec. This changes comes from @rednaxelafx comment: https://github.com/apache/spark/pull/20965#discussion_r316418729
Why are the changes needed?

To improve code-readability.
Does this PR introduce any user-facing change?

No
How was this patch tested?

N/A

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution-unified/15243/
Test PASSed.

Test build #110246 has started for PR 25714 at commit 381e672.

Test build #110246 has finished for PR 25714 at commit 381e672.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/110246/
Test PASSed.

Thanks for the check, @rednaxelafx !

Ur, @maropu . Although this is a follow-up, we need +1 from the Apache Spark committers in general~ I know that you are confident on this, of course. 😄

Thanks for the double-check, @dongjoon-hyun ;)


Unix Time

Hello,
Please consider adding the following to the Text Function docs. Big thanks to @timl in the PowerApps Community.

To convert Unix Time (example:<PHONE_NUMBER>) to human readable date:

UnixTime / 86400 + Date(1970,1,1)

To convert Unix Time to human readable date and time:

Text(UnixTime * 1000,"[$-en-US]ddd, dd mmm yyyy hh:mm:ss")

@SeaDude, good suggestion.  We've added UNIX specific information in a new data types article and an example in the Text function

Thank you for the follow through!


Create a new Vue application

With boilerplate for:

jest tests
Firebase SDKs
maybe Vuex
probably Vue Router

 Untitled card

 QT handling application sign-in page

 As a candidate, I can see a link to the form for the QT I am about to take


.NET 8.0 (LTS) Compatibility

Hi @joadan,
As you know .NET Core 8.0 (LTS) and C#12 released last week .  What's new in .NET 8
As .net 8 is a LTS version, I wonder if there is any plan to update TabBlazor to work properly with it.
Thanks

Hi @joadan FYI

Shouldn't this mostly already work? Most components aren't interactive in the first place as far as I can see?


Update Paho.MQTT library and use version from CDN

Update to latest version (support for MQTT 3.1.1) and use CDN for library (see http://www.eclipse.org/paho/clients/js/)

jQuery Color could by also linked from CDN (see https://github.com/jquery/jquery-color)


Fix typo in route53.md

I believe bpolicy should read policy here

/ok-to-test
/lgtm

Tried to add DCO signoff. Looks like it isn't being recognized.

It's because you added merge commits into your branch, which themselves don't have DCO signoff messages. Merge commits cause problems round here 😅
/lgtm
/approve

/override dco

/retest


Add inductive array well-foundedness (dependency) check to new frontend

The following example seems to send Kind 2 to an infinite loop:
const N = 5;

node arrays3(y:int) returns (A,B,C: int^N);
let
  A[k] = B[k+1] + y;
  B[k] = C[k-1] - 2;
  C[k] = ( A[k-1] + B[k] ) * k ;
  --%PROPERTY C[0]>=A[0];
tel

@amarmaduke, could you please take a look at it?
Thanks.

The check does not detect any cycle for this example:
node top() returns (A,C,B:int^3);
let
  C[i] = if i=0 then 0 else B[i];
  A=C;
  B[i] = if i=0 then 0 else A[i];
tel

There are still ways to elude the detection:
type my_record = struct {
  A: int^3;
};

node top() returns (r: my_record);
var C,B:int^3;
let
  C[i] = if i=0 then 0 else B[i];
  r = my_record { A=C; };
  B[i] = if i=0 then 0 else r.A[i];
tel

The check shouldn't reject a model if different index names are used in different inductive definitions. However, Kind 2 rejects this model:
const N = 5;

node arrays3(y:int) returns (A,B,C: int^N);
let
  A[k] = B[k+1] + y;
  B[i] = C[i-1] - 2;
  C[k] = ( A[k-1] + B[k] ) * k ;
  --%PROPERTY C[0]>=A[0];
tel

At the moment inductive definitions with more than one index are not checked (only the first index is checked), but this is enough to make sure that the approach is good and I need to confirm exactly what we expect the checks to be for multiple indices.

The check incorrectly detects a cycle for this example:
const N = 5;

node f(C: int^N) returns (B: int^N);
let
  B[k] = C[k-1] - 2;
tel

node arrays3(y:int) returns (A,B,C: int^N);
let
  A[k] = B[k+1] + y;
  B = f(C);
  --B[k] = C[k-1] - 2;
  C[k] = ( A[k-1] + B[k] ) * k ;
  --%PROPERTY C[0]>=A[0];
tel


Offline listening

I want use your plugin for caching audio and listening them offline. Could I do it?
I added this plugin in my project. Called dynamicSet() method. After what I turn off internet on the device and try listen audio(play() method) and got exaption
TYPE_SOURCE: java.net.UnknownHostException: Unable to resolve host ": No address associated with hostname

Yes, you can do that.
First, get the local downloaded audio file ( make sure to check if the file exists first)
const path = await player.getCachedPath(url: your_remote_url);

Then play the file
await player.playFromFile(filePath: path);

A lot of thanks!

Hi. I have a question. What is the player here?

const path = await player.getCachedPath(url: your_remote_url);

And here:

await player.playFromFile(filePath: path);

Also, can you have an example to cache many audio files? Should we do it with for loop?
My data is created like this:
import 'package:just_audio/just_audio.dart';
import 'package:just_audio_background/just_audio_background.dart';

final ConcatenatingAudioSource audiosPlaylist = ConcatenatingAudioSource(
  children: [
    AudioSource.uri(
      Uri.parse('https://cdn.pixabay.com/download/audio/2023/03/25/audio_4bc265ac9f.mp3'),
      tag: MediaItem(
        id: '0',
        title: "Ar-Rahiq Al-Maxtum",
        artist: "Safiyyurrahmon Muborakfuriy",
        artUri: Uri.parse(
            'https://img.youtube.com/vi/g-oht-ECif0/maxresdefault.jpg'),
      ),
    ),
    AudioSource.uri(
      Uri.parse('https://sakiyna.com/ar-rahiq-al-maxtum/0-qism.mp3'),
      tag: MediaItem(
        id: '1',
        title: "Ar-Rahiq Al-Maxtum",
        artist: "Safiyyurrahmon Muborakfuriy",
        artUri: Uri.parse(
            'https://img.youtube.com/vi/g-oht-ECif0/maxresdefault.jpg'),
      ),
    ),
  ],
);

And I want to use it with _audioPlayer.setAudioSource(here_AudioSource).
Please give full examples.


[Feature Request]Collision shape follow Bone, similar to Bone attachment

Describe the project you are working on
I am testing the beat them up game style. It is much easier if the collision shape can attach or follow the movement of the bone.
Describe the problem or limitation you are having in your project
It takes too much time to adjust the collision shape according bone  movement
Describe the feature / enhancement and how it helps to overcome the problem or limitation
I found a similar approach but for 3D.
https://godotengine.org/asset-library/asset/1003
Describe how your proposal will work, with code, pseudo-code, mock-ups, and/or diagrams
I am not sure how to achieve this.
If this enhancement will not be used often, can it be worked around with a few lines of script?
The plugin https://godotengine.org/asset-library/asset/1003 looks quite short to implement, but not sure

This is not what DragonBones focus on.
You can implement by few lines of script.
For example:
class_name DragonBonesBoneAttachment

@export var bone_name: String

func _process() -> void:
    if not get_parent() is DragonBones:
        printerr("DragonBonesBoneAttachment must be a child of DragonBones")
        return

    if not is_instance_valid(get_parent().armature):
        return

    var bone := get_parent().armature.get_bone(bone_name)
    transform = bone.global_transform

Thanks.


PR: Repair default file extension for saveas feature in spyder editor

Take a look to this @ccordoba12 and @goanpeca.
This PR can solve your problems @rlaverde with save_as feature.
any suggestions  and comments are welcome. :+1:

I think this is ready. Let's merge it and see how it goes :-)
Thanks @malliwi88!


next 12 peer dep

We currently have a peer dependency on next that only supports ^10.1.3 || ^11.0.1. We should probably add ^12.0.3 to this list so we can begin properly testing components with next@12.
cc @katamartin

Fixed by https://github.com/carbonplan/components/commit/d24ddd24906b8301adfe9fd562fe456591b059a3


[Event Request] table 39 "Purchase Line" - OnBeforeCheckApplToItemLedgEntry

local procedure CheckApplToItemLedgEntry(): Code[10]
var
    ItemLedgEntry: Record "Item Ledger Entry";
    ApplyRec: Record "Item Application Entry";
    ReturnedQty: Decimal;
    RemainingtobeReturnedQty: Decimal;
    IsHandled: Boolean;
begin
    //A108B0024.19.05.ns
    OnBeforeCheckApplToItemLedgEntry(Rec, xRec, IsHandled);
    if IsHandled then
        exit;
    //A108B0024.19.05.ne
    if "Appl.-to Item Entry" = 0 then
        exit;

[IntegrationEvent(false, false)]
local procedure OnBeforeCheckApplToItemLedgEntry(var PurchaseLine: Record "Purchase Line"; xPurchaseLine: Record "Purchase Line"; var IsHandled: Boolean)
begin
end;

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.


run tests in worktree if requested

Looks to me it could come handy to be able to run tests in workdir if requested, or provide an environment variable so we can easily remve workarounds like this one:
https://gitlab.com/testing-farm/tests/-/blob/main/gating/validity/test.sh#L6
Here I want to reference the target repository as I need to validate gaitng.yaml with it
Related to https://issues.redhat.com/projects/OSCI/issues/OSCI-2411

@lukaszachy @psss do we have somwhere a solution coming for this? Maybe it is a dupe ...

Recently we've brainstormed on the hacking session that there could be a TMT_TREE variable with path to the plan/tree directory exported and available to tests so that they can perform actions there if needed. Would that cover this use case?

definitely, it would!


[QUERY] Stack trace logging

Query/Question
As per the logging design guideline, logging of stack trace should be done only for  specific log levels, verbose as per general guideline but languages may have different name for this level.
Opening this issue as a question to confirm that we're not logging sensitive stack trace unless user requested it by setting appropriate level.

/cc @bterlson
Looking into this a bit. core-amqp and event-hubs do some verbose logs of error stacks. However, I've noticed that there are also places where we log errors as warnings, e.g.
https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/core/core-amqp/src/requestResponseLink.ts#L193
and
https://github.com/Azure/azure-sdk-for-js/blob/master/sdk/core/core-amqp/src/cbs.ts#L146-L149
@chradek it seems like this would log the full error stack at the warning level for these error objects as it goes through util.format() in Node and console.debug in the browser which both seem to include stack information.
/cc @bterlson

@chradek I believe this can be closed now?

Closed by #9736 and #9738


How to use RAG in Repe?

We are working on a POC that requires RAG. We found Repe using HF transformer custom pipeline but langchain(HF using) does not support transformer custom pipeline. Any suggestion?

Thanks, Justin, I will try it and let you know , Cheers, -Danny

that works.


OpenID connect logging

When a user logs in using the openid flow it does not show in the log that the user has logged in.
It does show when the user logs out.

Thanks for the heads up.
A fix has been committed: https://github.com/openanalytics/containerproxy/commit/c173790a7fde76e720314b328e7b6ab3f3d6dc2c
and will be in the upcoming release

@gbisschoff fix released in ShinyProxy 2.1.0


Deconstructing custom types without case..of

Hi Matthew,
thanks for the awesome package.
It's so awesome in fact, that I'm trying to port my Elm Code generator travelm-agency to use this package under the hood instead of elm-syntax-dsl.
To hide the implementation details of the generated I18n type, I wrapped it in a constructor.
Previously, I unpacked this in the arguments of the generated functions
someFunction :: I18n -> String
someFunction (I18n intl language) = ...

which does not seem to be possible with this package unless I'm missing something.
This isn't mission critical, since I can generate a case..of expression matching on my custom type instead.
I just think that unpacking custom types in arguments or let expressions would be nice.
When unpacking multiple types, you get a nested case expression or you need to match on tuples (which are limited to 3 elements).
I'm not sure about the API since just naming arguments with Strings is very convenient.
Maybe just add a function in Elm.Let, since destructuring of tuples and records is already possible?

I'd love to expand this to tuples as well so that we don't need an additional case .. of or let .. in.


Gmod: Steam API fail please help

Infomation:
http://imgur.com/a/T3vPB
Please help.

Hi anyways
I'd worry first about the wrong convars you set
I'd provide some information if i wanted help
I'd post the issue in the appropriate place. Support for issues happening because of what's between the desk and the chair happens here : https://steamcommunity.com/groups/linuxgsm/discussions
The Steam API failed is a non error https://github.com/dgibbs64/linuxgsm/wiki/FAQ#s_api-fail-steamapi_init-failed-steamapi_issteamrunning-failed
What game are you even talking about ?
Why don't i see any output of ./gameserver details ?

Please, go and post into the steam group, and provide some relevant information.

Sorry.

No problem.
Please, make sure you read this before posting into the steam group, it'll help you giving relevant information : https://steamcommunity.com/groups/linuxgsm/discussions/0/458604254471755996/

Closing, as duplicate from http://steamcommunity.com/groups/linuxgsm/discussions/0/359543951714109227/


[Bug Bash] Node sample 53 says "Something went wrong"

Sample information

Sample type: Sample
Sample language: Node
Sample name: 53Teams-messaging-action-extensions-preview

Describe the bug
After you fill out the adaptive card with anything:

Once you hit Submit, you get:

Send then works, but the error is a little confusing.
To Reproduce
Steps to reproduce the behavior:

Follow README
Fill out card and hit Submit

Expected behavior
No errors.
Additional context
This might be a Teams issue as no errors are printed in console and in debug mode with breakpoints set for both "All Exceptions" and "Uncaught Exceptions", it never stops/breaks.
[bug]

This occurs when the Messaging Extension/ bot is installed only in a personal scope. Once installed in a Team, preview will then work when initiated from a personal scope also.


Policy for lmitting number of accepted connections

This pr implements a policy which allows us to limit the number of accepted connections, addressing the issue #1391.
There are two thresholds:

acceptedConnectionsHardLimit
acceptedConnectionsSoftLimit
And a delay
acceptedConnectionsDelay

If we are below the soft limit, we accept connections without any delay;
Above the soft limit, we start rate limiting using a linear regression of the acceptedConnectionsDelay.
If we hit the hard limit, then we wait until the number of connections drops
(but not shorted than acceptedConnectionsDelay).   (We could add a third
threshold to drop below that, but we should be good for now with this policy).
This is a standalone component, so it will be easy to bring it to
connection-manager.
Todo:

[x] add a trace

bors r+

Where do we set the actual limits for the node-to-node case? Will that have to be done in the cardano-node top level? Do we have any sane defaults?

Unfortunately so. I set current defaults here: https://github.com/input-output-hk/cardano-node/pull/705/files#diff-6f98f460a187cbfae2f479b840dc7ae4R355 It's 512 since we use one socket per connection and consensus is using at least one file descriptor too.

What about that idea of using the relationship between the number of clients we have and the number of FDs we need, and doing the check that the configured hard limit would not put us over our OS limit on FDs? The relationship between the number of clients we have and the number of FDs we need is knowledge that comes from the consensus layer, so that should live there, along with an explanation of why it is the case. The FD limit check could be done in network subsystem initialisation.

This remains to be done.  I added an issue for this: https://github.com/input-output-hk/ouroboros-network/issues/1836  I think we can add a parameter to one of the consensus records, and use it to set the limits in cardano-node.


Disentangle ecco package from pkg/seaice

What changes does this PR introduce?
cleanup
What is the current behaviour?
Some code in pkg/seaice unnecessarily requires pkg/ecco code.
Further, some pkg/seaice_cost_* code is no longer called after removing ECCO_CTRL_DEPRECATED code:  S/R seaice_cost_driver which calls S/R seaice_cost_concentration and S/R seaice_cost_sss/sst.
What is the new behaviour
pkg/ecco is not required at all for cost functions within pkg/seaice
S/R seaice_cost_driver is now be called from S/R cost_final (pkg/cost), so that it is possible to compute an pkg/ecco-independent cost function of seaice.
Does this PR introduce a breaking change?
No. cost_iprec, defined in pkg/ecco and set in data.ecco is replaced in pkg/seaice by a new cost_ice_iprec that can be set in data.seaice&SEAICE_PARM02 (default =precFloat32 as in cost_iprec in pkg/ecco).
In addition: probably the affected code is not being used anymore and we may decide to remove some of it altogether.
Other information:
This is some left-over from #631
Suggested addition to tag-index

pkg/seaice:
o make all code independent of pkg/ecco,
o recover calling s/r seaice_cost_driver, now from pkg/cost/cost_final.F

Thanks for the comments. I fixed the code in all cases.

@mjlosch You can add me to the review for this if you'd like.  I and a student of Patrick's have been incorporating this into our test so we can get a cost for sea ice without needing ecco (which is how i found a couple of things that i recommended.)

You can add me to the review for this if you'd like. I and a student of Patrick's have been incorporating this into our test so we can get a cost for sea ice without needing ecco (which is how i found a couple of things that i recommended.)

I think I already did (and you did a review). You can always put yourself as a reviewer, and re-review, I think.

@mjlosch Not yet a review  but I took a quick look at code changes and have few comments:

pkg/cal is always compiled (and then used) when compiling pkg/ecco (see pkg_depend) but this is not always the case with pkg/cost. So need to make sure that these seaice related cost routines will compile without pkg/cal and if they cannot be used without pkg/cal then there should a proper error & stop.
cost_iprec parameter from pkg/ecco can be set in data.ecco. But with these changes, it does not use anymore the pkg/ecco parameter but it's instead hard-coded to precFloat32. 2 issues here: first, a user might want to change it ; and second, this represent a "breaking change" since setting cost_iprec to 64 in data.ecco (as done in `lab_sea/input_ad') does not apply anymore to these seaice related cost as it used to be.
Not directly related to this PR: there are few questionable features in these seaice related cost that could be fixed. For instance, it seems to me that we could remove this frame array (both here and also from pkg/ecco), just cumulating the cost over 1:sNx, 1:sNyshould do it (and it's probably already like this). An other thing is that the seaice concentration weight usehFacCinstead ofmaskC`, for no obvious reason.

@jm-c thanks for the comments. I pushed a fix to issue 1 (pkg/cal), to make sure that the code compiles but does not run if pkg/cal is not included or turned on. For issue 2 (cost_iprec), the default of pkg/ecco'scost_iprec=precFloat32, so I thought that hardwiring was OK for now. We can change the default to readBinaryPrec or we can add a new iprec variable that is set in data.cost. I'll try the latter.
For issue 3, I'd like to ask @antnguyen13 to address this, as I do not have a reference experiment for this. I remember that @antnguyen13 has a reference experiment. Maybe it would be good to share this (e.g. in verification_other).

@jm-c I updated the comments a little. About your third point: I found ALLOW_SEAICE_COST_SMR_AREA in ecco_cost_init_barfiles.F. The corresponding code should probably be moved to seaice_cost_init_fixed.F. Do you agree?
Please go ahead and change the order of "myIter, myTime"

@mjlosch I pushed my changes. I did remove the test for useCAL in the 3 seaice_cost routines (concentration, sss & sst),  since seaic_cost_driver will skip the call to these 3 S/R if useCAL=F, so it's safe without ; but I kept a 1 line comment regarding useCAL.
One thing I found interesting is that none of these 3 S/R nor seaice_cost_driver use any SEAICE.h variable.
The PR description is much better now. Thanks.
And regarding the ALLOW_SEAICE_COST_SMR_AREA code in pkg/ecco, I don't know much about these "bar-files",
plus it seems that the SST & SSS need an Nr level field there (tmpfld3d) for initialization. Not sure why.

I took an other look at ALLOW_SEAICE_COST_SMR_AREA code in pkg/seaice, and I am not sure it was working well before ECCO_CTRL_DEPRECATED got removed:
seaice_cost_weights.F (which set the weight "wsmrarea") is currently empty when ALLOW_SEAICE_COST_SMR_AREA is undef, which is logial since "wsmrarea" is only used within ALLOW_SEAICE_COST_SMR_AREA code.
But seaice_cost_weights.F is called (from seaice_cost_init_fixed.F) only if ALLOW_COST_ICE is defined,
which is not always the case as, e.g., in lab_sea/code_ad/SEAICE_OPTIONS.h.
These inconsistent '#ifdef` date back to March 2015.

@mjlosch I would suggest to discuss the scope of this PR tomorrow at our meeting.

After today's discussion, we think that the code related to ALLOW_SEAICE_COST_SMR_AREA should be removed, because it is orphaned and does not work properly anymore after removing the ECCO_CTRL_DEPRECATED code. Also it depends on barflies only computed in pkg/ecco. After this change the remaining options for sea ice are: either use Ecco-functionality with barflies and generic cost, or you are on your own to define a cost function with seaice_cost_test (cost_ice_flag!!!) and the (limited) capabilities of pkg/cost.

@mjlosch I agree with your summary. @ifenty do you have comments to add ?

@mjlosch I talked with @antnguyen13 and @heimbach last Friday and we all agree that there is no need to duplicate the barfile code anywhere else than in pkg/ecco and that the ALLOW_SEAICE_COST_SMR_AREA code should therefore be removed.

I left costIceStart/End in the code, even though it is not used. The only purpose of seaice_cost_Init_fixed.F is to compute costIceStart/End from namelist parameters. We could decide to remove this code as well (maybe not the file).

There are also these flags:
ALLOW_MEAN_SFLUX_COST_CONTRIBUTION (retired)
ALLOW_SSH_GLOBMEAN_COST_CONTRIBUTION (unclear, not retired, but does not have any useful effect anymore).
For now I'll remove the remaining ALLOW_MEAN_SFLUX_COST_CONTRIBUTION code.

@mjlosch I am going to merge master in again (after PR #683 got merged) but not expecting any conflict there.

@mjlosch  I think your changes are clean and consistent, with all seaice-cost code under #ifdef ALLOW_COST. I made few little adjustments and cleaning, please check my changes.
And a detail: because of SEAICE_cutoff_area & SEAICE_cutoff_heff (only used in pkg/ecco) I was not able to empty SEAICE_COST.h when ALLOW_COST_ICE is undef. I added a comment there.
From my side, it good to merge (and could keep the costIceStart/End for now, and leave SEAICE_cutoff_area/heff where they are).

The two variables
      _RL  SEAICE_cutoff_heff

are some left overs. I am fine with keeping them where they are, because they don't hurt, but it's not exactly "disentangled" (o:
SEAICE_COST.h also contains objf_*, so that cannot be empty anyway, if these variables are alway initialised when ALLOW_COST is defined (see inline-comment). Let's leave it as it is.
Otherwise I am fine with the recent changes (see minor comment above)

@mjlosch I think this PR is now good to be merged in. I checked quickly that the 2 AD experiments in verification_other do not use ALLOW_SEAICE_COST_SMR_AREA (both have it #undef) so should not break these 2 set-up (but will try to run at least the cs32 to confirm).
One last thing would be to update this PR description (a bit behind now).

One last thing would be to update this PR description (a bit behind now).

I updated the description.

@mjlosch Thanks. And I've checked that global_oce_cs32 passes both Fwd & Ad test with no changes. WIll merge this PR later today.


Add option for static library

This adds an option to compile this lib as static library.
Also adds notifications for GATT characteristics.

Just remove SHARED in add_library( and CMake will take care of the if else logic. You don't need to write it manually. ;)


@angular/cli v7.0.4 typescript v3.1.6 prod builds remain slow

ng build --prod takes ~3min locally, 20+min in our Jenkins CI build.
Prior to upgrading to v7 our prod builds were ~5min.
Bug Report or Feature Request (mark with an x)
- [x] bug report -> please search issues before submitting
- [ ] feature request

Command (mark with an x)
- [ ] new
- [x] build
- [ ] serve
- [ ] test
- [ ] e2e
- [ ] generate
- [ ] add
- [ ] update
- [ ] lint
- [ ] xi18n
- [ ] run
- [ ] config
- [ ] help
- [ ] version
- [ ] doc

Versions

Node: 8.9.4
OS: darwin x64
Angular: 7.0.2
... animations, cdk, common, compiler, compiler-cli, core, forms
... http, language-service, material, platform-browser
... platform-browser-dynamic, router

Package                           Version
-----------------------------------------------------------
@angular-devkit/architect         0.10.4
@angular-devkit/build-angular     0.10.4
@angular-devkit/build-optimizer   0.10.4
@angular-devkit/build-webpack     0.10.4
@angular-devkit/core              7.0.4
@angular-devkit/schematics        7.0.4
@angular/cli                      7.0.4
@angular/flex-layout              7.0.0-beta.19
@ngtools/webpack                  7.0.4
@schematics/angular               7.0.4
@schematics/update                0.10.4
rxjs                              6.3.3
typescript                        3.1.6
webpack                           4.19.1

Repro steps

ng build --prod
Desired functionality

Normal build times
Mention any other details that might be useful

Related to #12646

Hi, I am not quite sure, how a build of 3mins+ locally is taking 20mins+ on Jenkins. We don't differentiate between CI and local environment. Thus, a builds should be quite consistent if it runs on different machines with the same modules and resources.
In CI, be sure that the same node packages are used. Maybe they are not being busted correctly, and if you are using a package lock, this is committed correctly.

We do commit package lock. It could be a memory allocation issue on our VM so we'll be looking into that. The longer build times only occur on our v7 projects so if increasing memory fixes the issue I'll post back here and to the comment above.

Increasing the memory worked


using private repository on extends, 404 Not Found

Environment

Operating System: Darwin
Node Version:     v18.9.0
Nuxt Version:     3.0.0
Nitro Version:    1.0.0
Package Manager<EMAIL_ADDRESS>Builder:          vite
User Config:      extends, modules, security
Runtime Modules<EMAIL_ADDRESS>Build Modules:    -

Reproduction
Create nuxt app A and B, upload repository B as private repository on github. Use nuxt app B (private repo) link to extend nuxt app A.
Describe the bug
ERROR  Cannot start nuxt:  {                                                                                10:03:04
code: 404,
message: 'Not Found'
}
Additional context
No response
Logs
No response

Would you try setting the GIGET_AUTH environment variable?
https://nuxt.com/docs/guide/going-further/layers#git-repository


I cant get this to work

I am trying to use the collapse directive to work - I have tried a number of ways but nothing works for me. Can you help?
The icons should swap and the collapsed region should open. And on click, close again.

    <input type="checkbox" />

    <svg class="swap-off fill-current" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 512 512"><path d="M64,384H448V341.33H64Zm0-106.67H448V234.67H64ZM64,128v42.67H448V128Z" /></svg>

    <svg class="swap-on fill-current" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 512 512"><polygon points="400 145.49 366.51 112 256 222.51 145.49 112 112 145.49 222.51 256 112 366.51 145.49 400 256 289.49 366.51 400 400 366.51 289.49 256 400 145.49" /></svg>

Item 1

Item 2

Item 3

Item 4

`

This is code for a collapse that works with checkbox:

  <input type="checkbox" />

    Click me to show/hide content

hello

As you can see, the checkbox should be inside the
 and followed by collapse title and content.
And this is code for a swap that also works with a checkbox:

  <input type="checkbox" />

  <svg class="swap-off fill-current" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 512 512"><path d="M64,384H448V341.33H64Zm0-106.67H448V234.67H64ZM64,128v42.67H448V128Z"/></svg>

  <svg class="swap-on fill-current" xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 512 512"><polygon points="400 145.49 366.51 112 256 222.51 145.49 112 112 145.49 222.51 256 112 366.51 145.49 400 256 289.49 366.51 400 400 366.51 289.49 256 400 145.49"/></svg>

As you can see the checkbox should be in a label followed by the icons.
Both of these work individually because there's a checkbox for each of them and each checkbox can control the style of as it should.
But if you want to use them together, (A swap that open a collapse on click) you can't do it with CSS-only. because 1 checkbox can only control one thing.
So you need some JS to make it work. if you bind both checkboxes with the same value, they work together:
https://svelte.dev/repl/85c8931c4a974405814c61fb2b2b8cc2?version=3.54.0
Also, you might want to use dropdown instead of collapse: https://daisyui.com/components/dropdown/
Let me know if you have any questions

Many thanks
On Mon 12 Dec 2022, 23:25 Pouya Saadeghi, @.***> wrote:

Closed #1429 https://github.com/saadeghi/daisyui/issues/1429 as
completed.
—
Reply to this email directly, view it on GitHub
https://github.com/saadeghi/daisyui/issues/1429#event-8019227423, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAMWYCC2655VOMUR7HHVA7LWM6Q6BANCNFSM6AAAAAAS4MXBNU
.
You are receiving this because you authored the thread.Message ID:
@.***>

@wgrs Yes of course.
Here's a pure JS code to sync the value of 2 checkboxes together:
let syncedCheckboxes = document.querySelectorAll('.synced-checkboxes');
syncedCheckboxes.forEach((item) => {
  item.addEventListener('change', (event) => {
    syncedCheckboxes.forEach((item) => {
      item.checked = event.currentTarget.checked ? true : false;
    })
  })
})

<input type="checkbox" class="synced-checkboxes">
<input type="checkbox" class="synced-checkboxes">

Excellent. Thank you very much.
On Tue 13 Dec 2022, 14:53 Pouya Saadeghi, @.***> wrote:

@wgrs https://github.com/wgrs Yes of course.
Here's a pure JS code to sync the value of 2 checkboxes together:
let syncedCheckboxes = document.querySelectorAll('.synced-checkboxes');syncedCheckboxes.forEach((item) => {
item.addEventListener('change', (event) => {
syncedCheckboxes.forEach((item) => {
item.checked = event.currentTarget.checked ? true : false;
})
})})

—
Reply to this email directly, view it on GitHub
https://github.com/saadeghi/daisyui/issues/1429#issuecomment-1348609119,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAMWYCAO3EO6N4JH5V7PJULWNB5U7ANCNFSM6AAAAAAS4MXBNU
.
You are receiving this because you were mentioned.Message ID:
@.***>

Hello
I have implemented the widget and its working fine. The only issue I am
having is that when I put a button next to the menu swap widget, they
trigger the click too.
I then tried to use the standard tailwind collapse widget but that does not
work - is there something I need to do to get standard tailwindcss code to
work with daisy ui, or is the problem that both use the collapse class?
https://tailwind-elements.com/docs/standard/components/collapse/
On Tue, 13 Dec 2022 at 14:56, Gregory White @.***> wrote:

Excellent. Thank you very much.
On Tue 13 Dec 2022, 14:53 Pouya Saadeghi, @.***>
wrote:

@wgrs https://github.com/wgrs Yes of course.
Here's a pure JS code to sync the value of 2 checkboxes together:
let syncedCheckboxes = document.querySelectorAll('.synced-checkboxes');syncedCheckboxes.forEach((item) => {
item.addEventListener('change', (event) => {
syncedCheckboxes.forEach((item) => {
item.checked = event.currentTarget.checked ? true : false;
})
})})

—
Reply to this email directly, view it on GitHub
https://github.com/saadeghi/daisyui/issues/1429#issuecomment-1348609119,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAMWYCAO3EO6N4JH5V7PJULWNB5U7ANCNFSM6AAAAAAS4MXBNU
.
You are receiving this because you were mentioned.Message ID:
@.***>

--
Regards
Gregory White
+353 879205051


chore(postgres): support add schema as prefix of table name

as title.

ci failed

Codecov Report

Merging #875 into master will decrease coverage by 3.36%.
The diff coverage is 70%.

@@            Coverage Diff             @@
##           master     #875      +/-   ##
==========================================
- Coverage   53.28%   49.91%   -3.37%
==========================================
  Files          39       39
  Lines        7450     7456       +6
==========================================
- Hits         3970     3722     -248
- Misses       2977     3241     +264
+ Partials      503      493      -10

Impacted Files
Coverage Δ

engine.go
58.79% <70%> (-0.06%)
:arrow_down:

dialect_postgres.go
10.7% <0%> (-64.22%)
:arrow_down:

xorm.go
59.37% <0%> (-6.25%)
:arrow_down:

logger.go
55.07% <0%> (-5.8%)
:arrow_down:

session_insert.go
52.75% <0%> (-5.51%)
:arrow_down:

session_raw.go
55.55% <0%> (-3.42%)
:arrow_down:

session_update.go
49.02% <0%> (-3.12%)
:arrow_down:

session_query.go
56.41% <0%> (-2.57%)
:arrow_down:

convert.go
26.98% <0%> (-1.99%)
:arrow_down:

session.go
54.92% <0%> (-1.78%)
:arrow_down:

... and 2 more

Continue to review full report at Codecov.

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


PowerToys Run

Description of the new feature / enhancement
Websearch in other search engines or in incognito browsing.
Scenario when this would be used?

Searches may not be useful in "work" profile.
A different browser may be the primary one in use.

Supporting information
No response

this would be done via #15032
/dup #15032


use lakefile.toml instead of lakefile.lean

lean files are deprecated as per https://github.com/leanprover-community/mathlib4/wiki/Using-mathlib4-as-a-dependency
but are used in https://github.com/lenianiva/lean4-nix/blob/main/templates/dependency/lakefile.lean

Its not deprecated per https://github.com/leanprover/lean4/issues/4106, but sure, we should include .toml for the templates.
Sent from Proton Mail for iOS
Le mer. 11 déc. 2024 à 01:41, Serhii Khoma < @.***(mailto:Le mer. 11 déc. 2024 à 01:41, Serhii Khoma < a écrit :

lean files are deprecated as per https://github.com/leanprover-community/mathlib4/wiki/Using-mathlib4-as-a-dependency
but are used in https://github.com/lenianiva/lean4-nix/blob/main/templates/dependency/lakefile.lean
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: @.***>


Updating org-journal breaks capture

Using capture, among some other functionality in Org mode results in the following error after updating org-journal to the latest in master branch:
Capture abort: Symbol's function definition is void: org-journal-update-auto-mode-alist

Reverting org-journal to my previously installed version (or uninstalling it) solves the issue.
I am using Org mode version 9.3.6 (release_9.3.6-449-gb99357) on Emacs 26.3.

Should be fixed via  3b7f7f6.
Sorry for the inconvenience.

Can confirm.
Thanks for the quick fix.


Create Documentation Statement from from_params does not work correctly

Documentation.from_params(...) has problems with multiline values and empty lines.
Must be investigated more closely and there must be more tests about this.
https://github.com/robotframework/robotframework/blob/c80464b98f1efff1d966865eddec6120cf95ad18/src/robot/parsing/model/statements.py#L166
Revert this commit 0c5d7f1fcac4ef9bd0178df27528e985af7dafb6 from "custom parsers" #4614 because it should be fixed independently.

Could you clarify the issue? There's a unit test for Documentation.from_params that seems to test it pretty well.

from robot.api.parsing import Documentation

multiple_lines = """This is a documentation

This is a second line

This is a third line"""

documentation = Documentation.from_params(multiple_lines)
print(documentation.value)

throws an `AttributeError?
Traceback (most recent call last):
  File "c:\develop\robot\robotcode\playground\aa.py", line 12, in <module>
    print(documentation.value)
          ^^^^^^^^^^^^^^^^^^^
  File "C:\develop\robot\robotcode\.hatch\devel.py311-rf60\Lib\site-packages\robot\parsing\model\statements.py", line 349, in value
    return self._join_value(tokens)
           ^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\develop\robot\robotcode\.hatch\devel.py311-rf60\Lib\site-packages\robot\parsing\model\statements.py", line 156, in _join_value
    lines = self._get_lines(tokens)
            ^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\develop\robot\robotcode\.hatch\devel.py311-rf60\Lib\site-packages\robot\parsing\model\statements.py", line 167, in _get_lines
    line.append(t.value)
    ^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'append'

The tests for from_param only verifies that the tokens are correct, but not the value.

I think this should also work correctly, just an idea for a unittest or a marker to check this out.
from io import StringIO

from robot.api.parsing import Documentation, File, SectionHeader, SettingSection, Token, get_model

documentation_as_str = """This is a    documentation

This is a second line

This is a third line"""

documentation = Documentation.from_params(documentation_as_str)
settings = SettingSection(SectionHeader.from_params(Token.SETTING_HEADER), [documentation])

file = File()
file.sections.append(settings)

with StringIO() as f:
    file.save(f)
    new_file: File = get_model(f.getvalue())

assert (
    documentation_as_str == new_file.sections[0].body[0].value
), f"\n{documentation_as_str}\n!=\n{new_file.sections[0].body[0].value}"

the documentation_as_str has in the first line a space with multiple following spaces, this is a new argument in RobotFramework and results in a wrong robot file.

Ok, I can now reproduce the issue. The problem seems to be in value property when tokens don't have proper line numbers set. Need to see can it be fixed in value itself or does from_params need to be enhanced instead.
I didn't test the latter issue yet. Is the problem that spaces in documentation are collapsed? If yes, that's according to documentation parsing rules.

For the last point the value is taken over 1 to 1 when saving the file. That means if I have 2 spaces in a Token.value, the one token in the saved document becomes 2 tokens.
This also happens if I have line breaks in the Token.value. Under certain circumstances the saved file becomes invalid.
But this is more a problem in the ModelWriter, I think here invalid characters should be escaped when the token is written. That would be 1 solution.
The other, maybe better, would be to check the tokens for invalid characters when passing them to from_params and then escape them accordingly. This is not only the case for the documentation statement but also for all other statements.

Yes, if you create any token with more than two spaces in the value, those spaces will be considered a separator when the data is parsed back. It would probably be easiest to handle this when writing data back to the file system. Changing all from_params would be lot of work and wouldn't avoid the issue if token.value is set otherwise. Anyway, this is a topic for a separate issue.

I got the Documentation.from_params(...).value problem solved. There were two issues explained below.
The main problem was that the value property didn't work if underlying tokens didn't have line numbers set. It needs them to know on which line documentation parts are to be able to add newlines properly. I fixed this by looking for EOL tokens as newline markers in addition to looking for line numbers. Couldn't use only EOLs because they aren't available during execution or otherwise when data is parsed with data_only=True.
A smaller issue was that from_params did handle multiline documentation with empty lines properly. An empty line was represented only by tokens Token(Token.CONTINUE, '...') and Token(Token.EOL, eol), but there needs to be Token(Token.ARGUMENT, '') between them. Without that the whole line is ignored.
I still need to cleanup the code and possibly add few more tests but I'll commit and push the fix shortly.


chore: remove dom lib reference from server package

The dom lib is incompatible with node, which can result in inaccurate
type checking. Packages which reference types provided by a lib require
package consumers to either include the lib or use skipLibCheck which
disables all type declaration checks.
So instead of referencing the dom lib, define the types needed by the
server package locally and import them where needed.

The dom lib is incompatible with node...

Can you clarify this please? The DOM lib is provided by TypeScript, and types are stripped out before code ever touches Node. How can they be incompatible?

The lib setting provides default type definitions. The setting has to be chosen based on the environment in which the code is expected to run in order for the correct set of types to be used by the type checker.
For example, the type definitions for timers e.g. setTimeout returns a number in the dom lib, but it returns NodeJS.Timeout in @types/node. There are a variety of such discrepancies that lead to programming errors or useless type narrowing checks if the dom lib is used in code that is intended to run outside of the browser.
see: https://www.typescriptlang.org/tsconfig#lib

@MasterKale I think this PR is in good shape now. I duplicated the typedoc version bump to get the Netlify checks passing, and I used caret specifiers for the updated @peculiar/asn1-* deps. If there's a particular strategy you'd like to use to reconcile those changes with #68, let me know, and I'll do the needful.

@jstewmon if you pull in the latest from master does that take care of the conflicts?
And I want to check my understanding of what's going on in this PR: TypeScript's "DOM" lib is inappropriate to include in the tsconfig.json of a NodeJS-targeted library like server for...reasons (still not sure why, something about inaccurate type-checking)...
The fix for this scenario is to copy-paste the required DOM lib type definitions into the codebase, as you've done here in typescript-types' new dom.ts. The various internals of the server package that reference DOM lib types then need to be updated to refer to these types duplicated types.
Is this accurate?

@jstewmon if you pull in the latest from master does that take care of the conflicts?

👍 I've rebased and resolved the conflicts.

And I want to check my understanding of what's going on in this PR: TypeScript's "DOM" lib is inappropriate to include in the tsconfig.json of a NodeJS-targeted library like server for...reasons (still not sure why, something about inaccurate type-checking)...
The fix for this scenario is to copy-paste the required DOM lib type definitions into the codebase, as you've done here in typescript-types package's new dom.ts. The various internals of the server package that reference DOM lib types then need to be updated to refer to these duplicated types.
Is this accurate?

Yeah, you got it. The reasons are about globals. Node and Browsers have different global APIs - both the set of available globals and the interfaces of globals whose names are available on both.
When use use a global like setTimeout, typescript searches for a type definition for the function. If you have the dom lib enabled it find this definition. If you have @types/node installed, it finds this definition. If you have both, it will find both and the initial type of setTimeout will be overloaded with both type definitions. This can lead to the need to explicitly narrow the type with either a cast or a type assertion.
Types that are in the dom globals but not node globals can lead to programming errors like trying to instantiate a type which does not exist, as happened in https://github.com/prisma-labs/graphql-request/issues/206. The Headers class needed to be imported from a library, but because the DOM lib was referenced, the typescript compiler found a global type definition and the error went undetected.
There's no way to import types from a lib, so if you want to use type definitions that are already defined by the dom lib in a package that targets node, then the best solution is to copy the type definitions from the dom lib into your project.


Feature/webpack

What do you think? :blush:
#6

Great! Let's use rimraf so it builds on Windows too?

@gaearon done :+1:

If we use babel we should also compile CommonJS to lib folder using Babel CLI and change main in package json to point to the compiled version.

Thank you!

good job @vlkosinov !

Thanks again! This got me to finally release 1.0 :-P


config: make node a bootstrapper with a flag option

Right now, we need to create a bootstrapper through editing config.toml
The flag like --bootstrapper will ease the creation much more comparing to the current approach.

cc: @sysrex

Linking existing discussion for the problem: https://github.com/celestiaorg/celestia-node/issues/63
The original solution is still preferred. The bootstrapper mode is a very special case for our infrastructure. Regular users should not be running nodes in this mode; hence, this build and/or CLI flag should be hidden away from them. If we go with the build flag approach, then it the celestia version cmd should show that this is a bootstrapper build binary.

While we did not add a flag, we added env var instead.


Add string-based Property API that does not require a type

Issue #6303

Can you add a test to show that it throws for undefined properties?

@bricelam Updated

:shipit:

double-:shipit:


F-Droid build failed

Since gradle 8 is used, we use jdk 17. But it seems it doesn't have javax so the build failed. See https://gitlab.com/linsui/fdroiddata/-/jobs/6039887550. Could you please take a look? Thanks!

https://gitlab.com/linsui/fdroiddata/-/jobs/6522298107 The build still fails.

Maybe you need to clean the cache.

I did. It still works well and it also works on the Github CI.
I added -dontwarn javax.annotation.** and deleted / created a new tag


[Feedback wanted] Naming style

deno-redis currently uses the snake case style for methods and options.
However, in JavaScript, the camel case style seems to be more common.
If you have an opinion about this, please leave a comment :smiley:

I believe camelCase will provide the highest level of conformity to what's found in code bases online. That said, I think the most important thing is to make deno-redis consistent with itself (and we might already be there)

I agree with @Terkwood. IMHO, consistency within a repo is good enough.
When the DenoLib community (which this repo is part of) has formalised a convention, we could then think about consistency cross repos.

Since deno v1.7.1, the deno lint command recommends camel case style for variables/functions. I'd like to follow the deno lint style as much as possible, so I'll change naming to camel case style before v1 is released.
(camelcase) Identifier 'script_load' is not in camel case.
  script_load(script: string): Promise<Status>;
  ^^^^^^^^^^^
    at /home/uki00a/ghq/github.com/uki00a/redis/command.ts:990:2

    hint: Consider renaming `script_load` to `scriptLoad`

https://github.com/denodrivers/redis/pull/182/checks?check_run_id=1844485219


Performance issues with large wallets

(Not going to try cause like 6 people understand better than me)

Blocking https://github.com/lbryio/internal-apis/issues/1176

The wallet performance regression was fixed in the v<IP_ADDRESS> release. The other wallet performance issues stem from the inherited bitcoin mess-of-a-wallet. I recommend that you batch your high-frequency sends and utilize the sendmany RPC call once every five seconds.


[dns-client] feature to auto set the default server address

This commit adds a new feature in DNS client to automatically set and
update the server's IPv6 address in the default config. This is done
only when user does not explicitly set or specify the server address.
This behavior requires SRP client and its auto-start feature to be
enabled. SRP client will then monitor the Thread Network Data for
DNS/SRP Service entries to select an SRP server. The selected SRP
server address is also set as the DNS server address in the default
config.
This commit also adds test_dns_client_config_auto_start.py which
verifies the behavior of the new feature. In particular, that the DNS
client's default config gets changed and mirrors the SRP client
selected server address (when not set by user) and that it remains
unchanged if user explicitly sets the address in the default config.

I wonder if we can use this behavior without auto-start feature.

The current code requires the auto-start feature. This PR is just providing some convenience for the user by automatically changing the default DNS config to mirror what SRP client is using (user can choose to not use this, and parse network data and select address themselves).
In general SRP and DNS-SD are enabled and used together. If there is a need/use-case to support them separately we can consider in future to refactor some of the code from auto-start into a new module that can then be used by user and/or SRP/DNS clients.

I wonder if we can use this behavior without auto-start feature.

The current code requires the auto-start feature. This PR is just providing some convenience for the user by automatically changing the default DNS config to mirror what SRP client is using (user can choose to not use this, and parse network data and select address themselves).
In general SRP and DNS-SD are enabled and used together. If there is a need/use-case to support them separately we can consider in future to refactor some of the code from auto-start into a new module that can then be used by user and/or SRP/DNS clients.

Fine to me.
From another standpoint, users who will configure the SRP server manually should also be capable of configuring DNS server manually.


sorry, delete this issue.

sorry, delete this issue.

Hey 👋
i believe all the response models have a property to access the entire json as a map.
could try accessing "self" property and use the returned map to access the field manually?
i might be able to implement a more standard approach for this but it might take some time.


Telemetry: Healing spells

Include healing values for spells and fountain and maybe perks? We should be able to calculate how much heal was done

We already have a Event of Ability use. It should include data "Target" (hero or minnion) and then the value of heal (say) done per tick and burst.

👍

recreated this FR on FeatHub @ http://feathub.com/madglory/gamelocker-vainglory/+6

Working on it


[hotfix][docs][table] Fix docs for SHA1

What is the purpose of the change
Currently docs for SHA1 and SHA-224 is identical, this PR fixes that
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (yes / no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (yes / no)
The serializers: (yes / no / don't know)
The runtime per-record code paths (performance sensitive): (yes / no / don't know)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn, ZooKeeper: (yes / no / don't know)
The S3 file system connector: (yes / no / don't know)

Documentation

Does this pull request introduce a new feature? (yes / no)
If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)

@fapaul sorry for the poke, this is a friendly reminder, since the pr was approved

@snuyanzin can you also double-check if these changes need to be backported, so I can merge all fixes together? Unfortunately, it is rather difficult to track changes across versions without a ticket.

Hi @fapaul
I've checked documentation for 1.13 and 1.14
Those versions also have this issue.
Not sure if it makes sense to check earlier versions since they are not supported
Let me know if I need to create a separate PR for each release, I can do it then

Hi @fapaul I've checked documentation for 1.13 and 1.14 Those versions also have this issue.
Not sure if it makes sense to check earlier versions since they are not supported
Let me know if I need to create a separate PR for each release, I can do it then

Yes please open two separate PRs.

ok, PRs created


Unifi Protect Container doesn't start

Docker log output:
database exists
Error: Config owner (postgres:101) and data owner (root:0) do not match, and config owner is not root

Then I deleted and re-created the container and now the logs it's like:

Is it related to user permissions on the volumes?

Edit: I got it working if I don't link the postgres database to a volume :/

Edit2:
To fix my main issue: Instead of linking the volume to /var/lib/postgresql/10/main, just link to /var/lib/postgresql and the permissions will be fixed on the first start.
Other issue that will show up later if you just use the port mapping is that the docker need to have external internet access, (tip from https://github.com/iamjamestl/docker-unifi-protect ), so maybe it's better to just use a bridge mode on the container.
So if you get a blue screen saying something like connecting to your nvr..., it's the port mapping issue.

Hi @icaroscherma,
Good to hear you've managed to solve the issue.
Also thanks for the bridge/port-forward information. We've had some users stuck at connecting to your nvr... while others never had the issue. Good to know that it might be related to the external internet access.


vfu_map_sg() concurrency

Currently, vfu_addr_to_sg(), vfu_map_sg() and vfu_unmap_sg() cannot be used in a concurrent manner. This is for a few reasons:

the (unused) region refcnt is not atomic
the ->maps linked list is not atomic
unless otherwise prevented, a concurrent VFIO_IOMMU_DIRTY_PAGES_FLAG_GET_BITMAP can race with dirty bitmap tracking of vfu_map_sg()
unless otherwise prevented, a concurrent VFIO_USER_DMA_UNMAP can race with region dereference in above calls.
same can happen in response to any context-using call in the case the socket client hangs up and we need to tear down the DMA controller - that will result in unmap callbacks

However SPDK would like to be able share libvfio-user context across reactors/pthreads. vfu_run_ctx can likely be pthread-protected, in the expectation there's only one poller on library state (so no contention), which leaves the above I/O handling code. Let's presume that SPDK can provide exclusion such that no active sg maps are present across a DMA unmap. The question becomes can be support multi-threaded use of the above three APIs.

We can remove the refcnt altogether.
we'd have to make the dirty bitmap writing atomic op
we'd have to use some lockless structure for ->maps or otherwise approach the problem
if a dirty pages get call comes in, that's currently not safe against a concurrent vfu_map_sg() marking things dirty

As a reminder, ->maps exists so that if a consumer does vfu_map_sg() and then we are asked to enable dirty page tracking, we won't mark those pages as dirty, and will hence potentially lose data. Note that we actually only need that information during that transition, to catch vfu_map_sg() that happened just before dirty page tracking (and hence didn't mark dirty).
If we could ensure there were no inflight DMAs at the time of enabling dirty page tracking, we wouldn't need the map list at all.
Looking at this again, though, it looks a bit dubious anyway.

I'm wondering if a pthread_rwlock would be a fair compromise between performance between thread-safety.
Any thread that needs to perform vfu_map_sg() with vfu_ctx could take the pthread_rwlock_rdlock() - which can be taken by multiple threads concurrently.
Any thread that wants to perform the unmap operation could consider taking the pthread_rwlock_wrlock() - which prevent further rdlocks from being issues and waits for existing rdlocks to be returned.

a R/W lock helps a bit, certainly, but they're still not great for concurrency
Also I'm not really sure how that would even work in SPDK context since it would mean the unmap happening, and the poller going to sleep waiting for all the readers stuck in I/O land

fixed a while back


Get errors "NVTX functions not installed. Are you sure you have a CUDA build?" when run RF2NA on CPU.

Hi,
I get the following errors when run RoseTTAFold2NA on CPU. I have replaced the "torch.cuda.amp.autocast" with "torch.amp.autocast" in predict.py in order to overcome another "NVTX functions not installed." error when running the run_RF2NA.sh.
Seems there is some part of the codes still calling cuda or searching for GPUs?
Thank you!
Traceback (most recent call last):
  File "/expanse/lustre/projects/ddp398/wjin/software/RoseTTAFold2NA/network/predict.py", line 376, in <module>
    pred.predict(inputs=args.inputs, out_prefix=args.prefix, ffdb=ffdb)
  File "/expanse/lustre/projects/ddp398/wjin/software/RoseTTAFold2NA/network/predict.py", line 239, in predict
    self._run_model(Ls, msa_orig, ins_orig, t1d, t2d, xyz_t, xyz_t[:,0], alpha_t, "%s_%02d"%(out_prefix, i_trial))
  File "/expanse/lustre/projects/ddp398/wjin/software/RoseTTAFold2NA/network/predict.py", line 299, in _run_model
    logit_s, logit_aa_s, logit_pae, init_crds, alpha_prev, _, pred_lddt_binned, msa_prev, pair_prev, state_prev = self.model(
  File "/home/wjin/data/anaconda3/envs/RF2NA/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1190, in _call_impl
    return forward_call(*input, **kwargs)
  File "/expanse/lustre/projects/ddp398/wjin/software/RoseTTAFold2NA/network/RoseTTAFoldModel.py", line 104, in forward
    msa, pair, xyz, alpha_s, xyzallatom, state = self.simulator(
  File "/home/wjin/data/anaconda3/envs/RF2NA/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1190, in _call_impl
    return forward_call(*input, **kwargs)
  File "/expanse/lustre/projects/ddp398/wjin/software/RoseTTAFold2NA/network/Track_module.py", line 441, in forward
    msa_full, pair, xyz, state, alpha = self.extra_block[i_m](msa_full, pair,
  File "/home/wjin/data/anaconda3/envs/RF2NA/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1190, in _call_impl
    return forward_call(*input, **kwargs)
  File "/expanse/lustre/projects/ddp398/wjin/software/RoseTTAFold2NA/network/Track_module.py", line 367, in forward
    xyz, state, alpha = self.str2str(msa.float(), pair.float(), xyz.detach().float(), state.float(), idx, top_k=top_k)
  File "/home/wjin/data/anaconda3/envs/RF2NA/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1190, in _call_impl
    return forward_call(*input, **kwargs)
  File "/home/wjin/data/anaconda3/envs/RF2NA/lib/python3.8/site-packages/torch/amp/autocast_mode.py", line 14, in decorate_autocast
    return func(*args, **kwargs)
  File "/expanse/lustre/projects/ddp398/wjin/software/RoseTTAFold2NA/network/Track_module.py", line 234, in forward
    shift = self.se3(G, node.reshape(B*L, -1, 1), l1_feats, edge_feats)
  File "/home/wjin/data/anaconda3/envs/RF2NA/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1190, in _call_impl
    return forward_call(*input, **kwargs)
  File "/expanse/lustre/projects/ddp398/wjin/software/RoseTTAFold2NA/network/SE3_network.py", line 84, in forward
    return self.se3(G, node_features, edge_features) #, clamp_d=clamp_d)
  File "/home/wjin/data/anaconda3/envs/RF2NA/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1190, in _call_impl
    return forward_call(*input, **kwargs)
  File "/home/wjin/data/anaconda3/envs/RF2NA/lib/python3.8/site-packages/se3_transformer-1.0.0-py3.8.egg/se3_transformer/model/transformer.py", line 163, in forward
  File "/home/wjin/data/anaconda3/envs/RF2NA/lib/python3.8/site-packages/se3_transformer-1.0.0-py3.8.egg/se3_transformer/model/basis.py", line 166, in get_basis
  File "/home/wjin/data/anaconda3/envs/RF2NA/lib/python3.8/contextlib.py", line 114, in __enter__
    return next(self.gen)
  File "/home/wjin/data/anaconda3/envs/RF2NA/lib/python3.8/site-packages/torch/cuda/nvtx.py", line 86, in range
    range_push(msg.format(*args, **kwargs))
  File "/home/wjin/data/anaconda3/envs/RF2NA/lib/python3.8/site-packages/torch/cuda/nvtx.py", line 28, in range_push
    return _nvtx.rangePushA(msg)
  File "/home/wjin/data/anaconda3/envs/RF2NA/lib/python3.8/site-packages/torch/cuda/nvtx.py", line 9, in _fail
    raise RuntimeError("NVTX functions not installed. Are you sure you have a CUDA build?")
RuntimeError: NVTX functions not installed. Are you sure you have a CUDA build?

 Any updates on this?

The environment file is missing a dependency for pytorch to see cuda. You have to add/modify lines in the environment file:
Specify - pytorch::pytorch=1.12.0 and - pytorch::torchvision=0.13.0 and the issue is going to go away.
Cheers,
Kamil

Thanks @kcygan! The NVTX errors disappeared. But I got a new DGL error shown below.
The details are here:
Traceback (most recent call last):   File "/MY_HOME_FOLDER/software/RoseTTAFold2NA/network/predict.py", line 376, in <module>     pred.predict(inputs=args.inputs, out_prefix=args.prefix, ffdb=ffdb)   File "/MY_HOME_FOLDER/software/RoseTTAFold2NA/network/predict.py", line 239, in predict     self._run_model(Ls, msa_orig, ins_orig, t1d, t2d, xyz_t, xyz_t[:,0], alpha_t, "%s_%02d"%(out_prefix, i_trial))   File "/MY_HOME_FOLDER/software/RoseTTAFold2NA/network/predict.py", line 299, in _run_model     logit_s, logit_aa_s, logit_pae, init_crds, alpha_prev, _, pred_lddt_binned, msa_prev, pair_prev, state_prev = self.model(   File "/home/wjin/data/anaconda3/envs/RF2NA_2/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1130, in _call_impl     return forward_call(*input, **kwargs)   File "/MY_HOME_FOLDER/software/RoseTTAFold2NA/network/RoseTTAFoldModel.py", line 104, in forward     msa, pair, xyz, alpha_s, xyzallatom, state = self.simulator(   File "/home/wjin/data/anaconda3/envs/RF2NA_2/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1130, in _call_impl     return forward_call(*input, **kwargs)   File "/MY_HOME_FOLDER/software/RoseTTAFold2NA/network/Track_module.py", line 441, in forward     msa_full, pair, xyz, state, alpha = self.extra_block[i_m](msa_full, pair,   File "/home/wjin/data/anaconda3/envs/RF2NA_2/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1130, in _call_impl     return forward_call(*input, **kwargs)   File "/MY_HOME_FOLDER/software/RoseTTAFold2NA/network/Track_module.py", line 367, in forward     xyz, state, alpha = self.str2str(msa.float(), pair.float(), xyz.detach().float(), state.float(), idx, top_k=top_k)   File "/home/wjin/data/anaconda3/envs/RF2NA_2/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1130, in _call_impl     return forward_call(*input, **kwargs)   File "/home/wjin/data/anaconda3/envs/RF2NA_2/lib/python3.8/site-packages/torch/amp/autocast_mode.py", line 12, in decorate_autocast     return func(*args, **kwargs)   File "/MY_HOME_FOLDER/software/RoseTTAFold2NA/network/Track_module.py", line 234, in forward     shift = self.se3(G, node.reshape(B*L, -1, 1), l1_feats, edge_feats)   File "/home/wjin/data/anaconda3/envs/RF2NA_2/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1130, in _call_impl     return forward_call(*input, **kwargs)   File "/MY_HOME_FOLDER/software/RoseTTAFold2NA/network/SE3_network.py", line 84, in forward     return self.se3(G, node_features, edge_features) #, clamp_d=clamp_d)   File "/home/wjin/data/anaconda3/envs/RF2NA_2/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1130, in _call_impl     return forward_call(*input, **kwargs)   File "/home/wjin/data/anaconda3/envs/RF2NA_2/lib/python3.8/site-packages/se3_transformer-1.0.0-py3.8.egg/se3_transformer/model/transformer.py", line 176, in forward   File "/home/wjin/data/anaconda3/envs/RF2NA_2/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1130, in _call_impl     return forward_call(*input, **kwargs)   File "/home/wjin/data/anaconda3/envs/RF2NA_2/lib/python3.8/site-packages/se3_transformer-1.0.0-py3.8.egg/se3_transformer/model/transformer.py", line 47, in forward   File "/home/wjin/data/anaconda3/envs/RF2NA_2/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1130, in _call_impl     return forward_call(*input, **kwargs)   File "/home/wjin/data/anaconda3/envs/RF2NA_2/lib/python3.8/site-packages/se3_transformer-1.0.0-py3.8.egg/se3_transformer/model/layers/attention.py", line 169, in forward   File "/home/wjin/data/anaconda3/envs/RF2NA_2/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1130, in _call_impl     return forward_call(*input, **kwargs)   File "/home/wjin/data/anaconda3/envs/RF2NA_2/lib/python3.8/site-packages/se3_transformer-1.0.0-py3.8.egg/se3_transformer/model/layers/attention.py", line 82, in forward   File "/home/wjin/data/anaconda3/envs/RF2NA_2/lib/python3.8/site-packages/dgl/ops/sddmm.py", line 127, in func     return gsddmm(g, binary_op, x, y,   File "/home/wjin/data/anaconda3/envs/RF2NA_2/lib/python3.8/site-packages/dgl/ops/sddmm.py", line 74, in gsddmm     return gsddmm_internal(   File "/home/wjin/data/anaconda3/envs/RF2NA_2/lib/python3.8/site-packages/dgl/backend/pytorch/sparse.py", line 733, in gsddmm     return GSDDMM.apply(gidx, op, lhs_data, rhs_data, lhs_target, rhs_target)   File "/home/wjin/data/anaconda3/envs/RF2NA_2/lib/python3.8/site-packages/torch/cuda/amp/autocast_mode.py", line 118, in decorate_fwd     return fwd(*args, **kwargs)   File "/home/wjin/data/anaconda3/envs/RF2NA_2/lib/python3.8/site-packages/dgl/backend/pytorch/sparse.py", line 289, in forward     out = _gsddmm(gidx, op, X, Y, lhs_target, rhs_target)   File "/home/wjin/data/anaconda3/envs/RF2NA_2/lib/python3.8/site-packages/dgl/sparse.py", line 501, in _gsddmm     _CAPI_DGLKernelSDDMM(gidx, op,   File "dgl/_ffi/_cython/./function.pxi", line 293, in dgl._ffi._cy3.core.FunctionBase.__call__   File "dgl/_ffi/_cython/./function.pxi", line 239, in dgl._ffi._cy3.core.FuncCall dgl._ffi.base.DGLError: [14:01:27] /opt/dgl/src/array/kernel.cc:257: Check failed: (out->dtype).code == kDLFloat (^D vs. 2) : Feature data must be float type Stack trace:   [bt] (0) /home/wjin/data/anaconda3/envs/RF2NA_2/lib/python3.8/site-packages/dgl/libdgl.so(dmlc::LogMessageFatal::~LogMessageFatal()+0x4f) [0x15549fbcd1cf]   [bt] (1) /home/wjin/data/anaconda3/envs/RF2NA_2/lib/python3.8/site-packages/dgl/libdgl.so(dgl::aten::SDDMM(std::string const&, std::shared_ptr<dgl::BaseHeteroGraph>, dgl::runtime::NDArray, dgl::runtime::NDArray, dgl::runtime::NDArray, int, int)+0x3f8) [0x15549fe89558]   [bt] (2) /home/wjin/data/anaconda3/envs/RF2NA_2/lib/python3.8/site-packages/dgl/libdgl.so(+0x66d40e) [0x15549fea140e]   [bt] (3) /home/wjin/data/anaconda3/envs/RF2NA_2/lib/python3.8/site-packages/dgl/libdgl.so(+0x66da21) [0x15549fea1a21]   [bt] (4) /home/wjin/data/anaconda3/envs/RF2NA_2/lib/python3.8/site-packages/dgl/libdgl.so(DGLFuncCall+0x48) [0x15549fef3708]   [bt] (5) /home/wjin/data/anaconda3/envs/RF2NA_2/lib/python3.8/site-packages/dgl/_ffi/_cy3/core.cpython-38-x86_64-linux-gnu.so(+0x16f93) [0x15549ed8ff93]   [bt] (6) /home/wjin/data/anaconda3/envs/RF2NA_2/lib/python3.8/site-packages/dgl/_ffi/_cy3/core.cpython-38-x86_64-linux-gnu.so(+0x1777b) [0x15549ed9077b]   [bt] (7) python(_PyObject_MakeTpCall+0x3eb) [0x4d207b]   [bt] (8) python(_PyEval_EvalFrameDefault+0x4f68) [0x4cd0a8]
The current package versions:
brotlipy==0.7.0 certifi @ file:///croot/certifi_1671487769961/work/certifi cffi @ file:///croot/cffi_1670423208954/work charset-normalizer @ file:///tmp/build/80754af9/charset-normalizer_1630003229654/work click==8.1.3 colorama @ file:///croot/colorama_1672386526460/work configparser==5.3.0 cryptography @ file:///croot/cryptography_1673298753778/work dgl==0.9.1.post1 DLLogger @ git+https://github.com/NVIDIA/dllogger@0540a43971f4a8a16693a9de9de73c1072020769 docker-pycreds==0.4.0 e3nn==0.3.3 flit_core @ file:///opt/conda/conda-bld/flit-core_1644941570762/work/source/flit_core gitdb==4.0.10 GitPython==3.1.30 idna @ file:///croot/idna_1666125576474/work mkl-fft==1.3.1 mkl-random @ file:///tmp/build/80754af9/mkl_random_1626186064646/work mkl-service==2.4.0 mpmath==1.2.1 networkx @ file:///opt/conda/conda-bld/networkx_1657784097507/work numpy @ file:///croot/numpy_and_numpy_base_1672336185480/work opt-einsum==3.3.0 opt-einsum-fx==0.1.4 packaging==23.0 pathtools==0.1.2 Pillow==9.3.0 promise==2.3 protobuf==4.21.12 psutil @ file:///home/conda/feedstock_root/build_artifacts/psutil_1667885878918/work pycparser @ file:///tmp/build/80754af9/pycparser_1636541352034/work pynvml==11.0.0 pyOpenSSL @ file:///opt/conda/conda-bld/pyopenssl_1643788558760/work PySocks @ file:///tmp/build/80754af9/pysocks_1605305779399/work python-dateutil==2.8.2 PyYAML==6.0 requests @ file:///opt/conda/conda-bld/requests_1657734628632/work scipy==1.9.3 se3-transformer==1.0.0 sentry-sdk==1.14.0 shortuuid==1.0.11 six @ file:///tmp/build/80754af9/six_1644875935023/work smmap==5.0.0 subprocess32==3.5.4 sympy==1.11.1 torch==1.12.0 torchvision==0.13.0 tqdm @ file:///home/conda/feedstock_root/build_artifacts/tqdm_1662214488106/work typing_extensions @ file:///croot/typing_extensions_1669924550328/work urllib3 @ file:///croot/urllib3_1673575502006/work wandb==0.12.0

Hiii I have reported same issue I have updated the software as you mentioned but the problem still there can't figure out what to do.. This problem I have faced in HPC installation.... Help me out what to do...

I resolved this issue by uninstalling Pytorch and reinstalling Pytorch with cuda support
conda install pytorch torchvision torchaudio pytorch-cuda=11.6 -c pytorch -c nvidia

run pip install  dgl -f https://data.dgl.ai/wheels/cu118/repo.html

Dear Jessica
Thanks a lot for your kind answer,
Could you please detail a little how exactly did you proceed?
Regards,
Fabian

Fabian Glaser, PhD
Structural and Computational Biology Unit
The Lorry I. Lokey Center for Life Sciences and Engineering
Technion - Israel Institute of Technology, Haifa, Israel

On 2 Dec 2023, at 15:58, Jessica Andreani @.***> wrote:
Hello,
Not sure if it will work for you but I have experienced issues with NVTX and GPU too.
I have solved them by using a modified conda environment with CUDA 11.6 and cudatoolkit from nvidia instead of conda-forge
nvidia::cudatoolkit=11.6
dglteam::dgl-cuda11.6
Also, I have to systematically run
export CUDA_VISIBLE_DEVICES=0
once I have activated the conda environment and before running the RF2NA program.
Hope it helps.
—
Reply to this email directly, view it on GitHub https://github.com/uw-ipd/RoseTTAFold2NA/issues/36#issuecomment-1837154977, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACSBVSC5CPVWIVNXC3QHHELYHMXX7AVCNFSM6AAAAAAS7HETVKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMZXGE2TIOJXG4.
You are receiving this because you commented.

Dear Fabian,
sorry, I realized I do not have the latest version of the yml file. I had started from this earlier version
https://github.com/uw-ipd/RoseTTAFold2NA/blob/43bdd8908236935df74528bfd3b787a493a5d251/RF2na-linux.yml
and substituted two lines:

nvidia::cudatoolkit=11.6 instead of conda-forge::cudatoolkit=11.3
dglteam::dgl-cuda11.6 instead of dglteam::dgl-cuda11.3

This solved my library errors, but I haven't tried with the new yml file yet.
Also, if I did not run the command indicated before (export CUDA_VISIBLE_DEVICES=0) in the terminal before running RF2NA, my GPU card was not detected.
Best regards
Jessica

Jessica, maybe I misunderstand something here, but you say that you have to run run the command you indicated, unless your GPU card was not detected. Isn't the whole point of this thread to get the program run without the need for GPU?
I find it a huge drawback that you still need a specific GPU card for RF2NA to run. Also, there are no real alternatives to running the program locally, no Colab notebook, nothing.

For those still struggling with the newest yml file, I think I stumbled upon a solution that may work universally.
Before doing anything, run this:
conda config --set channel_priority flexible
Based on https://pytorch.org/blog/deprecation-cuda-python-support/, I substituted pytorch for pytorch::pytorch=2.0 in the yml file, because the former installs pytorch 2.1.*. So my yml file looks like this:
name: RF2NA
channels:
  - pytorch
  - nvidia
  - defaults
  - conda-forge
dependencies:
  - python=3.10
  - pip
  - pytorch::pytorch=2.0
  - requests
  - pytorch-cuda=11.7
  - dglteam/label/cu117::dgl
  - pyg::pyg
  - bioconda::mafft
  - bioconda::hhsuite
  - bioconda::blast
  - bioconda::hmmer>=3.3
  - bioconda::infernal
  - bioconda::cd-hit
  - bioconda::csblast
  - pip:
    - psutil
    - tqdm

Then go about with conda env create -f RF2na-linux.yml
Finally, probably unnecessary to say, but after having run conda activate RF2NA:
cd SE3Transformer pip install --no-cache-dir -r requirements.txt python setup.py install

@stianale that worked great thank you.
After doing your solution I got an error that said
ModuleNotFoundError: No module named 'pandas'
A simple pip install pandas solved that problem. It's working great now.
I wonder if pandas should be in the .yml file? Did anyone else have install pandas on their own?

@samhimes92
I get the same error with the version released on April, 14th. Going to install pandas as well and see if this fixed it

That fixed the pandas error. I also tried the approach of @stianale. It is still not run on the gpu. Still have issues running the example though.  @samhimes92 did you change anything else?
/my/path/installations/021310/all/RoseTTAFold2NA/0.2/input_prep/make_rna_msa.sh: line 9: [: missing `]'
sed: can't read rfam1.db.aa: No such file or directory
sed: can't read rfam1.db.ab: No such file or directory
sed: can't read rfam1.db.ac: No such file or directory
sed: can't read rfam1.db.ad: No such file or directory
sed: can't read rfam1.db.ae: No such file or directory
sed: can't read rfam1.db.af: No such file or directory
sed: can't read rfam1.db.ag: No such file or directory
cat: 'rfam1.db.*': No such file or directory
rm: cannot remove 'rfam1.db.*': No such file or directory
sed: can't read rfam2.db.aa: No such file or directory
sed: can't read rfam2.db.ab: No such file or directory
sed: can't read rfam2.db.ac: No such file or directory
cat: 'rfam2.db.*': No such file or directory
rm: cannot remove 'rfam2.db.*': No such file or directory
blastn: error while loading shared libraries: libnsl.so.1: cannot open shared object file: No such file or directory
head: cannot open 'blastn1.tab' for reading: No such file or directory
sed: can't read blastn1.db.*: No such file or directory
cat: 'blastn1.db.*': No such file or directory
rm: cannot remove 'blastn1.db.*': No such file or directory
rm: cannot remove 'blastn1.list.split.*': No such file or directory
rm: cannot remove 'blastn1.tab': No such file or directory
blastn: error while loading shared libraries: libnsl.so.1: cannot open shared object file: No such file or directory
head: cannot open 'blastn2.tab' for reading: No such file or directory
sed: can't read blastn2.db.*: No such file or directory
cat: 'blastn2.db.*': No such file or directory
rm: cannot remove 'blastn2.db.*': No such file or directory
rm: cannot remove 'blastn2.list.split.*': No such file or directory
rm: cannot remove 'blastn2.tab': No such file or directory

Error: Failed to autodetect format for target sequence database db

Alignment input open failed.
   couldn't open nhmmer.a2m for reading
- 13:37:04.788 INFO: Input file = RNA.wquery.unfilt.afa

- 13:37:04.788 INFO: Output file = RNA.afa

- 13:37:04.788 ERROR: In /opt/conda/conda-bld/hhsuite_1690046720367/work/src/hhalignment.cpp:502: Read:

- 13:37:04.788 ERROR: 	No sequences found in file RNA.wquery.unfilt.afa

grep: RNA.afa: No such file or directory

Error: Failed to autodetect format for target sequence database db

Alignment input open failed.
   couldn't open nhmmer.a2m for reading
- 13:37:04.855 INFO: Input file = RNA.wquery.unfilt.afa

- 13:37:04.855 INFO: Output file = RNA.afa

- 13:37:04.855 ERROR: In /opt/conda/conda-bld/hhsuite_1690046720367/work/src/hhalignment.cpp:502: Read:

- 13:37:04.855 ERROR: 	No sequences found in file RNA.wquery.unfilt.afa

Error: Failed to autodetect format for target sequence database db

Alignment input open failed.
   couldn't open nhmmer.a2m for reading
- 13:37:04.919 INFO: Input file = RNA.wquery.unfilt.afa

- 13:37:04.919 INFO: Output file = RNA.afa

- 13:37:04.920 ERROR: In /opt/conda/conda-bld/hhsuite_1690046720367/work/src/hhalignment.cpp:502: Read:

- 13:37:04.920 ERROR: 	No sequences found in file RNA.wquery.unfilt.afa

Error: Failed to autodetect format for target sequence database db

Alignment input open failed.
   couldn't open nhmmer.a2m for reading
- 13:37:04.987 INFO: Input file = RNA.wquery.unfilt.afa

- 13:37:04.987 INFO: Output file = RNA.afa

- 13:37:04.988 ERROR: In /opt/conda/conda-bld/hhsuite_1690046720367/work/src/hhalignment.cpp:502: Read:

- 13:37:04.988 ERROR: 	No sequences found in file RNA.wquery.unfilt.afa

Error: Failed to autodetect format for target sequence database db

Alignment input open failed.
   couldn't open nhmmer.a2m for reading
- 13:37:05.051 INFO: Input file = RNA.wquery.unfilt.afa

- 13:37:05.051 INFO: Output file = RNA.afa

- 13:37:05.052 ERROR: In /opt/conda/conda-bld/hhsuite_1690046720367/work/src/hhalignment.cpp:502: Read:

- 13:37:05.052 ERROR: 	No sequences found in file RNA.wquery.unfilt.afa

Error: Failed to autodetect format for target sequence database db

Alignment input open failed.
   couldn't open nhmmer.a2m for reading
- 13:37:05.119 INFO: Input file = RNA.wquery.unfilt.afa

- 13:37:05.119 INFO: Output file = RNA.afa

- 13:37:05.119 ERROR: In /opt/conda/conda-bld/hhsuite_1690046720367/work/src/hhalignment.cpp:502: Read:

- 13:37:05.119 ERROR: 	No sequences found in file RNA.wquery.unfilt.afa

rm: cannot remove 'nhmmer.a2m': No such file or directory

@boesr
I'm sorry to that it is giving you trouble. Unfortunately I didn't change anything else.

For everyone else having the same error. The RNA database was corrupt due to ASCI characters. I exchanged the installation command to gunzip -c rnacentral_species_specific_ids.fasta.gz | perl -ne 's/[^\x00-\x7F]+/ /g; print;' | makeblastdb -in - -dbtype nucl  -parse_seqids -out rnacentral.fasta -title "RNACentral"

Hello everyone, please see https://github.com/uw-ipd/RoseTTAFold2NA/issues/105 for potential solution.

I also had this issue and want to add some points:
The predict.py checks if torch.cuda.is_available evaluates to true. In case it is false, CPU is used and a message printed to the terminal. Therefore, within the RF2NA-env python import torch and testing for torch.cuda.is_available() already needs to evaluate to true. You can check the highest supported cuda version e.g. via nvidia-smi.
However, the new environment will only work if the RF2NA name is used and not a new name like CudaTestEnv. The bash-script must be run out of the base env and then activates the RF2NA env.
I added a (for me working) yml file in my fork including comments.

For everyone else having the same error. The RNA database was corrupt due to ASCI characters. I exchanged the installation command to gunzip -c rnacentral_species_specific_ids.fasta.gz | perl -ne 's/[^\x00-\x7F]+/ /g; print;' | makeblastdb -in - -dbtype nucl -parse_seqids -out rnacentral.fasta -title "RNACentral"
That does run now. It also uses the GPU (because of the other errors I never reached the "gpu part" of the test script)

First of all, thank you very much for this suggestion.

Do you know how to resolve those invalid residues as well?


Check if every package in glide.lock is required

While glide.yaml only contains one packages glide.lock lists 8 packages. We should check if we need every one of it.

Check and matterermost model  depends on every package in glide.lock. So we need all of them.


Data science

Class DataParser in the file data_parser.rb provides the following functionality:

Total sample size and number of conversions for a given cohort

Class DataAnalyzer in the file data_analyzer.rb provides the following functionality:

Conversion rate and error bars for a given cohort
Confidence level using a chi-square test on the entire dataset

Tests for DataAnalyzer live in /spec/data_analyzer_spec.rb
Tests for DataParser live in /spec/data_parser_spec.rb
Class-runner for DataAnalyzer is DataScience. To execute the runner:
Input:
ruby data_science.rb

Produces the output:
Cohort A sample size: 1349
Cohort A number of conversions: 47
Cohort B sample size: 1543
Cohort B number of conversions: 79

Cohort A conversion rate: 3% +/- 1
Cohort B conversion rate: 5% +/- 1

Confidence that results are conclusive: true

Good work!  Just a few comments throughout.  No need for a resubmission.


cigien: Watch lord bubuza

cigien requests the watch of the watch_keyword lord bubuza. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

lord bubuza has been seen in 2 true positives, 0 false positives, and 0 NAAs.

Approved by Jeff Schaller in Charcoal HQ