Will I get banned with this code?

void Misc::forceCrosshair(ImDrawList* drawList) noexcept
{
static auto disablecrosshair = interfaces.getCvar().findVar("weapon_debug_spread_show");
if (miscConfig.forceCrosshair == true && localPlayer.get().isScoped() == 0) {
    csgo::ConVar::from(retSpoofGadgets->client, disablecrosshair).setValue(3);
}

else {
    csgo::ConVar::from(retSpoofGadgets->client, disablecrosshair).setValue(0);
}

}
//forcing crosshair - is it important to use Gamedata::Lock here?

Code itself doesn't get stuffs detected unless you go for odd features that are untrusted or vmt hooks kinda stuffs.
Signatures are.


Improve handling of "unexported symbols"

Suggestion
When declaration is set to true (e.g. through composite projects), every inferred type needs to be accessible:
File 1: a creator function of an "abstract type" (think https://github.com/microsoft/TypeScript/issues/202)
const MySymbol = Symbol('MySymbol');
type MyThing = {
    _brand: typeof MySymbol,
    onlyCreatedHere: 'more-or-less'
}
const createMyThing = () => {
  return {
    _brand: MySymbol,
    onlyCreatedHere: 'more-or-less'
  }
}

File 2: builds on top of this
const createEverything = () => {
  return {
    myThing: createMyThing()
  }
}

We get a type error:

The inferred type of 'createEverything' references an inaccessible 'unique symbol' type. A type annotation is necessary.

It can be solved by exporting MySymbol but that's against the point of the symbol as we want to make it private to hide things
It would be nice if TypeScript could automatically export MySymbol in a private matter. Other declaration files can import the type/value but actual files not.
Another solution would be that if the type of the Symbol is exported (export type MySymbol = typeof MySymbol) that that type is used and declared as an unique symbol (declare export type MySymbol = unique symbol).
🔍 Search Terms
symbol declaration inaccessible
✅ Viability Checklist

[x] This wouldn't be a breaking change in existing TypeScript/JavaScript code
[x] This wouldn't change the runtime behavior of existing JavaScript code
[x] This could be implemented without emitting different JS based on the types of the expressions
[x] This isn't a runtime feature (e.g. library functionality, non-ECMAScript syntax with JavaScript output, new syntax sugar for JS, etc.)
[x] This feature would agree with the rest of TypeScript's Design Goals.

This seems very unlikely to be something we do -- it implies that either file2 is allowed to take a dependency on unexported members of file1, which means that editing file1.d.ts (not something you would do but we can't distinguish generated and nongenerated files) would be full of hidden refactoring hazards, or that the generation of file1.d.ts depends on what kind of things use it, which is very difficult to reason about as a user.
There are definitely things you can write today to remove the error.

What are other ways to remove the error? Is there a way to not export the symbol?
Would it be an option to improve the export when there is a type export:
const MySymbol = Symbol('MySymbol');
export type MySymbol = typeof MySymbol

currently generates
declare const MySymbol: unique symbol;
export declare type MySymbol = typeof MySymbol;
export {};

which means that even if we export a type, we still get the same error. If the type export could somehow be referencing the symbol directly, the problem would be solved

I've run into this same issue. I have a hierarchy of classes that are exposed to users that hold hidden and potentially dangerous values inside private members. I would very much like to encapsulate these hidden values in such a way that it is actually impossible for user code to access them, while the classes can in some special cases use a shared symbol to access each other's private members through this shared symbol. They receive the shared symbol as a constructor parameter, passed through from the very top of the hierarchy. The symbol is never exported from any file and is always kept in private members by classes (if they need to) to make sure it is not accessible to users in any way or form.
So something like this:
// root.ts
import { Child } from "./child";
const SPECIAL_SYMBOL = Symbol("[[special]]");
export type SpecialSymbol = typeof SPECIAL_SYMBOL;

// Public API
export class Root {
  createChild() {
    return new Child(SPECIAL_SYMBOL);
  }
}

// child.ts
import { type SpecialSymbol } from "./root";

export class Child {
  #specialSymbol: SpecialSymbol;
  [key: SpecialSymbol]: SomePrivateValueType;

  constructor(specialSymbol: SpecialSymbol) {
    this.#specialSymbol = specialSymbol;

    this[specialSymbol] = somePrivateValue; // Possibly a function to bind to `this`.
  }
}

Unfortunately, this does not work and instead I get this error:

An index signature parameter type cannot be a literal type or generic type. Consider using a mapped object type instead.

Which is... kind of fair. I don't want to declare my class to be Record-like or anything like that. But, trying to do a computed property name leads to two errors:

A computed property name in a class property declaration must have a simple literal type or a 'unique symbol' type.
'SpecialSymbol' only refers to a type, but is being used as a value here.

The first points to the typeof SPECIAL_SYMBOL having lost its uniqueness. The second is kind of fair as I am indeed trying to sort of use a type as a value, though the error persist even if I declare [SpecialSymbol]: SomePrivateValueType.
I have not been able to find any way to do this except adding a lot of @ts-expect-error comments here and there.

One solution for this is this to use a mapped type interface extension:
type U = {
  [key in SpecialSymbol]: SomePrivateValueType;
}

interface Child extends U {}
class Child {
  constructor(specialSymbol: SpecialSymbol) {
    this[specialSymbol] = somePrivateValue; // Now this doesn't error.
  }
}


Missing CANCELED-Event "Too many requests"

Hi,
I'm working with the python azure-speech-sdk 1.3.0 using the speech_recognizer with continous_recognition.
I'm trying to transcript multiple files (hundreds or thousand) and therefore I'm starting a lot of sessions to process as many files as possible in parallel. Usually the speech_recognizer fired a CANCELED-Event with the message "Too many requests" and Error-Code: 3 and I used this to handle how many parallel requests I'm starting. This worked so far but now I'm not receiving this event anymore - instead I'm getting two kinds of errors:
1. WebSocket operation failed. Internal error: 3. Error details: WS_ERROR_UNDERLYING_IO_ERROR. Reason: CancellationReason.Error
2. Connection was closed by the remote host. Error code: 1000. Error details: Idle timeout. Reason: CancellationReason.Error

The cognitive service is located in westeurope and has pricing tier Standard.
Did anything change on the API or why do I not receive the original message anymore? And is there a different why to dynamically get the limit of parallel requests?

There is a maximum number of parallel request you can send. I think the default is 20. You can ask support to have this number elevated.
If you have lots of files, I would recommend the batch transcription service. This might be more efficient
https://docs.microsoft.com/en-us/azure/cognitive-services/speech-service/batch-transcription
and
https://github.com/Azure-Samples/cognitive-services-speech-sdk/tree/master/samples/batch
thx
Wolfgang

Thanks for the fast reply!
Do you mean by asking the support for an adjustment to increase the number of parallel requests in general or would this be done specifically for my subscription?
I just tried the batch-transcription-service and I hope I'm free to bring up a suggestion: It would be nice to be able to install the package swagger_client using pip.
Also when following the instructions from here I ran into an error trying to import swagger_client:
>>> import swagger_client
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Users/simons/anaconda3/envs/call-analyzer-ap1/lib/python3.6/site-packages/swagger_client/__init__.py", line 19, in <module>
    from swagger_client.api.custom_speech_accuracy_tests_api import CustomSpeechAccuracyTestsApi
  File "/Users/simons/anaconda3/envs/call-analyzer-ap1/lib/python3.6/site-packages/swagger_client/api/__init__.py", line 6, in <module>
    from swagger_client.api.custom_speech_accuracy_tests_api import CustomSpeechAccuracyTestsApi
  File "/Users/simons/anaconda3/envs/call-analyzer-ap1/lib/python3.6/site-packages/swagger_client/api/custom_speech_accuracy_tests_api.py", line 21, in <module>
    from swagger_client.api_client import ApiClient
  File "/Users/simons/anaconda3/envs/call-analyzer-ap1/lib/python3.6/site-packages/swagger_client/api_client.py", line 27, in <module>
    import swagger_client.models
  File "/Users/simons/anaconda3/envs/call-analyzer-ap1/lib/python3.6/site-packages/swagger_client/models/__init__.py", line 23, in <module>
    from swagger_client.models.endpoint import Endpoint
  File "/Users/simons/anaconda3/envs/call-analyzer-ap1/lib/python3.6/site-packages/swagger_client/models/endpoint.py", line 19, in <module>
    from swagger_client.models.model import Model  # noqa: F401,E501
  File "/Users/simons/anaconda3/envs/call-analyzer-ap1/lib/python3.6/site-packages/swagger_client/models/model.py", line 20, in <module>
    from swagger_client.models.model import Model  # noqa: F401,E501
ImportError: cannot import name 'Model'

Is there anything I can do about this error?

The concurrency limit is specific to each subscription.
Regarding the error with the swagger client: This seems to be a known issue with the autogenerated swagger bindings. You can work around it by deleting the offending lines (from swagger_client.models.model import Model  # noqa: F401,E501 and another, similar one) from the file in the autogenerated package.
@PanosPeriorellis for attention.

Who do I have to ask to adjust the concurrency limit?
How is the provided example a batch service? As far as I understand the documentation you can provide a link to one specific audio-file. Would this include merging all audio-files into one and then transcribe this single file?

Are you looking to use the SDK or REST. The concurrencly limit of an endpoint is relevant for the real time usage of the endpoint. batch does not require you to set up an endpoint

I'm looking for a Batch Transcription, but I implemented a service using the continous_recognition (real transcription). So I have two options: Elevating the concurrency limit so this works efficient enough or switching to the batch transcription.
Also I think the batch-service is far from being ready to be used.

Through our support channels you can request for us to increase the concurrency limit. Batch has been production ready for sometime now.


Ensure privacy by not accessing network resources if not required

The documentation as well as the requirements list multiple features like

pulling of proximity calculation parameters
content download (help hotline number / informational pages and so on)

which would trigger network requests from the App to backend servers.
This violates the users privacy IMHO as the IP of the user and potentially an user-agent string is transmitted to the backend-servers. If there are special information pages for "infected" or "potentially infected" people and these pages are pulled on demand, this would de-anonymize the users.
Deutsche Telekom is one of the projects stakeholders, as they are a big ISP in germany used by a lot of people, they have the capability without any external control, to de-anonymize users which are their customers. I think this is an issue and should be avoided.
I would suggest that the app does not "pull" or "push" any additional information from an backend.
The only time this is required: If someone is marked "infected" and their token set needs to be uploaded to the Cloud.
"Infected Token download" could be implemented by means of public mirrors by trusted 3rd parties. Validity of the tokenset can be checked by a digital signature. The app should contain a list of public mirrors which are choosen at random on initial application start.

This was discussed in #13 and somehow "removed" :(

Closing this as a duplicate of #13


Exactly one network input is required

Hello everyone,
thank you for this great framework.
Unfortunately I got stuck with the IOPolytopeReductionError(Exactly one network input is required) error. I ran the following command:
 dnnv --reluplex --network N model.onnx property_1.py -v
Verifying property:
Forall(x, ((([[-6. -6.]] <= x) & (x <= [[2. 2.]])) ==> (argmin(N(x)) != 0)))

Verifying Networks:
N:
Input_0                         : Input([1 2], dtype=float32)
Gemm_0                          : Gemm(Input_0, ndarray(shape=(15, 2)), ndarray(shape=(15,)), transpose_a=0, transpose_b=1, alpha=1.000000, beta=1.000000)
Relu_0                          : Relu(Gemm_0)
Gemm_1                          : Gemm(Relu_0, ndarray(shape=(1, 15)), [-0.4418712], transpose_a=0, transpose_b=1, alpha=1.000000, beta=1.000000)
Sigmoid_0                       : Sigmoid(Gemm_1)

INFO     2022-07-08 09:44:02,376 (dnnv.verifiers.common.reductions.iopolytope.reduction) CONJUNCTION: (~(argmin(N(x)) != 0) & (((1 * x)) <= [[2. 2.]]) & (((-1 * x)) <= [[6. 6.]]))
dnnv.verifiers.reluplex
  result: IOPolytopeReductionError(Exactly one network input is required)
  time: 0.0805

and the property_1.py file:
from dnnv.properties import *
import numpy as np

N = Network("N")

x_min = np.array([[-1.0, -1.0]])
x_max = np.array([[1.0, 1.0]])

x_mean = np.array([[0.5, 0.5]])
x_range = np.array([[0.25, 0.25]])

x_min_normalized = (x_min - x_mean) / x_range
x_max_normalized = (x_max - x_mean) / x_range

Forall(
    x, Implies(x_min_normalized <= x <= x_max_normalized, argmin(N(x)) != 0),
)

I think that the problem is the onnx model that I use, but maybe you can please give me a hint how to fix it? I tried both tensorflow models converted via tf2onnx and also torch models with torch.onnx export function.

Hi, thank you for your interest in DNNV!
Could you please tell me what version of python you are using, which version of DNNV you are using, and how you installed DNNV?
There are a few issues.
The first is the use of argmin instead of np.argmin. DNNV sees this as an additional symbolic variable to solve for (which the error message unhelpfully refers to as a 'network input'). Switching it to np.argmin will fix the issue, since this an expression with a concrete value.
The second issue is that the property is trivially false. The network only has a single output value, so np.argmax(N(x)) will always be 0 for any input, making the consequent of the implication False. DNNV figures this out, and is left with a property that has no network, which it will then fail on. I'll work on a fix for this.
The third issue is that this network contains a Sigmoid operation, which is not supported by Reluplex. You can try using a different verifier (I think ERAN and VeriNet support Sigmoid), or try to rewrite the property on the layer before the Sigmoid.
For example, if you want to say that the output of the Sigmoid is equal to y (e.g., N(x) == y), then you can rewrite it as N[:-1](x) == np.log(y / (1-y)) (as long as y is in the range $(0,1)$).
Hopefully this helps a bit.

The bug mentioned in the second issue of my last comment has been resolved by #95.


feat: add github deploy action script

automation :)

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

Comparison is base (96b88f0) 87.50% compared to head (5aa82ef) 87.50%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@           Coverage Diff           @@
##             main      #36   +/-   ##
=======================================
  Coverage   87.50%   87.50%
=======================================
  Files           5        5
  Lines         136      136
  Branches       46       46
=======================================
  Hits          119      119
  Misses         15       15
  Partials        2        2

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


Rename host to baseUrl and support paths on it

host is now renamed to baseUrl (breaking change)

Host only refers to a domain or IP, while this field should refer to a fixed part of a URL that is common to all resources. So baseUrl is a more appropriate name.

Now baseUrl can contain paths as well

E.g. https://api.openai.com/v1

I've manually tested the following scenarios:

In spec: global server
In spec: global server with variables
In spec: global server with path and trailing slash
In spec: global server with IP and port
In spec: server defined in endpoint
In client: baseUrl with path
In client: baseUrl with path and trailing slash

(I'd would be nice to find a way to write automated tests for the generator)
cc @walsha2

Published: https://pub.dev/packages/openapi_spec v0.6.0


Resolve #19, only constrain iframe version

do not constrain unless inside an iframe

@smcnally  - This should resolve issue #19


fix typos in wiki

found format problem at https://github.com/binance-chain/go-sdk/wiki/API#get-trades

already fixed


Error on console

Warning: You are manually calling a React.PropTypes validation function for the items prop on Tabs. This is deprecated and will not work in production with the next major version. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details.
Is it possible using the latest version of react function on it?
Thank you!!!

Hi, @Eliceeeeeee
What version of tabs do you use?
I've checked it with the last version of React and I couldn't reproduce the error...

Closing due to inactivity


Update to Dropwizard 2

This PR will update grobid-quantities to Dropwizard 2.x

Coverage increased (+0.005%) to 27.587% when pulling b8900a6981762741bf1f0300f4d9c4bd93db66e4 on feature/dropwizard2 into d562fb2b3c64460ee6b09115bfb0c207ed5f469f on master.

Due to https://github.com/dropwizard/dropwizard/issues/5318 and https://github.com/dropwizard/dropwizard/discussions/5268 I will postpone the upgrade.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
208 unchanged lines in 5 files lost coverage.
Overall coverage decreased (-0.3%) to 25.051%

Files with Coverage Reduction
New Missed Lines
%

org/grobid/service/controller/HealthCheck.java
3
0.0%

org/grobid/service/main/GrobidQuantitiesApplication.java
10
0.0%

org/grobid/service/command/UnitBatchProcessingCommand.java
11
0.0%

org/grobid/service/command/TrainingGenerationCommand.java
18
0.0%

org/grobid/core/engines/QuantityParser.java
166
0.0%

Totals

Change from base Build<PHONE_NUMBER>:
-0.3%

Covered Lines:
1702

Relevant Lines:
6303

💛  - Coveralls


add settings option to add a space between dataview inline field and metadata input by default

I love this plugin, and it has dramatically improved the way I use metadata , Thank you!
for preset fields — the default option is to add the field without adding a space between the "::" used for dataview fields and the input— and the only way around this is to use shift+ enter.
However, this is difficult/ not possible when using metadata menu on mobile, and adds unnecessary friction, especially when adding tags.
Can this be changed?

Yes sure! will be included in the next release

shipped in 0.4.5

Apologies if I'm being thick/ doing something really silly here. But i updated the plugin and restarted my system — still can't see this working. Currently using: Obsidian 1.1.9, installer version 1.1.9, plugin version. 0.4.5
Thank you again for being so responsive!

Oups. I forgot to change it also for autosuggest. currently, with auto suggest you have to shift+enter to put a space after the separator

Got it! thank you— I should've clarified this from the beginning! This is what causes the biggest issue on mobile. Thank you again for taking a look!

should be ok in 0.4.7


Maine needs fix for new website

I'm actually talking to the reporter of decisions in Maine and he wants to start uploading opinions directly, but before that can happen, he says it'd be better if we had all the historical stuff. Alas, they changed their website last year, and we dont' have anything since November or so.
Any chance you can help with this, @arderyp ?

@mlissner is this still the data?
https://www.courts.maine.gov/courts/sjc/opinions.html
If so, I don't think they really changed their site drastically, we just had a hiccup in our code, which I've just pushed a fix to.

@mlissner @flooie, I believe this is fixed based on my comment above.  please reopen and @ me if not.

I think this is correct @arderyp - I added a simple back scraper for the 2017+ opinions that are currently online.

Okay this needs a small tweak.

The Maine back scraper was added - but the regular scraper was still failing to import.  I finally realized that

The download paths were incorrect because they old URL was redirecting to a new opinions page.  The download paths were being built with the old URL and not the new one.

Fix was simply updating the URL to the new opinions page directly.


Send listened audio status

just like .Read (), have any function for sending listened audio?

Interested... ♥

You mean if they finished the audio or read it?

You mean if they finished the audio or read it?

Message Tag: 883.--31
got unhandled node of desc: received
Node {
    desc: "received",
    attributes: {
        "index": D571CDBD8DA66D0AC23935ECA738CC65,
        "type": played,
        "from"<EMAIL_ADDRESS>    },
    content: None,
}

what is the correct function , you are the master :+1:

You mean if they finished the audio or read it?

Message Tag: 883.--31
got unhandled node of desc: received
Node {
    desc: "received",
    attributes: {
        "index": D571CDBD8DA66D0AC23935ECA738CC65,
        "type": played,
        "from"<EMAIL_ADDRESS>    },
    content: None,
}

what is the correct function , you are the master 👍

Just to make sure, this is sent or received?

Sent...
On Tue, 6 Oct 2020, 4:47 am Ased2235<EMAIL_ADDRESS>wrote:

You mean if they finished the audio or read it?
Message Tag: 883.--31
got unhandled node of desc: received
Node {
desc: "received",

attributes: {

    "index": D571CDBD8DA66D0AC23935ECA738CC65,

    "type": played,

    "from"<EMAIL_ADDRESS>
},

content: None,

}
what is the correct function , you are the master 👍
Just to make sure, this is sent or received?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/Rhymen/go-whatsapp/issues/460#issuecomment-703980361,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABDLT26OGWBZQRCMZIV7UQTSJJZJXANCNFSM4SD4PLEA
.

How can I debug this to develop? I do not even know where to begin with

How can I debug this to develop? I do not even know where to begin with

I use this code, just pass the message id
`func (wac *Conn) Played(jid, id string) (<-chan string, error) {
ts := time.Now().Unix()
tag := fmt.Sprintf("%d.--%d", ts, wac.msgCount)
n := binary.Node{
	Description: "action",
	Attributes: map[string]string{
		"type":  "set",
		"epoch": strconv.Itoa(wac.msgCount),
	},
	Content: []interface{}{
		binary.Node{
			Description: "received",
			Attributes: map[string]string{
				"index": id,
				"type":  "played",
				"from":  jid,
			},
			Content: "None",
		},
	},
}

return wac.writeBinary(n, message, ignore, tag)

}`

work like a charm

How can I debug this to develop? I do not even know where to begin with

I use this code, just pass the message id
`func (wac *Conn) Played(jid, id string) (<-chan string, error) {
ts := time.Now().Unix()
tag := fmt.Sprintf("%d.--%d", ts, wac.msgCount)
n := binary.Node{
	Description: "action",
	Attributes: map[string]string{
		"type":  "set",
		"epoch": strconv.Itoa(wac.msgCount),
	},
	Content: []interface{}{
		binary.Node{
			Description: "received",
			Attributes: map[string]string{
				"index": id,
				"type":  "played",
				"from":  jid,
			},
			Content: "None",
		},
	},
}

return wac.writeBinary(n, message, ignore, tag)

}`


NeuButton the ability to take Children and onClick

Just fits better into the pattern I'm more used to seeing

Yes. I have added new docs for NeuButton component and it now includesonClick as a prop as well. For now, I haven't added children to NeuButton but I will soon add this too so that users can add icons too.

so that users can add icons too.

Yeah that entirely my reason for it.


dropdown colour change

Description

Issue Ticket Number
Fixes #450

Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

Checklist:

[ ] I have followed the contributing guidelines of this project as mentioned in CONTRIBUTING.md
[ ] I have checked to ensure there aren't other open Pull Requests for the same update/change?
[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes needed to the documentation

Congrats @ankushj0801 🎉, your PR got merged. To be eligible for the swags from ClueLess. Follow these steps.

Star this repository. ⭐
SignIn / SignUp in [ClueLess Website](https://www.clueless.tech/)
Go to the profile section from the top right-hand corner.

Comment your profile URL under this comment tagging the person who merged your PR.
That’s it. Follow the leaderboard!
And don’t forget to share your achievement with your friends.


problem with multimer mode, ValueError: Could not parse description:

running in multimer mode...
Finished running alignment for 1_1
Finished running alignment for 1_2
Finished running alignment for 1_3
Finished running alignment for 1_4
Traceback (most recent call last):
File "inference.py", line 548, in
main(args)
File "inference.py", line 164, in main
inference_multimer_model(args)
File "inference.py", line 281, in inference_multimer_model
feature_dict = data_processor.process_fasta(
File "/home/fy/FastFold-main/fastfold/data/data_pipeline.py", line 1165, in process_fasta
chain_features = self._process_single_chain(
File "/home/fy/FastFold-main/fastfold/data/data_pipeline.py", line 1114, in _process_single_chain
chain_features = self._monomer_data_pipeline.process_fasta(
File "/home/fy/FastFold-main/fastfold/data/data_pipeline.py", line 936, in process_fasta
hits = self._parse_template_hits(
File "/home/fy/FastFold-main/fastfold/data/data_pipeline.py", line 884, in _parse_template_hits
hits = parsers.parse_hmmsearch_sto(
File "/home/fy/FastFold-main/fastfold/data/parsers.py", line 656, in parse_hmmsearch_sto
template_hits = parse_hmmsearch_a3m(
File "/home/fy/FastFold-main/fastfold/data/parsers.py", line 627, in parse_hmmsearch_a3m
metadata = _parse_hmmsearch_description(hit_description)
File "/home/fy/FastFold-main/fastfold/data/parsers.py", line 589, in _parse_hmmsearch_description
raise ValueError(f'Could not parse description: "{description}".')
ValueError: Could not parse description: "0000|3jqh_A/8-65 [subseq from] mol:protein length:167  C-type lectin domain family 4 member M".

Hi, I think drop "0000|" in your description of fasta file may solve your problem, i.e.

3jqh_A/8-65
SOMESEQUENCE

thanks，I will try it

Hello, there should be a > before the discription, I updated my comment because GitHub explained it as a quote symbol :-\

OK, thanks

It works. But another problem appears.    raise ValueError(f"hit.name did not start with PDBID_chain: {hit.name}")
ValueError: hit.name did not start with PDBID_chain: 6qq_A.
6qq is a small molecule in PDB, not a protein, there are other small molecules in hmm_output.sto, not only one.
do you know how to solve it?

Hi, I am not sure either.
Could you share the content of your fasta file? It would be really helpful to me to debug.

OK, it contains 2 same sequences.

1_1
MNDQARSVLTTVLEEGAWSVRQWPGDAAAETVHSALGRVTDLGDRVQGIAYTTSGAMSVHTATPELTTRLDGRDQPIPLDSVYELRLWAVIDGRADDGLLAHELRWLNGSGTAEIRVGGQELLSANGDAGWQTTRCWTRSNSYLQHGATAPFDEPSKAMTSVEVFTEEPTYGNTVFVDEIMTGRWS
1_2
MNDQARSVLTTVLEEGAWSVRQWPGDAAAETVHSALGRVTDLGDRVQGIAYTTSGAMSVHTATPELTTRLDGRDQPIPLDSVYELRLWAVIDGRADDGLLAHELRWLNGSGTAEIRVGGQELLSANGDAGWQTTRCWTRSNSYLQHGATAPFDEPSKAMTSVEVFTEEPTYGNTVFVDEIMTGRWS

Today, I encountered  bugs when using the native AlphaFold2 to predict a complex. I suspect it might be caused by the pdb_seqres.txt file, which contains non-protein data.

I fixed the file, and now try FastFold again. It's my fault, the file was not downloaded by script in alphafold. sorry about it. https://github.com/deepmind/alphafold/issues/623#issuecomment-1310651450

Now, no problem with multimer mode.  There were some bad data in my old pdb_seqres.txt, after I re-downloaded the file, it works well. But I also met this: https://github.com/hpcaitech/FastFold/issues/144#issue-1567588496


Create andqxai.txt

Adding Andijan Instute of Agriculture and Agrarian Technology

@loading50 First stage of verification passed, official domain is andqxai.uz as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision.

@loading50 Thank you for your patience while waiting for a review and processing your request. Pull request merged.


Update nokogiri version for security

from https://github.com/codenize-tools/piculet/issues/37
Update nokogiri version for security vulnerabilities.

Could you update rvm version ? https://github.com/codenize-tools/piculet/blob/54b0f14de7f8605c2ede504e37b9170592825f68/.travis.yml#L4

There is no diff/exception with our production configs 👍

Could you update rvm version ?

Since CI is currently broken, we will fix it with another pull request.


Client receive messages while disconnected without a clean session

Closing #1

It defaults to true in the builder
On Fri, Oct 23, 2020, 21:22 Syed Hassaan Ahmed<EMAIL_ADDRESS>wrote:

@syedhassaanahmed commented on this pull request.
In Testing/C2DTests.cs
https://github.com/vjrantal/azure-iot-mqtt-features/pull/13#discussion_r511137734
:

         // Assert - verify message was received + mqtt-retain set to true
         var sentMessage = messages.FirstOrDefault(x => x.Payload == payload);
         Assert.IsTrue(sentMessage != null && sentMessage.RetainFlag == "true");
     }

     [Test]

   public async Task ReceiveAllC2DMessagesWithCleanSessionFalse()

   {

       // Arrange

       var device = new Device(iotHubDeviceConnectionString);

       var sender = new Sender(iotHubConnectionString, deviceId);

       var firstPayload = Guid.NewGuid().ToString();

       var secondPayload = Guid.NewGuid().ToString();

       var payload = string.Empty;

       await device.ConnectDevice();

Shouldn't we pass cleanSession = false as param to ConnectDevice() ?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/vjrantal/azure-iot-mqtt-features/pull/13#pullrequestreview-515987274,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADBLUXGLMATISVIR55ZEZW3SMHQXLANCNFSM4S43DUSQ
.


CPU utilization to 100 % of logic server.

I am facing the issue of 100 percent utilization of CPU. I am running single core google cloud instance with 4gb RAM for each connector, logic and gate servers of mine.
I am connecting clients from game build as well as automated code behaving like bots.
When these starts the playing the game, the connectors CPU isn't used that much but the logic's CPU utilization reached 100% and then broadcast starts failing silently.
Can you suggest anything to resolve and debug the issue?

add more processes

What do you mean by adding more processes. I didn't get you.

add more processes

What do you mean by adding more processes. I didn't get you.


Move components creation to separate contexts.

I mean, The Context podcast should have the Context...

Hahaha ... of course we need a Context 👍


Improvements to FakeClient: support all CRUD operations

I'm using the helm packages in some custom code and came across the FakeClient. It's excellent to have for unit-testing purposes, but it'd be nice if it worked just a bit more like the real thing. Since it has an internal []Rels slice to track releases, we should be able to make it support all CRUD operations.
This PR adds support for all CRUD operations, and adds tests for the following methods:

InstallRelease()
ReleaseStatus()
DeleteRelease()

I did not add tests for UpdateRelease(), since it felt pretty low value to me. I'm happy to add those if requested, though.
There are a few ways this mock client falls short:

Validation. There is some copied logic from the tiller release server for creating release names, but overall there is much less validation in the mock client than the real thing. I wanted to create a reasonable mock without duplicating tons of code.
Errors. I did my best to maintain the semantics of the methods, but in most cases, the errors returned will not be exact matches for what tiller would return. From what I could tell none of the errors were exported, and I wanted to avoid making this PR any larger than I needed.

This is my first PR to helm and I'm not super familiar with the codebase. I'm sure there are lots of things could be doing better, so I'm happy to accept suggestions for improvements.

So, this PR has gotten a bit larger than I imagined, and I'm sort of at a roadblock right now. Here's what happened....
When initially working on this I wasn't aware of the releaseMock() function in (helm_test.go)[https://github.com/kubernetes/helm/blob/master/cmd/helm/helm_test.go#L62-L122]. As such, I created my own (very naive) implementation for release creation in the FakeClient InstallReleaseFromChart method.
Unfortunately, this breaks tests in the cmd directory, which rely on those additional fields.
My proposed solution to this issue would be:

Move releaseMock & releaseOptions from the main package to either pkg/helm or perhaps pkg/releaseutil
Update FakeClient install methods and all test code to use helm.MockClient() to create mock releases.

Alternatively, moving all this to a testing/mock package would be great, but since FakeClient is already exported I'm not sure we can do that.
This touches a lot of code, but it's all test code and/or has not been exported previously. I'm happy to do work, but as it touches a lot of code it would be nice to get a 👍  or 👎  on the direction before putting the time in.

/cc @adamreese - wanna take a look at this?

I'll try to summarize the full list of changes here and the rationale behind them, in an attempt to make reviewing easier.

Update FakeRelease to internally track releases.

Rather than always just returning the first item in the Rels slice, FakeClient now internally manages that slice with a list of releases that have been installed, updated, or deleted. There are also some unit tests for the FakeClient now. Happy to expand those if needed.

releaseMock and associates moved into the helm package and exported.

Tests in the cmd directory relied pretty heavily on the releaseMock function. It just made sense that if we are going to track releases, we should re-use the same code other tests are using to create those releases. Since it needed to be exported anyway, grouping it with the FakeClient code seemed like the most reasonable choice.

Updated all existing tests that relied on releaseMock to use the exported versions in the helm package.

Most of this is fairly non-controversial copy and pasting, but please do pay special attention to the install_test.go changes.  There was previously some odd behavior there, where the resp variable was used to populate the []Rels slice on the FakeClient. Since the FakeClient was just returning the first item in that slice, there was some weird test logic such as this:
https://github.com/kubernetes/helm/blob/master/cmd/helm/install_test.go#L42-L47
Where a name of "aeneas" was being used, but it was expecting a release named "juno" back.
Additionally, the "install with multiple values" test wasn't actually using multiple values, and was instead using the second value as the separator string:
https://github.com/kubernetes/helm/blob/master/cmd/helm/install_test.go#L58-L63
I went ahead and fixed those because they seemed like obvious mistakes, but special care should still be taken when reviewing those test changes.

@adamreese wanted to ping you on this again because I think you may have been away from work when you got pinged on this

ping :)  I realize people are probably quite busy, but even an expression of interest (or disinterest) in these changes would be greatly appreciated.

+1

We're all definitely interested in these changes! We just haven't had the time to review new features lately as we're all ramping up for KubeCon. We'll definitely give this PR a look when we're free :)

No worries. I realize maintaining a project is difficult and proper reviews can be incredibly costly.
Thanks!


config: enable label plugins for pd

/hold
Waiting the pd team review.

/assign @nolouch

@nolouch @rleungx PTAL~

/cc @rleungx

@rleungx ping~

/hold cancel

@rleungx Do you need the require-matching-label plugin?
It seems your issues require type label.

@rleungx Do you need the require-matching-label plugin?
It seems your issues require type label.

It will be better.

It will be better.

Added. Please take a look.

/assign @Mini256
PTAL~ Thanks!

/lgtm

/merge


lodash Dependency not found

Homebridge does not automatically install external dependencies. But since I only use one method from this dependency I'll implement it myself in the next update.
Workaround for now:
Install the @types/lodash dependency inside the plug-in folder on your machine using npm install.

resolved in 7ea9b718528f10ac6ef2a42db08c673e1bfe6404


Can't kekulize mol : murcko scaffold

I am using rdkit (version, '2018.09.1') for generating the murcko fragments from smiles. It does work but for some molecules, error is obtained (Can't kekulize mol.  Unkekulized atoms: 8 10 11) and the job is terminated without proceeding to next input.
Is there anyway to solve this problem ?

Is there any way to skip the kekulization steps while calling MurckoScaffoldSmiles(mol,includeChirality=False)

I think you want to use the MurckoDecompose function.  I believe it has
superseded the MurckoScaffoldSmiles.

>>> from rdkit.Chem import AllChem

>>> m = AllChem.MolFromSmiles("c1ccc(=O)ccc1CC2CC2CCC")

>>> scaffold = AllChem.MurckoDecompose(m)

>>> Chem.MolToSmiles(scaffold)

>>> AllChem.MolToSmiles(scaffold)

'O=c1cccc(CC2CC2)cc1'

Cheers,
Brian
On Thu, Dec 12, 2019 at 8:12 AM ljohn89<EMAIL_ADDRESS>wrote:

Is there any way to skip the kekulization steps while calling
MurckoScaffoldSmiles(mol,includeChirality=False)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/rdkit/rdkit/issues/2845?email_source=notifications&email_token=ACLOFIBP4TJ75NTBZMBYY43QYI2EZA5CNFSM4JZ54OK2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEGWTXOA#issuecomment-565001144,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACLOFIGOW4SQMDQJREOD3HDQYI2EZANCNFSM4JZ54OKQ
.

Thanks Brain for the reply.
I was wondering if there is any way to skip the kekulization step ?
For example, I am trying to get the fragments for a set of molecules.
As soon as the below 'mol' is encountered, it shows attribute error and my script is stopped.
mol='OC1C2=CC=CC1=c1[c]2snc1'
m = Chem.MolFromSmiles(mol)
bis = m.GetSubstructMatches(Chem.MolFromSmarts('[!R]~[R]'))
Error message:
AttributeError: 'NoneType' object has no attribute 'GetSubstructMatches'

In this case just use the molecule as returned from MurckoDecompose
m = AllChem.MurckoDecompose(m)
m.GetSubstructMatches(Chem.MolFromSmarts('[!R]~[R]'))
If you need to save the decomposition, you can pickle it which saves the current state.
If you must use smiles for the scaffold, that’s a bit trickier, but we can help you out.

Yes, I need to use smiles for generating scaffold
m = AllChem.MolFromSmiles("OC1C2=CC=CC1=c1[c]2snc1")
scaffold = AllChem.MurckoDecompose(m)
ArgumentError

One more thing !
mol='OC1C2=CC=CC1=c1c2snc1'
m = AllChem.MolFromSmiles(mol)
print(m)
None
mol='COc1ccc(CN(C)c2ncnc3sc4CC(C)CCc4c23)c(OC)c1OC'
m = Chem.MolFromSmiles(mol)
print(m)
<rdkit.Chem.rdchem.Mol object at 0x2b912d35f260>
Why there is difference in both the output ?

Are you asking why the first molecule can't be interpreted?
The RDKit is pretty opinionated about what is chemically sensible and what isn't.
In this case, the ring you have in the first case doesn't appear to be aromatic and can't be kekulized.
The structure you are trying to work with is this:

Which doesn't look aromatic to me.


Feat/barchart updates

I'm going to start the process for this PR to make it add more clarity on the issue https://github.com/spectreconsole/spectre.console/issues/1382 raised to see exactly what was changed and to start the conversation
Key points

Added ValueFormatter for bar chart based on breakdown chart
Added label color option

@microsoft-github-policy-service agree

We will also need to update the documentation so it reflect the new additions.


Harmony (ES6) Syntax Highlighting

I use jsx-loader to enable Harmony syntax in my JS files (even the ones that aren't in JSX).  The JSX syntax highlighter is pretty nice for ES5 and JSX, but doesn't seem to highlight lambda arrows or interpolated strings.
Can we fix that in this repo?

Wondering about this as well. @jgebhardt's suggestion sounds appealing and probably put it under 6to5 umbrella; since 6to5 supports JSX. Will look into this when I have time.

FYI https://github.com/6to5/6to5-sublime is built on top of JavaScriptNext and supports both ES6 and JSX.


Ready method not being called

Using coffee script and jade btw
I'm using the component is tag, and it's displaying the view fine, and calling methods in the component on button clicks and showing data, but the one thing that won't work is the ready method. I set it to
console.log 'hello world' but it's not doing anything
<script lang="coffee">
module.exports =
    ready: () ->
            @foo = 'not foobar, something else!'
            console.log 'Im being called'

    data: () ->
        ret =
            foo: 'foobar'
</script>

<template lang="jade">
{{foo}}
</template>

app.vue
<script lang="coffee">
module.exports =
    data:
        app: {}
        viewData: {}
        currentView: 'home-view'

    components:
        'home-view': require './views/home.vue'

    ready: () ->
        @app = this
</script>

<template lang="jade">
component(is="{{currentView}}" app="{{@ app }}" v-ref="view")
</template>

This appears to be an issue with on the watchify side not the code side

No idea why I just tinkered with it now it works :D


10001010101010101001110101010101010101010101010101010101 should be secure

So the password<PHONE_NUMBER>101011101101000000010111011011101001010001001101011011 is calculated as only having a length of "2" and a base of 10. So it would be about 6 bits according to this. But the generation method clearly is generating a binary string with length 64, for a total of 64 bits of entropy.

Changing the penalty to only take into account repeated characters next to each other


fix: move session-specific logic from ContextPlugin to avoid race conditions

Summary
Session-specific logic moved from ContextPlugin to avoid race conditions
Checklist

[x] Does your PR title have the correct title format?
Does your PR have a breaking change?:  No

@qingzhuozhen

Maybe we could add a simple test for this?

I am not sure if it's a simple task. Current tests (CI) are unit and have no Android dependencies. But the logic is implemented in Android-related code.

@qingzhuozhen
A test was added. I need to change some session-related logic to make it more deterministic to be able to test it.


Getting the same results while running multiple simulations

Hello,
I'm running an updated version of robot-marbles-part-4.ipynb notebook from the old repository so it is compatible with the latest version of the library however I'm getting the same results on every simulation when running with N  > 1. Seems that the error starts in the following line:
https://github.com/cadCAD-org/cadCAD/blob/d422ff9f51fa0107c1a5a419b9a6df5beac09676/cadCAD/engine/__init__.py#L146
This does not happen If you send the Ns variable instead of the RunIDs as the last parameters. However, the run columns get wrong values and the timestep column doesn't match with the results of each simulation

Thanks @santteegt . That's being worked on and should be fixed in an upcoming release.

linked to #165

Resolved


Mobile version

Screenshot 1 / Screenshot 2
Chrome 88.0.4324.93 / Android 11 / 1560x720 / vercel.com (deploy from Git).

Might as well add the realtime view on an iPhone.
My skills with mobile css and formatting is unfortunately rather limited.

@mikecao would you accept a PR to help fix this? Love the project and would be happy to help with the mobile rendering issues.

@mikecao would you accept a PR to help fix this? Love the project and would be happy to help with the mobile rendering issues.

I think we all would appreciate your help!


hamburger functionality

#1269 hamburger is not working in small screen problem solved
Title :  hamburger is not working in small screen problem solved
Issue No. : #1269
Close #1269
before:
https://github.com/user-attachments/assets/b2b59512-8690-464f-9429-fe1d3545041f
After
https://github.com/user-attachments/assets/50f4d3a7-6f1a-4357-b16a-cbec8e0fc397
Type of PR

[x ] Bug fix
[ ] Feature enhancement
[ ] Documentation update
[ ] Add WEB3 project
[ ] Other (specify): _______________

Checklist:

[x ] I have mentioned the issue number in my Pull Request.
[ x] I have commented my code, particularly in hard-to-understand areas
[ x] I have gone through the  contributing.md file before contributing
[ x] I have Starred the Repository.

Checklist:(In case of Adding New WEB3 project only)

[ ] I have made my Commits(of new project) under the  Projects folder
[ ] I have created a helpful and easy to understand README.md
[ ] i have added the image of my project under asstes/img folder

Additional context (Mandatory )
Are you contributing under any Open-source programme?

[x] I'm a GSSOC'24 extended contributor
[x] I'm a Winter of Blockchain(WOB'24) contributor
[x] I'm a Hactoberfest'24 contributor

hey @apu52 can you please merge my commit or if any further changes needed please let me know!

This PR has been merged by the GSSoC team
here - https://github.com/sanjay-kv/Open-source-Practice/pull/1415
Don't add labels to it now.
You'll get the points in the leaderboard update.

@aslams2020 what should I do now , will i merge this PR & add labels or not??

If you want these changes you can merge it without any labels.
Otherwise close this


DBZ-7224 Use JDK 21 as build/runtime target for Outbox

https://issues.redhat.com/browse/DBZ-7224
Follows on https://github.com/debezium/debezium/pull/5654

Should be fixed in https://github.com/debezium/debezium/pull/5660


FixFix bug and improve auto analyze.

Implement needReAnalyzeTable for ExternalTable. For now, external table will not be reanalyzed in 10 days.
For HiveMetastoreCache.loadPartitions, handle the empty iterator case to avoid Index out of boundary exception.
Wrap handle show analyze loop with try catch, so that when one table failed (for example, catalog dropped so the table couldn't be found anymore), we can still show the other tables.
For now, only OlapTable and Hive HMSExternalTable support sample analyze, throw exception for other types of table.
In StatisticsCollector, call constructJob after createTableLevelTaskForExternalTable to avoid NPE.

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

run buildall


Replay Release v1.9.8 on knowledge-agents-edc

Is your support request related to a problem? Please describe.
https://github.com/eclipse-tractusx/knowledge-agents-edc/issues/46 has been in principle solved by https://github.com/eclipse-tractusx/knowledge-agents-edc/pull/48
Unfortunately, the relevant release workflows fixing the binary artifacts only start on "tagging" not "merging". In addition, the
target maven repo cannot be published to until the old packages have been swiped.
Describe the solution you'd like
Please delete the following packages
https://github.com/eclipse-tractusx/knowledge-agents-edc/packages/1926622
https://github.com/eclipse-tractusx/knowledge-agents-edc/packages/1926623
https://github.com/eclipse-tractusx/knowledge-agents-edc/packages/1928959
https://github.com/eclipse-tractusx/knowledge-agents-edc/packages/1928958
https://github.com/eclipse-tractusx/knowledge-agents-edc/packages/1928960
https://github.com/eclipse-tractusx/knowledge-agents-edc/packages/1928961
Please then

move the release v1.9.8 to a new (temporary) tag not starting with "v", like "temp" and pointing to branch https://github.com/eclipse-tractusx/knowledge-agents-edc/tree/release/1.9.8
delete the actual v1.9.8 tag (not the release)
move the release v1.9.8 back to the "new" tag v1.9.8 pointing to branch https://github.com/eclipse-tractusx/knowledge-agents-edc/tree/release/1.9.8
delete the temporary "temp" tag

Additional context
After v1.9.8 tag has been reinstalled, the publish workflows (especially: dockerhub) should start.
An alternative to the above retagging approach could be to use a git client to enforce the reset of the tag to c84ebe450f0e2df9950251125ed30b798f4e9dfc

FIrst of all, we're not able to remove released packaged in eclipse-tractusx GH org, due to limitations of the Eclipse Foundation.
Just to get it right, are the mentioned packages part of the release 1.9.8, which is part of the recent Eclipse TractusX stable 3.2/23.09?
In my understanding, if defective packages has been released/published, fix the issue(s) and publish a new versions of these packages and add a note to the CHANGELOG to not use the previous ones. Or are there any other reasons why you want these packages to be deleted?

Carsten, thanks much for caring.

FIrst of all, we're not able to remove released packaged in eclipse-tractusx GH org, due to limitations of the Eclipse Foundation.

alright, I did not know that.

Just to get it right, are the mentioned packages part of the release 1.9.8, which is part of the recent Eclipse TractusX stable 3.2/23.09?

yes.

In my understanding, if defective packages has been released/published, fix the issue(s) and publish a new versions of these packages and add a note to the CHANGELOG to not use the previous ones. Or are there any other reasons why you want these packages to be deleted?

fortunately it's not that bad. The packages themselves are completely fine, they only did not find their way into the docker images (due to a lacking build-arg and an "empty" COPY which went through without error).
So in the end it's the problem of our current build.yaml workflow that it wants to publish both maven and docker artifacts in one run (and skips the latter if the first runs into permission denied's).
So I'll try to improve the workflow instead such that it can be manually dispatched for that purpose.
CGJ


1.19.2 Spigot

1.19.2 Spigot, I can't get it to work. It may or may not be a bug, but I believe I got uploaded it to the server correctly due to the gringotts towny working.

You'll need to include Vault :)

You'll need to include Vault :)

ty

@nikosgram  I'm running into an issue where when I deposit money with towny it takes my gold but doesnt go through
https://user-images.githubusercontent.com/108838947/196091330-365c7161-4a68-4d69-b08e-bc4bba75e303.mp4


Created JSON-RPC API Specification

The document is not finalized, but it is at a point where it can start getting some feedback.

Closed in favor of a better formatted version that is more finalized than this one.
It does need some more work though so I will make the PR tomorrow.


Archive code / scripts for coverages that are no longer used / existing

Minor thing but some parts of this repo could benefit from cleaning out some old junk. Could be a good idea to save things in an archive folder so they can be referenced, as some of these data could potentially be of interest again. But could also be good to just remove entirely. Also consider renaming/restructure, particularly with "IEM" named things.

I think the old relative veg change coverage can now be removed or archived
https://github.com/ua-snap/rasdaman-ingest/tree/main/iem/alfresco/relative_vegetation_change


[FEATURE] {{version_tag}} hook template alias

As discussed, currently the tag_prefix config and the {{version}} alias don't play together nicely, especially in scenarios like bumping the Cargo.toml version (strictly semver) and then pushing a version tag to a git remote - a user has to manually do e.g. git push origin v{{version}}, which is inconvenient and prone to errors.
My proposal: add a new {{version_tag}} alias that provides a ready-to-push git tag, e.g. if tag_prefix = "v" and bumped version is "0.2.0", then version_tag would be "v0.2.0".
To discuss:

Should it also support components like version does, i.e. +minor, -SNAPSHOT?
Should we also add an analogous {{latest_tag}} alias?

Should it also support components like version does, i.e. +minor, -SNAPSHOT?

Since we will probably be wrapping the existing implementation to get that done, supporting the version DSL will be super easy to implement, I see no reason not to do it.

Should we also add an analogous {{latest_tag}} alias?

Same here, we should definitely add this.


Feat:Add AI Chatbot

Describe the feature
I want to add an AI chatbot as well
Add ScreenShots
No Ai chatbot available for the website I can add it
Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

@NK-Works , We don't need this feature right now, but thanks for the suggestion


An error occurring during compilation

Scanning dependencies of target icp_customized
[ 81%] Linking CXX executable list_modules
[ 81%] Building CXX object examples/CMakeFiles/icp_customized.dir/icp_customized.cpp.o
[ 82%] Linking CXX executable icp_customized
collect2: error: ld returned 1 exit status
make[2]: *** [examples/CMakeFiles/list_modules.dir/build.make:94: examples/list_modules] Error 1
make[1]: *** [CMakeFiles/Makefile2:469: examples/CMakeFiles/list_modules.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
collect2: error: ld returned 1 exit status
make[2]: *** [examples/CMakeFiles/icp_customized.dir/build.make:94: examples/icp_customized] Error 1
make[1]: *** [CMakeFiles/Makefile2:496: examples/CMakeFiles/icp_customized.dir/all] Error 2
make: *** [Makefile:141: all] Error 2
Above is the error message, thank you very much for anyone can help me solve the problem.

@aguenette Thank you very much for your in-time reply, I am sorry that I did not record the log. Also I was told that libpointermatcher is not a necessary dependency in my case, so I did not do further attemption. Thank you again for your efforts, and I will close this issue.
Best regards,


updated nodejs version to 5.x

Nodejs version 0.12 will be depreciated soon , so i added new and latest nodejs version

Thanks for contributing :-)


HDDS-4983. Display key offset for each block in command key info

What changes were proposed in this pull request?
add keyOffset in the key info result
What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-4983
How was this patch tested?
example:sh key info /vol1/bucket1/key1
{
"volumeName" : "vol1",
"bucketName" : "bucket1",
"name" : "key1",
"dataSize" : 16,
"creationTime" : "2021-03-12T11:23:22.125Z",
"modificationTime" : "2021-03-16T08:28:08.901Z",
"replicationType" : "RATIS",
"replicationFactor" : 3,
"ozoneKeyLocations" : [ {
"containerID" : 5,
"localID" :<PHONE_NUMBER>15771904,
"length" : 16,
"offset" : 0,
"keyOffset" : 16
} ],
"metadata" : { },
"fileEncryptionInfo" : null
}

For the records: jira issue has a conversation about improving the initial implementation:

For the records: jira issue has a conversation about improving the initial implementation:

yes,I will improve it.

Thanks the patch @cchenax
Overall it looks good to me, I checked the class and it's used only on the client side, safe to modify.
I have one question about simplifying the loop.

ok,this way is good,thank you very much.


Rendering of some scenes stutters strangely

This scene renders with a strange stutter when you walk up to it
https://play.decentraland.org/?position=-16%2C-5
It seems to render well if you load into it directly
But if you walk up to it from far away, like from 0,0  you will see this strange effect, where it seems that it attempts to render it and fails many times. It eventually does succeed after what look like many failed attempts
This also happens in the las vegas casinos
Serinity casino.  -55,143
Chateau Satoshi's -75,73

Dupe of #785


added git_readme

Please review!

Add Table Of Content , refer this readme
Also add the content for git commands for commit ,pull & push

Okay!

Okay!

Thanks @Spnetic-5 for your contribution!
Can you please add some info about working area, staging area and upstream repository before explaining/introducing "commits" to the reader.

@meshtag on it!

@Spnetic-5 could you add pull vs fetch (a line at least).
A general suggestion to keep filenames/folder lower-case names.

Yes @SAtacker, @kkothari2001 is working on another readme called git_commands.md, pull vs fetch along will all other git commands will be covered there.

Kindly review task.md and give suggestions.

2.git_workflow.md

No image is visible, correct it

4.task.md

Do not add process to do it, just add the task to do  , and provide reference to markdown file where they can see how to do it.

Change names of files to this format “2_git_workflow.md”, same goes for all other files

@gautam-dev-maker, @amanchhaparia, @meshtag

@SAtacker the word "DEMO", was put just to show that there will be a demo when I explain. Concepts in git reset are difficult to explain in pictures only.


Emulators.build() crashed integration test

I have tried to modify the demo app to use the integration_test framework instead of the deprecated flutter_driver. The problem is that calling Emulators.build() directly crashed the test, so there is no way of making screenshots. Any ideas how to solve it?
package:test_core/src/runner/plugin/platform_helpers.dart 115:19  deserializeSuite.
dart:async/zone.dart 1383:47                                      _rootRun
dart:async/zone.dart 1293:19                                      _CustomZone.run
dart:async/zone.dart 1201:7                                       _CustomZone.runGuarded
dart:async/stream_impl.dart 392:13                                _BufferingStreamSubscription._sendDone.sendDone
dart:async/stream_impl.dart 402:7                                 _BufferingStreamSubscription._sendDone
dart:async/stream_impl.dart 291:7                                 _BufferingStreamSubscription._close
dart:async/stream_controller.dart 782:19                          _SyncStreamControllerDispatch._sendDone
dart:async/stream_controller.dart 637:7                           _StreamController._closeUnchecked
dart:async/stream_controller.dart 630:5                           _StreamController.close
package:stream_channel/src/guarantee_channel.dart 55:31           new GuaranteeChannel..
dart:async/zone.dart 1383:47                                      _rootRun
dart:async/zone.dart 1293:19                                      _CustomZone.run
dart:async/zone.dart 1201:7                                       _CustomZone.runGuarded
dart:async/stream_impl.dart 392:13                                _BufferingStreamSubscription._sendDone.sendDone
dart:async/stream_impl.dart 402:7                                 _BufferingStreamSubscription._sendDone
dart:async/stream_impl.dart 291:7                                 _BufferingStreamSubscription._close
dart:async/stream_controller.dart 782:19                          _SyncStreamControllerDispatch._sendDone
dart:async/stream_controller.dart 637:7                           _StreamController._closeUnchecked
dart:async/stream_controller.dart 630:5                           _StreamController.close
dart:async/stream_controller.dart 874:29                          _StreamSinkWrapper.close
package:stream_channel/src/guarantee_channel.dart 188:38          _GuaranteeSink.close
package:stream_channel/src/multi_channel.dart 241:29              _MultiChannel._closeInnerChannel
dart:async/zone.dart 1383:47                                      _rootRun
dart:async/zone.dart 1293:19                                      _CustomZone.run
dart:async/zone.dart 1201:7                                       _CustomZone.runGuarded
dart:async/stream_impl.dart 392:13                                _BufferingStreamSubscription._sendDone.sendDone
dart:async/stream_impl.dart 402:7                                 _BufferingStreamSubscription._sendDone
dart:async/stream_impl.dart 291:7                                 _BufferingStreamSubscription._close
dart:async/stream_controller.dart 782:19                          _SyncStreamControllerDispatch._sendDone
dart:async/stream_controller.dart 637:7                           _StreamController._closeUnchecked
dart:async/stream_controller.dart 630:5                           _StreamController.close
package:stream_channel/src/guarantee_channel.dart 55:31           new GuaranteeChannel..
dart:async/zone.dart 1383:47                                      _rootRun
dart:async/zone.dart 1293:19                                      _CustomZone.run
dart:async/zone.dart 1201:7                                       _CustomZone.runGuarded
dart:async/stream_impl.dart 392:13                                _BufferingStreamSubscription._sendDone.sendDone
dart:async/stream_impl.dart 402:7                                 _BufferingStreamSubscription._sendDone
dart:async/stream_impl.dart 534:14                                _DelayedDone.perform
dart:async/stream_impl.dart 620:11                                _PendingEvents.handleNext
dart:async/stream_impl.dart 591:7                                 _PendingEvents.schedule.
dart:async/zone.dart 1383:47                                      _rootRun
dart:async/zone.dart 1293:19                                      _CustomZone.run
dart:async/zone.dart 1201:7                                       _CustomZone.runGuarded
dart:async/zone.dart 1241:23                                      _CustomZone.bindCallbackGuarded.
dart:async/zone.dart 1391:13                                      _rootRun
dart:async/zone.dart 1293:19                                      _CustomZone.run
dart:async/zone.dart 1201:7                                       _CustomZone.runGuarded
dart:async/zone.dart 1241:23                                      _CustomZone.bindCallbackGuarded.
dart:async/schedule_microtask.dart 40:21                          _microtaskLoop
dart:async/schedule_microtask.dart 49:5                           _startMicrotaskLoop
dart:isolate-patch/isolate_patch.dart 122:13                      _runPendingImmediateCallback
dart:isolate-patch/isolate_patch.dart 193:5                       _RawReceivePortImpl._handleMessage
Failed to load ".../flutter-emulators-screenshots-demo-main/integration_test/main_test.dart": Connection closed before test suite loaded.

Maybe this issue is not so important, since there seems to be a lot of issues around making screenshots with the integration_test package: https://github.com/flutter/flutter/issues/92381

Unfortunately I'm not aware of a way to use integration_test for screenshots, as there is no way to communicate with the host.

I am getting it now. I thought I could write everything in one file with the integration_test like it is in the documentation of the framework. But the problem with that is that the code then runs on the device where it has no access to command line tools and that is the reason why I cannot just call Emulators.build().
I would need to split the code into driver and target, but then there is no way to communicate between driver and target. One could use the integrationDriver function from integration_test_extended that has a screenshot callback, instead of the approach from your demo app, but there is no point in it, since it uses flutter_driver anyways to do the communication and there are even some bugs in it https://github.com/flutter/flutter/issues/92381
I'll now use your demo app as a starting point, thanks for the great work @tim-smart


Fix operator '=' giving wrong result for strings containing binary data

The code used strcmp to compare strings but if the binary data contains a zero then strcmp will have wrong logic.
For example, the program below will wrongly display that c1 and c2 are equal in most cases although they are different:
load "openssllib.ring"

failures = 0

for i = 1 to 256 {
	c1 = randbytes(256)
	c2 = c1 + randbytes(256)

	if c1 = c2 {
		failures++
	}
}

if failures != 0 {
	? "Error: " + failures + " Tests Failed!!"
else
	? "Test OK"
}

A typical output is:
Error: 158 Tests Failed!!
This change makes the code use memcpy preceded by a check on the string size

Thanks for the update
Keep up the GREAT WORK

Thanks for the update
Keep up the GREAT WORK


Do PHP Grav collections work?

I've tried using this a few times, and I can't ever seem to get it to return anything. Trying to use it in a plugin. Here's my top part:
use Grav\Common\Plugin;
use Grav\Common\Grav;
use Grav\Common\Page\Page;
use Grav\Common\Page\Collection;

And here's the test collection I'm using to try and get it working:
$collection = new Collection();
$collection->published();

$titles = [];

foreach ($collection as $page) {
  $titles[] = $page->title();
}
echo count($titles);

Returns 0 no matter what I've tried. Since this code is based on what's written over here, I've only experimeneted with adjusting the params to try and trigger a result of some kind. I don't want to jump to conclusions and say it's broken, but I'm not sure what else to try.

The first example in the docs is incorrect.
$collection = new Collection();

This simply creates a new 'empty' collection.  This should be: $collection = new Collection($pages); where $pages is an array of pages.
The other 2 examples where a collection is set by evaluating what is effectively a query, are correct.
BTW, thanks for pointing this out.  I've fixed the docs.

Thanks for the answer. Now, I'm wondering where the array of pages is supposed to come from. I kind of thought that was what the collection would do. You've probably already documented it somewhere and I just missed it somehow.

 Sorry to bother you with that.

@rhukster I'm wondering if the docs need reviewing again, as I'm having no luck creating a collection using the examples there and some variations. $pages probably works fine, but if I had that array handy, I wouldn't need to create my collection.
When I dump $collection->toExtendedArray(), it's always empty.
I'm basically looking to end up with a collection of descendants of a path<EMAIL_ADDRESS>=> $start]). This is being called within Admin.

Typical! Posted this then thought I'd try a last resort web search. Don't normally try that because there's so little of value outside of the official sources.
So on Stack Overflow I see someone doing something almost identical and a solution that works:
    $grav = Grav::instance();
    $grav['admin']->enablePages();
    $pages = $grav['pages'];

    $collection = $pages->getCollection(['items' =><EMAIL_ADDRESS>=> '/videos']]);

Possibly both my problem and this solution are Admin-specific.


theme_url - where I can find details how its obtained?

Hi, I am starting using Pico, but have problem with css files and links - they have port on the end. Example:
https://mydomain.com:80/themes/default/css/style.css
As i found links for these styles in default theme are created by variable theme_url.
{{ theme_url }} - The URL to the currently active theme
Could you guide me where to looking for issue? It's a fault of reverse proxy, because these variable is taken from headers or something different?

@dawidmachon Did you ever get a chance to try this?  Pretty sure the http:// was all you needed.
Since you've also got #610 open for general help, we can close this Issue if you're done with it.
If I don't hear back from you, I'm just gonna let the github-actions bot close this Issue next time it tries.
We can keep chatting over on #610 if you need any more help though. 😁

Of course! Closed. I am still investigating this stuff, but your solution solving it for sure!

If you set base_url: mydomain.com in your config.yml, it should fix the issue for you.
It's not the best solution, since all you're doing is hardcoding the url, but it should get rid of the port number for you.
(@PhrozenByte, whenever you get back, I'd love to know if you have a better solution for this or if you'd consider my workaround the "proper" fix.)

Sorry for the late response. That's due to a discrepancy regarding the use of HTTPS: The webserver / PHP tells Pico that HTTPS is enabled, but communication goes through port 80 (i.e. the HTTP port). Since port 80 is a non-default port for HTTPS it is appended to the guessed base URL. The correct solution is indeed to configure base_url manually.

That's due to a discrepancy regarding the use of HTTPS

Ah, yeah, that makes since in a reverse proxy setting then. 👍🏻
I'll make a note of that in the Docs rewrite. 😉
I didn't have config.yml broken out into explanation, since it's documented well inline.  Maybe there's room for a section on it though.  Just for quirks like this. 🤔
(The use case being the quirk I mean, not Pico's behavior. 😉)


End to end tests that depend on hijacking should wait for production search slot

When running search service functional tests, the step that waits for a package to be available in the search service polls the staging search service. This is not correct for tests that hit hijacked gallery endpoints, such as the V2 autocomplete endpoint or nuget.exe operations against the V2 source since the gallery is actually calling the production slot of the search service.
This leads to flaky tests. For example, V2PackageVersionsAutocompleteResultsMatchV3Results failed for me but seconds later when I tried the test URL...
https://dev.nugettest.org//api/v2/package-versions/E2E.SemVer1Stable.180206.020441.5921836?includePrerelease=True
... the package was available.
Two solutions I can think of:

Make the tests always wait for the package to be available in the production slot of search service. When testing the staging slot of the search service, poll that one as well.
Provide a hook in the gallery to force the hijack to go to the staging slot.

The first one is easier and simpler but the second one actually tests the end-to-end better. I have no strong opinion but favor the first since it's quicker.

/cc @ryuyu this is a test issue that may block us for the new deployment system.


Dev num filter closed interval

When I use num filter with open interval, for example (1,49]
query := redisearch.NewQuery("*").AddFilter(
    redisearch.Filter{
        Field: "uid",
        Options: redisearch.NumericFilterOptions{
            Min:          1,
            ExclusiveMin: true,
            Max:          49,
            ExclusiveMax: false,
        },
    },
)

But I meet this error

total: 0, err:Unknown argument 49 at position 5 for

Then I debugged it，So I find the final command sent to redis server is
*8
$9
FT.SEARCH
$4
tags
$1
*
$6
FILTER
$3
uid
$1
(
$1
1
$2
49

So I think the error is here
$1
(
$1
1

This means that ( 1
So I typed in the command line

ft.search tags * filter uid ( 1 49

I meet the same problem

Unknown argument 49 at position 5 for

But if I take ( and 1 togather

ft.search tags * filter uid (1 49

Oh,It's ok.

@gkorland


Feature request: Use skill on turn when Noble Phantasm spam is up

Preparation

[X] No one has asked for this feature before in other issues (even the closed ones)

Describe the feature
Sabers are, at least until Koyanskaya, basically unloopable. On NA, both the current Christmas lottery and next year's have the best ticket node be against Lancers, with one asshole enemy on each wave having twice as much health as the mobs to discourage throwing Kaleidoscopes at them until they die.
There is a workaround, if you're farming manually; both Mordred and Altria have 20% self-charge on NP, so if they naturally finish wave 1 at 100% without any skills, their own buster buffs are enough to one-turn wave 2, and then external buster buffs plus a source of 50% charge can wipe wave 3 in one or two turns. However, if I naively try to automate this, there's a chance that facecarding wave 1 won't fully fill up the gauge, which means that on wave 2 a mana burst might get thrown away on a turn where no NPs are happening. This implies a natural use case for the NP Spam setting, and thus my feature request:
Can you make a setting that automatically triggers a skill, not when cooldown is expired or on a set number of turns, but on the turn where a spam-mode NP is available?

Spam mode NP currently does not check for NP cards, afaik. It only clicks on the locations every time.

Spam mode NP currently does not check for NP cards, afaik. It only clicks on the locations every time.

Would it be possible to use the delay between when the cards first appear and when they are selected to attempt to determine if an NP is available by comparing screenshot regions, kick back out of the attack selection screen and pop the skill? Or would this be fooled by some backgrounds too much?


[FEATURE REQUEST] Use File based service discovery instead of DNS based for flexibility

Current Situation
Currently DFSL + DFM use the DNS based service discovery. AFAIK DFSL just checks changes in services in the docker API and sends each change to DFM.
This approach is simple and effective but comes with some limitations:

We don't have any way to add the node information where each task is running, as Docker is not providing this info ATM.
We cannot add arbitrary labels to each service/task for more granular info
Each time an exporter is restarted the id, that is based in the task IP changes, then we lose continuity in the metrics.

As you may see relabelling does not offer any value useful for identifying where the request is coming from:

Proposal
Prometheus allows to use other discovery systems, while Swarm is not integrated (I've not seen any improvement in this area in a year) we could make usage of Docker API calls + File based discovery service for getting more info for improving the collected metrics.
Example
~ $ curl -s -g -H "Content-Type: application/json" --unix-socket /var/run/docker.sock "http:/v1.24/tasks?filters={\"desired-state\":[\"running\"],\"service\":[\"monitoring_cadvisor\"]}" | jq '[.[] | {NodeID: .NodeID, Labels: .Spec.Conta
inerSpec.Labels, Addresses: .NetworksAttachments[0].Addresses[0] }]'
[
  {
    "NodeID": "zixucyzgugv4fmcf0funaqele",
    "Labels": {
      "com.docker.stack.namespace": "monitoring",
      "com.df.environment": "prod",
      "com.df.xxxx.scrapeTasks": "true"
    },
    "Addresses": "<IP_ADDRESS>/24"
  },
  {
    "NodeID": "qz9u95jos3fibvewxxbj9y5i8",
    "Labels": {
      "com.docker.stack.namespace": "monitoring",
      "com.df.environment": "prod",
      "com.df.xxxx.scrapeTasks": "true"
    },
    "Addresses": "<IP_ADDRESS>/24"
  },
  {
    "NodeID": "l0n731v8859ejdnnubqvjyuwd",
    "Labels": {
      "com.docker.stack.namespace": "monitoring",
      "com.df.environment": "prod",
      "com.df.xxxx.scrapeTasks": "true"
    },
    "Addresses": "<IP_ADDRESS>/24"
  }
]
$ curl -s --unix-socket /var/run/docker.sock http:/v1.31/nodes/zixucyzgugv4fmcf0funaqele | jq '.Description.Hostname'
"node-1"

These queries finally allow to generate an structure like this for Prometheus:
[
  {
    "targets": [ "<IP_ADDRESS>:8080" ],
    "labels": {
      "env": "prod",
      "job": "cadvisor",
      "node": "node-1"
    }
  },
  {
    "targets": [ "<IP_ADDRESS>:8080" ],
    "labels": {
      "env": "prod",
      "job": "cadvisor",
      "node": "node-2"
    }
  },
  {
    "targets": [ "<IP_ADDRESS>:8080" ],
    "labels": {
      "env": "prod",
      "job": "cadvisor",
      "node": "node-3"
    }
  },
  {
    "targets": [ "<IP_ADDRESS>:9100" ],
    "labels": {
      "env": "prod",
      "job": "node-exporter",
      "node": "node-1"
    }
  },
  {
    "targets": [ "<IP_ADDRESS>:9100" ],
    "labels": {
      "env": "prod",
      "job": "node-exporter",
      "node": "node-2"
    }
  }
]

Which could be stored in a dynamic file that should change every time something in the exporters change. This file can be used with a reference in the prometheus.yml file:
- job_name: 'dummy'  # This is a default value, it is mandatory.
  file_sd_configs:
    - files:
      - /etc/prometheus/prometheus.sd.json

And doing some relabelling to use the node entry as target in Prometheus.

That can be done. I can start working on this feature next week (after DockerCon).

One possible way to implement this feature:

Add node hostname and service ip discovery to DFSL here: https://github.com/vfarcic/docker-flow-swarm-listener/blob/master/service/util.go#L36 by using the docker go SDK: (https://godoc.org/github.com/moby/moby/client#Client.TaskInspectWithRaw and https://godoc.org/github.com/moby/moby/client#Client.NodeList). This would add the IPs and the corresponding nodes to the DFSL notification.
Configuration option for DFM decide which labels to include in file_sd_configs.

This way, DFM does not need access to the docker socket. If this looks good, I can work on this!

@thomasjpfan Is the idea for DFSL to send IPs to DFM? If that's the case, DFSL would need to re-send that info periodically since nodes/replicas might change with time.

@vfarcic Looking at https://github.com/vfarcic/docker-flow-swarm-listener/blob/master/service/service.go#L131, DFSL checks for label and replica changes before sending out notifications. Maybe we can add the (IP, node-hostname) information into the cache and check if that changes as well?

That's a very good idea @thomasjpfan. I'd just make sure that using IP and hostname info to determine whether to send notifications is optional and disabled by default since most services will not benefit from that. What do you think?

That looks good. I will work on a PR for DFSL.

Consider this configuration snippet:
...
services:
  cadvisor:
    image: google/cadvisor
    networks:
      - monitor
      - flow
    deploy:
      mode: global
      labels:
        - com.df.scrapeNetwork=monitor
        - com.df.scrapePort=8080

  swarm-listener:
    image: vfarcic/docker-flow-swarm-listener
    networks:
      - monitor
    environment:
      - DF_INCLUDE_NODE_IP_INFO=true

  monitor:
    image: vfarcic/docker-flow-monitor
    networks:
      - monitor
...

I want to add a com.df.scrapeNetwork label to the exporter. This way the swarm-listener knows which network to use when querying the IP of the exporter. In the example above, com.df.scrapeNetwork=monitor, thus DFSL will use the monitor network to gather node and ip info. What do you think?

@thomasjpfan I think you need the name of the service (not the network) and retrieve the IPs with something like net.LookupHost.

In my example above, since cadvisor is on two networks, it will have two IPs associated with each network. If swarm-listener and monitor were connected to the flow network, the cadvisor IP associated with the flow network must be passed on to the monitor service.
Since DFSL has access to the docker socket, TaskList already returns all the IPs needed. The return swarm.Task objects has a NetworksAttachments field containing a list of IPs for each network the service is connected to. With a label com.df.scrapeNetwork=monitor on the service, DFSL would know to extract the IP associated with the monitor network.
In the end, swarm-listener would pass a list: [["node-1", "<IP_ADDRESS>"], ["node-2", "<IP_ADDRESS>"]] to monitor.

You're right @thomasjpfan . I missed the case of two networks :)


Inconsistent results on different directory

Nothing:
[eoliveira@NS uniplaces]$ bin/phpmd src/ text codesize,unusedcode,design

[eoliveira@NS uniplaces]$ bin/phpmd src/Uniplaces/UniversityBundle/ text codesize,unusedcode,design

Now it appears:
[eoliveira@NS uniplaces]$ bin/phpmd src/Uniplaces/UniversityBundle/Tests/ text codesize,unusedcode,design

/var/www/uniplaces/src/Uniplaces/UniversityBundle/Tests/Unit/Domain/DomainUniversityTestCase.php:20 The class DomainUniversityTestCase has a coupling between objects value of 13. Consider to reduce the number of dependencies under 13.

We have not enough details here, and it's more likely obsolete now. So I close.


Buildpack versions are not populated in app image metadata

Repro steps:

pack build testapp -p acceptance/testdata/node_app
docker inspect testapp

Notice that the buildpack version is empty in the io.buildpacks.lifecycle.metadata:
\"buildpacks\":[{\"key\":\"io.buildpacks.samples.nodejs\",\"version\":\"\", ...

Fixed in PR #86


Insert list of objects

MyBatis version
3.x.x
Database vendor and version
postgres version 14
Test case or example project
https://github.com/vijayVijeyender/SuperMarketBackEnd/tree/mybaits
Steps to reproduce

Expected result
Insert multiple rows
Actual result
org.postgresql.util.PSQLException: ERROR: column "stockid" of relation "stock" does not exist

found the issue , with the query need to bring string inside double quatation


DAPPS - Loading

Need to improve DAPP loading screen - for now just add distracting animation.

This will be opened again by abramov.


Fix errors + linting

This module is set up to use standard, but doesn't conform to it.
There were also a bunch of licenses with actual errors (referred to parameters that did not exist).
Fixed those.

@rexxars thanks. I merged in #9  a while back, but haven't gotten around to fixing the errors/linting :sweat_smile:


Query: correlated collection optimization doesn't get applied for subqueries with AsQueryable

Currently we only apply correlated collection optimization of the subquery doesn't have any result operators. We should allow AsQueryable, for cases like this:
var query = ctx.LevelOne.Select(l1 => new
{
    l1.Id,
    Collection = l1.OneToMany_Optional.AsQueryable().Include(l2 => l2.OneToOne_Required_FK).ToList()
});

i.e. to apply include on a collection when the source qsre is not projected directly (https://github.com/aspnet/EntityFrameworkCore/issues/12181 has more details)

need to decide how we approach Include for those complex scenarios.

@smitpatel to link to Include issue.

Based on include path interpretation we can determine if we need this kind of pattern supported. https://github.com/aspnet/EntityFrameworkCore/issues/12737

Moving this to 3.0 to consider as part of the overall 3.0 query plan: #12795

@maumar - Given that nav rewrite converts methods to queryable, does it swallow away AsQueryable? If not, should it do it? Is this issue relevant anymore?


Flutter package stuck on v.0.257.0

Package

[ ] lucide
[ ] lucide-angular
[X] lucide-flutter
[ ] lucide-preact
[ ] lucide-react
[ ] lucide-react-native
[ ] lucide-solid
[ ] lucide-svelte
[ ] lucide-vue
[ ] lucide-vue-next
[ ] Figma plugin
[ ] all JS packages
[ ] site

Description
Is there a timeline when Flutter will be updated to at least 0.290.
Use cases
Missing icons, id like to use in my project
Checklist

[X] I have searched the existing issues to make sure this bug has not already been reported.

Hi @shayant98,
The development of the flutter package is discontinued see or achieved repo: https://github.com/lucide-icons/lucide-flutter

⚠ This package is not in active development anymore. Please use iconify_flutter instead.

It seems like neither the package linked there is being maintained. Could someone please point to another solution?


Fix record button height

On some devices the record button was very distorted, I've made the font smaller and the buttons wider.
Will of course merge it only after merging #30 and #31, I need to make those slight design changes as I'm taking UI screenshots for the report
FYI, this is how it used to look on my end:

Oh I see. Thank you so much.

I don't have enough time to do media queries properly, if you guys want to implement it - please do :)
This is the last day I am able to work on the project... so please approve my merges and then feel free to take the wheel to any direction you'd like ;)
I'll check in tomorrow to see if everything is approved, otherwise - please take care of that on your end as I won't be available on the 12th (I'll be on a very long flight)


example: std net fail on Ubuntu 22.10

I follow embassy-net/README.md instructions and got fail on Ubuntu 22.10
$ ip addr show
...
13: tap0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN group default qlen 1000
    link/ether c6:95:7b:04:4a:5c brd ff:ff:ff:ff:ff:ff
    inet <IP_ADDRESS>/24 scope global tap0
       valid_lft forever preferred_lft forever
    inet6 fdaa::100/64 scope global tentative
       valid_lft forever preferred_lft forever
    inet6 fe80::100/64 scope link tentative
       valid_lft forever preferred_lft forever

$ cargo run --bin net
    Finished dev [unoptimized + debuginfo] target(s) in 0.12s
     Running `target/debug/net`
[2022-12-12T08:51:36.626714025Z INFO  net] connecting to (Address([192, 168, 69, 100]), 8000)...
[2022-12-12T08:51:36.626872456Z INFO  embassy_net::stack] link_up = true
[2022-12-12T08:51:36.626894708Z DEBUG embassy_net::stack] Lost IP configuration
[2022-12-12T08:51:46.627333276Z WARN  net] connect error: ConnectionReset
^C

It connects to TCP port 8000, you need to have something listening there. For example nc -l 8000

Fixed in #1111
Thanks!


Update to Leaflet 1.0.3

Update to Leaflet 1.0.3
Add ability to move control to top, bottom, left and right.
Update CSS to match Leaflet built in controls.

Thanks, nice work bringing this up to speed!


Setting today as the min date and current time as min time in datepicker and time picker

I am trying to set today as the min date and current time as min time in datepicker and time picker but am not able to do so..
Please look into it..!!

Please follow examples - Set Current Date as Minimum Date and Set Current Time as Minimum Time.
If you can not do so specify which date format you are using so I can give you a code or check if there is any issue with a particular date format you are using.

For DateOicker it is working well and I managed the date format as well.
But for time picker The current Time is 5:03 PM.
I want the time picker to show minimum time as current time and maximum time as 11:59 PM if todays date is selected by the date picker just above the time picker.
But if the upcomming dates are selected i dont want any restriction on time picker.
And also for the time picker It considers the the minimum time as the current time when I reload the page. i.e If I reload the web page on 5:05 PM and using the time picker at 5:07 PM, timepicker doesn't restrict if the I entered the time as 5:06 PM.
Can you please look after this..!!
And thanks for the help..!! _/_


2347: Admin/Runtime: Rate limiting (per operation, per auth/ip)

Closes #2347

Do you think we should we apply the limits at service-level instead of method-level (maybe with a few exceptions)? My thinking is that it might better protect us from (intentional or unintentional) DoS attacks

We can switch to service-level if a method-level limit exceeded so that no multiple methods are utilized during DoS.

If we merge this, how good do you feel about people not running into these rate limits if they're good citizens?

I've tripled the limits before we implement usage tracking and learn about outliers.


Depthai version update to v3 alpha6

Updates the CI to use v3 alpha6

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

Project coverage is 33.22%. Comparing base (37a2d92) to head (7febd26).
Report is 1 commits behind head on main.

:white_check_mark: All tests successful. No failed tests found.
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #131      +/-   ##
==========================================
- Coverage   33.40%   33.22%   -0.18%
==========================================
  Files          68       68
  Lines        3739     3759      +20
==========================================
  Hits         1249     1249
- Misses       2490     2510      +20

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


proxy console force http2

Problem
HTTP1.1 only supports connection re-use, not multiplexing
Summary of changes
Force HTTP2. (I expect this won't work)
Checklist before requesting a review

[ ] I have performed a self-review of my code.
[ ] If it is a core feature, I have added thorough tests.
[ ] Do we need to implement analytics? if so did you add the relevant metrics to the dashboard?
[ ] If this PR requires public announcement, mark it with /release-notes label and add several sentences in this section.

Checklist before merging

[ ] Do not forget to reformat commit message to not include the above checklist

yeah. doesn't work. control-plane doesn't have HTTP2 enabled


Find market using metadata instead of ID

ref https://github.com/vegaprotocol/liqbot/issues/36#issuecomment-832682547
Rather than specifying MarketID for each bot (which assumes a persistent value), specify enough metadata to identify a market. This makes things work with dockerisedvega and (in the near future) when we ditch hard-coded markets.
e.g.

market.tradableInstrument.instrument.code is BTCUSD.MF21
market.tradableInstrument.instrument.metadata.tags contains base:BTC and quote:USD (and any other tags to narrow down the list)

Done in #70


Use DataTree class from xarray

Everything seems to be working now, and the deepcopy fix has already been released.
We should merge all 3 xarray_datatree PRs soonish

📚 Documentation preview 📚: https://arviz-plots--111.org.readthedocs.build/en/111/

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

Project coverage is 86.00%. Comparing base (d88c5ea) to head (e5714ff).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #111      +/-   ##
==========================================
- Coverage   86.04%   86.00%   -0.05%
==========================================
  Files          24       24
  Lines        2845     2843       -2
==========================================
- Hits         2448     2445       -3
- Misses        397      398       +1

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

🚨 Try these New Features:

Flaky Tests Detection - Detect and resolve failed and flaky tests


Support Final Fantasy Ever Crisis?

https://forum.xentax.com/viewtopic.php?p=194637

Found Criware Decrypt key, but I'm not too sure if it's the same key used everywhere.
Key:<PHONE_NUMBER>3822
Key(Hex): 0x000011da4de45ade
Files seem to be contained in AFS2 and ACB/AWB files as I've seen.

Is this possible?

this issue is not related to this tool


Fix Scroll Behaviour

Description
Turns out that on focus, the button was set to display: none and hence, as soon as the user used to click, the button's focus state turned active and it was removed from DOM, therefore, leaving the click operation "hanging".
Other Information

I tested the change in Firefox Developer Edition + Brave Browser.
I have changed the cursor to pointer to increase interactivity.
fixes #617

Smooth behaviour would be better, right?

Smooth behaviour would be better, right?

yes. thanks for the fix 👍

Smooth behaviour would be better, right?

yes. thanks for the fix +1

Smooth it is. Thank you for this project. :)


Symmetry operations (pdbx_struct_oper_list) in mmCIF

It looks like we should use the symmetry operations defined in pdbx_struct_oper_list when reading the structure. Otherwise, we would be missing a subset of atoms in the full structure.
@sguionni said he had a sample file containing this attribute, it would be great if you could share it here!

It looks like most file containing this tag only contain the "identity" transformation, e.g. 4HHB https://github.com/chemfiles/tests-data/blob/0b46e742dedf5cdf6feb3b7376745330b544e26d/cif/4hhb.cif#L6616-L6631
Here is a possible example of file containing this tag with more than one symmetry operation: https://www.rcsb.org/structure/3T6C.
One thing to keep in mind for the implementation is that this tag can be defined inline like in 4HHB, or as a _loop as in 3T6C

Storing symmetry operation separately would be an interesting solution, but will require more work. I would rather fix this by duplicating atoms for now, and introduce an API to work with symmetry in a later release.

Capsid.zip
Here is a file (from Yasara)

I don't think anyone is working on this yet, so if you are interested feel free to have a go at it!


[TOPI][Adreno] Fix problem with ceil_log2

On Adreno devices double type is not supported by OpenCL. Modified ceil_log2 operation to cast value to float instead of double in case of Adreno.

See https://github.com/apache/tvm/pull/14983#issuecomment-1583221170 for the arm build issue.


Creators Roles Don't Show in UI

Package version (if known): v9-v12
Describe the bug
The creator roles don't show up in the UI.
Steps to Reproduce

Create a creator with a role
Look at the landing page. The role does not show up anywhere.

Expected behavior
The roles should be listed. Possibly with numbers like the affiliations.
Screenshots (if applicable)
Additional context

I agree the roles for creators should be listed (this is already the case for contributors), and as you suggest possible like affiliations with numbers (at least the way contributor roles are listed wont' work). Perhaps it could be integrated with the affiliations?


add extra args to git-clone

The command ibek support git-clone should support extra args to pass to git so you can do things like --recursive.
This can be achieved in the same way as ibek ioc compile does it here https://github.com/epics-containers/ibek/blob/55417cf12fe86c2e7c4b8c52a402bb4d214abe98/src/ibek/support_cmds/commands.py#L252-L254
ALSO: review all commands to see other places where extra args may be of use and are not currently implemented.

@marcelldls a good first issue for you to look at when you want to look at ibek.

doh! this function already does this function already supports this:
ibek support git-clone --org https://github.com/epics-containers/ ioc-adsimdetector 2024.3.4b1 --recursive

It passes any extra args to git - but the help fails to mention that - fixing the help


[WIP] Refactor agent to pull services desired state from the master

Depends on #1855

Would it be possible to split the node_info refactoring from the service_pods refactoring? AFAIK they're not strictly tied together.
It would also make it easier to deal with the impending merge conflicts in #1323

Note that the MessagePack server/app/serializers/rpc bits here somewhat overlap with the JSON serializers in #1906. The /service_pods/notify_update mechanism here is also vaugely similar to the more general EventStream implementation in #1906.
They are not exactly equivalent in their current form, but one EventStream style implementation of mongodb pub-sub based real-time updates to models seems more appealing than having a mess of three/four different mechanims to react to state updates across our architecture...

CLI API polling
Cloud EventStream GridService#update RPCs
Agent /node_service_pods/list polling + /service_pods/notify_update notifications
LB Docker API + etcd based state

Needs rebase over  0d28788

Rebased against master.

Rebased

Should the agent Kontena::ServicePods::Creator#ntoify_master -> RPC /containers/event { status: 'deployed', deploy_rev: ...} -> server Rpc::ContainerHandler container.set(:deploy_rev => ...) stuff be removed? Is the container deploy_rev still used for anything?

Server DB migrations need bumping:

19_add_indexes_to_container_log.rb
19_create_grid_service_instance.rb