one manager for eah user

hello . how can  get only images  of each user  . i try insert created_by  behavior .  but it doesn´t work .. i hope you can help me . tankyou

So you want users to only show images they have uploaded to the system to show up?

yes  ,    i did it  ..   i added a  field  user id  .   and  behaviors  .
and  its  work  ..   naw  each  user  have  a   imagemanger for  own
images  ..
tankyou  for  answer  ..
2017-02-04 2:43 GMT-06:00 Bob van Leeuwen<EMAIL_ADDRESS>
So you want users to only show images they have uploaded to the system to
show up?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/noam148/yii2-image-manager/issues/17#issuecomment-277429267,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AVXxIKN-uzj6KXqV9eEYzAMhDglpWCk9ks5rZDokgaJpZM4L3FDB
.

--
Atte.
LIA. Cesar Joshue Mendez C.
Telcel . 2291 492441
<EMAIL_ADDRESS>

Could you make a pull request with your code changes? It might be interesting to implement this as a optional feature, if noam148 agrees with me. I do see the uses for this.

yes  ..   im in job right now  but  later  i send  you
2017-02-06 14:02 GMT-06:00 Bob van Leeuwen<EMAIL_ADDRESS>
Could you make a pull request with your code changes? It might be
interesting to implement this as a optional feature, if noam148 agrees with
me. I do see the uses for this.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/noam148/yii2-image-manager/issues/17#issuecomment-277796150,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AVXxILg8Z2LgPBQTxLfz-CaFtUq3vwQmks5rZ3xngaJpZM4L3FDB
.

--
Atte.
LIA. Cesar Joshue Mendez C.
Telcel . 2291 492441
<EMAIL_ADDRESS>

add blameable behaviors  ..   and    fields    created_by    and
updated_by
2017-02-06 15:56 GMT-06:00 Joshue Mendez<EMAIL_ADDRESS>
yes  ..   im in job right now  but  later  i send  you
2017-02-06 14:02 GMT-06:00 Bob van Leeuwen<EMAIL_ADDRESS>
Could you make a pull request with your code changes? It might be
interesting to implement this as a optional feature, if noam148 agrees with
me. I do see the uses for this.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/noam148/yii2-image-manager/issues/17#issuecomment-277796150,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AVXxILg8Z2LgPBQTxLfz-CaFtUq3vwQmks5rZ3xngaJpZM4L3FDB
.

--
Atte.
LIA. Cesar Joshue Mendez C.
Telcel . 2291 492441
<EMAIL_ADDRESS>
--
Atte.
LIA. Cesar Joshue Mendez C.
Telcel . 2291 492441
<EMAIL_ADDRESS>

@drivejoshue thanks to @bvanleeuwen1995 he added blameable behavior for the image manager.
It's important to run the migrate if you want to use this feature
If there any questions, let me know!


Revisit the first fit algorithm after recent speed improvements

The change in<PHONE_NUMBER>384bfa60e6bff8326e06569e78fe6a reduced full position reads substantially but still needs them every now and then to implement fragmentation minimizing allocation. Full position reads (as well as unavoidable branch misses because of the tree) are the most time-consuming operations done when allocating.
When extra fragmentation isn't that much of a problem (e.g. for a managed heap that will be eventually defragmented regardless of it) going with a biased (left-fit or right-fit) approach can result in additional speed improvements.

Initial benchmarks on my current machine show a speed improvement of about ten percent when using an always-(left|right) algorithm. While there is a measurable improvement it is not that extreme to be worth the loss of the optimal fit algorithm that reduces fragmentation.


Failed to run az acr check-health after login failure against ML ACR

This is autogenerated. Please review and update as needed.
Describe the bug
Command Name
az acr check-health
Errors:
encoding with 'idna' codec failed (UnicodeError: label empty or too long)
Traceback (most recent call last):
lib/python3.6/encodings/idna.py, ln 165, in encode
    raise UnicodeError("label empty or too long")
UnicodeError: label empty or too long

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

Traceback (most recent call last):
...
cli/command_modules/acr/check_health.py, ln 330, in acr_check_health
    _check_health_connectivity(cmd, registry_name, ignore_errors)
cli/command_modules/acr/check_health.py, ln 312, in _check_health_connectivity
    status_validated = _get_registry_status(login_server, registry_name, ignore_errors)
cli/command_modules/acr/check_health.py, ln 221, in _get_registry_status
    registry_ip = socket.gethostbyname(login_server)
UnicodeError: encoding with 'idna' codec failed (UnicodeError: label empty or too long)

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...
az acr check-health -n {} --yes

Expected Behavior
Environment Summary
Linux-5.4.8-050408-generic-x86_64-with-debian-buster-sid
Python 3.6.5
Installer: DEB

azure-cli 2.3.1
azure-cli-ml 1.2.0

Extensions:
azure-cli-ml 1.2.0

Additional Context

acr

I have realized I was using the wrong identifier for the registry.
This is not an issue anymore. However, the utility should not crash.

We can report the registry doesn't exist


Send/receive processing

Describe your question
I have two applications, one that sends data and another that receives and sends it in other topics. All this by mqttnet and mosquitto.
The application that sends data, sends it with a very accelerated flow, that is, it sends a lot of data very fast.
And the other application receives them (is subscribed) and forwards them in other topics at the speed of data arrival, that is, if a lot of data arrives, it will publish them just as fast.
If the application that sends it makes it slow, nothing happens. The problem comes when you send a lot of data and very fast, then the second application cannot process the reception and subsequent sending as fast.
Causing the following: if I leave both applications on and turn off the application that only sends, data will continue to arrive to the application that receives and sends.
Keep in mind that if the application that receives and sends only receives, nothing happens.
Attached the project where you can see this problem.
                              https://github.com/development25/MqttNetTest

Which project is your question related to?

Client
ManagedClient

To me the behavior sounds correct. The sender will send messages as fast as it can. These messages are then queued in the broker and forwarded to the receiver. If the receiver is slow the queue will grow up and the receiver will receive queued messages even if the sender is no longer sending them.

Correct. But the error does not occur when I have an application that only sends and another that only receives, even with a high volume of data.
On the other hand, if the receiving application also re-sends, then the slowing down that you mentioned above occurs. Even with a medium data volume.
Why does slowing down only occur when the receiver receives and forwards and not when it only receives?
** When the receiver forwards, it does so through the same mqttnet Client **

I assume it gets slower because sending is done in the receive handler. To receiving is blocked as long as the message is being forwarded. Depending on connection speed, QoS level and broker performance this might take a while. Things like serialization of the outgoing message and event handlers will also called in the receiver task.

Exact. Forwarding is done in the receiving controller.
But I need that as soon as the data arrives and do some operations, send it and I have not found a way to do it that is not from the reception controller.
Is there a way to prevent the reception from being blocked? Use another mqttnet client (one to send and one to receive) or fire an event when the data reception is finished (that is, when this 'Client.ApplicationMessageReceivedAsync -= MessageReceived' method finishes) or create a client/consumer queue.
Thanks for the help.

I recommend keeping an external queue which is fed from a receiving client. Another sending client should monitor the queue and send the data as soon as there is any.

Hi, I'm development25 with my other account.
Thanks, you can close the issue.


Add another overload to Wait.Until for five ignored exceptions

Need to add an additional Until<> method for taking in 5 ignored exceptions. We finally have a need for that in the IntelliTect.Selenate.Browser.IsElementInValidState() method.

Resolved with #23


[Performance] Improve score simulation performance

Motivation

Currently some characters have to do this for their combat scoring, which is over 4000 simulation runs on the card load
This comes from having to calculate:

Optimal substat distribution for body/feet/rope/sphere permutations for 48x substat benchmark
Optimal substat distribution for sphere/rope permutations for 54x substat benchmark

Goal
Improve the simulation speed / improve the optimal substat algorithm so these characters don't lag the page as much. The goal is to load the sim without a noticeable slowdown.

https://github.com/fribbels/hsr-optimizer/pull/559


question about -- prefix-mode

What is the specific meaning of -- prefix-mode ? I learned "0: no prefix, 1: 0 to random, 2: random to random, 4: chunk of pre or post utterance." But I couldn't understand what it meant.
And does it have to be set the same when train and infer?
When I train ar, can I choose 0, 1, 2, 4? When I train nar, can I choose 0, 1, 2, 4? Must train ar and nar select the same value?
thanks much !

--prefix-mode has nothing to do with AR.
For NAR, you can always use --prefix-mode=1 for simplicity.


Znode code revamp

Znode code to be updated to latest Dash masternode code and to be cleaned up.
Privatesend functionality should be totally stripped out.
Instantsend functionality to be enabled.
Spork functionality to be stripped out to prevent devs from having master key to turn on and turn off features.
Governance/voting should be disabled for the moment (or stripped out?).

Closing this issue as this is already in progress with Core upgrade under @psolstice


Split the packages of ConfuserEx

closes #146

:white_check_mark: Build ConfuserEx 363 completed (commit https://github.com/mkaring/ConfuserEx/commit/4cbaeb1b72 by @mkaring)

:white_check_mark: Build ConfuserEx 365 completed (commit https://github.com/mkaring/ConfuserEx/commit/796d2fdd9e by @mkaring)


Create AuthorizedKeysCommand

This pull-request adds a subcommand that can be used as an SSH AuthorizedKeysCommand.
The configuration is described in command-line.md.

@techknowlogick you mean add the NO_AUTHORIZED_KEYS_FILE=false setting to custom/conf/app.ini?
Hmm. I think if it's going to go in to the suggested app.ini by default, I should change it to CREATE_AUTHORIZED_KEYS_FILE=true so that we don't have a double negative.

That’s correct. Your idea of no double negatives is a good one.
On Wed, Oct 31, 2018, at 4:16 PM, zeripath wrote:

@techknowlogick[1] you mean add the NO_AUTHORIZED_KEYS_FILE=false
setting to custom/conf/app.ini?> Hmm. I think if it's going to go in to the suggested app.ini by
default, I should change it to CREATE_AUTHORIZED_KEYS_FILE=true so
that we don't have a double negative.> — You are receiving this because you were mentioned. Reply to this
email directly, view it on GitHub[2], or mute the thread[3].

Links:

https://github.com/techknowlogick
https://github.com/go-gitea/gitea/pull/5236#issuecomment-434831743
https://github.com/notifications/unsubscribe-auth/AAKBZcIyGdoECMvsqIoFxwaGdsgqRrpZks5uqgUbgaJpZM4YEyG6

Sorry I just noticed that XORM was reporting stuff on stdout that would conflict with the authorized_keys standard so adjusted the code.

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@c8b4c7a). Click here to learn what that means.
The diff coverage is 100%.

@@            Coverage Diff            @@
##             master    #5236   +/-   ##
=========================================
  Coverage          ?   37.49%
=========================================
  Files             ?      310
  Lines             ?    45924
  Branches          ?        0
=========================================
  Hits              ?    17220
  Misses            ?    26232
  Partials          ?     2472

Impacted Files
Coverage Δ

models/ssh_key.go
38.96% <100%> (ø)

modules/setting/setting.go
48.31% <100%> (ø)

Continue to review full report at Codecov.

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

I guess this request partially closes #1870?

@zeripath I am looking at this to use it in the docker and remove the write to authorized_keys file but I can figure why the -type flag is required since not needed and seems not used. Do you have any insight ?


Improve SAMv7 common folder approach

Summary
Reorganize more code to common folder for SAMv7 based boards
Impact
SAMv7 based devices
Testing
Pass CI

@pkarashchenko there is a nxstyle warning need fix:
home/runner/work/incubator-nuttx/incubator-nuttx/nuttx/boards/arm/samv7/same70-xplained/src/same70-xplained.h:108:3: warning: #include outside of 'Included Files' section

@pkarashchenko there is a nxstyle warning need fix:
home/runner/work/incubator-nuttx/incubator-nuttx/nuttx/boards/arm/samv7/same70-xplained/src/same70-xplained.h:108:3: warning: #include outside of 'Included Files' section

Done


go.mod: Fix module path to match best practices

https://golang.org/doc/modules/gomod-ref#module-notes
go install currently fails with:
go install: github.com/jonasvinther/medusa@latest: <EMAIL_ADDRESS>parsing go.mod:
	module declares its path as: medusa
	        but was required as: github.com/jonasvinther/medusa

Hi @LinAnt
Thank you for this. I'm also still learning the best practices for go. Didn't know about this one :)


Avoiding struct method call overhead of extract_pyclass_ref_mut

Firstly, thanks for PyO3, it's great!
This issue is being opened following a  [chat post on gitter].(https://matrix.to/#/!AAhjIWoaKSExrkkhlG:gitter.im/$9gOL75NMgSzKVrKugcQUMBUFcy5QMpLvxuJafAHLieU?via=gitter.im&via=matrix.org&via=nitro.chat)
In short, consider these performance ordered cargo bench results:
running 5 tests
test tests::bench_xoshiro_struct       ... bench:  56,930,651 ns/iter (+/- 145,472)
test tests::bench_lcg_struct           ... bench:  86,424,781 ns/iter (+/- 337,028)
test tests::bench_lcg_static_lazy      ... bench:  86,614,389 ns/iter (+/- 781,944)
test tests::bench_lcg_static           ... bench:  87,029,922 ns/iter (+/- 353,495)
test tests::bench_xoshiro_static_lazy  ... bench: 108,713,707 ns/iter (+/- 1,500,070)

and contrast that to these timeit results:
lcg_static:            2.2382071590000123
lcg_static_lazy:       2.2475717499983148
xoshiro_static_lazy:   2.333924032998766
lcg_struct:            2.603333091999957
xoshiro_struct:        2.6484997750012553

See something odd there? 🤓  Hey structs! What is going on!?!? Sure we have overhead but all of these test functions are returning a simple type to python and, yeah, the structs have to be mutable but for xoshiro_struct to go from being about twice as fast as the lazy to about 14% slower is unexpected, and to see both of the 'struct' versions leading in the Rust benches to trailing in the Python timeits is unexpected.
Running some long pytest loops on these to get enough samples to see what's going on reveals that our two structs are getting penalized for being structs:

The question is can this be avoided through some hint/annotation to short-circuit that extract/type-info stack?
Here's one of the minimal structs:
#[pyclass]
pub struct XoshiroStruct {
    state: Xoshiro256Plus,
}

impl XoshiroStruct {
    fn next_state(&mut self) -> u64 {
        self.state.next_u64()
    }
}

#[pymethods]
impl XoshiroStruct {
    #[new]
    pub fn new() -> Self {
        Self {
            state: Xoshiro256Plus::from_entropy(),
        }
    }

    pub fn do_something(&mut self) -> u64 {
        do_it(self.next_state())
    }
}

Here's the profile: pytest 2024-02-15 22.59 profile.json.gz
And here's a repo with these examples: https://github.com/Thell/struct_perf

Generally speaking, some amount of overhead is unavoidable due pervasive shared mutability applied in Python which requires us to use interior mutability patterns to enable safe Rust code from obtaining a &mut Self at all.
You might be able to reduce that overhead by opting out of dynamic borrow check by marking your pyclass as frozen using #[pyclass(frozen)] (check the guide for details). This does imply that do_something must take &self and hence you need to manage the interior mutability yourself. But since you seem to be benchmarking small PRNG, using std::cell::Cell should be possible with doing reference checking, e.g.
let mut state = self.state.get();
let value = self.next_state();
self.state.set(state);

Thanks for the reply @adamreichold. Unfortunately that doesn't seem to have negated the "extract" cost, although it is now extract_pyclass_ref instead of extract_pyclass_ref_mut. :)

So from your flamegraphs it looks like the time is dominated by retrieval of the type object, which in general is a necessary part of the type check. I've got a couple of thoughts here:

@Thell can you try using lto = true in your Cargo.toml if you are not already doing so? I wonder if more aggressive inlining can help here.
I wonder if this is a hint that we should be exploring storing these type objects within in the module state; the "lazy type object" machinery seems to be doing a lot of work. (This would be a bigger refactor of PyO3).
We don't currently have a flag to opt out of the type check. Depending on the protection that CPython gives us, this type check may actually not be needed at all.

@samuelcolvin might have hit the same thing when observing "methods overhead" in #3827

@davidhewitt It's set already.


Add is:resolved filter to topic filter

This PR added ability to filter topic, but the general search filters like is:resolved are not available on this filter. This would be quite useful to only view topics by their resolved status. I am aware that the search bar on the top of the app allows you to search by is:resolved but it's not quite the same.

Thanks for the suggestion, @devbharat ! I started a conversation about the design for this feature here.

@zulipbot claim

@zulipbot claim

Hey @heyiming , it has been some time since you last updated the PR. Are you still working on the issue, or would you like me to take over? Thanks.

Hey @heyiming , it has been some time since you last updated the PR. Are you still working on the issue, or would you like me to take over? Thanks.

Feel free to.

@zulipbot claim

Any update on this? I filed #31029 for the exact same issue, but I see it has been about a year without any movement.

https://github.com/zulip/zulip/pull/26803 was recently resolved, so this issue should be unblocked now.

I just came searching for this exact feature.  :wink:
Thank you!

For this to be most useful, it should provide an option to toggle the display of resolved items at both channel and thread levels. For example, when we route tickets through a Zulip channel, we don't want agents to see resolved tickets while looking for their next one. Similarly, we use the GitHub bot integration and prefer resolved messages not clutter the view after a PR or action.
As the discussion moves from the left sidebar to the More Topics view, it’s uncertain if the default left sidebar view will have this feature. If not, resolved messages will still clutter the left sidebar, requiring users to manually hide them.
This is the same thing users need to do now, and we like Zulip as it is, so don't take this as a complaint. It just seems like the best place to raise the question. Will the current approach address this use case Thanks!

Agreed - as  a filter it is useful - but being able to set a channel to show unresolved topics above resolved topics would be  great - one of the issues is thatthe act of resolving an issue pushes it to the top of the channel so after resolving 10 issues it quickly pushes unresolved items down the list.

@zulipbot claim


List all the dependencies of ArchCI

github.com/astaxie/beego
github.com/golang/glog
go get github.com/lib/pq

The dependencies are changing. We can get these in godep or using go get :smiley:


bolding of app notes

To make them stand out better, I added bolding to the Application Note text.

Italics have been added. This probably needs to be done on the rest of the docs as well (not sure off hand).


[Improve] add a new blog( Joyme)

The official account link is as follows: https://mp.weixin.qq.com/s/mMwKHfLnJe4zXj1Bua0grw, and I changed the term streamx to streampark

https://github.com/apache/incubator-streampark/issues/3161


[AutoDiff] Fix unexpected nondifferentiability error.

Fix unexpected error when differentiating protocol requirements and class
methods with multiple @differentiable attributes.
Various gardening included.
Resolves TF-676.

@swift-ci Please test tensorflow


Adding a note to gossip-based cluster creation on London AWS Region

Hi,
Could you please add at kubernetes-aws-workshop/cluster-install/readme.adoc file the following note when you're executing kops create cluster as gossip-based?

NOTE: If you're using London region(eu-west-2) you should add --cloud aws as kops is not identifying that eu-west-2 indicates AWS.Further info https://github.com/kubernetes/kops/issues/1267

if not, it is failing as follows:

unable to infer CloudProvider from Zones (is there a typo in --zones?)

Thanks

@andresguisado confirming this as an issue. Can you send a PR with this change?


Treeview > Docs > Selectable > Missing references

Issue: # 1531
What I did

Added references in Selectable example.

Checklist

[X] changeset has been added
[X] Pull request description is descriptive
[X] I have made corresponding changes to the documentation
[X] New and existing unit tests pass locally with my changes
[N/A] I have added tests that prove my fix is effective or that my feature works

How to test

Go to Docs
Open Treeview
Scroll to Selectable example > Open in Codesandbox
Interact with demo and verify no errors are thrown from missing references

All the CS links open without errors, but I noticed this:


To build the docker image I need to clone CPython from private GitLab

Excellent work! I am learning it. Here is a little question:
I found that many docker images used in $PROJECT_PATH/exp are based on dmerge-base image. The Dockerfile for building dmerge-base image is in $PROJECT_PATH/samples/knative/dockerfiles. dmerge-base image is based on cpython-build image, and building cpython-build image requires cloning CPython from private GitLab.
FROM ubuntu:16.04 as Build
ARG ACCESS_TOKEN=token
WORKDIR /usr/src
RUN apt-get update &&
apt-get install -y git build-essential wget curl tar libffi-dev zlib1g-dev libbz2-dev
libssl-dev libncurses-dev libsqlite3-dev libreadline-dev tk-dev gcc make cron locales
cmake autoconf automake libtool
RUN git clone https://docker:${ACCESS_TOKEN}@ipads.se.sjtu.edu.cn:1312/distributed-rdma-serverless/distributed-merge/cpython.git my_python_repo &&
cd my_python_repo &&
git checkout 3.7 &&
./configure --enable-optimizations &&
make -j build_all &&
make -j install &&
make clean &&
cd .. &&
rm -rf my_python_repo &&
ln -s /usr/local/bin/python3.7 /usr/local/bin/python &&
ln -s /usr/local/bin/pip3 /usr/local/bin/pip &&
pip install --upgrade pip
wget https://bootstrap.pypa.io/get-pip.py
RUN python -m pip install Flask==2.0.3 requests cloudevents redis numpy==1.21.6 yfinance lightgbm==2.0.7
Is there anything special about this CPython? Can I use https://github.com/python/cpython instead? Thank you very much.

We made some modifications on cpython, you can get our cpython-build image by:
docker pull hongruixie/cpython-build

Thank you very much for your answer. I will try it.

Maybe I need to use cpython-build image to build cpython-base image, and here is
/root/dmerge/samples/knative/dockerfiles/Dockerfile-cpython-base:
FROM val01:5000/cpython-build as build

**WORKDIR /app**

# Install dependencies
RUN rm -f requirements.txt && \
    echo "cython" >> requirements.txt && \
    echo "numpy==1.19.3" >> requirements.txt && \
    echo "Flask==2.0.3" >> requirements.txt && \
    echo "requests" >> requirements.txt && \
    echo "yfinance" >> requirements.txt && \
    echo "cloudevents==1.9.0" >> requirements.txt && \
    echo "redis" >> requirements.txt && \
    echo "lightgbm==2.0.7" >> requirements.txt && \
    echo "urllib3==1.25.3" >> requirements.txt && \
    echo "minio" >> requirements.txt && \
    echo "fastapi" >> requirements.txt && \
    echo "gunicorn" >> requirements.txt && \
    echo "uvicorn" >> requirements.txt && \
    pip install -r requirements.txt

# LD_PRELOAD related
COPY . .
RUN ls && \
    cd dynlib-wrappers/jemalloc-wrapper && \
    mkdir -p build && cd build && \
    cmake .. && \
    make -j && \
    cp libmalloc_wrapper.so /usr/local/share/libmalloc_wrapper.so && \
    cd ../../ && rm -rf jemalloc-wrapper

However, when I use

docker pull hongruixie/cpython-build

and

ls /
bin  boot  dev  etc  home  lib  lib64  media  mnt  opt  proc  root  run  sbin  srv  sys  tmp  usr  var

It seems that there is no /app. Maybe I can not build cpython-base image.
Could you please provide some suggestions on how I can further search for a solution? I will do my best to explore further. Thanks.

If the WORKDIR doesn’t exist, it will be created. So it's ok if no /app in cpython-build image. You can follow the makefile in samples/knative/dockerfile to build cpython-base (you may need to check the image name in makefile and dockerfile). You can also get it by:
I have pushed some necessary images.

Since I have run Microbenchmark and Application evaluations, I found some images are missing:
dmerge-micro
dmerge-finra
dmerge-ml-pipeline
dmerge-digital-minist
dmerge-wordcount
dmerge-test
dmerge-thpt
Maybe they are not in DockerHub hongruixie now. Could you please provide these images? Thanks a lot!

I solved these problems. I found that there were Dockerfiles in the corresponding directories in $PROJECT_PATH/exp. I used docker build to generate all the above images based on hongruixie/dmerge-base.
It is worth mentioning that after I built the image, an error occurred during pod startup, there lacks async_timeout for python runtime. I add a line to requirements.txt:
async_timeout
After that, these images I generated by myself all run correctly.

Glad to see it run correctly and thank you for mentioning that.
I pushed these images in case other users find similar issue


Allow configurations through manifold-connection

Reason for change

The manifold-connection was supposed to allow us to configure certain things, like which environment to point to, or how long to wait before timing out. This became broken along the way as we wrestled with state tunnels and race conditions.
This change restores configurability. To accomplish this, the manifold-connection calls an initialize function on the connection when it loads. The restFetch and graphqlFetch functions will wait for the connection state to be initialized before proceeding.
The consequence of this is that no component can make network calls unless the manifold-connection is present on the page. This is how we originally intended it to work, so this is fine.
In the future, the initialize function will also accept the auth token, which will similarly be passed along by manifold-connection, allowing us to eliminate the manifold-auth-token component.
Testing

Tests should still pass, and now you should be able to set env="stage" on manifold-connection and have network calls go to staging.
Checklist

[ ] CHANGELOG: The Unreleased section of CHANGELOG was updated
[ ] Prop changes: docs were updated
[ ] Prop changes: E2E tests were updated, testing from the highest level possible
[ ] Platform testing: If this change should be tested against a platform, has it been?

Suggestion: would it be possible to add a select Storybook Knob to <manifold-marketplace> to select the env? I’d like to be able to at least switch between listing stage and prod products to make sure this is working.


Markdown inside block tag

Added support for syntax, where markdown is processed inside block html tag if markdown attribute is set to 1.
For example
<div markdown="1">
## Markdown header
</div>

+1

+1

+1

Closing as stale and replaced - see #956


Replaying audio

I'm sure I'm missing something super obvious, but what do I need to do to keep replaying a sound?  Maybe I'm missing that, too?
Thanks!

Sorry, I am no longer using timbre.js.
If my memory is correct, the below code maybe replay repeatedly.
var T = require("timbre");
var audio_src = T("audio", {}).loadthis("cicada_2.wav");
setInterval(function(){
    console.log("trigger");
    audio_src.clone().play().on("ended", function() {
      this.pause();
    });
}, 2000);

Thank you for the quick response!
So timbre isn't really supported anymore? I wonder if you have any other suggestions for node.js audio modules that can easily trigger samples.

The WebAudio API has most of the convenience and feature you're probably looking for.
There's a number of great tutorials.
I wrote a very simple wrapper on top of the audio api in order to do what you're talking about. It's called groove.js. It's not as fleshed-out as you'll probably want it to be, but it got me started on building this project.

Thank you for the suggestion, @jbielick.
I'm working in node.js and was drawn to timbre.js because it works with the speaker module. I do see that there is a web audio module for node, though, so maybe that's the better direction.

ah, interesting. I hadn't gotten to that point yet, but I'm also interested in building / sequencing the patterns built in the browser on the server side so they can be written to file (wav). Let me know what you find if don't mind!

I think I'm going to stick with timbre for my current prototype now that I have sounds triggering. I'll keep an eye out for other options.

So has timbre become redundant because of the web audio api?That's a pity, I really liked this project. Keep up the good work!


refactor: Extract config to separate module.

Use single logger named dvc_studio_client for all modules.

I just merged it because it didn't feel conflictive

Do we need to update https://github.com/iterative/dvclive/blob/c1781a950e00792382d01f91e01dd52a6c960bb4/src/dvclive/studio.py#L7 and https://github.com/iterative/dvc/blob/fc9af7a97691e7586fdcec85e36754d8d953dc56/dvc/repo/experiments/queue/base.py#L20?

For correctness, yes, but the imports should actually work


Wrong docs link

Is this a regression?
No
Description
Doc link in Github repo is out of date. Still says https://datorama.github.io/akita/ instead of https://opensource.salesforce.com/akita/
Please provide a link to a minimal reproduction of the bug
No response
Please provide the exception or error you saw
No response
Please provide the environment you discovered this bug in
No response
Anything else?
No response
Do you want to create a pull request?
No

Updated, thanks!


fix: proxy llm raise exception when proxy llm response has error

Close #302

@csunny please review.


style: Enable check for camelcase

It has been turned off because of the JSON-LD naming convention. Now, we use decorators to transform camelCase JS properties to the correct naming convention.

Codecov Report

Merging #372 (9c71871) into main (ea91559) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #372   +/-   ##
=======================================
  Coverage   87.99%   87.99%
=======================================
  Files         226      226
  Lines        4223     4223
  Branches      520      520
=======================================
  Hits         3716     3716
  Misses        507      507

Continue to review full report at Codecov.

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


Upgrade the link TD to TH

To match the style of the model links the each item should be in a TH rather than a TD.
Will submit a pull request :)

Closing in favor of #46


added list of url for regions

PR summary
added urls list based on region in GetServiceURLForRegion method
PR Checklist
Please make sure that your PR fulfills the following requirements:

[ ] The commit message follows the Angular Commit Message Guidelines.
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

Current vs new behavior

Does this PR introduce a breaking change?

[ ] Yes
[x] No

Other information

Another PR raised, thus closing this


master is broken

And that seems to break all of the stability contracts I had in mind.

I don't forsee the codebase stabilizing anytime soon... there's just so much new code, it'll take a long while for it to all settle.
I'm just going to have to put up with it.

This is less urgent, now that master is no longer the default branch.

I guess I'll focus on bug smashing until a while after Emacs 25 is released and release then.

Well, and then 25.1 introduced a bunch of new bugs.... :(


keras.layers.Add() uses 'tf_op_layer_add', which can not be renamed

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): No
OS Platform and Distribution (e.g., Linux Ubuntu 16.04):
Linux Ubuntu 18.04
TensorFlow installed from (source or binary):
pip
TensorFlow version (use command below):
2.1
Python version:
3.6.9

Describe the current behavior
I currently have a trained model and I want to add the output of an intermediate layer with a numpy array that I have. I first converted the numpy array to a tensor using tf.keras.backend.constant, and then I used tf.keras.layers.Add() to sum them up.
But I got the error: The name "tf_op_layer_add" is used 2 times in the model. All layer names should be unique. Because there exists another add operation in the model. So I tried to name this add layer, and I got this error: Can't set the attribute "name", likely because it conflicts with an existing read-only @property of the object. Please choose a different name.
Normally, tf.keras.layers.Add() should be of type <tensorflow.python.keras.layers.merge.Add>, but in my case, it became into <tensorflow.python.keras.engine.base_layer.TensorFlowOpLayer>, which does not allow me to change its name.
I simply want to change the name of that tf.keras.layers.Add() layer, is there a way I can do that or another way around? Thanks!
Standalone code to reproduce the issue
Here's a way to reproduce the error. You'll see that tf.keras.layers.Add() uses tensorflow operation layer which can not be named.
bias = np.ones((32, 32, 3))
bias = tf.keras.backend.constant(bias)
bias = keras.backend.reshape(bias, [-1,32,32,3])

inputs = tf.keras.Input(shape=(32, 32, 3))
x = tf.keras.layers.Conv2D(filters=3, kernel_size=(3, 3),padding = 'same')(inputs)
x = tf.keras.layers.Add(name = 'add_1')([x, bias])
model = tf.keras.Model(inputs, x)
model.summary()
add_layer = model.get_layer('tf_op_layer_add')
add_layer.name = 'add_1'

@CXYCarson
can you please refer to these links and let us know if it helps:
link1 link2

Those two links helped, thanks a lot!


Update descriptions on list API

Coverage remained the same at 69.025% when pulling e6ea1847cad590e7e40a319bb66b6fb3367b70b2 on doc into ef05d615854743f27e000513e45bc842f01c5ca4 on master.


fix: fix version console log

Deploy preview for netlify-cms-www ready!
Built with commit aacb3970e0a031878d6923abb352d2859b3b4233
https://deploy-preview-1528--netlify-cms-www.netlify.com

Deploy preview for cms-demo ready!
Built with commit aacb3970e0a031878d6923abb352d2859b3b4233
https://deploy-preview-1528--cms-demo.netlify.com


english only for large-v2?

Wondering if the statement on the readme is correct "drop-in replacement for Whisper on English speech recognition" - does this mean even large-v2 model is english only? Thanks!

Looking at the paper, the distilled version was only trained on English data. I am interested in evaluating the model on Mandarin Chinese data once it is released, to see how well it performs compared to the full model.

Same. Interested in Serbian.

We'll be releasing training code next week to facilitate anyone in the community to distill Whisper on their choice of language. In the mean-time, you can still run speculative decoding with the openai/whisper-tiny assistant to get a significant speed-up to inference: https://github.com/huggingface/distil-whisper#speculative-decoding

Fantastic~ Should we expect the speedup to be less for non-English audio on the English distilled model? Not familiar with the ins and outs of speculative decoding.

Fantastic~ Should we expect the speedup to be less for non-English audio on the English distilled model? Not familiar with the ins and outs of speculative decoding.

That really depends on how many decoder layers you will distill the model to. If you can get away with just two decoder layers in other languages, then the speed-up will be the same!

Hi, I meant if there is any advantage to using your pretrained distilled model as an assistant model to the original large model on non-English inputs.

Just tested this and seems no speedup, but that is expected given the difference in training distribution between the base and distilled. Might try my hand at distilling my own model, but not sure where to get good data from :sweat_smile:
Nice work all!

You can already try using one of the smaller pre-trained Whisper checkpoints as the assistant model to large-v2. The pre-trained multilingual Whisper models will have knowledge of the same languages as large-v2, so can be used as an assistant model. To do this, just swap out the assistant_model_id for the id of the model on the Hub, e.g. try using openai/whisper-tiny as the assistant model in [this codesnippet]. We got a 2x speed-up doing this for English ASR.
The Common Voice dataset is always a good starting point for finding multilingual ASR data!

@sanchit-gandhi That's a good idea (to both points) actually. Thanks for the suggestions.

The first release of Distil-Whisper will be for English. We'll be releasing training code next week to facilitate anyone in the community to distill Whisper on their choice of language. In the mean-time, you can still run speculative decoding with the openai/whisper-tiny assistant to get a significant speed-up to inference: https://github.com/huggingface/distil-whisper#speculative-decoding Just swap out the assistant model id for the desired assistant model

Hi, i replace the assistant model id with open/whisper-tiny. Then load it as follows.
assistant_model = AutoModelForSpeechSeq2Seq.from_pretrained(    args.assistant_model, torch_dtype=torch_dtype, low_cpu_mem_usage=True, use_safetensors=False )
assistant_model.to(device)
However, i meet the following error.
RuntimeError: Given groups=1, weight of size [384, 80, 3], expected input[1, 1, 1500] to have 80 channels, but got 1 channels instead


refactor(render.md): init translate from english to indonesia

Closes #441
Description
Translate the render page.
Page URL: https://id.react.dev/reference/react-dom/render

Close this PR, have been translated.


Publish deb-src packages for ROCm

As per the subject. Currently, only the binary debs are available.
In cases like issue 1236, working around dependencies that are not available (and not strictly required), it would be much easier to take a deb-src, tweak what is needed and then build one's own packages from that, rather than having to take apart a binary package or forcing installation and breaking the dependency tree.

Thanks @klausman for reaching out.
I will check this for you and get back asap.

Hi @klausman
I got an update for you.
We only support Ubuntu 18.04 and 20.4 officially. This python3.8 is one of the reason we cannot support 16.04 because it does not have python3.8. Supporting other OS/versions are expensive in the sense that development teams need to come up with different package dependency list, and we need to have that environment to develop and test. Even though Debian is very close to Ubuntu, they still have minor difference in package versions, etc. so we cannot support.
We can't provide deb-src package as of now which depends on every component team. Some packages have non-open source code. We do have all the source code (for open source packages) available on https://github.com/RadeonOpenCompute/ROCm . Even with the source code, it will be very difficult for user to build the package themselves (set the correct environment and get all the dependencies). We have a task to open source our build instruction but that still need some time (pass all the legal procedures).
Just to solve your issue for now, it will be much much easier to break down the binary package and modify the dependency manually than to build it from source code. We recommend to follow the workaround given in issue #1236, but this is not officially supported method.
Hope it clarifies.
Thank you.

@ROCmSupport
I think there is only one close-source component - hsa-amd-aqlprofile. But even I didn't install it, ROCm can run properly.
Does ROCm have a plan to open-source it?

@ROCmSupport if possible there should be a clear list of non open source packages that are optional, the power of ROCm is being open source and some clarity would really be great :)

Agree with you @elukey.
But we can't provide deb-src package as of now which depends on every component team, which needs some discussion and plans.
Anyway, let me talk to our BU team for their inputs.
Thank you.


Health bot - Package publish validation  should list packages as publish_to: none

Currently the health bot package publish validation omits packages that have publish_to: none in their pubspec.
Maybe we should consider listing them? (E.g. we were confused by why the packages where not showing up.)
Possible downside: any example packages inside a package will start showing up as well. Can we somehow identify packages which are temporarily set to publish_to: none and ones which are meant to always stay publish_to: none? For example in mono repos all packages in pkgs/xxx should be published but packages in pkgs/xxx/example not. But that feels fragile.
cc @mosuem

We have the ignore_packages glob, which could be set to ignore anything beneath an example/ folder by default, and then remove the special-casing of publish_to: none.


[FEATURE] Redesign Options Page

Redesigns the options page for the extension.
Also simplifies the process for setting error messages - instead of authenticationCheck: { success: false, message: "Failed to login" }  we're now just using authenticationErrorMessage: "Failed to login" since we can tell the success state from the presence of a message

Before
After

Completed flow

Save screen

Default screen

Authentication error

API Key warning

(After taking all of the above screenshots I decided to change the workspace selector to divide workspaces into two lists only if there are more than 5. Therefore:

I just couldn't be bothered to go take all the screenshots again)

Idea: What if we change the radio buttons to a select?

Idea: What if we change the radio buttons to a select?

@puemos
Honestly I'm not too sure what the best practice is for one or the other.
General consensus seems to be "if there's 6-7 or more items, or the items are very similar, use a select".
https://joechiang.com/post/when-use-radio-buttons-select-dropdowns
https://ux.stackexchange.com/questions/456/when-should-i-use-a-select-box-instead-of-radio-buttons
https://blog.prototypr.io/7-rules-of-using-radio-buttons-vs-drop-down-menus-fddf50d312d1
I would argue that radio buttons suit this use case more, since the options are all completely different, there's no recommended default, & it's helpful to see them all at a glance.
Is there any information on the average number of workspaces a user is in?


Support Alternate Registry

Add a struct Registry to store the information of a registry, includes dl in it.
Find the registries need to be synced from ~/.cargo/config.toml and Cargo.lock. The cargo config should include the dl of the registry, like this.

[registries]
my-registry = { index = "https://my-intranet:8080/git/index", dl = "http://<IP_ADDRESS>/api/v1/crates" }

The registries that collected at the beginning will be used to mirror and sync itself. The registry stored in krate's source will be used to mirror and sync the crate.
Sync the registries and crates parallelly.

Thanks for the PR! I have other things to do atm, but hopefully can test this locally on our internal repo which uses crates from a private registry sometime this week.
In the meantime, I left a few comments on things that could be cleaned up a bit.

I appreciate your comments. All improvements and bugs will be processed in 2 days. I hope it could help.

Had to refactor a bit in #150, sorry it took so long to get around to this!


spec-cleaner crashes when 'cleaning' bundle-lang-common spec files

Spec-cleaner is being used in order to get the bundle-lang-common (autogenerated) spec files somewhat readable.
Since a recent update this seems no longer to work. My history of spec-cleaner:

2017-05-22 14:33:43|install|spec-cleaner|0.9.5-1.1|noarch||repo-oss|c6b8e5b39062beaa7784c0abd569b636027940aa|
2017-06-13 13:41:24|install|spec-cleaner|0.9.6-1.1|noarch||repo-oss|877daf3bd821540723b3957b42e2660764c67e44|
2017-06-17 15:52:02|install|spec-cleaner|0.9.7-1.1|noarch||repo-oss|5229d346319f696e06a1d6620e7a5fdd7283ec37|

The last time I can claim that this was working must be June 12 (when the package was last updated)
How to reproduce:
osc co openSUSE:Factory/bundle-lang-common
cd openSUSE:Factory/bundle-lang-common
spec-cleaner bundle-lang-common.spec
usually the script is started with -i, but it makes no difference)
This leads to this error:
Traceback (most recent call last):
  File "/usr/bin/spec-cleaner", line 11, in <module>
    load_entry_point('spec-cleaner==0.9.7', 'console_scripts', 'spec-cleaner')()
  File "/usr/lib/python3.6/site-packages/spec_cleaner/__init__.py", line 114, in main
    cleaner.run()
  File "/usr/lib/python3.6/site-packages/spec_cleaner/rpmcleaner.py", line 277, in run
    self.current_section.output(self.fout, self._check_for_newline(new_class, line), new_class.__name__)
  File "/usr/lib/python3.6/site-packages/spec_cleaner/rpmpreamble.py", line 486, in output
    lines = self.paragraph.flatten_output(self.subpkglicense)
  File "/usr/lib/python3.6/site-packages/spec_cleaner/rpmpreambleelements.py", line 314, in flatten_output
    self.items[i] = self._remove_duplicates(self.items[i])
  File "/usr/lib/python3.6/site-packages/spec_cleaner/rpmpreambleelements.py", line 229, in _remove_duplicates
    if item.name == element.name and item.prefix == element.prefix:
AttributeError: 'str' object has no attribute 'name'

Thanks! Hot-patched my local install based on your diff and this indeed works now


AWS Lambda under Python 3.8 is currently broken

It seems they have done some updates on the runtime that broke our integration.

Seems to work again

Thanks for notifying, let's try it out.

I'm also facing issues with AWS lambda and python3.8 runtime.
It was working just fine 20 days ago (have some entries on sentry server), currently it's not working.
I've tested following code:
import json
import sentry_sdk
import logging
from sentry_sdk.integrations.aws_lambda import AwsLambdaIntegration

sentry_sdk.init(
    "[hidden]",
    integrations=[AwsLambdaIntegration()],
    debug=True
)

def lambda_handler(event, context):

    logging.error('this will get logged')

    # this will not get triggered
    raise IndexError

    return {
        'statusCode': 200,
        'body': json.dumps('Hello from Lambda!')
    }

Here's the lambda execution results
Response:
{
  "statusCode": 200,
  "body": "\"Hello from Lambda!\""
}

Request ID:
"ecc62a58-abd1-4d2b-832c-697cfb81bb89"

Function logs:
START RequestId: ecc62a58-abd1-4d2b-832c-697cfb81bb89 Version: $LATEST
[ERROR]	2020-07-28T09:43:21.823Z	ecc62a58-abd1-4d2b-832c-697cfb81bb89	this will get logged
 [sentry] DEBUG: Flushing HTTP transport
[DEBUG]	2020-07-28T09:43:22.839Z	ecc62a58-abd1-4d2b-832c-697cfb81bb89	Flushing HTTP transport
 [sentry] DEBUG: Sending event, type:null level:error event_id:01e178eb22864dc6ae242309d8844717 project:[hidden] host:[hidden]
 [sentry] DEBUG: background worker got flush request
[DEBUG]	2020-07-28T09:43:22.840Z	ecc62a58-abd1-4d2b-832c-697cfb81bb89	Sending event, type:null level:error event_id:01e178eb22864dc6ae242309d8844717 project:38 host:sentry.sysbee.net
[DEBUG]	2020-07-28T09:43:22.859Z	ecc62a58-abd1-4d2b-832c-697cfb81bb89	background worker got flush request
 [sentry] DEBUG: 0 event(s) pending on flush
[DEBUG]	2020-07-28T09:43:22.979Z	ecc62a58-abd1-4d2b-832c-697cfb81bb89	0 event(s) pending on flush
 [sentry] DEBUG: background worker flushed
[DEBUG]	2020-07-28T09:43:23.113Z	ecc62a58-abd1-4d2b-832c-697cfb81bb89	background worker flushed
END RequestId: ecc62a58-abd1-4d2b-832c-697cfb81bb89
REPORT RequestId: ecc62a58-abd1-4d2b-832c-697cfb81bb89	Duration: 1291.55 ms	Billed Duration: 1300 ms	Memory Size: 128 MB	Max Memory Used: 64 MB	Init Duration: 220.85 ms

In this case logging.error will be sent as an event to sentry, however raised exception will not.
If I omit the logging part, nothing gets to sentry server.
And everything just works as expected on python3.7 runtime
Running the function code locally with python3.8 works just fine.

I also have same problem today.
In my environment, It seems bootstrap is not patched well.
import sentry_sdk
from sentry_sdk.integrations.aws_lambda import AwsLambdaIntegration
import traceback

sentry_sdk.init(
    dsn="*****",
    integrations=[AwsLambdaIntegration()]
)

def hello(event, context):
    traceback.print_stack()

This code returns
  File "/var/runtime/bootstrap.py", line 486, in <module>
    main()
  File "/var/runtime/bootstrap.py", line 474, in main
    handle_event_request(lambda_runtime_client,
  File "/var/runtime/bootstrap.py", line 131, in handle_event_request
    response = request_handler(event, lambda_context)
  File "/var/task/handler.py", line 13, in hello
    traceback.print_stack()

on lambda Python3.8.
handle_event_request is not patched.
On the other hand, on lambda Python3.7,
  File "/var/runtime/bootstrap", line 9, in <module>
    main()
  File "/var/runtime/bootstrap.py", line 365, in main
    event_request.deadline_time_in_ms)
  File "/var/task/sentry_sdk/integrations/aws_lambda.py", line 136, in sentry_handle_event_request
    lambda_runtime_client, request_handler, *args, **kwargs
  File "/var/runtime/bootstrap.py", line 131, in handle_event_request
    response = request_handler(event, lambda_context)
  File "/var/task/sentry_sdk/integrations/aws_lambda.py", line 48, in sentry_handler
    return handler(event, context, *args, **kwargs)
  File "/var/task/handler.py", line 13, in hello
    traceback.print_stack()

handle_event_request is replaced to sentry_handle_event_request.

Hey all, we'll have resources to fix this in the next two weeks. Just for my understanding, is downgrading to 3.7 a feasible workaround for everybody right now?

I

Hey all, we'll have resources to fix this in the next two weeks. Just for my understanding, is downgrading to 3.7 a feasible workaround for everybody right now?

I was trying to upgrade when a noticed the problem. I will hold the upgrade for now, thank you for the reply.

Hey all, we'll have resources to fix this in the next two weeks. Just for my understanding, is downgrading to 3.7 a feasible workaround for everybody right now?

We can't easily downgrade to 3.7. We will hope for a fix sooner rather than later.

0.16.3 is out which fixes the problem.

same problem now on python 3.9, can anyone help?

ok, found issue for 3.9
https://github.com/getsentry/sentry-python/issues/1407
but even on 3.8 when i raise Exception by my self it is not capturing!


Fix FlowRouter referrer url

Current referrer routes for FlowRouter are broken. We record the Referrer URL with the value of context.path which returns FlowRouter's raw path (ex: /posts/:slug/:tag). We want the actual URL. This commit achieves that through FlowRouter.oldExitPath. It would be nice to find a way to do it with a documented/supported FlowRouter key instead of the "" key.
The other solution would be to create a global Session variable set with a global triggersExit that would store the last route.
Thoughts?

Thanks @pauldowman, I made the suggested changes. I feel more comfortable with this new version.


Custom lexers documented but not implemented

Custom lexers with LALR are documented in the examples here: https://github.com/lark-parser/lark/blob/master/examples/custom_lexer.py
However, this example raises an exception upon parsing:
PS D:\GitHub\project> python .\custom_lexer.py
['alice', 1, 27, 3, 'bob', 4, 'carrie', 'dan', 8, 6]
Traceback (most recent call last):
  File ".\custom_lexer.py", line 55, in <module>
    test()
  File ".\custom_lexer.py", line 47, in test
    tree = parser.parse(data)
  File "C:\Python36\lib\site-packages\lark\lark.py", line 292, in parse
    return self.parser.parse(text)
  File "C:\Python36\lib\site-packages\lark\parser_frontends.py", line 77, in parse
    token_stream = self.lex(text)
  File "C:\Python36\lib\site-packages\lark\parser_frontends.py", line 73, in lex
    stream = self.lexer.lex(text)
AttributeError: 'NoneType' object has no attribute 'lex'

It looks the feature is not actually implemented, judging by the stubbed __init__ method in LALR_CustomLexer: https://github.com/lark-parser/lark/blob/master/lark/parser_frontends.py#L109
This would be a very useful feature, as I don't need lexing for my use case and would rather provide a direct token stream.

You're right, there has been a regression. I pushed a fix for it to master.


Create container and connect multi-networks

Currently (1.9.1), I can create one container and associate it at one network.
Via docker network connect my_network my_container, I can associate others networks at my container.
In the 1.10 milestone, I don't find issue which propose --net flag which takes multi-networks.

If you are reporting a new issue, make sure that we do not have any duplicates already open. You can ensure this by searching the issue list for this repository. If there is a duplicate, please close your issue and add a comment to the existing issue instead.
If you suspect your issue is a bug, please edit your issue description to include the BUG REPORT INFORMATION shown below. If you fail to provide this information within 7 days, we cannot debug your issue and will close it. We will, however, reopen it if you later provide the information.
For more information about reporting issues, see CONTRIBUTING.md.
You don't have to include this information if this is a feature request
(This is an automated, informational response)

BUG REPORT INFORMATION
Use the commands below to provide key information from your environment:
docker version:
docker info:
Provide additional environment details (AWS, VirtualBox, physical, etc.):
List the steps to reproduce the issue:
1.
2.
3.
Describe the results you received:
Describe the results you expected:
Provide additional info you think is important:
----------END REPORT ---------
#ENEEDMOREINFO

this is a duplicate of https://github.com/docker/docker/pull/17796.


feat(query): add shouldExportMutatorHooks option

Status

READY
Description
When client is set as react-query, 3 different functions are generated for each  query/mutation. For example:
export const useCreateUserHook = () => {
  ...
};

export const useCreateUserMutationOptions = <TError = ErrorType<unknown>, TContext = unknown>(...): ... => {
  ...
};

export const useCreateUser = <TError = ErrorType<unknown>, TContext = unknown>(...) => {
  ....
};

GOAL: I don't want to export useCreateUserHook. This causes confusion for my team and I on which function to use: useCreateUserHook, or useCreateUser? Ideally we always use the react-query version (useCreateUser), but it's easier if we just don't export it at all, so no one can make the mistake
(I arguably don't want useCreateUserMutationOptions exported either, but that one is less problematic)
I made this an option to preserve backwards compatibility, but let me know your thoughts
Steps to Test or Reproduce
orval.config.js
module.exports = {
  api: {
    input: {
      target: '../docs/swagger.json',
      override: {
        transformer,
      },
    },
    validation: true,
    output: {
      target: 'api.generated.ts',
      client: 'react-query',
      workspace: 'src/api',
      override: {
        query: {
          useQuery: false,
          useSuspenseQuery: true,
          shouldExportMutatorHooks: false,
        },
      },
    },
  },
};

Verified the mutator hook is no longer exported

Do we think this is an actual problem, and worth adding an option for? Thinking a little more here, it'd be nice if there was a granular export configuration capability to control exactly how much gets exported, though that seems a little difficult here given all the different clients


Add code graph using analyzer results

Related issue
Closes: #177
Description
Creates a graph representation of the analyzed code

Added few comments.. also , can you test on method async/task/Generic types to ensure you get the graph correctly ? (wanted to be safe if we switch from mono to codelyzer)

I added code to the test project that uses Task<> and Generics and was able to retrieve successfully. We will need to run another level of testing in consuming applications though.


[RELENG-5309] handle inputs in single function

Hello erwan-b,
My role is to assist you with the merge of this
pull request. Please type @bert-e help to get information
on this process, or consult the user documentation.
Status report is not available.

Waiting for approval
The following approvals are needed before I can proceed with the merge:

the author

one peer

ping

/approve

In the queue
The changeset has received all authorizations and has been added to the
relevant queue(s). The queue(s) will be merged in the target development
branch(es) as soon as builds have passed.
The changeset will be merged in:

:heavy_check_mark: development/2.0

The following branches will NOT be impacted:

development/1.0

There is no action required on your side. You will be notified here once
the changeset has been merged. In the unlikely event that the changeset
fails permanently on the queue, a member of the admin team will
contact you to help resolve the matter.
IMPORTANT
Please do not attempt to modify this pull request.

Any commit you add on the source branch will trigger a new cycle after the
current queue is merged.
Any commit you add on one of the integration branches will be lost.

If you need this pull request to be removed from the queue, please contact a
member of the admin team now.
The following options are set: approve

I have successfully merged the changeset of this pull request
into targetted development branches:

:heavy_check_mark: development/2.0

The following branches have NOT changed:

development/1.0

Please check the status of the associated issue RELENG-5309.
Goodbye erwan-b.


Visible "Loading..." page while navigating back from blog posts to /

I added a proper loader now. Thank you.


Typescript generated types for inputs and outputs are not eslinted and have unused imports.

Expected behavior
index, input, and output types files should be eslint compliant and not include unused imports.
Current behavior

In the types directory generated, there are 3 files: index.ts, input.ts, output.ts
index.ts

Needs eslint formatting / spacing

input.ts

Needs eslint formatting / spacing
Needs eslint compliance with removing unused imports for outputs
Needs eslint compliance for interface params that use any e.g. // eslint-disable-next-line
  config?: pulumi.Input<{[key: string]: any}>;

output.ts

Needs eslint formatting / spacing
Needs eslint compliance with removing unused imports for inputs
Needs eslint compliance for interface params that use any e.g. // eslint-disable-next-line
  config?: pulumi.Input<{[key: string]: any}>;

Related:

https://github.com/pulumi/crd2pulumi/issues/33

Generated code is not intended for humans and should be excluded from linting.


[fix][broker] Fix web tls url null cause NPE

Motivation
Related to #20535,  if the web tls url is null, it will cause NPE:

Documentation

[ ] doc
[ ] doc-required
[x] doc-not-needed
[ ] doc-complete

Codecov Report

Merging #21137 (b84f811) into master (c675a3d) will increase coverage by 39.83%.
Report is 1 commits behind head on master.
The diff coverage is 74.07%.

@@              Coverage Diff              @@
##             master   #21137       +/-   ##
=============================================
+ Coverage     33.37%   73.21%   +39.83%
- Complexity    12158    32453    +20295
=============================================
  Files          1623     1887      +264
  Lines        127410   140004    +12594
  Branches      13933    15423     +1490
=============================================
+ Hits          42527   102504    +59977
+ Misses        79258    29412    -49846
- Partials       5625     8088     +2463

Flag
Coverage Δ

inttests
24.16% <0.00%> (+0.10%)
:arrow_up:

systests
25.11% <0.00%> (?)

unittests
72.48% <74.07%> (+40.58%)
:arrow_up:

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

Files Changed
Coverage Δ

...java/org/apache/pulsar/broker/rest/TopicsBase.java
58.31% <50.00%> (+58.31%)
:arrow_up:

.../apache/pulsar/proxy/server/AdminProxyHandler.java
73.49% <80.95%> (+23.49%)
:arrow_up:

... and 1531 files with indirect coverage changes


Gegenbauer function within mp context throwing ValueError

mpmath version: 1.1.0
For the same input, the gegenbauer function in the mp context throws a ValueError while the fp context version returns 0.0 which agrees with SciPy's output.
Example:
Python 3.6.8 (default, Aug 20 2019, 17:12:48)
[GCC 8.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from mpmath import *
>>> from scipy import special
>>> fp.gegenbauer(1, 2.5, 0)
0.0
>>> special.eval_gegenbauer(1, 2.5, 0)
0.0
>>> mp.gegenbauer(1, 2.5, 0)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python3.6/dist-packages/mpmath/ctx_mp_python.py", line 1035, in f_wrapped
    retval = f(ctx, *args, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/mpmath/functions/orthogonal.py", line 326, in gegenbauer
    return ctx.hypercomb(h, [n], **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/mpmath/functions/hypergeometric.py", line 127, in hypercomb
    [ctx.rgamma(b) for b in beta_s] + \
  File "/usr/local/lib/python3.6/dist-packages/mpmath/functions/hypergeometric.py", line 226, in hyper
    if   q == 1: return ctx._hyp2f1(a_s, b_s, z, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/mpmath/functions/hypergeometric.py", line 443, in _hyp2f1
    return ctx.hypsum(2, 1, (atype, btype, ctype), [a, b, c], z, **kwargs)
  File "/usr/local/lib/python3.6/dist-packages/mpmath/ctx_mp.py", line 708, in hypsum
    raise ValueError(ctx._hypsum_msg % (prec, prec+extraprec))
ValueError: hypsum() failed to converge to the requested 73 bits of accuracy
using a working precision of 3588 bits. Try with a higher maxprec,
maxterms, or set zeroprec.

I don't think it's a real bug.  The exception message shows some hints you could use to compute the value, e.g.:
>>> mp.gegenbauer(1, 2.5, 0, zeroprec=1000)
mpf('0.0')

@fredrik-johansson ?


Extending CustomChartModifier2D

Amazing Blazor wrapper.  Thank you for putting this out there.  I have started playing with SciChart in a Blazor project but I am using TypeScript, albeit, I've not loaded the definitions file yet, so it is not taking advantages of the strongly typed system.
When I posted up a question on the SciChart forum, Andrew, the CEO pointed me to this repo and after quickly reviewing it today, I believe if I'm not mistaken, that it's missing a crucial feature that I've been able to achieve in TypeScript and that is to extend the CustomChartModifier2D.  This allows me to draw on box annotations, lines and other shapes by mouse clicking on the chart ittself.
I can understand that this might not be a priority for most, but I was wondering, could you help point me in the direction of how to achieve this in your project and I'll create a PR for it if I can get it working.
Thanks

Hi,
Sorry this will likely have to be done in JS. You can create a custom chart modifier and register it, but there's not an easy way to create a wrapper to do this. However, creating your own in JS and creating a wrapper for it in C# is possible, and I think there's an example in the library already


[Python]Support pipe operator as Union (PEP -604)

Please add a meaningful description for your change here

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Mention the appropriate issue in your description (for example: addresses #123), if applicable. This will automatically add a link to the pull request in the issue. If you would like the issue to automatically close on merging the pull request, comment fixes #<ISSUE NUMBER> instead.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.
To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md
GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.

Note: to add a unit test, pylint needs to be run on Python 3.10.

R: @tvalentyn

I think it would be better if I change pylint to run on Python 310 in different PR, since some unrelated errors surfaced in py310 lint. I will go ahead and fix them in a different PR

PTAL @tvalentyn Thanks!!!


Enable the library extension to be used as a standalone plugin, and update for 2018.3

Do you know if this would still work with 2018.2? Otherwise the version boundaries should probably be changed. Otherwise looks good!

I have a Button defined as such:
`@react class Button extends StatelessComponent {
case class Props(title: String,
                                  size: Size = Size.Default,
			      style: ButtonStyle = ButtonStyle.Default,
			      icon: Option[String] = None)

`
Works: Button(title = "MyTitle")
Doesn't work: Button(title = "MyTitle", icon=Some("MyIcon")
Error: Too many arguments for method apply()(Unit =:= BaseComponentWrapper.this.Props, ConstructorTag.
Looks to be related to this plugin (I am using this fork). I am looking into this.


Update jQuery to v3.5.1

Motivation:
https://snyk.io/vuln/SNYK-JS-JQUERY-567880
https://snyk.io/vuln/SNYK-JS-JQUERY-565129

Codecov Report

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

@@           Coverage Diff           @@
##           master     #427   +/-   ##
=======================================
  Coverage   95.38%   95.38%
=======================================
  Files          52       52
  Lines        2273     2273
  Branches      492      492
=======================================
  Hits         2168     2168
  Misses         50       50
  Partials       55       55

Continue to review full report at Codecov.

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


[OPPRO-182] Change the Substrait plan for avg

What changes were proposed in this pull request?
This PR changed the Substrait plan for avg to avoid special handling in native. Changes are:

Used sum and count to replace partial avg in Substrait plan.

Added a row_constructor projection before aggregation for final avg.

Seperated module for aggregation transformer.

Depends on: https://github.com/oap-project/velox/pull/31.
How was this patch tested?
Verified on Jenkins.

@zhejiangxiaomai This PR depends on Velox PR#31, and is for the avg change we discussed. Please take a look if the upstream issue can be solved, thanks.

@zhejiangxiaomai This PR depends on Velox PR#31, and is for the avg change we discussed. Please take a look if the upstream issue can be solved, thanks.

Ok, I will test it.

LGTM, except a minor comment, remove the override function 'doValidate' of CHHashAggregateExecTransformer, and verified with ClickHouse Backend.

Thanks, removed the final agg flag.


Build for Python 3.7

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.


Add new arch loongarch64

Add new arch loongarch64.
Signed-off-by: zhangjialing<EMAIL_ADDRESS>

Coverage increased (+0.5%) to 82.835% when pulling 79cc01d46459a91cc47b29284bca357febdc0e93 on loongson-zjl:add-new-arch-loongarch64 into 8e18058117fcf177d236e68d453d04e20f937598 on tbeu:master.

Thanks for the PR. You might want to add your CPU also to https://sourceforge.net/p/predef/wiki/Architectures/.


ghdl: enable builds on "x86_64-darwin"

Description of changes
This adds x86_64-darwin to the list of valid build platforms for the mcode and llvm backends, which builds correctly (afaict) without any edits to the derivation.
Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[x] x86_64-darwin (as emulated on aarch64-darwin via Rosetta)
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[x] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

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

[ ] Fits CONTRIBUTING.md.

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

Please squash your oops commit into the first one.


Route URL autogenerated when using "odo url create" can be too long when component name close to 63 characters

[kind/bug]

What versions of software are you using?

Operating System: Windows
Output of odo version: 0.0.20

How did you run odo exactly?

create component with name close to 63 characters
create url for component ^

Actual behavior
After opening openshift console there are errors in networking section ({see 686](https://github.com/redhat-developer/vscode-openshift-tools/issues/686) for details
Expected behavior
Should create correct URL
Any logs, error output, etc?

Thank you @dgolovin for reporting, but this is duplicate of https://github.com/redhat-developer/odo/issues/1213
Feel free to re-open if not.


InternalServerError ➡ Status: Fail/InvalidPackage ➡ Status: Fail/RateLimited

On my main account, which has everything but demos (cf. the note below), I have very few packages to try to add. However, I have noticed that I get rate-limited quite fast after getting many times the Fail/InvalidPackage status due to InternalServerError.

Note
For the record, this is an account which had everything, but I decided to stop adding demos. So I removed them with ASFEnhance and then added some FreeOnDemand packages back, because ASFEnhance is bugged. 😅

https://github.com/chr233/ASFEnhance/issues/158

I don't know if something can be done about this, as I reach the rate-limit (50) very fast. Originally, there were 20 or so packages to try, plus a few which were discovered, and the rate-limit status was ideal at 0/50.
2023-10-17 23:35:49|dotnet-9648|INFO|Bot|OnBotInitModules() Enable Free Packages : True
2023-10-17 23:35:49|dotnet-9648|INFO|Bot|OnBotInitModules() Free Packages Per Hour : 50
2023-10-17 23:35:49|dotnet-9648|INFO|Bot|OnBotInitModules() Free Packages Filter : {"ImportStoreFilters":false,"Types":[],"Categories":[],"Tags":[],"IgnoredTypes":["Demo"],"IgnoredTags":[],"IgnoredCategories":[],"IgnoredContentDescriptors":[],"IgnoredAppIDs":[],"IgnoreFreeWeekends":false,"MinReviewScore":0}
2023-10-17 23:36:50|dotnet-9648|DEBUG|Bot|InternalRequest() InternalServerError <- POST https://store.steampowered.com/freelicense/addfreelicense/934933
2023-10-17 23:36:50|dotnet-9648|INFO|Bot|ClaimFreeSub() ID: sub/934933 | Status: Fail/InvalidPackage
2023-10-17 23:36:56|dotnet-9648|DEBUG|Bot|InternalRequest() InternalServerError <- POST https://store.steampowered.com/freelicense/addfreelicense/952287
2023-10-17 23:36:56|dotnet-9648|INFO|Bot|ClaimFreeSub() ID: sub/952287 | Status: Fail/InvalidPackage
2023-10-17 23:37:01|dotnet-9648|DEBUG|Bot|InternalRequest() InternalServerError <- POST https://store.steampowered.com/freelicense/addfreelicense/899943
2023-10-17 23:37:01|dotnet-9648|INFO|Bot|ClaimFreeSub() ID: sub/899943 | Status: Fail/InvalidPackage
2023-10-17 23:37:07|dotnet-9648|DEBUG|Bot|InternalRequest() InternalServerError <- POST https://store.steampowered.com/freelicense/addfreelicense/952341
2023-10-17 23:37:07|dotnet-9648|INFO|Bot|ClaimFreeSub() ID: sub/952341 | Status: Fail/InvalidPackage
2023-10-17 23:37:12|dotnet-9648|INFO|Bot|ClaimFreeSub() ID: sub/83573 | Status: OK/NoDetail
2023-10-17 23:37:18|dotnet-9648|INFO|Bot|ClaimFreeApp() ID: app/1668940 | Status: Invalid
2023-10-17 23:37:25|dotnet-9648|INFO|Bot|ClaimFreeApp() ID: app/2432680 | Status: OK | Items: app/2432680, sub/875470
2023-10-17 23:37:31|dotnet-9648|DEBUG|Bot|InternalRequest() InternalServerError <- POST https://store.steampowered.com/freelicense/addfreelicense/899949
2023-10-17 23:37:31|dotnet-9648|INFO|Bot|ClaimFreeSub() ID: sub/899949 | Status: Fail/InvalidPackage
2023-10-17 23:37:37|dotnet-9648|DEBUG|Bot|InternalRequest() InternalServerError <- POST https://store.steampowered.com/freelicense/addfreelicense/899946
2023-10-17 23:37:37|dotnet-9648|INFO|Bot|ClaimFreeSub() ID: sub/899946 | Status: Fail/InvalidPackage
2023-10-17 23:37:42|dotnet-9648|DEBUG|Bot|InternalRequest() InternalServerError <- POST https://store.steampowered.com/freelicense/addfreelicense/724437
2023-10-17 23:37:42|dotnet-9648|INFO|Bot|ClaimFreeSub() ID: sub/724437 | Status: Fail/InvalidPackage
2023-10-17 23:37:48|dotnet-9648|DEBUG|Bot|InternalRequest() InternalServerError <- POST https://store.steampowered.com/freelicense/addfreelicense/947765
2023-10-17 23:37:48|dotnet-9648|INFO|Bot|ClaimFreeSub() ID: sub/947765 | Status: Fail/InvalidPackage
2023-10-17 23:37:54|dotnet-9648|DEBUG|Bot|InternalRequest() InternalServerError <- POST https://store.steampowered.com/freelicense/addfreelicense/899940
2023-10-17 23:37:54|dotnet-9648|INFO|Bot|ClaimFreeSub() ID: sub/899940 | Status: Fail/InvalidPackage
2023-10-17 23:38:00|dotnet-9648|INFO|Bot|ClaimFreeApp() ID: app/835570 | Status: Invalid
2023-10-17 23:38:05|dotnet-9648|DEBUG|Bot|InternalRequest() InternalServerError <- POST https://store.steampowered.com/freelicense/addfreelicense/951816
2023-10-17 23:38:05|dotnet-9648|INFO|Bot|ClaimFreeSub() ID: sub/951816 | Status: Fail/InvalidPackage
2023-10-17 23:38:11|dotnet-9648|INFO|Bot|ClaimFreeApp() ID: app/2391240 | Status: Invalid
2023-10-17 23:38:17|dotnet-9648|DEBUG|Bot|InternalRequest() InternalServerError <- POST https://store.steampowered.com/freelicense/addfreelicense/905335
2023-10-17 23:38:17|dotnet-9648|INFO|Bot|ClaimFreeSub() ID: sub/905335 | Status: Fail/RateLimited
2023-10-17 23:38:17|dotnet-9648|INFO|Bot|ProcessQueue() Free Package rate limit exceeded
2023-10-17 23:38:17|dotnet-9648|INFO|Bot|ProcessQueue() Pausing free package activations until 00:39:17

When I check some of the invalid packages, I can notice that the included app is unknown (both App Type and Name).
For instance: https://steamdb.info/sub/947765/apps/

So I wonder i) if this is normal, ii) if this is because the software is too fast and the free packages would become valid in an hour or so, iii) if something can be done to prevent triggering the rate-limit if the app is of unknown type or unknown name.

This is just the plugin not being aggressive enough with how it filters out invalid packages.
Presumably yes, these will all become redeemable free packages eventually, but it's hard to say when.  By the looks of them, the subs are all valid and none of the properties on them would have to change for them to be redeemable.  It's just the the apps that they grant aren't released yet, and so it's the apps that can't be redeemed.
I should be able to filter these out without the risk of missing packages.  The subs may not change, but the apps will have to, and so the plugin will have a chance to rediscover them in the future.

Thank you for your reply!
For info, you may have to postpone the fix, because ASF has an issue since yesterday's maintenance:

https://github.com/JustArchiNET/ArchiSteamFarm/issues/3029

This new version should get rid of almost all of the invalid package errors, you can test it here: FreePackages V1.2.0.zip
As for the rate limiting, I'm not sure what you mean by "too fast".  You should usually get rate limited after 50 package activations whether or not they were successful.  Some errors don't seem to actually count against the rate limit, but others do.  The plugin currently doesn't take this into consideration.  The error you're showing though isn't the plugin just thinking it's rate limited, you actually did get rate limited.
I've also noticed that if you don't wait a full hour after getting a rate limit error, Steam will sometimes let you activate a few packages (less than 50) before it rate limits you again.  I would only expect something like that to happen if you were also activating packages from outside of the plugin.  If the plugin ever sees a rate limited error, it pauses for 1 hour starting from the time it got the error.

Thank you, I will try this new version of the plugin!
Regarding the rate-limit, I was under the impression that Fail/InvalidPackage errors lead to reaching the rate-limit in fewer than 50 tries:

either because the plugin would retry to add the invalid packages a few times before giving up,
or because Valve would weigh the failed activations, e.g. you can successfully activate 50 packages per hour, but if you fail 10 times, I think you get rate-limited, so that one failure would be weighted as much as 5 successes towards the rate-limit.

I suspect it is probably the latter explanation, but it is also possible that I made a mistake and activated packages with the SteamDB script, or another tool.

It is worth testing to see how certain errors effect the limit.  I'm almost certain they are treated differently, but I'm not sure of the details.
Normally when ASF gets an error it will retry 5 times, but it's not the case here, all requests are only made once.

Thank you for the precision! I close the issue for now and will reopen if I encounter again many invalid packages!

I get these warnings with the new version. I will try again tomorrow to see if the issue persists.
2023-10-19 01:07:45|dotnet-10424|WARN|Bot|RefreshSession() System.Threading.Tasks.TaskCanceledException: A task was canceled.
   at ArchiSteamFarm.Steam.Bot.RefreshSession()
2023-10-19 01:07:45|dotnet-10424|INFO|Bot|Connect() Connexion...
2023-10-19 01:07:45|dotnet-10424|INFO|Bot|OnDisconnected() Déconnecté de Steam !
2023-10-19 01:07:45|dotnet-10424|WARN|Bot|RefreshSession() System.Threading.Tasks.TaskCanceledException: A task was canceled.
   at ArchiSteamFarm.Steam.Bot.RefreshSession()
2023-10-19 01:07:45|dotnet-10424|INFO|Bot|OnConnected() Connecté à Steam !
2023-10-19 01:07:45|dotnet-10424|INFO|Bot|OnConnected() Connexion en cours...
2023-10-19 01:07:45|dotnet-10424|INFO|Bot|OnLoggedOn() XXX/yyy connecté avec succès.
2023-10-19 01:07:55|dotnet-10424|INFO|Bot|Connect() Connexion...
2023-10-19 01:07:55|dotnet-10424|INFO|Bot|OnDisconnected() Déconnecté de Steam !
2023-10-19 01:07:55|dotnet-10424|WARN|Bot|UrlGetToHtmlDocumentWithSession() Échec !
2023-10-19 01:07:55|dotnet-10424|WARN|Bot|RefreshSession() System.Threading.Tasks.TaskCanceledException: A task was canceled.
   at ArchiSteamFarm.Steam.Bot.RefreshSession()
2023-10-19 01:07:55|dotnet-10424|WARN|Bot|UrlGetToHtmlDocumentWithSession() Échec !
2023-10-19 01:07:55|dotnet-10424|DEBUG|Bot|UrlGetToHtmlDocumentWithSession() Échec de la requête : https://steamcommunity.com/tradingcards/boostercreator?l=english
2023-10-19 01:07:55|dotnet-10424|WARN|Bot|UrlPostToJsonObjectWithSession() Échec !
2023-10-19 01:07:55|dotnet-10424|DEBUG|Bot|UrlGetToHtmlDocumentWithSession() Échec de la requête : https://steamcommunity.com/my/badges?l=english&p=1
2023-10-19 01:07:55|dotnet-10424|ERROR|Bot|.ctor() boosterPage est invalide !
2023-10-19 01:07:55|dotnet-10424|DEBUG|Bot|UrlPostToJsonObjectWithSession() Échec de la requête : https://store.steampowered.com/freelicense/addfreelicense/952993
2023-10-19 01:07:55|dotnet-10424|WARN|Bot|IsAnythingToFarm() Impossible d'obtenir des informations sur les badges, nous allons réessayer plus tard !
2023-10-19 01:07:55|dotnet-10424|INFO|Bot|IsAnythingToFarm() Vérification de la première page des badges...
2023-10-19 01:07:55|dotnet-10424|ERROR|Bot|UpdateBoosterInfos() boosterPage est invalide !
2023-10-19 01:07:55|dotnet-10424|INFO|Bot|ClaimFreeSub() ID: sub/952993 | Status: Fail/Timeout
2023-10-19 01:07:55|dotnet-10424|WARN|Bot|UrlGetToHtmlDocumentWithSession() Échec !
2023-10-19 01:07:55|dotnet-10424|ERROR|Bot|Run() Failed to update booster information
2023-10-19 01:07:55|dotnet-10424|DEBUG|Bot|UrlGetToHtmlDocumentWithSession() Échec de la requête : https://steamcommunity.com/my/badges?l=english&p=1
2023-10-19 01:07:55|dotnet-10424|WARN|Bot|IsAnythingToFarm() Impossible d'obtenir des informations sur les badges, nous allons réessayer plus tard !
[...]
2023-10-19 01:08:15|dotnet-10424|WARN|Bot|RefreshSession() System.Threading.Tasks.TaskCanceledException: A task was canceled.
   at ArchiSteamFarm.Steam.Bot.RefreshSession()
2023-10-19 01:08:15|dotnet-10424|INFO|Bot|OnConnected() Connecté à Steam !
2023-10-19 01:08:15|dotnet-10424|INFO|Bot|OnConnected() Connexion en cours...
2023-10-19 01:08:15|dotnet-10424|WARN|Bot|UrlGetToHtmlDocumentWithSession() Échec !
2023-10-19 01:08:15|dotnet-10424|DEBUG|Bot|UrlGetToHtmlDocumentWithSession() Échec de la requête : https://steamcommunity.com/dev/apikey?l=english
2023-10-19 01:08:15|dotnet-10424|WARN|Bot|OnPersonaState() Échec dû à une erreur : IsEligibleForListing: False
2023-10-19 01:08:15|dotnet-10424|INFO|Bot|OnLoggedOn() XXX/yyy connecté avec succès.
2023-10-19 01:08:25|dotnet-10424|INFO|Bot|Connect() Connexion...
2023-10-19 01:08:25|dotnet-10424|INFO|Bot|OnDisconnected() Déconnecté de Steam !
2023-10-19 01:08:25|dotnet-10424|WARN|Bot|RefreshSession() System.Threading.Tasks.TaskCanceledException: A task was canceled.
   at ArchiSteamFarm.Steam.Bot.RefreshSession()
2023-10-19 01:08:25|dotnet-10424|INFO|Bot|OnConnected() Connecté à Steam !
2023-10-19 01:08:25|dotnet-10424|INFO|Bot|OnConnected() Connexion en cours...
2023-10-19 01:08:25|dotnet-10424|INFO|Bot|OnLoggedOn() XXX/yyy connecté avec succès.
2023-10-19 01:08:35|dotnet-10424|INFO|Bot|Connect() Connexion...
2023-10-19 01:08:35|dotnet-10424|INFO|Bot|OnDisconnected() Déconnecté de Steam !
2023-10-19 01:08:35|dotnet-10424|WARN|Bot|RefreshSession() System.Threading.Tasks.TaskCanceledException: A task was canceled.
   at ArchiSteamFarm.Steam.Bot.RefreshSession()

I think that might be a Steam or an ASF issue.

I think that might be a Steam or an ASF issue. I saw that happen earlier, but only on 1 of my accounts. I wasn't using that version of the plugin at the time.

Yes, a new ASF issue:

https://github.com/JustArchiNET/ArchiSteamFarm/issues/3043


fix(docs): correct link to UserConfig interface source code

Fixes https://github.com/hey-api/openapi-ts/issues/233

Thanks for the fix @andreasciamanna!


desktop client doesn't memorized credentials anymore?

Summary
After update to mattermost-desktop-4.6.1-linux-x64.tar.gz (when run mattemost-desktop --version, it returns v4.3.2 !), I set back my accounts but it require enters login each day when I start my computer. With previous version, login was memorized.
Environment

Operating System: Ubuntu LTS 18.04
Mattermost Desktop App version: 4.3.2
Mattermost Server version: X.X.X

Hello and thanks for reporting
if you do a file->about does it also say 4.3.2?
does the program have write permissions in the config folder (it is usually in ~/.config/mattermost)

yes, it is also 4.3.2
I have ~/.config/Mattermost folder with mod 755 on my $USER: account.
with folder (blob_storage for example), files and links modified today

does this login everyday also happens with the browser? It might be the session cookie not having a long life span. If the authentication server (wether that's mattermost server or third party) was upgraded/reconfigured recently the value might have changed

Hello, I backuped last Friday my  ~/.config/Mattermost and launch back mattemost-desktop and this Monday morning, it doesn't ask me logins.


refactor(ui): Break phone number utils and data into proper folders

Description
Since phone utils and data are shared, move them into constants and utils folders for reuse. Move phone number hook into phone number field component.
https://linear.app/clerk/issue/SDKI-183/common-consider-lifting-phonenumberfield-utils-to-root-utils
Checklist

[ ] npm test runs as expected.
[ ] npm run build runs as expected.
[ ] (If applicable) JSDoc comments have been added or updated for any package exports
[ ] (If applicable) Documentation has been updated

Type of change

[ ] 🐛 Bug fix
[ ] 🌟 New feature
[ ] 🔨 Breaking change
[x] 📖 Refactoring / dependency upgrade / documentation
[ ] other:

Taking care of conflicts, and then I'll merge


Change brightness mapping in automation

Is it possible to change the brightness mapping by an automation? It would be super useful.

This is more like a general HA issue. I mean, in general, one would like to change configuration entries through automations. This is useful for any other integration, not only Lightener. But no, ha doesn't allow for that and we don't plan that in Lightener as well.
A way to workaround this is having more than one Lightener controlling the same set of lights. Then the automation can dynamically decide which one to use, depending on its own logic.


[BUG] If a categorical column has at least one number value JAI returns internal server error

Describe the bug
If a categorical column has at least one number value JAI returns an internal server error. The way to solve this is to pass astype(str) for Jai to recognize the whole column as a string. Either this should be done internally or Jai should return a more meaningful error message to guide the user.
To Reproduce*
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]

Smartphone (please complete the following information):

Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]

Additional context
Add any other context about the problem here.

Solved by https://github.com/jquant/mycelia-api/pull/1537


Implement rate limiting

Add an automatic request throttling setting and if not enabled throw an exception the utilizing application can use to manange it themself
.
ref:http://www.themoviedb.org/talk/5317af69c3a3685c4a0003b1

The feature is now live.
https://www.themoviedb.org/talk/5317af69c3a3685c4a0003b1?page=1

https://github.com/LordMike/TMDbLib/commit/ea8c2e1603fd98baa6bd887fe01405bcd884c094

Added test 6b47d825e34c7bc6b61c7b201d768bd2fb5149f1


Fix a bug when connecting to localhost

Client waits forever for server responses, but the 'run' signal will never be emitted, since the master thread is blocked on recv.
This is merely a workaround. A refactor is better imo (either async io or better multi-threading is ok).

:full_moon_with_face: : :new_moon_with_face:

@YvonneTech We now have a "team member" from USTC... don't tell Ricky this afternoon.

Sure okkk
On Thu, May 9, 2019 at 11:00 Junde Yhi<EMAIL_ADDRESS>wrote:

@YvonneTech https://github.com/YvonneTech We now have a "team member"
from USTC... don't tell Ricky this afternoon.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/lmy441900/aaa/pull/1#issuecomment-490724802, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ALLTXVUCVZBUB34V5Y42CE3PUOHWRANCNFSM4HLWO7DA
.


CHINA AIRLINES B737-800

@kolos26 please you solve liveries quickly

@kolos26 please you solve liveries quickly

I dont expect that thank you very much
Goodbye

@kolos26 please you solve liveries quickly

I dont expect that thank you very much Goodbye

You re really BIG

@kolos26 please you solve liveries quickly

I dont expect that thank you very much Goodbye

You re really BIG

hmmm,i cant understand your meanning

@kolos26 please you solve liveries quickly

I dont expect that thank you very much Goodbye

You re really BIG

hmmm,i cant understand your meanning

For honor


[NEW] Metadata

Thank you for suggesting a new term, please enter its details below:
Title: Metadata
Description:
Related terms:
Reason for including new term including references if appropriate: Suggestion from Pam/Hub

This is what I saw missing.
Definition could be Metadata is data about data or data that provides information on one more aspects of the data.


Histogram: support lazy values for range/bins (another way)

[x] Tests added / passed
[x] Passes black dask / flake8 dask

A perhaps-more-readable implementation of #6073, which leverages dask.delayed.unpack_collections to eliminate separate logic when bins and range are delayed versus concrete values (thanks for the tip @jcrist).
Unlike #6073, this also supports bins being a delayed scalar (in that case, the returned bins have unknown chunks)—except when density=True, since diff fails on Arrays that contain NaN chunks.
I went back and forth (see commits) on whether to just not support bins as a delayed scalar at all, since it's awkward to document, arrays with unknown chunks are generally annoying/restrictive, and I'm not sure it's a common use-case. But I'm currently leaning towards supporting it anyway, except when density=True, since if someone wanted to implement a delayed version of a bin-selecting algorithm, they would appreciate having the flexibility.
Also addresses, but does not close, #4544.

@jcrist any other changes you want to see in here, or is this good to go?

LGTM, thanks!


wallaby config added to skeleton-es2016-webpack

Added a wallaby config for the webpack skeleton, this required me to import the Promise polyfill in users.spec.js to get it to run properly with wallaby.
ref issue: https://github.com/aurelia/skeleton-navigation/issues/343

This works well. Just tried it out. Thanks for adding this in, I am a Wallaby user myself and good to see support added into the Webpack skeleton. Any chance you could also do this for the TypeScript Webpack skeleton as well @bellstrand ?


Minor improvements for geometric rotations

Two minor changes for the rotation:

Support for floating point rotation angles. I noticed it since I wanted <1° rotations (for very wide images).
Use the padding color as background for the rotation

Thanks!


⚠ Bofrost.fr has degraded performance

In 137bd73, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 1939 ms

Resolved: Bofrost.fr performance has improved in 1cfa7d0 after 11 minutes.


[BUG] - cardano-cli wraps metadata dictionary in an array

Internal/External
External
Area
Other   cardano-cli
Summary
cardano-cli, probably based on the changes introduced in Mary era to the transaction metadata format now wraps the metadata in an array instead of keeping the original dictionary given as-is, even though metadata (now auxiliary data) given as a dictionary is still a valid format and arguably, if there are no scripts, wrapping the metadata into an additional structure is just a waste of space and fees.
https://github.com/input-output-hk/cardano-ledger-specs/blob/38bb3c95ee225445f6b7498e80765dde085665d5/shelley-ma/shelley-ma-test/cddl-files/shelley-ma.cddl#L212
Steps to reproduce
Steps to reproduce the behavior:

create a metadata.json file containing the following:

{ "1":{ "string":"cardano" } }

run

cardano-cli transaction build-raw \
 --mary-era \
 --fee 190000 \
 --tx-in afcf8497561065afe1ca623823508753cc580eb575ac8f1d6cfaa18c3ceeac01#0 \
 --tx-out addr_test1qzq0nckg3ekgzuqg7w5p9mvgnd9ym28qh5grlph8xd2z92sj922xhxkn6twlq2wn4q50q352annk3903tj00h45mgfmsu8d9w5+14620000 \
 --out-file tx.raw \
 --metadata-json-file metadata.json \
 --json-metadata-detailed-schema

the obtained  tx.raw would be

{
    "type": "TxBodyMary",
    "description": "",
    "cborHex": "82a40081825820afcf8497561065afe1ca623823508753cc580eb575ac8f1d6cfaa18c3ceeac010001818258390080f9e2c88e6c817008f3a812ed889b4a4da8e0bd103f86e7335422aa122a946b9ad3d2ddf029d3a828f0468aece76895f15c9efbd69b42771a00df1560021a0002e6300758207ad89f0443618428fbf1e9024686a20ee284735a993f9e770896c1a0a8c8701482a1016763617264616e6f80"
}

If you decode it e.g. in https://cbor.me you would see the resulting metadata that makes it into the tx is [{1: "cardano"}, []]

Expected behavior
the metadata in the serialized tx should be just {1: "cardano"}
System info (please complete the following information):

OS: ubuntu
Version 20.04
cli version

cardano-cli 1.24.2 - linux-x86_64 - ghc-8.10
git rev 400d18092ce604352cf36fe5f105b0d7c78be074

Screenshots and attachments

If applicable, add screenshots, config files and/or logs to help explain the problem.

Additional context
Add any other context about the problem here.

This is not a bug, but rather a change in the CDDL specification that was introduced at the Allegra hard fork. The transaction now contains auxiliary_data in place of transaction_metadata. Note that auxiliary_data contains the old transaction_metadata, and that we did preserve backwards compatibility.
https://github.com/input-output-hk/cardano-ledger-specs/blob/5f63e0f618e1dac27b33ceb33a66f155a465bf68/shelley-ma/shelley-ma-test/cddl-files/shelley-ma.cddl#L212-L217

I see - at CDDL level the legacy format of auxiliary data as a dictionary is preserved, but cardano-cli wraps the metadata supplied as dict in an array at all times, even if the metadata is supplied as dict, which is as per the CDDL still valid - I think this can break tools that listen on the blockchain and still listen for metadata given as a dict, e.g. Catalyst voting metadata: https://github.com/cardano-foundation/CIPs/blob/master/CIP-0015/CIP-0015.md

But I get that the "metadata" is now indeed wrapped in the "auxiliary-data" structure and the new version of cli just reflects that - perhaps it would make sense to introduce an "auxiliary-data" flag which would expect the auxiliary data as such and hence would not wrap the supplied auxiliary data json if the structure is a dict.

I see, you would like to be able to pass a flag to the CLI which would force the old style (in the case when only metadata is in the auxiliary data).

or visa versa :)

Also, from the CDDL I'm wondering if the metadata_hash is still the hash of the metadata or actually the whole auxiliary data - as far as I tried it seems to be the latter :thinking:

:facepalm: oof, yea, that name is now terribly misleading. you are correct, it is the hash of the auxiliary data. thank you for pointing this out, we'll fix it :)

I think the --metadata-json-file should still refer only to the tx metadata, and use the exact same format as before. i.e. I agree with the bug report.
The fact that our tx auxiliary data now consists of both the tx metadata and the other scripts (and later script data) is an internal detail of the structure and not something we should directly reflect in the CLI. The tx metadata is still the tx metadata. It has not changed.
The other aux data just needs its own flags to specify it.

I realise I misread and misunderstood this bug report.
I had thought it was referring to the input JSON format of the tx metadata (which should indeed be stable), but actually the report is about the output binary format of cardano-cli transaction build-raw. That format does indeed vary between eras (reflecting the changes in the format of transactions). Specifically, it did indeed change from the Shelley to Allegra eras (adding the aux scripts into the aux data).
Furthermore, the format created by build-raw is not fixed by specification, it is simply the intermediate format used by the CLI. It should not be relied upon as a stable interface.
Alternatively, if the issue is really not about the intermediate format of the CLI, but about the final on-chain format of the tx, then it's a reasonable observation that the aux scripts are usually empty and so this is not the most space efficient encoding. That is not something we can change for the Allegra and Mary eras. The binary format is now fixed. There will however be further changes in this area for the Alonzo era, and we will probably move to a map style encoding, like we use for the tx body, which provides more efficient encoding of structures with many optional fields.

@dcoutts Thanks for clarifying - does this mean there is currently no way to build with the cardano-cli a transaction with the auxiliary data as a standalone dictionary, i.e. this format?


move helm controller values to root

Considering that the default backend is no longer required, move the controller values to the root.

Coverage remained the same at 22.475% when pulling 51664fd449e8b2ee6bbb669983e011d6ea50a006 on khrisrichardson:helm-namespace-squash into a1c960289bfd36369748716bd6d32bbddef8f41e on kubernetes-sigs:master.