chore(CHANGELOG): update

Proposed Changes

This PR bumps up dependencies related to task listeners implementation.
related to https://github.com/camunda/camunda-modeler/issues/4590
Checklist
To ensure you provided everything we need to look at your PR:

[x] Brief textual description of the changes present
[ ] Visual demo attached
[ ] Steps to try out present, i.e. using the @bpmn-io/sr tool
[x] Related issue linked via Closes {LINK_TO_ISSUE} or Related to {LINK_TO_ISSUE}

I've adjusted the commit message to make it clear that this PR is adding a new feature, cf. https://github.com/camunda/camunda-bpmn-js/pull/391/commits/537f097788e9b7d9d46cc9f8e8e1d2753e8f0de8


fix(select): always highlight the first item initially

When the select menu is open and mounted, always highlight the first item initially. There is no reason to do filtering based on the input value because the options are naturally filtered so the first item should be highlighted.
This was causing a bug with multi select when on the second input, the menu was unfocused.

I tried for a while to break it but seems to work well! Was it possible to reproduce the reported error with a e2e test?

e2e test added


TLS 1.3 not supported

To avoid confusion, it should be explicitly mentioned that TLS 1.3 is not supported at the moment.

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

ID: a564ccd6-2523-9ade-e002-f79d5c6deeaf
Version Independent ID: e099ba5d-60af-22b7-46e7-8054e707d5bf
Content: Manage protocols and ciphers in Azure API Management
Content Source: articles/api-management/api-management-howto-manage-protocols-ciphers.md
Service: api-management
GitHub Login: @dlepow
Microsoft Alias: danlep

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

I ran into this limitation of API Management now as well. It specifically becomes a problem if people need to connect to AKS, where the default ingress is set up to TLS 1.3, so will require rework from the get go. Any timeframe on support for TLS 1.3 to at least backends?

@vlad610 @las3r - Thanks for the good suggestion. I'm submitting a doc update to address this soon.


Network new interface (XYZ etc..)

https://github.com/openbmc/openbmc/issues/1284

openbmc/openbmc#1293 - Based on discussion in today's interlock, Still it is in merge. So interface is not finalized. @prkatti1 Please work with Ratan.

https://github.com/openbmc/openbmc/issues/1292 - Related.

[ ] Have a discussion with @ratagupt - List applicable test cases with automation capability / manual

[ ] Create stories with task for automation

Task already completed as per @prkatti1  closing


Generated play json does not compile due to implicit writer conflict

The generated Play 2.x json of the following api.json will not compile due to a conflict between the implicit writers.
api.json
{
  "name": "ambiguous-implicit-values-test",
  "description": "ambiguous implicit values test",
  "unions": {
    "container": {
      "types": [
        {
          "type": "serializable"
        }
      ]
    }
  },
  "models": {
    "model": {
      "fields": [
        {
          "name": "name",
          "type": "serializable"
        }
      ]
    }
  },
  "enums": {
    "serializable": {
      "name": "serializable",
      "values": [
        {
          "name": "CONSTANT"
        }
      ]
    }
  }
}

Error
[error]  package.scala:97: ambiguous implicit values:
[error]  both value jsonWritesAmbiguousImplicitValuesTestSerializable in package json of type => play.api.libs.json.Writes[com.gilt.ambiguous.implicit.values.test.v0.models.Serializable]{def writes(x: com.gilt.ambiguous.implicit.values.test.v0.models.Serializable): play.api.libs.json.JsString}
[error]  and method jsonWritesAmbiguousImplicitValuesTestContainer in package json of type => play.api.libs.json.Writes[com.gilt.ambiguous.implicit.values.test.v0.models.Container]
[error]  match expected type play.api.libs.json.Writes[com.gilt.ambiguous.implicit.values.test.v0.models.Serializable]
[error]       "name" -> play.api.libs.json.Json.toJson(x.name)

thanks for the great bug report - looking at this now

Bug fix for this specific example (model w/ single field) is at https://github.com/mbryzek/apidoc-generator/pull/58
And a branch demonstating same issue when model has multiple fields is here:
https://github.com/mbryzek/apidoc-generator/tree/issue_384_two_fields
[not sure of best approach there yet]
curious does the initial fix solve your immediate problem?

@zcohn we are still having issue with the client from affinity, @kevinoriordan can provide more details

@mbryzek This doesn't -- the main source of the problem in our case is model reuse at different levels of the union type hierarchy. (We can work around this with different models and the generated code is correct, or by modifying the generated code to specify the reader/writer rather than relying on the implicit.)

OK - so this is a bit tricky due to the implicits..
I have one thought I'd like to explore - independently, planning to add a discriminator field to the union types. This will be optional for backwards compatibility - but if present will flatten the json injecting the type discriminator field. Roughly:
"user" => { ... }
can become:
{
"type": "user",
...
}
With this approach, I think we can just NOT providing implicit model writes and instead just use the union type model writers all the time. The end result is every time you write the model, you will see the discriminator field - but I think it will fully avoid the situation where multiple implicits can match (and also provides JSON that is friendlier from javascript).
Work on the union type discriminator is here:
https://github.com/mbryzek/apidoc/pull/393
and starting to look into the JSON readers and writers

Have released apidoc this weekend w/ a major refactoring of the underlying json writers. I've tested locally and this service now compiles. Would you mind giving it a try to confirm if the new version solves this problem?


[Flyte Deck] Fix Lazy Import Error for Pandas and Plotly

Tracking issue
https://github.com/flyteorg/flyte/issues/5792
Why are the changes needed?
if we install flytekitplugins-deck-standard and flytekit, when import flyetkit, it will raise an error about ModuleNotFoundError or ImportError
What changes were proposed in this pull request?

add double quotes for pandas in pd.DataFrame as type hint.
use import plotly.express as px in the function to_html for each class instead of using lazy import, since lazy import will require user to install plotly.

How was this patch tested?
Dependency Check
pip list | grep -iE "flyte|panda|mark|plotly|pillow|ydata|pygment"

flyteidl                                 1.13.5.dev12+gc0fc6d463             /Users/future-outlier/code/flyte/flyteidl
flytekit                                 1.13.6b3.dev46+gf50b1eeaa.d20240926
flytekitplugins-airflow                  0.0.0+develop                       /Users/future-outlier/code/dev/flytekit/plugins/flytekit-airflow
flytekitplugins-awssagemaker             0.0.0+develop                       /Users/future-outlier/code/dev/flytekit/plugins/flytekit-aws-sagemaker
flytekitplugins-bigquery                 0.0.0+develop                       /Users/future-outlier/code/dev/flytekit/plugins/flytekit-bigquery
flytekitplugins-deck-standard            0.0.0+develop                       /Users/future-outlier/code/dev/flytekit/plugins/flytekit-deck-standard
flytekitplugins-flyteinteractive         0.0.0+develop                       /Users/future-outlier/code/dev/flytekit/plugins/flytekit-flyteinteractive
flytekitplugins-openai                   0.0.0+develop                       /Users/future-outlier/code/dev/flytekit/plugins/flytekit-openai
flytekitplugins-snowflake                0.0.0+develop                       /Users/future-outlier/code/dev/flytekit/plugins/flytekit-snowflake
flytekitplugins-spark                    0.0.0+develop                       /Users/future-outlier/code/dev/flytekit/plugins/flytekit-spark
jupyterlab_pygments                      0.3.0
markdown-it-py                           3.0.0
MarkupSafe                               2.1.5
Pygments                                 2.18.0

Deck Example
import time

import flytekit
from flytekit import ImageSpec, task, workflow
from flytekitplugins.deck.renderer import FrameProfilingRenderer, BoxRenderer, ImageRenderer

flytekit_hash = "7344f3ad8398588c9cd3e57757ea8101fc131b8a"
flytekit = f"git+https://github.com/flyteorg/flytekit.git@{flytekit_hash}"
flytedeck_plugin = f"git+https://github.com/flyteorg/flytekit.git@{flytekit_hash}#subdirectory=plugins/flytekit-deck-standard"

# Define custom image for the task
custom_image = ImageSpec(packages=[flytekit, flytedeck_plugin],
                            apt_packages=["git"],
                            registry="localhost:30000",
                         )

# Task: Markdown Renderer
@task(enable_deck=True, container_image=custom_image)
def t_deck() -> None:
    # time.sleep(15)
    pass

@workflow
def wf() -> None:
    t_deck()

if __name__ == "__main__":
    from flytekit.clis.sdk_in_container import pyflyte
    from click.testing import CliRunner
    import os

    runner = CliRunner()
    path = os.path.realpath(__file__)
    result = runner.invoke(pyflyte.main,
                        ["run", path, "wf"])
    print("Local Execution: ", result.output)

    result = runner.invoke(pyflyte.main,
                           ["run", "--remote", path,"wf"])
    print("Remote Execution: ", result.output)

Setup process
local execution and remote execution.
Screenshots

local execution

remote execution

Check all the applicable boxes

[ ] I updated the documentation accordingly.
[ ] All new and existing tests passed.
[x] All commits are signed-off.

Related PRs
https://github.com/flyteorg/flytekit/pull/2766

Thanks @Future-Outlier :+1:


Added prerequisite "file"

Took me some time to debug the strange error-message: [ERROR] [Errno 2] No such file or directory: 'file': 'file'

Thanks for the PR and your hint about the missing file dependency!
apt install file

is specific to Debian and Ubuntu. I think, I would change the text to be more distribution independent.


Draft: #187 Add allowCellular flag to Upload

Add flag to the Dart interface and pass it into
the method channel when enqueuing jobs

Read allowCellular flag from method channel
arguments when queueing uploads in iOS.

Add a second session and session configuration
to URLSessionUploader that sets allowCellularAccess to false. The sessions are
supposed to be long lived objects, so we construct both of them only once and keep them around.

Add switch to the actual creation of the upload task
that respects the allowCellular flag of the job and
chooses the correct session to schedule the upload.

Ok, now, finally, all formatting issues should be resolved. I'm very sorry about this. I was not aware of the formatters being
run.

@lyio no worries, I will review the PR soon. Automated code checks are not run for first-time contributors, which is preventing you from seeing this quickly.

Looking good! If you have a moment, please add a entry to the CHANGELOG.md file (top section) and mark this PR as ready (it's currently a "draft"). I will merge right after.

Thank you so much for your contribution. I will cut a pre-release shortly.


Added conditional to reduce desperation attack frequency

Added a conditional to the spell randomization algorithm that checks to see if the desperation flag is set before adding desperation attacks as valid choices for spell randomization.

I just noticed I opened this pull request to main instead of dev. Let me fix that.


Card feature update

I have added different card styling into Component Library

Looks good

Thanks

Looks Great 👍

Looks Great 👍

thank You


Roll Engine from c877eb878faf to 1a4d9063b363 (2 revisions)

https://github.com/flutter/engine/compare/c877eb878faf...1a4d9063b363
2021-10-06<EMAIL_ADDRESS>[Linux] Reset keyboard states on engine restart (flutter/engine#28877)
2021-10-06<EMAIL_ADDRESS>Roll Skia from 47da0ac577aa to 6d0234673a40 (4 revisions) (flutter/engine#29047)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Commit queue failed; closing this roll.


access to DoctrineManager from the console

Hi,
I create a webapp based on saxulum and it"s work very well. Now I try to implement console command to manage my models outside the webapp.
To do it I added the ConsoleProvider() to my app.php and Then I created my TestCommand.php in my namespace \Vendor\Test\Command.
I also add in my ServiceProvider  based on AbstractBundleProvider the addCommand($app).
When I do php app/console, I show my custom command implemented by TestCommand.php
However I can't find the right way to populate the doctrine->getManager() to permit me to manipulate my entities via Doctrine...
Do you have any example howto to do it ?
Regards,
Renaud

@renaudManda sorry for the very, very late response: did you extend the https://github.com/saxulum/saxulum-console/blob/v2/src/Saxulum/Console/Command/AbstractPimpleCommand.php ?


Could this work with Analog USB video in?

Could this work with analog usb video in?
https://www.banggood.com/Eachine-ROTG02-UVC-OTG-5_8G-150CH-Diversity-Audio-FPV-Receiver-for-Android-Tablet-Smartphone-p-1242422.html

You can use analog video in using just OBS studio; those analog receivers appear as a webcam (in Windows, anyway) so you can just set them up as an input in OBS, then set up the virtual webcam in OBS to get the output (if that's what you were going for.)


More pie's, Currency formatting and switch to primetables

Azure Static Web Apps: Your stage site is ready! Visit it here: https://gentle-ground-006341f03-4.westeurope.1.azurestaticapps.net


test: parametrize reciprocal

Description
Use pytest parametrize to convert the reciprocal test with two asserts, into two tests. One test for each method.
Closes #107
How has this been tested?

You can run pytest tests/sympc/approximations/reci_test.py from the root and should see something like in the image.

Checklist

[x] I have followed the Contribution Guidelines and Code of Conduct
[x] I have commented my code following the OpenMined Styleguide
[x] I have labeled this PR with the relevant Type labels
[x] My changes are covered by tests

It looks good - could you check the error from the pre-commit hooks and it should be good for merge.

Corrected. The error was because I forget to format with black8.


$slidev.nav.go not working ...

Describe the bug

To Reproduce
Steps to reproduce the behavior:
Desktop (please complete the following information):

OS: macOS 12.3
Browser: Chrome: 100.0.4896.127
Slidev version: 0.30.3

Some note, probably the nav that we get here is https://github.com/slidevjs/slidev/blob/main/packages/client/composables/useNav.ts

Thanks, the problem has been solved.


Fix cursor position updates in downshift's combobox input

Making this as a note to myself. This only happens on mobile as far as I can tell -- there's probably some kind of race condition, or at least some conflict in state management happening.
Some hints of what is going on here:
https://github.com/downshift-js/downshift/issues/1108#issuecomment-842407759
and one of the mentioning issues:
https://github.com/twilio-labs/paste/pull/2647
Haven't looked into it to see what the "proper" fix is yet.

Seems to be fixed with 6c569658e524879b8d707aba74e02fbfad6b9cfd


Change UI and backend to allow multiple files uploaded at once

We're using Multer and multers3 which we should be able to change to allow multiple files at once to be uploaded for user convenience

Live in staging.


Skip bundle creation if no change

Since our release in October there are two more package bundles released without any change to any of the packages. Need to audit the condition for publishing new package bundles to production.
k get packagebundle -A
NAMESPACE       NAME        STATE
eksa-packages   v1-23-107   available
eksa-packages   v1-23-109   available
eksa-packages   v1-23-110   available

PR hopefully fixing this ins dev/staging https://github.com/aws/eks-anywhere-packages/pull/657


Cambio de rondas

Codecov Report

Merging #25 (7e75d41) into master (df38e42) will increase coverage by 3.49%.
The diff coverage is 55.17%.

@@             Coverage Diff              @@
##             master      #25      +/-   ##
============================================
+ Coverage     74.16%   77.66%   +3.49%
- Complexity       88      114      +26
============================================
  Files            22       27       +5
  Lines           240      291      +51
  Branches         16       15       -1
============================================
+ Hits            178      226      +48
+ Misses           60       58       -2
- Partials          2        7       +5

Impacted Files
Coverage Δ

.../edu/fiuba/algo3/modelo/ColeccionDeCartasPais.java
100.00% <ø> (ø)

...java/edu/fiuba/algo3/modelo/ObjetivoConquista.java
0.00% <0.00%> (ø)

...va/edu/fiuba/algo3/modelo/ObjetivoDestruccion.java
0.00% <0.00%> (ø)

...n/java/edu/fiuba/algo3/modelo/RondaColocacion.java
40.00% <40.00%> (ø)

src/main/java/edu/fiuba/algo3/modelo/Pais.java
96.77% <50.00%> (-3.23%)
:arrow_down:

src/main/java/edu/fiuba/algo3/modelo/Tablero.java
71.87% <53.33%> (-16.59%)
:arrow_down:

src/main/java/edu/fiuba/algo3/modelo/Jugador.java
64.70% <54.54%> (+26.24%)
:arrow_up:

src/main/java/edu/fiuba/algo3/modelo/Teg.java
76.19% <55.55%> (+76.19%)
:arrow_up:

...du/fiuba/algo3/modelo/RondaAtaqueReagrupacion.java
60.00% <60.00%> (ø)

...edu/fiuba/algo3/modelo/RondaColocacionInicial.java
60.00% <60.00%> (ø)

... and 7 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 df38e42...7e75d41. Read the comment docs.


[TIR] Assert DataType Equality in BufferStore

WIP. There are some caveats of this statement.

I will tweak it a bit by adding some more warning messages today and ping you guys back tomorrow

@Hzfengsy @MasterJH5574 I added an extra warning when there is potential precision loss, for example, casting floating point numbers to integers. It should be good to go


Add Starcoder model support + demo

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.


Remove chown from dcs for artifactory HA (6.9)

This is a fix for #144
When running deployment configs for Artifactory HA the init-containers get permission denied. This is expected OpenShift behaviour as the init-containers as run as arbitrary UID and cannot do "chown":
$ oc logs artifactory-primary-2-b854q -c set-volume-ownership
chown: /var/opt/jfrog/artifactory: Operation not permitted
chown: /var/opt/jfrog/artifactory: Operation not permitted

To replicate the above issue run artifactory HA and postgres in separate projects. This is key to testing this as the postgres setup wants the user to add artifactory service account in anyuid scc.
To fix this, I have removed the chown init-containers as they are no longer needed in verison 6.9. This is tested in OpenShift 3.11 and is working.

Correction: Tested with OpenShift 3.7 and 3.11 and this PR fixes the permission denied issue

@daniyalj Can you add a note in README about this change as chwon is required in previous versions.


No module named RSD

Hi,
I've tried to run RSD, but I receive the following error:
import rsd

ImportError: No module named rsd
I'm not sure whether this is because of my paths (though they appear to be correctly set), or whether the RSD module is simply no longer supported.
Any insights you might be willing to offer would be greatly appreciated!

Did you use pip to install it?

I've installed the program via both GitHub and pip on separate occasions. I've tried installing to rsd module via:
pip install rsd
but it returns:
No matching distribution found for rsd
To clerify, I've already got the program installed, but it's not finding the rsd module.

I just ran pip install reciprocal_smallest_distance and ran import rsd without issue.
Without knowing more about your system, I'm trying to guess what might be wrong. Are you running a Windows OS? Could it be that rsd was installed in a different python distribution or environment or language version? Is there a way you can check which python is running rsd? If you're using one of the scripts that gets installed, like rsd_blast, you can find out (on my Mac) by running:
$ cat $(which rsd_blast) | head -n 1
#!/Users/tfd/opt/anaconda3/bin/python

I'm running this via a unix terminal. I've now fixed this issue by removing all traces of RSD from my computer. I initially downloaded the zip file, but should have just used pip as you did. There was also a residual RSD python egg file buried in my conda environment, which had to be removed.
import rsd now works. However, I'm now seeing:
$ rsd_format -g ./Proteomes/proteome.fasta -d .
Traceback (most recent call last):
File "/home/sfoley/.conda/envs/my_root/bin/rsd_format", line 35, in
main()
File "/home/sfoley/.conda/envs/my_root/bin/rsd_format", line 28, in main
destFasta = rsd.copyFastaArg(args.genome, args.dir)
AttributeError: module 'rsd' has no attribute 'copyFastaArg'
I think this could be a Python 2 vs 3 issue, but I'm not entirely sure.. It seems that only Python 3.6 is installed in my conda environment, but Python 2 is also available to all users on this system.

I would be surprised if it worked with python3. It hasn't been translated
yet.
Snt frm my tny kbrd
On Wed, Feb 12, 2020, 20:19 saoirseguita<EMAIL_ADDRESS>wrote:

I'm running this via a unix terminal. I've now fixed this issue by
removing all traces of RSD from my computer. I initially downloaded the zip
file, but should have just used pip as you did. There was also a residual
RSD python egg file buried in my conda environment, which had to be removed.
import rsd now works. However, I'm now seeing:
$ rsd_format -g ./Proteomes/proteome.fasta -d .
Traceback (most recent call last):
File "/home/sfoley/.conda/envs/my_root/bin/rsd_format", line 35, in
main()
File "/home/sfoley/.conda/envs/my_root/bin/rsd_format", line 28, in main
destFasta = rsd.copyFastaArg(args.genome, args.dir)
AttributeError: module 'rsd' has no attribute 'copyFastaArg'
I think this could be a Python 2 vs 3 issue, but I'm not entirely sure..
It seems that only Python 3.6 is installed in my conda environment, but
Python 2 is also available to all users on this system.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/todddeluca/reciprocal_smallest_distance/issues/6?email_source=notifications&email_token=AABUVKMKP5URZZ3COLHYFYDRCSNYVA5CNFSM4KUDTOE2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELTAUAA#issuecomment-585501184,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AABUVKJYL5JKXJROS7GIRCTRCSNYVANCNFSM4KUDTOEQ
.

I've just ran as you instructed, and it shows:
$ cat $(which rsd_blast) | head -n 1
#!/home/sfoley/.conda/envs/my_root/bin/python

so, it should be using the correct python.. Now I'm very confused as why the AttributeError: module 'rsd' has no attribute 'copyFastaArg' error is ocurring!

That is the error I got from using python3 instead of python2. If you try using python2, don't use the latest version of kalign (3.1), as it is incompatible with the CLI of the 2.04 version that RSD was tested with.

$ python -V returns Python 2.7.11. I'm also using Kalign v2.03, which was listed as the "current" version on its website.
The only other potential source of error I can think of might be attributed to how I installed RSD directly into my conda environment.

Perhaps /home/sfoley/.conda/envs/my_root/bin/python is python3?
Snt frm my tny kbrd
On Thu, Feb 13, 2020, 11:24 saoirseguita<EMAIL_ADDRESS>wrote:

$ python -V returns Python 2.7.11. I'm also using Kalign v2.03, which was
listed as the "current" version on its website.
The only other potential source of error I can think of might be
attributed to how I installed RSD directly into my conda environment.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/todddeluca/reciprocal_smallest_distance/issues/6?email_source=notifications&email_token=AABUVKM6U3HJJ4IMXPDW6O3RCVX3FA5CNFSM4KUDTOE2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELVUGWA#issuecomment-585843544,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AABUVKO4BBRNPK3MNIMWCSTRCVX3FANCNFSM4KUDTOEQ
.


Check whether slider is mounted before interaction, no-op if unmounted

If user interacts with a slider and, during that time, the slider disposed / unmounted (say, a timer that hides the timer), an exception will be thrown.
This pull request fixes it by adding a mounted check before any interaction with the slider.
List which issues are fixed by this PR. You must list at least one issue.

See internal bug: b/192329942

If you had to change anything in the flutter/tests repo, include a link to the migration guide as per the breaking change policy.
Pre-launch Checklist

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I read the Tree Hygiene wiki page, which explains my responsibilities.
[x] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[x] I signed the CLA.
[x] I listed at least one issue that this PR fixes in the description above.
[x] I updated/added relevant documentation (doc comments with ///).
[x] I added new tests to check the change I am making, or this PR is test-exempt.
[x] All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on Discord.

Hi @Piinks, I don't think test is needed for this change. This change is simply adding a mounted check before starting any interaction with the Slider. The very same is already added to the _endInteraction() method.
We're seeing that _startInteraction() and _handleEvent() invoked when the Slider is already dismounted, and causing app crashes., hence adding the check.

Hey @Piinks , I just added test which would not pass without the mounted check. Can you review the code again? Thank you!

Gentle ping :)

Gentle ping :)

Hey! Requested changes are still pending.

Sorry, what changes you're referring to? I could not find any code review comments, or did I miss anything?

Hi @TahaTesser , I've made the changes accordingly.

Sorry I'm not very familiar with the github PR process - is there anything I need to do to get the PR merged?

@liumcse
It looks like you need to rebase your branch.

All checks have passed. Can someone merge it? Thanks!


Re-enable Windows 3.8 tests in CI

In this PR we have temporarily disabled the Windows 3.8 test suite. We should reactivate this.
Definition of Done

[ ] Investigate if the old problem still consists
[ ] If it still exists: Create issue to fix it
[ ] If it doesn't exist: Re-enable the tests

cc @TyDunn Somewhat important


Setting Chart size to width of page?

Is there a way to set the width of a chart to the width of the screen (ie. 100%) I can only find way to change the actual pixel value.

Make sure you are setting the width when instantiating the chart element, not inside the options for the chart (see the example in the README). There you can also set a percentage, e.g.:
chart = gchart.LineChart(simple_data_source, width="100%")


Feature: Ability to send a list of repos instead of just one

It would be nice to feed it a list of repositories instead of just one repo. The use case for this would be: As a maintainer, I want to check my response rate and close rate for issues and PRs in open source projects that I maintain.

Hi!!
I added this example to the README in #93, but do you mean to provide this within the CI workflow? I might be able to work on this issue. (It might take me some time, though...)

Yes, Here I am talking about being able to do this in the search query like this. GitHub search has this nice OR capability so I thought it would be good to add an example of using this to the readme:
SEARCH_QUERY: repo:github-linguist/linguist OR repo:tree-sitter/tree-sitter is:issue

Hi!!!
I apologize for the considerable delay in my response, as I didn't notice the notification for this issue.
The link you commented on seems quite valuable, but it looks like a syntax for a code search query. We might want to consult documents like this because our aim is to search for issues. To "OR" multiple repos, perhaps you can simply list the repo names in the query.
Here's a simple example.
Search query: repo:Okabe-Junya/sandbox repo:Okabe-Junya/dotfiles is:issue created:2022-07-01..2023-07-31 -reason:"not planned" resulted in https://github.com/Okabe-Junya/sandbox/issues/218 (most of them are in Japanese, though).
I can create a PR to fix #93. This method appears to be more efficient.
Thank you.

As a maintainer, I want to check my response rate and close rate for issues and PRs in open source projects that I maintain.

For your purpose, the "involve" operator might be very useful.
Search by a user that's involved in an issue or pull request


Added mode to follow a specific robot

The camera follow the robot?

Yes, like in GrSim when we track a robot. It will help to debug the control.

solve with graph


Update updates.json

Fix for div by zero error, fixed before to range, fixed now for update dashboard. https://github.com/adriankumpf/teslamate/issues/1460#issuecomment-1585648601

Thank you!


About training my dataset

Traceback (most recent call last):
File "/home/anaconda3/envs/bcnet/lib/python3.7/runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "/home/anaconda3/envs/bcnet/lib/python3.7/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/home/BCNet/detectron2/data/datasets/process_dataset.py", line 584, in
dicts = load_coco_json(sys.argv[1], sys.argv[2], sys.argv[3])
File "/home/BCNet/detectron2/data/datasets/process_dataset.py", line 101, in load_coco_json
meta.thing_classes = thing_classes
File "/home/BCNet/detectron2/data/catalog.py", line 136, in setattr
"to a different value!\n{} != {}".format(key, self.name, oldval, val)
AssertionError: Attribute 'thing_classes' in the metadata of 'coco_2017_train' cannot be set to a different value!
['person', 'bicycle', 'car', 'motorcycle', 'airplane', 'bus', 'train', 'truck', 'boat', 'traffic light', 'fire hydrant', 'stop sign', 'parking meter', 'bench', 'bird', 'cat', 'dog', 'horse', 'sheep', 'cow', 'elephant', 'bear', 'zebra', 'giraffe', 'backpack', 'umbrella', 'handbag', 'tie', 'suitcase', 'frisbee', 'skis', 'snowboard', 'sports ball', 'kite', 'baseball bat', 'baseball glove', 'skateboard', 'surfboard', 'tennis racket', 'bottle', 'wine glass', 'cup', 'fork', 'knife', 'spoon', 'bowl', 'banana', 'apple', 'sandwich', 'orange', 'broccoli', 'carrot', 'hot dog', 'pizza', 'donut', 'cake', 'chair', 'couch', 'potted plant', 'bed', 'dining table', 'toilet', 'tv', 'laptop', 'mouse', 'remote', 'keyboard', 'cell phone', 'microwave', 'oven', 'toaster', 'sink', 'refrigerator', 'book', 'clock', 'vase', 'scissors', 'teddy bear', 'hair drier', 'toothbrush'] != ['KU', 'PH']
I'm extremely interested in your article. I tried to change images and json files into the coco type. Then I used your process.py to generate new json file. Then it outputted this problem. As you can see, my 'thing_classes' are two kinds ['KU', 'PH']. I want to know where can I change the 'thing_classes', then I can run the model.
Looking forward to your reply.

Hi, please refer to the issue reply here

I changed the thing_classes to my own dataset(2 kinds of things), I deleted your 80 kinds.
But I got another question as following.
[11/23 14:04:16 d2.evaluation.coco_evaluation]: Preparing results for COCO format ...
Traceback (most recent call last):
File "/home/BCNet/detectron2/engine/train_loop.py", line 131, in train
self.run_step()
File "/home/BCNet/detectron2/engine/train_loop.py", line 224, in run_step
losses.backward()
File "/home/anaconda3/envs/bcnet/lib/python3.7/site-packages/torch/tensor.py", line 195, in backward
torch.autograd.backward(self, gradient, retain_graph, create_graph)
File "/home/anaconda3/envs/bcnet/lib/python3.7/site-packages/torch/autograd/init.py", line 99, in backward
allow_unreachable=True)  # allow_unreachable flag
RuntimeError: cuDNN error: CUDNN_STATUS_NOT_SUPPORTED. This error may appear if you passed in a non-contiguous input.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "tools/train_net.py", line 161, in
args=(args,),
File "/home/BCNet/detectron2/engine/launch.py", line 51, in launch
main_func(*args)
File "tools/train_net.py", line 149, in main
return trainer.train()
File "/home/BCNet/detectron2/engine/defaults.py", line 373, in train
super().train(self.start_iter, self.max_iter)
File "/home/BCNet/detectron2/engine/train_loop.py", line 134, in train
self.after_train()
File "/home/BCNet/detectron2/engine/train_loop.py", line 142, in after_train
h.after_train()
File "/home/BCNet/detectron2/engine/hooks.py", line 353, in after_train
self._do_eval()
File "/home/BCNet/detectron2/engine/hooks.py", line 321, in _do_eval
results = self._func()
File "/home/BCNet/detectron2/engine/defaults.py", line 324, in test_and_save_results
self._last_eval_results = self.test(self.cfg, self.model)
File "/home/BCNet/detectron2/engine/defaults.py", line 485, in test
results_i = inference_on_dataset(model, data_loader, evaluator)
File "/home/BCNet/detectron2/evaluation/evaluator.py", line 158, in inference_on_dataset
results = evaluator.evaluate()
File "/home/BCNet/detectron2/evaluation/coco_evaluation.py", line 146, in evaluate
self._eval_predictions(set(self._tasks), predictions)
File "/home/BCNet/detectron2/evaluation/coco_evaluation.py", line 169, in _eval_predictions
category_id
AssertionError: A prediction has category_id=45, which is not available in the dataset.
I don't have the number of the category_id over 2 in my json file. But now I got this mistake.
Sorry to bother u again, looking forward to your reply.

Hi, I've solved this problem. I opened all files in your project, then I changed all the '80' to '2'.  Another problem occurred, but I found the answer in one issue.  Now the model is running, thanks for your open source code.

This one is the input of the model, next one is the output of the net.You can find the effect of model is not good. I found Yolact can do it better.

Here I'm going to introduce what I did. I need to find the fibers in the image. But I only have the small images and corresponding annotations. But I need the model to find the fibers in the big images. I tried your model with small images and their annotations. I validated in big images and got a not good result. Can you give me some advices to adjust the model to improve the result? Thanks a lot.

What's the training epochs for your dataset? What are the number of training images and input image sizes? For improving performance, these are all important. Also, I think data augmentation, such as rotation, will be beneficial in your project.

My training dataset contains 993 images. The shape of input images is 768x576x3. The max_iter is 90000 and the batch_size is 2.
The test image is 3840x2160. It took me about 6 hours for training.

Hi, I've solved this problem. I opened all files in your project, then I changed all the '80' to '2'. Another problem occurred, but I found the answer in one issue. Now the model is running, thanks for your open source code.

@breezero1994 In which files did you change num_classes? I changed it in FCOS detector buy got tensor shape error. You help would be really helpful.

Traceback (most recent call last): File "/home/anaconda3/envs/bcnet/lib/python3.7/runpy.py", line 193, in _run_module_as_main "main", mod_spec) File "/home/anaconda3/envs/bcnet/lib/python3.7/runpy.py", line 85, in _run_code exec(code, run_globals) File "/home/BCNet/detectron2/data/datasets/process_dataset.py", line 584, in dicts = load_coco_json(sys.argv[1], sys.argv[2], sys.argv[3]) File "/home/BCNet/detectron2/data/datasets/process_dataset.py", line 101, in load_coco_json meta.thing_classes = thing_classes File "/home/BCNet/detectron2/data/catalog.py", line 136, in setattr "to a different value!\n{} != {}".format(key, self.name, oldval, val) AssertionError: Attribute 'thing_classes' in the metadata of 'coco_2017_train' cannot be set to a different value! ['person', 'bicycle', 'car', 'motorcycle', 'airplane', 'bus', 'train', 'truck', 'boat', 'traffic light', 'fire hydrant', 'stop sign', 'parking meter', 'bench', 'bird', 'cat', 'dog', 'horse', 'sheep', 'cow', 'elephant', 'bear', 'zebra', 'giraffe', 'backpack', 'umbrella', 'handbag', 'tie', 'suitcase', 'frisbee', 'skis', 'snowboard', 'sports ball', 'kite', 'baseball bat', 'baseball glove', 'skateboard', 'surfboard', 'tennis racket', 'bottle', 'wine glass', 'cup', 'fork', 'knife', 'spoon', 'bowl', 'banana', 'apple', 'sandwich', 'orange', 'broccoli', 'carrot', 'hot dog', 'pizza', 'donut', 'cake', 'chair', 'couch', 'potted plant', 'bed', 'dining table', 'toilet', 'tv', 'laptop', 'mouse', 'remote', 'keyboard', 'cell phone', 'microwave', 'oven', 'toaster', 'sink', 'refrigerator', 'book', 'clock', 'vase', 'scissors', 'teddy bear', 'hair drier', 'toothbrush'] != ['KU', 'PH']
I'm extremely interested in your article. I tried to change images and json files into the coco type. Then I used your process.py to generate new json file. Then it outputted this problem. As you can see, my 'thing_classes' are two kinds ['KU', 'PH']. I want to know where can I change the 'thing_classes', then I can run the model.
Looking forward to your reply.

Unfortunately,I have the same problem,and I want to know how you solved it.
Looking forward to your reply.


Added WithExtraPaths() to EnvironmentBuilder

so those are changeable..

Thanks for the PR.
If this is called multiple times, it shouldn't override the previous paths.


It's allowing multiple instances of Nativefier, unlike other desktop app.

Description
Natifiered applications allowing multiple instances of the application, unlike mobile or desktop apps.
Specifications
Version of Nativefier (run $ nativefier --version): v7.4.0
Version of Node.js (run $ node --version): v6.10.3
OS: Windows 10
Architecture: 64 Bit

@maheshprabhu2010 use the --single-instance flag.


One-click creation of masked email addresses

Is there a way for Fastmail Plus to support one-click creation of masked email addresses?
Relevant resource:
https://david.coffee/creating-fastmail-masked-emails-without-1password-anytime-and-everywhere/
https://github.com/dvcrn/maskedemail-cli
Thanks!

Thank you for your comment! The proposed feature looks quite interesting. However, it is a bit difficult to implement right away. Creating a masked email address requires a JMAP username and password, but currently the Fastmail Plus extension doesn't have access to either of those, and I want to keep the extension as simple as possible, at least for the time being 😀


Reservation duration calculation

Q
A

Bug report?
[ ]

Feature request?
[ ]

Support request?
[ x ]

hi :)
It's normal when we make a reservation of several days, it does a calculation of a few hours? In my example, I made a reservation of 3 days and it indicates me 3 hours?
I do not know if it's normal behavior or I have to change some things in the settings
screen : http://www.turbopix.fr/v/pswuc69jir
Thanks :)

How can I modify so that it takes into account the days and not the hours, instead of putting 3 hours, put 3 days ?

you have to set cocorico.time_unit: 1440 here Cocorico/CoreBundle/Resources/config/parameters.yml:64

It's perfect :) Thanks


Bugfix/lshw aktualizr etc rocko

What was the bug?

@OYTIS technically no bug here, you're right! But arguably the lshw issue would affect rocko just as well as sumo, and the KVM mode fix is arguably a bug, and a bunch of stuff was fixed in aktualizr... I guess I used the word "bugfix" loosely.

Yo @EpicNuts, ready for you to QA this.


blue-green-deploy does not respect host setting in manifest

Hi,
we have following case:
manifest-base.yml
---
memory: 768M
instances: 1
path: ../target/pipeline-test.war
domain: domain.com
---

manifest-sbx.yml
---
inherit: manifest-base.yml
applications:
- name: pipeline-test
  host: pipeline-test-sbx

When executing blue-green-deploy command the output looks as follows:

Using manifest file manifests/manifest-sbx.yml
Creating app pipeline-test-new in org *** / space sandbox as ****...
OK
Creating route pipeline-test-new.domain.com...
OK
Binding pipeline-test-new.domain.com to pipeline-test-new...
OK

Route creation seems to take the value of the parameter name and does not honor host.
Parameter host should take precedence if available. I guess this is a bug.
Best regards,
Oliver

Hi there,
Is this plugin actively maintained still?
Any feedback?

Is this fixed in staging? There were some issues with the internal cf model of the manifest not supporting hosts and domains, but those should now be fixed. To try with staging,
cf uninstall-plugin blue-green-deploy
cf add-plugin-repo bgd-staging https://garage-cf-plugins.eu-gb.mybluemix.net/
cf install-plugin blue-green-deploy -r bgd-staging

Hi Holly,
I checked the staging version in the meantime.
Manifest looks as follows:
---
inherit: manifest-base.yml
applications:
- name: pipeline-test2
  host: pipeline-test2-sbx

Unfortunately, the behavior has not changed:
+ cf add-plugin-repo bgd-staging https://garage-cf-plugins.eu-gb.mybluemix.net/
https://garage-cf-plugins.eu-gb.mybluemix.net/ added as bgd-staging
[Pipeline] sh
[Test_AppDeployer_Docker] Running shell script
+ cf install-plugin blue-green-deploy -f -r bgd-staging
Searching bgd-staging for plugin blue-green-deploy...
Plugin blue-green-deploy 1.3.0+106 found in: bgd-staging
Attention: Plugins are binaries written by potentially untrusted authors.
Install and use plugins at your own risk.
Starting download of plugin binary from repository bgd-staging...
 5.67 MiB / ?  59455.84% 1s
 5.67 MiB / ?  59455.84% 1s
 5.67 MiB / ?  59455.84% 1s
 8.00 MiB / ?  83880.96% 2s
 8.00 MiB / ?  83880.96% 2s
 9.32 MiB / ?  97755.84% 3s
 9.86 MiB / ?  103349.75% 3s
Installing plugin blue-green-deploy...
OK
Plugin blue-green-deploy 1.3.0 successfully installed.

...

Using manifest file manifests/manifest-sbx.yml

Creating app pipeline-test2-new in org *** / space sandbox as ****...
OK

Using route pipeline-test2-new.domain.com
Binding pipeline-test2-new.domain.com to pipeline-test2-new...
OK

As you can see, still the host entry is not taken into consideration.
Best regards,
Oliver

I am having a similar issue. I expect the routes created to respect the host value in the application manifest. Instead, it creates the route name based on the name property.

I'm having the same issue. I've tried the production version of the plugin, as well as the staging version. I've also tried different combinations of using route, host, and domain in the manifest file.
cf_deploy.sh
cf add-plugin-repo bgd-staging https://garage-cf-plugins.eu-gb.mybluemix.net/
cf install-plugin blue-green-deploy -r bgd-staging -f

# Deploy
echo "Performing blue/green deploy"
MANIFEST="${WORKSPACE}/manifests/manifest-${ENV}.yml"
echo "Manifest file is ${MANIFEST}"
cf blue-green-deploy "${CF_APP}" -f "${MANIFEST}"

manifests/manifest-dev.yml
---
applications:
- name: "app name"
  buildpack: sdk-for-nodejs
  # routes:
  # - route: "host-name.us-east.mybluemix.net"
  host: "dev-ibm-org"
  memory: 256M
  services:
  - "User Provided Service - Credentials"

Here's the error I'm getting in my build pipeline:
Plugin blue-green-deploy 1.5.0 successfully installed.
Performing blue/green deploy
Manifest file is /home/pipeline/12cff38a-3d24-4c15-bcb3-9d8306a52ed3/manifests/manifest-dev.yml
Deleting app ibm.org - Dev - Portal-new in org Corporate Citizenship / space dev as<EMAIL_ADDRESS>OK
Using manifest file /home/pipeline/12cff38a-3d24-4c15-bcb3-9d8306a52ed3/manifests/manifest-dev.yml

Creating app ibm.org - Dev - Portal-new in org Corporate Citizenship / space dev as<EMAIL_ADDRESS>OK

Creating route ibm.org%20-%20Dev%20-%20Portal-new.us-east.mybluemix.net...
OK

Could not push new version - Server error, status code: 400, error code: 210001, message: The route is invalid: host format

Finished: FAILED


Edge: UI is half in German half in English

The tooltips are in German but the UI is in English.

I swear, we need some kind of CI setup, even if the only thing it does is check that the translation files are still valid JSON. ;)


ballerina-internal.log file created for failing tests

Description:
A ballerina-internal.log file is created with the following log when a test run using testerina fails:
[2021-01-25 07:12:03,074] SEVERE {b7a.log.crash} - there are test failures
java.lang.RuntimeException: there are test failures
	at org.ballerinalang.test.runtime.util.TesterinaUtils.executeTests(TesterinaUtils.java:78)
	at org.ballerinalang.test.runtime.Main.startTestSuit(Main.java:70)
	at org.ballerinalang.test.runtime.Main.main(Main.java:54)

This is not necessary because ballerina-internal.log  is for logging crashes during compilation and this is not a crash, but is something that happens and the test output actually shows this failure
Steps to reproduce:
Create a failing ballerina test case in package and run it using bal test
Affected Versions:
Swan lake alpha
OS, DB, other environment details and versions:
Ubuntu 20.04

This will be properly handled with https://github.com/ballerina-platform/ballerina-lang/issues/29632. Hence closing.


New  Collaborator

I'm not a long time to the project. Anyone would like to help me?

@AlexisBRENON?

Why not, but I'm not a very experienced web developer...

This is not a problem!
The important thing is develop with love :)


Mechanism figures

For: https://github.com/openstax/cnx-recipes/issues/4814

@kswanson33 As we discussed via slack and confirmed with Larissa that only figures with class  mechanism-figure are designated for moving caption over figure tag I reverted the changes for supporting different classes.


Cloudbuild is triggering new builds for commits in master

Cloudbuild builds should only be triggered by changes in main, however it seems like both main and master trigger new builds.

@keyonghan can you please take a look?

The cloudbuild trigger is correctly pointing to main branch, but the cloud scheduler is with "branchName": "master".
Updated to "branchName": "master". Waiting for validation.

Cloudbuild is building against only main. Closing.


Rails 5 Support

What is the reason to not support to Rails 5 in the latest version?https://github.com/runtimerevolution/survey/blob/master/survey.gemspec#L14
If there is no reason, shall we include it in the next release

I'd love to use this in a Rails 5 app also! Any news on whether this is on the horizon?

+1

Any additional info - is it ready?

1

Any word on this? Thanks!

Any news?

I prepared a commit, feel free to review (haven't done much on github yet, so please be patient with noobish mistakes)

I opened a PR to support this.
@eriko-de we both worked on this at the same time!
I was having a hard time keeping both Rails versions (3.2.6 and 5.0.7) because of Bundler incompatibility. I.e. Rails 3 uses Bundler 1 and Rails 5 uses Bundler 2, and Bundler 1 isn't compatible with 2 (and vice-versa). For this reason I gave up on Rails 3.
It's Rails 5 from now on. 🚀

I had no issue using bundler with ruby < 2.5 (used 2.3). i also don't get why it should be incompatible. nevertheless i did not had time to fully test the gem in a rails 3.x embedded app, but in our rails 4.x app all is working as expected after including the gem.
Don't understand why the dependency should be pushed from 3 to 5 not supporting 3 and 4 at all. I think this would introduce a lot of issues for other users.

I first tried to keep the dependency from 3 to 5. But doing so I could not create an app for Rails 5 and another for Rails 3, using the same version of the gem. Maybe my system is not well configured or maybe I don't fully grasp RVM and Bundler and so.
The Rails version on my PR (5.0.7) is itself an unmaintained version. 5.2 is the oldest still with maintenance. Current users of the gem that do not want or do not need to upgrade to Rails 5 will have to lock this gem version in their Gemfile.
Either way, future developments will surely break retro-compatibility. The moment we use some new feature from Rails 6 or Ruby 3 our support for older gem versions is gone.
May I suggest you @eriko-de try to look into our PRs and try to create a gem supporting 3 through 5. See if you can create an app in Rails 3, 4, and 5. If you can, then great! 🎉 Meaning it's definitely my fault not being able to do so in the first place.

Hey, sorry for the silence. I used my patch to get the gem working for our software (Rails 4, Ruby 2.3.3). It's running fine in our test environment, but we'll also update to Rails 5 at the end of the month (hopefully).
After updating to Rails 5, we would like to stick to the original repo again. So i'm happy with any PR which gets merged to get it running on Rails 5.
I wasn't able to get rails 3 running in the test suit because the dependencies are quit painful. I don't want to waste too much time, because, as you mentioned, it is rails 5 time :)


Update .NET documentation

[x] Update install instructions
[x] Update README
[x] Add tutorial

Fixes #571

@sonichi any thoughts on what might be causing the build issues? I've only changed the md files. I did pull the latest changes from main, so maybe there are conflicts there as well.

@sonichi any thoughts on what might be causing the build issues? I've only changed the md files. I did pull the latest changes from main, so maybe there are conflicts there as well.

@liususan091219 is working on fixing those issues in #647 . She has also mentioned it on gitter

@sonichi this one's ready to merge but it looks like I need an additional approval.


Required values for #refs not respected

Based on this stackoverflow post, I have tried different variations to get values in a requestBody to be marked as required but they do not work. In comparison, using openapi-generator with the typescript-fetch generator and the openapi-typescript library works (sometimes).
I like the approach kiota has taken for building a fetch wrapper and I am leaning strongly toward using it. Here are the variations that I have tried using:
1
{
  "allOf": [
    {
      "$ref": "#/components/schemas/Schema"
    },
    {
      "required": [
        "propertyName"
      ],
      "type": "object"
    }
  ]
}

2
{
  "allOf": [{"$ref": "#/components/schemas/Schema"}],
  "required": ["propertyName"],
}

3
{
  "allOf": [
    {
      "$ref": "#/components/schemas/Schema"
    },
    {
      "required": [
        "propertyName"
      ],
      "type": "object",
      "properties": {
        "propertyName": {...}
      }
    }
  ]
}

4
{
  "$ref": "#/components/schemas/Schema"},
  "required": ["propertyName"],
}

variant
openapi-ts
kiota
openapi-generator

1
✅
🟥
✅

2
✅
🟥
🟥

3
✅
🟥
✅

4
🟥
🟥
🟥

Please advise on how I should proceed. I'm more than willing to submit a PR to make this work.

Hi @azan-n
Thanks for using kiota and for the detailed analysis.
This discussion is already happening at #3911 so I'm going to go ahead and close this issue as duplicate.
Please share your views on that thread :)


Arc controller dashboard lists empty endpoint

Is there even an endpoint anymore now that everything is going through k8?

I think we can take that field out entirely. @swells checking with you, there's no more controller endpoint right?

Checked with Sean offline and we no longer need endpoint. Sent out a PR to remove the controller endpoint: https://github.com/microsoft/azuredatastudio/pull/16647


[Proposal]Can anyone explain that this is normal! ?

Is this fair to small miners! ?


Swagger definition is modified by validator

From the look of things, the validate function dereferences the swagger too. This cannot be disabled, and it modifies the original definition that was passed in. Ideally validate should not be mutating anything.

If mutation is necesarry, the new swagger should be returned with the validation result
dereferencing should be optional. I just want to make sure that my swagger definition is valid. I don't want a new one.

The validate() method has always called dereference() internally.  That behavior is documented here.  This is necessary because the JSON schema validator isn't able to resolve $ref pointers or handle circular references.
If you pass-in an object instead of a URL, then Swagger-Parser will directly mutate that object. If you want to keep a copy of the original object, then you'll need to do a deep clone before passing it to Swagger-Parser.

Yup, cloning the object was my personal fix for this. Didn't notice that part of the documentation though, thanks. It's still a little unexpected though.


feat(deps): update tubenhirn/semantic-release-git docker tag to v4

This PR contains the following updates:

Package
Update
Change

tubenhirn/semantic-release-git
major
v3.0.0 -> v4.0.0

⚠ Dependency Lookup Warnings ⚠
Warnings were logged while processing this repo. Please check the logs for more information.

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

:tada: This PR is included in version 2.0.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Black screen on boot when Docked

Hey!
I dont get any video output when i boot my deck while docked.
Im using the JSAUX HB0602. I've updated the firmware to the latest version.
dock is connected to a Viotek GNV30CB (2160x1080. Monitor supports 144hz, dock is connected via HDMI 1.4, so 75Hz)
When i boot, i get no video out from the dock, or the deck.
I just want to check if this is a dock issue, and if theres a way to check, or a rEFInd issue. At this point, im not pointing fingers, just trying to sort out the potential issue.

It is most likely an issue with your dock or cable connecting the dock and monitor. I also have a JSAUX dock and find the HDMI port finnicky, working sometimes to show the rEFInd screen and other times not. I'd say if you have the monitor working in the OS, see if rEFInd will display properly when you perform a restart. If it works okay on restart, I think you have your answer (dock or connection issue).

IS there a way to define in the conf file the default boot display, to have the boot menu show up on the dock regardless of a connected display?

Unfortunately, I don't think there's a way to change this in the config file. I don't see an applicable option here. I know it's annoying, but best bet is to probably just unplug the external display on boot temporarily.

@Kazlehoff
I am using the JSAUX dock and found that if I increase the timeout to about 15 seconds, the menu has enough time to show up on the external. I suspect this is happening because of a display port mode shift when you pass from BIOS into a deployed OS.

This is not directly related to the code provided in this repo. Either fix it with a higher refind timeout value, or discover and fix any potential hardware or cable issue. Closing...


[Misc] Discord Invite is Invalid

Anything you want to discuss about aios.
Hi,
I cannot access discord invite, could you update README with new link.
Thanks

That's strange. I just tested and it works, can you click again?: https://discord.gg/B2HFxEgTJX
If still not working, can you tell us more details such as what browser you are using? Thanks.

Thanks, It is working in chrome but not on firefox.


list index out of range

What does it mean?
C:\PROGRAMOWANIE\Python_OCR\Convert-own-data-to-MNIST-format-master\Convert-own-
data-to-MNIST-format-master>python convert_to_mnist_format.py C:\PROGRAMOWANIE\P
ython\OCR_Math\training_images 10
Traceback (most recent call last):
File "convert_to_mnist_format.py", line 215, in
main(sys.argv)
File "convert_to_mnist_format.py", line 199, in main
labelsAndFiles, argv[2])
File "convert_to_mnist_format.py", line 115, in make_arrays
imShape = imageio.imread(labelsAndFiles[0][1]).shape
IndexError: list index out of range

Hi @boloslaw ,
I help my friend to deal with this project, and also encounter this problem.
Some experience can share to you.
I just run the following command:
$ python3 convert_to_mnist_format.py dataset 0

But the same error occurs.
After I trace the code, the variable labelsAndFiles is empty.
The rough guess is that the image format is not PNG.
In the make_array function, the program only consider .png format.
Maybe you can just revise like this in line 87:
for file in os.listdir(dirname):
    if (file.endswith('.png')):
        fullname = os.path.join(dirname, file)

to become like this:
for file in os.listdir(dirname):
    if (file.endswith('.png') or file.endswith('.jpg')):
        fullname = os.path.join(dirname, file)

The only thing you need to do is waiting it complete!


⚠ Nebulance has degraded performance

In 8968d3e, Nebulance ($NBL) experienced degraded performance:

HTTP code: 200
Response time: 1575 ms

Resolved: Nebulance performance has improved in 78134ff after 8 minutes.


ScrollContainer doesn't react to its child's "sort_children()" naturally

Ubuntu 17.04 - Godot version: 3.0.alpha1
Issue description:
When the size of the child of a ScrollContainer node changes, the container will not update its scrollbars unless interacted with. The developer needs to use signals and manually call "queue_sort()" for the container.
Link to minimal example project:
Test.tar.gz

I also ran into this problem. Using the proposed work around fixes it but there should be no need for using it.

@akien-mga I have only now seen that you labeled the duplicate of this issue as "archived", could you put this one in the 3.0 milestone then?

This may be related to scroll container or not:
https://github.com/godotengine/godot/blob/master/scene/gui/scroll_container.cpp
Technically when nodes are removed or minimum size changed, the containers will re-sort them. Possible solution may be to call update_scrollbars on NOTIFICATION_SORT_CHILDREN

@reduz So the fix is literally one line away... May I have a go then?

Closing as this is not the real issue.


Use features in search

The search endpoint was using the feature types from the arrow table returned by duckdb, which doesn't contain any metadata about the Image type.
So I added a features field to the split-duckdb-index job to store the feature types that the search endpoint can use to correctly load the image data.
I added a migration job to fill this field with None and I will simply update the split-duckdb-index job for image datasets.
Fix https://github.com/huggingface/datasets-server/issues/1713

Codecov Report
Patch coverage: 25.00% and project coverage change: -2.56% :warning:

Comparison is base (07a290a) 86.13% compared to head (97406dd) 83.58%.
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1725      +/-   ##
==========================================
- Coverage   86.13%   83.58%   -2.56%
==========================================
  Files          52       49       -3
  Lines        2763     1474    -1289
==========================================
- Hits         2380     1232    -1148
+ Misses        383      242     -141

Flag
Coverage Δ

jobs_mongodb_migration
85.15% <ø> (?)

libs_libapi
?

services_admin
?

services_api
?

services_rows
?

services_search
78.36% <25.00%> (-0.47%)
:arrow_down:

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

Files Changed
Coverage Δ

services/search/src/search/routes/search.py
53.60% <25.00%> (-0.88%)
:arrow_down:

... and 89 files with indirect coverage changes

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

Will update the spec with a real example once it's deployed

Just deleted the cached responses of datasets with an "image": Image() type to refresh them (around 13k documents).
Not sure how to get the list of datasets with an Image() type in a column named differently than image though without scanning all the db

Not sure how to get the list of datasets with an Image() type in a column named differently than image though without scanning all the db

Do you have an idea @AndreaFrancis

Will update the spec with a real example once it's deployed

Could you do it?

(fixed by freeing some inodes)
cached-assets now use an EFS volume instead of the limited NFS, so this issue should disappear for some time. Now, only the assets (/first-rows) are stored in the NFS.

Will update the spec with a real example once it's deployed

https://github.com/huggingface/datasets-server/pull/1787


callback methods has empty parameters

the parameters ex. (email,password,..etc) didn't pass parameters "empty"

Weird.
Will look into this over the weekend.

Sample project does not seem to have an issue.
Please re-open if you have any more info or sample code as to when this issue happens.
Thanks!


Add weblate example and fix font param doc type

This adds a new example that shows the current translated percent for CircuitPython from the weblate api. It shows the numerical value and a progress bar:

In the future maybe an enhancement could be to show different languages percent values.
While working on the example I noticed that the font param was expecting str type only I added BuiltInFont to the docstring

neat! did you want to do a writeup for this project? this would make a great lil guide :)

@ladyada For sure, I'd love to make it into a guide!

ok could ya do a PR to the learning repo  - that way you can include fonts n stuff

Sounds good. I'll close this one here.
Will add some more goodies and make it a PR in the learn guide repo.


Please add me to your organization.

Thanks for letting me be a part of your community!

Of course! Great to have you part of the community. I will add you now 👍 .
Don't forget to make it public on the people list so it can appear on your profile otherwise only you will see it. Find your name and on the right you can change it from private to public https://github.com/orgs/EddieJaoudeCommunity/people


Domain Scope event subscription limit clarification

I wanted to request a possible clarification for the Domain-Scope event subscription limit.
Current text is:
Domain scope event subscriptions | 50
However, I am unclear if that limit of 50 refers to either:
a) Domain scope event subscriptions, across all domains
or
b) Domain scope event subscriptions, per domain
Thanks.

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

ID: 7e29b6cc-f1c7-fb30-f0da-e043ec5903d6
Version Independent ID: f47e660a-b09e-10c5-8f6b-c8c51f25bf4c
Content: Quotas and limits - Azure Event Grid - Azure Event Grid
Content Source: articles/event-grid/quotas-limits.md
Service: event-grid
GitHub Login: @spelluru
Microsoft Alias: spelluru

@jmccullough90 Thank you for your feedback! We will review and update as appropriate.

@jmccullough90 It is per Azure Event Grid domain as mentioned in the document.

I will go ahead and close this thread. Feel free to get back to me if you have any queries or concerns.


Runs for 6-10 minutes then crashes

I'm running the bot on an ubuntu server. Python is up to date, pip is too, as of right now I've run apt-get upgrade and gotten it up to date which did nothing.
The issue is that I can run the bot but only for a limited time before it crashes with this error, pictured here: http://i.imgur.com/pajb05L.png .
If any of you know how to fix this or a work around, please tell me.

First.. Try updating your dependencies and/or bot files..
Then try again


Drag doesn't work if drop area changes size

Describe the bug
I built a system by which I could move items from list A to the right into list B, and then move items in list B up and down to re-order them. At first both worked fine, and then at some point I could only move from A to B, but not drag anything from list B anymore.
After significant debugging I finally realised it stopped working when I decided to initially make the droppable areas between each item on list B display as none and then make them visible based on the canDrop flag. This didn't affect the items in list A as they didn't move where they were displayed, but it somehow made it impossible to grab anything from list B.
My best guess would be that somehow the display is changing before the drag event actually starts, making the part under my mouse not a drag, but a drop, resulting in nothing happening.
Reproduction
This is it working, where the droppable areas are of a static height:
https://codesandbox.io/s/dnd-works-pe4e6
This is the exact same code with the only difference being the display changing of the droppable area:
https://codesandbox.io/s/dnd-doesnt-work-4gvep
Steps to reproduce the behavior:
Drag any of the questions on the left hand side and you'll see the droppable area on the left hand side turn green. After adding a few questions, notice that in the working one you can grab any question from the right hand side and re-order it, but in the non-working one, it's as if the box is not draggable, even though it's the same code and only css has changed.
Desktop (please complete the following information):

OS: Ubuntu 18.04
Browser Chrome
Version Version 87.0.4280.88 (Official Build) (64-bit)

I've had this same issue, similar case here but only breaks when more than one eligible droppable area exists:  trying to have a droppable area of small height or height of zero but grow in size when a user starts dragging to indicate they can drop something there.  Seems to crash the entire library and prevent dragging at all.
Works fine for when only a single eligible droppable area exists, but breaks when there's more than one. 🤔


Forgo & TypeScript 4.8 compatibility

TypeScript 4.8 tightened up some stuff on generic types and now Forgo apps fail to compile under TS 4.8.

Forgo v3.2.2 supports TypeScript 4.8. There are PRs up for forgo-state and forgo-router with similar support.


Sync all papermill metadata to Noteable

Codecov Report

Merging #42 (47119ea) into main (a4a1129) will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff          @@
##            main     #42   +/-   ##
=====================================
  Coverage   0.00%   0.00%
=====================================
  Files          1       1
  Lines          1       1
=====================================
  Misses         1       1

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


zfs ARC leads to incorrect system memory prediction and refusal to load models that could work

I would like if there would be a flag to ignore this condition https://github.com/ollama/ollama/blob/e9f7f3602961d2b0beaff27144ec89301c2173ca/llm/server.go#L128-L135
I use Truenas Scale to store my models and to run the models. It uses zfs as the filesystem, so that means that there is ARC using a lot the memory. I don't know what specifically Truenas does to do this, but they have the ARC size to behave like BSD where it naturally tries to use as much memory as possible. It will decrease if something else tries to use more ram though.
Ollama thus freaks out when I try and run a model that will make it OOM, but I actually do have enough memory. In my mind a flag would be the easiest to implement, but maybe it could try being smart and remove zfs arc from the calculations?

Looking at https://github.com/openzfs/zfs/issues/10255 it seems a workaround until we find an optimal solution may be to set zfs_arc_sys_free to set aside now much memory you want for models on system memory.

Another option would be to add/edit
/etc/modprobe.d/zfs.conf
Add
options zfs zfs_arc_max=1073741824
(1073741824 = 1gb)
To limit arc memory usage (multiply by # of gb, by default it will use up to 50% of system ram)
Run:
update-initramfs -u -k all
Reboot & profit
You can also specify an cache device and set ram arc to metadata only (best to have a UPS if using SLOG/write cache)

Another workaround is to enable swap.
Bc of a bug Truenas devs disabled the swap.
To manually enable it u need to use:
swapon -d=once /dev/mapper/md127

Loaded llama3.1 even with the dashboard saying I had 2.9Gb free.

I am sorry, but as I read the PR and the issue here I am somewhat confused, I suspect there is some context I am unaware of.
Is the decision on this to have a better error message for some while making the software unusable for others? Is the number of people using ollama and ZFS low enough for this to be worth it? If yes that's fair, if no then why not just revert that change until a fix exists.
Using the above swap solution or zfs_arc_sys_free are limiting and performance impacting for the whole system, just to make a error message go away, that feels very wrong because it is.

I second this, it’s really annoying.

Ran into this on my system with 128GB RAM, with plenty of it free.
I'm not really sure why checking the memory upfront is a good idea, rather than just letting the model run and fail if indeed here is not enough memory, but ...
Note that several tools take the ZFS ARC cache memory into account when computing "free" memory.  For example, the ubuquitous htop does it.
I think that if the memory prediction check is to stay, than making it take into account the ZFS ARC cache size would be ideal.
See here:
https://www.reddit.com/r/zfs/comments/mvg0ui/how_do_you_determine_actual_ram_usage_on_zfs/
E.g., on my system, I get:
$ cat /proc/spl/kstat/zfs/arcstats | grep "^size"
size                            4<PHONE_NUMBER>2
That last field is the ARC cache size in bytes.  ZFS will release ARC cache if needed transparently, so you can consider it free memory.  So, the solution would be just to extract the ARC size from /proc/spl/kstat/zfs/arcstats, and add it to:
available := systemFreeMemory + systemSwapFreeMemory

@dhiltgen, if there is no desire to take out arc memory from the system used memory, would a flag to ignore the OOM check suffice? I know it would not give a clean result but I feel that for now atleast it would be the best solution.


Is this project still under maintenance

Oracle Graalvm has been released for a long time, but it is still not adapted, and the current plug-in does not work properly because the new Graal has changed the version release mechanism.
Error message:
Current GraalVM version (20.0.1) not supported.
Please upgrade to 22.1 or higher

Every GluonFx-Plugin depends upon it's own GraalVM version. Please upgrade GraalVM to latest version.

Every GluonFx-Plugin depends upon it's own GraalVM version. Please upgrade GraalVM to latest version.

The latest Oracle Graal version number is 20

https://github.com/gluonhq/graal/releases/tag/gluon-<IP_ADDRESS>-Final
Let see graalvm by gluon!

Indeed, to use the GluonFX plugin, the GluonFX docs recommend the Gluon's GraalVM build https://github.com/gluonhq/graal/releases/tag/gluon-<IP_ADDRESS>-Final
which is mostly needed for the mobile target.
On desktop, the official GraalVM build can be used as well. However, there was an issue with the change in the GraalVM versioning system, which has just been fixed with https://github.com/gluonhq/substrate/pull/1222
This can be tested with the plugin 1.0.19


codeArea.getVisibleParagraphs() find lost some line

I use java KeywordsDemo. Start filling the content area with empty content. Then copy a long piece of code and paste it into the codeArea, printing the parameters of the computeHighlighting method and finding that there is a behavior of missing lines. Only a few more scrolls will work properly。
like this:

The problem is most likely in this section of code:
        public void accept( ListModification<? extends Paragraph<PS, SEG, S>> lm )
        {
            if ( lm.getAddedSize() > 0 ) Platform.runLater( () ->
            {
                int paragraph = Math.min( area.firstVisibleParToAllParIndex() + lm.getFrom(), area.getParagraphs().size()-1 );
                String text = area.getText( paragraph, 0, paragraph, area.getParagraphLength( paragraph ) );

                if ( paragraph != prevParagraph || text.length() != prevTextLength )
                {
                    if ( paragraph < area.getParagraphs().size()-1 )
                    {
                        int startPos = area.getAbsolutePosition( paragraph, 0 );
                        area.setStyleSpans( startPos, computeStyles.apply( text ) );
                    }
                    prevTextLength = text.length();
                    prevParagraph = paragraph;
                }
            });
        }

I see it uses lm.getFrom() but not lm.getTo() ?  Maybe that's the problem ?
Or maybe it has something to do with the line: "if ( paragraph != prevParagraph || text.length() != prevTextLength )" ?
Or possibly something else ?
If you can improve the code a PR will be welcome :-)


Adding pressure capabilities for the Xiaomi Aqara Temperature Humidit…

…y Sensor

I am trying to create new DH for the Aqara sensors.


Better support UTF-8

Right now we have to use a patch to livesplit-core to replace any sort of dash with the ASCII minus.
We can get rid of that patch by using a UTF-8 version of strlen for calculating the length of strings.

a rust rewrite is planned which will actually end up fixing this
thank you c standards comittee for not adding utf8 to c23


example.php is throwing array_diff error

array_diff(): Argument #2 is not an array

Logical and  in https://github.com/fcosrno/exam-php/blob/master/src/Grade.php#L62 does the trick.
			if( is_array($this->questions[$questionKey]['answer']) and is_array($submittedAnswer) )


need to add po line identifier to inventory items

In our RM reports team meeting, Scott mentioned a new data element, po_order_line_identifier, was showing in inventory in UChicago's instance. Having this column added to the inventory_items derived table would be helpful.

Out of scope for this repository


JSON string with name of primitive schema type should fail validation

Given the schema { "type" : "array" } the value "string" should fail, but doesn't.

working! will merge and publish soon.

@vector-man, I think this resolves the issues we've seen with the schema referencing.  See branch bug/schema-suite-failures.

v6.0.3 released

@gregsdennis Great to hear!


Slow HashingEncoder?

I was surprised to find that HashingEncoder is 500x slower than the rest of my transformation pipeline.  Is this just somehow a rare application, can you see how I'm doing something wrong, or am I using the wrong tool for the job?  I would like to embed col1 into into a featn-dimensional space, without having the whole dictionary at the time of fitting.

import category_encoders as ce
import random

from sklearn.pipeline import make_pipeline, FeatureUnion

import time
from util import ColumnSelector

import numpy as np
import pandas as pd

feat = 'col1'
featn = 16

le = ce.one_hot.OneHotEncoder(cols=[feat,]) # 0.02 seconds / 10k rows
he = ce.HashingEncoder(n_components=16, cols=['col1',]) # 10 seconds / 10k rows

USE_ENCODER = le # he

xform_list = [("hashed_feature_%d" % 0, make_pipeline(
                    ColumnSelector(columns=[feat,]),
                    # Imputer(strategy="most_frequent"),
                    USE_ENCODER
                )),]

mini_pipeline = make_pipeline(
        FeatureUnion(transformer_list=xform_list))

sizes = np.logspace(1,4,4)
print('Sizes:', sizes)

d = {'col1': [int(random.randint(1,featn)) for _ in range(10)], 'col2': [3,]*10}
df = pd.DataFrame(data=d)
print('Starting df:\n', df)

for size in sizes:
    size = int(size)
    d = {'col1': [int(random.randint(1,featn)) for _ in range(size)], 'col2': [3,]*size}
    df = pd.DataFrame(data=d)

    time_start = time.time()
    res = mini_pipeline.fit_transform(df.head(int(size)))
    time_end = time.time()
    time_diff = time_end-time_start
    print('size %d:' % int(size),time_diff)

print(res)

Yes, HashingEncoder is slow. The current version in the master branch has a support for parallelism:
he = ce.HashingEncoder(n_components=16, cols=['col1', ], max_process=4)

Ah, thanks.  Was helpful to read through this library, I ended up using a pipeline-compatible version of get_dummies, DummyEncoder for my embedding application


Make it compatible with JDK 11

I am trying to make copybook4java to java 11. Child project copybook4java-codegen-maven-test fails when tried mvn clean install for
Failed to execute goal org.apache.maven.plugins:maven-plugin-plugin:3.4:descriptor (defaul
Hopefully. it is something minor to fix for you.

I will improve this a bit more and try to make a full solution. Last PR was quick and dirty  :-1:  .


[BUG] Hide Gas(auto) from send crypto screen

Describe the bug
Currently send polkadot screen , it show Gas(Auto) as 1 DOT , which is not correct
When send Dot transaction , we don't need to estimate gas fee , the blockchain itself will figure it out and deduct it automatically , so we can hide Gas(Auto) field , otherwise it confuse user.
Also DOT blockchain will purge accounts that have less than 1 DOT , so we need to remind user if they left less than 1 DOT in their account , they could lose it.

I will leave a fee of 0.025 which is the average charged by DOT in 2023
https://polkadot.network/blog/polkadot_q4_update_data
For Existential Deposit I followed their docs
https://support.polkadot.network/support/solutions/articles/65000168651-what-is-the-existential-deposit-


Populate the context menu with actual items

Allows enter to activate items again
populates the context menu in the ActionBar with real values, as the user moves the selection
Also adds a generic PerformCommandMessage, which lets us have one message for "go to a page, or invoke a command"

ref #73

That was just the name they gave to this thing

I think we should get strict on wording so it's consistent in our code and docs.

Action Bar --> Context Menu
Actions --> Commands.

I think action bar the is the entire bar (inc. the plugin icon, name, command buttons and the context menu? CommandBar is maybe the better name?

Yea that's what I thought too. We've got a CommandBar which shows 1-2 CommandButtons and possible a ContextMenu on the right, but then also the title/status on the left (in the mocks)
I can go through and rename things later. This was more just a test of "can I do a mvvm"


Initial draft of upgrade guide for kubeadm clusters.

This is a work-in-progress guide for upgrading kubeadm clusters from 1.6.x to 1.7.x.
Based on SIG feedback, I'm aiming for an initial MVP to get committed so that others can help iterate on it.
@kubernetes/sig-cluster-lifecycle-pr-reviews

This change is

Thanks! Needs a link from the kubeadm guide to the upgrade guide.

I've addressed most of the feedback given, so please give this another look.
I still intend to add explicit rollback instructions, and I'll also host developer builds of debs for the most recent 1.7.0 beta release so others can actually test the instructions and file bugs for any problems found.

I've built debs for 1.7.0-beta.2 for anyone willing to test these instructions, which are hosted in GCS:
gs://beacham-public/kubernetes/1.7.0-beta.2/debs

There are subfolders for the different architectures, so to grab all of the debs for, say, amd64, you can run:
mkdir kubernetes-debs
gsutil rsync gs://beacham-public/kubernetes/1.7.0-beta.2/debs/amd64 kubernetes-debs

When following the instructions, instead of running sudo apt-get update && sudo apt-get upgrade you would instead run sudo dpkg -i kubernetes-debs/*.
If anyone wants to test the instructions using rpms, please let me know and I'll try to build those as well.

I've gone ahead and built rpms for testing as well:
gs://beacham-public/kubernetes/1.7.0-beta.2/rpms

CC @lukemarsden

We discussed this PR in this week's SIG Cluster Lifecycle meeting, since it is a hot topic for 1.7 burndown, and we were hoping it could get merged once a few people had tested the steps. If I can get ACKs from others that they've independently verified the process, will I need anything else other than a normal LGTM? I'm not sure how the "Needs Docs Review" label works.
Also, could someone please remove the do-not-merge label for me? I don't have permission. Thanks!

should we say something about how you may be able to restore things?

That was my original intention, but I was taking @lukemarsden's advice and trying to start minimal with the documentation so that we could keep adding to it once it was checked in. Now that it's been in review for so long, and we're so close to the release, I'll hedge a bit and open a second PR based on top of this commit to add the rollback instructions.

Repeating this comment so it's not hidden in the collapsed, outdated diff:
I've added the step @luxas suggested for manually deleting kube-proxy so that it gets recreated during the kubeadm init. However, the 1.7.0-beta.2 version doesn't seem to have the kube-proxy regression fix, so the pod ends up crash looping. I tested with kubeadm built from the HEAD of release-1.7 and the steps worked fine.
The next 1.7 beta release is due out today, so I'll be able to build new debs/rpms for it and post them for testing. I'll also start building them for the HEAD of release-1.7 so people can still test these instructions ASAP.

For anyone wanting to test the instructions using Debian on amd64, I've created new .debs here:
gs://beacham-public/kubernetes/ci-1.7.0-beta.ccaf5152ae9f01/debs/amd64/

Ping me when there's a tech lgtm and this is ready to be merged. I'll make sure it gets into the 1.7 release.

I've added steps to upgrade the OS packages on each node (and restart kubelet), along with headings to make it clear what steps to perform where.
Any other comments, @luxas or @timothysc?

@chenopis Tech LGTM is done by @luxas. Care to take a look?


Install sequence that worked for me

I believe the readme.md is a bit out of date, at least for Ubuntu, this is the sequence that worked for me:

git clone https://github.com/codeitlikemiley/vuetified YOURPROJECTNAME
cd YOURPROJECTNAME
sudo apt-get install php-imagick
composer require spatie/pdf-to-image
composer install
yarn
cp .env.example .env // edit .env with DB details, used: nano .env
php artisan key:generate
php artisan migrate:fresh --seed
php artisan passport:install

To launch on localhost: php artisan serve

Doesnt work on mac:
Tried this but this doesnt work either
brew search imagick
brew install php72-imagick

Update: Was able to install image magick on Mac using:
brew install imagemagick
However, running composer require spatie/pdf-to-image gives this error:
$ composer require spatie/pdf-to-image
Using version ^1.8 for spatie/pdf-to-image
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - spatie/pdf-to-image 1.8.1 requires ext-imagick * -> the requested PHP extension imagick is missing from your system.
    - spatie/pdf-to-image 1.8.2 requires ext-imagick * -> the requested PHP extension imagick is missing from your system.
    - spatie/pdf-to-image 1.8.1 requires ext-imagick * -> the requested PHP extension imagick is missing from your system.
    - spatie/pdf-to-image 1.8.0 requires ext-imagick * -> the requested PHP extension imagick is missing from your system.
    - Installation request for spatie/pdf-to-image ^1.8 -> satisfiable by spatie/pdf-to-image[1.8.0, 1.8.1, 1.8.2].

  To enable extensions, verify that they are enabled in your .ini files:
    - /usr/local/etc/php/7.3/php.ini
    - /usr/local/etc/php/7.3/conf.d/ext-opcache.ini
    - /usr/local/etc/php/7.3/conf.d/php-memory-limits.ini
  You can also run `php --ini` inside terminal to see which files are used by PHP in CLI mode.

@connecteev I'm not a Mac user, neither am I associated with this project, I put there to help others.


add coordgen support to demo.html

allows coordgen to be used to generate coordinates in the demo when doing template alignment.

this is a trivial one just affecting a demo file. merging myself


shuffle domains before renewal, to remedy the process being interrupted

Our resty processes get reloaded quite often, which stops running renewal processes. This makes the order of domain renewals random, so we don't try the same, too short list over and over.

This is finally released as part of v0.13.0. Thank you!


Approach to multi accounts?

Hi,
I have a live folder structure with environments (dev, test, prod) as sub directories. Each environment will have their own VPC created by different AWS accounts. At least for me it is a bit difficult to figure out, if I should use profile when creating the bucket and extra variables with a -var profile=dev-user/test-user/prod-user for each environment, or something else? Of course, I also have the messy shared-services with peering to dev, test and production to support, but is it best practice to use one profile for all the locks to be able to share state (e.g., CIDR blocks)? Or do you just hardcode the few cross-VPC dependencies? I would like that all developers can update the dev environment, while production is only known to a few people, so I guess re-using the same profile for all lock files are not the best approach. Any suggestions?
Lars

I have tackled this via the use of profiles. I'm in a similar situation to you with multiple accounts, and one account devs have lots of access to to, but not others. By using profiles you can safely prevent anyone from accidentally messing with QA or production.
I personally avoid the usage of the profile variable, and let terraform do its thing and read the profile from environment variable (this way I set it once for all the AWS tools I use). IE by using the env var, you can instruct devs to export it, then they are instantly setup for both terraform and AWS CLI tools + plus pretty much any other SDK that leverages it.

How do you deal with an apply-all in the root folder (live)? I mean, when terragrunt works in the dev subfolder, it should be instructed to use the dev-user and instruct terraform to the same, and then test-user when working in the test sub-folder, and so on... How do you set the AWS_ environment variables differently for each folder?

Since they are an environment variable, I don't set them per folder. If you haven't seen it already you may want to peek at https://github.com/gruntwork-io/terragrunt/issues/169. we've been having some similar discussions around directory structure there.
In my case a user sets up their credentials file (https://aws.amazon.com/blogs/security/a-new-and-standardized-way-to-manage-credentials-in-the-aws-sdks/). Generally speaking folks just populate their default profile. For those users who actually do have access to more than one account, they setup multiple profiles and exporting AWS_PROFILE for the account they wish to interact with.
Using this approach they can only ever be configured for a single environment at a time.
Additionally in my case I personally don't have my project setup to support apply-all from root. I have my structure something like this.

├── us-east-1
│   ├── dev
│   │   └── terraform.tfvars
│   ├── prod
│   │   └── terraform.tfvars
│   └── qa
│       └── terraform.tfvars
└── us-west-2
    ├── dev
    │   └── terraform.tfvars
    ├── prod
    │   └── terraform.tfvars
    └── qa
        └── terraform.tfvars

I've done it this way to explicitly avoid an apply-all across my entire infrastructure, as I want to make sure my largest blast radius is a specific environment in a given region. You're requirements of course might be different, but essentially it boils down to how you organize the folders.

thanks - I changed my folder structure as you suggested. Your reference to #169 really helped me.


PWA support with ShinyProxy

I am trying to host a shinyMobile app with progressive web app support on the most recent version of ShinyProxy (2.6.0). However, PWA seems to be not supported.
Is it possible to host this app using PWA? If not, will there be PWA support in future versions?
Thank you!

Hi
I did some tests with shinyMobile and the PWA support in ShinyProxy. I used this app https://github.com/RinteRface/shinyMobile/tree/master/inst/examples/gallery . What I observed:

when opening the app through the standard ShinyProxy method (i.e. using the /app) endpoint, the app is loaded in an iframe, therefore a browser is unable to find the PWA manifest. (you can still add it as a PWA, but it won't use the properties inside the manifest).
you can open the app using the /app_direct/<my_app_id> endpoint, in this case a browser is able to find the manfiest and you can add it as a proper PWA app.
the problem is however, that once your session is expired and you try to re-login, you (could) end up on the main page of ShinyProxy and not on the app itself.
another problem is that you don't see a loading screen, but just a white screen until the app loads.

In order to solve this, the manifest should be exposed by ShinyProxy, rather than inside the app. Currently we don't have an official way to do this. However, using the template mechanism you can achieve this (https://github.com/openanalytics/shinyproxy-config-examples/tree/master/04-custom-html-template)
First create a new app.html template. Next in the <head> section add the following code:
	<th:block th:if="${appName == 'pwa-demo'}">
		<link rel="manifest"<EMAIL_ADDRESS>	</th:block>

The if statement is needed to prevent the manifest being exposed for other apps. You can add this block multiple times (one for each app).
Next create a directory assets in your templates folder and add the pwa manifest of the app in the folder. For the example app, I'm using (based on https://github.com/RinteRface/shinyMobile/blob/master/inst/examples/gallery/www/manifest.webmanifest):
{
  "name": "My Progressive Web App",
  "short_name": "My App 2",
  "description": "What it does!",
  "lang": "en-US",
  "start_url": "/app/pwa-demo",
  "display": "standalone",
  "background_color": "#ffffff",
  "theme_color": "#ffffff",
  "icons": [
    {
      "src": "/assets/icons/icon-144.png",
      "sizes": "144x144"
    }
  ]
}

Notice that I changed the start_url to /app/-pwa-demo and also the path to the icon. You can create a directory icons in the assets folder an place your icon there.
Although this requires a bit more work from your end, this is working fine for me. All ShinyProxy features are supported (i.e. navbar/iframe), login is properly working etc.
We might improve the support for PWAs in the future, so that you have less manual steps to do. We are still thinking about the proper solution here, because we want the support to be flexible. For example, it might make sense to allow for some additional properties to be set (like regular app icons etc).
If someone is interested in this feature, please upvote this issue, this way we can estimate the interest. In addition,  any feedback on how this should be implemented (mainly how you want to use it) is welcome.

Thank you so much for your reply! I have been trying to get this to work all night, but it won't. I am using ShinyProxy 2.6.0 on docker. I configured the ShinyProxy as you described above and used the same app. Running the app on shiny server works. But on ShinyProxy, the web manifest cannot be found. Do you have any idea, what could be the reason for this?
Thank you so much for your help!
Hans
With /app_direct/test_app:

With changed template and /app/test_app:

I use this code to for docker-compose:
version: '3.5'

services:

  shinyproxy:
    image: hstubbe/shp:latest
    ports:
      - 8080:8080
    networks:
      - sp-net
    deploy:
      replicas: 1
      restart_policy:
        condition: on-failure
      placement:
        constraints:
          - node.role==manager
    volumes:
      - ./application/application_test.yml:/opt/shinyproxy/application.yml
      - /var/run/docker.sock:/var/run/docker.sock

networks:
  sp-net:
    external: true

This is my application file:
proxy:
  title: Test Server
  port: 8080
  template-path: ./templates/test

  authentication: none
  admin-groups: adminecrf
  users:
  - name: admin
    password: admin
    groups: admin

  container-backend: docker

  docker:
      internal-networking: true

  specs:
  - id: test_app
    display-name: test_app
    description: test_app
    container-image: test_app
    container-network: sp-net
    access-groups: admin

logging:
  file:
    shinyproxy.log

server:
  forward-headers-strategy:
    native

And the following is the app.html:
<head lang="en">
	<title th:text="${appTitle} + ' - ' + ${appInstanceDisplayName}"></title>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
	<link rel="stylesheet" media="screen" th:href="@{${bootstrapCss}}" />
	<link rel="stylesheet" media="screen"<EMAIL_ADDRESS>	<script th:src="@{${jqueryJs}}"></script>
	<script th:src="@{${bootstrapJs}}"></script>
	<script th:src="@{${handlebars}}"></script>
	<script th:src="@{${cookieJs}}"></script>
	<script<EMAIL_ADDRESS>	<script<EMAIL_ADDRESS>	<script<EMAIL_ADDRESS>	<script<EMAIL_ADDRESS>	<script<EMAIL_ADDRESS>	<script<EMAIL_ADDRESS>	<script th:if="${operatorEnabled}"<EMAIL_ADDRESS>	<script<EMAIL_ADDRESS>	<th:block th:if="${appName == 'lcarsm'}">
		<link rel="manifest"<EMAIL_ADDRESS>	</th:block>
</head>

Hi
You have to make sure you either add the template files to your Dockerfile or that you mount the templates into the Docker container. Can you check whether this is the case?

Thank you for the reply! Yes, I am mounting the templates. I see that this works when I inspect the webpage in the browser (i.e. I see the link pointing to the web manifest; I can even download the webmanifest). Strangely, using the path localhost:8080/app_direct/testapp instead of localhost:8080/app/testapp also does not work (service worker is active, but no webmanifest found).
In addition, I noticed, that when I use <link rel="manifest" href="/app_direct_i/testapp/_/manifest.webmanifest">, the webmanifest is found. But no service worker is registered for app/testapp.
volumes:
    - ./application/application_test.yml:/opt/shinyproxy/application.yml
    - /var/run/docker.sock:/var/run/docker.sock
    - ./templates/test/:/templates/test/

I discovered today, that the above solution works for Safari, but not for Chrome or Firefox. Any idea, why this could be the case and how to solve this?


Allow KeyDerivation.Pbkdf2 to use a byte[] for the password

Currently the function only allows passing a string to be hashed. It would be nice if you could pass a byte[] as well.
At the moment it seems kind of silly to be converting my byte[] to a string, so it can be converted back to a byte[]. Leaving a string floating around in GC land.

This sounds like a good idea.

What's the scenario for this? Passwords are by definition textual input, thus their natural form is string rather than byte[].

The requests stems from dealing with SecureString, though it wouldn't surprise me if there was another use case for it.
In the past since Rfc2898DeriveBytes worked with both string and byte[]. As it's much more simple to marshal to a byte[] and zero it afterwards than trying to pin a string in memory and clear that, it was decided to use a byte[].
So I suppose it's an XY problem. In my case having support for SecureString would solve the problem. However, due to there being very minimal amount of support for it, older methods allowing byte[], the code converting to a byte[] internally, and that someone probably has another use case for it. I requested byte[] support.

@sqmgh The SecureString API is essentially deprecated going forward and is slated for eventual removal from .NET Core. The general recommendation is that you switch to using simply String instead of SecureString throughout your application. Thus there's not really a huge benefit to providing a SecureString-based overload of this API.
See https://github.com/dotnet/apireviews/pull/8 for further discussion.

@GrabYourPitchforks @sqmgh
It would actually make sense to have the possibility to use a byte[] for migration/extension of legacy application environments
Background:
I am maintaining an application that used to call Rfc2898DeriveBytes with the result from System.Text.Encoding.Unicode.GetBytes(password) - the new implementation uses System.Text.Encoding.UTF8.GetBytes(password). The plan is to switch all existing services to .NET Core and that would force all users (quite a lot) to get a new password if we want to get rid of Rfc2898DeriveBytes.

As Rfc2898DeriveBytes still exists in core why can you not continue with what you're doing?

The reason for switching is the fact, that KeyDerivation.Pbkdf2 can be extended to support best possible implementation for the operating system which would be beneficial in the future. But I will keep using Rfc2898DeriveBytes.

We are closing this issue because no further action is planned for this issue. If you still have any issues or questions, please log a new issue with any additional details that you have.


[WIP][F] Add search to contributors list

Adds prefix search to contributors list, but probably requires an api update for a full search. Search should probably also be added to the users list.

@jen-castiron @1aurend this one has been hanging out for a while. Can it be merged?

I left it work in progress because prefix searching only allow for searching by first name. If you try to search by last name, you get no results. We don't have a general contributor or user search api. If it's okay to have first name search only, then this works and can be merged.

First name search is better than no search. @1aurend , I'll get this merged into the next branch so it can go in with the other updates. @zdavis , I'll make an issue for Alexa - this looks like the API needs to be updated to search for last names, so it shouldn't require more FE changes.


413: request entity too large

When I have about 20 items in my cart, I get an error when I go to the billing department
Request URL:https://xxxxe.ca/api/order
Request Method:POST
Status Code:413
nginx.conf client_max_body_size 500m;

config/local.json  >    set     "bodyLimit": "50mb",  problem solving