gdb: No struct type named runtime.rtype

I'm having an error while trying to manually load runtime-gdb.py on GDB.
go1.4 linux/amd64
gdb 7.8
Ubuntu 14.04.1 LTS
gdb ./collect-jmx.test -d $GOROOT
...
(gdb) source /usr/local/go/src/runtime/runtime-gdb.py
Loading Go Runtime support.
Traceback (most recent call last):
  File "/usr/local/go/src/runtime/runtime-gdb.py", line 205, in <module>
    _rctp_type = gdb.lookup_type("struct runtime.rtype").pointer()
gdb.error: No struct type named runtime.rtype.

Change out for review
https://go-review.googlesource.com/#/c/2821/

I have the same issue.
CentOS 6.5
gdb 7.9
golang 1.4.2
(gdb) source ~/go/src/runtime/runtime-gdb.py
Loading Go Runtime support.
Traceback (most recent call last):
  File "~/go/src/runtime/runtime-gdb.py", line 205, in <module>
gdb.error: No struct type named runtime.rtype.

+1
(gdb) source /go/src/runtime/runtime-gdb.py
Loading Go Runtime support.
Traceback (most recent call last):
  File "/go/src/runtime/runtime-gdb.py", line 205, in <module>
    _rctp_type = gdb.lookup_type("struct runtime.rtype").pointer()
gdb.error: No struct type named runtime.rtype.
(gdb)

you shold modify runtime-gdb.py:
205 _rctp_type = gdb.lookup_type("struct runtime.rtype").pointer()
206
207
208 def iface_commontype(obj):
209         if is_iface(obj):
210                 go_type_ptr = obj['tab']['_type']
211         elif is_eface(obj):
212                 go_type_ptr = obj['_type']
213         else:
214                 return
215
216        return go_type_ptr.cast(_rctp_type).dereference()
to:
205 #_rctp_type = gdb.lookup_type("struct runtime.rtype").pointer()
206
207
208 def iface_commontype(obj):
209         if is_iface(obj):
210                 go_type_ptr = obj['tab']['_type']
211         elif is_eface(obj):
212                 go_type_ptr = obj['_type']
213         else:
214                 return
215
216 #       return go_type_ptr.cast(_rctp_type).dereference()
217         return go_type_ptr.cast(gdb.lookup_type("struct runtime.rtype").pointer()).dereference()

@qingfeng-fy Thanks for the suggestion, I recommend a diff next time. Unfortunately this only moves the error to later:
(gdb) info goroutine
Python Exception <class 'gdb.error'> There is no member named status.:
Error occurred in Python command: There is no member named status.
(gdb) goroutine 1
Python Exception <class 'ValueError'> need more than 1 value to unpack:
Error occurred in Python command: need more than 1 value to unpack
This makes it difficult to use gdb in addressing #5838

This issue has been fixed on tip.
Please verify that you're using tip.

I will give it a try, thank you. Have you considered backporting the fix to 1.4.3?

I'm not sure if/when Go 1.4.3 will happen.
but I do know that this issue doesn't meet
the bar to be included into a minor release.
(only serious bugs without workarounds
qualify.)

It works for me on tip.

@anacrolix, i meet the same problem with you.  i have run the stringutil.test in my platform and modify the runtime-gdb.py . who can tell me how to solve it?
Linux/CentOS 7.1
golang 1.4.2
gdb GNU gdb (GDB) Red Hat Enterprise Linux 7.6.1-64.el7

@anacrolix, i meet the same problem with you.  i have run the stringutil.test in my platform and modify the runtime-gdb.py . who can tell me how to solve it?
Linux/CentOS 7.1
golang 1.4.2
gdb GNU gdb (GDB) Red Hat Enterprise Linux 7.6.1-64.el7

@anacrolix, i meet the same problem with you.  i have run the stringutil.test in my platform and modify the runtime-gdb.py . who can tell me how to solve it?
Linux/CentOS 7.1
golang 1.4.2
gdb GNU gdb (GDB) Red Hat Enterprise Linux 7.6.1-64.el7

@huangminlong this issue is fixed in Go 1.5 or later. Please open a new issue if you are still experiencing problems after upgrading to Go 1.5


Allow users to easily name DMA channels

Thank you for your contribution!
We appreciate the time and effort you've put into this pull request.
To help us review it efficiently, please ensure you've gone through the following checklist:
Submission Checklist 📝

[x] I have updated existing examples or added new ones (if applicable).
[x] I have used cargo xtask fmt-packages command to ensure that all changed code is formatted correctly.
[x] My changes were added to the CHANGELOG.md in the proper section.
[x] My changes are in accordance to the esp-rs API guidelines

Extra:

[x] I have read the CONTRIBUTING.md guide and followed its instructions.

Pull Request Details 📖
Description
Fixes part of #1767.
With this PR users can now consistently name the dma channel in use in a driver.
let i8080: I8080<_, GdmaCh<0>, _>;
let cam: Camera<_, GdmaCh<2>, _>;
let spi: Spi<_, GdmaCh<4>, _>;
let spi: Spi<_, Spi2DmaCh, _>;

This PR introduces a public trait called DmaChannel which describes the RX and TX parts of a channel in associated types.
The existing ChannelTypes trait which is really similar just didn't cut it (maybe a skill issue). With this PR at least, the "private but public for technical reasons" traits Tx, TxPrivate, Rx and RxPrivate can be removed and ChannelTx and ChannelRx can just have pub(crate) methods on it.
There will be a follow up PR to simplify the InstanceDma trait (based on this) in the SPI driver, which was my main motive for making this PR.
Testing
No actual code changes, I just shuffled the generics about so CI should be fine.

This is totally bike-shedding, but to be honest, I'm not sure how, as a user, I would react seeing a type like GdmaCh. I would probably prefer not renaming Channel<N>, but instead renaming the other, shadowing Channel. That being said, the ChannelN type aliasses are probably better - if they were instead newtypes, they would show up in rustdoc and it would be obvious how many channels users may choose from.

I added Gdma to the name because Channel is a common type in the repo and it make imports a little more tedious in the IDE. Thought this is something that can be fixed with an import alias.
I also wasn't sure what I would rename the shadowing Channel type to if I went that direction instead. Adding "Gdma" felt straightforward.
 The DmaChannel implementations are meant to be the new types at least.
Having said that, I don't care about the names (someone else can decide), I just want the solution to not use type aliases, it should be consistent across drivers and it shouldn't get in the way of splitting a channel into an Rx half and tx half.

I also think names like GdmaCh are not ideal (but I see why just Channel is a bit too generic). Maybe something like DmaChannel as the user-facing name?
Maybe having DmaChannelN new-types in addition would make sense since I agree that it would make it easier to know how many channels are available

Alright I'll replace the const generic with a simple type.
GdmaCh<0> -> DmaChannel0.
Spi1DmaCh, Spi2DmaCh, I2S1DmaCh stay the same?

Spi1DmaCh, Spi2DmaCh, I2S1DmaCh stay the same?

Probably naming them like Spi1DmaChannel, Spi2DmaChannel etc. looks more consistent since those are the ones which are actually used in user code - but would be probably good to hear another opinion on this


Add support for Elasticache Parameter Group

https://github.com/dtan4/terraforming/issues/263

I tested with Terraform v0.8.4, however terraform plan returns diff for all Parameter Groups.
~ aws_elasticache_parameter_group.default-redis3-2
    parameter.#:                "0" => "38"
    parameter.1005111008.name:  "" => "repl-backlog-ttl"
    parameter.1005111008.value: "" => "3600"
    parameter.1232695038.name:  "" => "reserved-memory"
    parameter.1232695038.value: "" => "0"
    parameter.1233716506.name:  "" => "tcp-keepalive"
    parameter.1233716506.value: "" => "300"
    parameter.1256273689.name:  "" => "maxmemory-policy"
    parameter.1256273689.value: "" => "volatile-lru"
    parameter.1465582030.name:  "" => "client-output-buffer-limit-pubsub-hard-limit"
    parameter.1465582030.value: "" => "33554432"
...

@dtan4 ah sorry turns out i didn't need this and left it hanging. iirc i got everything working except for the parameter names and values of tfstate (i only really needed the tf). unfortunately don't have time to look at it atm, but hopefully someone who needs this picks it up. feel free to close if you prefer not to leave things hanging.

@dtan4 how about creating a devel branch to get this kind of PRs merged? Some fixes could be done later by other people.


❓ Question: Is it possible to use MariaDB as Database?

🙋♂ Question
For a new install, it defaults to SQLite, which I think won't perform well if you have hundreds of thousands of shares.
Is MariaDB or MySQL supported?

Currently this is not supported but there is an open feature request #212.


Backport 2.x: doc improvements in aes and sha256 includes

Add return value description to the docs of mbedtls_sha256
Remove description of non-existing "mode" parameter from the docs of mbedtls_aes_crypt_ctr

Backport of #5105

@davidhorstmann-arm oops, sorry, missed that - done on both PRs


[BUG] Harvester upgrade dialogue missing available options

Rancher Server Setup

Rancher version: v2.9.2
Installation option (Docker install/Helm Chart):

If Helm Chart, Kubernetes Cluster and version (RKE1, RKE2, k3s, EKS, etc): Helm

Proxy/Cert Details: N/A

Information about the Cluster

Kubernetes version: k3s v1.27.16+k3s1
-->

User Information

What is the role of the user logged in? (Admin/Cluster Owner/Cluster Member/Project Owner/Project Member/Custom)

If custom, define the set of permissions: Admin

Describe the bug
The Harvester upgrade dialogue misses the available upgrade option
To Reproduce
Install Harvester v1.3.1
Install Rancher and import Harvester cluster for Virtualization management
Navigate to Virtualization Management --> Harvester Cluster --> open Harvester cluster dashboard
Click "Upgrade" button to open Upgrade dialogue
No available version is selectable in the drop-down menu
Result
Expected Result
The upgrade dialogue should show version v1.3.2 as available upgrade option for the Harvester cluster
Screenshots
This is what it looks like when viewed in Rancher:

This is what it looks like in Harvester's own dashboard and what it should look like in Rancher:

Workaround: Upgrade can be triggered through Harvester's own dashboard.
The upgrade then shows up correctly while in progress:


support slashes in paths with 'r/*' + allow providing path

Description

Support for slashes in the path... see example below.
Allow provides a content path in configuration.

Test cases

[ ] Case 1:

Given I am any user
I open the network dev panel
When I go to an existing label
And I see "path-from-root" service is called (as the path is not given in the config)
And I see I am redirected to the item "100575556387408660" as defined in the config

[ ] Case 2:

Given I am any user
I open the network dev panel
When I go to an existing label
And I see "path-from-root" service is NOT called  (as the path is given in the config)
And I see I am redirected to the item "4702" as defined in the config

[ ] Case 3:

Given I am any user
I open the network dev panel
When I go to an existing label
And I see "path-from-root" service is not called  (as the path is given in the config)
And I see I am redirected to to<PHONE_NUMBER>476024035

[ ] Case 4:

Given I am any user
When I go to an non-existing label
And I see I get an error page.

path-from-root and start-result-path - calls several times:


Re-enable GCM test case in the sinks endpoint integration test

In 2c46a5534829087b, it got disabled because some certificate errors were being thrown on Jenkins when activating (registering) the GCM sink.
Once those are fixed, that test case should be re-enabled. I'm creating this issue to not forget about that.

Forgot to close this - was fixed by #450


Shutdown request listener when no temp containers exist

Currently the request listeners are always intercepting requests throughout the entire browser. Instead:

Listen for tab close, detect if that was the last temp Container and shutdown the listeners
Just before opening a temp container, start up request listener

Fixed in 0.0.3


Add threshold parameter

Add a threshold parameter with a default of 10 . Any counts below the threshold should be set to zero.

Threshold parameter with default of 10 added. Counts below threshold are set to nan.
Also, Warning message if data has missing record keys and Exception raised if less than 50% of records have record keys.

Complete


[Extensibility] Zeroconf

Implements: https://github.com/deislabs/akri/issues/132
What this PR does / why we need it:
Provides a Linux-only Zeroconf protocol implementation for Akri
Special notes for your reviewer:
I've tried (!) to avoid repeating some of the commitment feedback from http-extensibility.
If applicable:

[X] this PR contains documentation
[ ] this PR contains unit tests
[ ] added code adheres to standard Rust formatting (cargo fmt)
[X] code builds properly (cargo build)
[X] code is free of common mistakes (cargo clippy)
[X] all Akri tests succeed (cargo test)
[X] inline documentation builds (cargo doc)
[ ] version has been updated appropriately (./version.sh)

This is great, great stuff ... thank you!
The biggest initial feedback I have is that I'd prefer to have zeroconf be an integrated part of Akri rather than an extensibility example ... so I'd ask that it be fit into the existing makefiles/workflows/actions.

@bfjelds @kate-goldenring
One thing you're not seeing in the PR is the changes to ./build/containers/Dockerfile.agent that are necessary to include the dependencies for the zeroconf crate (for Linux). There would be a different set of dependencies for e.g. astro-dnssd crate (for Linux, for Windows, for Mac OS).
ARG PLATFORM=amd64
ARG CROSS_BUILD_TARGET=x86_64-unknown-linux-gnu
FROM ${PLATFORM}/debian:buster-slim
ARG CROSS_BUILD_TARGET
RUN echo "Creating container based on ${PLATFORM}/debian:buster-slim"
RUN echo "Using Rust binaries from ${CROSS_BUILD_TARGET}"

# Link the container to the Akri repository
LABEL org.opencontainers.image.source https://github.com/deislabs/akri

# Copy over container legal notice
COPY ./build/container-images-legal-notice.md .

RUN apt-get update && \
    apt-get install -y --no-install-recommends \
    avahi-daemon \
    clang \
    libavahi-client-dev \
    libclang-3.9-dev \
    libssl-dev \
    libxcb-shape0-dev \
    libxcb-xfixes0-dev \
    xorg-dev \
    llvm-dev \
    openssl \
    && \
    apt-get clean

COPY ./target/${CROSS_BUILD_TARGET}/release/agent /agent

ENV RUST_LOG agent,akri_shared

ENTRYPOINT ["bash", "-c", "service dbus start && service avahi-daemon start && ./agent"]

NOTE These additions include those deps specified by zeronconf and others that I needed.

As I mentioned previously, I'm concerned about this (unavoidable) bloat of Akri Agent due to its monolithic nature.
Q1: Are you willing to accept these deps as a consequence of adding new discovery handlers?
Q2: Are you willing to accept these deps for the zeroconf crate (Linux-only) when there may be different deps for astro-dnssd?
One option is that I don't pursue integrating zeroconf at this time into Akri's core build process to avoid these issues.
I'm unfamiliar with make and there's quite some complexity in the makefiles in this project. If you'd like me to proceed, I can have a stab at it but I may need some help, OK?

@DazWilkin, that explanation is super helpful.
Can you quantify the bloat a little?  Maybe let us know what the agent footprint is before the change and after the change (maybe for both debug and release, but most importantly for release).
I think if the bloat isn't obscene, we are happy to take it on for the moment.
In the near future, we hope to implement a solution to our monolithic problem :)

Before the change is what you have now.
With zeroconf, the agent is running 829MB. It's probably that this could be improved but I'm unfamiliar with these deps.
I think perhaps, more importantly, agent users would get e.g. zeroconf regardless (as p/o the monolith) whether they want it.
And so they get any increased size but they also get its security profile and risk its CVEs.
To be clear, this is a consequence of the monolith not zeroconf but it raises the reasonable (enterprise) customer concern "Why do we need to patch the agent for a zeroconf exploit that we're not using?"

I have an old v0.0.38-amd64 of the agent that is 126MB.

I just built locally and see that without your changes:
debug (cargo build --bin=agent):                 352M
release (cargo build --bin=agent --release):    23M
can you build with --release and report how big it is?

I get 21M (!?) but isn't the issue the image size?

I get 21M (!?) but isn't the issue the image size?

You are totally right.  Sorry, the old app programmer in me hasn't fully given way to this new world yet.

I get 21M (!?) but isn't the issue the image size?

You are totally right. Sorry, the old app programmer in me hasn't fully given way to this new world yet.

Nothing to apologize for :-)

With a bit more time thinking, my gut says that we should hit the pause button on this until we get a different extensibility model that would allow this provider to be more on-demand.  But I'll pull more people into this discussion to see if we can get more heads involved.

I get 21M (!?) but isn't the issue the image size?

You are totally right. Sorry, the old app programmer in me hasn't fully given way to this new world yet.

Nothing to apologize for :-)

With a bit more time thinking, my gut says that we should hit the pause button on this until we get a different extensibility model that would allow this provider to be more on-demand. But I'll pull more people into this discussion to see if we can get more heads involved.

I agree that this might expand the size of the Agent too much. Maybe we can do the following:

Investigate which of the Zeroconf crate dependencies is blowing up the size
Determine whether the astro-dns dependencies are smaller. @DazWilkin did you resolve the issue you were having getting astro-dns to work
If neither of the first 2 are conclusive, wait until we have an extensibility model

Comment threading would be useful, nah?
The zeroconf crate stipulates dependencies (link) but, I have been able to tweak these:

Build: clang, libavahi-client-dev
Run: avahi-daemon, libavahi-client-dev

The agent's Dockerfile does not appear to be multistage but adding:

Agent: clang, libavahi-client-dev, avahi-daemon

Reduces the image size to 476MB
For a multi-stage build test, the image size was 206MB but this may be unrealistic.
I've received no response to my issue on astro-dnssd.
The issue is likely to arise with any extensions that are added to the Agent while it's a monolith. Zeroconf is likely just the first.

The issue is likely to arise with any extensions that are added to the Agent while it's a monolith. Zeroconf is likely just the first

No doubt.  Getting a working gRPC interface into the Agent to allow out-of-proc discovery would be a valuable addition ASAP!!

Hi @DazWilkin ! The new DiscoveryHandler model has been merged. Its a big change, so I put together a document with the steps to get this PR into the new mold. Let me know how I can help --  I could put PR's into yours with the nitty stuff like a Helm template for the Configuration. Rebasing is going to be tricky, and I wonder if creating a new PR is better.

Awesome work!
As you know I've had a look at your HTTP example and it's great.
I think I/we should close this PR.
I'm working on another project at the moment and it's unclear when I'll get time to rewrite the Zeroconf protocol.
If I do get an opportunity, this will be top of my Akri list.

Awesome work!
As you know I've had a look at your HTTP example and the gRPC-based DiscoveryHandler is great.
I think I/we should close this PR.
I'm working on another project at the moment and it's unclear when I'll get time to rewrite the Zeroconf protocol.
If I do get an opportunity, this will be top of my Akri list.

Sounds good to me!


Admin Owner Screen sidebar

Context
As a owner I can access to the sidebar in order to manage my customers, captains and teams
Expected Behavior
the sidebar must look like the figma model
Acceptance Criteria
I must be able to access the managing view for my captains, my customers and my teams, unit test

outdated issue


Better footer text

Add things like made with gatsby, links to email/website

It already has an email address. I don't think it's a link right now and a link to the website would be nice as well. A made with gatsby text is not definitely needed


FileNotFoundError: "webdriver_prefs.json" does not exist in the path that the program is searching within

I am getting the following error now:

FileNotFoundError: [Errno 2] No such file or directory: 'C:\Users\nicho\AppData\Local\Temp\_MEI49882\selenium\webdriver\firefox\webdriver_prefs.json'

Here is the full messaging though:

debbit.py:509: DeprecationWarning: firefox_profile has been deprecated, please use an Options object
Exception in thread Thread-1:
Traceback (most recent call last):
File "threading.py", line 932, in _bootstrap_inner
File "threading.py", line 870, in run
File "debbit.py", line 113, in burst_loop
File "debbit.py", line 289, in web_automation_wrapper
File "debbit.py", line 509, in get_webdriver
File "selenium\webdriver\firefox\firefox_profile.py", line 61, in init
FileNotFoundError: [Errno 2] No such file or directory: 'C:\Users\nicho\AppData\Local\Temp\_MEI49882\selenium\webdriver\firefox\webdriver_prefs.json'

When I navigate to the "firefox" folder in this path, no "webdriver_prefs.json" file is present. No files at all are present. I have show hidden files selected.

@jakehilborn any update on this issue? Also, now, since my last PC restart, I am seeing this error message:
ERROR: 2022-01-17 22:40:33,336 Unable to check for updates. Check https://github.com/jakehilborn/debbit/releases if interested.
Is this just a standard line that shows whenever I restart the program?

@jakehilborn, I still have not heard back from you and the error happened again today with the latest automated burst request. Are you still maintaining this plugin?


auto merge for Glacier peak

Please Review this to ensure that nothing related to Teleop was accidentally changed.
The removal of the arm pid is intentional as it is unused anyways

@delaynieym as the driver, what teleop commit do you want into master. Auton is the same for most of them, with the acception being the added move forward auton.


Bump to <IP_ADDRESS> for CVE-2020-15169

LGTM to but there are test failures

The failure was fixed, so if it fails again, you need to rebase.

It's green @Fryguy

Jansa backport details:
$ git log -1
commit fe0b663591ae76979753c18b537ac1aca806cb53
Author: Jason Frey<EMAIL_ADDRESS>Date:   Thu Sep 17 15:02:07 2020 -0400

    Merge pull request #20538 from jrafanie/bump_to_5_2_4_4

    Bump to <IP_ADDRESS> for CVE-2020-15169

    (cherry picked from commit 6dca9e877a2f2de337659b5381abe0c0939e67ea)


[Sample] transform-json sample fails :ballerina-0.970.0-beta1

openjdk version "1.8.0_162"
ubuntu 16.04
transform-json sample fails when invoking
./ballerina run examples/transform-json/transform-json.bal
-=-----------
error: ./transform-json.bal:11:1: invalid token 'transformer'
compilation contains errors

We need to remove tranform sample.

This sample is removed.


Building database failed

Hi there.
Building a database returns the following error. Any idea what the problem is?
Cheers,
Thomas
[1] TRUE
Warning: replacing previous import ‘XML::xml’ by ‘rvest::xml’ when loading ‘MetaDBparse’
Warning: The 'plotly_click' event tied a source ID of 'A' is not registered. In order to obtain this event data, please add event_register(p, 'plotly_click') to the plot (p) that you wish to obtain event data from.
% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
Dload  Upload   Total   Spent    Left  Speed
100   162  100   162    0     0    162      0  0:00:01 --:--:--  0:00:01   252
Warning in utils::unzip(zip.file, exdir = base.loc) :
error 1 in extracting from zip file
Warning in file(con, "r") :
cannot open file 'C:\Users\stoll\Documents\MetaboShiny\databases/hmdb_source/hmdb_metabolites.xml': No such file or directory
Warning: Error in file: cannot open the connection
80: file
79: readLines
78: build.HMDB
77: MetaDBparse::buildBaseDB
73: observeEventHandler [reactive/metabolitedbs.R#333]
2: shiny::runApp
1: start.metshi
[1] "Closing MetaboShiny ~ヾ(＾∇＾)"

Hello, were you successful in uploading and statistical processing of data? Please, can I contact you?

Hi @stolltho ! Thanks for your patience - I've been off for the last while and am returning to work now. Can  you check your /databases/hmdb_source folder if there is a zip file in there of approx. 700 MB? Then I can narrow down if it is due to the download failing or being blocked or something :)

hi Joanna. HMDB.zip file is just 1KB and can't be opened.
cheers, Thomas
On Sat, May 23, 2020 at 7:52 AM joannawolthuis<EMAIL_ADDRESS>wrote:

Hi @stolltho https://github.com/stolltho ! Thanks for your patience -
I've been off for the last while and am returning to work now. Can you
check your /databases/hmdb_source folder if there is a zip file in there of
approx. 700 MB? Then I can narrow down if it is due to the download failing
or being blocked or something :)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/joannawolthuis/MetaboShiny/issues/44#issuecomment-632922607,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AD2PB34RDLF2MSJHBOGO6EDRS3X2NANCNFSM4M2BAVIQ
.

Hi! That is strange, it means the download failed.. Did you try multiple times? And are you working from the docker image or native R (in windows?)

Hi Joanna
I am using R. I tried to build several DB several times, w/o success. I am getting all sorts of error messages:
HMDB
[1] TRUE
Warning: The 'plotly_click' event tied a source ID of 'A' is not registered. In order to obtain this event data, please add event_register(p, 'plotly_click') to the plot (p) that you wish to obtain event data from.
% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                             Dload  Upload   Total   Spent    Left  Speed

100   162  100   162    0     0    162      0  0:00:01 --:--:--  0:00:01   272
Warning in utils::unzip(zip.file, exdir = base.loc) :
error 1 in extracting from zip file
Warning in file(con, "r") :
cannot open file 'C:\Users\stoll\Documents\MetaboShiny\databases/hmdb_source/hmdb_metabolites.xml': No such file or directory
Warning: Error in file: cannot open the connection
80: file
79: readLines
78: build.HMDB
77: MetaDBparse::buildBaseDB
73: observeEventHandler [reactive/metabolitedbs.R#333]
2: shiny::runApp
1: start.metshi
[1] "Closing MetaboShiny ~ヾ(＾∇＾)"
MassBank
[1] TRUE
Warning: replacing previous import ‘XML::xml’ by ‘rvest::xml’ when loading ‘MetaDBparse’
Warning: The 'plotly_click' event tied a source ID of 'A' is not registered. In order to obtain this event data, please add event_register(p, 'plotly_click') to the plot (p) that you wish to obtain event data from.
Warning: Error in : error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version
83:
[1] "Closing MetaboShiny ~ヾ(＾∇＾)"
ChEBI
Error : .onLoad failed in loadNamespace() for 'rcdklibs', details:
call: .jinit(classpath = c(jars))
error: Cannot create Java virtual machine (-6)
KEGG
[1] TRUE
Warning: The 'plotly_click' event tied a source ID of 'A' is not registered. In order to obtain this event data, please add event_register(p, 'plotly_click') to the plot (p) that you wish to obtain event data from.
|++++++++++++++++++++++++++++++++++++++++++++++++++| 100% elapsed=10s
Warning: Error in as.Date.default: do not know how to convert 'date' to class “Date”
81: stop
80: as.Date.default
78: build.KEGG
77: MetaDBparse::buildBaseDB
73: observeEventHandler [reactive/metabolitedbs.R#333]
2: shiny::runApp
1: start.metshi
[1] "Closing MetaboShiny ~ヾ(＾∇＾)"
From: joannawolthuis<EMAIL_ADDRESS>Sent: Saturday, 23 May 2020 9:23 PM
To: joannawolthuis/MetaboShiny<EMAIL_ADDRESS>Cc: stolltho<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [joannawolthuis/MetaboShiny] Building database failed (#44)
Hi! That is strange, it means the download failed.. Did you try multiple times? And are you working from the docker image or native R (in windows?)
—
You are receiving this because you were mentioned.
Reply to this email directly,  https://github.com/joannawolthuis/MetaboShiny/issues/44#issuecomment-633030574 view it on GitHub, or  https://github.com/notifications/unsubscribe-auth/AD2PB32ARH4LGZ3LM4HJUSTRS6WY7ANCNFSM4M2BAVIQ unsubscribe.  https://github.com/notifications/beacon/AD2PB37KFA4VC3BZ647FHT3RS6WY7A5CNFSM4M2BAVI2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEW5UPLQ.gif

Hi there! Thanks for the log. It seems that some updates are needed on the database parsing area, which I'm working on now (on a Windows machine) :) Java in R seems to be really tough and requires seperate (non-MetaboShiny) debugging - I think if you go to the repo/help page for rcdklibs they should have something to help you set up. It's very system specific so I cannot help you on the java virtual machine error, unfortunately :( The rest I'm sure I can fix - except that I don't understand why HMDB is not downloading. Let's retry that once I push the next fix for the other databases.

Hi! I pushed an update that should fix all the bugs that I could reproduce (the ones you posted except the HMDB download failing), can you take a look? :)

Whoops, what I meant is please update the MetaDBparse package through
devtools::install_github("joannawolthuis/MetaDBparse")

I found the HMDB issue.  The zip file is actually an html file because the download url changed:

<title>301 Moved Permanently</title>

301 Moved Permanently

nginx

You need to validate that you got a good response code when downloading the database to prevent this.  However, I did a search and couldn't find any code specifying the url.  Is this done in one of the dependencies?

I manage to build the HMDB database by changing the build.HMDB function to use wget insted of default utils::download.file download method.
@stolltho and @jrm5100  you can try this temporary fix:
library(MetaDBparse)
trace(build.HMDB, edit = T)

and change line 12 to:
utils::download.file(file.url, zip.file, mode = "wb", cacheOK = TRUE, method = "wget")
then load MetaboShiny and try to build the HMDB database.
I'm using RStudio on Linux dont know if this method is valid for other OS

Hi all! Last time I checked indeed it was not the URL but something else. @RuiNascimento thanks for diving in and finding a fix! I will boot up my Windows PC and check if this works there too, my current is a Mac so I can test on all. :) @jrm5100 I will see if I can add in a response checker ASAP, good point!

Oh and yes the database building code is in a dependency (MetaDBparse) but that is also our package. I'm currently leaving issues for it here, maybe in the future I'll ask people to submit issues at joannawolthuis/MetaDBparse.

It seems I can't reproduce this - but nevertheless I tried setting method = "auto" in all download.file calls in the most recent MetaDBparse version :) If any of you could try updating to see if this works I'd be super grateful!

@joannawolthuis (At least on linux) Building the HMDB database works with the new commits on MetaDBparse


GUVNOR-1835 JIRA

For the Bug we have, I created a unit test that gives the same error with the same condition

Out of date. This issue has been fixed in guvnor. For what regards mvel it cannot eval the expression that way because MVEL.eval() doesn't take a ParserContext as input and then mvel is unable to resolve the enum class.


Delete all unused disks

Description

This PR makes sure we delete not used disks that were created dynamically for PVCs. The reason is that when preemptible nodes are used the disk don't get deleted automatically (https://cloud.google.com/compute/docs/instances/preemptible#understanding_the_preemption_process). There is one more disk for the master node but that one gets deleted automatically (checked).
Another solution would be to not use preemptible nodes.
Motivation and Context

Disks are left behind and they cost money. Also at some point we hit the disk quota (because we don't cleanup).
How Has This Been Tested?

Tested the commands locally.
Screenshots (if appropriate):
Types of changes

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[ ] My code has security implications.
[ ] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.

Works but shows a warning: https://concourse.suse.dev/teams/main/pipelines/kubecf/jobs/smoke-tests-diego-master/builds/38
error: Missing or incomplete configuration info.  Please point to an existing, complete config file: not sure why. This command should setup the kubeconfig: ```              gcloud auth activate-service-account --key-file $PWD/gke-key.json
and apparently it does (since the kubectl command worked).


[VL] Distinct agg doesn't spill to disk

Thanks @zuochunwei for initializing this topic.
To fix this, track on the issue https://github.com/facebookincubator/velox/issues/3263
From Gluten, it's probably feasible to convert SELECT DISTINCT a FROM tab to SELECT a, count(*) FROM tab GROUP BY a to work around the issue.

Incorporated in https://github.com/oap-project/gluten/issues/3030


field_file.html doesn't call value method

Looks like everywhere else calls field.value() except this file, which just uses value like a property. This causes fields like ImageField to render incorrectly. Am I using it wrong or is this an error?
Looks like changing it to field.value().url and field.value().name works.

Hi @crimsonhawk47

Looks like changing it to field.value().url and field.value().name works.

Accessing methods with () like in field.value().url doesn't look like valid django template (DTL) code to me. The crispy-form templates are based upon using the DTL. Your example looks to me like it could be Jinja2?
It seems to work for me when using the crispy-test-project, but I could be looking at it wrong.
If you could share a minimal reproduction that would be helpful.


Dropdown list inside settings UI when kept open and section is scrolled, dropdown list goes outside the window

Windows Terminal version (or Windows build number)
Windows Terminal 1.7.1033.0
Other Software
No response
Steps to reproduce

Open settings UI and inside the "Startup" section click on the "Default Profile" dropdown menu
Try to scroll the entire section
Dropdown list goes outside the window

Inside the "Color Schemes" section click on the colors dropdown menu
Try to scroll the entire section
Dropdown list goes outside the window

Expected Behavior
When the section is scrolled the dropdown list should not be visible outside the "Windows Terminal" window
Actual Behavior
When the section is scrolled the dropdown list is visible outside the "Windows Terminal" window

Thanks for the report! This is a /duplicate of #9320.
Curiously, you're using an older version of Terminal than the current stable version (1.8).


Probably missing return in markers/common/problemMatcher.ts

I've just finished developing a code analysis rule and it points me to this line when I run it on the vscode repository :
https://github.com/Microsoft/vscode/blob/master/src/vs/platform/markers/common/problemMatcher.ts#L685
I've gone through the code a bit and it does indeed look like a return is missing there.

Uhhh... looks like a declaration with a single return statement to me, might have been a different version of the file?
Did you mean this.createNamedMultiLineProblemPattern(value); on line 702?

Yes, that one, and yes, probably it was a different version of the file. I'll change the link in the original comment to match the current position.

Nice catch.


Label prometheus-operator deployment with atlas as monitoring team

Towards: https://github.com/giantswarm/giantswarm/issues/22290
Add giantswarm.io/monitoring_team: atlas label on deployment.

The label is used by the app-exporter actually https://intranet.giantswarm.io/docs/dev-and-releng/app-developer-processes/routing_app_alerts/
I'm wondering if we could not use this to create a team label on the scrape targets so we could relabel it to a label called team and use this label instead of adding a new one.
@giantswarm/team-honeybadger is the application.giantswarm.io/team label added to the templatize helm charts ? Would it be possible to do so automagically to help with the routing of alerts ?

I am not aware of it being used inside the helm chart as a standard. Maybe @piontec knows?

Uhm.. I'm not sure what you mean. The label has to be added by chart devs, like here: https://github.com/giantswarm/flux-app/blob/2167424080feae2983117cdb5982bcac9de8e6e6/helm/flux-app/Chart.yaml#L4
What do you want to replace it with? And how do you want to automate it?

The idea would not be to replace it with but to templetize it as label on the kubernetes manifests. Can we do that easily ?

Updated this PR to use the already existing application.giantswarm.io/team label.


Modify the colors from the preview square?

I have created a plugin to generate "new Color" with a color chooser in Java files.
Maybe it would make sense to merge those projects and allow to modify the colors from the preview square as well with a color chooser, no?
As we are still developing Swing applications that heavily use color, the color plugin is super useful.

What do you think about my proposal? Shall I try to merge my code into the plugin?

I've already done that for Hex and CSS. (You should be able to change a color with a color chooser. e.g. #000000) I'm going to implement that for Java Color class later as well. So, just wait.

Done.

Question again, do you want me to share my code with you?

No, I would like to avoid doing that, sorry. Thank you for being interested in this plugin.


[release-0.31] chore: Update golang.org/x/* modules

What this PR does / why we need it:
cherry pick
https://github.com/k8snetworkplumbingwg/ovs-cni/pull/288
https://github.com/k8snetworkplumbingwg/ovs-cni/pull/283
Special notes for your reviewer:
Release note:

None

presubmits of 0.31 passed here (by injecting this PR on the rehearsal)
https://prow.ci.kubevirt.io/view/gs/kubevirt-prow/pr-logs/pull/kubevirt_project-infra/3043/rehearsal-pull-e2e-ovs-cni-0.31/1719380196244590592
@phoracek
can you please review this PR ?
once this PR and 3043 are merged we will have the changes and the presubmits together

/approve
Based on https://prow.ci.kubevirt.io/view/gs/kubevirt-prow/pr-logs/pull/kubevirt_project-infra/3043/rehearsal-pull-e2e-ovs-cni-0.31/1719380196244590592


Not authorized

Hi,
I had a similar issue before where it wouldn't authenticate based on the tokens that need to be refreshed.
After a node-red reboot i am now getting this:
18 Feb 12:51:25 - [error] [alexa-home-conf:feb18398.c7cda] Error: connect ECONNREFUSED <IP_ADDRESS>:8883
18 Feb 12:51:31 - [error] [alexa-home-conf:feb18398.c7cda] Error: Connection refused: Not authorized
18 Feb 12:51:36 - [error] [alexa-home-conf:feb18398.c7cda] Error: connect ECONNREFUSED <IP_ADDRESS>:8883
18 Feb 12:51:42 - [error] [alexa-home-conf:feb18398.c7cda] Error: Connection refused: Not authorized
18 Feb 12:51:47 - [error] [alexa-home-conf:feb18398.c7cda] Error: connect ECONNREFUSED <IP_ADDRESS>:8883
18 Feb 12:51:53 - [error] [alexa-home-conf:feb18398.c7cda] Error: Connection refused: Not authorized
18 Feb 12:51:58 - [error] [alexa-home-conf:feb18398.c7cda] Error: connect ECONNREFUSED <IP_ADDRESS>:8883
18 Feb 12:52:04 - [error] [alexa-home-conf:feb18398.c7cda] Error: Connection refused: Not authorized
I have gone into the node and retyped in my credentials (and they also work on the website).
My username is: masterg
Any ideas?

Sorry - I fixed the issue... It was a corrupted credentials store.


ignored option not working?

hi,
I want to ignore the .git dir in the root of the watched dir, but I found that the ignored option has no effect. — I tried a number of things:
var config = {
	persistent: true,
	ignoreInitial: true,
	followSymlinks: false,
	ignored: [
		'.git',
		'.git/**/*'
		'./**/.git/*',
		'./**/.git/**/*',
		'.git/**/*',
		/\.git/ig,
		/\.git/,
		function(p) {
			if (mout.string.contains(p, '.git')) {
				return true;
			}
			return false;
		}
	]
};

var watcher = chokidar.watch([thePath, '!'+path.join(thePath, '.git')], config);

os x 10.10.4
chokidar 1.0.5
or am I missing s.th. here?

Can't spot an issue with the example code provided (aside from all the redundancy, but it should be harmless).
What happens if you clone the chokidar repo and run the example.js script? ignored is working fine for me in that case.
What event(s) are you listening to? ignored does not apply to the raw event.

the example.js works as expected.
also – I'm not sure why – but ignored: [ /\.git/ ] seems to work now all of the sudden. :hushed:


Realtime Database Async update hangs on error

[REQUIRED] Step 2: Describe your environment

Operating System version: Docker openjdk:8 running on Google Cloud Run
Firebase SDK version: 8.0.1
Library version: 8.0.1
Firebase Product: RT Database (auth, database, storage, etc)

[REQUIRED] Step 3: Describe the problem
I made an update request with a completionListener with a badly sanitized key that had " and :. While I handled errors, this caused the request to end with an Internal error code. I forced the database call to timeout and received an error saying that my input was malformed.
Expectations: if the call to the database is malformed, it should just quit immediately instead of hang.
Steps to reproduce:

Call the updateChildren function with a malformed key
Force the callback to terminate (I used 5 seconds)
You should see an error s.a Firebase Database error: Invalid token in path

Hey @nsadeh I think I am experiencing the same problem. Noob question: how did you force the call to timeout?

Hey @jsdt can we get a quick comment on this issue just so we know the status when you have a second?
@stopachka it depends on what library you're using for async computation, but I wrapped my call to the DB in a future of some kind and then awaited it with a timeout. This is never good practice for production, but was useful to debug this issue, which is why it's important for this issue to be fixed.
When I am home from work I can post a more complete example of what I did, but since it's in Scala it might be less useful for you if you're using Java.


Link workflow in rich text editor.

The current link workflow in the Wagtail rich text editor is frustrating.
You can select a piece of text, add a hyperlink to that text but then if you want to edit the link (or even see where the link goes you can't. By clicking on the hyperlink icon with the link selected you remove the link. The obvious solution (that most CMS have) is to have a create and break link icon set. However I feel we can probably implement a more intelligent solution.

Duplicate of https://github.com/torchbox/wagtail/issues/444


Destructuring or spreading createSelector() args as arrays TypeScript error

Hi, I'm trying to create selectorFactoryFactories however am having trouble with the types and was wondering if there's something I'm missing, or if it's a bug, or if it's impossible. Any and all help would be appreciated.
Edit* The destructuring method works perfectly during runtime, the issue is with the type errors being thrown.
The below case works as expected.
createSelector([
    regularSelectorA,
    selectorFactory('B'),
    selectorFactory('C'),
  ],
  (a, b, c ) => return { a, b, c })

However when I destructure part of the array or the complete array, typescript complains.
createSelector(...[
    regularSelectorA,
    selectorFactory('B'),
    selectorFactory('C'),
  ],
  (a, b, c ) => return { a, b, c })

In the above case typescript errors with expected 2-13 arguments but got 1 or more
createSelector([
    regularSelectorA,
    ...selectorFactoryFactory('B', 'C')
  ],
  (a, b, c ) => return { a, b, c })

In the above typescript also errors with
Argument of type '(OutputSelector<SharedRootState, ReadonlyRecord...' is not assignable to parameter of type '[ParametricSelector<SharedRootState, {}, ReadonlyRecord"...'.

Property '0' is missing in type '(OutputSelector<SharedRootState, ReadonlyRecord<BaseEntity

The definition for selectorFactory and selectorFactoryFactory and regularSelector
function regularSelector(state: RootState) { return state.slice }

const selectorFactory= (attribute) => {
  return createSelector(regularSelector, function (storeState) {
    return storeState && storeState[attribute];
  });
}

const selectorFactoryFactory = (...attributes) => {
    return attributes.map(att => selectorFactory(att)
}

This is a funky issue. I was able to find a workaround for your last scenario, but this doesn't help if the number of values returned from selectorFactoryFactory is variable:
export type PS = ParametricSelector<any, {}, any>;

const selectorArray = concat<PS>(selectorFactoryFactory('B', 'C'), [
  regularSelectorA,
])

createSelector(
  selectorArray as [PS, PS, PS],
  (a, b, c) => ({ a, b, c }));

But I also think your second case is not a reselect type definition issue, it's a language issue, see this example:
const add2 = (a: number, b: number) => a + b;
add2(...[2, 3]);
// [ts] Expected 2 arguments, but got 0 or more.

http://www.typescriptlang.org/play/#src=const add2 %3D (a%3A number%2C b%3A number) %3D> a %2B b%3B
add2(...[2%2C 3])%3B

Looks like there's already even been some prior thinking on this?
https://github.com/reduxjs/reselect/pull/143

const add2 = (a: number, b: number) => a + b;
add2(...[2, 3]);
// [ts] Expected 2 arguments, but got 0 or more.

I think the issue with spreading an array into a function's arguments (above example) is that TypeScript sees the type of [2, 3] as an array (type number[]), which can have any length, so when you spread it, there's no way for TypeScript to know the array has the correct length to fulfll the function's arguments.
You can annotate [2, 3] as a tuple ([number, number]), in which case TypeScript would be able to know whether the tuple length fulfils the function's arguments, but unfortunately it doesn't seem to (https://github.com/Microsoft/TypeScript/issues/24241):
declare const createSelector: (selectors: number[], fn: Function) => void;

createSelector([1,2,3], () => {});
// type error
createSelector(...[1,2,3], () => {});
const tuple: [number, number, number] = [1, 2, 3];
// type error
createSelector(...tuple, () => {});
createSelector([1,...[2,3]], () => {})

As for spreading into the array, I can't reproduce the problem. Here is the code I tried:
// no error
createSelector([selectorFactory('a'), ...selectorFactoryFactory('b', 'c')], (a, b, c) => ({ a, b, c }))

I'm happy to see this ticket getting some love.
@OliverJAsh You hit the nail on the head with:

I think the issue with spreading an array into a function's arguments (above example) is that TypeScript sees the type of [2, 3] as an array (type number[]), which can have any length, so when you spread it, there's no way for TypeScript to know the array has the correct length to fulfll the function's arguments.

Reselect also requires a minimum of two args for the create selector function, so either we'd have to tweak the definitions to allow 0 or more, or find a clever way to decorate what we're passing that is readable as 1 or more
/* one selector */
export function createSelector<S, R1, T>(
  selectors: [Selector<S, R1>],
  combiner: (res: R1) => T,
): OutputSelector<S, T, (res: R1) => T>;
export function createSelector<S, P, R1, T>(
  selectors: [ParametricSelector<S, P, R1>],
  combiner: (res: R1) => T,
): OutputParametricSelector<S, P, T, (res: R1) => T>;

I don't think Typing the input as selector[] is possible since it loses the relationship between the selector's R1 and the parametric selector's R1 .
In the below example an error isn't being thrown because the createSelector has a simplified definition via the number[], which works for the example but I'm not sure how to make it work for Reselect.

declare const createSelector: (selectors: number[], fn: Function) => void;

If variadic types are added to TypeScript, that could be one way of going about this, however it's been under discussion since 2015 so I wouldn't expect it any time soon.
https://github.com/Microsoft/TypeScript/issues/5453

Microsoft announced TypeScript 3 yesterday which allows for generic typing of the spread operator.
We may be able to simplify the Type file for reselect since instead of doing overloads like
// TODO (billg): 5 overloads should *probably* be enough for anybody?
function call<T1, T2, T3, T4, R>(fn: (param1: T1, param2: T2, param3: T3, param4: T4) => R, param1: T1, param2: T2, param3: T3, param4: T4): R
function call<T1, T2, T3, R>(fn: (param1: T1, param2: T2, param3: T3) => R, param1: T1, param2: T2, param3: T3): R
function call<T1, T2, R>(fn: (param1: T1, param2: T2) => R, param1: T1, param2: T2): R
function call<T1, R>(fn: (param1: T1) => R, param1: T1): R;
function call<R>(fn: () => R, param1: T1): R;
function call(fn: (...args: any[]) => any, ...args: any[]) {
    return fn(...args);
}

We would be able to do something like
function call<TS extends any[], R>(fn: (...args: TS) => R, ...args: TS): R {     return fn(...args); }
And this would remove the typescript cap of 13 selectors for reselect.

Any news on the cap of 13 selectors now that we have TypeScript 3?


Release 2.7.6?

We have some good bug fixes, especially re. Chrome 57.
https://github.com/photonstorm/phaser-ce/milestone/1

[ ] Make sure the version number is increased, in line with semver policies, in the following files:

[ ] https://github.com/photonstorm/phaser-ce/blob/master/package.json
[ ] https://github.com/photonstorm/phaser-ce/blob/master/src/Phaser.js

[ ] Make sure that you have added details of the new version to the README.md and CHANGELOG.md. This should include a summary of changes made in the version. You can usually obtain this from the commit / PR history. It's nice to credit who made the changes by linking to their GitHub user ID, but isn't a requirement.

[ ] https://github.com/photonstorm/phaser-ce/blob/master/README.md#change-log
[ ] https://github.com/photonstorm/phaser-ce/blob/master/CHANGELOG.md

[ ] From the root repo folder, run grunt jshint and make sure there are no jshint errors. If there are, please fix them, or request that the original author of the code does so.

[ ] Once jshint passes run grunt release, sit back, and wait. It will build all of the versions of Phaser required, update the doc files, TypeScript defs and lots more.

[ ] Commit all of the new files and make sure to include a clear message in your commit saying you want this release pushed to npm. Be sure to tag me when doing this, i.e. Phaser CE Version 2.7.6. Please publish to npm @photonstorm - I'll see it, and then publish as soon as I can (often the same day).

Sure thing, happy to publish this if you are?

I'll go through the checklist and then tag you in a PR. Thanks!


Does this poll, or use the stream api?

The description suggests that this uses streaming, which implies the use of a push api through websockets. However, there's a pollTime setting, which makes me think that this just polls periodically.
Which is the case?

This library is poll-based using the snoowrap library. As far as I'm aware there is no first-party websocket based solution for all of the different constructs that snoostorm supports (rockets seems to serve a similar use case if you need a websocket).

Thanks. Yeah, I don't think there's a full library for nodejs. I'm coming from reddit-stream, which is a small wrapper around raw.js which provides many reddit apis.
Nothing seems actually maintained anymore though.
Thanks for the tip

@kbirger did you ever find an alternative?

Nope


Inconsistent log format in multicluster controller log

Describe the bug
When Antrea multicluster controller is running, it prints logs like below, it's obviously different format. The base codes of Mulit-cluster is generated by Kubebuilder originally, so the json format is from Kubebuilder related packages. we need to check if there is a way to make them consistent or disable the json one.
I0310 09:55:05.678118       1 cacert_controller.go:209] Syncing CA certificate with ValidatingWebhookConfigurations
I0310 09:55:05.688516       1 cacert_controller.go:166] Syncing CA certificate with CRDs that have conversion webhooks
{"level":"info","ts":1646906106.495792,"logger":"controller-runtime.metrics","msg":"metrics server is starting to listen","addr":"<IP_ADDRESS>:8080"}
{"level":"info","ts":1646906106.4962847,"logger":"controller-runtime.builder","msg":"Registering a mutating webhook","GVK":"multicluster.crd.antrea.io/v1alpha1, Kind=ClusterClaim","path":"/mutate-multicluster-crd-antrea-io-v1alpha1-clusterclaim"}
{"level":"info","ts":1646906106.4964828,"logger":"controller-runtime.webhook","msg":"registering webhook","path":"/mutate-multicluster-crd-antrea-io-v1alpha1-clusterclaim"}

To Reproduce
Follow up the MC user guide https://github.com/antrea-io/antrea/blob/main/docs/multicluster/user-guide.md to launch a member cluster controller, you will get similar outputs.
Expected
All logs are using klog format.

@luolanzone would like to work on this issue

sure, I have assigned it to you, thanks!


capsulenet cannot reach high accuracy

routing and compute u_hat has problem

Hi @humaolin ,
Thanks for your feedback, but I'll need more details about the problem you are experiencing. Are you sure you are using the latest notebook? As you can see in the output of cell 73 in the notebook, the notebook reaches 99.4% accuracy. That's pretty high.
Cheers,
Aurélien

I was having this same problem using GPU training only. The solution was to lower the batch size. I saw significant improvements with anything from 2-5. the lower you set your batch size the higher your accuracy will tend to be from my experimenting with the code.
I did not have this issue when using the CPU and it behaved as laid out in the notebook.
My thinking is that this algorithm just requires a lot of space to store results and the GPU simply runs out of available resources (not necessarily memory) at higher batch sizes.


Requires opesscript or node-opus, although @discordjs/opus is installed.

I get the following message when playing music:
ResolveMessage: Cannot find package "node-opus" from "C:\Users\arava\Documents\Projects\discord-bot\node_modules\.pnpm\prism-media@1.3.5_<EMAIL_ADDRESS>ResolveMessage: Cannot find package "opusscript" from "C:\Users\arava\Documents\Projects\discord-bot\node_modules\.pnpm\prism-media@1.3.5_<EMAIL_ADDRESS>
My installed dependencies:

Not related to distube, it is @discordjs/voice error


about“Build the Cython modules”

when I build the Cython modules, there is an error: 'roi_pooling_op.cu.o: No such file or directory'.
When I want to find this file, it really doesn't exist.

I also met this problem,have you solved?


AUR badges use deprecated and undocumented API to retrieve information

Are you experiencing an issue with...
shields.io
🐞 Description
IN #612 AUR support was added, which currently lives here:
https://github.com/badges/shields/blob/a08b523b4fc55a962aa2562dd4ac9126bbf032ed/services/aur/aur.service.js#L38-L46
Per the AUR documentation, there is supposed to be a version keyword v=5, which is missing. This is philosophically mandatory, but not a technical restriction: for backwards compatibility with the original v1 API a missing version is interpreted as the v1 API.
(Side note: the v=5 API was current at the time of that PR, not entirely sure why it ended up using the v=1 API instead.)
This is undocumented and may be dropped at any time. And in fact, we plan to drop it in the near future, and make specifying a version mandatory. (This will simplify the code a lot, and that's beneficial since we're currently porting it from PHP to python.)
According to server logs, 65% or more of unversioned requests are coming from shields.io, so this change would definitely impact you!
🔗 Link to the badge
https://img.shields.io/aur/maintainer/google-chrome

💡 Possible Solution
Please specify the v=5 API and check that it performs as expected.
This will aid us in evaluating the ability to drop old API versions, and future proof shields.io against AUR service changes.
Thanks!

Thanks for letting us know! I'll likely have time to look at this tonight.
Just my two cents as an outside opinion looking at the API spec for the first time (the one we have linked in the inline comment), but I feel like the docs are really light on info about the v query param. Even going in and searching for a version related query param it was really easy. It pops up in the response object but I felt like the query param was really easy to miss since it's not really referenced anywhere in text but simply appears in the urls.
Might help to call it out explicitly somewhere in the docs to draw attention to it.

Thanks for the fast response!
I see what you mean about the docs. The wiki page is actually based on the internal docs, which the live API will recite back to you if you visit https://AUR.archlinux.org/rpc without actually sending a query.
As you can see, it is missing there too. I think the docs kind of grew... organically. We should definitely fix that.
Thanks for the suggestion.


New command: List authentication methods registered for users. Closes #5773

Closes #5773

Thank you, we'll try to review it ASAP!


sphinx-sitemap >v2.4.0 raises execption during sitemap creation.

Linux Distribution
echo $(source /etc/os-release; echo $VERSION)
22.04.5 LTS (Jammy Jellyfish)

Python Version
python3 --version
Python 3.10.12

Sphinx Version
sphinx-build --version
sphinx-build 8.1.3

Problem description
Versions of sphinx-sitemap priori to v2.4.0 generate the sitemap successfully as shown here with v2.3.0.
[app] emitting event: 'build-finished'(None,)
/root/workspace/st2docs/virtualenv/lib/python3.10/site-packages/sphinx_sitemap/__init__.py:166: RemovedInSphinx90Warning: Sphinx 9 will drop support for representing paths as strings. Use "pathlib.Path" or "os.fspath" instead.
  filename = app.outdir + "/" + app.config.sitemap_filename
sphinx-sitemap: sitemap.xml was generated for URL https://docs.stackstorm.com/ in /root/workspace/st2docs/docs/build/html/sitemap.xml
build succeeded.

The HTML pages are in docs/build/html.

Build finished. The HTML pages are in docs/build/html.

All versions v2.4.0 and greater fail with the following exception
 Traceback (most recent call last):
  File "/usr/lib/python3.10/multiprocessing/managers.py", line 810, in _callmethod
    conn = self._tls.connection
AttributeError: 'ForkAwareLocal' object has no attribute 'connection'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/root/workspace/st2docs/virtualenv/lib/python3.10/site-packages/sphinx/events.py", line 404, in emit
    results.append(listener.handler(self.app, *args))
  File "/root/workspace/st2docs/virtualenv/lib/python3.10/site-packages/sphinx_sitemap/__init__.py", line 111, in add_html_link
    env.sitemap_links.put(sitemap_link)
  File "<string>", line 2, in put
  File "/usr/lib/python3.10/multiprocessing/managers.py", line 814, in _callmethod
    self._connect()
  File "/usr/lib/python3.10/multiprocessing/managers.py", line 801, in _connect
    conn = self._Client(self._token.address, authkey=self._authkey)
  File "/usr/lib/python3.10/multiprocessing/connection.py", line 508, in Client
    answer_challenge(c, authkey)
  File "/usr/lib/python3.10/multiprocessing/connection.py", line 752, in answer_challenge
    message = connection.recv_bytes(256)         # reject large message
  File "/usr/lib/python3.10/multiprocessing/connection.py", line 216, in recv_bytes
    buf = self._recv_bytes(maxlength)
  File "/usr/lib/python3.10/multiprocessing/connection.py", line 414, in _recv_bytes
    buf = self._recv(4)
  File "/usr/lib/python3.10/multiprocessing/connection.py", line 379, in _recv
    chunk = read(handle, remaining)
BlockingIOError: [Errno 11] Resource temporarily unavailable

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/root/workspace/st2docs/virtualenv/lib/python3.10/site-packages/sphinx/application.py", line 381, in build
    self.builder.build_update()
  File "/root/workspace/st2docs/virtualenv/lib/python3.10/site-packages/sphinx/builders/__init__.py", line 358, in build_update
    self.build(
  File "/root/workspace/st2docs/virtualenv/lib/python3.10/site-packages/sphinx/builders/__init__.py", line 437, in build
    self.write(docnames, list(updated_docnames), method)
  File "/root/workspace/st2docs/virtualenv/lib/python3.10/site-packages/sphinx/builders/__init__.py", line 711, in write
    self.write_documents(docnames)
  File "/root/workspace/st2docs/virtualenv/lib/python3.10/site-packages/sphinx/builders/__init__.py", line 725, in write_documents
    self._write_serial(sorted_docnames)
  File "/root/workspace/st2docs/virtualenv/lib/python3.10/site-packages/sphinx/builders/__init__.py", line 744, in _write_serial
    self.write_doc(docname, doctree)
  File "/root/workspace/st2docs/virtualenv/lib/python3.10/site-packages/sphinx/builders/html/__init__.py", line 659, in write_doc
    self.handle_page(docname, ctx, event_arg=doctree)
  File "/root/workspace/st2docs/virtualenv/lib/python3.10/site-packages/sphinx/builders/html/__init__.py", line 1162, in handle_page
    newtmpl = self.app.emit_firstresult(
  File "/root/workspace/st2docs/virtualenv/lib/python3.10/site-packages/sphinx/application.py", line 836, in emit_firstresult
    return self.events.emit_firstresult(event, *args,
  File "/root/workspace/st2docs/virtualenv/lib/python3.10/site-packages/sphinx/events.py", line 433, in emit_firstresult
    for result in self.emit(name, *args, allowed_exceptions=allowed_exceptions):
  File "/root/workspace/st2docs/virtualenv/lib/python3.10/site-packages/sphinx/events.py", line 415, in emit
    raise ExtensionError(
sphinx.errors.ExtensionError: Handler <function add_html_link at 0x7fda6660b010> for event 'html-page-context' threw an exception (exception: [Errno 11] Resource temporarily unavailable)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3.10/multiprocessing/managers.py", line 810, in _callmethod
    conn = self._tls.connection
AttributeError: 'ForkAwareLocal' object has no attribute 'connection'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/root/workspace/st2docs/virtualenv/lib/python3.10/site-packages/sphinx/events.py", line 404, in emit
    results.append(listener.handler(self.app, *args))
  File "/root/workspace/st2docs/virtualenv/lib/python3.10/site-packages/sphinx_sitemap/__init__.py", line 128, in create_sitemap
    if env.sitemap_links.empty():
  File "<string>", line 2, in empty
  File "/usr/lib/python3.10/multiprocessing/managers.py", line 814, in _callmethod
    self._connect()
  File "/usr/lib/python3.10/multiprocessing/managers.py", line 801, in _connect
    conn = self._Client(self._token.address, authkey=self._authkey)
  File "/usr/lib/python3.10/multiprocessing/connection.py", line 508, in Client
    answer_challenge(c, authkey)
  File "/usr/lib/python3.10/multiprocessing/connection.py", line 752, in answer_challenge
    message = connection.recv_bytes(256)         # reject large message
  File "/usr/lib/python3.10/multiprocessing/connection.py", line 216, in recv_bytes
    buf = self._recv_bytes(maxlength)
  File "/usr/lib/python3.10/multiprocessing/connection.py", line 414, in _recv_bytes
    buf = self._recv(4)
  File "/usr/lib/python3.10/multiprocessing/connection.py", line 379, in _recv
    chunk = read(handle, remaining)
BlockingIOError: [Errno 11] Resource temporarily unavailable

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/root/workspace/st2docs/virtualenv/lib/python3.10/site-packages/sphinx/cmd/build.py", line 514, in build_main
    app.build(args.force_all, args.filenames)
  File "/root/workspace/st2docs/virtualenv/lib/python3.10/site-packages/sphinx/application.py", line 389, in build
    self.events.emit('build-finished', err)
  File "/root/workspace/st2docs/virtualenv/lib/python3.10/site-packages/sphinx/events.py", line 415, in emit
    raise ExtensionError(
sphinx.errors.ExtensionError: Handler <function create_sitemap at 0x7fda6660b0a0> for event 'build-finished' threw an exception (exception: [Errno 11] Resource temporarily unavailable)

Extension error (sphinx_sitemap):
Handler <function create_sitemap at 0x7fda6660b0a0> for event 'build-finished' threw an exception (exception: [Errno 11] Resource temporarily unavailable)
make: *** [Makefile:67: .docs] Error 2

No changes other than upgrading from 2.3.0 to 2.4.0 were made.  Any assistance on how to resolve this issue would be most appreciated.

Ah interesting, looks like you have a race condition of sorts, I haven't seen that yet. Was it reproducible, or did it only happen once?
Looks like I could try using multiprocessing.Queue instead of Manager().Queue() and also add some better error handling, but regardless it would take a patch release to fix. In the mean time you can pin the extension or try running in serial mode for now (2.4.0 added parallel support).

Yes, it's reproducible, it occurs on every execution.  It appears the documentation generation process we're using pulls in eventlet (I didn't know this).  After import, the below message is emitted:
1 RLock(s) were not greened, to fix this error make sure you run eventlet.monkey_patch() before importing any other modules.

I suspect this is the cause of the exception so I'll try to investigate this further.

Possibly related issues https://github.com/gevent/gevent/issues/1808 and/or https://github.com/gevent/gevent/issues/1268

Closing since this isn't a sphinx-sitemap issue.


[fix][branch-2.10] Fix wrong unit of NIC speed on linux

Apply fix  #15304 to branch-2.10

@codelipenghui  As you said, Apply fix #15304 to branch-2.10. Please merge this.


weights

Temporary hack for adding weights to distance computation while ranking.

Before creating a pull request

[ ] Document new methods and classes
[ ] Format code with make format

Before merging a pull request

[ ] Set version target by selecting a milestone on the right side
[ ] Summarize this change in CHANGELOG.md
[ ] Add unit test(s) for this change

Closing since the hack is not required for the demo anymore.


Add uservoice to profile page for BCC members

User story
As a user I want to be able to give feature suggestion
Acceptance criteria

User are able to see "Suggest a feedback" in the same grouping as  "Contact support"
Only BCC members are able to see the uservoice tab
The uservoice tab links user to uservoice.bcc.no
Auto login to uservoice with profile from bccm app

Done in #114


Exception kia_uvo login : 'redirectUrl'

Hi,
Thanks for this integration, it looks promising!
I tried to install it, unfortunately it crashes after entering the login information with following exception:
ERROR (MainThread) [custom_components.kia_uvo.config_flow] kia_uvo Exception in kia_uvo login : 'redirectUrl'
Regards,
Kees

Hi,
Two possibilities ahead;

assuming you are located in EU, you are using legacy UVO account, not yet migrated to Kia Account type. If that's the case, you can logout from UVO app, try to login again and migrate your account.
you are not located in Europe, so you are not using EU servers. If that's the case, you can help me to add the functionality to support other regions.

Thanks!
I was not aware KIA was migrating accounts. Mine was not yet migrated.
After I did the migration everything works fine.
Kees

Hi,
Nice integration, congratulations,
I own two Kia cars with UVA (KIA connect soon) and everything works fantastic on Niro Car but the integration did not even detect Sorento Car. This is surprising since I started to use the integration with Sorento and after a while, we got the Niro car. Previously, integration was fine with Sorento,
Is there any issue/incompatibilty if you have 2 cars under the same account? could it be a problem of diferent servers from one car to the other?
Thank you!
BR

@Tailor4 two cars are not currently supported, see https://github.com/fuatakgun/kia_uvo/issues/93

Hi,
Today I created a new KIA Connect account. (inside of the kia connect app) i can login into the app and the website from kia connect.
But i can not login to the HA integration. Tried logging out and in again.
Error stays:
"Login failed into Kia Uvo / Hyundai Bluelink Servers. Please use official Kia Uvo app to logout and log back in and try again!"

Please open a new issue with region and brand detailed.  Please also confirm you have a car on your account.

Please open a new issue with region and brand detailed. Please also confirm you have a car on your account.

Oops i did not added a car yet, maybe thats the problem for now..

Hi,
mine doesn't show zero (0,0) but an old ODO meter value from the past. i fixed it by adding an extra template var :
template:

sensor:

name: "kilometer_totaal"
state: >
{% if states.sensor.kilometer_totaal.state <  states.sensor.ev6_odometer.state %}
{{ states.sensor.ev6_odometer.state | float }}
{% endif %}
state_class: total_increasing
unit_of_measurement: km
device_class: distance
icon: mdi:speedometer

You can force un update from the couch by remote starting the car and after a few seconds pull an update.
This wil give you the currrent odo meter settings. then turn of the car with the remote.


Stale has still not run after 24 hours

my Configuration:
# Number of days of inactivity before an issue becomes stale
daysUntilStale: 14
# Number of days of inactivity before a stale issue is closed
daysUntilClose: 44
# Issues with these labels will never be considered stale
exemptLabels:
  - Ready for Review
# Label to use when marking an issue as stale
staleLabel: Abandoned
# Comment to post when marking an issue as stale. Set to `false` to disable
markComment: >
 This PR has been automatically marked as stale because it has not had recent activity. It
 will be closed if no further activity occurs. You can choose to re-open the PR when you're
 ready to continue working on it.
# Comment to post when closing a stale issue. Set to `false` to disable
closeComment: true

lol why don't you show up in my repo?

Looks like I'm having same issue.

How ironic


How to obtain Guice Injector in listeners?

Hello
I noticed that you've removed methods from ITestContext that were able to retrieve an instance of Injector that was used in tests, such as getInjector(IClass iClass). I wonder, is there a way to extract an existing instance of injector in TestNG listeners in the current version (7.7.1) without these methods?
If so, could you please update a documentation?

@groov1kk - Can you please try org.testng.ITestContext#getInjectorFactory and then use org.testng.IInjectorFactory#getInjector(com.google.inject.Injector, com.google.inject.Stage, com.google.inject.Module...) from the IInjectorFactory reference and see if that helps ? You should be able to grab hold of the ITestContext in the listeners.

@krmahadevan Thanks for the fast reply :)
The problem that the method org.testng.ITestContext#getInjectorFactory and then use org.testng.IInjectorFactory#getInjector(com.google.inject.Injector, com.google.inject.Stage, com.google.inject.Module...) creates a new child injector instead of returning the existing one. And all singletons, for example, would be created again. Is there a way to return exactly the same instance of Injector?

@groov1kk How about org.testng.ISuite#getParentInjector ?

Still there are two injectors in my test.
Here the simple example:
Guice module:
public class MyModule extends AbstractModule {

  @Provides
  static MySingleton mySingleton() {
    return new MySingleton();
  }

  @Singleton
  public static class MySingleton {

    public void printHashCode() {
      System.out.println(hashCode());
    }
  }
}

Test:
@Listeners(MyListener.class)
@Guice(modules = MyModule.class)
public class MyTest {

  @Inject private MySingleton singleton;

  @Test
  public void testSingleton() {
    singleton.printHashCode();
  }
}

Listener
public class MyListener extends TestListenerAdapter {

  @Override
  public void onStart(ITestContext context) {
    Injector injector = context.getSuite().getParentInjector();
    injector.getInstance(MySingleton.class).printHashCode();
  }

  @Override
  public void onFinish(ITestContext context) {
    Injector injector = context.getSuite().getParentInjector();
    injector.getInstance(MySingleton.class).printHashCode();
  }
}

Every time I start this example, I see the following picture:
288958772
2106592975
288958772

Looks like I have one Injector for my test and another Injector in the listener.

Ah, I see...
That's because you create default parent Injector without any modules and Injector's getInstance puts the value if it has not been stored yet.
Also I see, that you have cache GuiceHelper#m_injectors but you don't expose it outside. I'm afraid without exposing it is not possible to obtain an instance of Injector in Listeners.

@groov1kk - Thanks for the sample. I will get to it when I get some time. In the meantime, please feel free to propose a PR if you managed to find something

@groov1kk In order to propose the best solution, could you describe why you need injector in the listener? What are you trying to do?

For the record: Injector is removed from the public api because it is a strong dependency to guice.

@juherr There might be a lot of examples when do I need injector in listeners.
Let's say I have an HTTP client which is singleton and managed by guice. And I would like to send a request to a bug tracking system after each test with it's results. Or I would like to send an email after each test failed. The mail service is also better to setup and control by guice.
About strong dependency to guice: you've already have the annotation @Guice, isn't it a strong dependency too? Or you are also going to replace it?

@Guice could be provided as an extension.  It is not the same kind of dependency.
About the listener need: what if @Inject is supported into listeners?

It would be cool :thumbsup:

@groov1kk - Here's a sample that injects a value into a TestNG listener. I am using TestNG v7.8.0
import com.google.inject.*;
import com.google.inject.Module;
import com.google.inject.name.Named;
import com.google.inject.name.Names;
import org.testng.IInvokedMethod;
import org.testng.IInvokedMethodListener;
import org.testng.ITestResult;
import org.testng.annotations.Guice;
import org.testng.annotations.Listeners;
import org.testng.annotations.Test;

@Listeners(TestClassSample.MyListener.class)
public class TestClassSample {

    @Test
    public void testMethod() {
        System.err.println("testMethod() says Hello World");
    }

    @Guice(modules = GuiceExampleModule.class)
    public static class MyListener implements IInvokedMethodListener {

        @Named("port-number")
        @Inject
        Integer integer;

        @Override
        public void afterInvocation(IInvokedMethod method, ITestResult testResult) {
            System.err.println("Port Number = " + integer);
        }
    }

    public static class GuiceExampleModule implements Module {
        @Override
        public void configure(Binder binder) {
            binder.bind(Integer.class)
                    .annotatedWith(Names.named("port-number"))
                    .toInstance(8080);
        }
    }
}

Output:
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
Hello World
Port Number = 8080

===============================================
Default Suite
Total tests run: 1, Passes: 1, Failures: 0, Skips: 0
===============================================

Please let me know if this would solve your purpose and if yes, can we close this issue?

Hello @krmahadevan
Thanks that you didn't forget about me :)
I check your solution and it works for, thank you!
P.S. Btw, last time I gave you a wrong example: to provide a singleton in Guice it is neccissary to mark the provider method with both annotations @Provides and @Singleton.  But anyway, even correctly written module didn't solve my problem.

@groov1kk

Thanks that you didn't forget about me

Please bear with the lags in response.

I check your solution and it works for, thank you!

So can we close this issue ?

Yep, you could close this issue


[BUG] routes register

Describe the bug
Unable to add multiple handlers to same path with different handlers
To Reproduce
router.Post("/api/v1/users", handlers.AddUser(s.store))
router.Get("/api/v1/users", handlers.GetUsers(s.store))
Expected behavior
It should allow to register to the handlers as expected
Screenshots

Closed with #54


removed Keyboard  Avoiding View

Replaced KeyboardAvoidingView with KeyboardAwareScrollView from the react-native-keyboard-aware-scroll-view package to improve stability and handle keyboard interactions more effectively.

Will have to close this because the current implementation appears stable and I try to avoid using an additional external dependency.


Use number instead of string in TS quality definitions

Using strings for the quality doesn't work, plyr expects numbers, so this fixes the definitions.

Cheers 👍


Cannot import name 'ActionModelImpact'

Hi all,
It seems to me as if the examples for highly-dynamics movements (jump.py/salto.py) became out-of-date. I wanted to report that currently both files are not executable, because of (at least) the above dependency error.
Best,
Julian

Yes, they are backup files. We'll soon removed them!
These examples use an old API interface, based on pure Python code.

Okay, thanks for the comment. Will also a new version for these maneuvers be uploaded again, matching the new API interface?

Okay, thanks for the comment. Will also a new version for these maneuvers be uploaded again, matching the new API interface?

At the moment, I have not the resource to do it. But I will attend to do it with a new formulation! Therefore, it won't look like those example codes.

Okay, thanks for the clarification.


external links (as discovered) will now open new tabs

issue #985
pending PR merge: links clicked on from the 'main page, Hearings Schedule subsection' will now open new tabs

LinkedIn icon added with new tab opening link


Add other JCasC maintainers to be able to release

Description

https://github.com/jenkinsci/configuration-as-code-plugin
@ewelinawilkosz @casz
Submitter checklist for changing permissions

Always

[x] Add link to plugin/component Git repository in description above

For a newly hosted plugin only

[na] Add link to resolved HOSTING issue in description above

For a new permissions file only

[na] Make sure the file is created in permissions/ directory
[na] artifactId (pom.xml) is used for name (permissions YAML file).
[na] groupId / artifactId (pom.xml) are correctly represented in path (permissions YAML file)
[na] Check that the file is named plugin-${artifactId}.yml for plugins

When adding new uploaders (this includes newly created permissions files)

[x] Make sure to @mention an existing maintainer to confirm the permissions request, if applicable
[x] Use the Jenkins community (LDAP) account name in the YAML file, not the GitHub account name
[x] All newly added users have logged in to Artifactory at least once

I think it is fine as an intermediate solution


Stacktrace on Startup with newest geyser MC 1.21.43

I think, that this prevents GeyserExtensionists/GeyserModelEngine from loading.
Geyser recently updated the behaviour of their Registries on load. https://github.com/GeyserMC/Geyser/commit/8f7a0d0778aa9106ea32527e535fe5d1cc7d7d0d
Maybe that's the issue.
I've tried it on bungeecord (Waterfall) with geyserutils + geysermodelengine in geyser's extensions folder
The stack trace:
[13:51:25 ERROR] [org.geysermc.geyser.event.GeyserEventBus]: An exception occurred while executing event GeyserPostInitializeEvent for subscriber org.geysermc.geyser.event.GeyserEventSubscriber
java.lang.NoSuchFieldError: BEDROCK_ENTITY_IDENTIFIERS
        at me.zimzaza4.geyserutils.geyser.GeyserUtils.registerEntityToGeyser(GeyserUtils.java:209) ~[?:?]
        at me.zimzaza4.geyserutils.geyser.GeyserUtils.onEnable(GeyserUtils.java:120) ~[?:?]
        at org.lanternpowered.lmbda.Lmbda$3.accept(Unknown Source) ~[?:?]
        at org.geysermc.event.subscribe.impl.SubscriberImpl.lambda$new$0(SubscriberImpl.java:55) ~[?:?]
        at org.geysermc.event.subscribe.impl.SubscriberImpl.invoke(SubscriberImpl.java:75) ~[?:?]
        at org.geysermc.event.bus.impl.BaseBusImpl.fireSilently(BaseBusImpl.java:201) ~[?:?]
        at org.geysermc.event.bus.impl.OwnedEventBusImpl.fireSilently(OwnedEventBusImpl.java:41) ~[?:?]
        at org.geysermc.event.bus.impl.BaseBusImpl.fire(BaseBusImpl.java:180) ~[?:?]
        at org.geysermc.event.bus.impl.OwnedEventBusImpl.fire(OwnedEventBusImpl.java:41) ~[?:?]
        at org.geysermc.geyser.GeyserImpl.startInstance(GeyserImpl.java:653) ~[?:?]
        at org.geysermc.geyser.GeyserImpl.initialize(GeyserImpl.java:271) ~[?:?]
        at org.geysermc.geyser.GeyserImpl.start(GeyserImpl.java:878) ~[?:?]
        at org.geysermc.geyser.platform.bungeecord.GeyserBungeePlugin.onGeyserEnable(GeyserBungeePlugin.java:188) ~[?:?]
        at net.md_5.bungee.scheduler.BungeeTask.run(BungeeTask.java:66) ~[waterfall.jar:git:Waterfall-Bootstrap:1.21-R0.1-SNAPSHOT:de8345a:579]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) ~[?:?]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) ~[?:?]
        at java.lang.Thread.run(Thread.java:840) [?:?]```

did you update your GeyserUtils-Geyser?

https://github.com/GeyserExtensionists/GeyserUtils/releases/download/latest/geyserutils-geyser-1.0-SNAPSHOT.jar

To anyone wondering, update your geysermc/geyser to latest version!


data-on-select="..." not triggering in file drops

Using this component:
https://metroui.org.ua/file.html#_file_drop
the data-on-select="..." is not triggering properly

Chrome: nothing happens
Edge: produces following error "Assignment to read-only properties is not allowed in strict mode"
Firefox: works! Yay!

Fixed in 4.2.40 for Chromium browsers. For EDGE fix impossible, I will not deduce library from the strict mode for Edge.

I can confirm it works on chrome with <script src="https://cdn.metroui.org.ua/v4-dev/js/metro.min.js"></script> ...bad luck for edge :( ...I can understand.


Chinese firewall

Because of Chinese Firewall, I cannot use "go get github.com/PuerkitoBio/goquery" to install goquery.
Can you tell me how to install it from source code.

Sure! You can git clone the project and its dependencies (assuming git clone works?). If you use Go1.11 with the new modules support, this should be enough:
$ git clone git@github.com:PuerkitoBio/goquery.git
$ cd goquery
$ go test
# this will trigger installation of deps

However, I suspect that installation of deps may fail for the same reasons, so it's probably best to install them separately (in the right directories):
$ git clone git@github.com:andybalholm/cascadia.git
$ git clone git@github.com:golang/net.git

Hope this helps,
Martin


Removed AAD Authority Update Note

It falsely stated that the old login-us.microsoftonline.com URL would continue working, which is false.

@bernie-msft : Thanks for your contribution! The author(s) have been notified to review your proposed change.

#sign-off


Can't build grpc plugin for Development Release 0.12.0

step1 and 2 is ok,  step 3 failed
“C:\Users\root\Desktop\grpc-release-0_12_0\vsprojects\grpc_protoc_plugins.sln”(默认目标) (1) ->
“C:\Users\root\Desktop\grpc-release-0_12_0\vsprojects\vcxproj\grpc_plugin_support\grpc_plugin_support.vcxproj”(默认目 标) (2
) ->
(ClCompile 目标) ->
......\src\compiler\csharp_generator.cc(47): error C2039: “GetUmbrellaClassName”: 不是“google::protobuf::compiler::cs
harp”的成员 [C:\Users\root\Desktop\grpc-release-0_12_0\vsprojects\vcxproj\grpc_plugin_support\grpc_plugin_support.vcxproj]
......\src\compiler\csharp_generator.cc(47): error C2873: “GetUmbrellaClassName”: 符号不能用在 using 声明中 [C:\Users\root\D
esktop\grpc-release-0_12_0\vsprojects\vcxproj\grpc_plugin_support\grpc_plugin_support.vcxproj]
......\src\compiler\csharp_generator.cc(237): error C3861: “GetUmbrellaClassName”:  找不到标识符 [C:\Users\root\Desktop\g
rpc-release-0_12_0\vsprojects\vcxproj\grpc_plugin_support\grpc_plugin_support.vcxproj]
.

Follow instructions in third_party\protobuf\cmake\README.md to create Visual Studio 2013 projects for protobuf.
Open solution third_party\protobuf\cmake\protobuf.sln and build it in Release mode. That will build libraries libprotobuf.lib and libprotoc.lib needed for the next step.
Open solution vsprojects\grpc_protoc_plugins.sln and build it in Release mode. As a result, you should obtain a set of gRPC protoc plugin binaries (grpc_cpp_plugin.exe, grpc_csharp_plugin.exe, ...)

Building the plugins gets continously tested, so I am pretty sure this works. Maybe you didn't update the protobuf submodule?
Also 0.12 release is way too old, we strongly suggest you migrate to 1.3.x (1.4.x coming soon).

oh， no 。。。。


Add metahelper for reading/writing metadata in Prow

Add a testutil that helps with reading/writing metadata.json, the file can be read by Prow and displayed in spyglass. This can be used by both go package and from command line. See https://github.com/knative/test-infra/pull/1460 for it's usage
/cc @adrcunha
/cc @chizhg

blocked by #750

Now that #750 is merged, this PR is ready for review. @adrcunha @chizhg
The only difference from what's reviewed in https://github.com/knative/test-infra/pull/1460 is that there are unit tests added in this PR

/lgtm


⚠ Activitar Management Platform has degraded performance

In 609528f, Activitar Management Platform (https://new.activitar.com) experienced degraded performance:

HTTP code: 200
Response time: 15303 ms

Resolved: Activitar Management Platform performance has improved in 5eafe17 after 10 minutes.


Path issues & Missing files and folders

Thank you so much for this repository!
Meta comment: most of the paths are absolute and specific to the author's computer.
Please provide some clarifications on the following paths:

txt_dataset_json_path
img_dataset_json_path
gold_feature_folder
distractor_feature_folder
x_distractor_feature_folder

Thanks for asking! We have clarified what those arguments are in our README.
We explain again here:
In our baseline code, we separate the data loading of image- and text-based queries for the sake of performance breakdown. Thus, the two arguments, txt_dataset_json_path and img_dataset_json_path, correspond to the two folds,  according to the Qcate field.
Next, we explain what arguments --gold_feature_folder, --distractor_feature_folder, and --x_distractor_feature_folder are. Basically, during implementation we divide the images into 3 buckets: positive images for image-based queries (gold), negative images for image-based queries (distractors) and negative images for text-based queries (x_distractors), where the 'x' stands for 'cross-modality'. Image- and text-based queries can be disinguished via the "Qcate" field in the dataset file. Text-based queries all have Qcate == 'text', while the rest are image-based ones.
We're happy to address any further concerns.

Thank you for the clarification! Closing issue now.


Stored value not prefilled when updating resource

Hi,
I have the MultiSelect field setup as followed:
$options = $optionRepository->selectAll()
    ->pluck('name', 'id');

MultiSelect::make('Options')
    ->options($options->toArray())
    ->onlyOnForms(),

This works brilliantly for the create form (values are stored in DB), but it's not prefilling my field in the edit form.
When I check the ajax call, to get the Resource's fields for the edit form, I can see that the MultiSelect field has the correct values. It's just not setting the div element with class multiselect__tags.
Nova version: 2.12.0
optimistdigital/nova-multiselect-field: 1.9.0
Thanking you in advance.

That's really weird. I set up a new Nova project with Nova 2.12.0 and Nova Multiselect 1.9.0 and it worked as intended.
Multiselect::make('Multiselect')
  ->options([1 => 'Haha', 2 => 'Hehe', 3 => 'Huhu'])
  ->onlyOnForms(),

Tried with both numeric and string keys. Not sure what's wrong to be honest. Maybe try running php artisan nova:publish and composer update again? :S

The only custom thing I did have to do, is feed my Multiselect field, through an Observer (via the retrieved event model). I needed to do this because I want to store values for a many to many relation: A plan has many options and an option has many plans.
public function retrieved(Plan $plan)
{
    $optionIds = $plan->options
        ->pluck('name', 'id');

    $attributes = $plan->getAttributes();
    $attributes['options'] = json_encode($optionIds);
    $plan->setRawAttributes($attributes);
}

Issue solved. Was storing the values in the database in an incorrect way ("id":"value" in JSON format). I was manipulating these values manually, because of my many-to-many relation.


Versioncheck

Fully remove version check and fix build.

fixes https://github.com/GTNewHorizons/GT-New-Horizons-Modpack/issues/9082


Transformation Error: "Not a valid character within attribute names"

Transformation error (Syntax error at line 30 col 7: ' is not a valid character within attribute names)

Occurs on this line of code:
module('Integration | Component | pill-facet/pills-list', (hooks) => {

Transformation error (Syntax error at line 20 col 27: ' is not a valid character within attribute names)

Occurs on the second line below:
{
        displayName: 'Other',
        type: 'OTHER'
      },

How are you invoking the codemod? In general, it should not be processing *.js files at all.
https://github.com/rwjblue/ember-holy-futuristic-template-namespacing-batman-sigil-change-codemod/blob/7b13dcd71d07932124f0eab4c7a23668e3a7dae6/bin/cli.js#L8
This is supposed to be restricting the codemod to running only on *.hbs files.

I'm running the codemod against all possible files that could contain component invocations:
ember-holy-futuristic-template-namespacing-batman-sigil-change-codemod addon/templates/**/*.hbs tests/**/*.js tests/dummy/app/templates/**/*.hbs


added condition to pear.pp for Amazon linux to prevent error if packa…

…ge_prefix is specified

Thanks for the contribution! :+1:


Clarifies Mapped Types and additional members

Resolves https://github.com/Microsoft/TypeScript-Handbook/issues/540.

Thanks for the feedback. I've made some changes, does that read better?

@dallonf need CLA signing before I can merge this

Better late than never


az storage entity insert is failing with 'tuple' object has no attribute 'replace'

az storage entity insert recently began failing
Command Name
az storage entity insert
Errors:
The command failed with an unexpected error. Here is the traceback:
PartitionKey or RowKey must be of type string.
Traceback (most recent call last):
  File "/opt/az/lib/python3.10/site-packages/azure/data/tables/_serialize.py", line 38, in _prepare_key
    return keyvalue.replace("'", "''")
AttributeError: 'tuple' object has no attribute 'replace'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/opt/az/lib/python3.10/site-packages/knack/cli.py", line 231, in invoke
    cmd_result = self.invocation.execute(args)
  File "/opt/az/lib/python3.10/site-packages/azure/cli/core/commands/__init__.py", line 663, in execute
    raise ex
  File "/opt/az/lib/python3.10/site-packages/azure/cli/core/commands/__init__.py", line 726, in _run_jobs_serially
    results.append(self._run_job(expanded_arg, cmd_copy))
  File "/opt/az/lib/python3.10/site-packages/azure/cli/core/commands/__init__.py", line 718, in _run_job
    return cmd_copy.exception_handler(ex)
  File "/opt/az/lib/python3.10/site-packages/azure/cli/command_modules/storage/__init__.py", line 409, in new_handler
    first(ex)
  File "/opt/az/lib/python3.10/site-packages/azure/cli/command_modules/storage/__init__.py", line 408, in new_handler
    raise ex
  File "/opt/az/lib/python3.10/site-packages/azure/cli/core/commands/__init__.py", line 697, in _run_job
    result = cmd_copy(params)
  File "/opt/az/lib/python3.10/site-packages/azure/cli/core/commands/__init__.py", line 333, in __call__
    return self.handler(*args, **kwargs)
  File "/opt/az/lib/python3.10/site-packages/azure/cli/core/commands/command_operation.py", line 121, in handler
    return op(**command_args)
  File "/opt/az/lib/python3.10/site-packages/azure/cli/command_modules/storage/operations/table.py", line 77, in insert_entity
    client.get_entity(partition_key, row_key)
  File "/opt/az/lib/python3.10/site-packages/azure/core/tracing/decorator.py", line 83, in wrapper_use_tracer
    return func(*args, **kwargs)
  File "/opt/az/lib/python3.10/site-packages/azure/data/tables/_table_client.py", line 609, in get_entity
    partition_key=_prepare_key(partition_key),
  File "/opt/az/lib/python3.10/site-packages/azure/data/tables/_serialize.py", line 40, in _prepare_key
    raise TypeError('PartitionKey or RowKey must be of type string.')
TypeError: PartitionKey or RowKey must be of type string.

To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

Put any pre-requisite steps here...
`rowkey=333; az storage entity insert --only-show-errors --account-name {} -t {} --if-exists fail -e \

 RowKey="$rowkey" \
<EMAIL_ADDRESS>\
  PartitionKey=P1 \
<EMAIL_ADDRESS>`

Expected Behavior
Environment Summary
Linux-5.4.0-1078-azure-x86_64-with-glibc2.27, Ubuntu 18.04.6 LTS
Python 3.10.4
Installer: DEB

azure-cli 2.37.0

Additional Context

storage


X-Air/M-Air feedback - add a "Color of channel" output parameter option

Module: Behringer X-Air/M-Air
Currently "Color of channel" shows the main output level of the channel.
the feature would be another parameter for the feedback specifying which
channel parameter to display (Gain, Pan etc etc)
For my workflow /studio use - I need to see the channel gain  on my streamdeck

I do not understand what you are asking for. Feel free to re-open with more information


Wrong focus (context) after changing desktop

From<EMAIL_ADDRESS>on 2012-07-05T03:45:14Z
Spyder Version:  2.1.10
Python Version:  2.6.5
Qt Version:      4.6.2, PyQt4 (API v2) 4.7.2 on Linux
OS:              Ubuntu 10.04
What steps will reproduce the problem?

Open file in Editor and edit it - focus is in Editor.
Change Desk(top) by mouse or keyboard shortcut.
Change it back.
Focus is in Python console. What is the expected output? What do you see instead? Focus should not change after switching desktop.

Simple window switching (Alt+Tab) does not change focus (expected behavior). I also noticed some focus-related issue with Python/IPython console (and perhaps debuging) within Spyder only but I'm not able to repeated it now.
Original issue: http://code.google.com/p/spyderlib/issues/detail?id=1111

From ccordoba12 on 2012-07-08T09:10:35Z
I'm not seeing this problem on Kubuntu 12.04. In any case, 10.04 is too old for us to give support to, given that the new LTS is 12.04.

From ccordoba12 on 2015-01-02T18:21:38Z
I fixed this annoying behavior in 2.3.0
Status: Fixed


Incorrect Section Numbering and Grammar Errors

Describe the Issue
The section numbering restarts incorrectly, and there are several grammatical errors. For exmaple, "Lets" should be "Let's"
Affected Page
https://github.com/freeCodeCamp/learn-bash-by-building-a-boilerplate/blob/main/TUTORIAL.md
Steps to Reproduce
The numbering and grammer in sections like 5.Restart Terminal and 10.Print Working Directory
Recommended fix or suggestions
Correct section numbering to be continous and fix grammar issues
Screenshots
No response

Hey,
this tutorial is using CodeRoad extension to be run - https://www.freecodecamp.org/learn/relational-database/learn-bash-by-building-a-boilerplate/build-a-boilerplate. Numbering is related to how the tutorial is structured and which tests to use. Other than being in the right order, these numbers are not expected to be continuous in the .md file.
Could you write specific cases of the grammar errors you noticed?