Remote Executors

OK, so this is quite possibly taking the project way past what it was ever intended to be, but stay with me on this one...
It would be amazing if I could launch "remote executors" and install them on various devices/virtual instances but have them report back to a central Uptime-Kuma instance.
This is a feature that some of the more advanced site-monitoring tools have, and would allow me to spin up instances across the globe to see what the response time was from each region etc.
As a rough outline, I'd probably be looking for the agents to either post their results back to the "primary" setup via HTTPS, or just load the results onto an MQTT Queue and have the "primary" read those results and log them.
Having it as a lightweight app would also mean that I could deploy onto a Raspberry Pi or similar if I didn't want to use virtual machines in a cloud-provider.

I like this idea a lot, as coming from updown.io service.
They also have this option to have checks from places all over the globe and report what kind of latency and apdex score it returns.
But this kind of setup does come with some complex caveats to expect which I also face randomly from time to time from updown.io and others:

it can result in false negatives warnings and triggering alerts for no reason.
Then the question is: what do you with that information and how should Uptime Kuma handle/output the metrics?
Let's say you have 7 locations and 1 or 2 report down while others report up.
Are you going to show down in statuspage or up? Are you going to show the metrics publicly for all locations so users can interpret themselves?
Or we need a raft consensus that makes a decision that a certain percentage of checks is required before it change status down/up.

I do like the idea alot as I like it from updown.io, but I think it's a challenge to get something like this developed properly and leave alone deployed properly.
Really curious where Uptime Kuma wants to go with features like this.

I agree it would be nice to have, but I think kuma is supposed to be light-weight, not enterprise-ready. Not many people would use it.

I agree it would be nice to have, but I think kuma is supposed to be light-weight, not enterprise-ready. Not many people would use it.

I'm talking about something that's optional here, not required - Uptime Kuma would continue to run as a single instance by default, but adding some kind of "scaling" ability would be a configuration/settings flag.
At the moment, I'm just deploying multiple Uptime Kuma installations, but until #898 is in a better state it's very difficult to determine which datacentre/cloud region the metrics and alerts are coming from in Prometheus, and it requires custom configuration of each installation.

It would be nice to have a possibility to have a second docker container on a remote location to handle the same checks to prevent false positives, which could be scalable and report back with a voting system. I'd love to replace Uptime Robot at our office, but just one server to handle the checks is not enough for our infrastructure monitoring.
I do use Uptime Kuma for personal servers and for a large Dutch Minecraft server with a complex server infrastructure. So far I am very happy with this platform, and it has a lot of potential.

I agree it would be nice to have, but I think kuma is supposed to be light-weight, not enterprise-ready. Not many people would use it.

I'm coming back to this comment because there's soon going to be incident management and reporting added to UptimeKuma, which to me moves it firmly into the Enterprise space as far as functionality is concerned - I know very few people who run incident management on their home labs or similar!
With the above in mind, to me the concept of "remote nodes" becomes even more important - the last thing you want to do is declare an incident that your entire infrastructure is down just because one instance of Uptime Kuma lost it's connectivity.
I realise that most will be using additional tooling, but this is just a small thing that would appear to make it a lot easier to monitor disparate systems and consolidate the results in one place.

it can result in false negatives warnings and triggering alerts for no reason.
Then the question is: what do you with that information and how should Uptime Kuma handle/output the metrics?
Let's say you have 7 locations and 1 or 2 report down while others report up.

It should use something like "paxos distributed consensus algorithm"
It would be cool to have this option.
For example, I check the operation of the service from different servers, but one of them has a network problem. In this case, he will say that "there was a problem." If the check came from 2 or more places, and only 1 server said about the problem, then I would conclude that the problem is on the checking server, but not on the service being checked

Any progress on this?

These is badly needed features I was looking for :(

Me too.  I'm myself aren't a good Node programmer so really hoping someone with the knowledge on how to do it can tackle this.

@hanisirfan @jmiaje @officiallymarky add your :+1: to the initial issue if you want this feature and please don't spam everyone that is subscribed to this issue with unhelpful comments. That makes it take longer. This applies to GitHub and other places in general!

+1

Noe exactly remote executors but I've created a small script on top of uptime kuma to do "replication" at database layer through restic https://github.com/Sid-Sun/replicator-kuma there are a few quirks though

I think one of the cleaner ways to do this would have an option to install as a slave which links with a master install.

One of the major benefits of something like this (which is how I came across this issue), could be multiple hosts with different setups.
E.g.
Primary uptime-kuma node on a VPS somewhere.
Secondary uptime-kuma node with Docker containers and docker endpoint exposed so that it can monitor said containers.
Tertiary uptime-kuma node with databases which aren't exposed to the public.
Primary is then able to consolidate the information without exposing the services publicly.

I could do this now with something like Home Assistant, but I would prefer to have this option!

Thought I should add to this convo that I am looking for something similar since people are still commenting on this post.

I have added another method to replicator-kuma, and documented the different methods on https://github.com/Sid-Sun/replicator-kuma. I haven't yet tried upgrades but I've been using it with snapshot mode for a few months without issues so far.
P.S. If you plan to use S3, you should go with Cloudflare R2 and I quickly reached free limits on AWS S3. R2 has worked great (and without additional cost).

As mentioned here: https://github.com/louislam/uptime-kuma/issues/1259#issuecomment-2094916395.

I would love to see this feature. It would be great if multiple nodes of Uptime Kuma can be linked. And that for each check you add there is an option to select which nodes this check should run on. And also use it as a fail condition. As in "report if all fail", "report if N fails". A syncing of tasks would be better, because this way each node can keep running in standalone mode if another is down. Which makes it kind of a distributed network of individual instances that can work standalone as well as cooperate, rather than for example workers that still depends on a master to be online.

This way I would add Uptime Kuma on many of my geographically separated servers and simply make sure my checks work on all of them, without having to configure many different individual instances.

Any news on this? I'm not into enterprise or anything but would love to run multiple instances. My view on this might be a bit different but also a bit simpler. Multiple nodes that all show the same data but also have a monitor to each other. More or less like a CDN. Now there is no redundancy except building it by hand, which is possible but a bit clunky.

Any news on this? I'm not into enterprise or anything but would love to run multiple instances. My view on this might be a bit different but also a bit simpler. Multiple nodes that all show the same data but also have a monitor to each other. More or less like a CDN. Now there is no redundancy except building it by hand, which is possible but a bit clunky.

I don't think it is going to happen.

Any news on this? I'm not into enterprise or anything but would love to run multiple instances. My view on this might be a bit different but also a bit simpler. Multiple nodes that all show the same data but also have a monitor to each other. More or less like a CDN. Now there is no redundancy except building it by hand, which is possible but a bit clunky.

been asking and waiting since 2021, I also don't think it's ever going to happen.
As much as I live uptime kuma and been sponsoring this project, I gave up on this feature and currently looking into OpenStatus which supports multi-zone/regio monitoring out of the box.  Just not entirely sure if this is equally open source like Uptime Kuma, but it does tick several boxes for features that UK is missing for many years and doesn't seem to show any movement or changes coming anytime soon which is a pity.

I think the basic usecase (monitoring one thing from mutliple sides) behind this feature can also be resolved via ripe atlas.

https://github.com/louislam/uptime-kuma/issues/4031

I plan on implementing a monitor for this when I have time again.
About the redundancy aspect:
We are not a distributed system. A distributed system requires an entirely different kind of effort to maintian and extend (especially in terms of the consitency/leader election/heartbeat sheduling and in terms of security/privacy).
Given the engineering resources we currently have, I would currently classify this as out of scope.
Using a second instance (or a commercial status page like uptimerobot) to monitor if Uptime Kuma is up is simple enough and does not require this level of complexity.

Also interested in this. I monitor several networks and it would be nice to have a VM with a kuma instance watching all of the local devices there and reporting back to my main mothership. That would help avoid manually visiting several different kuma instances to check up on every network.

I have four uptimekuma instances. One in my homelab, one in my office, and others on my vps. None of them are public accesible. I have notifications on telegram and works fine.
It would be nice that I can see all the status from all uptimekumas in a single webpage.
Maybe uptimekuma can support to push services' status to a webhook endpoint periodically.
Current api: prometheus call the /metrics api to get data from uptimekuma
what I want: uptimekuma call the webhook to send data periodically(the data is the same as prometheus received)

If this is out of scope, could you add a list of workarounds in a wiki and close this?
I've seen:

RIPE ATLAS #4031
Running multiple uptime Kuma and scraping into Prometheus: #4704
json_query other uptime Kuma or prober to scrape into a single other uptime Kuma?

Are there any other ideas or workarounds that I missed?

Among others, there are benefits to doing this with respect to remotely monitoring services on a locked down system, and making a distinction between "unreachable from this specific monitor" services and "down" services. That it is rather important to me, as the internet connection between my UptimeKuma proxy instance and the remote server it monitors is shaky. Meaning my monitor is sometimes unavailable. I'd rather move the monitor onto the frontend server, but then it couldn't reach the services it tests because of firewalls, so the solution for me here would be a remote executor that sends data to a frontend. Hope this issue :)

i think this  is the most asked feature :))

i found this repo https://github.com/CodeSpaceCZ/Uptime-Status but it doesnt work

i found this repo https://github.com/CodeSpaceCZ/Uptime-Status but it doesnt work

I changed to openstatus project (also open source) as they have this feature native.
If you really need multiple checks from multi regions, I can recommend this project.
https://www.openstatus.dev/
For more simple/single check use cases, Uptime Kuma is still a perfect solution.

i found this repo https://github.com/CodeSpaceCZ/Uptime-Status but it doesnt work

I changed to openstatus project (also open source) as they have this feature native. If you really need multiple checks from multi regions, I can recommend this project.
https://www.openstatus.dev/
For more simple/single check use cases, Uptime Kuma is still a perfect solution.

Oh yeah, openstatus is cool, but i cant manage to self host it, i wanted to even offered to pay the owner to set it up for me but i just got ghosted

I was just thinking on this as I'd like to see something similar. If it helps move it forward, here's my idea for how this could be achieved.
Add a new type of Monitor - Remote Uptime Kuma. When adding this, you could then add a remote instance of Uptime Kuma (much in the same way as you add a new docker host to U.K. today), and then from that select the monitor you want to monitor. This monitor could be one of the monitors on that remote instance, or it could be a "group" monitor, which means it could even be a top-level group monitor.
That way, this preserves the main architecture of Uptime Kuma and just uses a new type of Monitor to implement the remote monitoring capability.
Thoughts?


Change refs from cli.go to cli

since the days of this being a single-file library are long gone.

👍


Ghostunnel through a k8s ingress

Hi,
Is it possible for a ghostunnel client (outside of the k8s cluster) to tunnel to a pod running a ghostunnel server through a kubernetes HTTPS nginx-ingress? The ingress produces a public DNS record with a certificate from letsencrypt, the traffic is then proxied to a k8s service that routes to the ghostunnel server pods. (basically a reverse proxy setup with TLS termination on the ingress)
When i tested this using the example server/client commands form the readme I got certificate verification errors from the client.
Thanks,

Ghostunnel is a network layer proxy, you must be able to establish a TCP/IP connection between the two ends of the tunnel to make it work. I don't know what nginx-ingress is, but it sounds like an application layer proxy, so that probably won't work.


Please do not disable SSL checking

Disabling SSL checking throughout the app is potentially putting users at risk, and I wouldn't be surprised if this was also the cause of add-ons failing to update when this add-on is installed. Please remove the following code - I doubt you even need it in Anki 2.1:
https://github.com/mankinence/ImageResizer/blob/d2e6f6dce7b20599206af4ae05c899633d06cf57/2.1/__init__.py#L26

Hi,
Thanks for reporting. The workaround has been removed and an updated addon has been uploaded.

Thanks searene.


Schur release - plugin in main SDK missing files

This is an issue with the barebones Unity plugin included in the main release, and not with the tango examples.
Assets/TangoSDK/Core/Scripts/Common/EventController.cs(48,39): error CS0117: AndroidHelper' does not contain a definition for ParseTangoEvent'
Easy steps to get the error yourself:

Schur Tango Unity plugin @ https://developers.google.com/project-tango/downloads
Import into Unity 5.1.2
look in console for the import error above

Are you still having issues on the later releases?


i18n and translations using only one file per page

Feature request

What problem does this feature solve?
It will avoid duplication in the page structure, a much cleaner source and streamlined workflow
What does the proposed API look like?
How should this be implemented in your opinion?
I think the way NetlifyCMS deal with translations extremely clever: it allow for three different strategies - a folder structure for each language (as Saber currently offer), a file for each language inside the same folder (as Hugo page bundles) and just one file, with content separated by language level, under a i18n top-level tag.
I propose to follow the same direction, cause for websites with lots of languages and much content, it will be extremely cumbersome to replicate the very same structure for each locale.
Are you willing to work on this yourself?
Absolutely!

I'm rewriting Saber, so no new features for now, but I'll take this into consideration while working on the new version.

Thanks for let me know! I would love to help, if possible.
On Tue, Apr 13, 2021, 13:40 Kevin Hazy @.***> wrote:

I'm rewriting Saber, so no new features for now, but I'll take this into
consideration while working on the new version.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/saberland/saber/issues/695#issuecomment-818880703,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AM3I3ON3E3JSS6VZTNZNAUDTIRXYXANCNFSM423V2V5Q
.


Replication Study To-Do List

[x] Double check that we are calculating SoVI input variables in a reasonable manner. Examples: counties['QRICH200K'] = (counties.B19001_017E) / counties.B11001_001E # would B19001_001E be a better denominator? counties['PERCAP_ALT'] = counties.B19025_001E / (counties.B25008_001E) # is there a better source of per capita income?
[x] Add methodology to analysis plan
[x] Planned deviations and method for evaluating success of replication.
[x] Think about joining as much output data as possible into one table to facilitate eventual comparison of results
[x] This python notebook may provide some good examples of analyzing change over time:
https://www.kaggle.com/code/prashant111/complete-guide-on-time-series-analysis-in-python
[x] Determine temporal extent of ACS data available for temporal replication
[x] Would the model be more stable if components were weighted by their eigenvalue? Include method to test this in analysis plan
[x] Preregister analysis plan prior to downloading data

saving eigenvalue idea for later and closing this issue upon registering the preanalysis plan


Add placeholders and examples for CLI commands

Description:

Add placeholders where ever user need to update his values received by running commands.
Eg: Balance, btcaddress, stx address etc.

Add a note for each command to where user can get the values like stx-address, btc-address from.
Eg: Get  from #Get balance command.

Output need to stay outside of the bash command tags.
Example:

CLI command

Output:
{eligible : true}

Done


Create an issue template

Need to figure out what needs to be in an issue and then create a template for it.

done


Use the echo test to throw a ClassCastException

Environment

Dubbo version: 2.7.3
Operating System version: mac
Java version: 1.8

Steps to reproduce this issue
@Service
public class DubboEchoService {

    @Reference(version="1.0.0")
    private DemoService demoService;

    public void test(){
        EchoService echoService = (EchoService) demoService;
        Object status = echoService.$echo("OK");
        System.out.println(status);
    }
}

java.lang.ClassCastException: com.sun.proxy.$Proxy55 cannot be cast to org.apache.dubbo.rpc.service.EchoService

I found all the examples were through  <dubbo:reference />
, but we have no XML file in spring boot and can only use the annotation, but found the error

yes, it's a bug, because the annotation processor only use the DemoService as the proxy interface. we will fix it soon.

Thanks.

I did not reproduce this problem.

reproduce: annotation config dubbo
    Assert.assertEquals("OK", ((EchoService) yourDubboService).$echo("OK"));

class com.sun.proxy.$Proxy106 cannot be cast to class org.apache.dubbo.rpc.service.EchoService (com.sun.proxy.$Proxy106 and org.apache.dubbo.rpc.service.EchoService are in unnamed module of loader 'app')

I did not reproduce on master, I guess it has been fixed.
may @CrazyHZM  close it ?


page: trigger the autocomplete in proper time

This fixes #4 by going autocomplete only if the cursor is in the end
of current line.

I just temporarily fires the autocomplete only if the cursor is in the end of line, this perhaps effects some UX when using this editor differ from vscode, but I will tweak once we have the function arguments feature.
Thanks for @jwu's report :)

Closing, land at 5f8061b


Automated github pages deploy

Doing it manually is a bit of a drag, would be nice if it happened automatically. then we can get rid of #87 and the associated github action

can probably do it easily wiht https://github.com/JamesIves/github-pages-deploy-action and explicitly turn clean off


fix(trigger): test new auth mechanism during release

:tada: This PR is included in version 2.11.1 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


async 2.2

async-2.2.1 (Michael Snoyman<EMAIL_ADDRESS>@snoyberg) is out of bounds for:

[ ] Agda-2.5.3 (>=2.0.2 && < 2.2). Andrés Sicard-Ramírez<EMAIL_ADDRESS>@asr. @agda. Used by: library
[ ] cabal-install-<IP_ADDRESS> (>=2.0 && < 2.2). Michael Snoyman<EMAIL_ADDRESS>@snoyberg. @haskell. Used by: executable, test-suite
[ ] capataz-<IP_ADDRESS> (>=<IP_ADDRESS> && < 2.2). Roman Gonzalez<EMAIL_ADDRESS>@roman. @roman. Used by: library, test-suite
[ ] concurrent-extra-<IP_ADDRESS> (>=2.0 && < 2.2). No maintainer. @basvandijk. Used by: test-suite
[ ] concurrent-output-1.10.2 (>=2.0 && < 2.2). Joey Hess<EMAIL_ADDRESS>@joeyh.. Used by: library
[ ] hapistrano-<IP_ADDRESS> (>=<IP_ADDRESS> && < 2.2). Stack Builders<EMAIL_ADDRESS>@stackbuilders. @javcasas @jsl @sestrella. Used by: executable
[ ] hedgehog-0.5.2 (>=2.0 && < 2.2). Jacob Stanley<EMAIL_ADDRESS>@jystic. @hedgehogqa. Used by: library
[ ] hinotify-0.3.9 (>=1.0 && < 2.2). Michael Snoyman<EMAIL_ADDRESS>@snoyberg. @kolmodin. Used by: library
[ ] hpio-<IP_ADDRESS> (>=2.0.2 && < 2.2). Drew Hess<EMAIL_ADDRESS>@dhess. @quixoftic. Used by: executable
[ ] idris-1.2.0 (< 2.2). Jens Petersen<EMAIL_ADDRESS>@juhp. @idris-lang. Used by: library
[ ] irc-conduit-<IP_ADDRESS> (>=2.0 && < 2.2). Michael Walker<EMAIL_ADDRESS>@barrucadu. @barrucadu. Used by: library
[ ] katip-elasticsearch-<IP_ADDRESS> (>=<IP_ADDRESS> && < 2.2). Ozgun Ataman<EMAIL_ADDRESS>@ozataman. @Soostone. Used by: library
[ ] lifted-async-<IP_ADDRESS> (>=2.1.1 && < 2.2). No maintainer. @maoe. Used by: library, test-suite, benchmark
[ ] logging-effect-1.2.2 (>=2.0 && < 2.2). Oliver Charles<EMAIL_ADDRESS>@ocharles. @ocharles. Used by: library
[ ] pipes-concurrency-2.0.8 (>=<IP_ADDRESS> && < 2.2). Gabriel Gonzalez<EMAIL_ADDRESS>@Gabriel439. @Gabriel439. Used by: library, test-suite
[ ] protolude-0.2.1 (>=2.0 && < 2.2). Stephen Diehl<EMAIL_ADDRESS>@sdiehl. @sdiehl. Used by: library
[ ] riak-<IP_ADDRESS> (>=<IP_ADDRESS> && < 2.2). Tim McGilchrist<EMAIL_ADDRESS>@tmcgilchrist. @riak-haskell-client. Used by: library
[ ] snap-<IP_ADDRESS> (>=<IP_ADDRESS> && < 2.2). Lucas David Traverso<EMAIL_ADDRESS>@ludat. @mightybyte. Used by: test-suite
[ ] threepenny-gui-<IP_ADDRESS> (>=2.0 && < 2.2). Simon Jakobi<EMAIL_ADDRESS>@sjakobi. @HeinrichApfelmus. Used by: library
[ ] turtle-1.5.1 (>=<IP_ADDRESS> && < 2.2). Gabriel Gonzalez<EMAIL_ADDRESS>@Gabriel439. @Gabriel439. Used by: library
[ ] wild-bind-x11-<IP_ADDRESS> (>=2.0.2 && < 2.2). Toshio Ito<EMAIL_ADDRESS>@debug-ito. @debug-ito. Used by: test-suite

Fixed in irc-conduit.

Agda: Bumped the async upper bound on Hackage via revision 4.

Agda: Bumped the async upper bound on Hackage via revision 4.

I undid the change in Hackage. Support for async 2.2.1 was add in upstream.

Bumped bounds for hapistrano-<IP_ADDRESS>

Fixed wild-bind-x11.

Fixed in hpio-<IP_ADDRESS>.

Fixed in snap

I've updated the description.

Fixed on latest version of capataz

Riak fixed in <IP_ADDRESS> hackage.haskell.org/package/riak-<IP_ADDRESS>
On Thu, 8 Feb 2018 at 2:21 am, Roman Gonzalez<EMAIL_ADDRESS>wrote:

Fixed on latest version of capataz
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/fpco/stackage/issues/3268#issuecomment-363802302, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAKbuYda-5xvlZYcG3Gso3D6PPOvFCC6ks5tSb9qgaJpZM4R5FmM
.

Fixed in threepenny-gui-<IP_ADDRESS>. Thanks Simon!

Fixed in hedgehog-0.5.3

Closing this since there is #3476 for async-2.2.1


[doc] broken link to cilium-doc

At https://microk8s.io/docs/addons#list there is a link to cilium which targets https://microk8s.io/docs/cilium-doc, but that page gives a 404.
Looking in addons.md, it looks like this was meant to be a reference rather than an actual URL target:
$ grep -R cilium-doc .
./docs/addons.md:**cilium**: Deploys [Cilium](cilium-doc) to support Kubernetes network policies using eBPF.
./docs/addons.md:[cilium-doc]: http://docs.cilium.io/en/stable/intro/

Sorry, wrong repo. Moved to https://github.com/canonical-web-and-design/microk8s.io/issues/203


Deprecation warnings for v0.4.4

several functions and parameters are deprecated in v0.5.0 and need a notification in v0.4.4:

[ ] RadianceObj.Wm2Front
[ ] RadianceObj.Wm2Back
[ ] trackerdict[key]['scene'] -> ['scenes']
[ ] load.deepcleanResult
[ ] mismatch.analysisIrradianceandPowerMismatch

OK, I'm abandoning the pre-deprecation warning for Wm2Front and Back for 0.4.4.  Just replace it with a FutureWarning message after it's been abandoned in 0.5.0


additional properties for attributes

Is there an issue where this feature was discussed yet? Lets start features in issues.

@justinfagnani we started this discussion parlty in #51


README: Link on "Contribution" section is broken

It points to https://github.com/marcelofabri/xcpretty-danger-formatter, which doesn't exist.
Is it a future project or you renamed this one and forgot to update that? :smile:

Forgot to update :grimacing:

Fixed in https://github.com/marcelofabri/xcpretty-json-formatter/commit/fed0761c6a62ae39fa44983af39bc3899bea7deb


Add Malcolm's gpg key

What
Added my gpg key..
How to review
Visual inspection of the files that have been amended or run the branch through a dev pipeline.

🚨⚠ Please do not merge this pull request via the GitHub UI ⚠🚨

Are we specifically using the Ubuntu key servers everywhere, and if so, should this be mentioned in onboarding docs, for local GPG configuration?

No we're not, that's why I added a list of them; just two common ones for now. I don't think we have a strong opinion on where people put their public key

Approved, except for the validity of the key - I can't confirm if this is definitely Malcolm's.
I wonder if we should also check against a canonical source of 'good' team key IDs - maybe in PaaS-trusted-people?

We don't keep the GPG fingerprints in paas-trusted-people. I think checking who it actually belongs to is still a human job. The goal of this check was to ensure it was definitely available on a well known key server, where Concourse and humans can find it.

Finally, we don't need to do a full submodule pull in the checkout - that could probably be removed.

Good catch. Will amend.

@whi-tw my thought on not including it inline was to make it possible to run locally, should someone need to.


Clarify mediaType and artifactType syntax

There was some confusion on whether parameters could be included in the mediaType or artifactType fields. This makes the following changes:

Consolidates the definition to a single section of the media-type.md file.
States that parameters are not permitted.
Includes a regular expression that can be used to validate a string.
Fixes a regexp bug in our validator that included the range &-^, which inadvertently included a long list of special characters that are not valid in a media type.
Adds tests for media types with parameters.

I was talking to my coworker @LaurentGoderre about this today, and he pointed me at https://developer.mozilla.org/en-US/docs/Web/Media/Formats/codecs_parameter and https://github.com/jsdom/whatwg-mimetype which have some of that "why is this a thing?" flavor I was suggesting we need to look for in one of the weekly OCI calls a while back.
I don't think it's a perfect slam dunk "yes, we need to support these" but also sheds even more doubt (IMO) on whether we can reasonably apply a blanket "thou shalt not" on them either, so I'm personally leaning towards a NACK here.

I'm the scenario of an artifact type set to text/html;charset=utf-8", either in the manifest, or on the query string for the referrers API, should that be allowed, should it be an exact match, or should the server ignore the parameter when performing a match for the referrers listing?
Thinking of the risks of changing our mind in the future, allowing it today and denying it in the future would mean existing content on registries is no longer valid. But the reverse, denying it today and later deciding to allow it, would mean older registries and clients would reject new content. Neither is great, but the latter is at least feasible to me (I'd reject a change that invalidates existing valid data without a good reason).


Advanced Node and Express last 6 challenges failing

Describe your problem and how to reproduce it:
I've noticed that the challenges of Advanced Node and Express from Sockets challenge till the last challenge (last 6 challenges of Advanced Node and Express) not passing.
I searched a lot did everything but couldn't pass even a single test. I even copied code from the FCC own glitch project and paste it in in the input but still not passing.
Then I pasted the FCC own project into the input and noticed that wasn't passing as well.
I am uploading the picture where I put the FCC's own glitch project into the input and you will see that wasn't passing the tests as well.
Please fix this testing issues of advanced node and express...

Add a Link to the page with the problem:
starts from here => link
ends here => link
Tell us about your browser and operating system:

Browser Name: Google Chrome
Browser Version: Version 77.0.3865.120 (Official Build) (64-bit)
Operating System: Microsoft Windows 10 Pro Education

If possible, add a screenshot here (you can drag and drop, png, jpg, gif, etc. in this box):

Hey :smile:!
Most of them pass, but there are some things missing:

I've found that using double quotes is problematic for the tests to pass, so use single quotes
You must require and use cors, otherwise the projects will not pass:

const app = express();
const cors = require('cors');
app.use(cors());

There are problems with formatting. For example, when prettier formats the code, if the lines are too long, it splits the lines, which may cause problems. I had the following problem:

// The following is beautified by prettier:
io.use(
    passportSocketIo.authorize({

// But the test won't pass unless it's on the same line
io.use(passportSocketIo.authorize({

My friend!
I had already did as you said but the result is the same.
can you send me the link of your project that you passed these challenges?

Sure!
Here they are. I just tested again and they work :smile:.
Remember, do not format/beautify the server.js file, otherwise the tests will fail. You may need to comment out the io.emit('user count') if a test fails.

Abbas, If you haven't figured it out yet, I just ran into the same issue, and skaparate linked me to this issue, and I was able to resolve it by adding app.use(cors()) to the fcctesting.js file and that fixed it for me.

yes, I did figured that out when skaparate send me the link to his project. thanks skaparate

In case anyone else comes across this, there is an open pull request for this issue.


Tests starts to fail after page model moved to separate NPM package

What is your Test Scenario?

I use page model pattern for tests and all models are extended from base model provided as a separate package. During initial development I work through using of package linking (npm link) and all works, but a few days ago I published base model package on npmjs.com and when I use it my tests start to fail with error Cannot implicitly resolve the test run in the context of which the test controller action should be executed. Use test function's 't' argument instead. During pinpointing cause of issue I found that same error occurs also in linked package setup but only when babel compiled version is used - main in package.json set to lib/index.js opposed to src/index.js.
What is the Current behavior?

Tests fails with error above.
What is the Expected behavior?

Tests successfully completed.
What is your web application and your TestCafe test code?

GitHub repo with base page model
GitHub repo with app and page models that extends base page model. Page model used in tests for this issue can be found in this file
tests used for this issue can be found in this file

One of failed tests:

 // Below is one of failed tests (copied from file seen at point 3 in paragraph above, but
 // here I deleted some comments intentionally as they might lead to some misunderstanding
 // because usually I have tests that my models fails in expected cases.
 test("020 It should allow assert on whether input is disabled using '#expectIsDisabled()'", async () => {
  const { knob, sut } = await getHelperFragments('disabled');

  await knob.clickItem({ value: 'true' });
  await sut.hover();
  await sut.expectIsDisabled();

  await knob.clickItem({ value: 'false' });
  await sut.hover();

  let isThrown = false;

  try {
    await sut.expectIsDisabled();
  }
  catch (e) {
    expect(
      e.errMsg,
      'to match',
      /AssertionError:.+\.checkable-input.+must have BEM modifier 'disabled,'.+but it doesn't/
    );

    isThrown = true;
  }

  expect(isThrown, 'to be true');
});

Complete test report:

Using locally installed version of TestCafe.
 Running tests in:
 - Chromium 71.0.3578 / Ubuntu 0.0.0

 Widgets :: Input :: 010 Fragment
 ✓ 010 It should allow get input's 'Disabled' part of state using '#getDisabledPartOfState()'
 ✖ 020 It should allow assert on whether input is disabled using '#expectIsDisabled()'

   1) Cannot implicitly resolve the test run in the context of which the test controller action should be executed. Use test function's 't' argument instead.

      Browser: Chromium 71.0.3578 / Ubuntu 0.0.0

         414 |      .cloneBemBase()
         415 |      .setMod(bemModifier)
         416 |      .toString();
         417 |
         418 |    await t
       > 419 |      .expect(this.selector.hasClass(className))
         420 |      .ok(
         421 |        `'${this.displayName}' fragment must have BEM modifier ` +
         422 |        `'${bemModifier}' (${className}) but it doesn't`
         423 |      );
         424 |  }

         at CheckableInput.expect [as expectHasBemModifier] (/home/mt0erfztxt/Downloads/nebula-widgets-feature-use-npm-published-fragment/node_modules/nebula-test-fragment/src/base-fragment.js:419:8)
         at CheckableInput.expectExistsAndConformsRequirements (/home/mt0erfztxt/Downloads/nebula-widgets-feature-use-npm-published-fragment/node_modules/nebula-test-fragment/src/base-fragment.js:338:15)

 ✖ 030 It should allow assert on whether input isn't disabled using '#expectIsNotDisabled()'

   1) Cannot implicitly resolve the test run in the context of which the test controller action should be executed. Use test function's 't' argument instead.

      Browser: Chromium 71.0.3578 / Ubuntu 0.0.0

         437 |    const className = this
         438 |      .cloneBemBase()
         439 |      .setMod(bemModifier);
         440 |
         441 |    await t
       > 442 |      .expect(this.selector.hasClass(className.toString()))
         443 |      .notOk(
         444 |        `'${this.displayName}' fragment must not have BEM modifier ` +
         445 |        `'${bemModifier}' (${className}) but it does`
         446 |      );
         447 |  }

         at CheckableInput.expect [as expectHasNoBemModifier] (/home/mt0erfztxt/Downloads/nebula-widgets-feature-use-npm-published-fragment/node_modules/nebula-test-fragment/src/base-fragment.js:442:8)
         at CheckableInput.expectExistsAndConformsRequirements (/home/mt0erfztxt/Downloads/nebula-widgets-feature-use-npm-published-fragment/node_modules/nebula-test-fragment/src/base-fragment.js:338:15)

 ✖ 040 It should allow assert on whether input is enabled using '#expectIsEnabled()'

   1) Cannot implicitly resolve the test run in the context of which the test controller action should be executed. Use test function's 't' argument instead.

      Browser: Chromium 71.0.3578 / Ubuntu 0.0.0

         437 |    const className = this
         438 |      .cloneBemBase()
         439 |      .setMod(bemModifier);
         440 |
         441 |    await t
       > 442 |      .expect(this.selector.hasClass(className.toString()))
         443 |      .notOk(
         444 |        `'${this.displayName}' fragment must not have BEM modifier ` +
         445 |        `'${bemModifier}' (${className}) but it does`
         446 |      );
         447 |  }

         at CheckableInput.expect [as expectHasNoBemModifier] (/home/mt0erfztxt/Downloads/nebula-widgets-feature-use-npm-published-fragment/node_modules/nebula-test-fragment/src/base-fragment.js:442:8)
         at CheckableInput.expectExistsAndConformsRequirements (/home/mt0erfztxt/Downloads/nebula-widgets-feature-use-npm-published-fragment/node_modules/nebula-test-fragment/src/base-fragment.js:338:15)

 ✖ 050 It should allow assert on whether input isn't enabled using '#expectIsNotEnabled()'

   1) Cannot implicitly resolve the test run in the context of which the test controller action should be executed. Use test function's 't' argument instead.

      Browser: Chromium 71.0.3578 / Ubuntu 0.0.0

         414 |      .cloneBemBase()
         415 |      .setMod(bemModifier)
         416 |      .toString();
         417 |
         418 |    await t
       > 419 |      .expect(this.selector.hasClass(className))
         420 |      .ok(
         421 |        `'${this.displayName}' fragment must have BEM modifier ` +
         422 |        `'${bemModifier}' (${className}) but it doesn't`
         423 |      );
         424 |  }

         at CheckableInput.expect [as expectHasBemModifier] (/home/mt0erfztxt/Downloads/nebula-widgets-feature-use-npm-published-fragment/node_modules/nebula-test-fragment/src/base-fragment.js:419:8)
         at CheckableInput.expectExistsAndConformsRequirements (/home/mt0erfztxt/Downloads/nebula-widgets-feature-use-npm-published-fragment/node_modules/nebula-test-fragment/src/base-fragment.js:338:15)

 ✓ 060 It should allow get input's 'Invalid' part of state using '#getInvalidPartOfState()'
 ✖ 070 It should allow assert on whether input is invalid using '#expectIsInvalid()'

   1) Cannot implicitly resolve the test run in the context of which the test controller action should be executed. Use test function's 't' argument instead.

      Browser: Chromium 71.0.3578 / Ubuntu 0.0.0

         414 |      .cloneBemBase()
         415 |      .setMod(bemModifier)
         416 |      .toString();
         417 |
         418 |    await t
       > 419 |      .expect(this.selector.hasClass(className))
         420 |      .ok(
         421 |        `'${this.displayName}' fragment must have BEM modifier ` +
         422 |        `'${bemModifier}' (${className}) but it doesn't`
         423 |      );
         424 |  }

         at CheckableInput.expect [as expectHasBemModifier] (/home/mt0erfztxt/Downloads/nebula-widgets-feature-use-npm-published-fragment/node_modules/nebula-test-fragment/src/base-fragment.js:419:8)
         at CheckableInput.expectExistsAndConformsRequirements (/home/mt0erfztxt/Downloads/nebula-widgets-feature-use-npm-published-fragment/node_modules/nebula-test-fragment/src/base-fragment.js:338:15)

 ✖ 080 It should allow assert on whether input isn't invalid using '#expectIsNotInvalid()'

   1) Cannot implicitly resolve the test run in the context of which the test controller action should be executed. Use test function's 't' argument instead.

      Browser: Chromium 71.0.3578 / Ubuntu 0.0.0

         437 |    const className = this
         438 |      .cloneBemBase()
         439 |      .setMod(bemModifier);
         440 |
         441 |    await t
       > 442 |      .expect(this.selector.hasClass(className.toString()))
         443 |      .notOk(
         444 |        `'${this.displayName}' fragment must not have BEM modifier ` +
         445 |        `'${bemModifier}' (${className}) but it does`
         446 |      );
         447 |  }

         at CheckableInput.expect [as expectHasNoBemModifier] (/home/mt0erfztxt/Downloads/nebula-widgets-feature-use-npm-published-fragment/node_modules/nebula-test-fragment/src/base-fragment.js:442:8)
         at CheckableInput.expectExistsAndConformsRequirements (/home/mt0erfztxt/Downloads/nebula-widgets-feature-use-npm-published-fragment/node_modules/nebula-test-fragment/src/base-fragment.js:338:15)

 ✖ 090 It should allow assert on whether input is valid using '#expectIsValid()'

   1) Cannot implicitly resolve the test run in the context of which the test controller action should be executed. Use test function's 't' argument instead.

      Browser: Chromium 71.0.3578 / Ubuntu 0.0.0

         437 |    const className = this
         438 |      .cloneBemBase()
         439 |      .setMod(bemModifier);
         440 |
         441 |    await t
       > 442 |      .expect(this.selector.hasClass(className.toString()))
         443 |      .notOk(
         444 |        `'${this.displayName}' fragment must not have BEM modifier ` +
         445 |        `'${bemModifier}' (${className}) but it does`
         446 |      );
         447 |  }

         at CheckableInput.expect [as expectHasNoBemModifier] (/home/mt0erfztxt/Downloads/nebula-widgets-feature-use-npm-published-fragment/node_modules/nebula-test-fragment/src/base-fragment.js:442:8)
         at CheckableInput.expectExistsAndConformsRequirements (/home/mt0erfztxt/Downloads/nebula-widgets-feature-use-npm-published-fragment/node_modules/nebula-test-fragment/src/base-fragment.js:338:15)

 7/9 failed (16s)

Steps to Reproduce:

Because app under testing is built using Clojure it requires additional tooling (not available from NPM) to be built, I provide pre-built app in attached file nebula-widgets-feature-use-npm-published-fragment.zip.

extract attached archive
cd into directory from extracted archive, run command npm install && npx grunt kitchenSink:prod:run in terminal and wait until greeting from server appears

Serving!
- Local:            http://localhost:3449
...

optionally, open http://localhost:3449/ in browser
in another terminal in same directory run command testcafe chromium test/js/browser/fragments/input/010-fragment.js -T '^0\d0'

Your Environment details:

testcafe version:                   1.1.0
node.js version:                    v8.12.0
command-line arguments:  testcafe chromium test/js/browser/fragments/input/010-fragment.js -T '^0\d0'
browser name and version: Chromium 71.0
platform and version:          Version 71.0.3578.98 (Official Build) Built on Ubuntu , running on LinuxMint 18.3 (64-bit)
other: I tried solution from issue #3424 but it doesn't work for me

Hi @mt0erfztxt
I could not reproduce the problem.
When the test navigates to the target page, it gets the 404 HTTP error.

Please correct the example and feel free to reopen this issue.

Hi @miherlosev
I re-check steps to reproduce problem and don't get 404 HTTP error. I attach recording of problem reproduction on my system - can you please check whether you done it same way.
Attachment: cinnamon-20190305-14.webm.zip

I've reproduced the problem.

The problem caused by native async functions used in your page model. The test controller must be called in a stack trace that contains a test body signature. setTimeout/clearInterval, Promises and async functions create a new clean stack frame, so the test controller can't find a test body signature resolve a test context when used in this constructs.
You can add "babel-runtime": "^6.22.2" to the "dependencies" field of your page model's package.json and compile it with the following .babelrc as a workaround:
{
  "presets":
    [
      [ { "plugins": "transform-runtime" } ],
      ["env"]
    ]
  ,
  "sourceMaps": "inline"
}

This babel configuration transforms async functions to synchronous state machines that preserve stack frames.

Thank you for pointing me in right direction. Tests now work with following .babelrc:
{
  "presets": [
    [
      "@babel/preset-env",
      {
        "targets": {
          "esmodules": true
        }
      }
    ]
  ],
  "plugins": [
    "@babel/plugin-transform-runtime"
  ],
  "sourceMaps": "inline"
}

In my case "esmodules": true was mandatory, otherwise errors like TypeError: Class constructor GroupInput cannot be invoked without 'new' were thrown.

@mt0erfztxt, we are happy to hear that the problem is solved. If you have other questions related to this issue, feel free to reopen it.


RTSP Ip Camera Stream

I have tried the samples, but I get no video.  The ip camera is sending h.264.  It is a live stream, I have tested it with vlc and a standalone rtsp viewer.  the uri is rtsp://<IP_ADDRESS>:80/  I see the network pulling in data, but the mediaelement is not showing the video.
My code is
PropertySet options = new PropertySet();
options.add("rtsp_flags", "prefer_tcp");
FFmpegMSS = FFmpegInteropMSS.CreateFFmpegInteropMSSFromUri(uri, false, false, options);
MediaStreamSource mss = FFmpegMSS.GetMediaStreamSource();
mediaElement.SetMediaStreamSource(mss);
The code does not throw an exception.  Any help would be appreciated.

Hi,
same problem here... I am trying play RTSP h264 stream from my IP cam. Program just frezes without exception.
Branch: helmut-steiner-ffmpeg3.1
But the problem is not only about RTSP, this code:
            FFmpegMSS = FFmpegInteropMSS.CreateFFmpegInteropMSSFromUri("http://www.w3schools.com/html/mov_bbb.mp4", false, false);
            mss = FFmpegMSS.GetMediaStreamSource();
            mPlayer.SetMediaStreamSource(mss);
            mPlayer.Play();

ends with:
An exception of type 'System.Runtime.InteropServices.COMException' ...

Have you tried using just the mediaelement in XAML to play the movie.  I have not had a problem playing a static movie mp4 h264 without using ffmpeginterop.

Yes, its working. But my main goal is to stream RTSP.

You will need to use a RTSP stream server like Wowza to stream it on the RTSP protocol.

Hi @peane
I noticed that you're adding the IOT extensions, are you running this on desktop or on an IOT device?

Hi @khouzam
My goal is to run this on Raspberry PI Windows IOT (RTSP stream viewer), but now I try to build on x86 (desktop). PS:  Is it necessary to register ffmpeg dlls via regsvr32.exe?

Same repro on x64. Any resolution for this?

@peane
I too am trying to view a RTSP Live stream that is flv with h.264 to a Windows IOT device, I have had no luck, it compiles but no video is displayed.

I can successfully play example stream from rtsp://<IP_ADDRESS>/vod/mp4:BigBuckBunny_115k.mov
but have no idea why rtsp from ip camera doesn't work. ffmpeg code little bit messy, trying to debug.
Hanlg is at             ret = ff_poll_interrupt(&p, 1, timeout, &h->interrupt_callback); and this code have no difference between winrt/desktop build.

@mscott161 could you upload your RTSP Ip Camera Stream to github for everyone. I am doing it too and got many problem
thanks so much :D

@chiecla  I have not had the rtsp ip camera stream to play with the ffmpeg or XAML window only over http for mp4.

@chiecla I have C# RTSP stream app using ffmpeg, it works very fast and light. It can play all rtsp cameras


Create an experimental tag on dockerhub

Is it possible to have a new tag called experimental so we can use the latest swarm binary? Thanks

@aanm it's dockerswarm/swarm:master as of right now you cannot combine library images with automated builds /cc @tianon

@vieux At least is something for debugging. Thank you :)

ping @tianon on library + automated builds
@aanm As @vieux mentioned, we have dockerswarm/swarm:master plus release candidates (swarm:0.4.0-rc1) and that's pretty much all we can do so far.

@aluzzardi I thought I had close this. dockerswarm/swarm:master is good enough for me, thanks :-)


roblox-player: update .desktop icon sha

Untested. Firefox says the new image is a WebP, which might break things if it wasn't before.
Would it be a good idea to host these .desktop icons in some place less volatile than a wiki?

Yeah I've thought about storing the images somewhere else, but I have no idea of a good image hosting service. (Discord CDN? lol)

My bad, I didn't properly specify how it should be:
-  icon = builtins.fetchurl {
+  icon = builtins.fetchurl rec {
     url = "https://static.wikia.nocookie.net/logopedia/images/1/1e/Roblox_2022_%28Icon%29.png/revision/latest/scale-to-width-down/200?cb=20220831193228";
-    name = "roblox-player.png";
-    sha256 = "0a40sp5va7bfnkwdq9ass22d72ssmfsr3b2861204rbc8salhabg";
+    name = "roblox-player-${sha256}.png";
+    sha256 = "0gjkzcs05l45034q7g6r7s1983pkx83wgynqdabgdvh03jh1wx0j";

Looks like it should be possible to link a specific revision rather than latest like in the URL currently in the PR but I can't work out how to open the proper mediawiki file page to get the link on wikia, maybe they turned it off for logged out users.

It's good. But don't forget to git push --force-with-lease.

I've decided to move all icons to user-images.githubusercontent.com in https://github.com/fufexan/nix-gaming/commit/9f96bd578ee5c1511535adccd295383d79fb791d.
Closing this commit, but thanks for the ideas!


[Microblocks] Update txid page

Individual transactions

Update to the title to show the state (pending, in microblock, or in anchor block): https://www.figma.com/file/31q1g27k69z1yXb6r6vrRD/Explorer?node-id=2847%3A1198
Add component to show historical state changes: https://www.figma.com/file/31q1g27k69z1yXb6r6vrRD/Explorer?node-id=2847%3A878 (this will be used in the transactions details view on the web wallet too)
If included in anchor block, show number of anchor block confirmations since: https://www.figma.com/file/31q1g27k69z1yXb6r6vrRD/Explorer?node-id=2847%3A878

Test passed for the first two use case.
Note:
If included in anchor block, show number of anchor block confirmations since: https://www.figma.com/file/31q1g27k69z1yXb6r6vrRD/Explorer?node-id=2847%3A878 will not be implemented as it may be confusing for user


Have child action inherit secrets

Description
Makes the call to the generate docs action inherit the secrets from the release action context. This should allow the generate docs action to run standalone and as a child action
Checklist
General

[x] Added the correct label: < feature | bug | dependencies | infrastructure | ignore-for-release >

Covered by #4587


Implement re-negotiation

Relates to #207

Codecov Report

Merging #1003 into master will increase coverage by 2.31%.
The diff coverage is 75.67%.

@@            Coverage Diff            @@
##           master   #1003      +/-   ##
=========================================
+ Coverage   74.39%   76.7%   +2.31%
=========================================
  Files          66      60       -6
  Lines        5003    4375     -628
=========================================
- Hits         3722    3356     -366
+ Misses        959     739     -220
+ Partials      322     280      -42

Flag
Coverage Δ

#go
76.7% <75.67%> (+0.03%)
:arrow_up:

#wasm
?

Impacted Files
Coverage Δ

rtptransceiver.go
60.97% <100%> (+40.97%)
:arrow_up:

peerconnection.go
71.11% <56.79%> (-2.08%)
:arrow_down:

sdp.go
82.16% <82.16%> (ø)

peerconnection_js.go

datachannel_js_detach.go

iceserver_js.go

js_utils.go

datachannel_js.go

settingengine_js.go

api_js.go

... and 1 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 05238e4...a5572b6. Read the comment docs.

@at-wat this is a brutally large PR (sorry about that) we had lots of code that worked with SDPs that would never work with re-negotiation :(
I can break this into smaller PRs, or add more test coverage to make this easier to review! I also will be writing another example that shows AddTrack/RemoveTrack usage with people joining/leaving a conference call. I can put that in this PR as well, but will take me another day though.

I am not sure about AddTrack/RemoveTrack during negotiation. I will add a test!
startRenegotation and startTransports take a copied list of transceivers. We should probably make all the PeerConnection APIs take a global lock, there is no reason to be doing this stuff concurrently. I don't see a performance benefit vs the possible bugs it could cause.
But not really sure! Haven't thought about it deeply.


CONTRIBUTING.md: Corrected slack channel/s in support channels

Only actual change is Slack channels under support channels

Just need to sign the CLA and it's good to go! Thanks.

CLA is signed


Migrate to the new developer api

Blizzard launched new api portal.
https://develop.battle.net/documentation/guides/migration-guide

The old API portal will work until January 6th in 2019 for anyone in possession of an API key. From my understanding it will not be possible to create a new API key if you don't already have one.
The real difference between the old and new API portals is the new portal requires OAuth authentication. This will require a Client ID and Client Secret. We could add an option to the ApiConfiguration for the time being which allows the user to use OAuth will all necessary values such as redirect uri, scopes & etc. Depending on this value the Reader will choose to either retrieve tokens when appropriate (OAuth) or use the API key. And then we can force it to OAuth at January 6th and forward.
We also need to implement an OAuth flow, which might potentially mean requiring a database in order to store user-specific access tokens.

Working on this, my issue right now is that I am getting authentication error when requesting an access token. Will look into more of this, if you have useful info on how to do the authentication correctly please tell me.

Note the following:

The request must be done using HTTPS (e.g. https://us.battle.net/oauth/token)
The body must contain the key grant_type with value client_credentials
The Content-Type of the body has to be x-www-form-urlencoded as per the standards of OAuth 2.0
The client id and client secret needs to be passed as Basic authentication where the id represents the username and the secret the password (see Basic authentication)

Yeah, I managed to get that working. Will finish it soon (hopefully)

#38


giveBlock air crashes the game

How to reproduce

Start a game
Type giveBlock air in console

Game should crash and loading the saved game should crash the game again.
Perhaps an easy fix. There is a need to filter out the "engine:air" block in console command giveBlock as suggested by @Cervator.

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/38250904-giveblock-air-crashes-the-game?utm_campaign=plugin&utm_content=tracker%2F5279&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F5279&utm_medium=issues&utm_source=github).

Hi, I was unable to reproduce the issue, could it be platform specific? I'm running this on Mac OS Sierra.
When I tried giveBlock air, it just responded with "You received 16 blocks of Air" and continued but with an empty hand.

It happens when you pick up an air block. #2466

Thanks for chiming in @MercuryHunter and appreciate the reminder @pollend - I do remember that issue coming up.
We could treat this issue as just covering the ability to get an air block via console, and still approach a better fix for #2466 - maybe we can catch that one where it attempts to use a mesh for any air block or perhaps other weird/meshless things?

Interesting bit of information : I tried the command while having the hotbar full, it just gave me 16 blocks of air. I tried to look in the inventory to look at them and only then did it crash.

Alright, I've managed to find the reason for this specific block having problems.
The block itself can't get a mesh event though the game tries to give it one because the block family doesn't have a meshGenerator, and that in turn is because the it's "invisible". I mean, it makes sense for the "invisible" value to be there ( could be used for other purposes as well [maybe AI?] ), but preventing invisible blocks from having a meshGenerator... dunno


Jb on Uncover 3.5.3/3.5.5 doesn't works

Hi, I have issues with JB on both Uncover 3.5.3/3.5.5
when I do jb it stays on 1/31 and hangs or reboots and remains locked on black screen for a long time without the loading wheel and then starts up without having correctly executed the jb, I have tried several times and everytime iPhone boot without jb.
I hope it will be fixed, in the meantime what can I do? Thanks in advance.
iPhone 7 (iPhone 9.1) iOS 12.4

I downgraded to 3.5.2 version and still happens, I don't know what I can do :c

Try to enable/disable Airplane Mode/Wifi, altough it‘s suggested to turn them off. For me it works better if they are actually turned on.

Already done but doesn't work

All this happens since I updated to 3.5.5, now I put again 3.5.2 but I have issues equally

Now suddenly works 🤔

Next time this happens, try changing the exploit opposite (sock port/puppet)

@IMS212 i used puppet, I will try, it is present on 3.5.2?

Mh no there isn't, so I have 2 way:
To try other u0 versions
Restore rootfs

Same on the last version of unc0ver on the v5.5.2 I have had no issue but I than got the 1/31 after trying the newer versions, I’m also on iphone 7, what I do is remove everything from switcher airplane enabled, open wait 10 seconds than jailbreak it doesn’t fix the 1/31 just reduces it.
But still on the newer versions wasn’t able to jailbreak.

Also get ton of respring crashes and reboots suddenly, tweaks are compatible with my ios version (12.4)

I fixed wit restore rootfs and reinstalling tweaks manually, not with batchtomatic
It was a problem of badly installed tweaks

Nothing, issues still persist also Reinstalling tweaks by hand

@pwn20wdnstuff


MinMaxScaler -- not fitting entire min/max values?

In the code
# scale the feature MinMax, build array
x = df_train.loc[:,train_cols].values
min_max_scaler = MinMaxScaler()
x_train = min_max_scaler.fit_transform(x)
x_test = min_max_scaler.transform(df_test.loc[:,train_cols])

You are scaling the min/max from the train values and then fitting the test. What if the maximum value of X is higher in test vs train? How will it work in x_test after the transformation? The value will be more than 1 for the maximum X in test set which was higher than Xmas in train ?
Thanks
Mudit

yes, that's what happens while min-max scaling. You can easily verify this for yourself like this:
Here MinMaxScaler "fits" on each column of x1 and transforms x2. As you can see the values less than minimum value of source (x1) becomes -ve (check (3,0) of scaled_x2). The idea is to not let the trained model see whole data.


setting relative path in rrd providers will break facette in many different ways

I wanted to try relative path in path of a rrd connector. I was surprise to hit several critical bugs:
In the process of trying to circumvent #239. I started to try relative paths as the path in the connector part of providers configuration. I noticed:

facette then use the CWD of the process as base (this should be changed).
values as . seems to mess with the regular expression used to infer source names.
using other values gives many weird (bad) answers:

.. seems to make it go along a infinite recursive call,
../db will cast:

2015/07/29 06:45:51 ERROR: provider: collectd-local: unable to refresh: lstat ../etc/modules-load.d/../modules: no such file or directory

empty value will cast:

2015/07/29 06:51:06 ERROR: provider: collectd-local: unable to refresh: stat : no such file or directory

This makes me think that it seems this path variable is used in too many places and should not break so easily facette.
At least a reasonable check should be done to forbid insane values.

Hi Valentin,
I fixed some issues with relative paths handling in the RRD connector, see 6c1e2cd4922c0209c40ace313d798f7457d5d13d.
Using either an empty value, . or .. paths shouldn't break sources and metrics names detection anymore.

Why was this re-opened ? Seems to be related to 239 referencing this... Anyway, I couldn't confirm this was working until recently (because of 239). And this worked in my small test case. Thanks.


Modifier -> SwiftUI -> System events: userActivity(:isActive::)

Doc: https://developer.apple.com/documentation/swiftui/view/useractivity(:isactive::)

[ ] Swift implementation
[ ] Elixir implementation

According to the @supernintendo @carson-katri @shadowfacts we won't support this


Offset parameter to Panel and Stiffener

This request is so that OCX Schema complies with Panel and Stiffener objects in 3DExperience(Catia) and the common practice when using SFD application in 3DExperience.

Support for Offset parameter to Panels:
Offset to have a meaning such that it allows a movement of the panel off the plane it lies in.

Also the currently existing parameter "Offset" on Stiffeners appears more like a thickness compensation.
Could that parameter be renamed and Offset be added to Stiffener instead to have a meaning such that it allows movement of the Stiffener sideways along the panel, i.e. in direction normal to the plane in which the Stiffener lies.

Offset to a plane is also found in NAPA and AVEVA (at least for plates)


It seems that the code for "SemGraphConv" is different from the paper

hi,  thank you for your releasing code, that's great.
I have some question about the graphConv operation.
It seems that  Eq. 2 in the  paper performs F.softmax(M * A), however, in the releasing code, it performs F.softmax(A) * M.  Is there any difference, and which one is better?

HI, I also have a question about Eq.3 which is different from the code.
`
h0 = torch.matmul(input, self.W[0])
h1 = torch.matmul(input, self.W[1])
    adj = -9e15 * torch.ones_like(self.adj).to(input.device)
    adj[self.m] = self.e
    adj = F.softmax(adj, dim=1)

    M = torch.eye(adj.size(0), dtype=torch.float).to(input.device)
    output = torch.matmul(adj * M, h0) + torch.matmul(adj * (1 - M), h1)

`

hi, thank you for your releasing code, that's great.
I have some question about the graphConv operation.
It seems that Eq. 2 in the paper performs F.softmax(M * A), however, in the releasing code, it performs F.softmax(A) * M. Is there any difference, and which one is better?

Hi @trumDog
The releasing code is implemented following Eq. 2 in the paper. However, the notations are different.
The 'M * A' in Eq. 2 in the paper is implemented by:
adj = -9e15 * torch.ones_like(self.adj).to(input.device) adj[self.m] = self.e
While the 'M' in the code is an identity matrix which implements Eq. 9. Please check Sect. A.2 (page 12) in https://arxiv.org/pdf/1904.03345.pdf
Best,
Long

Hi, I also have a question about Eq.3 which is different from the code. The paper says that M(M_d in paper) is a learnable parameter, but in the source code you published, M is not a learnable parameter.

    h0 = torch.matmul(input, self.W[0])
    h1 = torch.matmul(input, self.W[1])

    adj = -9e15 * torch.ones_like(self.adj).to(input.device)
    adj[self.m] = self.e
    adj = F.softmax(adj, dim=1)

    M = torch.eye(adj.size(0), dtype=torch.float).to(input.device)
    output = torch.matmul(adj * M, h0) + torch.matmul(adj * (1 - M), h1)

Hi @fabro66
The notations are not the same.
The 'M' in the code is an identity matrix which implements Eq. 9 in Sect. A.2 (page 12) in https://arxiv.org/pdf/1904.03345.pdf
While 'M * A' in the paper is implemented by:
adj = -9e15 * torch.ones_like(self.adj).to(input.device)
adj[self.m] = self.e

in models/sem_graph_conv.py, and self.e (which represents all non-zero elements of M in the paper) is learnable here.
BTW, Eq. 2 is implemented in models/sem_graph_conv.py, and Eq. 3 is implemented in models/sem_ch_graph_conv.py
Best,
Long

@garyzhao Thank you for your reply, I got it.  I still have a question about Figure 6 in Appendix. A.
In h36m_dataset.py the group joints used in non_local blocks are defined as:
h36m_skeleton_joints_group = [[2, 3], [5, 6], [1, 4], **[0, 7]**, [8, 9], [14, 15], [11, 12], [10, 13]],
I just cannot find which joint stands for the 'Spine' joint (index 7), and I saw  there is a circle between 'Pelvis' (index 0) and 'Thorax' (index 8), does 'Spine' and 'Thorax' represent the same joint?

@trumDog Please check the attached picture. It shows the original indexes (17 joints, in [*]) defined in this repo. Then in order to align with the output of Hourglass, we remove the neck joint, and the new joint indexes become the ones in blue cycles. And these indexes are employed to define the h36m_skeleton_joints_group. So 'Spine' and 'Thorax' are not the same here.
Please note that the joint names in this repo are a little bit different than the ones in the paper. The ones in the paper are defined according to "Compositional Human Pose Regression, ICCV 2017".

@ That's great, thank you very much!

@garyzhao That's great, thank you very much!

@garyzhao Maybe 'Neck' in Figure 6. left  in the paper should be replaced by 'Spine'

@garyzhao Maybe 'Neck' and 'Thorax' in Figure 6. left in the Appendix should be replaced by 'Thorax' and 'Spine', respectively.

Hi, I also have a question about Eq.3 which is different from the code. The paper says that M(M_d in paper) is a learnable parameter, but in the source code you published, M is not a learnable parameter.

    h0 = torch.matmul(input, self.W[0])
    h1 = torch.matmul(input, self.W[1])

    adj = -9e15 * torch.ones_like(self.adj).to(input.device)
    adj[self.m] = self.e
    adj = F.softmax(adj, dim=1)

    M = torch.eye(adj.size(0), dtype=torch.float).to(input.device)
    output = torch.matmul(adj * M, h0) + torch.matmul(adj * (1 - M), h1)

Hi @fabro66
The notations are not the same.
The 'M' in the code is an identity matrix which implements Eq. 9 in Sect. A.2 (page 12) in https://arxiv.org/pdf/1904.03345.pdf
While 'M * A' in the paper is implemented by:
adj = -9e15 * torch.ones_like(self.adj).to(input.device)
adj[self.m] = self.e

in models/sem_graph_conv.py, and self.e (which represents all non-zero elements of M in the paper) is learnable here.
BTW, Eq. 2 is implemented in models/sem_graph_conv.py, and Eq. 3 is implemented in models/sem_ch_graph_conv.py
Best,
Long

Great work~ Thank you very much!


Wrong syntax highlighting for TypeScript

VSCode Version: 1.20.1
OS Version: Ubuntu Desktop 17.10

Steps to Reproduce:

This code produces wrong color for the second "static" member (and more).

class Foo {
    static a(): void {
        let foo = true ? new String : ""
    }

    static b(): void {
        // wrong
    }
}

Comment the line let foo = true ? new String : "" and highlighting will be correct again

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

This issue was moved to Microsoft/TypeScript-TmLanguage#573


How did you generate the partial_info_data

How did you generate the partial_info_data (1%, 5%, 10%, 20%)? For example, for the 1% data, did you take the first 1% of the info from the complete info.pkl file and split it into the top 1% and the last 99% of the pkl file? Or did you randomly sample 1% of the total amount of samples?

Hi, we uniformly downsampled the data in a frame level, like
data[::interval]
On Mon, 1 Jul 2024 at 09:49, fdy61 @.***> wrote:

How did you generate the partial_info_data (1%, 5%, 10%, 20%)? For
example, for the 1% data, did you take the first 1% of the info from the
complete info.pkl file and split it into the top 1% and the last 99% of the
pkl file? Or did you randomly sample 1% of the total amount of samples?
—
Reply to this email directly, view it on GitHub
https://github.com/yinjunbo/SSDA3D/issues/7, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHCPIYOI326R6JV3TXA3L5LZKD3WFAVCNFSM6AAAAABKE5O2UKVHI2DSMVQWIX3LMV43ASLTON2WKOZSGM4DEOJZGEZDAMA
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Thanks.  And What are the versions of TensorFlow and waymo-open-dataset-tf you are using? Also, what are your Python and PyTorch versions? I am encountering difficult environment issues.

Thanks. And What are the versions of TensorFlow and waymo-open-dataset-tf you are using? Also, what are your Python and PyTorch versions? I am encountering difficult environment issues.

Hello. Sorry for the late response. This project was done during my internship at Inceptio and I finished the internship at 2023, so I couldn't check the exact environment anymore. But I remember that the OpenPCDet version was v0.5.2, maybe you can check the Readme of OpenPCDet v0.5.2 to reconstruct the environment. What's more, there is a difference in the channel permutation between SpConv 1.x and 2.x which may cause the pretrained weights unable to load. Hope this can help you.

Thank you. I have solved it before.


Query takes too much memory

Even limiting object cache to the default (512mb), the following query is getting all 16GB on my machine.
SELECT c.commit_hash,
	LANGUAGE(f.file_path) as lang,
	SUM(ARRAY_LENGTH(SPLIT(f.blob_content, "\n"))-1) as lines
FROM ref_commits rc
NATURAL JOIN commits c
NATURAL JOIN commit_files cf
NATURAL JOIN files f
WHERE rc.ref_name = 'HEAD'
	AND f.file_path NOT REGEXP '^vendor.*'
	AND NOT IS_BINARY(f.blob_content)
GROUP BY LANGUAGE(f.file_path)
ORDER BY c.commit_author_when

Even if you limit the cache, that does not mean gitbase is not gonna keep every single blob content in memory.
Both group by and order by compute absolutely all rows and then perform their aggregations, keeping every single row (including the whole blob_content) in memory. If you have a big amount of repositories, this does not look surprising at all.

The last query is getting the same amount of memory.

Oops, it was without the order by
SELECT lang, SUM(lines) AS lines
FROM (
    SELECT LANGUAGE(f.file_path, f.blob_content) as lang,
        (ARRAY_LENGTH(SPLIT(f.blob_content, "\n"))-1) as lines
    FROM ref_commits rc
    NATURAL JOIN commits c
    NATURAL JOIN commit_files cf
    NATURAL JOIN files f
    WHERE rc.ref_name = 'HEAD'
        AND cf.file_path NOT REGEXP '^vendor.*'
        AND NOT IS_BINARY(f.blob_content)
) t
GROUP BY lang

Shall we close this, then?


add simple mocha tests

asserting the most basic cases

==
OR
AND

getting some errors in the older node versions

> mocha test/index.js
/home/travis/build/jslicense/spdx-satisfies.js/node_modules/mocha/bin/mocha:10
const spawn = require('child_process').spawn;
^^^^^
SyntaxError: Use of const in strict mode.
    at exports.runInThisContext (vm.js:73:16)
    at Module._compile (module.js:443:25)
    at Object.Module._extensions..js (module.js:478:10)
    at Module.load (module.js:355:32)
    at Function.Module._load (module.js:310:12)
    at Function.Module.runMain (module.js:501:10)
    at startup (node.js:129:16)
    at node.js:814:3

@kemitchell do you have a preference here?

@dabutvin Have a look at scripts.test in package.json. This package has basic tests, and many more, in its README.

ahh. I see. never seen that before. cool!


jasonpatch add is not interpreted correctly

At the moment you interpret op:"add" as $push, however add is used for plain properties as well as arrays, and for the cases where $push is the correct method the path needs to change.
for example:
if the input object is {name:"alice", children: ["bob","charlie"]}
[op: "add", path: "/spouse", value: "dave"] is equivalent to {$set: {spouse: "dave"}}
[op: "add", path: "/children/1", value: "eve"] is equivalent to {$push: {children: {$each: ["eve"], $position:1}}}
[op: "add", path: "/children/-", value: "eve"] is equivalent to {$push: {children: "eve"}}
see here and here

Does anyone have thoughts on how this could be solved. It seems right now you would have to query the data to find out if you should use $set or $push.

You could document that integers and - is expected to be an array and everything else is expected to be a property.

@tellnes that is exactly what I ended up doing for the project I'm currently working on, but in this case I'm also in full control of the form of the documents so I can ensure that this is always a valid assumption.    Without knowledge of the data I can't see what else could be done as there just isn't enough information.

Maybe not the best solution but this seems to work ok:
6,11c6,18
<       if(!update.$push) update.$push = {};
<       if(!update.$push[path]) {
<         update.$push[path] = p.value;
<       } else if (update.$push[path]) {
<         if(!update.$push[path].$each) {
<           update.$push[path] = {$each : [update.$push[path]]};
---
>       if (path.split('.').length < 2){
>         if(!update.$set) update.$set = {};
>         update.$set[toDot(p.path)] = p.value;
>       }
>       if(path.split('.').length > 1){
>         if(!update.$push) update.$push = {};
>         if(!update.$push[path]) {
>           update.$push[path] = p.value;
>         } else if (update.$push[path]) {
>           if(!update.$push[path].$each) {
>             update.$push[path] = {$each : [update.$push[path]]};
>           }
>           update.$push[path].$each.push(p.value);
13d19
<         update.$push[path].$each.push(p.value);

@kyv could you create a pull-request for this?

Believe this is now fixed w #7 shipping in 0.4.0. Please feel free to reopen though.

This doesn't seem to work getting mongo patches being created like so
{ '$push': { 'ArrayName.-': 'some value' } }
It is retaining the '.-' append character and failing with mongo error 16837


Segmented analysis

Initial commit of dataset and sample notebook for heatmapping visualization using segmented admin boundary risk exposure datasets from Sust Global.

Merging! Thanks @taylorjandrews  for your help on this


Why not use the PowerShell SSL module on windows???

[Enter feedback here]
I wonder why the PowerShell SSL module is not used for Windows. If there is a good reason apart from mirroring the Linux method, it would be nice to see it mentioned in the beginning of the article.

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

ID: 869192a9-b222-7355-f5e5-fe2c72a62a03
Version Independent ID: 1581b3d6-9aa5-eea5-0d44-dccd67bad8d8
Content: Create test certificates - Azure IoT Edge
Content Source: articles/iot-edge/how-to-create-test-certificates.md
Service: iot-edge
GitHub Login: @kgremban
Microsoft Alias: kgremban

@Tarjei-stavanger Thanks for the feedback! I have assigned the issue to the content author to evaluate and update as appropriate.

@Tarjei-stavanger By "the Powershell SSL module" do you mean this: https://www.powershellgallery.com/packages/OpenSSL/1.0.0? Or something else?

Yes, that is correct.

Thanks for clarifying. The short answer to your original questions is that I didn't know this module existed. But I'll check it out and see how it fits into our scenario.

You might also want to look into the certificate provider for moving or copying certificates.

The way you secure that page is annoying to put it mildly.
There is no way I'm going to make a suggestion with that setup.

Thank you again for the feedback. While your suggestions may be more optimal, there's nothing functionally wrong with the documentation as it is currently. We'll take this into consideration as a future enhancement. For now, I'll close this issue.
#please-close


Port Powershell based Hyper-V API to WMI

We're currently using Powershell Hyper-V cmdlets to manage Hyper-V.  This is slow and clunky and it looks like there are alternative APIs:
https://learn.microsoft.com/en-us/windows/win32/hyperv_v2/windows-virtualization-portal
https://learn.microsoft.com/en-us/previous-versions/windows/desktop/virtual/using-the-virtualization-wmi-provider
and here are some Hyper-V WMI samples:
https://github.com/microsoft/Windows-classic-samples/tree/main/Samples/Hyper-V
Here's an overview of WMI for .NET:
https://learn.microsoft.com/en-us/archive/msdn-magazine/2002/may/wmi-and-net-system-management-lets-you-take-advantage-of-wmi-apis-within-managed-code

Here's the inventory of operations we'll need to port:

[ ] Resize-VHD
[ ] SetVM-Name
[ ] New-VHD
[ ] Add-VMHardDisk
[ ] Set-VM-CheckpointType
[ ] Set-VMProcessor
[ ] Set-VMNetworkAdapter
[ ] Remove-VM-Name
[ ] Get-VM
[ ] Start-VM
[ ] Save-VM
[ ] Mount-VHD
[ ] Dismount-VHD
[ ] Optimize-VHD
[ ] Add-VMDvdDrive
[ ] Remove-VMDvdDrive
[ ] Get-NetAdapter
[ ] New-VMSwitch
[ ] New-NetIPAddress
[ ] New-NetNAT
[ ] Remove-VMSwitch
[ ] Remove-NetNAT
[ ] Get-VMNetworkAdapter
[ ] Get-NetNAT
[ ] Get-NetIPAddress

I'm starting to learn my way around WMI and it looks like things are a bit more complicated at the WMI level as opposed to the PowerShell cmdlets.  For example, Hyper-V switches are abstracted by PowerShell to have switch types (External, Internal, and Private) where as this is not a intrinsic property exposed by WMI switches.
It looks like the PowerShell and Hyper-V Manager UI also handles things like managing switch ports and their connections to VM network adpators, which we'd need to do as well.
All of this is possible, but this is not really a priority right now; we need to ship neonKUBE and the PowerShell approach has been working since 2016.
I'm puting this back into deep-freeze.

This guy has figured this out:
https://github.com/jscarle/HyperV.NET
by using ILSpy to decompile the Hyper-V cmdlets:
https://learn.microsoft.com/en-us/archive/blogs/luisdem/get-the-source-code-of-the-powershell-cmdlets
So this task should be much easier now, since I just need to replicate what a few cmdlets are doing.
I'm moving this from deep-freeze to the public release.

I've reopened this because this is really impacting neon-desktop CPU utilization and it's just bad to have include PowerShell in the installer, which bloats the installer size by 100MB and the on-disk footprint by 300MB.

DONE: This was a real head-banger but it's finally working now.
I ended up using ILSpy to decompile the Hyper-V related cmdlets, modify them a tiny bit, and then include them in the Neon.HyperV library, calling them directly using PowerShell runspaces.
Other than losing perhaps a week to COVID, I encountered what I thought was one problem that were actually a handful of unrelated problems (which was confusing).

I initially installed and used the latest stable version of ILSpy, but it clipped file name segments to just 30 characters which effectively caused some of the ILSpy decompled files to be overwritten.  It turns out that the latest pre-release ILSpy release fixed that, but it took me a day or to to figure out.

I also decompiled the .NET Framework version of the Hyper-V cmdlets (for PowerShell 5.0) and that resulted in some compilation and other conflicts.  This took another day or so to figure out.

It looked like basic Hyper-V cmdlets were working in new neonSDK unit tests, but when I ran the VM tests 100 times, I saw that maybe 1 out of 5-6 tests were hanging.  I thought that I wasn't invoking the cmdlets correctly, but after a couple of days, I realized that there were other problems:

Virtual machines aren't always ready to accept a command (e.g. when a previous command is still in progress).  I fixed this by spinning until the VM reports being ready.  This can result in the VM getting stuck in a weird state where it doesn't respond to PowerShell command or even the Hyper-V Manager UI, leaving killing the VM process the only way to move on.
Virtual machine operations don't always complete synchronously.  The fix was to wait for the operations to complete in my code.
Graceful VM shutdown didn't work sometimes, leaving the VM running and the unit test hanging due to waiting for the VM to stop, which never happened.  The unit test case starts and then nearly immediately stops the VM.  I believe the problem here is due to the guest integrations services on the VM not having the chance to start before the unit test sends the shutdown signal, resulting in the signal being lost.  The workaround here was to continue periodically shutting down the VM while waiting for it to actually stop.  This assumes that sending multiple shutdown signals won't cause a problem (which seems to be the case).
One unit test inserted and then immediately ejected a DVD ISO file.  This would also hang.  The workaround here was to record the time when the DVD was inserted and then before commanding the eject, I'd compare that current time to insert time and then pause long enough for at least 5 seconds has elapsed between the insert and the eject.  This seems like a Hyper-V issue.

I believe a lot of these problems were also possible with the old PowerShell implementation, but that the slowness of that approach masked these problems.


[MISC]  - allow to wrap urls in cdata #103

If cdata is true allow a url that is wrapped in cdata.
https://github.com/ekalinin/sitemap.js/issues/103

Thanks!


critical alerts no longer working

When the alarm is triggered, the critical alerts that were received by the homebridge / home kit no longer seem to be firing. Not sure if this is a plugin issue or an issue with home bridge.

disregard


Axis Handle Gizmo letters at wrong positions when editor display scale is below 100%.

Godot version
v4.0.alpha2.official [79077e6c1]
System information
Windows 11, Vulkan, Nvidia GeForce RTX 2060 Max-Q
Issue description
When the display scale is set below 100%, the letters on the Axis Handle Gizmo offset themselves away from the center of their respective handles. This only seems to happen when the display scale is smaller than 100, not at 100 or larger. Here is an image:

Note that I have a 16:9 1920x1080p display, so my screen is not high-DPI.
Steps to reproduce

Open Godot Editor
Create a Node3D scene
Go to Editor > Editor Settings
Set Editor > Display Scale to 75% or custom and set Custom Display Scale below 1

Minimal reproduction project
No response

I can't confirm this on 3.x 6073277cc (75% editor scale):

This issue only affects the master branch.


Feature/1370 entity timestamps

What this PR changes/adds
Adds a createdAt timestamp to all entities, and a lastUpdatedAt timestamp to all mutable entities as per the decision-record (#1767)
Why it does that
have traceability and history
Further notes

the PolicyDefinition got moved from policy-evaluator to policy-spi, otherwise it could not have subclassed Entity.

Linked Issue(s)
Closes #1370
Checklist

[ ] added appropriate tests?
[ ] performed checkstyle check locally?
[ ] added/updated copyright headers?
[ ] documented public classes/methods?
[ ] added/updated relevant documentation?
[ ] assigned appropriate label? (exclude from changelog with label no-changelog)
[ ] formatted title correctly? (take a look at the CONTRIBUTING and styleguide for details)

Codecov Report

Merging #1771 (8a03943) into main (b76a91b) will decrease coverage by 6.37%.
The diff coverage is 37.79%.

@@             Coverage Diff              @@
##               main    #1771      +/-   ##
============================================
- Coverage     67.63%   61.26%   -6.38%
- Complexity        0     3225    +3225
============================================
  Files           792      797       +5
  Lines         16934    17014      +80
  Branches       1076     1080       +4
============================================
- Hits          11454    10423    -1031
- Misses         5017     6173    +1156
+ Partials        463      418      -45

Impacted Files
Coverage Δ

.../contract/offer/ContractDefinitionServiceImpl.java
100.00% <ø> (ø)

...lts/policystore/InMemoryPolicyDefinitionStore.java
100.00% <ø> (ø)

...clipse/dataspaceconnector/policy/model/Policy.java
81.15% <ø> (ø)

...onnector/policy/model/PolicyRegistrationTypes.java
0.00% <ø> (ø)

...nagement/policy/PolicyDefinitionApiController.java
93.10% <ø> (ø)

.../policy/service/PolicyDefinitionEventListener.java
100.00% <ø> (ø)

...nt/policy/service/PolicyDefinitionServiceImpl.java
95.23% <ø> (ø)

...smos/policy/store/CosmosPolicyDefinitionStore.java
97.61% <ø> (ø)

...econnector/cosmos/policy/store/PolicyDocument.java
100.00% <ø> (ø)

...taspaceconnector/sql/assetindex/SqlAssetIndex.java
0.00% <0.00%> (-80.19%)
:arrow_down:

... and 69 more

Help us with your feedback. Take ten seconds to tell us how you rate us.


fix: update position indexes

Co-authored-by: Batuhan Apaydın<EMAIL_ADDRESS>Co-authored-by: Furkan Türkal<EMAIL_ADDRESS>Signed-off-by: Erkan Zileli<EMAIL_ADDRESS>cc: @developer-guy @Dentrax
Summary
Some of the page orders didn't seem right so we fixed the position indexes of documents.
Some of the problematic indexes are right below.

Whoa sorry for missing this!


Clicking on questions on the question list page asks the user to sign in.

I clicked on a question to see details and it took me to login page. That's weird.

Thanks for resolving this.


Minor cleanups of old editor related files

no issue

remove unused markdown/preview helper and component
fix blank PSM meta description placeholder

Coverage increased (+0.2%) to 75.456% when pulling d2053f70383dc221efff8713725d26fed858ee9c on kevinansfield:old-editor-cleanup into d2449ea5df0b2a38fac248e16ca39baf6dbb8c89 on TryGhost:master.


Proxy error

Issue Type: Bug
In VS code I am unable to use internet but internet works on my Visual Studio and browsers.
Extensions POPULAR tab shows error as

We cannot connect to the Extensions Marketplace at this time, please try again later.

When I click on Help -> Check for Updates... getting elow error

net::ERR_PROXY_CONNECTION_FAILED
Source: Update Service

When I click on Check for Extension Updates below error is shown

XHR failed

VS Code version: Code 1.52.1 (ea3859d4ba2f3e577a159bc91e3074c5d85c0523, 2020-12-16T16:34:46.910Z)
OS version: Windows_NT x64 10.0.17134

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-6600U CPU @ 2.60GHz (4 x 2808)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: disabled_offopengl: enabled_onprotected_video_decode: unavailable_offrasterization: enabledskia_renderer: disabled_off_okvideo_decode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
31.88GB (23.02GB free)

Process Argv
--crash-reporter-id 086150dc-7a3b-4b9b-b392-9edc648f5ed1

Screen Reader
no

VM
0%

Extensions (1)

Extension
Author (truncated)
Version

go
gol
0.22.0

Could you start VS Code with --log-net-log=netlog.json, retry the failing feature and then post the created netlog.json here?

Please find below required file.
netlog.zip

You seem to have a proxy config script at http://<IP_ADDRESS>:9000/systemproxy-1612521890.pac that returns coiagb1:9400 as the proxy and that hostname coiagb1 does not resolve to an IP address using your DNS config.
What do you get for nslookup coiagb1 on the command line? What is in http://<IP_ADDRESS>:9000/systemproxy-1612521890.pac?

http://<IP_ADDRESS>:9000/systemproxy-1612521890.pac is proxy set by my organization. With this proxy enabled, I am able to user internet and other application except VS Code.
P.S. other people with same proxy set able to use VS Code without any issue.
Below is the result of nslookup coiagb1

nslookup did not return an IP address for the proxy, so your machine has no way of reaching the proxy. This seems to be an issue with your local DNS forwarder (that could be part of your VPN client or some other network software).
Is there an entry for coiagb1 in C:\Windows\System32\drivers\etc\hosts by any chance?

No entry of coiagb1 in hosts file.

Can someone with the same setup where this is working check what the output of nslookup coiagb1 is?


Please include more information about Compromised User report

Can you share further details on the guidelines for restricting or considering users compromised?

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

ID: 69178933-1820-f17d-5efd-0ba9d55c3654
Version Independent ID: a6766bb0-e49f-f0fe-0d81-67383e22a854
Content: View email security reports in the Security & Compliance Center, Compromised users, Encryption, Threat Protection Status, malware detections, Top malware, spam detection, sent and received email, user reported messages, read reports, detection, security data, security information - Office 365
Content Source: microsoft-365/security/office-365-security/view-email-security-reports.md
Service: o365-seccomp
GitHub Login: @MSFTTracyP
Microsoft Alias: tracyp

@kellybos  Thank you for your feedback. This document pertains to activity reports. If you need details about responding to a compromised account below document will be handy. Let us know.
https://docs.microsoft.com/en-us/microsoft-365/security/office-365-security/responding-to-a-compromised-email-account?view=o365-worldwide
Thanks
Sri

@kellybos  - Thank you for submitting feedback.
From our understanding, the issue you raised has been answered by msbemba so we will close this issue.
Thank you for your contribution to make the docs better! Much appreciated!


Fix Groovy Wrapper Logger Warning

Description
Groovy Wrapper currently gives a logger warning whenever it tries to run a git command internally. This PR fixes the warning by importing the sl4fj logger class into the common groovy script.
How to test
Try running groovyw module get <name> with and without the fix. The warning should be gone after the fix.
Note - Make sure to delete the module before re-using the command because the script will skip the git commands and the fix will have no effect in that situation.
The warning is only shown when the groovy script uses the git module.
Result

Before fixing

After fixing

Can one of the admins please verify this patch?

Thanks for the fix! This will be nice to get out of the way :-)
Could you please remove the import org.slf4j.* line (tests out fine without) and rebase? Your commits are pretty messy for a 3 (should be 2) line change. Try avoiding merges and PRs in topic branches/forks - should almost always be able to do clean pulls to avoid merge commits.
@GooeyHub: add to whitelist

Hooray Jenkins reported success with all tests good!

Hooray Jenkins reported success with all tests good!

Merged in 6d1e5ed15d479005e35ad41432f60e4aeb80a9b9


hdt: init at 1.3.3

Added the hdt package in Nixpkgs.
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[x] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Closes: #94670

@peterhoeg done!


Added semi-colon to esp_event_loop_create(...)

Hello, found this semi-colon missing. :).

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


Closes #11 Adding Release CI/CD-Pipeline with Github Actions

I implemented a Release CI/CD-Pipeline with Github Actions.
When pushing to the repository with a tag [0-9].[0-9].[0-9]* the the release event will be triggered. Generating a eumserver.jar, a eumserver.zip and eumserver.tar.gz.
The changelog gets generated automatically and can be configured via a .json file.
Finally it pushes a docker image to Dockerhub. At the moment I put in the details to my Dockerhub test-repo, since I don't know the credentials for the inspectit ocelot Dockerhub repo. This will have to be changed, before merge.

This change is

I didn't have any issues upgrading cyclonedx. Maybe the issue was rather with the URL of the boomerangjs-opentelemetry plugin that was also changed in the same commits?

I didn't have any issues upgrading cyclonedx. Maybe the issue was rather with the URL of the boomerangjs-opentelemetry plugin that was also changed in the same commits?


Fix(web-react): Icon component supports SSR

Description

dangerouslySetInnerHtml does not work while rendering on the server
this Warning: Prop dangerouslySetInnerHTML did not match. error was raised
we can avoid this by wrapping the component with something like <NoSsr>
@see: https://stackoverflow.com/questions/64079321/react-tooltip-and-next-js-ssr-issue
or by using some library like ReactHtmlParser to render HTML string magically as a component
@see: https://www.npmjs.com/package/react-html-parser

Additional context
https://www.npmjs.com/package/react-html-parser
https://github.com/peternewnham/react-html-parser
https://stackoverflow.com/questions/39758136/how-to-render-html-string-as-real-html
https://stackoverflow.com/questions/64079321/react-tooltip-and-next-js-ssr-issue
Issue reference

Before submitting the PR, please make sure you do the following

[ ] Read the Contributing Guidelines.
[ ] Follow the PR Title/Commit Message Convention.
[ ] Provide a description in this PR that addresses what the PR is solving, or reference the issue that it solves (e.g. fixes #123).
[ ] Ideally, include relevant tests that fail without this PR but pass with it.

coverage: 70.571% (-25.9%) from 96.46%
when pulling 55b522d78eb8d911ae726a25df216184f05b3af3 on fix/web-react-ssr-icon
into 4a838f792a1537f756ba3c27bc22b6ca2a15ce16 on main.


error calling delimit: can't iterate over

localhost:myblog luffycheung$ hugo --theme=casper --buildDrafts -- baseUrl="..."
Started building sites ...
ERROR 2017/03/21 00:30:02 theme/partials/semantic.html template: theme/partials/semantic.html:52:19: executing "theme/partials/semantic.html" at <delimit .Params.tags...>: error calling delimit: can't iterate over

Please use http://discuss.gohugo.io/ for questions/troubleshooting. Also see  Hugo Documentation.


Add organization memberships

@reviewbybees

@ydubreuil changed.

:bee:

:bee:

@reviewbybees done.

@ydubreuil @stephenc can I get a merge on this (I do not have permissions in this repo)


Can Lua functions be locale enabled?

How can a Lua function be made locale aware? I have a string processing function that needs to be aware of the language. Ideally the current document output language value would be passed, but even if the system locale value was being obeyed this would work:
local inputfilter = SILE.require("packages/inputfilter").exports
SILE.registerCommand("uppercase", function(options, content)
SILE.process(inputfilter.transformContent(content, string.upper))
end, "Typeset the enclosed text as uppercase")

Currently calling this function from my section typesetter:
SILE.call("uppercase", {}, content)

…on content like this:
\section{Müjdeyi Bilmek}

…turns out this catastrophe:

This is what needs to have happened:

How can I make a document language (or locale) aware string processing function?

If you are on lua 5.3, then utf8 = require("utf8") and use utf8.upper instead of (the dumb, character-by-character, non-UTF8-aware) string.upper.

Also, being locale dependent in not a good idea for typesetting software (change the locale e.g. process the document on a different machine, and you get different output). If some code needs to be aware of the language, it should use the document language.

@khaledhosny Good point.

@simoncozens You sure about that? The Lua 5.3 documentation for the utf8 module does not include a utf8.upper() command at all, nor was I able to get one.
I installed the luarock for lua-utf8 and got utf8.upper() out of it, but I was unable to figure out a way to set the language. As a result it was able to uppercase ü to Ü but not knowing the string was Turkish it transformed i to I instead of İ.
@starwing perhaps you have some input into this?

Sorry, you're right, it's the lua-utf8 module you want. I thought the utf8 library included in 5.3 was compatible, but it's not.
And yes, I don't know of any Lua Unicode library that does full Unicode CLDR-aware case mapping. You would basically need to wrap ICU to get that. The luatex people would love it if you did, too.

Ouch, that burns.
I bludgeoned my way through today's problem with this hacktastic function:
local utf8 = require("lua-utf8")
local inputfilter = SILE.require("packages/inputfilter").exports
SILE.registerCommand("uppercase", function(options, content)
  content[1] = content[1]:gsub("i", "İ")
  SILE.process(inputfilter.transformContent(content, utf8.upper))
end, "Typeset the enclosed text as uppercase")

But long term I guess making the luatex folks happy is on the menu.

Here you go, as of db1afa2:
This is SILE 0.9.4-unreleased
> icu = require("justenoughicu")
> icu.case("ismir", "en", "upper")
"ISMIR"
> icu.case("ismir", "tr", "upper")
"İSMİR"
>

Happy dance!


Updating build to commit https://github.com/mono/mono/commit/1a6e64a9381

@mkArtakMSFT should we turn off automatic updates to mono? This build was triggered as a result of a test change.


Unable to filter recolored chat using a starts with regex

Describe the bug
Recolored chat has a color tag appended to it so trying to filter a message that starts with a phrase for example: ^buy wont match since the message starts with the color tag.
To Reproduce
Steps to reproduce the behavior:

set public chat to a custom color
find a spammer, recommend house portal on party world
filter a message thats getting spammed like ^join
the chatbox message wont be censored but overhead text will

Expected behavior
the message in the chatbox and overhead text to be censored the same way

fixed in 90f200be531b8a899a605521f3e9840de6f9794d


[Feature] add hbase client options HBASE_OPERATION_TIMEOUT

Creating table failed caused by HBASE client operation timeout,  we can add HbaseOptions HBASE_OPERATION_TIMEOUT to fix this problem, the default value of hbase.client.operation.timeout is 12000000(30s) which is not enough for create/drop graph instance.
closed #1885

The default value of hbase.client.operation.timeout is 12000000ms, 20min  ^_^

Thank you for your reminder, it was my negligence. It seems that this problem is not caused by operation.timeout, I will re-check it.
Close this pr.


explain difference between classes and structs - basics/classes

why and when we should pick classes over struct
(reported by @claudiug)

use of struct is "D-ish", because they don't require GC allocation.
Classes are great if you have one instance a couple of time and/or over the lifetime of your application.

This issue was moved to dlang-tour/english#37