android.process.media is suddenly using more of the processor

Describe the bug
After installing the app and turning on the "Risiko-Ermittlung", I saw that the battery of my phone drains way faster than usual and is also heating up really fast. After letting the app in the background for a few hours I looked up what drained the most of my battery.
The Corona-Warn-App itself did not drained really much from the battery.

Instead, the system process "android.process.media" drained really much by using around 25% of my phones CPU in average which seems to be the reason why my phone is getting hot so quickly!

This was still happening after several times of restarting my phone.
Expected behaviour
Instead of heating up by using so much of the processor, it should use a little bit of resources.
Usually it does not heat up like this because there is no process on my phone which would use so much resources in the background.

This is a picture of how the battery and the processor are being used on a normal day of usage before installing the Corona-Warn-App.
Steps to reproduce the issue

Turn on "Risiko-Ermittlung"
Close the app as everything else is happening on its own

Technical details

Sony Xperia Z2
Android 6.0.1

Possible Fix
It would make sense to me if this is happening because the random keys of other phones are written to the memory of my phone. But instead it should be written to the memory in a lower frequency (if this is the problem) to reduce the usage of the processor and the heat and fast draining because of the high usage.
Additional context
I think that the sudden high usage of this process is because of the Corona-Warn-App. To see if this is true, I would like to help with creating log files if there are needed. If any logs or anything else are needed, please let me know and please let me know how to go on to create such things.
It can be of course because of any other reason which would be not because of the app. But it would make sense since it started to behave like that after I activated the "Risiko-Ermittlung".

Hi @Bumblebee38 and thanks so much for your detailed issue description. Could you provide us with a consumption profile while Risiko-Ermittlung is turned off? It is highly unlikely that we have key writing problems to memory, so we would need as much information as we can get.
BR,
Jakob

On my Huawei Mate 20 Pro (Android10), I have also noticed a battery drain issue with the 1.0.0 version of the app. The phone battery drops more quickly after I installed and activated the app. In the battery usage the actual Corona Warn app is only showing with low usage, but something is draining the battery.

Could it be that other apps that previously were not able to use Bluetooth and or Location Services now are able to use these properly and thus drain your battery? As you can see in both screenshots, our App really does not have a major impact on battery life. We are constantly monitoring your feedback and will react as soon as we see an issue that is directly correlating with our Application Battery Consumption.

Location services were on prior to installing the app. The device has BT 5.0 LE, and there are 3 other devices saved in BT connected devices, but these are all not actively connected. On Android 10 you can set to give apps only location access when they run in foreground, which I have done with all apps asking for this permission. The Corona Warn app does not ask for location service access.

Thanks for your detailed description of the context. Regarding your issue @coder66: What Apps / Processes actually do consume energy though? Also android.process.media like mentioned above?

I turned "Risiko-Ermittlung" off while Bluetooth was on for six hours (I changed the setting at around 3pm). At the beginning of this time I did not use my phone. Then at around 6pm I used it with a moderate CPU usage so that it consumes resources from the CPU while a process was in the foreground so that I have scenarios of how I would use my phone to test the produced heat, the battery consumption and the CPU usage.
After turning off "Risiko-Ermittlung" and Bluetooth on to test if other applications were using Bluetooth, I felt that my phone did not heat up and the battery consumption was really low. After looking up, I saw that the CPU usage in average was quite low because of android.process.media which was not active in the background the whole time using 25% of the CPU.
While android.process.media was active in the background, the battery went in six hours from 100% to 25%. After turning off "Risiko-Ermittlung" it went in six hours from around 100% to around 50% which is a way better result.

The battery consumption of the Corona-Warn-App itself was still the same.

But this could now mean that there is something between the Corona-Warn-App and android.process.media at least on my device, right? And because I let Bluetooth on while testing and the heat as well the battery consumption as well the CPU usage were not high as before, this would mean that at least in my test case there was no process which would be using more CPU resources by using Bluetooth while being active in the background.

We are in contact with Google about this and hopefully cannot update soon.

A friend of mine with an iPhone has also told me that since he has the app installed, the battery drain has gone up. iOS does not have android.process.media but perhaps there is an equivalent module?

For this issue I would ask your friend to open up something separate on the iOS Repo.
Also, I highly suspect something like a 3rd party process that results in this behaviour, as we only make use of the native frameworks for tracking. Additionally, we have no read/write intensive code during the exposure tracking, nor heavy network traffic inside the app that could result inside this amount of CPU Consumption. From our standpoint this is simply an unrealistic amount of resource consumption.
For me this makes the issue possible and not invalid, but instead not reproducible. I would ask for more context of other apps running on your phone that could interfere with the Corona-Warn-App to make sure that it really is our App that is at fault.

Okay, will do that. I know, without reproduction the issue is not an issue ;).
Btw, yesterday Corona app 1.0.2 dropped and also Google Play Services had an update to 20.24.13 (I am enrolled in the beta program). The battery drain seems to be normal today, just as always. Just thought I'd mention it, but as there were two updates I am not sure how the relation is.

I will close this issue as not reproducible as a result of the discussion.


fix: status message - total requests

If requestQueue / requestList are uninitialized, the status message contains undefined - this PR removes this, no total is shown in this case.

Is it about initialization though? It's undefined after migration, so I assumed it should be initialized...

Right, this PR is only about the presentation - if the information is not available, the status message is slightly different
(Crawled 15 pages vs Crawled 15/30 pages)
The issue you mentioned in Slack seems to be (much) deeper than this - I could try looking into it, but out of you all, I might have the least expertise in this topic rn 🤷🏼

Ah, got it, all right then, just wanted to make sure there was no misunderstanding :)


Allow kernel options.

I noticed this plugin forwards interpolation to sharp interpolator to configure how enlarging images is handled but doesn't forward kernel to configure how reducing images is handled.

Thank you!

Hi @jdalton
kernel option is landed in version 2.6.0 https://www.npmjs.com/package/gulp-responsive
Thank you! 😉


Bump nerves_system_br from 1.6.5 to 1.6.6

(This is a rather useful Nerves system due to the included OpenCV and Python 3 support, great that you guys open-sourced it!)
A minor issue in using this system to replace nerves_system_rpi3 in a brand new Nerves project:
$ mix deps.get
Resolving Hex dependencies...

Failed to use "nerves_system_br" (version 1.6.6) because
  farmbot_system_rpi3 (version 1.6.1-farmbot.1) requires 1.6.5
  nerves_system_rpi (version 1.6.2) requires 1.6.6
  nerves_system_rpi0 (version 1.6.2) requires 1.6.6
  nerves_system_rpi2 (version 1.6.2) requires 1.6.6
  mix.lock specifies 1.6.6

** (Mix) Hex dependency resolution failed, change the version requirements of your dependencies or unlock them (by using mix deps.update or mix deps.unlock). If you are unable to resolve the conflicts you can try overriding with {:dependency, "~> 1.0", override: true}

Environment

Elixir version (elixir -v): Elixir 1.8.0 (compiled with Erlang/OTP 21)
Nerves environment (mix nerves.env --info): N/A

Current behavior
Currently, replacing nerves_system_rpi3 with farmbot_system_rpi3 requires adding an explicit dependency on, and override for, nerves_system_br:
{:nerves_system_br, "~> 1.6", targets: @all_targets, override: true},

Expected behavior
Ideally, just replacing nerves_system_rpi3 with farmbot_system_rpi3 would work out of the box.

Forgot to update this, but it has since been updated to the latest nerves_system_br at the time of this post.


Avoid panicing on scratch images

Docker allows creating empty images (e.g. with FROM scratch followed by
a no-op like MAINTAINER or LABEL).
Without this patch, docker2aci will panic when it encounters an image of
this sort.
 They're also difficult to work
with. As an example, docker save bails on them with an unimplemented
error.
In line with that behavior, I think bailing in docker2aci makes sense
too rather than dealing with more robust error handling or creating an
empty ACI.

sudo rkt fetch --insecure-options=image docker://euank/scratch if you want to see the panic 😄


Support for secret based TLS certificates

Any interest in adding customTLS like in here
https://github.com/EugenMayer/helm-openldap/blob/main/templates/statefullset.yaml#L85
i'am using it this way
customTLS:
  enabled: true
  secret: ${tls_secret_name}  # The name of a kubernetes.io/tls type secret to use for TLS
  CA:
    # needs ca.crt as field in the secret customTLS.secret
    enabled: true

while tls_secret_name is just an existing secret. This allows the usual TLS cert way of handling certificates. This is the normalized way of dealing with those certificates in k8s (those can than even be provided by the CertManager`
apiVersion: v1
data:
  tls.crt: <cert>
  tls.key: <key>
  ca.crt: <ca.crt>
kind: Secret
metadata:
  name: openldap-tls-secret
  namespace: mynamespace
type: kubernetes.io/tls

I could not find anything similar in the chart right now - or i missed it

I see, so the one to use with the chart would be
initTLSSecret:
  tls_enabled: true
  image:
    registry: docker.io
    repository: alpine/openssl
    tag: latest
    pullPolicy: IfNotPresent
  secret: "custom-cert"

where the secret is the same thing i tried with customTLS.secret right?

Yes exactly

Thank you very much!


Add changes to display warn logs without stack trace

Signed-off-by: kesavan<EMAIL_ADDRESS>

@JohnStrunk Can you please merge this PR?


Possible memory leak

I'm using this module and I see that the nginx process is eating memory without stop. ¿any idea how to debug this problem?
Thank you ;)

Can you elaborate on this? What is configuration do you have? Can you simplify the configuration and find a minimum config that eats the memory.

Hi @arut,
I'm resuming this as I have the same issue.
I've built this module (commit ef2f874d) with nginx 1.14.0:
[root@bf5203f01065 sbin]# ./nginx -V nginx version: nginx/1.14.0 built by gcc 4.8.5 20150623 (Red Hat 4.8.5-36) (GCC) configure arguments: --with-debug --add-module=/root/ts-module/nginx-ts-module/ --prefix=/root/ts-module/nginx
Then I've run it with valgrind and massif:
[root@bf5203f01065 sbin]# valgrind --tool=massif ./nginx &
According to massif there's seems to be an issue with memory allocated by the ngx_http_request_body_save_filter.
I've pushed a ts stream to nginx with the following command:
ffmpeg -re -i joined.mp4 -bsf:v h264_mp4toannexb -c copy -f mpegts http://<IP_ADDRESS>:8080/publish/fauno
I'm attaching nginx.conf and a couple of massif logs (massif.out.28 was produced without the ffmpeg -re option).
ts-module.tar.gz
Any help would be appreciated.

After looking into nginx code I think the problem is with chain links in rb->bufs which should be freed before setting rb->bufs = NULL as follows:
for (cl = rb->bufs; cl;) {     tl = cl;     cl = cl->next;     ngx_free_chain(r->pool, tl); }

i have same issue
after 3-5 day run nginx-ts eat memory 20-30Gb
do you have fix of this problem ?

After looking into nginx code I think the problem is with chain links in rb->bufs which should be freed before setting rb->bufs = NULL as follows:
for (cl = rb->bufs; cl;) { tl = cl; cl = cl->next; ngx_free_chain(r->pool, tl); }

Did it fix the issue for you? I'm also seeing crazy RAM usage.

news?

Any news ?

Is it freed after stream end? Is it specific to HLS or DASH?


Obsolete properties disappear from input object type in schema

Is there an existing issue for this?

[X] I have searched the existing issues

Product
Hot Chocolate
Describe the bug
After migrate from hot chocolate 12 to 13. Obsolete properties inside the input object type get disappeared.
Steps to reproduce
Please follow the commits inside this repo https://github.com/pasanascentic/hotchocolate12To13
Relevant log output
No response
Additional Context?
No response
Version
13.0.5

Hey @michaelstaib i just ran into the same issue after upgrading to HC13 - and i think this has to be mentioned as a breaking change in the docs.
As it seems inputFields field on the introspection query has an optional argument includeDeprecated, which defaults to false.
I don't know, if this was already the default on HC12, but in HC12 the @deprecated directive was not automatically added to input fields, whereas in HC13 those are added automatically from XML documentation.
So in my opinion this is not related to banana cake pop in the first place, but to hot chocolate introspection.
And worse: i have schema snapshot tests, in which the deprecated input fields are included, so i did not notice that apollo generator produces a different schema!
Can we somehow opt-in to change the default to include deprecated fields on inputFields?

This is actually a spec change Hot Chocolate now implements but is not yet supported by tooling. We will update probably for version 7.

Fixed in Version 7


[INSPIR-1878] Add Indexing

Why tests failed on travis if exit code was 0? The command "pipenv run py.test --random-order tests/unit" exited with 0.


Plugin stop working

hi guys, issue come back:
when restart domoticz service, sometimes plugin start correctly but not receive data from zigbee2mqtt that send info right.

Hello,
First of all, thanks for your great work @stas-demydiuk!
I'm afraid I'm having a bit of the same, difficult to analyze, issue. I'm running the latest stable domoticz together with zigbee2mqtt (master branch) and the domoticz plugin. When I start the domoticz-service, everything works great, but after 1-1,5 days, domoticz becomes unresponsive.
At first, I restarted my RPI and everything was working again. Later I found out that the zigbee2mqtt service remains running correctly and keeps receiving messages.
Domoticz however, seems to hang at some point. When I try to open the dashboard, it keeps connecting. However, if I run 'sudo systemctl status domoticz' from bash, it seems that domoticz is running. I can 'resolve' it by simply restarting domoticz ('sudo systemctl stop domoticz' and then 'sudo systemctl start domoticz').
What can I do to figure out what goes wrong?
Many thanks!
Guy

Since domoticz releases stable versions very rarely, could you please try the same setup with Domoticz beta?

I’m running on beta

Switches to beta, Ill keep jou guy posted 😉


Optimization in SpearmansRank computation

Optimizes SpearmansRank's metric computation

@sorensenjs
You are owner of some files modified in this pull request.
Would you kindly review the changes whenever you have the time to?
Thank you very much.


feat: allow custom http.Client with default client

This method seems to have been lost in the migration from mrobinsn/go-rtorrent.

@zze0s any chance you could have a look? 😃

Hi @thde ! I totally missed this PR, sorry about that.
I just merged https://github.com/autobrr/go-rtorrent/pull/3 which adds a new NewClientWithOpts which takes funcOpts where you can pass a custom http.Client as well.
I'll merge this so it's compatible and support both ways :+1:


Exception instead of error message

INFO: Enqueuing jenkins slave request
Jun 18, 2015 5:17:54 PM hudson.slaves.NodeProvisioner$2 run
INFO: MesosCloud provisioning successfully completed. We have now 22 computer(s)
java.lang.NullPointerException
at org.jenkinsci.plugins.mesos.JenkinsScheduler.matches(JenkinsScheduler.java:306)
at org.jenkinsci.plugins.mesos.JenkinsScheduler.resourceOffers(JenkinsScheduler.java:252)
Jun 18, 2015 5:17:55 PM org.jenkinsci.plugins.mesos.JenkinsScheduler$1 run
SEVERE: The Mesos driver was aborted! Status code: 3
My current config gets to the point of attempting a connection to the node and never succeeds. It is not clear how this works. Is JNLP required. Is there setup on the nodes required.

Hello
could be the same as https://github.com/jenkinsci/mesos-plugin/issues/113 ?

I don't think so.  I have downloaded the latest master and installed that plugin.  Other issues appear to be resolved but this one doesn't.  It is also adding frameworks to mesos that don't seem to be removed when the exception occurs.  What I am seeing is the error message and a jenkins console log that says either
404 which is another bug
why is the node still in the table if it has gone away and
Starting mesos slave mesos-jenkins-e7e24a84-a718-4724-a077-8b6092bc9517
This never returns and all previous diagnostics don't work.
The use of the Google logging package also complicates things since it has a very simple minded view of logging only three levels and even worse it splits the logs into three files. It makes one wonder if any of these programmers have ever worked on production systems.  They are doing so many things that are different but not helpful.

Don't hesitate to contact Mesos developpers and teach them how to develop a production ready system.
Btw, your issue looks exactly like this: https://github.com/jenkinsci/mesos-plugin/issues/111
I have faced similar problem when my mesos cluster resources where exhausted. In your case, reading your first message, you have already 22 slaves, so maybe mesos resources were all allocated.
You could configure your Jenkins Mesos slaves idle timeout more agressively to unused slaves are deleted more often.
If you think your issue is different, please add:
Your mesos cluster version + jenkins version
any helpfulls logs from the Jenkins master, the jenkins slaves, the mesos master, the mesos slaves, etc...

Thanks I patched some of these issues locally and will update once 0.8 comes out.


Publishing custom functions to azure not working

[Enter feedback here]
I followed the steps of this page to deploy my dist folder for an excel functions add in I built with the yo-office-generator tool, I was able to successfully deploy the directory to a static site, but when I try and run the manifest on an excel instance (after changing the urls from localhost:3000 to the path to my static site, I've confirmed all the paths have matching resources) I don't have access to my custom functions, though the taskpane works correctly.
Is there a step I'm missing for deploying custom functions?

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 0b9105a4-a164-1e91-11ad-8ccb4f4d6b2d
Version Independent ID: f4e5fae7-ac16-f852-8529-6b0fdd7bdad4
Content: Publish an add-in using Visual Studio Code and Azure - Office Add-ins
Content Source: docs/publish/publish-add-in-vs-code.md
Product: non-product-specific
Technology: add-ins
GitHub Login: @o365devx
Microsoft Alias: o365devx

Thanks for reporting this issue, @MitchHamill.
@davidchesnut, could you please take a look?

Thanks a bunch @davidchesnut!!
I figured there'd be some simple step I was missing 😃

I added instructions to the doc for how to set up CORS for custom functions. BTW: @MitchHamill there is no list for the endpoints that could call you for Mac/Windows etc. There are many and they change from time to time. You could try applying a filter like *.live.com or similar.


Bug report regarding Importing and Suggestion

Hey there Etchk, first of all let me thank you for your WONDERFUL module!
First of all I wanted to report a bug: when you import, the categories don't remain and it puts them all into uncategorized

Lastly. As you can see I'm using your amazing module to track reputation for my players and the different factions they encounter. I was wondering that if you could include a threshold mechanic where for example, if it reaches a % of the progress, something happens (just a text display or a change of colour of the progress bar is more than enough for me).
Many thanks again and have a good day!

Greetings @turboraton ! Thank you for using Github to reach out; however, your bug/suggestion is actually for Crash's Tracking and Training. I will let Crash know, but suggest that you post this over on their Github page.


can we get top level dependency only

Instead of getting dependency of dependencies . is there a way we can get only top level dependency only.

Ty @prathapar

Ty @prathapar

Or perhaps a column if this was a direct dependency or a dependency of a dependency

Or perhaps a column if this was a direct dependency or a dependency of a dependency

Hey @prathapar and @Deklin ! There is the project_roots function that will show you the folder that the package managers were found in without digging into the files themselves. Other than that I am wondering about the level of depth you actually care about. For example, if you have a Gemfile with 5 gems in it, I assume you are expecting 5 (or 6 including bundler) entries when running license finder? Maybe an example to clarify as each package manager would handle this differently

Hey @prathapar and @Deklin ! There is the project_roots function that will show you the folder that the package managers were found in without digging into the files themselves. Other than that I am wondering about the level of depth you actually care about. For example, if you have a Gemfile with 5 gems in it, I assume you are expecting 5 (or 6 including bundler) entries when running license finder? Maybe an example to clarify as each package manager would handle this differently

@xtreme-shane-lattanzio
an example for node projects
I only want to get the licenses from dependencies directly defined in package.json, I don't want licenses for dependencies of those, so this hypothetical  new flag would prevent the dependencies of dependencies.

@xtreme-shane-lattanzio
an example for node projects
I only want to get the licenses from dependencies directly defined in package.json, I don't want licenses for dependencies of those, so this hypothetical  new flag would prevent the dependencies of dependencies.

@xtreme-shane-lattanzio
It's better if all package manager executables can accept extra command arguments similar to the @maven_options
For example, define an @npm_options so the user is able to send --depth 0 which only gets the first level of npm libs.
My 2 cents.

Okay so if a package.json has 5 lines, you want the 5 deps. I think a depth flag can definitely be useful here. I am also wondering if there is a way to do this with just some kind of npm flag to not pull down too much. That would fix this too so that we only need to pass a new flag to npm

Agree with @topikachu


Fix segmentation fault

Was the error shown as a Segmentation Fault or a Double Free? Is there a screenshot?

I saw a "corrupted size vs. prev_size" error


Nested properties that are not [ObjectLiteral] are not deserialised correctly when parent class is [ObjectLiteral]

When an [ObjectLiteral] class is deserialised, it is presumed that its entire object graph is also fully [ObjectLIteral], which may not be the case. This means that any methods that exist on non-[ObjectLiteral] types that are properties of the parent [ObjectLiteral] type will fail when called.
To illustrate:
public class Program
{
    public static void Main()
    {
        var source = new Person("Test", new Role("Whatever"));
        var json = JsonConvert.SerializeObject(source);
        Console.WriteLine("source.Role.GetDescription = " + source.Role.GetDescription());
        Console.WriteLine(json);

        var clone = JsonConvert.DeserializeObject<Person>(json);
        Console.WriteLine("clone.Role.GetDescription = " + clone.Role.GetDescription());
    }
}

[ObjectLiteral(ObjectCreateMode.Constructor)]
public class Person
{
    public Person(string name, Role role)
    {
        Name = name;
        Role = role;
    }

    public string Name { get; }

    public Role Role { get; }

    public string GetName()
    {
        return Name;
    }
}

public class Role
{
    public Role(string description)
    {
        Description = description;
    }

    public string Description { get; }

    public string GetDescription()
    {
    	return Description;
    }
}

Available at https://deck.net/9df43065120178654cd32e3d7e992728
Expected output is:
source.Role.GetDescription = Whatever
{"Name":"Test","Role":{"Description":"Whatever"}}
clone.Role.GetDescription = Whatever

but the actual output is that the first two lines work and the third one (clone.Role.GetDescription()) throws an exception because that method is not defined.
If the Role class is identified as [ObjectLiteral(ObjectCreateMode.Constructor)] then it works.
I guess that one easy way to fix this would be to require that all types that appear as properties of [ObjectLiteral] classes are also [ObjectLiteral] themselves (so, in this case, Role would have to be an [ObjectLiteral] because Person is an [ObjectLiteral]). Any type derived from Role (or from Person) would also have to be [ObjectLiteral], otherwise deserialisation would fail there is derived types were present in the JSON (possibly only applies when TypeNameHandling is enabled). This would obviously be a change, though - potentially a breaking change. I wonder how many people would realistically be using an [ObjectLiteral] class that has properties (or derived types) that are not [ObjectLiteral]..? It may not be a great risk to any existing code - that, of course, is up to you!
Another option, perhaps, would be for a post-deserialisation "fix-up" step to "hydrate" any types that are not [ObjectLiteral] into real instances of whatever they need to be. This would obviously be more expensive in terms of processing but it may already be necessary for some other issues (see #52 and #53).

@ProductiveRage – Thanks for this report and excellent sample. We feel you original sample should work without any modifications, so we consider the current functionality as defective. We will review and fix right away.

This issue is the same #52 (test sample should work after #52 PR merging)

Hi!
Just run your test case with dev branch.

create new ClassLibrary project on .NET Framework 4
install Bridge.Newtonsoft.Json 1.3.0 package (bridge 16.5.0 comes in the bundle)
Paste the code above within the namespace block of the Class1.cs file (for simplicity)
Build
Open bin/Debug/Bridge/index.html in google chrome
Open console (F12)
Result:

source.Role.GetDescription = Whatever
{"Name":"Test","Role":{"Description":"Whatever"}}
clone.Role.GetDescription = Whatever

Just as reference, this is what I get from current deck.net version (Bridge 16.4.1, NewtonSoft.Json 1.2.2):
source.Role.GetDescription = Whatever
{"Name":"Test","Role":{"Description":"Whatever"}}
System.Exception: TypeError: clone.Role.GetDescription is not a function
    at Function.Main (https://deck.net/RunHandler.ashx?h=1041033135:37:83)
    at https://deck.net/resources/js/bridge/bridge.min.js?16.4.1:7:38249
    at HTMLDocument.i (https://deck.net/resources/js/bridge/bridge.min.js?16.4.1:7:5175)
    at i (https://cdnjs.cloudflare.com/ajax/libs/jquery/2.2.4/jquery.min.js:2:27151)
    at Object.add [as done] (https://cdnjs.cloudflare.com/ajax/libs/jquery/2.2.4/jquery.min.js:2:27450)
    at n.fn.init.n.fn.ready (https://cdnjs.cloudflare.com/ajax/libs/jquery/2.2.4/jquery.min.js:2:29515)
    at new n.fn.init (https://cdnjs.cloudflare.com/ajax/libs/jquery/2.2.4/jquery.min.js:2:24945)
    at n (https://cdnjs.cloudflare.com/ajax/libs/jquery/2.2.4/jquery.min.js:2:405)
    at Object.ready (https://deck.net/resources/js/bridge/bridge.min.js?16.4.1:7:5238)
    at https://deck.net/resources/js/bridge/bridge.min.js?16.4.1:7:38228

So, as good as fixed with the merged implementations from @vladsch, it seems.


Fixes #4410

Fixes #4410.

Codecov Report

Merging #4411 into master will increase coverage by <.01%.
The diff coverage is 35.41%.

@@             Coverage Diff              @@
##             master    #4411      +/-   ##
============================================
+ Coverage     54.35%   54.36%   +<.01%
  Complexity      332      332
============================================
  Files           953      952       -1
  Lines         18547    18546       -1
  Branches       3451     3451
============================================
  Hits          10082    10082
+ Misses         7814     7813       -1
  Partials        651      651

Impacted Files
Coverage Δ
Complexity Δ

...phere/sql/parser/SQLServerParserConfiguration.java
0% <ø> (ø)
0 <0> (?)

...ingsphere/sql/parser/MySQLParserConfiguration.java
0% <ø> (ø)
0 <0> (?)

...here/sql/parser/PostgreSQLParserConfiguration.java
0% <ø> (ø)
0 <0> (?)

...ngsphere/sql/parser/OracleParserConfiguration.java
0% <ø> (ø)
0 <0> (?)

...ingsphere/sql/parser/SQL92ParserConfiguration.java
0% <ø> (ø)
0 <0> (?)

...jdbc/wrapper/PreparedStatementExecutorWrapper.java
2.22% <0%> (ø)
0 <0> (ø)
:arrow_down:

...l/parser/core/visitor/ParseTreeVisitorFactory.java
0% <0%> (ø)
0 <0> (ø)
:arrow_down:

...here/shardingproxy/backend/schema/LogicSchema.java
0% <0%> (ø)
0 <0> (ø)
:arrow_down:

...ry/binary/prepare/MySQLComStmtPrepareExecutor.java
0% <0%> (ø)
0 <0> (ø)
:arrow_down:

...here/sql/parser/core/parser/SQLParserExecutor.java
0% <0%> (ø)
0 <0> (?)

... and 20 more

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 7360d85...d604986. Read the comment docs.

Pull Request Test Coverage Report for Build 9711

17 of 48 (35.42%)  changed or added relevant lines in 25 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.003%) to 57.932%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

sharding-proxy/sharding-proxy-backend/src/main/java/org/apache/shardingsphere/shardingproxy/backend/schema/LogicSchema.java
0
1
0.0%

sharding-proxy/sharding-proxy-frontend/sharding-proxy-frontend-mysql/src/main/java/org/apache/shardingsphere/shardingproxy/frontend/mysql/command/query/binary/prepare/MySQLComStmtPrepareExecutor.java
0
1
0.0%

sharding-proxy/sharding-proxy-frontend/sharding-proxy-frontend-postgresql/src/main/java/org/apache/shardingsphere/shardingproxy/frontend/postgresql/command/query/binary/parse/PostgreSQLComParseExecutor.java
0
1
0.0%

shardingsphere-sql-parser/shardingsphere-sql-parser-engine/src/main/java/org/apache/shardingsphere/sql/parser/SQLParserEngine.java
0
2
0.0%

shardingsphere-sql-parser/shardingsphere-sql-parser-engine/src/main/java/org/apache/shardingsphere/sql/parser/core/visitor/ParseTreeVisitorFactory.java
0
2
0.0%

sharding-jdbc/sharding-jdbc-core/src/main/java/org/apache/shardingsphere/shardingjdbc/jdbc/core/statement/MasterSlavePreparedStatement.java
0
4
0.0%

shardingsphere-sql-parser/shardingsphere-sql-parser-engine/src/main/java/org/apache/shardingsphere/sql/parser/core/parser/SQLParserFactory.java
0
4
0.0%

sharding-proxy/sharding-proxy-backend/src/main/java/org/apache/shardingsphere/shardingproxy/backend/communication/jdbc/wrapper/PreparedStatementExecutorWrapper.java
0
5
0.0%

sharding-proxy/sharding-proxy-backend/src/main/java/org/apache/shardingsphere/shardingproxy/backend/communication/jdbc/wrapper/StatementExecutorWrapper.java
0
5
0.0%

shardingsphere-sql-parser/shardingsphere-sql-parser-engine/src/main/java/org/apache/shardingsphere/sql/parser/core/parser/SQLParserExecutor.java
0
6
0.0%

Totals

Change from base Build 9710:
0.003%

Covered Lines:
10744

Relevant Lines:
18546

💛  - Coveralls


Storage

Category : Storage
Type: Different types of Storage ex blob,file

Hello, please provide the required details:
{
"word": "",
"content": "",
"learn_more_url": "",
"tag": "",
"abbreviation": "",
"author_name": "",
"author_link": ""
}

Closing due to inactivity, please feel free to reopen when you can, thank you.


Added Support Boundaries section

Added Support Boundaries section

@FilippSe PR has been copyedited and is ready for final review, could you please check and merge? Thanks!

Docs Build status updates of commit b192d3f:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

Teams/direct-routing-configure.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


As a user I can template Call Activities

Describe the bug
In the examples for camunda 7 templates (https://github.com/camunda/camunda-modeler/blob/develop/resources/element-templates/samples.json) we can set the property for the called element of an CallActivity
  {
    "$schema"<EMAIL_ADDRESS>    "name": "Caller",
    "id": "com.camunda.example.Caller",
    "appliesTo": [
      "bpmn:CallActivity"
    ],
    "properties": [
      {
        "label": "Called Process",
        "type": "String",
        "editable": false,
        "value": "calledProcess",
        "binding": {
          "type": "property",
          "name": "calledElement"
        }
      }

If i try the same with a camunda 8 template, the modeler sets the property as a property of the "root element" from the call activity
  {
    "$schema"<EMAIL_ADDRESS>    "name": "call activity",
    "id": "my.callactivity",
    "appliesTo": [
      "bpmn:CallActivity"
    ],
    "properties": [
      {
        "label": "Called element",
        "type": "Hidden",
        "editable": false,
        "value": "recordSubEvent",
        "binding": {
          "type": "property",
          "name": "calledElement"
        }
      }

will get
    <bpmn:callActivity id="Activity_11cqzvi" zeebe:modelerTemplate="my.callactivity" calledElement="recordSubEvent">
      <bpmn:extensionElements>
        <zeebe:calledElement propagateAllChildVariables="false" />

what i want
    <bpmn:callActivity id="Activity_0osluzw" zeebe:modelerTemplate="my.callactivity">
      <bpmn:extensionElements>
        <zeebe:calledElement processId="recordSubEvent" propagateAllChildVariables="false" />
        <zeebe:ioMapping>

Steps to reproduce

Use the template for<EMAIL_ADDRESS>from above to create a template
Open modeler 5.0.0 and create a bpmn 8
Create a CallActivity and use the created template
Save the created BPMN

Expected behavior
The created XML should have a zeebe:calledElement xml element with the processId.
Environment

OS: Windows 10
Camunda Modeler Version: 5.0.0
Execution Platform: -
Installed plug-ins: -

Additional context
Depends on https://github.com/bpmn-io/bpmn-js-properties-panel/issues/704

Unfortunately, templating call activities is not supported for Camunda 8 Templates at the moment. There is an issue in the upstream properties panel library that tracks the progress: https://github.com/bpmn-io/bpmn-js-properties-panel/issues/704.
In related news: thanks for reporting this. It gives us an indication that this feature is needed (/cc @christian-konrad) 👍

Hi team, I've lately recommended call activities with templates for a smooth migration from Camunda 7 to Camunda 8. Right now, the customer uses an execution listener to initialize variables for the called process.
In the future, a preconfigured Call Activity would be the way to go. Could you please move it higher on the priorities?

Moving to ready.


transport_service: Improve connection stability by downgrading connections on substream inactivity

This PR advances the keep-alive timeout of the transport service.
Previously, the keep-alive timeout was triggered 5 seconds after the connection was reported to the transport service regardless of substream activity.

(0secs) T0: connection established; keep-alive timeout set to 5seconds in the future
(4secs) T1: substream A, B, C opened
(5secs) T2: keep-alive timeout triggered and the connection is downgraded. T1 was not taken into account, otherwise, the keep-alive timeout should be triggered at second 9 (T1 at 4 seconds + keepalive 5 seconds)
(6secs) T3: substreams A, B, C closed -> connection closes
(7secs) T4: cannot open new substreams even if we expected the connection to be kept alive for longer

In this PR:

KeepAliveTracker structure to forward the keep-alive timeout of connections.
Connection ID is forwarded to SubstreamOpened events to identify properly substream Ids. This is needed because the ConnectionContext contains up to two connections (primary and secondary)

Testing Done

test to ensure keepalive downgrades the connection after 5 seconds
test to ensure keepalive is forwarded on substream activity
test to ensure a downgraded connection with dropped substreams is closed

Closes https://github.com/paritytech/litep2p/issues/253.

Then, is it possible we downgrade the connections and disconnect peers if no requests are sent/received, as Notifications protocol works over long-lived substreams and doesn't open new ones?

Yep absolutely! Offhand, the easiest way may be to use BandwidthSink to expose more info, will work on this as a followup to unblock this PR, thanks!


Typo in README setup

I'm new to this so mayhaps I misunderstand, but is this a typo?

Add the following to the botton of the file. The run the source command to load into current shell instance.
export PATH="$HOME/lfc_0.3.0/bin/lfc:$PATH"
source ~/.bashrc

Replace the above $HOME/lfc_0.3.0 wiht the actual path to the version you downloaded.

At least on macOS, the command should be:
export PATH="$HOME/lfc_0.3.0/bin:$PATH"
source ~/.bashrc

In addition, might be worth pointing out that the macOS Terminal uses .bash_profile rather than .bashrc, unlike other Unix-likes.
(Sorry, not sure if it's normal opening issues for minor things lol.)

Thanks! You're right, this is a typo. I'll fix it right away and point out that macOS uses .bash_profile.

Fixed!


refactor(api-client): use route names

I wanted to start the week with a clean up task: Currently, we‘re using route strings everywhere in the client.
This PR suggests to move to route objects, which decouples the path of the route (e.g. /settings) from the actual usage (e.g. { name: 'settings' }) and improves the error handling when something goes wrong (e.g. can’t find route name, missing path property …).
Ideally, we’d go a step further and use TypeScript to make the usage type-safe. But that’s for another PR.
I’ve tried to test every code that I touched to make sure it still works, would be great if someone else could click through the whole client, though.
A few related changes:

fallbackMissingParams was never hit, I removed it
routes are in a separate routes.ts now
I’ve renamed a few of the active workspace helpers (saveWorkspace → saveActiveWorkspace)

great great addition

I was just going to say, I prefer type safe routes myself but this can be a stop-gap. Lets see what @geoffgscott says.
edit: vue recommends unplugin-router for typesafe routes

Yess, we definitely need typed routes as mentioned in the PR description. 🤘 Tiny steps towards big goals.

This looks good to me. Decoupling the router parameters from the actual path is also the first step to allowing users to pass a router into the integration and allow different pathing approaches.
@amritk Agree on typesafe routes. I would suggest we just write our own push function that accepts an enum (object const probably) for the routes and a set of parameters as needed.


Crash when trying to change the sortModel before setting the datasource (infinite scroll mode)

This fix : https://github.com/ceolter/ag-grid/commit/42b60a3477b6e097042ee7f8a7d7edf79737bfc3
Needs to be applied to virtualPageRowController as well.
Reproduced here : http://plnkr.co/edit/uo1O4GjDbZyFl1YqLPTw?p=preview
(see line 72 in index.html)
TypeError: Cannot read property 'rowCount' of undefined

Hi,
The source-code in github is fixed. But the distributed code (both release, 4.0.4 and 4.0.5) the fix is missing .

@gerardqueralt that's probably because i haven't done a release. this is not a critical bug reported by any paying clients, so will be in the next natural release.

@ceolter I was confused after read the release notes of version 4.0.4:

setting sort before datasource on pagination caused error".

Then, I thought you include this fix in the release 4.0.4.

there are two things that use datasource and had this bug:
pagination (with paging panel) -> got it fixed
virtual pagination -> not fixed


Default Path Incorrect

When defining the path to a request body from the Editor Pane, the default folder that opens is not correct (not pointing to defined folder, instead opening Documents).

Fixed


chore(main): release 2.117.1

:robot: I have created a release beep boop
2.117.1 (2024-05-30)
Bug Fixes

Validate feature values before saving (#4043) (fef9f8f)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/Flagsmith/flagsmith/releases/tag/v2.117.1 :sunflower:


Priorty for selected entry

When indexing a large library - and the user focuses an entry, there is a "Please wait" message shown (https://github.com/InAnYan/jabref/pull/48). If I am at the end of a large library, this takes long. Thus, it would be nice if the PDFs of the current entry would "jump" the queue.
More background on priority queue (and how not to visualize it): https://www.linkedin.com/feed/update/urn:li:activity:7206148259189301248?updateEntityUrn=urn%3Ali%3Afs_feedUpdate%3A(V2%2Curn%3Ali%3Aactivity%3A7206148259189301248)

DevCall: Looks good. Please be aware of concurrency. I think, a synchronized block is needed for both reading and writing to the stack.
Pseudo code:
if element in stack
remove
add on top
(these are three operations, which all should executed in one block and not interrupted)

The solution I proposed in stack seems not to work(

The solution I proposed in stack seems not to work(

More details please. 😅 Is there a MWE to check? Maybe a branch to try out?

Embedding generation is now on demand


Updates github-config

Summary

It includes the same changes as  PR https://github.com/paketo-community/ubi-base-stack/pull/61, except it does not remove the options.json file.
Use Cases

Checklist

[x] I have viewed, signed, and submitted the Contributor License Agreement.
[ ] I have linked issue(s) that this PR should close using keywords or the Github UI (See docs)
[x] I have added an integration test, if necessary.
[x] I have reviewed the styleguide for guidance on my code quality.
[x] I'm happy with the commit history on this PR (I have rebased/squashed as needed).

@mhdawson Can you review this PR? If everything looks good, can you close this one https://github.com/paketo-community/ubi-base-stack/pull/61, as they are the same?


GlyphRun support

What does the pull request do?
This is the second part of a series of PRs that lead to a new text rendering environment. This adds GlyphRun support. GlyphRun is a low level components that lets you work with glyphs etc.
What is the current behavior?
Not supported.
What is the updated/expected behavior with this PR?
It is possible to render runs of glyphs on the screen.
How was the solution implemented (if it's not obvious)?
Checklist

[x] Added unit tests (if possible)?
[x] Added XML documentation to any related classes?
[ ] Consider submitting a PR to https://github.com/AvaloniaUI/Avaloniaui.net with user documentation

Depends on #3234

Hmm. Calling InvalidateVisual on the GlyphRun page isn't redrawing anything. Have to find out what is going wrong.


Comma instead of underscore

Have you considered using a comma instead of an underscore for the tacit vector notation?
Writing 1,2,3,4 strikes me as much more intuitive than 1_2_3_4.
Of course that would require over getting a new symbol, but that doesn’t seem a bad trade off.

I prefer _ because it matches the boxy shape of arrays and also conveys a stronger sense of grouping.
Compare these:
[1_2_3 4_5_6]
[1,2,3 4,5,6]

The first one has straight lines on 3 sides!
This sense of grouping is also important when using it in an argument:
↯3_4⇡12
↯3,4⇡12

I think the second one kind of looks like the comma is separating the terms, which it is not.


Haxchi_Installer fails to install on older version of Brain Age

Under the section Installing Haxchi, please include a note that says "make sure your copy of brain age is up to date".
This is from the forum post troubleshooting notes:

The icons are good but the NDS game (Brain Age) starts instead
This is because you have an old version of the NDS game that doesnt work, try deleting it and download it again from eShop.

It was a huge waste of time for me because it took forever to install the custom image/icon/sounds for the channel icon.

Sorry about that. I'll make a note of this and close this issue when I do.

It was only a huge waste of time under the old Python installer script.
With haxchi 2 installer it should be pretty quick, but at least it won't confuse the user when the normal game starts up.

Alright, the note has been added.


Jump from 1st VC to 4th VC

Hi @szk-atmosphere
Is it possible to jump from 1 to 4 after i jump from 4-1??

Hi @hardikamal
It is not support to jump forward.


Light Group Support

Will light groups be supported  or is this an MI home app feature and not replicated in the hub ?
Grouping lights in HA give "popcorn" effect changing each light in the group one at at time , rather than together

@lonebaggie there are many of light groups types. As far I know true BLE-mesh groups work on hub (XG3). Cloud light group via Yeeligth / Mijia / Xiaomi ecosystem servers. BLE-mesh light groups will be supported in the feature when @AlexxIT add support to it! :)

Mesh groups supported in latest version


Update Readme documentaion - build, installation, packaged

beans version: 0.9
Python version: 0.1.2
Operating System: Linux, Mac OS-X

Description
Update documentation - README.rst for both beans and settle
include

build instructions
installation/local
publishing on PyPI

What I Did

done; build and upload/publishing on PyPI moved from README.rst to BUILD.rst fro both beans and pysettle


Support for new iOS 10 Camera Characteristics (RTSP)

Hello,
I'm trying to get my foscam camera Foscam C1 / Foscam C2 camera to work with HomeKit iOS 10 beta as RTSP camera using the new ServiceTypes and Characteristics in iOS 10.
Please refer to the New HomeKitTyoes.js file here:
https://github.com/pdlove/HAP-NodeJS/blob/master/lib/gen/HomeKitTypes.js
/**

Service "Camera Control"
*/

Service.CameraControl = function(displayName, subtype) {
Service.call(this, displayName, '00000111-0000-1000-8000-0026BB765291', subtype);
// Required Characteristics
this.addCharacteristic(Characteristic.On);
// Optional Characteristics
this.addOptionalCharacteristic(Characteristic.CurrentHorizontalTiltAngle);
this.addOptionalCharacteristic(Characteristic.CurrentVerticalTiltAngle);
this.addOptionalCharacteristic(Characteristic.TargetHorizontalTiltAngle);
this.addOptionalCharacteristic(Characteristic.TargetVerticalTiltAngle);
this.addOptionalCharacteristic(Characteristic.NightVision);
this.addOptionalCharacteristic(Characteristic.OpticalZoom);
this.addOptionalCharacteristic(Characteristic.DigitalZoom);
this.addOptionalCharacteristic(Characteristic.ImageRotation);
this.addOptionalCharacteristic(Characteristic.ImageMirroring);
this.addOptionalCharacteristic(Characteristic.Name);
};
inherits(Service.CameraControl, Service);
/**

Service "Camera RTP Stream Management"
*/

Service.CameraRTPStreamManagement = function(displayName, subtype) {
Service.call(this, displayName, '00000110-0000-1000-8000-0026BB765291', subtype);
// Required Characteristics
this.addCharacteristic(Characteristic.SupportedVideoStreamConfiguration);
this.addCharacteristic(Characteristic.SupportedAudioStreamConfiguration);
this.addCharacteristic(Characteristic.SupportedRTPConfiguration);
this.addCharacteristic(Characteristic.SelectedStreamConfiguration);
this.addCharacteristic(Characteristic.StreamingStatus);
this.addCharacteristic(Characteristic.SetupEndpoints);
// Optional Characteristics
this.addOptionalCharacteristic(Characteristic.Name);
};
inherits(Service.CameraRTPStreamManagement, Service);

I believe the new characteristics above will add RTSP streams directly into HomeKit and the new iOS 10 home app. That would make this plugin complete.
I'm hoping someone has the time to add these characteristics to the plugin. Shouldn't be too difficult for someone familiar with the Foscam API 🙂

I will definitely take a look at it after iOS 10 is officially released. I still don't feel comfortable installing the beta on my daily driver =]

@luisiam
That's fair enough. You will have to wait until KhaosT updates HAP-NodeJS with the new Services and Characteristics as well.
A few homebridge developers are already trying to figure out the new Camera functionalities in HomeKit. @pdlove is probably the best person who can give you details about how it all works, although we are running into some hiccups. No one knows what the TLV8 format the Camera characteristics have to be in, or what the TLV8 is supposed to look like 🙁

@leoneleone I was out earlier this week and was able to make significant progress on getting the information together. I've got to do homey stuff tonight and tomorrow since I was out of town, but I should be able to post the information I have so far about the process in a few days.

@pdlove
That would be great man.
Thanks for all the work 🙂 👍🏼

@pdlove
Any progress?
Please post the new info you have if it is useful.

KhaosT has published a plugin which enable RTSP. We can use that together with this plugin for now.
https://github.com/KhaosT/homebridge-camera-ffmpeg
Currently, I am not able to add that into the current plugin since IP camera cannot be bridged due to protocol limitation. A separate plugin is probably needed.
https://github.com/KhaosT/HAP-NodeJS/wiki/IP-Camera

planetbeing also wrote a plugin for foscam live streaming
https://github.com/planetbeing/homebridge-foscam-ng

Since RSTP plugin cannot be bridged. I am working on a new plugin with extra features. Give it a try.
https://github.com/luisiam/homebridge-foscamcamera
You will have to add the accessory in the home app separately. PIN will be the same as the homebridge PIN.


Give Dagster SA access to temp bucket

Why
Temp bucket access is required to run Dataflow jobs that access the temp bucket using Dagster.
This PR

(hca plan is failing because i locked the state while applying this change manually)


kuberneet me

This worked! The bot is alive in Slack and reachable at http://<IP_ADDRESS>/ .
We'll need to shore  up the hostname and see if we can get the mp3 server running on the mini.

https://giphy.com/gifs/interestinggifs-container-OP7kIfBat5sGY

I have dns access. I could set an A record if you give me a hostname you want.

What are you talking about for the mp3 server? Is that juts to get rid of the Dropbox links?

@jabrown85 I think the MP3 server calls into a web socket on hubot to register for "play me on sonos" events.

Fixed the Redis and Heroku notes!


Add platform iammeter

Description:
Add platform iammeter
Related issue (if applicable): fixes #
Pull request with documentation for home-assistant.io (if applicable): home-assistant/home-assistant.io#11468
Example entry for configuration.yaml (if applicable):
sensor:
  - platform: iammeter
    host: IP_ADDRESS_OF_HOST
    name: DEVICE_NAME

Checklist:

[x] The code change is tested and works locally.
[ ] Local tests pass with tox. Your PR cannot be merged unless tests pass
[x] There is no commented out code in this PR.
[x] I have followed the development checklist

If user exposed functionality or configuration variables are added/changed:

[x] Documentation added/updated in home-assistant.io

If the code communicates with devices, web services, or third-party tools:

[x] The manifest file has all fields filled out correctly. Update and include derived files by running python3 -m script.hassfest.
[x] New or updated dependencies have been added to requirements_all.txt by running python3 -m script.gen_requirements_all.
[x] Untested files have been added to .coveragerc.

If the code does not interact with devices:

[ ] Tests have been added to verify that the new code works.

what does 'codecov/patch' check fail,how can I fix this ?


License issue

Hi,
I've seen that  js-spark-md5 is based on work by Joseph Myers. Is it possible to know the original license for the Joseph Myers' code?
Thank you,
Alex

Here's the algorithm: http://www.myersdaily.org/joseph/javascript/md5-text.html
There's no mention to any license though.
Perhaps you could try to get in touch with him?

It's true, there is no license mentioned. Maybe the code is under GPL, or maybe the author would ask for money. I found this email address: Joseph Myers<EMAIL_ADDRESS>You could write him, if you want to clarify the licensing terms.

I've sent him an email, lets wait.

I've got the following reply:
André,

Yes, that is fine. I have placed my code into the public domain. I appreciate so much your letting me know that you are using it for this important project! Best wishes to you!

Sincerely,
Dr. Joseph Myers


Local dependencies are not accessible.

Attempting to use a local crate not in the project folder fails.
e.g.
[dependency.something]
path = "../something"

A simple workaround is pushing a repo to github or whatever hosting service and redirecting Cargo to look for the crate there, but regardless.

Duplicate of #388


Error resolving refs on twitter API

I tried resolving references on the twitter API YAML file:
https://github.com/swagger-api/swagger-editor/blob/master/app/spec-files/twitter.yaml
$json-refs resolve twitter.yaml --force

  error: duplicated mapping key at line 236, column 23:
              type: string
                          ^
The twitter API seems to contain some circular references in the model definitions - could that be causing the error?

After further review, it seems the example twitter.yaml you're attempting to use is invalid as it's got duplicate type keys.  I realize this is valid YAML but a number of YAML libraries out there will alert you when this situation arises and it seems that the one we use does this:

https://github.com/swagger-api/swagger-editor/blob/master/app/spec-files/twitter.yaml#L232
https://github.com/swagger-api/swagger-editor/blob/master/app/spec-files/twitter.yaml#L236

I personally like this as it's usually a mistake, like this one, that you have duplicate keys.  There isn't much I can do for you and there should be an issue or PR brought up for https://github.com/swagger-api/swagger-editor

Thanks. I'll raise one on swagger-editor.

No sweat!  If I can help with anything else, don't hesitate to reach out.  :)

Fixed that one but then hit the next error:
chris@chriss-mbp-2:~/temp|⇒  json-refs resolve twitter.yaml

  error: duplicated mapping key at line 338, column 3:
      /statuses/oembed:
      ^
What's going on there?

I've found that js-yaml will report that the problematic line is X but it's really the construct prior to line X.  The previous construct is the /statuses/retweets/{id} path and it's defined in two places, as js-yaml says:

https://github.com/swagger-api/swagger-editor/blob/master/app/spec-files/twitter.yaml#L179
https://github.com/swagger-api/swagger-editor/blob/master/app/spec-files/twitter.yaml#L315

So this is the same issue originally reported but it seems this example has more than one place where there are duplicate keys.

Good spot, but even after resolving that and removing the duplicate operation it fails due to the circular references in the model definitions.
Is there any way that json-refs could handle them more gracefully, and either ignore, or only recurse down x levels or something?

swagger-editor uses an old version of json-refs.  As soon as they update, this should be fixed.

I wasn't using it in swagger editor - but standalone npm install on my local machine.
(v2.1.3)

What's the problem you're seeing?  The way we handle this is we leave the circular reference in place and let the tooling handle it.  We have an open issue to make this configurable but he safest thing is to just not touch circular refences.  What do you want to happen?

Leaving them in place would be fine.
Currently I get no output at all, just an error:
chris@Chriss-MBP-2:~/temp|⇒  json-refs resolve twitter.yaml
error: Converting circular structure to JSON

twitter.yaml.txt
(I renamed it to be .txt to allow upload)

We already handle circular references by just leaving them as-is so this is surprising.  Let me see if I can find what is up.

Hiya just wondering if you'd worked out what was going on?

I got side tracked with my day job.  I'll look into it now.

I got side tracked with my day job.  I'll look into it now.

I've opened a new issue to track this.

OK thanks. You can close this one then if you only want to track it in one place.

It's been closed for a while.  ;)

lol so it has.


Fix addBalacksCoveStage to look at quest for info

Apparently Balack's Cove was refactored to use a quest instead of the old viewing_atts for game state. Simply pull the info from there instead.

The changes are minor, the lint failure is related to permissions in the repo.


Revert "Update meta.yaml"

Reverts conda-forge/sidpy-feedstock#16

Hi! This is the friendly automated conda-forge-webservice.
It appears you are making a pull request from a branch in your feedstock and not a fork. This procedure will generate a separate build for each push to the branch and is thus not allowed. See our documentation for more details.
Please close this pull request and remake it from a fork of this feedstock.
Have a great day!

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.


error "x.cdr.to_array is not a function" for "(1 . 2)"

When I run a ill-formed expression
(1 . 2)

(not '(1 . 2) , which is correct syntax) on "Try it now" on the web page,
I get a error
x.cdr.to_array is not a function
[USER]: http://www.biwascheme.org/release/biwascheme.js: x.cdr.to_array is not a function

in red characters and the interperter stops.
I think that it is caused on 557th line of src/system/interperter.js , which is
        var expanded_cdr = BiwaScheme.array_to_list(
                             _.map(x.cdr.to_array(),
                                   function(item){ return expand(item, flag); }));

and that you should check if x.cdr.to_array is available.

@mikecat sorry for being late. I just confirmed your patch.
Now BiwaScheme throws error for expressions like (1 . 2). Thanks for your contribution.


MRE realtime lighting does not work properly in both eyes when using SPI

This is probably Single Pass Instance related.

Which client does this refer to? This should be fixed in Altspace, though I don't think the shader changes have made it to the test bed yet.

I take it back, this was added incidentally in the recent Animations PR: https://github.com/microsoft/mixed-reality-extension-unity/commit/fbf5a161153434b46099222f8796d3f21958a508#diff-6c280c90efbe6050f4e0f758cfa9f64f
I don't have the means to test this, but I noticed this shader isn't exactly the same as the Altspace one, there's an extra UNITY_SETUP_STEREO_EYE_INDEX_POST_VERTEX in there. Try removing it and seeing if that fixes the issue.


Histories stored in wrong table

Reported by email but creating an issue to remember it.  Histories are being stored in the nvd_histories table instead of the right cve_histories or cve5_histories model table.  So while histories appear to be working for new entries, histories from before 0.1.0 are not found/shown.
Note once fixed histories will need to be moved/merged out of the nvd_histories table.

While this got fixed in code, a mongo script is needed to go through every _history collection and move the diff info and comments to the right collection to completely fix this.


PR Template

Need a good PR template, open to suggestions.

Suggestion from one of my repos: https://github.com/CommunityFocus/cf-frontend/blob/main/.github/pull_request_template.md

Thank you!


Support for custom upload url

Hi,
I have checked the source of the plugin and noticed that there is no option to provide a custom upload url. Plugin always assumes it has to upload builds on https://rink.hockeyapp.net/.
If not available yet, could the support for providing custom hockey app upload url be implemented in some of the next releases?
Thanks in advance.
Best regards,
Tsvetan

Hi,
so you run HockeyApp on your own server? (HockeyKit?)
Is the API the same?

Hi,
I have to upload my apps to a white labeled version of Hockey App (Hockey
Kit). The API I assume is the same, since I use HockeyAppSDK-3.0.5.jar for
the integration of check for updates and  crash monitoring.
Best regards,
Tsvetan
On Sat, Mar 21, 2015, 11:15 AM Felix Schulze<EMAIL_ADDRESS>wrote:

Hi,
so you run HockeyApp on your own server? (HockeyKit?)
Is the API the same?
—
Reply to this email directly or view it on GitHub
https://github.com/x2on/gradle-hockeyapp-plugin/issues/53#issuecomment-84300243
.

Great. Thanks for the support. I will try it in the next days.
Best regards,
Tsvetan
Felix Schulze<EMAIL_ADDRESS>schrieb am Mo., 23. März 2015
15:45:

Closed #53 https://github.com/x2on/gradle-hockeyapp-plugin/issues/53
via e05c321
https://github.com/x2on/gradle-hockeyapp-plugin/commit/e05c321548042641d05c82dc4111d215c41e0512
.
—
Reply to this email directly or view it on GitHub
https://github.com/x2on/gradle-hockeyapp-plugin/issues/53#event-262393871
.


Documentation

Getting started

useProvide
useSubscribe
store keyword
provide keyword
Server Side Rendering
Concepts

action
store
dependencies

Advanced topic

modify
override, assign

I think needed to write about product.
What is this?, Why I need to use It?
Short story about product, same as promo.
(May be comparison with redux, mobx.)

Add "Introduction" section.


Add web Scraper for birthday images(gifs)

Current:
No web scrapper
Expect:
Have a web scraper where it scrapes a website for gifs and store it in a database
Reason;
More data.

Sounds like a good idea...


Expose fmf ID of tests in results

To help identify each test, include their fmf IDs in the final results.yaml.

Fedora 38 failure is irrelevant, thus everything green.


Remove copy() method from EntityManager

The method EntityManager::copy() is a pretty old adition to Doctrine and never got any functionality, which is why I created this PR to remove this method from the EntityManager.
Because I had to remove this method from EntityManagerInterface too, I consider this a BC break. Even though the original EntityManager never got any functionality for copy, a user may have created a custom entity manager for a project, that uses a custom implementation of copy.
Questions:

Do we need tests for the removal of a method?
Do we need a deprecation PR as an in between step?

FYI, this PR should target develop as it's the development branch for 3.0.

Do we need tests for the removal of a method?

IMO, no.

Do we need a deprecation PR as an in between step?

Yes. Deprecation needs to happen in master.

@alcaeus Should I close this PR and recreate it with a branch from develop for the copy-removal?

You can rebase this branch on top of develop and change the base of the pull request:

@guilhermeblanco was rebasing develop to sync with the latest changes in master, so I'd recommend to ensure that he's done with it before of merging this PR

The deprecation PR to master will follow.

The deprecation PR is done in #6803.

This will need a rebase now.

@SenseException Thanks. Let's handle deprecation for 2.x in #6803 now.


Feature Request:Add MS Account support

Just wanna synchronization settings

https://marketplace.visualstudio.com/items?itemName=Shan.code-settings-sync


Translate untranslated parts. "Pattern" "Distort" zh-TW and ja.

Translated the untranslated parts.
Please let me know what you think.

Thanks!


Not an issue, just a Thanks!

Thanks very much for posting this excellent repo. I was able to connect to my obscure tuya device through the cloud first try with your excellent README's and documentation. 👍 👍 👍

Thanks @johnno1962 !  This feedback is gold.  Thanks for taking the time to send it!
You may already know this, but one note on Tuya Cloud usage:  The free Tuya IoT (Trial) account allows a very limited number of Cloud API calls. Be careful with any automation that makes frequent calls. 😉

Thanks, I'll keep an eye out but it seems like I should squeak in under the allowance if it is monthly. Quite amazed that It all "just works".


Can't get project to run

I've tried cloning and following the instructions, or installing from npm and then following the instructions, but as soon as I start the Sass watch, I get this in style.css:
Syntax error: "h1, .h1", "h2, .h2", "h3, .h3" can't extend: invalid selector
        on line 34 of bower_components\scally\core\base\_headings.scss, in `@content'
        from line 39 of bower_components\scally\core\mixins\_target-headings.scss, in `headings'
        from line 33 of bower_components\scally\core\base\_headings.scss
        from line 154 of style.scss

@stowball I just got it running with the npm & Bower install options fine. I think you might have missed the manual part of setting up a master style.scss: https://github.com/chris-pearce/scally#setting-up-your-master-stylesheet? Then making sure the Scally partial paths are correct in that stylesheet i.e. linking to either node_modules/scally or bower_components/scally. Here's my npm install:

If not let's go over it in person tomorrow :+1:.
The Scally setup is not as smooth as I'd like which is why I have this issue: https://github.com/chris-pearce/scally/issues/8.

@stowball still an issue?

Nope. I just re-read the instructions and figured it out! Thanks


refactor: Clean up Invoke calls in dart_entry

This reduces the number of #define switches for this file.
I also think the TESTING + DART_PRECOMPILED_RUNTIME block was never actually compiled, so this fixes the type conversions in that case if it ever is compiled.
We did this upstream in Shorebird to make it easier to change the invoke syntax (to make the simulator dynamically switchable) but the clean-up seemed worth sending upstream too.

We've not actually landed this in our repo yet (the bots are still running), but I can update this when we do.


JVM Test framework

Added a test framework and the gradle support that sits behind it.
Added a dependency for tests on Stefan Birkner's system rules testing library.
Added an abstract test class allowing assertions on stdin and stdout conversations.

Great!! Thank you!

@pcholt  Intellij complains about your dependencies in your ConsoleTest.kt.  I had to disable the kotlin plugin for it to shutup.

@jnellis sorry about that, I'll look into it.


vram not released after unable to create image due to lack of vram

Description
everything worked fine until i created an image with a high configuration that my machine couldn't handle, of course the image wouldn't be able to create but then the vram wasn't freed.
Version
version: v1.5.1  •  python: 3.11.3  •  torch: 2.1.0.dev20230727+cu121  •  xformers: N/A  •  gradio: 3.32.0  •  checkpoint: ed989d673d
Steps to reproduce
created an image with a high configuration that my machine couldn't handle, usually create very high resolution images
Snack, code example, screenshot, or link to a repository
full vram

soryr skia wrong repository


[editor]: Support _images in preview

Please add support for ._images files to the editor preview.
Generated by adamraichu.zip-viewer

I was unable to find any mention of the ._images file extension on the web. In what context did you find this file? I am unlikely to update the extension with a one-off file type.


iTAG connection

Please check all of the platforms you are having the issue on (if platform is not listed, it is not supported)

[*] iOS
[*] Android

Version of OS(s) listed above with issue
Android 4+ & iOS 9+
Version of Library
3.1.1
Expected Behaviour
Receive byte from iTAG when I push the butom
Problem
Hi, I know here isn't the site to post it. But I don't know where I can ask it.
I have a Bluetooth LE iTAG with a button. This button send a list of bytes whe it clicked.
My problem becomes when I try to use your plugin  to do it.
Who is the correct way to :

Detect the device.
Connect to device.
Wait to receive data.
If I receive data make something.

Im so sorry to post that in issues, but I really need to solve my problem.
Thanks a lot.

You should probably read about Bluetooth LE before you get too far into your project.  The way of doing things really depend on your device.  Points 3 and 4 are missing points like discovering services/characteristics.  If a button is being pressed to send data, you are likely hooking up to characteristic notifications.
All of the necessary functions should be available and documented within this library to assist with your project.
Best of luck.


UofT-DSI | Applying Statistical Concepts - Assignment 2

What changes are you trying to make? (e.g. Adding or removing code, refactoring existing code, adding reports)
Submitting assignment 2.
What did you learn from the changes you have made?
Positive and negative correlation, linear regression, train & test split, and root mean squared error (rmse).
Was there another approach you were thinking about making? If so, what approach(es) were you thinking of?
For some of questions, I have suggest an alternative solution in a comment
Were there any challenges? If so, what issue(s) did you face? How did you overcome it?
No
How were these changes tested?
By running the codes
A reference to a related issue in your repository (if applicable)
Checklist

[x] I can confirm that my changes are working as intended

A2: Complete
Q1 part (iv) we have 8 predictors
Q2 part (ii) the plotted line is the line of best fit in regression. Line of best fit looks to minimize the squared distance between the observed value and the fitted value, using ordinary least squares method
Otherwise great work


[Feature] Edit/Delete a Message

Description

To edit or delete a message, we must use the API, it would be great to use a "trash" button :wastebasket: to delete or a "pen" :pen: button to edit a message with the UI (User Interface).

@Divlo, Is it necessary to ask the user if he's really sure that he wants to delete messages in a confirmation popup? Except of course for changing messages, it would annoying to ask every single time. 👀

@Walidoux No, not necessarily, feel free to implement this feature as you want.

:tada: This issue has been resolved in version 1.2.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Failed to build with dependecncy on reopen:1.0.0 with "signals" feature

Adding a dependency on reopen in my Cargo.toml like so:
reopen = { version = "1.0", features = ["signals"] }

Getting build failure:
$ cargo --version
cargo 1.44.1 (88ba85757 2020-06-11)
$ cargo check
error[E0433]: failed to resolve: use of undeclared type or module `libc`
  --> ...<local cache dir>../reopen-1.0.0/src/signals.rs:31:43
   |
31 |     pub fn register_signal(&self, signal: libc::c_int) -> Result<SigId, Error> {
   |                                           ^^^^ use of undeclared type or module `libc`

error: aborting due to previous error

For more information about this error, try `rustc --explain E0433`.
error: could not compile `reopen`.

To learn more, run the command again with --verbose.
warning: build failed, waiting for other jobs to finish...
error: build failed

I've tried playing around with this a bit locally, but I can't see why it can't find libc amongst the dependencies.

Thanks for spotting it.
I think I see where the problem comes from. I'll verify the theory and release a fix somewhere during today.
In the meantime, can you try a workaround in the form of features = ["signals", "libc"]?

Released as v1.0.1. Can you confirm it fixes it for you & close, please?

Confirmed workaround on 1.0.0 of features = ["signals", "libc"].
Confirmed fix on 1.0.1.
Thanks!


[Enhancement][Cherry-pick] Force set output column minimum to 1 (#12067)

What type of PR is this：

[ ] BugFix
[ ] Feature
[ ] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Which issues of this PR fixes ：

Fixes #
Problem Summary(Required) ：

Checklist:

[ ] I have added test cases for my bug fix or my new feature
[ ] This pr will affect users' behaviors
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

Bugfix cherry-pick branch check:

[ ] I have checked the version labels which the pr will be auto backported to target branch

[ ] 2.5
[ ] 2.4
[ ] 2.3
[ ] 2.2

run starrocks_fe_unittest


Moving run functionality to main.py file

Oh that is indeed a good idea. I am merging this in a new branch and I'll merge it into master when I release a new version.
Thanks for your work :)


fix: consistently use a user-provided logger

Client initializer currently accepts a logger as an optional argument. That logger is passed to the underlying paho.mqtt library and then used for logging there. However, there also exists MQTT_LOGGER, which is used internally by asyncio-mqtt. Without looking at the source code it is easy to forget that in order to enable logging both in paho.mqtt and in asyncio-mqtt it is not enough to pass a logger as an argument to Client initializer.
This PR makes asyncio-mqtt use a user-provided logger instead of MQTT_LOGGER for internal logging, so that if user decides to pass a logger to Client constructor, that logger will be used both in paho.mqtt and asyncio-mqtt.

LGTM. :+1:
Thank you for your contribution to asyncio-mqtt. :)
I apologize for the unnecessarily long PR review time on my part. I completely missed this PR (must have cleared my inbox a bit too fast :sweat_smile: ).

That's not a problem at all. Thank you for the project :)


support overriding HTTP_MAX_HEADER_SIZE at runtime

This commit adds http_parser_set_max_header_size(), which can override the compile time HTTP_MAX_HEADER_SIZE value.

Is https://ci.nodejs.org/view/All/job/http-parser-test/ the correct CI job? I tried to run it (https://ci.nodejs.org/view/All/job/http-parser-test/26/) with no luck.

It would be good to have a unit test for this here.

A regression test would be nice but HTTP_MAX_HEADER_SIZE didn't have one either.
@cjihrig There's no CI job for http-parser.


deprecation warning in couch playbook

TASK [couchdb : create '_users' database for singleton mode] *********************************************************************************************************************
Thursday 10 May 2018  11:23:40 -0400 (0:00:06.331)       0:00:10.961 **********
[DEPRECATION WARNING]: Using tests as filters is deprecated. Instead of using `result|version_compare` instead use `result is version_compare`. This feature will be removed in
version 2.9. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg.

@rabbah Have raised PR for this: https://github.com/apache/incubator-openwhisk/pull/4063


WebCam bug

So, about the function '..webcam photo''
If I use it on my laptop, the picture I took appears. But for someone else, also with a laptop, the normal camera works if he opens the "camera" application, but if I use the command, it appears black.
Is there any solution, maybe something needs to be activated or deactivated in person in the laptop?

This is an issue with the laptop's webcam being slow to initialize. We've increased the capture time for the next release.


feat: Redshift UNLOAD - add parallel parameter

Feature or Bugfix

Feature

Relates

#2505

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

AWS CodeBuild CI Report

CodeBuild project: GitHubCodeBuild8756EF16-4rfo0GHQ0u9a
Commit ID: 2e1d68915a498d8f69be5e2f17216bf18e6449ba
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository

AWS CodeBuild CI Report

CodeBuild project: GitHubDistributedCodeBuild6-jWcl5DLmvupS
Commit ID: 2e1d68915a498d8f69be5e2f17216bf18e6449ba
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository


Remove references to NCQA

There are a number of locations throughout the code that refer to NCQA, or are using a pattern that is specific to an implementation requirement of NCQA products.  These should be removed and alternatives created.
This issue supercedes #97.

@ewoutkramer - PR #103 should complete this


Add ability to freeze objects

This code works for me however there are no tests or documentation so I am not going to create a pull request yet if at all (it depends on how much time I have).
class FreezeableFactory(factory.Factory):
    _freezed = None
    _should_freeze = False

    @classmethod
    def freeze(cls):
        cls._should_freeze = True

    @classmethod
    def unfreeze(cls):
        cls._should_freeze = False
        cls._freezed = None

    @classmethod
    def _build(cls, target_class, *args, **kwargs):
        if not cls._should_freeze:
            return target_class(*args, **kwargs)
        if not cls._freezed:
            cls._freezed = target_class(*args, **kwargs)

        return cls._freezed

    @classmethod
    def _create(cls, target_class, *args, **kwargs):
        if not cls._should_freeze:
            return target_class(*args, **kwargs)
        if not cls._freezed:
            cls._freezed = target_class(*args, **kwargs)

        return cls._freezed

This allows you to ensure sub factories will return the same object. It is useful in situations where you need to create multiple objects with the same foreign key.
AutoFixture which is the same as factory_boy but for C# has exactly this useful feature.

Hi,
I'm unsure about this feature; I'd rather use django_get_or_create and friends instead.
Another option would be to have freeze be a context manger:
with MyFactory.freeze():
    SomeDependantFactory.create_batch(size=40)

However, this can easily be handled through SomeDependantFactory.create_batch(40, parent=MyObject).

I've been very happy just using parent=MyObject in my projects and personally don't see the need to add explicit freezing.


Apply a profile to an existing EKS Cluster

As cluster admin I would like to be able to apply profiles to my existing clusters. This makes Arlon significantly easier for me to adopt as I don't need to start from scratch. It will also help standardize my environment very quickly.
As I'm using EKS Arlon will need to work with my Private VPC and Public VPC clusters. Many clusters we run have private API endpoints for security reasons.

Duplicate of #46

@bcle who is working on this?

This feature requirement may need investigation and work: "work with my Private VPC and Public VPC clusters". I'm going to rename the issue based on this if that's ok.

Moving to v0.11 since other urgent issues needed more bandwidth and this needs more thought.

All manifest deployment to workload clusters is done by ArgoCD. So if ArgoCD has access to the external cluster on private VPC, then it should work. So it depends on connectivity from the management cluster hosting ArgoCD to the workload clusters. This may be a documentation/configuration task. ~I am moving out of 0.10.0 for now as it may require more analysis~

@bcle I did some experimentation on reachability to a cluster on a private subnet of a VPC, so here is what I found:

since the cluster is on a private subnet it's publicly inaccessible
to connect to the cluster(say just to run kubectl commands), we need a jumphost(say ec2 instance) on the same VPC but having a public subnet(so that we can connect to the instance).
Since argocd too makes some kubernetes API calls to create a service account and related resources, I believe we can go for a similar setup(i.e. our management cluster shares the VPC, but is associated to public subnets).

I haven't confirmed the approach in the last point(it is a WIP), I'll post further findings here.

All manifest deployment to workload clusters is done by ArgoCD. So if ArgoCD has access to the external cluster on private VPC, then it should work. So it depends on connectivity from the management cluster hosting ArgoCD to the workload clusters. This may be a documentation/configuration task. ~I am moving out of 0.10.0 for now as it may require more analysis~

@bcle I did some experimentation on reachability to a cluster on a private subnet of a VPC, so here is what I found:

since the cluster is on a private subnet it's publicly inaccessible
to connect to the cluster(say just to run kubectl commands), we need a jumphost(say ec2 instance) on the same VPC but having a public subnet(so that we can connect to the instance).
Since argocd too makes some kubernetes API calls to create a service account and related resources, I believe we can go for a similar setup(i.e. our management cluster shares the VPC, but is associated to public subnets).

I haven't confirmed the approach in the last point(it is a WIP), I'll post further findings here.

Trying to create a cluster with a pre-configured public subnet on the VPC on which the cluster on private-only subnet exists fails via eksctl this will need further examination. The eksctl docs do state how to do this, but the cluster creation times out. The worker nodes never become ready, as a result some of the kube-system pods are in a perpetual Pending state.
I ran the reachability analysis on AWS console to verify that these public subnets that I am using are reachable from the Internet using the reachability analyser. This issue might need a SPIKE.

After some digging, I found this guide by rackspace which could help us define networking properly https://docs.rackspace.com/blog/creating-a-kubernetes-cluster-on-aws-eks/


feat: Support Ubuntu21 (#127)

If this Pull Request is work in progress, Add a prefix of “[WIP]” in the title.
What did you implement:
Support
Fixes #127
Type of change
Please delete options that are not relevant.

[x] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

How Has This Been Tested?
[vuls@vuls ~]$ goval-dictionary fetch-ubuntu 18 20 21
INFO[04-28|13:07:13] Fetching...                              URL=https://people.canonical.com/~ubuntu-security/oval/com.ubuntu.bionic.cve.oval.xml.bz2
INFO[04-28|13:07:13] Fetching...                              URL=https://people.canonical.com/~ubuntu-security/oval/com.ubuntu.focal.cve.oval.xml.bz2
INFO[04-28|13:07:13] Fetching...                              URL=https://people.canonical.com/~ubuntu-security/oval/com.ubuntu.hirsute.cve.oval.xml.bz2
INFO[04-28|13:07:17] Fetched...                               URL=https://people.canonical.com/~ubuntu-security/oval/com.ubuntu.hirsute.cve.oval.xml.bz2
INFO[04-28|13:07:17] Fetched...                               URL=https://people.canonical.com/~ubuntu-security/oval/com.ubuntu.focal.cve.oval.xml.bz2
INFO[04-28|13:07:17] Fetched...                               URL=https://people.canonical.com/~ubuntu-security/oval/com.ubuntu.bionic.cve.oval.xml.bz2
INFO[04-28|13:07:17] Finished fetching OVAL definitions
INFO[04-28|13:07:18] Fetched                                  URL=https://people.canonical.com/~ubuntu-security/oval/com.ubuntu.hirsute.cve.oval.xml.bz2 OVAL definitions=6509
INFO[04-28|13:07:18] Refreshing...                            Family=ubuntu Version=21
INFO[04-28|13:07:21] Finish                                   Updated=6509
INFO[04-28|13:07:22] Fetched                                  URL=https://people.canonical.com/~ubuntu-security/oval/com.ubuntu.focal.cve.oval.xml.bz2 OVAL definitions=7563
INFO[04-28|13:07:22] Refreshing...                            Family=ubuntu Version=20
INFO[04-28|13:07:29] Finish                                   Updated=7562
INFO[04-28|13:07:30] Fetched                                  URL=https://people.canonical.com/~ubuntu-security/oval/com.ubuntu.bionic.cve.oval.xml.bz2 OVAL definitions=12524
INFO[04-28|13:07:32] Refreshing...                            Family=ubuntu Version=18
INFO[04-28|13:07:43] Finish                                   Updated=12506
[vuls@vuls ~]$ goval-dictionary fetch-ubuntu 21
INFO[04-28|13:08:16] Fetching...                              URL=https://people.canonical.com/~ubuntu-security/oval/com.ubuntu.hirsute.cve.oval.xml.bz2
INFO[04-28|13:08:19] Fetched...                               URL=https://people.canonical.com/~ubuntu-security/oval/com.ubuntu.hirsute.cve.oval.xml.bz2
INFO[04-28|13:08:19] Finished fetching OVAL definitions
INFO[04-28|13:08:20] Fetched                                  URL=https://people.canonical.com/~ubuntu-security/oval/com.ubuntu.hirsute.cve.oval.xml.bz2 OVAL definitions=6509
INFO[04-28|13:08:20] Skip (Same Timestamp)                    Family=ubuntu Version=21
INFO[04-28|13:08:20] Finish                                   Updated=6509

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce.
Checklist:
You don't have to satisfy all of the following.

[x] Write tests
[x] Write documentation
[x] Check that there aren't other open pull requests for the same issue/feature
[x] Format your source code by make fmt
[ ] Pass the test by make test
[ ] Provide verification config / commands
[ ] Enable "Allow edits from maintainers" for this PR
[ ] Update the messages below

Is this ready for review?: NO
Reference

https://blog.github.com/2015-01-21-how-to-write-the-perfect-pull-request/

Many thanks :)


[TVMScript] More accurate hints for ImportError

Add the hint for missing "packaging" package

@Lunderberg Thank you for reviews!


How to divert traffic to some other program, please post some example or guidline?

  In response to the proxy description "diverting network traffic to other programs, such as UTM services, for deep SSL inspection" . Please post some example of a program listener, or specify the point in the code. Thank you

Program
^^
/
v    v
Client <-> SSLproxy <-> Server

Just for the record, there is a sample listening program under the extra/lp folder in the sources.

Just for the record, there is a sample listening program under the extra/lp folder in the sources.

Hello,
I cannot find the listening program under the extra/lp folder in the sources. Would you please give me some clues where I can find it now?

It's under tests/testproxy/lp since v0.8.0.


blog: How to Set Up SSO LDAP for Node-RED

Description

Related Issue(s)

Checklist

[ ] I have read the contribution guidelines
[ ] I have considered the performance impact of these changes
[ ] Suitable unit/system level tests have been added and they pass
[ ] Documentation has been updated

@gdziuba merging this PR


pref: improve marshal & encoding (sec: -39%, B: -70%, allocs: -91%)

benchstat:
goos: darwin
goarch: amd64
pkg: github.com/muktihari/fit/encoder
cpu: Intel(R) Core(TM) i5-5257U CPU @ 2.70GHz
         │    old.txt    │               new.txt                │
         │    sec/op     │    sec/op     vs base                │
Encode-4   152.86m ± 33%   92.27m ± 26%  -39.64% (p=0.001 n=10)

         │    old.txt    │               new.txt                │
         │     B/op      │     B/op      vs base                │
Encode-4   10.301Mi ± 0%   3.074Mi ± 0%  -70.16% (p=0.000 n=10)

         │   old.txt    │               new.txt               │
         │  allocs/op   │  allocs/op   vs base                │
Encode-4   1200.1k ± 0%   100.0k ± 0%  -91.66% (p=0.000 n=10)

Codecov Report
Attention: 6 lines in your changes are missing coverage. Please review.

Comparison is base (77d9f23) 100.00% compared to head (5d09271) 99.80%.

Files
Patch %
Lines

proto/marshaler.go
91.04%
4 Missing and 2 partials :warning:

Additional details and impacted files
@@             Coverage Diff             @@
##            master      #63      +/-   ##
===========================================
- Coverage   100.00%   99.80%   -0.20%
===========================================
  Files           25       25
  Lines         2962     3009      +47
===========================================
+ Hits          2962     3003      +41
- Misses           0        4       +4
- Partials         0        2       +2

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Mainnet vs Mainet

There is a naming confusion in the readme or into the script between "mainnet" and "mainet":
https://github.com/deficollective/permission-scanner?tab=readme-ov-file#supported-chains
->
"mainnet:": (".etherscan.io", "etherscan.io")
While in the rpc_url is looking after "mainet"
https://github.com/deficollective/permission-scanner/blob/main/src/get_rpc_url.py#L5
And
the readme has
https://github.com/deficollective/permission-scanner/blob/main/.env.example#L5C46-L6C1
MAINNETRPC instead of
MAINNET_RPC
I would advise to uniformizing with the naming.
I can open a PR if you want!

same issue encountered here, it would be great to fix these 2 naming discrepancies for better onboarding with the tool


WIP: feat: adds coverage

adding coverage to the repo

@bruno-brant May you please rebase with the master branch so we can merge it? It's approved anyways.

@guilhermeluizsp feito


Fix underflow bug on linux

fixes tomaka/rodio#67

Does it really fix the problem? The change seems totally random.

It definitely does. Let me elaborate a bit.
Before, when the underflow occured, get_pending_samples returned self.buffer_len.
This in turn caused this line to always return false, which was why rodio stopped writing to the output. This in turn means that new samples were never written to the output.

Ok, that seems reasonable.
Thanks!


(adrian) add description

@adrianbenavides please merge this to develop

I don't have permission to merge it. Maybe someone from the reviewers group should do it?

added in another commit.


Understanding the fine-tuning process for MusicGen-Melody

Hi,
I am interested in fine-tuning the melody model over my own dataset.
Could you please explain the steps I need to follow to train the model? I am learning about the cache generation parameters and the training process using the generated cache, but I did not achieve the expected output. I would appreciate it if you could briefly outline the steps that needs to be followed.
Thank you for your time!

Hey!
I figured out all the mechanisms behind cache generation and fine-tuning by deep diving into code/paper. Thanks!

Hey!
I figured out all the mechanisms behind cache generation and fine-tuning by deep diving into code/paper. Thanks!


With unittest Enabled: No tests ran, please check the configuration settings for the tests.

Environment data

VS Code version:  Code 1.27.2 (f46c4c469d6e6d8c46f268d1553c5dc4b475840f, 2018-09-12T16:17:45.060Z)
Extension version (available under the Extensions sidebar): 2018.8.0
OS and version: Windows_NT x64 10.0.16299
Python version (& distribution if applicable, e.g. Anaconda): Python 3.5
Type of virtual environment used (N/A | venv | virtualenv | conda | ...): N/A

I enabled Unit tests for my Python project using these Microsoft instructions: https://code.visualstudio.com/docs/python/unit-testing I'm using unittest and have explicitly disabled PyTest and Nose.
Actual behavior
Even though tests are passing, there is the Warning "No tests ran, please check the configuration settings for the tests.":

Expected  behavior
Tests to execute, no Warning, status to appear in the appropriate bar:

(I know it says Anaconda here, I was trying other stuff to debug this, but I'm using Vanilla python distro)
Steps to reproduce:

This is tricky. I've disabled all extensions except vscode-python. The first time you run tests (select Run All Unit Tests) it seems to work.
If you then open your test file and run the test cases individually by cliking in the editor:

then "after a while" (sorry... try maybe 10 times?) of doing that, you will start to see the Warning appear.
From that point on, no matter how many tests you execute, or how you execute them, the output will show that they ran but the bar will say otherwise.

Logs
Output for Python in the Output panel (View→Output, change the drop-down the upper-right of the Output panel to Python)
Blank

Output from Console under the Developer Tools panel (toggle Developer Tools on under Help)
console.ts:136 [Extension Host] Python Extension: Error: read ECONNRESET
t.log @ console.ts:136
t._logExtensionHostMessage @ extensionHost.ts:412
(anonymous) @ extensionHost.ts:224
emitTwo @ events.js:126
emit @ events.js:214
emit @ internal/child_process.js:772
_combinedTickCallback @ internal/process/next_tick.js:141
_tickCallback @ internal/process/next_tick.js:180
log.ts:171   ERR Unexpected token C in JSON at position 101: SyntaxError: Unexpected token C in JSON at position 101
	at JSON.parse (<anonymous>)
	at Socket.socket.on (C:\Users\mgoyder\.vscode\extensions\ms-python.python-2018.8.0\out\client\unittests\unittest\socketServer.js:77:38)
	at emitOne (events.js:116:13)
	at Socket.emit (events.js:211:7)
	at addChunk (_stream_readable.js:263:12)
	at readableAddChunk (_stream_readable.js:246:13)
	at Socket.Readable.push (_stream_readable.js:208:10)
	at TCP.onread (net.js:594:20)
console.ts:136 [Extension Host] ApplicationInsights:Sender [{…}]0: {code: "ETIMEDOUT", errno: "ETIMEDOUT", syscall: "connect", address: "<IP_ADDRESS>", port: 443}length: 1__proto__: Array(0)
t.log @ console.ts:136
t._logExtensionHostMessage @ extensionHost.ts:412
(anonymous) @ extensionHost.ts:224
emitTwo @ events.js:126
emit @ events.js:214
emit @ internal/child_process.js:772
_combinedTickCallback @ internal/process/next_tick.js:141
_tickCallback @ internal/process/next_tick.js:180

Can you verify this, @d3r3kk ?

Duplicate of #2666 and related to #2692.

Yes, this does appear to be happening on Windows, I can sometimes get it to reproduce in Linux but it is far more infrequent (I had to remap keyboard controls to make re-running tests go fast enough to trip up the test runner).
My current hypothesis is that this is related to the test failures here in #2692, I believe the re-registration of listeners needs to be revisited and corrected.
Files affected:
src/client/unittests/unittest/runner.ts, runTest method registers listeners, removeListenersAfter removes them afterwards -> I think this pattern is what is causing the trouble. Odd that it is more pronouned in Windows! (And would explain why the tests all passed in macOS and Linux).

@d3r3kk so does this still need to be verified?

Thanks for the info @dmytrol, I will look into this further today.

Having similar issue - can't find tests, Test explorer shows this:
SyntaxError: Unexpected token I in JSON at position 0
    at JSON.parse (<anonymous>)
    at Object.parseTestSuites (/Users/philippk/.vscode/extensions/littlefoxteam.vscode-python-test-adapter-0.3.0/src/pytest/pytestTestCollectionParser.ts:13:28)
    at PytestTestRunner.<anonymous> (/Users/philippk/.vscode/extensions/littlefoxteam.vscode-python-test-adapter-0.3.0/src/pytest/pytestTestRunner.ts:95:24)
    at Generator.next (<anonymous>)
    at fulfilled (/Users/philippk/.vscode/extensions/littlefoxteam.vscode-python-test-adapter-0.3.0/node_modules/tslib/tslib.js:104:62)
    at <anonymous>

VS Code version: Code  1.30.2 (1.30.2) (61122f88f0bf01e2ac16bdb9e1bc4571755f5bd8
, 2019-01-07T22:42:11.005Z)
Extension version (available under the Extensions sidebar): 2019.1.0
OS and version: MacOS 10.14.3
Python version (& distribution if applicable, e.g. Anaconda): Python 3.6, Anaconda 36ha4fed55_0
Type of virtual environment used (N/A | venv | virtualenv | conda | ...): conda

@Casyfill, the data you have provided seems to be for the VS Code Python Test extension, not the VS Code Python extension.

I just verified that this still happens in the latest version, VS Code 1.32.3, on Windows. Python extension 2019.2.5558.  As above, it happens sporadically.  I had to press "Run Test" many times and then it started happening, and then it stopped appearing on its own again as well. It's really flaky.

+1

@ToanQHo-KMS please 👍 the issue, otherwise your vote won't count for bugfix prioritization.

I'm getting the same error on a Mac. Tests don't run. I only see it when the project folder is a children of my vscode project and I have a cwd configuration set. If the project folder is root in vscode the tests run fine with no issue displayed.

Found this issue after running into this w/ v1.40.0 and Python 2019.10.44104 on Windows 10.

As this is a recognized bug, the most useful thing people can do at this point is to give  👍 to the original comment to help us prioritize our work.

Results from the spike:
The root cause of the issue is hard to spot. The issue arises from the fact that we use socket communications to discover/run tests in the unittest framework.
My suspicion is that it happens when the button is repeatedly pressed, so the previous socket is not disposed before creating a new connection.
Using sockets also leads to other issues like https://github.com/microsoft/vscode-python/issues/5597
Suggestion: Use the stdout to scrape output rather than sockets, as is done with other frameworks. I've verified that results are correctly sent to the stdout, even in the cases where socket communication fails.

Adding a "Me too" here. I've got tests that get run and fail, but vscode shows "No tests ran". Looking in the output for python tests show my failures.

Same problem here. All the .py are pass but the last test remains with a question mark  and then the warning pop ups

Same problem here. All the .py are pass but the last test remains with a question mark  and then the warning pop ups

Fixed by #16769.