TemporalFusionTransformerEstimator: Shape mismatch

Description
When working with TFT with MXNet backend and covariates, the .predict() method throws an error because of shape mismatch of input data. I'm aware of the related issues but there is still no clarification about it. Are there other workarounds than make_evaluation_prediction?
To Reproduce

PREDICTION_LENGTH = 6
train = []

for id in ids:
    data_id = data[data["item_id"] == id]
    item = {}

    item["item_id"] = id
    item['target'] =  np.array(data_id['target'].to_numpy())
    item['start'] = data_id['StartDate'].iloc[0]

    for column in feat_dynamic_real:
        item[column] = np.expand_dims(data_id[column].to_numpy(), axis=0)

    for column in past_feat_dynamic_real:
        item[column] = np.expand_dims(data_id[column].to_numpy(), axis=0)

    for column in feat_static_real:
        item[column] = np.expand_dims(data_id[column].to_numpy()[0], axis=0)

    for column in feat_static_cat:
        # print(column)
        item[column] = np.array([data_id[column].iloc[0]])

    for column in feat_dynamic_cat:
        item[column] = np.array(data_id[column])
    train.append(item)
train = ListDataset(train, "M")

trainer = Trainer(
    epochs = 1,
)
estimator = TemporalFusionTransformerEstimator(
    freq = "M",
    context_length=6,
    prediction_length = 6,
    trainer=trainer,
    hidden_dim=128,
    variable_dim=4, # this is the dimension of variable encodings; in the original paper it is always `hidden_dim`
    num_heads=8,
    num_outputs=3,
    # num_instance_per_series=100,
    dropout_rate=0.1,
    dynamic_feature_dims = {
        "dyn_1": 1,
       "dyn_2": 1
    },
    static_feature_dims = {
        "static_1": 1
    },
    dynamic_cardinalities = {
        "dyn_1234": 2
    },
    static_cardinalities={
        "static213": 142
    }, # dimensions of dynamic real features
     past_dynamic_features=["past_dyn"],
)

predictor = estimator.train(train)

test = []

for id in ids:
    data_id = data[data["TimeSeriesId"] == id]
    item = {}

    item["item_id"] = id
    item['target'] =  np.array(data_id['dispatch_quantity'].iloc[:-PREDICTION_LENGTH].to_numpy())
    item['start'] = data_id['MonthStartDate'].iloc[0]

    for column in feat_dynamic_real:
        item[column] = np.expand_dims(data_id[column].to_numpy(), axis=0)

    for column in past_feat_dynamic_real:
        item[column] = np.expand_dims(data_id[column].iloc[:-PREDICTION_LENGTH].to_numpy(), axis=0)

    for column in feat_static_real:
        item[column] = np.expand_dims(data_id[column].to_numpy()[0], axis=0)

    for column in feat_static_cat:
        # print(column)
        item[column] = np.array([data_id[column].iloc[0]])

    for column in feat_dynamic_cat:
        item[column] = np.array(data_id[column])
    test.append(item)
test = ListDataset(test, "M")

predictions = predictor.predict(test)
list(predictions)

Error message or code output
ValueError: all the input array dimensions for the concatenation axis must match exactly, but along dimension 1, the array at index 0 has size 27 and the array at index 2 has size 21```

## Environment
- Operating system: Ubuntu
- Python version: 3.8.15
- GluonTS version: 0.11.1
- MXNet version:

(Add as much information about your environment as possible, e.g. dependencies versions.)

@baniasbaabe the code snippet won't run, it's missing imports.
Please also check the PyTorch version of the model: https://github.com/awslabs/gluonts/blob/dev/src/gluonts/torch/model/tft/estimator.py#L63


autopep8 help link keeps sending me to this repository, I can't get help here

Thank you for reacting your prior statement.


Tutorial: list vs array

It's not clear to me whether "list" and "array" are intended to have different meanings in the tutorial.
I could imagine that "array" would refer to the actual json datatype, while "list" would be a more general sequence of values.  But the description of index expressions and slices use "array" consistently, implying these can only apply to arrays and not lists in general.  That doesn't seem desirable.
This sentence suggests that lists and arrays are equivalent

A list projection is only valid for a JSON array. If the value is not a list, then the result of the expression is null.

This sentence is also confusing if the index operator can only operate on an array, not a list:

What if you wanted the first element in that list?

If "list" and "array" are intended to be different, some explanation of the difference would be helpful.  If they are intended to be the same, I suggest using the JSON term "array" as much as possible.  (And this is coming from a pythonista!)

The spec mixes "list" and "array" seemingly without distinguishing them

An index expression is used to access elements in a list

Given an array of length N, an index of -1 would be equal to a positive index of N - 1, which is the last element of the list


devcrypto RC4 table init issue

In the devcrypto code you have the following cipher definition table where the RC4 is missing a 'mode' value and when requesting the algorithm from /dev/crypto uses an ID of 0 which is an invalid algorithm.
    { NID_aes_128_cbc, 16, 128 / 8, 16, EVP_CIPH_CBC_MODE, CRYPTO_AES_CBC },
    { NID_aes_192_cbc, 16, 192 / 8, 16, EVP_CIPH_CBC_MODE, CRYPTO_AES_CBC },
    { NID_aes_256_cbc, 16, 256 / 8, 16, EVP_CIPH_CBC_MODE, CRYPTO_AES_CBC },
#ifndef OPENSSL_NO_RC4
    { NID_rc4, 1, 16, 0, CRYPTO_ARC4 },
#endif

Hi, would you mind checking if #7281 solves your problem?

yes it does, thanks


Helia Export modules issue

I was trying to use the latest version of web3stash, but running into some errors due to helia package in the web3stash module. I tried upgrading and downgrading my node modules as suggested in this thread but no luck
Here is the screenshot of the issue

@mbcse

The issue is solved here https://github.com/mbcse/web3stash/pull/2#issue-2167254076


ValueError: list.remove(x): x not in list -- Error when using Florence models

Hello, I get this error after an update, when loading any Florence 2 models, like Cog or Base. It used to work perfect but now it gives this error:
FETCH DATA from: C:\Users\GABSU\ComfyUI\custom_nodes\ComfyUI-Manager\extension-node-map.json [DONE]
got prompt
using sdpa for attention
!!! Exception during processing !!! list.remove(x): x not in list
Traceback (most recent call last):
File "C:\Users\GABSU\ComfyUI\execution.py", line 323, in execute
output_data, output_ui, has_subgraph = get_output_data(obj, input_data_all, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb)
File "C:\Users\GABSU\ComfyUI\execution.py", line 198, in get_output_data
return_values = _map_node_over_list(obj, input_data_all, obj.FUNCTION, allow_interrupt=True, execution_block_cb=execution_block_cb, pre_execute_cb=pre_execute_cb)
File "C:\Users\GABSU\ComfyUI\execution.py", line 169, in _map_node_over_list
process_inputs(input_dict, i)
File "C:\Users\GABSU\ComfyUI\execution.py", line 158, in process_inputs
results.append(getattr(obj, func)(**inputs))
File "C:\Users\GABSU\ComfyUI\custom_nodes\Comfyui_CXH_joy_caption\florence_nodes.py", line 92, in loadmodel
model = AutoModelForCausalLM.from_pretrained(model_path, attn_implementation=attention, device_map=device, torch_dtype=dtype,trust_remote_code=True)
File "C:\Users\GABSU\ComfyUI\venv\lib\site-packages\transformers\models\auto\auto_factory.py", line 553, in from_pretrained
model_class = get_class_from_dynamic_module(
File "C:\Users\GABSU\ComfyUI\venv\lib\site-packages\transformers\dynamic_module_utils.py", line 540, in get_class_from_dynamic_module
final_module = get_cached_module_file(
File "C:\Users\GABSU\ComfyUI\venv\lib\site-packages\transformers\dynamic_module_utils.py", line 365, in get_cached_module_file
modules_needed = check_imports(resolved_module_file)
File "C:\Users\GABSU\ComfyUI\venv\lib\site-packages\transformers\dynamic_module_utils.py", line 181, in check_imports
imports = get_imports(filename)
File "C:\Users\GABSU\ComfyUI\custom_nodes\Comfyui_CXH_joy_caption\florence_nodes.py", line 26, in fixed_get_imports
imports.remove("flash_attn")
ValueError: list.remove(x): x not in list

Someone has any ideas how to fix this? Thank you :)

In the File "C:\Users\GABSU\ComfyUI\custom_nodes\Comfyui_CXH_joy_caption\florence_nodes.py", line 26, in fixed_get_imports
imports.remove("flash_attn") change the imports.remove("flash_attn") to if "flash_attn" in imports:         imports.remove("flash_attn")

It should look like that :
ComfyUI\custom_nodes\Comfyui_CXH_joy_caption\florence_nodes.py
def fixed_get_imports(filename: str | os.PathLike) -> list[str]:
    if not str(filename).endswith("modeling_florence2.py"):
        return get_imports(filename)
    imports = get_imports(filename)
    if "flash_attn" in imports:
        imports.remove("flash_attn")
    return imports

That worked for my, thanks at @mirek190


Spaces in References

Looks like the error referenced here:
https://mattermodeling.stackexchange.com/q/5074
indicates that spaces are not permitted in references within TDB files.  The line:
https://github.com/pycalphad/cookbook/blob/9f332a00f8833b120ec1266a991b36b9f1b9e565/PhaseCompositions/mc_fe_v2.059.pycalphad.tdb#L4110C11-L4110C11
Contains four references with spaces.  Do you want a pull request to address this data base issue?

What's "allowed" and what's permitted by the software have always been two different things for TDB, unfortunately, as there's no official specification for it. The TDBs in this repository are probably out of date (pycalphad used to tolerate spaces in TDB references, and then we changed it, for reasons I do not recall). The databases here should work with the latest (0.10.x) pycalphad versions: https://github.com/materialsgenomefoundation/2023-workshop-material/tree/3b8a4ec1fd5c1409de2834359bc91c6f524a90fa/pycalphad/databases
A PR to merge the appropriate databases here would be welcome.

I notice that not every TDB in the cookbook is represented in that link. In any case, pull requests restoring compatibility would be welcome.


More easily create new notebook files

Issue Type: Feature Request
The notebook creation experience is a bit clumsy:

I should be able to create a new notebook from the Notebooks pane (not just the Explorer pane)
I shouldn't have to edit the table of contents file (toc.yml) when creating a new notebook
I should be able to "Make subpage" and "Promote subpage" to a notebook (just like in OneNote)
I should be able to move a notebook around the tree by dragging

Azure Data Studio version: azuredatastudio 1.24.0 (eb3c0f5d9df86b9490606aab7fffaa253b0aca4d, 2020-11-10T23:38:09.705Z)
OS version: Windows_NT x64 10.0.19042

Hi @coquagli, @barbaravaldez is working on new features to make it easier when doing various edits for books. Definitely on our radar.

Renaming a notebook file would also be nice. :)


the inference speed is fast initially but slows down over time on our devices

Have I written custom code (as opposed to using a stock example script provided in MediaPipe)
Yes
OS Platform and Distribution
android
MediaPipe version
0.10.0
Bazel version
No response
Solution
facemesh
Programming Language and version
C++
Describe the actual behavior
Hi,

We are currently using MediaPipe's Segmentation and FaceMesh models to develop a program. We have observed that the inference speed is fast initially but slows down over time on our devices using TFlite with an input size of 256x256. We suspect that the inference is making use of the GPU. (Our device has a CPU of 2xCortex-A76 6xCortex-A55 and a Mali-G57 MC2 GPU.) When other programs are using GPU rendering simultaneously, the situation worsens. Could you please help us identify the possible causes for this issue and suggest any potential solutions?

Additionally, we are curious to know if there are any lighter versions of the Segmentation and FaceMesh models available.

Thank you for your assistance.

Describe the expected behaviour
No response
Standalone code/steps you may have used to try to get what you need
No response
Other info / Complete Logs
No response

Hello @gkarpiak,
Could you please look into this issue? Thank you


Service Test Editor UI Imp: Label options in the connection-id dropdown in the service test editor

Summary

Label options in the connection-id dropdown in the service test editor will benefit users when there are identical connection ids from different runtimes.

How did you test this change?

[ ] Test(s) added
[x] Manual testing (please provide screenshots/recordings)
[ ] No testing (please provide an explanation)

I think naming IdentifiedConnectionWithRuntime is a bit confusing because connections doesn't have a runtime. It's the other way around. Can we name it better? May be RuntimeConnections or something?
At other places I think we don't really have to mention that it is a connection from runtime. Why don't we add a note at the starting of the file regarding the assumption we make on all the connections are coming from a runtime as it is service?
I feel like we should just add a new field in NewConnectionDataState for runtime instead of introducing a type for this.
What do you think?

@YannanGao-gs
Don't really like the format of the label.
Maybe we could have a label for the runtime the connection belongs to
and another label for the store it contains.
We don't really need the connectionId again in the label since that is the main selection point.


Ensure e2e test fixture clears data at the beginning of each scenario

Goal
Since the performance library begins recording data as soon as the app starts we may receive anomalous data which can cause our tests to flake.  This change ensures that the test fixture can recognise the first command received during a test scenario, and reset the application data at that point.
This would mean we can remove clearPersistentData calls from individual scenarios, but I've not implemented that at this point.
Note: When the clearing occurs we log several messages in the vein of:
BUG IN CLIENT OF libsqlite3.dylib: database integrity compromised by API violation: vnode unlinked while in use

This may be undesirable, but doesn't appear to effect the operation of the tests themselves.  However, if there is a clearer method to clear the persistent data that wouldn't result in these error logs, that may be worth implementing.

I feel nervous about driving behaviour from the size of the command queue (it would leave a landmine attached to the command queue implementation that's non-obvious). Could we instead add a "clear_data_before_running" field to all commands? Then we have more precise control and the intent is very clear.

On a second review of this, is it really necessary?  We've got a clearPersistentData call in the scenario, explicitly called at the beginning of every test scenario.  We could expand that to clear the caches as well as the UserDefaults (basically update it to act like the clearPersistentData function added here.


Jumpbug

Pasted from UC.
AntarioSDK to OsirisSDK.

I accidentally hit the revert. sorry. 😅

Check this out, i unobfuscated some bools and fixes and stuff, nothing functional, removed some fag's? lmfao
https://gist.github.com/RyDeem/fdcff7f5a4089cbd825c5cec166f7b0e or https://github.com/RyDeem/Osiris/tree/oofers2463

replace plocalplayer with localplayer, also why are u forcing bunnyhop to true?

Can u paste autostrafe optimizer pls

replace plocalplayer with localplayer, also why are u forcing bunnyhop to true?
you were right. but i didn't see Bunnyhop forced to turn on while Jumpbug enabled. or i just being stupid. 😓

Check this out, i unobfuscated some bools and fixes and stuff, nothing functional, removed some fag's? lmfao
RyDeem@5a57eb4
https://gist.github.com/RyDeem/fdcff7f5a4089cbd825c5cec166f7b0e or
https://github.com/RyDeem/Osiris/tree/oofers2463

thanks for the help!

ahhh i forgot to remove pLocalPlayer..

do u know a way to create a velocity text thing?

do u know a way to create a velocity text thing?

localPlayer->velocity().length2D(); ?

do u know a way to create a velocity text thing?

localPlayer->velocity().length2D(); ?

how do i make it display it tho? like this

do u know a way to create a velocity text thing?

localPlayer->velocity().length2D(); ?

how do i make it display it tho? like this

You just render text on the bottom of the screen and thats it

do u know a way to create a velocity text thing?

localPlayer->velocity().length2D(); ?

how do i make it display it tho? like this

You just render text on the bottom of the screen and thats it

im a bit new to c++ so not sure how to render the text

im a bit new to c++ so not sure how to render the text

Render the text like watermark does.

i got it like this.

can you give me the code for that?
https://user-images.githubusercontent.com/46624417/85952150-87ebde80-b991-11ea-813c-1b193576e1e8.jpg

can you give me the code for that?
https://user-images.githubusercontent.com/46624417/85952150-87ebde80-b991-11ea-813c-1b193576e1e8.jpg

You can have this ugly ass code that i made in 1 minute
`void Visuals::showVelocity() noexcept
{
if (!config->visuals.showVelocity)
return;
if (!localPlayer || !localPlayer->isAlive())
    return;

double velocity = localPlayer->velocity().length2D();
std::wstring velocityfinal = std::to_wstring(velocity);

interfaces->surface->setTextFont(Surface::font);
interfaces->surface->setTextColor(255, 255, 255);
const auto [width, height] = interfaces->surface->getScreenSize();
interfaces->surface->setTextPosition(width / 2 - 16 , height - 200);
interfaces->surface->printText(velocityfinal);

}`

already help nekorem, I need a code for the speed lines, if anyone knows how to make a code like this, send me pls. EXAMPLE: https://prnt.sc/t8083p

already help nekorem, I need a code for the speed lines, if anyone knows how to make a code like this, send me pls. EXAMPLE: https://prnt.sc/t8083p

you make my brain hurt...

srry mekorem ;(

can you give me the code for that?
https://user-images.githubusercontent.com/46624417/85952150-87ebde80-b991-11ea-813c-1b193576e1e8.jpg

You can have this ugly ass code that i made in 1 minute
void Visuals::showVelocity() noexcept
{
    if (!config->visuals.showVelocity)
        return;

    if (!localPlayer || !localPlayer->isAlive())
        return;

    double velocity = localPlayer->velocity().length2D();
    std::wstring velocityfinal = std::to_wstring(velocity);

    interfaces->surface->setTextFont(Surface::font);
    interfaces->surface->setTextColor(255, 255, 255);
    const auto [width, height] = interfaces->surface->getScreenSize();
    interfaces->surface->setTextPosition(width / 2 - 16 , height - 200);
    interfaces->surface->printText(velocityfinal);
}

could you help me how to use the getscreensize? in example I just want to add some text above my spectator list...

can you give me the code for that?
https://user-images.githubusercontent.com/46624417/85952150-87ebde80-b991-11ea-813c-1b193576e1e8.jpg

You can have this ugly ass code that i made in 1 minute
void Visuals::showVelocity() noexcept
{
    if (!config->visuals.showVelocity)
        return;

    if (!localPlayer || !localPlayer->isAlive())
        return;

    double velocity = localPlayer->velocity().length2D();
    std::wstring velocityfinal = std::to_wstring(velocity);

    interfaces->surface->setTextFont(Surface::font);
    interfaces->surface->setTextColor(255, 255, 255);
    const auto [width, height] = interfaces->surface->getScreenSize();
    interfaces->surface->setTextPosition(width / 2 - 16 , height - 200);
    interfaces->surface->printText(velocityfinal);
}

could you help me how to use the getscreensize? in example I just want to add some text above my spectator list...

its used in these two lines
const auto [width, height] = interfaces->surface->getScreenSize();
interfaces->surface->setTextPosition(width / 2 - 16 , height - 200);

thats what I wanted, no copy paste ready shit, just an explanation of where to look

can you give me the code for that?
https://user-images.githubusercontent.com/46624417/85952150-87ebde80-b991-11ea-813c-1b193576e1e8.jpg

You can have this ugly ass code that i made in 1 minute
void Visuals::showVelocity() noexcept
{
    if (!config->visuals.showVelocity)
        return;

    if (!localPlayer || !localPlayer->isAlive())
        return;

    double velocity = localPlayer->velocity().length2D();
    std::wstring velocityfinal = std::to_wstring(velocity);

    interfaces->surface->setTextFont(Surface::font);
    interfaces->surface->setTextColor(255, 255, 255);
    const auto [width, height] = interfaces->surface->getScreenSize();
    interfaces->surface->setTextPosition(width / 2 - 16 , height - 200);
    interfaces->surface->printText(velocityfinal);
}

could you help me how to use the getscreensize? in example I just want to add some text above my spectator list...

its used in these two lines the rest is you needing to use your brain for once in your life
const auto [width, height] = interfaces->surface->getScreenSize();
interfaces->surface->setTextPosition(width / 2 - 16 , height - 200);

no need to get toxic. this isnt UC

void Visuals::showVelocity() noexcept
{
    if (!config->visuals.showVelocity)
        return;

    if (!localPlayer || !localPlayer->isAlive())
        return;

    double velocity = localPlayer->velocity().length2D();
    std::wstring velocityfinal = std::to_wstring(velocity);

    interfaces->surface->setTextFont(Surface::font);
    interfaces->surface->setTextColor(255, 255, 255);
    const auto [width, height] = interfaces->surface->getScreenSize();
    interfaces->surface->setTextPosition(width / 2 - 16 , height - 200);
    interfaces->surface->printText(velocityfinal);
}

This code doesn't show the velocity for me, idk why it doesn't work, help would be appreciated.

can you give me the code for that?
https://user-images.githubusercontent.com/46624417/85952150-87ebde80-b991-11ea-813c-1b193576e1e8.jpg

You can have this ugly ass code that i made in 1 minute
void Visuals::showVelocity() noexcept
{
    if (!config->visuals.showVelocity)
        return;

    if (!localPlayer || !localPlayer->isAlive())
        return;

    double velocity = localPlayer->velocity().length2D();
    std::wstring velocityfinal = std::to_wstring(velocity);

    interfaces->surface->setTextFont(Surface::font);
    interfaces->surface->setTextColor(255, 255, 255);
    const auto [width, height] = interfaces->surface->getScreenSize();
    interfaces->surface->setTextPosition(width / 2 - 16 , height - 200);
    interfaces->surface->printText(velocityfinal);
}

could you help me how to use the getscreensize? in example I just want to add some text above my spectator list...

its used in these two lines the rest is you needing to use your brain for once in your life
const auto [width, height] = interfaces->surface->getScreenSize();
interfaces->surface->setTextPosition(width / 2 - 16 , height - 200);

Can you help me make this work? I am sort of confused on why it will not show up

Did you put call the function in paint traverse?

Can you help me make this work? I am sort of confused on why it will not show up

Go learn C++ before trying to make/mess with cheats.  You obviously have no idea what you're doing and if you passed 5th grade the math shouldn't be a problem.

hello everytime i turn i jb with my bind key it turns off bunny hop feature how do i fix this?

hello everytime i turn i jb with my bind key it turns off bunny hop feature how do i fix this?

static bool bhopWasEnabled = false;

hello everytime i turn i jb with my bind key it turns off bunny hop feature how do i fix this?

static bool bhopWasEnabled = false;

i fixed it somehow but now jb dont works as good as it worked before

hello everytime i turn i jb with my bind key it turns off bunny hop feature how do i fix this?

static bool bhopWasEnabled = false;

i fixed it somehow but now jb dont works as good as it worked before

fixed it nwm

hello everytime i turn i jb with my bind key it turns off bunny hop feature how do i fix this?

static bool bhopWasEnabled = false;

i fixed it somehow but now jb dont works as good as it worked before

fixed it nwm

send me the fix on my dc please Toyota AE86#2279

how to remove the .0000 from the velocity? also can how to make text outline?

#1846

how to remove the .0000 from the velocity? also how to make text outline?

You can use format args. Use float precision "%.1f"

Hey can i paste edgebug too?

This simply doesnt work for me maybe because there was a update but i have no clue onto why its not working. I even got the old code from UC and tried transferring from the original sdk to osiris and all it does is duck i got it to work like once but that was for only one jump. Does this occur for anyone else and is this why its still open and not in the cheat?

This simply doesnt work for me maybe because there was a update but i have no clue onto why its not working. I even got the old code from UC and tried transferring from the original sdk to osiris and all it does is duck i got it to work like once but that was for only one jump. Does this occur for anyone else and is this why its still open and not in the cheat?
`void Misc::jumpbug(UserCmd* cmd) noexcept {
if (!config->misc.jumpbug || !localPlayer || !localPlayer->isAlive())
return;
static bool bhopWasEnabled = false;
bool JumpDone;

auto unduck = true;

float max_radias = M_PI * 2;
float step = max_radias / 128;
float xThick = 23;

if (GetAsyncKeyState(config->misc.jumpbugkey) && (localPlayer->flags() & 1)) {

    if (config->misc.bunnyHop) {
        config->misc.bunnyHop = false;
        bhopWasEnabled = true;
    }

    if (unduck) {
        JumpDone = false;
        cmd->buttons |= ~UserCmd::IN_DUCK;
        unduck = false;
    }
    Vector pos = localPlayer->origin();
    for (float a = 0.f; a < max_radias; a += step) {
        Vector pt;
        pt.x = (xThick * cos(a)) + pos.x;
        pt.y = (xThick * sin(a)) + pos.y;
        pt.z = pos.z;

        Vector pt2 = pt;
        pt2.z -= 6;

        Trace fag;

        TraceFilter flt = localPlayer.get();

        interfaces->engineTrace->traceRay({ pt, pt2 }, 0x1400B, flt, fag);

        if (fag.fraction != 1.0f && fag.fraction != 0.0f) {
            JumpDone = true;
            cmd->buttons |= UserCmd::IN_DUCK;
            cmd->buttons &= ~UserCmd::IN_JUMP;
            unduck = true;
        }
    }
    for (float a = 0.f; a < max_radias; a += step) {
        Vector pt;
        pt.x = ((xThick - 2.f) * cos(a)) + pos.x;
        pt.y = ((xThick - 2.f) * sin(a)) + pos.y;
        pt.z = pos.z;

        Vector pt2 = pt;
        pt2.z -= 6;

        Trace fag;

        TraceFilter flt = localPlayer.get();
        interfaces->engineTrace->traceRay({ pt, pt2 }, 0x1400B, flt, fag);

        if (fag.fraction != 1.f && fag.fraction != 0.f) {
            JumpDone = true;
            cmd->buttons |= UserCmd::IN_DUCK;
            cmd->buttons &= ~UserCmd::IN_JUMP;
            unduck = true;
        }
    }
    for (float a = 0.f; a < max_radias; a += step) {
        Vector pt;
        pt.x = ((xThick - 20.f) * cos(a)) + pos.x;
        pt.y = ((xThick - 20.f) * sin(a)) + pos.y;
        pt.z = pos.z;

        Vector pt2 = pt;
        pt2.z -= 6;

        Trace fag;

        TraceFilter flt = localPlayer.get();
        interfaces->engineTrace->traceRay({ pt, pt2 }, 0x1400B, flt, fag);

        if (fag.fraction != 1.f && fag.fraction != 0.f) {
            JumpDone = true;
            cmd->buttons |= UserCmd::IN_DUCK;
            cmd->buttons &= ~UserCmd::IN_JUMP;
            unduck = true;
        }
    }
}
else if (bhopWasEnabled) {
    config->misc.bunnyHop = true;
    bhopWasEnabled = false;
}

}`

nvm fixed it lol

can you give me the code for that?
https://user-images.githubusercontent.com/46624417/85952150-87ebde80-b991-11ea-813c-1b193576e1e8.jpg

You can have this ugly ass code that i made in 1 minute
void Visuals::showVelocity() noexcept
{
    if (!config->visuals.showVelocity)
        return;

    if (!localPlayer || !localPlayer->isAlive())
        return;

    double velocity = localPlayer->velocity().length2D();
    std::wstring velocityfinal = std::to_wstring(velocity);

    interfaces->surface->setTextFont(Surface::font);
    interfaces->surface->setTextColor(255, 255, 255);
    const auto [width, height] = interfaces->surface->getScreenSize();
    interfaces->surface->setTextPosition(width / 2 - 16 , height - 200);
    interfaces->surface->printText(velocityfinal);
}

hey I'm a new comer to cheating and I wanted to ask how can I add showVelocity as a member to the class Config::Visuals

Please close this its outdated. And I don't like getting notifications from it


Chore: refine code

use Go v1.16
support Apple Silicon
Format code
update dependencies
make builds reproducible

Nice! Thanks for the PR!


Primary saturates the CPU under >f faults

This issue is online to https://github.com/MystenLabs/sui/issues/1529. After some digging it seems that the Primary uses 100% of the CPU when it is running in an environment with more than 'f' faulty validators.

@bmwill We'll need to solve this as part of the Narwhal network spinup.

This should be significantly mitigated by #649.

This is now quite old and maybe not relevant given the current status/issues we observe. Closing in favour of more recent efforts.


Track down all JET related potential errors and add JET to the CI

using JET; report_package("QuantumClifford") should be used in CI

Started in 00c1dc67ac47e056d7ae68cd7d265c3adbfb4f7c

fixed over a number of small PRs ending in #72


added custom field support

-fixes #73
-refactored to use CordialModal
-added underlineColorAndroid='transparent' to remove ugly underlining on TextInput on Android
-added StatusBar background back to profile-container as it was black on Android without it.

LGTM, go ahead and merge 👍


Nova Images not downloading from s3

The dependency container is causing files that are uploaded to s3, to not be downloadable, when using s3 storage to upload files, it can upload successfully but when trying to download said file, the server responds with failed no file.
Not sure how to fix this or if there is a open issue for it, or a possible workaround

Can you elaborate on specifically how it's the dependency container that is specifically causing this as well as maybe some field setups to be able to replicate? I actually use s3 for images so I can certainly test this, just wondering if the container is the culprit

Good morning It has been implemented using s3 see below snippet
I have this in my fields array of my nova resource
//TODO: Nova dependency container is failing cannot download video or audio assets cms
NovaDependencyContainer::make([
//TODO: advanced image implementation is failing due to dependency container wrapping
Image::make('Image')
->disk('s3')
->preview(function ($value) {
return $value;
})
->disableDownload()
->hideFromIndex()
])->dependsOn('media_type', KnowledgeCardType::IMAGE),
What I can see is that if I remove the disable download button. I have can click download but It fails to find the file.
Hope it helps. Let me know if you require more info

It looks as though how you are looking to generate a preview isn't correct and you would need to generate the url directly.
https://nova.laravel.com/docs/3.0/resources/file-fields.html#customizing-previews
Closing as this doesn't appear to be an issue with the dependency container, but in the usage of the Image field.
Feel free to reply back if there is still an issue.


Switching from edit mode to command mode with Enter button changes the view

Issue Type: Bug
If a part of a cell is not being showed on the screen and you are in the cmmand mode, switching to edit mode with the Enter key changes the view (like it jumps).
Extension version: 2021.11.1001550889
VS Code version: Code 1.63.2 (899d46d82c4c95423fb7e10e68eba52050e30ba3, 2021-12-15T09:40:02.816Z)
OS version: Windows_NT x64 10.0.19042
Restricted Mode: No

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-4690 CPU @ 3.50GHz (4 x 3500)

GPU Status
2d_canvas: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: enabledopengl: enabled_onrasterization: enabledskia_renderer: enabled_onvideo_decode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
7.93GB (1.36GB free)

Process Argv
I:\Torrent dl\TensorFlow Developer Certificate in 2021 Zero to Mastery\TensorFlow Developer Certificate in 2021 Zero to Mastery\01. my codes on this pc\3-linear regression.ipynb --crash-reporter-id 7410a323-d8bb-4598-bd3f-514b152808e2

Screen Reader
no

VM
0%

A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
pythontb:30283811
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
vscorecescf:30384386
pythondataviewer:30285071
vscod805cf:30301675
pythonvspyt200:30340761
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593:30376534
pythonvs932:30410667
vscop804cf:30404767
vscop453:30404998
vsrem710:30416614
py55gd98:30419165
vscexrecpromp3t2:30407763
vscop841:30415853

Handling keyboard and scrolling behavior is a vscode core issue.

@Seenaam can you please share a screen recording to help understand what's going on?

@Seenaam can you please share a screen recording to help understand what's going on?

Of course. I hope this is helpful.

@Seenaam the gif explains the bug perfectly, thanks for your help!

@Seenaam the gif explains the bug perfectly, thanks for your help!

My pleasure. Your consideration means a lot, thank you.

We have recently updated our cell focus logic and I don't reproduce this bug any more in latest Insiders. Feel free to reopen if you are still seeing this.


skip colorize examples when the environment was mswin or non tty.

What was the end-user problem that led to this PR?
Fixes https://github.com/bundler/bundler/issues/6900
What was your diagnosis of the problem?
The current bundler examples were not supported on mswin and non-tty environments.
What is your fix for the problem, implemented in this PR?
I make to skip them when Thor detected unsupported environment.
Why did you choose this fix out of the possible options?
Thor is vendoered now. It's easy to fix bundler's example directly.

@hsbt I think this is related to the fix @colby-swandale and I worked on in #6957. Can you double check whether https://github.com/bundler/bundler/pull/6957/commits/577b5221fb76fe4ad2cb7b2c3eebdb547e21383c fixes this issue?

It's related. I'm not sure that  https://github.com/bundler/bundler/commit/577b5221fb76fe4ad2cb7b2c3eebdb547e21383c is the correct approach.
Because Thor::Base.shell.new has a original condition that is https://github.com/bundler/bundler/blob/master/lib/bundler/vendor/thor/lib/thor/shell.rb#L11 . https://github.com/bundler/bundler/commit/577b5221fb76fe4ad2cb7b2c3eebdb547e21383c skip the above condition like ENV["THOR_SHELL"] variables.

I think both fixes are correct.
Ours is preventing the thor's shell to be memoized at the class level, and thus preventing our specs from using the right shell for what they are testing.
Yours is acknowledging that a colorized shell is not supported on Windows, trusting thor's opinion. But, if the specs pass on Azure with our fix, maybe it means that colors are now supported :man_shrugging:.

@bundlerbot r+


Add JOSS citation

Also fix https://github.com/BlueBrain/BlueCelluLab/issues/207

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

Project coverage is 91.24%. Comparing base (fe4baed) to head (163706d).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #208   +/-   ##
=======================================
  Coverage   91.24%   91.24%
=======================================
  Files          95       95
  Lines        5708     5708
=======================================
  Hits         5208     5208
  Misses        500      500

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


Update packages.md

Fixes #6418
The doc states
Previous versions of the .NET Core tools (both project.json and csproj-based tools) by default specified both a framework and a metapackage. Currently, however, the metapackage is implicitly referenced by the target framework, so that each metapackage is tied to a target framework.
That's not true for M.A.App and M.A.All. Should we point that out?

To answer your question @Rick-Anderson, yes, we should point that out. I don't think those other metapackages are relevant anymore apart for the ones for ASP.NET Core, so they could either be removed or listed for historical perspective. We haven't reviewed this topic for 2.0+ yet as you can see by the ms.date. @richlander @KathleenDollard can you help here?

BTW I edited the links so make sure to do a git pull before submitting new commits.


First Commit

Accepting, but once we have an organization, this will be moved into a separate repo.


Implements SQS as resource module

📲 What
AB#4212 - Implements SQS as resource module for CQRS+Messaging Dotnet Package
🤔 Why
Needed for CQRS+Messaging Dotnet Package
🛠 How
Standard TF
👀 Evidence
n/a
🕵 How to test
Notes on how a reviewer can test the changes, e.g. how to run the tests.
✅ Acceptance criteria Checklist

[ ] Code peer reviewed?
[ ] Documentation has been updated to reflect the changes?
[ ] Passing all automated tests, including a successful deployment?
[ ] Passing any exploratory testing?
[ ] Rebased/merged with latest changes from development and re-tested?
[ ] Meeting the Coding Standards?

Hey Will, did you know there's already an SQS module? https://registry.terraform.io/modules/terraform-aws-modules/sqs/aws/latest

Hey Will, did you know there's already an SQS module? https://registry.terraform.io/modules/terraform-aws-modules/sqs/aws/latest

I did @ElvenSpellmaker - I cribbed the resources from it, but it is maintained by a single individual so I feel metaphorically forking it is a better idea for stacks. Thoughts?

Hey Will, did you know there's already an SQS module? registry.terraform.io/modules/terraform-aws-modules/sqs/aws/latest

I did @ElvenSpellmaker - I cribbed the resources from it, but it is maintained by a single individual so I feel metaphorically forking it is a better idea for stacks. Thoughts?

As far as I know they have to list a maintainer for the code, but they're maintained by AWS? We use those AWS modules heavily (although not this one) on my current project.

Fair play @ElvenSpellmaker - closing this PR.


kill zwift entries in new markup

Thanks! Published and will be available in the store within an hour or so. :)


Bug: Wrong type for parameter "uri" of resolveLocalFileSystemURI: Expected String, but got Null.

Bug Report
Problem
What is expected to happen?
The Directory for the file system should not be null.

What does actually happen?
The Directory for the file system is null.

Information
It seems like the Directory returned by resolveLocalFileSystemURI works the first time the App is installed onto the device. On the second launch or update of the same Bundle ID on the device, the Directory is always returned as null
In this instance, we're adding an Ionic App onto an iPhone XR via Xcode.
The first time it is installed and ran, the Directory is good. Any subsequent time, the Directory is null.
To return to a working state, the app must be fully deleted from the device.
Our team cannot replicate on Android. iOS only right now.
Command or Code

Environment, Platform, Device / Version information
Ionic:
Ionic CLI       : 6.12.4 (/usr/local/lib/node_modules/@ionic/cli)
Ionic Framework : @ionic/react 5.6.7
Capacitor:
Capacitor CLI   : 2.4.7
@capacitor/core : 2.4.4
Utility:
cordova-res : 0.15.3
native-run  : not installed
System:
NodeJS : v14.4.0 (/usr/local/bin/node)
npm    : 6.14.5
OS     : macOS Big Sur
Device:
iPhone XR
iOS : 14.8
Xcode:
version : 12.5.1
Checklist

[ X ] I searched for existing GitHub issues
[ X ] I updated all Cordova (Capacitor) tooling to most recent version
[ X ] I included all the necessary information above

How are you obtaining the path for resolveLocalFileSystemURI?

The first time it is installed and ran, the Directory is good. Any subsequent time, the Directory is null.
To return to a working state, the app must be fully deleted from the device.

This makes it seem like you might be storing a full absolute path an iOS device and attempting to use it everywhere, instead of resolving paths relatively. This path shouldn't changed during the lifetime installation of the app. It may even remain in tact if the user installs the app via an iTunes backup. Reinstalling the app usually causes the UUID to change.
The bottom line is, if you're storing a full absolute path of a file, you're gunna run into issues with iOS because that path is only valid in a certain context.

Our team cannot replicate on Android. iOS only right now.

Android does not have UUID's in the filepaths, which also enforces my suspicion that you're attempting to use full paths in an invalid way.

On the second launch or update of the same Bundle ID on the device

This is the only thing that doesn't quite make much sense, the UUID should remain consistent even after app updates, as long as it's on the same device. The UUID may change if you uninstall and reinstall the app.

Hey @breautek, thank you so much for the prompt reply.

How are you obtaining the path for resolveLocalFileSystemURI?

We've simplified the code snippet below to give you a rough idea of what we are doing for the path:
const dir = `videos/${item.id}/`;
const path = dir + "video.mp4";
const _DIR = File.dataDirectory;
_DIR + path

Our _DIR + path is seemingly resolving differently:
First Install:

After:

How would you recommend we use the path for it to be more relative? Maybe we are misunderstanding the functionality of the plugin, due to the poor documentation when looking at it from the Ionic angle. It seemed like File.dataDirectory was what to use for "Persistent and private data storage within the application's sandbox using internal memory"
Cheers

That snippet looks like the right idea to me. The constants like dataDirectory is there for a reason ;)
Can you assert that the deviceready event is triggering before you attempt to resolve the file path? These File path variables like dataDirectory will be null before deviceready is triggered.

Hey @breautek sorry for the delay as we wanted to make sure we tested more based on your previous comment before wasting anymore of your time.
We have wrapped the assigning of _DIR with the deviceReady event as such:

It was our mistake, we were previously wrapping the Initialization of the plugin itself const fm = FileManager.getInstance(); rather than the assigning.
Appreciate the help!


Using ParsleyJS With Browserify Example?

Hi,
I apologize if this is the wrong place to ask.  I'm trying to get ParsleyJS working with Browserify.  I have a brief description here:
http://stackoverflow.com/questions/31375599/how-to-use-parsleyjs-with-browserify
Is there an example in the code base somewhere I can play with?
TIA,
Ole

OK - After inspecting package.json I see that there is a browserify.js test that shows a really really simple it is :).  Thanks for making ParsleyJS!
Cheers,
Ole


Add Spring session integration

My knowledge in this area is absolutely limited but I guess adding Spring Session integration is pointless. My original proposition to use Redisson as a session manager was due to the lack of distributed locks within Spring Session. This shortcoming is a result of being bounded to HttpSession's interface and the fact that it doesn't provide any APIs to lock the session. If Redisson is going to act under the same interface of HttpSession, it adds no value to the original Spring Session + Clustered Redis implementation!
As I said at the beginning of my comment, I'm not an expert but if this is really the case, I think the true value to the Redisson is the fact that it supports distributed locks. And this functionality can not be delivered through HttpSession's interface.
And just for the record, locking the whole session for some user is not really useful. The true value is in locking session entries one by one. Locking the whole session as one slows the overall responding by a great deal and is impractical.

Done


What are the available keys in the dictionary of ions?

The documentation says

ions: Dictionary of ions.
The key contains the name of the ion (e.g. ‘na’ or ‘k’) The value contains a dictionary with the properties of the ion (e.g. {'e': -70}).

But, what are all the possible parameters (apart from "e") one can use in the dictionary of ions?

Hi @lungsi , thanks for the question.  I have updated the documentation to include the parameters available for 'ions' in a 'sec'.  Note that setting ion properties in a section only affects the ion properties in that section.
ions: Dictionary of ions.
The key contains the name of the ion (e.g. ‘na’ or ‘k’) The value contains a dictionary with the properties of the ion for the particular section (e.g. {'e': -70}). Properties available are 'e': reversal potential, 'i': internal concentration of the ion at that section, and 'o': the extracellular concentration of the ion at that section.


Runtime error while starting connector

Stack trace:
Caused by: java.lang.NoSuchMethodError: 'org.apache.kafka.connect.source.SourceConnectorContext com.scylladb.cdc.debezium.connector.ScyllaConnector.context()'
at com.scylladb.cdc.debezium.connector.ScyllaConnector.buildMaster(ScyllaConnector.java:67)
at com.scylladb.cdc.debezium.connector.ScyllaConnector.validate(ScyllaConnector.java:138)
at org.apache.kafka.connect.runtime.AbstractHerder.validateConnectorConfig(AbstractHerder.java:318)
at org.apache.kafka.connect.runtime.distributed.DistributedHerder$6.call(DistributedHerder.java:672)
at org.apache.kafka.connect.runtime.distributed.DistributedHerder$6.call(DistributedHerder.java:669)
at org.apache.kafka.connect.runtime.distributed.DistributedHerder.tick(DistributedHerder.java:299)
at org.apache.kafka.connect.runtime.distributed.DistributedHerder.run(DistributedHerder.java:248)

Hi. What did you do to avoid this error?

Which version of Kafka are you using? This is compatible with Kafka 2.6.0+
I upgraded my Kafka version and it worked.

Hi. What did you do to avoid this error?

Which version of Kafka are you using? This is compatible with Kafka 2.6.0+
I upgraded my Kafka version and it worked.

I use 2.4.1. Thanks. I will upgrade my Kafka.

It works in 2.8!  Thank you!

Yes, Kafka 2.6.0+ is required for Scylla CDC Source Connector, as only those Kafka versions support SourceConnector::context() method we use to read the offsets on startup.


Add Karachi Address Details on Contact Page - For OSDW 2017

Add "For Karachi, reach out to Habib University Computer Lab" or call +92 305 30483

This issue was moved to kashifzaidi1/Messiah-Web#3


Could not found Sei-Chain dependencies

Hi Sei-Chain team
I have the latest version of the sei-chain code, but I'm running into some issues with the Go mod Tidy.

the code git log info

hey, @Timwood0x10 can you double-check? It seems to be working for me
go mod verify  may also help go clean -cache


BindableProperty.Create is obsolete

I have a warning in this line
public static readonly BindableProperty MinProperty = BindableProperty.Create<Knob, float>(p => p.Min, 0);

Substitute the bindable properties in Knob.cs with this
public static readonly BindableProperty MinProperty = BindableProperty.Create(nameof(Min), typeof(float), typeof(Knob), null, BindingMode.OneWay);
public static readonly BindableProperty MaxProperty = BindableProperty.Create(nameof(Max), typeof(float), typeof(Knob), null, BindingMode.OneWay);
public static readonly BindableProperty CurrentProperty = BindableProperty.Create(nameof(Current), typeof(float), typeof(Knob), null, BindingMode.OneWay);
public static readonly BindableProperty BoundsProperty = BindableProperty.Create(nameof(Bounds), typeof(Rectangle), typeof(Knob), null, BindingMode.OneWay);
public static readonly BindableProperty ShowTouchPathProperty = BindableProperty.Create(nameof(ShowTouchPath), typeof(bool), typeof(Knob), null, BindingMode.OneWay);

@emimagnani90  Just replace the nulls in those bindable properties with the default values you want to use.
for example
public static readonly BindableProperty MaxProperty = BindableProperty.Create<Knob, float>(p => p.Max, 100);

would be
public static readonly BindableProperty MaxProperty = BindableProperty.Create(nameof(Max), typeof(float), typeof(Knob), 100, BindingMode.OneWay);

I just dont ever use default values so Ive never ran into that exception, Hope this helps.

ep

Tried that but keep getting the exception

This is a 1:1 of the original bindable properties with the same default values added, If this is still giving you an exception you may have a problem elsewhere as this is working for me even with a blank project.
public static readonly BindableProperty MinProperty = BindableProperty.Create(nameof(Min), typeof(float), typeof(Knob), 0, BindingMode.OneWay);
public static readonly BindableProperty MaxProperty = BindableProperty.Create(nameof(Max), typeof(float), typeof(Knob), 100, BindingMode.OneWay);
public static readonly BindableProperty CurrentProperty = BindableProperty.Create(nameof(Current), typeof(float), typeof(Knob), 50, BindingMode.OneWay);
public static readonly BindableProperty BoundsProperty = BindableProperty.Create(nameof(Bounds), typeof(Rectangle), typeof(Knob), new Rectangle(0, 0, 300, 300), BindingMode.OneWay);
public static readonly BindableProperty ShowTouchPathProperty = BindableProperty.Create(nameof(ShowTouchPath), typeof(bool), typeof(Knob), false, BindingMode.OneWay);

Keep getting the exception.
If I run the old code it works but can't make it twoways binding.
The control update when a slider changes value(both are binded to a property) but slider does not update when the control changes the value


DF Chat Enhancements: Cannot edit a message more than once!!!

Module
DF Chat Enhancements 3.4.1
Describe the issue
After editing a chat message once, the Edit Message option is gone!
To Reproduce
Steps to reproduce the behavior:

Write a chat message
Right click, edit it to something different
Right click on the edit message
There is no longer an Edit Message button!

Expected behavior
To be able to edit many times!
Screenshots (Optional)

If it helps at all, @flamewave000  my theory is that Chat Messages that contain some sort of HTML formatting are the ones that lose the editing capabilities. If you send a message with <b>Some Bold Text</b> then also the Edit button won't appear.

New lines in chat would also cause the Edit Message to go away.

The HTML is not an issue, there is a setting that can be turned off that prevents editing messages with HTML. This is meant to be a "safety" in the event a message contains a information the GM doesn't want edited.

I found the issue. The added "edit" flag on the message is causing the filter to activate since it is HTML. I'll get this corrected :+1:


Work flow multi run

brings in the pause and resume modes of the tool chain from felix work into the tool chain proper. Works in the brnach, apart from changing the application graph mid runs.

this pull request contains a mother load of changes relating to multi-run, app_stop, reset on run and likely others ive forgotton.


Fix tags for images built for main and release branches

Description
As discussed in [1], this would allow to run make deploy out of the box, as the image corresponding to the VERSION in Makefile would be present.
[1] https://github.com/janus-idp/operator/pull/200#discussion_r1489312876
Which issue(s) does this PR fix or relate to
—
PR acceptance criteria

[ ] Tests
[ ] Documentation

How to test changes / Special notes to the reviewer
This should fix the issue behind https://github.com/janus-idp/operator/pull/200

/cherrypick 1.1.x

Auto-approving to see the result, as it requires the changes to the Workflow to be in the main branch. Will revert if it does not help.


Updated phpdoc for Builder::from()

I just added Illuminate\Contracts\Database\Query\Expression to the phpdoc for $table in Illuminate/Database/Query/Builder::from() as its actually possible to pass in an expression.

Thanks!


fix(dts): compatible with vue-tsc 2.0.x

Fixed Comment in #240
This PR fixes forward compatibility with<EMAIL_ADDRESS>and the wrong test case, now mkdist should work well with all vue-tsc matching the peerDependence requirement.

@danielroe Is there an ETA for a tag/release including this fix?


Dexie Usage Questions

I've been taking a dive into the Dexie Docs this week and am delighted with the robustness of the API. Thanks for making IDB great to work with! Discovering Dexie is like finding a pot of gold at the end of a long rainbow and at this point I have a some questions related to using Dexie with my project. These questions are posted as a sequence of separate issues.

Ok, thanks! I've tried to answer some of the questions.


Download links should include link download instructions

URL Rewriting Middleware in ASP.NET Core | Microsoft Docs
[08-11-2017] The article states 'View or download sample code', but there is no way to download the sample code from Github!
We used to have download instructions but I can't find them. CC @tdykstra

I worked on this on the .NET Core side:
https://github.com/dotnet/docs/issues/1644
https://github.com/dotnet/docs/pull/1832

IIRC, the .NET download instructions were very complex - talking about forking and other git concepts. The folks who struggle with downloads need only to be told to nav to the top of the repo and download the entire repo. Unzip then navigate locally to the sample. Because the .NET version was so complex, I wrote a simpler version. I can't find it now. Maybe it got deleted.

Yes ... IIRC it was decided to let the content on that topic explain it all out and just link to it ...

For download instructions, see [Samples and Tutorials](../../samples-and-tutorials/index.md#viewing-and-downloading-samples).

It's at ...
https://docs.microsoft.com/en-us/dotnet/samples-and-tutorials/#viewing-and-downloading-samples

Yep, way to complex. It doesn't tell you to navigate from the link provided to the repo. Then it has all the fork and clone nonsense that you don't need to download a sample. I rewrote the instructions in 10% of the words and it was super easy to follow.

I hope u find that ... at the time, it wasn't known that there was another way to only get the contents of the sample folder. That was the big prob IIRC.

[how to download](xref:tutorials/index#how-to-download-a-sample)

Use the URL in the sample link to help you navigate to the sample directory.

Lovely. :grinning:

Had the same mention over in the other text ...

The relative path to the sample's location appears in your browser's address bar when you follow the link to the sample.

... and in fairness to the complexity, the key is that it's providing options for those methods ...

Download the repository that contains the sample code by performing one of the following procedures: (emphasis added)

... and one of those listed options is to just download the ZIP.
I favor showing the options. It cross-teaches a little :sparkles: GH magic :sparkles: (with links) ... prob not a bad thing. If a GH newbie learns how to fork and clone, they're a stone's throw away from taking some .NET docs issues more complicated than patching a misspelled word. :wink:

If we could nudge GitHub into supporting Zipping of arbitrary folders for download (which I believe some other competing sites offer), this would be a non-issue.

@BillWagner - GitHub ask for you.

If we could nudge GitHub into supporting Zipping of arbitrary folders for download (which I believe some other competing sites offer), this would be a non-issue.

TLDR; version
Customers don't know how to download a sample when we give them the download link in an article.  The .NET help on download is insanely complex, mixing up forks and other complexities new folks don't need. I wrote How to download a sample - and no complaints on that one.


chore: Updates version to match semver

Description

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

How Has This Been Tested?

Test Configuration:

Node Version:
OS:

Checklist:

[ ] My code follows the style guidelines of this project
[ ] 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 to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] Any dependent changes have been merged and published in downstream modules

Additional context

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

Project coverage is 100.00%. Comparing base (f7a8554) to head (9aae232).
Report is 1 commits behind head on develop.

Additional details and impacted files
@@            Coverage Diff            @@
##           develop       #42   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           13        13
  Lines          151       151
  Branches        17        17
=========================================
  Hits           151       151

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


fix issue 10637， assign provider namespace when call muti providers

What is the purpose of the change
add attribute(providerNamespace) in @DubboReference, that fix issue #10637
Brief changelog
Verifying this change

Checklist

[x] Make sure there is a GitHub_issue field for the change (usually before you start working on it). Trivial changes like typos do not require a GitHub issue. Your pull request should address just this issue, without pulling in other changes - one PR resolves one issue.
[x] Each commit in the pull request should have a meaningful subject line and body.
[x] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[ ] Check if is necessary to patch to Dubbo 3 if you are work on Dubbo 2.7
[ ] Write necessary unit-test to verify your logic correction, more mock a little better when cross module dependency exist. If the new feature or significant change is committed, please remember to add sample in dubbo samples project.
[ ] Add some description to dubbo-website project if you are requesting to add a feature.
[ ] GitHub Actions works fine on your own branch.
[ ] If this contribution is large, please follow the Software Donation Guide.

@conghuhu PTAL

@niejian 这里也需要加上配置项。
然后需要在dubbo-website中补齐对应的配置项文档

@conghuhu 文档已添加说明：https://github.com/apache/dubbo-website/pull/1524

Codecov Report

Merging #10671 (1ddc64d) into 3.1.1-release (ba5bcc8) will increase coverage by 0.00%.
The diff coverage is 40.00%.

:exclamation: Current head 1ddc64d differs from pull request most recent head 88c67a5. Consider uploading reports for the commit 88c67a5 to get more accurate results

@@               Coverage Diff                @@
##             3.1.1-release   #10671   +/-   ##
================================================
  Coverage            65.27%   65.27%
  Complexity             494      494
================================================
  Files                 1336     1336
  Lines                56918    56922    +4
  Branches              8435     8436    +1
================================================
+ Hits                 37152    37156    +4
+ Misses               15808    15805    -3
- Partials              3958     3961    +3

Impacted Files
Coverage Δ

...ubbo/qos/command/decoder/TelnetCommandDecoder.java
60.00% <40.00%> (-12.73%)
:arrow_down:

...nt/metadata/ServiceInstanceHostPortCustomizer.java
65.78% <0.00%> (-21.06%)
:arrow_down:

...e/dubbo/rpc/protocol/tri/transport/WriteQueue.java
73.80% <0.00%> (-4.77%)
:arrow_down:

...ubbo/common/url/component/param/DynamicValues.java
78.12% <0.00%> (-3.13%)
:arrow_down:

...etadata/report/support/AbstractMetadataReport.java
69.09% <0.00%> (-2.28%)
:arrow_down:

...ng/zookeeper/curator5/Curator5ZookeeperClient.java
70.28% <0.00%> (-1.89%)
:arrow_down:

...ting/zookeeper/curator/CuratorZookeeperClient.java
69.65% <0.00%> (-1.71%)
:arrow_down:

...bbo/common/resource/GlobalResourcesRepository.java
63.07% <0.00%> (-1.54%)
:arrow_down:

...java/org/apache/dubbo/remoting/api/Connection.java
81.66% <0.00%> (-0.84%)
:arrow_down:

...apache/dubbo/rpc/protocol/dubbo/DubboProtocol.java
62.93% <0.00%> (-0.70%)
:arrow_down:

... and 14 more

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

@conghuhu 文档已添加说明：apache/dubbo-website#1524

这个地方还需要改一下

这个已经改了的
https://github.com/apache/dubbo/pull/10671/commits/5c4fcbfede7ef3f89883b90739665de888652544#diff-35b79610cf788e82cea1e388f21c1a79e41cd10b1fc9a687c44a32d2e107e36d

@conghuhu 文档已添加说明：apache/dubbo-website#1524

 这个地方还需要改一下

已经改了
https://github.com/apache/dubbo/commit/5c4fcbfede7ef3f89883b90739665de888652544#diff-35b79610cf788e82cea1e388f21c1a79e41cd10b1fc9a687c44a32d2e107e36d

Please rebase your branch on 3.1. 3.1.1-release branch is only for release, should not merge in any changes.

Please rebase your branch on 3.1. 3.1.1-release branch is only for release, should not merge in any changes.

all changes have been commited to branch 3.1
https://github.com/niejian/dubbo/commit/8c6025fbfe95cbbd149f5c1b736d1ab1846cf057

Please rebase your branch on 3.1. 3.1.1-release branch is only for release, should not merge in any changes.

all changes have been commited to branch 3.1
niejian@8c6025f

Please submit a new PR for it

Please rebase your branch on 3.1. 3.1.1-release branch is only for release, should not merge in any changes.

all changes have been commited to branch 3.1
niejian@8c6025f

Please submit a new PR for it

https://github.com/apache/dubbo/pull/10686

#10686


Bloom and postflat errors, minecraft world wont start, cause crash

Describe the bug
Please help i cant play your mod because of runtime exceptions when i run my game through prism launcher, please read crash log!
Reproducibility

[X] I reproduced this issue with as few other mods as possible installed.
[ ] I am unable to reproduce this issue consistently.

Screenshots and/or videos
No response
Logs
https://mclo.gs/RRAjdr6
Debug Logs
https://mclo.gs/RRAjdr6
Crash Reports
https://mclo.gs/RRAjdr6
MWC Version
0.1.5
Forge Version
1.12.2 - <IP_ADDRESS>59
Red Core Version
0.5.1
MixinBooter Version
9.1
Java Version
1.8 - 8
Java Virtual Machine
Hotspot
Operating System
Kali Linux, latest, i think
GPU Vendor
Intel
Code of Conduct

[X] I agree to follow this project's Code of Conduct

Duplicate of this issue: https://github.com/Cubed-Development/Modern-Warfare-Cubed/issues/147.
The fix is listed at the bottom, but involves building the mod locally until a new version of mwc comes out.
I have a fixed jar, but not sure if i'm allowed to share it.


Would love a very very simple example for beginners to start from when customizing the gallery view

[Enter feedback here]

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

ID: d0418afd-8cac-114b-dbfe-07010da2b86a
Version Independent ID: d0418afd-8cac-114b-dbfe-07010da2b86a
Content: Format gallery view to customize SharePoint
Content Source: docs/declarative-customization/view-gallery-formatting.md
Product: sharepoint
GitHub Login: @VesaJuvonen
Microsoft Alias: vesaj

Thanks @ttmarquardt for reaching out. Please do share more about what exactly you are looking for in a simple example.
We currently have a custom card example, which demonstrates how a small gallery card can be created using multiple fields and formatter JSON.
Another way to get started is to use the Card Designer, and then switch to 'Advanced Mode' to customize the JSON.

If you are looking to get comfortable with JSON formatter, I would recommend you try out HTML to JSON tool


Performance downgrade in 0.14

During my work on the performace test-suite I recently upgraded from 0.14-alpha4 to 0.14.0 and I noticed a real hit to performance.
Most of the metrics have been cut in half, except startup time which surprisingly improved.
For comparison here are my measurements I took today:
0.14-alpha4

Server
Requests/s
Latency
Throughput/Mb
Startup time

mongo10types
1116.8
4.24
3.84
4.17

postgres10types
1113.6
4.14
3.14
3.04

mongo100types
1070.8
4.28
3.65
9.85

postgres100types
1059.2
4.29
2.96
10.16

0.14.0

Server
Requests/s
Latency
Throughput/Mb
Startup time

mongo10types
516.2
9.21
1.76
3.16

mongo100types
495.6
9.56
1.69
8.54

postgres10types
442.6
10.77
1.23
3.21

postgres100types
413.6
11.59
1.14
8.57

Results were related to unbalanced environment. Tests done on AWS cloud showing different values. Closed as duplicate of existing issue


[Perplexity] ...

Extension
https://www.raycast.com/third774/perplexity
Description
The "pro search" would be an optional setting in the Raycast Perplexity extension that automatically enables advanced search capabilities when using the Perplexity search engine through Raycast. By default, this mode would be turned on to provide a powerful search experience without requiring additional user input or configuration.
Who will benefit from this feature?
power users that have perplexity pro
Anything else?

I would like to vote for this as well, or at least would like to know where I can set copilot default on as parameter is &copilot=true

or at least would like to know where I can set copilot default on as parameter is &copilot=true

There's a "Fallback with Copilot enabled" option in Settings.


Create zh_cn.json

Thanks for the translation! Another pr adds in a new option, could you add the translation of that also?
"seamless_loading_screen.config.disable_hr_image": "Disable HR screen shot (Optifine TAA compatibility)"

HR = High Resolution

Thanks for the translation! Another pr adds in a new option, could you add the translation of that also?
"seamless_loading_screen.config.disable_hr_image": "Disable HR screen shot (Optifine TAA compatibility)"

HR = High Resolution

I added a couple new options in the latest release, can you update the translations?


Getting error when running project

Note: for support questions, please use one of these channels: Chat: Gitter

I'm submitting a ...
[x] bug report
[ ] feature request
[ ] question about the decisions made in the repository

Do you want to request a feature or report a bug?

What is the current behavior?

I am windows 7 SP1 64bit.
using<EMAIL_ADDRESS>using<EMAIL_ADDRESS>I ran npm install
then npm run. project seems to run but then says
      [] -> factory:56ms building:3024ms = 3080ms
 [./node_modules/webpack/buildin/global.js] (webpack)/buildin/global.js 506 bytes {0} [built]
        [] -> factory:88ms building:70ms = 158ms
 [./node_modules/webpack/buildin/module.js] (webpack)/buildin/module.js 548 bytes {0} [built]
        [] -> factory:89ms building:95ms = 184ms

webpack: bundle is now VALID.
[default] C:\test\angular2-webpack-advance-starter\src\app\frameworks\analytics\services\analytics.service.ts:6:24
Module '"C:/test/angular2-webpack-advance-starter/node_modules/angulartics2/index"' has no exported member 'Angulartics2Goo
gleAnalytics'.
[default] Checking finished with 1 errors, saying cannot find this module and that.
When I try to view app in browser using localhost:3000, app hangs on loading screen with HEAPS of errors in console.
I think some kind of error is preventing webpack from building all the stuff it needs.
do you have an idea about what might be causing this behaviour?
Cheers

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem via
https://plnkr.co or similar (you can use this template as a starting point: http://plnkr.co/edit/tpl:AvJOMERrnz94ekVua0u5).

What is the expected behavior?

What is the motivation / use case for changing the behavior?

Please tell us about your environment:

Angular version: 2.0.0-beta.X
Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]

Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. stackoverflow, gitter, etc)

Sorry I found that a manual install of analytics2 was required for some reason. I have fixed it. prob my fault for using a dam windows machine, I should be using a mac.
cheers
Nigel

Cool. I don't have a windows machine to test atm, please let me know if you find any problems running it on windows, I will try to help you out.


Fix the read timeout implementation in NettyStream

Both the new approach and the original one achieve the guarantee that
there are no concurrent read timeouts scheduled for a channel.
This is an essential property needed for a timeout implementation,
let us call it "at-most-one".
The original approach of achieving the at-most-one property:

Schedule timeouts only by an event loop thread.
If another thread needs to schedule a timeout, it submits a new scheduleTimeout task
to the channel's event pool (asynchronous timeout scheduling).
This task schedules a new timeout if none is scheduled.

The original approach allowed executions in which a scheduleTimeout task runs after
completion of the read operation that submitted the task,
which resulted in unexpected timeout exceptions.
The new approach achieves the at-most-one property by using a lock.
As a result, timeouts can be scheduled by any thread and there is no
asynchronous timeout scheduling. This means we cannot miss removing a timeout
because it was submitted for scheduling, but has not been scheduled yet.
Other notable changes:

ReadTimeoutHandler is now actually implemented as a handler. It reacts to Netty events,
learns about the context and when to remove the timeout automatically
because the channel is closed, or because the channel is no longer registered with an event loop
(we do not use channels this way, but it is possible,
as described here
https://netty.io/wiki/new-and-noteworthy-in-4.0.html#deregistration-and-re-registration-of-a-channel-fromto-an-io-thread).
Netty channel handlers (all except for ReadTimeoutHandler) do not try to schedule timeouts anymore.
This was unnecessary even with the original approach.
Fields NettyStream.pendingReader, pendingException are always written/read
inside synchronized blocks that use the same NettyStream object,
so marking them volatile is unnecessary and potentially misleading.

JAVA-3920

After discussing the MR internally, we decided not to go with the approach that preserves ReadTimeoutHandler because even if it respects the Netty channel/handler lifecycle (which adds a fair bit of code, even though the code is simple), we still have to call some of its methods explicitly from the NettyStream class in order to have timeouts. This makes the handler not pure.

After discussing the MR internally, we decided not to go with the approach that preserves ReadTimeoutHandler because even if it respects the Netty channel/handler lifecycle (which adds a fair bit of code, even though the code is simple), we still have to call some of its methods explicitly from the NettyStream class in order to have timeouts. This makes the handler not pure.


KAFKA-2882: Add constructor cache for Snappy and LZ4 Output/Input streams in Compressor.java

In wrapForOutput and wrapForInput methods of org.apache.kafka.common.record.Compressor,  Class.forName("[compression codec]") and getConstructor methods are invoked for each wrapForOutput / wrapForInput call. Reflection calls are expensive and impact performance at high volumes. This patch adds a cache for Constructor to reduce the reflection overhead.
In our production deployments, this has reduced producer CPU usage by about 20%

Thanks for the PR, the way it's done at the moment is certainly problematic. I am not sure why we are loading these libraries via reflection though given that we specify the dependencies in our build for the clients library:
compile 'org.xerial.snappy:snappy-java:1.1.2'
compile 'net.jpountz.lz4:lz4:1.2.0'

It seems like this would only benefit people who exclude the transitive dependency on their builds. @guozhangwang, @junrao what are your thoughts?

@logarithm @ijuma Some background about using reflections: the old snappy libraries do not work with some solaris systems (https://groups.google.com/forum/#!topic/orient-database/-gDSvAu39iw) and we saw issues like this back at LinkedIn cc @junrao. That is the main reason we used reflections.
This issue seems fixed in the newer snappy versions and hence we added that to the compilation dependencies, but did not change the reflection-based loading. I think we should fix it.

Also, I think LinkedIn no longer uses Solaris :)

Thank you for the background @guozhangwang. Good to know that it should not longer be an issue.

Even though LinkedIn doesn't use Solaris anymore, there could be other places use Solaris. Also, not sure if snappy is supported in other platforms like Windows. The intention of using reflection is to make snappy an optional runtime dependency---one only needs to include the snappy jar if snappy compression is still used. This allows people to be able to use Kafka on platforms that can't load the snappy jar. So, it's useful preserve this unless we know loading snappy is not an issue for major operating systems.

This patch LGTM, merged into both trunk and 0.9.0.

@junrao Snappy supports Linux, Windows, AIX and SunOS. The Snappy jar is included by default (due to the build time dependency), but I think you meant to say that we don't want to trigger the code that extracts the native library files from the jar (which could fail in some platforms) unless the user is actually using Snappy. That's probably the safe thing to do.
For reference, the Snappy library includes the following native code:
"org/xerial/snappy/native/Windows/x86_64/snappyjava.dll;osname=win32;processor=x86-64",
"org/xerial/snappy/native/Windows/x86_64/snappyjava.dll;osname=win32;processor=x64",
"org/xerial/snappy/native/Windows/x86_64/snappyjava.dll;osname=win32;processor=amd64",
"org/xerial/snappy/native/Windows/x86/snappyjava.dll;osname=win32;processor=x86",
"org/xerial/snappy/native/Mac/x86/libsnappyjava.jnilib;osname=macosx;processor=x86",
"org/xerial/snappy/native/Mac/x86_64/libsnappyjava.jnilib;osname=macosx;processor=x86-64",
"org/xerial/snappy/native/Linux/x86_64/libsnappyjava.so;osname=linux;processor=x86-64",
"org/xerial/snappy/native/Linux/x86_64/libsnappyjava.so;osname=linux;processor=x64",
"org/xerial/snappy/native/Linux/x86_64/libsnappyjava.so;osname=linux;processor=amd64",
"org/xerial/snappy/native/Linux/x86/libsnappyjava.so;osname=linux;processor=x86",
"org/xerial/snappy/native/Linux/aarch64/libsnappyjava.so;osname=linux;processor=aarch64",
"org/xerial/snappy/native/Linux/arm/libsnappyjava.so;osname=linux;processor=arm",
"org/xerial/snappy/native/Linux/ppc64/libsnappyjava.so;osname=linux;processor=ppc64",
"org/xerial/snappy/native/Linux/ppc64le/libsnappyjava.so;osname=linux;processor=ppc64le",
"org/xerial/snappy/native/Linux/s390x/libsnappyjava.so;osname=linux;processor=s390x",
"org/xerial/snappy/native/AIX/ppc/libsnappyjava.a;osname=aix;processor=ppc",
"org/xerial/snappy/native/AIX/ppc64/libsnappyjava.a;osname=aix;processor=ppc64",
"org/xerial/snappy/native/SunOS/x86/libsnappyjava.so;osname=sunos;processor=x86",
"org/xerial/snappy/native/SunOS/x86_64/libsnappyjava.so;osname=sunos;processor=x86-64",
"org/xerial/snappy/native/SunOS/sparc/libsnappyjava.so;osname=sunos;processor=sparc"

@guozhangwang : Could you verify that with the patch, we don't need the snappy jar to run Kafka clients and server if snappy is not being used?


Add a ShouldHandleTag option

This speeds up processing if you're only interested in a sub set of the tags.
name                                              old time/op    new time/op    delta
DecodeExif/bep/imagemeta/exif/jpg/alltags-10        17.9µs ± 1%    17.3µs ± 2%   -3.25%  (p=0.029 n=4+4)
DecodeExif/bep/imagemeta/exif/jpg/orientation-10    3.90µs ± 1%    3.40µs ± 1%  -12.85%  (p=0.029 n=4+4)

name                                              old alloc/op   new alloc/op   delta
DecodeExif/bep/imagemeta/exif/jpg/alltags-10        4.42kB ± 0%    4.29kB ± 0%   -2.91%  (p=0.029 n=4+4)
DecodeExif/bep/imagemeta/exif/jpg/orientation-10      650B ± 0%      409B ± 0%  -37.07%  (p=0.029 n=4+4)

name                                              old allocs/op  new allocs/op  delta
DecodeExif/bep/imagemeta/exif/jpg/alltags-10           167 ± 0%       161 ± 0%   -3.59%  (p=0.029 n=4+4)
DecodeExif/bep/imagemeta/exif/jpg/orientation-10      19.0 ± 0%      10.0 ± 0%  -47.37%  (p=0.029 n=4+4)

Codecov Report
Attention: Patch coverage is 92.30769% with 2 lines in your changes missing coverage. Please review.

Project coverage is 78.94%. Comparing base (1a8f80e) to head (8b5a7b9).

Files
Patch %
Lines

metadecoder_xmp.go
0.00%
1 Missing and 1 partial :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #10      +/-   ##
==========================================
+ Coverage   78.93%   78.94%   +0.01%
==========================================
  Files          14       14
  Lines         959      969      +10
==========================================
+ Hits          757      765       +8
- Misses        148      149       +1
- Partials       54       55       +1

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


Checkout before attempting the save to avoid error message

Is it possible to prevent the error message ("Failed to save 'file': File is write protected ...") by checking out before the save starts. Also, it possible to use a dialog box that is internal to Visual Studio Code, rather than launching the ClearCase dialog box, and use the ClearCase command tools to do the check out.

After the user click on "Save" ( or CTRL+S ) VSCode allow to delay saving for as little as 1.5 seconds.
This amount of time is way to little for the user to be able to select the activity from the dialog and confirm; thus the error.
I could programmatically checkout the file with the current activity, but this is not desirable because it is prone to error and does not cover the case when no activity is selected.

There's a format on save option. Is possible to hook into the same place that the "format on save" uses?

I've looked at the API (https://code.visualstudio.com/Docs/extensionAPI/vscode-api) for onWillSaveTextDocument. I see what you mean about the 1.5 seconds. So it appears that the save can't be delayed long enough to allow check out with dialog.

Might have to wait until a proper SCM API is added. See https://github.com/Microsoft/vscode/issues/206 and https://github.com/Microsoft/vscode/issues/2824

The 1.9 release (insider build at the moment) supports Source Code Management.

Did they already release the related documentation? I couldn't find it.
Also I believe this will not really help us as Clearcase is a peculiar SCM; it need to checkout a file before being able to save it while almost every other system don't.

I'm closing this one, let's continue this discussion on #10


Add new font weight classes

Add the following font weight classes:
text-light
text-heavy
text-lighter
text-bolder

Completed.


Support the cluster-autoscaler.kubernetes.io/safe-to-evict annotation

Tell us about your request
Would be great if Karpenter treated pods with the cluster-autoscaler.kubernetes.io/safe-to-evict annotation as the same as the karpenter.sh/do-not-evict annotation.
Basically, cluster-autoscaler.kubernetes.io/safe-to-evict: "false" is equivalent to karpenter.sh/do-not-evict: "true"
Tell us about the problem you're trying to solve. What are you trying to do, and why is it hard?
This would help teams migrate from CAS to Karpenter w/o requiring re-config.
The other wrinkle here is it's not possible to write a generic OPA assign metadata mutator to add the karpenter.sh/do-not-evict annotation b/c you can't find pods by annotation (only by label).
Are you currently working around this issue?
We use OPA assign metadata mutators but have to know all the possible label selectors to find pods in our clusters with the cluster-autoscaler.kubernetes.io/safe-to-evict: "false" annotation.
Additional Context
No response
Attachments
No response
Community Note

Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
If you are interested in working on this issue or have submitted a pull request, please leave a comment

This is an interesting one. I definitely think that it makes from a migration perspective.

you can't find pods by annotation

I'm curious what the path looks like for migration here in your opinion. Do you plan to eventually migrate away from the CAS annotation and start adding the Karpenter annotation with the OPA mutation webhooks.

Tell us about your request
Would be great if Karpenter treated pods with the cluster-autoscaler.kubernetes.io/safe-to-evict annotation as the same as the karpenter.sh/do-not-evict annotation.

I like the idea; I think it should be off by default and easy to opt in to. Perhaps a configuration option for each Provisioner? Something a bit like a selector, but for annotations and only matching the value as be "true", "false" or neither.


Support multiple projects

Is your feature request related to a problem? Please describe.
We have multiple dbt projects in different repository. Is it possible for Elementary to support generating report and visualise lineage across the projects?
Additional Context
I tried running dbt run/test and generated report with edr but I could see the report only for project whichever runs last.

Hi @gopisaba!
This request was raised by many of our users (and by many dbt users in general) and this is indeed something we plan to support. dbt are also working on multi-project support and this is something we are looking into.
We will update once we know the timeline and how we plan to tackle it:)

@Hadarsagiv is there any update on this issue please? I would be happy to jump on a call to discuss why Elementary doesn't currently work with our implementation.

@Hadarsagiv dug this up to see if I should make a request - is there any update on this?


CI

It would be helpful to test this, also on PHP 5.x as far as possible.

Hi, does the CI you said means continuous integration? It's a good Idea, I will try it in my free time 😄
btw, I don't think that this will work on PHP 5.x because of the following reason:

Things like 'phpinfo'(); never work in PHP 5, you will just get a syntax error. But in my code need things like this to execute function. 😢
I want to support unicode characters like Chinese, Japanese, Emoji or something else, but it is a little tricky to do this  in php 5 😢


Temp fix: UI bug crashing parsing validation errors

Rebased, and merged.
Thanks for your contribution !


Unable to addEventListener to window in 3.0.x

This code no longer works after updating to v3.0.0
this.addEventListener(window, 'mousemove', fn);
It triggers the assertion at https://github.com/rwjblue/ember-lifeline/blob/master/addon/dom-event-listeners.js#L147 as the window does not have a nodeType property.

Sorry about that! Thanks for working on the fix...


doc: update to version 1.15.2 and 1.16.0

Closes #66
Signed-off-by: Leonardo Cecchi<EMAIL_ADDRESS>

Superseded by #68


Integer overflow caught by Harvey but not Mythril - why?

Description
Here is an example of something that the fuzzer Harvey catches that Mythril doesn't. Why? And should Mythril also detect it?
How to Reproduce
$ myth -x -c "60d761002f600b82828239805160001a6073146000811461001f57610021565bfe5b5030600052607381538281f3fe73000000000000000000000000000000000000000030146080604052600436106050576000357c01000000000000000000000000000000000000000000000000000000009004806396e4ee3d146055575b600080fd5b608860048036036040811015606957600080fd5b810190808035906020019092919080359060200190929190505050609e565b6040518082815260200191505060405180910390f35b600081830290509291505056fea165627a7a7230582094ca199c801839337331343f733fa7283c9d7f430a20e7ec95933a083287a6d80029"
$

Expected behavior

Here is what harvey-cli reports:
$ cat ConvertLib-test.json | harvey-cli
{
    "issues": [
        {
            "swc-id": "SWC-101",
            "title": "integer overflow",
            "details": "Integer overflows are often not intended. Make sure your contracts take appropriate precautions when performing arithmetic operations.",
            "code-hash": "0x8faf42982cb593efd96aa4dcc7ba90e8d264168b04fd21bdcae48332bd7d533d",
            "function-signature": "96e4ee3d",
            "bytecode-offset": 163,
            "stack-trace": [],
            "time-secs": 4.1114236
        }
    ],
    "covered-paths": 5,
    "covered-instructions": 99,
    "error": "",
    "total-time-secs": 36.00175275
}

Environment

Mythril version v0.20.0
Python 3.6.6
Ubuntu bionic

@rocky , is the solidity source code available for the test case?

Sorry - here it is:
pragma solidity >=0.4.22 <0.6.0;

library ConvertLib {
	function convert(uint amount,uint conversionRate) public pure returns (uint convertedAmount)
	{
		return amount * conversionRate;
	}
}

and yes the failure may be because this is a library rather than a contract. Is there an issue already for handling libraries? (Note though that the #936 is not from a library.


ValueError: Missing type hint for return value in function train_test_split

For an unknown reason - I'm getting this error even though I've defined a return values in the file
https://github.com/DAGWorks-Inc/tuning-playground/blob/main/ml_project/phase4/split.py

That's odd -- otherwise you don't need the typing import. You can just do dict as the type annotation.

Also to rule out the sklearn function somehow interfering:
from sklearn import model_selection

then in your function do
model_selection.train_test_split(...)


feat: implement fungibles traits

uff.this looks like bit too complicated.
i was thinking if it was possible to implement this directly for the currencies pallet ?

no longer relevat. Closing in favor of https://github.com/galacticcouncil/warehouse/pull/171

no longer relevat. Closing in favor of https://github.com/galacticcouncil/warehouse/pull/171

no longer relevant. Closing in favor of https://github.com/galacticcouncil/warehouse/pull/171

no longer relevant. Closing in favor of https://github.com/galacticcouncil/warehouse/pull/171

no longer relevant. Closing in favor of https://github.com/galacticcouncil/warehouse/pull/171

no longer relevant. Closing in favor of https://github.com/galacticcouncil/warehouse/pull/171


Added support for requires_entry_point_path

Needed for https://github.com/galaxyproject/galaxy/pull/16795
Should result in a new release 0.0.6 after merge. @jchilton

@sveinugu I am actually J. M. Chilton as well but @jchilton. I believe you wanted @jmchilton. Summoned by accident, I am going back into my magic lamp.

@sveinugu I am actually J. M. Chilton as well but @jchilton. I believe you wanted @jmchilton. Summoned by accident, I am going back into my magic lamp.

Sorry...! No three wishes even?

Thanks @sveinugu!


feat(views): create note button in tree view

This PR aims to add a Crete Note button in tree view.

Docs PR: https://github.com/dendronhq/dendron-site/pull/649
Loom video: https://www.loom.com/share/5975b56f2dfb4e0d9615e9a507f2f56e

Dendron Extended PR Checklist

NOTE: the links don't work. you'll need to go into the wiki and use lookup to find the note until we fix some issues in the markdown export

Code
Basics

[x] code should follow Code Conventions
[x] circular dependency check: make sure your code is not introducing new circular dependencies in plugin-core.  See Avoiding Circular Dependencies.
[x] sticking to existing conventions instead of creating new ones

eg: if configuration for utilities are already in one module or package, add future utilities there as well

Extended

General

[x] check whether code be simplified
[x] check if similar function already exist in the codebase. if so, can it be re-used?
[x] check if this change adversely impact performance

Operations

[x] when shipping this change, will it just work or will it introduce additional operational overhead due to complicated interface or known bugs?

Architecture

[x] check if code is introducing changes on a foundational class or interface. if so, call for design review if needed

eg: making changes to DNode

Instrumentation
Basics

[~] if you are adding analytics related changes, make sure the Telemetry docs are updated

Extended

[~] can we track the performance of this change to know if it is successful?

eg: see usage for export pod

Tests
Basics

[ ] Write Tests
[ ] Confirm existing tests pass
[x] Confirm manual testing
[x] Common cases tested
[ ] 1-2 Edge cases tested
[ ] If your tests changes an existing snapshot, snapshots have been updated

Extended
Docs

[x] if your change reflects documentation changes, also submit a PR to dendron-site and mention the doc PR link in your current PR
[ ] does this change introduce a new or better way of doing things that others need to be aware of? if so, an async should be created and a process added in Development or Packages

Close the Loop
Extended

[~]  is this a developer BREAKING change? if another person cloning from this branch will need to adjust their dependencies or mental model of the architecture, then it is. if this is the case, make sure this is communicated according to Close Loop

eg: breaking dev change due to new dependency

Can we also add this to web?


Is it possible to reuse the output of clustering to cluster at different --min-seq-id levels

Am I understanding right that mmseqs cluster DB DB_clu tmp (documented in wiki) does an all-to-all sequence comparison and then builds a graph of similarities between them?
In my use-case I would like to cluster a sequence database at several levels of identity (--min-seq-id). I'm wondering (if my assumption above is correct) if it would be possible to reuse the output of clustering (the all to all matrix of pairwise scores) to do clustering at different identity levels without the penalty of recalculating all pairwise scores.
Please excuse if my understanding is wrong and the clustering works in a different way. Happy to close the issue then.
Environment
Latest precompiled AVX2 binary (f2f2a1c1b0ba6cb4939e68b708909ebabc9d628c)
Ubuntu Linux 16.04.3

Thanks for the help! I will need to study the uniclust_workflow script to understand this fully. I'm still not familiar with the core tools.


Package analysis failed

[ ] Include the log file upgrade-assistant.clef that is produced in the working directory

Describe the bug
A clear and concise description of what the bug is.

FTL] Package analysis failed (analyzer Target compatibility reference analyzer: Collection was modified; enumeration operation may not execute.

Bug believed to be here
https://github.com/dotnet/upgrade-assistant/blob/09731053296437986b252866f024ff9e4ce8ee08/src/extensions/default/Microsoft.DotNet.UpgradeAssistant.Steps.Packages/Analyzers/TargetCompatibilityReferenceAnalyzer.cs#L45
https://github.com/dotnet/upgrade-assistant/blob/09731053296437986b252866f024ff9e4ce8ee08/src/extensions/default/Microsoft.DotNet.UpgradeAssistant.Steps.Packages/Analyzers/TargetCompatibilityReferenceAnalyzer.cs#L88
Exceptions (if any)

Likely System.InvalidOperationException
Further technical details
systeminfo | findstr /B /C:"OS Name" /C:"OS Version"
OS Name:                   Microsoft Windows 10 Pro
OS Version:                10.0.19043 N/A Build 19043
upgrade-assistant --version
0.2.241603+99dc6c7bf12364ae199f7acd8d0d42c631508de0
dotnet --list-sdks
2.2.207 [C:\Program Files\dotnet\sdk]
3.1.101 [C:\Program Files\dotnet\sdk]
3.1.401 [C:\Program Files\dotnet\sdk]
5.0.302 [C:\Program Files\dotnet\sdk]
5.0.400 [C:\Program Files\dotnet\sdk]

@sunandabalu Can you take a look at this? Looks to be in the analysis feature

@ryanliang88 Could you attach the log file and / or the csproj you are seeing this issue for?

@ryanliang88 I don't see the System.InvalidOperationException in the log that you have attached, was it one of the package mentions you cleaned up for privacy reasons?

The exception I specified isn't in the logs and was not ever logged. I suspected it may be that because the error that's in the log is the following line 260:
2021-09-01 15:29:28.013 -07:00 [FTL] Package analysis failed (analyzer Target compatibility reference analyzer: Collection was modified; enumeration operation may not execute.
which I believe is usually the System.InvalidOperationException

Any update to this bug?

@ryanliang88 Is this bug blocking your ability to use UA for upgrade / analyze ? Unfortunately no progress on this yet due to other competing priorities, if this is blocking then we can consider re-prioritizing work on this bug.

It's not completely blocking, but it's blocking the "Update NuGet Packages" step which I've attempted to migrate manually. I was hoping to have this fixed and confirm that I've migrated correctly but it's fine to leave as is for the meantime.
Thanks for the update

It's not completely blocking, but it's blocking the "Update NuGet Packages" step which I've attempted to migrate manually. I was hoping to have this fixed and confirm that I've migrated correctly but it's fine to leave as is for the meantime.
Thanks for the update

@ryanliang88 Adding a simple fix to unblock you - https://github.com/dotnet/upgrade-assistant/pull/850

Lovely, thank you. Do I just wait for PR approval and then rerun the following?:
dotnet tool install -g upgrade-assistant

Lovely, thank you. Do I just wait for PR approval and then rerun the following?:
dotnet tool install -g upgrade-assistant
I'm not totally sure how to get this new update (not sure how to build since I tried building locally but lots of things weren't working)

Once the PR is merged, you will need to pick the tool update from the public AzDO feed like dotnet tool update -g upgrade-assistant --add-source https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-tools/nuget/v3/index.json

I'll give it a shot. Thanks again!

I ran the following twice and it says that:
dotnet tool update -g upgrade-assistant --add-source https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-tools/nuget/v3/index.json
Tool 'upgrade-assistant' was reinstalled with the latest stable version (version '0.3.246302').
What is the version for the PR that was just completed and how do I get it?

I ran the following twice and it says that:
dotnet tool update -g upgrade-assistant --add-source https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-tools/nuget/v3/index.json
Tool 'upgrade-assistant' was reinstalled with the latest stable version (version '0.3.246302').
What is the version for the PR that was just completed and how do I get it?
Edit:
Oh, it seems like the PR is waiting for completion as of this comment

I just merged the PR, we need to wait for the CI to pick the commit and push to the feed. I'll let you know when the process completes.

Great to hear. Thank you!

@ryanliang88 The change is pushed to nuget, you can pick the version 0.3.246501 to get the change.

The bug itself can be considered fully resolved. I'm now unfortunately running into the following issue which is exactly what I had to try to do. Is there anything we can do about this?
https://github.com/dotnet/upgrade-assistant/blob/9814e6485222fc73128b9fdc64633c6a5322b57b/src/extensions/default/Microsoft.DotNet.UpgradeAssistant.Steps.Packages/PackageUpdaterStep.cs#L142

The bug itself can be considered fully resolved. I'm now unfortunately running into the following issue which is exactly what I had to try to do. Is there anything we can do about this?
https://github.com/dotnet/upgrade-assistant/blob/9814e6485222fc73128b9fdc64633c6a5322b57b/src/extensions/default/Microsoft.DotNet.UpgradeAssistant.Steps.Packages/PackageUpdaterStep.cs#L142

@mjrousos could you provide some guidance here?

The PackageUpdaterStep runs dependency analyzers repeatedly until it stops finding things that need to be updated. This is done so that if a later analyzer makes a change previous analyzers have an opportunity to react to it.
Hitting this error is almost certainly a UA bug, but I can't think of why @sunandabalu's recent fix would have triggered it. @ryanliang88, are you able to share the csproj file that is running into this so that we can step through it in a debugger and figure out where the issue is?

I will get back to you ASAP as it's a potential privacy concern that may require review.

I'm getting the following error as well:
[21:20:08 INF] Applying upgrade step Clean up NuGet package references [21:20:08 INF] Adding package reference: Microsoft.DotNet.UpgradeAssistant.Extensions.Default.Analyzers, Version=0.3.261602 [21:20:14 INF] Reference to .NET Upgrade Assistant analyzer package (Microsoft.DotNet.UpgradeAssistant.Extensions.Default.Analyzers, version 0.3.261602) needs to be added [21:20:14 INF] Adding package reference: Microsoft.DotNet.UpgradeAssistant.Extensions.Default.Analyzers, Version=0.3.261602 [21:20:19 INF] Reference to .NET Upgrade Assistant analyzer package (Microsoft.DotNet.UpgradeAssistant.Extensions.Default.Analyzers, version 0.3.261602) needs to be added [21:20:19 INF] Adding package reference: Microsoft.DotNet.UpgradeAssistant.Extensions.Default.Analyzers, Version=0.3.261602 [21:20:25 INF] Reference to .NET Upgrade Assistant analyzer package (Microsoft.DotNet.UpgradeAssistant.Extensions.Default.Analyzers, version 0.3.261602) needs to be added [21:20:25 ERR] Maximum package analysis and update iterations reached. Review NuGet dependencies manually [21:20:25 WRN] Upgrade step Clean up NuGet package references failed: Failed: Maximum package analysis and update iterations reached
Is there any way to manually get around this?


preventing double entry insertion for the current date in cache table.

Left a small comment, also does this work for scorecard too?

Yes it works for scorecard also.