feat: update design of ImageExportDialog

This PR updates the design of the image export dialog.

[ ] when opening the dialog while in dark mode, the export preview is in dark mode regardless of the export theme setting

[ ] the settings buttons should have dark mode styling (when in dark mode)

same for this border:

[ ] the export buttons should have :hover and :active styling

[ ] same with at least the scales radio buttons (later we should do so with the toggle buttons as well, but we'll need to figure out the design for it)

[ ] let's make all the buttons' outline CSS only on :focus-visible (change from production)

[ ] present in production, but let's fix this and make sure the buttons prevent user selection

[ ] the preview should fill preview container (with some padding), as long as the exported content is big enough (i.e., do not scale the preview above 100% of the actual content size). You can check how it behaves in production.

Thanks for the feedback! I implemented all of those changes. Here is the final look:

A few more tiny things:

[ ] let's keep the preview container padding from production, which used:
--preview-padding: calc(var(--space-factor)*4);
padding: var(--preview-padding);
box-sizing: border-box

[ ] something wrong with the padding rendering of the radio buttons container, when it's just 1px. Chrome sometimes misaligns vertically, or the 1px padding looks too small. Unsure if rendering bug, or css. I'd nevertheless increase to 2px (I've pinged on figma).

Pushed a few changes:

removed the background for RadioGroup :hover because it didn't look that great with 0 gap between them. Changed to darker color, which is barely visible, but let's leave it for now. 2690ef5 (#6614)
changed RadioGroup padding as per latest figma discussion 4601363 (#6614)
tweaked Switch :active styling for better feel 29484aa (#6614)
aligned Model fade-in animation with Plus which is something I wanted to do for a long time. Much better feel. 928d7f1 (#6614)
made the props.title required, making you to pass false explicitly if needed, for better type safety. And merged props.wide & props.small into props.size.  82cb451 (#6614)


Can't click Google button again after the LoginSocialGoogle component previously dismounted

Describe the bug
In my app after I login with LoginSocialGoogle I go to a different page without the LoginSocialGoogle component. Then when I logout and go back to login again the button doesn't work.
Looking at your source code I found that the reason is because after the LoginSocialGoogle dismounts and then mounts again, the SDK script is still in the DOM so if (checkIsExistsSDKScript())  is true and isSdkLoaded is set to true, but instance is still null because it got reset when the component dismounted, so then this check if (instance) instance.requestAccessToken() won't succeed.
I made a workaround to fix the issue in my app by removing the SDK script when the component dismounts in a useEffect cleanup function. That way when the component mounts again checkIsExistsSDKScript() will return false and the script and instance are set again.
useEffect(() => {
    return () => {
        document.getElementById(SCRIPT_ID)?.remove();
    };
}, []);

But maybe you could add a fix in your library instead?
To Reproduce
In your demo the issue doesn't happen because when you login the LoginSocialGoogle component doesn't actually dismount, it is only hidden with <div className={`App ${provider && profile ? 'hide' : ''}`}>. So to reproduce the issue you should render LoginSocialGoogle conditionally so it dismounts after logging in`
After making that change

Login with the Google button
Logout
Click the Google button again

Expected behavior
After dismounting and remounting the LoginSocialGoogle component and clicking the Google login button a 2nd time requestAccessToken should be called again as before

Hi. Thank you for your feedback it really useful. But can you make a PR to fix this? I appreciate it if you can. because I am quite busy right now, but if you can't, I will fix this in the next few days. Regards.

Done 👍
I am not so familiar with the Google library so I'm not sure if there might be a better solution, but this does fix the issue at least.

ok, thank you very much. Not only Google but others too. I will fix them all and push it soon.

Hi. I've released a new version to fix this problem. Please upgrade to the latest version. Thank you for your report :)

Hi, thanks for the quick update.
The issue is partly resolved but there are some cases where it still happens (I tried it with the Google button).
You placed the call to remove the Google script inside the resolve function, so IF the login succeeds there is no more issue.
But the issue can still happen if users don't login. For example if:

users go to my login page -> LoginSocialGoogle component sets script and client instance
then go to my home page without logging in -> LoginSocialGoogle unmounts but didn't remove the script because there was no resolve
then go back to my login page -> LoginSocialGoogle still has the script so the client instance remains null

using the useEffect cleanup function does work for me in all cases

Thank you. I got you mean. I don't think about that :) Let me fix it now

Please upgrade to the latest version (2.5.1). Thank you for your report 💯

Thanks! 👍
We actually found one more about (edge) case today where it could go wrong. The Google button also won't work if you already have another Google button mounted at the same time. And then the useEffect cleanup also won't help.
This is an edge case in our application.. we have a login page and also a login modal popup that can be openend from our header. I don't think many users will click both but if you could find a way to fix this that would be cool. Otherwise we can maybe find a workaround in our own application.

If it would somehow be possible to get the Google client instance from an existing script then this trick to remove and recreate the script + client instance wouldn't be necessary

If it would somehow be possible to get the Google client instance from an existing script then this trick to remove and recreate the script + client instance wouldn't be necessary.
Or maybe a check to recreate the script and client instance also if the script exists but the client instance is null
Like
useEffect(() => {
    (!isSdkLoaded || !instance) && load()
  }, [instance, isSdkLoaded])

and then inside load also check for !instance and probably if the script exists but not the instance, first remove the script before recreating it

Insert multiples SDK script isn't a solution. I think you can think about using Login Popover on your header to show LoginProvider


Cannot perform docker run with volume mounts inside step

Is this a BUG REPORT or FEATURE REQUEST? (choose one): BUG REPORT
Version of Helm and Kubernetes:
Helm 3.2.1
Kubernetes 1.15.11 (AWS EKS)
Which chart:
CHART: agent-0.3.14
APP VERSION: 3.17.0
What happened:
When running a step that includes a Docker run with mounted volumes, the volumes fail to be mounted.
When running the below example, the job output shows this:
trap 'kill -- $$' INT TERM QUIT; touch foobar
--
  | docker run \
  | -w /code \
  | -v `pwd`:/code \
  | --entrypoint=/bin/sh \
  | gardendev/garden-aws:v0.11.14 -c "ls -al"
  |
  |
  | total 0
  | drwxr-xr-x    2 root     root             6 May 21 22:26 .
  | drwxr-xr-x    1 root     root            18 May 22 01:44 ..

What you expected to happen:
I expect there to 3 entries in the ls output, but foobar is missing.
How to reproduce it (as minimally and precisely as possible):
steps:
  - label: "Perform a docker run with mounted volume"
    command: |
      touch foobar
      docker run \
        -w /code \
        -v `pwd`:/code \
        --entrypoint=/bin/sh \
        gardendev/garden-aws:v0.11.14 -c "ls -al"

Anything else we need to know:
We are using a very simple configuration for the chart, setting only agent.meta, privateSshKey and agent.token.
We also tried enabling DinD (via setting dind.enabled to  true), but that did not resolve the issue.

We also found [https://buildkite.com/docs/agent/v3/docker#allowing-builds-to-use-docker](these instructions for the Docker provisioned agents); are there similar instructions for the Helm Chart provisioned agents?

Try these changes, they mount a shared directory between the agent and DinD:
https://github.com/buildkite/charts/pull/65/commits/98622d1d4c72b84ba97f3d6ef54be1fcac8d4652

@tjwallace many thanks for linking this commit. We ended up switching away from the Helm deployed agents to Cloudformation Stack deployed agents, but if I can find time after your PR merges, I'll give the chart another go.

closing this issue, @noizwaves open a new issue if that doesn't work for you


MSL: Use input attachment index directly for resource index fallback.

Supersedes #1418.

Tested locally.


[FEATURE REQUEST] DNS SAN collection or scope creep?

Is your feature request related to a problem? Please describe.
Right now, with respect to SSL/TLS,  feroxbuster supports what is necessary to do its job- the ability to either continue when a cert (is expired|has name mismatch|...) which is all that's typically included (or needed) in directory enumeration tools
In other words, this isn't a problem
Describe the solution you'd like
I was considering today that it might be useful in some cases to capture the DNS SAN values from the certificate, and either:

Use them for enhancements to the wordlist
Report them as structured data or a pem blob in an output line
Expand the target list to include each name that is scraped (PROBABLY A BAD IDEA AND I PROBABLY WOULDN"T USE IT ANYWAY)

1 - Using DNS SAN to enhance the wordlist dynamically
In many cases, using the FQDN (as specified at runtime as part of the URL) to enhance the wordlist is effective enough already. This is especially true if there is only one DNS SAN entry, the SAN value matches the FQDN , and the FQDN (as opposed to the IP address) was specified as the target. In this case it offers practically no benefits to users
In other cases, there is a bit to gain from grabbing the DNS SAN values and using some values derived from them as URL paths. One example that is somewhat common for me- enumerating on a host using the IP address instead of the DNS name, as part of a very large batch of endpoints- especially when the certificate has a large amount of DNS SAN values, and various substrings of those names are present as directories- usually because one of the DNS SAN values contains a substring that is the name of an API/application, very contrived example, "lolapi.whatever.com", where /api/lol might exist on the server as an endpoint
2- Logging certificate information as an line in the output file
This is more of a convenience than anything else. It's the sort of thing that I think would be worthwhile to implement only if it's very simple and non-invasive. It can be useful sometimes to see what other (likely) virtual hosts are present in the context of enumeration findings.
Describe alternatives you've considered
There are many tools intended to gather and parse SSL/TLS protocol and certificate info already. If you have a list of URLs, you should have no problem feeding them to these tools
For example, zgrab2 not only grabs the cert information but it parses it and breaks out all of the standard values and many of the more common extensions into a structured format. It also captures protocol handshake info, even down to the post-handshake negotiated master session key
Tools like testssl.sh can also do quite a bit in this area. And of course, there's always openssl s_client -connect ... | openssl x509 -text which is enough to get all of the fields for a certificate.
Point being there are plenty of ways to get all sorts of SSL/TLS protocol and certificate data. Capturing this data is not a groundbreaking capability, but it would be "nice" to have
Additional context
I think it may be a slippery slope to go deeply into the SSL/TLS protocol info or the certificate info. I do, however, think that there may be an opportunity to grab some basic info, since it should be available via some interface (maybe, I don't know how abstracted the SSL/TLS interface that you're using is)
If you wanted to consider this at all, I would imagine the following as potentially of interest for the purposes of logging to the output file:

Subject CN
Issuer CN
DNS SAN extension data
SSL/TLS protocol version that was ultimately negotiated
Cipher-suite that was ultimately negotiated
notAfter, notBefore values
Or... maybe skip all that and just stick the certificate in PEM format as a line in the output. This is convenient for some workflows and seems the easiest effort

To be clear, I'll say this is in my "what do you think about this?" category of issues, not the "this would be a game-changing feature" category- so please don't feel you need to put too much consideration into it, especially if your gut says you don't want to go down this road at all
Implementation-wise, I imagine for simplicity you would have a separate connection done at the start of the the session, dedicated to getting this data. You could piggyback on the first of the enumeration requests, but that might add a little complexity or uglyness. I'll leave that to you

Also, regarding your previous note- you can reach me at<EMAIL_ADDRESS>should you ever need to

3. Expand the target list to include each name that is scraped (PROBABLY A BAD IDEA AND I PROBABLY WOULDN"T USE IT ANYWAY)

haha, agreed. at least for feroxbuster, i don't like the idea of wandering off the specified path.

Also, regarding your previous note- you can reach me at<EMAIL_ADDRESS>should you ever need to

appreciate that!
Overall, I like the idea of grabbing this information and using it to alter the wordlist. I'm working on some (long-term) stuff where this would be better suited, so would like to pin the issue, but don't plan on taking action on it in the near future.
As to the info that (likely) wouldn't be useful for strictly content discovery, I'm not sure the current underlying client even supports gathering that kind of thing. Tbh, it may not even support getting cert/san info.
Once the newer stuff is closer to being ready, this idea is likely to have a home (same client issue may or may not exist, that's a separate beast, lol)

forgot to actually pin the issue

forgot to actually pin the issue

I'm thinking that it really doesn't make much sense to investigate this any further as a function of feroxbuster
You can keep it open if you really want to look into it, but I'm convinced it's not the right place to do this at all
Only took me 2 years to come to that conclusion 😂
Will defer to you on closure, but I personally probably won't get enough use out of it to justify the effort


ios call hangs up on locking

Not sure if anyone else is experiencing this but when I am on a call and click lock button the call hangs up.

hello I have the same problem ... on ios the application disconnects from the sip server when it application goes in the background or when the phone locks.
and when I unlock the phone, the connection is established again
someone to help us please?

Same here, with this error:
Unhandled Promise Rejection: AbortError: The operation was aborted.
Are you using cordova-iosrtc ? @kenfouo @Skorpeo ??


Computed Side Effects false positives

The "Computed Side Effects" rule produces false positives.

<template>

Test

{{ str1 }}

{{ str2 }}

</template>

The problem is const inner = 'def';.

Node v20.10.0
vue-mess-detector v0.63.1
Thanks, great job!

Thanks for reporting.

This regex \b(set|push|pop|shift|unshift|splice|reverse|sort)\b|(?<!=)=(?!=) simply matches assignments, ex: = in const mult = 3;.
The rule "Computed Side Effects" is quite complicated to check: ref, reactive, direct assignment, assignment calling a method, etc.
I don't know how far you want to go.
For example, how do you find a mutation made by calling a method?
Even checking the mutation of a property in a reactive object is complicated. How do you differentiate between a local object (scoped in the computed body) and a reactive object?
Maybe it's better to narrow the scope and call it "Mutate ref in computed" and check only for .value = .

What do you think? @rrd108

I think we should keep the rule and we can incremently add suportfor all the different use cases.
Defining a varibale inside a computed property is not really a good practice, but I can understand why it is there.


Convert the Preferences to an ES6 class

Please note that the new BasePreferences is an abstract class, and is explicitly not usable on its own, which is then sub-classed for the various build targets.
Slightly smaller diff with https://github.com/mozilla/pdf.js/pull/8303/files?w=1.

/botio-linux preview

/botio-linux preview

It looks like the preferences do not work anymore in the Chrome extension with this patch applied.

My apologies for wasting your time finding something that I should have caught myself, and thanks reviewing this thoroughly enough to catch the mistake!

/botio-linux preview

Thank you for working on this! Really nice solution with the abstract base class. No worries about the mistake; it happened to me as well and I'm glad the review process does its work to catch it.


Updating k8s service selector twice causes cilium to misroute requests intermittently

Is there an existing issue for this?

[X] I have searched the existing issues

What happened?
This happens to me virtually every time I do a maintenance window, so about twice quarterly and I'm sure would be happening more often if I did this operation more often. There are a couple similar problems in the "Issues" on GH but they look slightly different and usually people say it's not easily reproducible in the issues I looked at. This is pretty easily reproducible for me but wreaks absolute havoc on production so I really can't just let it be and do some deep investigation. I haven't filed a bug yet just cause I've got tons of things on my plate and usually restarting cilium fixes it immediately but today it's been pretty stubborn and I've had to roll cilium like 3 or 4 times across two clusters.
I would say this has been happening for a couple years or so now, probably back to our usage of k8s versions 1.21 or .22 k8s via kops. I can look up the cilium versions that correspond if you need. There's also been several cluster rebuilds in that timeframe so I doubt it's an upgrade artifact. Here's what happens.
I have a k8s deployment that runs in multiple NS called "maintenance." It's essentially a very stripped down Apache that only serves a page that says "Sorry this service is down for scheduled maintenance" or whatever message I configure. The maintenance pods end up tagged with "app=obe,svc=maintenance." I'm not sure if the multiple tags may come into play here or not.
So, anytime I want to put a service into maintenance, I edit the service selector on the target service to select the maintenance pods instead of the actual pods. This first edit works without a hitch. No misrouting, nothing weird. Note that most of the time the services I edit the selector on are also tagged "app=obe,svc=${servicename}." So I'm usually just editing the "svc" tag in most cases to say "maintenance."
Now, our ingress is an ALB that points to a deployment of apache reverse proxy containers rather than an actual Ingress object. This deployment's pods are tagged "app=obe,svc=wormhole." So, naturally if I want to put a whole cluster's services into maintenance, I edit the wormhole service object's selector so the svc tag to look for is "maintenance." Works like a charm.
But when I edit that selector when the maintenance is done to go back to what it was before, intermittent requests are mis-routed. The reason I know it's cilium and not an Apache issue, besides the fact that restarting cilium fixes it (at least momentarily but usually permanently), is because the wormhole pods insert a response header so that I can tell which cluster served a request. On the misrouted requests, things are not even hitting the wormhole pods because that header is not even there.
It seems random. One service that receives misrouted requests has the svc tag "catalog." Another has a different app tag as well as a different svc tag. I can't see any rhyme or reason and when it's happening it's usually very urgent to just get things back to normal.
It's probably worth noting that we use the cluster-autoscaler with spots for extra capacity beyond our base needs. I can't tell if the issue coincides directly with a spot termination, but we have good logging around those events so I could tie it together if I had more evidence pointing towards that.
Please advise, this issue is killin me!
Cilium Version
⮕  cilium version
Defaulted container "cilium-agent" out of: cilium-agent, clean-cilium-state (init)
Client: 1.10.5 b0836e8 2021-10-13T16:20:49-07:00 go version go1.16.9 linux/amd64
Daemon: 1.10.5 b0836e8 2021-10-13T16:20:49-07:00 go version go1.16.9 linux/amd64

Note that this has been happening for a minute now so probably 1.9 too but I can't say exactly.
Kernel Version
Linux ip-172-21-33-72 5.13.0-1022-aws #24~20.04.1-Ubuntu SMP Thu Apr 7 22:10:15 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

Same note about versions going back a couple of kops iterations of their default images.
Kubernetes Version
Client Version: version.Info{Major:"1", Minor:"23", GitVersion:"v1.23.11", GitCommit:"dc2898b20c6bd9602ae1c3b51333e2e4640ed249", GitTreeState:"clean", BuildDate:"2022-09-15T02:29:45Z", GoVersion:"go1.17.13", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"23", GitVersion:"v1.23.6", GitCommit:"ad3338546da947756e8a88aa6822e9c11e7eac22", GitTreeState:"clean", BuildDate:"2022-04-14T08:43:11Z", GoVersion:"go1.17.9", Compiler:"gc", Platform:"linux/amd64"}

I estimate this goes back to 1.21 at least though.
Sysdump
I have the file but it's 111 MB. Not sure what the protocol is here? Please advise.
Relevant log output
N/A

Anything else?
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct

But when I edit that selector when the maintenance is done to go back to what it was before, intermittent requests are mis-routed.

So no misrouting the first time around but some when reverting the label change? That seems weird as nothing should be different between the two label changes.
Could the misrouted requests belong to an existing connection and thus end up routed per previous policy?

This is pretty easily reproducible for me but wreaks absolute havoc on production so I really can't just let it be and do some deep investigation.

Are you able to reproduce in your staging environment to dig?
Best way to solve this would likely be to pinpoint the issue to a specific connection and check related state.

I have the file but it's 111 MB. Not sure what the protocol is here? Please advise.

You can limit which nodes are collected to reduce the size. Otherwise, you can host it somewhere and link here, though not ideal. It's also possible to reduce the size a lot by recompressing. (For reference, GH's limit is at 25MB.)

I can try to replicate on the dev cluster for sure. I usually don't bother putting up a maintenance page when I update that one after the devs are gone so I haven't noticed it there. I will see what I can do and get back to you.

Gonna have to wait til people are gone though. Is there any sensitive info in the in the sysdump?

Gonna have to wait til people are gone though. Is there any sensitive info in the in the sysdump?

No, there shouldn't be any. The most sensitive I could think of is connection tracking state which includes IP addresses of clients for established connections potentially.


mopidy container keeps restarting

I am using rfabri/mopidy:arm64v8-latest of mopidy's container, but I get the following error and can restart repeatedly.
usage: mopidy [-h] [--version] [-q] [-v] [--config FILES] [-o OPTIONS]
unrecognized command: mopidy

I can't even get into a shell inside the container.

@logue can you please provide a docker compose or docker run command you're using?

I am using portainer. Internally, I think that the following yaml is just started with docker-compose up.
version: "2.4"

services:
  icecast:
    container_name: icecast
    image: rfabri/icecast:amd64-latest
    restart: unless-stopped
    environment:
      - ICECAST_SOURCE_PASSWORD=mopidy
      - ICECAST_ADMIN_PASSWORD=mopidy
      - ICECAST_PASSWORD=mopidy
      - ICECAST_RELAY_PASSWORD=mopidy
    ports:
      - "<IP_ADDRESS>:8000:8000"

  mopidy-icecast:
    container_name: mopidy-icecast
    image: rfabri/mopidy:amd64-latest
    restart: unless-stopped
    command: mopidy
    ports:
      - "<IP_ADDRESS>:6601:6600"
      - "<IP_ADDRESS>:6681:6680"
    depends_on:
      - icecast
    volumes:
      - /volume1/Docker/mopidy-icesnap/mopidy/mopidy-icecast.conf:/mopidy.conf
      - /volume1/Docker/mopidy-icesnap/:/mopidy

Did you make a mistake somewhere, maybe? On your first post you said you're using rfabri/mopidy:arm64v8-latest but on your docker-compose you are using rfabri/mopidy:amd64-latest, those are two different images for two different architectures.
What kind of host you're running this in? Is the container mopidy-icecast running? Do you get any logs? What's the output of docker logs mopidy-snapserver?

Sorry, Both are using amd64-latest.
Of these, the icecast side is working properly, and when I streamed from another PC with the icecast client, I was able to send it to the destination without any problems.
It's only mopidy-icecast that has issues.
I checked the log in the shell and got the same error. unrecognized command: mopidy follows.
$ sudo docker logs mopidy-icecast

usage: mopidy [-h] [--version] [-q] [-v] [--config FILES] [-o OPTIONS]

unrecognized command: mopidy
usage: mopidy [-h] [--version] [-q] [-v] [--config FILES] [-o OPTIONS]

unrecognized command: mopidy

...(omit)...

usage: mopidy [-h] [--version] [-q] [-v] [--config FILES] [-o OPTIONS]

unrecognized command: mopidy

@logue can you please remove the line below from the mopidy-icecast block?
command: mopidy
  mopidy-icecast:
    container_name: mopidy-icecast
    image: rfabri/mopidy:amd64-latest
    restart: unless-stopped
    command: mopidy   #REMOVE THIS LINE
    ports:
      - "<IP_ADDRESS>:6601:6600"
      - "<IP_ADDRESS>:6681:6680"
    depends_on:
      - icecast
    volumes:
      - /volume1/Docker/mopidy-icesnap/mopidy/mopidy-icecast.conf:/mopidy.conf
      - /volume1/Docker/mopidy-icesnap/:/mopidy

This is from older images and shouldn't be there any more. I'll update the docker-compose examples to reflect that.

When I removed command: mopidy the log was:
INFO     2023-04-27 17:12:40,327 [1:MainThread] mopidy.__main__
  Starting Mopidy 3.4.1
INFO     2023-04-27 17:12:40,501 [1:MainThread] mopidy.config
  Loading config from builtin defaults
INFO     2023-04-27 17:12:40,504 [1:MainThread] mopidy.config
  Loading config from command line options
INFO     2023-04-27 17:12:40,549 [1:MainThread] mopidy.internal.path
  Creating dir file:///root/.cache/mopidy
INFO     2023-04-27 17:12:40,549 [1:MainThread] mopidy.internal.path
  Creating dir file:///root/.config/mopidy
INFO     2023-04-27 17:12:40,549 [1:MainThread] mopidy.internal.path
  Creating dir file:///root/.local/share/mopidy
INFO     2023-04-27 17:12:40,566 [1:MainThread] mopidy.config
  Loading config from builtin defaults
INFO     2023-04-27 17:12:40,569 [1:MainThread] mopidy.config
  Loading config from command line options
INFO     2023-04-27 17:12:40,578 [1:MainThread] mopidy.internal.path
  Creating file file:///mopidy/mopidy.conf
INFO     2023-04-27 17:12:40,579 [1:MainThread] mopidy.__main__
  Initialized file:///mopidy/mopidy.conf with default config
INFO     2023-04-27 17:12:41,184 [1:MainThread] mopidy.__main__
  Enabled extensions: softwaremixer, mpd, mobile, file, stream, http, iris, m3u, tunein
INFO     2023-04-27 17:12:41,184 [1:MainThread] mopidy.__main__
  Disabled extensions: local, scrobbler
WARNING  2023-04-27 17:12:41,184 [1:MainThread] mopidy.__main__
  Found local configuration errors. The extension has been automatically disabled:
WARNING  2023-04-27 17:12:41,184 [1:MainThread] mopidy.__main__
    local/media_dir must be set.
WARNING  2023-04-27 17:12:41,184 [1:MainThread] mopidy.__main__
  Found scrobbler configuration errors. The extension has been automatically disabled:
WARNING  2023-04-27 17:12:41,184 [1:MainThread] mopidy.__main__
    scrobbler/username must be set.
WARNING  2023-04-27 17:12:41,184 [1:MainThread] mopidy.__main__
    scrobbler/password must be set.
WARNING  2023-04-27 17:12:41,185 [1:MainThread] mopidy.__main__
  Please fix the extension configuration errors or disable the extensions to silence these messages.
INFO     2023-04-27 17:12:41,487 [1:MainThread] mopidy.commands
  Starting Mopidy mixer: SoftwareMixer
INFO     2023-04-27 17:12:41,489 [1:MainThread] mopidy.commands
  Starting Mopidy audio
INFO     2023-04-27 17:12:41,493 [1:MainThread] mopidy.commands
  Starting Mopidy backends: TuneInBackend, FileBackend, M3UBackend, StreamBackend
INFO     2023-04-27 17:12:41,504 [1:MainThread] mopidy.internal.path
  Creating dir file:///root/.local/share/mopidy/m3u
INFO     2023-04-27 17:12:41,509 [1:Audio-2] mopidy.audio.actor
  Audio output set to "autoaudiosink"
INFO     2023-04-27 17:12:41,515 [1:MainThread] mopidy.commands
  Starting Mopidy core
INFO     2023-04-27 17:12:41,527 [1:MainThread] mopidy.commands
  Starting Mopidy frontends: MpdFrontend, IrisFrontend, HttpFrontend
INFO     2023-04-27 17:12:41,529 [1:MainThread] mopidy_mpd.actor
  MPD server running at [::ffff:<IP_ADDRESS>]:6600
INFO     2023-04-27 17:12:41,530 [1:IrisFrontend-9] mopidy_iris.core
  Starting Iris 3.66.1
INFO     2023-04-27 17:12:41,532 [1:IrisFrontend-9] mopidy.internal.path
  Creating dir file:///root/.local/share/mopidy/iris
INFO     2023-04-27 17:12:41,532 [1:HttpFrontend-11] mopidy.http.actor
  HTTP server running at [::ffff:<IP_ADDRESS>]:6680
INFO     2023-04-27 17:12:41,534 [1:MainThread] mopidy.commands
  Starting GLib mainloop
INFO     2023-04-27 17:12:41,544 [1:HttpServer] mopidy.internal.path
  Creating dir file:///root/.local/share/mopidy/http

Since it was invisible from the browser, I tried to connect with wget in the host shell, but an error Connection reset by peer occurred.

If you really want to provide a command, please use something like:
command: >
      "mopidy --config /mopidy/mopidy.conf"

But given your docker-compose I don't think you need it.

This method was useless because an error ｀unrecognized command: mopidy` occurred.

How does your mopidy.conf looks like? From your logs, Mopidy is running and Iris should be accessible on port 6681, both Iris and Mopidy are running successfully.
Iris is running here:
INFO     2023-04-27 17:12:41,532 [1:HttpFrontend-11] mopidy.http.actor
  HTTP server running at [::ffff:<IP_ADDRESS>]:6680

Your mopidy.conf has to have http enabled like in here: https://docs.mopidy.com/en/latest/ext/http/#configuration
Something along those lines:
[mpd]
hostname = <IP_ADDRESS>

[http]
enabled = true
hostname = <IP_ADDRESS>
default_app = iris

Looks like you haven't set any config on your mopidy.conf and because of that the default configuration was used:
INFO     2023-04-27 17:12:40,578 [1:MainThread] mopidy.internal.path
  Creating file file:///mopidy/mopidy.conf
INFO     2023-04-27 17:12:40,579 [1:MainThread] mopidy.__main__
  Initialized file:///mopidy/mopidy.conf with default config

If I'm not mistaken, http is disabled by default.

Have you mounted these volumes to actual files on your host, or are you using volume mounts?
...
    volumes:
      - /volume1/Docker/mopidy-icesnap/mopidy/mopidy-icecast.conf:/mopidy.conf
      - /volume1/Docker/mopidy-icesnap/:/mopidy

I suggest you mount this to an existing path within your host, so you can edit as you wish, it will make it easier for you to debug.

It worked when I changed the path setting in mopidy.conf.
version: "2.4"

services:
  icecast:
    container_name: icecast
    image: rfabri/icecast:amd64-latest
    restart: unless-stopped
    environment:
      - ICECAST_SOURCE_PASSWORD=mopidy
      - ICECAST_ADMIN_PASSWORD=mopidy
      - ICECAST_PASSWORD=mopidy
      - ICECAST_RELAY_PASSWORD=mopidy
    ports:
      - "<IP_ADDRESS>:8000:8000"

  mopidy-icecast:
    container_name: mopidy-icecast
    image: rfabri/mopidy:amd64-latest
    restart: unless-stopped

    ports:
      - "<IP_ADDRESS>:6601:6600"
      - "<IP_ADDRESS>:6681:6680"
    depends_on:
      - icecast
    volumes:
      - /volume1/Docker/mopidy-icesnap/mopidy/mopidy-icecast.conf:/mopidy/mopidy.conf # <- here
      - /volume1/Docker/mopidy-icesnap/:/mopidy
      - /volume1/Music:/mopidy/media:ro

But the Mopidy-Spotify extension is not working.

I'm glad you got it working by changing the mopidy.conf path, I'll update the docker-compose examples to reflect that too.
Yes, Mopidy-Spotify is disabled on the current Dockerfile. The reason for that is that libspotify was retired and because of that Mopidy-Spotify no longer works, there's an issue here tracking that. It is a work in progress and on the issue I have linked you will find some workarounds, I have seen people getting it to work by compiling the  gst-plugin-spotify locally. However, Mopidy-Spotify haven't released a version that contains that fix yet, and for that reason I have removed it from this docker image.


ERROR: syntax: invalid identifier name "."

OK, the title is no good but translates the situation
When trying to build the GMT_jl docs on Windows I always get this error:
https://github.com/GenericMappingTools/GMTjl_doc/actions/runs/3610144476/jobs/6083763625
That does  not happen when building on MacOS, but on the other hand it has it's own mysterious errors too.

Actually, I can reproduce that error directly on a Windows cmd
julia -e "
            using Pkg;
            Pkg.activate(".");
            Pkg.instantiate();
            Pkg.add(PackageSpec(name="GMT", rev="master"));
            using NodeJS;
            run(`$(npm_cmd()) install highlight.js`);
            run(`$(npm_cmd()) install cheerio`);
            run(`$(npm_cmd()) install lunr`);
            using Franklin;
            serve(single=true, cleanup=false);
            lunr();
            optimize(minify=false, prerender=false);"

ERROR: syntax: invalid identifier name "."
Stacktrace:
 [1] top-level scope
   @ none:1

So the error is not originated in Franklin but still don't see what it's complaining about.

OK, solved with help of https://discourse.julialang.org/t/why-julia-e-does-not-work-on-windows/91195/3
On Windows the inner " need to be escaped with\"

But even fixing the above in not enough. At the end I get
Error: The deploy step encountered an error: Unable to locate executable file: rsync. Please verify either the file path exists or the file can be found within a directory specified by the PATH environment variable. Also verify the file has a valid extension for an executable file. ❌
Deployment failed! ❌

rsync is not Windows, so this bags for the question. Is a build on Windows really supposed to work?

Ok so the first thing is not Franklin related but good that you got help to fix it 👍
For the second thing, how did you get there? The error message is not part of Franklin. There is a mention in the doc that you can use rsync to place content online but that's it.
Maybe more usefully, once you've generated your website locally and everything looks good, you can place the content of __site/ somewhere like AWS s3, netlify, etc. The easiest is to use github pages for which you can use a github action that effectively does what your second message points to.
Assuming you want to place it somewhere else than GitHub, then you can manually copy the files from __site after the procedure in your second message to the desired location. For instance you could place them in a bucket on S3 that is indicated as a static website and so you'd do something like aws sync __site s3://your-static-site-bucket. You can use rsync for that kind of stuff but of course if you're on windows you might want to use whatever other tool allows you to copy file from local to some remote location.
Sumary:

if you can deploy on GitHub, I'd recommend doing that, it's the easiest option, you can use the github action and should not have to worry about the rest
if you don't want to use GitHub, you will have to manually place the content of __site/ to the remote location, the tool to do this can be whatever you want that you're used to

I hope this helps a bit

Ah, and the rsync error showed up at the end of the Building and Deploy stage, so maybe it's action command.

No change, same error (when using Windows)
https://github.com/GenericMappingTools/GMTjl_doc/actions/runs/3623985620/jobs/6110456030#step:8:69
Looks like this action doesn't work on Windows.


:gift_heart: Migrating to sink flag for --to param

Changes

:gift_heart: Migrating to sink flag for --to param
:broom: Removing the --sender-namespace (the --namespace takes over)
:broom: Better logging, common with kn

/kind enhancement
Relations
Fixes #282
Fixes #202
Fixes #356
Fixes #160
Requires https://github.com/knative/client/pull/1968
Release Notes
TBD

Docs

TBD

/test all

/test all

@dsimansk Would you mind reviewing https://github.com/knative-extensions/kn-plugin-event/pull/368/commits/da9f541b6692a42034713d660ee0f1192e8c7110, as well?
I added the above as the PR suppose to fix https://github.com/knative-extensions/kn-plugin-event/issues/356

/lgtm


fix: find latest eksbuild version when caching startup images

Issue #, if available:
Description of changes:
This PR fixes an issue when caching the startup images within the AMI build. The caching logic uses the Managed Add-On versions to find the Latest and Default VPC CNI and kube-proxy versions. However, the add-on version can be slightly different than the container version tag since it is mainly the manifest version. The add-on version should always be >= to the container tagged version since any image change would result in a manifest change too. This PR implements retires if an image cannot be pulled with an eksbuild version and decrements the build version until it gets to eksbuild.1. If eksbuild.1 cannot be pulled, then the version does not exist.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Testing Done
Built the AMI in us-east-2 and us-west-2 for K8s 1.22 and 1.24.

See this guide for recommended testing for PRs. Some tests may not apply. Completing tests and providing additional validation steps are not required, but it is recommended and may reduce review time and time to merge.

My 1.20-1.24 builds all succeeded, LGTM.


GMT6 binaries for Windows

Hi,
People wanting to test on Windows can find, randomly build GMTdev snapshots at
http://w3.ualg.pt/~jluis/mirone/downloads/gmt.html
latest one at time of this writing is
http://w3.ualg.pt/~jluis/mirone/GMT-6.0.0_r20419+MB-win64.exe

Thanks @joa-quim!

We should point people to that website in the docs in docs/install.rst. Should be mentioned that we don't have tests running on Windows yet so things might be broken (and ask to please report errors).


Pull the dictionary schema & doc into its own file, used by symptoms & chronic disease fields

 Refactor dataserver model into classes, add tests


RelatedObjectDoesNotExist at /profile/ User has no profile.

i started having the same issue, probably there is some problem in signals.py, can't rectify the exact problem but it reappearing continuously...

i started having the same issue, probably there is some problem in signals.py, can't rectify the exact problem but it reappearing continuously...

This line is to be added in views.py.(import Profile from models first)
def profile(request):
profile,created = Profile.objects.get_or_create(user=request.user)
Now it works fine

how to resolve
user has no profile

i started having the same issue, probably there is some problem in signals.py, can't rectify the exact problem but it reappearing continuously...

This line is to be added in views.py.(import Profile from models.py first)
def profile(request):
profile,created = Profile.objects.get_or_create(user=request.user)
Now it works fine

Thanks, it also worked for me, and I don't know how I could handle this if it wasn't you

i started having the same issue, probably there is some problem in signals.py, can't rectify the exact problem but it reappearing continuously...

This line is to be added in views.py.(import Profile from models.py first)
def profile(request):
profile,created = Profile.objects.get_or_create(user=request.user)
Now it works fine

Thanks, it also worked for me, and I don't know how I could handle this if it wasn't you

Hey buddy! I couldn't fix this issue. May I know what did you do to fix this? I tried the steps mentioned by @HariniRao19 but not working.

i started having the same issue, probably there is some problem in signals.py, can't rectify the exact problem but it reappearing continuously...

This line is to be added in views.py.(import Profile from models.py first)
def profile(request):
profile,created = Profile.objects.get_or_create(user=request.user)
Now it works fine

Thanks, it also worked for me, and I don't know how I could handle this if it wasn't you

Hey buddy! I couldn't fix this issue. May I know what did you do to fix this? I tried the steps mentioned by @HariniRao19 but not working.

@Pravinrams
The cause of the issue is that the user that you are trying to log in with, has profile (avatar image), not even the default.
What I did was create a new super user to delete the confilctive account and that solved the issue.
I was not able to try the solution provided by @HariniRao19, but that is a better way to solve the issue.

i need to install flask_sendmail, instead of using gmail in production for
my web app, do you have an idea about the configuration ?
Le sam. 7 déc. 2019 à 06:03, GerardoLG<EMAIL_ADDRESS>a écrit :

i started having the same issue, probably there is some problem in
signals.py, can't rectify the exact problem but it reappearing
continuously...
This line is to be added in views.py.(import Profile from models.py first)
def profile(request):
profile,created = Profile.objects.get_or_create(user=request.user)
Now it works fine
Thanks, it also worked for me, and I don't know how I could handle this if
it wasn't you
Hey buddy! I couldn't fix this issue. May I know what did you do to fix
this? I tried the steps mentioned by @HariniRao19
https://github.com/HariniRao19 but not working.
@Pravinrams https://github.com/Pravinrams
The cause of the issue is that the user that you are trying to log in
with, has profile (avatar image), not even the default.
What I did was create a new super user to delete the confilctive account
and that solved the issue.
I was not able to try the solution provided by @HariniRao19
https://github.com/HariniRao19, but that is a better way to solve the
issue.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/CoreyMSchafer/code_snippets/issues/73?email_source=notifications&email_token=AIXBJRAYVNGEIGRAGR725HLQXMG77A5CNFSM4I3ND652YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEGF4HLQ#issuecomment-562807726,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AIXBJRDL6UDUWH3HMQGXXHTQXMG77ANCNFSM4I3ND65Q
.

@sanix-sandel Check the documentation https://flask-sendmail.readthedocs.io/en/latest/

i started having the same issue, probably there is some problem in signals.py, can't rectify the exact problem but it reappearing continuously...

This line is to be added in views.py.(import Profile from models.py first)
def profile(request):
profile,created = Profile.objects.get_or_create(user=request.user)
Now it works fine

Thanks, it also worked for me, and I don't know how I could handle this if it wasn't you

Hey buddy! I couldn't fix this issue. May I know what did you do to fix this? I tried the steps mentioned by @HariniRao19 but not working.

Hi! So I had the same issue, turns out the second function name is save_profile


Fix remaining sample bugs

Fixes remaining feedback on https://github.com/dotnet/dotnet-docker-samples/pull/63.

@aditidugar,
Thanks for your contribution.
To ensure that the project team has proper rights to use your work, please complete the Contribution License Agreement at https://cla2.dotnetfoundation.org.
It will cover your contributions to all .NET Foundation-managed open source projects.
Thanks,
.NET Foundation Pull Request Bot

FYI: I don't have merge permissions - please go ahead and merge this.

@aditidugar, thanks for signing the contribution license agreement. We will now validate the agreement and then the pull request.
Thanks, .NET Foundation Pull Request Bot


Extension to report errors and warnings from LanguageClient plugin

I based this extension on the extension that shows error and warning counts from Ale. This addresses the request in #1642.

Thanks!


Nav2Goal not working

Hello, Thank you for this the Go2 robot dog works well with controller and the lidar data output is amazing as well. I am facing some issues with the Nav2Goal, it is not working when I click and drag it to a goal it does not respond and the Go2 does not move. the log what i get is:
[1732788468.337890632] [rviz_navigation_dialog_action_client]: NavigateToPose will be called using the BT Navigator's default behavior tree.
[rviz2-5] [ERROR] [1732788468.340055419] [rviz_navigation_dialog_action_client]: Goal was rejected by server
Just want to know what am I doing wrong. It will be really great if you can assist me. Thank you.

Hello, nav2 is an experimental feature and needs more time to adjust some params, sorry for that, @amin994work

Thank you for the reply, I understand.


Break side menu "Extend" into separate sections

Expand this:

into this hierarchy:
Extend

Setup Interactive Apps
Enable Interactive Desktop
Install Other Interactive Apps

Deploy

App Authorization
App Sharing

Develop Interactive Apps

App Development
Tutorials: Interactive Apps

Develop Passenger Apps

Tutorials: Passenger Apps

Should require only a modification to this file: https://github.com/OSC/ood-documentation/blob/develop/source/index.rst

to do this you will need to setup an environment to build the documentation. This uses Python. Docker can be used to build the documentation which will be easier, but you need to install Docker on your laptop.


Programmatically submit a form from outside the form component

I generally abstract my forms into a form component. However, a number of forms that we use, have the submit button designed in the header, which is outside of the form screen in a parallel render branch.
So, I have been wondering how to implement a programmatic submit. I was thinking of the following:

create a programmatic submit property in a reducer, that when true, leads to the execution of a programmatic submit in the form component, after which it's immediately set to false.
using refs. In my case, the components are simply "too far away from eachother" for this to be feasible.

Any suggestions on the best way to approach this? Ideally, I would be able to just call a redux-form action creator with the form name to submit the form.

Yep, I think you're on the right track.
I have thought long and hard about this. Because so much of the work involved in submitting the form depends on props given to the form, there has never been a great way to have a submit() action creator. I suspect that your first option of leaving a submit as soon as you see this flag in a reducer is the way to go. You could implement this now with your own reducer in the form component's container (which would then use a ref), but I might add this functionality to the library itself, as it is one of the most requested features.
I wonder if there's a technical computer science term for this kind of async communication. I nominate dead drop as the term. 🕵

Thx!

This was a bit more difficult than expected and the solution is not all that elegant, although it seems to work ok.
https://github.com/reactjs/react-redux/issues/376 got in the way of getting access to the submit method inside the form from the container component, which my initial attempt since the all the connect/reducer stuff is in the container component.
So, I solved it by putting a submitThis property on the form component itself combined with the already discussed reducer flag for this.

Hey, guys, I've published redux-form-submit, which adds the submit action creator to redux-form. Maybe we can add this to redux-form itself in the future.


Singularizes example HTTPRoute hostname

https://github.com/kubernetes-sigs/service-apis/pull/43 singularized the HTTPRoute hostname field. This PR updates the example accordingly.
/assign @bowei
/cc @robscott

Good catch, thanks!
/lgtm

/approve
/lgtm


Question: VPC and peering creation

At the moment is it possible to create VPCs and add peering using terraform or are this parts still manual at the moment?

Hello @kingzbauer
at the moment VPC creation and peering must be done manually. But it's next on the list.


[Event Grid Key Authorizer] Support aeg-sas-token for authentication

Azure Event Grid supports authentication via SAS token using aeg-sas-token header. See https://docs.microsoft.com/en-us/azure/event-grid/security-authentication for more details. But the EventGridKeyAuthorizer recognises only topicKey and sets only aeg-sas-key header here - https://github.com/Azure/go-autorest/blob/master/autorest/authorization.go#L266

@jhendrixMSFT Can I get an update on this Issue ?

I believe this is the correct link.
https://docs.microsoft.com/en-us/azure/event-grid/authenticate-with-access-keys-shared-access-signatures
We are no longer adding new features to our track 1 SDKs.  However, you should be able to implement this yourself.  All that's required is to create a type that satisfies the autorest.Authorizer interface.  I took a stab at an initial implementation here.


IddCxMonitorArrival parameter documentation seems incorrect

NTSTATUS IddCxMonitorArrival(
  IDDCX_MONITOR            AdapterObject,
  IDARG_OUT_MONITORARRIVAL *pOutArgs
);

Parameters
AdapterObject
[in] The adapter object that is hosting the newly arrived monitor

This seems incorrect. The first parameter is an IDDCX_MONITOR, but the documentation discusses the (parent?) adapter object.

The header file has similarly confusing information:
/// <summary>
/// An OS callback function the driver calls report a monitor arrival on the WDDM graphics adapter
/// </summary>
/// <param name="AdapterObject">The adapter object that is hosting the newly arrived monitor</param>
/// <param name="pInArgs">Input arguments to the function</param>
/// <param name="pOutArgs">Output arguments to the function</param>
/// <returns>If the routine succeeds it return S_OK otherwise an appropriate error code</returns>
_Must_inspect_result_
NTSTATUS
FORCEINLINE
IddCxMonitorArrival(
    _In_
    IDDCX_MONITOR AdapterObject,
    _Out_
    IDARG_OUT_MONITORARRIVAL* pOutArgs
    )

(there is no pInArgs parameter)

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

ID: 0348c28c-46e9-0f0e-c1eb-f55dff1adefd
Version Independent ID: b4dd592e-4715-130f-24fc-1c2044654afe
Content: IddCxMonitorArrival function (iddcx.h) - Windows drivers
Content Source: wdk-ddi-src/content/iddcx/nf-iddcx-iddcxmonitorarrival.md
Product: windows-hardware
Technology: windows-devices
GitHub Login: @lorihollasch
Microsoft Alias: loriwhip

Thanks for reporting this, @mr-intj ! I've fixed the refpage and reported the code comment error for the dev team to fix.

Thanks for reporting this, @mr-intj ! I've fixed the refpage and reported the code comment error for the dev team to fix.


Add iterator and iterable creation and processing functions

Add creatorIterator
Add createArrayIterator
Add createIterator; createIterable; makeIterable
Add iterForOf
Add createRangeIterator
Update copyright notices on tests
Update ReadMe

Codecov Report

Merging #73 (6d29fba) into main (94b7454) will increase coverage by 0.23%.
The diff coverage is 100.00%.

:exclamation: Current head 6d29fba differs from pull request most recent head 675203e. Consider uploading reports for the commit 675203e to get more accurate results

@@            Coverage Diff             @@
##             main      #73      +/-   ##
==========================================
+ Coverage   98.16%   98.40%   +0.23%
==========================================
  Files          45       49       +4
  Lines         655      750      +95
  Branches      138      158      +20
==========================================
+ Hits          643      738      +95
  Misses         12       12

Impacted Files
Coverage Δ

lib/src/helpers/number.ts
100.00% <ø> (ø)

lib/src/array/append.ts
100.00% <100.00%> (ø)

lib/src/helpers/base.ts
100.00% <100.00%> (ø)

lib/src/helpers/length.ts
100.00% <100.00%> (ø)

lib/src/internal/constants.ts
100.00% <100.00%> (ø)

lib/src/iterator/array.ts
100.00% <100.00%> (ø)

lib/src/iterator/create.ts
100.00% <100.00%> (ø)

lib/src/iterator/forOf.ts
100.00% <100.00%> (ø)

lib/src/iterator/iterator.ts
100.00% <100.00%> (ø)

lib/src/iterator/range.ts
100.00% <100.00%> (ø)


Are there any plans to release models for instance segmentation/pose detection?

Before Asking

[X] I have read the README carefully. 我已经仔细阅读了README上的操作指引。

[ ] I want to train my custom dataset, and I have read the tutorials for finetune on your data carefully and organize my dataset correctly; 我想训练自定义数据集，我已经仔细阅读了训练自定义数据的教程，以及按照正确的目录结构存放数据集。

[X] I have pulled the latest code of main branch to run again and the problem still existed. 我已经拉取了主分支上最新的代码，重新运行之后，问题仍不能解决。

Search before asking

[X] I have searched the DAMO-YOLO issues and found no similar questions.

Question
Thank you!
Additional
No response

Thank you for your attention. We plan to apply DAMO-YOLO on instance segmentation and pose detection, and will release it as soon as it is completed.


fix: add missing content-type header

Description
Adds missing content-type header in issue comments and when editing issues and plex login. (I also added it to email modal though we dont use it, in-case we use it in the future.)
Screenshot (if UI-related)
To-Dos

[ ] Successful build pnpm build
[ ] Translation keys pnpm i18n:extract
[ ] Database migration (if required)

Issues Fixed or Closed

Fixes #XXXX

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

v2.0.0
GitHub release

Your semantic-release bot :package::rocket:


panic: runtime error: slice bounds out of range

path=d:\developing\go\meijing\src\mc\app
root=d:\developing\go\meijing\src/mc/app
panic: runtime error: slice bounds out of range

goroutine 1 [running]:
panic(0x9401e0, 0xc082004060)
        d:/tools/go_amd64/src/runtime/panic.go:481 +0x3f4
github.com/revel/cmd/harness.ProcessSource.func1(0xc08215dc20, 0x23, 0x1746b0, 0xc0821595c0, 0x0, 0x0, 0x0, 0x0)
        d:/developing/go/meijing/tpt_vendor/src/github.com/revel/cmd/harness/reflect.go:114 +0xe5e
github.com/revel/revel.fsWalk.func1(0xc08215dc20, 0x23, 0x1746b0, 0xc0821595c0,0x0, 0x0, 0x0, 0x0)
        d:/developing/go/meijing/tpt_vendor/src/github.com/revel/revel/util.go:264 +0x412
path/filepath.walk(0xc082134420, 0x23, 0x1746b0, 0xc0821595c0, 0xc08215d9e0, 0x0, 0x0)
        d:/tools/go_amd64/src/path/filepath/path.go:349 +0x87
path/filepath.Walk(0xc082134420, 0x23, 0xc08215d9e0, 0x0, 0x0)
        d:/tools/go_amd64/src/path/filepath/path.go:396 +0xe8
github.com/revel/revel.fsWalk(0xc082134420, 0x23, 0xc082134420, 0x23, 0xc08215d9b0, 0x0, 0x0)
        d:/developing/go/meijing/tpt_vendor/src/github.com/revel/revel/util.go:267 +0xbd
github.com/revel/revel.Walk(0xc082134420, 0x23, 0xc08215d9b0, 0x0, 0x0)
        d:/developing/go/meijing/tpt_vendor/src/github.com/revel/revel/util.go:215 +0x52
github.com/revel/cmd/harness.ProcessSource(0xc082079500, 0x5, 0x8, 0xcb0420, 0xc0)
        d:/developing/go/meijing/tpt_vendor/src/github.com/revel/cmd/harness/reflect.go:168 +0x3fe
github.com/revel/cmd/harness.Build(0x0, 0x0, 0x0, 0x0, 0x0)
        d:/developing/go/meijing/tpt_vendor/src/github.com/revel/cmd/harness/build.go:30 +0xfa
main.buildApp(0xc08200a420, 0x2, 0x2)
        d:/developing/go/meijing/tpt_vendor/src/github.com/revel/cmd/revel/build.go:62 +0x61c
main.main()
        d:/developing/go/meijing/tpt_vendor/src/github.com/revel/cmd/revel/rev.go:81 +0x5eb

Getting the same problem after updating to v0.13 on Windows 10. Also tried removing all revel files and using "go get" again for revel/cmd and revel/revel but to no avail.

@ivanzhangio Can you please try this, share your feedback?
Note: Please change the path according to windows.

Remove $GOPATH/bin/revel, $GOPATH/bin/revel/revel.d/,  $GOPATH/src/github.com/revel and $GOPATH/pkg/darwin_amd64/github.com/revel
go get -u github.com/revel/cmd/revel

@jeevatkm same issue, unfortunately.

I will look into it ASAP. Thanks for your quick response.

@ivanzhangio @runner-mei Can you please take an update and verify it?
PS: I have applied path fix and verified in my windows 10 VM.

FYI, windows support will be significantly improve on v0.14 release

it is ok.

@runner-mei thanks for confirmation.


Use color constants directly - remove usage of native RNColors bridge

@mrtnzlml check your tests

@tbergq There is nothing to fix.

Open it first, please.

Yes, I see it is timeout, works locally, so I will merge

See: https://status.npmjs.org/ - Increased registry response time
We don't need to wait for them.


Catch Files Stream Uploading Through Proxy to online storage or email storage.

@honfika  @justcoding121
I was trying to intercept files being uploaded into online storage or email. Right now I can able to intercept the upload request with some logic of filename and extension validation.
I need some suggestion on below items.
Is there any way to get the file stream(File uploading) from HTTPS Request?, So I can monitor what is the file which he tried to upload.
Is there any way to find in HTTPS Request files being uploading. So I can intercept this request easily. As i said early file extension validation is restricted to only some file types, because we cannot scale all of the file format which is available.

So the problem is that the file is too big, and you want a stream, it is not possible to load the whole file in memory?

I don't care about the memory, as long as I can able to detect the file upload into online.

please check the sample project:
https://github.com/justcoding121/Titanium-Web-Proxy/blob/02541efdad00962e868776efff41c49a4a8590f5/examples/Titanium.Web.Proxy.Examples.Basic/ProxyTestController.cs#L320-L363
var bodyBytes = await e.GetResponseBody();

Sorry, I linked wrong method, this is the onResponse, but it is the dame for the request.. you can read the body in a same way.

Thanks @honfika for your comments. It will helps me a lot.
Is there any way can we get name of the File or the Directory where it choose from.
I only know how to get the Process ID from the request.

The filename should be there, but i think the directory name is not in the HTTP traffic..


fix: get_cpu_info doesn't return flags

see https://github.com/marella/ctransformers/issues/70

Thanks. I'm already working on a fix and will release soon.


7-Tage-Hospitalisierungsinzidenz

Du you already have an idea, whether it will be possible to provide the "7-Tage-Hospitalisierungsinzidenz" in your API? I'd like to show it in my Scriptable-Widget.

Here is the information/table from the bavarian site: https://www.lgl.bayern.de/gesundheit/infektionsschutz/infektionskrankheiten_a_z/coronavirus/karte_coronavirus/index.htm#kennzahlen
BR24 created this page
https://datawrapper.dwcdn.net/2L501/9/

Thanks for your input. At least the data is somewhere, but at the moment it does not seem, that it is provided in a reasonable format for the whole country …

Is there an update on this? I am also looking for a "reasonable" way to get this data for the whole country

i had a look on it but i dont find any suitable source ........... :-(

Only thing i found, was this API linked on the RKI website:
https://github.com/robert-koch-institut/COVID-19-Hospitalisierungen_in_Deutschland
https://github.com/robert-koch-institut/COVID-19-Hospitalisierungen_in_Deutschland/blob/master/Aktuell_Deutschland_COVID-19-Hospitalisierungen.csv

That looks quite promising, @Whippie72!

I will have a look on this .............. and will do my best :-)


provide() and error() are only allow for fetch, translate and instantiate stages

https://github.com/whatwg/loader/pull/91 introduce a regression in the provide() and error() algos, this PR fixes that.

Looks perfect, r+


feat: adapt for Skyrim 1.6.640 SKSE 2.2.2

Looks fine. I'd suggest we take a look at https://github.com/reg2k/rva or something that enables pattern matching in the binary. That is from fallout and doesn't have an explicit license, but is just an example of something that allows version independence.
The other alternative is to adopt addresslib.

I'm all in favor.


Added Insertion Sort [Python]

fixed #84
By submitting this pull request I confirm I've read and complied with the below requirements.

[x] I have read the Contribution guidelines and I am confident that my PR reflects them.
[x] I have followed the coding guidelines for this project.
[x] My code follows the skeleton code structure.
[x] This pull request has a descriptive title. For example, Added {Algorithm/DS name} [{Language}], not Update README.md or Added new code.

@rajeeviiit Some codacy issues still remain.

@aviaryan
what kind of check is codeclimate getting 1 issue . code is correct what to do next.

@rajeeviiit See the Files tab in this PR. In addition to the code, you have committed a lot of additional files. This PR can't be merged right now.
Codeclimate actually detected an issue in one of those accidentally committed files. You can click on Details near the codeclimate check status to see what are the problems btw.
So you will now have to remove the extra files before this PR can be merged. Hope this helps.

@aviaryan
Sorry, It was just added other files by my IDE.Now, have review please.


GCS support OpenX internal

There is already module for google pubsub https://github.com/Playtika/testcontainers-spring-boot/tree/develop/embedded-google-pubsub.
What issue are you trying to handle by this PR?

Sorry, miss click...
There was supposed to be an embedded google cloud storage contribution.
It's still in progress at https://github.com/sergseven/testcontainers-spring-boot/pull/6 JFYI


Update Theme CLI

Hi,
Not sure this is possible, perhaps it is... But since I'm on a spree this evening, I would like...
The ability to upgrade "easily" to the latest version of the Authentic Theme via a CLI command. I do a lot of server updates using automated scripts, and would like to simplify updating the theme as well...

Hi, Peter.
Yes it's possible. I have just updated theme-update.sh script that will now support -force switch from command line.
You can use it, starting from theme 19.35 version release as follows, to update to the latest development version:
./theme-update.sh -force

..and to update to the latest release:
./theme-update.sh -force -release


'errors.DataConflictError' for duplicate iteration creation causes 500 error in API (OSIO#2865)

add support for 409 Conflict response at the design level
also: renamed and refactored the test file, and include a verification for this bug fix.
Fixes openshiftio/openshift.io#2865
Signed-off-by: Xavier Coulon<EMAIL_ADDRESS>

The change in the test file is big (file was renamed and tests were reorganized), but the relevant addition in this PR is here: https://github.com/fabric8-services/fabric8-wit/pull/2043/files#diff-8c3e308edbcd4c1dd4a0f970e638e3d9R141

Codecov Report

Merging #2043 into master will increase coverage by 0.07%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master    #2043      +/-   ##
==========================================
+ Coverage   67.19%   67.27%   +0.07%
==========================================
  Files         157      157
  Lines       14198    14198
==========================================
+ Hits         9541     9551      +10
+ Misses       3758     3749       -9
+ Partials      899      898       -1

Impacted Files
Coverage Δ

jsonapi/jsonapi_utility.go
100% <100%> (ø)
:arrow_up:

controller/space_iterations.go
84.26% <0%> (+2.24%)
:arrow_up:

remoteworkitem/scheduler.go
60.97% <0%> (+7.31%)
:arrow_up:

remoteworkitem/jira.go
100% <0%> (+25%)
:arrow_up:

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 a550336...00c7e3c. Read the comment docs.

@xcoulon snapshot fabric8-wit image is available for testing.  docker pull docker.io/fabric8/fabric8-wit:SNAPSHOT-PR-2043-2


 Did you also disable IPv4?

Update: Previous v1.4 releases (< v1.4.3) distributed ConfigMap examples with the wrong etcd TLS certificate paths. The details can be seen in the PR #7350. For users affected by that issue, correcting the paths to match the latest examples from the documentation should resolve the issue: https://docs.cilium.io/en/stable/kubernetes/configuration/
More broadly, this error message indicates a kvstore connectivity issue which can manifest in a variety of situations.

There appears to be some relation between this issue and the fix in #7350 , which should fix issues for future installations coming up (merged to master; docs being backported to v1.4 stable docs shortly). Still looking for additional information from any users that hit this.

Same error message and cilium-agents in CrashLoop backoff. This when running flannel tests (IPv6 disabled) on the TPROXY PR. Since this happens before any network policy is running this should not be due to TPROXY redirections.
https://jenkins.cilium.io/job/Cilium-PR-Flannel-hook/19/artifact/05aa1996_K8sPolicyTest_Basic_Test_Allows_traffic_with_k8s_default-allow_egress_policy.zip
Excerpt from pod-kube-system-cilium-q6m6r-cilium-agent-previous.log:
2019-03-10T18:22:23.861726703Z level=debug msg="Queueing container event" containerID=486ba84e6b event="exec_create: cilium status" subsys=workload-watcher
2019-03-10T18:22:23.8628329Z level=debug msg="Queueing container event" containerID=486ba84e6b event="exec_start: cilium status" subsys=workload-watcher
2019-03-10T18:22:23.980295644Z level=debug msg="Queueing container event" containerID=486ba84e6b event=exec_die subsys=workload-watcher
2019-03-10T18:22:24.041578589Z level=debug msg="Skipping CiliumEndpoint update because it has not changed" containerID=f67c904777 controller="sync-to-k8s-ciliumendpoint (2173)" datapathPolicyRevision=1 desiredPolicyRevision=1 endpointID=2173 identity=100 ipv4=<IP_ADDRESS> ipv6= k8sPodName=kube-system/etcd-operator-7bc6d4fc6-4jl4d subsys=endpointsynchronizer
2019-03-10T18:22:24.041610744Z level=debug msg="Controller func execution time: 270.222µs" name="sync-to-k8s-ciliumendpoint (2173)" subsys=controller uuid=2bf7e583-4361-11e9-8018-080027051dad
2019-03-10T18:22:24.353927811Z level=debug msg="Controller func execution time: 239.592µs" name=sync-policymap-2173 subsys=controller uuid=2c2ca8e9-4361-11e9-8018-080027051dad
2019-03-10T18:22:24.443103615Z level=debug msg="custom dialer based on k8s service backend is dialing to \"cilium-etcd-client.kube-system.svc:2379\"" subsys=etcd
2019-03-10T18:22:24.833321961Z level=fatal msg="Unable to initialize local node" error="Time out while retrieving initial list of objects from kvstore" subsys=nodediscovery
2019-03-10T18:22:24.834790383Z level=fatal msg="Agent pipe unexpectedly closed, shutting down" subsys=cilium-node-monitor

Note that the error="Time out while retrieving initial list of objects from kvstore" message is a common symptom of kvstore connectivity issues.
This bug appears to have been addressed by #7350. Please file a new issue or ask in Slack if you hit an issue like this.


This is a sample issue

Working in VSCode on a Windows machine.
Connected to github using the micromouseonline account.
Creating this issue in Github Pull Requests
Current repo is the micromouseonline fork of axodyne/practice

Excellent.
The issue was created in the upstream repo. That is, axodyne/practice

Although VSCode sees the issue and appears to let me work on it, that would require permission on the upstream repo. Micromouseonline does not have that so there is an error.
That is the correct choice because the repo owner needs to actually work on the issue.


Update Readme Content

Updated README content based on awesome-readme to include bash getting started commands, goart png, and gif.
Update packages to resolve //go:linkname must refer to declared function or variable error on M1

See: https://github.com/Mikaayenson/go-atomicredteam to see the changes.

@Mikaayenson dude this is awesome! Sorry I'm just now seeing this... party foul on my part. Thank you for the contributions!

@Mikaayenson I also meant to comment on the logo you added ... very cool! :+1: Thank you again!

@Mikaayenson I also meant to comment on the logo you added ... very cool! 👍 Thank you again!

Glad you like it brother! Anytime.


Page Failed to Load

Index page failed to load due to missing angular-storage.

Sorry for any inconvenience, i think i will remove angular-storage for the moment.

Remove it? Why?

I do not use it so far...unless you use it then i keep

How did you store the user information for future REST calls?

mongodb

Way back in angular-storage


Implements Template Level Adaptation Events

Implements All Types of Adaptation Events at a Template Level

Task linked: CU-3e69xmm Implement Student Template Card Link Adaptation


No known moves possible

This changes the possible moves displayed to no longer include moves that are already known, in an effort to improve readability and reduce clutter.

Thanks for your interest in the project!
The current display is somewhat intentional - the extension tooltip displays all possible options for items/abilities/moves, unlike the native PS tooltip which shows what the actual revealed information is. An alternative (which is the direction you appear to be heading in this PR) is to have the extension tooltip display just the remaining possible options, though if that were the case it should filter to only show remaining possible items/abilities as well to avoid creating confusion as to what the extension displays ( and which is more difficult. Furthermore, in all cases you would probably want to remove the row entirely for one of the data types if there were no remaining options).
I'm hesitant to change the definition of the extension's tooltip information from "all" -> "remaining" possible options, as the latter is more complicated to both code and for a user to immediately grok, and given the large number of users this extension now supports (> 100k) I'm reluctant to move things around too much. I'm not sure the clutter/readability argument is super strong as this only removes 1-4 moves from the list, and I don't know that screen real estate is at that much of a premium (though apparently some people are using this on their phones...).
Finally, I view this extension as mostly a "finished product", with something like EPOké/PocketMon eventually being the actual logical progression for improving the display here, and am likely only going to be willing to accept changes to add formats or keep up to date with breaking changes from upstream.

Roger that, very reasonable. And agree, this would be inconsistent if we didn't do the same with items, and would increase code complexity. Thanks for the reply + consideration!


fix: microsoft-edge/progressive-web-apps/get-started.md

Double word "will"
Double word "and"

OPS Build status updates of commit f59f029:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

microsoft-edge/progressive-web-apps/get-started.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

Docs Build status updates of commit e7e7f02:
:warning: Validation status: warnings
For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

Signed off and merged into master branch.


bug: ReactTransitionEvents doesn't work in supported browsers

I'm submitting a ...  (check one with "x")
[x] bug report
[ ] feature request

Current behavior
Issue is that you are registering TransitionEnd / AnimationEnd in browsers that support ontransitionend/onanimationend -> this leads that not existent event is registered in supported browsers and things don't work.
Expected/New behavior
register proper events cross-browser
Minimal reproduction of the problem with instructions
For instance react-redux-toaster is using ReactTransitionEvents for registering transition events.
With React works without issues

With Preact, the proper events are not called so it is not removed from store and stays in DOM
What is the motivation / use cases?
Some react libs are using ReactTransitionEvents for critical functionality ( like cleaning up store )
Preact-compat version: 3.16.0
Browser:
Chrome, FF, Edge, Safari
I can send PR if you're ok with that
Thanks

Am having the exact same issue here, also with react-redux-toastr in fact.

Perhaps we can use the implementation from css transition group?
https://github.com/developit/preact-css-transition-group/blob/master/src/TransitionEvents.js#L74

Well, at the to of the source file we have a block for determining the
transitionend "prefix". I'm locally testing an implementation that makes
use of https://gist.github.com/O-Zone/7230245, which is itself a derivative
of https://github.com/EvandroLG/transitionEnd/ which is recommended by the
Modernizr folks. Would this be acceptable as a PR?
On Sat, Jun 10, 2017 at 11:24 AM, Jason Miller<EMAIL_ADDRESS>wrote:

Perhaps we can use the implementation from css transition group?
https://github.com/developit/preact-css-transition-group/blob/master/src/
TransitionEvents.js#L74
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/developit/preact-compat/issues/396#issuecomment-307571661,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAkeu1Qn0j4v6EpFkZCrHLhpmdlPjkEgks5sCrU2gaJpZM4Nygw2
.

That is to say, having not investigated the TransitionEvents bit, this is
the route I have started with. Will investigate TransitionEvents shortly.
On Sat, Jun 10, 2017 at 11:54 AM, Thomas Wilson<EMAIL_ADDRESS>wrote:

Well, at the to of the source file we have a block for determining the
transitionend "prefix". I'm locally testing an implementation that makes
use of https://gist.github.com/O-Zone/7230245, which is itself a
derivative of https://github.com/EvandroLG/transitionEnd/ which is
recommended by the Modernizr folks. Would this be acceptable as a PR?
On Sat, Jun 10, 2017 at 11:24 AM, Jason Miller<EMAIL_ADDRESS>wrote:

Perhaps we can use the implementation from css transition group?
https://github.com/developit/preact-css-transition-group/blo
b/master/src/TransitionEvents.js#L74
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/developit/preact-compat/issues/396#issuecomment-307571661,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAkeu1Qn0j4v6EpFkZCrHLhpmdlPjkEgks5sCrU2gaJpZM4Nygw2
.

Cool. Looks like that's roughly how TransitionEvents works anyways
On Sat, Jun 10, 2017 at 11:56 AM, Thomas Wilson<EMAIL_ADDRESS>wrote:

That is to say, having not investigated the TransitionEvents bit, this is
the route I have started with. Will investigate TransitionEvents shortly.
On Sat, Jun 10, 2017 at 11:54 AM, Thomas Wilson<EMAIL_ADDRESS>wrote:

Well, at the to of the source file we have a block for determining the
transitionend "prefix". I'm locally testing an implementation that makes
use of https://gist.github.com/O-Zone/7230245, which is itself a
derivative of https://github.com/EvandroLG/transitionEnd/ which is
recommended by the Modernizr folks. Would this be acceptable as a PR?
On Sat, Jun 10, 2017 at 11:24 AM, Jason Miller<EMAIL_ADDRESS>wrote:

Perhaps we can use the implementation from css transition group?
https://github.com/developit/preact-css-transition-group/blo
b/master/src/TransitionEvents.js#L74
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/developit/preact-compat/issues/396#issuecomment-307571661,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAkeu1Qn0j4v6EpFkZCrHLhpmdlPjkEgks5sCrU2gaJpZM4Nygw2
.

have the same issue

the first one is created by preact
the second is created by addEventlistener


Generate a second audio mezzanine

Create an additional audio mezzanine that permits emulating different languages. The mezzanine should be clearly identifiable as a different language in order to support switching observation. Ideas welcome.

Options:

Beep pitch is different
not a beep, but a jingle
other ideas

It would be preferable if this could be detected automatically.
The pitch of the beep might (or might not) be detectable in an mp4 file downloaded from a camera or captured from a webcam.
Another option would be the ATSC 3 audio watermark although the Verance example code for this isn't under an open source license.

Jon, we need multiple languages or variants at least, when using the test vectors for switching audio in DASH tests. This is not a CTA WAVE problem in the first place, but if we want to rely on CTA WAVE test vectors for client testing as well, then it would be good to add this here.

One thing you can do is take an existing audio track with suitable rights and mix something else into it. For example record someone saying "German" and someone saying "English" and make one version with "German" mixed in every 15s mixed into it and another version with "English" mixed in every 15s.
The HbbTV DASH-DRM reference app does this. To see this, go to http://refapp.hbbtv.org/production/catalogue/,  then navigate to "1.7 Multiple audio (v4)" using the cursor keys - down, right, right and press enter to play the stream.

We could generate the audio for that using the Python pyttsx3 library.
For example, this gives decent voice output that can be mixed into existing (or new) audio tracks:
import pyttsx3
engine = pyttsx3.init()
engine.setProperty('rate', 100)
engine.say("English")
engine.runAndWait()
It can be easily saved to file for mixing into mezzanine content:
engine.save_to_file("English", 'EnglishAudio.mp3')
engine.runAndWait()
More info here: https://pyttsx3.readthedocs.io/en/latest/engine.html#module-pyttsx3.voice

Adding a link to a related preceding discussion on audio  Audio experts: what are suitable audio features needed in mezzanine content to enable required observations (manual or automated) for audio streams?
Some other thoughts:

To automate an assertion that the correct audio is playing, a beep (or beep pattern) at a given pitch and duration is going to be easier to detect than spoken word. We would suggest that a set of beeps at different pitches, as suggested above, are agreed and several mezzanine audio tracks produced that can be encoded by the media proponents for use in different test cases as necessary.

Presumably any alternative audio track also ought to be in sync with the video, in which case the timing of the beeps (edge) ought to sync with flashes in the video. The BBC did this for a different use case in a project here http://hbbtv-testing.virt.ch.bbc.co.uk/streams/simple-companion-seqs/

Having both beep and spoken audio, so a human can tell the difference more easily is also not a bad idea - when it comes to debugging and sanity checks making it easier for humans to know the "right" audio is playing is worthwhile. But...

Spoken "english channel", "spanish channel" might not be the best choice for generic mezzanine representing "another language" (think of the tester hearing "spanish audio" when selecting "not spanish" language because the device is intended for a different region) "alternate audio A/B/C" might be more generic, or else you want a handful of regions covered.

Would make automation easier not to have the beep and spoken audio overlap: probably not essential, just more processing needed to extract one from other if they do, which increases the risk of occasional false failures...

* Spoken "english channel", "spanish channel" might not be the best choice for generic mezzanine representing "another language" (think of the tester hearing "spanish audio" when selecting "not spanish" language because the device is intended for a different region) "alternate audio A/B/C" might be more generic, or else you want a handful of regions covered.

While I agree with most of the comment, I don't completely agree with the above. If the manifest can signal a language (like DASH can) then the audio tracks would need to contain something that can be linked back to the language signalled in the manifest. Using DASH as an example (apologies to HLS), if the manifest contains an English and a Spanish Adaptation Set then having the English audio identify itself as "alternate audio A" and the Spanish Adaptation Set identify itself as "alternate audio B" would IMHO be really confusing. I would expect that a device only intended for (say) Germany or Dubai or Taiwan would still be able to do something sensible when presented with a manifest with only English and Spanish Adaptation Sets.

I would expect that a device only intended for (say) Germany or Dubai or Taiwan would still be able to do something sensible when presented with a manifest with only English and Spanish Adaptation Sets.

I'm not sure, and was trying to think of a generic approach to mezzanine so we didn't have to think ahead to what might happen. But...

having the English audio identify itself as "alternate audio A" and the Spanish Adaptation Set identify itself as "alternate audio B" would IMHO be really confusing.

...I won't argue with that. I did think having say Taiwan audio identify itself as "Spanish audio" would be equally confusing but concede confusing testers in most common cases for the sake of a few (possibly corner) cases doesn't seem a good trade off.

2020/2/12 DPCTF: Let's go with the Proposal from Jon and Nicholas - thanks

Let's go with the Proposal from Jon and Nicholas
I don't know what that means. Jon originally proposed something like watermarks, then agreed with several of my points, and not one - which I am not arguing with. Nicholas described how it might be created, not what it contained, I think.

It would help to close this thread with a clearer statement of what the mezzanine requirements for this use case that have been agreed actually are...
Then, who is going to implement them?

January 5th meeting
Still issue to be resolved with levels.
Discussion about how many mezannine streams need 2 audio tracks.
Proposal to just do it for the highest resolution of each frame rate family, 1920x1080p.
One is better than none.
Next steps
Will include this when mezzanine content is regenerated.

January 5th meeting
Still issue to be resolved with levels.
Discussion about how many mezannine streams need 2 audio tracks.
Proposal to just do it for the highest resolution of each frame rate family, 1920x1080p.
One is better than none.
Next steps
Will include this when mezzanine content is regenerated.

Pull request #22 includes a first implementation of this.
The add_second_audio_track.py script generates a copy of a mezzanine stream, with an additional (2nd) audio track that contains the word "English" spoken every 15 seconds, mixed with the original audio.
Feedback and proposals for further improvement are welcome.

Pull request #22 includes a first implementation of this.
The add_second_audio_track.py script generates a copy of a mezzanine stream, with an additional (2nd) audio track that contains the word "English" spoken every 15 seconds, mixed with the original audio.
Feedback and proposals for further improvement are welcome.

As we can generate mezzanine with a second audio track for emulating language selection and no further discussion has occurred for over 8 months, I propose to close this issue and raise more specific issues to address any issues with the current proposal implemented in add_second_audio_track.py.
Further improvements will likely be possible following the work on audio mezzanine as discussed in #39, #41 and #44.


[Adaptive] [LG] [DCR] support external LG references/ import in .lg format

This DCR introduces ability to import external LG resource in the .lg file format, in the LG library as well as in the declarative type loader.
File format
Reference to external content is specified via markdown link syntax. [link-text](link-source)
Where

link-text is arbitrary text user uses to identify the specific external LG resource
link-source can be one of -

relative path to another .lg file
Name of external resource to be resolved via a lambda
URI to .lg file

Note: path based resolution (relative) only work when the LG files are loaded via TemplateEngine.FromFiles method.
Here are some examples -
> here is an example of relative path based external LG resource
[import global templates](../../global.lg)

> here is an example of a named import the content of which are provided by a delegate
[import global templates](global)

> here is an example of URI based LG resource
[import global templates](http://contoso.com/resources/lg/global.lg)

Updates to TemplateEngine:

FromFiles and FromText methods will now accept a delegate that lists external unresolved references found in loaded lg content. delegate returns Text for each unresolved reference.

TemplateEngine should:

In case of a path based resource, find and use any known LG files added via FromFiles and if resource is not found, call the delegate if specified or throw.
In case of URI based resource, navigate to and load resource from URI and if resource not found, call the delegate if specified or throw.
In case of named import, simply call the delegate if specified or throw.

Template Engine will also throw if the expected resource cannot be resolved.
Related work on Type loader:

Implement delegate on all TemplateEngine.FromFiles call.

Priority
Interface

This is supported now, with some followup. i will create another DCR to track


Export save_dvec and load_dvec

Fixes #113

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 86.216%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
3021

Relevant Lines:
3504

💛  - Coveralls


update dcorr module: mcorr/dcorr p-value, power estimation, better formatted code

[x] updated dcorr module test statistics
[x] p value for dcorr/mcorr/mantel
[x] power estimation
[x] demo notebook

Pull Request Test Coverage Report for Build 84

119 of 125 (95.2%)  changed or added relevant lines in 5 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+1.4%) to 82.483%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

mgcpy/independence_tests/dcorr.py
45
51
88.24%

Totals

Change from base Build 77:
1.4%

Covered Lines:
598

Relevant Lines:
725

💛  - Coveralls


second batch of REST to GraphQL conversions for products and variants

Follow on to #393

Nice work! Thank you!


Using statics

Hello everyone,
I'm quite new to rust and embassy, but I'm trying it out ! One thing I don't quite get is how I can package for example all of the usb communication in a different module and import it in the main.
I saw in the example usb_serial.rs (for rp2040):
`// Do stuff with the class!
let echo_fut = async {
loop {
class.wait_connection().await;
info!("Connected");
let _ = echo(&mut class).await;
info!("Disconnected");
}
};
// Run everything concurrently.
// If we had made everything `'static` above instead, we could do this using separate tasks instead.
join(usb_fut, echo_fut).await;`

I was wondering how one would make everything static, everytime I try I get things like "returns a value referencing data owned by the current function".
I tried also using StaticCell but did not succeed.
It is probably not the right place to ask for this but I think an example of how to structure usb, i2c, etc in a different module would be useful.
Thank you,
Edouard.

there's an example here: https://github.com/embassy-rs/embassy/blob/main/examples/rp/src/bin/usb_ethernet.rs
it's essentially putting make_static! in the right places so all lifetimes are 'static.


msg.to_url_link() 是返回UrlLink对象吧？获取不到对应属性

Yes, it's a bug from python-wechaty-puppet-service, please keey eyes on this issue to get the latest info about new version of python-wechaty-puppet-service.
When it's updated, you should run command to get new package:
pip install --upgrade wechaty-puppet-service

xt


Add function n_locations() to determine number of sites/reefs/clusters

Previously the number of sites/reefs/clusters were being inferred by examining the number of rows in a geopackage.
In the future however, there may be several other kinds of ResultSets which interfaces with results from other RRAP models (e.g., #271), which may store this information in some other form.
This PR replaces manual examination of the geopackage with a call to a helper function. How the number of locations are determined can then be adjusted for different situations.

Looks good to me, I'll just run tests locally


Enquiry related to the normalization

Dear author,
After reading your paper, the experience is enriching as well as being overwhelmed.
I have some confusion regarding your code, and would appreciate if you can explain.
In the poses_avg, it calculates the new center of the world, and get a normalized vector, Vec2.
THen in viewmatrix function, it normalizes the z (Vec2) for a second time, and then vec0 and vec1 is cross producted and normalized.
Why are the above cross product processes necessary? could we simply normalize them without cross product?
Thanks
def viewmatrix(z, up, pos):
vec2 = normalize(z)
vec1_avg = up
vec0 = normalize(np.cross(vec1_avg, vec2))
vec1 = normalize(np.cross(vec2, vec0))
m = np.stack([vec0, vec1, vec2, pos], 1)
return m
def poses_avg(poses):
#poses [images, 3, 4] not [images, 3, 5]
#hwf = poses[0, :3, -1:]，
center = poses[:, :3, 3].mean(0)
vec2 = normalize(poses[:, :3, 2].sum(0))
up = poses[:, :3, 1].sum(0)
c2w = np.concatenate([viewmatrix(vec2, up, center)], 1)

Hi,
I see that this part of code is calculating the new w2c matrix based on the new world coordinate system (in the center of the scene).
But what is the geometry principles used here？
THanks

The view matrix code is taken from LLFF. So, I'm not sure is it necessary to cross product.
Here is an original code
https://github.com/Fyusion/LLFF/blob/c6e27b1ee59cb18f054ccb0f87a90214dbe70482/llff/math/pose_math.py#L14\
for calculating the new w2c matrix based on the new world coordinate system. can you point me to the code? I'm not sure which part are you mentioning.

How much time will the training take  from scratch?

It depends on the number of input images.
Fern (17 training images) takes about 18 hours while CD (265 training images) takes about 4 days.


Optimize Traversable.toJavaStream() from O(n) to O(1)

Currently all elements are processed to create a Stream by converting it to a java.utl.List and streaming it.
A better solution is:
default Stream<T> toJavaStream() {
    final Spliterator<T> spliterator
        = Spliterators.spliteratorUnknownSize(iterator(), 0);
    return StreamSupport.stream(spliterator, false);
}

... or even better, since Traversable is an Iterable:
default Stream<T> toJavaStream() {
    return StreamSupport.stream(spliterator(), false);
}


wolfssl inclusion

Can wolfssl header files documentation be included here?

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

ID: 9800cae8-dfe3-2903-0990-ae90b3fa38a1
Version Independent ID: a79b06c0-38e8-6ab1-9c6b-27da5171db4a
Content: Azure Sphere Application Libraries reference
Content Source: AzureSphere/articles/reference/applibs-reference/api-overview.md
Product: azure-sphere
GitHub Login: @pennyo
Microsoft Alias: azurespheredocs

@kiranpradeep Thanks for the feedback! We are currently investigating and will update you shortly.

There is a separate doc available for wolf SSL here: https://docs.microsoft.com/en-us/azure-sphere/app-development/wolfssl-tls
Since this is not a mandatory update we will consider this for our future updates. Adding author @pennyo for further review and update the doc if necessary.
We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.


Fail to open file on Ubuntu if path contains uppercase char

When trying to get the treeview on Ubuntu, if the path contains an uppercase char, it fails with this message:
Impossible d'ouvrir '' : cannot open file:///home/nicolas/t%C3%A9l%C3%A9chargements/backup-1473699716781.xml. Detail: Fichier introuvable (/home/nicolas/téléchargements/backup-1473699716781.xml).
The right path here is home/nicolas/Téléchargements/backup-1473699716781.xml

confirm this. doesn't work even without localised letters, a single uppercase anywhere in the path ruins all.

Same problem on Fedora linux.


Unable to delete a node [mat-tree component Angular Material 6.0.1]

insertNode is implemented but there's no method for deleting a node.
I tried removing the object from the array but it didn't work since the tree doesn't get updated.
Any ideas?

Please keep GitHub issues for bug reports / feature requests. Better avenues for troubleshooting / questions are stack overflow, gitter, mailing list, etc.

any thing new with this issue?

Hi, I create a parentMap to record each node's parent and delete node with it succesfully, here's the code

Declare the map

parentNodeMap = new Map<TreeNode, TreeNode>();

Set the map when inserting node

insertChild(parent: TreeNode) {
    const newChild = { name: '', type: 'filter', topn: false } as TreeNode;
    if (parent.children) {
      parent.children.push(newChild);
      this.dataChange.next(this.data);
      this.parentNodeMap.set(newChild, parent);
    }
  }

Update the map after deleting

deleteNode(node: TreeNode) {
    const parentNode = this.parentNodeMap.get(node);
    const index = parentNode.children.indexOf(node);
    if (index !== -1) {
      parentNode.children.splice(index, 1);
      this.dataChange.next(this.data);
      this.parentNodeMap.delete(node);
    }
  }

hope this would be helpful.

@covera Thank you it seems great. could you please publish your code using https://stackblitz.com/
you can use angular-material examples to save time.

I am also facing the same issue,
I want to remove the leaf nodes on click of minus button.
I am using nested material tree

Hi neerajrd25 ,
thanks for delete node demo.
but there is some error if we add more nodes and sub nodes.
M working on to delete leaf node
Please inform me if you also facing same issue.

Hi @amarkoulavkar  i have done it .. created stackblitz for it..
you can have a look
stackblitz

Hello
I'm having some issues using two trees in the same component, separated in two tabs. Although I have created separate data sources, tree controllers and databases when I change one tree the other changes as well.


UCP: operationalize config file editing

Made instructions for editing UCP config copy-pastable with in-line
comments. This removes the need to copy-part-of-a-line,
paste-some-output-from-another-command, copy-next-part-of-a-line, repeat,
until a command is complete.  Follows the highly useful pattern here https://docs.docker.com/datacenter/ucp/2.2/guides/admin/monitor-and-troubleshoot/troubleshoot-configurations/#check-the-status-of-the-database
Also moved the "Example config" below "inspect and modify" to improve
readability as "inspect and modify" is a more common workflow.
DO NOT MERGE until after rebase following #4595.

rebased onto master.