Unnecessary Deadman notification after power on

Avoid duplicates

[X] Bug is not mentioned in the FAQ
[X] Bug is specific for Android only, for general issues / questions that apply to iOS and Android please raise them in the documentation repository
[X] Bug is not already reported in another issue

Technical details

Device name: Samsung Galaxy A5 (2017) SM-A520F
Android version: 8.0.0
App version: 1.7.1

Describe the bug
If a device has been powered off for more than 36 hours, when it is powered on, the deadman notification is displayed. This is an unnecessary warning if the device is able to immediately carry out an exposure check.
The Deadman notification is:
Corona-Warn
Your Risk Status
Please remember to open the Corona-Warn-App regu..

Steps to reproduce the issue

CWA is installed and EXPOSURE LOGGING ACTIVE shows in status bar.
Power off device.
Wait a minimum of 36 hours.
Power on device.

The following screen shots show a device powered off after a successful exposure check at 09:17 on Dec 13, 2020. It was powered on again after more than 36 hours. Very soon afterwards, at 23:07 on Dec 14, 2020, the Deadman notification was shown. One minute later at 23:08 the Google Exposure checks UI shows that a successful exposure check was carried out.
(There is a gap of 37h 41m between the two exposure checks.)

Expected behaviour
When the device is powered on, it should first attempt an exposure check, if scheduled.
The deadman notification should then only appear if that exposure check failed and the last successful exposure check was more than 36 hours ago.
Additional context
The truncated Deadman notification is covered in https://github.com/corona-warn-app/cwa-app-android/issues/1850

Internal Tracking ID:  EXPOSUREAPP-4313

Dear @MikeMcC399
Thank you for your contributions.
We have created a ticket for the bug in the internal Jira system. Any further developments will be notified here in this Github issue.
Best wishes,
DS

Corona-Warn-App Open Source Team
Internal Tracking ID: EXPOSUREAPP-4313

We prefer to show this notification because of the different OEM behaviors on Android we would prefer to avoid additional complexity in the background and notification and ensure the app is really started manually after this long period of time where the app was not active.

We prefer to show this notification because of the different OEM behaviors on Android we would prefer to avoid additional complexity in the background and notification and ensure the app is really started manually after this long period of time where the app was not active.


Add disk space indicator

Addresses #24

Pull Request Test Coverage Report for Build 150

27 of 38 (71.05%)  changed or added relevant lines in 4 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage increased (+1.1%) to 53.302%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/metrics/la.rs
2
3
66.67%

src/metrics/aggreagtor.rs
0
2
0.0%

src/metrics/mod.rs
0
2
0.0%

src/metrics/space.rs
25
31
80.65%

Files with Coverage Reduction
New Missed Lines
%

src/metrics/aggreagtor.rs
1
0.0%

Totals

Change from base Build 148:
1.1%

Covered Lines:
339

Relevant Lines:
636

💛  - Coveralls


(PUP-10307) Don't require the environment to exist locally

When running puppet plugin download on a host that isn't the master, the
environment directory likely doesn't exist, so configure the environment mode
to not require it in the same way we do for puppet agent.

CLA signed by all contributors.

jenkins please test this with servertests


WIP - Adding circleci orb build and config

This seems like it'd be a great way to implement on Circle for customers. It would eliminate so much repetitive config code. And let us publish and version the pipelines in one place.
Secret handling seems reasonable. Setting variables seems like a reasonable way to do it. It's not 100% clear to me if there's a separate build environment apart from an app's when you use an orb. It seems like it's all happening in the scope of the repo being built.

Yeah, the secrets handling will basically be the same as we have it now.  The workspace is the same as your typical build workspace when using the orb.

Looks like you need to run make docs-index again, but otherwise LGTM.


⚠ Fortnite has degraded performance

In 8a7c70b, Fortnite (https://fortnite.com) experienced degraded performance:

HTTP code: 200
Response time: 1362 ms

Resolved: Fortnite performance has improved in a514c0e.


Highlight function

//working on highlight
waitForTab().then(function(tab){
  chrome.scripting.executeScript({
    target: { tabId: tab.id },
    function: inject,
})
});

//get active tab
async function waitForTab(){
  let [tab] = await chrome.tabs.query({ active: true, currentWindow: true });
  return tab
}

//function to inject
function inject(){
	// her might be the issue, function stops working here which means up to here we know that
	// function is stored in the HTML file.
	// I've seen someone use 'select' event listener but that doesn't work either
	document.addEventListener('mouseup', function(event){
	const selection = event.target.value.substring(event.target.selectionStart, event.target.selectionEnd);
	const selection2 = (getSelected());
  addItemToList(selection);
	additemToList(selection2);

});
}

//test function that doesn't work either
function getSelected() {
  if(window.getSelection) { return window.getSelection(); }
  else if(document.getSelection) { return document.getSelection(); }
  else {
    var selection = document.selection && document.selection.createRange();
    if(selection.text) { return selection.text; }
    return false;
  }
  return false;
}

I'm pretty sure that it works up to the injected function. It should be injected but I don't know if it is, seems like its not since I get no response on console.log, but I'm doing everything right apparently.
My biggest issue right now is finding what and how the addEventListener works when it's injected. 'Select' or 'mouseup' should trigger when a selection of text is made, right?

Omg, maybe i should set a window.onmouseup = functionToInject() or window.getSelected()?


Install some packages required to generate mmdb test dbs

For testing purpose matomo now includes a perl script to generate test mmdb files. This script has various dependencies, which should be installed with this changes.

:heart: :blue_heart: :green_heart: :purple_heart: :yellow_heart:


EKS 1.3.10 is announced but doesn't seem to exist

The official eks docs reference 1.3.10 but eks master instances still seem to be on 1.3.8 and no worker ami's seem to be published. This is both disappointing as 1.3.10 is a security release and frustrating as I've had to waste time "polling" for 1.3.10 to appear.
https://docs.aws.amazon.com/eks/latest/userguide/platform-versions.html
https://docs.aws.amazon.com/eks/latest/userguide/kubernetes-versions.html#version-deprecation
https://docs.aws.amazon.com/eks/latest/userguide/update-cluster.html
$ aws s3 ls s3://amazon-eks/
                           PRE 1.10.11/
                           PRE 1.10.13/
                           PRE 1.10.3/
                           PRE 1.11.10/
                           PRE 1.11.5/
                           PRE 1.11.8/
                           PRE 1.11.9/
                           PRE 1.12.10/
                           PRE 1.12.7/
                           PRE 1.12.9/
                           PRE 1.13.7/
                           PRE 1.13.8/
                           PRE cloudformation/

Related to #323

Any updates here from EKS team?

The official eks docs reference 1.3.10 but eks master instances still seem to be on 1.3.8 and no worker ami's seem to be published. This is both disappointing as 1.3.10 is a security release and frustrating as I've had to waste time "polling" for 1.3.10 to appear.
https://docs.aws.amazon.com/eks/latest/userguide/platform-versions.html
https://docs.aws.amazon.com/eks/latest/userguide/kubernetes-versions.html#version-deprecation
https://docs.aws.amazon.com/eks/latest/userguide/update-cluster.html
$ aws s3 ls s3://amazon-eks/
                           PRE 1.10.11/
                           PRE 1.10.13/
                           PRE 1.10.3/
                           PRE 1.11.10/
                           PRE 1.11.5/
                           PRE 1.11.8/
                           PRE 1.11.9/
                           PRE 1.12.10/
                           PRE 1.12.7/
                           PRE 1.12.9/
                           PRE 1.13.7/
                           PRE 1.13.8/
                           PRE cloudformation/

Related to #323

You could watch the releases on this repo, so at least you get notified instead of polling.  I'm anxiously awaiting the 1.13.10 release as well :-).

btw server is already updated:
cluster info:
Kubernetes Version 1.13
Platform Version eks.3
 kubectl version
Server Version: version.Info{Major:"1", Minor:"13+", GitVersion:"v1.13.10-eks-5ac0f1", GitCommit:"5ac0f1d9ab2c254ea2b0ce3534fd72932094c6e1", GitTreeState:"clean", BuildDate:"2019-08-20T22:39:46Z", GoVersion:"go1.11.13", Compiler:"gc", Platform:"linux/amd64"}

Accroding to https://docs.aws.amazon.com/eks/latest/userguide/platform-versions.html a Platform Version eks.4 is just around the corner.

1.13 is deprecated by now.


Integration of ONSDigital/dp-search-scrubber-api Git History, Makefile, and Dependencies Update

What
Adopted git history from ONSDigital/dp-search-scrubber-api.
Updated Makefile.
Updated tests to now exclude unnecessary OAC and SIC codes.
Updated go version to 1.21 and removed unnecessary dependencies.
Removed to-dos .
Updated method to split all acceptable OAC SIC codes from query.
Removed file used for testing Pipeline triggers
How to review
Run tests - make test-all or make test-component, make test, make convey.
Test manually.
Check for inconsistencies and syntax errors.
Who can review
Anyone with ONS clearance to approve/merge PRs.

3 audit failures
Few lint failures


chore(doc): Fix documentation for camel-website generation

Release Note
NONE

@oscerd Is there a quick way to test in local the website generation ?

I checked with doc/local-build.sh, it works :ok_hand:

Thanks a lot!


Support exit_on_time option: issue #399

Hi! This PR implements exit-on-time option (alike in afl++) which allows to stop fuzzing session when there is no new coverage discovered for a certain amount of time. This functionality is used for automatic fuzz testing organizing.
There is also an issue #399 requesting this feature.

Thank you!


Create SECURITY.md

Hello 👋
I run a security community that finds and fixes vulnerabilities in OSS. A researcher (@emredurmaz4) has found a potential issue, which I would be eager to share with you.
Could you add a SECURITY.md file with an e-mail address for me to send further details to? GitHub recommends a security policy to ensure issues are responsibly disclosed, and it would help direct researchers in the future.
Looking forward to hearing from you 👍
(cc @huntr-helper)

Hey @benharvie!
We have a security contact in our README: https://github.com/imgproxy/imgproxy#security-contact. I'll think about adding a SECURITY.md file 👍
You can send the vulnerability details to<EMAIL_ADDRESS>

Hi @benharvie https://github.com/benharvie!
How does the process work here?
Do you explain the details or do we?
How shall we proceed?
Best regards,
Emre
Sergey Alexandrovich @.***>, 13 Oca 2023 Cum, 18:39
tarihinde şunu yazdı:

Hey @benharvie https://github.com/benharvie!
We have a security contact in our README:
https://github.com/imgproxy/imgproxy#security-contact. I'll think about
adding a SECURITY.md file 👍
You can send the vulnerability details to @.***
—
Reply to this email directly, view it on GitHub
https://github.com/imgproxy/imgproxy/issues/1079#issuecomment-1382030733,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ALBYNARDM5OBBIQ3WVT5FMLWSFZLPANCNFSM6AAAAAAT2E3EBQ
.
You are receiving this because you were mentioned.Message ID:
@.***>


Rework #1470 part 1

Another attempt to bring back the changes addressing #1470. This is part one with the following non-functional changes:

Common.updatePackages -> a/a
Common.recordError -> a/a
AppEnvironment.reportError -> a/a
AppError.report -> a/a
Rollbar.createItem -> a/a
Add ActorIsolated to handle assertions with a/a Current functions
replaced AppTestCase.testQueue with QueueIsolated to handle assertions with sync Current functions
Converted related tests to a/a, fixed up Actor/QueueIsolated

CI failed twice with the following error:
    ✖ test_analyze, XCTAssertEqual failed: ("33") is not equal to ("34") -
    ✖ test_analyze, failed - Snapshot does not match reference.

I've since run it another 8 times in CI without errors. I never fails on macOS. I cannot get it to fail on lb1.
I feel like the changes are important enough to pull in even if we don't manage to properly fix #1470 and even if there's a chance for a race condition. If this turns out to become a nuisance, perhaps there are ways to tweak this test to mitigate that.
We'll need to go a/a eventually so this can't be a fundamental blocker for us doing so.
The other issue we were seeing with #1470 changes was analysis/ingestion stalling. I'll deploy from the branch to dev so we can see how it goes over night.

So far so good:

Let's maybe give this until the afternoon if possible (no other deployments to dev) and then we should be ok to merge.

This is good to be merged. Once it's in I'll ad-hoc deploy from the part 2 branch for testing.


You may want to use gloo-net instead of reqwest

Hi,
I also have a realworld implementation, but using a different frontend framework. I copied services and types from your implementation. So, I'd like to say "thank you" to you because I reuse your code in mine.
After all, I'd like to have a discussion about gloo-net and reqwest. Have you ever heard of gloo-net? I do an experiment with it and the .wasm binary using gloo-net is about 300 kb smaller than using reqwest.
If you want to have a look at my experiments, here is my implementation.
Thank you again for the code that I reuse!

Since yew supports SSR now , and gloo-net only supports csr, so reqwest might be easy to support ssr later.


Work in simulator not work in iPhone device

dont know why

It's impossible to do anything from this description. Please do some investigation to show what is exactly wrong with highlight.js here.

Looks like a duplicate of #891. My apologises, but we need help from experienced mobile web developers to investigate this.

@Sannis  @isagalaev  i wrote a demo for this TestHighLight, highlight.js is work in simulator not work in iPhone device, please use Xcode7-Bete6,it can use device testing without Certificate。please inform me If there is any research results。 I'm using highlight.js and my application is about to go online. thank you~

@zixun what you're proposing is that some of use should get a Mac, set it up, buy or license a particular development environment, learn it, learn how to build your project, get an iPhone, figure out how to upload your app to it… and then try to guess how exactly you were expecting highlight.js to work and what does it mean that it doesn't. All that to find a problem that most probably has nothing to do with highlight.js itself, as you say it works fine in an emulator.
In other words, you're in a much better position to investigate it. It looks like the iPhone either can't find the script at the path you provide or may be your app doesn't have permissions for it or something like that in an environment.

btw, quickly looking through your code revealed at least one possible reason: you're misspeled "arta.css" with a capital letter here: https://github.com/zixun/TestHighLight/blob/master/html/test.html#L12

@isagalaev  I'm so sorry,it's my fault！highlight.js works well at device while change to 'arta.css'. Thx


RDS Postgres version update

Get this error when deploying stratospheric (using CDK)
staging-todo-app-Database: creating CloudFormation changeset...
15:39:09 | CREATE_FAILED        | AWS::RDS::DBInstance                        | DatabasepostgresInstance8
EA39D5E
Resource handler returned message: "Cannot find version 12.9 for postgres (Service: Rds, Status Code: 400
, Request ID: 2396ae25-09d4-474c-90cc-a7c516dedbac)" (RequestToken: 4079704e-08ce-7c66-f08c-b47707583196,
HandlerErrorCode: InvalidRequest)

 ❌  DatabaseStack (staging-todo-app-Database) failed: Error: The stack named staging-todo-app-Database failed creation, it may need to be manually deleted from the AWS console: ROLLBACK_COMPLETE: Resource handler returned message: "Cannot find version 12.9 for postgres (Service: Rds, Status Code: 400, Request ID: 2396ae25-09d4-474c-90cc-a7c516dedbac)" (RequestToken: 4079704e-08ce-7c66-f08c-b47707583196, HandlerErrorCode: InvalidRequest)
    at prepareAndExecuteChangeSet (/Users/tspencer/Desktop/stratospheric/cdk/node_modules/aws-cdk/lib/api/deploy-stack.ts:386:13)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at deployStack2 (/Users/tspencer/Desktop/stratospheric/cdk/node_modules/aws-cdk/lib/cdk-toolkit.ts:240:24)
    at /Users/tspencer/Desktop/stratospheric/cdk/node_modules/aws-cdk/lib/deploy.ts:39:11
    at run (/Users/tspencer/Desktop/stratospheric/cdk/node_modules/p-queue/dist/index.js:163:29)

 ❌ Deployment failed: Error: Stack Deployments Failed: Error: The stack named staging-todo-app-Database failed creation, it may need to be manually deleted from the AWS console: ROLLBACK_COMPLETE: Resource handler returned message: "Cannot find version 12.9 for postgres (Service: Rds, Status Code: 400, Request ID: 2396ae25-09d4-474c-90cc-a7c516dedbac)" (RequestToken: 4079704e-08ce-7c66-f08c-b47707583196, HandlerErrorCode: InvalidRequest)
    at deployStacks (/Users/tspencer/Desktop/stratospheric/cdk/node_modules/aws-cdk/lib/deploy.ts:61:11)
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
    at CdkToolkit.deploy (/Users/tspencer/Desktop/stratospheric/cdk/node_modules/aws-cdk/lib/cdk-toolkit.ts:312:7)
    at initCommandLine (/Users/tspencer/Desktop/stratospheric/cdk/node_modules/aws-cdk/lib/cli.ts:349:12)

Stack Deployments Failed: Error: The stack named staging-todo-app-Database failed creation, it may need to be manually deleted from the AWS console: ROLLBACK_COMPLETE: Resource handler returned message: "Cannot find version 12.9 for postgres (Service: Rds, Status Code: 400, Request ID: 2396ae25-09d4-474c-90cc-a7c516dedbac)" (RequestToken: 4079704e-08ce-7c66-f08c-b47707583196, HandlerErrorCode: InvalidRequest)

Actually, I think this is the issue:
https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/Concepts.DBInstanceClass.html#Concepts.DBInstanceClass.Support
To have t2.micro now you need to have Postgres version below 13.

Strange this one worked:
  public static class DatabaseInputParameters {
    private int storageInGb = 20;
    private String instanceClass = "db.t2.micro";
    private String postgresVersion = "12";
}

Closing this since the issue has been resolved.


Issue 7 plus profiles

This work is ready. It pass in the acceptance criteria of the issue #7.
@jedrzej please review, thanks!
closing #29
(time is out, need to finish the rebasing squash later. but you can review already, I'll finish the PR as soon I return.)

I'm getting some errors/warnings when running the application:

On homepage: Warning: Unknown DOM property tabindex. Did you mean tabIndex?
On homepage: Warning: validateDOMNesting(...):  cannot appear as a child of . See HomePage > table > tr. Add a  to your code to match the DOM tree generated by the browser.
On homepage: 404 when fetching http://localhost:3000/music/good_enough.mp3. I don't think we'll use audio files in the near future, so no need to include that in the sample theme.
On login form - I type in invalid credentials, the whole box turns into a red square, no errors are displayed.
Profiles page - does not work
My profile - does not work

We should also disable html5 validation for forms.
I don't think we need the "draw shape" toolbar that is shown at the bottom.
I've also found 2 issues latest changes to my branch introduced. I'll fix them in my branch.

I'll try to address the errors noticed. some are related to profiles work, which I'm not touching until you have finished, to avoid conflict.


refactor: remove all c style casts in univalue subtree

A part of https://github.com/bitcoin/bitcoin/pull/23810

-0. It would be safer to use C++11 braced inits for all of those

I have replaced static_casts with braced inits where possible, but it's not always possible as narrowing conversions aren't allowed and require explicit static_cast

second commit lgtm, but not sure about the first one


Random Intense Movement Right After Launching the Impedance Controller

Hi, thanks a lot for this repository!
system environment:

ROS Noetic
franka-ros 0.10.1 and libfranka 0.9.2

Lightweight customed fingers are mounted to replace the original fingers on the panda gripper.
After I run the suggested command to launch the impedance controller:
roslaunch serl_franka_controllers impedance.launch robot_ip:=<RobotIP> load_gripper:=true
Without any further input, the robot moves randomly and intensely right after
Started controllers: cartesian_impedance_controller
with the following error:
[ERROR]: libfranka: Move command aborted: motion aborted by reflex! ["power_limit_violation"]
control_command_success_rate: 1
Then the robot is running in high-stiffness.
Any ideas on solving this issue? Thanks!

Hi, you mentioned your new finger is lightweight, so perhaps you need to recalibrate your payload on franka server

Hello, sorry to hear that your robot is acting in such a scary way. I've never experienced this issue before. The power_limit_violation is usually a result of a high torque command, and the high-stiffness afterwards is a result of the Franka's internal safety mechanism stopping the arm after the power limit violation.


Evidently UI blank when opened through SageMaker Notebook instance

I'm using the evidently version 0.4.15 and have started exploring it for a ML monitoring usecase. I tried to launch the server on localhost:8000 which is same as <instance_name>./proxy/8000/. The page turns out to be blank when trying to reach out on that URL.
Is there any piece of info in the evidently doc that talks about dealing with issues like this on a 3rd party cloud. It could be great if there's a small note about this in relation with launching evidently successfully on popular cloud providers.

Same problem

same issue here when trying to integrate into Kubeflow


Support usage as a library

See #2. I'm hopeful this will actually be a relatively minimal change, mostly involving reviewing what is and isn't exported.

box = compilebox.New("data/compilers.json")

http.HandleFunc("/languages/", getLangs)
http.HandleFunc("/eval/", evalCode)

At a minimum, these are the functions that need to be "exposed" for use as a library.
New exists as well, New.
evalCode exists as EvalWithStdins, though this begs the question of whether there should be a plain Eval We should think hard about the actual API for that function too, as well as how errors should be handled.
There might be some fun higher-ordered function stuff that can be done with Eval too. :)
getLangs pulls from an exported field LanguageMap and then does some manipulation, so that functionality should probably be extracted into a method on the box itself.
Since we have enabled/disabled fields in the language map, it would also be nice to expose an API to modify this on the fly.


auto-boot on systemd

Hello, just for you information @continuum-boot wouldn't create the correct service on my arch system until a manual mkdir -p systemd/user command.

Just tried to turn this on, and got exactly the same (non-)behaviour: no service was created.
Tried again without @continuum-restore (because of #36) but no change.
Debian Jessie, Tmux 2.2.


PAC requests /ok-to-test even if PLR shouldn't run

For PLR with configured CEL expression that shouldn't run for given PR, PAC is requesting approval from maintainers.
Steps to reproduce:

Have a user without permissions to run PLRs (PR must be approved by /ok-to-test)
Have a PLR definition with CEL expressions, that should skip opened PR
User opens PR with changes that doesn't match CEL expressions
PAC reports that PR has to /ok-to-test labeled
Owner adds /ok-to-test
Nothing happens; PAC still shows the same - queued, we cannot get rid of that test status from github

With a user that has permissions, PAC don't report anything.
It seems that RBAC is evaluated before CEL, and asks for permissions even if they aren't needed.

From https://github.com/openshift-pipelines/pipelines-as-code/blob/a10162c315c7bca601d8ef7775df6bc7ead74f3c/pkg/pipelineascode/match.go#L23
first runs verifyRepoAndUser that calls checkAccessOrErrror https://github.com/openshift-pipelines/pipelines-as-code/blob/a10162c315c7bca601d8ef7775df6bc7ead74f3c/pkg/pipelineascode/match.go#L138, responsible for checking access.
Later getPipelineRunsFromRepo  runs that calls MatchPipelineRunByAnnotation, responsible for CEL expressions https://github.com/openshift-pipelines/pipelines-as-code/blob/a10162c315c7bca601d8ef7775df6bc7ead74f3c/pkg/matcher/annotation_matcher.go#L205

From a quick look, this might be relevant.
Here, the MatchPipelinerunByAnnotation responsible for CEL expressions is ran before checkAccessOrErrror
https://github.com/openshift-pipelines/pipelines-as-code/blob/a10162c315c7bca601d8ef7775df6bc7ead74f3c/pkg/pipelineascode/match.go#L229-L239
Could this be the reason why adding /ok-to-test doesn't do anything?


Keep being disconnected

I keep being disconnected. I don't think it's my internet because i keep testing it and download and upload speeds are both fine, the same speed as it was when the tnotebook was working normally.
But now it just keeps disconnecting me for no reason after i start to run the "Start Stable Diffusion" cell. Ive tried it with multiple alt accounts but the same result. i can barely do 5 images before i get disconnected.
I'm not really looking for the developer's help just general support from whoever knows what might be the problem

This problem is not limited to you only, everyone's facing the same damn issue. Seems like google doesn't want people to run the webui for free. I have heard people say it's working just fine for paid users, are you one of them?

Nah.  I assume there is no other free service to use in this case?

There's also available a PaperSpace variant of the same repo, did you try using that? It's on the slower side though. Kaggle is yet another platform that might help.

i'll give it a try thanks for the help

wait how do i run that?

This problem is not limited to you only, everyone's facing the same damn issue. Seems like google doesn't want people to run the webui for free. I have heard people say it's working just fine for paid users, are you one of them?

you don't have to hear it from anyone, they officially announced that webui ismonky available on subscriptions.

anyone got solution for this, I don't have good pc to run it locally and I really got into stable diffusion.

There's also available a PaperSpace variant of the same repo, did you try using that? It's on the slower side though. Kaggle is yet another platform that might help.

isn't paperspace also paid subscription? And from my research, google colab is the cheapest of the three.

anyone got solution for this, I don't have good pc to run it locally and I really got into stable diffusion.

just take a look at the alternatives, some are better than colab machines, either way you gotta psy.

That's lame! I'm already used to unloading on a well-chosen prompt. I don't even know if I can finish with regular stuff.

https://colab.research.google.com/drive/1wEa-tS10h4LlDykd87TF5zzpXIIQoCmq?authuser=1#scrollTo=8Uvqba0yKW7U | This one's been working just fine for me as of now without any "runtime disconnected" problem. I wonder why some notebooks are having problem while not the others.

been running for a while.

https://colab.research.google.com/drive/1wEa-tS10h4LlDykd87TF5zzpXIIQoCmq?authuser=1#scrollTo=8Uvqba0yKW7U | This one's been working just fine for me as of now without any "runtime disconnected" problem. I wonder why some notebooks are having problem while not the others.

The truth works, it is very strange that the TheLastBen notepad does not work. Although the developers of Google collab wrote that it would no longer be possible to work for free.

@Sooty001 they targeted the most used notebook first, the rest will follow

@TheLastBen gotcha.  you still do great work bud.  I appreciate your notebook and everything.

 been running for a while.

wich notebook? can u share?


added resposive attribute on client side

I now see the delay you mentioned. The right approach would be to hide or destory the gallery's container when leaving the page and show or create it when when entering a new page. Due to other concerns regards the gallery's implementation, let's postpone the work here (also the JIRA was postponed)


Bump to version 1.5.3; use standard CMake install with CUDA

Checklist

[x] Used a personal fork of the feedstock to propose changes
[ ] Bumped the build number (if the version is unchanged)
[x] Reset the build number to 0 (if the version changed)
[x] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

This also attempts to use the CMake install route with CUDA (closes https://github.com/johnlees/pp-sketchlib/issues/39)

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

@conda-forge-admin, please rerender


Feat/improvement for data sources

What does this fix or implement?

Checklist

[ ] PR name added as appropriate (e.g. feat:/fix:/doc:/test:/refactor:)
[ ] Tests added or updated
[ ] Documentation updated
[ ] Changelog updated and version incremented (label: upcoming release)
[ ] Github Issue linked if any
[ ] Jira task updated

When it comes to data-sources the general feedback is:

documentation should be updated with all new arguments
errors should also be updated where needed
the comment form data_source_dbaas_cluster is available in almost all data sources

This block with ListClusters should be in the else branch of partial match (like before) since if partial match is set you are making an additional unnecessary call. Also taking into consideration that you've added additional parameters, you should firstly verify nameOk, and after this the partial_match, since you don't want to filter by name if the user did not want this (if you have tests with this, something is wrong there).
On the else branch of nameOk you can make another ListClusters call to be sure that result have all clusters for the filters after.


java.lang.NoSuchFieldError: Normal and java.lang.NoSuchMethodError: 'androidx.compose.ui.Modifier'

Hello,
at first, nice project. I tried the demo example and the look and feel of the ui-elements is quite nice.
I tried to use them in a freshly created demo kotlin-multiplatformm project and had some issues on the way.
Maybe you could help me or point me in a direction, how to fix the issue, because right now I spend some time on it and can't find, what the issue actually is.

Steps:
At first, I created the project through intelliJs wizard and created a Kotlin Multiplatform project. Afterwards I updated all the dependencies, added your project and at last added a MacDropDown wrapped with a MacTheme.
The Result can be found here: https://github.com/ishiharas/compose-macos-theme

1:
The first issue that transpired, occurred, when only adding an empty MacTheme composable. I got a
java.lang.NoSuchFieldError: Normal exception.
Looks like an issue with the Mac-fonts. (I use a MacBook with 11.2.2 Big Sur)
This can be prevented, when adding the default typography:
            MacTheme(typography = Typography()) {
            }

2:
But after adding the MacDropDown component, I got another exception:
Exception in thread "AWT-EventQueue-0" java.lang.NoSuchMethodError: 'androidx.compose.ui.Modifier androidx.compose.foundation.ClickableKt.clickable$default(androidx.compose.ui.Modifier, androidx.compose.foundation.interaction.MutableInteractionSource, androidx.compose.foundation.Indication, boolean, java.lang.String, androidx.compose.ui.semantics.Role, kotlin.jvm.functions.Function0, int, java.lang.Object)'
	at io.chozzle.composemacostheme.MacDropdownKt$DropdownToggle$1.invoke(MacDropdown.kt:154)
	at io.chozzle.composemacostheme.MacDropdownKt$DropdownToggle$1.invoke(MacDropdown.kt:152)
	at androidx.compose.runtime.internal.ComposableLambdaImpl.invoke(ComposableLambda.jvm.kt:107)
        [...]

The above mentioned code can be specifically found here:
https://github.com/ishiharas/compose-macos-theme/blob/main/desktop/src/jvmMain/kotlin/Main.kt

Which version of compose are you using? I haven't updated this to the latest yet

The dependencies in my grade file are:
    dependencies {
        classpath("org.jetbrains.compose:compose-gradle-plugin:1.0.0-alpha3")
        classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:1.5.21")
        classpath("com.android.tools.build:gradle:4.2.1")
    }

Ah it's only compatible with 0.4.0. I'll update tomorrow


Bitdefender GravityZone: New App - First release

Please ensure your pull request (PR) adheres to the following guidelines:

Please refer to our contributing documentation for any questions on submitting a pull request, link: Contribution Guide

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

[X] Testing of all the changes has been performed (for bug fixes / features)
[X] The readme.html has been reviewed and added / updated if needed (for bug fixes / features)
[X] Use the following format for the PR description: <App Name>: <PR Type> - <PR Description>
[X] Provide release notes as part of the PR submission which describe high level points about the changes for the upcoming GA release.
[X] Verify all checks are passing.
[X] Do NOT use the next branch of the forked repo. Create separate feature branch for raising the PR.
[X] Do NOT submit updates to dependencies unless it fixes an issue.

Pull Request Type
Please check the type of change your PR introduces:

[X] New App
[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, renaming)
[ ] Refactoring (no functional changes, no api changes)
[ ] Documentation
[ ] Other (please describe):

Security Considerations (REQUIRED)

[X] If you are exposing any endpoints using a REST handler,
please document them in the readme.html.
[X] If this is a new connector or you are adding new actions

[X] Please document in the readme.html all methods (eg, OAuth) used to authenticate
with the service that the connector is integrating with.
[X] If any actions are unable to run on SOAR Cloud, please document this in the readme.html.

[X] Are you introducing any new cryptography modules? If yes, please elaborate their purpose:
[X] Are you are accessing the file system? If yes, please verify that you are only accessing paths returned through
the Vault API.
[X] Are you are marking code to be ignored by Semgrep with nosemgrep?
If yes, please provide justification in an additional comment next to the ignored code.

Release Notes (REQUIRED)

First release of the app

Hi @edro15, I have few code changes based on the best practices guidelines could you please provide me the push rights for this repo ?

@ebhoir-crest please add point in https://github.com/splunk-soar-connectors/bitdefendergravityzone/blob/next/release_notes/unreleased.md


feat: add subMatchOne attribute to custom checks checking for one match only

added subMatchOne attribute
added tests, and docs

solves #1437

(linting will fail, as evalMatchSpec complexity went from 15(max) to 16, unsure how to fix tho, could consider collapsing the switch, creating a matchFunctions similar object for the instant return cases)


⚠ Samsung has degraded performance

In 573b9ca, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 2462 ms

Resolved: Samsung performance has improved in 50dfd42.


Error after upgrading to Home Assistant core-2021.6.2

The adaptive lighting integration does not load after the latest update to Home Assistant core-2021.6.2. I've tried removing the integration to reinstall it but I can't locate it to re-install. Has the integration been removed?

Have you tried to remove it via HACS, restart HA and reinstall it via HACS and restart HA?
This should clean it up.
I can confirm that the integration is working with 2021.6.2.

Thanks for the reply. I’ve removed it and restarted home assistant. The integration is no longer showing up but I also can’t seem to find it in HACS to reinstall. I’ve tried a full reboot too.
Any advice appreciated.

From: @RubenKelevra @.***>
Sent: Monday, June 7, 2021 10:52 pm
To: basnijholt/adaptive-lighting
Cc: nobes1; Author
Subject: Re: [basnijholt/adaptive-lighting] Error after upgrading to Home Assistant core-2021.6.2 (#130)
Have you tried to remove it via HACS, restart HA and reinstall it via HACS and restart HA?
This should clean it up.
I can confirm that the integration is working with 2021.6.2.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/basnijholt/adaptive-lighting/issues/130#issuecomment-856288705, or unsubscribehttps://github.com/notifications/unsubscribe-auth/APHQMFYAT4BCR74NHGZZLW3TRU5QZANCNFSM46HGBM6Q.

It isn't listed in HACS by default. You have to add the address of the repo to the list of the custom repositories in the HACS panel:
https://user-images.githubusercontent.com/614929/121225564-ee5bcb00-c889-11eb-933b-485552381681.mp4
(it's already existing in my installation, that's why I get the error)

You're welcome. Please close this ticket :)


core dumped in sdk which compiled by g++ 9.3.1

g++ version
gcc version 9.3.1 20200408 (Red Hat 9.3.1-2) (GCC)
master branch
cd milvus-sdk-cpp
make
./cmake_build/examples/simple/sdk_simple

gdb ./cmake_build/examples/simple/sdk_simple core.105994 show bt

@matrixji   maybe, it is associated with the version of libstdc++.so.6. Could you show your version of libstdc++.so ？

I guess we have the save libstdc++.so
[root@b555b131cbbb ~]# ls -al /lib64/libstdc++.so.6
lrwxrwxrwx 1 root root 19 Nov 13  2020 /lib64/libstdc++.so.6 -> libstdc++.so.6.0.19
[root@b555b131cbbb ~]# md5sum /lib64/libstdc++.so.6.0.19
fb32fedce5089591fbf9ca7d66d0fbb1  /lib64/libstdc++.so.6.0.19
[root@b555b131cbbb ~]#

Have you try compiling with -D_GLIBCXX_USE_CXX11_ABI=0
I guess the RC is libmilvus_sdk.so linked with some static lib that uses D_GLIBCXX_USE_CXX11_ABI=0, but new GCC using CXX11 ABI by default.


Global exception handling with Spring Cloud Gateway MVC

0
I'm writing a API Gateway app built using Spring Cloud Gateway MVC. I'm using a custom CircuitBreaker filter that can timeout when backend requests take too long.
I'm seeing that when the request times out...I'm not able to handle the failures in a graceful way by sending a JSON format response back to the client.
I have custom ControllerAdvice beans with ExceptionHandler methods that never seem to intercept any of the failures within the Gateway MVC filers. ExceptionHandling works perfectly when the failure happens outside the GatewayMVC filters like failure to find a matching route etc.
Are ControllerAdvice beans expected to handle GatewayFilter failures? We have RouterFunctions not MVC controllers anymore.
Any guidance on ExceptionHandling for SpringGatewayMVC?
I debugged into the exception handling code a bit, the difference between exeptions within the gateway and outside look related to presence of a handlerfunction on gateway calls.
Thanks for your help.

Duplicates #3335


[Azure-c-shared-utility:x86-uwp] build failure

Host Environment

OS: Windows 10
Compiler: revision

To Reproduce
Steps to reproduce the behavior:
` .\vcpkg install azure-iot-sdk-c:x86-uwp
install-x86-uwp-dbg-out.log
install-x86-uwp-dbg-out.log
`
Failure logs
The following packages will be built and installed:

azure-c-shared-utility[core]:x86-uwp
azure-iot-sdk-c[core]:x86-uwp
azure-uamqp-c[core]:x86-uwp
azure-uhttp-c[core]:x86-uwp
azure-umqtt-c[core]:x86-uwp
Additional packages (*) will be modified to complete this operation.
Starting package 1/5: azure-c-shared-utility:x86-uwp
Building package azure-c-shared-utility[core]:x86-uwp...
-- Note: azure-c-shared-utility only supports static library linkage. Building static library.
-- Using cached C:/Users/Elwin/vcpkg_new/downloads/Azure-azure-c-shared-utility-f0642196af85aeb4f2717d9cc11176290f321fb8.tar.gz
-- Using source at C:/Users/Elwin/vcpkg_new/buildtrees/azure-c-shared-utility/src/290f321fb8-f6bb8a755c
-- Configuring x86-uwp
-- Building x86-uwp-dbg
CMake Error at scripts/cmake/vcpkg_execute_build_process.cmake:136 (message):
Command failed: C:/Users/Elwin/vcpkg_new/downloads/tools/cmake-3.14.0-windows/cmake-3.14.0-win32-x86/bin/cmake.exe --build . --config Debug --target install -- /p:VCPkgLocalAppDataDisabled=true /p:UseIntelMKL=No /m
Working Directory: C:/Users/Elwin/vcpkg_new/buildtrees/azure-c-shared-utility/x86-uwp-dbg
See logs for more information:
C:\Users\Elwin\vcpkg_new\buildtrees\azure-c-shared-utility\install-x86-uwp-dbg-out.log

Call Stack (most recent call first):
scripts/cmake/vcpkg_build_cmake.cmake:96 (vcpkg_execute_build_process)
scripts/cmake/vcpkg_install_cmake.cmake:24 (vcpkg_build_cmake)
ports/azure-c-shared-utility/portfile.cmake:35 (vcpkg_install_cmake)
scripts/ports.cmake:74 (include)
Error: Building package azure-c-shared-utility:x86-uwp failed with: BUILD_FAILED
Please ensure you're using the latest portfiles with .\vcpkg update, then
submit an issue at https://github.com/Microsoft/vcpkg/issues including:
Package: azure-c-shared-utility:x86-uwp
Vcpkg version: 2019.07.18-nohash
Additional context
The same errors appear if I try to build any of the triplet ":xxx-uwp" libraries. I can successfully build the ":x86-windows" and ":x86-windows-static" libraries.

Hi @L1hunt, thanks for reporting this issue!
By reading the code, I found that some of the functions included in it do NOT support the uwp app, and there is NO alternative function that supports uwp, so I think this port does not support uwp.
We need to wait for the official support uwp to update this port to solve this issue.
Thanks.


HStore issue while upgrading NpgSql from 2.2.5 to <IP_ADDRESS>, FluentNHibernate from <IP_ADDRESS> to 2.1.2, NHibernate from <IP_ADDRESS>00 to 5.3.0

Issue
HStore values are not able to read while upgrading NpgSql from 2.2.5 to <IP_ADDRESS>
Please refer the attached zip file which contains ,

step for reproducing the issue (NpgSql 2_2_5 to 4_1_3_1 issue.txt)
Script for creating DB ( SampleScriptForHstore.txt)
Zip file contains sample application for reading Hstore value using NpgSql 2.2.5 and <IP_ADDRESS>
a) In <IP_ADDRESS>, Getting as Dictionary'2 [String,string] instead of getting value while opening session and reading table
b) Tried to change, Model property (HStore) from string to Dictionary<string,string> and getting below exception

Additional Questions
Question :

What is the solution for reading value , what would be the impact?

what is the recommended steps to use it as string so no code changes required?

Already product is released to the market with interface method containing Hstore as string, Interface cannot be changed so  all to be recreated. code change and test effort would be more.

Already released with 2.2.5 for same product binaries are used in another product that may still continue to use with 2.2.5 only, In this case how to fix the issue?
 NHibernate.ADOException

HResult=0x80131600
Message=Could not cast the value in field col_1_0_ of type Dictionary2 to the Type SerializableType. Please check to make sure that the mapping is correct and that your DataProvider supports this Data Type. Source=NHibernate StackTrace: at NHibernate.Type.NullableType.NullSafeGet(IDataReader rs, String name) at NHibernate.Type.NullableType.NullSafeGet(IDataReader rs, String[] names, ISessionImplementor session, Object owner) at NHibernate.Loader.Hql.QueryLoader.GetResultRow(Object[] row, IDataReader rs, ISessionImplementor session) at NHibernate.Loader.Hql.QueryLoader.GetResultColumnOrRow(Object[] row, IResultTransformer resultTransformer, IDataReader rs, ISessionImplementor session) at NHibernate.Loader.Loader.GetRowFromResultSet(IDataReader resultSet, ISessionImplementor session, QueryParameters queryParameters, LockMode[] lockModeArray, EntityKey optionalObjectKey, IList hydratedObjects, EntityKey[] keys, Boolean returnProxies, IResultTransformer forcedResultTransformer) at NHibernate.Loader.Loader.DoQuery(ISessionImplementor session, QueryParameters queryParameters, Boolean returnProxies, IResultTransformer forcedResultTransformer) at NHibernate.Loader.Loader.DoQueryAndInitializeNonLazyCollections(ISessionImplementor session, QueryParameters queryParameters, Boolean returnProxies, IResultTransformer forcedResultTransformer) at NHibernate.Loader.Loader.DoList(ISessionImplementor session, QueryParameters queryParameters, IResultTransformer forcedResultTransformer) at NHibernate.Loader.Loader.ListIgnoreQueryCache(ISessionImplementor session, QueryParameters queryParameters) at NHibernate.Loader.Loader.List(ISessionImplementor session, QueryParameters queryParameters, ISet1 querySpaces, IType[] resultTypes)
at NHibernate.Loader.Hql.QueryLoader.List(ISessionImplementor session, QueryParameters queryParameters)
at NHibernate.Hql.Ast.ANTLR.QueryTranslatorImpl.List(ISessionImplementor session, QueryParameters queryParameters)
at NHibernate.Engine.Query.HQLQueryPlan.PerformList(QueryParameters queryParameters, ISessionImplementor session, IList results)
at NHibernate.Impl.SessionImpl.List(IQueryExpression queryExpression, QueryParameters queryParameters, IList results)
at NHibernate.Impl.AbstractSessionImpl.List(IQueryExpression queryExpression, QueryParameters parameters)
at NHibernate.Impl.AbstractQueryImpl2.List()
at NHibernate.Linq.DefaultQueryProvider.ExecuteQuery(NhLinqExpression nhLinqExpression, IQuery query, NhLinqExpression nhQuery)
at NHibernate.Linq.DefaultQueryProvider.Execute(Expression expression)
at NHibernate.Linq.DefaultQueryProvider.Execute[TResult](Expression expression)
at Remotion.Linq.QueryableBase1.GetEnumerator() at System.Collections.Generic.List1..ctor(IEnumerable1 collection) at System.Linq.Enumerable.ToList[TSource](IEnumerable1 source)
at WpfApp2.MainWindow.GetAllItems() in C:\Users\source\repos\NpgSql Issue\Sample work with Npgsql4_1_3_1\WpfApp2\MainWindow.xaml.cs:line 128
at WpfApp2.MainWindow..ctor() in C:\Users\source\repos\NpgSql Issue\Sample work with Npgsql4_1_3_1\WpfApp2\MainWindow.xaml.cs:line 29
Inner Exception 1:
InvalidCastException: GetBytes() not supported for type col_1_0_
Further technical details
Npgsql version: 4.13.1
PostgreSQL version: 11.6
Operating system: Windows 10 x64
Hstore Version : 1.5
First tried only to update NPGSQL from 2.2.5 to <IP_ADDRESS> and we got the issue,
Then tried to update FluentNHibernate from <IP_ADDRESS> to 2.1.2 and NHibernate from <IP_ADDRESS>00 to 5.3.0 in order to resolve the issue, but still not able to resolve.
Please Help.
find the code along with two projects below.

raised same issue by another user.

raised same issue by another user.

raised same issue by another user.

raised same issue by another user.

raised same issue by another user.


e2e_dashboard test is flaky

Test failures:
https://gubernator.k8s.io/build/istio-prow/logs/e2e-dashboard/8825
Init failure:
https://gubernator.k8s.io/build/istio-prow/logs/e2e-dashboard/8785
(which failed at https://github.com/istio/istio/blob/df0d817c5ecf6f3fab94cb599ddd90c363c4d533/tests/e2e/tests/dashboard/dashboard_test.go#L216)
Circle shows somewhat similar result.
https://testgrid.k8s.io/istio-postsubmits#circleci-e2e-dashboard

@hklai the TCP dash failure linked is from the period between the switch to MCP tests and @ayj 's PR's to convert the tests back to using the proper install artifacts.
The init failure is a bit odd. I can look into it.
What I don't understand is why, with the switch to MCP, tests that were solid for a long time have started to flake a bunch. This doesn't inspire a lot of confidence in the stability of the system with MCP.

Note to self: I've seen 2018-12-10T21:04:02.473619Z	error	adapters	Prometheus handler error: error encoding and sending metric family: write tcp <IP_ADDRESS>:42422-><IP_ADDRESS>:47190: write: broken pipe in logs. I think this means that Mixer is crashing while something is attempting to read its metrics. This is not a good situation.


feat(scheduler): clean up stray pods when a release is deleted

Scaling an RC to 0 and deleting it does not always clear up all the active pods. This can happen if there is an image pull problem

[Current coverage][cc-pull] is 84.27%

Merging [#714][cc-pull] into [master][cc-base-branch] will decrease coverage by -0.72%

@@             master       #714   diff @@
==========================================
  Files            29         29
  Lines          2566       2588    +22
  Methods           0          0
  Messages          0          0
  Branches        405        412     +7
==========================================
  Hits           2181       2181
- Misses          272        291    +19
- Partials        113        116     +3

Powered by Codecov. Last updated by [47c679f...cc315e4][cc-compare]
[cc-base-branch]: https://codecov.io/gh/deis/controller/branch/master?src=pr
[cc-compare]: https://codecov.io/gh/deis/controller/compare/47c679f565dccb7dd88d35b6741d63507afdb294...cc315e4183d58f0679870af176d5aa0571101bbb
[cc-pull]: https://codecov.io/gh/deis/controller/pull/714?src=pr

Fypos resolved

@helgi any e2e tests that were/should be added for checking stray pods?

I can't think of any e2e scenario I can write beyond a very high level "k get po" and filter results that way


why json.Unmarshal method convert number value (in json string) to float value (in golang)?

BIAGT

Please read the documentation carefully: https://golang.org/pkg/encoding/json/#Unmarshal

To unmarshal JSON into an interface value, Unmarshal stores one of these in the interface value:
[...]
float64, for JSON numbers

Unlike many projects on GitHub, the Go project does not use its bug tracker for general discussion or asking questions. We only use our bug tracker for tracking bugs and tracking proposals going through the Proposal Process.
Please see https://golang.org/wiki/Questions for good places to ask questions.


phyto_plotR error for week < 7 days

When public holiday delays sampling by a day (or more) code logic does not find prior data to plot and throws "There is a problem with the date you have selected" error.
Need to sort logic and prior date finder

Re-written error logic and method to find "prior" sampling date


Add version: LuaLS.lua-language-server version 3.4.2

Pull request has been created with Komac v1.9.1 :rocket:
Microsoft Reviewers: codeflow:open?pullrequest=https://github.com/microsoft/winget-pkgs/pull/116118&drop=dogfoodAlpha

@wingetbot waivers Add Validation-Executable-Error


NotImplementedError: Non-relative patterns are unsupported

Needs the ability to support single files and only include subdirectories.

Didn't make glob a list


Add back the section about writing policies in Rust

Restore the section, this time with up-to-date contents

Fixes https://github.com/kubewarden/docs/issues/10

I fixed all the issues reported and squashed everything into a single commit. I've added @ereslibre  as co-author


The choice -param_dist doesn't work in Ubuntu22.04

Hi Bailu~
when I run
./dsqgen -input /my_path/dsb/query_templates_pg/agg_queries/templates.lst -OUTPUT_DIR /my_path/dsb_workload/tmp -directory /my_path/dsb/query_templates_pg/agg_queries -dialect postgres -param_dist normal -rngseed 997 in my Ubuntu22.04
I got
ERROR: File 'my_path/dsb/querynormal/query013.tpl' not found
After I remove the "param_dist", it works ok for me. But I am not sure whether the parameter is necessary for me cause I don't exactly understand what role "param_dist" plays(which is not mentioned both in README or the DSB paper, can you explain for me? Thanks so much)

Hi @EvagelineFEI, Thanks for the feedback. The param_dist is used for specifying the distribution of the parameters. By default, the parameters will follow uniform distribution. If this works for you, you can safely discard the param_dist parameter. I will take a look at the error and fix it later.

Ok, thanks so much！ @bailud  And I complie the code by adding -fcommon to makefile which is mentioned in (https://github.com/microsoft/dsb/pull/5/commits/42896f5647c2da79961d24f634843e603d699729)；It's really helpful for users who want to use this benchmark in Linux environment.

Hi! And I find that some parameters which work in original TPCH-DS seem to not work here, like "-scale";
When I run
./dsqgen -input mypath/dsb/query_templates_pg/multi_block_queries/templates.lst -output_dir mypath/dsb_workload/multi -streams 10 -directory mypath/dsb/query_templates_pg/multi_block_queries -dialect postgres -scale 1 -rngseed 997
I got
ERROR: Open failed on 'my_path/dsb/query_templates_pg/multi_block_queri1' my_path/dsb/query_templates_pg/multi_block_queri1: No such file or directory

Hi! And I find that some parameters which work in original TPCH-DS seem to not work here, like "-scale"; When I run ./dsqgen -input mypath/dsb/query_templates_pg/multi_block_queries/templates.lst -output_dir mypath/dsb_workload/multi -streams 10 -directory mypath/dsb/query_templates_pg/multi_block_queries -dialect postgres -scale 1 -rngseed 997 I got ERROR: Open failed on 'my_path/dsb/query_templates_pg/multi_block_queri1' my_path/dsb/query_templates_pg/multi_block_queri1: No such file or directory

Hi @EvagelineFEI, the error message indicates that there is some issue with the path of the files. It may be related to the previous issue. I will take a look over the weekend.

Hi! And I find that some parameters which work in original TPCH-DS seem to not work here, like "-scale"; When I run ./dsqgen -input mypath/dsb/query_templates_pg/multi_block_queries/templates.lst -output_dir mypath/dsb_workload/multi -streams 10 -directory mypath/dsb/query_templates_pg/multi_block_queries -dialect postgres -scale 1 -rngseed 997 I got ERROR: Open failed on 'my_path/dsb/query_templates_pg/multi_block_queri1' my_path/dsb/query_templates_pg/multi_block_queri1: No such file or directory

Hi @EvagelineFEI , I just realized that the binary you use is the one that generates the queries, not the data. The binary to generate the data is dsdgen. Could you double check and try dsdgen?

Hi! And I find that some parameters which work in original TPCH-DS seem to not work here, like "-scale"; When I run ./dsqgen -input mypath/dsb/query_templates_pg/multi_block_queries/templates.lst -output_dir mypath/dsb_workload/multi -streams 10 -directory mypath/dsb/query_templates_pg/multi_block_queries -dialect postgres -scale 1 -rngseed 997 I got ERROR: Open failed on 'my_path/dsb/query_templates_pg/multi_block_queri1' my_path/dsb/query_templates_pg/multi_block_queri1: No such file or directory

Hi @EvagelineFEI , I just realized that the binary you use is the one that generates the queries, not the data. The binary to generate the data is dsdgen. Could you double check and try dsdgen?

Hi Bailu~ when I run ./dsqgen -input /my_path/dsb/query_templates_pg/agg_queries/templates.lst -OUTPUT_DIR /my_path/dsb_workload/tmp -directory /my_path/dsb/query_templates_pg/agg_queries -dialect postgres -param_dist normal -rngseed 997 in my Ubuntu22.04 I got ERROR: File 'my_path/dsb/querynormal/query013.tpl' not found After I remove the "param_dist", it works ok for me. But I am not sure whether the parameter is necessary for me cause I don't exactly understand what role "param_dist" plays(which is not mentioned both in README or the DSB paper, can you explain for me? Thanks so much)

I took another look at the command you use. Could you use -template with the template file name instead of using -input and see if this works?

I will close this issue since this is due to the misuse of the commands.

Ok, thanks so mutch! I ll check!

@bailud Thanks so much! I ll double check


Thread [0] had error: in ensemble 'ensemble', Encountered error for requestId 498689237: Cannot process new request: Streaming mode is only supported with beam width of 1.

Try to use perf_analyzer as follows deploying LLaMA2-13B with triton:
python scripts/launch_triton_server.py --world_size 2 --model_repo triton_model_repo
perf_analyzer -m ensemble -i grpc --shape "bad_words:1" --shape "max_tokens:1" --shape "stop_words:1" --shape "text_input:1" --streaming
However, I'm encountered with an error which implies the beam_width is not set correctly.
Also, I'm a new beginner and curious about the dimension with --shape.
Can you give me some suggestions?

Can you share

the script to build engine
the config.pbtxt of your backend settings

I don't see you setup the beam_width when you build the engine. Can you try adding --max_beam_width 4?

Thanks. I find the limitation in batch manager. Could you modify this issue or open another issue to require this feature?

When I use perf_analyzer to test the performance, I meet the problem name "Thread [0] had error: Cannot send stop request without specifying a request_id". Do you know how to fix it ?


Inconsisent coldstart values across platforms

Expected Behaviour
I am testing various combinations across Android and iPhone as to when the coldstart variable is set. The aim is to ensure consistency across the platforms in the various use cases so that the logic implemented can be shared.
Actual Behaviour
The coldstart variable is not consistent between iOS and Android.
Scenarios & Testing
Android

[x] App is in foreground when notification is received. coldstartshould be false. coldstartis undefined.
[ ] App is in background when notification is received. User opens app by pressing the app icon. coldstartshould be false. coldstartis undefined.
[x] App is in background when notification is received. User opens app by pressing the notification. coldstartshould be false. coldstartis false.
[ ] App is killed and not in memory when notification is received. User opens app by pressing the app icon. coldstartshould be true. coldstartis undefined.
[x] App is killed and not in memory when notification is received. User opens app by pressing the notification. coldstartshould be true. coldstartis true.

iOS

[x] App is in foreground when notification is received. coldstartshould be false. coldstartis false.
[x] App is in background when notification is received. User opens app by pressing the app icon. coldstartshould be false. coldstartis false.
[x] App is in background when notification is received. User opens app by pressing the notification. coldstartshould be false. coldstartis false.
[ ] App is killed and not in memory when notification is received. User opens app by pressing the app icon. coldstartshould be true. Notification is not processed! Issue raised here.
[ ] App is killed and not in memory when notification is received. User opens app by pressing the notification. coldstartshould be true. coldstartis true. However only one notification is processed when the app is opened. Issue raised here.

Platform and Version (eg. Android 5.0 or iOS 9.2.1)
Android 6.0.1
iOS 9.3.1 & iOS 9.0.0
What device vendor (e.g. Samsung, HTC, Sony...)
Tested on Nexus 5 thus far.  And iPhone 4s and 6s.
Cordova CLI version and cordova platform version
Cordova CLI: 6.1.1
Ionic Framework Version: 2.0.0-beta.6
Ionic CLI Version: 2.0.0-beta.24
Ionic App Lib Version: 2.0.0-beta.14
OS:
Node Version: v5.10.1
android 5.1.1
ios 4.1.1
Plugin version
1.6.2
Sample Code that illustrates the problem
See my repo that I have put together for testing the various scenarios.

@dylanvdmerwe another great issue. Thanks for all the detail. Here is what I think should be happening on both iOS and Android.

App is in foreground when notification is received. coldstart should be false and foreground should be true.
App is in background when notification is received. User opens app by pressing the app icon. coldstart should be false and foreground should be false.
App is in background when notification is received. User opens app by pressing the notification.  coldstart should be false and foreground should be false.
App is killed and not in memory when notification is received. User opens app by pressing the app icon.  coldstart should be true and foreground should be false.
App is killed and not in memory when notification is received. User opens app by pressing the notification. coldstart should be true and foreground should be false.

Does that make sense to you?

After reading comments on my other issues I agree with you on your suggestion above. I have amended the original issue and updated the status for Android and iOS accordingly.

@dylanvdmerwe cool, I'm looking at fixing the behaviour for 1.7.0 and I may even put foreground and coldstart in as first level attributes in the push notification.

I notice this issue as well and hopefully 1.7.0 will be release asap.

Is it also possible to detect whether the user started the app by pressing the app icon or by clicking on the notification?  Under Android it seemed that 'coldstart = undefined' meant the app was opened by clicking on the app, but in 1.7.0 this will be changed.

Hello have you resolved your problem when your app is closed on ios ?

+1 for the question raised by @ronny-mobilea above. Any workaround or plan for that, @macdonst?

no idea to get data of notification on ios when app closed?

Was just pulling my hair out trying to figure out these responses and so glad to see it being worked on, thank you!

still incorrect value of coldstart and foreground.
Enviroment
Cordova CLI: 6.3.1
Gulp version:  CLI version 3.9.1
Gulp local:   Local version 3.9.1
Ionic Framework Version: 1.3.1
Ionic CLI Version: 2.0.0
Ionic App Lib Version: 2.0.0-beta.20
OS:
Node Version: v4.4.7
Cordova Platform Versions
android 5.1.1
ios 4.0.1
phonegap-plugin-push Version
1.8.7
Scenarios & Testing
App is foreground

Notification received.

To-be: coldstart(false), foreground(true). Now: coldstart(false), foreground(true)

Notification clicked.

To-be: coldstart(false), foreground(true). Now: coldstart(false), foreground(false)

App is in background when notification is received.

To-be: coldstart(false), foreground(false). Now: coldstart(true), foreground(false)
Notification clicked. (App will be running)

To-be: coldstart(true), foreground(false). Now: coldstart(false), foreground(false)

App is killed and not in memory when notification is received.

App icon clicked.

To-be: coldstart(false), foreground(false). Now: coldstart(false), foreground(false)

Notification clicked.

To-be: coldstart(true), foreground(false). Now: coldstart(true), foreground(false)

@jhlee8804 , one year later. Is there any updates on this.
Can someone please confirm if this will work in Ver 1 of the plugin.
It seems that Android cold start does not fire any events on notifications.
We are still stuck with an Angular 1 app and would like to know if this will be addressed at any point?

@gerhardcit, I'm sorry. I have not yet confirmed whether this problem has been resolved recently. I will raise my feedback in the next few days.

@gerhardcit There is a bug where the background notification event does not occur on iOS 11.0.x, and it seems to be difficult to test. And although I'm using phonegap-push-plugin 2.0.0, it seems the same as above except.


Add Greatest, Least

Those are useful
http://www.mysqltutorial.org/mysql-greatest-least/

Fixed by: https://github.com/src-d/go-mysql-server/pull/700


Update to v2.0 readme links

What does this PR do?
Updated the v2.x readme to use v2.x docs links. Corrected minor typo.

Motivation
I want to help others that are new to Traefik find the info they need to start with getting frustrated with out-of-date docs.

More

[ ] Updated readme
[ ] Update (fixed typo) wether > whether in configuration-overview

Additional Notes
Keep the good work going!

forgot to change branch selection before submit.

Done - requested change made

Respectfully, these changes are to the v2 branch and its readme. Why should v2 direct to useless documentation?

Because we keep the readme on master and v2.0 branches synchronized.

Ah I see. In that case should I change to offering links to both latest and v2 documentation? Something as simple as "for v2 alpha documentation click here"? Currently you can only find the alpha docs if you know where to look for them.

in https://docs.traefik.io/ you got a menu with all Traefik version.

I know about the drop-down, that is part of my point. It is a poor user experience to view a readme, be directed to the documentation resource, see the documentation, and then because you didn't know to select a small option on the side that should have been already been selected since you came there looking for that information, you become frustrated because nothing is working as you are instructed to do.
The point I am trying to make is something in that workflow somewhere needs to indicate that the user was not taken to the v2 docs as they might have expected.

You can add sentence in the documentation section: https://github.com/containous/traefik/tree/v2.0#documentation

Rolled back requested changes, added line directing v2 users to v2 docs


Fix HashMap (gh-353) bug

and refactor measurement files

I noticed the following code in Measurements.java starting on line 133:
  static class StartTimeHolder {
    long time;

    long startTime(){
      if(time == 0) {
        return System.nanoTime();
      }
      else {
        return time;
      }
    }
  }

While I don't doubt the code is working, I normally see methods like this set starting values in the initialize case.  I just want to point this out in case this was intended.
So, the change I would recommend would be:
  static class StartTimeHolder {
    long time;

    long startTime(){
      if(time == 0) {
        time = System.nanoTime();
      }
      return time;
    }
  }

Chrisjan

@cmatser it wasn't intended, but i didn't modify this kind of constructions, before this project has strict format guidelines..

@bigbes Ah, sorry.  I saw it in the green section and thought it was new code.  I see now that it was just carried forward.  Thanks for clarifying.

Looks good to me. What do you think @cmatser? Ready to merge?

@busbey Ready!
Do you know if there is a way for the web view diff to ignore whitespace?  So, when I click on the "Files changed" tab for this PR, I can reduce some of the noise caused by whitespace changes.

I believe you can add "?w=1" to the URL

Yes!  That made my day!!!  :)

Any chance to merge this?

@cmatser Your change suggestion to StartTimeHolder changes the behaviour of the method. In the original, if startTime is never set repeated calls to getStartTime will return different values based on System.nanotime(). In you version the first call will set the startTime and it will stay at that value until someone resets it.
This is not to say that this is not confusing code which can do with some love, but the refactoring you propose needs further refining

@nitsanw  Agreed.  I wanted to point it out in case that was an unintentional side-effect.


Inline checkbox and radio text vertically misaligned on Firefox

As seen in the first image below from your own documentation (http://getbootstrap.com/css/#inline-checkboxes-and-radios), checkboxes and radios are not properly aligned with their labels.  I believe this is due to the 4px top margin applied here: https://github.com/twbs/bootstrap/blob/master/less/forms.less#L54  In the second image, I disabled this margin, and they are aligned properly.

I'm running Firefox 44, but have seen this issue on previous Firefox versions for quite some time.
Edit: Also, when toggling that margin off in Chrome, the checkboxes get misaligned in the opposite way.

@hackel Could you please re-test against the latest code in the master branch?

I am still seeing it on master.

As of Bootstrap v3.3.6 and Firefox 44.0a2 on OS X, the labels seem to be aligned reasonably well:

I'm happy to reopen this if you can point out a case where the alignment is still bad.

X-Ref: #15791, #13936

Ah, okay, I am seeing #15791.  I don't use any proprietary operating systems so I can't say how it performs on them, but it's definitely still present in v3.3.6 on GNU/Linux/Xorg-based operating systems.  Not seeing it on Firefox 43 on Android/Linux at least!


cache - fix the pp diff algorithem

I think the algorithm you wrote to diff the golden vs actually is not optimal.
I tested it and found that if I remove a single line from the "actually " it returns 12 diffs instead of 1.
Looking at your code I see why:
        while True:
            # Read a line from each file
            line1 = file1.readline()
            line2 = file2.readline()
            # If we've reached the end of either file, exit the loop
            if not line1 or not line2:
                break
            # If the lines are different, write them to the diff file with differences highlighted
            if line1 != line2:
                num_diffs += 1
                total_diffs +=1
                diff_file.write(f'Line {line_num}:\n')
                diff_file.write(f'{line1.strip()}\n')
                diff_file.write(f'{line2.strip()}\n')

                # Highlight the differences between the lines
                max_len = max(len(line1), len(line2))
                for i in range(max_len):
                    if i >= len(line1) or i >= len(line2) or line1[i] != line2[i]:
                        diff_file.write('^')
                        break
                    else:
                        diff_file.write(' ')
                diff_file.write('\n')

            line_num += 1

Please look up a way to diff 2 files in python in a more correct way.

Please add a print if the 2 files are identical.

in contrast, using the simple "bash" command, I get this output:
NVIDIA.COM+abendavid @ WW8C_MAFIA> diff verif/cache/golden_trk/golden_cache_alive_top_trk.log target/cache/tests/cache_alive/cache_top_trk.log
12d11
< 1160.0     CORE_RD_REQ      e9010        02      e9       01      ( -- read request -- )

Which is correct.
Please fine the equivalent python command


RFC: Make fields of ScalarUDF non pub

Which issue does this PR close?
Part of https://github.com/apache/arrow-datafusion/issues/7110 and https://github.com/apache/arrow-datafusion/issues/7977
Rationale for this change
Over time, the number of built in functions within DataFusion grows which is challenging both because:

The total footprint grows, even for those who don't need the specific functions
The desired semantics may be different (e.g. many of the built in functions in DataFusion mirror postgres behavior, but some users wish to mimic spark behavior
User defined functions are treated differently from built in functions in some ways (e.g. they can't have aliases)

If is for this reason I would like to move towards only having functions defined as ScalarUDFs This will ensure:

ScalarUDFs have access to all the same functionality as "built in " functions
No function specific code will escape the planning

What changes are included in this PR?

Make all fields of ScalarUDF private and add accessors.

Then we can add additional fields / trait impls as proposed by @2010YOUY01
Are these changes tested?
Covered by existing tests

Thank you, I think it's a good idea.
Now for scalar functions there are two execution paths: BuitlinScalarFunction and ScalarUDF, this way we are moving towards using ScalarUDF as the unified path.
What do you think is a good implementation plan for the next step?
I was thinking about making a converter from BuiltinScalarFunction -> ScalarUDF first, and let all BuiltinScalarFunctions use ScalarUDF as the execution path. After that ScalarUDF should be extended to cover full functionalities, then the migrating step will be much easier

What do you think is a good implementation plan for the next step?

I was thinking one next step might be to try and port a few BuiltInFunctions to be ScalarUDFs (maybe the string functions or the crypto functions) -- specifically remove them from the BuiltInFunction enum and make sure all the tests still pass
I think that would force is to figure out How to register these functions with the FunctionRegistry by default, and other potential touchpoints there might be
I will try and write up some ideas later todya

Productionized in https://github.com/apache/arrow-datafusion/pull/8079


Travis: Stop uploading of test artifacts

This never really worked as expected due to [1] and would again require
rotating of S3 credentials, so simply disable it for now.
[1] https://github.com/travis-ci/travis-ci/issues/9025

This change is

I wondered how travis could fail with:
/home/travis/build/heremaps/oss-review-toolkit/analyzer/src/funTest/kotlin/NpmVersionUrlTest.kt:28:1: Unused import
/home/travis/build/heremaps/oss-review-toolkit/analyzer/src/funTest/kotlin/NpmVersionUrlTest.kt:30:1: Unused import

But then I saw the build for https://github.com/heremaps/oss-review-toolkit/pull/938 had the same error:
https://travis-ci.com/heremaps/oss-review-toolkit/builds/87398298#L2383
I guess we need to set pipefail earlier now. I'll make a PR.


Fix missing tags list link on mobile

closes #6397

don't pass isMobile to gh-tag-settings-form
add gh-tag-settings-form test for mobile settings.tags link

D'oh, that was my fault, I introduced it when fixing merge conflicts with the modals refactor PR :flushed:
Thanks for the fix, and for adding the test! :smile:


Add a travis run without JIT to improve coverage

This will likely be super slow

Fails due to https://github.com/numba/numba/issues/4759


[BUG] when the users stop screensharing with the new screensharing method the browser screensharing modal stays there

Describe the bug
when the users stop screensharing with the new screensharing method the browser screensharing modal stays there
To Reproduce
Steps to reproduce the behavior:

Start screensharing with the new screensharing method
Stop screensharing calling the stopnewscreenshare method
The browser "You are sharing your screen" popup stays until you click on "Stop sharing"

Expected behavior
When calling the stopnewscreenshare method the browser popup should disappear as well
Screenshots

(this screenshot is from the FunctionalTest/NewScreenShareClientManager scene)
Desktop (please complete the following information):

OS: Windows
Browser Chrome

Additional context
this doesn't happen with old screensharing method

i have this problem at refactor3 build did you try refactor4 version i think this problem fixed


winget install Microsoft.AzureCLI blocks install on hash verification failure

Describe the bug
Installing Azure CLI through winget currently shows warning due to hash verification failure on the downloaded installer.
To Reproduce

Install winget
Run winget install -e Microsoft.AzureCLI.

**PS C:\Users\USER> winget install -e Microsoft.AzureCLI
Found Azure CLI [Microsoft.AzureCLI]
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
Downloading https://aka.ms/installazurecliwindows
  ██████████████████████████████  53.6 MB / 53.6 MB
Installer hash verification failed. Continue? (Y|N)
Canceled; Installer hash mismatch**

A warning is displayed for the hash verification failing. If the user response with 'N', the install cancels as seen above.
winget manifest with SHA256 hash included:
PS C:\Users\USER> winget show -e Microsoft.AzureCLI
Found Azure CLI [Microsoft.AzureCLI]
Version: 2.6.0
Publisher: Microsoft Corporation
Description: The Azure command-line interface (Azure CLI) is a set of commands used to create and manage Azure resources. The Azure CLI is available across Azure services and is designed to get you working quickly with Azure, with an emphasis on automation.
Homepage: https://docs.microsoft.com/en-us/cli/azure/
License: Copyright (C) Microsoft Corporation
Installer:
  SHA256: b7fb439ab63dbea939d8f1d4ba2530dbb5939673e9450ce8ef5b55a71c22d68b
  Download Url: https://aka.ms/installazurecliwindows
  Type: Msi

Expected behavior
The winget install command should succeed without warnings.
Environment summary
n/a
Additional context
n/a

Judging by the downloaded file, the download URL is pointing towards version 2.7.0, but the manifest of the winget is outdated and still uses 2.6.0.

hi @fengzhou-msft could you pls help to check if the url updated automatically?

Submitted a PR to fix 2.6.0 and a PR to add 2.7.0.

The latest version on winget is now 2.7.0.


[WIP] Tutor Exercise Dashboard Tests

Checklist

[ ] I tested the changes and all related features on the test server https://artemistest.ase.in.tum.de.
[ ] I documented my source code using the JavaDoc / JSDoc style.
[ ] I added integration test cases for the server (Spring) related to the features
[ ] I added integration test cases for the client (Jest) related to the features
[ ] I added screenshots/screencast of my UI changes
[ ] I translated all the newly inserted strings

Description

In https://github.com/ls1intum/Artemis/pull/585 we limited the number of simultaneously locked submissions in a course per tutor to 10. Here we add component tests to the client that were missing in the original PR. We test the behavior of the tutor exercise dashboard in two cases:

The user reached the lock limit
The user did not reach the lock limit

@SiggZ I think that it's great that you spent so much effort on making this work!
I made some commits to help you (sorry about the last 2 commits, I had to clean up some more files).

@SiggZ
I thought about this a bit more: It could dangerous if we change the module structure of the tutorCourse or tutorExercise module, because they are imported into the app module and they are providing entryComponents / exports.
So I chose a different route by including the explicit components into the test module. You can explore this issue further if you want though.

Thank you @thilo-behnke for reviewing and cleaning up the PR!


Members page broken photo link

Correct the image source link.

Favicon missing

The member's personal page link is corrupted such as "http://members/burris_will/"
www.dsiufl.org is missing, guess we need to put it somewhere?

Resolved


Implement a "skip" option for the workspace path

using a "skip" directory would solve the problem with a workspace beeing needed for the tool to operate
skip directory should be located in the appdata folder
should never be wiped by the tool

solved by adding a default workspace path


Add form data support

Forms are very commonly used, so it must be supported
previously we have parsec.form() but it was for urlencoded only, we need a separate function for forms with form data in it
related: #4

Hey @talentlessguy I've stumbled on this issue and was wandering if it's still viable to have a go at it?
If so, can you suggest any pointers about the desired robustness of the solution? form data can be quite complex if I were to follow this:
https://www.w3.org/TR/html401/interact/forms.html#h-17.13.3

Oh that was quick
Alright, I'll start with text fields and go from there, thanks

Well, sorry about the long delay, life got in the way.
I've drafted a small pr with the suggested changes:
https://github.com/tinyhttp/milliparsec/pull/21
It was not very complex to extract the file fields, but I am not sure what is the proper response structure and how should the files be encoded as at the moment they are converted to simple strings inside the p function.
Here's an example response for files from the implementation, any suggestions would be appreciated:
"image": {         "filename": "tumblr_2_250.gif",         "value":"Content-Type: image/gif\r\n GIF89a���������D2#$" }

I would like formdata support too.

Well, sorry about the long delay, life got in the way.
I've drafted a small pr with the suggested changes:
https://github.com/tinyhttp/milliparsec/pull/21
It was not very complex to extract the file fields, but I am not sure what is the proper response structure and how should the files be encoded as at the moment they are converted to simple strings inside the p function.
Here's an example response for files from the implementation, any suggestions would be appreciated:
"image": {         "filename": "tumblr_2_250.gif",         "value":"Content-Type: image/gif\r\n GIF89a���������D2#$" }

Just encode the value to Uint8Array

form data is not supported, it wraps files into a File, which should take care of encoding


Imports aren't updated when moving files in VS Code

Does this issue occur when all extensions are disabled?: Yes/No

VS Code Version: 1.94
OS Version: Windows 11

Steps to Reproduce:

Open VS Code.
Enable update imports in typescript when moving files.
Move files around

Please share steps to reproduce the issue

It just doesn't work. It appears to be an old bug, introduced even in May. I told you what I knew, I don't know any other steps to reproduce it. Does everything work correctly on your machine?

Yes

Maybe a video of what you are doing would be helpful /gifPlease

It seems to have been resolved, so everything's good!


RS-466 : Generate Python SDK API references

create a plugin to clone SDK and build references from sources
update sidebars
add static app config file to install dependencies

NOTES:

you must have  pydoc-markdown installed
it generates files only for the next release, we sill copy them to the versioned folders manually.

@atimin looks good! I have found small things that would be great to change in the way it generates the references from source.

@AnthonyCvn   It's generated MD files from the sources. I've just added them to git because docusaurus checks sidebars.json before running plugins and it crashes if there is no generated files (Teufelkreis).  I could create empty files but I need to copy them after release to the versioned folders anyway. Unfortunately, I can't change the format. It's from pydoc-markdown.
We could think about our own MD generator in the future.


New version: stevencohn.OneMore version 4.6

- [ ] Have you signed the Contributor License Agreement?

[ ] Have you checked that there aren't other open pull requests for the same manifest update/change?

[ ] Have you tested your manifest locally with winget install --manifest <path>?
[ ] Does your manifest conform to the 1.0 schema?

Microsoft Reviewers: Open in CodeFlow

@palenshus


strict-boolean-expressions: disallow string and number only

Rule Suggestion
Is your rule for a general problem or is it specific to your development style?
General problem
What does your suggested rule do?
Disallow boolean coercion when the type includes string or number, otherwise allow it.
I believe this is the same as "strict-boolean-expressions": [true, "allow-undefined-union", "allow-null-union"], but in addition to allowing undefined and null, it should also allow objects/functions. If that's the case, perhaps we just need a new option for strict-boolean-expressions?
List several examples where your rule could be used
declare const age: number;
// Expect error here
if (age) {
  // …
}

declare const maybeAge: number | undefined;
// Expect error here
if (maybeAge) {
  // …
}

declare const providedObj: {} | undefined;
declare const defaultObj: {} | undefined;
// Expect no error here, because the type does not include
// string or number, and therefore coercion is intuitive/safe.
const obj = providedObj || defaultObj;

Additional context
Boolean coercion of strings and numbers is dangerous and can lead to bugs, because it's easy to forget that '' and 0 are falsy. However, boolean coercion of undefined and null is much more intuitive (truthy) and therefore safe.

I'll take a look into this. Any thoughts on the name for the option?

@rrogowski Awesome! Hmm, does disallow-string-or-number work?

@OliverJAsh this seems like an intuitive enough name to me! However, from what I've seen the convention is to start rule options with allow. I can't find an example of a rule option starting with disallow. Maybe someone else with more experience can weigh in on this.

@OliverJAsh Just to be clear, is this the kind of case you're talking about?
declare const value: {} | () => void;
// Error is thrown, but under `disallow-string-or-number` no error would be thrown.
if (value) {
  // ...
}

@rrogowski That should be allowed, and so should any other union that doesn't include string or number.

@rrogowski No, as per the comment in the example code, I would expect no error here.

I'm having trouble thinking of a case that the combination of these options do not cover that would warrant a new option.

So I'm now trying "allow-undefined-union", "allow-null-union", and you're right, it produces the desired results according to my original examples.
I found this surprising, because allow-undefined-union allows {} | undefined but disallows string | undefined and number | undefined. Coincidentally this is what I seem to need, but this particular option's name would suggest both should be allowed, since they both include undefined in the union? Should the option name and docs be improved?
Here is an example of something which will error under "allow-undefined-union", "allow-null-union", but I do not want it to error:
declare const boolean: boolean;
declare const someObj: {};
// Expect no error here, because the type does not include
// string or number, and therefore coercion is intuitive/safe.
const obj = boolean && someObj;

I only want to disallow types which include string or number. All other union types should be allowed.

@OliverJAsh We need this too (const obj = boolean && someObj) - it looks like the use case is addressed by this recent check-in, which will be in the next deployment!
https://github.com/palantir/tslint/issues/3279#issuecomment-453219116

Going to close this for now given that #3279 has been fixed, which should cover most use cases


openjdk8 and openjdk9 hotspot macos builds failed and no SDK published

Both openjdk8 and openjdk9 hotspot macos builds failed for same issue for more than a month.
https://ci.adoptopenjdk.net/job/openjdk8_build_x86-64_macos/
https://ci.adoptopenjdk.net/job/openjdk9_build_x86-64_macos/
Looking at the output SDK is build successfully. Jenkins build failed for some lib missing, which casued no tests builds were triggered and no SDK was published.
[Error] j2re-image/lib/libfreetype.dylib.6 does not exist in the j2re-image folder, please check if this is the right folder to refer to, aborting copy process
openjdk version "1.8.0-adoptopenjdk"
OpenJDK Runtime Environment (build 1.8.0-adoptopenjdk-jenkins_2018_08_08_17_01-b00)
OpenJDK 64-Bit Server VM (build 25.71-b00, mixed mode)

Removing unnecessary files now...
Fetching the first tag from the OpenJDK git repo...
Currently at '/Users/jenkins/workspace/openjdk8_build_x86-64_macos/openjdk/build/macosx-x86_64-normal-server-release/images'
moving j2sdk-image to jdk8u181-b13
moving j2re-image to jre8u181-b13
Finished removing unnecessary files from jdk8u181-b13 and jre8u181-b13
PERFORM_COPYING=false
 Skipping copying of the free font library to jdk8u181-b13, does not apply for this version of the JDK.
PERFORM_COPYING=true
 Performing copying of the free font library to j2re-image, applicable for this version of the JDK.
[Error] j2re-image/lib/libfreetype.dylib.6 does not exist in the j2re-image folder, please check if this is the right folder to refer to, aborting copy process...
Archiving artifacts
‘OpenJDK*.tar.gz’ doesn’t match anything

Duplicate of #354 - new build scripts resolve this - should have releases soon.


Simplify get_axis_num

[ ] Closes #xxxx
[ ] Tests added
[ ] User visible changes (including notable bug fixes) are documented in whats-new.rst
[ ] New functions/methods are listed in api.rst

@Illviljan, i just merged https://github.com/pydata/xarray/pull/8547, and was wondering if we still need this?

i don't think so.


Show a list of your own courses

Describe the feature you'd like
Allow users to see a list of your own courses

@ragesoss @ujjwalagrawal17  I would like to solve this issue ? Can you give me some insight on how to start ?

This issue is already made in initial modules. So closing it. @JayjeetAtGithub If you want you can work on other open issues. I just closed some issues that are already made.


predicted mel returned by E2TTS classes's forward function

https://github.com/lucidrains/e2-tts-pytorch/blob/f37c210c9d5539145b521f45540ef9632e01fab1/e2_tts_pytorch/e2_tts.py#L1171
In the above line, shouldn't we return the predicted mel as pred+x0, as pred is just the difference between the input and target distribution learned by the model, and instead the actual prediction will be pred+x0?

@AnkurVerma02 hey Ankur, yes i can return the predicted mel, in the case that you are doing some audio perceptual loss on top (which is a proven technique)
you need to account for time, as you could be anywhere between full noise and full data. it would be pred + x0 if the time were set at 0. - the actual predicted mel is pred * (1. - times) + x0

oh oops, x0 is the full noise, yes you are correct 🤦

@AnkurVerma02 i see why you were confused, the flow was being logged rather than the actual mel prediction
should be fixed here


Fix buffer leak in DefaultCompositeBuffer#split

Motivation:
Manually enabling leak detection reveals buffer leaks in DefaultCompositeBuffer#split. When splitting the buffers, some buffers might be left outside of splits and bufs.
Modification:

Ensure DefaultCompositeBuffer splits the buffers so that they are either in splits or in bufs
Add junit test

Result:
No more leaks in DefaultCompositeBuffer#split.

@normanmaurer @chrisvest Thanks


Updates on high-level API

Looks like my version of jupyter is slightly different so updating cell ids, which is a bit annoying.
I've made some small changes to the intro to discuss datatypes, and then added to the high-level API, mainly a discussion of the _tensor

PS: two questions I thought of when going through:
Q: WIll numba work if space is GPU? (I'm guessing not?)
Q: I have been using cupy recently and it has some similarities. Would it be hard to support cupy integration in the future?

Thanks for working on this.  The _tensor dictionary was probably the biggest thing I had problems with when trying to figure out the high level API.  That, and when Bifrost encountered something it didn't like I was stuck waiting at pipeline.run() forever without any error messages or warnings.  That might be something to look into.

A:  I had originally added numba to the tutorial because I was looking for something that would be like bifrost.map but work on data in the system space.  I wouldn't think numba would work on arrays in the GPU space but it does appear to have some GPU support through the @cuda.jit decorator.
A:  I hadn't heard of cupy but it looks really interesting.


Docs: update imports for example custom node code

What type of PR is this? (check all applicable)

[ ] Refactor
[ ] Feature
[ ] Bug Fix
[ ] Optimization
[x] Documentation Update
[ ] Community Node Submission

Have you discussed this change with the InvokeAI team?

[ ] Yes
[x] No, because: community nodes already use these import paths

Have you updated all relevant documentation?

[x] Yes
[ ] No

Description
The example custom node code in the docs uses old (?) import paths for invokeai modules. These paths cause the module to fail to load. This PR updates them.
QA Instructions, Screenshots, Recordings

[x] verified that example code is loaded successfully when copied to custom nodes directory
[x] verified that custom node works as expected in workflows

Added/updated tests?

[ ] Yes
[x] No : documentation update

Thanks for updating this! Are you in the Discord?

yep, under the same handle.


boards: st:  add stm32c0116_dk support

Add DTS and SoC support for STM32C011X6 familly
Add board support for STM32C0116_DK
Issue #71723

@ajarmouni-st thanks for the review.
Requested changes implemented

OK on eval board and custom board

@RomainPelletant it would be great to add the Devicetree info for the 5-way joystick, as this would be a good showcase for the adc-keys driver which is one of those hidden gems in Zephyr I wish more people knew about :) (see https://github.com/zephyrproject-rtos/zephyr/pull/68446)

cc @fabiobaltieri @xingrz

@kartben I check this in next days. Do you expect only support in device tree and / or an adc-keys sample?

Great! I don't think and adc-keys sample is needed, it's just a regular input device at the end of the day, but it will be great to finally have one board in-tree with one built-in :)


samples: net: sockets: echo: Add WiFi support

Modify the sample application to connect to a WiFi access point, if configured.  Kconfig options are provided to specify the SSID and password.  Configuration file is included for the Raspberry Pi Pico W.

Instead of making custom modifications to the sample, could we aim to make it work with the Wi-Fi snippet instead? I've made a PR which added Wi-Fi support to a bunch of samples recently:
https://github.com/zephyrproject-rtos/zephyr/pull/79375
In general, sample could block on wait_for_network(), leaving a chance to the user to connect to a Wi-Fi network with Wi-Fi shell.

@rlubos - Sure!  It makes sense to follow a common pattern ... once I know about the pattern.  I'll look at the other samples and try to figure it out.

Withdrawing this pull request to replace it with one that follows the snippet pattern.


Fix issue #40: Crash if MBTilesMapSource used

map() creates iterable in python3, which is not desired. The bug led to crash when moving the map, happening on line min_lon, min_lat, max_lon, max_lat = map_source.bounds (_apply_bounds() in view.py) as map_source.bounds would be None.
Solved by wrapping in tuple().

Thanks !


Fixed Makefile BUILD_FLAGS for darwin

Changed makefile to use bazel darwin build flag
fixes #1581
Release note:
`make` command failed with bazel 0.7 because of unsupported build flag `k8`. Looks like BUILD_FLAGS should be darwin on macos, not k8 anymore.

Hi @mcwienczek. Thanks for your PR.
I'm waiting for a istio member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.
I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@codecov[bot]: you can't request testing unless you are a istio member.

In response to this:

Codecov Report

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

@@           Coverage Diff           @@
##           master    #1624   +/-   ##
=======================================
 Coverage   82.78%   82.78%
=======================================
 Files          52       52
 Lines        6423     6423
=======================================
 Hits         5317     5317
 Misses        901      901
 Partials      205      205

Continue to review full report at Codecov.

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

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

/ok-to-test

@mcwienczek: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/pilot-e2e-smoketest.sh
bb7cc8dfd3854de5155c620e77634196f14f4333
link
/test pilot-e2e-smoketest

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/test pilot-e2e-smoketest

@mcwienczek: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/pilot-e2e-smoketest.sh
bb7cc8dfd3854de5155c620e77634196f14f4333
link
/test pilot-e2e-smoketest

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.