Istio-tracing is giving CrashLoopBackOff

Bug description
I have applied istio manifest using istioctl manifest apply  --set values.grafana.enabled=true --set values.kiali.enabled=true --set values.prometheus.enabled=true --set values.tracing.enabled=true
Once the setup completes. When I do kubectl get pods -n istio-system I see istio-tracing pod constantly restarting and I see event ingress-gateway ready status is 0/1.
NAME                                   READY   STATUS             RESTARTS   AGE
grafana-5f6f8cbf75-t55qp               1/1     Running            0          13m
istio-ingressgateway-c8464fbbf-vgctq   0/1     Running            0          13m
istio-tracing-9dd6c4f7c-hlvlm          0/1     CrashLoopBackOff   7          13m
istiod-646746688-mblsd                 1/1     Running            0          14m
kiali-869c6894c5-2wr52                 1/1     Running            0          13m
prometheus-c89875c74-p6wdq             1/2     Running            0          13m
Events in istio-tracing component
Events:
Type     Reason     Age                 From                Message

Normal   Scheduled             default-scheduler   Successfully assigned istio-system/istio-tracing-9dd6c4f7c-hlvlm to ac-worker
Normal   Created    20m (x2 over 21m)   kubelet, ac-worker  Created container jaeger
Normal   Started    20m (x2 over 21m)   kubelet, ac-worker  Started container jaeger
Warning  Unhealthy  20m (x6 over 21m)   kubelet, ac-worker  Liveness probe failed: HTTP probe failed with statuscode: 503
Normal   Killing    20m (x2 over 21m)   kubelet, ac-worker  Container jaeger failed liveness probe, will be restarted
Warning  Unhealthy  20m (x10 over 21m)  kubelet, ac-worker  Readiness probe failed: HTTP probe failed with statuscode: 503
Normal   Pulled     20m (x3 over 21m)   kubelet, ac-worker  Container image "docker.io/jaegertracing/all-in-one:1.16" already present on machine
Warning  BackOff    92s (x59 over 16m)  kubelet, ac-worker  Back-off restarting failed container
Expected behavior
All the istio components should startup successfully.
Steps to reproduce the bug
Setup istio using
istioctl manifest apply  --set values.grafana.enabled=true --set values.kiali.enabled=true --set values.prometheus.enabled=true --set values.tracing.enabled=true
and check for the pod status
Version (include the output of istioctl version --remote and kubectl version and helm version if you used Helm)
istioctl version --remote
client version: 1.5.1
control plane version: 1.5.1
data plane version: none
kubectl version
Client Version: version.Info{Major:"1", Minor:"18", GitVersion:"v1.18.1", GitCommit:"7879fc12a63337efff607952a323df90cdc7a335", GitTreeState:"clean", BuildDate:"2020-04-08T17:38:50Z", GoVersion:"go1.13.9", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"18", GitVersion:"v1.18.1", GitCommit:"7879fc12a63337efff607952a323df90cdc7a335", GitTreeState:"clean", BuildDate:"2020-04-08T17:30:47Z", GoVersion:"go1.13.9", Compiler:"gc", Platform:"linux/amd64"}
How was Istio installed?
istioctl manifest apply  --set values.grafana.enabled=true --set values.kiali.enabled=true --set values.prometheus.enabled=true --set values.tracing.enabled=true
Environment where bug was observed (cloud vendor, OS, etc)
Ubuntu 18
Additionally, please consider attaching a [cluster state archive](http://istio.io/help/bugs/#generating-a-cluster-state-archive
istio-dump.tar.gz
) by attaching
the dump file to this issue.

I noticed this is happening specifically when I run k8 with one master and one worker.
When I run it as a single control plane node without worker Istio works fine.


html2canvas v0.4.1  version do not export SVG charts to PDF

Hi
We are using html2canvas v0.4.1 for exporting both HTML and SVG charts, but found that it only exports HTML contents and not SVG charts(we use c3 chart). Is it possible to export using this version, if not is there any work around or alternative for exporting SVG charts using v0.4.1
Regards
Shashi

Facing same issue , It doesn't render highcharts which is SVG

You are welcome to discuss any work arounds you may find, but 0.4.1 won't be updated anymore (it's 5 yrs old) and the library has been rewritten since.

@niklasvh Even in our latest version we face the issue , Here is the issue reported by another using
https://github.com/niklasvh/html2canvas/issues/1426

Check you're not using % widths for the SVGS, I had the same issue and I've changed things to fixed widths, that fixed it.


[opentitanlib] Adds session proxy communication protocol

Introduces a set of serializable struct/enum as implementation of
communication protocol used between 'Proxy Transport Instance' and
opentitansession process.
This protocol is part of issues: lowRISC#10889, lowRISC#10217
Signed-off-by: Michał Mazurek<EMAIL_ADDRESS>Signed-off-by: Jes B. Klinke<EMAIL_ADDRESS>

I 'hit' my commits with rustfmt bit it generate a loot of changes:
       modified:   src/app/mod.rs 	modified:   src/backend/cw310.rs 	modified:   src/backend/hyperdebug.rs 	modified:   src/backend/ultradebug.rs 	modified:   src/backend/verilator.rs 	modified:   src/io/uart.rs 	modified:   src/transport/common/uart.rs 	modified:   src/transport/cw310/mod.rs 	modified:   src/transport/hyperdebug/i2c.rs 	modified:   src/transport/hyperdebug/mod.rs 	modified:   src/transport/ultradebug/gpio.rs 	modified:   src/transport/ultradebug/mod.rs 	modified:   src/transport/ultradebug/spi.rs 	modified:   src/transport/ultradebug/uart.rs 	modified:   src/transport/verilator/uart.rs 	modified:   src/util/usb.rs
In this case it will be better to make it in separate PR with only contain fix for rust formatting.

@mcy @timothytrippel
Following PR https://github.com/lowRISC/opentitan/pull/11056 contain fix of rust formatting.


Update the kubernete and docker verion in readme

kubernetes v1.6.1
docker v1.13.1

Signed-off-by: Hui Kang<EMAIL_ADDRESS>

Duplicate of https://github.com/kubernetes-incubator/kargo/pull/1278

Merging this PR in lieu of #1278, since that one seems to have been orphaned.


Separate Fullnode config and Validator config

They currently share the same config, which is confusing.

today .consensus_config().is_some() is used to tell if a node is a validator or a fullnode, please also update this if you work on this issue.


MAINT: Fixed several unused imports and unused assignments in scipy/io.

Reference issue
Further work on gh-11529
What does this implement/fix?
Removes some unused imports, unused assignments to reduce Pyflakes warnings.

I'm going to rely on the green checkmark from CI, and press the "merge" button. Thanks Paul


Resolve symlinked modules correctly

Some systems (e.g. rush, pnpm) use symlinks to create a recursive dependency graph
instead of relying on the hoisting aspect of the node module resolution algorithm (like npm and yarn do)
in these cases, we want to resolve to the real path of a module, so that the tree structure below
only ever tries to run the x module once (rather than once on each module that depends on it)
- node_modules
  - a
    - node_modules
      - symlink to x
  - b
    - node_modules
      - symlink to x

There's an example of a downstream bug here: https://github.com/lhorie/jest-browser-bug (via https://github.com/facebook/jest/issues/7840)

@defunctzombie Ping. Is this package still maintained?

@defunctzombie I made the code style change and moved the test setup script to the test script

@defunctzombie Is there anything else that needs to be done for this to be ready to merge?
I suppose get tests passing in older version of node?

It's fair to say that I don't maintain or keep this module updated very much. Which upstream module(s) depend on this enough to have their maintainers consider picking up this module as well?

I see. Jest is currently using this package (see https://github.com/facebook/jest/pull/9511). I suppose the Jest maintainers might be amenable to taking over ownership (or at the very least forking their own version to address their needs).

@rtsao I'd be happy to see this PR land if the tests were updated to pass on the versions of node that jest actively supports - I don't care if old node version support is dropped. If you want to prepare another PR building from this one and ping me I can merge it.
I am also happy to have jest maintainers pickup this module or logic if that is easier for them. I do not commit resources to this module.

Thanks @defunctzombie!
@lhorie was kind of enough to grant me push access so I've just made the changes here.
As of Jest v25, Node 6.x support was removed. Additionally, Node 6.x EOL was April 30, 2019. So I've updated the travis.yml to test against 8.x, 10.x and 12.x and added an npm lockfile so that tests will be deterministic and won't break in the future.


Added DCOS_EXPERIMENTAL env var to not only work with Python 3.5.

Using the new DCOS_EXPERIMENTAL environment variable, you can use Python >= 3.5 to build the CLI.

@mesosphere-ci run all integration tests

@mesosphere-ci run windows integration tests


Use ConcurrentDictionary

The normal Dictionary is not thread safe.
With multiple threads we can wind up in the situation where:
Thread A: Check to see if item is in dictionary -> false.
Thread B: Check to see if item is in dictionary -> false,
Thread A: Add item to dictionary -> success,
Thread B: Add item to dictionary -> Item Already Exists, Throw Exception
ConcurrentDictionary provides us with TryAdd which will attempt to add the item to the dictionary but will not throw if the item already exists.
I'm sure you could wrap the .Add in a try catch block if you'd rather go that route but while experimenting with the problem I ended up switching to a ConcurrentDictionary.

Thanks for this contribution!  ConcurrentDictionary seems like a better idea than trying to roll my own concurrency solution, so this is great.


Create contributions table to show contributor info inside the issue

Issue #537
Description
On the Issues page, every Issue should show what contributor is assigned to the Issue.
Tasks to do

[x] Create a Contributions data model + table.
[x] Show information about the contributor on the Issues page.
[ ] Records to be synced in the Contributions will belong to any Contributor that has left at least 1 comment, has created the issue, or has been assigned.

New issues

Add user image instead of name for author and assignee
Add comments to contributions
Create a dropdown in IssueTile showing all the Contributions


Support training data in markdown syntax

Proposed changes:
Training data in markdown format:
## intent:check_balance
- what is my balance
- how much do I have on my [savings](source_account)
- how much do I have on my [my savings account](source_account:savings) <!-- synonyms method 1 -->
- how much on [checking](source_account)
- how much on [my checking](source_account:checking)

## intent:greet
- hey
- hello

## synonym:savings  <!-- synonyms method 2 -->
- pink pig

Status:

[x] ready for code review
[x] there are tests for the functionality
[x] documentation updated
[x] changelog updated

Hi! Great idea and good job 😉 . I'm just wondering: why didn't you consider YAML? As it is a superset of json it would be easier to use with the actual format and make it more appropriated to store data structures.

Hi, thanks :) I did consider YAML because it is indeed true that keeping the atomic nature of examples has value, especially when adding new examples from the logs, or simply ensuring an example doesn't get lost in the wrong intent header. However, I didn't come with a good idea to do what I wanted in the first place: remove the need to specify positions and lengths of entity values and more generally provide a super fast way to write examples and prototype models from a text editor. Simple Markdown syntax seemed a good compromise, at least for my usage. I'm using it for a while now and it's really easy and fast.
I'll have a look later today on the failing tests.

Fair enough 😃

I like the idea as well, nice job :+1:

concerning the tests:

there are some pep8 issues you need to fix
there is a test failing because of a missing file (just make sure you referenced it correctly and added it to git - the failure might be due to caching as it might be using an old data directory, so don't worry to much about it)

@tmbo,
About:

save training data in the format (given training data create the md file - e.g. necessary for file conversion)

From where in Rasa NLU would that rasa-to-md converter be called?

@znat thanks for taking care of the PR comments :)
Concerning the converter:

I'd put the "write training data to md format" code into the same file where the reading is done (might to rename the file though ;))
there is already a script that does training data conversion (convert.py) it would be good to add another parameter (e.g. --ouput_format) that defines the output format (either rasa json or rasa md) that way we can convert any format to either json or our new and cool md format :+1:

@tmbo So you want something like this:
convert.py -d training_data.json -o training_data.md --output_format markdown
And this should be done by adding a to_markdown function in the TrainingDataclass.
This to_markdown function would, in turn, invoke a new function in the to be renamed MarkdownToRasaclass. Is that what you want?

sounds about right :) (would call it as_markdown as the other one is called as_json. I am also not sure it is the best idea to put all of these function onto the training data object, but since the json one is implemented in there as well let's keep it like that for now)

@tmbo I'm having problems with the tests in test_training_data.py. I thinks it's a path issue but I'm not sure. Wondering if you could help here?
    @pytest.mark.parametrize("data_file,gold_standard_file,output_format", [
        ("data/examples/wit/demo-flights.json", "data/test/wit_converted_to_rasa.json", "json"),
        ("data/examples/luis/demo-restaurants.json", "data/test/luis_converted_to_rasa.json", "json"),
        ("data/examples/api/", "data/test/api_converted_to_rasa.json", "json"),
        ("data/examples/markdown/banking.md", "data/test/md_converted_to_rasa.json", "json"),
        ("data/examples/rasa/demo-rasa.md", "data/test/demo-rasa-converted-from-json.md", "md")])
    def test_training_data_conversion(tmpdir, data_file, gold_standard_file, output_format):
        out_path = tmpdir.join("rasa_nlu_data.json")
>       convert_training_data(data_file, out_path.strpat, output_format)
E       AttributeError: 'LocalPath' object has no attribute 'strpat'

Should be convert_training_data(data_file, out_path.strpath, output_format) (you missed the h at the end of strpath)

@tmbo Not sure while this test fails. It says the content of files differs but the new "vegetarian" item is present in both files (here and here). The test succeeds locally.

data folder is cached - so most likely a caching issue. I cleared the cache and restarted the build :+1:

Build failed on 2.7 but all tests passed.

there was a timeout - I restarted the build. Travis seems to have a rainy day :D

Just had another look at the code, looks really good. Thanks for all the work you have put into the PR :+1:
Given the decreased test coverage, it would be cool if you could add a test for the json -> md -> json conversion as I don't think that is covered at the moment. Let me know if that is not possible.

Don't you think this case is already covered by transitivity since json -> md  and md -> json are already tested ?

@znat you never know until you know

But when you know you'd rather like not having known.

When developers become philosophers...

Had I known...

Indeed... entity_synonyms conversion to original format failed for all formats. I included a fix that works for all formats except api.ai (the failing test). I think the reason is this converter simply ignores entity_synonyms.

@amn41 @tmbo Anything else needed?

@znat no code wise we are good to go, but the tests need to be passing. please have a look at the failed referenced travis build.

@tmbo I understand but the reason the test fails (rasa->api.ai converter doesn't handle the second way of adding entity synonyms) is, I believe, out of the scope of this PR

Right, I don't want you to implement every conversion :D But I can't merge in a PR that will result in a build failure on travis.
So the tests need to work, there is no way around that. I am not saying you need to fix the conversion of the API data, but we can also not add a test that checks that and fails (since the tests are running on the current master the failure needs to be due to the added lines in that test function). Is there a way to fix the test in a way that it doesn't fail anymore?

I am a very egear to get this merged today (as I am heading out for a vacation) and I think you did an awesome job here. Therefore, I wan't to let others use your great format contribution.

The test tests back n forth conversion. The only way I see is to remove that line but I don't like it. On the other hand, API.ai probably doesn't support this additional way of adding synonyms. So you might add an if not api.ai-like statement in the test. Or you might just have a look at why it doesn't work for API.ai, may be it's a quick fix

Alright, lets do the following:

can you add the hacky if not api.ai and a comment stating the above (that it doesn't support synonyms atm)
as soon as I am back I will have a closer look why api.ai doesn't support it and if there is something we can & need to fix

this would allow us to merge this today

@tmbo can you please clear the cache? I fixed the issue which was that entity synonyms where missing in the api.ai file

you are amazing, there should be more contributors like you :) there is a pep8 issue left though

Thanks !
I don't know how big an issue it is, but I noticed synonyms declared in examples may be moved to the entity_synonyms group at conversion time. This case is not covered in the test files. In theory, synonyms are synonyms but I came across that comment so I'm not sure what the implications may be.
Enjoy your vacation!

Good to know, thanks for the heads up :) You did a great job here, thanks for all the work you have put into it :+1:


[BUG] is_paid_partnership field not being used when creating Story through photo_upload_to_story

Getting exception when trying to do client.photo_upload_to_story()
Describe the bug
I'm using the Client to perform photo_upload_to_story in the following way
storyPosted = self.instagramClient.photo_upload_to_story(nextPhotoToPublishImagePath,extra_data = {'is_paid_partnership' : 0})
Where really I'm just passing an image path, weirdly enough the photo still uploads but then I get an exception saying
1 validation error for Story is_paid_partnership Field required [type=missing, input_value={'links': [], 'mentions':...], 'clips_metadata': {}}, input_type=dict]

Here's the bigger picture on how I'm using the function
if(self.nextPhotoToPublishIndex < len(self.photosToPublish)):
            # Here's how you actually post it with the instagramClient
            try:
                nextPhotoToPublishImagePath = self.photosToPublish[self.nextPhotoToPublishIndex]
                storyPosted = self.instagramClient.photo_upload_to_story(nextPhotoToPublishImagePath,extra_data = {'is_paid_partnership' : 0})
                print("posting ", self.photosToPublish[self.nextPhotoToPublishIndex])
                self.nextPhotoToPublishIndex += 1
                return self.POST_JOB_SUCCESS
            except Exception as e:
                print("post job failed because of ", e)
                return self.POST_JOB_FAIL
        else:
            return self.POST_JOB_FINISHED

Personal Comments
In instagrapi/mixins/photo.py function photo_upload_to_story, when creating Story if I add the field is_paid_partnership=False then the issue resolves but this is weird behavior since in the class definition of Story we have is_paid_partnership: Optional[bool] so I'm not sure why we are getting this error.
Desktop (please complete the following information):

OS: [e.g. Ubuntu 21.04]
Python version Python 3.9.6
instagrapi version [e.g. 1.9.3, not "latest"]
moveipy version if used
imagemagick version if used

Additional context
Add any other context about the problem here.

Happens on latest version (2.1.1) too. Adding is_paid_partnership=False solves the issue.
As this property is not set in the Story class and therefore will be undefined, I assume that pydantic is throwing this error as it expects a valid bollean type.

I have the same problem

@andimattes Hi! I have the same error in my code. How can you solve this issue?
I tried "cl.photo_upload_to_story(media_path, is_paid_partnership=False)" but it also made another error.
How can I solve this error "TypeError: UploadPhotoMixin.photo_upload_to_story() got an unexpected keyword argument 'is_paid_partnership'"?

To provide a simple solution for now:
Go to the Telethon library folder and find types.py at C:\Program Files\Python39\Lib\site-packages\instagrapi/. Add a comment marker # at row 324. Then, find extractors.py at C:\Program Files\Python39\Lib\site-packages\instagrapi/ and add a comment marker # at row 426. This will solve the problem. 😄

@Adhambec Wow!! Thank you so much!!

Is any other solid workaround other than this? https://github.com/subzeroid/instagrapi/issues/1851#issuecomment-2036437312
For now I just use previous tag 😢

I ended up using the official Instagram API

To provide a simple solution for now:
Go to the Telethon library folder and find types.py at C:\Program Files\Python39\Lib\site-packages\instagrapi/. Add a comment marker # at row 324. Then, find extractors.py at C:\Program Files\Python39\Lib\site-packages\instagrapi/ and add a comment marker # at row 426. This will solve the problem. 😄

You're welcome, glad it worked! You can give it a try!

To provide a simple solution for now:
Go to the Telethon library folder and find types.py at C:\Program Files\Python39\Lib\site-packages\instagrapi/. Add a comment marker # at row 324. Then, find extractors.py at C:\Program Files\Python39\Lib\site-packages\instagrapi/ and add a comment marker # at row 426. This will solve the problem. 😄

Thank you, it worked. You can try this!

@subzeroid Is there any way to suppress this error? The error does not prevent me from posting the story, however, as it is an exception, it prevents me from capturing the return.
1 validation error for Story',   'is_paid_partnership',   "  Field required [type=missing, input_value={'links': [StoryLink(webU...], 'clips_metadata': {}}, input_type=dict]",   '    For further information visit https://errors.pydantic.dev/2.6/v/missing',

Fixed in instagrapi==2.1.2, issue could be closed


How does this related to semantic logging application block?

How does this project relate to the semantic logging application block of the enterprise library (https://github.com/mspnp/semantic-logging) ?
That block also uses ETW for logging purposes and has several log destinations as well.

No relation and I will admit to being unfamiliar with this project, despite obviously having similar goals. This was something we developed in Bing for a specific purpose that gradually became generic and when the project started I don't think Semantic Logging was on our radar.
One delta that I noticed immediately though is that this project has a bigger emphasis on ease of parsing in addition to logging. However I will reach out to the Semantic logging folks and see if there's places we can merge.


feat: add create molecules

:tada: This PR is included in version 1.1.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


RSpec3 conversion: view specs

Converts view specs to the newer expect syntax

@miq-bot add_label rspec3, test


Adding BasePage

Description
I added new BasePage with different common actions among all the automation tests.

I believe you've opened this PR in the wrong direction (?)


INVALID_CLIENT: Invalid redirect URI

Because my port 8888 is already used, i configured the 8889 as mentioned in the guide. But now i get the error INVALID_CLIENT. when i run the first_auth.js. I already changed the port number in spotify but i am unsure if i may missed something else.
It says:
AUTH: express app started and listening on port 8889
[SPOTIFY - jonathan] Error in authentication:
[SPOTIFY - jonathan] Error: Token file was not created ("/home/pi/MagicMirror/modules/MMM-Spotify/jonathanzmusic_token.json")
I would really appreciate some help since i am new to this topic and i dont have a lot of experience

As you mentioned that you changed the port number in Spotify, I assume you mean you modified the App inside Spotify developer dashboard, right?
Please double check that the custom callback URL and Port you configured inside your spotify config json matches the Redirect URIs configured inside the Spotify App (not just the AUTH_PORT, but also  the AUTH_DOMAIN).
If that looks good, please enable debug output and paste more information here - making sure not to paste any confidential data:
set debug: true in your config.

Okay so just that i got this right: I changed inside the Spotify App the redirected Uri to http://localhost:8889/callback and in my spotify config json i  changed the AUTH_PORT to 8889 and the AUTH_DOMAIN to my IP Address. I dont understand what you mean with matching the AUTH_DOMAIN with my Spotify App since i can only change my redirect uri inside the settings. Thank you for your help :)!

The error you are seeing is because you have configured http://localhost:8889/callback in your Spotify App URI but have set AUTH_DOMAIN to something OTHER than http://localhost (probably the local networks IP-Address of your MM. These need to match.
Example:
If your spotify.config.json looks like this:
[
  {
      ...
      "AUTH_DOMAIN": "http://<IP_ADDRESS>",
      "AUTH_PORT": "8889"
  }
]

Then your Spotify App URI needs to look like this:
http://<IP_ADDRESS>:8889/callback

Did this resolve your issue @jonathanzgit ?

Yes thank you so much :)!


4.18 runtime Error, Somethings I ignore?

I download the  ZIP for 4.19, and do follow the steps in wiki ,but go wrong like this:

That branch didn't support 4.18 at that time. The current master branch now supports 4.17-4.20. If you continue to see this problem feel free to reopen this issue!


Update kafka-clients to 2.8.1

Updates org.apache.kafka:kafka-clients from 2.7.2 to 2.8.1.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

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

labels: library-update, early-semver-minor, semver-spec-minor, commit-count:1

Superseded by #201.


[DO NOT MERGE] Test workflow trigger

Test if testing workflow gets triggered remote PR

Workflow is running :+1:


Added support for com.android.tools.build:gradle:1.4.0-beta2

Added new signature of AndroidBuilder.getBootClasspath(boolean)
Added RegEx to match version 1.4.0-beta1, 1.4.0-beta2

Thanks!

v1.5.0 is released time to merge it


Add redict from old documentation

Before submitting (must do checklist)

[ ] Did you read the contribution guide?
[ ] Did you update the docs? We use Numpy format for all the methods and classes.
[ ] Did you write any new necessary tests?
[ ] Did you update the CHANGELOG?

Proposed Changes

Closing issues

We sucessfully published documentation with a redirect.


background-url

I would like to use both inlined svg and to use as a background-image. I've followed your FAQ in modifying the Webpack chain.
module.exports = {
  chainWebpack: (config) => {
    const svgRule = config.module.rule('svg');

    svgRule.uses.clear();

    svgRule
      .oneOf('inline')
      .resourceQuery(/inline/)
      .use('vue-svg-loader')
      .loader('vue-svg-loader')
      .end()
      .end()
      .oneOf('external')
      .use('file-loader')
      .loader('file-loader')
      .options({
        name: 'assets/[name].[hash:8].[ext]',
      });
  },
};

But having trouble finding the assets background-image: url(@/assets/svg/back.svg);
*<EMAIL_ADDRESS>in ./node_modules/css-loader??ref--6-oneOf-1-1!./node_modules/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/postcss-loader/src??ref--6-on eOf-1-2!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./src/components/SongList.vue?vue&type=style&index=0&id=1eedc603&s coped=true&lang=css&
Is it possible to load it from the assets folder in src? I see from the examples it's used from public.

Could you share the source of the SongList.vue component?

I have the same problem,  I use vue cli 3.0
const svgRule = config.module.rule('svg')
svgRule.uses.clear()
svgRule
.use('svg-sprite-loader')
.loader('svg-sprite-loader')
.options({
symbolId: 'icon-[name]'
})
if I replace the svgRule with svg-sprite-loader ,  background-image use svg  not work

I suppose this hasn't been checked in a while but in case anyone is reading this today:

The doc has been updated and the config is different, see it here

You can then use it like this<EMAIL_ADDRESS>or depending on your case, (mine), with a require :source="require('@/assets/img/logo.svg')".
In case of CSS/SCSS, the only path working is '~assets/img/logo.svg'.


chore(main): release 1.26.43

:robot: I have created a release beep boop
1.26.43 (2024-01-24)
Bug Fixes

update vulnerable indirect dep (#227) (610f9ee)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/aidanaden/canvas-sync/releases/tag/v1.26.43 :sunflower:


Improve responsiveness

🛠 Fixes Issue (Number)
#261
👨💻 Changes proposed

Modified height, padding
there was a typo of auot

✅ Check List (Check all the applicable boxes)

[x] My code doesn't break any part of the project (Zero Octave-Javascript-Projects).
[x] This PR does not contain plagiarized content.
[x] My Addition/Changes works properly and matches the overall repo pattern.
[x] The title of my pull request is a short description of the requested changes.

📄 Note to reviewers

📷 Screenshots

Can you add the screenshot of your work, so that it can be comparable

Sure ! This card was not responsive initially. I am attaching screenshots for different screen sizes.


Add SigV4 middleware

Fixes https://github.com/grafana/grafana/issues/29738
Usage looks like:
return &SigV4Middleware{
		Config: &Config{
			Service:        "es",
			AccessKey:      "blah",
			SecretKey:      "blah",
			Region:         "eu-central-1",
			AssumeRoleARN:  "", // optional
			AuthType:       "default",
			ExternalID:     "", // optional
			Profile:        "default",
		},
		Next: nil, // optional subsequent middleware
	}

Will need to keep in sync with these latest changes here https://github.com/grafana/grafana/pull/30115

Will need to keep in sync with these latest changes here https://github.com/grafana/grafana/pull/30115


Replacing PDF for markdown files

In the Build tools you have a zip folder and also three PDF files with a great Hands-on Lab. Those files show some images from older version of Power Platform Products. My suggestion here is to replace those PDF files for Markdown.
By using markdown files, it will be easier to keep them updated and also it allow other contributors to modify them and not only the owners of the original PDF files.
My idea is to show you how the first document would look like with this approach and if you concur I will start working on the remaining two documents. This is the best source when dealing with Power Apps and DevOps and it deserves to be as updated as possible.
If you agree, you can reject this PR and let me know to keep on converting the remaining documents to update the repository in one single PR.
Thanks!!

Sure @mikkelsen2000 !!! Gonna work on that, what about closing this PR and create a new one for Build Tools Lab in order to skip a larger amount of files.

@aminespinoza Sure, go ahead and close this PR.

Closed to favor another PR with all modules in markdown format.


Question about the performance on downstream tasks.

Hi there👋
I've noticed that currently, there is only a general dataset available for evaluating overall performance on downstream tasks. Are there any scripts that evaluate the specific performance of individual downstream tasks?
I appreciate your assistance and look forward to your response!

Thanks for your response!
Could you please provide more detailed information regarding the composition of the general dataset? For instance, I would like to know which data ranges, such as indices 1 to 1000, correspond to specific subsets like MMLU.

Apologies for any confusion. The general set is sampled from the retain set of the LLM's pre-training dataset. It is used to evaluate the unlearned model's perplexity on the retain set. It is not associated with any specific downstream task, such as MMLU.

Thanks for your timely response. I have no more questions.


change color

I want to change border color for selected cell but in version 3.5.0 I can't found imagePickerControllerCheckedImageTintColor even if I already subclass DKImagePickerControllerDefaultUIDelegate.
Any other way to set them?
Thanks

Any updates on this one?

Please see ui-customization.


fix #163: parsed new HTML for input codeforces

if I build your repo on my laptop ,still the parsing gives erroneous results. proceeded by git clone
cd
go mod init cf-tool
go build -mod="mod" cf.go


fix: Pass correct medium and category when clicking on My Collection artwork grid item

Description
This PR fixes the "Unable to Load" screen when opening the My Collection artwork screen from the grid view by passing the correct medium and category.
QA Test Case(s)

Test Case
Feature
Environment
Acceptance Criteria
Setup Instructions/Link

PR Checklist

[ ] I tested my changes on iOS / Android.
[ ] I added screenshots or videos to illustrate my changes.
[ ] I added Tests and Stories for my changes.
[ ] I added an app state migration.
[ ] I hid my changes behind a feature flag.

To the reviewers 👀

[ ] I would like at least one of the reviewers to run this PR on the simulator or device.

Changelog updates
Changelog updates

Cross-platform user-facing changes

iOS user-facing changes

Android user-facing changes

Dev changes

Need help with something? Have a look at our docs, or get in touch with us.

thanks for the quick fix


[FEATURE REQ] BearerTokenAuthenticationPolicy is easy to be inherited from

Library name
Azure.Core
Please describe the feature.
The BearerTokenAuthenticationPolicy cannot statisfy our requirement, such as handling special responses, force refresh token. So we want to create a new policy to enhance it. However, we also want to use most of functionality in BearerTokenAuthenticationPolicy, so it's better to inherit from BearerTokenAuthenticationPolicy. Currently, there are many private method/field in it, and cannot be inherited from. So we hope these private method/field can be protected/public, and it will provide better user experience for us.

Hi @dw511214992 - Could you provide some specific example scenarios that require access to private or internal methods or fields?

It has been multiple months and we do not have examples of the scenario where this would be useful.  Closing as unplanned.   If still needed, please reopen with the requested context.


🐛 Scrollbar will not work currectly with Expander

Describe the bug
When a Expander in a list is opened, the scrollbar will not work properly. (maybe something wrong with the caculating of the list length)
Screenshots
https://user-images.githubusercontent.com/76773705/166494053-f8bb5d14-bb8e-490d-97be-88c39b8895b9.mp4

This is an issue with flutter's RawScrollbar. The same happens to material


Deprecate addFeatherIcon and addAllFeatherIcos because Obsidian now ships a full Icon Library

Deprecate addFeatherIcon and addAllFeatherIcos because Obsidian now ships a full Icon Library

[x] I agree to the contribution guidelines laid out here in the readme.

Should we merge this already, or just when the Update is public?

@SkepticMystic Can you publish the new Release?


Catch unknown name error

See #479

I can review this

There are some other places in the Daemon that could use the same catching
a) jsonrpc_get_availability()
b) get_est_cost_using_known_sizes() could also use the same catching. Alternatively since get_est_cost() calls both get_est_cost_using_known_sizes() and get_est_cost_from_name() , you could catch it in get_est_cost()

Thanks for pointing out my inconsistency.
For jsonrpc_resolve_name - that is used to see if a name is available so it is expected that names won't resolve.
I'm not sure what I was thinking with get_est_cost_from_name - looking this over, that seems like it should be an error (because, why would you request the cost for a name that doesn't exists?) and the root cause is coming from somewhere else.
I'm going to remove the check on get_est_cost_from_name.

@alexliebowitz this doesn't cause any backwards incompatability as you'll still get null if a name doesn't exists - but does mean that you can actually treat errors are errors: https://github.com/lbryio/lbry-web-ui/blob/7e77f529761b397999de04b0293e1cf23cb84f79/js/lbry.js#L165

Before this patch though, resolve_name would throw an exception and you wouldn't get null though. Seems like the web-ui might need to change how it handles that?
otherwise LGTM

The web-ui takes all errors and returns null to the callback.  With this patch, non-existing names will return null straight from the api, which will also get passed to the callback.  So the web-ui doesn't need to change.  It should change though so that errors are actually treated as errors.


Add report to browse Software Updates Supercedence up/down

Add feature to browse Software Updates by supersedence status.  For example, list updates along with number of updates it supersedes, and updates with number of number of updates that supersede it, as well as links to drill upward and downward.

Provided general reporting of Software Updates, with compliance numbers and more.


[BUG] fatal: Invalid revision range X..Y when dealing with submodules

Is there an existing issue for this?

[X] I have searched the existing issues

Does this issue exist in the latest version?

[X] I'm using the latest release

Describe the bug?
For some reason this action is failing to diff submodules in our repository all of a sudden. I did some digging and couldn't figure out why, but it seems to be happening in get_changed_paths.sh:117.
For our use case we don't need to find changes inside submodules, only if they changed at all. I considered submitting a pull request that disables this functionality, but in get_changed_paths.sh:123 we explicitly tell git diff to ignore submodules so my solution wouldn't work.
You can see it happening here: https://github.com/SteamDeckHomebrew/decky-plugin-database/actions/runs/4153759470/jobs/7185636116#step:3:915
To Reproduce

Check out https://github.com/SteamDeckHomebrew/decky-plugin-database
Add the following environment variables to get-changed-paths.sh (as seen in https://github.com/SteamDeckHomebrew/decky-plugin-database/actions/runs/4153759470/jobs/7185636116#step:3:886)

GITHUB_WORKSPACE="/my/path/to/decky-plugin-database"
GITHUB_EVENT_PULL_REQUEST_BASE_REF="main"
GITHUB_EVENT_PULL_REQUEST_HEAD_REPO_FORK="true"
INPUT_FILES_PATTERN_FILE="/tmp/3e729ad0-ee5f-4912-a405-0e58ad18e5b6.txt"
INPUT_SEPARATOR=","
INPUT_PATH="."
INPUT_PREVIOUS_SHA="fd5726dac06f9b5da67045f57f512dc2bd5e4b90"
INPUT_CURRENT_SHA="4d246b71faba638ddb8f7c5a1df2c31f8e2de96e"
INPUT_TARGET_BRANCH="main"
INPUT_CURRENT_BRANCH="main"
INPUT_DIFF=".."
INPUT_QUOTEPATH="true"
INPUT_INCLUDE_ALL_OLD_NEW_RENAMED_FILES="false"
INPUT_OLD_NEW_SEPARATOR=","
INPUT_OLD_NEW_FILES_SEPARATOR=" "
INPUT_DIFF_RELATIVE=""
INPUT_DIR_NAMES="false"
INPUT_DIR_NAMES_MAX_DEPTH=""
INPUT_DIR_NAMES_EXCLUDE_ROOT="false"
INPUT_JSON="false"
INPUT_HAS_CUSTOM_PATTERNS="true"
INPUT_JSON_RAW_FORMAT="false"

Run get-changed-paths.sh

What OS are you seeing the problem on?
ubuntu-latest or ubuntu-20.04
Expected behavior?
A change would be detected in plugins/PowerTools, as seen in git diff --name-only --submodule=diff fd5726dac06f9b5da67045f57f512dc2bd5e4b90 4d246b71faba638ddb8f7c5a1df2c31f8e2de96.
Relevant log output
  Resolving repository path: /home/runner/work/decky-plugin-database/decky-plugin-database/.
  Retrieving changes between fd5726dac06f9b5da67045f57f512dc2bd5e4b90 (main) → 4d246b71faba638ddb8f7c5a1df2c31f8e2de96e (main)
  fatal: Invalid revision range 642dce4a2720919ad7eb9f450179ad5db6314106..33d3ca742c39a85249b93fd56258e0997d2371db
  fatal: Invalid revision range 642dce4a2720919ad7eb9f450179ad5db6314106..33d3ca742c39a85249b93fd56258e0997d2371db
  fatal: Invalid revision range 642dce4a2720919ad7eb9f450179ad5db6314106..33d3ca742c39a85249b93fd56258e0997d2371db
  fatal: Invalid revision range 642dce4a2720919ad7eb9f450179ad5db6314106..33d3ca742c39a85249b93fd56258e0997d2371db
  fatal: Invalid revision range 642dce4a2720919ad7eb9f450179ad5db6314106..33d3ca742c39a85249b93fd56258e0997d2371db
  fatal: Invalid revision range 642dce4a2720919ad7eb9f450179ad5db6314106..33d3ca742c39a85249b93fd56258e0997d2371db
  fatal: Invalid revision range 642dce4a2720919ad7eb9f450179ad5db6314106..33d3ca742c39a85249b93fd56258e0997d2371db
  fatal: Invalid revision range 642dce4a2720919ad7eb9f450179ad5db6314106..33d3ca742c39a85249b93fd56258e0997d2371db
  fatal: Invalid revision range 642dce4a2720919ad7eb9f450179ad5db6314106..33d3ca742c39a85249b93fd56258e0997d2371db
  fatal: Invalid revision range 642dce4a2720919ad7eb9f450179ad5db6314106..33d3ca742c39a85249b93fd56258e0997d2371db
  fatal: Invalid revision range 642dce4a2720919ad7eb9f450179ad5db6314106..33d3ca742c39a85249b93fd56258e0997d2371db
  fatal: Invalid revision range 642dce4a2720919ad7eb9f450179ad5db6314106..33d3ca742c39a85249b93fd56258e0997d2371db
  ##[debug]Non Matching changed files: plugins/PowerTools/::error::Failed to get changed files between: 642dce4a2720919ad7eb9f450179ad5db6314106..33d3ca742c39a85249b93fd56258e0997d2371db
  fatal: Invalid revision range 642dce4a2720919ad7eb9f450179ad5db6314106..33d3ca742c39a85249b93fd56258e0997d2371db
  ##[debug]Non Matching modified files: plugins/PowerTools/::error::Failed to get changed files between: 642dce4a2720919ad7eb9f450179ad5db6314106..33d3ca742c39a85249b93fd56258e0997d2371db
  fatal: Invalid revision range 642dce4a2720919ad7eb9f450179ad5db6314106..33d3ca742c39a85249b93fd56258e0997d2371db

Anything else?
logs_984.zip
https://github.com/SteamDeckHomebrew/decky-plugin-database/actions/runs/4153759470/jobs/7185636116
Code of Conduct

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

While #980 was intended to fix the issue, the same core issue of "fatal bad object ..." occuring despite submodules being properly checked out and initialized via actions/checkout@8230315d06ad95c617244d2f265d237a1682d445.
https://github.com/SteamDeckHomebrew/decky-plugin-database/actions/runs/4195497950/jobs/7275128432

@TrainDoctor This has been resolved in the latest release with a similar test conducted here https://github.com/tj-actions/changed-files/actions/runs/4296676573/jobs/7488697572 let me know if the error still persists and I'll reopen this issue.


ForwardDiff handling rewrite

Also add params function for returning params.
Fixes https://github.com/PumasAI/DeepPumas.jl/issues/165#issuecomment-1106638075
Addresses https://github.com/PumasAI/SimpleChains.jl/issues/24

What's the status of this PR @chriselrod?

What's the status of this PR @chriselrod?

This should be good to go.
I've also finally diagnosed and fixed the cause of the sporadic test failures on CI.


Adds a new option to skip socket lb when in pod ns

This is for compatibility with Isio in kube-proxy free mode.
Currently, even though Isiot would still get all traffic within pod
namespace, but the original service VIP is lost during socket lb,
causing it to miss all Istio routing chains and therefore bypassing
all Istio functionalities.
This adds a new option to bypass socket lb in pod namespace. When
enabled, service resolution for connection from pod namespaces will be
handled in bpf_lxc at veth. For host-namespaced pods, socket lb kept as
is.
Signed-off-by: Weilong Cui<EMAIL_ADDRESS>

Thanks!
One comment, and also it would be good if you could extend the k8sT/Services.go to check whether in the kube-proxy-less mode we don't break anything when the flag is enabled.

I agree we should have test for this, a bit confused as what should be included in the tests? I assume the basic cluster IP connectivity should be good?

Thanks!
One comment, and also it would be good if you could extend the k8sT/Services.go to check whether in the kube-proxy-less mode we don't break anything when the flag is enabled.

Added two basic connectivity test with skipSocketLB set to true, PTAL :)

Currently, even though Isiot would still get all traffic within pod
namespace

Does this currently happen via iptable rules [1]?
[1] https://github.com/istio/istio/wiki/Proxy-redirection

Currently, even though Isiot would still get all traffic within pod
namespace

Is this redirection achieved via iptable rules [1]?
[1] https://github.com/istio/istio/wiki/Proxy-redirection

yup

test-me-please

test-me-please

test-me-please

test-me-please

test-me-please

retest-net-next

Very odd...still failing to load bpf_lxc on netnext even though bpf_lxc.c should not be changed at all...https://jenkins.cilium.io/job/Cilium-PR-K8s-1.12-net-next/1319/

retest-net-next

retest-net-next

@brb I wonder if we could decide this per-POD, i.e., do the TC load balancing only for PODs with Istio sidecars? Such PODs have annotations that we could use to figure which PODs have sidecars.

@brb I wonder if we could decide this per-POD, i.e., do the TC load balancing only for PODs with Istio sidecars? Such PODs have annotations that we could use to figure which PODs have sidecars.

curious, how can we determine whether there's an Istio sidecar in BPF?

curious, how can we determine whether there's an Istio sidecar in BPF?

There's a --sidecar-istio-proxy-image option, maybe that's sufficient?

I wonder if we could decide this per-POD, i.e., do the TC load balancing only for PODs with Istio sidecars? Such PODs have annotations that we could use to figure which PODs have sidecars.

The question is how we can map such Pods so that they can be identified by bpf_sock.c. Some time ago, @joestringer put a document talking about similar problem (not sure whether it's publicly available; search for Source endpoint identification for egress traffic in Google Drive). Until k8s starts supporting cgroup v2, AFAIK there is no easy and reliable way to solve the problem w/o relying on a recent kernel.

Ah right, yeah the only way we can do that today is with netns cookie which is available in Linux 5.7 or later. When kubernetes moves to cgroupv2 (KEP), it should be possible to perform this on older kernels. But of course you'd have to deploy newer k8s...

the only way we can do that today is with netns cookie which is available in Linux 5.7 or later

The control plane (a user space) would need to access the netns cookie for a given pod. Not sure whether it's possible today /cc @borkmann.

retest-net-next

What's the next steps on this PR? Are you looking for additional feedback @Weil0ng? Or you are currently addressing the outstanding feedback?

What's the next steps on this PR? Are you looking for additional feedback @Weil0ng? Or you are currently addressing the outstanding feedback?

I think the only thing left is the complexity issue, which I don't currently have a good solution. Last time we synced with @pchaigno , the general direction is to break bpf_lxc into more tail calls, but I think that probably should be tackled by another PR?

Let's maybe switch this PR to draft until we have fixed the complexity issue? I don't expect a lot of conflicts even if you rebase after a couple weeks so should be fine. I don't think anyone as cycles now to address the complexity issue, but it should get better after the feature freeze.

Ah right, yeah the only way we can do that today is with netns cookie which is available in Linux 5.7 or later. When kubernetes moves to cgroupv2 (KEP), it should be possible to perform this on older kernels.

Considering that the recent k8s (AFAIK 1.20) started supporting cgroupv2, maybe it's worth to revisiting other approach to solve the problem, i.e. to identify Istio pods?

Sry for not tracking this lately, had a brief discussion during today's sync with @borkmann , idea is that if we can set SO_ORIGINAL_DST with a bpf sockopt program with cgroupv2, then maybe that's enough for istio, the redirection part is relatively straightforward, LRP can probably be used there. I'll investigate the sockopt capabilities and comment back.

Just want to chime in as this also affects Linkerd (not just Istio).

Any progress on this, is there anything we can help with to release this soonish (in 1.10.* or at least 1.11.*)?

Closing in favor of https://github.com/cilium/cilium/pull/17154. /cc @Weil0ng


[CI] FancyZones unit tests.

Summary of the Pull Request
What is this about:
Add FancyZones unit tests to CI.
What is included in the PR:
How does someone test / validate:
Quality Checklist

[x] Linked issue: #5157
[ ] Communication: I've discussed this with core contributors in the issue.
[ ] Tests: Added/updated and all pass
[ ] Installer: Added/updated and all pass
[ ] Localization: All end user facing strings can be localized
[ ] Docs: Added/ updated
[ ] Binaries: Any new files are added to WXS / YML

[ ] No new binaries
[ ] YML for signing for new binaries
[ ] WXS for installer for new binaries

Contributor License Agreement (CLA)
A CLA must be signed. If not, go over here and sign the CLA.

@SeraphimaZykova what is needed here to get it working again?  looks like a ton of conflicts now


Socketserver.py Exception

I realized that we sometimes got the following socket exception message throwing in the backend from the python library. However, xterm.js can run normally when this message is thrown.
Does anyone know the cause of this problem?
[04/Feb/2017 09:31:28] "GET /static/js/training.js HTTP/1.1" 200 4017
[04/Feb/2017 09:31:28] "GET /favicon.ico HTTP/1.1" 200 2759
[04/Feb/2017 09:31:31] "GET /v-v-study_session-2-training-task-1 HTTP/1.1" 200 11732
[04/Feb/2017 09:31:31] "GET /static/js/training.js HTTP/1.1" 304 0
[04/Feb/2017 09:31:31] "GET /static/img/user_study.png HTTP/1.1" 200 7008
[04/Feb/2017 09:31:32] "GET /get_additional_task_info HTTP/1.1" 200 7752
----------------------------------------
Exception happened during processing of request from ('<IP_ADDRESS>', 49308)
Traceback (most recent call last):
----------------------------------------
Exception happened during processing of request from ('<IP_ADDRESS>', 49309)
  File "/usr/local/lib/python3.5/socketserver.py", line 625, in process_request_thread
    self.finish_request(request, client_address)
  File "/usr/local/lib/python3.5/socketserver.py", line 354, in finish_request
    self.RequestHandlerClass(request, client_address, self)
  File "/usr/local/lib/python3.5/socketserver.py", line 681, in __init__
    self.handle()
  File "/usr/local/lib/python3.5/site-packages/django/core/servers/basehttp.py", line 159, in handle
    self.raw_requestline = self.rfile.readline(65537)
  File "/usr/local/lib/python3.5/socket.py", line 575, in readinto
    return self._sock.recv_into(b)
ConnectionResetError: [Errno 104] Connection reset by peer
----------------------------------------
Traceback (most recent call last):
  File "/usr/local/lib/python3.5/socketserver.py", line 625, in process_request_thread
    self.finish_request(request, client_address)
  File "/usr/local/lib/python3.5/socketserver.py", line 354, in finish_request
    self.RequestHandlerClass(request, client_address, self)
  File "/usr/local/lib/python3.5/socketserver.py", line 681, in __init__
    self.handle()
  File "/usr/local/lib/python3.5/site-packages/django/core/servers/basehttp.py", line 159, in handle
    self.raw_requestline = self.rfile.readline(65537)
  File "/usr/local/lib/python3.5/socket.py", line 575, in readinto
    return self._sock.recv_into(b)
ConnectionResetError: [Errno 104] Connection reset by peer
----------------------------------------
[04/Feb/2017 09:34:53] "GET / HTTP/1.1" 200 2759
[04/Feb/2017 09:34:54] "GET / HTTP/1.1" 200 2759
[04/Feb/2017 09:34:57] "GET /user_login?access_code=v-v&check_existing_session=true HTTP/1.1" 200 99
/usr/local/lib/python3.5/site-packages/django/db/models/fields/__init__.py:1430: RuntimeWarning: DateTimeField StudySession.end_time received a naive datetime (1111-11-11 00:00:00) while time zone support is active.
  RuntimeWarning)
[04/Feb/2017 09:34:58] "GET /user_login?access_code=v-v&check_existing_session=false HTTP/1.1" 200 29
[04/Feb/2017 09:34:58] "GET /consent HTTP/1.1" 200 9803
[04/Feb/2017 09:35:00] "GET /consent_signed HTTP/1.1" 200 21
[04/Feb/2017 09:35:00] "GET /instruction HTTP/1.1" 200 11553
[04/Feb/2017 09:35:02] "GET /instruction_read HTTP/1.1" 200 44
mkdir: cannot create directory ‘/v-v-study_session-3-training-task-1’: File exists
20480+0 records in
20480+0 records out
10485760 bytes (10 MB, 10 MiB) copied, 0.0278905 s, 376 MB/s
/home/ubuntu/v-v-study_session-3-training-task-1.ext4 is mounted; will not make a filesystem here!
mount: /home/ubuntu/v-v-study_session-3-training-task-1.ext4 is already mounted
mkdir: cannot create directory ‘/v-v-study_session-3-training-task-1/home’: File exists
chown: invalid user: ‘vagrant:vagrant’
/usr/local/lib/python3.5/site-packages/django/db/models/fields/__init__.py:1430: RuntimeWarning: DateTimeField TaskSession.end_time received a naive datetime (1111-11-11 00:00:00) while time zone support is active.
  RuntimeWarning)
Task session v-v-study_session-3-training-task-1 created
[04/Feb/2017 09:35:03] "GET /go_to_next_task?reason_for_close= HTTP/1.1" 200 103
[04/Feb/2017 09:35:03] "GET /v-v-study_session-3-training-task-1 HTTP/1.1" 200 11732
[04/Feb/2017 09:35:03] "GET /static/css/task.css HTTP/1.1" 304 0
[04/Feb/2017 09:35:03] "GET /static/js/training.js HTTP/1.1" 304 0
[04/Feb/2017 09:35:03] "GET /static/js/interaction.js HTTP/1.1" 304 0
[04/Feb/2017 09:35:03] "GET /static/js/task.js HTTP/1.1" 304 0
[04/Feb/2017 09:35:03] "GET /get_additional_task_info HTTP/1.1" 200 7752

There's some information on this: https://www.google.com/webhp?sourceid=chrome-instant&ion=1&espv=2&ie=UTF-8#q=django+socketserver+connection+reset+by+peer
You may want to investigate what this means: Exception happened during processing of request from ('<IP_ADDRESS>', 49308)
What is at the address <IP_ADDRESS>:49308?
Also: is it an outgoing to incoming request that is failing?
Look like it has something to do with an HTTP request


Create a feature comparison matrix for mehari

Is your feature request related to a problem? Please describe.
Currently it is not clear how mehari compares feature-wise to other available solutions.
Describe the solution you'd like
Identify all publicly available variant annotation software and create a feature comparison for the most important ones.
Describe alternatives you've considered
...
Additional context
Result should be an artifact in docs.

software
url
language
features

AnnoVar
https://annovar.openbioinformatics.org/en/latest/
perl

SnpEff
https://pcingola.github.io/SnpEff/
java

VEP
https://www.ensembl.org/info/docs/tools/vep/index.html
perl

Jannovar
https://github.com/charite/jannovar/
java

open-cravat
https://github.com/KarchinLab/open-cravat?tab=readme-ov-file
python

nirvana
https://github.com/Illumina/Nirvana
C#
json output only,  custom annotations, mnv recomposition, fusion gene detection

Candidates for benchmarking:
nirvana, jannovar, VEP


Revert "[CI] add build artefacts to appveryor"

Reverts asc-community/MxEngine#67

Fine for now, but need to investigate how to deal with limit. I removed old builds, but we still hit the limit on each run

Yeah, maybe we can remove scene related assets


fix: ban cjs and cts file extensions

closes https://github.com/jsr-io/jsr/issues/713.

Why did you remove the e2e test? I thought that was good 👍

Why did you remove the e2e test? I thought that was good 👍

the e2e test was only successful due to the path.ends_with check and would now throw a graphError returned by deno_graph.
would it still make sense to have that one in place, wdyt?


Video stops exporting after a few seconds

Tested on Windows 10 1903 and first Qt release.
Doesn't matter what codec or video container I used. (lossless AVI also have the same issue)
Video.

I can report the same problem. I'll try an upload the video I am using to see if that helps.

I currently think that this is related to #35, as it looks visually the same (frame is shown, then it disappears for a short time and then the program crashes). I'm investigating possible solutions right now.
It looks like a OpenCV out of memory error which happens when the frames are allocated but never freed.

I'll close this for now since it stops exporting once it reaches 1.2~GB Memory usage.


Space as a token separator causes pill to not be deleted with backspace

here's a fiddle example: http://jsfiddle.net/qj5ob4dh/
just try to click on the select2 and remove the pill using backspace. It will quickly go away and immediately come back again.
Diagnosis:
In https://github.com/select2/select2/blob/dd9af6893450bbb054ca79546a16bb18198f3e88/src/js/select2/selection/search.js#L127-L135 (Search.searchRemoveChoice), the option is unselected and the input's value is changed to the old text PLUS a space. If the user makes space a token separator then this immediately triggers the text to become a pill again.

This is happening due to a few bugs, and they're all coming together to cause confusion.

When hitting backspace, we remove the choice and put the text in the text box
But browsers will still continue backspacing, removing the last character. So we add a space to the end
But the tokenizer kicks in and sees a token, so it tokenizes the choice back

I think this might be a duplicate, but I'll leave this open until I find it.


Forward sampling returning an empty dictionary

I am trying a forward sampling on mixture model example from pymc4 examples, but getting an empty dict as a result.
The model is defined as -
@pm.model
def mixture(n_groups, n_points):
    centers = pm.Normal('centers', loc=tf.zeros((n_groups, 2)), scale=1)
    scales = pm.HalfNormal('scales', 0.4 * tf.ones(n_groups))
    rates = pm.Dirichlet('rates', concentration=tf.ones(n_groups))

    group_assignments = pm.Multinomial('group_assignments', total_count=n_points, probs=rates)

    for idx in range(n_groups):
        count = tf.to_int32(group_assignments[idx])
        pm.Normal(f'group_{idx}', loc=centers[idx] * tf.ones((count, 2)), scale=scales[idx])

# Now I configured the model -
model = mixture.configure(n_groups=5, n_points=10_000)

I checked the tensorflow graph but it's not empty. The graph node names are-
['zeros',
'centers/scale',
'centers/Identity',
'centers/Identity_1',
'ones/shape_as_tensor',
'ones/Const',
'ones',
'mul/x',
'mul',
'scales/scale',............]
What could be the reasons ?

Closing as this relates to the old context based API. It would be nice to check out this example in the current coroutine API though


hyperion crashes after executing hue wizard

Hi,
I try to configure hyperion ng to work with my hue light bulbs. But as soon as the hue wizard is closed hyperion crashes.  I installed hyperion on a raspberry pi 3 with raspbian buster.
This is the error I get, after the hue wizard is closed:
[hyperiond DISPMANXGRABBER]  Snapshot failed: -1
[hyperiond DISPMANXGRABBER]  Snapshot failed: -1
QObject: Cannot create children for a parent that is in a different thread.
(Parent is QNetworkAccessManager(0x719023d4), parent's thread is QThread(0x6bd1f8f0), current thread is QThread(0xfab4e8)
QObject: Cannot create children for a parent that is in a different thread.
(Parent is QNetworkAccessManager(0x719023d4), parent's thread is QThread(0x6bd1f8f0), current thread is QThread(0xfab4e8)
Segmentation fault
When I start hyperion again I get this error:
pi@hyperion:~/hyperion.ng/build/bin $ ./hyperiond
terminate called after throwing an instance of 'std::bad_alloc'
what():  std::bad_alloc
terminate called recursively
terminate called recursively
terminate called recursively
May be someone can point out what I am doing wrong.
Best Regards,
Johannes

Which build version do you use? What is your build date?
Please consult "About Hyperion" on WebUI for this.

Hey,
i have exactly the same problem with hue.
Compiled hyperion today from master.

Version
1.0.0

Build
master (GitHub-3cef94e/77299ba-1563551059) Git Remote: https://github.com/hyperion-project/hyperion.ng.git

Build date
Jul 30 2019 14:05:44

My hue:
Bridge BSB002, software version<PHONE_NUMBER>
3x Play bar LCT024, software version 1.46.13_r26312
Some ideas?
Thanks

Got it.
Its the smoothing parameter "enable". If the value is set to "false" (which is the default when using the wizard) hyperion crashes.

Got it.
Its the smoothing parameter "enable". If the value is set to "false" (which is the default when using the wizard) hyperion crashes.

I have already fixed this error in my PR (hopefully).  That's why the wizard did not work anymore.

Merci :)
Dann warte ich oder probiere diesen Stand mal aus.
PS - auch wenn offtopic... verwendet Hyperion die Rest API oder Entertainment API von Hue?

You are welcome to try my PR.
At the moment, Hyperion still uses the REST API. @SJunkies is currently working on the Entertainment API. His branch is at https://github.com/SJunkies/hyperion.ng/tree/entertainment-api-2019

Tried @SJunkies hue entertainment implementation. It works great so far :)
I will try your PR later this week. I am looking forward to the new instance feature you built. This is exactly what i need for my LED strip and my hue.
Now the two features just have to be merged  xD

Can be closed


MM-27312 Allow uploading 10 files per post

Documentation for: https://mattermost.atlassian.net/browse/MM-27312
Updated:

User's Guide > Messaging > Sharing Files

Clarified references to "attachments" to indicate file attachments (rather than Slack attachments)
Updated "File Previewer" section title to "Preview File Attachments"
Updated instances of "click" to "select"
Updated Tip to provide correct System Console route to Public Links setting
Under Attachment Limits and Sizes, added Cloud support for up to 10 file attachments, and clarified that a max of 5 file attachments remains as-is for TE and EE

Hello @cwarnermm,
Thanks for your pull request! A Core Committer will review your pull request soon. For code contributions, you can learn more about the review process here.

Hello @cwarnermm,
Thanks for your pull request! A Core Committer will review your pull request soon. For code contributions, you can learn more about the review process here.


Display reason for CONTRACT_REVERT_EXECUTED

Hi,
I have noticed that while EVM displays the reason when a modifier fails, Hedera doesn't and instead returns a generic 'CONTRACT_REVERT_EXECUTED". Is there a way to change this?

@mehcode was digging around in the SDK. Seems like the information never reaches the SDK and is "lost" in the protobuf. I assume we need to update that?

The way the SDK is structured this is actually impossible. So we're going to instead allow you to turn off "throw on bad status" so you can inspect the record yourself.
See https://github.com/hashgraph/hedera-sdk-java/issues/355


fix(auth, android): fix a null pointer exception that could occur when removing an event listener

Description
Replace this paragraph with a description of what this PR is doing. If you're modifying existing behavior, describe the existing behavior, how this PR is changing it, and what motivated the change.
Related Issues
closes #10164
Checklist
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]).
This will ensure a smooth and quick review process. Updating the pubspec.yaml and changelogs is not required.

[ ] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[ ] My PR includes unit or integration tests for all changed/updated/fixed behaviors (See Contributor Guide).
[ ] All existing and new tests are passing.
[ ] I updated/added relevant documentation (doc comments with ///).
[ ] The analyzer (melos run analyze) does not report any problems on my PR.
[ ] I read and followed the Flutter Style Guide.
[ ] I signed the CLA.
[ ] I am willing to follow-up on review comments in a timely manner.

Breaking Change
Does your PR require plugin users to manually update their apps to accommodate your change?

[ ] Yes, this is a breaking change.
[X] No, this is not a breaking change.

Some e2e test for this would be neat. But otherwise LGTM

Some e2e test for this would be neat. But otherwise LGTM

There are already some e2e tests for this case. I couldn't reproduce this error but it was reported through a crashlytics report.


fix fixnum/NaN comparisons for <= and >=

(This is pulled over from the original Sorbet compiler repo; @aprocter-stripe  OK'd this PR there, but resubmitting since we've merged everything.)
Motivation

Our slowpath code was not handling NaNs correctly in the fixnum comparison case for some comparison functions. int_ge.rb and int_le.rb failed with the added tests in baf3a33
I added more tests everywhere to a) make sure we didn't have problems elsewhere and b) completeness.
I assume we copied code from the static functions in numeric.c because the slowpath code was written for the codegen payload at a time when we didn't want to export static functions from libruby.so. But now that we directly patch files in the Ruby source, we can reuse the code in numeric.c without copying and avoid subtle bugs like this one.
I suppose we could use rb_int_gt etc. directly in our slowpath functions; I have no strong feelings on the matter, though using them is slightly more correct if somebody decided to subclass Integer (?!).  I don't think we should handle this case -- we decided in previous discussion not to.
Test plan

See included automated tests.

We have a policy of testing changes to Sorbet against Stripe's codebase before
merging them. I've kicked off a test run for the current PR.  When the build
finishes, I'll share with you whether or how it failed. Thanks!
Stripe employees can see the build results here:
→ https://go/builds/bui_Jy1C4g5qKAYvFN
→ https://go/builds/bui_Jy1C6mEr5LtosP


Table of Dynamics 365 Solutions

as per my production environment

there are 11 solutions related to project for the web, but if you mean the solutions that have data not the helper solutions then it should be 4 solutions
as below if they are 4

Name
Display Name

PortfolioService
Portfolio Service

msdyn_ProjectServiceCore
Project

MicrosoftDynamicsScheduling
Universal Resource Scheduling

mydynce_Scheduling
Scheduling

if we need to add all the solutions should be as below

Name
Display Name

PortfolioService_Patch_1
Portfolio Service

PortfolioService
Portfolio Service

PortfolioService_Anchor
Portfolio Service Solution

msdyn_ProjectServiceCore
Project

msdyn_ProjectServiceCore_Anchor
Project

msdyn_ProjectServiceCore_Patch
Project

mydynce_Scheduling
Scheduling

mydynce_SchedulingPatch
Scheduling Patch

UnifiedResourceScheduling_UpgradeScripts
Unified Resource Scheduling Upgrade Scripts

MicrosoftDynamicsScheduling_Patch_12
Universal Resource Scheduling

MicrosoftDynamicsScheduling
Universal Resource Scheduling

actually this what i have understood, please correct me if i misunderstood

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

ID: 20c839da-0f06-c409-9744-4d285e405dbb
Version Independent ID: 161f4096-13a0-1368-bdbd-0e530bcffbf0
Content: Export user data from Project for the Web - Project for the web
Content Source: ProjectWeb/export-user-data-from-project-for-the-web.md
Service: project-web
GitHub Login: @efrene
Microsoft Alias: efrene

@sayedpfe Thank you for submitting feedback. We are currently investigating this.

@scanum, it is not issue with the tenant, i meant the document has issue and not updated


Tracer summoner

Since Tracer is commonly passed implicitly, it would be nice to have the "summoner" method on the companion object:
implicit def apply[F](implicit ev: Tracer[F]): ev.type

I couldn't make it run without providing an [_] to the F on apply. I'm fairly new to this, is there something I need to know, or is it a typo?

I didn't know we had that Typelevel project. Neat. Is there any kind of automation for that?

@valencik and @samspills set it up :) no automation yet.

@amuradyan you did it right! Ross just made a typo 😜

@amuradyan You'll need to provide the [F[_]] in the type param, Ross' example left that out :)

So, I came up with this:
implicit def apply[F[_]](implicit ev: Tracer[F]): ev.type = ev

But I don't understand how this affects other parts of the code. I looked for implicit-s and Tracer-s but couldn't see the connection, and the whole thing tests without it.

But I don't understand how this affects other parts of the code

It doesn't really affect this codebase. It's a convenience for users so they can write Tracer[F] instead of implicity[Tracer[F]]
Also, the implicit at the front is not right also 😅

It doesn't really affect this codebase. It's a convenience for users so they can write Tracer[F] instead of implicity[Tracer[F]]

Ok, I knew that and tried to find the usage of it but could not. Thought maybe there is a different way of using it, but I don't know\can't see. I'll wrap this in a PR then if this is still valid.

Also, the implicit at the front is not right also 😅

That was strange to me as well, but I decided to leave it :)) Should as the next time.

I'll wrap this in a PR then if this is still valid.

Great, yes please! :)

Thank you for volunteering and bearing with my many mistakes. :smile:

Thank you for sharing it. I stumbled upon it while going through my Mastodon feed :))

Fixed by #91.

And already put to use in #90!


Fixes to sourcing of fish scripts in terminal

For #7343

Codecov Report

Merging #7387 into master will decrease coverage by 0.46%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master    #7387      +/-   ##
==========================================
- Coverage   58.15%   57.69%   -0.47%
==========================================
  Files         493      493
  Lines       21778    21428     -350
  Branches     3487     3488       +1
==========================================
- Hits        12665    12362     -303
+ Misses       8326     8276      -50
- Partials      787      790       +3

Impacted Files
Coverage Δ

...on/terminal/environmentActivationProviders/bash.ts
90% <100%> (+1.11%)
:arrow_up:

...nt/datascience/jupyter/invalidNotebookFileError.ts
0% <0%> (-75%)
:arrow_down:

.../client/datascience/jupyter/jupyterConnectError.ts
0% <0%> (-66.67%)
:arrow_down:

...science/jupyter/jupyterKernelPromiseFailedError.ts
0% <0%> (-50%)
:arrow_down:

...ent/datascience/jupyter/jupyterWaitForIdleError.ts
0% <0%> (-50%)
:arrow_down:

src/client/common/utils/platform.ts
64.7% <0%> (-23.53%)
:arrow_down:

src/client/language/characters.ts
12% <0%> (-18.77%)
:arrow_down:

src/client/common/platform/pathUtils.ts
66.66% <0%> (-5.56%)
:arrow_down:

src/client/linters/pydocstyle.ts
84.61% <0%> (-5.13%)
:arrow_down:

src/client/constants.ts
75% <0%> (-5%)
:arrow_down:

... and 34 more

Continue to review full report at Codecov.

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

. is a compatibility function, source is the builtin. See https://github.com/fish-shell/fish-shell/blob/master/share/config.fish#L145


Fix Linux Wry dependencies

When wry was updated the required version of libwebkit2gtk was updated. This bumps the version in CI and docs to hopefully fix the Linux CI

Thank you!


Got overflow error although the target pc (my 2nd pc) 's memory is not out

this is the error im getting when trying to execute any plugin

Also the ip address in the clients tab is appearing red.

Are you sure both clients are the same? try using the build of the working PC and see if anything changes. If not assuming you have physical access to the PC what are the differences between the two systems? things that could cause this are Hardware issues, Antivirus issues and windows API issues, what version of windows is the PC running? its hard to provide a solution without more information

Sorry for being late, that pc uses windows xp sp3 and i think it is all bcs
of winxp bcs it has an old version or .NET
On Thu, Jan 2, 2020 at 1:32 PM MrDevBot<EMAIL_ADDRESS>wrote:

Are you sure both clients are the same? try using the build of the working
PC and see if anything changes. If not assuming you have physical access to
the PC what are the differences between the two systems? things that could
cause this are Hardware issues, Antivirus issues and windows API issues,
what version of windows is the PC running? its hard to provide a solution
without more information
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/NYAN-x-CAT/AsyncRAT-C-Sharp/issues/148?email_source=notifications&email_token=AL2KCT3XNZELUR4QWGTKCSDQ3XNHRA5CNFSM4KANRYB2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEH6HX3A#issuecomment-570194924,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AL2KCT6C543S2I343V52DJLQ3XNHRANCNFSM4KANRYBQ
.

@MrDevBot
Sorry for being late, that pc uses windows xp sp3 and i think it is all bcs
of winxp bcs it has an old version or .NET

Strange... .Net versions are fixed, a .net 3.5 program cant use .net 2.0 and will require it to be installed same with 4.7 ect. With the exclusion of minor security patches. I will do some testing using a windows XP virtual machine, in the meantime I strongly suggest upgrading to Windows 7 or above as XP is notorious for having many software bugs

Side note, are you using this from the official releases section or compiling it yourself from source


SFZ missing after cloning

Hi, I tried using the cloning method: git clone https://github.com/sgossner/VSCO-2-CE.git
but after doing that I got everything but the SFZ files:

so how do I download them without redownloading everything again? (the zip file has everything)

You need to switch to the SFZ branch. The Main branch just contains the sample files only (the main part of the project).

oh ok, yeah, there wasn't a way to only download the SFZ files, so I had to redownload everything...
So I did this:
git clone --branch SFZ https://github.com/sgossner/VSCO-2-CE.git
and got the files... thanks...

oh ok, yeah, there wasn't a way to only download the SFZ files, so I had to redownload everything... So I did this: git clone --branch SFZ https://github.com/sgossner/VSCO-2-CE.git and got the files... thanks...

Thanks, I've updated the instructions on the Release to help any future users avoid this issue.


Consider switching from CLOCK_MONOTONIC to CLOCK_MONOTONIC_RAW on macOS

We have evidence that CLOCK_MONOTONIC can go backwards on macOS. We have a device running macOS 14.6.1 and it seems to have a slightly defective clock. (There are lots of multi-second time jumps in the logs, especially around sleeps.) It appears that this triggers a bug in macOS that causes CLOCK_MONOTONIC to occasionally jump.
Short term clock jumps may cause issues with WireGuard, one major issue I am aware of is triggering something like https://github.com/NordSecurity/boringtun/pull/8 on a forward jump which would trip a rate limit and break the connection.
There seems to be no perfect clock on macOS. For the use cases here the ideal monotonic clock would have no discontinuities and prioritize short-term accuracy. From man clock_gettime, CLOCK_MONOTONIC seems to provide long-term accuracy and it is implied that it allows time jumps (even though that would be a POSIX violation). CLOCK_MONOTONIC_RAW provides neither short-term or long-term accuracy but disallows time jumps.
In our opinion preventing jumps is likely the better trade off for NepTUN, as IIUC clock rate accuracy doesn't matter until you get around 0.5x or 2x rate difference. However clock jumps can break your tunnel.
Another consideration may be CLOCK_MONOTONIC_RAW_APPROX which is supposedly cheaper but "it may return values that are milliseconds old". However this amount of staleness is likely acceptable for the WireGuard use case as we are talking over a network where things likely have a few milliseconds of jitter anyways.

Thanks for reporting this!
Quick question: maybe You had a chance to investigate how CLOCK_MONOTONIC_RAW is behaving in presence of sleeps? E.g. if process running NepTUN is put to sleep for some amount of time, or even if full device is put to sleep - after wakeup - does it indicate the time which has passed during the sleep?
I am asking, because this behavior is rather important for recovering WG session after prolonged sleep periods.


support aten::type_as converter

Description
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Fixes # (issue)
Type of change
Please delete options that are not relevant and/or add your own.

New feature (non-breaking change which adds functionality)
support aten::type_as(Tensor self, Tensor other) -> (Tensor)

Checklist:

[x] My code follows the style guidelines of this project (You can use the linters)
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas and hacks
[ ] I have made corresponding changes to the documentation
[x] I have added tests to verify my fix or my feature
[x] New and existing unit tests pass locally with my changes

Can you provide an example of the pytorch op in python which generates aten::type_as operation if you have ?

  %138 : Tensor = aten::ne(%input_ids.1, %5)
  %139 : Tensor = aten::cumsum(%138, %5, %17)
  %140 : Tensor = aten::type_as(%139, %138)
  %incremental_indices.1 : Tensor = aten::mul(%140, %138)
  %142 : Tensor = aten::add(%incremental_indices.1, %20, %5)
  %inputs_embeds.1 : Tensor = aten::embedding(%21, %input_ids.1, %5, %16, %16)

convert int to bool

This can be lowered to aten::to.other for which there is an existing PR https://github.com/NVIDIA/TRTorch/pull/382
There's more functionality that we plan to add to casting which is why it is in progress and will be worked on next week.

Closing this in favor of a lowering pass implementation https://github.com/NVIDIA/TRTorch/pull/382


Add test and doc for proxy config cache select alternate

I created this pull request after the discussion in the users mailing list.

Why is proxy.config.cache.select_alternate undocumented?
Re: Why is proxy.config.cache.select_alternate undocumented?

Could you review this?
Thanks!

great job!
from your test case, the alternates vary from User-Agent, there is a dedicated config proxy.config.cache.vary_on_user_agent that will control whether we should vary on different User-Agent headers, and I think the cache.select_alternate may result in completely disable the alternate, so as all the 'vary' and 'alts' config options. while vary_on_user_agent may help you vary on AE header and the 'Vary' headers, but not UA. outline here just incase you need it.
well done.

[approve ci]

FreeBSD build successful! See https://ci.trafficserver.apache.org/job/Github-FreeBSD/623/ for details.

Linux build successful! See https://ci.trafficserver.apache.org/job/Github-Linux/519/ for details.

@mingzym Thanks for your comment.
I searched vary_on_user_agent  in the trafficserver source code, but I couldn't find it.
It turned out that proxy.config.cache.vary_on_user_agent was deleted at version 5.3.0: [TS-3232] Remove obsolete proxy.config.vary_on_user_agent configuration - ASF JIRA

yeah, sorry for that, forget vary_on_user_agent. :(

@jsime  Thoughts?

@jacksontj Can you review the tsqa test portion please?

Please reimplement using autest.  We have changed our testing framework and it now is under tests/


Add --image-service-endpoint flag

Proposed Changes
Problem:
External container runtime can be set but image service endpoint is unchanged and also is not exposed as a flag. This is useful for using containerd snapshotters outside of the ones that have built-in support like stargz-snapshotter.
Solution:
Add a flag --image-service-endpoint and also default image service endpoint to container runtime endpoint if set.
Types of Changes
The --image-service-endpoint flag is a new feature but defaulting image-service-endpoint can be considered a bug fix as that's the behavior in most CRI related tool like crictl.
Verification
Use --container-runtime-endpoint to an external containerd instead of --snapshotter for any remote snapshotter setup like stargz or nydus. Optionally set --image-service-endpoint if the snapshotter also supports the image service GRPC server.
Testing
Linked Issues

https://github.com/k3s-io/k3s/issues/8480

User-Facing Change

Add `--image-service-endpoint` flag to specify an external image service socket.

Test failures don't seem related:
cc @brandond
 Repository 'Main Update Repository' is invalid.
[repo-update|http://download.opensuse.org/update/leap/15.4/oss/] Valid metadata not found at specified URL
History:
 - File './repodata/f13a28ea4c16be025e7f3735dcb751e40beee3ce7ea014bb7a94e4b5a94f8fea-deltainfo.xml.gz' not found on medium 'http://download.opensuse.org/update/leap/15.4/oss/'
 - Can't provide ./repodata/f13a28ea4c16be025e7f3735dcb751e40beee3ce7ea014bb7a94e4b5a94f8fea-deltainfo.xml.gz

SSH: ssh<EMAIL_ADDRESS>or: ssh -i <path-to-private-SSH-key><EMAIL_ADDRESS>Error: The action has timed out.

Yeah, sometimes the opensuse repos have issues. We can just re-run.

will merge once CI is green.

Test are flaking on s390x because this branch is missing CI fixes from master. We could rebase and re-run tests again, but I'm not worried about it. Merging.


[android] fix bug if application is null log not print out

[android] fix bug if application is null log not print out

has rebase,but bot seems broken.


health: Quieten health launch log

There's already a log to state that the health endpoint is starting, we
don't need two. Shift this to debug level.

This change is

Coverage increased (+0.002%) to 45.181% when pulling 94b5c4f31533268c0aede724ceab685fbbf20c00 on joestringer:submit/cosmetic-health-log into f380a79605eddb9c51a292e06b828a8c4d21d983 on cilium:master.


Setup tests / CI infrastructure for frontend

Hey! Which CI? CircleCI? Travis?

@deacix I would like to give GitHub Actions a try: https://github.blog/2019-08-08-github-actions-now-supports-ci-cd/

Can you provide rights to me for this repo? So I can setup the ci?

Some docs from Github:

https://help.github.com/en/articles/configuring-a-workflow
https://help.github.com/en/articles/workflow-syntax-for-github-actions

please close the story


Config file of few supervision.

It is a very nice work.
Thank you so much for your contribution.
Is it possible to release scripts for few-supervision on PASCAL VOC 2012, too?

Hi, the config file of few supervision is here.
(1) You could start from this config. Please note that we only show the difference in the below. Other files such as network.py, train.py need no change.
(2) Following the official code of PseudoSeg, we view all the 10582 images in the VOC Aug set as the unlabeled set. The image IDs are recorded in the file train_aug.txt. To generate this file, you could simply merge two files: train_aug_unlabeled_1-2.txt and train_aug_labeled_1-2.txt.
(3) We train 30 epochs for few supervision. The cps_weight is 0.1 here, but if you use 0.5, you would get significantly higher performance than the number in our paper (for 732, 366, 183 labeled settings).
C.dataset_path = osp.join(C.volna, 'DATA/pascal_voc')
C.img_root_folder = C.dataset_path
C.gt_root_folder = C.dataset_path
C.labeled_ratio = 2
C.train_source = osp.join(C.dataset_path,'subset_train_aug/pseudoseg_labeled_1-{}.txt'.format(C.labeled_ratio))
C.unsup_source = osp.join(C.dataset_path, 'train_aug.txt')
C.eval_source = osp.join(C.dataset_path, "val.txt")
C.is_test = False

C.num_train_imgs = 1464 // C.labeled_ratio
C.num_eval_imgs = 1449
C.num_unsup_imgs = 10582     # unsupervised samples

C.max_samples = max(C.num_train_imgs, C.num_unsup_imgs)

"""Train Config"""
if os.getenv('learning_rate'):
    C.lr = float(os.environ['learning_rate'])
else:
    C.lr = 0.001

if os.getenv('batch_size'):
    C.batch_size = int(os.environ['batch_size'])
else:
    C.batch_size = 8

C.nepochs = 30
C.niters_per_epoch = int(math.ceil(C.max_samples * 1.0 // C.batch_size))
C.num_workers = 8
C.train_scale_array = [0.5, 0.75, 1, 1.5, 1.75, 2.0]
C.warm_up_epoch = 0

C.cps_weight = 0.1
C.cutmix_mask_prop_range=(0.25, 0.5)
C.cutmix_boxmask_n_boxes=3
C.cutmix_boxmask_fixed_aspect_ratio=False
C.cutmix_boxmask_by_size=False
C.cutmix_boxmask_outside_bounds=False
C.cutmix_boxmask_no_invert=False

Hi, Thank you so much for your reply.
But changing C.train_source to subset_train_aug/pseudoseg_labeled_1-{}.txt only leads me dataloader errors.

Could you provide more details?

It seems the problem is caused by missing directory: TorchSemiSeg/DATA/pascal_voc/pseudoseg_labeled_1-2.
Could you please provide that?

Hi, there is no need to create such a directory. All the images could be found in the VOC Aug set.

if os.getenv('batch_size'):
    C.batch_size = int(os.environ['batch_size'])
else:
    C.batch_size = 8

sorry to bother, but have you solved this problem?


Cannot enumerate devices: avdevice_list_input_sources failed

Hi,
This project sounds like rocket ! :)
I try it on Win10 using "dshow" as DeviceInputFormat, unfortunately avdevice_list_input_sources  failed: it always return -40 (Function not implemented)
I used ffmeg libraries from here: https://www.gyan.dev/ffmpeg/builds/#release-builds
more specifically these one: https://www.gyan.dev/ffmpeg/builds/ffmpeg-release-full-shared.7z
Using this command line works well: ffmpeg -f dshow -list_devices true -i dummy
It seems a restriction with "dshow" and ffmpeg.
I found this page useful :  https://programmerall.com/article/4886862481/

Thank you!
It seems that FFmpeg doesn't have a way to do this yet.
https://trac.ffmpeg.org/wiki/DirectShow#Howtoprogrammaticallyenumeratedevices

It seems a restriction with "dshow" and ffmpeg.
I found this page useful :  https://programmerall.com/article/4886862481/

This looks like a really informative page, but it has the most broken English I've ever seen... I'm having a hard time understanding it 7_7'

This looks like a really informative page, but it has the most broken English I've ever seen... I'm having a hard time understanding it 7_7'
Yep ... I'm not so fluent too but a little better I hope :)

Another point: did you intend to provide also a library to manage input audio devices ?

This looks like a really informative page, but it has the most broken English I've ever seen... I'm having a hard time understanding it 7_7'

Yep ... I'm not so fluent too but a little better I hope :)
Another point: did you intend to provide also a library to manage input audio devices ?

We do not have immediate plans at the moment to make a audio library as our use case does not have any use for it.

This looks like a really informative page, but it has the most broken English I've ever seen... I'm having a hard time understanding it 7_7'

Yep ... I'm not so fluent too but a little better I hope :)
Another point: did you intend to provide also a library to manage input audio devices ?

This library is only intended for camera devices.
To give even more context, the reason I'm making this library is because previously we had to use OpenCV to get camera output in C#, and we've had lots of issues with it. FFmpeg works way better for this use-case  (...provided we can actually enumerate the devices lol).

This looks like a really informative page, but it has the most broken English I've ever seen... I'm having a hard time understanding it 7_7'

Yep ... I'm not so fluent too but a little better I hope :)
Another point: did you intend to provide also a library to manage input audio devices ?

Oh! Did you write this article?

Oh! Did you write this article?

Not at all !
I tried already your library at the beginning of this week and I found this article useful to get the list of devices in "dshow" context.
I'm just a beginner about ffmpeg so your library is very useful !
I understand that this library is focus on Camera only. But I miss something to manage them without the need to manage microphones too... Perhaps you have a specific case

Another point: did you intend to provide also a library to manage input audio devices ?

For playing sounds on audio devices you can use something like NAudio, as it targets .net standard 2.0, but there are others.
If what you need to do is manage the devices at an OS level, AudioSwitcher.AudioApi will do the trick, but it is Windows only and targets .net framework

I'm looking for a multi-platform solution - and if possible more specifically Xamarin.Form ( so .Net MAUI later).

For playing sounds on audio devices or microphone input you can use something like NAudio, as it targets .net standard 2.0, but there are others.

NAudio seems more Windows oriented.  For others platforms It should be necessary to implement IWavePlayer natively
You didn't suggest me FFmpeg to manage audio devices. Do you think it's a bad idea ? Did you have any experiences about this ?

Actually, I can suggest that. Though it is really hard to deal with given that there is next to no documentation for its C API... There are examples, function and struct descriptions, and that's about it.

Thanks you all your inputs !
I'll try to make a library to manage input audio devices.
I already know that I wouldn't find such a funny name as SeeShark ;)

Haha x')
Good luck finding a name then!

@ChristopheI I still haven't tested it on Windows because I've had issues with my Windows VM, but I made an attempt at fixing this issue on this latest commit.
Though @adryzz is going to test it soon. You can also give it a try, can't refuse additional help :)

After a few more commits, 5be2f282 fixed it! It has been tested and the SeeShark.Example.Ascii now works on Windows no problem.
I will thus close this issue.
Thow honestly I'm still worried about cameras that would have the same name, if that ever happens.

I also tested successfully on my side. Congrats !


Fixed various URL's in docs

Updates the chaos charts examples URL issue #66
Fixes many broken links

examples link
community link
chaoshub link

https://docusaurus.io/docs/en/navigation
Relative path is preferred over hard coded links

Thanks for taking part in Hacktoberfest 2019. Please fill up this form to claim your swag https://hubs.ly/H0l5ldm0


receive/multitsdb: do not delete not uploaded blocks

If a block hasn't been uploaded yet then tell the TSDB layer not to delete them. This prevents a nasty race where the TSDB layer can delete a block before the shipper gets to it. I saw this happen with a very small block.
Similar code in Cortex https://github.com/cortexproject/cortex/blob/c03317017ac0d60e16ae644ab4d3332717450bcd/pkg/ingester/ingester.go#L438. I don't get the point of caching the reading because the file is typically very small.

This is a new type of flakiness in Thanos that I don't know how to solve easily without impeding the performance of Thanos itself:
--- FAIL: TestMultiTSDBPrune (6.42s)
    --- FAIL: TestMultiTSDBPrune/prune_tsdbs_with_object_storage (3.20s)
        multitsdb_test.go:476: multitsdb_test.go:476: ""

             unexpected error: upload: upload 01HRCNX6CMNS1V923JJBTAQYBY: upload chunks: open file /tmp/TestMultiTSDBPruneprune_tsdbs_with_object_storage3005111278/001/compacted-tenant/thanos/upload/01HRCNX6CMNS1V923JJBTAQYBY/chunks/000001: open /tmp/TestMultiTSDBPruneprune_tsdbs_with_object_storage3005111278/001/compacted-tenant/thanos/upload/01HRCNX6CMNS1V923JJBTAQYBY/chunks/000001: no such file or directory

I believe this is related to filesystem caches - even if we do all locking properly, one sync after the other might still "see" data that has been deleted very recently. I can reproduce it locally in about 10% of tries.
If I add syscall.Sync() after os.RemoveAll(tdb.Dir()) then the problem goes away which leads me to believe that the test sees stale data and fails when it gets deleted "from underneath" while shipper tries to upload the same block once again.

This would also force tsdb to keep the blocks indefinitely (against tsdb.retention) in case the uploader repeatedly fails for whatever reason, right? (network issue, remote storage issue, authentication issue etc.)
If so, Neat! :)

This would also force tsdb to keep the blocks indefinitely (against tsdb.retention) in case the uploader repeatedly fails for whatever reason, right? (network issue, remote storage issue, authentication issue etc.)
If so, Neat! :)

Do you reckon we should add a flag to delete blocks after X time even if we fail to upload them? Perhaps some people would like to select a different failure mode - to lose data permanently instead of stopping the whole ingestion due to lack of space. :thinking:

Do you reckon we should add a flag to delete blocks after X time even if we fail to upload them? Perhaps some people would like to select a different failure mode - to lose data permanently instead of stopping the whole ingestion due to lack of space. 🤔

Both scenarios are quite disastrous (losing older data or losing new data is both lost data) but I suppose that losing old data is always preferable to losing fresh data, so I would not crash the ingestion because of not uploaded blocks clogging the storage. That said there is an argument there, that at the very least, crashing the ingest would raise alarms that may be acted upon so that someone can fix the situation asap, resulting in a minimal gap. (I personally would not like to use it like this, but others might, no idea)
I am not a big fan of having a 2nd tsdb.retention flag, as that can still be misconfigured (or not configured at all).
I am thinking that maybe we can decide this dynamically based on free storage space. We could keep not uploaded blocks beyond tsdb.retention if we see that we have x% of (or more than y GB) disk space left. x/y can then be a flag with some sensible defaults. (like 5-10% disk, but at least 2-4GB - I just guessed something, I have no data to back up these values)
In this scenario we could have a gauge on "not uploaded blocks beyond tsdb.retention", that would give a trivial alerting path for such issues in general.

All that said, I do not want to hold this up, since even without this enhancement, the PR is an improvement as is.
I simply wanted to share an improvement idea.

Okay, so let's just continue with this PR as is. We can improve the failure mode later on.
Rewrote this to be simpler - we now only use one lock to ensure that only one Sync is running at any given time. Since there is a shared state on disk, the shipper.json file, this fits naturally. @fpetkovski PTAL.


🐛 [BUG]: Node Toolbar and Node Resizer examples not working

Is there an existing issue for this?

[X] I have searched the existing issues and this is a new bug.

Current Behavior
The examples aren't working in the Repl for some reason, though the component itself does work.
Expected Behavior
The examples should work.
Steps To Reproduce
No response
Relevant log output
No response
Anything else?
No response

I have same issue

I have same issue

Fixed


feat: Add Mojeek as web search provider

Pull Request Checklist
Note to first-time contributors: Please open a discussion post in Discussions and describe your changes before submitting a pull request.
Before submitting, make sure you've checked the following:

[x] Target branch: Please verify that the pull request targets the dev branch.
[x] Description: Provide a concise description of the changes made in this pull request.
[x] Changelog: Ensure a changelog entry following the format of Keep a Changelog is added at the bottom of the PR description.
[x] Documentation: Have you updated relevant documentation Open WebUI Docs, or other documentation sources?
[x] Dependencies: Are there any new dependencies? Have you updated the dependency versions in the documentation?
[x] Testing: Have you written and run sufficient tests for validating the changes?
[x] Code review: Have you performed a self-review of your code, addressing any coding standard issues and ensuring adherence to the project's coding standards?
[x] Prefix: To cleary categorize this pull request, prefix the pull request title, using one of the following:

BREAKING CHANGE: Significant changes that may affect compatibility
build: Changes that affect the build system or external dependencies
ci: Changes to our continuous integration processes or workflows
chore: Refactor, cleanup, or other non-functional code changes
docs: Documentation update or addition
feat: Introduces a new feature or enhancement to the codebase
fix: Bug fix or error correction
i18n: Internationalization or localization changes
perf: Performance improvement
refactor: Code restructuring for better maintainability, readability, or scalability
style: Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc.)
test: Adding missing tests or correcting existing tests
WIP: Work in progress, a temporary label for incomplete or ongoing work

Changelog Entry

🌐 Mojeek Integration: Added Mojeek as a web search provider, giving you more search options.

Description

Added Mojeek to the web search providers to offer alternative search results.

Added

Mojeek Search to the web search provider

Changed
Deprecated
Removed
Fixed
Security
Breaking Changes

Additional Information

Related to this discussion: https://github.com/open-webui/open-webui/discussions/6588
Related documentation change: https://github.com/open-webui/docs/pull/297

Screenshots or Videos

Thanks!


FEATURE Add

Describe the feature
I want to make these buttons work.
Data scientist,  developer, full stack developer etc.
I am currently under gssoc. Please assign this issue to me and add the required labels.
Add ScreenShots

Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

Go Ahead

Under this heading of javascript file i have to write the backend program ??
And could you please tell me under which html file the popularSearch code is written ??

ping @PatilHarshh

Is it the correct way ?

Ping @PatilHarshh