Publish MDNS services

Hi..
Anyone interested in using this package for publishing services?
The APIs on both iOS and Android are simple enough. I may submit a PR if @Apercu thinks this is the right place for the functionality. Otherwise, I'll create a separate package.

Hey, you mean to advertise a service directly from the native app? I guess it could be a functionality yes!

That's correct. I have a use case where one app will publish (advertise) a service to other clients on local network. I'll send out an API proposal before I get started sometime in the next 2-3 weeks.

Nice thanks!

Any progress on this enhancement? I am planning to implement this if nobody has already done so. Will need some help on iOS since I'm not well versed in Objective C. But I could take a stab at it.

I moved on to another project. However, I do have an iOS implementation
(but not Android yet). I can publish that in about a week. Maybe we can
merge Android and iOS versions.
On Thu, Jul 12, 2018 at 12:13 PM Jan Lievens<EMAIL_ADDRESS>wrote:

Any progress on this enhancement? I am planning to implement this if
nobody has already done so. Will need some help on iOS since I'm not well
versed in Objective C. But I could take a stab at it.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/balthazar/react-native-zeroconf/issues/49#issuecomment-404566852,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAYRrERIXKpJgmiX7UERyJ2_3_QKQjWBks5uF3WMgaJpZM4QSgdf
.

@makeitnew I have added you as a collaborator on my fork: https://github.com/jalieven/react-native-zeroconf. I have already added the placeholder register/unregister react methods in iOS. Would be nice to inject your iOS code in there. I can test it an create a pull request for @balthazar

Very interested in this.  Any news?  Happy to help if I can.  Cheers.

I'll add my code in the next day.
On Sun, Aug 26, 2018 at 11:10 PM shanekoss<EMAIL_ADDRESS>wrote:

Very interested in this. Any news? Happy to help if I can. Cheers.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/balthazar/react-native-zeroconf/issues/49#issuecomment-416102157,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAYRrN5ZSZSw-mFurdVLBg_gYlwkLcIiks5uU2MmgaJpZM4QSgdf
.

Please have a look at https://github.com/makeitnew/react-native-zeroconf.git.
This fork contains both my iOS implementation and an Android
implementation, (I actually didn't remember I'd done the Android version
too as I've been away from this project for several months.)
Anyway, please take a look and let me know. I understand our interfaces
probably aren't identical. I can either adopt my code to use yours; or if
you prefer mine, then vice versa.
Please note that I'm not doing an RN work currently. So I might not have a
proper test environment immediately available.
Lastly, apologies for taking so long to respond. I've been traveling for
the last month.
On Sun, Jul 15, 2018 at 3:18 AM Jan Lievens<EMAIL_ADDRESS>wrote:

@makeitnew https://github.com/makeitnew I have added you as a
collaborator on my fork: https://github.com/jalieven/react-native-zeroconf.
I have already added the placeholder register/unregister react methods in
iOS. Would be nice to inject your iOS code in there. I can test it an
create a pull request for @balthazar https://github.com/balthazar
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/balthazar/react-native-zeroconf/issues/49#issuecomment-405072559,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAYRrLvzO8TMpYCtrQP4XawLzxNp_8Vlks5uGuy3gaJpZM4QSgdf
.

@makeitnew Could you please submit a PR ? I've tested on iOS and confirm it works.

I’ll submit a PR today.
On Wed, Feb 13, 2019 at 6:38 AM Wesley<EMAIL_ADDRESS>wrote:

@makeitnew https://github.com/makeitnew Could you please submit a PR ?
I've tested on iOS and confirm it works.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/balthazar/react-native-zeroconf/issues/49#issuecomment-463167616,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAYRrGLFfaskjyhsrqu4wfiVBS4gWa0Uks5vM_lQgaJpZM4QSgdf
.


the method build is undefined for the all types OptionBulder

Hi Auties00
Hello, I have written this code according to your example in a MAVEN project, but I am facing this error
Whatsapp.webBuilder()
.lastConnection()
.build()//the method build is undefined for the WebOptionBuilder?????????????
.addLoggedInListener(() -> System.out.println("Connected!"))
.addNewMessageListener(TesterBot::onNewMessage)
.connectAndAwait()
.join();
thanks

Hi Auties00
Hello, I have written this code according to your example in a MAVEN project, but I am facing this error
Whatsapp.webBuilder()
.lastConnection()
.build()//the method build is undefined for the WebOptionBuilder?????????????
.addLoggedInListener(() -> System.out.println("Connected!"))
.addNewMessageListener(TesterBot::onNewMessage)
.connectAndAwait()
.join();
thanks

The documentation isn't up to date with the master branch. When I release the First stable cobalt release, I'll update it. In the meantime, use the source as a documentation


Hope to have functions that can extract Solvents(molcule) or Catalyst or Temperture(text like object) of Reaction

Is your feature request related to a problem? Please describe.
might be something related with #1404
when we drawing a reaction, we used to draw solvents(molcule) or catalyst or temperture above the arrow
to distinguish reactants, like above
we would like to have some functions could recognize those structs or text above reaction arrows,
either generate Image, generate cml format, or other formats

So at this point, to achive my desired feature, we might have to parse our own data from ketcher.editor.struct() right?

Hi @Pandaaaa906,
we've included the ability to assign and distinguish reactants and reaction conditions to the Ketcher roadmap to definitely implement it in one of the future versions.
Right now you can use existing abilities to create Text or molecule above the arrow. As you've mentioned they can be retrieved using ketcher.editor.struct()
Let us know if any other questions will appear.
Regards,
Ketcher team


Add Sinope light manufacturer cluster attributes

Added Sinopé light manufacturer cluster attributes for minimum intensity

Codecov Report

Merging #1385 (cf2b1f7) into dev (f9e25f4) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##              dev    #1385   +/-   ##
=======================================
  Coverage   81.06%   81.06%
=======================================
  Files         218      218
  Lines        6093     6093
=======================================
  Hits         4939     4939
  Misses       1154     1154

Impacted Files
Coverage Δ

zhaquirks/sinope/light.py
100.00% <ø> (ø)

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 f9e25f4...cf2b1f7. Read the comment docs.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
4939

Relevant Lines:
6093

💛  - Coveralls


Elastic CI Guide

[x] Finish off the words
[x] Take screenshots of getting the example working
[ ] Review

Good to go!


[incubator/vault] allow extra init containers to be added

What this PR does / why we need it:
Allows adding init containers. One use case is to manage plugins.
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] DCO signed
[x] Chart Version bumped
[x] Variables are documented in the README.md

/assign @paulczar

Anything we can do to get this unstale @paulczar?

/ok-to-test

@paulczar merge conflicts are addressed. Let me know if I can do anything to move this forward.

@paulczar merge conflicts addressed again! Still hopeful we can get this merged.

cc @jpds

/lgtm


Set up custom 404 page

Describe the solution you'd like
This page should ideally show some clever message and point users back to the homepage. See this article for 404 page best practices.
Done when
Any mistyped URL takes users to a 404 page, which redirects them to the homepage or other important pages. Don't worry about trying to fix typos in the URL or anything.

First time open source contributor here.
I would like to have this assigned to me.
Are there any style guides to follow?

Hey Scott, welcome! Let me check on style guides - anything you create will be better than the current default

Our PM recommended looking into Tailwind (https://tailwindcss.com/) components related to 404 - might be a good starting place if you'd like!

Sounds good, thank you for the information!

I'll do this one


Add render macro to kemal core.

To have dynamic rendering mechanism, I created a shortcut to the ECR parser. It actually binds built-in ECR parser to the Kemal as a macro.
DONE

[x] Add file parsing.

    get "/:name" do |env|
      render "hello.html"
    end

TODO

[ ] Add string parsing. (It can be handled if the file exists and the string looks like a file path, if not it's a template to parse. Or I can implement a render_string macro)

    get "/:name" do |env|
      render "hello <%= env.params["name"] %>"
    end

Nice job here :+1: I wonder how you'll handle yield
WDYT @ilatif ?

Thanks :+1:


Fix workflow visibility badge in README

In README file in .rst format, badges from Shields.io on GitHub workflows require a ".svg" in the path after the ".yml"

Thanks, subtle! I guess it might have stopped working at some point due to a security change on GitHub. The old form still works on PyPI: https://pypi.org/project/blacken-docs/ .
Well done on picking this change up, I’ll copy it to my other open source projects so you’ll be coauthor on 33 other commits.


Wallaroo apps print the help section twice when run with --help

Is this a bug, feature request, or feedback?
Bug
What is the current behavior?
The help section is printed twice
What is the expected behavior?
Help section should only be printed once.
Also, options for Source and Sink config should be included, but are not included in the help section.
What OS and version of Wallaroo are you using?
Ubuntu 19.04, Wallaroo commit df6d13221
Steps to reproduce?
Build an example app, then run it with --help
e.g.
cd examples/pony/alphabet
stable env ponyc -d
./alphabet --help

@nisanharamati, I find that StartUpHelp() is called indirectly from three places in alphabet.pony

[TCPSourceConfigCLIParser(https://github.com/WallarooLabs/wallaroo/blob/master/examples/pony/alphabet/alphabet.pony#L40)
[TCPSinkConfigCLIParser(https://github.com/WallarooLabs/wallaroo/blob/master/examples/pony/alphabet/alphabet.pony#L46)
Wallaroo.build_application

but help section gets printed twice from both TCPSourceConfigCLIParser and TCPSinkConfigCLIParser when running ./alphabet --help. There is a chance for the help section printed thrice if we include all the options required to run the alphabet app with --help.

Can we exit immediately by adding a call  @exit[None](U8(0))  in StartupHelp after printing the help ? Other options I can think of are

@exit[None](U8(0)) from the places where StartupHelp is called
Handle the args to see if help option is available. If so print help and return immediately. But this needs to be done in every app.

Can someone suggest me on how to deal with this ? I am ready to take up this issue


Clarify Uniqueness of IDs

Type of content
[X] Advanced tools center documentation
Describe the solution you'd like
In the Developer Notes section on Object IDs, it states that IDs are unique for each type. I understand that it means that if I have an adId, I can be sure that no other ad has the same ID, though an adGroup or campaign could.
What is a drop ambiguous is if these are unique globally, or only per ad product. Meaning, can a Sponsored Brands ad have the same adId as a Sponsored Products ad?

Hi @rabbiveesh, thanks for pointing this out.
In more detail, object IDs are distinct within the same marketplace/profile. Campaign IDs across all ad types will be unique if they belong to the same profile. However, you could see duplication of IDs within different marketplaces/profiles. For example, you could see a US campaign ID repeated in the UK marketplace.
Let me know if that answers your question, and I'll work on getting the documentation updated to reflect this.

Wow, I actually wasn't expecting that. Thank you so much, that does answer my question.
Can we keep this open until the docs are updated?

Also @elizafarley , from what you wrote it implies that Profile IDs are only unique within a particular marketplace. So that means that in theory in Canada and the US, two different acounts can have the same profile ID?

Happy to help! Profile IDs are globally unique, so you won't see the same profile ID used across regions. We will also include that in the doc updates. I'll post a link to the updates here once we've made them.

To follow up, I've updated the Developer notes to expand on uniqueness for object IDs. Hopefully this helps clarify. I'll close the issue, but please follow up with any further questions!


Implement caching and loader to improve website speed and user experience.

Issue Type (check one)

[ ] Bug Report
[x] Feature Idea
[ ] Technical Discussion

Description (Please type a clear and concise description below)
On use of the website's pagination(implemented in #26) on the homepage, the data for each victim of each page is always refetched. The images are however being cached because they're being served from a CDN which is great. The victims' data request takes a while and there's currently no loader which isn't a great experience.
I've done a bit of research and the best options for this are Vercel's SWR package and React Query. I haven't used either before but SWR is from a big company and React Query is also very popular and seems to solve some issues with SWR. We should also add a loader to communicate the loading state.
I'd like to hear your thoughts on the decision we take. @Say-Their-Name/web

Hey, did you want some help with this?

That'd be appreciated. I've pretty much got it up to a good point. It's just the way useSWR works which I'm trying to wrap my head around.
I'll push what I've got soon and we can reason about that?


Improvement/fix clippy warnings

Proposed changes
Remove compilation and clippy warnings.
This addresses most of existing clippy and compilation warnings:

https://rust-lang.github.io/rust-clippy/master/index.html#expect_fun_call
https://rust-lang.github.io/rust-clippy/master/index.html#or_fun_call
https://rust-lang.github.io/rust-clippy/master/index.html#needless_doctest_main
and more...

Types of changes
What types of changes does your code introduce to thin-edge.io?
Put an x in the boxes that apply

[ ] Bugfix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Documentation Update (if none of the other choices apply)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist
Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.

[x] I have read the CONTRIBUTING doc
[x] I have signed the CLA (in all commits with git commit -s)
[x] I ran cargo fmt as mentioned in CODING_GUIDELINES
[x] I used cargo clippy as mentioned in CODING_GUIDELINES
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] I have added necessary documentation (if appropriate)

Further comments
If this is a relatively large or complex change, kick off the discussion by explaining why you chose the solution you did and what alternatives you considered, etc...

Codecov Report

Merging #223 (d848d9d) into main (d940c62) will decrease coverage by 0.07%.
The diff coverage is 36.00%.

@@            Coverage Diff             @@
##             main     #223      +/-   ##
==========================================
- Coverage   64.84%   64.77%   -0.08%
==========================================
  Files          56       56
  Lines        3209     3208       -1
==========================================
- Hits         2081     2078       -3
- Misses       1128     1130       +2

Impacted Files
Coverage Δ

common/mqtt_client/src/lib.rs
16.30% <0.00%> (ø)

...er/cumulocity/c8y_translator_lib/src/serializer.rs
94.77% <ø> (ø)

mapper/thin_edge_json/src/group.rs
92.98% <0.00%> (-1.67%)
:arrow_down:

mapper/thin_edge_json/src/serialize.rs
96.69% <0.00%> (-1.63%)
:arrow_down:

tedge/tests/os_related/unix.rs
0.00% <0.00%> (ø)

tedge_config/src/models/file_path.rs
63.63% <ø> (+9.79%)
:arrow_up:

tedge/src/utils/users/unix.rs
33.33% <20.00%> (-0.71%)
:arrow_down:

tedge_config/src/models/connect_url.rs
92.30% <50.00%> (ø)

mapper/dm_agent/src/collectd.rs
88.65% <75.00%> (+0.54%)
:arrow_up:

mapper/cumulocity/c8y_translator_lib/src/json.rs
98.61% <100.00%> (ø)

... and 1 more

Continue to review full report at Codecov.

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


Support VALUES keyword in sparqlbuilder

Problem description
From the limitation, VALUES syntax is not supported. Is there any plan to add this feature?
Thanks,
Weiran
Preferred solution
No response
Are you interested in contributing a solution yourself?
None
Alternatives you've considered
No response
Anything else?
No response

We don't have any plans at the moment no. Would you be interested in trying to add this yourself?

not sure whether I will finish this. But will try in my spare time. Thanks


Querying a slave in a replica set

Hi there,
I just have some questions around replica sets and more information about the docs where you say that you can't query a slave.
I'm in the process of wanting to migrate parts of a legacy Ruby app over to OpenResty and am having trouble finding a decent library with full replica set support. One of our Ruby apps does next to no writing but heavy on the reads and we have that app to do its querying from the slave, not the master.
It doesn't sound like there's a way to do that here, is that right? If not, how much work would it be to add said support (I'd be happy to give it a try if I had an idea as to what was involved).
Thanks!

There's no support yet, right.
However, it shouldn't be hard to implement.
First, url parser should be modified to handle mongodb://example1.com,example2.com,example3.com/?replicaSet=test&readPreference=secondary
Second, we should store pool of connections with primary/slave flag, instead of just one. I'm not sure, however, that it's viable to connect to all servers defined in uri. We, basically, need two connections with readPreference=secondary : one to master, and one to a random slave. And one connection to master otherwise (as we do now)
And finally, db:_cmd shoud be modified accordingly, with list of read/write commands and proper connection selection.

Is it supported now? If I have understood this sentence correctly, now it should works just fine:

Extracted from README.MD
Moongoo tries really hard to be smart, and opens connection only when needed,
searches for master node in replicaset, and uses relevant to mongodb version auth mechanism.

No
On Fri, 4 Jan 2019, 14:43 pacop<EMAIL_ADDRESS>wrote:

Is it supported now? If I have understood this sentence correctly, now it
should works just fine:
Extracted from README.MD
Moongoo tries really hard to be smart, and opens connection only when
needed,
searches for master node in replicaset, and uses relevant to mongodb
version auth mechanism.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/isage/lua-resty-moongoo/issues/4#issuecomment-451422532,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAQtISNFcKGSm26Go8g806bZpf-awM3Hks5u_z5MgaJpZM4ODDgx
.


Add information about running code generation and the approach towards generated files

Is your feature request related to a problem? Please describe.
While working on the repository I wasn't sure how to run code generation and whether to commit/format the generated code.
Describe the solution you'd like
I think we should add some info about how to generate code and what to do with it afterwards to the CONTRIBUTING.md file.
Describe alternatives you've considered
N/A

Agree totally. Could you @KacperKluka propose a change in a PR?
At the moment we commit generated code to the repo. So it's responsibility of the one that implements features/changes to generate files with build_runner.
If you think we should do it differently then let's discuss ;)


Static downloads

Addresses issue #14 - adds static link (generated by the ETL) to the service.

 Feature: A permanent URL or CSV link rather than a dynamically generated one

Permanent links implemented. Issue resolved.


add  VERSION  field

Description
Plugins MUST now have a valid PRIORITY (integer) and VERSION (“x.y.z” format) field in their handler.lua file, otherwise the plugin will fail to load. #8836

@yongxiaodong Hi! Thanks for making these updates! Do you have a link to the issue you mentioned (#8836)? I wasn't sure what repository that was in. Thanks!

@cloudjumpercat we can usually assume it's coming from the Kong/kong repo: https://github.com/Kong/kong/pull/8836


feature: border of float term

Did you check the docs?

[X] I have read all the LazyVim docs

Is your feature request related to a problem? Please describe.
No
Describe the solution you'd like
add a border of float_term, with the same options as lazy.nvim
Describe alternatives you've considered
maybe raise this request at lazy.nvim repo?
Additional context
No response

I've refactored the floating cmd code both in lazy.nvim and LazyVim.
LazyVim now uses the same config of lazy for the ui, so if you'd set it up there with a border, then the border will be applied.
Alternatively, you can pass it as an option, so require('lazyvim.util').float_term(nil, {border = "single"})

Thank you @folke 👍


feat: SQL implementation of the EDR index store

What this PR changes/adds
SQL implementation of the EDR index store
Why it does that
Persistent Postgres/SQL variant of the EDR index store.
Linked Issue(s)
Closes #3972
Please be sure to take a look at the contributing guidelines and our etiquette for pull requests.

Codecov Report
Attention: Patch coverage is 92.50000% with 9 lines in your changes are missing coverage. Please review.

Project coverage is 73.82%. Comparing base (7f20ba5) to head (9be01fd).
Report is 156 commits behind head on main.

Files
Patch %
Lines

...re/sql/edr/SqlEndpointDataReferenceEntryIndex.java
88.40%
7 Missing and 1 partial :warning:

...r/SqlEndpointDataReferenceEntryIndexExtension.java
85.71%
0 Missing and 1 partial :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #4025      +/-   ##
==========================================
+ Coverage   71.74%   73.82%   +2.08%
==========================================
  Files         919      991      +72
  Lines       18457    20085    +1628
  Branches     1037     1123      +86
==========================================
+ Hits        13242    14828    +1586
- Misses       4756     4780      +24
- Partials      459      477      +18

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


drivers: usb_dc_nrfx: Use dedicated work queue for handling ISR events

This patch introduces a dedicated work queue for handling the events
from ISR (i.e. for notifying the USB device stack, for executing the
enpoints callbacks, etc.). The system work queue cannot be used for
this purpose as it might be used in applications for scheduling USB
transfers and this could lead to a deadlock when the USB device stack
would not be notified about certain event because of a system work
queue item waiting for a USB transfer to be finished.
The FIFO named so far work_queue is renamed to usbd_evt_fifo
to better indicate its purpose and to avoid confusion.
Fixes #17697

@nashif @carlescufi CI failed in a strange way. At least the failure seems not to be related to the changes from this PR. Is this a known issue?


Production UMUI server

resolution_fixed   |    by<EMAIL_ADDRESS>
Currently UMUI has a test database - this needs to be a production database

Issue migrated from trac:28 at 2024-01-31 17:10:23 +1100

<EMAIL_ADDRESS>changed status from new to assigned

<EMAIL_ADDRESS>commented

Also, in the init.pp file, it looks like  ~access_ui/ is supposed to be a link to /usr/local/umui/home/
This is not the case at the moment, is that an issue?

<EMAIL_ADDRESS>changed milestone from Future to accessdev v1.0

<EMAIL_ADDRESS>commented

I think I need to use puppet to set the umuix.def file
i.e.
Copy modified umuix.def to /puppet/modules/umui/templates/ghui-config/
and add to /puppet/modules/umui/manifests/init.pp:
file { "/usr/local/umui/ghui3.0/apps/umuix.def":
ensure => present,
content => template("umui/ghui-config/umuix.def"),
require => [ Vcsrepo[ "/usr/local/umui/ghui3.0" ], ],
}
and (this is the same for umui.def)
file { "/usr/local/umui/ghui3.0/apps/umui.def":
ensure => present,
content => template("umui/ghui-config/umuix.def"),
require => [ Vcsrepo[ "/usr/local/umui/ghui3.0" ], ],
}
Can these changes be done on the file system, or do they need to be committed through puppet commands?

<EMAIL_ADDRESS>changed owner from `` to pfu599

<EMAIL_ADDRESS>commented

I will to set this up with the help of Say and Scott.
We will make all jobs start with the letter 'v' to avoid conflict with other jobs.
's' for standard jobs can be reactivated after accesscollab is shut down and its umui database is copied over to accessdev.

<EMAIL_ADDRESS>commented

It should be a lot simpler to boot instances now, I've added a wrapper script in the top level.
See the docs at Puppet/Editing

<EMAIL_ADDRESS>commented

Replying to [comment:2 pfu599]:

Can these changes be done on the file system, or do they need to be committed through puppet commands?

You'll need to do it in Puppet. Basic workflow is
git clone pfu599@repos.nci.org.au:/p/access.dev/puppet
cd puppet
git checkout -b pfu599/umui-production

# Make any changes to the repository...

git commit -a
# Enter a message about what you've changed...

git push origin pfu599/umui-production

then ask Ian or I to merge the pfu599/umui_production branch.

<EMAIL_ADDRESS>commented

Ok, thanks, that helps.
So how would you normally test these changes without pushing them up?

<EMAIL_ADDRESS>commented

You can boot a test instance by logging on to cloudlogin.nci.org.au, I'll try and write up some instructions (it's not that streamlined at the moment unfortunately)

<EMAIL_ADDRESS>commented

Sounds reasonable

<EMAIL_ADDRESS>commented

Anyway, for this ticket, we need to first sort out #26 , to get a persistent location to store the umui database (my impression is that to make ~access_ui persistent, it needs to be linked to an ldap account).
Another option would be to put the database under ~access, but  ~access is being sourced from svn, so I'm not sure if that's appropriate.

<EMAIL_ADDRESS>commented

I remember having a look at this with Ian ages ago, but I didn't have an nci-os-creds file that he had. Is that needed for the nova commands to run?

ibc599 commented

Can this be closed and a new ticket open for cinder related work?

<EMAIL_ADDRESS>commented

The umui server is now set up, with the umui database stored under /home/umui_DBSE and the server listening on port 55555.
The firewall has opened port 55555 to accesscollab, cherax and other VM's in the accessdev range.
The umui database will probably be moved when the new persistent storage (cinder) comes online, and we will have to develop a backup strategy for the database.

<EMAIL_ADDRESS>changed resolution from `` to fixed

<EMAIL_ADDRESS>removed milestone (was accessdev v1.0)

<EMAIL_ADDRESS>changed status from assigned to closed

<EMAIL_ADDRESS>commented

Milestone accessdev v1.0 deleted

<EMAIL_ADDRESS>commented

closed


yaml parsing error

I can't seem to figure out why /roles/maildb/vars/main.yml seem to fail, can you please verify that the default version is correct, from a yaml standard perspective ?
When trying to parse the /roles/maildb/vars/main.yml with http://yaml-online-parser.appspot.com/ it comes with the following error :
----snip----
ERROR:
while parsing a block mapping
in "", line 3, column 3:
postmaster_email: ""
^
expected , but found ''
in "", line 13, column 5:
- name: ""
^
----snip----
Thanks in advance.
/Kim

Hey,
Yeah, there was a typo in the file (under domains: section - I tried to make it a string and an array simultaneously ;) ). Thanks for catching this up!

np ;)
thanks for putting the time and effort into this collection of tools and binding them all together, only think missing is a web interface for managing the users/domains/spam quarantine ;)


Remove modal

removed the donate modal from the website

Codecov Report

Merging #38 (30b76f9) into master (34a1cca) will increase coverage by 0.00%.
The diff coverage is n/a.

@@          Coverage Diff           @@
##           master     #38   +/-   ##
======================================
  Coverage    3.81%   3.81%
======================================
  Files         148     148
  Lines        3069    3067    -2
  Branches      958     966    +8
======================================
  Hits          117     117
+ Misses       2950    2947    -3
- Partials        2       3    +1

Impacted Files
Coverage Δ

src/aws/actions/articles.ts
25.00% <ø> (+0.40%)
:arrow_up:

src/pages/_app.page.tsx
0.00% <ø> (ø)

src/pages/article/[year]/[month]/[slug].page.tsx
0.00% <ø> (ø)

src/components/Table.tsx
0.00% <0.00%> (ø)

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 34a1cca...30b76f9. Read the comment docs.


NES.css react component library

Is your feature request related to a problem? Please describe.
NES.css better use
Describe the solution you'd like
Provide a set of component library
Additional context
NES-design,

can take a look of this https://github.com/bschulte/nes-react ?

@loo41 I just released a component library for NES.css in React.
You can find it here:
Github: https://github.com/HiKaylum/nes-react
Npm: https://www.npmjs.com/package/@kylum/nes-react
Storybook for the components: https://nes-react.vercel.app/
There are a few components that are not currently supported but will be added soon:

Tables
Balloons
Pixel-arts
Nintendo-characters

@HiKaylum I'm definitely giving it a shot. You've smashed it!


Update brew to point to latest release

Description of changes:
Update brew to point to latest release
Testing (if applicable):
Documentation added/planned (if applicable):
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/lgtm

/approve

/retest

/lgtm

/cherrypick release-0.20


created land_page.html

created landing page
Closes issue #25
Screenshots
Original

Updated

ok @dilroseR. Before I review your PR. Please first fetch upstream and merge to sync your fork with parent repo i.e. sameersrivastava13:main . As I have merged few pull requests that's why your branch is few commits behind the parent branch.
Please do it once and then will see your work.

ok @dilroseR. Before I review your PR. Please first fetch upstream and merge to sync your fork with parent repo i.e. sameersrivastava13:main . As I have merged few pull requests that's why your branch is few commits behind the parent branch.
Please do it once and then will see your work.

can you check now?

ok @dilroseR. Before I review your PR. Please first fetch upstream and merge to sync your fork with parent repo i.e. sameersrivastava13:main . As I have merged few pull requests that's why your branch is few commits behind the parent branch.
Please do it once and then will see your work.

can you check now?

Still same. Your branch dilroseR:dilroseR is 26 commits behind.

ok @dilroseR. Before I review your PR. Please first fetch upstream and merge to sync your fork with parent repo i.e. sameersrivastava13:main . As I have merged few pull requests that's why your branch is few commits behind the parent branch.
Please do it once and then will see your work.

can you check now?

Still same. Your branch dilroseR:dilroseR is 26 commits behind.

it is not behind and also the fetch merge option is not active as i've merged it before

@dilroseR  As you can see in the image below your branch is 26 commits behind the parent repo.
We added a logo folder this morning, which is actually missing in your repository. I shared a video in the slack channel on how you can sync your GitHub fork. Please try watching that video once and if still issues are there you can DM me on slack.

@dilroseR As you can see in the image below your branch is 26 commits behind the parent repo.
We added a logo folder this morning, which is actually missing in your repository. I shared a video in the slack channel on how you can sync your GitHub fork. Please try watching that video once and if still issues are there you can DM me on slack.

im not getting it since logo file is there in the repo

@dilroseR ok understood the problem. You have made changes to your dilroseR:dilroseR branch which is  26 commits behind.
& your dilroseR:main  branch is even with sameersrivastava13:main. Now you understood what is the problem?
Or in short do one thing push your work in the dilroseR:main  branch of your repository and make pull request using the dilroseR:main branch to sameersrivastava13:main . No issues will be there.

@dilroseR ok understood the problem. You have made changes to your dilroseR:dilroseR branch which is 26 commits behind.
& your dilroseR:main branch is even with sameersrivastava13:main. Now you understood what is the problem?
Or in short do one thing push your work in the dilroseR:main branch of your repository and make pull request using the dilroseR:main branch to sameersrivastava13:main . No issues will be there.
Still have doubts then ping me on slack.

Can you check now?
ive fetch and merged with dilroseR:dilroseR

Can you check now?
ive fetch and merged with dilroseR:dilroseR

Yes now it's okay @dilroseR. Improvements are required but still will merge this pr and later on will work on making it even more better. Just do one thing create a folder name static put this image folder and css file in that folder and rename the land_page.html to index.html. Just do these two things and then I'll merge it.

Can you check now?
ive fetch and merged with dilroseR:dilroseR

Yes now it's okay @dilroseR. Improvements are required but still will merge this pr and later on will work on making it even more better. Just do one thing create a folder name static put this image folder and css file in that folder and rename the land_page.html to index.html. Just do these two things and then I'll merge it.

done!


Minio supports ETags and metadata.

Current doc mentioned lack of ETag and metadata support
which since has been long fixed in many upstream Minio releases.

That is great - thanks for updating that :-)

That is great - thanks for updating that :-)

@ncw when does this get updated on rclone.org ?

When I make the next release which should be quite soon.


Fix Windows Export

Fixed #2819.

Thanks! :)

@masoudbh3 Completely unrelated, but your commits are not affiliated to your GitHub account apparently, I guess you are using a different email address for git (see https://patch-diff.githubusercontent.com/raw/godotengine/godot/pull/2820.patch) and for your GitHub account. It might be on purpose though, but I just wanted to let you know :)

tanks for notices.


Uncaught Error: ENOENT: no such file or directory, lstat '/private/var/folders/gw/ltl1zpkx7cx2ckh...

[Enter steps to reproduce:]

...
...

Atom: 1.30.0 x64
Electron: 2.0.5
OS: Mac OS X 10.13.6
Thrown From: Atom Core
Stack Trace
Uncaught Error: ENOENT: no such file or directory, lstat '/private/var/folders/gw/ltl1zpkx7cx2ckhddk9cslnw0000gn/T/AppTranslocation/BF38C83A-BB79-4E00-B699-EA780485602C/d/Atom.app'
At fs.js:1661

Error: ENOENT: no such file or directory, lstat '/private/var/folders/gw/ltl1zpkx7cx2ckhddk9cslnw0000gn/T/AppTranslocation/BF38C83A-BB79-4E00-B699-EA780485602C/d/Atom.app'
    at realpathSync (fs.js:1661:15)
    at Object.fs.realpathSync (ELECTRON_ASAR.js:330:24)
    at toRealPath (module.js:163:13)
    at Function.Module._findPath (module.js:212:22)
    at Module._resolveFilename (module.js:541:25)
    at Module._resolveFilename (/private/var/folders/gw/ltl1zpkx7cx2ckhddk9cslnw0000gn/T/AppTranslocation/BF38C83A-BB79-4E00-B699-EA780485602C/d/Atom.app/Contents/Resources/electron.asar/common/reset-search-paths.js:35:12)
    at Function.get_Module._resolveFilename (/private/var/folders/gw/ltl1zpkx7cx2ckhddk9cslnw0000gn/T/AppTranslocation/BF38C83A-BB79-4E00-B699-EA780485602C/d/Atom.app/Contents/Resources/app/src/module-cache.js:354:58)
    at Module.require (/app.asar/static/index.js:40:43)
    at require (internal/module.js:11:18)
    at customRequire (/private/var/folders/gw/ltl1zpkx7cx2ckhddk9cslnw0000gn/T/AppTranslocation/BF38C83A-BB79-4E00-B699-EA780485602C/d/Atom.app/Contents/Resources/app/static/<embedded>:96:26)
    at get_clipboard (/private/var/folders/gw/ltl1zpkx7cx2ckhddk9cslnw0000gn/T/AppTranslocation/BF38C83A-BB79-4E00-B699-EA780485602C/d/Atom.app/Contents/Resources/app/src/clipboard.js:10:41)
    at Clipboard.write (/private/var/folders/gw/ltl1zpkx7cx2ckhddk9cslnw0000gn/T/AppTranslocation/BF38C83A-BB79-4E00-B699-EA780485602C/d/Atom.app/Contents/Resources/app/src/clipboard.js:54:11)
    at AboutView.handleAtomVersionClick (/private/var/folders/gw/ltl1zpkx7cx2ckhddk9cslnw0000gn/T/AppTranslocation/BF38C83A-BB79-4E00-B699-EA780485602C/d/Atom.app/Contents/Resources/app/node_modules/about/lib/components/about-view.js:24:26)

Commands
     -4:17.4.0 github:toggle-github-tab (atom-workspace.workspace.scrollbars-visible-always.theme-one-dark-syntax.theme-one-dark-ui)
     -3:41.5.0 application:open (atom-workspace.workspace.scrollbars-visible-always.theme-one-dark-syntax.theme-one-dark-ui)

Non-Core Packages

Thanks for taking the time to contribute!
We noticed that this is a duplicate of https://github.com/atom/atom/issues/18078. You may want to subscribe there for updates.
Because we treat our issues list as the Atom team's backlog, we close duplicates to focus our work and not have to touch the same chunk of code for the same reason multiple times. This is also why we may mark something as duplicate that isn't an exact duplicate but is closely related.
For information on how to use GitHub's search feature to find out if something is a duplicate before filing, see the How Can I Contribute? section of the Atom CONTRIBUTING guide.


Redetect sources on rtp change, support plugin manager's on demand loading

NCM detect sources at startup, asynchronously. This process does not hurt the performance.
But I just noticed that some users tend to use the plugin manager's on-demand loading,  Plug 'foo', { 'for': 'filetype' }. NCM will fail  loading the source when the buffer is opened after NCM have  started.
On-demand loading is still useful when the plugin contains both NCM source, and some other utilities.
So the solution should be: re-detect sources on rtp changed.

@jsfaint
It works, for example, if you use nvim foo.js to open the file. It does not work, when you open nvim, then use :e foo.js  command to open the file.

Got it! I just know why the sources suddenly not works 😃
Thanks!

neco-vim source not works
nvim: v0.2.0
vimrc:
call plug#begin(expand('<sfile>:p:h') . '/plugged')
        Plug 'roxma/nvim-completion-manager'
        Plug 'Shougo/neco-vim',     { 'for': 'vim' }
call plug#end()

steps:
nvim test.md
:e test.vim
call sub

it works if change  Plug 'Shougo/neco-vim',     { 'for': 'vim' }  to  Plug 'Shougo/neco-vim'


Back-off restarting failed container

Is this a BUG REPORT or FEATURE REQUEST?:
What happened:
Back-off restarting failed container
What you expected to happen:
message "Back-off restarting failed container" shouldn't in the Events message
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
kubectl describe pods wordpress-5bbd7fd785-p4s9r:
Name:         wordpress-5bbd7fd785-p4s9r
Namespace:    default
Priority:     0
Node:         manjeet-vostro-3558/<IP_ADDRESS>
Start Time:   Sat, 08 Aug 2020 14:20:27 +0530
Labels:       app=wordpress
pod-template-hash=5bbd7fd785
tier=frontend
Annotations:  cni.projectcalico.org/podIP: <IP_ADDRESS>/32
Status:       Running
IP:           <IP_ADDRESS>
IPs:
IP:           <IP_ADDRESS>
Controlled By:  ReplicaSet/wordpress-5bbd7fd785
Containers:
wordpress:
Container ID:   docker://e5554cdd33621c05341ca5b6bd05c526ad9187e3b5afc7253d06d0c305c53aa9
Image:          wordpress:4.8-apache
Image ID:       docker-pullable://wordpress@sha256:6216f64ab88fc51d311e38c7f69ca3f9aaba621492b4f1fa93ddf63093768845
Port:           80/TCP
Host Port:      0/TCP
State:          Running
Started:      Sun, 09 Aug 2020 12:17:29 +0530
Last State:     Terminated
Reason:       Error
Exit Code:    1
Started:      Sun, 09 Aug 2020 12:12:19 +0530
Finished:     Sun, 09 Aug 2020 12:16:06 +0530
Ready:          True
Restart Count:  19
Environment:
WORDPRESS_DB_HOST:      wordpress-mysql
WORDPRESS_DB_PASSWORD:  <set to the key 'password' in secret 'mysql-pass-c57bb4t7mf'>  Optional: false
Mounts:
/var/run/secrets/kubernetes.io/serviceaccount from default-token-b9vtd (ro)
/var/www/html from wordpress-persistent-storage (rw)
Conditions:
Type              Status
Initialized       True
Ready             False
ContainersReady   True
PodScheduled      True
Volumes:
wordpress-persistent-storage:
Type:       PersistentVolumeClaim (a reference to a PersistentVolumeClaim in the same namespace)
ClaimName:  wp-pv-claim
ReadOnly:   false
default-token-b9vtd:
Type:        Secret (a volume populated by a Secret)
SecretName:  default-token-b9vtd
Optional:    false
QoS Class:       BestEffort
Node-Selectors:
Tolerations:     node.kubernetes.io/not-ready:NoExecute for 300s
node.kubernetes.io/unreachable:NoExecute for 300s
Events:
Type     Reason   Age                  From                          Message

Normal   Pulled   13h (x8 over 22h)    kubelet, manjeet-vostro-3558  Container image "wordpress:4.8-apache" already present on machine
Normal   Created  13h (x8 over 22h)    kubelet, manjeet-vostro-3558  Created container wordpress
Normal   Started  13h (x8 over 22h)    kubelet, manjeet-vostro-3558  Started container wordpress
Warning  BackOff  15m (x110 over 22h)  kubelet, manjeet-vostro-3558  Back-off restarting failed container
Environment:

Kubernetes version (use kubectl version):
kubectl version
Client Version: version.Info{Major:"1", Minor:"18", GitVersion:"v1.18.6", GitCommit:"dff82dc0de47299ab66c83c626e08b245ab19037", GitTreeState:"clean", BuildDate:"2020-07-15T16:58:53Z", GoVersion:"go1.13.9", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"18", GitVersion:"v1.18.6", GitCommit:"dff82dc0de47299ab66c83c626e08b245ab19037", GitTreeState:"clean", BuildDate:"2020-07-15T16:51:04Z", GoVersion:"go1.13.9", Compiler:"gc", Platform:"linux/amd64"}

Kubeless version (use kubeless version):

Cloud provider or physical cluster:
local physical cluster

Your issue seems to be related to a WordPress instance, not Kubeless. Please redirect this issue to the proper repository.


CVE-2023-48795 glang.org/x/crypto/proxy

NVD
CVE detected with Workload Identity v1.2.0
Please provide an updated/patched image

v1.2.1 has been released.
➜ trivy image --exit-code 1 --ignore-unfixed --severity MEDIUM,HIGH,CRITICAL mcr.microsoft.com/oss/azure/workload-identity/webhook:v1.2.1
2024-03-06T00:55:06.132Z	INFO	Need to update DB
2024-03-06T00:55:06.132Z	INFO	DB Repository: ghcr.io/aquasecurity/trivy-db
2024-03-06T00:55:06.132Z	INFO	Downloading DB...
41.32 MiB / 41.32 MiB [---------------------------------------------------------------------------------------------------------------] 100.00% 29.19 MiB p/s 1.6s
2024-03-06T00:55:08.323Z	INFO	Vulnerability scanning is enabled
2024-03-06T00:55:08.323Z	INFO	Secret scanning is enabled
2024-03-06T00:55:08.323Z	INFO	If your scanning is slow, please try '--scanners vuln' to disable secret scanning
2024-03-06T00:55:08.324Z	INFO	Please see also https://aquasecurity.github.io/trivy/v0.39/docs/secret/scanning/#recommendation for faster secret detection
2024-03-06T00:55:12.255Z	INFO	Detected OS: cbl-mariner
2024-03-06T00:55:12.256Z	INFO	Detecting CBL-Mariner vulnerabilities...
2024-03-06T00:55:12.256Z	INFO	Number of language-specific files: 1
2024-03-06T00:55:12.256Z	INFO	Detecting gobinary vulnerabilities...

mcr.microsoft.com/oss/azure/workload-identity/webhook:v1.2.1 (cbl-mariner 2.0.20240301)

Total: 0 (MEDIUM: 0, HIGH: 0, CRITICAL: 0)


Redundant decoder

Nice implementation! Your TransformerModel class has a decoder property, but this is not necessary nor used because you also have a decoder property on the LMHead class.

Thank you for telling us.
Have a nice day.


SEGFAULT bug fix in parse_string

PR with fix to Issue #148.

Thanks. Could we catch this in stage 1 and avoid the added check with each string?
I’ll work on it.

Good catch, but the solution could be more efficient.
We already detect whether we're in a quoted pair continuously in the loop in stage 1. We should be able to tell if we're in quotes by looking at prev_iter_inside_quote inside find_structural_bits.
Stupidly, I had a checklist to look at that but didn't apply it, which goes to show that checklists are only useful if you actually consult them.

I pushed additional commit to fix issue in first stage. All tests passed. My set of invalid inputs passed too.
My first assumption is that valid string in json always should have even number of quotes (two).
Algorithm counts number of set bits in quote_bits integer and summarize them in every loop pass. After loop - value is checked. When is even than this check passes otherwise function returns false.
Counting set bits is realized in 4 bit sections and stored array of precalculated results. It's possible to increase sections to lower amount of loop passes.
I'll add my test cases to tests.

I still think this solution is too elaborate and expensive. My gut feeling is that all such problems would be eliminated if, once the loop and the final iteration cleanup code ends in find_structural_bits, we check that prev_iter_inside_quote is 0 (if it is not, it will be an error). This variable is set to an all-1 pattern if the previous iteration leaves us inside a quote pair, and thus should be 0 when the main loop ends.
Please refer to the quote detection code if this isn't clear: https://github.com/lemire/simdjson/blob/master/src/stage1_find_marks.cpp#L221-L258
Unless I'm making a mistake, this simple test should catch your case.

Yes. I overthinked that. Pushed PR. All test cases pass.


Add Make target for building and pushing images

Adds targets to Makefile for building the images and pushing to registry. These targets are useful when debugging. It allows you to test your changes in a running cluster by pushing your development images to your quay repository and have cluster deploy them by pointing the CPMS deployment to it.

I have not 😞. Looks like docker does not have the option to specify where to push the image. Instead, you have to specify it in the name of the built image. Podman can also work like this.


Schema inheritance/polymorphism with [FromForm] parameter

I am currently attempting to generate an accurate schema that represents a polymorphic object model, however, the specification seemingly discards/ignores all inheritance/polymorphism detail.
I have created a basic example as below. Consider the following model and associated Controller Action:
// Models
public abstract class Animal
{
    public string Type { get; set; }
}

public class Cat : Animal { ... }
public class Dog : Animal { ... }

// Controller Action
[HttpPost("form")]
IActionResult Post([FromForm] Animal form) => Ok();

With certain details omitted for simplicity - such as the custom Model Binding required to properly instantiate an instance of the abstract class - I would expect an endpoint schema which is equivalent to:
/form:
  post:
    requestBody:
      content:
        multipart/form-data:
          schema:
            oneOf:
              - $ref: '#/components/schemas/Cat'
              - $ref: '#/components/schemas/Dog'

This desired schema is generated when simply using [FromBody] instead of [FromForm], though this does not meet my requirements.

However, the following is generated, lacking any sub-class detail:
# [FromForm]
/form:
  post:
    requestBody:
      content:
        multipart/form-data:
          schema:
            type: object
            properties:
              Type:
                type: string
          encoding:
            Type:
              style: form

Note that I have tried explicitly describing the inheritance via attributes but this does not help

I see the same results when attempting to utilise an interface over an abstract class.

Will there be any support implemented for such a use case?
How might I otherwise utilise Swashbuckle to generate my desired schema?

While this is certainly not common - from what documentation/support I have found on the matter (or lack thereof) - I am currently in the process of migrating a legacy codebase witch utilises basic HTML forms and dynamic UI elements to achieve this style of "polymorphic" form submission. Functionally, I have everything I need, I now simply required an accurate specification.

Any update on this? It's annoying to be able to test some endpoints.

Hi, I'm also keen to hear if there's any update on the issue described here. Our use case is that we're trying to implement an OAuth 2.0 compatible identity service where the /token endpoint uses grant_type form parameter as discriminator - see spec for some scenarios here and here etc.
Using .NET 6 web API we're able to achieve it on the code level but Swagger UI is not displaying this properly because the generated open api schema is reflecting just the base model and doesn't contain any details about sub-classes (as mentioned by reporter of this issue). One of our requirements is to have all APIs properly documented so we're currently exploring some workaround using custom JS but it'd be great to know if there's a better way how to achieve desired outcome for x-www.-form-encoded request body content.
We're using the "Swashbuckle.AspNetCore" and "Swashbuckle.AspNetCore.Annotations" version 6.4.0 packages. Same thing was also reported here by another participant on this ticket.
Base model for reference:
    [SwaggerDiscriminator(KnownParameters.GrantType)]
    [SwaggerSubType(typeof(AuthorizationCodeTokenRequestModel), DiscriminatorValue = KnownGrantTypes.AuthorizationCode)]
    [SwaggerSubType(typeof(PasswordTokenRequestModel), DiscriminatorValue = KnownGrantTypes.Password)]
    [SwaggerSubType(typeof(DeviceCodeTokenRequestModel), DiscriminatorValue = KnownGrantTypes.DeviceCode)]
    public abstract class BaseTokenRequestModel
    {
        [Required]
        [BindProperty(Name = KnownParameters.GrantType)]
        [JsonPropertyName(KnownParameters.GrantType)]
        public string GrantType { get; set; }
    }

And relevant section from Startup.cs
            services.AddSwaggerGen(c =>
            {
                c.EnableAnnotations(enableAnnotationsForInheritance: true, enableAnnotationsForPolymorphism: true);
                c.UseAllOfToExtendReferenceSchemas();
                c.UseAllOfForInheritance();
                c.UseOneOfForPolymorphism();
            });

TL;DR what you're trying to do is not currently supported and will require a significant refactor to an area of the code that is already becoming a maintenance nightmare.
This is fundamentally due to the way ApiExplorer, the ASP.NET Core metadata layer that Swashbuckle is built on top of, treats [FromBody] paramers differently to [FromForm] parameters.

For [FromBody] it creates a single ApiParameterDescription instance that SB can inspect to get the corresponding model type (the abstract class in your example) and generate the polymorphic schema.
But, for [FromForm], ApiExplorer will flatten all of the class properties into multiple ApiParameterDescription instances. So, when SB is trying to generate the schema, it just has a list of property types instead of the class they're declared in, and hence doesn't have enough info to generate a polymorphic schema

Will keep open and mark as medium priority - this whole area really needs a major overahall at this point 😢

Hi , thanks for the feedback and for keeping the ticket open, we will explore additional options in the meantime.

Hi, I ended up here in the same situation. Polymorphism with multipart form data. Is there any way to customize/rewrite part of definition?


Vim9: Sourcing a Vim9 script, the vim process exit right away

Describe the bug
Sourcing a Vim9 script, the vim process exit right away.
To Reproduce

create main.vim and sub.vim

main.vim
vim9script
import * as sub from "./sub.vim"
echo sub.XXX("test")

sub.vim
vim9script
export def XXX(input: string): bool
	return v:true
enddef

Run vim -u NONE -N --cmd "source main.vim" or  gvim -u NONE -N --cmd "source main.vim".
Do not show v:true of echo command in main.vim#L3 and the vim process exit right away.

Expected behavior
Show v:true of echo command in main.vim#L3 and the vim process do not exit.
Environment (please complete the following information):

vim 8.2.3001 in Windows.

Additional context
When run vim -u NONE -N -c "source main.vim" or  gvim -u NONE -N -c "source main.vim",
show v:true of echo command in main.vim#L3 and the vim process do not exit.

@brammool  Thanks you for fixing. I could confirm to fixing this issue at https://github.com/vim/vim/commit/a97c36310f90ed15dbf5a2ba5bf91fc906e2e724 .


TypeError: Cannot read property 'templateData' of null

TypeError: Cannot read property 'templateData' of null
/vs/base/browser/ui/list/listView.ts#657:58 (removeItemFromDOM)
/vs/base/browser/ui/list/listView.ts#291:8 (_splice)
/vs/base/browser/ui/list/listView.ts#278:15 (splice)
/vs/base/browser/ui/list/splice.ts#17:34
at Array.forEach ()
/vs/base/browser/ui/list/splice.ts#17:19 (splice)
/vs/base/browser/ui/list/listWidget.ts#1275:56 (fn)
/vs/base/common/event.ts#792:12 (bufferEvents)
/vs/base/browser/ui/list/listWidget.ts#1275:21 (splice)
/vs/base/browser/ui/tree/abstractTree.ts#1094:8 (splice)
/vs/base/browser/ui/tree/indexTreeModel.ts#161:13 (splice)
/vs/base/browser/ui/tree/objectTreeModel.ts#109:28 (_setChildren)
/vs/base/browser/ui/tree/objectTreeModel.ts#65:14 (setChildren)
/vs/base/browser/ui/tree/objectTree.ts#37:20 (setChildren)
/vs/base/browser/ui/tree/asyncDataTree.ts#861:12
at X.

https://ticino-errors.azurewebsites.net/Errors?bucketIdHash=dbfe8cd4-4be6-a2f1-5837-77dda6b3da56

Looks like a list issue, leaving up to @joaomoreno
@bpasero how do you get the nice stack trace from the link (it is minified there). Just wandering...

It gets computed and shown below.

Closing until we get https://github.com/microsoft/vscode/issues/80097


backend/drm: atomic improvements

This PR:

Makes adaptive sync atomic
Performs a blocking atomic commit if no modeset or buffer is pending

The second point fixes output state updates not applied when no modeset or page-flip is performed. For instance, wlr_output_set_gamma followed by wlr_output_commit was a no-op (but shouldn't be).
No Sway PR required, since wlr_output_enable_adaptive_sync is already followed by wlr_output_commit.
Closes: https://github.com/swaywm/wlroots/issues/2096

Breaking change: wlr_output_enable_adaptive_sync must now be followed by wlr_output_commit to apply the change.

Thank you!


Silence root prober temporarily

Summary
This PR temporarily silences the root expiry checks on preprod specifically. I will only merge if needed and will open an issue to revert it at that time.

Good to close this?


add VIC nodes.js

@Victorium-org Is there any reason why your chainID doesn't match what the net_version return?

Protocol Versions: [63 62], Network Id: 93610431, Chain Id:<PHONE_NUMBER>

@Victorium-org okay cool. Do you mind syncing your branch to the mercury branch? The ci test need to pass before I can merge it.

what i need to do now ?

@Victorium-org merge our current mercury branch with your local one so it's in sync. That should fix the CI error.


Example foundry package

Description
This PR introduces base Foundry package setup.
Documentation for Foundry: https://book.getfoundry.sh/
Setup
Navigate to the example-foundry package directory and run following commands:
Download foundry on your machine:
curl -L https://foundry.paradigm.xyz | bash

Setup foundry:
foundryup

You should now be able to successfully run:
forge --version

Testing
Build contracts:
forge build

Run tests:
forge test

Deploy to local test network:
Run local network
anvil

Deploy contracts:
forge script script/Counter.s.sol:CounterScript --rpc-url http://<IP_ADDRESS>:8545 --private-key 0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80

Note: Above PK is derived from test junk mnemonic account 0.

Some comments / next steps:

Is it necessary to push [all of] lib? I would like us to avoid having sub-modules for this repo (I know we need a workaround for this somehow)
As a next step, it would be great to expand the example to mirror the example-hardhat package for Lock.sol including the various kinds of tests
It would be great to add fuzzing tests / fuzzing setup in a separate test file
Is there a way to set the out dir as "artifacts" such that we can import our Foundry contracts in packages/deploy?

We should ideally be able to run all tests etc for all packages at root level in the monorepo, so we may need to review our CI

@adjisb

The forge indeed uses the sub-modules and forge-std is not available as npm package. We could package it up ourselves and import it but we would then be burdened of maintaining that package.

I am not sure if we necessarily want to mix foundry and hardhat, in the past foundry was missing some features like ability to spin up a local node so people installed hardhat for that, now foundry can be used completely separately.

There is a readme added to the package, please let me know if you think it should be changed/updated


Consider renaming CLMUL to XMUL

I request that instruction CLMUL, standing for "carry-less multiply", be renamed to XMUL, for "XOR multiply", meaning a multiplication where the partial products are summed by bitwise XORs instead of the usual additions.  My reason is simply that I find the name "carry-less multiply" to be awkward, and I'm probably not alone.  The name "carry-less multiply" appears not to be entrenched except in connection to x86 processors.
I attempted a search, and as far as I can tell, the "CLMUL" name has been adopted as part of a standard ISA only for the x86 (with SIMD instruction PCLMULQDQ).  The B extension draft notes that the equivalent SPARC instruction is XMULX, officially documented as "XOR multiply".  Most Web references to "carry-less multiply", "carry-less multiplication", and "carry-less product" seem to point back one way or another to Intel's CLMUL instruction.  Also, there appears as yet to be no __builtin_clmul in GCC.  The path should therefore be clear for us to choose the name XMUL if others agree with me it would be preferable.

My reason is simply that I find the name "carry-less multiply" to be awkward

And I find it awkward to name it anything but CLMUL.

The literature usually refers to it as "carry-less arithmetic", "carry-less multiply" rather than "XOR arithmetic", "XOR multiply", so CLMUL name is more justified.

The literature usually refers to it as "carry-less arithmetic" [...]

Okay.  Where is this literature?  In a quick search, I wasn't able to find any independent sources, only those either written by Intel or specifically discussing uses for Intel's CLMUL instruction.  Can you provide a reference?
For example, Wikipedia has a page for "carry-less product", but it's only supporting reference is an Intel white paper:  "Intel Carry-Less Multiplication Instruction and its Usage for Computing the GCM Mode".  That paper has 18 references, one of which mentions a "carry-less multiplier" in the title, but then we find it's written by the same Intel authors.  For all I know (I don't know), Intel also authored the Wikipedia page.

Look, everyone I know who is doing work on this calls it carry-less multiplication in their work. I always knew it as carry-less multiplication. The RISC-V crypto workgroup is also calling it carry-less multiplication.
In the end it doesn't matter if Intel has established the terminology. It's the terminology everyone is using now and there is nothing to gain by using a different terminology that nobody is familiar with.
From what you write I feel pretty confident guessing that you have not used a lot of GF(2^n) arithmetic before. But just because you are not familiar with something doesn't mean nobody else is. So please stop wasting everyone's time.

I have rechecked some of the papers and yes, they look likely to be inspired by Intel.
If "carry-less" keyword is missing then we find just plain "multiplication" name (implicitly in finite field), sometimes a "carry-free multiplication" (like [1] from 2001). I don't thik that anybody would like the CFMUL (carry-free) or FFMUL (finite field) names, if we wanted to go full NIH.
[1] http://citeseerx.ist.psu.edu/viewdoc/download?doi=<IP_ADDRESS>.9819&rep=rep1&type=pdf

I don't thik that anybody would like the CFMUL (carry-free) or FFMUL (finite field) names, if we wanted to go full NIH.

Yes.
FFMUL would be highly misleading imo because finite fields are GF(P^N) for any prime P and any positive integer N, but the carry-less multiply instruction is for GF(2^N) only. (This is not just hypothetical. There are a lot of finite field applications that use a large prime P and N=1, and they just use (bigint) multiply and modulo.)
I don't think there would be any advantage to naming it CFMUL over CLMUL, considering they essentially are saying the same, just using different synonyms for "without", and CLMUL is the name that's already being used by virtually everyone today.

jnk0le wrote:

I have rechecked some of the papers and yes, they look likely to be inspired by Intel, or at least they are referencing intel instructions.

Thanks for taking the time to review.
Clifford:

CLMUL is the name that's already being used by virtually everyone today.

Maybe so, but here's what I don't like about the name:
The "carry-less" name arises as an answer to the question, how does this multiplier differ from an ordinary multiplier?  But that's an implementation concern, something only hardware implementors should worry about.  For users, the name of a new instruction ought to answer a different question:  What operation does this instruction do for me?
Look at all the applications people have for CLMUL, from CRCs to Galois/Counter Mode (GCM).  When people describe those applications in the abstract, they never speak of carry-less additions; it's always XORs.  "Carry-less" only comes into the picture when people start implementing their applications using the CLMUL instruction.
I'm sure you know, RISC-V already has an instruction for "carry-less add".  What's it called?  XOR, i.e., bitwise XOR.  In the history of computers, has there ever been a CLADD instruction?  Why not?  People could have thought of bitwise XOR as carry-less addition, but somehow they didn't.
I had basically the same argument earlier concerning an instruction called PAUSE (x86's name) versus YIELD (ARM's name), which I also lost.  The name YIELD is easily a better fit for what the instruction does, no doubt why ARM chose it, much as SPARC went with "XOR multiply" instead of following Intel's lead with CLMUL.  But our guys have insisted on calling the RISC-V instruction PAUSE, because, you know, x86 is ubiquitous and Must. Follow. The. Crowd.
Fortunately, this issue was summarily closed to avoid endangering others with any subversive ideas.  Good work Clifford!  Back to the re-education camp for me.

For the CLMUL notes, you might add that the Texas Instruments C6000 series had an XORMPY (XOR multiply) instruction in 2008.

On Thu, May 30, 2019 at 11:02 AM John Hauser<EMAIL_ADDRESS>wrote:

I'm sure you know, RISC-V already has an instruction for "carry-less add".
What's it called? XOR, i.e., bitwise XOR. In the history of computers, has
there ever been a CLADD instruction? Why not? People could have thought of
bitwise XOR as carry-less addition, but somehow they didn't.

Alpha defines these instructions:
ANDLogical Product
BIC Logical Product with Complement
BIS Logical Sum (OR)
EQV Logical Equivalence (XORNOT)
ORNOT Logical Sum with Complement
XOR Logical Difference

I had basically the same argument earlier concerning an instruction called
PAUSE (x86's name) versus YIELD (ARM's name), which I also lost. The name
YIELD is easily a better fit for what the instruction does, no doubt why
ARM chose it, much as SPARC went with "XOR multiply" instead of following
Intel's lead with CLMUL. But our guys have insisted on calling the RISC-V
instruction PAUSE, because, you know, x86 is ubiquitous and Must. Follow.
The. Crowd.
Fortunately, this issue was summarily closed to avoid endangering others
with any subversive ideas. Good work Clifford! Back to the re-education
camp for me.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/riscv/riscv-bitmanip/issues/24?email_source=notifications&email_token=ALVQ7MKSIWLYNVIQXCNFTZLPYAJBZA5CNFSM4HQSP53KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODWTBUFY#issuecomment-497424919,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ALVQ7MLOJJ56AWSPRJZFFYDPYAJBZANCNFSM4HQSP53A
.

When people describe those applications in the abstract, they never speak of carry-less additions; it's always XORs. "Carry-less" only comes into the picture when people start implementing their applications using the CLMUL instruction.

That's simply a gross misrepresentation.
In a mathematical context people just use the terms "product" and "sum", "multiplication" and "addition", without any XOR, or Carry-Less, or whatever prefix added. It's clear what operation is meant from the context that defines the algebraic structure that is being are acting on. What assembly instructions those operations map to is of no concern in such texts. But here are some examples:
If it's integers then you'd simply use MUL and ADD.
If the algebraic structure if GF(P) then multiplication would be MUL followed by MOD and addition would by ADD followed by MOD.
If the algebraic structure is binary polynomials then multiplication would be CLMUL and addition would be XOR.
If the algebraic structure is GF(2^N) then multiplication would be CLMUL, followed by polynomial division that's usually implemented using a Barret reduction, which is two more CLMUL instructions. Likewise addition would be XOR followed by a Barret reduction, i.e. one XOR and two CLMUL.
You could even define something like an additive ring that's using CLMUL in the implementation of its addition operator.
In a non-mathematical "bitmanipulation hacks" context people usually don't talk at all about what the corresponding "addition" operator would be.

In the history of computers, has there ever been a CLADD instruction? Why not? People could have thought of bitwise XOR as carry-less addition, but somehow they didn't.

Seriously!? That's your argument?
Of course people have though of XOR as carry-less addition for a long time! Where do you even get those ideas? The standard phrase describing a XOR gate that you find in many textbooks is "modulo 2 addition", i.e. a half-adder without the carry output.
But the established names for binary gates are AND, OR, XOR, etc. and therefore it would be tremendously stupid to call the instruction anything but XOR when the term most people are familiar with is XOR. Likewise it would be tremendously stupid to call the CLMUL instructions something else when the name people are most familiar with is CLMUL.
(Yes, I know that EOR is also relatively common both for the gate and for the bitwise operator.)
I find your Gish galopping offensive. You are wasting my time. It might just take you a few seconds to come up with those nonsensical statements, but it takes me significantly longer to debunk them. Just for you to completely ignore everything I wrote and follow up with the next half-truth or misrepresentation. I suspect that you are smart enough to be fully aware of all that and are using this as a deliberate strategy. And to that I take offense.

I had basically the same argument earlier concerning an instruction called PAUSE (x86's name) versus YIELD (ARM's name), which I also lost. The name YIELD is easily a better fit for what the instruction does, no doubt why ARM chose it, much as SPARC went with "XOR multiply" instead of following Intel's lead with CLMUL. But our guys have insisted on calling the RISC-V instruction PAUSE, because, you know, x86 is ubiquitous and Must. Follow. The. Crowd.

Yes. I'm sure there is a grand conspiracy.

For all I know (I don't know), Intel also authored the Wikipedia page.

An even if they did, you still failed to produce any argument why that would be bad. And why it would be bad to use a well-established name just because you think Intel had a hand in creating the name.
If you google for CLMUL you'll find that wikipedia page, blog posts, scientific papers, and all kinds of other informative materials about what can be done with this instruction. That's the best argument for using this name, not against it.

Fortunately, this issue was summarily closed to avoid endangering others with any subversive ideas. Good work Clifford! Back to the re-education camp for me.

Sure, you and your subversive plot of sticking it to Intel by not using "their" names.
But very well. Let's waste more peoples time. I'll re-open the issue and point the mailing list to this.

I do have to agree that spending a lot of time arguing about a mnemonic - not the semantics, but the mnemonic, is a waste of time.
I really don't care much about the pedigree; I care more about readability and understandability. Frankly, I don't like either choice because I don't think either would be understandable to someone who comes across it for the first time. (e.g.The "CL" could be mistaken for compressed, Low order, the "X" could be mistaken as eXtended.)
Just to be clear - I don't have a better choice either.
But if pedigree makes it more understandable, (e.g. Translation Lookaside Buffer -huh? - vs. Translation Cache. But, everybody knows what a TLB is, so that acronym is what is pretty universally used) then pedigree should be an important consideration of a mnemonic.
That's different than what would be important for the semantics of the instruction.
But arguing about this is a total waste of time, and won't advance the adoption of RISC-V or the B-extension in the slightest - and that's where your efforts should be focused.

Allen Baum wrote:

I do have to agree that spending a lot of time arguing about a mnemonic - not the semantics, but the mnemonic, is a waste of time.

The group is well within its rights to decide on that basis, if that's what the majority wants.  I have no vote in the matter.
I maintain, however, there was no need to immediately close this issue with hostility in order to reach such a conclusion.  That's happened more than once, and I ask that the temptation be resisted in the future.  Contrary feedback should not be viewed as a threat.
The title of this issue is to "consider renaming" an instruction.  I believe I asked politely.  If the group considers the suggestion but rejects it, the matter can be appropriately closed.  That's how it should work.

Allen Baum wrote:

Frankly, I don't like either choice because I don't think either would be understandable to someone who comes across it for the first time. (e.g.The "CL" could be mistaken for compressed, Low order, the "X" could be mistaken as eXtended.)

XORMUL perhaps?

I certainly like it better than XMULX.  Here we're trading off readability
from (possibly, but not me) what others who have encountered this before
would find familiar.
I don't have strong feelings either way.
On Fri, May 31, 2019 at 12:10 PM John Hauser<EMAIL_ADDRESS>wrote:

Allen Baum wrote:
Frankly, I don't like either choice because I don't think either would be
understandable to someone who comes across it for the first time. (e.g.The
"CL" could be mistaken for compressed, Low order, the "X" could be mistaken
as eXtended.)
XORMUL perhaps?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/riscv/riscv-bitmanip/issues/24?email_source=notifications&email_token=AHPXVJVRNCWZWRF3GB7WU53PYFZ3DA5CNFSM4HQSP53KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODWWEB3A#issuecomment-497828076,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AHPXVJT6NADRBAMZ27G5MR3PYFZ3DANCNFSM4HQSP53A
.


Add standalone Dockerfile that runs agent, collector, and query

UI is not part of this docker instance

let's keep this open and define a proper task (#70) with all requirements.

Coverage remained the same at 98.365% when pulling f783410f7372aaea28ed68154672577e6b1a3436 on rooz/dockerize-single-application into 00435d3bf9d7d9101e677b02d5083a58b4e88583 on master.

I assume this also needs a travis change

Coverage remained the same at 98.31% when pulling 0f4ac4627bb5107e569bc2e64b751efbb7b8acd1 on rooz/dockerize-single-application into 2b99d9daa03a196087db55389ba47ec7a009f1d4 on master.

Coverage remained the same at 98.31% when pulling b5141ebcd4c618aea1af89169216763509aa5739 on rooz/dockerize-single-application into 2b99d9daa03a196087db55389ba47ec7a009f1d4 on master.

Coverage increased (+0.07%) to 98.378% when pulling 6df44b7598a49d04c0a33743a624c2191ef43611 on rooz/dockerize-single-application into 2b99d9daa03a196087db55389ba47ec7a009f1d4 on master.

Coverage increased (+0.07%) to 98.378% when pulling 1740b793777bbccac4401e6b3565371174130dd4 on rooz/dockerize-single-application into 2b99d9daa03a196087db55389ba47ec7a009f1d4 on master.

Coverage decreased (-0.07%) to 98.271% when pulling e982d0a0229a9fb3c66e67f9fa033775105b37ca on rooz/dockerize-single-application into 527cde48d934895a06cedd2a471c79a392841313 on master.

Coverage decreased (-0.1%) to 98.227% when pulling 2bb5afcbd90c592248962394ba1aff056c5f9877 on rooz/dockerize-single-application into 527cde48d934895a06cedd2a471c79a392841313 on master.

Coverage decreased (-0.1%) to 98.227% when pulling b4bfb0edd9fffc1b6bea831e3469c0aa2bbd12ce on rooz/dockerize-single-application into 527cde48d934895a06cedd2a471c79a392841313 on master.

Coverage increased (+0.0007%) to 98.339% when pulling b4bfb0edd9fffc1b6bea831e3469c0aa2bbd12ce on rooz/dockerize-single-application into 527cde48d934895a06cedd2a471c79a392841313 on master.

don't forget to move back to after_script:

Coverage decreased (-0.07%) to 98.272% when pulling c01a660b72d2fb5bf6982ac8f2e88d9f13020ad8 on rooz/dockerize-single-application into 527cde48d934895a06cedd2a471c79a392841313 on master.


Add Django

Adds Django web framework to bottom of Back-End Development section.
https://github.com/wsvincent/awesome-django
Django is a back-end web application framework written in Python.
Yes, I have read and complied with the requirements for a PR.

An entry has broken rendering: - [Project Website](djangoproject.com) - Official Django website.

I never got a response the last time you submitted this list: https://github.com/sindresorhus/awesome/pull/1497

Yes, I have read and complied with the requirements for a PR.

You have not. If you had read through the whole thing, you would have seen:

To verify that you've read all the guidelines, please comment on your pull request with just the word unicorn.

You have to review at least 2 other open pull requests. Try to prioritize unreviewed PRs, but you can also add more comments to reviewed PRs. Go through the below list when reviewing. This requirement is meant to help make the Awesome project self-sustaining. Comment here which PRs you reviewed. You're expected to put a good effort into this and to be thorough. Look at previous PR reviews for inspiration. Just commenting “looks good” or simply marking the pull request as approved does not count! You have to actually point out mistakes or improvement suggestions.

The image should link to the project website or any relevant website. - https://github.com/sindresorhus/awesome/blob/main/pull_request_template.md

If your back-end and front-end are on different servers, you need this.

Descriptions should succinctly describe what an entry is, not be a marketing tagline.
Same here:

Creating delicious APIs for Django apps since 2010.

django-ninja - Django Ninja

Not sure why the name is repeated here.

wysiwyg => WYSIWYG
django-quill-editor - django-quill-editor makes => django-quill-editor - Makes
django-tinymce - TinyMCE integration for Django, should end in a dot.
saleor - GraphQL-based Django E-Commerce Platform., descriptions should not be in title-case.
Etc
In general, a lot of the descriptions needs more work.

Ok. I appreciate the prompt feedback. I won't take up your time further on the matter.


Regarding the Status

⚠ Please verify that this question has NOT been raised before.

[X] I checked and didn't find similar issue

🛡 Security Policy

[X] I agree to have read this project Security Policy

📝 Describe your problem
Hi,
I'm new to UptimeKuma and I was wondering that can I setup a 3rd status? i.e. Green for Up/Success, Red for Down/Failed & Grey for no result?
For Push Based Notifications.
Currently, as per the URL, only Up or Down Status are allowed.
This will allow us to monitor a few more status which we get from the services.
@louislam any help would be appriciated.
📝 Error Message(s) or Log
No response
🐻 Uptime-Kuma Version
1.23.13
💻 Operating System and Arch
AlmaLinux 9
🌐 Browser
Google Chrome
🖥 Deployment Environment

Runtime: NodeJS v20.17.0
Database: sqlite
Filesystem used to store the database on: SSD
number of monitors: 1

That is not currently a feature we support

@CommanderStorm Would it be possible to add this feature in the upcoming 2.0 version?
Or could you guide, if I want to add into the current code, then how could I perform it?
My request is like that:
A. If the PUSH request is OK, then its UP.
B. If the PUSH request if FAIL, then its DOWN.
C. If there is no PUSH request, then either show a 3rd status, or skip that entry (so that the status bar would show it like: Green-Grey-Green status).

What is your concrete goal? Is this possibly already covered via retries and the associated Pending status?

@CommanderStorm
I'm new to the UK, so i'm testing out the functionalities. What I liked the most about UK is its PUSH based notifications and its simplicity.
The URL takes the status and msg status and post it to the UK monitor as per the values put.
So basically, i'm developing an dashboard for monitoring specific services which are logs based. Thus, I have built bash & powershell scripts to get their keywords.
So when these specific keywords are triggered, it sends the curl-based Push request to the UK for the status update.
Now, if these keywords are not found, I wish to have that day's status being skipped, rather than marking it as Up or down. If skip can't happen, then adding a 3rd status can be an option.
The logs check are daily based only.
Looking forward to your suggestions. If it can be done via the retries or anything else, i'm open to it.

We already handle your use case. No need to introduce a fith status (there is maintenance and pending too, next to up/down).
If you set retries=1 and check once a day, the system behaves as requested.
On receiving down, it goes into the (a bit confusingly names) pending mode. After 1 retry it either goes down or up based on the next push.
Failed check-ins are handled as if the monitor was set to down, but don't carry the message with the context you would otherwise set.


create shared implementation plan for RPAT and RSPM

this is now posted here - https://github.com/gregorbj/VisionEval/wiki/Modules-and-Packages


Add template for Sorghum Identification - FGVC 9

Lots of stuff working, really cool.  I also think you came up with a way to submit to Kaggle w/o having to copy/paste into a Kaggle notebook?  If so, that could be a really nice improvement.
I did run into a few issues (including submitting to Kaggle).  Details below.

Configure your Kaggle API token on the Import Data tab.

Done.

Attach a Compute Server with a GPU (e.g. gcp-t4).

Done.

On the Import Data data tab, choose Kaggle and then enter anlthms/sorghum1 (User Dataset).

Done.

For exploratory analysis, run eda.ipynb.

(see error below)

To train, use the Run Experiment menu.

Done.

To monitor training progress, use the Experiment Visualization menu.

Done.

To generate a report on the most recent training session, run report.sh from the Run Experiment tab. Make sure Track Experiment is checked. The results will be copied back to a file called report.html.

(see error below)

To tune the hyperparameters, edit sweep.yaml as desired and launch a sweep from the Run Experiment tab. Tuned values will be copied back to a file called config-tuned.yaml along with visualizations in sweep-results.html.

Skipped.

After an experiment is complete, use the file browser on the IDE interface to access the results on the IDE Server.

Not sure what this means.  Results in the output directory? They could also use Experiment Tracking for that.

Use the Experiment Tracking menu to track experiments.

Done.

Launch inference.sh to create submission.csv and use submit.sh to upload it to Kaggle.

Maybe add "be sure to check Track Experiment" again.  Also ran into an error while trying to submit it.  (see error below)
Here's the errors:

eda.ipynb:

Indeed, that file is not in the input directory.  Variations of that file are, though:

report.html:

submit.sh

It occurred to me that because I downloaded user data this time, I never accepted the rules to that competition.  Once I did that, the submission worked.  Adding a comment/link to the README would be helpful.

Also, I ran a sweep overnight with the default code, i.e. 15 trials per sweep, 60 epochs per trial (but with early stopping if there's no change in 10 epochs).

Overall it looks good, but it only ran 10 successful trials.  That last 5 trials all ran out of memory:

RuntimeError: CUDA out of memory. Tried to allocate 20.00 MiB (GPU 0; 14.76 GiB total capacity; 13.09 GiB already allocated; 22.81 MiB free; 13.14 GiB reserved in total by PyTorch) If reserved memory is >> allocated memory try setting max_split_size_mb to avoid fragmentation.  See documentation for Memory Management and PYTORCH_CUDA_ALLOC_CONF

eda.ipynb:

Fixed.  Notebook working now (with a warning since a ton of images get displayed).

report.sh: Still seeing errors (full output here report-errors.txt).

RuntimeError: CUDA out of memory. Tried to allocate 120.00 MiB (GPU 0; 15.78 GiB total capacity; 14.21 GiB already allocated; 58.75 MiB free; 14.29 GiB reserved in total by PyTorch) If reserved memory is >> allocated memory try setting max_split_size_mb to avoid fragmentation.  See documentation for Memory Management and PYTORCH_CUDA_ALLOC_CONF

report.sh: Still seeing errors (full output here report-errors.txt).

normal if you were training at the same time

report.sh: Still seeing errors (full output here report-errors.txt).

normal if you were training at the same time

I wasn't.

I am able to reproduce the OOM issue. good catch!


Remove GTM dependency from FirebaseAuth

Now that URLComponents has been available since iOS7, GoogleToolboxForMac is no longer necessary for FirebaseAuth.  Thanks to @thomasvl for the suggestion.

GTM still seems to be required by Firebase Performance and Firebase Invites, and is causing build warnings because of implementing a deprecated class.  Would it be possible to have a look through the rest of the SDK and remove it where there's a viable alternative?

Actually the GTM required by Firebase Performance is ok.  The GTMOAuth required by FirebaseInvites is now deprecated.  We'll follow up with our plans.


Update TodoMVC example to use Context API

Does what it says on the tin, and it's so beautiful 😭
Closes https://github.com/sycamore-rs/sycamore/issues/279

Wow that was fast. Thanks a lot. Busy right now but will review soon

Codecov Report

Merging #295 (3a2b392) into master (f230127) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #295   +/-   ##
=======================================
  Coverage   75.23%   75.23%
=======================================
  Files          33       33
  Lines        4781     4781
=======================================
  Hits         3597     3597
  Misses       1184     1184

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 f230127...3a2b392. Read the comment docs.


Fixed #30722 -- Added default rate-limiting requests to admin's Select2 widget.

Avoid unnecessary load on the server by waiting until the user stops typing before Select2 makes a request.

buildbot, test on selenium.

@jmfederico Thanks for this patch :+1: Selenium tests are falling, can you take a look?

@felixxm I do not have a local environment where to run the tests, will keep updating until I get them right.

You can take a look at running-the-selenium-tests.

HA, seems like that was it.
Ok, so tests failed because no eating was done before checking for choices being shown.
I added an implicit wait to selenium before proceeding, and also, checked that nothing was being shown before the wait (ensuring the delay was actually working)

buildbot, test on selenium.

Thanks for the link.

So, not yet :(

buildbot, test on selenium.

@felixxm Tests updated to account for delay.

buildbot, test on selenium.

@jmfederico Thanks! Welcome aboard :boat:


Update or deprecate Augur support

Legacy system will be deprecated by May 10, 2018.

Fixed in #780


feat(blobvault): Make blobvault pvc storage optional if s3 bucket is used

closes #145
Tasks from #145:
### Tasks
- [x] Make optional PVC volume if S3 bucket is used
- [x] Replace nginx helm-chart with nginx deployment
- [x] Add Nginx sidecar to backend pod, if `basePath` is configured  for non `/`
- [x] Do not deploy nginx if pvc is not deployed
- [ ] ~Validate if more than 1 worker is created to use S3 bucket~
- [x] Do not deploy ingress for `/blobvaul` if the nginx is not deployed too

I've done a lot of manual testing, and one thing I noticed is that if you upgrade from an existing installation, plots won't load:

This needs further investigation

@jesper7 PTAL again :-)
In ☝ commits I

fixed the Ingress issue with migrating to blobvault
Unified the nginx configm into single configmap.


BUG-6674 - Localisation Hotfix

Updates components to use next localization logic in SDK, with supporting changes

Adds SDK localisation hotfix changes to overridden components
Adds supporting logic to handle locale changing, and fetching required locale/translation data

Raised in Error


Add ability to associate authorised referers to tokens

Tokens used by JavaScript applications are of necessity exposed.
To minimise the impact of this we follow Google's lead and allow
tokens to be associated with a list of referer URLs and reject access
using those tokens if the refers don't match. While this is easily
subverted in server-side scripts and by using custom proxies it does
make it slightly harder to misuse tokens exposed in this way.

Replaced by #226


Configuration filename changed

Hello,
I don't exactly know how and when it changed, but in the documentation it's now written the configuration file is prometheus.yml and not prometheus.yaml like in this recipe.
I propose this dumb fix which supports both by using a symbolic link. Alternatively we could also have a variable with the filename.
Regards

well, this doesnt work either.. Will work this out.


flexget.plugins.daemon.web_server ImportError on config check

Expected behaviour:
No errors during config check.
Actual behaviour:
ImportError raised.
Steps to reproduce:

Step 1: Install flexget.
Step 2: flexget check

Log:
2016-12-03 11:55 CRITICAL plugin                        Plugin `flexget.plugins.daemon.web_server` failed to import dependencies
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/flexget/plugin.py", line 395, in _load_plugins_from_dirs
    __import__(module_name)
  File "/usr/local/lib/python2.7/dist-packages/flexget/plugins/daemon/web_server.py", line 8, in <module>
    from flexget.api import api_app
  File "/usr/local/lib/python2.7/dist-packages/flexget/api/__init__.py", line 4, in <module>
    from .core import authentication, cached, database, plugins, server, tasks, user, format_checker  # noqa
  File "/usr/local/lib/python2.7/dist-packages/flexget/api/core/authentication.py", line 8, in <module>
    from flask_login.utils import current_app, login_user, current_user
ImportError: No module named utils
2016-12-03 11:55 VERBOSE  check                         Pre-checked 49 configuration lines
2016-12-03 11:55 VERBOSE  check                         Checking config file `/home/srvsal/.flexget/config.yml`
2016-12-03 11:55 VERBOSE  check                         Config passed check.

Additional information:

Flexget Version: 2.7.1
Python Version: 2.7.12
Installation method: pip install flexget
OS and version: Ubuntu Server 16.04
Link to crash log:

I can't seem to reproduce this, not on py2.7 or 3.5...

Name: Flask-Login
Version: 0.3.2
Summary: User session management for Flask
Home-page: https://github.com/maxcountryman/flask-login
Author: Matthew Frazier
Author-email<EMAIL_ADDRESS>License: MIT
Location: /home/srvsal/.local/lib/python2.7/site-packages
Requires: Flask

It may be an issue on my system, I upgraded from 1.2.x to 1.7.1, but no errors were raised and followed upgrade instructions.

First off all, I suppose you upgraded to 2.7.1 (since 1.7.1 doesn't exist :D)
The code in flexget is already updated to accommodate the new flask-login. So installing the latest flask-login version should make this work, did you already try with the latest version?

Hey, sorry for the mistake, yeah I upgraded to 2.7.1 from 1.2.x 😞
Yep, the first thing I tried was the latest version of Flask login, which gave me a slightly different version of the same error. I can install it again and report it.

No problem ;)
Please do report with the latest version, since (like @liiight) mentioned, it works for me as well on the latest version.

2016-12-05 12:51 CRITICAL plugin                        Plugin `flexget.plugins.daemon.web_server` failed to import dependencies
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/flexget/plugin.py", line 395, in _load_plugins_from_dirs
    __import__(module_name)
  File "/usr/local/lib/python2.7/dist-packages/flexget/plugins/daemon/web_server.py", line 8, in <module>
    from flexget.api import api_app
  File "/usr/local/lib/python2.7/dist-packages/flexget/api/__init__.py", line 4, in <module>
    from .core import authentication, cached, database, plugins, server, tasks, user, format_checker  # noqa
  File "/usr/local/lib/python2.7/dist-packages/flexget/api/core/authentication.py", line 8, in <module>
    from flask_login.utils import current_app, login_user, current_user
ImportError: No module named utils

Name: Flask-Login
Version: 0.4.0
Summary: User session management for Flask
Home-page: https://github.com/maxcountryman/flask-login
Author: Matthew Frazier
Author-email<EMAIL_ADDRESS>License: MIT
Location: /usr/local/lib/python2.7/dist-packages
Requires: Flask

Hmm, strange, just to confirm, did you restart flexget after upgrading (or installing the newer flask_login version?)

I don't run Flexget as a daemon. I verified that it was not running, updated and used flexget check to validate config.

Might be a corrupt installation, try to remove flask_login and reinstalling it

Removed flask_login and reinstalled using --no-cache-dir. Still get the same error.

then you're probably running a flexget instance that is not using the same pip. maybe different paths, virtualenv, python versions, etc.
In anyway, this is not a bug.

Thanks anyway for the quick response. If I finally figure out what is going on I'll let you guys know.

Got a similar issue:
Ubuntu 14.04
installed using pip install
flexget 2.8.4
flask-plugin: 0.4.0
2016-12-14 09:17 CRITICAL plugin                        Exception while loading plugin flexget.plugins.daemon.web_server
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/flexget/plugin.py", line 395, in _load_plugins_from_dirs
    __import__(module_name)
  File "/usr/local/lib/python2.7/dist-packages/flexget/plugins/daemon/web_server.py", line 8, in <module>
    from flexget.api import api_app
  File "/usr/local/lib/python2.7/dist-packages/flexget/api/__init__.py", line 4, in <module>
    from .core import authentication, cached, database, plugins, server, tasks, user, format_checker  # noqa
  File "/usr/local/lib/python2.7/dist-packages/flexget/api/core/authentication.py", line 87, in <module>
    class LoginAPI(APIResource):
  File "/usr/local/lib/python2.7/dist-packages/flexget/api/core/authentication.py", line 90, in LoginAPI
    @api.response(200, 'Login successful', model=base_message_schema)
  File "/usr/local/lib/python2.7/dist-packages/flexget/api/app.py", line 205, in response
    return super(API, self).response(code_or_apierror, description, model=model, **kwargs)
AttributeError: 'super' object has no attribute 'response'
Traceback (most recent call last):
  File "/usr/local/bin/flexget", line 11, in <module>
    sys.exit(main())
  File "/usr/local/lib/python2.7/dist-packages/flexget/__init__.py", line 42, in main
    manager.start()
  File "/usr/local/lib/python2.7/dist-packages/flexget/manager.py", line 325, in start
    self.initialize()
  File "/usr/local/lib/python2.7/dist-packages/flexget/manager.py", line 188, in initialize
    plugin.load_plugins(extra_dirs=[os.path.join(self.config_base, 'plugins')])
  File "/usr/local/lib/python2.7/dist-packages/flexget/plugin.py", line 457, in load_plugins
    _load_plugins_from_dirs(extra_dirs)
  File "/usr/local/lib/python2.7/dist-packages/flexget/plugin.py", line 395, in _load_plugins_from_dirs
    __import__(module_name)
  File "/usr/local/lib/python2.7/dist-packages/flexget/plugins/daemon/web_server.py", line 8, in <module>
    from flexget.api import api_app
  File "/usr/local/lib/python2.7/dist-packages/flexget/api/__init__.py", line 4, in <module>
    from .core import authentication, cached, database, plugins, server, tasks, user, format_checker  # noqa
  File "/usr/local/lib/python2.7/dist-packages/flexget/api/core/authentication.py", line 87, in <module>
    class LoginAPI(APIResource):
  File "/usr/local/lib/python2.7/dist-packages/flexget/api/core/authentication.py", line 90, in LoginAPI
    @api.response(200, 'Login successful', model=base_message_schema)
  File "/usr/local/lib/python2.7/dist-packages/flexget/api/app.py", line 205, in response
    return super(API, self).response(code_or_apierror, description, model=model, **kwargs)
AttributeError: 'super' object has no attribute 'response'

that's not a similar issue at all.
what version of flask-restplus are you using?

@liiight flask-restplus (0.9.2)
I figured it was similar, because when I downgrade the flask-plugins it kinda works again

We support flask restplus 0.8.7. Did you upgrade manually?

I got this bug after an upgrade from Trusty to Xenial.  The solution for me was:

Purge all python2-* packages.
$ rm -fr /usr/local/bin/pip /usr/local/lib/python* .
$ apt-get install python3-pip
$ pip3 install pip
$ pip install flexget


UnauthorizedIntegrationRuntimeAccess

I'm getting below error when trying to create and share a new IR with the existing one in 2 different resource Group in same Subscription. I'm trying to deploy the powershell from Azure Devops. Please let me know if any one has faced similar issue.
Thanks!
2020-05-22T10:10:30.7983469Z ##[error]HTTP Status Code: Unauthorized
Error Code: UnauthorizedIntegrationRuntimeAccess
Error Message: Access denied. Unable to access shared integration runtime 'xyz'. Please check whether this resource has been granted permission by the shared integration runtime
Request Id:
Timestamp (Utc):05/22/2020 10:10:30
2020-05-22T10:10:30.8936105Z ##[error]PowerShell exited with code '1'.
2020-05-22T10:10:31.2673084Z ##[section]Finishing: AzurePowerShell

The Issue was resolved!


Handle both stargate and any CosmosMsg variant

Companion to CosmWasm/cosmwasm#1926
Unfortunately I did not find a succinct way to do this in Go.
The other option would be to keep both variants in the struct, make them private and add a Stargate / Any function that differentiates them. But that would also need changes in wasmd.

That's the way! We take the burden on us to make the lifes of our users easier (wasmd in this case).