Update By schedule add support for Magento Commerce

Mode "Update by Schedule" might not work correctly in Magento Commerce

Check if is working in full.

Why do you think Update By Schedule won't work on Magento Commerce?

It probably works as excepted.
I just didn't have time to check it in March - that's the only reason I leave this issue open. ;)


Foreign Key corruption error when performing async calls

Describe the issue
SQLite will report a foreign key corruption error in some objects inserted with asynchronous method and throws error on an attempt to delete.
Vapor version
Fluent-Kit 1.48.0
Operating system and version
OS 14.4.1, Ubuntu 22.04
Swift version
5.9.2, 5.10
Steps to reproduce
Asynchronously add several records on the same table.
Request deletion of objects. At least one should uncover the foreign key corruption error.
Outcome
No response
Additional notes
I'm running the sqlite database in memory as a part of unit testing. Using Hummingbird framework.

Can you show the code of how you're saving and deleting objects?

Not your bug. It was mine after a refactor.


Performance discussion

Hi, This is an interesting hooks. However, keep re-validating the state by calling the Server API may casing the performance issues if there are many concurrent users. How could we handle this issue? shall we combine this with Redux?
Thanks and Regards
Duy

By default refreshInterval is disabled (it doesn't do polling, it only refresh when you run mutate, trigger or your tab is focused again.

Also focus revalidation can be disabled too 👍

Thank you so much for your replay. This is really a potential component to replace Redux and simplify the development as well.
Thanks
Duy


Tooltip component has 'Information' as title causing i18n issue

Swap it to a prop

This is resolved


Fix README.md Broken Link to CLI Reference

Hello Snyk Team,
The Extension Configuration section currently has an out of date link to the current CLI Reference page: https://docs.snyk.io/features/snyk-cli/cli-reference.
This PR updates the link to the correct url replacing this out of date url: https://docs.snyk.io/features/snyk-cli/guides-for-our-cli/cli-reference
Thanks,
Matt

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

@michelkaporin Signed the CLA 👍


Simplified the Make.bat (Windows) and added User Prompt

Turns out you only need to build Go to a certain architecture if you plan on shipping executables; if the source code is available (as it is in this case), this works better.
Added a prompt after build which tells user where the executables are located for ease of user and better user experience

Small commit to address some concerns of a... fellow coworker :)


Create heap-sort.cpp

Congratulations for your Open source contribution. Don't forget to follow and add a star on this repo.. Happy hacking


Expose trigger for boundingbox_camera sensor

Desired behavior

I would like to use a trigger to get snapshots from a boundingbox_camera sensor rather than a continuous stream.
This implementation is already present for the camera sensor, but it is not inherited by boundingbox_camera.
Alternatives considered

Decreasing the sensor update rate and setting <always_on> false </always_on> in the SDF file does not seem to work for the specific case.
Implementation suggestion

The same implementation of CameraSensor:
https://github.com/gazebosim/gz-sensors/blob/d6568aaa01226a24138d4ea4d9f16b4f8d529d74/src/CameraSensor.cc#L166
https://github.com/gazebosim/gz-sensors/blob/d6568aaa01226a24138d4ea4d9f16b4f8d529d74/src/CameraSensor.cc#L443
https://github.com/gazebosim/gz-sensors/blob/d6568aaa01226a24138d4ea4d9f16b4f8d529d74/src/CameraSensor.cc#L541
https://github.com/gazebosim/gz-sensors/blob/d6568aaa01226a24138d4ea4d9f16b4f8d529d74/src/CameraSensor.cc#L663
Additional context

Thank you!

@gsisinna are you interested in implementing this?  We would appreciate it!

Sure @mjcarroll, I can start working on this :+1:


chore(deps): replaced orm_mode with model_config.

Issue link
Closes: #79
Changes in this PR
Removed orm_mode = True fields of pydantic.BaseModel and replaced with model_config = ConfigDict().
Docs:
https://docs.pydantic.dev/2.10/migration/#changes-to-pydanticbasemodel

The from_orm method has been deprecated;
you can now just use model_validate (equivalent to parse_obj from Pydantic V1) to achieve something similar, as long as you've set from_attributes=True in the model config.

Changes not included in this PR
N/A

As the deps of applications with conflicts between trivy scan in https://github.com/hwakabh/random-travelers/pull/112, so will merge this PR first to fix build error.

Fixed deprecated warnings about orm_mode of SQLAlchemy. Evidences in local env:
24-12-23 17:02:30 git/random-travelers [fix/79/sqlalchemy] % make all
>>> Checking docker engine exists ...
Server: 27.3.1
Client: 27.3.1

>>> Starting MySQL container ...
636ac465bb1a50e405ba7805bd0a11e084c52c5fa74605f0586e6b7c771c46c7
Database is now healthy state

>>> Checking poetry installed ...
Poetry (version 1.8.5)

>>> Installing all packages required for application ...
Installing dependencies from lock file

No dependencies to install or update

Installing the current project: random-travelers (0.4.1)
INFO:     Will watch for changes in these directories: ['/Users/hiro.wakabayashi/git/random-travelers']
INFO:     Uvicorn running on http://<IP_ADDRESS>:3000 (Press CTRL+C to quit)
INFO:     Started reloader process [25449] using StatReload
INFO:     Started server process [25455]
INFO:     Waiting for application startup.
INFO:     Application startup complete.

As Build CI has been still failed, but this is an expected as noted here, and will managed in another issue.
So will proceed to merge this PR into main.


added K8S services for proxy tunnel mode

When using tunnel mode "host" and specifying services to be published with an opened TCP port by this router, with this PR a "default" service is automatically created which holds all these proxy tunnel service ports.
Additionally, it is possible to distribute several ZitiServices and their listen ports to different Kubernetes services by adding additional K8s services and give them short names. Use cases are those where you want, for example, one zitiService to be published on a ClusterIP service, when another should be on a LoadBalancer or NodePort service.

Hope everything is fine now :)

Hi @sa-ChristianAnton, I am working to test your branch, and I encountered a router error message. I don't know yet whether this error is caused by some issue we need to address in this branch or if it might be my mistake or misunderstanding. I'll share the link here just in case you recognize the message "invalid edge router for session."

@sa-ChristianAnton Nice work on this. I was able to test it successfully. What do you think about creating Ingress resources for the services? Is it a good idea? In your environment, did you configure those separately? It's a bit complex because we will eventually want to support Ingress and Gateway+VirtualService, but we could start with Ingress.

I wrote this Terraform module to demonstrate using the router as a proxy: https://github.com/openziti-test-kitchen/terraform-lke-ziti/blob/add-router-proxy/plan-70-router-proxy/main.tf#L85

What do you think about creating Ingress resources for the services?

That would actually probably have been my next pull request. I have thought about it, but I currently, in my setup, don't need Ingresses for those.


Use CircleCI and run KinD clusters there for e2e tests

/cc @brancz @wmuha @ant31

@ant31, can you enable CircleCI for this repo? Thanks :)

Let us know when you think this is ready for a review :)


Proximity sensor should calculate distance on hass start

Home Assistant release with the issue:

0.98.1
Last working Home Assistant release (if known):
none
Operating environment (Hass.io/Docker/Windows/etc.):

Hassbian
Component/platform:

https://www.home-assistant.io/components/proximity/
Description of problem:
Proximity sensor does not calculate distance from zone when hass restarted.
It should at least calculate the distance from home zone even if there is no old state data.
Additional suggestion, use the old_state from database like statistic sensor
Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):
proximity:
  master_home:
    devices:
      - device_tracker.google_maps_1234567890
    tolerance: 50
    unit_of_measurement: m

Traceback (if applicable):
no error

Additional information:

Issue still unsolved


esm implementation is breaking for some node versions

Node.js versions between 13.0.0 and 13.6.0 still had larger bugs in their ESM implementations and the esm wrapper breaks requiring koa the regular way on those runtimes.
❯ node
Welcome to Node.js v13.0.0.
Type ".help" for more information.
> require('koa')
Thrown:
Error: Package exports for '/Users/panva/repo/provider/node_modules/koa' do not define a valid '.' target
    at resolveExportsTarget (internal/modules/cjs/loader.js:455:13)
    at resolveExports (internal/modules/cjs/loader.js:388:16)
    at Function.Module._findPath (internal/modules/cjs/loader.js:487:20)
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:782:27)
    at Function.Module._load (internal/modules/cjs/loader.js:688:27)
    at Module.require (internal/modules/cjs/loader.js:850:19)
    at require (internal/modules/cjs/helpers.js:74:18) {
  code: 'MODULE_NOT_FOUND'
}
>

❯ node
Welcome to Node.js v13.6.0.
Type ".help" for more information.
> require('koa')
Uncaught:
Error: No valid exports main found for '/Users/panva/repo/provider/node_modules/koa'
    at resolveExportsTarget (internal/modules/cjs/loader.js:625:9)
    at applyExports (internal/modules/cjs/loader.js:502:14)
    at resolveExports (internal/modules/cjs/loader.js:551:12)
    at Function.Module._findPath (internal/modules/cjs/loader.js:657:22)
    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:960:27)
    at Function.Module._load (internal/modules/cjs/loader.js:855:27)
    at Module.require (internal/modules/cjs/loader.js:1033:19)
    at require (internal/modules/cjs/helpers.js:72:18) {
  code: 'MODULE_NOT_FOUND'
}

I've ran into this in the past and know that for those node versions this is an unfixable problem so I don't have a suggestion for a way forward, just wanted to let you know.
For me this means changing my CI test matrix to test "low 13" with 13.7.0 instead 13.0.0 and have my fingers crossed.
This was merged in #1474

I'd appreciate this breaking change be rolled back but as 13.x isn't a supported node release line, i understand if you won't. At the same time, the package.json engines no longer holds true and updating it is technically a breaking change too.

Unfortunately, if there is no way to fix these problematic node versions, even if we roll back the change, there will still be problems the next time we add this support.

I'll close this issue for now because we can do nothing about this, if there are any suggestions, welcome to comment or reopen it. :(

run in docker file
FROM node:12.13.0
COPY . /app
WORKDIR /app
RUN npm i
RUN yarn add koa


Bug: Fix the alignment of text with the cover image

Here, the menu description is merging with the cover image of each card.
@AKD-01 @srivastavaritik ,
Could you please assign me this issue?
I'm a gssoc'23 contributor. Please label it as Gssoc23

Hi, @mani200307 , you can work on this and please refer to the Contribution guidelines on the readme once.
All the best!


Debian - after ungraceful restart kube-apiserver and kubelite files are empty in /var/snap/microk8s/current/args/

Summary
I have a one node cluster running on Debian 11 with microk8s 1.25
After an ungraceful restart the cluster wasn't working, any command to microk8s return a connection was refused error.
In the syslog I found the following error:
debian microk8s.daemon-kubelite[2576]: Error: [--etcd-servers must be specified, service-account-issuer is a required flag, --service-account-signing-key-file and --service-account-issuer are required flags]
When looking for those settings, I saw they should be under  /var/snap/microk8s/current/args/. Comparing to a clean installation, I saw that  kube-apiserver and kubelite files were empty.
After replacing them with the files from the clean install and restarting microk8s, the system was up and running again.
What could have caused these files to be replaced/emptied out and how can I prevent such a situation again?
What Should Happen Instead?
After an ungraceful restart the system should be running
Reproduction Steps
Ungraceful restart

Hey @naphtalidavies, thank you for reaching out.
We have not come across a similar scenario, were there any operations such as a snap refresh or some addon being enabled at the time of ungraceful restart? It might be that in this scenario the write/copy operations for these files could've been interrupted, although this is just a guess.
If there is a consistent way of reproducing, we can issue a bug fix for it. Other than that the usual warnings for updates/write operations
Many thanks!

Hi,
In the logs I can see now the following lines
Jul 14 12:51:48 debian microk8s.daemon-apiserver-kicker[727]: CSR change detected. Restarting the cluster-agent
Jul 14 12:51:48 debian microk8s.daemon-apiserver-kicker[1424]: error: error running snapctl: snap "microk8s" has "service-control" change in progress
Jul 14 12:51:48 debian systemd[1]: snap.microk8s.daemon-apiserver-kicker.service: Main process exited, code=exited, status=1/FAILURE
Jul 14 12:51:48 debian systemd[1]: snap.microk8s.daemon-apiserver-kicker.service: Failed with result 'exit-code'.
This is about the time of the error.
Could some please explain this error?
In addition, we have some problems in this environment with outer  network, there are lots of error message in the log ntp sync. I've also got an error "debian snapd[686]: devicemgr.go:2300: no NTP sync after 10m0s, trying auto-refresh anyway" although I switched off the refresh

Hi @naphtalidavies
For the snap refresh issue I opened a forum topic in https://forum.snapcraft.io/t/no-ntp-sync-trying-auto-refresh-anyway/36093. The snappy people will get back to us. It is worth mentioning how you disabled the refreshes. What exactly commands did you use.
For the empty files, I would like to know what was the reason for the ungraceful restarts? Is it possible the node run out of disk?
On the error: error running snapctl: snap "microk8s" has "service-control" error, the microk8s.daemon-apiserver-kicker service runs a reconciliation loop. In that loop it detected that there was an IP/network change and it had to reconfigure the K8s services but it failed.

Hi,
Thanks for your reply
For snap refresh, I posted on their forum as well - we do sudo snap refresh --hold
Emtpy files - there was no disk issue the was a full power shutdown
On the error - there was an IP change but some time before the power cut, can't recall how long before

Hi @naphtalidavies, could you share the full logs for the apiserver-kicker via microk8s inspect? Particularly we're interested in knowing whether systemd restarted the apiserver-kicker service or not because as seen from your current logs, it seems not to, but I tried on the latest 1.25 build and the service restarted after exiting.

Hi,
We do not have the environment or the logs any more
Closing the issue
Thanks for the help

Hi,
I have a similar problem too, those files are empty, and the microk8s is not running
The case is after power-off power-on the microk8s host (while microk8s is running or starting)
Who is the process responsible for these files? who is writing/overriding to them?
Thank you

Hi,
Is there any update related to it?

I just had this happen on two different nodes on two consecutive days.   As reported, both the kube-apiserver and kubelite files were empty.

Hi, when I copy and paste those files manually and stop-start microk8s - it works.
but it happens again on an ungraceful shutdown.

I'm curious, why are these configuration files set to empty? If these files are only read when microk8s starts, why are there other processes opening these files? Maybe this is the reason why these configuration files are emptyed?


Update minor discrepancies in the Cloud SDK JS VDM tutorials and update batch tutorial

@thecodester can you give me rough ETA for when this is planned to be reviewed?

@sacnl feel free to review once more here


New version: Dispatcher v1.0.1

Registering package: Dispatcher
Repository: https://github.com/invenia/Dispatcher.jl
Created by: @omus
Version: v1.0.1
Commit: 54bbf154c0bdbfd01b0bd30f67440df35eab87e5
Reviewed by: @omus
Reference: https://github.com/invenia/Dispatcher.jl/commit/54bbf154c0bdbfd01b0bd30f67440df35eab87e5#commitcomment-38382858

PR should be closed


<EMAIL_ADDRESS>

Release: https://github.com/SkyAPM/cpp2sky/releases/tag/v0.5.1
Used by:

https://github.com/envoyproxy/envoy

Requires #1988

Hello @bazelbuild/bcr-maintainers, modules without existing maintainers (cpp2sky) have been updated in this PR. Please review the changes.


Improve UI when GE has multiple questions?

The only other concern I had when running ge was that after it processed my prompt, it asked me 8 questions. I thought I should answer one at a time, but this costs more in API requests, and it's a bit slow waiting for a response each time.
I found it's more efficient to answer all the questions at the first opportunity. But this doesn't feel intuitive. Like not what I'm supposed to do.
One possible improvement might be:

GE could ask me to answer each question separately, but only send my answers to the API when they have all been collected.

This might save some API costs, but it also might mean I answer more than I need to. (The AI might decide that my earlier answers make the later questions redundant.)
An alternative solution:

Let the user give as many classifications as they want, and let them choose when to send their answers to the AI. (This is kind of what we have at the moment, although IIRC the UI asks us to answer only one question at a time.)

Thanks for the input! We are actively working with the UX and should take this into account. I'm closing this, because it is not directly actionable right now, but I'll forward the input in other channels.


npm install requires gcc

The npm install requires the gcc; this isn't a particularly good dependency for a production environment.

Issue can be closed.


download stories of a specific account using python module

Hi. I want to download stories of  a specific account rather that stories of my feed. How can I do this?
thanks everybody

L.download_stories({userid of user},False,None,None)


[zh] clean up too old comments for v1.9 or before in examples

upd this PR https://github.com/kubernetes/website/pull/26023

/assign @tengqm

/assign @tengqm

/lgtm
/approve

/lgtm
/approve


Prioritizing some responses over others

Hi!
In my case, I have two sets of conversations: general ones (the english corpus you provided, movie conversations,..) and some questions and answers that are relevant to answer technical questions.
The problem comes up in the fact that these specific conversations are not weighted enough to be selected by the bot. Example:
Q: What is the location of this event?
A: Some irrelevant answer from english corpus , but should instead be the specific answer learned.
Is there a way to weight some sentences more than others? I can indeed manually increase the frequency of these phrases in the JSON /MongoDB databases, but is there any efficient way around it?
Many thanks!

If you have a way to train your bot with the desired responses you could
use the get_most_frequent_response
response selection method. Training multiple times with the desired data
would increment occurrence counts for those responses and it would ensure
that they get selected.
Using training
to increment the occurrence counts is probably the most efficient way to do
this.

Thanks, this makes sense!


Class OpenSwoole\Coroutine\WaitGroup not found

What did you do? If possible, provide a simple script for reproducing the error.

<?php
declare(strict_types=1);

use OpenSwoole\Coroutine\WaitGroup;

co::run(function() {
    $wg = new WaitGroup();

    $results = [];
    go(function () use ($wg, &$results) {
        $wg->add();
        co::sleep(3);
        $results[] = 'a';
        $wg->done();
    });

    go(function () use ($wg, &$results) {
        $wg->add();
        co::sleep(7);
        $results[] = 'b';
        $wg->done();
    });

    $wg->wait(10);
    var_dump($results);
});

What did you expect to see?

Program runs

What did you see instead?

PHP Fatal error:  Uncaught Error: Class "OpenSwoole\Coroutine\WaitGroup" not found

What version of OpenSwoole are you using (show your php --ri openswoole)?

22.0.0 (zts_build)

What is your machine environment used (show your uname -a & php -v & gcc -v) ?

ubuntu 22 php 8.1.14

You can also try the following OpenSwoole support channels:

Documentation - Documentation for Open Swoole
Slack - Slack channel of Open Swoole
Discord - Discord server of Open Swoole

It is available at OpenSwoole\Core\Coroutine\WaitGroup when you have openswoole\core library installed.

...so for version 22.x + some of the functions have been moved out of the extension and into a supplementary composer package. Is the logic behind this move to keep the extension lean and as low level as possible? This move now adds an extra installation step, or invtes project-level re-implementation of these functions.

It is a part of the architect changes and openswoole\core allows you access more features. Docs: https://openswoole.com/docs/modules/swoole-coroutine-waitgroup


Community Meeting January 17, 2023

Overview
At 11am Eastern, 8am Pacific, 3pm UTC; find your time
Video call link: https://meet.google.com/mpd-cypd-sdp
Or dial: (DE) +49 30 300195060 PIN: 500<PHONE_NUMBER>#
More phone numbers: https://tel.meet/mpd-cypd-sdp?pin=5005991305702
Or join via SIP<EMAIL_ADDRESS>Meeting recordings available on YouTube at https://www.youtube.com/playlist?list=PLqN7RcoCwL96nXIIW6O51l8Lu_J-f5D27
Add topics you'd like to discuss below!

https://github.com/kcp-dev/kcp/issues/2196 - VirtualWorkspaces becoming Views
https://groups.google.com/g/kcp-dev/c/34tP-wfNjIE/m/PofNoNp9DAAJ

Incoming issues: https://github.com/orgs/kcp-dev/projects/1/views/22
Milestone epics: https://github.com/kcp-dev/kcp/issues?q=is%3Aopen+is%3Aissue+label%3Amilestone-blocker+label%3Aepic

Trying to sell logical clusters upstream.

Use cases (TMC, EMC, Fybryk, Crossplane)
Could kcp proceed if only logical clusters go upstream?

No objections raised to Views, so we'll switch.


Add firstEventId to com.snowplowanalytics.snowplow/client_session

Add a new field to client_session with the first event ID for that session.

This will go into 1-0-1


[BUG] lora微调后，使用官方代码加载模型报错

是否已有关于该错误的issue或讨论？ | Is there an existing issue / discussion for this?

[X] 我已经搜索过已有的issues和讨论 | I have searched the existing issues / discussions

该问题是否在FAQ中有解答？ | Is there an existing answer for this in FAQ?

[X] 我已经搜索过FAQ | I have searched FAQ

当前行为 | Current Behavior

lora微调没有报错，生成多个checkpoint，使用官方提供代码读取适配器目录加载模型后报错。
期望行为 | Expected Behavior
No response
复现方法 | Steps To Reproduce
No response
运行环境 | Environment
OS: Ubuntu 20.04
Python: 3.9
Transformers: 4.40.0
PyTorch: 2.1.0
CUDA: 12.0

备注 | Anything else?
No response

Hi daihuidai,
I believe you need to fetch the latest modeling_minicpm.py file from HuggingFaces since they just recently added support for lora by adding get_input_embedding() and other functions.
Then you can load the checkpoint like I just did.

@LongIslandWithoutIceTea
Thank you very much for your reminder, it is indeed the problem of code update, I can load the weight saved by the old code after updating the source code, but the new code will appear OOM in training. I don't know what the new code has done to cause the video memory to grow too much during training, and I don't know if you have noticed this problem.

@iceflame89
Hello, may I ask why the newly updated code using lora fine-tuning consumes more video memory than the previous lora fine-tuning code? The previous two 3090s can be satisfied, and the OOM will appear after the update.

Hello,
Thank you for raising this issue. We have identified that previously, when calling get_peft_model, the model's parameters, except for the LoRA components, had requires_grad set to False by default. This behavior could inadvertently prevent the VPM and the resampler from participating in the training process when tune_vision was set to True.
We have now corrected this setting to ensure that if tune_vision is set to True, both VPM and resampler are correctly included in the training. This adjustment means there will be additional GPU memory usage, which is the expected overhead from training VPM and the resampler.
Please pull the latest changes from our repository to benefit from this update. If you encounter any further issues or have additional feedback, do not hesitate to reach out.


[Feature Request]: Add "linting" feature for code quality evaluation

What would you like to happen?
Our team would like to evaluate new pipelines and workflows that are committed to our code repository via Git. Some examples are:

How many steps are on the canvas? Too many might be an indication that the process should be refined to be more modular.
Are the steps on the canvas named appropriately? If the names of the steps are the default names - that might be an indication that the developer should provide clearer naming to describe the specific action of the step.
Are notes on the canvas? The samples are good examples of the helpful descriptions provided by canvas notes. If notes are missing, this might indicate that high level descriptions that are easy to see are missing.
Are credentials hard coded (vs. using variables)?

Many other examples here - most linting tools allow custom evaluations - so ideally this would be a Hop based tool that would allow pipelines/workflows to be created to evaluate the newly submitted code.
Issue Priority
Priority: 3
Issue Component
Component: Other

I like this idea, very much so. It would provide another level of "quality control".
In a sense, it's in line with Hop's philosophy: Metadata about pipelines and workflows.
(And yes, according to the criteria listed above, some of my own pipelines would  certainly get flagged ;) )

@gertwieland -- yea, me too. These examples hit close to home unfortunately.
I'll edit the requirements list to add that the linting rules should be easily shared. Perhaps a public Git repo or perhaps making them easily shared via a marketplace.

Maybe this is helpful: I use "Tabular Editor" to create and maintain Analysis Services Data models (in DAX).
They offer a "Best Practice Analyzer", and I find it extremely helpful (again, for obvious reasons ;) ).
Here's a link.


Save notebook cell as new code snippet

Currently the user can select a text from a notebook cell and save as a new code snippet.
As suggested in this comment, users could also have the option to save an entire notebook cell (or cells) and as a new code snippet, without having to explicitly select the text.

I would like to contribute to this issue.


Slack, GitHub and Google Groups logos are not getting displayed properly on mobile browser.

Describe the bug
The Slack, Forum and GitHub icons are not getting displayed properly on mobile browser. The light version of GitHub logo is being used which looks fine on desktop browser but it is completely invisible on the mobile browser.
To Reproduce
Steps to reproduce the behavior:

Go to https://konveyor.github.io/ move2kube on a mobile browser.
Scroll down till the end of homepage

Expected behavior
A clear and concise description of what you expected to happen.
Display the logos clearly.
Screenshots
If applicable, add screenshots to help explain your problem.

Also the hover text of these buttons seem to have a / in the end.


Error detected by Simbody method AbstractIntegrator::takeOneStep(): Unable to advance time past 8.0694.

During the training, the episode mean reward sporadically drops down by a huge amount, because of:
std::exception in 'bool OpenSim::Manager::integrate(SimTK::State &)': SimTK Exception thrown at AbstractIntegratorRep.cpp:428:
  Integrator step failed at time 8.0693988624602095 apparently because:
SimTK Exception thrown at AbstractIntegratorRep.cpp:547:
  Error detected by Simbody method AbstractIntegrator::takeOneStep(): Unable to advance time past 8.0694.
  (Required condition 't1 > t0' was not met.)

I don't know how to reproduce this. It happened about 10 times before, in different trainings. Pointed line is here.

this might be because of numerical problems. my experience is that if you tune the accuracy from 1e-4 to 1e-2 this will happen quite often. also, check your action values maybe?

How can you tune the accuracy?
--
Wojciech Jaśkowski, Ph.D.
Laboratory of Intelligent Decision Support Systems
Institute of Computing Science
Poznan University of Technology, Poland
http://www.cs.put.poznan.pl/wjaskowski
On 18 September 2017 at 10:42, Qin Yongliang<EMAIL_ADDRESS>wrote:

this might be because of numerical problems. my experience is that if you
tune the accuracy from 1e-4 to 1e-2 this will happen quite often. also,
check your action values maybe?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/stanfordnmbl/osim-rl/issues/72#issuecomment-330159433,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEuSHQut_n0e-BS_O1RlyORm1aZplrZfks5sjizegaJpZM4PZHBK
.

https://github.com/ctmakro/stanford-osrl#the-simulation-is-too-slow

Nice! How much quicker it gets?

Yes, it's nice finding, credit to Qin (ctmakro).
I saw speed ups from 40% to 300%, depending on the hardware and accuracy used.
Looks a bit risky though...

my experience is that if you tune the accuracy from 1e-4 to 1e-2 (by changing the c source of opensim) this will happen quite often.

I checked and that looks correct. Now it's easy to reproduce: just set accuracy to e.g. 0.06 and it will raise exceptions very often.
So, looks like a bug in OpenSim. Just a thought, maybe consider a bug bounty program.

That's right, this is most likely a problem on the OpenSim side (https://github.com/opensim-org/opensim-core).

I'm not exactly sure this is a bug. Perhaps the error message is not sufficiently clear, but if you loosen the accuracy too much you won't be able to successfully simulate the system.

Right, then it's just about a more appropriate error description.


New sdk new wasm

Hi!
I had to make a few judgement calls when producing this, but pretty sure that I made the correct ones.
I kept cosmwasm/wasmd's gas settings at all times, and brought in provenance's changes that account for the lack of sdk.addrlen
I also included some of their comments, some of em were interesting
wdyt?

Please close this if you'd prefer not to merge /review /etc it.
<3

@faddat Thanks a lot for your contribution! 💐
As Ethan pointed out the timing and our priorities are a bit different on our side so that I would close this PR now to not create confusion.
For reference I point to your PR on the provenance fork: https://github.com/provenance-io/wasmd/pull/2

@sunnya97 This one works.....
BUT it doesn't have ibc-go 2.0 and it's not up to date with master.
I am currently working on:
https://github.com/notional-labs/wasmd/tree/ibc-go-migration
But please note that it is kind of a cheat; what it is:

Master of this repo's wasmd
0.44.3
ibc-go v1.2.3

With the hope of upgrading before Moneta is released.


Add support for specifying ACME HTTP01 ingress name as an annotation on Certificates

What this PR does / why we need it:
Adds support for an annotation on Certificates http01.acme.certmanager.k8s.io/ingress-to-edit to manually specify the ingress to edit, to overcome the need to have access to adding a specific solver entry in the Issuer.
A new field AllowManuallySpecifiedIngress is available for Issuer solvers to enable this annotation to be used, then if the annotation is set the solver will be prioritized.
Which issue this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged): fixes #1666
Special notes for your reviewer:
Re-do of #1762 after the large changes in the order controller
Release note:

Adds support for Certificate annotation `http01.acme.certmanager.k8s.io/ingress-to-edit` to manually specify the Ingress to edit, when the option is enabled under `AllowManuallySpecifiedIngress` in one of the Issuer's solvers.

Closing in favour of #2061


Support for type-in date formatting

Work with @leeejune on the design and functionality....
This is for the functionality we called out in green in our flight search refinement meeting.

In addition to writing in dates for flight searches DD/MM/YYY we'll also need to support MM/YYYY for entering in credit card expiration dates.

Date type of input added to Figma blueprint: https://www.figma.com/file/ClsrU5j9yHiLA35bq7IRuO/Input?node-id=401%3A2756

See demo https://input-dateformat-issue72.surge.sh/


Change bundler

💡 Feature request

Describe the feature
Change webpack to rollup so that you could use template literal templating, and get sensible error message. Potentially you also get customization with plugin system. I don't really remember what error messages webpack failed me with, but I imagine it's just reknown for it.
Describe the alternatives
You could use parceljs that simply tries to be 0 config bundler, and it's probably what you'd want for cli tool that does bundling and not webpack.

Thanks for the suggestion, @janat08! We have some early ideas for improvement along these lines. Will definitely bring your idea to the broader team internally.
cc/ @threepointone

We're looking closely at this, but for now you're free to use 'javascript' as the 'type' in wrangler.toml and then use rollup yourself as the tool to build your worker.
I'll leave this issue open until we have anything to announce, and potentially gather feedback

Btw there's a duplicate issue for changing to esmbuild. Then there's the issue of sourcemap being missing. Anyway crappy error messages are not at all conducive to development with no sourcemaps to boot.

Closing this since we've completely redone this with wrangler v2 (which is internally powered by esbuild)


Harmony doesn't load after reboot of Habridge, but does on "Bridge Reinitialise".

Hi
I have an issue where after the HaBridge restarts (for any reason, planned/unplanned). It will not load up Harmony correctly.
Proof of this is that the "Harmony Activities" and "Harmony Devices" tabs on Habridge do not populate.
Strangely Harbrige will report the command could not run (and Alexa will announce an error) but the command does run.
Re-booting Harbridge again does not resolve it. But clicking on "Bridge Reinitialise" from the bridge control page fixes it every time.
Everything then is seamless again and "Harmony Activities" and "Harmony Devices" tabs on Habridge are fully populated again.
Its almost like the HAbridge reboot tries to load the Harmony to early and fails, but when the system just reinitialises on the running system it loads fine.
When the issue happens, the LOG just stated the "...on/off Request failed..." and "...Should not get here, no harmony configured...".
Running 5.3.1RC2 on a QNAP Docker
Any ideas on how to fix this??

The issue seems to happen randomly about once a week. Restarting Harmony doesn't help either when the fault happens. The only thing that fixes it is a "bridge reinitialise". Any ideas?

Hmmm, not sure. Also I don't have any experience when running in docker and what network issues arise from that.

Hi!
I had a ticket open a couple of weeks ago about this whixh was closed as I had an email from bws asking if it was still a problem.. I hadn't had it for a couple of weeks so assumed they had fixed it.  However as above its back, booo! Randomly the harmony devices and activities disappear and won't come back until the reinitialise  bridge button is pressed..

@cherowley how are you running habridge? Are you also using a docker?
I’m trying to see if this is a docker issue or a general issue.

@cherowley how are you running habridge? Are you also using a docker?
I’m trying to see if this is a docker issue or a general issue.

Hiya!
Sorry, it's running native on a raspberry pi....

Having the same issue since a few weeks! Habridge runs in docker, latest version.

Having the same issue since a few weeks! Habridge runs in docker, latest version.


📝 Update includes in docs/en/docs/tutorial/body-multiple-params.md

Thanks for your help! @Tashanam-Shahbaz :rocket:


Hi from python-isal

Hi, I work on python-isal, which wraps ISA-L. It also aims to accelerate compression/decompression and it supports streaming features.
Unfortunately ISA-L only works well on x86-64 (Intel, AMD) so it is much more limited than deflate in that respect.
Given that you probably work on this library because of some compression/decompression needs, I wanted to let you know about python-isal. Also I wanted to say hi, as another coder working on python bindings for a deflate-compatible compression library.

Thanks for the suggestion! It wasn't quite that simple, since decompressed_size isn't known before decompression, but there is a _PyBytes_Resize function. Almost certainly better than a copy.
I wrote this to use in https://github.com/imsweb/pzip, which compresses (and encrypts) in chunks, so I had no need for a streaming interface -- libdeflate is very well suited for this case.

t wasn't quite that simple, since decompressed_size isn't known before decompression

Well it should be equal to the ISIZE block from the gzip trailer. Otherwise the gzip is corrupt. So you already initiate the buffer with the correct size. And the nice thing is that _PyBytes_Resize quits early when the size is already correct. So no resizing happens in the correct case.

I wrote this to use in https://github.com/imsweb/pzip, which compresses (and encrypts) in chunks, so I had no need for a streaming interface -- libdeflate is very well suited for this case.

Ah very useful. Chunked compression is also used by a format in bioinformatics called BAM. It uses block gzip format, which is basically compressed blocks. The length of the compressed block is saved in the first EXTRA field, while the length of the decompressed result is saved in ISIZE. This is very useful as you know the exact sizes of the buffers.

I just got a notification (I comaintain the conda-feedstock for libdeflate) https://github.com/ebiggers/libdeflate/releases/tag/v1.9. FYI.


Override text wrapping

For the new text override function you've added, how can I add a line break in the text? In current state the string of text centres and if long enough, the start and end of the string are cut-off. If no line break character can create a new line, are you able to add a text wrap option?
Happy to send a donation for your time. Mentioned in other comments - using the frame as an AI-driven front end for a Home Assistant smart home.
Also what font format files are supported?

Unfortunately although possible, this would require a bit of work to implement in the code smoothly, and it kind of goes past the scope of the original project, probably only relevant for this very specific use case. I'm not sure when I'd have time/lust to work on this one in particular. I think your best bet is to do a pull request or a fork to work on a solution that works for what you're going for.
You would need to firstly modify the way add_text_to_image() works, but also the calculation of box limits in ImageFunctions.max_area() and possibly some cascading dependencies from that. Something along the lines of logging how many lines there would be, calculating box size including lines*fontsize, then repeating the draw.text as many times as appropriate with your lines.
Here are some resources that might help.
https://stackoverflow.com/questions/69371619/breaking-up-long-text-using-pillow
https://stackoverflow.com/questions/8257147/wrap-text-in-pil
https://www.geeksforgeeks.org/python-pil-imagedraw-draw-text/
pycasso uses Pillow to load the fonts, so you can find more details on what fonts are supported here: https://pillow.readthedocs.io/en/stable/reference/ImageFont.html


[leptonica] Reduce required C standard

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

This PR reduces the required C standard from C17 to C11 to fix builds with older environments. The change is already upstream in the master branch.

Thanks!

https://github.com/microsoft/vcpkg/blob/0dea40fa54593b2f3c2a4d3a87c21e92e1b2ffb7/scripts/ci.baseline.txt#L533-L534
Should this port be marked "supports": "!uwp" instead of being in ci.baseline.txt?


[VS] Guests cannot drag-and-drop or cut-and-paste files or folders in the file explorer in VS (You are attempting to move a document to a location where a document of the same name already exists)

Product: VS 2017 (15.6, 15.7, and 15.8)
Live Share Version: 0.3.92
OS: Windows
While guests can now add, remove, and rename files, both drag-and-dropping and cutting-and-pasting files/folders in the file tree is not yet implemented for Visual Studio.
Pasting is simply disabled.  However, if you do drag-and-drop, you will instead see an error message saying:
"This operation cannot be completed. You are attempting to move a document to a location where a document of the same name already exists."

For me there was no apparent error after drag & dropping an image in the remote assets folder, but upon subsequent inspection the image file was corrupted.

Closing this as resolved. Please re-open it if folks are running into any issues. Thanks!


chore: don't log warning on nonexistent *.custom.yaml file

Pull request
Issue tracker
Fixes will automatically close the related issue
Fixes #
Feature
Describe feature of pull request
Unit test

[ ] Done

Manual test

[x] Done

Code Review

Unit and manual test pass
GitHub Action CI pass
At least one contributor reviews and votes
Can be merged clean without conflicts
PR will be merged by rebase upstream base

Additional Info

簡單粗暴啊。


rm: security: update stm32mp1 article

Add details about implicit build-time signing and using provision script.
Readiness

[ ] Merge (pending reviews)
[ ] Merge after date or event
[ ] Draft

Overview
Why merge this PR? What does it solve?
Checklist
Optional. Add a 'x' to steps taken.
You can fill this out after opening the PR. "Did I..."

[ ] Run spelling and grammar check, preferably with linter.
[ ] Avoid changing any header associated with a link/reference.
[ ] Step through instructions (or ask someone to do so).
[ ] Review for wordiness
[ ] Match tone and style of page/section.
[ ] Run make linkcheck.
[ ] View HTML in a browser to check rendering.
[ ] Use semantic newlines.
[ ] follow best practices for commits.

[ ] Descriptive title written in the imperative.
[ ] Include brief overview of QA steps taken.
[ ] Mention any related issues numbers.
[ ] End message with sign off/DCO line (-s, --signoff).
[ ] Sign commit with your gpg key (-S, --gpg-sign).
[ ] Squash commits if needed.

[ ] Request PR review by a technical writer and at least one peer.

Comments
Any thing else that a maintainer/reviewer should know.
This could include potential issues, rational for approach, etc.

Docs for 4093551e0d6f9a8f836d28a1ddca5574cb0bcb74 are browsable at: https://ci.foundries.io/projects/fio-docs/builds/2326/docs/artifacts/html/index.html

@igoropaniuk In process of reviewing, I will provide a full review on August 29th, during my usual PR review day.

Docs for 2a897133330839b07d6fb988306597bd887bf77e are browsable at: https://ci.foundries.io/projects/fio-docs/builds/2336/docs/artifacts/html/index.html

@kprosise thanks! I've applied all suggestions, also adjusted an article and added a couple of sentences about manual creation of combo images

Docs for 1bc2640dc93966b5892472f241c0c8b134710b58 are browsable at: https://ci.foundries.io/projects/fio-docs/builds/2337/docs/artifacts/html/index.html

Docs for a48146536354dc15bcd3bbe94551e4ee2d8f1fc4 are browsable at: https://ci.foundries.io/projects/fio-docs/builds/2339/docs/artifacts/html/index.html

Docs for e883ae6a53221b7d8e638ef37a21d1af37ea4df6 are browsable at: https://ci.foundries.io/projects/fio-docs/builds/2340/docs/artifacts/html/index.html

@angolini all comments addressed

@kprosise Let me know if you're ok to merge it

Docs for 8456183c9e9382dd7d0e9f2d0f28c99339c4c6ff are browsable at: https://ci.foundries.io/projects/fio-docs/builds/2345/docs/artifacts/html/index.html

@igoropaniuk LGTM, shall I go ahead and merge it now?

@kprosise yes, please go ahead


seal off the PageSize trait

Users should never implement this trait themselves. This also allows us to add more supertraits to PageSize and NotGiantPageSize without introducing a major breaking change.
This is a breaking change (though I really hope users haven't been doing this previously).

We already have a sealed module here: https://github.com/rust-osdev/x86_64/blob/a143355627240bd58f97c4a881b79e86b3ea07cc/src/instructions/port.rs#L69
Could we have a common place to put all sealed traits or try to reuse stuff?

Given that both Access and PageSize have need for some sort of &'static str (Access::DEBUG_NAME and PageSize::SIZE_AS_DEBUG_STR) for implementing Debug, we could do something like:
In lib.rs:
pub(crate) mod sealed {
    pub trait Sealed {
        const DEBUG_STR: &'static str;
    }
}

Then both structures::paging::PageSize and instructions::port::{PortReadAccess, PortWriteAccess} could use the same sealed::Sealed trait.

Given that both Access and PageSize have need for some sort of &'static str (Access::DEBUG_NAME and PageSize::SIZE_AS_DEBUG_STR) for implementing Debug, we could do something like:
In lib.rs:
pub(crate) mod sealed {
    pub trait Sealed {
        const DEBUG_STR: &'static str;
    }
}

Then both structures::paging::PageSize and instructions::port::{PortReadAccess, PortWriteAccess} could use the same sealed::Sealed trait.

This would also make DEBUG_STR inaccessible to users. Do we consider DEBUG_STR to be an implementation detail or part of the public API? A quick search on github code search doesn't turn up any code actually using this, so we probably won't break much code if we decide to hide this.

This would also make DEBUG_STR inaccessible to users. Do we consider DEBUG_STR to be an implementation detail or part of the public API? A quick search on github code search doesn't turn up any code actually using this, so we probably won't break much code if we decide to hide this.

I definitely would prefer it being an implementation detail rather than something that we commit to as part of our stable API.

A few thoughts on this:

I don't think that there is much value in using a unified sealed module

It doesn't show up in the docs anyway since it's a private module
There is no complexity in the Sealed trait, it's just an empty trait
(This is not a strong opinion though, I'm fine with a unified sealed module too.)

I'm fine with hiding the DEBUG string constants from the public API if no one is using them
Sealing the PageSize trait sounds reasonable to me. However, I'm curious what kind of misuse we prevent this way. Is there a way to cause UB with the current implementation? (If so, we should fix this on the current version too.)
What about the NotGiantPageSize trait? We should probably seal it too, right?

I definitely would prefer it being an implementation detail rather than something that we commit to as part of our stable API.

That's fine with me.

Sealing the PageSize trait sounds reasonable to me. However, I'm curious what kind of misuse we prevent this way. Is there a way to cause UB with the current implementation? (If so, we should fix this on the current version too.)

I'm not aware of any UB that can be caused by faking a PageSize in this crate, but I've come across this in my own code.

What about the NotGiantPageSize trait? We should probably seal it too, right?

NotGiantPageSize wouldn't need to be sealed off because its parent trait PageSize is already sealed off.

Any idea on a release for this change? I'd rather not have to worry about non-4kib aligned page size types 😅 since generic_const_exprs is a minefield feature, compile-time checks for making sure that particular invariant is true is resulting in some hairy code whereby sealing this trait would prevent any misuse.


How to create instance from snapshot

Hi guys, I did not find discussion forum or group so I'm asking here.
I have an VM instance in google cloud and I need to create many clones of the instance. So I created snapshot of instance's disk in Google Cloud Console. The console allows to create new instance based on snapshot, but I need to do it via GCloud Java API, how can I do that?
Thanks

Hi @ukman,
On StackOverflow you can use the gcloud-java tag.
In general to see usage examples for gcloud-java you can have a look at our gcloud-java-examples module.
A detailed example of gcloud-java-compute features can be found in ComputeExample.java.
In CreateAddressDiskAndInstance.java you have an example of how to create an Instance after creating an Address and a Disk. You can follow that example and change the way the disk is created to create it from your Snapshot:
DiskId diskId = DiskId.of("us-central1-a", "test-disk");
SnapshotId snapshotId = SnapshotId.of("your-snapshot-id");
SnapshotDiskConfiguration diskConfiguration = SnapshotDiskConfiguration.of(snapshotId);
DiskInfo disk = DiskInfo.of(diskId, diskConfiguration);
operation = compute.create(disk);
// Wait for operation to complete
while (!operation.isDone()) {
  Thread.sleep(1000L);
}
// Check operation errors
operation = operation.reload();
if (operation.errors() == null) {
  System.out.println("Disk " + diskId + " was successfully created");
} else {
  // inspect operation.errors()
  throw new RuntimeException("Disk creation failed");
}

If you are not interested in creating a static address for your instance you can skip that part and create the instance as follows (notice that I remove the code to set the access configurations for the NetworkInterface):
InstanceId instanceId = InstanceId.of("us-central1-a", "test-instance");
NetworkId networkId = NetworkId.of("default");
PersistentDiskConfiguration attachConfiguration =
  PersistentDiskConfiguration.builder(diskId).boot(true).build();
AttachedDisk attachedDisk = AttachedDisk.of("dev0", attachConfiguration);
NetworkInterface networkInterface = NetworkInterface.builder(networkId).build();
MachineTypeId machineTypeId = MachineTypeId.of("us-central1-a", "n1-standard-1");
InstanceInfo instance =
  InstanceInfo.of(instanceId, machineTypeId, attachedDisk, networkInterface);
operation = compute.create(instance);
// Wait for operation to complete
while (!operation.isDone()) {
  Thread.sleep(1000L);
}
// Check operation errors
operation = operation.reload();
if (operation.errors() == null) {
  System.out.println("Instance " + instanceId + " was successfully created");
} else {
  // inspect operation.errors()
  throw new RuntimeException("Instance creation failed");
}

Hope this helps.

Marco, thanks a lot, it works!

Glad to here this. Please do not hesitate to contact us if you need help. Bug reports are more than welcome :)

Marco, do you have example for access configuration? I need external ephemeral IP for my VM, but cannot do this.
I found the following example, but it does not work.

  AccessConfig accessConfig = AccessConfig.builder().name("external-nat").build();
  compute.addAccessConfig(instance.instanceId(), "nic-0", accessConfig);

Hi @ukman,
I believe that the default network interface for an instance is called nic0 (notice the missing "-"). You can verify this by checking compute.getInstance(instanceId). The following code should work:
AccessConfig accessConfig = AccessConfig.builder().name("external-nat").build();
compute.addAccessConfig(instance.instanceId(), "nic0", accessConfig);

Notice that you can also assign an ephemeral address at creation time (to spare one extra RPC call) with something like:
Compute compute = ComputeOptions.defaultInstance().service();
ImageId imageId = ImageId.of("debian-cloud", "debian-8-jessie-v20160329");
NetworkId networkId = NetworkId.of("default");
AttachedDisk attachedDisk =
    AttachedDisk.of(CreateDiskConfiguration.builder(imageId).autoDelete(true).build());
NetworkInterface networkInterface = NetworkInterface.builder(networkId)
    .accessConfigurations(NetworkInterface.AccessConfig.builder().name("external-nat").build())
    .build();
InstanceId instanceId = InstanceId.of("us-central1-a", "instance-name");
MachineTypeId machineTypeId = MachineTypeId.of("us-central1-a", "n1-standard-1");
Operation operation =
    compute.create(InstanceInfo.of(instanceId, machineTypeId, attachedDisk, networkInterface));
while (!operation.isDone()) {
    Thread.sleep(1000L);
}

Please let me know if this fixed your issue.

It works! Thanks!

Hi mziccard,
Could you please share code to create google cloud instance using java core code by authenticating google cloud client id and secrect?
If possible pls send complete expample to create vm from image using java code.


Spyder built in terminal has a large typing delay

Issue Report Checklist

[x] Searched the issues page for similar reports
[x] Read the relevant sections of the Spyder Troubleshooting Guide and followed its advice
[ ] Reproduced the issue after updating with conda update spyder (or pip, if not using Anaconda)
[ ] Could not reproduce inside jupyter qtconsole (if console-related)
[x] Tried basic troubleshooting (if a bug/error)

[x] Restarted Spyder
[x] Reset preferences with spyder --reset
[ ] Reinstalled the latest version of Anaconda
[ ] Tried the other applicable steps from the Troubleshooting Guide

[x] Completed the Problem Description, Steps to Reproduce and Version sections below

Problem Description
First of all, thanks for including the spyder-terminal in the standalone installers now as well!
However, currently the typing delay is rather large, making the spyder-terminal not very usable.
Using the built in terminal typing any command has a 1-2 second of delay.
What steps reproduce the problem?

Open Spyder
Go to the Terminal tab
Type ls and press Enter as fast as you can.

What is the expected output? What do you see instead?
Expected output
The command is typed on the command line without noticeable delay and the output is shown directly as I press Enter. If I for example visit the underlying web terminal at <IP_ADDRESS>:8073 that is how it works.
Actual output
All my input is delayed for 1-2 seconds. It's as if I am typing over a very slow network connection.
Paste Traceback/Error Below (if applicable)

>>> Uncaught TypeError: Cannot read property 'fit' of undefined
�_distutils_hack/__init__.pyc:17: UserWarning: Distutils was imported before Setuptools, but importing Setuptools also replaces the `distutils` module in `sys.modules`. This may lead to undesirable behaviors or errors. To avoid these issues, avoid using distutils directly, ensure that setuptools is installed in the traditional way (e.g. not an editable install), and/or make sure that setuptools is always imported before distutils.
_distutils_hack/__init__.pyc:30: UserWarning: Setuptools is replacing distutils.

 Are there advances? Printing is very slow in the terminal.

what is the status of this isuue? Are there advances? Printing is very slow in the terminal.

Hi guys
+1 regarding the input lag in the terminal. Any updates?
I am using Spyder 5.4.5 with Python 3.12.0

Any news on this?


feat: rename api parameter source -> endpoint

closes #321

Ready to merge, but waiting until Monday just in case to appease the launch curse gremlins

Ready to merge, but waiting until Monday just in case to appease the launch curse gremlins

regarding your small change as far as I can is about the function get_covidcast($source, $signals, $time_type, $geo_type, $time_values, $geo_values, $as_of, $issues, $lag) { function which remains to have the $source parameter, since it is actually the data_source API parameter.

augh you're right, sorry about that. fixing


Question about controlling Deye Sun 12K SG04LP3 EU

          > Logger Model: Stick Logger LSW-3 (Wifi)

Inverter Model: Deye Sun 12K SG04LP3 EU Firmware: 2005-1128-1807
Works great, reading the data every 10 seconds without problems. Thank you!

Hello, is it also possible to write data to the Deye Sun 12K SG04LP3 EU?  I want to be able to control the adjustments from Home Assistant
Originally posted by @RafaelDuncan in https://github.com/kbialek/deye-inverter-mqtt/issues/41#issuecomment-1539612139

@RafaelDuncan What about using https://github.com/StephanJoubert/home_assistant_solarman Wouldn't it suit you better if you already have HA in place?


The CSV Export is missing some necessary data

What would you like to be added:
I miss a date and time (or one together) column in the generated CSV. The amount and the coin are actually shown as 0.34@DFI. This should be two columns. There should also be an opportunity to export the whole account data for each coin in one step.
Why is this needed:
The data export is needed for an export to CoinTracking or other similar platforms.

Hi @jleidinger , thanks for your feedback, will forward this to the team.

Hi @jleidinger , update v2.3.1 is out. Date / Time has been added.


Comments after preprocessor instructions are not syntax highlighted correctly

Environment data
VS Code version: 1.0.0-preview2-003131
C# Extension version: fbbf5a13ee1710779b3e337d3a48a0b812fd7b8f
Steps to reproduce
#if DEBUG // Should be a comment

Expected  behavior

The comment should be syntax highlighted as a comment.
Actual behavior

The comment is syntax highlighted as part of the preprocessor value.

Thanks for the report!


NullPointerException in NvdCveUpdater.update()

[INFO] Checking for updates
Exception in thread "main" java.lang.NullPointerException 	at org.owasp.dependencycheck.data.update.NvdCveUpdater.update(NvdCveUpdater.java:175) 	at org.owasp.dependencycheck.Engine.doUpdates(Engine.java:714) 	at org.owasp.dependencycheck.App.runUpdateOnly(App.java:365) 	at org.owasp.dependencycheck.App.run(App.java:143) 	at org.owasp.dependencycheck.App.main(App.java:67)
Looks like the culprit is an unchecked null, fixed in master but present in 2.0.1.
Will there be a release from master soon to resolve this? I can't update my database.

The goal will be to release the next version, at the latest, the 23rd of July.

Alrighty, thanks. I was able to do a local snapshot build of master and use that for now.
Cheers.


build: link to libdl

When using the gold linker on Linux systems the build fails due to a linkage error. The root cause is that the MKL-ML library uses libdl for shared object functions such as dlopen and dladdr but does not explicitly link against it. With the (default) BFD linker this does not pose a problem because it resolves these symbols transitively from libiomp5.so's dependency to libdl. However the gold linker has stricter rules for symbol resolution and does not look up transitive references.
See this link for more information about the incompatibilities between gold and BFD linkers.
Below is the typical undefined reference error when building with the gold linker:
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_CCXX_FLAGS='-fuse-ld=gold' ..
cmake --build .

[ 40%] Linking CXX executable simple-training-net-cpp
/home/balioglu/repos/mkl-dnn/external/mklml_lnx_2<IP_ADDRESS>80406/lib/libmklml_intel.so: error: undefined reference to 'dladdr'
/home/balioglu/repos/mkl-dnn/external/mklml_lnx_2<IP_ADDRESS>80406/lib/libmklml_intel.so: error: undefined reference to 'dlopen'
/home/balioglu/repos/mkl-dnn/external/mklml_lnx_2<IP_ADDRESS>80406/lib/libmklml_intel.so: error: undefined reference to 'dlerror'
/home/balioglu/repos/mkl-dnn/external/mklml_lnx_2<IP_ADDRESS>80406/lib/libmklml_intel.so: error: undefined reference to 'dlsym'
collect2: error: ld returned 1 exit status

The fix is a small conditional statement that adds libdl to EXTRA_LIBS in platform.cmake.
Tested on Ubuntu 16.04, Amazon Linux 2017.03, and macOS Sierra.

Hi @emfomenk,
Thanks a lot for the improvement. I am totally fine with it. I also verified that it works as expected on my target systems.
As you already mentioned the long-term solution should be linking MKL-ML correctly. I am looking forward to the next release.

Finally merged :)
Thanks a lot for the contribution!


Interface method to another color?

Hi, I would love to see, in my code, when method is from interface, for example Read.

Hi! Could you clarify what you mean by 'a method from an interface'? Do you mean calling a method on an interface type, or calling a method on a type that happens to conform to some interface?
In either case, this would require type information, which isn't something Vim syntax definitions have - they're purely lexical, so highlighting is based only on the text in the file.

Do you mean calling a method on an interface type, or calling a method on a type that happens to conform to some interface?

Both would be great.

this would require type information

Is it possible to integrate with vim-go, gopls?

The first one (calling a method on an interface type) would require a lot of effort - even under the assumption you can get that information about a particular function call at a given location, it would still require using something like Vim's text properties to overlay custom syntax colours, which would likely result in odd highlighting artefacts when changing neighbouring code.
Now that I think about it, the second probably isn't feasible in any tolerable fashion (calling a method on a type that happens to conform to some interface) - it would require searching all available interfaces to see if one matched the call signature, which would be extremely slow even on a fast computer, and it would need to run every time the code was changed.
Overall, I don't think either of these justify the effort required to implement them, not to mention the fact that it would be special-case code that is completely separate from the rest of the syntax highlighting.

it would require searching all available interfaces to see if one matched the call signature

Just saying, vim-go can do that.

I hadn't used the GoImplements command before - that's cool. It's not enough by itself to do what you're asking, unfortunately.


wgpu validation error when using 16bits precision PNGs

Bevy version
0.7.0
Operating system & version
Pop_OS! 21.10
What you did
I tried to use a normal texture which has a precision of "16-bit gamma integer".
What you expected to happen
I've expected to have the texture loaded normally and used with a PbrBundle.
What actually happened
Crash at runtime.
2022-04-19T09:57:07.813153Z  INFO winit::platform_impl::platform::x11::window: Guessed window scale factor: 1
2022-04-19T09:57:07.885682Z  INFO bevy_render::renderer: AdapterInfo { name: "NVIDIA GeForce GTX 1660", vendor: 4318, device: 8580, device_type: DiscreteGpu, backend: Vulkan }
2022-04-19T09:57:08.200302Z ERROR wgpu::backend::direct: Handling wgpu errors as fatal by default
thread 'TaskPool (7)' panicked at 'wgpu error: Validation Error

Caused by:
    In Device::create_bind_group
      note: label = `pbr_standard_material_bind_group`
    texture binding 9 expects sample type = Float { filterable: true }, but given a view with format = Rgba16Uint

', /home/pancake/.cargo/registry/src/github.com-1ecc6299db9ec823/wgpu-0.12.0/src/backend/direct.rs:2273:5
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread 'main' panicked at 'task has failed', /home/pancake/.cargo/registry/src/github.com-1ecc6299db9ec823/async-task-4.2.0/src/task.rs:425:45

Additional information
I've compared my texture with other textures which work correctly :

Left is the image used by https://github.com/bevyengine/bevy/blob/main/examples/3d/texture.rs and right is the normal texture generating the wgpu validation error. The only difference I found was the precision.
After re-exporting the image to use 8-bit precision, the error is gone.

I wonder if this should maybe use Rgba16Unorm.
The PNG image loader only knows that the components are 16-bit unsigned integer, it doesn't know how you want to use it. The PBR material shader binding is configured to always expect a floating point value, whether that is how it is stored, or how it is converted automatically when being sampled.
So, you should be able to load the texture, and when it is loaded, reconfigure it:
if let Some(image) = images.get_mut(image_handle) {
    image.texture_descriptor.format = TextureFormat::Rgba16Unorm;
}

If this is part of a model, you may have to delay spawning the model into the world until this change is made.
In future, these friction points would be addressed by a few things:

image assets being used for normal map textures would automatically have their texture format reconfigured to a float mapping format, where necessary
asset meta files would allow configuration of what texture format to use when the underlying data is in the same format, but the format can be converted to something else such as unsigned normalised float when sampling

@cart I think this is an interesting case to consider for asset stuff so just giving you a nudge to inject it into your brain. :)

Changes were made to texture stuff between 0.6 and 0.7. I don't think anything should have been changed with respect to PNG textures but perhaps it was. I guess I/someone will have to go digging to find out what changed and why.
Some more information would likely be useful - exactly how are you loading the texture? Is it part of a glTF model or some other kind of model?

Changes were made to texture stuff between 0.6 and 0.7. I don't think anything should have been changed with respect to PNG textures but perhaps it was. I guess I/someone will have to go digging to find out what changed and why.
Some more information would likely be useful - exactly how are you loading the texture? Is it part of a glTF model or some other kind of model?

For my case it's a texture that's part of a .gltf file I load as a scene. Some meshes are fully textured with UV maps etc., and exported from Blender. In 0.6.1 I didn't get any panics loading this scene (although it did look strange, something I suspect is an unrelated lighting issue)

Changes were made to texture stuff between 0.6 and 0.7. I don't think anything should have been changed with respect to PNG textures but perhaps it was. I guess I/someone will have to go digging to find out what changed and why.
Some more information would likely be useful - exactly how are you loading the texture? Is it part of a glTF model or some other kind of model?

For my case it's a texture that's part of a .gltf file I load as a scene. Some meshes are fully textured with UV maps etc., and exported from Blender. In 0.6.1 I didn't get any panics loading this scene (although it did look strange, something I suspect is an unrelated lighting issue)

Normals are essential for lighting and have a direct impact. It could be related. Could you share the complete model so I can debug it?

Normals are essential for lighting and have a direct impact. It could be related. Could you share the complete model so I can debug it?

Yeah it's this model here https://github.com/Sheepyhead/diablo_3/blob/main/assets/GameScene.gltf

i realized the repo is private, I'll open it when I can get to my computer

It should now be public

Hello,
I got a similar error with 16 bit RGBA PNGs on Bevy 0.7.0 in my code. So I use the pngtest16rgba.png in examples/2d/sprite.rs to exclude my code and PNG and got:
2022-06-30T11:24:00.227870Z  INFO winit::platform_impl::platform::x11::window: Guessed window scale factor: 1
2022-06-30T11:24:00.437052Z  INFO bevy_render::renderer: AdapterInfo { name: "Quadro GP100", vendor: 4318, device: 5616, device_type: DiscreteGpu, backend: Vulkan }
2022-06-30T11:24:00.704090Z ERROR wgpu::backend::direct: Handling wgpu errors as fatal by default
thread 'main' panicked at 'wgpu error: Validation Error

Caused by:
    In Device::create_bind_group
      note: label = `sprite_material_bind_group`
    texture binding 0 expects sample type = Float { filterable: true }, but given a view with format = Rgba16Uint

', /home/dev/.cargo/registry/src/github.com-1ecc6299db9ec823/wgpu-0.12.0/src/backend/direct.rs:2273:5

same issue in 0.8.0
2022-08-22T11:51:24.068760Z ERROR wgpu::backend::direct: Handling wgpu errors as fatal by default
thread 'main' panicked at 'wgpu error: Validation Error

Caused by:
    In Device::create_bind_group
      note: label = `sprite_material_bind_group`
    texture binding 0 expects sample type = Float { filterable: true }, but given a view with format = Rgba16Uint

', C:\Users\zhuli\.cargo\registry\src\github.com-1ecc6299db9ec823\wgpu-0.13.1\src\backend\direct.rs:2391:5
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
error: process didn't exit successfully: `target\release\examples\sprite.exe` (exit code: 101)

PNG file exported by krita

Related: #554 and #1824

In 0.11.2 there is the same issue as well. I tried to change color depth for all 16bit/color materials to 8bit/color via imagemagick (magick <input image> -depth 8 <output image>) and the model was then partially rendered (parts with affected textures were missing). Don't know why :shrug:
In main branch on commit bdb063497d802b9180d1b608bf54339e5a726b70 it seems the behavior is: meshes with textures with 16bit/color are not rendered (like in my attempt to fix it above). However it doesn't panic.

I think 6c1f4668c7afe20a6ba0657794a4cf51c803c0b8 fixed this.


.Net: Expose UserAgent header customization

Motivation and Context
Closes #7444
Description

Contribution Checklist

[ ] The code builds clean without any errors or warnings
[ ] The PR follows the SK Contribution Guidelines and the pre-submission formatting script raises no violations
[ ] All unit tests pass, and I have added new tests where possible
[ ] I didn't break anyone :smile:

Need to rework this based on the fact the header is an internal utility


_AssertionError ('package:flutter/src/rendering/sliver_grid.dart': Failed assertion: line 482 pos 12: 'crossAxisExtent > 0.0': is not true.)

I added a GridView.extent() widget in a column but wrapped in Container(). Widget tree is like Column ( Container(GridView.extent) (Container(GridView.count)). And got this Assertion Error...
_AssertionError ('package:flutter/src/rendering/sliver_grid.dart': Failed assertion: line 482 pos 12: 'crossAxisExtent > 0.0': is not true.)
Actual Widget Tree Code...

 code
Column(
            crossAxisAlignment: CrossAxisAlignment.center,
            children: [
              Container(
                  margin: EdgeInsets.only(left: 14, right: 14),
                  child: Expanded(
                    child: GridView.extent(
                      primary: false,
                      padding: const EdgeInsets.only(
                          top: 20, bottom: 20, right: 6, left: 6),
                      crossAxisSpacing: 20,
                      mainAxisSpacing: 20,
                      childAspectRatio: (140 / 200),
                      maxCrossAxisExtent: 200.0,
                      shrinkWrap: true,
                      children: <Widget>[
                        appCard(obj[0][0], () {
                          openWebView(obj[0][1]);
                        }),
                        appCard(obj[1][0], () {
                          openWebView(obj[1][1]);
                        }),
                        appCard(obj[2][0], () {
                          openWebView(obj[2][1]);
                        }),
                        appCard(obj[3][0], () {
                          openWebView(obj[3][1]);
                        }),
                        appCard(obj[4][0], () {
                          openWebView(obj[4][1]);
                        }),
                        appCard(obj[5][0], () {
                          openWebView(obj[5][1]);
                        }),
                        appCard(obj[6][0], () {
                          openWebView(obj[6][1]);
                        }),
                        appCard(obj[7][0], () {
                          openWebView(obj[7][1]);
                        }),
                        appCard(obj[8][0], () {
                          openWebView(obj[8][1]);
                        }),
                        appCard(obj[9][0], () {
                          openWebView(obj[9][1]);
                        }),
                      ],
                    ),
                  )),
              Text(
                "FEATURED",
                style: GoogleFonts.openSans(
                    fontSize: 15,
                    color: Colors.grey.shade600,
                    letterSpacing: 3),
                textAlign: TextAlign.left,
              ),
              GestureDetector(
                onTap: () async {
                  try {
                    final result =
                        await InternetAddress.lookup('www.google.com');
                    if (result.isNotEmpty && result[0].rawAddress.isNotEmpty) {
                      setState(() {
                        openedByClosed = false;
                        _webvisible = false;
                        _loading = true;
                        _closeVisible = true;
                        refresh = true;
                      });
                    }
                  } on SocketException catch (_) {
                    ScaffoldMessenger.of(context).showSnackBar(SnackBar(
                      backgroundColor: Colors.red,
                      content: Row(children: <Widget>[
                        //Icon widget of your choice HERE,
                        Text(
                          "Not connected",
                          style: TextStyle(fontSize: 17),
                        ),
                        SizedBox(
                          width: 10,
                        ),
                        Icon(
                          Icons.signal_cellular_connected_no_internet_4_bar,
                          color: Colors.white,
                        )
                      ]),
                    ));
                  }
                },
                child: Container(
                  margin: EdgeInsets.only(left: 14, right: 14),
                  child: Expanded(child: GetStreamData(type)),
                ),
              ),
            ],
          ),

Logs

Hi @itsmegeekysharma
Can you please provide your flutter doctor -v and flutter run --verbose logs, and a minimal complete reproducible code sample?
Side note: You are using the Expanded widget incorrectly, it is meant to be used as a direct of a Row or Column
Thank you

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


[v2.0.0-beta.9] Validation error when an input's type is changed and it conflicts with user's locally cached value

Describe the bug
If an input's type is changed to a less permissive type (ex. color → text with specified options) the local value cached in the user's browser will throw an error due to failed validation.
To Reproduce

Publish a function with a color input
Navigate to the published function and make a selection for that input
Change the color input type to "text" with several options
Publish a new version of the function to the same domain
Navigate to the same function in the same browser
You'll see something like "MechanicError: Error is thrown during input X value validation: Supplied Input value (#fafafa) is not available in options: Red, Yellow, Green"

Expected behavior
I expect a function to ignore users' stale values for an input when the type is changed
Screenshots

Desktop (please complete the following information):

OS: macOS Monteray
Browser: Chrome/Safari
Version: Latest

Additional context
Changing the key value for the input avoids this scenario, but solutions like encoding the input type into the inputs name (themeText, themeColor) get cumbersome and are prone to mistakes.
Hashing individual input objects to create a unique ID (ala CSS modules) could be one way to ensure a stale value isn't used.

Hi @vpicone. Thanks so much for this! It's a known issue, and we just huddled to figure out the solution for it. Give us a few days and we'll try to get another release out. Until then, you can delete your localStorage items in the web developer console and it should reset the app back to its proper state.


Facade for the library

First of all I'd like to thank you for you time to create this library.
I'd like to share my experience of usage this library.
My task was to create an app, which sends command to Kodi to play some URL. That was not easy to do. As a new comer to Kodi JSON RPC, I do not know commands and parameters to JSON RPC. I've spent quite a lot of time to figure out which namespace (Player or Playlists) and which command to send. Even more time I've spent to find what parameters to pass. item parameter had to be a dictionary with the file variable which contains URL.
I believe code (in general) is written one time to be used many times. Because of that some effort have to be made to make code easy to use.
As I can see interface of the library is generated from hive.json. I believe that was done, as probably it is easier to maintain it in the future. However it is very hard to use it

In the editor when I press Ctrl+Space I do not see list of supported functions
When I select function and press Ctrl+Space, there is no hint about parameters.

I believe for this nice library decorator would be very handy to cover some most frequent use cases to make API more user friendly.

Hi @ujos! Thanks for the suggestion!
This is a bit tricky. Every IDE is different, but most add features like the one you want by parsing, but not executing library code and exposing the symbols the library contains.
In the case of kodipydent, features like this won't work, because the actual entire library namespace isn't available until program execution time—most of the symbols (that would normally be defined as methods or attributes on a class) don't exist in parseable code, and are added on once a remote Kodi instance is contacted.
The upstream library that kodipydent uses to do this, beekeeper, is deprecated for many reasons, this among them. It'd likely take a full rewrite of kodipydent to expose its symbols to IDEs, so it's not likely to happen. One of the reasons for writing kodipydent in the first place was because Kodi's JSON-RPC surface is really large and I thought an intermediate solution (somewhere in between crafting custom functions for each possible API call and building full JSON requests inline) might be helpful.
If, however, you want a quick reference (albeit not integrated with your IDE), one way to achieve that is to load a Kodi instance in the Python REPL and run print() on it—beekeeper will lay out the API structure, including all the namespaces, methods and named parameters for each.
In general, though, the namespaces and methods will be identical to the names described in the Kodi wiki's documentation of the JSON-RPC surface.
I know this is a somewhat long-winded comment, but I hope it's helpful.

@haikuginger Thank you for hint. Will try.


Assertion `(B*Q) % block_multiplier == 0' failed.

Dear author:
Hello, I have encountered the following question. May I ask where the error may be? I have been investigating for a long time but have not resolved it.
Error info:
python: /tmp/pip-install-g285lflt/dcnv4_0c9a40fbaa094f858763d45f8220c7e2/src/cuda/dcnv4_im2col_cuda.cuh:301: void _dcnv4_im2col_cuda(cudaStream_t, const scalar_t*, const scalar_t*, scalar_t*, int, int, int, int, int, int, int, int, int, int, int, int, int, int, int, at::opmath_type<scalar_t>, int, int, int, int) [with scalar_t = float; stride_type = ulonglong4; int d_stride = 8; cudaStream_t = CUstream_st*; at::opmath_type<scalar_t> = float]: Assertion `(B*Q) % block_multiplier == 0' failed.

Can you provide more details? Under what circumstances did you encounter this error?

I met the same question.

I think it is because you have to set the kernel size to 3

Have you solved this problem? I also encountered the same problem.

I met the same question.

Have you solved this problem? I also encountered the same problem.

Same here

Can you provide more details? Under what circumstances did you encounter this error?

I think it is because you have to set the kernel size to 3

Set kernel_size to 1 gives this error:

My code is follows:
class DilatedBlock(nn.Module):
    """Standard bottleneck with dilated convolution."""

    def __init__(self, c, dilation, k, fuse="sum"):
        """Initializes a bottleneck module with given input/output channels, shortcut option, group, kernels, and
        expansion.
        """
        super().__init__()
        self.k = k

        # differnet conv type
        self.dcv = DCNv4(channels=c, kernel_size=k, stride=1, group=1, padding=autopad(k,None,dilation), dilation=dilation)

    def forward(self, x):
        """'forward()' applies the YOLO FPN to input data."""
        # !HACK: not implemented on CPU
        if x.device == torch.device("cpu"):
            return x
        B, C, H, W = x.shape
        _input = x.view(B,C,H*W).permute(0,2,1).contiguous()
        dx = self.dcv(_input, shape=(H, W))
        dx = dx.permute(0,2,1).contiguous().view(B, C, H, W)
        return dx

shape of x is torch.Size([1, 96, 200, 200]) and _input shape is torch.Size([1, 40000, 96])

我们也遇到了类似的问题：
img width:5472,hight:3648
demo: ~/mmdeploy/csrc/mmdeploy/backend_ops/torchscript/ops/modulated_deform_conv_v4/dcnv4_im2col_cuda.cuh:301: void _dcnv4_im2col_cuda(cudaStream_t, const scalar_t*, const scalar_t*, scalar_t*, int, int, int, int, int, int, int, int, int, int, int, int, int, int, int, at::opmath_type<scalar_t>, int, int, int, int) [with scalar_t = float; stride_type = ulonglong4; int d_stride = 8; cudaStream_t = CUstream_st*; at::opmath_type<scalar_t> = float]: Assertion `(B*Q) % block_multiplier == 0' failed.
Aborted (core dumped)


Accessors for SSLSessionContext + SSLContext

For session management, invalidation, and persistent session caches.

Closing, see discussion on PR above.


Insert into phinxlog with many schemes

I have many schemes in my database(postgresql), when I run migarte then script throw excpetion:

[PDOException]
SQLSTATE[42P01]: Undefined table: 7 ERROR:
LINE 1: INSERT INTO phinxlog (version, start_time, end_time) VALUES ...

Problem is solved by changes in src/Phinx/Db/Adapter/PostgresAdapter.php line 997 and 1008:
$this->getSchemaTableName(),
to
$this->quoteTableName($this->getSchemaTableName())

:+1:

You even got upvotes for upvotes here :)
Are you able to provide a pull request with your suggested changes?
That would be awesome!

Yes, I'll do that

PR open


fix: duplicate entrypoint files

Summary

Test Plan

added

Require Documentation?

[x] No
[ ] Yes, the corresponding rspack-website PR is __

!canary

!canary


Window is not tiled in dwm

When I open neovide in dwm the window will appear in floating mode in the center of the screen instead of tiling like it should.

I don't think that's a neovide issue.
You should be able to change this by changing your DWM config.

Unless theres an action we can take in neovide I think this isn't something we can solve. I'm closing this, but feel free to reopen if you want to chat further or have ideas.


[wip, experimental] only deploy files that have changed

Seems like it's been killing everyone to re-upload so many files when only a couple change. This modification adds a grunt task shopify:upload-changed

@jmdesiderio see what you were saying, misunderstood how watch worked - changed that back but left the upload-changed task


Dataset from the HEALER paper

Hi @SunHao-0 , I have already read your paper about HEALER. Also. I remember you mentioned that you use a strong_distill.db for Moonshine. Could you share it with us?

Hi Weiheng,
Sorry for the late, I noticed your email this morning.
The strong_distill.db was generated by Moonshine with its strong distillation strategy. I think extracting seeds based on your experiment's design and requirements would be more reasonable. You can follow their detailed guidance here. Besides, the strong-distill.db based experiments were conducted a long time ago. It would cost more time to find the old seeds than regenerate them.

Hi Hao, Thanks for your reply and thanks for the information. But I’m struggling with generating the seed from Moonshine. Could you give me some advice? Are you using wechat? Could I add your wechat that we could talk about more details if you are ok with that? Also, I saw from your website that you are excellent on RUST and looking for some opportunities to pursue a Ph.D career. I could introduce our lab to you since we are going to work on some RUST projects. Looking forward to your reply. Best,Weiheng  From: Hao SunSent: Sunday, February 20, 2022 7:50 PMTo: SunHao-0/healerCc: Weiheng Bai; AuthorSubject: Re: [SunHao-0/healer] Dataset from the HEALER paper (Issue #41) Hi Weiheng,Sorry for the late, I noticed your email this morning.The strong_distill.db was generated by Moonshine with its strong distillation strategy. I think extracting seeds based on your experiment's design and requirements would be more reasonable. You can follow their detailed guidance here. Besides, the strong-distill.db based experiments were conducted a long time ago. It would cost more time to find the old seeds than regenerate them.—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID<EMAIL_ADDRESS>
Hi Hao, By the way, my wechat is<PHONE_NUMBER>3 (Wayne Bai), if you’d like to add my wechat. Best,Weiheng From: Hao SunSent: Sunday, February 20, 2022 7:50 PMTo: SunHao-0/healerCc: Weiheng Bai; AuthorSubject: Re: [SunHao-0/healer] Dataset from the HEALER paper (Issue #41) Hi Weiheng,Sorry for the late, I noticed your email this morning.The strong_distill.db was generated by Moonshine with its strong distillation strategy. I think extracting seeds based on your experiment's design and requirements would be more reasonable. You can follow their detailed guidance here. Besides, the strong-distill.db based experiments were conducted a long time ago. It would cost more time to find the old seeds than regenerate them.—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID<EMAIL_ADDRESS>


”Runcu Salvei” is listed in drop-down menu

Description:
"Runcu Salvei" is listed in the drop-down menu alongside its corresponding county and commune, according to the law.
Precondition:
The website is up an running.

Step 1
Type "Runcu Salvei" in the search bar.

Expected results
The location is listed in the drop-down menu as "Runcu Salvei, Bistrița-Năsăud(Runcu Salvei)".


Automatic update to AzureCLI 2.30 in the pipeline task broke our authentication workflow

Question, Bug, or Feature?
Type: Bug & Question & Feature Request
Enter Task Name: Azure CLI
Environment
Azure Pipelines
Not providing more details and logs, as the issue is pretty generic.
Issue Description
Problem: Breaking changes in Azure CLI version 2.3.0 broke our pipeline. Because the AzureCLI task got automatically updated.
This actually happened during a release pipeline execution, so the earlier jobs received 2.29.2 and at some points the agents started receiving 2.30 and it broke in the halfway.
This is a quite critical limitation for our pipelines right now.
Question: Is there a way to keep using an earlier version in the AzureCLI pipeline task? (e.g. 2.29.2)
Feature request: can you please add the possibility to the Azure CLI taks to pin a specific version of the CLI?

Same - Not sure if strictly related to the breaking changes though.
All our AzureCLI tasks now throw Azure CLI 2.x is not installed on this machine after 2.30 was released.
In my case, our agent installation scripts will install whatever version is returned by https://aka.ms/installazurecliwindows.

We were able to workaround this by adding parameters: --sku Standard --scale-units 2
https://docs.microsoft.com/en-us/cli/azure/release-notes-azure-cli


Update cats-effect to 3.2.9

Updates org.typelevel:cats-effect from 2.5.4 to 3.2.9.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Applied Migrations

github:typelevel/cats-effect/v3_0_0?sha=v3.0.0

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.typelevel", artifactId = "cats-effect" } ]

labels: library-update, semver-major, scalafix-migrations

Superseded by #677.


WIP: Experimental fix for reading constraints without dependency

@bot-gradle test this

I've triggered the following builds for you:

PullRequestFeedback build


No such file or directory: '.hf_token'

No such file or directory: '.hf_token'. How should I solve it?

Create a file named .hf_token and simply copy your Huggingface token into it.

Is it downloading this file and naming it. hf_token?

The error message after execution is as follows:

If it's convenient, may I add your WeChat account? I am very interested in your research and would like to seek your advice and exchange ideas. My WeChat: q785941939

I am also experiencing this problem. What is the huggingface token you are referring to?

@h-zhao1997 我配置后，发现会提示MambaConfig有问题。

上面提示的MambaConfig不存在norm_epsilon属性，我调试跟了下，发现这里获取到的MambaConfig确实不满足后续程序的要求。请问是什么原因呢？我在base_llm.py +132行处，hf_pub_path值和hf_token值如下。难道是这两个值中的hf_token值不对导致的差异吗？

@huangwenjunlovedy 应该在你的profile-access tokens中找到或新建一个token，token是以hf_开头的一串字符


Feature: RGB Led controlled via ROS

RGB Led onboard an Arduino Uno is controllable via ROS. PR updates Arduino Sketchbook.
Major Updates

Reorganize Arduino Sketchbook
Add ROS integration to have Arduino listen for a ROS topic to set the RGB led
Python code to publish to /paintbrush_color topic

Tests
Launched control to Arduino using roslaunch light_painting t2_led_paintbrush.launch.
Used RQT's Message Publisher to publish test messages and confirmed LED updated to match RGB setting.

Design Notes:
Verified Arduino had sufficient buffer size on Arduino Uno. Message is 3xUINT8 values (ie. 3 bytes). Current program size leaves ~600 bytes of memory available for variables. This is sufficient.
Program Control Flow:

Remaining Work

[ ]  Update control calls from main python code @MohammadKhan-3

Next Steps
Setup
1 - Init ROS Node
2 - Setup Publisher to topic /paintbrush_color using custom message type: light_painting/RGBState.msg

Main
3 - Read pixel value < r, g, b >
4 - Instantiate and build a new RGBState message
5 - Set values of message. Must be UINT8 values (0-255)

Pseudo Code
This might look something like this pseudo-ish code.
This is just some relevant chunks, does not include everything needed for a ROS node w/ publisher. This will not run.
import rospy
import light_painting.msg import RGBState

pub = rospy.Publisher('paintbrush_color ', RGBState, queue_size=5)

msg = RGBState()
msg.red = 187
msg.green = 0
msg.blue = 0

pub.publish(msg)

@MohammadKhan-3 Left a review of code. See comments in the review. Once changes made, I think this is ready to merge.
Let's do a regular Merge Pull Request on this one to maintain the commit history.

Built the rosserial_arduino library
I ran rosrun rosserial_arduino serial_node.py -port=/tty/ACM0 -baud=500000
but still getting this error:
[ERROR] [1649688048.164270]: Error opening serial: [Errno 2] could not open port -port=/tty/ACM0: [Errno 2] No such file or directory: '-port=/tty/ACM0'
To create the Binary publisher:

made a custom msg type & added Binary_values_publisher script (similar structure to RGB)


2 or more computers using Twitch Leecher on the same twitch api token

Hi I would like to know since Twitch Leecher 2.05 how do you use twitch Api token on twitch leecher on 2 or more computers without having to login everytime on a new computer?
Thanks

I don't...

ok thanks

What made you think TL did something like that? Just wondering 😄


Is there an active fork of this repo?

I use this code frequently and I find that the absolute_imports changes can create new syntax errors.
I believe there are several other nice improvements that could be made.  I guess that I am not alone because there are currently 30 open PRs and 136 open issues yet there has not been a new merge in 14 months?

This project is now being actively maintained.  I reached out to Ed over email, we met over VC and I offered to assist maintaining this project going forward.


docs: fix controller path to v4

Description of the change:
Update memcached_controller.go path from controllers/memcached_controller.go to internal/controllers/memcached_controller.go.
Motivation for the change:
While following the Golang tutorial, I found that  a controller folder was created under Internal internal/controllers/memcached_controller.go, unlike the path controllers/memcached_controller.go shown in the document.

Hi @acornett21. It's my first time doing contributing to operator-sdk, so I didn't know. I'll sign it with commit  and request a review again. Thank you.