Allow returning a Promise from plugin include() method

Currently, plugins can only synchronously return an array of path strings from their include() method. I have a use case where I need to do something asynchronous to determine what to include. So, it'd be useful for me if I could return a Promise from include(), resolving with an array of path strings.
I took a shot at implementing this already and it seems to work:
diff --git a/lib/plugins.js b/lib/plugins.js
index de2b85e..8499d26 100644
--- a/lib/plugins.js
+++ b/lib/plugins.js
@@ -34,10 +34,12 @@ const getPluginIncludes = plugins => {
     return typeof thing === 'function' ? thing.call(context) : thing;
   };
   const ensureArray = object => Array.isArray(object) ? object : [object];
-  return plugins
+  const flatten = array => Array.prototype.concat.apply([], array);
+  return Promise.all(plugins
   .map(plugin => getValue(plugin.include, plugin))
   .filter(paths => paths)
-  .reduce((acc, elem) => { return acc.concat(ensureArray(elem)); }, []);
+  .reduce((acc, elem) => { return acc.concat(ensureArray(elem)); }, []))
+  .then(flatten);
 };

 const requireModule = (depPath, dependencyName) => {
@@ -237,10 +239,11 @@ exports.init = (config, onCompile) => {
     teardowners.forEach(plugin => plugin.teardown());
   };
   speed.profile('Loaded plugins');
-  const includes = getPluginIncludes(plugins);
-  return Promise.resolve({
-    compilers, staticCompilers, linters, includes, teardownBrunch, optimizers,
-    preCompilers, callCompileCallbacks
+  return getPluginIncludes(plugins).then(includes => {
+    return Promise.resolve({
+      compilers, staticCompilers, linters, includes, teardownBrunch, optimizers,
+      preCompilers, callCompileCallbacks
+    });
   });
 };

Do you agree that this could be useful?

I think it could. @paulmillr @es128 wdyt?

Watch out for race conditions, but sounds like a good idea


Create buttons for adding sensordata to dashboard

[ ] Dashboard buttons (1,2,3,...) to be shown on '+'-click
[ ] Additional button for 'add new dashboard'
[ ] Possible to alter name of dashboards
[ ] Add sensor-data to dashboard from List.


Bind net names from VPR route to fasm2v output

This addresses one of the output improvements suggested in #578
This PR should be review as after #585

If @elmsfu reviews and is happy, feel free to merge.


[Bug]: Chat response returns "Empty Response" when no sources are present

Bug Description
Asking the model a question where no answer matches turns up content from the document store returns simply "Empty Response" when no document nodes were returned through the retrieval engine. This is not a retrieval error, I actually want to get the "raw" model response in that case. The index does have documents, I just want to get the raw model response when no documents were found.
The bug seems to happen with streaming or non-streaming responses.
The other issues around this topic seem to happen only with other llms, I'm using openai:

https://github.com/run-llama/llama_index/issues/8973
https://github.com/run-llama/llama_index/issues/624
https://github.com/run-llama/llama_index/issues/9394

Version
0.11.21
Steps to Reproduce

Build an index
Create a chat engine with that index
Run chat_engine.chat()

I'll add a minimal code example later.
Relevant Logs/Tracbacks
No response

If the retrieval step returns zero documents, it will return empty response yes
That being said, this shouldn't be an issue for most chat engines like the context chat engines, or agents.

Is there a way to configure or disable this?


Allow for <script type="module"... in component libraries.

JavaScript modules are supported by all of the evergreen browsers now. This has led me to experimenting with some ideas of how to tidy up JavaScript interops when using Blazor.
I feel like having the ability to use native JavaScript modules could lead to some clean abstractions around JS interopos. The following code works when adding the scripts manually to index.html.
Ex:
// FooHandler.js
function doFoo() { alert("Foo Triggered") }
export { doFoo };

// FooInterop.js
import { doFoo } from './FooHandler.js';
window.myNamespace = {
    foo: doFoo
}

<!-- index.html -->
<script src="./FooInterop.js" type="module"></script>

The problem arises when you attempt this from a Blazor Component Library. Since the <script> tags are automagically added to index.html, there is no way to denote that they require the type\module attribute.
The following line fails because it is added by the framework and misses the required type\module attribute.
<script src="_content/DownloadComponents/FooInterop.js">

In addition, any js files in the folder are also added. In the case of modules, and when using modules, they are not necessary to have.
<!-- Foo Handler is not needed because it's already imported via FooInterop -->
<script src="_content/DownloadComponents/FooHandler.js">
<script src="_content/DownloadComponents/FooInterop.js">

This approach may be a bit forward thinking since most JS devs use some sort of bundle tool like Webpack. However, modules are now recognized by the browser, so why not embrace it?

This is a good idea, @EdCharbeneau. Thanks for raising it!
What do you think would be the preferred way of indicating whether or not a given .js file should be injected with the type='module' attribute? It could be in the filename, for example MyStuff.module.js. Or we could tell developers to put some config in their .csproj, e.g., <ModuleScripts Include="MyStuff.js" />.

i like the  Mystuff.module.js  convention. makes it explicitly clear that a js file is a module.

My concern with myStuff.module.js is that existing JS libraries would need to be renamed. However it would make a nice option if we could have both suggestions implemented.
The .csproj approach works, I would suggest a wildcard option so you don't have to explicitly name each module.
<ModuleScripts Include="modules\**\*.js" />

or add an attribute to EmbeddedResource, this way it's extensible if new attributes are implemented.
<EmbeddedResource Include="modules\**\*.js" IsModule="true" LogicalName="..." />

Other scenarios could include async and deferred.
<EmbeddedResource Include="modules\**\*.js" IsAsyunc="true" LogicalName="..." />

ahh i see. well - if both can be provided … that will be a bonus for sure 😄
Wildcard makes sense in the ModuleScripts node … 👍

@richicoder1 JavaScript ecosystem or Browser support?


Add nullable ref annotations

At this point, I've annotated all the APIs that pretty obviously accept or return null by design. But this produces 17 warnings due to potential NREs that I'm not sure what the design is.
I'm hoping that @jim-dale will help advise and/or contribute to the PR with required fixes. Otherwise I can continue to make best guesses.
Closes #3

I will check through this PR and cross reference your changes with the OFX spec when I get a chance. Thanks Andrew


Not possible to run this on Windows machine

Is it possible to launch it on Windows machine?
I'm getting "SafariDriver was not found; are you running Safari 10 or later?.." exception, but I'm not able to install Safari, I'm on Windows..

@DmitriiK not at the moment. As stated on the README:

Luta assumes that you are a Mac user and your application is executed on the foreground. That enables Luta to access HTML pages over Safari, and bypass any scraper protection on the server side.

You can modify crawler.py - _call_url to use a different browser though. You are more than welcome to make the browser parametric and send a pull request.

Closing due to inactivity, @DmitriiK  . You are still more then welcome to send a pull request.


Support inline html inside markdown

Temporarily disabled this feature to simplify getting basic markdown features working, but it can be REALLY useful to add support for this so we can wrap parts of a markdown file with classnames, e.g.
<div class="tile">
## [This is some article title](/path/to/article/id)

This is some article short description
</div>

Note to self: KotlinRenderer and MarkdownComponents are where to start

So it turns out there's inline html and blocked html and they are handled differently.
I can add support for inline html for now - it's the more useful if all you want to do it tag a range of text with a special ID - but block html may be hard if not impossible. It gives you a HUGE chunk of raw html and I don't think I should be in the business of parsing it.
We'll find out what users actually need if more people start using Kobweb, and we can figure out next best steps from there. There may be simple workarounds for most cases where people think they need a block html using Kotlin code instead.


Add post

Please add this post:
Blog RSS/Atom/JSON Feed: http://imag-pim.org/index.xml
Blog Homepage: imag-pim.org
Author Name: Matthias Beyer
Categories: one or more of: Crates: Applications/CLI

Was there a specific post you want shared or did you want to make me aware of your feed? If the latter, I am subscribed :+1:

The latter, I am looking for contributors and I think it is a good idea if my articles appear in the read rust feed.
My feed is rather low-volume, with less than one article per month at the moment (sadly, I would love if the project would move faster)!

Going to close as I'm subscribed to your feed.


Add error and panic docs to entry associated function new

Adds some docs to Entry::new about errors and panics.
I spent too long figuring out why the return was a Result when the docs do not mention what could go wrong.
Feel free to adjust wording as desired.

Just FYI, I probably won't publish a release with these changes for several weeks, because I'm working on some code changes and will wait for them to be done.  But thanks again for the contribution!


TypeError: list indices must be integers or slices, not str

Issue description
Terminal output (from Wandb): output.log
log: log.log
version_info.log
Config file
{
    "command": "train",
    "gpu_ids": [4],
    "path_output": "seg_lesion_output",
    "model_name": "seg_lesion_model",
    "debugging": true,
    "object_detection_params": {
        "object_detection_path": null,
        "safety_factor": [1.0, 1.0, 1.0]
    },
    "wandb": {
        "wandb_api_key": "9095e2bc9e4ab445d478c9c8a81759ae908be8c6",
        "project_name": "basel-mp2rage-lesion",
        "group_name": "my_group",
        "run_name": "run-1",
        "log_grads_every": 100
    },
    "loader_parameters": {
        "path_data": ["/home/GRAMES.POLYMTL.CA/p101317/data_nvme_p101317/data_seg_mp2rage_20221212_175444/data_processed_lesionseg"],
        "subject_selection": {
            "n": [],
            "metadata": [],
            "value": []
        },
        "target_suffix": [["_lesion-manual", "_lesion-manual2"]],
        "extensions": [],
        "roi_params": {
            "suffix": null,
            "slice_filter_roi": null
        },
        "contrast_params": {
            "training_validation": ["UNIT1"],
            "testing": ["UNIT1"],
            "balance": {}
        },
        "slice_filter_params": {
            "filter_empty_mask": false,
            "filter_empty_input": false
        },
        "slice_axis": "axial",
        "multichannel": false,
        "soft_gt": false
    },
    "split_dataset": {
        "fname_split": null,
        "random_seed": 42,
        "center_test": [],
        "method": "per_patient",
        "balance": null,
        "train_fraction": 0.75,
        "test_fraction": 0.2
    },
    "training_parameters": {
        "batch_size": 4,
        "loss": {
            "name": "DiceLoss"
        },
        "training_time": {
            "num_epochs": 100,
            "early_stopping_patience": 200,
            "early_stopping_epsilon": 0.001
        },
        "scheduler": {
            "initial_lr": 1e-3,
            "lr_scheduler": {
                "name": "CosineAnnealingLR",
                "base_lr": 1e-5,
                "max_lr": 1e-3
            }
        },
        "balance_samples": {
            "applied": false,
            "type": "gt"
        },
        "mixup_alpha": null,
        "transfer_learning": {
            "retrain_model": null,
            "retrain_fraction": 1.0,
            "reset": true
        }
    },
    "default_model": {
        "name": "Unet",
        "dropout_rate": 0.3,
        "bn_momentum": 0.1,
        "depth": 4,
        "is_2d": false,
        "final_activation": "sigmoid"
    },
    "uncertainty": {
        "epistemic": false,
        "aleatoric": false,
        "n_it": 0
    },
    "postprocessing": {"binarize_prediction": {"thr": 0.5}},
    "evaluation_parameters": {},
    "transformation": {
        "Resample": {
            "wspace": 1.0,
            "hspace": 1.0,
            "dspace": 1.0
        },
        "CenterCrop": {
            "size": [32, 64, 128]
        },
        "RandomReverse": {
            "applied_to": ["im", "gt"],
            "dataset_type": ["training"]
        },
        "RandomAffine": {
            "degrees": 10,
            "scale": [0.2, 0.2, 0.2],
            "translate": [0.2, 0.2, 0.2],
            "applied_to": ["im", "gt"],
            "dataset_type": ["training"]
        },
        "ElasticTransform": {
            "alpha_range": [25.0, 35.0],
            "sigma_range": [3.5, 5.5],
            "p": 0.5,
            "applied_to": ["im", "gt"],
            "dataset_type": ["training"]
        },
        "RandomGamma": {
            "log_gamma_range": [-1.5, 1.5],
            "p": 0.5,
            "applied_to": ["im"],
            "dataset_type": ["training"]
        },
        "NumpyToTensor": {},
        "NormalizeInstance": {
            "applied_to": ["im"]
        }
    },
    "Modified3DUNet": {
        "applied": true,
        "length_3D": [32, 64, 128],
        "stride_3D": [32, 64, 128],
        "attention": false,
        "n_filters": 8
    }
}

Possibly related to https://github.com/ivadomed/ivadomed/issues/815

Running debugging mode, the issue arrives here:
https://github.com/ivadomed/ivadomed/blob/9bb4e7f7bdf72971b3f0559e9dac03d18353f98d/ivadomed/transforms.py#L719
Inspecting the variables:
[angle, axes]
[-0.05377395512467591, [0, 2]]
metadata[MetadataKW.ROTATION] = [angle, axes]
Traceback (most recent call last):
  File "/Applications/PyCharm CE.app/Contents/plugins/python-ce/helpers/pydev/_pydevd_bundle/pydevd_exec2.py", line 3, in Exec
    exec(exp, global_vars, local_vars)
  File "<input>", line 1, in <module>
TypeError: list indices must be integers or slices, not str

Interestingly there is no "str":
type(angle)
<class 'float'>
type(axes)
<class 'list'>
type(axes[0])
<class 'int'>
type(axes[1])
<class 'int'>

Ah! wait, the error stems from the call to:
metadata[MetadataKW.ROTATION]

Because MetadataKW.ROTATION is a string.

From https://github.com/ivadomed/ivadomed/issues/815, the culprit was the presence of the field "NumpyToTensor" in the data augmentation, which is indeed listed in my original config file (https://github.com/ivadomed/ivadomed/issues/1213#issue-1494577149).
However, I tried with another config file, based on the latest ivadomed version, and I still observe the error.
More recent config file
{
    "command": "train",
    "gpu_ids": [4],
    "path_output": "model_seg_lesion_mp2rage_",
    "model_name": "model_seg_lesion_mp2rage",
    "debugging": true,
    "object_detection_params": {
        "object_detection_path": null,
        "safety_factor": [1.0, 1.0, 1.0]
    },
    "wandb": {
        "wandb_api_key": "9095e2bc9e4ab445d478c9c8a81759ae908be8c6",
        "project_name": "basel-mp2rage-lesion",
        "group_name": "my_group",
        "run_name": "run-3",
        "log_grads_every": 100
    },
    "loader_parameters": {
        "path_data": ["/Users/julien/temp/model_seg_basel/data_processed_lesionseg_small"],
        "subject_selection": {"n": [], "metadata": [], "value": []},
        "target_suffix": ["_lesion-manual", "_lesion-manual3"],
        "extensions": [".nii.gz"],
        "roi_params": {
            "suffix": null,
            "slice_filter_roi": null
        },
        "contrast_params": {
            "training_validation": ["UNIT1"],
            "testing": ["UNIT1"],
            "balance": {}
        },
        "slice_filter_params": {
            "filter_empty_mask": false,
            "filter_empty_input": true
        },
        "slice_axis": "axial",
        "multichannel": false,
        "soft_gt": false,
        "bids_validate": true
    },
    "split_dataset": {
        "fname_split": null,
        "random_seed": 42,
        "split_method" : "participant_id",
        "data_testing": {"data_type": null, "data_value":[]},
        "balance": null,
        "train_fraction": 0.6,
        "test_fraction": 0.2
    },
    "training_parameters": {
        "batch_size": 4,
        "loss": {
            "name": "DiceLoss"
        },
        "training_time": {
            "num_epochs": 50,
            "early_stopping_patience": 50,
            "early_stopping_epsilon": 0.001
        },
        "scheduler": {
            "initial_lr": 0.001,
            "lr_scheduler": {
                "name": "CosineAnnealingLR",
                "base_lr": 1e-5,
                "max_lr": 1e-3
            }
        },
        "balance_samples": {
            "applied": false,
            "type": "gt"
        },
        "mixup_alpha": null,
        "transfer_learning": {
            "retrain_model": null,
            "retrain_fraction": 1.0,
            "reset": true
        }
    },
    "default_model": {
        "name": "Unet",
        "dropout_rate": 0.3,
        "bn_momentum": 0.1,
        "final_activation": "sigmoid",
        "depth": 3
    },
    "FiLMedUnet": {
        "applied": false,
        "metadata": "contrasts",
        "film_layers": [0, 1, 0, 0, 0, 0, 0, 0, 0, 0]
    },
    "Modified3DUNet": {
        "applied": true,
        "length_3D": [32, 64, 128],
        "stride_3D": [32, 64, 128],
        "attention": false,
        "n_filters": 8
    },
    "uncertainty": {
        "epistemic": false,
        "aleatoric": false,
        "n_it": 0
    },
    "postprocessing": {
        "remove_noise": {"thr": -1},
        "keep_largest": {},
        "binarize_prediction": {"thr": 0.5},
        "uncertainty": {"thr": -1, "suffix": "_unc-vox.nii.gz"},
        "fill_holes": {},
        "remove_small": {"unit": "vox", "thr": 3}
    },
    "evaluation_parameters": {
        "target_size": {"unit": "vox", "thr": [20, 100]},
        "overlap": {"unit": "vox", "thr": 3}
    },
    "transformation": {
        "Resample":
        {
            "hspace": 1,
            "wspace": 1,
            "dspace": 1
        },
        "CenterCrop": {
            "size": [32, 64, 128]},
        "RandomAffine": {
            "degrees": 10,
            "scale": [0.2, 0.2, 0.2],
            "translate": [0.2, 0.2, 0.2],
            "applied_to": ["im", "gt"],
            "dataset_type": ["training"]
        },
        "ElasticTransform": {
			"alpha_range": [28.0, 30.0],
			"sigma_range":  [3.5, 4.5],
			"p": 0.1,
            "applied_to": ["im", "gt"],
            "dataset_type": ["training"]
        },
      "NormalizeInstance": {"applied_to": ["im"]}
    }
}

From #815, the culprit was the presence of the field "NumpyToTensor" in the data augmentation, which is indeed listed in my original config file (#1213 (comment)).
However, I tried with another config file, based on the latest ivadomed version, and I still observe the error.

Based on #830, old config file with the "NympyToTensor" key are supposed to be retrocompatible, so I don't think this is the issue here.
Let me test it on my side to reproduce the issue and I'll get back to you asap.

As a side note, we should make sure to add a test with the fix so we can catch this in the future.

Thank you very much for the excellent detective work @mariehbourget 🙏 . I'm surprised this hasn't been caught before.

Seems like more testing with 3D test pathway will be required. I will make a note to test that part as well in the Loader V2.

Ok, I found where this is happening!
The issue is complicated but the fix should be easy.
In short:

In 3D, the metadata variable in RandomAffine is a list of SampleMetadata object and directly cause the error message reported (as mentioned above).
In 2D, it does not happen because the metadata variable is a SampleMetadata object (not a list).
Up until the call for transforms (here in 3D and here in 2D) the metadata is a list.
Looking closely to data augmentation transforms (ex: RandomAffine or ElasticTransform), many of them have the 2 following wrapper: multichannel_capable and two_dim_compatible.
In multichannel_capable, when the sample is a list, the metadata is returned as a SampleMetadata object, whereas when the sample is not a list, the metadata is returned "as is" (as a list).
In the call for transforms (again here in 3D and here in 2D), the sample is a numpy array in 3D and a list in 2D
Conclusion: the difference of type for the sample is causing the difference in type for metadata when going through multichannel capable.

The bug is fairly recent and was introduced in PR #1169 in July.

In 3D: when calling the transform here, stack_input is a numpy array (causing the issue) where before it was a list called seg_pair['input'].
In 2D: the equivalent operation is done here where stack_input is converted to a list when calling the transform (hence no issue).

As I said, the fix should be simple, but I will require some time to test it properly in different scenarios (2D/3D, single/multi-channel and single/multi-rater).
I should be able to open a PR by the end of the day tomorrow.


Add DataTypes documentation

This PR is a follow-up to the dtypes refactor started in #490 and initially discussed in #369. It adds documentation for the DataType in the api reference section as well as a section about customizing data types.
I also added some niceties:

re-organized api reference into sub-sections to keep the side menu tidy. Sphinx defaults to lexical order and it was a mess with
all the data type additions.
added xdoctest to CI to test docstrings
added doctest builder to sphinx-build when running locally (replicate github CI).
ignored python prompts when copying example from doc (strip >>> present in docstring examples).
unpinned sphinx, working so far...

I also had to pin the furo theme. The latest release change the path to the assets reference in conf.py. I did not want to mess with that in this PR...
@cosmicBboy Let me know what you think about the documentation. I was trying to remain concise and not bother users with irrelevant details. Someone who wants to add a completely new third-party library will likely get in touch and we could then explain the finer details.

CI does not pick up the PR, will re-create

No idea why github checks are not added. They worked on previous PR #504, opening a new PR #537 did not solve the problem. The only modification to ci-tests.yml is an added test here.

@jeffzi thanks! looks like there are some conflicts, probably because I messed around with the docs/dtype modules a little: https://github.com/pandera-dev/pandera/commit/61274549fa89210eb002b0d4ecaec598d3493418

looks like there are some conflicts,

Interesting, I didn't know conflicts could prevent CI from running. Thanks for the help :)
Code coverage could be improved but it's probably better to save that for another PR. I think dtypes branch looks ready to be merged into dev :crossed_fingers:

Code coverage could be improved but it's probably better to save that for another PR. I think dtypes branch looks ready to be merged into dev 🤞

@jeffzi very soon! actually dtypes should be merged onto the release/0.7.0 branch, since dev is for bugfix releases.
Gonna have to do a little dance to get this to all work smoothly, but basically there are a couple of things I wanted to do as part of 0.7.0 release. Now that pandera has a steady stream of regular users and new ones coming in every few weeks (I'd say pandera is no longer a personal project), I'd like to break as little as possible and put a deprecation policy in place.
It's gonna be a little more work, but I think it'll be worth it so that we set a good precedent for not pulling the rug from under unsuspecting users :)
So what does this mean?

Add back the Column(pandas_dtype=...) kwarg (to exist alongside dtype arg)

user cannot specify both pandas_dtype and dtype
if using pandas_dtype, DeprecationWarning is raised telling the user to use dtype

Add back PandasDtype enum that simply aliases the types that you introduced (based on issues raised at least a few people are using PandasDtype

DeprecationWarning is raised whenever this enum is used

On a related note, I'm wondering if maintaining bugfix patches to 0.6.* would make sense. It might be a pain, but I've already gotten a request to loosen the pandas requirements due to legacy codebases using pandas==0.23.4 but wanting to use pandera (someone has even asked if they can fork and publish a pandera-legacy package for legacy pandas.

I agree with putting back pandera_dtype and PandasDtype + deprecation warnings (targeted to 0.8.0 or 0.9.0?).
Personally, I think maintaining 0.6.* patches is overkill, even pandas doesn't do that for versions < 1.0. Especially since pandera is still maturing at a very fast pace. Legacy pandas indeed proved to be a pain to maintain. I don't really see the point of a pandera-legacy Vs locking the requirements to 0.6.0. The fork won't be able to keep up with new features imho.
re: 0.7.0. Let me know where you'd prefer me to help. I mean, maybe you'd want to handle deprecation warnings yourself?

re: 0.7.0. Let me know where you'd prefer me to help. I mean, maybe you'd want to handle deprecation warnings yourself?

Yeah I'll work on that, shouldn't be too much effort.

Personally, I think maintaining 0.6.* patches is overkill

Yeah, that's what I'm leaning towards right now... anyway it's open source, so whoever wants to make it work with legacy pandas can do it themselves :)


Supplier parts and order lines that include multiple Parts

A concrete example:
A supplier sells a bag of bullet connectors containing three of each gender, all under one SKU.
The BOM for an assembly uses three of the female bullet connectors.

Closed in https://github.com/inventree/InvenTree/pull/3644


CI: Multicluster: pod-to-service: Flow validation failed

Happened in a PR changing only the way flags are validated, where Jenkins tests are passing (give or take a few flakes): https://github.com/cilium/cilium/runs/2655001058.
logs_103649.zip
cilium-sysdump-out.zip.zip
---------------------------------------------------------------------------------------------------------------------
🔌 [pod-to-service] Testing cilium-test/client-8655c47fd7-6xxpg -> echo-other-node:8080 (ClusterIP):8080...
---------------------------------------------------------------------------------------------------------------------
❌ curl command "curl -w %***local_ip***:%***local_port*** -> %***remote_ip***:%***remote_port*** = %***response_code***\n --show-error --silent --fail --show-error --connect-timeout 5 --output /dev/null echo-other-node:8080" failed: command terminated with exit code 28
ℹ  curl error: curl: (28) Connection timed out after 5000 milliseconds

❌ Flow validation failed for pod cilium-test/client-8655c47fd7-6xxpg: 2 failures (first: 0, last: 0, matched: 3, nlog: 5)
✅ DNS request found for pod cilium-test/client-8655c47fd7-6xxpg
✅ DNS response found for pod cilium-test/client-8655c47fd7-6xxpg
✅ SYN found for pod cilium-test/client-8655c47fd7-6xxpg
❌ SYN-ACK and(ip(dst=<IP_ADDRESS>),or(tcp(srcPort=8080),tcp(srcPort=8080)),tcpflags(syn,ack)) not found for pod cilium-test/client-8655c47fd7-6xxpg
❌ FIN and(or(and(ip(src=<IP_ADDRESS>),or(tcp(dstPort=8080),tcp(dstPort=8080))),and(ip(dst=<IP_ADDRESS>),or(tcp(srcPort=8080),tcp(srcPort=8080)))),tcpflags(ack,fin)) not found for pod cilium-test/client-8655c47fd7-6xxpg
📄 Flow logs of pod cilium-test/client-8655c47fd7-6xxpg:
✅May 24 10:07:52.175: cilium-test/client-8655c47fd7-6xxpg:56403 -> kube-system/kube-dns-5d54b45645-m2hds:53 from-endpoint FORWARDED (UDP)
❓May 24 10:07:52.175: cilium-test/client-8655c47fd7-6xxpg:56403 -> kube-system/kube-dns-5d54b45645-m2hds:53 to-stack FORWARDED (UDP)
❓May 24 10:07:52.175: cilium-test/client-8655c47fd7-6xxpg:56403 -> kube-system/kube-dns-5d54b45645-m2hds:53 to-network FORWARDED (UDP)
❓May 24 10:07:52.175: cilium-test/client-8655c47fd7-6xxpg:56403 -> kube-system/kube-dns-5d54b45645-m2hds:53 from-endpoint FORWARDED (UDP)
❓May 24 10:07:52.175: cilium-test/client-8655c47fd7-6xxpg:56403 -> kube-system/kube-dns-5d54b45645-m2hds:53 to-stack FORWARDED (UDP)
❓May 24 10:07:52.175: cilium-test/client-8655c47fd7-6xxpg:56403 -> kube-system/kube-dns-5d54b45645-m2hds:53 to-network FORWARDED (UDP)
❓May 24 10:07:52.177: cilium-test/client-8655c47fd7-6xxpg:56403 -> kube-system/kube-dns-5d54b45645-m2hds:53 from-network FORWARDED (UDP)
❓May 24 10:07:52.177: cilium-test/client-8655c47fd7-6xxpg:56403 -> kube-system/kube-dns-5d54b45645-m2hds:53 from-network FORWARDED (UDP)
❓May 24 10:07:52.177: cilium-test/client-8655c47fd7-6xxpg:56403 -> kube-system/kube-dns-5d54b45645-m2hds:53 from-stack FORWARDED (UDP)
❓May 24 10:07:52.177: cilium-test/client-8655c47fd7-6xxpg:56403 -> kube-system/kube-dns-5d54b45645-m2hds:53 to-endpoint FORWARDED (UDP)
❓May 24 10:07:52.177: cilium-test/client-8655c47fd7-6xxpg:56403 -> kube-system/kube-dns-5d54b45645-m2hds:53 from-stack FORWARDED (UDP)
❓May 24 10:07:52.177: cilium-test/client-8655c47fd7-6xxpg:56403 -> kube-system/kube-dns-5d54b45645-m2hds:53 to-endpoint FORWARDED (UDP)
✅May 24 10:07:52.177: kube-system/kube-dns-5d54b45645-m2hds:53 -> cilium-test/client-8655c47fd7-6xxpg:56403 from-endpoint FORWARDED (UDP)
❓May 24 10:07:52.177: kube-system/kube-dns-5d54b45645-m2hds:53 -> cilium-test/client-8655c47fd7-6xxpg:56403 to-stack FORWARDED (UDP)
❓May 24 10:07:52.177: kube-system/kube-dns-5d54b45645-m2hds:53 -> cilium-test/client-8655c47fd7-6xxpg:56403 to-network FORWARDED (UDP)
❓May 24 10:07:52.177: kube-system/kube-dns-5d54b45645-m2hds:53 -> cilium-test/client-8655c47fd7-6xxpg:56403 from-endpoint FORWARDED (UDP)
❓May 24 10:07:52.177: kube-system/kube-dns-5d54b45645-m2hds:53 -> cilium-test/client-8655c47fd7-6xxpg:56403 to-stack FORWARDED (UDP)
❓May 24 10:07:52.177: kube-system/kube-dns-5d54b45645-m2hds:53 -> cilium-test/client-8655c47fd7-6xxpg:56403 to-network FORWARDED (UDP)
❓May 24 10:07:52.178: kube-system/kube-dns-5d54b45645-m2hds:53 -> cilium-test/client-8655c47fd7-6xxpg:56403 from-network FORWARDED (UDP)
❓May 24 10:07:52.178: kube-system/kube-dns-5d54b45645-m2hds:53 -> cilium-test/client-8655c47fd7-6xxpg:56403 from-network FORWARDED (UDP)
❓May 24 10:07:52.178: kube-system/kube-dns-5d54b45645-m2hds:53 -> cilium-test/client-8655c47fd7-6xxpg:56403 from-stack FORWARDED (UDP)
❓May 24 10:07:52.178: kube-system/kube-dns-5d54b45645-m2hds:53 -> cilium-test/client-8655c47fd7-6xxpg:56403 to-endpoint FORWARDED (UDP)
❓May 24 10:07:52.178: kube-system/kube-dns-5d54b45645-m2hds:53 -> cilium-test/client-8655c47fd7-6xxpg:56403 from-stack FORWARDED (UDP)
❓May 24 10:07:52.178: kube-system/kube-dns-5d54b45645-m2hds:53 -> cilium-test/client-8655c47fd7-6xxpg:56403 to-endpoint FORWARDED (UDP)
✅May 24 10:07:52.178: cilium-test/client-8655c47fd7-6xxpg:44134 -> cilium-test/echo-other-node:8080 from-endpoint FORWARDED (TCP Flags: SYN)
❓May 24 10:07:52.178: cilium-test/client-8655c47fd7-6xxpg:44134 -> cilium-test/echo-other-node:8080 to-stack FORWARDED (TCP Flags: SYN)
❓May 24 10:07:52.178: cilium-test/client-8655c47fd7-6xxpg:44134 -> cilium-test/echo-other-node:8080 to-network FORWARDED (TCP Flags: SYN)
❓May 24 10:07:53.225: cilium-test/client-8655c47fd7-6xxpg:44134 -> cilium-test/echo-other-node:8080 from-endpoint FORWARDED (TCP Flags: SYN)
❓May 24 10:07:53.225: cilium-test/client-8655c47fd7-6xxpg:44134 -> cilium-test/echo-other-node:8080 to-stack FORWARDED (TCP Flags: SYN)
❓May 24 10:07:53.225: cilium-test/client-8655c47fd7-6xxpg:44134 -> cilium-test/echo-other-node:8080 to-network FORWARDED (TCP Flags: SYN)
❓May 24 10:07:55.273: cilium-test/client-8655c47fd7-6xxpg:44134 -> cilium-test/echo-other-node:8080 from-endpoint FORWARDED (TCP Flags: SYN)
❓May 24 10:07:55.273: cilium-test/client-8655c47fd7-6xxpg:44134 -> cilium-test/echo-other-node:8080 to-stack FORWARDED (TCP Flags: SYN)
❓May 24 10:07:55.273: cilium-test/client-8655c47fd7-6xxpg:44134 -> cilium-test/echo-other-node:8080 to-network FORWARDED (TCP Flags: SYN)
❌ [pod-to-service] cilium-test/client-8655c47fd7-6xxpg (<IP_ADDRESS>) -> echo-other-node:8080 (ClusterIP) (echo-other-node:8080)

I ran into this same error during a Multicluster run:
CI Run: https://github.com/cilium/cilium-cli/runs/4373094252?check_suite_focus=true
Cilium Sysdump: https://github.com/cilium/cilium-cli/suites/4510490190/artifacts/120542303

@soggiest Could you open a bug report on the cilium-cli repository? Was it a one-off failure or was it consistently failing?

It's failed a couple of times one me, not consistently. I'll open a new ticket.


OOM Error when training NeRF360 Bicycle Dataset

When using Grendel to train on the NeRF360 Bicycle dataset (194 images, 9.45 GB), I encounter an OOM error when trying to run the sample training command with 4 GPU and a Batch Size of 4. This data runs fine at native resolution on the original 3DGS training code.
torchrun --standalone --nnodes=1 --nproc-per-node=4 train.py --bsz 4 -s ../data/NeRF360/bicycle/undistorted --eval

There are some initial errors regarding setting GPU barrier to rank, unsure if this is an issue.
[rank0]:[W1225 01:04:45.574901746 ProcessGroupNCCL.cpp:4115] [PG ID 0 PG GUID 0 Rank 0]  using GPU 0 to perform barrier as devices used by this process are currently unknown. This can potentially cause a hang if this rank to GPU mapping is incorrect.Specify device_ids in barrier() to force use of a particular device,or call init_process_group() with a device_id.

After it finishes loading camera from disk, it then begins the "Decode Training Camera" step and begins to preload dataset to GPU. This seems to only load a subset of the images (169 out of 194?) and quickly results in a OOM error.
Decoding Training Cameras [25/12 01:14:44]
[NOTE]: Preloading dataset(9.458987592GB) to GPU. Disable local_sampling and distributed_dataset_storage. [25/12 01:14:44]
  0%|                                                                  | 0/169 [00:00<?, ?it/s][NOTE]: Preloading dataset(9.458987592GB) to GPU. Disable local_sampling and distributed_dataset_storage. [25/12 01:14:44]
[NOTE]: Preloading dataset(9.458987592GB) to GPU. Disable local_sampling and distributed_dataset_storage. [25/12 01:14:44]
100%|████████████████████████████████████████████████████████| 169/169 [00:18<00:00,  9.26it/s]
 75%|██████████████████████████████████████████              | 127/169 [00:02<00:00, 50.12it/s]
[rank0]: Traceback (most recent call last):
[rank0]:   File "/workspace/Grendel-GS/train.py", line 82, in <module>
[rank0]:     train_internal.training(
[rank0]:   File "/workspace/Grendel-GS/train_internal.py", line 46, in training
[rank0]:     scene = Scene(args, gaussians)
[rank0]:   File "/workspace/Grendel-GS/scene/__init__.py", line 131, in __init__
[rank0]:     self.train_cameras = cameraList_from_camInfos(train_cameras, args)
[rank0]:   File "/workspace/Grendel-GS/utils/camera_utils.py", line 226, in cameraList_from_camInfos
[rank0]:     loadCam(
[rank0]:   File "/workspace/Grendel-GS/utils/camera_utils.py", line 73, in loadCam
[rank0]:     return Camera(
[rank0]:   File "/workspace/Grendel-GS/scene/cameras.py", line 68, in __init__
[rank0]:     self.original_image_backup = self.original_image_backup.to("cuda")
[rank0]: torch.OutOfMemoryError: CUDA out of memory. Tried to allocate 48.00 MiB. GPU 0 has a total capacity of 79.11 GiB of which 48.69 MiB is free. Process 3626438 has 68.36 GiB memory in use. Process 860419 has 9.15 GiB memory in use. Process 860421 has 520.00 MiB memory in use. Process 860420 has 520.00 MiB memory in use. Process 860422 has 520.00 MiB memory in use. Of the allocated memory 5.80 GiB is allocated by PyTorch, and 192.31 MiB is reserved by PyTorch but unallocated. If reserved but unallocated memory is large try setting PYTORCH_CUDA_ALLOC_CONF=expandable_segments:True to avoid fragmentation.  See documentation for Memory Management  (https://pytorch.org/docs/stable/notes/cuda.html#environment-variables)
W1225 01:15:06.045000 165690 site-packages/torch/distributed/elastic/multiprocessing/api.py:897] Sending process 165757 closing signal SIGTERM
W1225 01:15:06.045000 165690 site-packages/torch/distributed/elastic/multiprocessing/api.py:897] Sending process 165758 closing signal SIGTERM
W1225 01:15:06.046000 165690 site-packages/torch/distributed/elastic/multiprocessing/api.py:897] Sending process 165759 closing signal SIGTERM
E1225 01:15:07.977000 165690 site-packages/torch/distributed/elastic/multiprocessing/api.py:869] failed (exitcode: 1) local_rank: 0 (pid: 165756) of binary: /root/miniconda3/envs/grendel/bin/python3.10
Traceback (most recent call last):
  File "/root/miniconda3/envs/grendel/bin/torchrun", line 8, in <module>
    sys.exit(main())
  File "/root/miniconda3/envs/grendel/lib/python3.10/site-packages/torch/distributed/elastic/multiprocessing/errors/__init__.py", line 355, in wrapper
    return f(*args, **kwargs)
  File "/root/miniconda3/envs/grendel/lib/python3.10/site-packages/torch/distributed/run.py", line 919, in main
    run(args)
  File "/root/miniconda3/envs/grendel/lib/python3.10/site-packages/torch/distributed/run.py", line 910, in run
    elastic_launch(
  File "/root/miniconda3/envs/grendel/lib/python3.10/site-packages/torch/distributed/launcher/api.py", line 138, in __call__
    return launch_agent(self._config, self._entrypoint, list(args))
  File "/root/miniconda3/envs/grendel/lib/python3.10/site-packages/torch/distributed/launcher/api.py", line 269, in launch_agent
    raise ChildFailedError(
torch.distributed.elastic.multiprocessing.errors.ChildFailedError:
============================================================
train.py FAILED
------------------------------------------------------------
Failures:
  <NO_OTHER_FAILURES>
------------------------------------------------------------
Root Cause (first observed failure):
[0]:
  time      : 2024-12-25_01:15:06
  host      : irina3dgs-547b45-dlpfc
  rank      : 0 (local_rank: 0)
  exitcode  : 1 (pid: 165756)
  error_file: <N/A>
  traceback : To enable traceback see: https://pytorch.org/docs/stable/elastic/errors.html

Very curious to see if anyone has experienced something similar.

This was resolved through using preload_dataset_to_gpu_threshold 0 to prevent images from being pre-loaded to GPU, which results in the OOM.


PF-3 Export metrics for the counts of different kinds of resources in the database periodically

Example metric view  from my dev deployment. Added projects with track resource post endpoint.


generate CLI docs automatically from command help text

Added lakectl docs that spits out a markdown formatted documentation for the lakectl command tree. For convenience, added make gen-docs that updates the CLI reference page under docs/reference/commands.md with the output of this.
This provides 2 benefits:

We can automate this further to ensure there's never a documentation drift (well, for command line reference at least)
Creates a single source of truth for help information - the Command structs.

Closes #1409

Codecov Report

Merging #1408 (e8e9343) into master (68a6461) will increase coverage by 0.03%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #1408      +/-   ##
==========================================
+ Coverage   40.49%   40.53%   +0.03%
==========================================
  Files         153      153
  Lines       12020    12020
==========================================
+ Hits         4868     4872       +4
+ Misses       6463     6460       -3
+ Partials      689      688       -1

Impacted Files
Coverage Δ

pyramid/tier_fs.go
58.77% <0.00%> (+1.75%)
:arrow_up:

Continue to review full report at Codecov.

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


Added multi-threading to FileSink

Added multi-threading support for your File Sink, similar to Console Sink, but uses two additional parameters :
flush_interval_in_ms_ :  flushes every x ms
max_buffer_size_ : flushes if the log_queue size goes above this parameter

So, there are still various limitations to both consolesink.hpp and filesink.hpp, e.g., In a multi-threaded environment, we often try to limit the locks to improve parallelism. In your implementation, to provide thread safety, we are using locks, even while doing the log() function call, so multiple application threads trying to log would need to be linearized. We can think of ways to enqueue LogEvents from multiple threads in a lock-free manner, and only while flushing the log events can we acquire locks. This would require more thought when the chronological ordering of the logs is being considered.

@tripabhi
Review from static code analysis.
Please fix:
Class 'FileSink' has a constructor with 1 argument that is not explicit.

Fixed the static analysis bug. You can merge the PR now. I will upload a new PR with a lightweight, lock-free implementation for the logger.


VisibleOnScreenEnabler2D has to be visible to work

Godot version
v4.0.alpha13.official [59dcddc45]
System information
Windows 10
Issue description
In Godot 4.0 alpha 13, VisibleOnScreenEnabler2D must be toggled visible in the editor, otherwise it won't work.
That wasn't necessary in alpha 12.
Steps to reproduce
https://user-images.githubusercontent.com/42905358/181935343-92b62078-1f99-4131-888d-a4fa73a4d607.mp4
Minimal reproduction project
VisibleOnScreenEnabler2D.zip

Is this not intended? The purpose of these nodes is to tell when they're visible on screen, if visible is false then it's not visible on screen.

@jtnicholl I don't know if it's intended, but it wasn't in Alpha 12 and that makes more sense in my opinion.
Otherwise the editor is cluttered with purple boxes.

Maybe a property like "hidden" (don't render) would be an idea? The wording is a bit weird though (visible = "enabled" and hidden = "just visibility").

It's possible to hide gizmos like this from the 3D viewport in the editor. For whatever reason no such options exist for 2D.

This works entirely as intended. I would close this issue and open a new one to allow hiding gizmos in 2D like in 3D.

I'm guessing this is the only node that uses the visible property to control its functionality. The tooltip doesn't say anything different (have to look at the docs) . Maybe it needs something extra in the tooltip to inform users of this. Since it's different from everything else.
And a way to hide the purple gizmos would be more than appreciated. My viewport looks terrible!

perhaps this sentence

Note: VisibleOnScreenNotifier2D uses the render culling code to determine whether it's visible on screen, which also means that its CanvasItem.visible must be true to work correctly.

from the VisibleOnScreenNotifier2D description should also be put in the VisibleOnScreenEnabler2D description.
intuitively, one would only expect the visibility of the target node (set via enable_node_path ) to matter, so the explanation with the render culling code is important.


⚠ ClamAV has degraded performance

In e03c790, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 67 ms

Resolved: ClamAV performance has improved in d977fc3.


Ping returns pong and line feed

Is there a reason for ping returning the text pong and an line feed.
When building test that uses the response it is easier to just write "pong".equalTo(response) then response.startsWith("pong") and adding null-check and other.
The PingServlet is currently implemented as writer.println(CONTENT); instead of writer.print(CONTENT);

The PingServlet is a separate project, please see: https://github.com/dropwizard/metrics You should log an issue there.
In the meantime when testing you could do the following:
assertThat(response.getContent()).isEqualTo(String.format("pong%n"));

As per https://github.com/dropwizard/metrics#L33-L34

Additionally changing the response of the PingServlet now would break every existing check in existence, so it's rather unlikely to change just for some increased convenience when writing checks or tests for it.


docs: configure .readthedocs.yaml

The Read The Docs helps hosting the documentation from a branch on a GitHub repository on its website. The online documentation hosted on the website is publicly available.
Sample website: https://ssec-python-project-template.readthedocs.io/en/latest/intro.html
Sample Project: https://github.com/uw-ssec/python-project-template
Similar to the sample project:

[x] setup the .readthedocs.yaml. (This will be used for hosting documentation in the JupyterBook Format)

Done: https://mawpy.readthedocs.io/en/latest/intro.html


feat: add manifestsFromSecret value

PR Description
Added manifestsFromSecret value to read manifest from an external secret
Documentation

[x] I thought about documentation and added the documentation label to this PR if updates are required.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


typeof [] should be Array<any>

Here is the code to reproduce:
/* @flow */

const empty = []

class Element <a> {
  name: string
  children: Array<Element<a>>
  constructor(name:string, children:Array<Element<a>>) {
    this.name = name
  	this.children = children
  }
}

const createElement = <a> (name:string, maybeChildren:?Array<Element<a>>):Element<a> => {
  const children = maybeChildren == null
  	? empty
    : maybeChildren

  return new Element(name, children)
}

That produces following errors:
const createElement = <a> (name:string, maybeChildren:?Array<Element<a>>):Element<a> => {
                           ^ a. This type is incompatible with
14: const createElement = <a> (name:string, maybeChildren:?Array<Element<a>>):Element<a> => {                          ^ some incompatible instantiation of `a`

I would expect flow to treat empty there as Array<any> because well empty array is compatible with any array type.

I think this is a correct behavior.
Think about this:
/* @flow */

const empty = []

class Element <a> {
  children: Array<a>
  constructor(val: a, children:Array<a>) {
  	this.children = children
    this.children.push(val)
  }
}

const createElement = <a> (val: a, maybeChildren:?Array<a>) => {
  const children: Array<a> = maybeChildren || empty
  return new Element(val, children)
}

createElement(123)
createElement('123')

@HerringtonDarkholme is right. That would work for read-only arrays

In fact my original code had:
const empty = Object.freeze([])

I just oversimplified it I guess (always forget mutability concerns)

Also even with mutability maybe it would make more sense to error if & when empty is mutated in an incompatible way rather then just erroring right away

It can be boiled down to even simpler code.
/*@flow*/

const empty = []

function generic<A>() {
    let arr: Array<A> = empty
}

Still no fix for that in recent versions?

Under inference_mode=lti, this should now works as expected.


Minimal Gaia-X Self-Description

The  Gaia-X Self-Description (Participant Credential) from https://gaia-x.atlassian.net/browse/LAB-109  or https://github.com/walt-id/waltid-ssikit-vclib/blob/master/src/test/resources/serialized/ParticipantCredential.json should be updated as follows:
Optional or remove:

VC status
ethereumAddress
use DID as ID
Date fields: "validFrom", "issuedDate" and "issued" as "created" is sufficient.

Proof:

Add proofPurpose
"proofValue" instead of "jws"
value of verificationMethod -> resolvable X509 key from GAIA-X Registry

Hi Phil, I agree that we need to include the DID as ID. This is part of the  DID Syntax in my opinion. https://www.w3.org/TR/did-core/#did-syntax
issuanceDate will be kept, same as expirationDate and created. There is no reason to remove expirationDate by now, although it is an optional field.
validFrom can be removed I would say.
The ethereumAddress can be kept, as it is optional.
The VC status need to be conform with the StatusList. I need to do a bit more research on this.

We should include a StatusList according to https://w3c-ccg.github.io/vc-status-list-2021/ once we have a Revocation process in place. This might be a bit later, but is absolutely a good idea for the example credential. I think we can take care of this in a later change request.


Skip permission test if tests are run as root.

With root permissions, even a non-readable file will be readable.
So if for whatever reason the bazel test is run with root permission,
skip the test.
Fixes #963
Signed-off-by: Henner Zeller<EMAIL_ADDRESS>

Can we just fail with a "Don't run the tests as root" type message?

The test is sortof doing that right now - it fails when running as root :)
But it should not fail due to that, as our tests only want to test the functionality of the library but not the broken environment.

Codecov Report

Merging #970 (ec99dcd) into master (cb60b63) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #970   +/-   ##
=======================================
  Coverage   92.71%   92.71%
=======================================
  Files         316      316
  Lines       20750    20750
=======================================
  Hits        19239    19239
  Misses       1511     1511

Continue to review full report at Codecov.

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


Google login

Google login temporary unavailable for this app

Like in this screenshot? The rclone binary contained in the APK published here is still on version 1.44. You can either replace the embedded rclone version with 1.49.3 (newer won't work due to changes in OAuth), or try out my fork at x0b/rcloneExplorer.


Raise an exception if something goes wrong

This will also switch from http to https :+1:

This is :+1: - thanks sir

:rocket:


how to set and get annotation for a host?

When you configure a VM, set the "annotation" field in the ConfigSpec to a string.
A truncated example:
spec = vim.vm.ConfigSpec(annotation=str(note))
vm.ReconfigVM_Task(spec).wait()

Hey christopher,
From where you got that wait() function on Task object. Is it new ?
On Fri, Apr 13, 2018, 05:52 Christopher Goes<EMAIL_ADDRESS>wrote:

When you configure a VM, set the "annotation" field in the ConfigSpec to a
string.
A truncated example:
spec = vim.vm.ConfigSpec(annotation=str(note))
vm.ReconfigVM_Task(spec).wait()
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/vmware/pyvmomi-community-samples/issues/477#issuecomment-381005753,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGxG3HrjozRlIz1TcOEgbB0YNNgLwZFiks5toBLfgaJpZM4TROoo
.

Sorry, that is a monkey patch I was doing in my own code. I'll update the comment.

@GhostofGoes  I means that  setting the annotation fot host, not for vm.


PCM::checkError() without side effects

Now this function has side effects (program exiting, console reading and writing):
void PCM::checkError(const PCM::ErrorCode code)
{
    switch (code)
    {
    case PCM::Success:
        break;
    case PCM::MSRAccessDenied:
        std::cerr << "Access to Intel(r) Performance Counter Monitor has denied (no MSR or PCI CFG space access).\n";
        exit(EXIT_FAILURE);
    case PCM::PMUBusy:
        std::cerr << "Access to Intel(r) Performance Counter Monitor has denied (Performance Monitoring Unit is occupied by other application)\n";
        std::cerr << "Try to stop the application that uses PMU, or reset PMU configuration from PCM application itself\n";
        std::cerr << "You can try to reset PMU configuration now. Try to reset? (y/n)\n";
        char yn;
        std::cin >> yn;
        if ('y' == yn)
        {
            resetPMU();
            std::cerr << "PMU configuration has been reset. Try to rerun the program again.\n";
        }
        exit(EXIT_FAILURE);
    default:
        std::cerr << "Access to Intel(r) Performance Counter Monitor has denied (Unknown error).\n";
        exit(EXIT_FAILURE);
    }
}

But it's not very convenient when PCM is used as a library in the applications, other than built-in utilities.
Probably creating another function, which will be generate exceptions and use it in the checkError() will be convenient?
I.e.:
void check_pcm_status(const pcm::PCM::ErrorCode& status)
{
    switch (status)
    {
        case pcm::PCM::Success:
        {
            // Some logging?
            // SPDLOG_TRACE("PCM instance programming is ok");
            break;
        }
        case pcm::PCM::MSRAccessDenied:
            throw system_error(pcm::PCM::MSRAccessDenied, std::generic_category(),
                "Access to Intel(r) Performance Counter Monitor has denied (no MSR or PCI CFG space access).");
        case pcm::PCM::PMUBusy:
            throw system_error(pcm::PCM::PMUBusy, std::generic_category(),
                "Access to Intel(r) Performance Counter Monitor has denied (Performance Monitoring Unit"
                " is occupied by other application). Try to stop the application that uses PMU,"
                " or reset PMU configuration from PCM application itself");
        default:
            throw system_error(pcm::PCM::UnknownError, std::generic_category(),
                "Access to Intel(r) Performance Counter Monitor has denied (Unknown error).");
    }
}

...

void PCM::checkError(const PCM::ErrorCode code)
{
    try
    {
        check_pcm_status(code);
    }
    catch (const std::system_error &e)
    {
        switch (e.code())
        {
           case PCM::PMUBusy:
               std::cerr << e.what() << "\n"
                               << "You can try to reset PMU configuration now. Try to reset? (y/n)" << std::endl;
               char yn;
               std::cin >> yn;
               if ('y' == yn)
               {
                   resetPMU();
                   std::cerr << "PMU configuration has been reset. Try to rerun the program again." << std::endl;
               }
               exit(EXIT_FAILURE);
           case PCM::MSRAccessDenied:
           default:
               std::cerr << e.what() << std::endl;
               exit(EXIT_FAILURE);
        }
    }
}

that is great! Would you like to submit a PR?

Ready: https://github.com/intel/pcm/pull/814/files


Expand the ./resources README

...

@namurphy I left the "Event Day Resources" section empty, but will add to it in follow up PRs as those resource materials are added to the repo.


Create prompt to let user select fields to print upon check in

A modal/page should appear with the list of fields that user and unselect to print
Default all should be selected.

#25 added checklist to let user select fields to print


npm install 1.1.8 on OSx Yosemite 10.10.2 fails

Hey guys,
I'm having issues executing the following command: npm install<EMAIL_ADDRESS>Just for clarification, if I download the package itself and execute node build.js, eveything works wonderfully.

System has been built using that version and tested against it. So is not
easy to change without passing through some boring processes... Thanks for
your reply!
El dom., 5 de abril de 2015 23:34, Erik Dubbelboer<EMAIL_ADDRESS>escribió:

May I ask why you need 1.1.8?
—
Reply to this email directly or view it on GitHub
https://github.com/ErikDubbelboer/node-sleep/issues/26#issuecomment-89893784
.

Believe it or not... I downgraded my npm from 2.4.7 to 1.4.28 and worked. Just in case it helps someone else.


400 Bad request

gdrive list got this error::
Failed to list files:  Get https://www.googleapis.com/drive/v3/files?alt=json&fields=nextPa .......
oauth2: cannot fetch token: 400 Bad Request
Response: {
"error": "invalid_grant",
"error_description": "Token has been expired or revoked."
}

try delete token file and re-auth

Sign in with Google temporarily disabled for this app This app has not been verified yet by Google in order to use Google Sign In.

try delete token file and re-auth

How? There is no command like gdrive token revoke.

try delete token file and re-auth

How? There is no command like gdrive token revoke.

Typically it's in the ~/.gdrive folder on various Linux/Unix platform,and on Win platform it's in the %AppData%\Roaming.gdrive folder at my case.as I can see from the log that you may have already build your own gdrive application with your own credencials.

Thanks. I have deleted the tokens. Now of course this new error pops up::
Sign in with Google temporarily disabled for this app This app has not been verified yet by Google in order to use Google Sign In.

Thanks. I have deleted the tokens. Now of course this new error pops up::
Sign in with Google temporarily disabled for this app This app has not been verified yet by Google in order to use Google Sign In.

then you need to build gdrive with your own credencials.see #514

move to RClone project, GDrive Crossed the Jordan, it's dead 💀
https://rclone.org/

@all
Try to use my script to build gdrive with your own Google credential: https://github.com/mbrother2/backuptogoogle
Or work with rclone: https://github.com/mbrother2/butdr


fix: update to eye v10.24.14

fix: update to eye v10.24.14

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

npm package (@latest dist-tag)
GitHub release
v16.28.14

Your semantic-release bot :package::rocket:


Simple animation of birds flyby using CSS and HTML

Pull request for issue #5
pls add Hactober fest tags before merge

Hi @sasidharswarangi, I am not able to view the animations, can you fix it.

@sasidharswarangi nice work!! :)


What went wrong: Execution failed for task :app:connectedDebugAndroidTest

Steps to reproduce

Clone https://github.com/leancodepl/patrol.git and cd into patrol/packages/patrol/example/ [master]
Start the emulator

Android 11
API 30
x86

Verify that the app builds fine: flutter build apk --debug

Running Gradle task 'assembleDebug'...                             17.9s
✓  Built build/app/outputs/flutter-apk/app-debug.apk.

Run the integration test: patrol test --target integration_test/example_test.dart

Actual results
Is resulting in to the following error:
What went wrong: Execution failed for task ':app:connectedDebugAndroidTest'.
It's not showing success of failure regarding the integration test and no other details about the showed error.
Logs

Logs
patrol test --target integration_test/example_test.dart -d emulator-5554 --verbose

You're using Patrol CLI 2.0, which has breaking changes.
Read the migration guide at https://patrol.leancode.co/v2.
Disable this warning by setting the PATROL_MIGRATED environment variable.

Verbose mode enabled. More logs will be printed.
Received 1 test target(s)
Received test target: /Users/<MY_USER>/projects/flutter/patrol/packages/patrol/example/integration_test/example_test.dart
Generated entrypoint /Users/<MY_USER>/projects/flutter/patrol/packages/patrol/example/integration_test/test_bundle.dart with 1 bundled test(s)
$ flutter --no-version-check devices --machine
Received 1 device(s) to run on
Received device: emulator-5554
Received 7 --dart-define(s) (0 custom, 7 internal)
Received internal --dart-define: PATROL_WAIT=0
Received internal --dart-define: PATROL_APP_PACKAGE_NAME=pl.leancode.patrol.example
Received internal --dart-define: PATROL_APP_BUNDLE_ID=pl.leancode.patrol.Example
Received internal --dart-define: PATROL_ANDROID_APP_NAME=Patrol example
Received internal --dart-define: PATROL_IOS_APP_NAME=Patrol example
Received internal --dart-define: INTEGRATION_TEST_SHOULD_REPORT_RESULTS_TO_NATIVE=false
Received internal --dart-define: PATROL_TEST_LABEL_ENABLED=true
• Building apk with entrypoint test_bundle.dart...
$ ./gradlew :app:assembleDebug -Ptarget=/Users/<MY_USER>/projects/flutter/patrol/packages/patrol/example/integration_test/test_bundle.dart -Pdart-defines=...
        : > Task :app:preBuild UP-TO-DATE
        : > Task :app:preDebugBuild UP-TO-DATE
        : > Task :app:mergeDebugNativeDebugMetadata NO-SOURCE
        : > Task :app:compileFlutterBuildDebug
        : > Task :app:packLibsflutterBuildDebug UP-TO-DATE
        : > Task :<EVERY OTHER TASK> UP-TO-DATE/NO-SOURCE
        :
        : BUILD SUCCESSFUL in 20s
        : 160 actionable tasks: 7 executed, 153 up-to-date
$ ./gradlew :app:assembleDebugAndroidTest -Ptarget=/Users/<MY_USER>/projects/flutter/patrol/packages/patrol/example/integration_test/test_bundle.dart -Pdart-defines=...
        : > Task :app:preBuild UP-TO-DATE
        : > Task :app:preDebugBuild UP-TO-DATE
        : > Task :<EVERY OTHER TASK> UP-TO-DATE/NO-SOURCE
        :
        : BUILD SUCCESSFUL in 4s
        : 162 actionable tasks: 2 executed, 160 up-to-date
✓ Completed building apk with entrypoint test_bundle.dart (25.2s)
Will uninstall apps before running tests
Uninstalling pl.leancode.patrol.example from Android SDK built for x86
Uninstalling pl.leancode.patrol.example.test from Android SDK built for x86
• Executing tests of apk with entrypoint test_bundle.dart on emulator-5554...
$ ./gradlew :app:connectedDebugAndroidTest -Ptarget=/Users/<MY_USER>/projects/flutter/patrol/packages/patrol/example/integration_test/test_bundle.dart -Pdart-defines=...
        : > Task :app:compileFlutterBuildDebug
        : > Task :app:packLibsflutterBuildDebug UP-TO-DATE
        : > Task :app:preBuild UP-TO-DATE
        : > Task :app:preDebugBuild UP-TO-DATE
        : > Task :<EVERY OTHER TASK> UP-TO-DATE/NO-SOURCE
        : 04:54:46 V/JdwpProxy-Buffer: CLIENT WRITE (4) OKAY
        : 04:54:46 V/JdwpProxy-Buffer: DEVICE WRITE (14) JDWP2dHandshake
        : 04:54:46 V/JdwpProxy-Buffer: CLIENT WRITE (4) OKAY
        : ...
        :
        : > Task :app:connectedDebugAndroidTest
        : Starting 0 tests on <DEVICE NAME>_API_30(AVD) - 11
        Instrumentation did not complete:
        Instrumentation code: 0
        Instrumentation result bundle:
        :
        : > Task :app:connectedDebugAndroidTest FAILED
        : 185 actionable tasks: 7 executed, 178 up-to-date

        FAILURE: Build failed with an exception.

        * What went wrong:
        Execution failed for task ':app:connectedDebugAndroidTest'.
        See the report at: file:///Users/<MY_USER>/projects/flutter/patrol/packages/patrol/example/build/app/reports/androidTests/connected/index.html

        * Try:
        > Run with --stacktrace option to get the stack trace.
        > Run with --info or --debug option to get more log output.
        > Run with --scan to get full insights.

        * Get more help at https://help.gradle.org

        BUILD FAILED in 22s
✗ Failed to execute tests of apk with entrypoint test_bundle.dart on emulator-5554 (Gradle test execution failed with code 1) (22.9s)
Exception: Gradle test execution failed with code 1
#0      AndroidTestBackend.execute.<anonymous closure> (package:patrol_cli/src/android/android_test_backend.dart:140:9)
<asynchronous suspension>
#1      DisposeScope.run (package:dispose_scope/src/dispose_scope.dart:46:7)
<asynchronous suspension>
#2      AndroidTestBackend.execute (package:patrol_cli/src/android/android_test_backend.dart:106:5)
<asynchronous suspension>
#3      TestCommand._execute (package:patrol_cli/src/commands/test.dart:269:7)
<asynchronous suspension>
#4      TestCommand.run (package:patrol_cli/src/commands/test.dart:169:23)
<asynchronous suspension>
#5      CommandRunner.runCommand (package:args/command_runner.dart:212:13)
<asynchronous suspension>
#6      PatrolCommandRunner.runCommand (package:patrol_cli/src/runner/patrol_command_runner.dart:310:18)
<asynchronous suspension>
#7      PatrolCommandRunner.run (package:patrol_cli/src/runner/patrol_command_runner.dart:254:18)
<asynchronous suspension>
#8      patrolCommandRunner (package:patrol_cli/src/runner/patrol_command_runner.dart:72:20)
<asynchronous suspension>
#9      main (file:///Users/<MY_USER>/.pub-cache/hosted/pub.dev/patrol_cli-2.0.4/bin/main.dart:6:20)
<asynchronous suspension>

See the logs above to learn what happened. Also consider running with --verbose. If the logs still aren't useful, then it's a bug - please report it.
Uninstalling pl.leancode.patrol.example from Android SDK built for x86
Uninstalling pl.leancode.patrol.example.test from Android SDK built for x86

Log trimmed due to Github issue's body limit: [There was an error creating your Issue: body is too long (maximum is 65536 characters).]
You can see the full log here.

Patrol version
patrol:
  path: ../ (^2.1.0)

Patrol Doctor output

Patrol Doctor output
$ patrol doctor
You're using Patrol CLI 2.0, which has breaking changes.
Read the migration guide at https://patrol.leancode.co/v2.
Disable this warning by setting the PATROL_MIGRATED environment variable.

Patrol CLI version: 2.0.4
Program adb found in /Users/<MY_USER>/Library/Android/sdk/platform-tools/adb
Env var $ANDROID_HOME set to /Users/<MY_USER>/Library/Android/sdk
Program xcodebuild found in /usr/bin/xcodebuild
Program ideviceinstaller found in /usr/local/bin/ideviceinstaller

Flutter Doctor output

Flutter Doctor output
$ flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.10.6, on macOS 11.7.8 20G1351 darwin-x64, locale
    en-AO)
[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 13.2.1)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2022.2)
[✓] Android Studio (version 2022.2)
[✓] IntelliJ IDEA Ultimate Edition (version 2023.1.4)
[✓] IntelliJ IDEA Ultimate Edition (version 2023.1.4)
[✓] IntelliJ IDEA Ultimate Edition (version 2023.1.3)
[✓] VS Code (version 1.80.1)
[✓] Proxy Configuration
[✓] Connected device (4 available)
[✓] Network resources

• No issues found!

Hi @JosueMCapita. Thanks for creating this issue. Our main developer is on vacation right now, but we will look into this problem once he's back.
Probably connected with https://github.com/leancodepl/patrol/issues/1575

Hi @JosueMCapita, we released new patrol and patrol_cli versions yesterday, that have a fix for your issue. Please check it out and give us some feedback, if it helped.

Hi @jBorkowska, thank you!!!
I will check it out and give you a feedback.

@jBorkowska sorry but this issue happens again with patrol: ^2.3.0 and patrol_cli v2.2.0


Update for Foundry V11.315 and DND 5e v2.4.0

Spell points system with current updates allows for resources to be named (to default spell points or custom name) but will not override spell slots nor utilize spell points when casting spells.

I was able to make it work for myself by a few simple edits to the 'spellpoints.js' file. As a disclaimer, I'm not really an expert at JQuery so your mileage may vary.

Find and replace every instance (there should be 5 total) of consumeSpellLevel with slotLevel
On line 320, replace selectValue with selectValue.match(/\d+/)[0]

thank you, can you try the latest version?


feat: compile tailwind assets with 'theme:compile' command

Hey @itscark I really like the idea behind this PR. :+1:
I just asking my self if we can get rid of the decorator and use some event maybe :thinking:
Need to check this in detail.

I found two nice evnets. :tada: So we do not need the decorator.
I guess we can do it with this:
$this->dispatcher->dispatch($event, ConsoleEvents::COMMAND);
And with this:
$this->dispatcher->dispatch(new ThemeConfigChangedEvent($themeId, $data['configValues']));
What do you think @robin-homberg?


fix: dimensions should be optional to embedding_openai()

Crap. How did this not trip a test?

Okay I guess we have to handle this in the vectorizer code


Fix the CustomForm migration script

Coverage remained the same at 55.641% when pulling f7ded31120b9aa332148515cddea76307d278400 on jefmoura:fix-customform-migration into 5f38847a099c9fc727aedc0cbd14f7c266badc56 on toladata:dev-v2.


Overwrite Caddy version with TXTDirect version in -version command

Is this a BUG REPORT or FEATURE REQUEST?:
feature
What happened:
Currently we inherit the caddy version.
What you expected to happen:
Use TXTDirect version in builds.
Anything else we need to know?:
Already tried around a bit. Problem is caddy is using runtime information about the specific caddy module. Not sure we can really overwrite this.

https://golang.org/src/runtime/debug/mod.go?s=425:472#L7

I tried to change the version using -ldflags but we only can modify the appVersion variable. appName is const which results in Caddy TXTDVERSION (unofficial)
Also, I couldn't figure out how debug.ReadBuildInfo() is useful? It returned an empty struct.


Does it support mobile phones？

Does it support mobile phones？

It's not yet optimised for them, but we hope it'll happen very soon!


Ugly quality for m4a

files (mp4->m4a) are converted with a very low bitrate

Audio
ID                                       : 1
Format                                   : AAC LC
Format/Info                              : Advanced Audio Codec Low Complexity
Codec ID                                 : mp4a-40-2
Duration                                 : 3 min 51 s
Duration_LastFrame                       : -11 ms
Bit rate mode                            : Constant
Bit rate                                 : 128 kb/s
Channel(s)                               : 6 channels
Channel layout                           : C L R Ls Rs LFE
Sampling rate                            : 48.0 kHz
Frame rate                               : 46.875 FPS (1024 SPF)
Compression mode                         : Lossy
Stream size                              : 3.53 MiB (89%)
Default                                  : Yes
Alternate group                          : 1
need to define ConversionOptions (bitrate 768) here https://github.com/yaronzz/Tidal-Media-Downloader-PRO/blob/42581a3f798fd5fd1f2c4cc89450a3eda6cf28cd/TIDALDL-UI-PRO/Else/Tools.cs#L327

files (mp4->m4a) are converted with a very low bitrate

Audio
ID                                       : 1
Format                                   : AAC LC
Format/Info                              : Advanced Audio Codec Low Complexity
Codec ID                                 : mp4a-40-2
Duration                                 : 3 min 51 s
Duration_LastFrame                       : -11 ms
Bit rate mode                            : Constant
Bit rate                                 : 128 kb/s
Channel(s)                               : 6 channels
Channel layout                           : C L R Ls Rs LFE
Sampling rate                            : 48.0 kHz
Frame rate                               : 46.875 FPS (1024 SPF)
Compression mode                         : Lossy
Stream size                              : 3.53 MiB (89%)
Default                                  : Yes
Alternate group                          : 1
need to define ConversionOptions (bitrate 768) here https://github.com/yaronzz/Tidal-Media-Downloader-PRO/blob/42581a3f798fd5fd1f2c4cc89450a3eda6cf28cd/TIDALDL-UI-PRO/Else/Tools.cs#L327

Did you figure out a fix yet?

Additional comment:
I have a Tidal Premium account and use TIDAL-GUI v<IP_ADDRESS> to download audio tracks and albums from Tidal. The downloaded files are mp4 files with 320kbs bit rate. But with option "Convert mp4 to m4a" enabled, these 320kbs mp4 files are converted to low quality 128kbps m4a files, and the mp4 files are deleted after conversion. TIDAL-GUI v<IP_ADDRESS> that I used earlier did not downgrade the audio quality when converting mp4 to m4a.
Workaround:

Disable option "Convert mp4 to m4a"
Convert the downloaded mp4 files to m4a files without quality loss, by executing the following command from the command prompt (put this command in a batch file MP4toM4A.bat, and use a recent version of ffmpeg .exe):
for %%a in (*.mp4) do ( ffmpeg -i "%%a" -vn -c:a copy "%%~na.m4a" )

With this command the meta data (title, artist, album) in the input file is preserved, and the aac encoded audio data is copied from the mp4 file to the m4a file without any re-encoding. The -vn option removes the embedded artwork. If you you want to preserve the artwork remove the -vn option.


Pre-Release vs Latest

Hello,
We want to integrate the newest Version of api-gateway but I have seen last 3 releases on the Release Page are marked as "Pre-Release".
https://github.com/membrane/api-gateway/releases
Is there a known reason for avoding these versions for now?
Can we integrate for example 5.7.1(pre-release) instead of 5.5.4(latest)?

@precoder they should generally be stable and can be used, but the new features might still be tweaked until the full release.


How to put Image on specific dates like array

Hi thanks for this library..
I would like to ask about the following code:
return [theDay].containsObject(calendar.dayOfDate(date)) ? UIImage(named: "icon_cat") : nil
how to implement
var datesWithCat = ["20160129","20160130"] and so on.
on the example it has specific date for all of the month.

A recommented way is to use a Dictionary , for example

var datesWithCat = ["20160129","20160130"]

func calendar(calendar: FSCalendar!, imageForDate date: NSDate!) -> UIImage! {
    var dateString = calendar.stringFromDate(date, format: "yyyyMMdd")
    return datesWithCat.containsObject(dateString ? UIImage(named: "icon_cat") : nil
}


The git branch created for the app is 'master' instead of 'main'

Issue tracker is ONLY used for reporting bugs. New features should be discussed on our discord, in the #create-expo-stack channel.

Expected Behavior

Expected default branch to be main
Current Behavior

Currently, the default branch is 'master' which is outdated.
Possible Solution

Change branch name from master to main
Steps to Reproduce

Create a project
Notice the default git branch is master

CES Config File

why is this an issue?

Since Github renamed its default branch from master to main and since then it has become the norm.


Instability warning when opening game

I recently installed the mod and was tweaking the settings. After saving, an instability warning appeared; this continues to open every time now.
I saw someone had a similar issue where it was marked as resolved with the dev saying to delete all characters that trigger "Exception while loading" in the player log. I have done this, as well as deleted all relevant save files from the game folder, but they continue to appear in the player log and regenerate themselves in the folder as well.
Player.log

You need to delete the characters in the game itself, not folder. This is why the characters keep reappearing.

They're not visible within the game for me to delete.

open the game, alt-tab to windows explorer, delete these heroes from their respective folder, close the game. Otherwise the cloud service will bring them back.


Allow to specify default partition sizes

Is your feature request related to a problem? Please describe.
At the moment we hardcode the partition size in cos-installer and more importantly we have hardcoded image size during upgrade/reset. This might work for all the cases, but makes sense to expose this to the configuration since it might not suit all cases.
Describe the solution you'd like
A way to override default configs with our general config file, or alternatively via cloud-init:

[ ] Partition sizes
[ ] Partition types (at least should be possible to specify ext4)
[ ] Default image size (.img files created during upgrades)
[ ] Default COS_PERSISTENT device location

Describe alternatives you've considered
N/A
Additional context
Hardcoded image size:
https://github.com/rancher-sandbox/cOS-toolkit/blob/master/packages/installer/upgrade.sh#L113
Hardcoded partition size:
https://github.com/rancher-sandbox/cOS-toolkit/blob/master/packages/installer/installer.sh#L111

Depends on #771

As a first pass, makes sense to explore if we can do the partitioning with the cloud-init tool, so:

We have one tool only to handle partitioning logics
We can allow the user to provide optionally a cloud-config file with the installation partitioning schema

In this way, we don't have to re-implement any partitioning logic into the bash CLI, but we can just generate a cloud-config on-the-fly, if the user didn't provided one


[Question] how to run retdec-decompiler mutithreaded?

It seems that retdec-decompiler execution is singlethreaded, and process a ~30M binary could take hours.
I wonder if
1: there is method to run, and should invoke the command in a specific manner/option.
2: just a feature not implemented yet.
3: which is technical difficult hard to overcome. It seems much parallel execution opportunities between functions, do I think it too simple?
Thanks.

Hi. I am closing this ticket in favor of #292, which is a feature request for adding support for multi-threading into RetDec. Please, see it and #51 for more details.

OK, thanks.


main.py: replace --nowait with --wait

Now my change to pyboard.py has been accepted, where a port is specified this provides an option to wait for the board to exist and to become available.
I've also added a note to the README on how to acquire pip3.

Rebased and merged in 480945ca493a81348fa2adab4dbb8a6310de5a10


Add player with live subtitles

Depends on #584, #586.

Helps visualizing the finished subtitles by displaying them in a player with the related video.
Displays a single video player. The player displays the subtitles that are currently being edited.
Standard web-videoplayer functionalities. Needs to receive live updates everytime the subtitle are changed.
For simplicity, the player does not influence other components (e.g. playing the video does not move the list view).
TODO: Use default player controls, or use custom controls (like in the editing view)?
TODO: What do if there are multiple videos to choose from?

* Videoplayer: Eins oder Mehrere anzeigen? (wenn vorhanden)
	* Eins anzeigen, andere auswählen können (z.B. über Dropdown)
	* Default Video konfigurierbar machen, z.B. über flavor


Code for working on uploading of poems

Here is the pull request for adding a way to preview the text of a poem that is being uploaded to the website. It uses Jquery. I just got the basic code up and running to have others take a look at it with what other functionality. Here is the issue this branch and request reference.
Please help with thoughts on:

Functionality that should be added.
Design elements.
If this is how we wanted this issue to be resolved.
Any other thoughts about this code.

I think this is a really great start.  I am seeing a few issues.  The first issue we might need to address is that when you use "return" the text is not going to next line which might be very important when for styling when entering a poem.  The next issue I ran into was that the preview text box is a fixed width and therefore for longer lines of text are spilling out over the edges of the box.

I agree that this looks great. The change suggested above would be an improvement, but for now, it works and does what it is supposed to do. I feel like it would be fine to merge, since we're not actually launching the site with this version.


[ocis] Mountpoints for pending and declined shares

Description
User Stories

As a client, I want to see all received shares because I need that information for routing and URLs

Value
Make the New URL feature work
Acceptance Criteria

[ ] Mountpoint spaces are always listed in the drives list

Definition of ready

[ ] Everybody needs to understand the value written in the user story
[ ] Acceptance criteria have to be defined
[ ] All dependencies of the user story need to be identified
[ ] Feature should be seen from an end user perspective
[ ] Story has to be estimated
[ ] Story points need to be less than 20

Definition of done

Functional requirements

[ ] Functionality described in the user story works
[ ] Acceptance criteria are fulfilled

Quality

[ ] Code review happened
[ ] CI is green (that includes new and existing automated tests)
[ ] Critical code received unit tests by the developer

Non-functional requirements

[ ] No sonar cloud issues

Configuration changes

[ ] The next branch of the ocis charts is compatible

By definition, neither pending nor declined shares are synced. Consequently they should not be returned in the /drives listing. Definitely not by default! Maybe if the request explicitly requests a certain type ... but I fail to see the reason why any client would need it.
The /me/sharedWithMe endpoint holds all necessary information:

for accepted shares a driveItem representing mountpoint. It has a remoteItem property for the shared file or folder.
for pening shares a driveItem representing the shared file or folder
all drileItems have a parentReference that can contain all necessary metadata (see itemReference), eg the drive id, type aka the space metadata visible to the recipient.
The direct parent driveItem metadata can be left empty if the recipient has no access to it. This might be a deployment specific configuration, eg. some instances might allow access to all resources in a common space or on the shared underlying storage system like EOS.

@tbsbdr @micbar I'd like to suggest that we close this issue as won't fix.
Like @butonic mentioned, we will be able to do this properly with the SharingNG share listing. We are not able to incorporate that in the upcoming web v8.0.0 stable release, because that release is the one that cernbox will use, so it can't make use of SharingNG, yet.
As a result, we would need to accept the web ui behaviour of not being able to navigate into any pending or declined shares as a known bug in web v8.0.0 / ocis v5.0.0. That was never possible, but now with the recent changes to the shared with me page the UI suggests that you can navigate into pending and declined shares, that's why this issue came up in the first place.
The solution proposed in this issue would immediately be useless when we switch over to SharingNG in the web ui.

@JammingBen would it be feasible to disable the router links in the shared with me page for declined and pending shares for the upcoming web v8.0.0?

@JammingBen would it be feasible to disable the router links in the shared with me page for declined and pending shares for the upcoming web v8.0.0?

This would be doable without much effort, yes 👍

fine for me too.

@JammingBen would it be feasible to disable the router links in the shared with me page for declined and pending shares for the upcoming web v8.0.0?

This would be doable without much effort, yes 👍

Thank you 👍  created https://github.com/owncloud/web/issues/10094 for this


Avatar fallback not shown when updating props

I copied the example from Shadcn website itself and modified it a little:
<Avatar className="h-9 w-9">
       // pfpSrc is a prop and although it's updated correctly to null and results in AvatarImage not being rendered,
       // the component still doesn't render AvatarFallback; this problem, however, is fixed upon refreshing the browser
	{pfpSrc && (
	  <AvatarImage
	    src={pfpSrc}
	    alt="User profile picture"
	    key={pfpSrc || null}
	  />
	)}
        <AvatarFallback>{username?.slice(0, 2)}</AvatarFallback>

        // I had to change the logic to get the desired result:
        {pfpSrc ? (
	  <AvatarImage
	    src={pfpSrc}
	    alt="User profile picture"
	    key={pfpSrc || null}
	  />
	) : ( <AvatarFallback>{username?.slice(0, 2)}</AvatarFallback> ) }
</Avatar>

This issue has been automatically closed because it received no activity for a while. If you think it was closed by accident, please leave a comment. Thank you.

I have the same issue, did you solve it @MobinAskari ?

I have the same issue, did you solve it @MobinAskari ?

I guess I tried using this component a week ago and apparently it was not fixed, If you're using Next.js I suggest taking a look at the Image component and try implementing their solution for fallback images

Ok yeah i will look into that thanks a lot, @shadcn can we still maybe re-open the issue? it still exists, i do not know if there is something shadcn can fix, but probably somewhere

probably relates to this radix issue: https://github.com/radix-ui/primitives/issues/1767

@MobinAskari  If someone else has this issue, replacing the AvatarImage Primitive Code with a normal image tag in the avatar component:
const AvatarImage = React.forwardRef<
  React.ElementRef<typeof AvatarPrimitive.Image>,
  React.ComponentPropsWithoutRef<typeof AvatarPrimitive.Image>
>(({ className, ...props }, ref) => (
  <img
    ref={ref}
    className={cn('object-cover w-full h-full', className)}
    {...props}
    alt={props.alt}
  />
))
AvatarImage.displayName = AvatarPrimitive.Image.displayName

seems to be a good workarround for now.
Note: Yes the alt attribute "can be omitted" since the props get written anyway, but somehow typescript does not like that if it is not present lol

Ok yeah i will look into that thanks a lot, @shadcn can we still maybe re-open the issue? it still exists, i do not know if there is something shadcn can fix, but probably somewhere
EDIT: Might be something to fix in radix

Yeah Shadcn UI is a wrapper around Radix so I assume I should have opened this issue there and not here, also I don't think Shadcn will have the time to fix issues like this but let's hope for the best


Module 1.3 Assignment

Requested update:

👋 for this assignment, please include a screenshot demonstrating git diff and git diff --staged

👋 for this assignment, please include a screenshot demonstrating git diff and git diff --staged

@arelia done!


fix(es/codegen): remove extra spaces in AssignPatProp and KeyValuePatProp

I'm not sure what's up with the swc tests. I always get: Lazy instance has previously been poisoned locally

I'm not sure what's up with the swc tests. I always get: Lazy instance has previously been poisoned locally

Try to recursively cargo clean, there are some tests not belong to cargo's workspace and leftover build artifact can affect tests. Usually this error means test runner failed to build those internal projects.

@kwonoj thanks, I tried running cargo clean and cargo clean-recursive, but the error still persists.

I'll update test refs


made psycopg2 an optional dependency for functional tests

Overview
This PR makes psycopg2 an optional dependency for devs.
Currently our functional test suites are configured in the tests/functionaltests/conftest.py module. This module is always importing psycopg2 regardless if the tests are using a postgres database or not.
The proposed implementation uses the apipkg package. This is a small, pure-python module that enables lazy loading of dependencies. Modules that are lazy loaded with apipkg are only loaded when needed. In addition to this change, the requirements-dev.txt file no longer includes requirements-pg.txt.
Related Issue / Discussion
#497
Additional Information
Contributions and Licensing
(as per https://github.com/geopython/pycsw/blob/master/CONTRIBUTING.rst#contributions-and-licensing)

[x] I have already previously agreed to the pycsw Contributions and Licensing Guidelines

thanks @ricardogsilva!


Fixed Citation bib file

Summary
fixes Qiskit/qiskit#1264
Details and comments
All details can be found in above linked issue

Don't know why test got failed XD

Don't know why test got failed XD
There was something else that changed unrelated to this. Our CI checks everything when something is changed - even the readme! I think it should go through ok now


Version 1.0.0 on NPM is in fact the old version 0.2.1

Hi @mathiasbynens ,
seems like something went wrong when running npm publish?
The package on NPM is tagged as version 1.0.0, but only contains the older version 0.2.1.
Kind regards and thanks to your work!
Sebastian

v1.0.0 is actually v1.0.0 but with the wrong version number exposed ಠ_ಠ It’s embarrassing, I know.
I just released v1.0.1 to avoid the confusion. Thanks for the heads-up!

Wow that was quick, thanks!


Make lastUpdatedTime on contracts more useful, improve API

lastUpdatedTime used to mean max(lastBetTime, lastCommentTime). Now it also covers other user-salient edits to contract properties.
In addition, the new /markets parameters will allow API users to easily get "fresh" markets from the API without having to constantly poll everything in the universe.

Copying my comment from Discord: A few other things that I think it should cover, in decreasing order of importance:

The addition of market liquidity via subsidy.
The addition of an answer in a multiple-choice market.
The editing of an answer in a multiple-choice market.
The "is ranked" toggle being changed.
The bounty in a bounty market being added to.
A bounty being paid out in a bounty market.
The "is subsidized" toggle being changed.
The "is public" toggle being changed.
Someone voting in a poll.
A multiple choice market being toggled between "creator only" and "anyone can add answers".
The addition or editing of a market graph annotation.

Only the first four would be useful for me at present, but I mention the others since in theory I'd expect "last updated time" to include any change at all to the market's data.


Add engagement metadata fields

Issue #:
https://github.com/bcgov/met-public/issues/
Description of changes:
Add engagement metadata fields
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the met-public license (Apache 2.0).

Codecov Report

Merging #1383 (e79e5ba) into main (4b9c116) will increase coverage by 0.00%.
The diff coverage is 83.33%.

@@           Coverage Diff           @@
##             main    #1383   +/-   ##
=======================================
  Coverage   71.57%   71.58%
=======================================
  Files         317      317
  Lines        9134     9139    +5
  Branches      644      644
=======================================
+ Hits         6538     6542    +4
- Misses       2483     2484    +1
  Partials      113      113

Flag
Coverage Δ

metweb
64.78% <83.33%> (+0.01%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

.../form/EngagementFormTabs/EngagementTabsContext.tsx
64.91% <ø> (ø)

...ent/form/EngagementFormTabs/EngagementSettings.tsx
74.19% <83.33%> (+1.11%)
:arrow_up:


Can I use Bootstrap v4.0 in production? Thank you!

I want use it next week ~

Approximate duplicate of #19403.
Bootstrap v4 is currently in alpha. It has some known bugs and we will very likely make backward-incompatible changes to it between now and the first stable v4.0.0 release.
Thus, unless you're okay with dealing with elevated buginess and okay with the extra work of eventually migrating from v4.0.0-alpha.N to v4.0.0 (stable), I personally would not currently recommend using v4 alpha in production.


services.postgresql does not work without local authentication

If you set services.postgresql.authentication as follows:
      authentication = pkgs.lib.mkForce ''
        host  all all <IP_ADDRESS>/32 trust
        host  all all ::1/128      trust
      '';

And then run nixos-rebuild switch, the command appears to hang. The journal reports:
Feb 12 16:15:37 nixos postgres[5941]: FATAL:  no pg_hba.conf entry for host "[local]", user "root", database "postgres"
Feb 12 16:15:37 nixos postgres[5941]: FATAL:  no pg_hba.conf entry for host "[local]", user "root", database "postgres"
Feb 12 16:15:37 nixos postgres[5941]: FATAL:  no pg_hba.conf entry for host "[local]", user "root", database "postgres"
Feb 12 16:15:37 nixos postgres[5941]: FATAL:  no pg_hba.conf entry for host "[local]", user "root", database "postgres"
Feb 12 16:15:37 nixos postgres[5941]: FATAL:  no pg_hba.conf entry for host "[local]", user "root", database "postgres"
Feb 12 16:15:37 nixos postgres[5941]: FATAL:  no pg_hba.conf entry for host "[local]", user "root", database "postgres"
Feb 12 16:15:37 nixos postgres[5941]: FATAL:  no pg_hba.conf entry for host "[local]", user "root", database "postgres"
Feb 12 16:15:37 nixos postgres[5941]: FATAL:  no pg_hba.conf entry for host "[local]", user "root", database "postgres"

This never seems to timeout.

from pg 9.3 upwards there is pg_isready.
without local authentication:
psql fails:
[root@nixos:~]# psql
psql: FATAL:  no pg_hba.conf entry for host "[local]", user "root", database "root"

pg_isready:
[root@nixos:~]# pg_isready
/tmp:5432 - accepting connections

for the older pg versions nixpkgs can ship a version of pg_isready.
is use it in the postStart section and i'm happy with it.
diff --git a/nixos/modules/services/databases/postgresql.nix b/nixos/modules/services/databases/postgresql.nix
index de14c56..5ba3e0e 100644
--- a/nixos/modules/services/databases/postgresql.nix
+++ b/nixos/modules/services/databases/postgresql.nix
@@ -225,7 +225,7 @@ in
         # Wait for PostgreSQL to be ready to accept connections.
         postStart =
           ''
-            while ! psql --port=${toString cfg.port} postgres -c "" 2> /dev/null; do
+            while ! pg_isready 2> /dev/null; do
                 if ! kill -0 "$MAINPID"; then exit 1; fi
                 sleep 0.1
             done

(triage) still a thing?

I believe this is a thing, but as mentioned above there is a possible solution. Needs someone to try it out and see if it works for older versions.

@ocharles, @j-keck, with https://github.com/NixOS/nixpkgs/pull/22655 should be little easier to test with multiple versions, please check if that's useful.

Is this still a problem?

It is still a problem even with PostgreSQL 15.4
Config:
services.postgresql.authentication = pkgs.lib.mkOverride 10 ''
  host all all <IP_ADDRESS>/32 trust
  host all all ::1/128      trust
'';

journalctl logs:
Aug 24 11:55:21 nixos postgres[43915]: [43915] LOG:  starting PostgreSQL 15.4 on x86_64-pc-linux-gnu, compiled by gcc (GCC) 12.2.0, 64-bit
Aug 24 11:55:21 nixos postgres[43915]: [43915] LOG:  listening on IPv4 address "<IP_ADDRESS>", port 5432
Aug 24 11:55:21 nixos postgres[43915]: [43915] LOG:  listening on IPv6 address "::", port 5432
Aug 24 11:55:21 nixos postgres[43915]: [43915] LOG:  listening on Unix socket "/run/postgresql/.s.PGSQL.5432"
Aug 24 11:55:21 nixos postgres[43918]: [43918] LOG:  database system was shut down at 2023-08-24 06:55:20 GMT
Aug 24 11:55:21 nixos postgres[43915]: [43915] LOG:  database system is ready to accept connections
Aug 24 11:55:21 nixos postgres[43924]: [43924] FATAL:  no pg_hba.conf entry for host "[local]", user "postgres", database "postgres", no encryption
Aug 24 11:55:21 nixos postgres[43927]: [43927] FATAL:  no pg_hba.conf entry for host "[local]", user "postgres", database "postgres", no encryption
Aug 24 11:55:21 nixos postgres[43932]: [43932] FATAL:  no pg_hba.conf entry for host "[local]", user "postgres", database "postgres", no encryption
Aug 24 11:55:22 nixos postgres[43935]: [43935] FATAL:  no pg_hba.conf entry for host "[local]", user "postgres", database "postgres", no encryption
Aug 24 11:55:22 nixos postgres[43938]: [43938] FATAL:  no pg_hba.conf entry for host "[local]", user "postgres", database "postgres", no encryption
Aug 24 11:55:22 nixos postgres[43941]: [43941] FATAL:  no pg_hba.conf entry for host "[local]", user "postgres", database "postgres", no encryption
Aug 24 11:55:22 nixos postgres[43944]: [43944] FATAL:  no pg_hba.conf entry for host "[local]", user "postgres", database "postgres", no encryption
Aug 24 11:55:22 nixos postgres[43947]: [43947] FATAL:  no pg_hba.conf entry for host "[local]", user "postgres", database "postgres", no encryption
Aug 24 11:55:22 nixos postgres[43950]: [43950] FATAL:  no pg_hba.conf entry for host "[local]", user "postgres", database "postgres", no encryption

nvm, I was able to resolve it like this:
services.postgresql.authentication = pkgs.lib.mkOverride 10 ''
  local all all              trust
  host  all all <IP_ADDRESS>/32 trust
  host  all all ::1/128      trust
'';

However, this config is for my local machine used for development. Idk about setting it up for production.

  local all all              trust
  host  all all <IP_ADDRESS>/32 trust
  host  all all ::1/128      trust

This worked for me, thank you!

nvm, I was able to resolve it like this:
services.postgresql.authentication = pkgs.lib.mkOverride 10 ''
  local all all              trust
  host  all all <IP_ADDRESS>/32 trust
  host  all all ::1/128      trust
'';

However, this config is for my local machine used for development. Idk about setting it up for production.

This worked for me, thank you!


Feature Request: SVG Sprites Mode

This goes for all code implementations of icons with Iconify:
See the following scenario:

Where the icon (svg code) is repeated multiple times and makes the code bloated.
It would be interesting to make use of Svg Sprites to optimize this.

I've been considering this for a while, but there is a better solution that fixes DOM bloat: using icon as mask (for icons without palette) or background (for icons with palette), similar to how unocss handles it. That doesn't bloat DOM, rendering a simple span for each icon. So I've been considering adding bg mode to next version.
Would that solve your issue?

Would that solve your issue?

Nice!
If you solve the DOM bloat, yes, but it seems that it would lose the ability to inherit styles (color, bg-color, size) via css.
Then there would be a senseless loss. But if you can pass style properties, that would be good too.

Colors will work. That's the beauty of masks. See https://antfu.me/posts/icons-in-pure-css

It is available with new IconifyIcon web component: https://www.npmjs.com/package/iconify-icon
Wrapper for React will be available later, but for now you can use web component instead. Wrapper will be just extra bloat that serves no real purpose. Syntax is similar to React component.
It doesn't bloat DOM because icon is rendered in shadow DOM. In addition to that, it has 2 modes: svg and style. Second mode renders <span> with background or mask, so even shadow DOM is not bloated.
Usage example:
<iconify-icon icon="material-symbols:account-circle" mode="style"></iconify-icon>

To change color and size set font-size and color in style.
Also moving issue to new repository, this repository has been archived a while ago.