igw: validate client CHAP settings.

The linux kernel target layer, LIO, does not support the iscsi target to
mix ACLs that have chap enabled and disabled under the same tpg. This
patch adds a check and fails if this type of setup is detected.
This fixes Red Hat BZ:
https://bugzilla.redhat.com/show_bug.cgi?id=1615088
Review question:
Please review my loop. The implementation is not optimal. I am looping over the clients twice. It was not clear how I can do this with vars and/or maybe a register in one loop.

@guits yes it should.

@mikechristie any update on this? Thanks

I tried the last chunk from @guits  and it failed to run with the error:

ERROR! Syntax Error while loading YAML.
did not find expected '-' indicator
The error appears to have been in '/usr/share/ceph-ansible/roles/ceph-iscsi-gw/tasks/check_mandatory_vars.yml': line 15, column 10, but may
be elsewhere in the file depending on the exact syntax problem.
The offending line appears to be:
- item.chap == ''
- '' in client_connections | map(attribute='chap') | list
     ^ here

The '' seemed to throw it off. I tried to fix that up, but could not figure out another way that gives the correct end result.

Do you guys just want me to give up on trying to do it in one loop? I can just fix up the patch in the PR to handle the review comments and repush that. If so, I had a question about this comment:

@leseb shouldn't it be moved in role ceph-validate or /plugins/actions/validate.py ?

leesb wrote yes, but it was not clear if it should be ceph-validate or in the plugins? Is it my choice?

@mikechristie I think it's just a syntax issue
I'll investigate this but you might be missing double quotes like this :
- "'' in client_connections | map(attribute='chap') | list"

@mikechristie I confirm adding double quote as mentioned fixes your error.

@guits Thanks. That fixed the problem.
I had to slightly modify it so when we make sure to only scan present clients. I did a re-push with the code moved to ceps-validate.

@leseb @guits
Both your review comments should be fixed now. I have done a re-push of this PR with those changes.
Thanks for the help! Hopefully, I never have to bug you about ansible stuff this much :)

@mikechristie no worries, happy to help if needed :+1:

@leseb
I was not sure which you preferred. I added the with_items/when additions.
If you prefer I can move stuff to ceph-defaults. For that, do you normally only add vars that are checked in ceph-validate or should all defaults from roles/ceph-iscsi-gw/defaults/main.yml be moved there?

@mikechristie We usually move vars in ceph-defaults when they are referenced multiple times in other roles.
In that case, I'd say it's ok to use | default({}) since this is the only reference outside of ceph-iscsi.

centos7_cluster failing because of an unrelated yum repo failure...


[WIP] Use file descriptor

File descriptor error
{
  Error: ENFILE: file table overflow, open '/<files_dir>//file.md'
    at Object.openSync (fs.js:436:3)
    at new LineByLine (/<project>/node_modules/n-readlines/readlines.js:23:26)
    at getTitle (/<project>/lib/indexUtil.js:53:17)
    at /<project>/lib/indexUtil.js:29:14
    at Array.forEach (<anonymous>)
    at Object.scanMarkdownFiles (/<project>/lib/indexUtil.js:24:55)
    at /<project>/lib/middleware.search.js:25:15
    at Layer.handle [as handle_request] (/<project>/node_modules/express/lib/router/layer.js:95:5)
    at next (/<project>/node_modules/express/lib/router/route.js:137:13)
    at Route.dispatch (/<project>/node_modules/express/lib/router/route.js:112:3)
  errno: -23,
  syscall: 'open',
  code: 'ENFILE',
  path: '/<files_dir>//file.md'
}

Note

There are 1000 markdown files under <files_dir>.

Error with code of 65e5e7c132f21ef280c2186c8134db38bfdb824f
TypeError [ERR_INVALID_ARG_TYPE]: The "fd" argument must be of type number. Received type object

Received type object is null.
When LineByLine.next() reaches oef, automatically close() called.

https://github.com/nacholibre/node-readlines/issues/23

NOTE
Keep track of node-readlines issue.


Why You deleted 0.5.2h (for Shadow Mario)

What is your question?
Why You deleted 0.5.2h (for Shadow Mario)
Why You deleted 0.5.2h (for Shadow Mario)
Why You deleted 0.5.2h (for Shadow Mario)

uhh.. what??
0.5.2h isn't deleted

in releases it is

either way cant you get it off gamebanana?????

looks to just be hidden
https://github.com/ShadowMario/FNF-PsychEngine/releases/tag/0.5.2h

hmm, why is that?


Enhancement: [DeepPartial] Add an optional parameter to exclude/ignore certain types

What
I propose the following pattern that can be used to exclude ValueObject pattern or objects that have constructors.
DeepPartial<T, ExcludedTypes>

Examples
class Duration {
    constructor(public readonly value: number) {}
}
type ValueObject = Timestamp | Duration | Moment;

type SomeType = {
     value: number;
     duration: Duration;
}

type Test = DeepPartial<SomeType, ValueObject>;
/*
Expected
{
     value?: number;
     duration?: Duration;
}
instead of
{
     value?: number;
     duration?: {
          value?: number
     };
}
*/

Additional Info
No response

Hey @charmpitz!
Thank you for your feature request, I believe it's a duplicate of https://github.com/ts-essentials/ts-essentials/issues/361. Let me know if this is a different one and I will re-open it again


⚠ Turnos 24x7 has degraded performance

In 75460ab, Turnos 24x7 (https://reservas-dev.alternativasinteligentes.com/) experienced degraded performance:

HTTP code: 200
Response time: 1832 ms

Resolved: Turnos 24x7 performance has improved in fce8077.


Feature importance should be supported for DART booster

As reported in https://discuss.xgboost.ai/t/feature-importance-not-support-for-booster-type-dart/605, currently feature importance function rejects DART models. This should be rectified.

Has this been resolved ?
I am still getting an error.
Thank you

@NaderNazemi Yes, it is resolved. If you are experiencing an error, please file a new issue.


Model Inference : AssertionError

Hi,
I have successfully trained the voice and when try to do the model inference, I am having "AssertionError" , is there anything I can do to resolve this error?
Please help.
G:\RVC-beta\RVC-beta-v2-0528>runtime\python.exe infer-web.py --pycmd runtime\python.exe --port 7897
Use Language: en_US
Running on local URL:  http://<IP_ADDRESS>:7897
loading weights/Train-BV1.pth
gin_channels: 256 self.spk_embed_dim: 109

Traceback (most recent call last):
File "G:\RVC-beta\RVC-beta-v2-0528\infer-web.py", line 184, in vc_single
audio_opt = vc.pipeline(
File "G:\RVC-beta\RVC-beta-v2-0528\vc_infer_pipeline.py", line 382, in pipeline
self.vc(
File "G:\RVC-beta\RVC-beta-v2-0528\vc_infer_pipeline.py", line 201, in vc
score, ix = index.search(npy, k=8)
File "G:\RVC-beta\RVC-beta-v2-0528\runtime\lib\site-packages\faiss_init_.py", line 341, in replacement_search
assert d == self.d
AssertionError
Traceback (most recent call last):
File "G:\RVC-beta\RVC-beta-v2-0528\runtime\lib\site-packages\gradio\routes.py", line 321, in run_predict
output = await app.blocks.process_api(
File "G:\RVC-beta\RVC-beta-v2-0528\runtime\lib\site-packages\gradio\blocks.py", line 1007, in process_api
data = self.postprocess_data(fn_index, result["prediction"], state)
File "G:\RVC-beta\RVC-beta-v2-0528\runtime\lib\site-packages\gradio\blocks.py", line 953, in postprocess_data
prediction_value = block.postprocess(prediction_value)
File "G:\RVC-beta\RVC-beta-v2-0528\runtime\lib\site-packages\gradio\components.py", line 2076, in postprocess
processing_utils.audio_to_file(sample_rate, data, file.name)
File "G:\RVC-beta\RVC-beta-v2-0528\runtime\lib\site-packages\gradio\processing_utils.py", line 206, in audio_to_file
data = convert_to_16_bit_wav(data)
File "G:\RVC-beta\RVC-beta-v2-0528\runtime\lib\site-packages\gradio\processing_utils.py", line 219, in convert_to_16_bit_wav
if data.dtype in [np.float64, np.float32, np.float16]:
AttributeError: 'NoneType' object has no attribute 'dtype'

I used a new wav file with attribution, no Chinese character, and it work now.

i have the same issue, made new wav files but still error


Composite images on Apple M1 Pro creates a broken image

Possible bug
Is this a possible bug in a feature of sharp, unrelated to installation?

[X] Running npm install sharp completes without error.
[X] Running node -e "require('sharp')" completes without error.

If you cannot confirm both of these, please open an installation issue instead.
Are you using the latest version of sharp?

[X] I am using the latest version of sharp as reported by npm view sharp dist-tags.latest.

If you cannot confirm this, please upgrade to the latest version and try again before opening an issue.
If you are using another package which depends on a version of sharp that is not the latest, please open an issue against that package instead.
What is the output of running npx envinfo --binaries --system --npmPackages=sharp --npmGlobalPackages=sharp?
System:
OS: macOS 12.1
CPU: (10) arm64 Apple M1 Pro
Memory: 2.39 GB / 32.00 GB
Shell: 5.8 - /bin/zsh
Binaries:
Node: 16.14.0 - ~/.nvm/versions/node/v16.14.0/bin/node
Yarn: 1.22.17 - ~/.nvm/versions/node/v16.14.0/bin/yarn
npm: 8.5.2 - ~/.nvm/versions/node/v16.14.0/bin/npm
npmPackages:
sharp: ^0.30.7 => 0.30.7
What are the steps to reproduce?
1: Use an Apple M1 Pro or similar device
2: create an image with sharp({create: { ... } })
3: add some images with composite sharp({create: { ... } }).composite([ ...images ]}
3: write the image to your disk with .toFile( ... )
What is the expected behaviour?
Both images should look the same.
Please have a look at the images output-works.png and output-broken.png in the provided repo.
Please provide a minimal, standalone code sample, without other dependencies, that demonstrates this problem
1: Clone repo from https://github.com/Leon-Bor/sharp-composite-images
2: run npm i
3: run npm start
Please provide sample image(s) that help explain this problem
On my Apple M1 Pro I get the following images:
output-broken.png
If I use the sharp({ create: { ... }) the composite image looks like this.

output-works.png
If I hand in a normal image to sharp it is working well.

Another thing is, if I downgrade sharp to version 0.29.3 the problem is also gone. So both images look on version 0.29.3 the same. This problem seems to be an Apple related problem because it is not happening on windows or linux computers.

Given this occurs with PNG images on ARM64, my best guess would be that this is related to #3225

Let's track this at #3225


Add a "refresh" button to the regular multi view

this should call /api/refresh
this should send an ably notification to each room if the values have changed

Backup: create a snippet that can be dropped in to a browser console when used with a mutliview allowed JWT.


Add AngularJS project to Frameworks references. [bridgedotnet/Framewo…

…rks#1]

Sorry. I've given you a wrong direction in the other comment. You can switch to the AngularJS branch on the Bridge project as well. There, the reference is already made. As AngularJS is still on a specific branch, we can't add the reference in the Bridge repository.


consensus: make smr run with a single validator.

Fixes # (issue)
Type of change
Please delete options that are not relevant.

[ ] Bug fix (non-breaking change which fixes an issue)

Codecov Report

Merging #284 (3f61565) into master (f7860e1) will decrease coverage by 0.22%.
The diff coverage is 25.92%.

@@            Coverage Diff             @@
##           master     #284      +/-   ##
==========================================
- Coverage   46.45%   46.22%   -0.23%
==========================================
  Files         136      136
  Lines       12143    12183      +40
==========================================
- Hits         5641     5632       -9
- Misses       5337     5382      +45
- Partials     1165     1169       +4

Impacted Files
Coverage Δ

kernel/consensus/base/driver/chained-bft/smr.go
39.69% <3.70%> (-3.24%)
:arrow_down:

bcs/consensus/xpoa/kernel_contract.go
59.03% <48.14%> (-4.61%)
:arrow_down:

bcs/network/p2pv1/conn.go
55.10% <0.00%> (-6.13%)
:arrow_down:

bcs/consensus/tdpos/common.go
54.68% <0.00%> (-3.13%)
:arrow_down:

bcs/consensus/tdpos/tdpos.go
48.30% <0.00%> (-1.94%)
:arrow_down:

bcs/consensus/xpoa/xpoa.go
54.21% <0.00%> (-1.06%)
:arrow_down:

bcs/consensus/xpoa/common.go
90.47% <0.00%> (+4.76%)
:arrow_up:

Continue to review full report at Codecov.

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

Codecov Report

Merging #284 (3f61565) into master (f7860e1) will decrease coverage by 0.10%.
The diff coverage is 25.92%.

@@            Coverage Diff             @@
##           master     #284      +/-   ##
==========================================
- Coverage   46.45%   46.35%   -0.11%
==========================================
  Files         136      136
  Lines       12143    12183      +40
==========================================
+ Hits         5641     5647       +6
- Misses       5337     5367      +30
- Partials     1165     1169       +4

Impacted Files
Coverage Δ

kernel/consensus/base/driver/chained-bft/smr.go
39.69% <3.70%> (-3.24%)
:arrow_down:

bcs/consensus/xpoa/kernel_contract.go
59.03% <48.14%> (-4.61%)
:arrow_down:

bcs/consensus/xpoa/xpoa.go
54.21% <0.00%> (-1.06%)
:arrow_down:

bcs/contract/xvm/code_manager.go
66.36% <0.00%> (+2.72%)
:arrow_up:

bcs/consensus/xpoa/common.go
90.47% <0.00%> (+4.76%)
:arrow_up:

Continue to review full report at Codecov.

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

Codecov Report

Merging #284 (e4e5ac4) into master (a5c5c91) will decrease coverage by 0.12%.
The diff coverage is 25.92%.

@@            Coverage Diff             @@
##           master     #284      +/-   ##
==========================================
- Coverage   46.49%   46.36%   -0.13%
==========================================
  Files         136      136
  Lines       12126    12166      +40
==========================================
+ Hits         5638     5641       +3
- Misses       5321     5354      +33
- Partials     1167     1171       +4

Impacted Files
Coverage Δ

kernel/consensus/base/driver/chained-bft/smr.go
40.45% <3.70%> (-1.69%)
:arrow_down:

bcs/consensus/xpoa/kernel_contract.go
59.03% <48.14%> (-4.61%)
:arrow_down:

bcs/network/p2pv1/conn.go
55.10% <0.00%> (-6.13%)
:arrow_down:

bcs/contract/xvm/code_manager.go
63.63% <0.00%> (-2.73%)
:arrow_down:

bcs/consensus/tdpos/tdpos.go
49.27% <0.00%> (-0.97%)
:arrow_down:

bcs/consensus/pow/pow.go
42.96% <0.00%> (+1.14%)
:arrow_up:

bcs/consensus/xpoa/common.go
90.47% <0.00%> (+4.76%)
:arrow_up:

Continue to review full report at Codecov.

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

Codecov Report

Merging #284 (e4e5ac4) into master (a5c5c91) will decrease coverage by 0.08%.
The diff coverage is 25.92%.

@@            Coverage Diff             @@
##           master     #284      +/-   ##
==========================================
- Coverage   46.49%   46.40%   -0.09%
==========================================
  Files         136      136
  Lines       12126    12166      +40
==========================================
+ Hits         5638     5646       +8
- Misses       5321     5350      +29
- Partials     1167     1170       +3

Impacted Files
Coverage Δ

kernel/consensus/base/driver/chained-bft/smr.go
40.45% <3.70%> (-1.69%)
:arrow_down:

bcs/consensus/xpoa/kernel_contract.go
59.03% <48.14%> (-4.61%)
:arrow_down:

bcs/network/p2pv1/conn.go
55.10% <0.00%> (-6.13%)
:arrow_down:

bcs/consensus/pow/pow.go
42.96% <0.00%> (+1.14%)
:arrow_up:

bcs/consensus/xpoa/common.go
90.47% <0.00%> (+4.76%)
:arrow_up:

Continue to review full report at Codecov.

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


supported by windows integrated authentication?

[フィードバックをこちらに入力してください]
supported by windows integrated authentication?
it's login Method etc.
https://outlook.office.com/owa/domainName

ドキュメントの詳細
⚠ このセクションを編集しないでください。 docs.microsoft.com で必須です ➟ GitHub の問題のリンク。

ID: d200ae83-c846-5051-9391-028ec2d3c1f4
Version Independent ID: 6b32387f-ee24-8fe0-bd39-a338205ab6a0
Content: Username lookup during sign-in authentication - Azure Active Directory
Content Source: articles/active-directory/users-groups-roles/signin-realm-discovery.md
Service: active-directory
Sub-service: users-groups-roles
GitHub Login: @curtand
Microsoft Alias: curtand

@TomoharuMisawa
Thanks for your feedback! We will investigate and update as appropriate.

@TomoharuMisawa
Windows integrated authentication is ideal for intranet based applications. The home realm discovery feature is governed by the domain that is provided at sign-in.
We will be closing this thread now. Let us know if you need further help.


map rendered somwehat strangely

(see on the right)

Atom: 1.13.0-dev-11f8d9e
Platform: Mac OS X (El capitan)
v0.2.4

I have the same problem. Was there an atom update that broke this package?

This is because of a deprecation of how markmap is getting the width and height in chrome: https://www.chromestatus.com/features/5724912467574784
I've added a pull request to markmap: https://github.com/dundalek/markmap/pull/7
If you want to change it yourself it is just two lines of code.

@luddek : Awesome, it fixed it perfectly for me!

@luddek How can I apply your changes manually in Atom?

@chenzeyu
Change line 129 and 130 in
~/.atom/packages/markdown-mindmap/node_modules/markmap/view.mindmap.js
to
    state.height = svg.node().getBoundingClientRect().height;
    state.width = svg.node().getBoundingClientRect().width;

@luddek
Required a restart of Atom but worked perfectly. Big thanks.

@dundalek How can we get this fixed? Is there a way to override in your code?

This is now fixed and published, update to the latest version v0.2.5 inside Atom.


Intermittent failing storage unit tests

Refs https://dev.azure.com/monacotools/Monaco/_build/results?buildId=164046&view=logs&j=672276a2-8d3a-5fab-615d-090c51352f92&t=821d316a-2fa3-581f-c34c-57a961b8e328&l=9386
This might be a one of issue due to flakiness since the builds following that were fine, but nevertheless worth confirming from the owner about the resource contention.

Likely caused by my tests for using VACUUM in SQLite, I have reverted those changes.


Decompilation Error

Hello,
While scanning my contract using Securify, I get the following message:

Processing contract: /project/contracts/ReputationBook.sol:ReputationBook
  Attempt to decompile the contract with methods...
  Failed to decompile methods. Attempt to decompile the contract without identifying methods...
  Decompilation failed.
Error in Securify
java.lang.NullPointerException
	at ch.securify.decompiler.DestackerFallback.findJumpCondition(DestackerFallback.java:403)
	at ch.securify.decompiler.DestackerFallback.handleStackMerging(DestackerFallback.java:356)
	at ch.securify.decompiler.DestackerFallback.decompile(DestackerFallback.java:205)
	at ch.securify.decompiler.DestackerFallback.decompile(DestackerFallback.java:201)
	at ch.securify.decompiler.DestackerFallback.decompile(DestackerFallback.java:238)
	at ch.securify.decompiler.DestackerFallback.decompile(DestackerFallback.java:216)
	at ch.securify.decompiler.DestackerFallback.decompile(DestackerFallback.java:238)
	at ch.securify.decompiler.DestackerFallback.decompile(DestackerFallback.java:238)
	at ch.securify.decompiler.DestackerFallback.decompile(DestackerFallback.java:131)
	at ch.securify.decompiler.DecompilerFallback.decompile(DecompilerFallback.java:73)
	at ch.securify.Main.decompileContract(Main.java:296)
	at ch.securify.Main.processHexFile(Main.java:160)
	at ch.securify.Main.processCompilationOutput(Main.java:129)
	at ch.securify.Main.mainFromCompilationOutput(Main.java:105)
	at ch.securify.Main.main(Main.java:241)
Error, skipping: /project/contracts/ReputationBook.sol:ReputationBook

As a result, Securify is skipping the contract that I want to scan.
Please help me address this.

Could you send us your contract, or a minimal reproducible example?

@hiqua Thanks for the quick response. Here is the truffle project we are trying to compile.
Contract
For your reference, we have changed the Dockerfile to below. Because we were unable to compile truffle with old versions of nodejs.

FROM ubuntu:18.04

LABEL<EMAIL_ADDRESS>
# install basic packages
RUN apt-get update && apt-get install -y\
    software-properties-common\
    locales

# set correct locale
RUN locale-gen en_US.UTF-8
ENV LANG en_US.UTF-8
ENV LANGUAGE en_US:en
ENV LC_ALL en_US.UTF-8

# install souffle
RUN apt-get update &&\
        apt-get -y install\
        wget\
        gdebi

RUN mkdir /souffle
RUN wget -P /souffle/ https://github.com/souffle-lang/souffle/releases/download/1.4.0/souffle_1.4.0-1_amd64.deb &&\
        gdebi --n /souffle/souffle_1.4.0-1_amd64.deb

# install java and pip
RUN apt-get update && apt-get -y install\
        openjdk-8-jdk\
        python3-pip

COPY requirements.txt /tmp/
RUN pip3 install --user -r /tmp/requirements.txt

RUN mkdir /isolc
COPY scripts/isolc/* /isolc/
RUN cd / && python3 -m isolc.install_solc

# install truffle for project compilation
RUN apt-get install -y curl
RUN curl -sL https://deb.nodesource.com/setup_10.x | bash -
RUN apt install -y nodejs

ARG truffle="latest"
RUN npm install -g truffle@$truffle

WORKDIR /sec

# To cache gradle distribution
COPY gradlew settings.gradle /sec/
COPY gradle /sec/gradle/
RUN ./gradlew -v

# copy and compile securify
COPY . /sec

RUN ./gradlew jar

# Solidity example
COPY src/test/resources/solidity/transaction-reordering.sol /project/example.sol
RUN npm -v
RUN node -v
# run_securify.py allows arguments to be passed (e.g. "--truffle").
ENTRYPOINT ["python3", "docker_run_securify.py", "-p", "/project","--truffle"]

I didn't try with your Dockerfile, but if you rebuild the docker container by removing the build/ folder before, it should work. Alternatively, you can just pull the latest version, where I added this folder to the .dockerignore file. Please let us know if it works!

Hi @hiqua , I was able to run after taking the latest code. But I seem to be getting OutOfMemory exception.
Below is detailed error. Is it something to do with system memory??
Compiling project
Running Securify
Processing contract: /project/node_modules/openzeppelin-solidity/contracts/token/ERC721/ERC721.sol:ERC721
Processing contract: /project/contracts/Constants.sol:Constants
  Attempt to decompile the contract with methods...
  Failed to decompile methods. Attempt to decompile the contract without identifying methods...
  Propagating constants...
  Verifying patterns...
Processing contract: /project/node_modules/openzeppelin-solidity/contracts/math/SafeMath.sol:SafeMath
  Attempt to decompile the contract with methods...
  Failed to decompile methods. Attempt to decompile the contract without identifying methods...
  Propagating constants...
  Verifying patterns...
Processing contract: /project/node_modules/openzeppelin-solidity/contracts/ownership/Ownable.sol:Ownable
  Attempt to decompile the contract with methods...
  Failed to decompile methods. Attempt to decompile the contract without identifying methods...
  Propagating constants...
  Verifying patterns...
Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
	at java.util.HashMap.resize(HashMap.java:704)
	at java.util.HashMap.putVal(HashMap.java:629)
	at java.util.HashMap.put(HashMap.java:612)
	at java.util.HashSet.add(HashSet.java:220)
	at ch.securify.analysis.AbstractDataflow.readFixedpoint(AbstractDataflow.java:217)
	at ch.securify.analysis.AbstractDataflow.runQuery(AbstractDataflow.java:226)
	at ch.securify.analysis.MustExplicitDataflow.mustPrecede(MustExplicitDataflow.java:44)
	at ch.securify.analysis.Dataflow.mustPrecede(Dataflow.java:89)
	at ch.securify.patterns.LockedEther.isSafe(LockedEther.java:54)
	at ch.securify.patterns.AbstractContractPattern.checkPattern(AbstractContractPattern.java:38)
	at ch.securify.Main.checkInstructions(Main.java:443)
	at ch.securify.Main.checkPatterns(Main.java:388)
	at ch.securify.Main.processHexFile(Main.java:185)
	at ch.securify.Main.processCompilationOutput(Main.java:132)
	at ch.securify.Main.mainFromCompilationOutput(Main.java:108)
	at ch.securify.Main.main(Main.java:244)
Error running Securify

I saw the same here but did not get what to do for resoling this.

I was able to run successfully for most of the contracts after the same change. But still see the null pointer exception as before as below. Can I get to know what might be reason for the this error?
Processing contract: /project/node_modules/openzeppelin-solidity/contracts/token/ERC721/ERC721BasicToken.sol:ERC721BasicToken
  Attempt to decompile the contract with methods...
  Failed to decompile methods. Attempt to decompile the contract without identifying methods...
  Decompilation failed.
Error in Securify
java.lang.NullPointerException
	at ch.securify.decompiler.DestackerFallback.findJumpCondition(DestackerFallback.java:403)
	at ch.securify.decompiler.DestackerFallback.handleStackMerging(DestackerFallback.java:356)

Yes, I am able to see those files under node_modules/openzippelin folder.

You can also try without the --truffle argument, does it fail the same?

With out --truffle argument, will securify able to get the imports mentioned from node_modules folder??

Yes it should, it just uses the solc binary rather than truffle compile.

Last time we tried without --truffle, the securify was giving error saying not able to find those import files. We will try with the latest image without --truffle argument.

Worked without the --truffle argument. But I am not able to understand why such a difference.
I will ask @TlxTejaswi to close this. Thanks a lot @hiqua . Much appreciated.

@hiqua Is there document which says how to handle the warnings/error we get from Securify? I am not able to understand the report I get from securify. For imports  and declarations it says "Missing Input Validations", for contract constructor it says "LockedEther". Is there something I am missing?

@hiqua Is there any document which says how to handle the warnings/error we get from Securify? I am not able to understand the report I get from securify. For imports and declarations it says "Missing Input Validations", for contract constructor it says "LockedEther". Is there something I am missing?

When you run with --json and --descriptions, the pattern descriptions are added to the output, which should help. In particular, missing input validations would mean that there is no check on the input before it is used, e.g. https://securify.chainsecurity.com/report/daba27ac22cd2bd6cd5e3d850b516dce3492d011324dbbe351f3ad542901aa35


chore(release): 2.6.0

Version bump in package.json and package-lock.json for release 2.6.0

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Kan Ban Board Setup

Set Up Kanban for MICROVERSE-JS-CAPSTONE project

Please find the Project setup of the Kanban Board here

Note

The project has 2 Collaborators - Alijan  and Abel

Hi @ProgramKingAbel,
Status: Invalidated :red_circle:
While you made a great effort in this project, unfortunately, I cannot proceed to review your code.
Invalid Code Review Request
You have submitted an issue,  that either does not have project created or its private and not visible. Also Please submit the kanban project link directly instead of repo link.
Your Code Review Request will be marked as invalid in your Dashboard, so please submit a new one once you are ready 🙏
Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please, remember to tag me in your question so I can receive the notification.
Please, do not open a new Pull Request for re-reviews. You should use the same Pull Request submitted for the first review, either valid or invalid unless it is requested otherwise.

Invalid Code Review Request does not count into the code reviews limit.

[ ]  My apologies. Let me do just that.

Tasks have been assigned a guided. Thank you for the reminder.

Hi Team,
Your project is complete!  There is nothing else to say other than... it's time to merge it :shipit:
Congratulations! 🎉
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please, remember to tag me in your question so I can receive the notification.

As described in the Code reviews limits policy  you have a limited number of reviews per project (check the exact number in your Dashboard). If you think that the code review was not fair, you can request a second opinion using this form.


:zap: Replacing Pinata with Estuary

:zap: added utils for pinning using worker
store
:mute: updated logs for pinning
:zap: CreateToken is now using estuary
:mute: more meaningful logst for pinning service

Thank you for your contribution to the KodaDot NFT gallery.
👇 _ Do a quick check before the merge.
PR type

[ ] Bugfix
[x] Feature
[x] Refactoring

What's new?

[x] Closes #963
[x] Closes #1889
[ ] <brief_description_of_what_I've_added>

Before submitting Pull Request, please make sure:

[ ] My contribution builds clean without any errors or warnings
[ ] I've merged recent default branch -- main and I've no conflicts
[ ] I've tried respect high code quality standards
[ ] I've didn't break any original functionality
[ ] I've posted screenshot of demonstrated change in this PR

Optional

[ ] I've tested it at </rmrk/collection/26902bc2f7c20c546a-1FVG7>
[ ] I've tested PR on mobile and everything seems works
[ ] I found edge cases

Had issue bounty label ?

[ ] Fill up your KSM address: Payout

Community participation

[ ] Are you at KodaDot Discord?

Screenshot

[ ] My fix has changed something on UI, a screenshot is best to understand changes for others.

/giphy heating up my motors

TBD

Async pin images to Cloudflare images during minting


getGameByName returns {} empty Object

Bug Report
I can successfully get user data and stream live status etc. but game-related endpoints return {} everytime I call it. I've tried it with "getGameById" and "getGameByName". Same result for both endpoints. "getUserByName" works though.
Thanks in advance :).
Code
async function gameByName(query: QueryParameter) {
  const qGameName = query.gameName;
  return await ttvApiClient.games.getGameByName(qGameName);
}

// called via API in production, but here's a call example
const game = await gameByName({ gameName: "Noita" });
console.log(game) // {}

Expected behavior
Retrieving the game data for the given game name.
Actual Behavior
Returns an empty object {}
Environment

Version: ^5.2.5
Node version: v19
Browser version: Latest Opera GX (Chromium based)
Operating system: Windows 11

Nevermind, I've missed that the properties are readonly. If I do this it works:
return { id: game.id, name: game.name, boxArtUrl: game.boxArtUrl };


Fixed relative_url_root behaviour

switch_user select Widget doesn't correctly resolve relative_url_roots.
In the rails guides it is proposed to use RAILS_RELATIVE_URL_ROOT=/relative with a leading, but not a trailing slash.
(see https://guides.rubyonrails.org/configuring.html#deploy-to-a-subdirectory-relative-url-root)
When using this with switch_user it will generate a select with onchange="location.href = '/relativeswitch_user?scope_identifier.... The callback url /relativeswitch_user will crash.
This PR fixes this and correctly inserts /relative/switch_user as callback. Also works correctly without RAILS_RELATIVE_URL_ROOT set.

@KonoMaxi thank you

@KonoMaxi thank you


Vb 3457 vsip feature flag

3 of the above errors look like they are caused by a logic mismatch between PVB and VSIP.
In PVB when a user adds prisoner details only the DOB and Prisoner number is authenticated, any valid prison is allowed to be entered.  The request then goes to the prison and staff reject it because the prisoner is not there.
When getting the slots from Vsip the Prisoner/Prison combination has to be correct, and when it is not it gives an error and show 'There is a technical issue...' page.
In order not to give the user information about whether the Prisoner is in a particular prison the requirement is to show  hardcoded slots and auto nomis slots when this misalignment is encountered.  Not to give an error or show no slots.  I.e. when this error is encountered the requirement is to behave as if vsip was not used.
to use the hard coded or nomis auto


createClient() takes a very long time to connect

I'm trying to consume a SOAP service from D&B, here's the code snippet:
var soap = require('soap');

soap.createClient('http://mktinterface.dnb.com/wsgateway/services/DNBWebServiceGateway?wsdl', function (error, client) {
    if (error) {
        console.error(error);
    }

    console.log('SOAP Connected', client.describe());
});

For the first call, it takes over 3 minutes to establish the initial connection, after that it's super quick.
If I try the equivalent code in PHP, it returns the available SOAP functions right away.
I've also tried to save and load the WSDL locally from the file system, but it doesn't help at all.

Thanks for bringing this issue up @alixaxel - we know that we have some performance problems. If you have time it would be great if you would accept the challenge and try to tune the code by submitting  a PR :+1:

Any update on this ?

As I mentioned before - this is an open source project and node-soap is kept alive by its awesome community :smiley:
So, if you feel like you can contribute something back to the wonderful library you're using, please open a PR so that we can make node-soap more awesome :+1:

@herom Sorry unfortunately my free time doesn't allow me to take this challenge ATM.

no problem @alixaxel - I mostly replied to @sathishbabu007 because he was asking about the current status :smiley:


Replace js-sha3 with @noble/hashes

This will fix https://github.com/symbol/symbol-sdk-typescript-javascript/issues/622.
@noble/hashes is well maintained, and used by major blockchain libraries (e.g. @polkadot/util-crypto and @cosmjs/crypto).
https://www.npmjs.com/package/@noble/hashes

This library is  deprecated, please use symbol/sdk/javascript

Hi @haryu703. Thank you for your contribution!
This SDK is no longer maintained since January 2021, and has been replaced by this NEM & Symbol JS SDK - it'd be better to create a new issue there and then submit a PR (linking back to the issue).
Please make sure to follow our issue format. You can see some examples [here](https://github.com/symbol/symbol/issues.


How to mount /vol on arbitrary folder when start wandb via docker?

I have a folder called /mnt/sdf/wandb_data. I want to start a new wandb via docker and mount /vol to wandb_data.  So I run the following command：
docker run -d -p 28287:8080 -v /mnt/sdf/wandb_data:/vol --name wandb_f wandb/local

when i open the web page, it shows error:
An error was encountered while starting the container:
2023/08/07 07:06:18 Error adding user: open /vol/env/users.htpasswd: no such file or directory
panic: Can't create default user

goroutine 1 [running]:
main.ensureDefaults({{0x162072e, 0x4}, {0x0, 0x0}, {0xc000044016, 0x16}, {0xc000042172, 0xa}, {0x163e5de, 0x1a}, ...})
	/mnt/ramdisk/core/services/local/cmd/local/main.go:612 +0x75d
main.commands({{0x162072e, 0x4}, {0x0, 0x0}, {0xc000044016, 0x16}, {0xc000042172, 0xa}, {0x163e5de, 0x1a}, ...})
	/mnt/ramdisk/core/services/local/cmd/local/main.go:377 +0x1818
main.main()
	/mnt/ramdisk/core/services/local/cmd/local/main.go:722 +0x98

I guess it is a file permission issue, so i into the docker and validates my thoughts. In \vol folder, I can not create any file with "Permission denied".
So I tried to change the permission of wandb_data folder to 777, change the owner and group of wandb_data to root, but none of them works.
How can I mount /vol to wandb_data? Thanks!

Hi @Master-cai! Thank you for writing in. You are right, it looks like a permission error.
You need to ensure the filesystem you mount gives write permission to the root group:
chgrp -R 0 $(pwd)/wandb
chmod -R g+rwX $(pwd)/wandb

@ArtsiomWB Thanks! I can mount the folder now, but another error was encountered when I open the web page.

I used docker logs command to check out the log:
*** Running /etc/my_init.d/01_enable-services.sh...
*** Enabling production mode
*** Running /etc/my_init.d/02_load-settings.sh...
*** Loading settings...
2023/08/08 05:39:00 Created default user
2023/08/08 05:39:00 Generating new session key for auth...
2023/08/08 05:39:00 Generating new certificate and key for auth...
*** Booting runit daemon...
*** Runit started as PID 52
*** Setting up mysql database...
*** Starting wandb servers...
*** Configuring minio...
Bucket created successfully `local/local-files`.
Successfully added arn:minio:sqs:wandb-local:_:redis
*** Migrating database...
Initialized random go rng seed: to fix set env var TEST_GO_RNG_SEED=4699501396654252937
Invoking megabinary "migrate": GOMAXPROCS=40
2023/08/08 05:40:02 Running squash migration from version 0 to 189...
panic: context deadline exceeded

goroutine 1 [running]:
github.com/wandb/core/services/gorilla/cmd.(*migrateCommander).MainCmd(0xc00128e030, {0xc0011d7920, 0x2, 0x2})
	/mnt/ramdisk/core/services/gorilla/cmd/migrate.go:263 +0xea5
main.main()
	/mnt/ramdisk/core/services/gorilla/cmd/megabinary/main.go:74 +0x452
*** All services started
*** Access W&B at http://localhost:8080

I see a similar issue here, and I'm sure the folder I mounted is new.

WandB Internal User commented:
Master-cai commented:
@ArtsiomWB Thanks! I can mount the folder now, but another error was encountered when I open the web page.

I used docker logs command to check out the log:
*** Running /etc/my_init.d/01_enable-services.sh...
*** Enabling production mode
*** Running /etc/my_init.d/02_load-settings.sh...
*** Loading settings...
2023/08/08 05:39:00 Created default user
2023/08/08 05:39:00 Generating new session key for auth...
2023/08/08 05:39:00 Generating new certificate and key for auth...
*** Booting runit daemon...
*** Runit started as PID 52
*** Setting up mysql database...
*** Starting wandb servers...
*** Configuring minio...
Bucket created successfully `local/local-files`.
Successfully added arn:minio:sqs:wandb-local:_:redis
*** Migrating database...
Initialized random go rng seed: to fix set env var TEST_GO_RNG_SEED=4699501396654252937
Invoking megabinary "migrate": GOMAXPROCS=40
2023/08/08 05:40:02 Running squash migration from version 0 to 189...
panic: context deadline exceeded

goroutine 1 [running]:
github.com/wandb/core/services/gorilla/cmd.(*migrateCommander).MainCmd(0xc00128e030, {0xc0011d7920, 0x2, 0x2})
	/mnt/ramdisk/core/services/gorilla/cmd/migrate.go:263 +0xea5
main.main()
	/mnt/ramdisk/core/services/gorilla/cmd/megabinary/main.go:74 +0x452
*** All services started
*** Access W&B at http://localhost:8080

I see a similar issue here, and I'm sure the folder I mounted is new.

@Master-cai the error panic: context deadline exceeded is happening when setting up the database.  The underlying cause is likely a very slow / poor performing filesystem.  Can you share more details about OS / version of docker you're running?  One thing to try would be mounting the volume in async mode.
docker run -d -p 28287:8080 -v /mnt/sdf/wandb_data:/vol:delegated --name wandb_f wandb/local

If the filesystem at /mnt/sdf is a network filesystem like nfs it's always going to be pretty slow.  You should instead mount a filesystem from a fast underlying disk ideally an SSD.

@vanpelt OS version: Ubuntu 18.04.2 LTS; Docker version 20.10.21, build baeda1f; the docker image of wandb is the latest.
/mnt/sdf is not a network filesystem but a HDD.

docker run -d -p 28287:8080 -v /mnt/sdf/wandb_data:/vol:delegated --name wandb_f wandb/local

I have tried this command, but it doesn't work, the error still exists.

WandB Internal User commented:
Master-cai commented:
@vanpelt OS version: Ubuntu 18.04.2 LTS; Docker version 20.10.21, build baeda1f; the docker image of wandb is the latest.
/mnt/sdf is not a network filesystem but a HDD.

docker run -d -p 28287:8080 -v /mnt/sdf/wandb_data:/vol:delegated --name wandb_f wandb/local

I have tried this command, but it doesn't work, the error still exists.


Binary not launching on Ubuntu

Downloaded the binary version 0.5 from the releases, unzipped, chmod, then I try to run I get:
./tracy-linux-amd64
panic: interface conversion: interface {} is nil, not string

goroutine 1 [running]:
github.com/nccgroup/tracy/configure.Setup()
	/ext-go/1/src/github.com/nccgroup/tracy/configure/configure.go:169 +0x902
main.init.0()
	/ext-go/1/src/github.com/nccgroup/tracy/main.go:65 +0x5f
main.init()
	<autogenerated>:1 +0xf6

FYI
uname -a
4.15.0-42-generic #45-Ubuntu SMP Thu Nov 15 19:32:57 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

I think this is a configuration file regression. When you delete the file ~/.tracy/tracy.json, and rerun the binary, do you get the error? We made some changes to the configuration file in this release that don't work well with the old verison.

Removal of ~/.tracy/tracy.json fixed the issue for me.


Add git tags for versions

It would be great to be able to reference a version by git tag, for development and dependency management. Is there a reason not to do so?
Versions with no corresponding tags are already cited in sfdx-project.json.

Hey @mark-feeney-sage -- So, basically, you are asking for us to reference stable points in time of the project by GIT tags since this is a non-packaged project and thus can't make use of version numbers.  Am I understanding your ask correctly?

Hi @ImJohnMDaniel. If that is the case (non-packaged, no version numbers), yes, it would be handy. I thought there were version numbers, as referenced in those sfdx project package aliases. If there's some other means by which others use this library in production, or I'm missing some Salesforce pattern that's normally used, it'd be great to know.

Hey @mark-feeney-sage -- Thanks for the clarification.
Yeah, @afawcett, @douglascayers, and I have been going back and forth about whether or not maintain a packaged version of this project or simply maintain the codebase and let the developers who use the code to decide how they want to package it.  Personally, I have this packaged as part of a larger, 'foundation package' at work and I have a client that has it as an independent/standalone package.  The choice is totally up to you.
As for a 'stable release marker', it is not a bad idea.  Something we can discuss going forward.
Andy and Doug -- any thoughts?


analysis fails with Repository rhel-7-server-extras-rpms not found

When I ran the infra.leapp.analysis, it fails with below error
Repository rhel-7-server-extras-rpms not found
when I ran the subscription-manager enable repo manually, then it works.
subscription-manager repos --enable rhel-7-server-extras-rpms
Repository 'rhel-7-server-extras-rpms' is enabled for this system.

found the issue, can we add baseurl and serverurl parameter to below ?

name: analysis-leapp | Register to leapp activation key
community.general.redhat_subscription:
state: present
activationkey: "{{ satellite_activation_key_leapp }}"
org_id: "{{ satellite_organization }}"
force_register: true
notify: Register to pre leapp activation key
when:

leapp_upgrade_type == 'satellite'
satellite_organization is defined
satellite_activation_key_leapp is defined

can we add a parameter rhsm_baseurl in above ?

@swapdisk, @heatmiser, @jeffmcutter thoughts?

Trying to understand...  What is the scenario where a satellite registration with an activation key requires a base url?

actually it seems to be working after I changed the leapp_upgrade_type to cdn.

is it possible to reopen this ?

yes it is @akshat87

we need base url in registration since satellite is our internal satellite.

Hi @akshat87,
I'm still trying to understand why this would be necessary.  Satellite by it's nature is internal and not open to the public. The same is true of my own Satellite and other Satellites I have encountered, yet they do not require the base_url to be specified.  Since you are able to enable the repository, the system is successfully registered.
Is this the task that fails?  https://github.com/redhat-cop/infra.leapp/blob/main/roles/analysis/tasks/analysis-leapp.yml#L20
Can you run subscription-manager repos before attempting an upgrade, then after it fails, run the same again?  Can you show the full error message.  The contents of /etc/yum.repos.d/redhat.repo on the system to be upgraded might also be useful.  Feel free to change names/addresses etc. for security sake.
Thanks,
-Jeff

here is the output of subscription-manager repos, I have removed some of the details for security purposes.
subscription-manager repos
+----------------------------------------------------------+
Available Repositories in /etc/yum.repos.d/redhat.repo
+----------------------------------------------------------+
Repo ID:   rhel-server-rhscl-7-rpms
Repo Name: Red Hat Software Collections RPMs for Red Hat Enterprise Linux 7 Server
Repo URL:  https://rhn-satellite.tools.cihs.gov.on.ca/pulp/repos/its-dco/PROD/soe_rhel7_sus/content/dist/rhel/server/
7/$releasever/$basearch/rhscl/1/os
Enabled:   0
Repo ID:   rhel-7-server-dotnet-rpms
Repo Name: dotNET on RHEL RPMs for Red Hat Enterprise Linux 7 Server
Repo URL:  https://rhn-satellite.tools.cihs.gov.on.ca/pulp/repos/its-dco/PROD/soe_rhel7_sus/content/dist/rhel/server/
7/$releasever/$basearch/dotnet/1/os
Enabled:   0
Repo ID:   rhel-7-server-satellite-client-6-rpms
Repo Name: Red Hat Satellite Client 6 (for RHEL 7 Server) (RPMs)
Repo URL:  https://rhn-satellite.tools.cihs.gov.on.ca/pulp/repos/its-dco/PROD/soe_rhel7_sus/content/dist/rhel/server/
7/7Server/$basearch/sat-client/6/os
Enabled:   0
Repo ID:   rhel-7-server-optional-rpms
Repo Name: Red Hat Enterprise Linux 7 Server - Optional (RPMs)
Repo URL:  https://rhn-satellite.tools.cihs.gov.on.ca/pulp/repos/its-dco/PROD/soe_rhel7_sus/content/dist/rhel/server/
7/$releasever/$basearch/optional/os
Enabled:   0
Repo ID:   rhel-7-server-rhceph-3-tools-rpms
Repo Name: Red Hat Ceph Storage Tools 3 for Red Hat Enterprise Linux 7 Server (RPMs)
Repo URL:  https://rhn-satellite.tools.cihs.gov.on.ca/pulp/repos/its-dco/PROD/soe_rhel7_sus/content/dist/rhel/server/
7/7Server/$basearch/rhceph-tools/3/os
Enabled:   0
Repo ID:   rhel-7-server-rpms
Repo Name: Red Hat Enterprise Linux 7 Server (RPMs)
Repo URL:  https://rhn-satellite.tools.cihs.gov.on.ca/pulp/repos/its-dco/PROD/soe_rhel7_sus/content/dist/rhel/server/
7/$releasever/$basearch/os
Enabled:   1
Repo ID:   rh-gluster-3-client-for-rhel-7-server-rpms
Repo Name: Red Hat Storage Native Client for RHEL 7 (RPMs)
Repo URL:  https://rhn-satellite.tools.cihs.gov.on.ca/pulp/repos/its-dco/PROD/soe_rhel7_sus/content/dist/rhel/server/
7/$releasever/$basearch/rhs-client/os
Enabled:   0
Repo ID:   rhel-7-server-rhceph-4-tools-rpms
Repo Name: Red Hat Ceph Storage Tools 4 for Red Hat Enterprise Linux 7 Server (RPMs)
Repo URL:  https://xxxx/pulp/repos/yyyy/PROD/zzzz/content/dist/rhel/server/
7/7Server/$basearch/rhceph-tools/4/os
Enabled:   0
Repo ID:   rhel-7-server-supplementary-rpms
Repo Name: Red Hat Enterprise Linux 7 Server - Supplementary (RPMs)
Repo URL:  https://xxxx/pulp/repos/yyyy/PROD/zzzz/content/dist/rhel/server/
7/$releasever/$basearch/supplementary/os
Enabled:   0
Repo ID:   rhel-7-server-extras-rpms
Repo Name: Red Hat Enterprise Linux 7 Server - Extras (RPMs)
Repo URL:  https://xxxx/pulp/repos/yyyy/PROD/zzzz/content/dist/rhel/server/
7/7Server/$basearch/extras/os
Enabled:   1
Repo ID:   rhel-7-server-ansible-2.9-rpms
Repo Name: Red Hat Ansible Engine 2.9 RPMs for Red Hat Enterprise Linux 7 Server
Repo URL:  https://xxxx/pulp/repos/yyyy/PROD/zzzz/content/dist/rhel/server/
7/7Server/$basearch/ansible/2.9/os
Enabled:   0

"Can you run subscription-manager repos before attempting an upgrade, then after it fails, run the same again?"
Is that before or after?  I see rhel-7-server-extras-rpm is enabled.

Before
+----------------------------------------------------------+
    Available Repositories in /etc/yum.repos.d/redhat.repo
+----------------------------------------------------------+
Repo ID:   rhel-server-rhscl-7-rpms
Repo Name: Red Hat Software Collections RPMs for Red Hat Enterprise Linux 7 Server
Repo URL:  https://xxxx/pulp/repos/yyyy/DEV/zzzz/content/dist/rhel/server/7
           /$releasever/$basearch/rhscl/1/os
Enabled:   0

Repo ID:   rhel-7-server-dotnet-rpms
Repo Name: dotNET on RHEL RPMs for Red Hat Enterprise Linux 7 Server
Repo URL:  https://xxxx/pulp/repos/yyyy/DEV/zzzz/content/dist/rhel/server/7
           /$releasever/$basearch/dotnet/1/os
Enabled:   0

Repo ID:   rhel-7-server-satellite-client-6-rpms
Repo Name: Red Hat Satellite Client 6 (for RHEL 7 Server) (RPMs)
Repo URL:  https://xxxx/pulp/repos/yyyy/DEV/zzzz/content/dist/rhel/server/7
           /7Server/$basearch/sat-client/6/os
Enabled:   0

Repo ID:   yyyy_Microsoft_7Server_x86_64
Repo Name: 7Server x86_64
Repo URL:  https://xxxx/pulp/repos/yyyy/DEV/zzzz/custom/Microsoft/7Server_x
           86_64
Enabled:   1

Repo ID:   rhel-7-server-optional-rpms
Repo Name: Red Hat Enterprise Linux 7 Server - Optional (RPMs)
Repo URL:  https://xxxx/pulp/repos/yyyy/DEV/zzzz/content/dist/rhel/server/7
           /$releasever/$basearch/optional/os
Enabled:   0

Repo ID:   rhel-7-server-rhceph-3-tools-rpms
Repo Name: Red Hat Ceph Storage Tools 3 for Red Hat Enterprise Linux 7 Server (RPMs)
Repo URL:  https://xxxx/pulp/repos/yyyy/DEV/zzzz/content/dist/rhel/server/7
           /7Server/$basearch/rhceph-tools/3/os
Enabled:   0

Repo ID:   rhel-7-server-rpms
Repo Name: Red Hat Enterprise Linux 7 Server (RPMs)
Repo URL:  https://xxxx/pulp/repos/yyyy/DEV/zzzz/content/dist/rhel/server/7
           /$releasever/$basearch/os
Enabled:   1

Repo ID:   rh-gluster-3-client-for-rhel-7-server-rpms
Repo Name: Red Hat Storage Native Client for RHEL 7 (RPMs)
Repo URL:  https://xxxx/pulp/repos/yyyy/DEV/zzzz/content/dist/rhel/server/7
           /$releasever/$basearch/rhs-client/os
Enabled:   0

Repo ID:   rhel-7-server-rhceph-4-tools-rpms
Repo Name: Red Hat Ceph Storage Tools 4 for Red Hat Enterprise Linux 7 Server (RPMs)
Repo URL:  https://xxxx/pulp/repos/yyyy/DEV/zzzz/content/dist/rhel/server/7
           /7Server/$basearch/rhceph-tools/4/os
Enabled:   1

Repo ID:   rhel-7-server-supplementary-rpms
Repo Name: Red Hat Enterprise Linux 7 Server - Supplementary (RPMs)
Repo URL:  https://xxxx/pulp/repos/yyyy/DEV/zzzz/content/dist/rhel/server/7
           /$releasever/$basearch/supplementary/os
Enabled:   0

Repo ID:   rhel-7-server-extras-rpms
Repo Name: Red Hat Enterprise Linux 7 Server - Extras (RPMs)
Repo URL:  https://xxxx/pulp/repos/yyyy/DEV/zzzz/content/dist/rhel/server/7
           /7Server/$basearch/extras/os
Enabled:   0

Repo ID:   rhel-7-server-ansible-2.9-rpms
Repo Name: Red Hat Ansible Engine 2.9 RPMs for Red Hat Enterprise Linux 7 Server
Repo URL:  https://xxxx/pulp/repos/yyyy/DEV/zzzz/content/dist/rhel/server/7
           /7Server/$basearch/ansible/2.9/os
Enabled:   0

After
+----------------------------------------------------------+
    Available Repositories in /etc/yum.repos.d/redhat.repo
+----------------------------------------------------------+
Repo ID:   rhel-server-rhscl-7-rpms
Repo Name: Red Hat Software Collections RPMs for Red Hat Enterprise Linux 7 Server
Repo URL:  https://xxxx/pulp/repos/yyyy/DEV/zzzz/content/dist/rhel/server/7
           /$releasever/$basearch/rhscl/1/os
Enabled:   0

Repo ID:   rhel-7-server-dotnet-rpms
Repo Name: dotNET on RHEL RPMs for Red Hat Enterprise Linux 7 Server
Repo URL:  https://xxxx/pulp/repos/yyyy/DEV/zzzz/content/dist/rhel/server/7
           /$releasever/$basearch/dotnet/1/os
Enabled:   0

Repo ID:   rhel-7-server-satellite-client-6-rpms
Repo Name: Red Hat Satellite Client 6 (for RHEL 7 Server) (RPMs)
Repo URL:  https://xxxx/pulp/repos/yyyy/DEV/zzzz/content/dist/rhel/server/7
           /7Server/$basearch/sat-client/6/os
Enabled:   0

Repo ID:   rhel-7-server-optional-rpms
Repo Name: Red Hat Enterprise Linux 7 Server - Optional (RPMs)
Repo URL:  https://xxxx/pulp/repos/yyyy/DEV/zzzz/content/dist/rhel/server/7
           /$releasever/$basearch/optional/os
Enabled:   0

Repo ID:   rhel-7-server-rhceph-3-tools-rpms
Repo Name: Red Hat Ceph Storage Tools 3 for Red Hat Enterprise Linux 7 Server (RPMs)
Repo URL:  https://xxxx/pulp/repos/yyyy/DEV/zzzz/content/dist/rhel/server/7
           /7Server/$basearch/rhceph-tools/3/os
Enabled:   0

Repo ID:   rhel-7-server-rpms
Repo Name: Red Hat Enterprise Linux 7 Server (RPMs)
Repo URL:  https://xxxx/pulp/repos/yyyy/DEV/zzzz/content/dist/rhel/server/7
           /$releasever/$basearch/os
Enabled:   1

Repo ID:   rh-gluster-3-client-for-rhel-7-server-rpms
Repo Name: Red Hat Storage Native Client for RHEL 7 (RPMs)
Repo URL:  https://xxxx/pulp/repos/yyyy/DEV/zzzz/content/dist/rhel/server/7
           /$releasever/$basearch/rhs-client/os
Enabled:   0

Repo ID:   rhel-7-server-rhceph-4-tools-rpms
Repo Name: Red Hat Ceph Storage Tools 4 for Red Hat Enterprise Linux 7 Server (RPMs)
Repo URL:  https://xxxx/pulp/repos/yyyy/DEV/zzzz/content/dist/rhel/server/7
           /7Server/$basearch/rhceph-tools/4/os
Enabled:   0

Repo ID:   rhel-7-server-supplementary-rpms
Repo Name: Red Hat Enterprise Linux 7 Server - Supplementary (RPMs)
Repo URL:  https://xxxx/pulp/repos/yyyy/DEV/zzzz/content/dist/rhel/server/7
           /$releasever/$basearch/supplementary/os
Enabled:   0

Repo ID:   rhel-7-server-extras-rpms
Repo Name: Red Hat Enterprise Linux 7 Server - Extras (RPMs)
Repo URL:  https://xxxx/pulp/repos/yyyy/DEV/zzzz/content/dist/rhel/server/7
           /7Server/$basearch/extras/os
Enabled:   0

Repo ID:   rhel-7-server-ansible-2.9-rpms
Repo Name: Red Hat Ansible Engine 2.9 RPMs for Red Hat Enterprise Linux 7 Server
Repo URL:  https://xxxx/pulp/repos/yyyy/DEV/zzzz/content/dist/rhel/server/7
           /7Server/$basearch/ansible/2.9/os
Enabled:   0

but I don't see it in the yum repolist
Loaded plugins: enabled_repos_upload, langpacks, package_upload, product-id, search-disabled-repos, subscription-
              : manager
repo id                                          repo name                                                     status
epel/x86_64                                      Extra Packages for Enterprise Linux 7 - x86_64                13,798
packages-microsoft-com-prod                      packages-microsoft-com-prod                                    1,726
rhel-7-server-rpms/7Server/x86_64                Red Hat Enterprise Linux 7 Server (RPMs)                      34,337
repolist: 49,861
Uploading Enabled Repositories Report
Loaded plugins: langpacks, product-id, subscription-manager

In the before state, can you try:
yum repolist --enablerepo rhel-7-server-extras-rpms
yum install --enablerepo rhel-7-server-extras-rpms leapp-upgrade

Is that using the same activation key as is used for satellite_activation_key_leapp?
If so, can you revert the leapp install and try running the analysis playbook?
If not, can you revert the leapp install, register to the same activation key as satellite_activation_key_leapp, and try to manually install with yum again?

when we run the analysis playbook with , it gives error "Repository rhel-7-server-extras-rpms not found".
Its because analysis playbook force register without baseurl param. when we register a VM, we use below command
subscription-manager register --org=xxxx --activationkey="{{ activation_key }}" --force --serverurl=https://yyyyy --baseurl=https://yyyyy/pulp/repos

Hi @akshat87,
I don't understand why you would need to provide serverurl and baseurl.  katello-ca-cert should take care of that.  Do you know why?  If yes, can you please explain why.  If not, let's run one more test:

Revert system to pre-leapp state.
SSH to the system and run the below using your leapp activation_key, not including serverurl and baseurl.

subscription-manager register --org=xxxx --activationkey="{{ activation_key }}" --force

Try to install the leapp packages using:

yum install --enablerepo rhel-7-server-extras-rpms leapp-upgrade

Provide output of 1-3.

Thanks,
-Jeff

Is that using the same activation key as is used for satellite_activation_key_leapp?
If so, can you revert the leapp install and try running the analysis playbook?
If not, can you revert the leapp install, register to the same activation key as satellite_activation_key_leapp, and try to manually install with yum again?

@akshat87 - Did you answer the first question?  Did you execute the respective test?

As katello-ca-cert is deprecated, I tried to duplicate the issue using Global Registration, but I'm unable to still.
What does your subscription-manager config show.  Can you run the following and share?
# subscription-manager config | egrep " hostname =| baseurl ="
   hostname = satcap1.localdomain.local
   baseurl = https://satcap1.localdomain.local/pulp/content

it shows below
subscription-manager config | egrep " hostname =| baseurl ="
hostname = rhn-satellite.tools.xxx.xx.xx.xx
baseurl = https://rhn-satellite.tools.xxx.xxx.xxx.xxx/pulp/repos

If it's already saved them as shown there, why do you need to pass them to subscription manager again?

name: analysis-leapp | Register to leapp activation key
community.general.redhat_subscription:
state: present
activationkey: "{{ satellite_activation_key_leapp }}"
org_id: "{{ satellite_organization }}"
**force_register: true**
notify: Register to pre leapp activation key
when:
**leapp_upgrade_type == 'satellite'**
satellite_organization is defined
satellite_activation_key_leapp is defined

What version of Satellite are you using?

Is this still an issue?

Did this ever get solved? If so, what is the fix. I am having the same issue and using Red Hat Satellite 6.15. The upgrade type is satellite

Hi @bstaten,
No, it hasn't as we've not been able to replicate it.  Seems now we have 2 people with the issue though.  I am also on Sat 6.15 now.  I was wondering if it's a Global Registration issue vs. katello-ca-cert package so I tried using Global Registration and I'm still not able to replicate.  I still don't understand what the difference is.
That being said, if I create a release of infra.leapp in my own namespace on Galaxy (jeffmcutter) that includes the serverurl and baseurl parameters with a default to omit for those who don't need them, can one or both (@akshat87) of you test it to confirm it resolves the problem before I do a pull request of the same?
Thanks,
-Jeff

Sorry for the late response but I was able to resolve my issue by making sure I had the RHEL 7 repositories in both the pre and post leapp content views.


Use rules_foreign_cc to build libcurl

Assuming we want to continue building libcurl from source for Bazel-based builds, we should move these to use rules_foreign_cc, and build using the CMake files distributed with libcurl instead of our own (and hacky) BUILD file.

I gave this a try, in an attempt to fix #7462.  It turns out to be more finicky than I expected, here are some notes to save time on the next attempt:

gRPC depends on c-ares and provides its own cares.BUILD file.  To avoid having two cares (aka c-ares) libraries we have to pick which one to use.  Compiling c-ares with rules_foreign_cc() seems to make gRPC unhappy.
rules_foreign_cc() hard-codes the destination directory of libraries to $prefix/lib/. The correct directory depends on the distro, and one needs to hard-code the path in the CMake invocation.
It seems that most of the examples showing how to use rules_foreign_cc() require Bazel >= 4.2, we would need to port the BUILD.${lib}.bazel files to Bazel 3.5
Bazel treats a CMake invocation as a single command, and does not expect to execute tasks in parallel. At times Bazel is running $(nproc) tasks and cmake is running another $(nproc) tasks.
Any use of *san is not passed down to the libraries built with rules_foreign_cc(), for the most part this is harmless, it might produce false negatives (or false positives?) with msan.

foreign.patch.txt

Close it for now, if there is a problem with the custom rule we can reopen.


Feature request for characters lower/upper.

VSCode Version: Code 1.7.1 (02611b40b24c9df2726ad8b33f5ef5f67ac30b44, 2016-11-03T13:53:14.822Z)
OS Version: Windows_NT ia32 10.0.14393
Extensions:

Feature request
the feature of upper or lower to the selected characters should be  very useful

It's a good extension candidate. Feel free to contribute!

Looks like there already is an extension for this:
https://marketplace.visualstudio.com/items?itemName=florianloch.text-transform

Yes, we are considering to have it builtin or make it a common package that different keymaps can leverage.
Stay tuned.

There is another extension that does the same https://marketplace.visualstudio.com/items?itemName=wmaurer.change-case
#3776 is tracking missing keyboard shortcuts for common commands which includes the upper/lower case scenario.
Closing this as there are 2 extensions and a tracking issue


I don't have the "DeepFuzeFaceSwap" node

I've tried reinstalling multiple time trough multiple methods, it just won't install. I've git cloned through the manager and cmd prompt, drag and dropped the folder into custom nodes but the one node that won't install is the main node.

+1

Hello,
I think it is not completely installed in your comfy-UI that is you are facing this error and can you share your terminal or cmd logs for more information

Go to your ComfyUI\custom_nodes\ComfyUI-DeepFuze\nodes.py file and replace this:
            "reference_face_index" : ("INT",{"default":0,"min":0,"max":5,"step":1},{"default":0}),

with this:
            "reference_face_index" : ("INT",{"default":0,"min":0,"max":5,"step":1}),

(as it's done in PR #38 )
Fixed the issue for me :)

same error

I meet the same error and the cmd error is here:

Same problem here.... PLS HELP

I made a fresh install of ComfyUI Portable on an other drive but same error.

hello
same error, I have a looot of modules all installed without any problems

same here, pls help

I am also facing this issue and have even tried manipulating the installation files, but nothing seems to fix it.
@SamKhoze Could you shed your light on this matter by any chance? :)

The solution is here https://github.com/SamKhoze/ComfyUI-DeepFuze/pull/38/commits/496bac478d35172ef71f64ded92b780523eb5c86


Pin webpack version to 4.39.3 until bugs are fixed in newer webpack r…

Summary
Temporary resolution to fix issue related to buggy behavior with webpack v4.40.0
Related:

https://github.com/webpack/webpack/issues/9692
https://github.com/webpack/webpack/issues/9693

Webpack seems to have resolved the issues we were seeing with 4.40.0 in the 4.40.1 release.


feat(plugin-react): respect experimentalDecorators compiler option

Description
Respect experimentalDecorators compiler option (in tsconfig.json) by enabling decorators-legacy Babel syntax plugin, which avoids compilation issues like this one 👇

⚠  This only affects TypeScript projects using @vitejs/plugin-react.
Additional context
Tests included for tsconfig.json lookup.
Follow-up to #5050
I used this repo to test the feature.

What is the purpose of this pull request?

[ ] Bug fix
[x] New Feature
[ ] Documentation update
[ ] Other

@aleclarson we discussed this in today's meeting. Evan proposed that we should expose the tsconfig loading utility from core and use it here (we just started using tsconfck from @dominikg, having this exported may be also interesting for other community plugins)

@aleclarson would you move this PR to the new repo for plugin-react?


improve compatability with Goyo

There is an issue with this plugin when used with Goyo.
This is how one can reproduce issue and test patch:
autocmd! User GoyoEnter nested call <SID>GoyoEnter()
autocmd! User GoyoLeave nested call <SID>GoyoLeave()

function! s:GoyoEnter() "
    "disable buftabline
    let g:buftabline_show = 0
    :call buftabline#update(0)
endfunction "

function! s:GoyoLeave() "
    "enable buftabline
    let g:buftabline_show = 2
    :call buftabline#update(0)
endfunction "

Actually issue have something to do with buftabline incorrectly populate tabline when Goyo mode is on. My fix just moves optimization if tabpagenr('$') > 1 | set guioptions+=e showtabline=2 | return | endif  below if 0 == g:buftabline_show check. This ensures that let g:buftabline_show = 0 will always do what is expected from it - completely disable and hide buftabline.

I am quite sure you have identified the right problem but I am doubtful that the fix is correct.
(The change to set showtabline to 0 instead of 1 smells very wrong – I suspect it ignores functionality that your configuration doesn’t require, and just makes the plugin work for your particular preferences. But that may be an unfair assessment; I won’t be able to say for sure until I have the code loaded into my head again.)

IIRC if tabpagenr('$') > 1 | set guioptions+=e showtabline=2 | return | endif line is kind of optimization that checks if there are more than one tab and then sets showtabline=2 ignoring g:buftabline_show option.
Yes, this works for me and I have not heavily tested it with different configurations. Tend to agree that set showtabline=0 could be unnecessary in this fix, not tested it either.
Glad that you on it.
I believe this works for me because optimiza

Well… this is quite a mess, really.
The tagpagenr('$') check is not optimisation but a feature that’s necessary because Buftabline doesn’t support Vim tabs at all. What it does is it allows the standard Vim tab feature take over when the user or another plugin has created a Vim tab. Otherwise you wouldn’t see what’s going on.
But that means it mustn’t respect g:buftabline_show. The whole point of the check is that the creation of a Vim tab should override Buftabline, regardless of how Buftabline itself is configured.
That means your patch is, unfortunately, the wrong answer – for completely different reasons than I initially thought. Since there’s also an issue for this, I’m closing the PR.
Goyo collides with Buftablines because it breaks my underlying assumption that the user needs to be able to see what’s going on when a Vim tab is created. Goyo works by creating a new Vim tab that it wants to hide. This is… not a use case  I had foreseen. It makes complete sense given Goyo’s aim, of course.
Not sure yet how I’m going to address it…


Add more information on how to use

E.g. how to use it in a workflow where, for example, .ttl is being generated by another action.

Updated README -- does it help?

Yes, this helps. I haven not had time to try it yet, but very interested in doing so.


Docker image tags being rolled

In trying to debug an issue I was having, I noticed that the v1.0.0 docker image is constantly rolling https://quay.io/repository/cephcsi/rbdplugin?tab=history. This makes it hard to have a working setup because the image keeps changing and possibly breaking. Is there a way to tag some stable docker images so that one can rely on them for testing and rollout? I don't see a stable tag for the v1 alpha release and v0.3.0 is only a month old, which could indicate the same thing going on there.

Thanks, we are aware of this and is handled in master. As we firm up the release process, let me backport relevant changes from the same to the 1.0 branch, so that in the future the 1.0 image is not updated for each PR.

@ShyamsundarR Thank you for this update. Good to know you're aware and working towards a solution here.


rascaline.torch install requests  CUDA_TOOLKIT_ROOT_DIR

Hello,
I am trying to make this installscript run.
On my M1 mac it runs without problems, on cosmosrv it yields this error:
CUDA_TOOLKIT_ROOT_DIR not found or specified
what can be done to fix it?
#!/bin/bash

conda install -c conda-forge rust python=3.10

#purge conda cache
conda clean --all

#purge the pip cache
pip cache purge

# pip installs
pip install cmake numpy
pip install --extra-index-url https://download.pytorch.org/whl/cpu torch==2.3.0

pip install -r requirements.txt

pip install metatensor
pip install metatensor-core
pip install metatensor-operations
pip install metatensor-torch

pip install git+https://github.com/Luthaf/rascaline
pip install git+https://github.com/luthaf/rascaline#subdirectory=python/rascaline-torch

this is the full error message:
  Building wheel for rascaline-torch (pyproject.toml) ... error
  error: subprocess-exited-with-error

  × Building wheel for rascaline-torch (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [102 lines of output]
      running bdist_wheel
      running build
      running build_py
      creating build
      creating build/lib.linux-x86_64-cpython-310
      creating build/lib.linux-x86_64-cpython-310/rascaline
      creating build/lib.linux-x86_64-cpython-310/rascaline/torch
      copying rascaline/torch/calculators.py -> build/lib.linux-x86_64-cpython-310/rascaline/torch
      copying rascaline/torch/__init__.py -> build/lib.linux-x86_64-cpython-310/rascaline/torch
      copying rascaline/torch/system.py -> build/lib.linux-x86_64-cpython-310/rascaline/torch
      copying rascaline/torch/calculator_base.py -> build/lib.linux-x86_64-cpython-310/rascaline/torch
      copying rascaline/torch/_c_lib.py -> build/lib.linux-x86_64-cpython-310/rascaline/torch
      copying rascaline/torch/utils.py -> build/lib.linux-x86_64-cpython-310/rascaline/torch
      running egg_info
      writing rascaline_torch.egg-info/PKG-INFO
      writing dependency_links to rascaline_torch.egg-info/dependency_links.txt
      writing requirements to rascaline_torch.egg-info/requires.txt
      writing top-level names to rascaline_torch.egg-info/top_level.txt
      reading manifest file 'rascaline_torch.egg-info/SOURCES.txt'
      reading manifest template 'MANIFEST.in'
      warning: no previously-included files matching '*.pyc' found anywhere in distribution
      warning: no previously-included files matching '.DS_Store' found anywhere in distribution
      warning: no files found matching 'rascaline-torch.tar.gz'
      adding license file 'LICENSE'
      adding license file 'AUTHORS'
      writing manifest file 'rascaline_torch.egg-info/SOURCES.txt'
      running build_ext
      Not searching for unused variables given on the command line.
      -- Running CMake version 3.29.3
      -- The CXX compiler identification is GNU 7.5.0
      -- Detecting CXX compiler ABI info
      -- Detecting CXX compiler ABI info - done
      -- Check for working CXX compiler: /usr/bin/c++ - skipped
      -- Detecting CXX compile features
      -- Detecting CXX compile features - done
      CUDA_TOOLKIT_ROOT_DIR not found or specified
      -- Could NOT find CUDA (missing: CUDA_TOOLKIT_ROOT_DIR CUDA_NVCC_EXECUTABLE CUDA_INCLUDE_DIRS CUDA_CUDART_LIBRARY)
      CMake Warning at /tmp/pip-build-env-5lqlxsvc/normal/lib/python3.10/site-packages/torch/share/cmake/Caffe2/public/cuda.cmake:31 (message):
        Caffe2: CUDA cannot be found.  Depending on whether you are building Caffe2
        or a Caffe2 dependent library, the next warning / error will give you more
        info.
      Call Stack (most recent call first):
        /tmp/pip-build-env-5lqlxsvc/normal/lib/python3.10/site-packages/torch/share/cmake/Caffe2/Caffe2Config.cmake:87 (include)
        /tmp/pip-build-env-5lqlxsvc/normal/lib/python3.10/site-packages/torch/share/cmake/Torch/TorchConfig.cmake:68 (find_package)
        CMakeLists.txt:56 (find_package)

      CMake Error at /tmp/pip-build-env-5lqlxsvc/normal/lib/python3.10/site-packages/torch/share/cmake/Caffe2/Caffe2Config.cmake:91 (message):
        Your installed Caffe2 version uses CUDA but I cannot find the CUDA
        libraries.  Please set the proper CUDA prefixes and / or install CUDA.
      Call Stack (most recent call first):
        /tmp/pip-build-env-5lqlxsvc/normal/lib/python3.10/site-packages/torch/share/cmake/Torch/TorchConfig.cmake:68 (find_package)
        CMakeLists.txt:56 (find_package)

      -- Configuring incomplete, errors occurred!
      Traceback (most recent call last):

and these are the pip list:
Package               Version      Editable project location
--------------------- ------------ --------------------------
aiohttp               3.9.5
aiosignal             1.3.1
appdirs               1.4.4
ase                   3.22.1
async-timeout         4.0.3
attrs                 23.2.0
certifi               2024.2.2
charset-normalizer    3.3.2
click                 8.1.7
cmake                 3.29.3
contourpy             1.2.1
cycler                0.12.1
docker-pycreds        0.4.0
filelock              3.14.0
fonttools             4.52.4
frozenlist            1.4.1
fsspec                2024.5.0
gitdb                 4.0.11
GitPython             3.1.43
idna                  3.7
ipi                   3.0.0a2      /home/kellner/install/i-pi
Jinja2                3.1.4
kiwisolver            1.4.5
lightning-utilities   0.11.2
MarkupSafe            2.1.5
matplotlib            3.9.0
metatensor            0.2.0
metatensor-core       0.1.8
metatensor-learn      0.2.2
metatensor-operations 0.2.1
metatensor-torch      0.5.1
mpmath                1.3.0
multidict             6.0.5
networkx              3.3
numpy                 1.26.4
packaging             24.0
pathtools             0.1.2
pillow                10.3.0
pip                   24.0
plumed                2.9.0
protobuf              4.25.3
psutil                5.9.8
pyparsing             3.1.2
python-dateutil       2.9.0.post0
pytorch-lightning     2.0.8
PyYAML                6.0.1
rascaline             0.1.0.dev546
requests              2.32.2
scipy                 1.13.1
sentry-sdk            2.3.1
setproctitle          1.3.3
setuptools            70.0.0
six                   1.16.0
smmap                 5.0.1
sympy                 1.12
torch                 2.3.0+cpu
torchmetrics          1.4.0.post0
tqdm                  4.66.4
typing_extensions     4.12.0
urllib3               2.2.1
wandb                 0.15.10
wheel                 0.43.0
wigners               0.3.0
yarl                  1.9.4

This is the usual issue with Torch's CMake files on Linux: https://github.com/pytorch/pytorch/issues/78530. They try to find a CUDA compiler even if there is no CUDA code to compile.
The workaround is to build against the CPU version of torch, by running pip install --extra-index-url https://download.pytorch.org/whl/cpu rascaline-torch ... (or equivalently, exporting PIP_EXTRA_INDEX_URL=https://download.pytorch.org/whl/cpu)


Include overall license here please

@vors do you think you could include an overall license here?

We recommend use MIT license, but there could be cases, where we will allow another license. That's why there is a separate LICENSE file per module in every repo. What's your use case?

Making our lawyers comfortable with this repo. It currently has no license. Stating that each module has their own as well is also fine.

Yes, please tell them that each module has it's own LICENSE file at the root. This repo is pretty much for aggregated view and work coordination. It doesn't have any source code itself. Once it would have source code, we will create LICENSE, but it still would not apply to sub-modules. Let us know, if it doesn't work for some reasons.

I edited my words, I think there is a want for this to also carry a license as it contains documents and code related to combining all of the submodules. What defines as source code in lawyer speak usually relates to a source code repository, which a github repo qualifies as.

Without a license this repo is considered non-usable.

Ok, done.

:+1: Thanks!


Current status of Python support, and how to help?

Hello,
I see that your homepage says EarSketch has done some work on Python support. I also see that you have done a fair amount of work on Python in these two pull requests (163, 187). I may be interested in contributing to Python support; where do you recommend I start?
EDIT: edited to make clear that I am not yet sure I'll have time :sweat_smile:

Hey James - I just saw this. Me and a group of folks have already done an almost complete Python build at this point; it's mostly hidden because we haven't properly merged and tested it. But if you want to pitch in, I can point you to our fork (which someday we'll hopefully integrate into the main line!)

It is runnable, though I'm sure there are still bugs. You can get to the fork (we want to merge back in, but it was a big task) here: https://github.com/cacticouncil/pencilcode
Reach out to me by email too if you want to chat more about the details. My email is on the faculty page here: https://www.cise.ufl.edu/people/faculty
--Jeremiah Blanchard


refactor: simplify codes

Codecov Report

Merging #10 (9c1181e) into main (17c3436) will decrease coverage by 0.13%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main      #10      +/-   ##
==========================================
- Coverage   91.04%   90.90%   -0.14%
==========================================
  Files           5        4       -1
  Lines          67       66       -1
==========================================
- Hits           61       60       -1
  Misses          4        4
  Partials        2        2

Impacted Files
Coverage Δ

application.go
95.34% <100.00%> (+0.22%)
:arrow_up:

shutdown_on_interrupt.go
87.50% <100.00%> (ø)

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 17c3436...9c1181e. Read the comment docs.


Overloading vector and vector

Hi guys, is it possible to overload functions with vector<string> and vector<int> as parameters?
#define SOL_ALL_SAFETIES_ON 1

#include <sol/sol.hpp>
#include <iostream>
#include <vector>

inline void func1(std::vector<int> input) { std::cout << "func1" << std::endl; }
inline void func2(std::vector<std::string> input) { std::cout << "func2" << std::endl; }

int main() {
	sol::state lua;
	lua.open_libraries(sol::lib::base);
	lua.set_function("func", sol::overload(func1, func2));

	lua.script(R"(
		func({1})
		func({"bark"})
	)");
	return 0;
}

I don't think you can. That would require us to not only reach into the Lua table, but type-check one of its elements. For example, what happens with:
	lua.script(R"(
		func( { } ) // 1 or 2?
	)");

I don't think you can. That would require us to not only reach into the Lua table, but type-check one of its elements. For example, what happens with:
	lua.script(R"(
		func( { } ) // 1 or 2?
	)");

More food for thought:
	lua.script(R"(
		func( { 1, 2, 3, "hahaha", 5 } ) // 1 or 2, or error?
	)");

More food for thought:
	lua.script(R"(
		func( { 1, 2, 3, "hahaha", 5 } ) // 1 or 2, or error?
	)");

inline void func1(std::vector<int> input) {
	std::cout << "func1 ( ";
	for (auto& i : input) { std::cout << i << " "; }
	std::cout << ")" << std::endl;
}

inline void func2(std::vector<std::string> input) {
	std::cout << "func2 ( ";
	for (auto& i : input) { std::cout << i << " "; }
	std::cout << ")" << std::endl;
}

int main() {
	sol::state lua;
	lua.open_libraries(sol::lib::base);
	lua.set_function("func", sol::overload(func1, func2));
	lua.script(R"(
		func({1})
		func({"bark"})
		func({})
		func({ 1, 2, 3, "hahaha", 5 })
	)");
	return 0;
}

The output is:
func1 ( 1 )
func1 ( 0 )
func1 ( )
func1 ( 1 2 3 0 5 )

But, if I swap the overload definition to sol::overload(func2, func1)) the output is:
func2 ( 1 )
func2 ( bark )
func2 ( )
func2 ( 1 2 3 hahaha 5 )

inline void func1(std::vector<int> input) {
	std::cout << "func1 ( ";
	for (auto& i : input) { std::cout << i << " "; }
	std::cout << ")" << std::endl;
}

inline void func2(std::vector<std::string> input) {
	std::cout << "func2 ( ";
	for (auto& i : input) { std::cout << i << " "; }
	std::cout << ")" << std::endl;
}

int main() {
	sol::state lua;
	lua.open_libraries(sol::lib::base);
	lua.set_function("func", sol::overload(func1, func2));
	lua.script(R"(
		func({1})
		func({"bark"})
		func({})
		func({ 1, 2, 3, "hahaha", 5 })
	)");
	return 0;
}

The output is:
func1 ( 1 )
func1 ( 0 )
func1 ( )
func1 ( 1 2 3 0 5 )

But, if I swap the overload definition to sol::overload(func2, func1)) the output is:
func2 ( 1 )
func2 ( bark )
func2 ( )
func2 ( 1 2 3 hahaha 5 )

¯\_(ツ)_/¯
Overloading is first-come, first-serve. Checking inside of the table just means it tries to skip what it can't understand. If you want a different form of checking, you can take a sol::object as the parameter and use different discrimination tactics after drilling down into the table.

¯\_(ツ)_/¯
Overloading is first-come, first-serve. Checking inside of the table just means it tries to skip what it can't understand. If you want a different form of checking, you can take a sol::object as the parameter and use different discrimination tactics after drilling down into the table.

@ThePhD I got std::vector<sol::object> as a parameter, and worked like a charm. Sol is amazing, congratulations!

@ThePhD I got std::vector<sol::object> as a parameter, and worked like a charm. Sol is amazing, congratulations!


Added deployments, updated nomad/api to v0.6.3

Closes #5

Added docs to readme, fixed doc err

Thanks!


[Bug]: zippedArchive test is flaky

🔎 Search Terms
zippedArchive
The problem
See https://github.com/winstonjs/winston/pull/2337#issuecomment-1874970332
This may indicate that the zippedArchive functionality itself is flaky; further investigation is required here.  Hoping that the PR authors there or someone else from the community can step in and help investigate and resolve... 🙏
What version of Winston presents the issue?
master
What version of Node are you using?
16, 18

@Pulkit0729 @pixtron, wondering if there's any chance you might be able to look into this?  Huge quality of life issue for maintaining the repository, unfortunately (I'm manually re-running lots of tests on PRs to get "good runs" for this flaky test).  My biggest concern is whether just the test is flaky, or whether the underlying functionality itself doesn't work sometimes...

Ok, i will update you on this @DABH

By reading the test, to me it looks like a race condition in the test itself.
When logged is emitted we are not sure, if the content has already been flushed to disk or not. If the content has already been flushed, a rotate is save and testarchive.log.gz might already exist (compression started or even already finished). Not sure how to fix this test tho.

@DABH Added a Pr with the fix, it was a silly mistake from my side

It appears that even after merging @Pulkit0729's PR, testtailrollingfiles is still flaky... so going to leave this issue open / update the details since I think the flake might be related to #2337 still (I don't recall ever seeing that test be flaky before #2337 was merged...)


maintainers: remove skeidel

Description of changes
Remove @svenkeidel from maintainers

Has been inactive for over 3 years https://github.com/svenkeidel?tab=overview&from=2020-12-01&to=2020-12-31&org=NixOS
Is not responsive https://github.com/NixOS/nixpkgs/pull/249917

Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

These packages are going to need new maintainers, aren't they? I'm going to add the tag for it

@svenkeidel according to policy I'll merge this in a week

I opened #266901 to seek new maintainers.
Pinging former co-maintainers: @Mic92 @peterhoeg @AndersonTorres @mnacamura @DeeUnderscore


Enable the 'Change task status' context menu to work in Live Preview mode

⚠ Please check that this feature request hasn't been suggested before.

[X] I searched previous Ideas in Discussions didn't find any similar feature requests.
[X] I searched previous Issues didn't find any similar feature requests.
[X] I am only requesting a single feature. Multiple changes should be split into individual requests, with links between them.
[X] I believe my requested feature will be generally applicable to other users, not just me: it is not uniquely tied to my personal workflow.

🔖 Feature description
I hope that it will also be possible to modify task status in edit mode.
Because most of the time, we manage tasks in real-time editing mode rather than in reading mode. I believe this would be beneficial for most people.

Note from maintainer: This is a request for the Tasks 'Change task status' context menu to work in Live Preview mode, allowing right-clicking in checkboxes to popup up a status menu.

✔ Solution
In edit mode, add a context menu to modify custom task statuses.
❓ Alternatives
Currently, in the obsidian-task-collector plugin, it is possible to modify custom task statuses in edit mode.
In edit mode, a right-click context menu has been added, which opens a panel to select custom task statuses.
I think tasks can consider implementing a similar approach.
📝 Additional Context
No response

Hi @kickTiger, thanks for the suggestion.
Do you  mean Live Preview or Source Mode?

Hi @kickTiger, thanks for the suggestion.
Do you mean Live Preview or Source Mode?

yes， Live Preview or Source Mode
context menu like this

Ah right, so both of them. Thanks.
In case you haven’t seen, Tasks now does have a context menu for statuses. Right-circle on the checkbox in Reading or Query Results mode.
https://publish.obsidian.md/tasks/Editing/Toggling+and+Editing+Statuses#'Change+task+status'+context+menu

Thank you for your reply. I am using this context menu , and it's excellent.
Unfortunately, they only support in Reading or Query Results mode. It would be great if it could also be supported in Live Preview or Source Mode, which is the suggestion I just made.

Thank you for your reply. I am using this context menu , and it's excellent.

I'm pleased to hear that.

Unfortunately, they only support in Reading or Query Results mode. It would be great if it could also be supported in Live Preview or Source Mode, which is the suggestion I just made.

The thing is, it's not at all obvious to me that this is what the suggestion is about, after reading it several times... There's no reference to the existing status menu - it sounds to me like it's believed that there is currently no way to modify status in edit mode, when there is (with the keyboard).
"modify task status in edit mode."
"I hope that it will also be possible to modify task status in edit mode.
Because most of the time, we manage tasks in real-time editing mode rather than in reading mode. I believe this would be beneficial for most people."
"In edit mode, add a context menu to modify custom task statuses."
"I think tasks can consider implementing a similar approach [to tasks-collector plugin]."
Anyway, I will do two things:

Edit this to make it clear that it is talking about using the existing context menu...
I really need requests to cover individual bodies of work - and this is two: 'Live Preview' and 'Source Mode' - since these are different areas of code... So I will pick one, and make this specifically about Live Preview.

See #2567 for the corresponding request for Source mode.

When this is done, remember to update the checkboxes in
https://publish.obsidian.md/tasks/Editing/Toggling+and+Editing+Statuses#'Change+task+status'+context+menu

I'm not sure this is related or not.
In my daily notes I have a callout box and inside it I have a task query for tasks due for today. When I right click on the checkbox Obsidian shows me the change status context menu for the task but it also renders the context menu with Edit and Callout type on top of the Tasks context menu. This happens in preview mode.
The callout context menu was added recently in Obsidian and it could end up as an issue over all as more and more right click context menu's are implemented.

I'm not sure this is related or not.

@elvarb It's not. Please create a new issue - and I'll need specific numbered steps, markdown text to copy, and a screenshot, or better, a video - to be able to reproduce. Thanks.

Upvote on that one, and a hotkey to open the change status to current modal from a task would be also greatly appreciated ^^.
Thanks a lot !

hotkey to open the change status to current modal from a task would be also greatly appreciated ^^.

That is a different facility from this. Feel free to search for it - label 'scope: commands' - and if not there, create a new one - including specific info about why it would be valuable.


User should be able to set info about playground

From app, user should be able to rate a playground and set info about it

No game implemented yet. It will be an other feature


1.7.8

@rultor release tag is 1.7.8

@rultor release tag is 1.7.8

@portlek OK, I will release it now. Please check the progress here

@rultor release tag is 1.7.8

@portlek Done! FYI, the full log is here (took me 8min)


How to run an XFCE desktop in vncserver on NixOS?

I would like to run an xfce desktop on a NixOS machine for remote access via VNC. Is there a recommended way to do this?
So far I have installed tigervnc+xfdesktop+xfwm4 and written a ~/.vnc/xstartup script that runs xfdesktop &. This does work but is very minimal: I have few desktop menu items, not all of them work, I have no panels, and I can't do things like recover windows that have been minimized.
I have tried installing more packages with nix-env -iA nixos.xfce but this is failing for me, on both stable and unstable channels, with confusing conflicts like https://gist.github.com/lukego/5bcea80e4ba371114f8510782bd4f659.
So I would like to at least extend my current setup with a more complete xfce environment. Better yet would be to have a nix expression to describe the whole environment instead of manually installing packages with nix-env and writing ~/.vnc/xstartup by hand.
Any hot tips? :-)

You probably want to use startxfce4 or xfce4-session instead of xfdesktop, not sure about this one though.
For installing the rest of the software, you may want to take inspiration from the list of software installed by the xfce module.

Are there any updates on this issue, please


Addition of social media links

When the user clicks on social media icons it shows top of the page
Kindly assign it to me under GSSoC'24

@anuragverma108 Please assign me this issue, i can add icons with attractive animation and css

Hello there . Please assign me with this project . I can modify your website with various social media links that could enhance the engagement of the website. @anuragverma108 please assign this to me

I am Anvi Shelar. Under GSSOC'24, I would like to work on this issue. Pls assign me this!!

Assigned !

I am khushi kunte.I would like to work on this issues.Please assign this task to me.

Hi @anuragverma108 please assign this issue.i would like to work on this

Hi @anuragverma108 please assign this issue.i would like to work on this

Hi @anuragverma108 please assign this issue.i would like to work on this


Uri inputs uh

I finally got tests going, cut a release of the uri_handler and was able to update this branch to use that to seamlessly handle file and s3-like schemas.  this PR uses uris instead of posix paths for ingest, apply mipmaps, generate_tilespecs, generate_mipmaps, and apply_lens_correction.
since using uris is the new default behavior, all existing schemas for these modules should convert older inputs to uris, leaving tests untouched.

Needs another commit to get rid of some commented out code and a once-over to make sure additional changes since the much-earlier commits don't reference file paths.


Tables with columns formatter

So I faced a couple of issues when tried to work with formatters and pivoting their labels and values.
Before I go ahead and change all tables, I would like some feedback on the upcoming radical change on table formatting.
Some of the concerns and highlights

We can define the columns for the table right before the usage of the table and drop theformatters.js.
We can pass an extra property to the newly introduced columns for handling special formatting.

const columns = [
  { title: 'Title', field: 'metadata.title', formatter: (row) => row.metadata.title.toUpperCase() },
  { title: 'Authors', field: 'metadata.authors' },
]

@kprzerwa, @zzacharo, @equadon, @ntarocco looking forward for your improvements.

https://github.com/inveniosoftware/invenio-app-ils/pull/572#discussion_r338910229
@ntarocco According to react in general assigning indexes to keys in general can be bad as react relies on keys to see if needs to rerender a component. For example if you reorder some list results by assigning the index as key it would trigger re render of every result component... In general we don't have currently an issue on this but I just mentioned it for future reference. You can read more here

#572 (comment)
@ntarocco According to react in general assigning indexes to keys in general can be bad as react relies on keys to see if needs to rerender a component. For example if you reorder some list results by assigning the index as key it would trigger re render of every result component... In general we don't have currently an issue on this but I just mentioned it for future reference. You can read more here

Oh nice thanks! I did not remember that!


implementation of stat ingester

Part 2 of the cluster-test-orchestrator.
In this PR you find the stat ingester of the orchestrator. The stat ingester does real-time analysis to find out if the ringpop cluster is stable and writes the stats to a file for later analysis.

To sum up, my thoughts on this:

Please document the stat parsing state machine, using the names of the data structures in the code.
Split out UDP server to a separate package, and interact with the stat-parser through a public package API.
Add tests for the state machine. Depending on how big is the UDP server and its API, maybe the server too (but if it's only one function with just a few lines, maybe not).

Now #78


Ban Time argument location expansion

Make it so Ban Time can be used before or after userID

Time argument now parses 2nd and 3rd argument in the ban command. Implemented.


Placeholder: Graceful node shutdown docs [KEP: 2000]

This is placeholder for graceful node shutdown docs.
PRs:
kubernetes/kubernetes#96129
KEP:
KEP 2000 (Graceful Node Shutdown).
Issues:
Enhancement issue: https://github.com/kubernetes/enhancements/issues/2000

/sig node
/milestone 1.20

/milestone 1.20
/assign
/hold pending merge https://github.com/kubernetes/kubernetes/pull/96129

Hi @bobbypage
Friendly reminder that docs ready for review deadline is coming up on Nov 23rd, right after Kubecon NA. We would appreciate it if you could provide most of the doc content for this feature early so that it can be reviewed by Sig Docs before Kubecon and other events happening in November.
When it's ready to be reviewed, please don't forget to remove the word placeholder from the title. thank you!

/hold cancel
k/k pr merged

@bobbypage LGTM I think this one good to go after you address Anna’s feedback

The feature gate also needs a description.
/lgtm cancel

I have updated with a description of the feature gate, PTAL again.

This is placeholder for graceful node shutdown docs.

Please update PR description to confirm this is ready for review.

Done, updated, PTAL again.

Thanks for taking a look @sftim. Would be happy to work with you on a blog if you're interested, feel free to ping me.
Also one more question -- do you think this is the best place for this content? I added it under content/en/docs/concepts/architecture/nodes.md, but maybe there's a better place to add the info. Let me know if you have some thoughts here.

Also one more question -- do you think this is the best place for this content? I added it under content/en/docs/concepts/architecture/nodes.md, but maybe there's a better place to add the info. Let me know if you have some thoughts here.

There might be a better place for this content; however with KubeCon still running and the release burn down imminent, I am wary of recommending a reorganization. Let's get this merged and then reflect on alternative homes for these details.

Sounds good, this should be good go, let's merge it and then will reevaluate after as you mentioned.


Fix compilation on macOS

Separates Example app into iOS and macOS targets.
Updates Exhibition code to compile + run to macOS.
Unable to currently test myself as I'm using macOS 11.6, and some of the swiftui features in use are macOS 12+ only. Will see how CI does and look into updating my computer.

Ah, well, Github actions is also macOS 11, so will need to adjust the package and SwiftUI usage to support that.
This PR can act as a starting point for that work.


Param values can be arrays, too

When param values are arrays, loop through all values to find a match.

Hmmm actually, that logic only works for unless, not if

That should fix it…

LGTM..... thanks


fix: change to async_forward_entry_setups for HA 2024.7.x+

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

Project coverage is 76.87%. Comparing base (66ed739) to head (d80e892).
Report is 18 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #52      +/-   ##
==========================================
- Coverage   76.94%   76.87%   -0.07%
==========================================
  Files           5        5
  Lines         334      333       -1
==========================================
- Hits          257      256       -1
  Misses         77       77

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