K-14 list and set context (introduced configobj)

Description
Closes issue 14
Checklist

[x] An issue was first created before opening this pull request
[x] The new code follows the kaos contribution guidelines
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[ ] I have added tests to ensure that prove my fix is effective or that my feature works

@ms-shankar - can you please commit and push your changes to the Pipfile and Pipfile.lock? It doesn't seem that the configobj library was added there.

User Testing Session (No. 1)
I performed a fresh install of kaos.
kaos is broken
The kaos command is broken due to Pipenv not installing the configobj dependency:
➜ kaos
Traceback (most recent call last):
  File "/Users/ahmad/.local/share/virtualenvs/kaos-azHSaT7n/bin/kaos", line 11, in <module>
    load_entry_point('kaos', 'console_scripts', 'kaos')()
  File "/Users/ahmad/.local/share/virtualenvs/kaos-azHSaT7n/lib/python3.7/site-packages/pkg_resources/__init__.py", line 489, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/Users/ahmad/.local/share/virtualenvs/kaos-azHSaT7n/lib/python3.7/site-packages/pkg_resources/__init__.py", line 2852, in load_entry_point
    return ep.load()
  File "/Users/ahmad/.local/share/virtualenvs/kaos-azHSaT7n/lib/python3.7/site-packages/pkg_resources/__init__.py", line 2443, in load
    return self.resolve()
  File "/Users/ahmad/.local/share/virtualenvs/kaos-azHSaT7n/lib/python3.7/site-packages/pkg_resources/__init__.py", line 2449, in resolve
    module = __import__(self.module_name, fromlist=['__name__'], level=0)
  File "/Users/ahmad/Workspace/kaos/cli/kaos_cli/__init__.py", line 2, in <module>
    from kaos_cli.factories.simple_factory import SimpleFactory
  File "/Users/ahmad/Workspace/kaos/cli/kaos_cli/factories/simple_factory.py", line 1, in <module>
    from kaos_cli.facades.backend_facade import BackendFacade
  File "/Users/ahmad/Workspace/kaos/cli/kaos_cli/facades/backend_facade.py", line 11, in <module>
    from kaos_cli.services.state_service import StateService
  File "/Users/ahmad/Workspace/kaos/cli/kaos_cli/services/state_service.py", line 4, in <module>
    from configobj import ConfigObj
ModuleNotFoundError: No module named 'configobj'

kaos build list is broken
I fixed the above problem by installing configobj manually (it should be reflected in the Pipfile and Pipfile.lock though, and then tried performing a kaos build list but it seems broken:
➜ kaos build list
Warning - Unknown error: TypeError("object of type 'NoneType' has no len()")

@ms-shankar - kaos build list doesn't break anymore, but it's not reporting my existing docker build, check out the following shell output:
➜ kaos build list
Warning - No active builds found.  You might want to include this in the CHANGELOG, a user out there might have to do a force-rebuild of their backend once they upgrade their kaos installation to your latest changes.
➜ kaos build deploy -c DOCKER -vyf
Apply complete! Resources: 1 added, 0 changed, 1 destroyed.

Info - Endpoint successfully set to http://localhost:80/api/
Info - Successfully built kaos environment

➜ kaos build list
+-------+---------+----------+-------+
| index | context | provider |  env  |
+-------+---------+----------+-------+
|   0   |  DOCKER |  DOCKER  | local |
+-------+---------+----------+-------+

➜ kaos destroy -c DOCKER -vy
Destroy complete! Resources: 21 destroyed.
Info - Successfully destroyed kaos environment

➜ kaos build list
Warning - No active builds found. Please run kaos build deploy to deploy an environment

Build backend on DOCKER:
➜ kaos build deploy -c DOCKER -vy
...

Apply complete! Resources: 21 added, 0 changed, 0 destroyed.

Info - Endpoint successfully set to http://localhost:80/api/
Info - Successfully built kaos environment

Get list of builds:
➜ kaos build list
+-------+---------+----------+-------+
| index | context | provider |  env  |
+-------+---------+----------+-------+
|   0   |  DOCKER |  DOCKER  | local |
+-------+---------+----------+-------+

Deploy backend on AWS:
➜ kaos build deploy -c AWS -vy
...

Workspace "prod" already exists
Switched to workspace "prod".

...

module.registry.null_resource.build_push_tag[1]: Refreshing state... [id=676301818431185394]

Error: Failed to load config (; default context): invalid configuration: no configuration has been provided

  on ../../../../../../../Ahmad/Workspace/kaos/infrastructure/aws/envs/__working_prod/config.tf line 13, in provider "kubernetes":
  13: provider "kubernetes" {

...

module.registry.null_resource.build_push_tag[0]: Refreshing state... [id=3237394661645997731]
Error: Failed to load config (; default context): invalid configuration: no configuration has been provided
  on ../../../../../../../Ahmad/Workspace/kaos/infrastructure/aws/envs/__working_prod/config.tf line 13, in provider "kubernetes":
  13: provider "kubernetes" {

Warning - Unknown error: FileNotFoundError(2, 'No such file or directory')

There is some weird behavior going on with destroy now. After calling kaos destroy, the kaos build list command started returning duplicate entries:
➜ kaos build list
+-------+---------+----------+-------+
| index | context | provider |  env  |
+-------+---------+----------+-------+
|   0   |  DOCKER |  DOCKER  | local |
+-------+---------+----------+-------+

➜ kaos destroy -c DOCKER -vy
...
Destroy complete! Resources: 21 destroyed.
Info - Successfully destroyed kaos environment

➜ kaos build list
+-------+---------+----------+-------+
| index | context | provider |  env  |
+-------+---------+----------+-------+
|   0   |  DOCKER |  DOCKER  | local |
+-------+---------+----------+-------+
|   1   |  DOCKER |  DOCKER  | local |
+-------+---------+----------+-------+

➜ kaos destroy -c DOCKER -vy
Warning - kaos backend in DOCKER has not been deployed!

➜ kaos build list
+-------+---------+----------+-------+
| index | context | provider |  env  |
+-------+---------+----------+-------+
|   0   |  DOCKER |  DOCKER  | local |
+-------+---------+----------+-------+
|   1   |  DOCKER |  DOCKER  | local |
+-------+---------+----------+-------+

➜ tree .kaos
.kaos
├── config
└── state
    ├── AWS
    │   └── None
    └── GCP
        └── None

As per the Slack conversation on kaos-dev, the issue still happens:
➜ kaos build list
+-------+---------+----------+-------+
| index | context | provider |  env  |
+-------+---------+----------+-------+
|   0   |  DOCKER |  DOCKER  | local |
+-------+---------+----------+-------+
|   1   |  DOCKER |  DOCKER  | local |
+-------+---------+----------+-------+
|   2   |  DOCKER |  DOCKER  | local |
+-------+---------+----------+-------+
|   3   |  DOCKER |  DOCKER  | local |
+-------+---------+----------+-------+

➜ tree .kaos
.kaos
├── config
└── state
    ├── AWS
    │   └── None
    └── GCP
        └── None

5 directories, 1 file

➜ kaos destroy -c DOCKER -vy
Warning - kaos backend in DOCKER has not been deployed!

The earlier failure cases were due to incomplete deployments which were caused by stale infrastructure state configurations.  The following test case scenarios were tested from my side (DOCKER + GCP stage):
(kaos) KI-3162 :: KAOS/1/kaos ‹k-14-list-contexts*› » kaos build list
+-------+-----------+----------+-------+
| index |  context  | provider |  env  |
+-------+-----------+----------+-------+
|   0   | GCP_stage |   GCP    | stage |
+-------+-----------+----------+-------+
|   1   |   DOCKER  |  DOCKER  | local |
+-------+-----------+----------+-------+
(kaos) KI-3162 :: KAOS/1/kaos ‹k-14-list-contexts*› » kaos build active
Info - Active context is - DOCKER
(kaos) KI-3162 :: KAOS/1/kaos ‹k-14-list-contexts*› » kaos build set -i 0
Info - Successfully set to context - GCP_stage
(kaos) KI-3162 :: KAOS/1/kaos ‹k-14-list-contexts*› » kaos build active
Info - Active context is - GCP_stage
(kaos) KI-3162 :: KAOS/1/kaos ‹k-14-list-contexts*› » kaos destroy -c GCP -e stage -vy
Initializing modules...

Initializing the backend...

Initializing provider plugins...

The following providers do not have any version constraints in configuration,
so the latest version was installed.
.
.
destroying <lines removed>
.
.
module.networking.google_compute_network.k8s-network: Still destroying... [id=kaos-2-stage-vnet, 10s elapsed]
module.networking.google_compute_network.k8s-network: Destruction complete after 17s

Destroy complete! Resources: 32 destroyed.
Info - Successfully destroyed kaos [stage] environment
(kaos) KI-3162 :: KAOS/1/kaos ‹k-14-list-contexts*› » kaos build active
Info - Active context is - None
(kaos) KI-3162 :: KAOS/1/kaos ‹k-14-list-contexts*› » kaos build list
+-------+---------+----------+-------+
| index | context | provider |  env  |
+-------+---------+----------+-------+
|   0   |  DOCKER |  DOCKER  | local |
+-------+---------+----------+-------+
(kaos) KI-3162 :: KAOS/1/kaos ‹k-14-list-contexts*› » kaos build set -i 0
Info - Successfully set to context - DOCKER

Tried to trick kaos into thinking that it has an AWS_dev deployment, a KeyError gets triggered:
➜ tree .kaos
.kaos
├── config
└── state
    ├── AWS
    │   └── dev
    │       └── None
    └── DOCKER
        ├── config.json
        └── terraform.tfstate

4 directories, 4 files

➜ kaos destroy -c AWS
Warning - Are you sure about destroying kaos [prod] backend in AWS? [y/N]: y
Warning - kaos [prod] backend in AWS has not been deployed!

➜ kaos destroy -c AWS -e dev
Warning - Are you sure about destroying kaos [dev] backend in AWS? [y/N]: y
Warning - Unknown error: KeyError('AWS_dev')

kaos destroy logic has now been modified to handle empty env values as well. Tested OK

The issue with workspace set by index is not due to the introduction of configobj added in this PR. However, this issue has now been resolved.
The second issue with the workspace kill is due to the introduction of configobj and has now been adjusted to work correctly.


Can Not Find Module hooks.json

Hello Guys.
I am getting below errors during install framework7.
Can you please help me out for this.

How can this bug be reproduced?

Step one
Step two
Step three

What did you expect to happen?
What happened instead?
Please List the Following:

OS & version:
Node version (node -v) [Node v4+ is required] :
FoundationPress version (see line 3 in package.json):
Foundation version (found in node_modules/foundation-sites/package.json) :

Include Test Case (if applicable):

CodePen with Foundation 6.3.1, Float Grid and MotionUI

CodePen with Foundation 6.3.1, Float Grid with RTL Direction and MotionUI

CodePen with Foundation 6.3.1, Flexbox grid and MotionUI

CodePen with Foundation 6.4.1, XY Flexbox grid and MotionUI

CodePen with Foundation 6.4.1, XY Flexbox grid with RTL Direction and MotionUI

CodePen with Foundation 6.4.1, XY Flexbox grid with Prototype Mode and MotionUI

CodePen with Foundation 6.4.1, Float Grid and MotionUI

@niks-230688 what is framework7? Are you using FoundationPress?


0.8.x/document

Closes #652
Closes #655
Closes #653
Closes #749
Closes #612
Closes #614
Closes #618
Closes #750
Closes #659
Closes #660
Closes #667
Closes #619
Closes #632
Closes #766
Closes #318
Closes #678
Closes #693
Closes #446
Closes #326

There's a number of methods on DatabaseBackend which don't look like they return anything in core, yet you have them typed as returning Promise<T[]>. Should these be abstract methods instead?

_deleteDocuments
_deleteEmbeddedDocuments
_updateDocuments
_updateEmbeddedDocuments
etc

There's a number of methods on DatabaseBackend which don't look like they return anything in core, yet you have them typed as returning Promise<T[]>. Should these be abstract methods instead?
* `_deleteDocuments`

* `_deleteEmbeddedDocuments`

* `_updateDocuments`

* `_updateEmbeddedDocuments`

* etc

Yes, they should, thanks for spotting that.


clarify pre-reqs for Windows DDE

Fixes https://docker.atlassian.net/browse/ENGDOCS-218.

@jasonbivins could you PTAL?
Believe this is also true for Community Windows installation - https://docs.docker.com/docker-for-windows/install/#system-requirements.
Could you confirm so that I can update the Community version as well? Thanks.

Deploy preview for docsdocker ready!
Built with commit 3a90a847f5867aca759ec677ed93c9e8e7758c11
https://deploy-preview-9692--docsdocker.netlify.com

LGTM - warning is clear and commands to enable the requirements are included.
the Community edition installer checks for and then automatically enables Containers and Hyper-V
the EE installer doesn't since it's expected that EE offices have an onsite administrator with their own infrastructure install processes.


Support looking at crates.io releases

Similar to docs.rs, it'd be nice to have a report for packages on crates.io.

Hi @mathstuf!
Can you provide more details how you'd envisioned this to look?
Are you referring to a page like https://docs.rs/crate/futures?
Cheers!

Yes. Most of the projects I work on are hosted on a local (public) Gitlab instance; it seems that it wouldn't be supported on the website as-is (gitlab.com support is probably doable, but hosted instances would be harder to manage), but using crates.io would allow for getting these reports.

Cool, that makes sense to me!

Support for crates just rolled out to production.
An example is here: https://deps.rs/crate/rayon
You can also see a list of popular crates on the landing page.

Thanks!


CSS out of order of cards in movie list page

https://stackoverflow.com/questions/40255345/maximum-amount-of-characters-in-a-div-paragraph-tag-in-react

Use this to fix the cards by fixing the size of the meta description


Improve parser performance

Reduces the parse time by about 800%.

That's... amazing. Travis seems to be complaining about npm run build, any ideas why?

Looking at it right now.

I forgot to run the tests after the last change. Now fixed - performance remains the same.

800%

Holy moly that's quite the improvement. All that from caching some RegExps?

:cocktail:

Holy moly that's quite the improvement. All that from caching some RegExps?

Mostly from using them instead of several String#indexOf() lookups. Caching was just a little bonus.


Add rules for conditional logic

Add rules for class methods with conditional logic

It looks like perhaps this PR was intended for a different repo. https://github.com/mate-academy/style-guides perhaps?


lnd hangs without logs when tor socks port is set to tor control port

Background
This tripped me up longer than I want to admit. I accidentally set my tor.socks port to the same port as tor.control. When this happens, lnd simply hangs with no log messages at all, even with --debuglevel=trace. When trying to kill the process with Control+C you get a shutdown message but the process doesn't actually exit. You must do kill -9 to get exit the process.
Your environment

lnd version 0.9.1-beta commit=v0.9.1-beta
Ubuntu Xenial Docker Image (Linux a6deda9059c1 4.19.76-linuxkit #1 SMP Thu Oct 17 19:31:58 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux)
btcd backend (btcd version 0.20.1-beta)

Steps to reproduce
Create a lnd.conf file with the follow Tor config:
[tor]
tor.active=true
tor.socks=9051
tor.control=9051

Try to run lnd with lnd --configfile=/path/to/conf.
Alternatively, you can exclusively use cli flags:
lnd --tor.active --tor.socks=9051 --tor.control=9051 ...
Expected behaviour
I think it would be good at the very least to log something and handle a SIGTERM. Any indication or pointer to the problem would be very helpful instead of nothing. Not sure if there's a network level check you can do for this error. Perhaps just seeing if tor.socks and tor.control are the same port is sufficient to error out. However, this still happens if you only specify tor.socks and not set tor.control at all.
Actual behaviour
lnd hangs with no output and doesn't respect SIGTERM.

I have identified the issue. I'm working on it.


Bootstrap themes

Provide custom Bootstrap themes with Bootswatch to chose on CMS :icecream:

Package is ready from v0.3!
@vitorrgg please take a look on settings.json and set bootswatch_theme up on config.yml.
It should be a select with the theme names available here (lowercase).

https://github.com/ecomclub/storefront-template/commit/6cf0330f9b881d5b284a4d2699970aa8b894d0c3

@vitorrgg I've changed the property for theme name:
"theme": {
    "bootswatch": "_"
}

It can't be empty (throws a SASS error), use _ to use default Bootstrap theme (no Bootswatch theme).


[WIP][SPARK-40216][SQL] Extract common ParquetUtils.prepareWrite method to deduplicate code inParquetFileFormatandParquetWrite`

What changes were proposed in this pull request?
This pr is a refactor work, the main change is extract ParquetUtils.prepareWrite method to eliminate duplicate code in ParquetFileFormat and ParquetWrite.
Why are the changes needed?
Eliminate duplicate code
Does this PR introduce any user-facing change?
No
How was this patch tested?
Pass GitHub Actions

cc @gengliangwang @cloud-fan Do you have time to help review? Thanks

@sadikovi can you take a look?

Yes, I will take a look, thanks for letting me know.

Thanks @cloud-fan @sadikovi

Thanks @sadikovi  ~ rebase to keep the code up to date, let's wait for GA

Thanks @sadikovi @cloud-fan


HTTPS warning

In production, posting to /users to create a new user gives this warning in the node console:
WARN: Request isn't served through HTTPS: JWT in the cookie is exposed.
If you are behind a proxy (e.g. NGINX) you can:
- trust it: http://expressjs.com/en/guide/behind-proxies.html
- set cookie.secure false

This is from feathers-authenticate and I'm not familiar with that setup. I'm sorry you'll have to take this issue there too.

Well, what I mean is that, if the warning is legit, the starter should probably serve via HTTPS.  (Or maybe there could be directions somewhere for adding that for oneself.)  I say this only because of the "production ready" advertisement.  :)

Understood. Added an issue.


use python3 in /py/ folder

use python3 in /py/ folder, so that people can utilize async and pathlib.
fixes #377

This change is

Coverage decreased (-4.4%) to 24.186% when pulling 51b7054e1ff5e6ce3190a59322eae2383a6972bf on Jimexist:use-python3 into a4b8031f12b5badcf035d595f89fc8650da6d69f on kubeflow:master.

/retest

/retest

anyone reading this knows how do i even know where to fetch the error logs? i looked up on the Argo workflow page but it only showed that certain image was not found


[Backport 2.x] Add capability to restrict async durability mode for remote indexes (#10189)

Backport https://github.com/opensearch-project/OpenSearch/commit/53cffefd22954276a9dc1cdea16ccd5ac2e2bc4c from https://github.com/opensearch-project/OpenSearch/pull/10189

The conflict came in the CHANGELOG.md file. All other conflicts were auto resolved.


⚠ HawkeUno has degraded performance

In e125c9a, HawkeUno ($UNO) experienced degraded performance:

HTTP code: 403
Response time: 2817 ms

Resolved: HawkeUno performance has improved in fc6bf14 after 14 minutes.


Stress test (Overload with multiple open connections/sockets)

Duplicated https://github.com/yetanotherco/aligned_layer/issues/1113

Duplicated https://github.com/yetanotherco/aligned_layer/issues/1113


Handle command line options with GetOpt

See #33.

@jsl @juanpaucar Can you take a look? This adds handling of command line options with System.Console.GetOpt (I used hapistrano as a test case for a blog post that I'm working on right now) and handles the case in which an environment variable is missing (instead of throwing an exception).

I'm not sure about the use of fromJust I know that we are never going to hit an error because of these lines and using other ways of dealing with the Nothing would be unnecessary but it kinda looks weird.
But the overall LGTM

@juanpaucar The use of fromJust was safe there, but not necessary. I force-pushed some changes to use maybe instead. It's prettier and simpler now.

Indeed LGTM :shipit:

I just noticed this PR - sorry for the delay. @jpvillaisaza I'm fine with merging this unless you see a reason not to.

@jsl Done. Thanks!


CI: Update build to match fMRIPrep

Build images from Ubuntu 22.04, which also requires upgrading the CircleCI machines to 22.04 due to some fixes in Docker (see https://stackoverflow.com/questions/71941032/why-i-cannot-run-apt-update-inside-a-fresh-ubuntu22-04).
Also add connectome workbench in preparation for #321/#322 and upgrade FreeSurfer and Convert3d for parity.

Codecov Report
Base: 69.62% // Head: 66.58% // Decreases project coverage by -3.04% :warning:

Coverage data is based on head (696c1ec) compared to base (99b0cfd).
Patch has no changes to coverable lines.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #323      +/-   ##
==========================================
- Coverage   69.62%   66.58%   -3.04%
==========================================
  Files          18       18
  Lines        1185     1185
  Branches      202      202
==========================================
- Hits          825      789      -36
- Misses        295      338      +43
+ Partials       65       58       -7

Flag
Coverage Δ

ds005
56.96% <ø> (-3.30%)
:arrow_down:

ds054
48.86% <ø> (ø)

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

Impacted Files
Coverage Δ

smriprep/interfaces/surf.py
32.00% <0.00%> (-38.00%)
:arrow_down:

smriprep/interfaces/freesurfer.py
56.43% <0.00%> (-10.90%)
:arrow_down:

smriprep/interfaces/reports.py
86.07% <0.00%> (-6.33%)
:arrow_down:

smriprep/cli/run.py
76.99% <0.00%> (-0.47%)
:arrow_down:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Checking storage level before persisting preppedRecords

@vinothchandar @ovj
In HoodieWriteClient, for API upsertPreppedRecords or insert without using dedup, it's possible that client persists the preppedRecords to a different level than MEMORY_AND_DISK_SER, and due to https://github.com/apache/spark/blob/master/core/src/main/scala/org/apache/spark/rdd/RDD.scala#L170, UnsupportedOperationException could be thrown.
This PR is to address this issue by persisting preppedRecords in upsertRecordsInternal when it was not persisted.
An alternative would be to introduce a new config hoodie.write.input.storage.level preppedRecords, so that preppedRecords could be persisted using the same storage level used by user.

Can we on the fly detect if given rdd is already persisted or not and then persist it only if it is not done already may be using configs?
    public static Optional<RDDInfo> getRddInfo(@NonNull final SparkContext sc, final int rddId) {                                for (RDDInfo rddInfo : sc.getRDDStorageInfo()) {                                                                             if (rddInfo.id() != rddId) {                                                                                continue;                                                                                }                                                                                return Optional.of(rddInfo);                                                                                }                                                                                return Optional.absent();                                                                                }

@bvaradar this is a good starter review.

Synced with @ovj the current approach is very simple and would achieve what we want. cc @vinothchandar @bvaradar

Introducing a config may not be a bad idea - with default as current level. So clients have the ability to control this if they choose not to cache here

Merging for now.. But I encourage us come up with more long term solutions in first cut moving forward.. or sit together and do a bug bash week of some sort to fix such issues that keep accumulating


SA1202 and Read Only Dependency Properties

Rule SA1202 is being reported for the read only dependency property pattern in WPF where a static, private DependencyPropertyKey is declared before a static, public DependencyProperty.  This issue was resolved in the previous edition of StyleCop by https://github.com/StyleCop/StyleCop/issues/51.

I can confirm this is still an issue, though I'm using Xamarin rather than WPF. Using a static constructor is a workaround unless you enable CA1810. We're currently just suppressing SA1202 for these situations, but it is rather verbose.

@gtbuchanan Can you show an example for how BindableProperty is used in source?

@sharwell It's very similar to WPF. It looks to be the same in MAUI as well.
private static readonly BindablePropertyKey IsLoadedPropertyKey = BindableProperty
    .CreateReadOnly(nameof(IsLoaded), typeof(bool), typeof(BaseLazyView), default);

/// <summary>
/// This is a read-only <see cref="BindableProperty"/> that indicates when the view is loaded.
/// </summary>
public static readonly BindableProperty IsLoadedProperty = IsLoadedPropertyKey.BindableProperty;

/// <summary>
/// Gets or sets a value indicating whether the view is loaded.
/// </summary>
public bool IsLoaded
{
    get => (bool)this.GetValue(IsLoadedProperty);
    set => this.SetValue(IsLoadedPropertyKey, value);
}

What happens if IsLoadedProperty is a property?
public static BindableProperty IsLoadedProperty => IsLoadedPropertyKey.BindableProperty;

Honestly, I haven't tried because the documentation states explicitly that the BindableProperty should be a public static readonly field. I'll give it a go and report back later.

I tested in Xamarin Forms with an auto-implemented get-only property as you suggested and it seems to work fine as far as XAML binding is concerned. I couldn't find any documentation about why a public static readonly field is required. Perhaps it is just a strong suggestion for performance reasons.


Add docstrings

Docstrings and examples for exported models

Let's put the new docstrings in the file where this line occurs:
https://github.com/FluxML/MLJFlux.jl/blob/b3fa3a82ecfa7da403582e41f6f51b32812ef9a0/src/types.jl#L100
That line, incidentally can be removed, along with the defintions of doc_regressor and doc_classifier which you are rendering redundant (maybe you can find something to use from there?) .
Can you please do that and open a new PR for review, closing this one
Thanks.

Accidentally closed!


[c-ares] Update to 1.33.0

[X] Changes comply with the maintainer guide.
[X] SHA512s are updated for each updated download.
[X] The "supports" clause reflects platforms that may be fixed by this new version.
[ ] Any fixed CI baseline entries are removed from that file.
[ ] Any patches that are no longer applied are deleted from the port's directory.
[X] The version database is fixed by rerunning ./vcpkg x-add-version --all and committing the result.
[X] Only one version is added to each modified port's versions file.

Duplicate?
https://github.com/microsoft/vcpkg/pull/40224


flutter run -d chrome still stuck on attempting to connect to the browser instance (Pop-Os 64)

subfly@pop-os:~/Documents/Flutter Projects/subfly$ flutter run -d chrome -v
[  +15 ms] executing: [/home/subfly/flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[  +34 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] 1c535de7e0714253c3d71ef8af07b1ea27e2e586
[        ] executing: [/home/subfly/flutter/] git describe --match v*.. --first-parent --long --tags
[  +13 ms] Exit code 0 from: git describe --match v*.. --first-parent --long --tags
[        ] v1.10.14-186-g1c535de7e
[   +7 ms] executing: [/home/subfly/flutter/] git rev-parse --abbrev-ref --symbolic @{u}
[  +14 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u}
[        ] origin/master
[        ] executing: [/home/subfly/flutter/] git ls-remote --get-url origin
[   +9 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[  +44 ms] executing: [/home/subfly/flutter/] git rev-parse --abbrev-ref HEAD
[   +8 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] master
[  +91 ms] executing: /home/subfly/Android/Sdk/platform-tools/adb devices -l
[  +10 ms] Exit code 0 from: /home/subfly/Android/Sdk/platform-tools/adb devices -l
[        ] List of devices attached
[  +38 ms] Artifact Instance of 'AndroidMavenArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[   +3 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[ +131 ms] Generating /home/subfly/Documents/Flutter Projects/subfly/android/app/src/main/java/io/flutter/plugins/GeneratedPluginRegistrant.java
[ +106 ms] Launching lib/main.dart on Chrome in debug mode...
[        ] Building application for the web...
[+11601 ms] Daemon is already running.
[ +157 ms] Serving DevTools at http://<IP_ADDRESS>:33601
[ +434 ms] About to build [web]...
[   +3 ms] Running build...
[  +51 ms] Running build completed, took 13ms
[        ] Caching finalized dependency graph...
[        ] Caching finalized dependency graph completed, took 45ms
[        ] Succeeded after 60ms with 0 outputs (0 actions)
[   +7 ms] Building application for the web... (completed in 12.3s)
[        ] Attempting to connect to browser instance..
^X^Z
[2]+  Stopped                 flutter run -d chrome -v

subfly@pop-os:~/Documents/Flutter Projects/subfly$ flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel master, v1.10.15-pre.186, on Linux, locale en_US.UTF-8)
[!] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
✗ Android license status unknown.
Try re-installing or updating your Android SDK Manager.
See https://developer.android.com/studio/#downloads or visit https://flutter.dev/setup/#android-setup for detailed instructions.
[✓] Chrome - develop for the web
[!] Android Studio (version 3.5)
✗ Flutter plugin not installed; this adds Flutter specific functionality.
✗ Dart plugin not installed; this adds Dart specific functionality.
[✓] Connected device (2 available)

flutter run -d chrome still stuck on connecting chrome, and still a window appears and disappear. Please solve this issue, this is my second time that  I opened this issue.

IMPORTANT NOTE
Switched to Deepin Linux 64 bit and everything works perfectly. This might be an issue for Ubuntu 19.04 based linux systems.

 There was a bug on master that was fixed recently. Does this continue to happen if you update?

I don't know if it has ever worked on debian based Deepin distros but yesterday when I oppenned the issue, it was not working on Ubuntu based PopOs distro. Maybe it is a system related issue rather than Flutter itself.

I don't know if it has ever worked on debian based Deepin distros but yesterday when I oppenned the issue, it was not working on Ubuntu based PopOs distro

But what version what is it not working on - without this information I have no idea if this is a new issue or whether you need to update.

Without additional information, we are unfortunately not sure how to resolve this issue. We are therefore reluctantly going to close this bug for now. Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.
Could everyone who still has this problem please file a new issue with the exact descriptions what happens, logs and the output of ' flutter doctor -v'  please.
All system setups can be slightly different so its always better to open new issues and reference related issues.

I had the same issue it was because I forgot to add the main function void main() => runApp(MyApp());

I resolved it by moving my main in lib directly rather than another folder inside it


💡[FEATURE]: Improve Footer UI

:fire: Is your feature request related to a problem? Please describe.

Enhance the existing footer UI for better aesthetics and functionality.

:spiral_notepad:  Describe the solution you'd like

[ ] Redesign footer layout.
[ ] Update color scheme.
[ ] Add links to important pages.
[ ] Ensure responsiveness.

:framed_picture: Inspiration

:package:  Additional context

Attach screenshots about the feature request here.

I would like to solve this if you tell me what footer contents you would like to have or replace from old one

Have you checked the existing Footer @kom-senapati  ?

Yep

@kom-senapati
So Create Accordingly by observing the Existing Site as well as the Inspired SS i've attached :smile:

Will try to submit pr tomorrow


Not really a issue, but a question.

Is it possible it possible to.get your status saying Members: #... Servers #... Using thr rval command? If so can you tell me how

Hey there!
This is not the place to ask for code, it certainly is possible but we do not provide support for this. If you are wanting to do this, please look at their issue tab/support team.. We apologize for any issues caused by this.
Our server will hopefully be reopening again soon to the public and we will provide channels there for bot development, we'll be excited to see you again soon.
If you do not have any other questions/issues, please close this.


[QT] Add qt cc test

Adds qt_cc_test to the bazel repo so folks can create their own cc_tests with QT.

@ankit-agarwal1999 Would be nice if you could also an example of how to use it in the example folder - e.g. test_demo


Modifications to use the new field split capability of ESMF

Made changes to allocate fields to use farray instead of farrayPtr. This allows explicit specification of indexflag required by the new MAPL field split functionality. This functionality allows a clean way to create a new field from an exiting field where the new field is a 'slice' of the existing field with the slicing index being that of the trailing ungiridded dim of the existing field.

@aoloso This is done, right?


Transcoders page doesn't show content when MetaMask is connected to private network

Hi,
the Transcoders page at https://explorer.livepeer.org/transcoders doesn't show any content when MetaMask is connected to a private local network.
Steps to reproduce:

Switch MetaMask Network to "Localhost 8545"
Reload the page

There is just a blank page, it would be nice if there was an error.

I'm experiencing this with parity-ethereum v2.0.6.

Sorry but I can't do it. I reported the bug in May and don't have the details anymore.

@Randy1Burrell, my system:
OS: Arch Linux 64-bit
Browser: Firefox v62.0.3
Wallet: MetaMask v4.9.2, with "Localhost 8545" setting (aka "Private network")
Localhost node: Parity-Ethereum v2.0.6

I've dropped the console log to a gist (but it's horribly misformatted). I can't provide a screenshot.
This log starts with me already having MetaMask unlocked, and set up to use my local node.
I reload the page, which displays status ("bonded"), and stake/earnings fields populated.
I click "claim stake & fees", select the most possible blocks on the dialog with the slider, and submit the transaction (via MetaMask's pop-ups).
A dialog is displayed on-page immediately, with the same error message as in console log, while the transaction is not yet included in any block: "Error Claiming Earnings", "There was a problem claiming your earnings."
The transaction eventually succeeds.
After the transaction is confirmed, I reload the page (see same gist, different file for console log)). The status is now displayed as "Unbonded", with stake/earnings as 0.
There is apparently an error:
MetaMask - RPC Error: Internal JSON-RPC error. Object { code: -32603, message: "Internal JSON-RPC error." }

... but the detailed JS traceback is nonsensical, since it links to the minified (single-string) inpage.js.

If at this point I switch to MetaMask's "Main Ethereum Network" (remote Infura provider), and reload the page, then the fields are populated correctly.
If I switch back to my local node, there's the "internal JSON-RPC error" again. There are no error messages in parity's logs.

@arthurk thanks for reporting this in May and your response to my request.
@veox thanks for the details in the new issue.
I am closing this now because it no longer affects you. If it pops up again we can always reopen it.


File is mounted as directory - broken docker driver engine

Problem
When a file is mounted from a host to container, sometimes it creates a directory. The behaviour is flaky. But at the same time when we do the steps from already created container to another container, file is always mounted as directory.
Host -> primary container (file is created here) -> secondary container (file is mounted here)
Steps to reproduce
oneliner inside container
docker run --rm -it -v /var/run/docker.sock:/var/run/docker.sock docker:19.03.8-dind sh -c ' \
        echo "simple text file created inside container" > /root/file ; \
        docker run --rm -it -v /root/file:/somefile docker:19.03.8-dind  cat /somefile ; \
'

Note: The problem lies with primary container, secondary container could be anything. Another example using alpine
docker run --rm -it -v /var/run/docker.sock:/var/run/docker.sock docker:19.03.8-dind sh -c ' \
        echo "simple text file created inside container" > /root/file ; \
        docker run --rm -it -v /root/file:/somefile   alpine:3.9.6  cat /somefile ; \
'

Expected Output
simple text file created inside container

Actual output
cat: read error: Is a directory

Docker info for debugging :
Client:
 Debug Mode: false

Server:
 Containers: 1
  Running: 1
  Paused: 0
  Stopped: 0
 Images: 86
 Server Version: 19.03.8
 Storage Driver: overlay2
  Backing Filesystem: <unknown>
  Supports d_type: true
  Native Overlay Diff: true
 Logging Driver: json-file
 Cgroup Driver: cgroupfs
 Plugins:
  Volume: local
  Network: bridge host ipvlan macvlan null overlay
  Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
 Swarm: inactive
 Runtimes: runc
 Default Runtime: runc
 Init Binary: docker-init
 containerd version: 7ad184331fa3e55e52b890ea95e65ba581ae3429
 runc version: dc9208a3303feef5b3839f4323d9beb36df0a9dd
 init version: fec3683
 Security Options:
  seccomp
   Profile: default
 Kernel Version: 4.19.76-linuxkit
 Operating System: Docker Desktop
 OSType: linux
 Architecture: x86_64
 CPUs: 6
 Total Memory: 2.432GiB
 Name: docker-desktop
 ID: JPA6:3U75:KKBL:OBPH:2YIF:HQOS:QNAD:SOXL:HMZS:3REY:47FJ:UYG7
 Docker Root Dir: /var/lib/docker
 Debug Mode: true
  File Descriptors: 41
  Goroutines: 56
  System Time: 2020-04-25T14:29:44.333396655Z
  EventsListeners: 3
 HTTP Proxy: gateway.docker.internal:3128
 HTTPS Proxy: gateway.docker.internal:3129
 Registry: https://index.docker.io/v1/
 Labels:
 Experimental: false
 Insecure Registries:
  <IP_ADDRESS>:5000
  <IP_ADDRESS>/8
 Live Restore Enabled: false
 Product License: Community Engine

Might be a root cause for : https://github.com/gocd/docker-gocd-agent-dind/issues/14

$ docker run --rm -it -v /var/run/docker.sock:/var/run/docker.sock docker:19.03.8-dind sh -c ' \
        echo "simple text file created inside container" > /root/file ; \
        docker run --rm -it -v /root/file:/somefile docker:19.03.8-dind  cat /somefile ; \
'

This will not work; you are talking the Host Docker daemon, which is outside the context of the mount namespace that has the  /root/file and so it has zero knowledge that the referenced volume path should be inside that namespace and instead uses it own local path (so /root/file from the Host and when it doesn't exist, will be created as a folder)


feat: added request-review workflow

What is the purpose of this pull request?

[ ] New Icon
[ ] Bug fix
[ ] New Feature
[ ] Documentation update
[x] Other: GitHub workflow

Description

Adds all the contributor to the icon you are changing as reviewers.
Before Submitting

[x] I've read the Contribution Guidelines.
[x] I've checked if there was an existing PR that solves the same issue.

Hmm, I think this might actually not work as intended, I can't add most people, even by hand.

Hmm not sure if we want this. But I like the idea.
For old icons colebemis is listed as a contributor. Since he is not really involved in this project. Not sure if he should be invited.

Hmm not sure if we want this. But I like the idea.
For old icons colebemis is listed as a contributor. Since he is not really involved in this project. Not sure if he should be invited.

We could also mention them in the PR comment.
Another alternative is automatically generated code owners, not sure how that could work tho.

Hmm no I think we can keep this idea. But we should add an if statement for colebemis username.

Hmm no I think we can keep this idea. But we should add an if statement for colebemis username.

I don't think he will get added by this workflow, I think it will ignore him

Hmm no I think we can keep this idea. But we should add an if statement for colebemis username.

It will not add him, I'm not sure what the requirements are, but this is the output I get:
gh pr edit 2502 --add-reviewer colebemis
'colebemis' not found

@jguddas Thanks for checking! Maybe @karsa-mistmere wants to leave a review here as well?


just won't pair

I am tired and frustrated. I downloaded this and it worked fine until I got to the pairing screen. I have spent 2 hours trying to get it to pair to my controllers and it will not work. Please help, I am very desperate.

If it helps, I am using only one camera.


Connecting mis-matched Flutter platforms between blaze and device

https://b.corp.google.com/issues/161381934.

Once the host side tooling attaches to a running Flutter instance, snapshots sent to the target are not platform specific. From the internal issue, it seems like the issue is with Blaze rules for attaching to running instance. These aren't vended or maintained by Flutter. Can you confirm this isn't an issue with flutter attach?


update to akka 2.5.1

Akka 2.5.x is actually backwards binary (sic) compatible with 2.4.x so using this lib should just work in Akka 2.5 projects, however it would be good to update it to the latest series regardless.
Only question remains is which version you'd want to call this and release this in then?
Resolves https://github.com/romix/akka-kryo-serialization/issues/116

duplicate to #142
sorry it took so long - just took over the project...


Implement Message Signing

See https://github.com/ArkEcosystem/php-crypto/blob/develop/src/Message.php for how message signing was implemented.

See https://hexdocs.pm/exbtc/Exbtc.Core.html#ecdsa_verify/3 and https://hexdocs.pm/exbtc/Exbtc.Core.html#ecdsa_raw_verify/3


Add empty controller and API for VerticaRestorePoints

This PR build out the stub for an empty controller to handle the VerticaRestorePointsQuery API. It does not include a webhook, as there are no defined rules for transitioning the Custom Resource (CR), given that the spec portion contains only two fields. The operator can observe the new API, initiate a reconciliation iteration, and take no action, as we have set nil for the actors during this implementation phase

This has to merge into vnext. I changed the base of the PR, but I see a bunch of changes in there that you probably didn't do. I would suggest that you rebase with vnext and force push the changes up to GitHub.

I'm not sure about the scorecard tests; I have run them successfully on my local machine using the command operator-sdk scorecard bundle
--------------------------------------------------------------------------------
Image:      quay.io/operator-framework/scorecard-test:v1.5.0
Entrypoint: [scorecard-test olm-crds-have-resources]
Labels:
        "suite":"olm"
        "test":"olm-crds-have-resources-test"
Results:
        Name: olm-crds-have-resources
        State: pass

        Log:
                Loaded ClusterServiceVersion: verticadb-operator.v2.0.0

--------------------------------------------------------------------------------
Image:      quay.io/operator-framework/scorecard-test:v1.5.0
Entrypoint: [scorecard-test basic-check-spec]
Labels:
        "suite":"basic"
        "test":"basic-check-spec-test"
Results:
        Name: basic-check-spec
        State: pass

--------------------------------------------------------------------------------
Image:      quay.io/operator-framework/scorecard-test:v1.5.0
Entrypoint: [scorecard-test olm-status-descriptors]
Labels:
        "suite":"olm"
        "test":"olm-status-descriptors-test"
Results:
        Name: olm-status-descriptors
        State: pass

        Log:
                Loaded ClusterServiceVersion: verticadb-operator.v2.0.0
                Loaded 4 Custom Resources from alm-examples

but Github CI complains this
``
Image:      quay.io/operator-framework/scorecard-test:v1.5.0
Entrypoint: [scorecard-test olm-status-descriptors]
Labels:
"suite":"olm"
"test":"olm-status-descriptors-test"
Results:
Name: olm-status-descriptors
State: fail
Errors:
	verticarestorepointsqueries.vertica.com does not have a status descriptor
Log:
	Loaded ClusterServiceVersion: verticadb-operator.v2.0.0
	Loaded 5 Custom Resources from alm-examples

Image:      quay.io/operator-framework/scorecard-test:v1.5.0
Entrypoint: [scorecard-test olm-crds-have-resources]
Labels:
"suite":"olm"
"test":"olm-crds-have-resources-test"
Results:
Name: olm-crds-have-resources
State: fail
Errors:
	Owned CRDs do not have resources specified
Log:
	Loaded ClusterServiceVersion: verticadb-operator.v2.0.0

Update, I just add RestorePoints in status and change resource to fix the problem, but feel free let me know if we have better status field

Update, I just add RestorePoints in status and change resource to fix the problem, but feel free let me know if we have better status field

Update, I added 'RestorePoints' to the status and changed the resource to address the issue. However, please feel free to let me know if there is a bettern name for status field

This is fine for now. I expect to fill in valid status fields later.


Package names -> twitter_typesafe

To avoid namespace collisions with other projects.

Hi @rynonl,
Thank you for your contribution! We really value the time you've taken to put this together.
Before we proceed with reviewing this pull request, please sign the Typesafe Contributors License Agreement:
http://www.typesafe.com/contribute/cla


Request: Save specific tweet IDs

Making a cheeky request for a feature that allows people to not delete specific tweet IDs.   I'll keep reading the Twitter gem documentation and see if I can come up with something that works with the script though.

@DomT4 Good idea. You could add something to https://github.com/mikemcquaid/TwitterDelete/blob/ba9db22bd2f285bd7141d1c0105121e4cee2906d/twitter_delete.rb#L50-L66 to check the ID against a list saved in .tweets_to_keep or something? Happy to give you pointers on getting closer.

Passing on this issue in favour of a possible PR later :wink:.


DPE-4200 Scale-up from zero

Issue
O scaling to zero, the last unit ensure the cluster is dissolved.
Scale back to unit > 0 don't detect and treat the dissolved cluster.
Solution

detect and treat special case of dissolved cluster

Fixes #409

BTW, we are adding the test to check scale-down to zero and restore with foreign disk here.
Maybe it worth to copy it into MySQL VM/K8s as well?

we might need to change some things on router to support scaling mysql-k8s to 0 and back up

Testing it, it requires a remove and re-relate. On scaling in to zero, routers are cleaned up from the metadata already.
Messaging in the router is very clear, imo I think that's adequate behavior.

re:  it requires a remove and re-relate

Fields/customers do not like this... can we avoid re-relations without the real over-complication in code?

@paulomach hi Paulo, I see that the pool request was merged. How can I know the release version this will be published if it's not already?

Hey @sombrafam , this still on the discussion. There are some edge cases we need to fix.


How to use vision ?

Hello !
Can you update the doc to add gpt-4-vision-preview ?

something like this :         $binaryData = file_get_contents($imagePath);
    $base64EncodedImage = base64_encode($binaryData);

    $openaiResponse = OpenAI::chat()->create([
        'model' => 'gpt-4-vision-preview',
        "messages" => [
            [
                "role" => "user",
                "content" => [
                    ["type" => "text", "text" => "What’s in this image?"],
                    [
                        "type" => "image_url",
                        "image_url" => "data:image/jpeg;base64,{$base64EncodedImage}"
                    ],
                ],
            ]
        ],
        "max_tokens" => 300
    ]);

Thanky @gofortiss, this should work.
As an alternative you can pass an URL for the image like "https://example.com/image.jpg".
More details in the official OpenAI docs: https://platform.openai.com/docs/guides/vision/quick-start


Adams Car module

Tell me, is it possible to work with the Adams Car module?

I couldn't find any commands that would allow me to access the Adams Car (.ACAR) module. If you use standard commands in the ACAR application to create elements (points or parts), then they are not visible in the model construction tree. When moving from Adams Car to the Adams View interface (not to be confused with the regular Adams Aview), parts created using the .py script are displayed in the model construction tree.


Chat with Your Data in Autonomous Database Using Generative AI

WMS ID 11477
General requirements

Information in the workshop is adequate and updated
Code is correct and working
Links are correct
Make sure you enter the help email link in your manifest.json
Please make sure WMS URLs are updated as needed after your PR is approved

Checklist - Refer to the QA document for the complete list
Please confirm that the following is completed before submitting your PR

[y] All filenames are lower case (including folders, images, files, etc.)
[y] Filenames are descriptive
[y] Your workshop folder structure should be similar to the one used in the sample workshop (https://github.com/oracle-livelabs/common/tree/main/sample-livelabs-templates/sample-workshop)
[n] Are you using multiple versions (desktop/, sandbox/, tenancy/)? Make sure that each of them contains a manifest.json and an index.html
[y] Image references in markdown contain an alternate text

This is a simple test just to make sure the PR works with my new ADB clone that I created today.
Hint: Only change is in the cleanup lab. :-)
Thanks!

Hi Lauran! I'm not seeing any files changed with this PR.  If you have any changes to make, please push through the commit. Otherwise we can close this PR :)

Hi Hope. This was the wrong repo but the correct workshop. You are correct.  I was testing the entire cycle from production > new clone > fork  > production and everything worked as expected. I am out sick today . Please close the PR.
Thanks,
Lauran
Get Outlook for iOShttps://aka.ms/o0ukef

From: Hope Fisher @.>
Sent: Friday, January 12, 2024 2:33:29 PM
To: oracle-livelabs/sprints @.>
Cc: Lauran Serhal @.>; Author @.>
Subject: [External] : Re: [oracle-livelabs/sprints] Chat with Your Data in Autonomous Database Using Generative AI (PR #148)
Hi Lauran! I'm not seeing any files changed with this PR.  If you have any changes to make, please push through the commit. Otherwise we can close this PR :)
—
Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https://github.com/oracle-livelabs/sprints/pull/148*issuecomment-1889843340__;Iw!!ACWV5N9M2RV99hQ!MIxyPVcaAnuANSi2-GX3nWI_ABinLyqEgCHQsyKxg-l24mh4UONZapLMR7JyteCzgJrFJ-2rj6qbXmcPxdGmLQkOG7k$, or unsubscribehttps://urldefense.com/v3/__https://github.com/notifications/unsubscribe-auth/APNG4EUBM6EKNJLJDEO66T3YOGFYTAVCNFSM6AAAAABBW4REFSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOBZHA2DGMZUGA__;!!ACWV5N9M2RV99hQ!MIxyPVcaAnuANSi2-GX3nWI_ABinLyqEgCHQsyKxg-l24mh4UONZapLMR7JyteCzgJrFJ-2rj6qbXmcPxdGm2dLi4Pk$.
You are receiving this because you authored the thread.Message ID: @.***>


update disabled attributes to assign to the property

I don't know that much about angular, but I think this is the correct solution? The generated template is otherwise trying to assign the empty string to the disabled field which is a boolean.

Were you observing an error that this fixes?

When trying to compile with dartdevc I get:
[error] A value of type 'String' can't be assigned to a variable of type 'bool'. (package:angular2_components_example/app_component.template.dart, line 7897, col 49)

Please fix all errors before compiling (warnings are okay).

Nevermind, looks like this is a bleeding edge strong mode issue

Ok to delete the branch?


Lack of 'copy' member under 'extensions' resource

        "copy": {
            "name": "vmAgentCopy",
            "count": 2
        },

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

ID: 09fa0c14-9937-41bc-cc34-179edb379083
Version Independent ID: 10fe3600-21a5-12db-5e21-5ade3a8fa484
Content: Provision agents for deployment groups - Azure Pipelines
Content Source: docs/pipelines/release/deployment-groups/howto-provision-deployment-group-agents.md
Product: devops
Technology: devops-cicd-release
GitHub Login: @RoopeshNair
Microsoft Alias: ronai

@gagol14 -- thank you for your feedback.  Please add more context.


SYK2 lig_CHEMBL3265030_n and lig_CHEMBL3265035: change protonation state

Ligands lig_CHEMBL3265030_n and lig_CHEMBL3265035 have both two copies of the ligand in the .sdf, those are two "stereoisomers" (around a charged nitrogen, so not a real stereo center, but an "MD stereo center"=). At what pH were these structures prepared? Since the nitrogen is next to the phenyl ring, could it be neutral around neutral pH? Both in the PLB from Hahn et al as well as in the latest Schrodinger benchmark (https://github.com/schrodinger/public_binding_free_energy_benchmark/blob/a65d86b782a678c75388566ce00446e45283ee63/fep_benchmark_inputs/structure_inputs/merck/syk_4puz_fullmap_ligands.sdf) these two ligands are neutral (and therefore also don't have a "stereo center" at that nitrogen.

Changed protonation state of the two ligands in commit commit 4b6190b3c11f6a2925a731690c6f2302083dad37.
Removed the duplicate of the two ligands.


Removed explicit call to os.Exit(1).

os.Exit(1) is called implicitly by log.Fatalln
Or is there some specific reason for this to be called explicitly, that I am missing?

I don't want to do this. I teach specifically how the call to Fatal is hiding information. Readability is about not hiding the cost of things. I rather be specific and log and call os.Exit(1).

As a training material, what you say does make sense.
But would my proposal be valid in case of a real world application where the cost of such functions is well understood by the developers?

No, this is real world production code (to the extent of still keeping it simple). Obviously things I am doing with keys and tokens can't be done and that is documented.
it is better to make things easy to understand than easy to do.
So in a code review for a "real world" app I would still reject this change. You assume this is well understood and it is not.

You assume this is well understood and it is not.
Right, I get your point now. Even I learned about this only after referring to the documentation.

Thanks for clarifying.


can't run lorax with docker.

System Info
I run the docker like this, and contioner start fail, the error: Error response from daemon: could not select device driver "" with capabilities: [[gpu]].
My cpu device is RTX3080ti.
Information

[X] Docker
[ ] The CLI directly

Tasks

[X] An officially supported command
[X] My own modifications

Reproduction
my run_container.sh file
`#!/bin/bash
model=/home/ray30/ai/data/llama3-awq-int4
docker run -u root --privileged --gpus all -itd --name lorax -h lorax --net=host -v /home/ray30/ai/data:/data ghcr.io/predibase/lorax:main --model-id $model `
Expected behavior
work well

docker problems, not related to the lorax.


[rv_dm] State change from CmdExecuting to Idle has trigger that doesn't gate

Description
The trigger for the DM to change state from CmdExecuting to Idle does not properly gate access and wait for the intended event:
https://github.com/lowRISC/opentitan/blob/beac109dc22744615664dc13bc728df226237339/hw/vendor/pulp_riscv_dbg/src/dm_mem.sv#L189-L196
The current code is looking at the halted value directly, but a hart executing an abstract command is already halted.
Rocket's DM, the ancestor of the PULP DM, appears to operate differently, trigger on the action of writing to the halted register, rather than the current value. For some context about how it works, note that abstract commands are supposed to end in an ebreak, brings the hart back to the entry of the debugging loop. At the beginning of the debug loop, the hart would write to halted again. It's that write action, rather than the value of halted, that lets the DM know that command is done.

CC @msfschaffner @andreaskurth


First pass at Drone->Shipwright converter

 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.


chore: rename max_raw_casm_class_size to max_casm_contract_class_object_size

This change is

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#355
#354  👈
#284
#283 : 1 other dependent PR (#318 )
#250
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @ArniStarkware and the rest of your teammates on  Graphite

Will be squashed into parent PR.


Unable to download from UDEMY

[udemy:course] Downloading login popup
ERROR: Unable to download webpage: HTTP Error 403: Forbidden (caused by HTTPError()); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

No log (see here).
Duplicate of #29410, or open a new issue correctly using the link above if your verbose log doesn't correspond to the one posted in that issue.


sqlitestudio: 3.4.4 -> 3.4.5

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/pawelsalawa/sqlitestudio/releases.
meta.description for sqlitestudio is: Free, open source, multi-platform SQLite database manager
meta.homepage for sqlitestudio is: https://sqlitestudio.pl/
Updates performed

Version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 3.4.5 in filename of file in /nix/store/g27rwcdk1y75sj9n53nw02hsnhcblsza-sqlitestudio-3.4.5

Rebuild report (if merged into master) (click to expand)

2 total rebuild path(s)

2 package rebuild(s)

First fifty rebuilds by attrpath

sqlitestudio

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/g27rwcdk1y75sj9n53nw02hsnhcblsza-sqlitestudio-3.4.5 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A sqlitestudio https://github.com/r-ryantm/nixpkgs/archive/0f18abcf7ae515566122c4686fd287222f900e75.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/0f18abcf7ae515566122c4686fd287222f900e75#sqlitestudio

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/g27rwcdk1y75sj9n53nw02hsnhcblsza-sqlitestudio-3.4.5
ls -la /nix/store/g27rwcdk1y75sj9n53nw02hsnhcblsza-sqlitestudio-3.4.5/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
nixpkgs-review result
Generated using nixpkgs-review.
Command: nixpkgs-review

x86_64-linux

:white_check_mark: 1 package built:

sqlitestudio

Maintainer pings
cc @AsterisMono for testing.

[!TIP]
As a maintainer, if your package is located under pkgs/by-name/*, you can comment @NixOS/nixpkgs-merge-bot merge to automatically merge this update using the nixpkgs-merge-bot.

Add a :+1: reaction to pull requests you find important.

@NixOS/nixpkgs-merge-bot merge

v3.4.5 contains mostly bug fixes.
Tested on x86_64 and it works fine for me


Windows Defender detects the virus   Trojan:MSIL/Lokibot.SS!MTB     when I try this code with Visual Studio 2019

should try it with vs2017

should try it with vs2017

I am also facing same issue
Windows Defender detects the virus Trojan:MSIL/Lokibot.SS!MTB when I try this code with Visual Studio 2019 #3

also same issue plz help

Please try this,
It is works for me!


Fix CMake library include_directories

Fixes two things:

matplotib_cpp target requires $<BUILD_INTERFACE:${PROJECT_SOURCE_DIR}> to be used with add_subdirectory so that matplotlibcpp.h can be included seamlessly
There are no headers within the examples subdirectory, therefore the $<BUILD_INTERFACE:${PROJECT_SOURCE_DIR}/examples> is useless

@lava can we get this one merged?


GC Allocations

Hi again,
I did some profiling on the library and noticed some things that could possibly be improved on in regards to allocations (and thanks to Unity still not switching to a proper GC this is always an issue :( ).

First of all I noticed that the NetUtils.DebugWrite* methods all take an params-argument, meaning that every call (even if no args are passed) results in an allocation of an array on the caller side. I wrote a simple patch that allows each of those methods to be called without any args (and also switched some of the calls that only supplied one arg anyway to just concat the string itself as a string.Format call for those was not really helpful :) ). As I haven't worked with GitHub and pull requests so far I attached it here:DebugWrite.txt

Now for those that I only looked at but no change so far :)

NetManager.ReceiveFromPeer creates a NetEvent and sets the DataReader's Source to a copy (GetPacketData()) of the NetPacket's internal array. Could the NetPacket be kept with the NetEvent and only be recycled after the event was handled so that it does not allocate new arrays all the time?

NetEvent instances aren't pooled at all currently. Still they both pile up in size as well as number of allocations (afaik the number is just as important as the size as the GC has to traverse all objects).
This seems to be done in Master already?

As for the last two I would not be surprised if there's no way to change this on your end, but maybe there is anyway?

Socket.SendTo calls IPEndPoint.Serialize internally each time, causing 80 Bytes of garbage for a new SocketAddress instance. No idea if there eg. is a way to provide this serialized form to Socket.SendTo so you could cache it or something like that?

Socket.ReceiveFrom does the same as SendTo, but also actually creates the IPEndPoint instances itself. Doubt there's anything that can be done about this one at all?

Library version: release version <IP_ADDRESS>
Framework: Unity 2018.1

First of all I noticed that the NetUtils.DebugWrite* methods all take an params-argument, meaning that

This calls disabled in almost all places unless you enable DEBUG_MESSAGESS definition, so there is no allocations in release and debug.

NetEvent instances aren't pooled at all currently.

Pooled. Only with unsynced evenets there is no pooling (my bad)
https://github.com/RevenantX/LiteNetLib/blob/master/LiteNetLib/NetManager.cs#L371

Socket.SendTo calls IPEndPoint.Serialize
Socket.ReceiveFrom does the same

This can be fixed with unsafe calls to winsock api on windows and bsd sockets on linux,mac but impact of this garbage very low.

NetManager.ReceiveFromPeer creates a NetEvent and sets the DataReader's Source to a copy (GetPacketData()) of the NetPacket's internal array. Could the NetPacket be kept with the NetEvent and only be recycled after the event was handled so that it does not allocate new arrays all the time?

I will look to this. I think i can improve that place.

This calls disabled in almost all places unless you enable DEBUG_MESSAGESS definition, so there is no allocations in release and debug.

Argh, my bad. Forgot that Unity always sets the DEBUG define in the editor and also on dev builds (which I had to do so I could even profile at all :) ).

Socket.SendTo calls IPEndPoint.Serialize

This can be fixed with unsafe calls to winsock api on windows and bsd sockets on linux,mac but impact of this garbage very low.

Well, the size of the garbage is definitely very low. But still the number of objects is very high and that's what costs time in the GC, no matter if the individual objects are small (at least with Unity's non-generational GC). So hope is up they finally get around updating that :)

I will look to this. I think i can improve that place.
Cool, that was the thing troubling me the most atm.

Combined with the changes for the NetEvent pooling and the feedback on Rejects in master this will make 0.8 a really great new release for us :)

In LiteNetLib 0.7 NetEvent polling also exists

@Alloc86 added NetPacketReader instead of NetDataReader at OnReceive calls. And you can recycle this reader. So for now there is no copies and GC calls in receive.

That's really great, thank you a lot 👍

Hm, as I'm updating for testing #237 I just noticed that in return you removed the Data property from NetDataReader so I can no longer access the whole byte[] without copying it. Can that be readded?

@Alloc86 you can access that data like array dataReader[0] == first byte. Or you can use dataReader.GetRemainingBytes() you will get copy of all remaining bytes. And you can use dataReader.GetBytes(myBuffer, dataReader.AvailableBytes)

Yeah, I'm aware of those accessors. But the network abstraction layer we have in requires that I get a byte[] out of it. So in this case my only option would be to use GetBytes but that copies the array which is just overhead as the data is already copied (synchronously, so no danger here) on the other into a MemoryStream.

Ah, gotcha. Thanks.
Btw, are you ever sleeping? Feels like there's never a moment you won't immediately reply :)

PS: Am I right that for the added NetPacketReader recycling I should manually call _reader.Recycle after I'm done with it?

@Alloc86

Btw, are you ever sleeping? Feels like there's never a moment you won't immediately reply :)

Yes :)

I should manually call _reader.Recycle after I'm done with it?

Yes)


[WIP] linux/prox: timeout fifo creation

Under certain conditions in the client, the fifo for a container may not
be created. A timeout has been added to this operation to ensure the
shim can recover when the client fails to open the fifos.
Signed-off-by: Stephen J Day<EMAIL_ADDRESS>Possible fix for https://github.com/moby/moby/issues/36661.

Please comment on the solution here. We have this in the 0.2.x branch but I don't think it is a complete solution to the FIFO lock problem.
https://github.com/stevvooe/ttrpc/issues/3 may help here, but is really unclear why the client is abandonding these fifos.

Codecov Report

Merging #2229 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #2229   +/-   ##
=======================================
  Coverage   41.04%   41.04%
=======================================
  Files          66       66
  Lines        7753     7753
=======================================
  Hits         3182     3182
  Misses       4069     4069
  Partials      502      502

Flag
Coverage Δ

#windows
41.04% <ø> (ø)
: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 8a7e17e...9754696. Read the comment docs.

Opening for write will block if the other side never open it for read (or if the process dies after opening it but before the shim had the time to open it on its side for write).
The issue is that it's hard to get a universal timeout as the load of the machine affects how long it could take.
This LGTM.

LGTM


invert charging + Factor 2000x nessesary

Charging "yes" shows discharging power (-]
Faktor 1000x result is half of real Power. Better 2000x would be useful.

Galaxy S23 Ultra(SM-S918B)
Build Number : S918BXXS3BWKC
Android version : U(Android 14)
Release Date : 2023-12-12
Security patch level : 2023-12-01

The indicator shows battery power consumption (e.g. power coming out of the battery), so a negative value is expected when charging (e.g. power going into the battery).
For the power value, how are you measuring the expected 12w pull? Keep in mind, the indicator shows battery power, so if the 12w is at the wall, some of that will be consumed by the device and not going into the battery.
For

Thanks for quick response.

Minus means for me drain the battery. But it's ok.
My powermeter is this: https://www.amazon.de/gp/aw/d/B09BYWDWRD

Maybe I'm false. I changed powerjack and cable and now data compare nearly. Might be PD-mode made the difference?
Your Wattz-App is what I'm searched for.
Many thanks for your help!

That's a neat cable. As an example, when I open Google maps on my Pixel 5, it pulls between 5-6 watts, so a difference of ~12w to ~5.8w is normal depending on what your phone is doing at the same time. There are also voltage conversion losses to account for when charging over PD, since it often runs at more than 5 volts.


Departmental radio creates inconsistencies with accents

Accents inconsistently go over departmental radio. Because of how departmental radio duplicates your accent, if circumstances would remove or alter your accent, or if you are using an accent that includes text randomization, you can create some reality paradoxes where you are simultaneously saying two things.

OwO accent. Exclamation marks are replaced with random faces. Different faces can create message inconsistencies.

Scrambled accent creates message inconsistencies frequently.

Lizard accent. I have no idea how this one occurred and it hasn't occurred again since it happened.

This also causes alcohol related slurred speech to magically turn to normal speech when talking on the radio:

fixed pretty sure


[Release] update webui gif

Description
Test Options

[ ] fast test
[ ] full test - HPO
[ ] full test - NAS
[ ] full test - compression

Checklist

[ ] test case
[ ] doc

How to test

close for https://github.com/microsoft/nni/pull/5542


Write-up antares reducer - actions, conventions

state keys:

agent

data
http

action keys:

meta

key
push

action data types:

agent/d/remember
agent/d/forget
agent/d/override
agent/d/merge

other action types
agent/subscribe

use a jsonpatch implementation to simplify and standardize


Refactor test to not seed

Rather than seeding the DB with fake posts we should refactor the tests to only create the data they need when they need it.

I have changed my mind and I am not going to do this anymore.


Support papers with 50+ citations

For papers with a lot of citations, the UI's call to the API for citation details fails. One reason might be that the API does not support requests with very long URLs (caused by appending the S2 IDs of many papers).
This results in a failure to retrieve paper details for any papers. So for a paper like:
https://s2-reader.apps.allenai.org/?file=https://arxiv.org/pdf/2002.11102.pdf

If you click on a citation, all citations disappear, because paper details have not been fetched for the papers and the interface fails when it tries to look up the paper details for the citation.
One potential fix to this that should suffice for now is to have the UI batch up requests to the API.
However, these calls to the API may take a long time too, which we should fix in a future issue.

There's two necessary fixes to this:

[ ] Fail gracefully Make sure that when a citation is clicked without a title property defined, that the exception is caught, and the reader doesn't crash (I think the solution to this problem is showing a tooltip like before, but with different content, e.g., a message that says "Sorry, no data for this paper")

[ ] Batched requests to API Calls to the s2-reader API should be batched, so that we aren't requesting paper details for more than, say, 50 papers at a time. The change should be made here, or around here https://github.com/allenai/scholar-reader/blob/3187c2f51f6363eac89cb07fe659f08b93d94346/ui/src/api.ts#L27-L36


[feature] Style fixes for Select-Xml tests

PR Summary
This PR includes:

Move Select-Xml tests from two different files into one.
Update test descriptions.
Update Pester syntax where applicable

PR Context
Tests for a specific cmdlet should be in the corresponding test file.
PR Checklist

[x] PR has a meaningful title

Use the present tense and imperative mood when describing your changes

[x] Summarized changes
[x] Change is not breaking
[x] Make sure all .h, .cpp, .cs, .ps1 and .psm1 files have the correct copyright header
[x] This PR is ready to merge and is not Work in Progress.

If the PR is work in progress, please add the prefix WIP: or [ WIP ] to the beginning of the title (the WIP bot will keep its status check at Pending while the prefix is present) and remove the prefix when the PR is ready.

User-facing changes

[x] Not Applicable
OR
[ ] Documentation needed

[ ] Issue filed:

Testing - New and feature

[ ] N/A or can only be tested interactively
OR
[x] Make sure you've added a new test if existing tests do not effectively test the code changed

[x] Add [feature] to your commit messages if the change is significant or affects feature tests

@ThreeFive-O Thanks for this PR! Could you update the tests to use the new recommended way of testing error?

@adityapatwardhan I've found the following sentence in the Pester guideline under "Pester Do and Don't" you linked

Prefer Try-Catch for expected errors and check $_.fullyQualifiedErrorId (don't use should throw).

Is this still referring to a time, where Pester didn't support the syntax Should -Throw -ErrorId? If so, I guess we should update the guideline accordingly.

Yes, that sentence should be removed. Please submit that change in a new PR if you can.


Multiple Models

Have you thought about making model assignment condition specific?

We shortly touched on that. Having multiple models which differ by more than parameter values (e.g. having different ODEs) is not considered at this point. However, it would be relatively easy to handle by just specifying a separate set of <SBML file, measurement file, ...> for each model.


enable declarationMap in ng-packagr

🚀 Feature request
Command (mark with an x)

[ ] new
[x] build
[ ] serve
[ ] test
[ ] e2e
[x] generate
[ ] add
[ ] update
[ ] lint
[ ] xi18n
[ ] run
[ ] config
[ ] help
[ ] version
[ ] doc

Description
see https://www.typescriptlang.org/v2/tsconfig#declarationMap

You should strongly consider turning this on if you’re using project references.

ng generate library my-lib will add path mapping in tsconfig.json. So we should enable  declarationMap

Duplicate of https://github.com/ng-packagr/ng-packagr/issues/1464

Actually let's re-open this, since it's slightly different but block it on  ng-packagr/ng-packagr#1464

Also, this needs some digging to see if it's even useful since we don't use project referenced.

I included these files in my npm package:

ts source code
compiled js code
.d.ts file
map files of js and .d.ts

When I use this npm library, I can jump directly to the ts source code by VSCode Go to Definition, which is very convenient.

Also, should we use Project References in angular?

should we use Project References in angular?
No, the Angular CLI / Compiler don't support composite projects.

I do see, that they can be useful in a monorepo, however, when shipping a library I don't think that dts maps will add any value unless you also ship the typescript source files.

We had a chat around this yesterday and we decided that we should enable declarationMap for non production builds.


Fix minor PSSA style violation

Pull Request (PR) description
This PR is to fix a single minor style violation in MSFT_xExchEcpVirtualDirectory. This is to ensure that when the new custom PSSA rules in this PR are merged then this repo will not go into a failing state.
This Pull Request (PR) fixes the following issues

N/A

Task list

[x] Added an entry under the Unreleased section of the change log in the CHANGELOG.md.
Entry should say what was changed, and how that affects users (if applicable).
[ ] Resource documentation added/updated in README.md.
[ ] Resource parameter descriptions added/updated in README.md, schema.mof
and comment-based help.
[ ] Comment-based help added/updated.
[ ] Localization strings added/updated in all localization files as appropriate.
[ ] Examples appropriately added/updated.
[ ] Unit tests added/updated. See DSC Resource Testing Guidelines.
[ ] Integration tests added/updated (where possible). See DSC Resource Testing Guidelines.
[x] New/changed code adheres to DSC Resource Style Guidelines and Best Practices.

@mhendric - I'll wait till this is through before allowing the DSCResource.Tests PR to go through. Cheers!

This change is

Codecov Report

Merging #416 into dev will not change coverage.
The diff coverage is 100%.

@@           Coverage Diff           @@
##              dev     #416   +/-   ##
=======================================
  Coverage   41.43%   41.43%
=======================================
  Files          39       39
  Lines        4778     4778
=======================================
  Hits         1980     1980
  Misses       2798     2798

Impacted Files
Coverage Δ

...irtualDirectory/MSFT_xExchEcpVirtualDirectory.psm1
96.96% <100%> (ø)
: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 99607ff...500f38e. Read the comment docs.

@mhendric or @gaelcolas can either of you merge this so we can get a PR through in DscResource.Tests. 🙂

Will do. Thanks for the contribution!


Not able to use this as dependency in swift package manager

am using this in Package.swift file:
    dependencies: [
        // Dependencies declare other packages that this package depends on.
        // .package(url: /* package url */, from: "1.0.0"),
        .package(url: "https://github.com/Building42/Telegraph.git")
    ],

but it asks for Version but am seeing you are releasing as "0.28" and so on which is not correct according to swift package manager and it complains that it needs something like this "0.0.1".
If you are using versioning like "0.0.1", from where I can refer as am unable to find that in your repo. If you  have any other way please let me know.

Hi @trnchawla. Thank you for reporting this issue
Ah yes, the lack of a build number seems to confuse the Xcode SPM integration.
I've added an extra tag: 0.28.0. I'll use that full version format for new versions too.
If you run into any issues, feel free to reopen this ticket.


CTD on meleeing Matt (Safe House) or Santa (Stealing Xmas) again

woah deja vu
Application has crashed: C++ exception
mods/IRE AND FIST REBORN/lua/copdamage.lua:369: attempt to index a nil value
SCRIPT STACK
damage_melee() @mods/base/req/core/Hooks.lua:188
_do_melee_damage() lib/units/beings/player/states/playerstandard.lua:2914
_do_action_melee() @mods/IRE AND FIST REBORN/lua/playerstandard.lua:1730
_start_action_melee() @mods/IRE AND FIST REBORN/lua/playerstandard.lua:1411
old_cam() lib/units/beings/player/states/playerstandard.lua:2555
_check_action_melee() @mods/IRE AND FIST REBORN/lua/playerstandard.lua:1462
_update_check_actions() lib/units/beings/player/states/playerstandard.lua:936
original() lib/units/beings/player/states/playerstandard.lua:435
original() @mods/base/req/core/Hooks.lua:188
update_original() @mods/base/req/core/Hooks.lua:265
update() @mods/IRE AND FIST REBORN/lua/BurstFire.lua:350
original() lib/units/beings/player/playermovement.lua:271
@mods/base/req/core/Hooks.lua:265

I assume this has something to do with the melee headshot multiplier so I tried this by hitting the head and body on separate occasions, but it triggers the same error message regardless.

Huh that's weird, I thought I had unit tests to prevent this from happening. Sorry about that! I'll make sure to push a fix in the next release which will be soon.

Should be fixed.


Showcase OpenCL

Hi. The PR in its current state is only to start a discussion about a potential change to run OpenCL kernels. See https://github.com/KomputeProject/kompute/issues/251

This is really interesting @jerryct, thank you for opening the PR to initiate the discussion. Before diving into the discussion could you  also create an issue that points to this PR so we can have a way to track on the issues as well?
In regards to your current suggetsions, it seems quite interesting that it does seem to work with OpenCL kernels that compile into SpirV, very cool - is the current feature request to just allow changing the name of the "main" entrypoint? If that is the case, this should be a relatively simple extension that could be exposed through helper / property functions.

I created this issue https://github.com/KomputeProject/kompute/issues/251 and moved most of the description from this PR.

is the current feature request to just allow changing the name of the "main" entrypoint?

Yes, this is the only change to make the above code work.

Closing to continue discussion through issue when picked up


Stop the time before the countdown ends

Talking about functionalities, is it possible to stop the timer (countdown) before its ending?
I've set 10 minutes to a task but I finished before it (efficiency is my last name). How can I start the timer?

Duplicate of #3


Baseline update

Updates to the current baseline model to and follow recent API updates:

Model returns a single embedding now as opposed to a dictionary of embeddings
load_model() returns a tuple of the loaded Model as well as a dictionary containing information including the sample_rate, embedding_size, and model version.
prepping load_model() to also support loading learned model that @Luckygyana is working on
input_sample_rate() has been removed since the sample_rate is now being returned in load_model()

I appreciate the dict simplification but I am still thinking some of the API is unappealing. Let's talk?


PeekingDuck Installation for M1 Mac MacOS Big Sur/Monterey

Please see updated instructions below.

Hmm... interesting. I've never seen this error before. I also checked and don't have the /AppleInternal folder. My ~/Library/Caches also don't have com.apple.xbs. This is confounding...

Looks like we need more test samples for M1 Mac install.

Apple's tensorflow builds now assume your MacOS is Monterey 12.x, so the previous install instructions will fail on MacOS Big Sur 11.x.
Here are the updated instructions:
PeekingDuck Installation for M1 Mac Big Sur 11.x (Update 20211222)
Prerequisites

Install homebrew
Install miniforge: brew install miniforge

Install PeekingDuck in a Conda Environment

conda create -n pkd python=3.8
conda activate pkd
conda install click colorama opencv openblas pyyaml requests scipy shapely tqdm
conda install -c apple tensorflow-deps=2.6.0
pip install tensorflow-estimator==2.6.0 tensorflow-macos==2.6.0 tensorflow-metal==0.2.0
pip install peekingduck --no-dependencies

Notes:

M1 Mac supports python 3.8 and above; python 3.6/3.7 are not available
Don't need to install numpy explicitly: above will install a suitable numpy version for Apple's tensorflow.

Peeking Duck error with Apple's Tensorflow 2.7.0, which is why we have to install the older 2.6.0.
p.s. both 2.6.0 and 2.7.0 uses numpy 1.19.5.

PeekingDuck Installation for M1 Mac MacOS Monterey 12.x
Prerequisites

Install homebrew
Install miniforge: brew install miniforge

Install PeekingDuck in a Conda Environment

conda create -n pkd python=3.8
conda activate pkd
conda install click colorama opencv openblas pyyaml requests scipy shapely tqdm
conda install -c apple tensorflow-deps
pip install tensorflow-macos tensorflow-metal
pip install peekingduck --no-dependencies

Notes:

M1 Mac supports python 3.8 and above; python 3.6/3.7 are not available
Don't need to install numpy explicitly: above will install a suitable numpy version for Apple's tensorflow.

For the latest updates, please see
https://peekingduck.readthedocs.io/en/stable/getting_started/03_custom_install.html#apple-silicon-mac


Error 500 / database_user: 'vmail' need more mysql permission ?

Hello I did successfully install everything to setup a mail server with this https://thomas-leister.de/en/mailserver-debian-stretch/
Only "custom" thing I did is add sasl authentication
I installed vmailmanage, pages are loading correctly. But every action I do (add domain, add aliases, add users) always get me a 500 internal error and I just can't find where are the logs about it (no error logs in apache2). I guess the problem is that the database user vmail need writing permission to the sql database but I was wondering if this is still secure to do so or is there anything else to do.
Thanks for the help.

Having the same Issue :(
Did anyone of you solve it?

If anybody need help for this Problem:
Update the permissions of the vmail database user to allow insert, update and delete queries:
grant select, insert, update, delete on vmail.* to 'vmail'@'localhost' identified by 'vmaildbpass';


Types for Select component

Also, changed the label prop in the Checkbox component from mandatory to optional, as we internally use it in the multiple select.

Change in props table the size type to string.

Fixed!


Incorrect syntax generated for select new { bool }

Beta8 / SQL Server 2014
Database model:
public class Blog
{
        public int BlogId { get; set; }
        public string Url { get; set; }
        public bool IsHipster { get; set; } // <=
        public List<Post> Posts { get; set; }
}

Repository model:
public class RepositoryBlog
{
        public int BlogId { get; set; }
        public string Url { get; set; }
        public bool IsHippy { get; set; } // <=
        public List<Post> Posts { get; set; }
}

Query 1:
List<RepositoryBlog> x = (from b in db.Blogs
	select new RepositoryBlog
	{
		BlogId = b.BlogId,
		IsHippy = !b.IsHipster, // Note negation
		Url = b.Url
	}).ToList();

Generated SQL:
SELECT [b].[BlogId], [b].[IsHipster] = 0, [b].[Url]
FROM [Blog] AS [b]

SQL Server error:
Incorrect syntax near '='.

Query 2:
List<RepositoryBlog> x = (from b in db.Blogs
  select new RepositoryBlog
  {
	  BlogId = b.BlogId,
	  IsHippy = b.IsHipster ? false : true, // Attempted workaround
	  Url = b.Url
  }).ToList();

Generated SQL:
SELECT [b].[BlogId], CASE
    WHEN [b].[IsHipster]
    THEN CAST(0 AS BIT) ELSE CAST(1 AS BIT)
END, [b].[Url]
FROM [Blog] AS [b]

SQL Server error:
An expression of non-boolean type specified in a context where a condition is expected, near 'THEN'.

Twice the fun!

@maumar we thought this may be something you have already fixed

Both issues still occur using rc1-final

1> Comparison in select needs to translated to Case statement, they are not supported directly. #3618 hits the same issue.
2> Boolean is stored as BIT in sql server so when it is used in When part of case it needs to be converted to Boolean or compared to 0.

The workaround was bit shorter
List<RepositoryBlog> x = (from b in db.Blogs
  select new RepositoryBlog
  {
      BlogId = b.BlogId,
      IsHippy = b.IsHipster == true ? false : true, // This works
      Url = b.Url
  }).ToList();

Generated SQL: which is correct
SELECT [b].[BlogId], CASE
    WHEN [b].[IsHipster] = 1
    THEN CAST(0 AS BIT) ELSE CAST(1 AS BIT)
END, [b].[Url]
FROM [Blog] AS [b]


Some questions about the MSIX installation package and releasing to Microsoft Store

在Powertoys0.16版本之后，关于它的MSIX安装包就不再发布了，据你们贴出的日志是由于发生了一些Bug导致不能正常发布了，但现在据0.16版本已经过去了很长时间了，Bug还没有修复吗? 而且根据你们的发布计划马上就会发布1.0的正式版本了，想问一下会在1.0版本或者最后一个预览版本0.21发布MSIX安装包的格式吗?
After the Powertoys0.16 version, the MSIX installation package of Powertoys0.16 will not be released any more. According to the log you posted, it is due to some bugs that cannot be released normally. But now it has been a long time since the 0.16 version, has the Bug been fixed?And according to your release plan, the official 1.0 release will be released soon. Would you like to know the format of the MSIX installation package will be released in version 1.0 or the last preview version 0.21?

@Gaoyifei1011
please see  https://github.com/microsoft/PowerToys/issues/413#issuecomment-642249658


Fix windows CI (#2069)

Which issue does this PR close?
Closes #2069
Rationale for this change

What changes are included in this PR?

Are there any user-facing changes?

Seems to have magically sorted itself out...

Codecov Report

Merging #2070 (766a17f) into master (ca5fe7d) will increase coverage by 0.61%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #2070      +/-   ##
==========================================
+ Coverage   83.54%   84.16%   +0.61%
==========================================
  Files         222      224       +2
  Lines       58186    61048    +2862
==========================================
+ Hits        48612    51381    +2769
- Misses       9574     9667      +93

Impacted Files
Coverage Δ

arrow/src/compute/kernels/arithmetic.rs
93.26% <0.00%> (-0.36%)
:arrow_down:

arrow/src/compute/kernels/temporal.rs
94.34% <0.00%> (-0.31%)
:arrow_down:

parquet_derive/src/parquet_field.rs
65.98% <0.00%> (-0.23%)
:arrow_down:

parquet/src/file/serialized_reader.rs
95.31% <0.00%> (-0.04%)
:arrow_down:

arrow/src/array/mod.rs
100.00% <0.00%> (ø)

arrow/src/util/bit_mask.rs
100.00% <0.00%> (ø)

arrow/src/datatypes/delta.rs
100.00% <0.00%> (ø)

parquet/src/util/page_util.rs
100.00% <0.00%> (ø)

arrow/src/compute/kernels/filter.rs
88.08% <0.00%> (+0.03%)
:arrow_up:

arrow/src/array/array_dictionary.rs
92.09% <0.00%> (+0.03%)
:arrow_up:

... and 17 more

Continue to review full report at Codecov.

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

I'm not 100% sure this solves the problem, but it appears to at least help so...


Dark Mode Frontend Implementation Plan

Fixes

Fixes #3958 by @zackkrida
Description

Work In Progress
Testing Instructions

Checklist

[ ] My pull request has a descriptive title (not a vague title likeUpdate index.md).
[ ] My pull request targets the default branch of the repository (main) or a parent feature branch.
[ ] My commit messages follow best practices.
[ ] My code follows the established code style of the repository.
[ ] I added or updated tests for the changes I made (if applicable).
[ ] I added or updated documentation (if applicable).
[ ] I tried running the project locally and verified that there are no visible errors.
[ ] I ran the DAG documentation generator (if applicable).

Developer Certificate of Origin

Developer Certificate of Origin
Developer Certificate of Origin
Version 1.1

Copyright (C) 2004, 2006 The Linux Foundation and its contributors.
1 Letterman Drive
Suite D4700
San Francisco, CA, 94129

Everyone is permitted to copy and distribute verbatim copies of this
license document, but changing it is not allowed.

Developer's Certificate of Origin 1.1

By making a contribution to this project, I certify that:

(a) The contribution was created in whole or in part by me and I
    have the right to submit it under the open source license
    indicated in the file; or

(b) The contribution is based upon previous work that, to the best
    of my knowledge, is covered under an appropriate open source
    license and I have the right under that license to submit that
    work with modifications, whether created in whole or in part
    by me, under the same open source license (unless I am
    permitted to submit under a different license), as indicated
    in the file; or

(c) The contribution was provided directly to me by some other
    person who certified (a), (b) or (c) and I have not modified
    it.

(d) I understand and agree that this project and the contribution
    are public and that a record of the contribution (including all
    personal information I submit with it, including my sign-off) is
    maintained indefinitely and may be redistributed consistent with
    this project or the open source license(s) involved.

Do you have a deadline in mind for this document @zackkrida?
If helpful, I found the following Figma documentation/post that could ease moving the design to frontend.

Guide to variables in Figma
How Figma uses Dev Mode to ship high quality features, faster

@fcoveram I'm going to finish this today. I will look at these resources. Thanks!

@sarayourfriend and @obulat any objection to me drafting the PR and moving on to the following updates?

Update the old snapshot names to include the "light" theme
Move verification and testing from production to staging
Update the implementation to default to the user's system preference as discussed here. Choosing "dark" will set a .dark-mode class, choosing "light" will set a light-mode class, and choosing "system" (the default value) will do nothing.
Update the tailwind config so that darkMode is set like this:/** @type {import('tailwindcss').Config} */
module.exports = {
 darkMode: ['variant', [
   '@media (prefers-color-scheme: dark) { &:not(.light-mode *) }',
   '&:is(.dark-mode *)', // :is is so the specificity matches and there's not unexpected bahavior
 ]],
// ...

}
This makes sure that we default to the user preference but that the user preference is overwritten if they have chosen light or dark mode in the UI toggle.
- Add a chart(s) for the different color scenarios (requested [here](https://github.com/WordPress/openverse/pull/3963#discussion_r1575448554))

Yes, sounds good to me.

@obulat and @sarayourfriend this proposal has been updated, and is ready for final review in the Decision round.


Add env var with labels from PR

It would be nice to have an env var like CI_COMMIT_PULL_REQUEST_LABELS containing a list of all set labels of a PR as a comma separated string. This would allow a user to filter steps and pipelines with https://woodpecker-ci.org/docs/next/usage/pipeline-syntax#evaluate to only be executed if a specific label is set or is not set.
For example the quite time consuming task of building docker images for PRs could be skipped by default and only be activated if the corresponding label was set by a maintainer.
Later with the support of label changes triggering pipelines like suggested in https://github.com/woodpecker-ci/woodpecker/issues/286#issuecomment-1116699790 a pipeline could immediately be executed in case a label got added.

CC @lukashass