Bug 1947793: Deprecated API in use

move to v1 since v1beta1 will be removed in 4.9

/assign @adambkaplan

/retest
ERRO[2021-04-15T17:27:16Z] Some steps failed:
ERRO[2021-04-15T17:27:16Z]   * could not run steps: step verify failed: test "verify" failed: the pod ci-op-p150ppq9/verify failed after 1m47s (failed containers: test): ContainerFailed one or more containers exited
ERRO[2021-04-15T17:27:16Z] Container test exited with code 2, reason Error
ERRO[2021-04-15T17:27:16Z] W0415 17:27:13.007530   18135 clientconn.go:1223] grpc: addrConn.createTransport failed to connect to {http://<IP_ADDRESS>:2379  0 }. Err :connection error: desc = "transport: Error while dialing dial tcp <IP_ADDRESS>:2379: connect: connection refused". Reconnecting...
ERRO[2021-04-15T17:27:16Z] W0415 17:27:13.007534   18135 clientconn.go:1223] grpc: addrConn.createTransport failed to connect to {http://<IP_ADDRESS>:2379  0 }. Err :connection error: desc = "transport: Error while dialing dial tcp <IP_ADDRESS>:2379: connect: connection refused". Reconnecting...
ERRO[2021-04-15T17:27:16Z] W0415 17:27:13.007539   18135 clientconn.go:1223] grpc: addrConn.createTransport failed to connect to {http://<IP_ADDRESS>:2379  0 }. Err :connection error: desc = "transport: Error while dialing dial tcp <IP_ADDRESS>:2379: connect: connection refused". Reconnecting...
ERRO[2021-04-15T17:27:16Z] make: *** [verify-scripts] Error 1
ERRO[2021-04-15T17:27:16Z] make: Target `verify' not remade because of errors.

A few errors here:
INFO[2021-04-15T17:31:29Z] customresourcedefinition.apiextensions.k8s.io "builds.config.openshift.io" deleted
INFO[2021-04-15T17:31:29Z] E0415 17:31:09.550386   18560 customresource_handler.go:668] error building openapi models for builds.config.openshift.io: ERROR $root.definitions.io.openshift.config.v1.Build.properties.spec.properties.buildDefaults.properties.env.items.<array>.properties.valueFrom.properties.resourceFieldRef.properties.divisor has invalid property: anyOf
INFO[2021-04-15T17:31:29Z] ERROR $root.definitions.io.openshift.config.v1.Build.properties.spec.properties.buildDefaults.properties.resources.properties.limits.additionalProperties.schema has invalid property: anyOf
INFO[2021-04-15T17:31:29Z] ERROR $root.definitions.io.openshift.config.v1.Build.properties.spec.properties.buildDefaults.properties.resources.properties.requests.additionalProperties.schema has invalid property: anyOf

INFO[2021-04-15T17:31:29Z] error: error validating "./config/v1/0000_10_config-operator_01_build.crd.yaml": error validating data: ValidationError(CustomResourceDefinition.spec): unknown field "subresources" in io.k8s.apiextensions-apiserver.pkg.apis.apiextensions.v1.CustomResourceDefinitionSpec; if you choose to ignore these errors, turn validation off with --validate=false
INFO[2021-04-15T17:31:29Z] Error from server (NotFound): customresourcedefinitions.apiextensions.k8s.io "builds.config.openshift.io" not found

/retest

@adambkaplan ptal, all tests are passing

/bugzilla cc-qa

Now cluster-bot failed to install the cluster with "invalid configuration: you must define at least one test or image build in 'tests' or 'images'"


Protobuf handling is incorrect

What is the version?
3.3.6-3.4.2
What happened?
Protobuf export should be able to handle protofub queries too.
For example, on a node exporter:
curl -v -H "Accept: application/vnd.google.protobuf; proto=io.prometheus.client.MetricFamily; encoding=delimited" http://localhost:9100/metrics
...
Content-Type: application/vnd.google.protobuf; proto=io.prometheus.client.MetricFamily; encoding=delimited
...
HTTP/1.1 200 OK
Content-Type: application/vnd.google.protobuf; proto=io.prometheus.client.MetricFamily; encoding=delimited

But with your exporter:
 curl -v -H "Accept: application/vnd.google.protobuf; proto=io.prometheus.client.MetricFamily; encoding=delimited" http://ng795:9400/metrics
 ...
HTTP/1.1 200 OK
X-Content-Type-Options: nosniff
Date: Thu, 18 Jul 2024 19:47:11 GMT
Content-Type: text/plain; charset=utf-8
Transfer-Encoding: chunked

It should either handle protobuf or at least fails if it can’t handle protobuf.
What did you expect to happen?
I expected a protobuf body
What is the GPU model?
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 555.42.06              Driver Version: 555.42.06      CUDA Version: 12.5     |
|-----------------------------------------+------------------------+----------------------+
| GPU  Name                 Persistence-M | Bus-Id          Disp.A | Volatile Uncorr. ECC |
| Fan  Temp   Perf          Pwr:Usage/Cap |           Memory-Usage | GPU-Util  Compute M. |
|                                         |                        |               MIG M. |
|=========================================+========================+======================|
|   0  NVIDIA A100-SXM4-80GB          On  |   00000000:07:00.0 Off |                    0 |
| N/A   35C    P0             67W /  400W |   69801MiB /  81920MiB |      0%      Default |
|                                         |                        |             Disabled |
+-----------------------------------------+------------------------+----------------------+
|   1  NVIDIA A100-SXM4-80GB          On  |   00000000:0B:00.0 Off |                    0 |
| N/A   36C    P0             69W /  400W |   69801MiB /  81920MiB |      0%      Default |
|                                         |                        |             Disabled |
+-----------------------------------------+------------------------+----------------------+
|   2  NVIDIA A100-SXM4-80GB          On  |   00000000:48:00.0 Off |                    0 |
| N/A   33C    P0             65W /  400W |   74759MiB /  81920MiB |      0%      Default |
|                                         |                        |             Disabled |
+-----------------------------------------+------------------------+----------------------+
|   3  NVIDIA A100-SXM4-80GB          On  |   00000000:4C:00.0 Off |                    0 |
| N/A   36C    P0             67W /  400W |   76017MiB /  81920MiB |      0%      Default |
|                                         |                        |             Disabled |
+-----------------------------------------+------------------------+----------------------+
|   4  NVIDIA A100-SXM4-80GB          On  |   00000000:88:00.0 Off |                    0 |
| N/A   32C    P0             64W /  400W |   70641MiB /  81920MiB |      0%      Default |
|                                         |                        |             Disabled |
+-----------------------------------------+------------------------+----------------------+
|   5  NVIDIA A100-SXM4-80GB          On  |   00000000:8B:00.0 Off |                    0 |
| N/A   36C    P0             67W /  400W |   77015MiB /  81920MiB |      0%      Default |
|                                         |                        |             Disabled |
+-----------------------------------------+------------------------+----------------------+
|   6  NVIDIA A100-SXM4-80GB          On  |   00000000:C8:00.0 Off |                    0 |
| N/A   34C    P0             65W /  400W |   77015MiB /  81920MiB |      0%      Default |
|                                         |                        |             Disabled |
+-----------------------------------------+------------------------+----------------------+
|   7  NVIDIA A100-SXM4-80GB          On  |   00000000:CB:00.0 Off |                    0 |
| N/A   33C    P0             71W /  400W |   20145MiB /  81920MiB |      0%      Default |
|                                         |                        |             Disabled |
+-----------------------------------------+------------------------+----------------------+

+-----------------------------------------------------------------------------------------+
| Processes:                                                                              |
|  GPU   GI   CI        PID   Type   Process name                              GPU Memory |
|        ID   ID                                                               Usage      |
|=========================================================================================|
|    0   N/A  N/A    147111      C   /opt/conda/bin/python3.10                   69792MiB |
|    1   N/A  N/A    147112      C   /opt/conda/bin/python3.10                   69792MiB |
|    2   N/A  N/A     23958      C   /opt/conda/bin/python3.10                   44158MiB |
|    2   N/A  N/A    184908      C   /opt/conda/bin/python3.10                   30586MiB |
|    3   N/A  N/A     26498      C   text-embeddings-router                       1106MiB |
|    3   N/A  N/A     28748      C   text-embeddings-router                       1554MiB |
|    3   N/A  N/A     79394      C   /opt/conda/bin/python3.10                    2964MiB |
|    3   N/A  N/A    189996      C   /opt/conda/bin/python3.10                   21856MiB |
|    3   N/A  N/A    203446      C   python                                      14994MiB |
|    3   N/A  N/A    206555      C   python                                      14356MiB |
|    3   N/A  N/A   1541818      C   /opt/conda/bin/python3.10                   19142MiB |
|    4   N/A  N/A    194365      C   /opt/conda/bin/python3.10                   70632MiB |
|    5   N/A  N/A   3601073      C   /opt/conda/bin/python3.10                   77006MiB |
|    6   N/A  N/A   3601074      C   /opt/conda/bin/python3.10                   77006MiB |
|    7   N/A  N/A    445062      C   /opt/conda/bin/python3.10                   20136MiB |
+-----------------------------------------------------------------------------------------+

What is the environment?
On bare metal hardware
How did you deploy the dcgm-exporter and what is the configuration?
We build it from sources
How to reproduce the issue?
Run:
 curl -o /dev/null -v -H "Accept: application/vnd.google.protobuf; proto=io.prometheus.client.MetricFamily; encoding=delimited" http://localhost:9400/metrics

when dcgm exporter is running.
Anything else we need to know?
No response

Today, this feature is not supported. The DCGM exporter does not support metrics in the protobuf format.
Please provide a use case that justifies the need for this feature.


Activity Switch resets to Default room and automations disappear [BUG]

I am running HOOBS in Docker.
Every time the docker image gets updated, the Harmony activity switches defined in "Activities To Publish As Accessories Switch", get reset to the default Home room and all related automations disappear. It looks like the switch gets deleted and re-added, and Homekit does not recognise it's the same switch.
The TV accessory and all other plugins do not show this behaviour.

Hi,
seems you have clean cache option set to true -> set it to false.

Yes, it was set to true.
Thanks


Running using Notebook: Configure the UATs to run behind a proxy

Context
When running the UATs from inside a Notebook, we need to be able to run the UATs behind proxy.
What needs to get done
Based on the exploration done in #76 :

Add a PodDefault that defines the proxy env vars to the repo
Add labels to the workload containers in each test to match the PodDefault
Add instructions in the README.md on how to run behind proxy from inside a Notebook

Definition of Done
UATs can be run behind proxy from inside a Notebook

closed by #98


Makes Clippy happy

The "Uses inline variable names in fmt strings" commit has been done automatically with cargo clippy --fix


Relaxed JSON dependency is incompatible with Ruby < 2.0

First off, let me commiserate with you about how hard it is to maintain compatibility with older versions of Ruby while your dependencies don't. It's a real pain.
That being said, relaxing the json version dependency (b47a3bd33d70f90ea2339ec2cef2c7427a6cb825 with the 0.12.0 release) causes Bundler and RubyGems to pick the latest json version, which explicitly declares a dependency on Ruby 2.0+.
For example:
$ ruby -v
ruby 1.9.3p551 (2014-11-13 revision 48407) [x86_64-linux]
$ gem install simplecov
Fetching: docile-1.1.5.gem (100%)
Successfully installed docile-1.1.5
ERROR:  Error installing simplecov:
    json requires Ruby version ~> 2.0.

It seems that you want to keep the json dependency for 1.8.7 compatibility (per closing #491) but actually compatibility is now lost:
$ ruby -v
ruby 1.8.7 (2013-06-27 patchlevel 374) [x86_64-linux]
$ gem install simplecov
Fetching: json-2.0.1.gem (100%)
ERROR:  Error installing simplecov:
    json requires Ruby version ~> 2.0.

One solution for simplecov users might be to explicitly declare their dependency on json < 2.0, but it's kind of silly to manage transitive dependency versions when your app/library has already removed json as a dependency. :confused:
I don't know how you want to handle it, but by trying to support newer json you've broken 1.8.7 and 1.9.3 compatibility, while removing json would only break it for 1.8.7.
(I should note the tests passed only by actively managing the json version in the Gemfile. Unfortunately this does not translate to working for end-users.)

Let's get rid of the json gem. Ruby 1.9.3+ already come packaged with it. This gem, from their readme, doesn't support 1.8.3 anyways. One less dependency is always encouraged.

One option is:
# lib/simplecov.rb
gem 'json', ">= 1.8", "< 3"

would cause any users of simplecov to fail fast if the correct json isn't available in the expected versions.

@bf4 that could work. What about:
gem 'json', '>= 1.8', '< 3' unless require 'json'

The gem command needs to come before the require

Ah, right, chicken and the egg problem. But anywho, I'm :+1: for this.

There's no way to force 1.8 for ruby 1.9.3? GemFile does that specifically: Gemfile:35

@albfan no, gems are built and gemspec evaluated at build time.  If it were possible, we would have done it.

@colszowka locked comments. ccing you in case you disagree

As we just dropped ruby support for a bunch of old ruby version and are now relying on stdlib JSON this shouldn't be an issue any longer.


en.yaml: refine wording and format; unify term usages

My review link is here.

Thank you!

@yikeke Is this PR ready to merge now?

@yikeke Is this PR ready to merge now?

Let me take a last look.

@yikeke Thanks a lot!!

@all-contributors please add @yikeke   for content


syscall: refactor setSocketOption for better errno latching

Description:
This PR refactors setSocketOption to allow for returning the errno that is captured as soon as the syscall is performed. See #3819 for more information.
Signed-off-by: Venil Noronha<EMAIL_ADDRESS>Risk Level: Low
Testing: bazel test //test/... --test_env=ENVOY_IP_TEST_VERSIONS=v4only runs without failures
Docs Changes: N/A
Release Notes: N/A

I've updated the routines to return the newly introduced Api::SysCallResult in place of the older std::tuple.


fix(deps): update terraform terraform-ibm-modules/event-notifications/ibm to v1.10.17

This PR contains the following updates:

Package
Type
Update
Change

terraform-ibm-modules/event-notifications/ibm (source)
module
patch
1.10.16 -> 1.10.17

Release Notes

terraform-ibm-modules/terraform-ibm-event-notifications (terraform-ibm-modules/event-notifications/ibm)
v1.10.17
Compare Source
Bug Fixes

deps: update terraform terraform-ibm-modules/cos/ibm to v8.11.13 (#297) (a9a90ef)

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.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.

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

This PR has been generated by Renovate Bot.

/run pipeline

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

GitHub release
v1.18.6

Your semantic-release bot :package::rocket:


Turn off Rich Presence when Figma is hidden in tray

Would this be possible?

@rollingmoai Should be, i'll look into it


无法执行命令语句

xjk@xjk ~ %
/Library/Python/3.9/site-packages/urllib3/init.py:35: NotOpenSSLWarning: urllib3 v2 only supports OpenSSL 1.1.1+, currently the 'ssl' module is compiled with 'LibreSSL 2.8.3'. See: https://github.com/urllib3/urllib3/issues/3020
warnings.warn(
[15:27:00] [INFO] parsing HTTP request from '/Users/xht/Desktop/11.txt'
SOAP/XML data found in POST body. Do you want to process it? [Y/n/q] Y
[15:27:00] [INFO] testing connection to the target URL
[15:27:00] [CRITICAL] target URL is not responding..


Feature request!

Hello, thank you for this nice package. I know the name says it all but can you make some changes to copy other format files like pdf , Docx, etc to documents or download folder? I tried adding extensions to the get file type but it won't work. Thank you in advance.

Hi @jabirmayar, thanks for the feature request. I'm busy refactoring the package to make it ready for Android 10 and 11.
This feature ties in with our requirements, so it's very likely that we'll add this functionality.
Sorry I can't commit to a timeline yet :)

Thank you for your response. Hope it will be soon, looking forward to it.


remove lcp import

@llemeurfr

Note: as there will be no LCP support in v1.0, we have to remove temporarily a message (displayed on an empty bookshelf) and the .lcpl import green light.

I created a new issue so we can easily revert this PR:
https://github.com/readium/readium-desktop/issues/663


fix structured results record counts

@johncmerfeld pointed out that record_counts in the structure --results-file are sometimes (incorrectly) 0. This PR fixes that bug, as well as another bug that only happened when processing directories of JSONL files.

@johncmerfeld I rolled back your commit; please make a new PR for that change, I'll be happy to review. Thanks!


Please make disable_warnings=0 turn warnings back on?

It looks like the code only ever globally turns warnings off, but can never turn them back on again.
I have a situation where I need to follow best-practices and only narrowly silence warnings for a single GET request, which generates spurious and expected warnings, but then expose warnings as normal for all other calls.
So it would be really great if disable_warnings=0 turned all of the warnings back on.
(Currently I'm working around this by just exposing our own custom keywords that adjust the urllib3 warnings and log level at the most narrow granularity possible, but I think it would be better to have this functionality in the library.)

I just realized I initially worded the subject line of this issue in a way that could be read as a command or demand.
That was not my intent - I was just trying to be concise - so I have now adjusted it accordingly to reduce the potential for that interpretation.


Fix typo

Small contribution but I spotted a typo while reading at your ressources. 😄

@jbmoelker Poke 😄


fix: Fix Decadac output off problem

Add a parameter to control the Decadac output mode and set its default to ON. Add offset parameters for each channel.
Breaking changes: rename the voltage parameters from volt0, volt1, ... to ch0_voltage, ch1_voltage, ...
Fixes Decadac output mode problem.
Changes proposed in this pull request:

Add important Decadac parameters.

@nataliejpg @giulioungaretti

LGTM

All good from my end, I did see the mode thing but somehow forgot to write it down. I will also claim Friday night incompetence. Thanks for catching.


tests/kernel/context: Improve to resist parallel threads interrupting

This test assumes that nothing will wake the CPU apart from the timer set by the test.
But that is not necessarily the case.
Some other platform thread started at boot
may be waking the CPU every now and then.
Let's allow for some spurious wakes while we are testing k_cpu_idle, while at the same time ensuring we are not just busy waiting all the way.
Fixes #67477

@andyross the default was in the wrong order, so it was default to 0 always. Now it works as it should :)


updated_by_last_action true on every chef-client run for libzabbix_host resources

On every chef-client run, libzabbix_host resources are marked as being updated, which causes the summary line to be incorrect:
Chef Client finished, 2/126 resources updated in 3.708735299 seconds

It looks like this is because the create_or_update action always calls the create or update actions, even if no changes are required. These actions then end with:
new_resource.updated_by_last_action(true)

I have not started working on this code as yet.  I would be ecstatic to get pull requests to fix anything as right now my time is limited by other internal projects.


TFRecord file support with Hadoop Mapreduce/Spark

MR/Spark are commonly used for ETL and feature generation, it's better to support close integration with such systems. More specifically, supporting the following:

TFRecord file Mapreduce InputFormat/OutputFormat
Integrating Feature/Example proto classes

@jhseu for comments
The native format for Spark is parquet, for which you can now get a C++ reader/writer from impala.
The ORC format does have a C++ reader, but it lacks bloom filters and a variety of compression algorithms. It has been extracted out of the hadoop code as a standalone recently.
The legacy MR RCFile format is very, very Java dependent and I wouldn't want to support that.

@drpngx I mean writing TFRecord file with MR and Spark directly (e.g. to HDFS/GCS or customized file system which can be accessed by tensorflow), avoiding unnecessary and slow data conversion in the python code. We have some code to make this possible and would like to contribute if applicable.

That sounds great!

@llhe Yeah, that sounds useful. If you have it working, please send a pull request to http://github.com/tensorflow/ecosystem instead of the core TensorFlow repository.

@jhseu Yeah, I noticed that repo, looks like it's mainly for deployment. Perhaps I can also add this application level stuff. Thanks.

@jhseu @drpngx I just created a pull request for ecosystem: https://github.com/tensorflow/ecosystem/pull/18

Nice!


[5.9] SILCombine: correctly set the [stack] flag when replacing alloc_ref_dynamic with alloc_ref

Explanation: This is a fix for a SIL verifier crash. When optimizing alloc_ref_dynamic instructions in SILCombine, the [stack] attribute was not set correctly. Beside a verifier crash, this also results in a memory leak in the compiled code (if the verifier is disabled, like in no-assert compiler builds). Interestingly, this bug is in the compiler since 7 years. It's surprising that it didn't show up earlier.

Scope: Although the alloc_ref_dynamic instruction is used in the stdlib's array and dictionary code, it is obviously very rare that this optimizer bug really shows up.

Issue: https://github.com/apple/swift/issues/66312

Risk: Low. The change is small. Some variants of the peephole optimization are disabled now in case of an alloc_ref_dynamic [stack]. In the remaining cases, the [stack] attribute is set correctly. These are the cases where the verifier would have crashed before.

Testing: With a regression test

Reviewer: @nate-chandler

Main branch PR: https://github.com/apple/swift/pull/66800

@swift-ci test


Functional Question: Is there who uses this great plugin with "Curie" model?

Hi, I'm thinking about this theme.
If we want to use this plugin, should we set params like this?
{
  welcome_message = WELCOME_MESSAGE, -- set to "" if you don't like the fancy godot robot
  loading_text = "loading",
  question_sign = "", -- you can use emoji if you want e.g. 🙂
  answer_sign = "ﮧ", -- 🤖
  max_line_length = 120,
  yank_register = "+",
  chat_layout = {
    relative = "editor",
    position = "50%",
    size = {
      height = "80%",
      width = "80%",
    },
  },
  settings_window = {
    border = {
      style = "rounded",
      text = {
        top = " Settings ",
      },
    },
  },
  chat_window = {
    filetype = "chatgpt",
    border = {
      highlight = "FloatBorder",
      style = "rounded",
      text = {
        top = " ChatGPT ",
      },
    },
  },
  chat_input = {
    prompt = "  ",
    border = {
      highlight = "FloatBorder",
      style = "rounded",
      text = {
        top_align = "center",
        top = " Prompt ",
      },
    },
  },
  openai_params = {
    model = "curie",
    frequency_penalty = 0,
    presence_penalty = 0,
    max_tokens = 300,
    temperature = 0,
    top_p = 1,
    n = 1,
  },
  openai_edit_params = {
    model = "curie",
    temperature = 0,
    top_p = 1,
    n = 1,
  },
  keymaps = {
    close = { "<C-c>", "<Esc>" },
    yank_last = "<C-y>",
    scroll_up = "<C-u>",
    scroll_down = "<C-d>",
    toggle_settings = "<C-o>",
    new_session = "<C-n>",
    cycle_windows = "<Tab>",
  },
}

If anyone already tried, please reply me.

curie's params
prompt: The text prompt to generate a response for.
model: The name of the model to use. In this case, "curie"
max_tokens: The maximum number of tokens (words) to generate in the response.
stop : A string, or a sequence of strings, that signals the API to stop generating further tokens.
temperature : Controls the "creativity" of the generated text. Values between 0 and 1 will generate conservative text, while values greater than 1 will generate more creative or varied text.
top_p : Only sample from the most likely tokens with a cumulative probability greater than or equal to this value.
n : The number of responses to generate.
frequency_penalty : The model will be less likely to generate text that has a high frequency of common words.
presence_penalty : The model will be less likely to generate text that contains the exact prompt.
stream : A boolean value that controls whether the API will return the full response at once or in a stream.


Expandable toc

Build expandable sidebar.

@kevinthesun Looks like all the sub titles just disapeared

Yes. It's weird since my local branch just works fine.

I refreshed the page and it works now. Don't know what the problem is.

Surprisingly it is working now. I can see expandable menus. Looks very useful for users reading mxnet docs.

The sidebars are collapsed by default, which makes it hard to see the topics that the page goes over. I imagine that some users won't even realize that the sidebar is expandable -- I think at least one or two levels should be expanded by default: https://github.com/dmlc/mxnet/issues/3888


convert to POSIX.sh / styleguide

i want to send some PullRequests for converting the whole script to POSIX sh.
this issue is just for collecting some questions and answers on this regarding style.

Q: is there a good reason why your are alway using [[ -switch ... ]] instead of just [ -switch ... ] ? e.g.
if [[ ! "${retcode}" = "0" ]] &&

can be converted to
[ $retcode -eq 0 ] || ...

Q: why are we always enclosing var with "${var}" even when it is unneeded? every texteditor does already highlight the variables.

Using [[ instead of [ because [[ is a shell built-in while [ (in theory) is a command, making the script (in theory) a bit cleaner.
Using ${var} instead of $var just as a habit and to never ever run into any problems. Also it feels good to have it consistent.

@lukas2511 i'am OK with using ${var} - it's just a style issue.

@lukas2511 i understand the reason for "[[" but i'am not happy. is it OK for you when i convert them to single ones, "[[" is not defined in POSIX.

@bittorf yes, i would be okay with that if you can work out the other stuff to make it posix compatible.

ok, i will start to send small pullrequests...

I have been playing around with Travis CI and ShellCheck. Maybe it is some sort of help for you guys.
I am new to Travis CI that's why I replaced the content of the yaml file. Not sure how to integrate that into your existing one though.

I'm closing this ticket now. Doesn't look like anybody is working on this and I don't really have a personal interest at doing this migration. If somebody still wants letsencrypt.sh to be POSIX sh compatible please feel free to open pull-requests.


Wiki article request:

Hello @evaristoc
Without a proper title or description I'm closing this. Please feel free to reopen with proper description or title.


Loading flag after redirect to App side and before handleRedirectPromise()

Please follow the issue template below. Failure to do so will result in a delay in answering your question.
Library

[ ]<EMAIL_ADDRESS>or<EMAIL_ADDRESS>[X]<EMAIL_ADDRESS>
Description
I'm using React. Is there a flag which is set on MSAL after redirect back to Application side and before handleRedirectPromise() ?
handleRedirectPromise() need few seconds to get the response users can still see Login page on App side.
I checked a lot of examples with React and MSAL 2.x and all of them have this issue :)
So basically the steps:
User clicks Login on App side.
User is redirected to MS page for Pass/MFA
User is redirected to App side.
User is seeing Login page again
After few seconds needed for handleRedirectPromise() to get response.
User is authenticated and redirected to Welcome page.
I read few articles and some people recommend to use new empty page before send user to Login page. But as I'm using React is there a cleaver way to achieve that?

Actually Local Storage is preserved after refresh, and I used Persist Reducer to set Flag in the store.
When user clicks SignIn, flag is set to true and then redirects to MS page.
On return back, as we have flag true I show loading and after  handleRedirectPromise return a promise I redirects user to Welcome page.


Is there any way to copy text to the clipboard?

Is there any way to copy text to the clipboard?
There is a Clipboard class but there's not much in there.

There is a managed API, but more importantly the text editor use the Emacs key bindings to move any deleted text (words, or to-end-of-line) into the clipboard, and you can access it again by pasting it (control-y)

I mean to do something like this:
Clipboard.SetText("somepassword")
Not text that the user selects and copies to the clipboard

What I want to do is copy text from a database to the Clipboard
not from a text field but directly from the database to the Clipboard without displaying it on the screen.

I have the similar issue, any workarounds?


Create new CRISPR evidence table in rewrite version

On the evidence page in the rewrite, can we please create a new data table that displays the SysBio evidence data?
Example GraphQL API query
WRN and colorectal carcinoma
Data table

Data table column
Disease/phenotype
Priority score
Literature

GraphQL API field
evidences.rows[x].disease.name
evidences.rows[x].resourceScore
evidences.rows[x].literature

Sample data
colorectal carcinoma
0.7375
1 publication

Within the data table, can we please do the following?

Link the value in the "Disease/phenotype" column to the relevant profile page in the Platform
Round the value in the "Priority score" column to 3 decimal points

Also, please note that each row will only have one literature reference as this source relies on a specific paper - Behan, F. et al, 2019.
QC checks

CDK6 (ENSG00000105810) and glioma (EFO_0005543)
GPX4 (ENSG00000167468) and oral cavity carcinoma (MONDO_0044925)

With the new iteration of the GraphQL API, can we please make some adjustments to the CRISPR evidence data table?
Sample query: WRN and cancer

[ ] After the "Disease/phenotype" column, create a new column called "Reported disease/phenotype"

[ ] In the "Reported disease/phenotype" column, display a string with the number of cell lines and reported disease/phenotype, using the following construct:

(evidences.rows[x].diseaseCellLines).length + evidences.rows[x].diseaseFromSource + cell lines
For example, assuming the first entry from the sample query above: 33 ovarian carcinoma cell lines
Also, create a link when the user clicks on the string that it opens the drawer component and shows the list of cell lines found in the evidences.rows[x].diseaseCellLines array

[ ] In the drawer, rename title to “Cancer Cell Lines”


Issue with backstage-cli versions:bump on 1.28

Looks like since https://github.com/backstage/backstage/pull/24444, there's some issues when running yarn backstage-cli versions:bump that's been shipped in 1.28.
Fails in the main repo, and other repos with similar messages:
Error: Failed to parse yarn.lock entry '^0.14.4, ^0.14.7'

Since this has been shipped with 1.28, a lot of people are going to run into this issue. Would be great @grantila if you can take a look otherwise we're gonna have to roll it back.

Just want to mention that we ran into this two weeks ago upgrading the Demo site and then again today for the 1.28.0 release. The fix is to remove the offending item from the lock file run install and then try the version bump. Repeat until it works. It's pretty painful and tedious.

@grantila looks like the issue is with this code: https://github.com/backstage/backstage/pull/24444/files#diff-c907005440375f6f882806a1a1fd846610c5050af25a5b26508056e5ca294f85R303-R305
The query is missing a name in some cases, and not sure of the best fix. I'm gonna revert the PR for now, so that it's not breaking the upgrade flow for people. Happy to re-review another PR 😅
Checking for updates of @backstage/types
Checking for updates of @backstage/version-bridge

Some packages are outdated, updating

unlocking<EMAIL_ADDRESS>~> 1.5.0
{
  query: '<EMAIL_ADDRESS><EMAIL_ADDRESS>@backstage/catalog-model@workspace:^, @backstage/catalog-model@workspace:packages/catalog-model'
}
unlocking<EMAIL_ADDRESS>~> 1.5.0
{
  query: '^1.4.3, ^1.4.5, workspace:^, workspace:packages/catalog-model'
}

Error: Failed to parse yarn.lock entry '^1.4.3, ^1.4.5, workspace:^, workspace:packages/catalog-model'

Closed by #25330 - let's start a new issue or PR with any advancements


add throwable information to xml layout if present

Include the throwable information, that are present in the LoggerLoggingEvent, into the xml layout if present

OK. Got ahead and create the unit test.


Expose model argument in python clients

Feature request
Exposing the model argument in the chat and completions method (which could even be extended to the other methods like generate) will help solve the issue below. Furthermore, if we expose the model argument in the different methods (like chat and completions) we can also follow a similar pattern to the openai client. This should also not affect or break the current usage pattern and we can have default values similarly to the current implementation.
Motivation
When using the python clients (Client and AsyncClient) we can specify the base_url to a custom deployed Inference Endpoint. This generally works well but we have an API gateway sitting in front of our text-generation-inference servers and the gateway has additional plugins and routing based on the model_id, which currently gets set to "tgi" when using chat or completion methods.
Our plugins are currently only exposed for the openai v1/chat/completions route and this issue is not present when using the native text-generation-inference routes. We are able to circumvent this issue when using the native text-generation-inference routes by specifying headers in the client which works since our plugin is not enabled on those routes, but for routes that have the plugin, adding the appropriate headers still fails since the plugin injects the provided model_id (in the current case a random string "tgi") and overrides the provided header.
The way our plugin works is that we provide a base API URL and based on the model_id in the chat or completions method we route requests to the relevant model endpoint.
When trying to use the InferenceClient with our gateway we run into 404 responses due to the gateway not being able to find the routes (since model was set to "tgi")
Your contribution
I'd be happy to create a PR for this. I've started working on a possible fix and would love to collaborate.
Although I do know that Client and AsyncClient will be deprecated and the suggestion is to use InferenceClient from huggingface_hub. I have created a similar issue there (see https://github.com/huggingface/huggingface_hub/issues/2293) and completely understand if this feature is not needed given the deprecation.

Hi @anubhavrana, better to continue the discussion in https://github.com/huggingface/huggingface_hub/issues/2293 indeed :)


opt: Remove dist from grids structs

Remove the dist array from Grids and PencilGrids.  This array isn't
needed for anything internal and is a waste of memory.  Using the
position arrays is more practical for anything anyway.

Codecov Report

Merging #42 (b44d100) into master (f3daa9f) will decrease coverage by 0.07%.
The diff coverage is 100.00%.

:exclamation: Current head b44d100 differs from pull request most recent head 9321bd2. Consider uploading reports for the commit 9321bd2 to get more accurate results

@@            Coverage Diff             @@
##           master      #42      +/-   ##
==========================================
- Coverage   96.28%   96.20%   -0.08%
==========================================
  Files           5        5
  Lines         296      290       -6
==========================================
- Hits          285      279       -6
  Misses         11       11

Impacted Files
Coverage Δ

src/grids.jl
100.00% <100.00%> (ø)

src/pencil_grids.jl
100.00% <100.00%> (ø)

src/JultraDark.jl
98.00% <0.00%> (-0.04%)
:arrow_down:

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 f3daa9f...9321bd2. Read the comment docs.


[xh]Generate comment for code

Summary
Generate comment for each function inside the code.
The newly generated comment will be added as a doc string beneath function definition.
Also it can merge into existing doc string if there is error.
Current issues are (1) the output code is not well formatted (2) # comment misses
Tests
Command to run the code:
python mage_ai/ai/generator_cmds.py generate-comment-for-block code_file
code_file is the file contains the code to generate comment for.
Reviewer:
@wangxiaoyou1993

Addressed the comments. Thank you for the review David! @dy46


control.bode(Hz=True) the conversion is wrong.

Hi,
Version: control 0.9.4
\control\freqplot.py
Line 320:
            if Hz:
                # omega_plot = omega_sys / (2. * math.pi)
                omega_plot = omega_sys * (180 / (math.pi))

Line: 386
                if Hz:
                    # Wcg, Wcp = Wcg/(2*math.pi), Wcp/(2*math.pi)
                    Wcg, Wcp = Wcg * (180 / (math.pi)), Wcp * (180 / (math.pi))

Best regards,
Vikt

The frequency is f = 2*pi*omega with f in Hz and omega in rad/s . These are not angles in degrees.
Side note: we work on code in the main branch, not in a released version.

Sorry,
Just for clarification.
                Wcg, Wcp = Wcg/(2*math.pi), Wcp/(2*math.pi)

If this line is supposed to convert Wcg, Wcp from rad/s to Hz, I would do it by multiplying by (180/pi) and not by dividing by 2pi.
Am I missing something here?
Best regards,
Viktor Ferm

Okay, thank you.


Calculator is not showing up after clicking the icon

Describe the bug
When i click the ""icons/keys.svg"" the calculator is not popping up
Possible solution
I assume the respective function is not getting called after clicking it
I'll try my best to fix it, if you assign me with this issue

Actually this bug is occurring due to one PR when it got merged, Now this issue is resolved.


Issues on rasperry pie with hotplug - crashing

Used https://github.com/huhamhire/node-co2-monitor/blob/master/co2_monitor.js
it detached kernel driver https://github.com/huhamhire/node-co2-monitor/blob/master/co2_monitor.js#L58
though i see at dmesg:
925.532552] usb 1-1.2: usbfs: process 5519 (node) did not claim interface 0 before use
on hotplug events my iobroker javasscript adapter crashes:

host.ioBrokerPIB3
2020-10-29 11:59:45.379
error
instance system.adapter.javascript.1 terminated with code 1 (JS_CONTROLLER_STOPPED)

host.ioBrokerPIB3
2020-10-29 11:59:45.378
error
Caught by controller[0]: at Transfer.transferDone (/opt/iobroker/node_modules/iobroker.javascript/node_modules/usb/usb.js:454:10)

host.ioBrokerPIB3
2020-10-29 11:59:45.378
error
Caught by controller[0]: at InEndpoint.EventEmitter.emit (domain.js:483:12)

host.ioBrokerPIB3
2020-10-29 11:59:45.377
error
Caught by controller[0]: at InEndpoint.emit (events.js:314:20)

host.ioBrokerPIB3
2020-10-29 11:59:45.377
error
Caught by controller[0]: at Object.onceWrapper (events.js:420:28)

host.ioBrokerPIB3
2020-10-29 11:59:45.376
error
Caught by controller[0]: at InEndpoint. (/opt/iobroker/node_modules/iobroker.javascript/node_modules/node-co2-monitor/co2_monitor.js:90:33)

host.ioBrokerPIB3
2020-10-29 11:59:45.375
error
Caught by controller[0]: at Interface.attachKernelDriver (/opt/iobroker/node_modules/iobroker.javascript/node_modules/usb/usb.js:330:21)

host.ioBrokerPIB3
2020-10-29 11:59:45.374
error
Caught by controller[0]: Error: LIBUSB_ERROR_BUSY

javascript.1
2020-10-29 11:59:44.770
error
(1086) Error: LIBUSB_ERROR_BUSY at Interface.attachKernelDriver (/opt/iobroker/node_modules/iobroker.javascript/node_modules/usb/usb.js:330:21) at InEndpoint. (/opt/iobroker/node_mo

javascript.1
2020-10-29 11:59:44.769
error
(1086) Error: LIBUSB_ERROR_BUSY

javascript.1
2020-10-29 11:59:44.768
error
(1086) An error happened which is most likely from one of your scripts, but the originating script could not be detected.

javascript.1
2020-10-29 11:59:44.742
error
(1086) script.js.climate.CO2_Monitor_Wohnzimmer: Error: LIBUSB_TRANSFER_STALL

When I unbind the adapter myself echo '1-1.2:1.0' >/sys/bus/usb/drivers/usbfs/unbind
The adapter crashes again:

host.ioBrokerPIB3
2020-10-29 12:03:16.242
error
instance system.adapter.javascript.1 terminated with code 1 (JS_CONTROLLER_STOPPED)

host.ioBrokerPIB3
2020-10-29 12:03:16.242
error
Caught by controller[1]: at Device. (/opt/iobroker/node_modules/iobroker.javascript/node_modules/usb/usb.js:316:7)

host.ioBrokerPIB3
2020-10-29 12:03:16.241
error
Caught by controller[1]: at Interface. (/opt/iobroker/node_modules/iobroker.javascript/node_modules/node-co2-monitor/co2_monitor.js:94:26)

host.ioBrokerPIB3
2020-10-29 12:03:16.240
error
Caught by controller[1]: at CO2Monitor.EventEmitter.emit (domain.js:483:12)

host.ioBrokerPIB3
2020-10-29 12:03:16.240
error
Caught by controller[1]: at CO2Monitor.emit (events.js:314:20)

host.ioBrokerPIB3
2020-10-29 12:03:16.239
error
Caught by controller[1]: at CO2Monitor. (script.js.climate.CO2_Monitor_Wohnzimmer:74:13)

host.ioBrokerPIB3
2020-10-29 12:03:16.239
error
Caught by controller[1]: at CO2Monitor.disconnect (/opt/iobroker/node_modules/iobroker.javascript/node_modules/node-co2-monitor/co2_monitor.js:88:24)

host.ioBrokerPIB3
2020-10-29 12:03:16.238
error
Caught by controller[1]: at InEndpoint.Endpoint.stopPoll (/opt/iobroker/node_modules/iobroker.javascript/node_modules/usb/usb.js:398:9)

host.ioBrokerPIB3
2020-10-29 12:03:16.238
error
Caught by controller[1]: Error: Polling is not active.

host.ioBrokerPIB3
2020-10-29 12:03:16.237
error
Caught by controller[0]: at Transfer.transferDone (/opt/iobroker/node_modules/iobroker.javascript/node_modules/usb/usb.js:454:10)

host.ioBrokerPIB3
2020-10-29 12:03:16.236
error
Caught by controller[0]: at InEndpoint.EventEmitter.emit (domain.js:483:12)

host.ioBrokerPIB3
2020-10-29 12:03:16.236
error
Caught by controller[0]: at InEndpoint.emit (events.js:326:22)

host.ioBrokerPIB3
2020-10-29 12:03:16.235
error
Caught by controller[0]: at Object.onceWrapper (events.js:420:28)

host.ioBrokerPIB3
2020-10-29 12:03:16.235
error
Caught by controller[0]: at InEndpoint. (/opt/iobroker/node_modules/iobroker.javascript/node_modules/node-co2-monitor/co2_monitor.js:90:33)

host.ioBrokerPIB3
2020-10-29 12:03:16.234
error
Caught by controller[0]: at Interface.attachKernelDriver (/opt/iobroker/node_modules/iobroker.javascript/node_modules/usb/usb.js:330:21)

host.ioBrokerPIB3
2020-10-29 12:03:16.232
error
Caught by controller[0]: Error: LIBUSB_ERROR_BUSY

javascript.1
2020-10-29 12:03:15.650
error
(4453) at Device. (/opt/iobroker/node_modules/iobroker.javascript/node_modules/usb/usb.js:316:7)

javascript.1
2020-10-29 12:03:15.649
error
(4453) at Interface. (/opt/iobroker/node_modules/iobroker.javascript/node_modules/node-co2-monitor/co2_monitor.js:94:26)

javascript.1
2020-10-29 12:03:15.649
error
(4453) at CO2Monitor.EventEmitter.emit (domain.js:483:12)

javascript.1
2020-10-29 12:03:15.648
error
(4453) at CO2Monitor.emit (events.js:314:20)

javascript.1
2020-10-29 12:03:15.648
error
(4453) at CO2Monitor. (script.js.climate.CO2_Monitor_Wohnzimmer:73:13)

javascript.1
2020-10-29 12:03:15.647
error
(4453) at CO2Monitor.disconnect (/opt/iobroker/node_modules/iobroker.javascript/node_modules/node-co2-monitor/co2_monitor.js:88:24)

javascript.1
2020-10-29 12:03:15.646
error
(4453) at InEndpoint.Endpoint.stopPoll (/opt/iobroker/node_modules/iobroker.javascript/node_modules/usb/usb.js:398:9)

javascript.1
2020-10-29 12:03:15.645
error
(4453) script.js.climate.CO2_Monitor_Wohnzimmer: Error: Polling is not active.

javascript.1
2020-10-29 12:03:15.641
error
(4453) script.js.climate.CO2_Monitor_Wohnzimmer: Error: LIBUSB_ERROR_OTHER

javascript.1
2020-10-29 12:03:15.620
error
(4453) Error: LIBUSB_ERROR_BUSY at Interface.attachKernelDriver (/opt/iobroker/node_modules/iobroker.javascript/node_modules/usb/usb.js:330:21) at InEndpoint. (/opt/iobroker/node_mo

javascript.1
2020-10-29 12:03:15.620
error
(4453) Error: LIBUSB_ERROR_BUSY

javascript.1
2020-10-29 12:03:15.619
error
(4453) An error happened which is most likely from one of your scripts, but the originating script could not be detected.

javascript.1
2020-10-29 12:03:15.560
error
(4453) script.js.climate.CO2_Monitor_Wohnzimmer: Error: LIBUSB_TRANSFER_NO_DEVICE

javascript.1
2020-10-29 12:03:15.559
error
(4453) script.js.climate.CO2_Monitor_Wohnzimmer: Error: LIBUSB_TRANSFER_NO_DEVICE

javascript.1
2020-10-29 12:03:15.559
error
(4453) script.js.climate.CO2_Monitor_Wohnzimmer: Error: LIBUSB_TRANSFER_NO_DEVICE

javascript.1
2020-10-29 12:03:15.558
error
(4453) script.js.climate.CO2_Monitor_Wohnzimmer: Error: LIBUSB_TRANSFER_NO_DEVICE

javascript.1
2020-10-29 12:03:15.557
error
(4453) script.js.climate.CO2_Monitor_Wohnzimmer: Error: LIBUSB_TRANSFER_NO_DEVICE

javascript.1
2020-10-29 12:03:15.556
error
(4453) script.js.climate.CO2_Monitor_Wohnzimmer: Error: LIBUSB_TRANSFER_NO_DEVICE

javascript.1
2020-10-29 12:03:15.554
error
(4453) script.js.climate.CO2_Monitor_Wohnzimmer: Error: LIBUSB_TRANSFER_NO_DEVICE

javascript.1
2020-10-29 12:03:15.550
error
(4453) script.js.climate.CO2_Monitor_Wohnzimmer: Error: LIBUSB_TRANSFER_NO_DEVICE

It seems like @humanhire did use and include everything right and he can't reproduce my issue.
It seems like it's related to lib_usb and raspberry pie and kernel.
Can someone help me further? My udev rules are in place and I can read from the device.
This is related to https://github.com/tessel/node-usb/issues/390
Thank you
Raspberry 3b+
Debian Buster
Linux  5.4.72-v7+ #1356 SMP Thu Oct 22 13:56:54 BST 2020 armv7l GNU/Linux
Node.js v12.19.0
NPM 6.14.8

Closing this issue due to inactivity, please create a new issue as required.


Not Showing Images after migrating to Swift 2.0

I have an IOS application I did not developed, but I am responsible to maintain, I have some experience as a Swift developer, but don't consider myself master on the subject either. Today, I had to make a small change on the interface because the APP was rejected on the apple store review, and since I got Xcode 7 as an update last week I had to migrate the app to Swift 2.0, which was partially done with the migration tool, and partially done manually.
Said that. I have the following issue. None of the images that are loaded via  sd_setImageWithURL appears to work. Their spaces on the layout continue there, but there are no images coming from s3. I am sure the urls are correct (I used the debugger for that), and I have the following setup:
This is my latest pod update:
Using CSStickyHeaderFlowLayout (0.2.5)
Using DACircularProgress (2.3.1)
Using HexColors (2.2.1)
Using MBProgressHUD (0.9.1)
Using MWPhotoBrowser (1.4.1)
Using PSTCollectionView (1.2.3)
Using RESideMenu (4.0.7)
Using Reachability (3.2)
Using SDWebImage (3.7.2)
Using TSMessages (0.9.12)
Using XDKAirMenu (1.1.0)
I have a Dow-Bridging-Header.h with the following*
#import <SDWebImage/UIImageView+WebCache.h>

And a code snipped of using it is
    func receivedClient(notification: NSNotification) {
        let client = notification.object as! Client?

        if let url = client?.photo?.medium {
            imageView?.sd_setImageWithURL(NSURL(string:url))
            Utils.applyRoundedCornersToImageView(imageView)
        }

Many of the problems I had migrating the code was related to what I think was a bad use of swift's optional pattern.
Any help would be much welcome.

I think this could be related:
http://stackoverflow.com/questions/32675319/sdwebimage-stopped-after-swift2

I have disabled App Transport Security as stated here (http://www.fiveminutewatchkit.com/blog/?category=NSURLSession) and for me it solved the problem.

:+1:


Fix: Report a more helpful target for webview logs

This plugin previously reported all webview logs as coming from tauri_plugin_log. This fix attempts to parse a location from new Error().stack with a more helpful fallback to webview in case no stacktrace is available.

I think we should check this in manually on windows and linux to make sure this even works there


Why can't I access my mongodb outside the server?

Hi,
Looking into Meteor Up to speed up my deployments and just reading the Readme.md and under "Accessing the database", it says
"You can't access the MongoDB from the outside the server. To access the MongoDB shell you need to log into your server via SSH first and then run the following command:"
Just wondering why this is the case? Is this just a setting that has been turned off or is this a technical limitation? I've deployed Meteor apps into my own servers in the past and have been able to remote access the database using RoboMongo.
I would like to be able to do this on my test servers because it is a lot more convenient using RoboMongo, then have to ssh in and use the command line.
Thanks,
Wai

That is to prevent unauthorized access.
You can access from local via RoboMongo.
See:
https://forums.meteor.com/t/connecting-to-remote-mongodb-sessions/1582/4?u=arunoda
On Wed, May 27, 2015 at 9:04 AM waiholiu<EMAIL_ADDRESS>wrote:

Hi,
Looking into Meteor Up to speed up my deployments and just reading the
Readme.md and under "Accessing the database", it says
"You can't access the MongoDB from the outside the server. To access the
MongoDB shell you need to log into your server via SSH first and then run
the following command:"
Just wondering why this is the case? Is this just a setting that has been
turned off or is this a technical limitation? I've deployed Meteor apps
into my own servers in the past and have been able to remote access the
database using RoboMongo.
I would like to be able to do this on my test servers because it is a lot
more convenient using RoboMongo, then have to ssh in and use the command
line.
Thanks,
Wai
—
Reply to this email directly or view it on GitHub
https://github.com/arunoda/meteor-up/issues/448.


feat(compiler/scanner): single character tokens

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

#14
#13  👈
#12
#11
#10
#9
#8
#7
main

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

Join @delta1024 and the rest of your teammates on  Graphite

Merge activity

Jun 5, 8:00 PM EDT: @delta1024 started a stack merge that includes this pull request via Graphite.


Read-only access to settings sync

I have students who aren't "security threats" or even mischievous, so for this use case a solution providing genuine security is unnecessary. But they're newbies who, like most of us, sometimes poke the wrong button. Oops.  And if they change their own settings locally to see what happens (or by accident), that's fine, but I'd like for them to be able to reset back to my settings at any time. I believe settings sync already does all of this. Very helpful.
What I DON'T want, is for them to be able to write any changes to my settings. For me, sync needs to be 2-way: I write settings changes with one of my machines and read them with another and vice-versa. It's the same me on both machines. But for them, sync needs to be 1-way: they can read my remote settings and sync their local settings if they want (I don't need forced "push"; they just need the ability to pull), but I can't allow them to write to my remote settings.
I'd like to enable students to set up and update their VS Code with my settings on a read-only basis without giving them the login to my Github account and without any ability to write changes to my settings.
One possible approach would be to assign a URL to a standardized settings "package" that could be downloaded and installed, and reinstalled whenever wanted, by anyone who was given the URL.

@lszomoru @Tyriar FYI
How about coming up with read-only access token and prevent writing from the client and also on the server?

@lszomoru @Tyriar FYI
How about coming up with read-only access token and prevent writing from the client and also on the server?

That makes sense.
Adding @RMacfarlane to get her thoughts on the possible changes needed to the auth providers to support this.

That makes sense.
Adding @RMacfarlane to get her thoughts on the possible changes needed to the auth providers to support this.

FYI @sana-ajani as this is very specific to education

FYI @sana-ajani as this is very specific to education

I think it makes sense for the access token to determine what types of actions can be performed, but I'm not sure how to do that with the GitHub tokens.
For Microsoft, we could change the tokens we are requesting to be specifically for the settings sync server, and there should be a way to request "Read" vs "Write" scopes for that Azure resource. Then on the settings server we could look at the token and check what claims it has.
But for GitHub, the only scopes we can request are github scopes, so there isn't really anything we could ask permission for that would make sense to distinguish read/write for settings sync. Seems unwise to mess with the token and try to include extra information.
Would it be possible to grant read access to other users/unauthenticated users by default?

I think it makes sense for the access token to determine what types of actions can be performed, but I'm not sure how to do that with the GitHub tokens.
For Microsoft, we could change the tokens we are requesting to be specifically for the settings sync server, and there should be a way to request "Read" vs "Write" scopes for that Azure resource. Then on the settings server we could look at the token and check what claims it has.
But for GitHub, the only scopes we can request are github scopes, so there isn't really anything we could ask permission for that would make sense to distinguish read/write for settings sync. Seems unwise to mess with the token and try to include extra information.
Would it be possible to grant read access to other users/unauthenticated users by default?

I'm not sure tokens and maybe even settings sync are the right way to approach this problem. Giving out a token to your account, regardless of whether it's read or write is bad.

I'm not sure tokens and maybe even settings sync are the right way to approach this problem. Giving out a token to your account, regardless of whether it's read or write is bad.

To clarify, what I was imagining was that you would login with your own credentials and get a token for yourself that could either write to your own settings, or be used to read other's settings. So you would never share your token

To clarify, what I was imagining was that you would login with your own credentials and get a token for yourself that could either write to your own settings, or be used to read other's settings. So you would never share your token

One possible approach would be to assign a URL to a standardized settings "package" that could be downloaded and installed, and reinstalled whenever wanted, by anyone who was given the URL.

This is something I've heard from other professors as well. Having some kind of configuration file or configuration from url option for them to outline their settings to then distribute to their students. Classrooms are a great use-case for read-only settings sharing.

One possible approach would be to assign a URL to a standardized settings "package" that could be downloaded and installed, and reinstalled whenever wanted, by anyone who was given the URL.

This is something I've heard from other professors as well. Having some kind of configuration file or configuration from url option for them to outline their settings to then distribute to their students. Classrooms are a great use-case for read-only settings sharing.

how can one make settings "package"? I made extension package but I don't know how to make settings package.

how can one make settings "package"? I made extension package but I don't know how to make settings package.

One possible approach would be to assign a URL to a standardized settings "package" that could be downloaded and installed, and reinstalled whenever wanted, by anyone who was given the URL.

This is something I've heard from other professors as well. Having some kind of configuration file or configuration from url option for them to outline their settings to then distribute to their students. Classrooms are a great use-case for read-only settings sharing.

how can one make settings "package"? I made extension package but I don't know how to make settings package.

One possible approach would be to assign a URL to a standardized settings "package" that could be downloaded and installed, and reinstalled whenever wanted, by anyone who was given the URL.

This is something I've heard from other professors as well. Having some kind of configuration file or configuration from url option for them to outline their settings to then distribute to their students. Classrooms are a great use-case for read-only settings sharing.

how can one make settings "package"? I made extension package but I don't know how to make settings package.

how can one make settings "package"? I made extension package but I don't know how to make settings package.

@GlenPerkins

how can one make settings "package"? I made extension package but I don't know how to make settings package.

@GlenPerkins

I have students who aren't "security threats" or even mischievous, so for this use case a solution providing genuine security is unnecessary. But they're newbies who, like most of us, sometimes poke the wrong button. Oops.  And if they change their own settings locally to see what happens (or by accident), that's fine, but I'd like for them to be able to reset back to my settings at any time. I believe settings sync already does all of this. Very helpful.
What I DON'T want, is for them to be able to write any changes to my settings. For me, sync needs to be 2-way: I write settings changes with one of my machines and read them with another and vice-versa. It's the same me on both machines. But for them, sync needs to be 1-way: they can read my remote settings and sync their local settings if they want (I don't need forced "push"; they just need the ability to pull), but I can't allow them to write to my remote settings.
I'd like to enable students to set up and update their VS Code with my settings on a read-only basis without giving them the login to my Github account and without any ability to write changes to my settings.
One possible approach would be to assign a URL to a standardized settings "package" that could be downloaded and installed, and reinstalled whenever wanted, by anyone who was given the URL.

how can one make settings "package"? I made extension package but I don't know how to make settings package.

I have students who aren't "security threats" or even mischievous, so for this use case a solution providing genuine security is unnecessary. But they're newbies who, like most of us, sometimes poke the wrong button. Oops.  And if they change their own settings locally to see what happens (or by accident), that's fine, but I'd like for them to be able to reset back to my settings at any time. I believe settings sync already does all of this. Very helpful.
What I DON'T want, is for them to be able to write any changes to my settings. For me, sync needs to be 2-way: I write settings changes with one of my machines and read them with another and vice-versa. It's the same me on both machines. But for them, sync needs to be 1-way: they can read my remote settings and sync their local settings if they want (I don't need forced "push"; they just need the ability to pull), but I can't allow them to write to my remote settings.
I'd like to enable students to set up and update their VS Code with my settings on a read-only basis without giving them the login to my Github account and without any ability to write changes to my settings.
One possible approach would be to assign a URL to a standardized settings "package" that could be downloaded and installed, and reinstalled whenever wanted, by anyone who was given the URL.

how can one make settings "package"? I made extension package but I don't know how to make settings package.

@AnaMale you can't, that's what this issue is asking for.

@AnaMale you can't, that's what this issue is asking for.

We closed this issue because we don't plan to address it in the foreseeable future. If you disagree and feel that this issue is crucial: we are happy to listen and to reconsider.
If you wonder what we are up to, please see our roadmap and issue reporting guidelines.
Thanks for your understanding, and happy coding!


Refactor openid

I moved some refactors to allow for the introduction of a static token https://github.com/Shopify/ruby-sigstore/pull/30 out into this PR. This will make the next set of changes a bit easier to review since fewer things will change.
The main problem this PR solves is to enable the usage of an OpenID Provider (oidp) object to the GemSigner class, which will allow for the use of a static oidp.
I'm also renaming the current OpenId class to OpenId::Dynamic to allow for the usage of multiple authentication strategies. I'm also changing the interface of the OpenId::Dynamic class to expose a proof and token method, which will make it easier to substitute strategies.

My only question is whether some method values should be memoized (eg fulcio_api).

The methods can be memorized, but there is no benefit in doing it, because the values aren't accessed multiple times. So I'm going to skip it for now.


fix(tests): handle truncation in various annotations

Description
K8sRbacTest fails under ROSA HCP due to truncation of role annotations on the Stackrox side. This PR changes the annotation comparison to refactor what was previously used for a similar issue with SummaryTest.
Checklist

[ ] Investigated and inspected CI test results
[x] Unit test and regression tests added

Testing Performed
Here I tell how I validated my change

Added a sampleScript to manually execute each of the 3 comparisons
Added a unit test to sanity check the comparison function
Forced failures by setting the expected truncation size to 500 so that truncated annotations would again be diffed

Checked that the junit failure has a clean report of the diff 1 2   (compared to previous where the diff was buried in the log)

Reminder for reviewers
In addition to reviewing code here, reviewers must also review testing and request further testing in case the
performed one does not seem sufficient. As a reviewer, you must not approve the change until you understand the
performed testing and you are satisfied with it.

/test rosa-hcp-qa-e2e-tests

/test ocp-4-14-qa-e2e-tests

/test rosa-hcp-qa-e2e-tests ocp-4-14-qa-e2e-tests

/test rosa-hcp-qa-e2e-tests ocp-4-14-qa-e2e-tests

/test rosa-hcp-qa-e2e-tests ocp-4-14-qa-e2e-tests

/test rosa-hcp-qa-e2e-tests ocp-4-14-qa-e2e-tests

/test rosa-hcp-qa-e2e-tests ocp-4-14-qa-e2e-tests

/test rosa-hcp-qa-e2e-tests ocp-4-14-qa-e2e-tests


Adjust colors

This is in response to #76
The adjusted colors looks like this on Terminal on Mac, using the PRO colors:

I'm opening a PR in hope that someone will try it out in their terminal emulator of choice and find issues (or better yet: find there are no issues!).

No complaints, so I'll just merge this now.


Test DOI minting

Use shared specs from hyrax-doi and explicitly include hyrax-doi mixin modules instead of running the install generator each time.

I'm going to go ahead and merge this so I can get it into a release today.

I'm going to go ahead and merge this so I can get it into a release today.


Manager fails to remove reference and linked container

issue #118 not working
Issue remains where container is left in the scene ad not properly removed when using avalon.maya.pipeline.remove(container).
To reproduce the issue:

Reference in a few subsets through the Asset Loader
Remove a referenced subset through the Manager
Refresh the Manager to see the "removed" subset remains with the container name as objectName

Proposition:
Query the linked container node of the referenceNode in question
reference_node = "test_001_lookRN"
test = cmds.listConnections(reference_node,
                                           destination=True,
                                           type="objectSet")
print test
[u'test_01__lookDefault__CON1']

The thing currently responsible for deleting containers is api.remove() and it's got access to the name of that objectSet. I think we can just add cmds.delete(container["objectName"]) to that function.


fix: Nested relationships

Fixes #2074.
Fixes #2203.
Fixes #2114.

It seems to work fine, maybe good if others test too


Do not fail webhook server if some of API is not available
What issues does this PR fix or reference?
https://github.com/devfile/devworkspace-operator/issues/221
Is it tested? How?
It's tested but does not work as expected yet.
Webhook server went further but webhook server failed to start with the following error:
2020-12-07T15:36:48.940Z        ERROR   cmd     Manager exited non-zero {"error": "listen tcp :443: bind: permission denied"}
main.main
        /devworkspace-operator/webhook/main.go:94
runtime.main
        /usr/local/go/src/runtime/proc.go:20

Full Webhook server logs
I1207 15:36:30.168624       1 request.go:621] Throttling request took 1.040625116s, request: GET:https://<IP_ADDRESS>:443/apis/policy/v1beta1?timeout=32s
2020-12-07T15:36:35.723Z        INFO    controller-runtime.metrics      metrics server is starting to listen    {"addr": ":8080"}
2020-12-07T15:36:35.723Z        INFO    cmd     Configuring Webhook Server
I1207 15:36:40.174392       1 request.go:621] Throttling request took 1.797993125s, request: GET:https://<IP_ADDRESS>:443/apis/tuned.openshift.io/v1?timeout=32s
2020-12-07T15:36:42.325Z        INFO    webhook.server  ERROR: Could not evaluate if admission webhook configurations are available.    Fix the reported error or make sure admission webhook are enabled on your cluster manually.    If they are not enabled configure them otherwise workspace security mechanisms won't work properly   {"error": "unable to retrieve the complete list of server APIs: packages.operators.coreos.com/v1: the server is currently unable to handle the request"}
2020-12-07T15:36:42.325Z        INFO    webhook.server  WARN: AdmissionWebhooks are not configured at your cluster.    To make your workspaces more secure, please configure them.    Skipping setting up Webhook Server
2020-12-07T15:36:42.325Z        INFO    cmd     Configuring Webhooks
2020-12-07T15:36:42.325Z        INFO    webhook.workspace       Configuring workspace webhooks
2020-12-07T15:36:48.937Z        INFO    controller-runtime.builder      skip registering a mutating webhook, admission.Defaulter interface is not implemented   {"GVK": "workspace.devfile.io/v1alpha1, Kind=DevWorkspace"}
2020-12-07T15:36:48.937Z        INFO    controller-runtime.builder      skip registering a validating webhook, admission.Validator interface is not implemented {"GVK": "workspace.devfile.io/v1alpha1, Kind=DevWorkspace"}
2020-12-07T15:36:48.937Z        INFO    controller-runtime.webhook      registering webhook     {"path": "/convert"}
2020-12-07T15:36:48.937Z        INFO    controller-runtime.builder      conversion webhook enabled      {"object": {"metadata":{"creationTimestamp":null},"spec":{"started":false,"template":{}},"status":{"workspaceId":""}}}
2020-12-07T15:36:48.938Z        INFO    controller-runtime.builder      skip registering a mutating webhook, admission.Defaulter interface is not implemented   {"GVK": "workspace.devfile.io/v1alpha2, Kind=DevWorkspace"}
2020-12-07T15:36:48.938Z        INFO    controller-runtime.builder      skip registering a validating webhook, admission.Validator interface is not implemented {"GVK": "workspace.devfile.io/v1alpha2, Kind=DevWorkspace"}
2020-12-07T15:36:48.938Z        INFO    controller-runtime.builder      conversion webhook enabled      {"object": {"metadata":{"creationTimestamp":null},"spec":{"started":false,"template":{}},"status":{"workspaceId":""}}}
2020-12-07T15:36:48.939Z        INFO    cmd     Starting manager
2020-12-07T15:36:48.940Z        INFO    controller-runtime.manager      starting metrics server {"path": "/metrics"}
2020-12-07T15:36:48.940Z        INFO    controller-runtime.webhook.webhooks     starting webhook server
2020-12-07T15:36:48.940Z        INFO    controller-runtime.certwatcher  Updated current TLS certificate
2020-12-07T15:36:48.940Z        INFO    controller-runtime.certwatcher  Starting certificate watcher
2020-12-07T15:36:48.940Z        ERROR   cmd     Manager exited non-zero {"error": "listen tcp :443: bind: permission denied"}
main.main
        /devworkspace-operator/webhook/main.go:94
runtime.main
        /usr/local/go/src/runtime/proc.go:203

Something really bad happened with my cluster.

it's still an issue, recently Namespace hangs in state TERMINATING due packages.operators.coreos.com/v1: the server is currently unable to handle the request.
It would be great if we can workaround it on our-end.

I haven't faced this in a long time. Closing without finalizing it


Unable to use @liveblocks/react-comments/primitives

Describe the bug
Not sure if this is intentional regarding the beta for comments, but I'm unable to use the primitive components (headless/unstyled components) for the @liveblocks/react-comments library, but I can use the styled-components just fine.
To Reproduce
I added the @liveblocks/react-comments to my project (package.json)
dependencies: {
...
		"@liveblocks/client": "^1.4.4",
		"@liveblocks/react": "^1.4.4",
		"@liveblocks/react-comments": "^1.4.4",
...
}

Then created a component to use the headless components. I tried using the sample used in the documentation
import { Composer } from "@liveblocks/react-comments/primitives";

function CommentTextField() {
   return (
      <Composer.Form>
        <Composer.Editor
          components={{
            Mention: () => <Composer.Mention />,
            MentionSuggestions: () => (
              <Composer.Suggestions>
                <Composer.SuggestionsList>
                  <Composer.SuggestionsListItem />
                </Composer.SuggestionsList>
              </Composer.Suggestions>
            ),
            Link: () => <Composer.Link />,
          }}
        />
        <Composer.Submit />
      </Composer.Form>
    );

}

export default CommentTextField

Then I get
ERROR in src/components/comments/CommentTextField.tsx:1:26
TS2307: Cannot find module '@liveblocks/react-comments/primitives' or its corresponding type declarations.
  > 1 | import { Composer } from "@liveblocks/react-comments/primitives";
      |                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    2 |
    3 | function CommentTextField() {
    4 |    return (

Expected behavior
Having access to the headless components.

It's definitely not intentional, we're looking into it. Thanks for reporting!

In your tsconfig.json, what is moduleResolution set to? It should be set to "node16" or "nodenext" for TypeScript to support import paths like @liveblocks/react-comments/primitives.

In your tsconfig.json, what is moduleResolution set to? It should be set to "node16" or "nodenext" (or "bundler" if you're on TS >=5) for TypeScript to support import paths like @liveblocks/react-comments/primitives.

Oh that worked like a charm. Thank you!

I got the same issue on my Next.js 14 app using typescript v4.x
I already tried to update moduleResolution on tsconfig.json using "node16" or "nodenext" but I got the same issue.
Any other solution? Thanks.

@ntourne Do you get the exact same error with "node16"/"nodenext", or do you get a different one?

@ntourne Do you get the exact same error with "node16"/"nodenext", or do you get a different one?

@marcbouchenoire: Thanks for the reply.
Yes, same error using "node16" / "nodenext". Also, I'm using "next" v13.4.16 (same as this example).
Any other thing to test?

@ntourne Not really sure since it seems to be pretty specific to your setup, would it be possible to make a public (GitHub, CodeSandbox, or similar) reproduction?

Re-closing this issue as the solution was already found (setting moduleResolution to "node16"/"nodenext", or "bundler" if you’re on TS >=5) and added to multiple places in the docs.


libsmu: init at 1.0.3

with optional python module as python.pkgs.pysmu
Motivation for this change
library for interacting with the Analog Devices ADALM1000 USB SMU hardware
needed to run AD's alice software
(which i'm able to run with nix-shell -p 'python38.withPackages(ps: with ps; [ pysmu numpy tkinter ])', but haven't figured out how to package yet)
also needed for AD's pixelpulse software (which i'm also trying to package here)
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[x] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[x] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

upstream is a bit messed up, working on 1.0.4, will make a new PR if i get that working


Prometheus doc 'Grafana dashboard meta ' file link is broken

Actual Behaviour
prometheus plugin doc click Grafana dashboard 元数据  is broken

Expected Behaviour
<EMAIL_ADDRESS>
Steps to reproduce it

in en doc click `Grafana dashboard meta', the link is  https://github.com/apache/apisix/blob/master/docs/assets/other/json/apisix-grafana-dashboard.json
in zh doc click Grafana dashboard 元数据 , the link is  https://apisix.apache.org/zh/assets/other/json/apisix-grafana-dashboard.json
Screenshots of the issue

Would you like to work on the issue?
yes, are the website assets files use the jsdelivr ? i can't find how to change the url in markdown files.

Hi, I just checked the original Markdown file:

https://github.com/apache/apisix/edit/release/2.11/docs/en/latest/plugins/prometheus.md
https://github.com/apache/apisix/edit/release/2.11/docs/en/latest/plugins/prometheus.md

We could fix it by using an absolute URL :)

Should i send a PR or you just fixed it ？ not diffcult :) @juzhiyuan

@huang-x-h may need your help here 🙈🙈

fixed https://apisix.apache.org/zh/docs/apisix/plugins/prometheus/


New project

I edited init.py to test coverage percents. Previously, the program could not read some functions at all now it works fine.
I created a new NAVER account for tests and added it to test functions.

applied code formatting


Using Clevertap through Partytown

Hi @akashvercetti.  We use the clever tap as our analytics tool at our organization and recently have been trying to port all our third-party libraries through Partytown and wanted to know if you plan our adding support (docs on party town) for it as well?
Although Partytown runs with almost zero configuration, depending upon the library we are using we need to set up the correct event forwarding and proxies.
Just wanted to know if a clever tap can be used via Partytown or not?
Would love to help write docs and examples with setting it up if it's possible (since I'm not very well aware of clever tap internals) and bring it to the official list here
	<Partytown
		debug
		forward={[
			'clevertap.getCleverTapID',
			 'clevertap.event.push',
			'clevertap.profile.push',
			'clevertap.account.push',
			'clevertap.onUserLogin.push',
			'clevertap.privacy.push'
		]}
		resolveUrl={()=>{
		// setup reverse proxies if needed
		}}
	/>

@akashvercetti just wanted to sync again regarding your thoughts on this?

@abhu-A-J Closing this ticket. Kindly create new issue if issue still persist.


[Enhancement][Converter] Add Expression property to MathExpressionConverter and MultiMathExpressionConverter

Fixes #
Docs for Toolkit PR #
What changes to the docs does this PR provide?

Added:

public string? Expression { get; set; }

PR Checklist
Please check if your PR fulfills the following requirements:

[ ] For new pages, used the provided template.
[ ] For new features, added an entry in the Table of Contents.
[x] Ran against a spell and grammar checker.
[x] Contains NO breaking changes.

Other information

Microsoft support for Xamarin will end on May 1, 2024 for all Xamarin SDKs including Xamarin Community Toolkit. In preparation for this, all issues and PRs in this repository are being closed.
.NET MAUI Community Toolkit is the replacement for Xamarin Community Toolkit and its documentation can be found here.


Updated Links

Updated some outdated links

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.Lorenz Nickel seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


Patched Promise swallows exceptions.

Please find an example here: http://plnkr.co/edit/dEmR53zIRBx4e3BINi9P?p=preview, removing zone.js reference from index.html fixes the case.
Found in a typical Angular 2 app use case:
async ngOnInit() {
    let data = await this._service.load();
    throw new Error('Error in ngOnInit'); // will be never reported, even in console
}

Thoughts?

i'm reasonably sure this is the expected behavior with async/await - see https://jsfiddle.net/robwormald/k1oLf6qu/1/
its effectively throwing at your first line - the async function returns a promise, which is where the error is caught (which of course you have no access to, as its a lifecycle method) - you should generally use try/catch with async/await.

http://plnkr.co/edit/dEmR53zIRBx4e3BINi9P?p=preview - demonstrates the issue without async/await(unfortunately plunker is currently down).
In your case you're right, but I didn't say  that let data = await this._service.load();  fails/rejects in my sample. I forked your example to demonstrate the issue: https://jsfiddle.net/v9vyj5n0/2/, removing angular2-polyfills.min.js which includes zone.js fixes the issue.

It seems to be fixed in 0.6.4


SPIKE: investigate "uncompressed" compression formats

AEIEditor distinguishes these compression formats. Is there anything different about them that AEPi needs to support?

Uncompressed
Uncompressed (UI)
Uncompressed (cubemap)
Uncompressed (cubemap, PC)

Uncompressed (UI)
Uncompressed (cubemap)
Uncompressed (cubemap, PC)
all complete, but I haven't yet figured out uncompressed


nil for a playlist item privacy status

Ok I'll rebase, squash and make this into one commit, and merge it tomorrow

I'm guessing Travis is failing because "account" side Yt::Group code does something wrong. It is not related to this commit


delete node command not working

Hi! Delete node command is not working when you click it. Although it's possible to delete node pressing "delete" key on a keyboard.

Thanks for this! Currently it makes a copy of the node instead of deletion 😄

Fix at https://github.com/Insality/panthera/releases/tag/editor.804


”Bahnea”, ”Bernadea”, ”Cund”, ”Daia” are listed in the drop-down menu

Description:
When user writes ”Bahnea”, ”Bernadea”, ”Cund”, ”Daia” the locations appear in the drop-down menu next to the comune and the county which is a part according to the law.
Precondition:
The website is up an running.

Step 1
Write in the search bar "Bahnea"

Expected results
The location appears in the drop-down menu as "Sat Bahnea, MUREȘ (Bahnea)".

Step 2
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 3
Write in the search bar "Bernadea"

Expected results
The location appears in the drop-down menu as "Sat Bernadea, MUREȘ (Bahnea)".

Step 5
Write in the search bar "Cund"

Expected results
The location appears in the drop-down menu as "Sat Cund, MUREȘ (Bahnea)".

Step 7
Write in the search bar "Daia"

Expected results
The location appears in the drop-down menu as "Sat Daia, MUREȘ (Bahnea)".


Move Node Together Repo as an org under CommComm

Hey everyone,
As I'm trying to re-organize Node Together so it can start happening again we've been trying to figure out a way for it to be a viable organization. Either that means becoming an entity and soliciting money from sponsorship, or trying to become a part of the Node Foundation org.
I think the latter would be the easiest and smoothest, and potentially best way to get valuable input from people in the community on beginner education & outreach to underrepresented minorities.
I would love for it to live under the jurisdiction of CommComm, as I feel that we're best geared towards the basic principals that Node Together stands for, thanks to the great mission @ashleygwilliams put together in founding it.
I'd like to propose we have a discussion / vote during the meeting on whether or not to move forward with the process.
@hackygolucky can provide a bit more insight to the viability of these options, as it's something she previously looked into last fall before I was brought on as the new organizer.

This is the first step! I tried to walk through a scenario where this would also require approval from the Node.js Foundation Board, but I can't think of it. Their input is generally needed for allocations or bylaws, yes?
I imagine this is pretty similar in nature to what Code + Learn is for the CTC. The scenario that was recommended to me by @MylesBorins was CommComm-->Education-->NodeTogether.

My understanding is that as long as what we're bringing into CommComm fits under our responsibilities as listed in our charter then we don't need board approval.
Reading through the list though, I don't think this fits in with the existing list, but education definitely should be on the list IMO. It was just an oversight on our part.
I think we'll need to make a change to the charter to get "education initiatives" listed first (which does require board approval), and then we can bring this in without needing board approval.
We also have https://github.com/nodejs/community-committee/pull/50 open, which is another charter change, so we already have some things we need to bring to the board. I don't think it should be that much harder to make this charter change too.
I'll add a blurb about education in the existing PR to make it easier for the board to review the charter changes.

just fyi: this is currently not on the meeting agenda, shall we add it? https://docs.google.com/document/d/1J14T5lXuFWsaTqfkpmPruAZ4E-WsVe2V5TAaKwDjHN0/edit

@gr2m yes please

Hey all, as far as I can recall, the Board confirmed at the last meeting that they don't need a resolution for this on their end, but that Director @ashleygwilliams had brought up we should have legal review the guidelines documented for accepting students into each class to ensure we(NodeTogether) are doing everything in an acceptable fashion.

To make sure y'all feel comfortable with how this is being done, can we talk through the process of the file copy/transfer for this on our meeting today? cc @ashleygwilliams @rachelnicole @nebrius I'd like to make sure we are crystal clear so everyone is 👍

I'm removing the cc-agenda label for now because we have action items on next steps and are waiting for those to be done. We can re-add the label once the repos have been moved over, if need be.

Know my App Node CRUD API Generator to MySQL

Since this does not seem to be happening, going to close the issue for now. Will re-open at the point when we're ready to do the work.


Fix compilation, change row_number() expr_fn to 0 args

Which issue does this PR close?
N/A
Rationale for this change
Fix logical conflict between https://github.com/apache/datafusion/pull/12030 and https://github.com/apache/datafusion/pull/12000
What changes are included in this PR?

Update include
fix signature of row_number expr_fn to not take arguments

Are these changes tested?
Yes
Are there any user-facing changes?

Thank you for the quick review @jayzhan211  -- I am going to merge this in to get the CI green again. I am happy to make additional changes as a follow on PR if other reviewers have suggestions


400 - Bad Request when loading input in Load Image node

Seems to come from http://localhost:7801/ComfyBackendDirect/upload/image
I know the path is fine because the Load Image node defaults to dlbackend/Comfy/input and I put the file in there. So there's something wonky going on.

Yeah there's something wrong in the internal comfy proxy logic

Fixed


Upgrade Linux Kernel for flatcar-3033 from 5.10.180 to 5.10.182

Subject says it all.

See instead https://github.com/flatcar/scripts/pull/903


Revert "Split bm_fullstack into pieces, reuse infrastructure across other microbenchmarks"

Reverts grpc/grpc#9977
CC @ctiller

But why?

Breaks builds:
https://github.com/grpc/grpc/issues/10051 https://github.com/grpc/grpc/issues/10060
Also, that PR doesn't have "Known failures" clause before merging (and said test seem to be failing on that PR).

Fair enough... distracted days the past few days, my slip.


Could not acquire lock file for module 'UIKit'

When trying to port the Calculator sample from the official Windows Bridge for iOS blog, I always get the following error after converting the project and trying to compile it:
could not acquire lock file for module 'UIKit' Calculator (Calculator\Calculator)  W:\Source\Bridgetest\Calculator\Calculator\ViewController.h 9
I am using the latest version of the bridge 0.1 Preview (April 29, 2016).
Oh, and I am using Parallels for my Windows VM, if this makes a difference.
Is it me or any ideas, why it could fail??

@robinmanuelthiel Is the sample source code and/or the WinObjC SDK located on a network share?

Yes, that was the problem. SDK and source code both were located on a network share. Intersting, that after copying the ported code to a local share it still didn't work. Only after I moved both and reran the VSIMPORTER, it began working...

@robinmanuelthiel Normally, vsimporter writes an absolute path to the WinObjC SDK into any imported projects. If you open the VCXPROJ file, you should be able to see a line similar to the below:
<WINOBJC_SDK_ROOT Condition="'$(WINOBJC_SDK_ROOT)' == ''">C:\dev\WinObjC</WINOBJC_SDK_ROOT>

If you invoke vsimporter with the -relativepath option, it will write a relative path instead.
In both cases, you also have the option to define WINOBJC_SDK_ROOT as an environment variable, which will take precedence over the path hard-coded in the project file.

Support for network drives is added, closing this.

This issue still occurs if your source is located on an ExFAT filesystem.

I just got this as well. I'm running Parallels, and the error is at
\mac\Home\Transporter\6AS\SixAges\Source\App\ChapterManager.h
or if I try the Z: drive
Z:\Transporter\6AS\SixAges\Source\App\ChapterManager.h
This is shown as Network Drive, PrlSF file system.


New Navbar Design

Redesign navbar to be in line with Figma

Let's try to do this after Hack website migrates over.

I think ours is better :-)


Specify which python: python3 needed to install

I managed to install the solver with python3, so that in Ubuntu the command needs to be
sudo python3 setup.py install
as in Python 2.x with 'python setup.py install' the following error pops up
Traceback (most recent call last):
File "setup.py", line 3, in
with open('README.md', encoding='utf8') as readme_file:
TypeError: 'encoding' is an invalid keyword argument for this function

If you're running this within a virtual environment or you have aliased: export python="python3" in your .bashrc/.zshrc file then the command will work as intended.
I'll put a small comment in the README.md which specifies that you must be running on some version of python3.


Add label to RayCluster if owned by AppWrapper

Issue link

Part of: https://issues.redhat.com/browse/RHOAIENG-14731
What changes have been made

When AppWrapper is True in ClusterConfiguration, a label is added to the RayCluster on creation.

This change is required to identify if the RayCluster is owned by an AppWrapper.
Verification steps

Checks

[ ] I've made sure the tests are passing.
Testing Strategy

[ ] Unit tests
[ ] Manual tests
[ ] Testing is not required for this change

Closed as not required, AppWrapper ownerReference is added before creation.
[Link]


Make InitialMicroBatchSize API public

Description
This PR makes the API in CosmosBulkExecutionOptions to adjust the initial micro batch size public. We have been using this API for a while from the Spark connector - but some customers would benefit from being able to reduce the initial batch size in their Java apps using bulk execution as well.
All SDK Contribution checklist:

[x] The pull request does not introduce [breaking changes]
[x] CHANGELOG is updated for new features, bug fixes or other significant changes.
[x] I have read the contribution guidelines.

General Guidelines and Best Practices

[x] Title of the pull request is clear and informative.
[x] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

[x] Pull request includes test coverage for the included changes.

API change check
APIView has identified API level changes in this PR and created following API reviews.
azure-cosmos


Bower support for plugins

In an industry project I cannot include a library by downloading without a package manager.
Ben

Bower-Suppert exists for jspdf. All plugins are merged into jspdf.debug.js and jspdf.min.js.
Where is the problem?


Add additional exports of components and utils

During my project implementation with this SDK, I ran into the issue of not having access some utils and components. I think they can be exported because it doesn't add any risk and just can be ignored if the are not needed by implementation.

Hi @TimoWestland ,
Can you close this if the static-components branch 4df7eb6b794532b9123239b1ef3d088c00299b09 fixes your issue?
Thanks!
Robbert