Adds ProviderResource Nil Checks

Adds nil checks for ProviderResources gatewayclasses, gateways, and httproutes.
 However, I am seeing nil gatewayclasses, gateways, and httproutes in my e2e testing so we have an issue elsewhere in the code that must be resolved.

@arkodg I had to rebase. Please retag.


Error forwarding port: could not forward 8889 or 0 (This is for different VM templates)

Here is my recipe:
chef_gem 'chef-provisioning-vsphere' do
action :install
compile_time true
end
require 'chef/provisioning/vsphere_driver'
with_vsphere_driver host: 'given',
insecure: true,
user:     'bla',
password: 'bla'
with_machine_options :bootstrap_options => {
use_linked_clone: true,
num_cpus: 2,
memory_mb: 4096,
network_name: ["wdc-hw-vms"],
datacenter: 'Horizon',
cluster: 'Horizon Suite',
resource_pool:"Horizon Suite/darshan-rp",
template_folder: 'Shared Templates/SaaS',
template_name:'ws-empty-vm-<IP_ADDRESS>-2623954',
customization_spec: {
ipsettings: {
dnsServerList: ['<IP_ADDRESS>','<IP_ADDRESS>','<IP_ADDRESS>']
},
:domain=> 'hs.trcint.com'
},
:ssh => {
:user => '***',
:password => '++++,
:paranoid => false,
}
},
:convergence_options => {
:ssl_verify_mode => :verify_none
}
machine "workspace1" do
run_list ['workspace_provisioning::default']
end
Here is the log file:
[2015-07-14T11:27:30-07:00] INFO: Started chef-zero at chefzero://localhost:8889 with repository at /Users/dtumkursreeni/chef
One version per cookbook
[2015-07-14T11:27:30-07:00] INFO: Forking chef instance to converge...
Starting Chef Client, version 12.4.0.rc.0
[2015-07-14T11:27:30-07:00] INFO: *** Chef 12.4.0.rc.0 ***
[2015-07-14T11:27:30-07:00] INFO: Chef-client pid: 17377
[2015-07-14T11:27:32-07:00] INFO: Run List is []
[2015-07-14T11:27:32-07:00] INFO: Run List expands to []
[2015-07-14T11:27:32-07:00] INFO: Starting Chef Run for dtumkursreeni
[2015-07-14T11:27:32-07:00] INFO: Running start handlers
[2015-07-14T11:27:32-07:00] INFO: Start handlers complete.
[2015-07-14T11:27:32-07:00] INFO: HTTP Request Returned 404 Not Found: Object not found:
resolving cookbooks for run list: []
[2015-07-14T11:27:32-07:00] INFO: Loading cookbooks []
Synchronizing Cookbooks:
Compiling Cookbooks...
Recipe: @recipe_files::/Users/dtumkursreeni/chef/cookbooks/workspace_provisioning/recipes/vsphere_config.rb

chef_gem[chef-provisioning-vsphere] action install[2015-07-14T11:27:32-07:00] INFO: Processing chef_gem[chef-provisioning-vsphere] action install (@recipe_files::/Users/dtumkursreeni/chef/cookbooks/workspace_provisioning/recipes/vsphere_config.rb line 1)
(up to date)
[2015-07-14T11:28:11-07:00] WARN: Class Chef::Resource::Machine does not declare 'provides :machine'.
[2015-07-14T11:28:11-07:00] WARN: This will no longer work in Chef 13: you must use 'provides' to provide DSL.
[2015-07-14T11:28:11-07:00] WARN: Chef::Resource::Machine is marked as providing DSL machine, but provides :machine was never called!
[2015-07-14T11:28:11-07:00] WARN: In Chef 13, this will break: you must call provides to mark the names you provide, even if you also override provides? yourself.
[2015-07-14T11:28:11-07:00] WARN: Class Chef::Resource::Machine does not declare 'provides :machine'.
[2015-07-14T11:28:11-07:00] WARN: This will no longer work in Chef 13: you must use 'provides' to provide DSL.
[2015-07-14T11:28:11-07:00] WARN: Node dtumkursreeni has an empty run list.
Converging 2 resources
chef_gem[chef-provisioning-vsphere] action install[2015-07-14T11:28:11-07:00] INFO: Processing chef_gem[chef-provisioning-vsphere] action install (@recipe_files::/Users/dtumkursreeni/chef/cookbooks/workspace_provisioning/recipes/vsphere_config.rb line 1)
(up to date)
machine[workspace1] action converge[2015-07-14T11:28:11-07:00] INFO: Processing machine[workspace1] action converge (@recipe_files::/Users/dtumkursreeni/chef/cookbooks/workspace_provisioning/recipes/vsphere_config.rb line 77)
[2015-07-14T11:28:11-07:00] WARN: Class Chef::Provider::Machine does not declare 'provides :machine'.
[2015-07-14T11:28:11-07:00] WARN: This will no longer work in Chef 13: you must use 'provides' to provide DSL.
[2015-07-14T11:28:11-07:00] WARN: Checking to see if {"driver_url"=>"vsphere://<IP_ADDRESS>/sdk?use_ssl=true&insecure=true", "driver_version"=>"0.5.8", "server_id"=>"50201ab3-f522-bc7c-f902-872c29750042", "is_windows"=>false, "allocated_at"=>"2015-07-14 18:04:37 UTC", "ipaddress"=>"<IP_ADDRESS>"} has been created...
establishing connection to <IP_ADDRESS>
[2015-07-14T11:28:15-07:00] WARN: returning existing machine
[2015-07-14T11:28:15-07:00] WARN: Class Chef::Resource::ChefNode does not declare 'provides :chef_node'.
[2015-07-14T11:28:15-07:00] WARN: This will no longer work in Chef 13: you must use 'provides' to provide DSL.
[2015-07-14T11:28:15-07:00] WARN: Chef::Resource::ChefNode is marked as providing DSL chef_node, but provides :chef_node was never called!
[2015-07-14T11:28:15-07:00] WARN: In Chef 13, this will break: you must call provides to mark the names you provide, even if you also override provides? yourself.
[2015-07-14T11:28:15-07:00] WARN: Class Chef::Resource::ChefNode does not declare 'provides :chef_node'.
[2015-07-14T11:28:15-07:00] WARN: This will no longer work in Chef 13: you must use 'provides' to provide DSL.
[2015-07-14T11:28:15-07:00] INFO: Processing chef_node[workspace1] action create (basic_chef_client::block line 77)
[2015-07-14T11:28:15-07:00] WARN: Class Chef::Provider::ChefNode does not declare 'provides :chef_node'.
[2015-07-14T11:28:15-07:00] WARN: This will no longer work in Chef 13: you must use 'provides' to provide DSL.
update node workspace1 at chefzero://localhost:8889
update run_list from ["recipe[workspace_provisioning::default]"] to ["workspace_provisioning::default"]
Power on VM [vm/workspace1][2015-07-14T11:28:18-07:00] INFO: Executing pwd on<EMAIL_ADDRESS>[2015-07-14T11:28:32-07:00] INFO: Completed pwd on<EMAIL_ADDRESS>exit status 0
IP address obtained: <IP_ADDRESS>[2015-07-14T11:28:36-07:00] INFO: Executing pwd on<EMAIL_ADDRESS>[2015-07-14T11:28:40-07:00] INFO: Completed pwd on<EMAIL_ADDRESS>exit status 0
[2015-07-14T11:28:40-07:00] WARN: Class Chef::Resource::ChefNode does not declare 'provides :chef_node'.
[2015-07-14T11:28:40-07:00] WARN: This will no longer work in Chef 13: you must use 'provides' to provide DSL.
[2015-07-14T11:28:40-07:00] INFO: Processing chef_node[workspace1] action create (basic_chef_client::block line 57)
[2015-07-14T11:28:40-07:00] WARN: Class Chef::Provider::ChefNode does not declare 'provides :chef_node'.
[2015-07-14T11:28:40-07:00] WARN: This will no longer work in Chef 13: you must use 'provides' to provide DSL.

update node workspace1 at chefzero://localhost:8889
update run_list from ["recipe[workspace_provisioning::default]"] to ["workspace_provisioning::default"][2015-07-14T11:29:09-07:00] WARN: Class Chef::Resource::ChefClient does not declare 'provides :chef_client'.
[2015-07-14T11:29:09-07:00] WARN: This will no longer work in Chef 13: you must use 'provides' to provide DSL.
[2015-07-14T11:29:09-07:00] WARN: Chef::Resource::ChefClient is marked as providing DSL chef_client, but provides :chef_client was never called!
[2015-07-14T11:29:09-07:00] WARN: In Chef 13, this will break: you must call provides to mark the names you provide, even if you also override provides? yourself.
[2015-07-14T11:29:09-07:00] WARN: Class Chef::Resource::ChefClient does not declare 'provides :chef_client'.
[2015-07-14T11:29:09-07:00] WARN: This will no longer work in Chef 13: you must use 'provides' to provide DSL.
[2015-07-14T11:29:09-07:00] WARN: Class Chef::Resource::ChefNode does not declare 'provides :chef_node'.
[2015-07-14T11:29:09-07:00] WARN: This will no longer work in Chef 13: you must use 'provides' to provide DSL.
[2015-07-14T11:29:09-07:00] INFO: Processing chef_client[workspace1] action create (basic_chef_client::block line 77)
[2015-07-14T11:29:09-07:00] WARN: Class Chef::Provider::ChefClient does not declare 'provides :chef_client'.
[2015-07-14T11:29:09-07:00] WARN: This will no longer work in Chef 13: you must use 'provides' to provide DSL.
[2015-07-14T11:29:09-07:00] INFO: Processing chef_node[workspace1] action create (basic_chef_client::block line 143)
[2015-07-14T11:29:09-07:00] WARN: Class Chef::Provider::ChefNode does not declare 'provides :chef_node'.
[2015-07-14T11:29:09-07:00] WARN: This will no longer work in Chef 13: you must use 'provides' to provide DSL.
update node workspace1 at chefzero://localhost:8889update run_list from ["recipe[workspace_provisioning::default]"] to ["workspace_provisioning::default"]
RuntimeErro
Error forwarding port: could not forward 8889 or 0
Resource Declaration:
In /Users/dtumkursreeni/.rbenv/versions/2.1.3/lib/ruby/gems/2.1.0/gems/chef-12.4.0.rc.0/lib/chef/dsl/recipe.rb
77:           return send(method_symbol, *args, &block)
78:         end
Compiled Resource:
Declared in /Users/dtumkursreeni/.rbenv/versions/2.1.3/lib/ruby/gems/2.1.0/gems/chef-12.4.0.rc.0/lib/chef/dsl/recipe.rb:77:in `method_missing'
machine("workspace1") do
action [:converge]
retries 0
retry_delay 2
default_guard_interpreter :default
chef_server {:chef_server_url=>"chefzero://localhost:8889", :options=>{:client_name=>"dtumkursreeni", :signing_key_filename=>"/Users/dtumkursreeni/.chef/dtumkursreeni.pem"}}
driver "vsphere://<IP_ADDRESS>/sdk?use_ssl=true&insecure=true"
machine_options {:bootstrap_options=>{:use_linked_clone=>true, :num_cpus=>2, :memory_mb=>4096, :network_name=>["wdc-hw-vms"], :datacenter=>"Horizon", :cluster=>"Horizon Suite", :resource_pool=>"Horizon Suite/darshan-rp", :template_folder=>"Shared Templates/SaaS", :template_name=>"ws-empty-vm-<IP_ADDRESS>-2623954", :customization_spec=>{:ipsettings=>{:dnsServerList=>["<IP_ADDRESS>", "<IP_ADDRESS>", "<IP_ADDRESS>"]}, :domain=>"hs.trcint.com"}, :ssh=>{:user=>"root", :password=>"ca$hc0w", :paranoid=>false}}}
declared_type :machine
cookbook_name "@recipe_files"
recipe_name "/Users/dtumkursreeni/chef/cookbooks/workspace_provisioning/recipes/vsphere_config.rb"
run_list ["workspace_provisioning::default"]
end

[2015-07-14T11:29:12-07:00] INFO: Running queued delayed notifications before re-raising exception
Running handlers:
[2015-07-14T11:29:12-07:00] ERROR: Running exception handlers
Running handlers complete
[2015-07-14T11:29:12-07:00] ERROR: Exception handlers complete
[2015-07-14T11:29:12-07:00] FATAL: Stacktrace dumped to /Users/dtumkursreeni/.chef/local-mode-cache/cache/chef-stacktrace.out
Chef Client failed. 0 resources updated in 102.230194 seconds
[2015-07-14T11:29:12-07:00] ERROR: machine[workspace1] (@recipe_files::/Users/dtumkursreeni/chef/cookbooks/workspace_provisioning/recipes/vsphere_config.rb line 77) had an error: RuntimeError: Error forwarding port: could not forward 8889 or 0
[2015-07-14T11:29:12-07:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)

I've had lots of issues with Chef Provisioning using the chef 12.4 client. Can you try on 12.3 or less?

Hey Matt,
I just tried with this version: Chef 12.2.1.
The error persist :(
Thanks,
Darshan

I don't think this is related to the driver. Its likely a chef-provisioning or chef-zero issue. However, I would make sure there is no firewall rule possibly blocking port 8889.

Thanks Matt.


refactor: Skip prompting to install deps

I was chewing on this idea when I wrote the Makefile. I"m leaning against having this Makefile install stuff on people's system without asking them first (and at a minimum, be very clear about that in the docs). Will continue to chew and ponder.

After more chewing and pondering, I think it's best to leave the design as-is. This will make it blatantly clear to the user that extra software is needed for this program to run, and it provides them the opportunity to opt out or take extra measures if the "out of the box" yum command doesn't work (for instance if they don't have Internet access).

After more chewing and pondering, I think it's best to leave the design as-is. This will make it blatantly clear to the user that extra software is needed for this program to run, and it provides them the opportunity to opt out or take extra measures if the "out of the box" yum command doesn't work (for instance if they don't have Internet access).


[3.x] Fix AudioEffectRecord circular reference

3.x equivalent of #74985
Fixes #34495 for 3.x.

Thanks!


1.11 BUG with ProtocolSupport in Spigot 1.10

What is the output link of /viaversion dump?
http://hastebin.com/udiwopuneg.json
Are you using any additional software like BungeeCord? If so, what software and version? (Please list your plugins as well)
BungeeCord (fork from HexagonMC, latest version, fork only adds 1.7 compatibility)
How does this error happen? login? Using an item?
On join BungeeCord with 1.11 says "Timed out" and ping is not showing.
Viaversion is installed with bungee.
Bungee is ping_passthrough: true

Bungee connect says nothing in console!

Could you provide the log of your BungeeCord to hastebin.com? (From startup to trying to connect)

http://hastebin.com/usimunipon.pas Nothing says when i try connect!

Only Timed out...

You can test: play.satoshicraft.com
1.10->1.7 works, 1.11 not works

And only bukkit works, but i don't can players connect only in spigot
play.satoshicraft.com:25560

https://github.com/SpigotMC/BungeeCord/issues/1996

Build 1.0.1 FIXED! Thanks!


8color colorscheme

Hello,
visual consistency matters for me, so I created a minimal style that uses the terminal's preset 8 colors.
On my terminal, it looks like this:

I added the style to the correct folder as well as to the doc.

I think providing 16color is enough for this purpose. Also, I cannot accept a patch to introduce a different license.


Adds travis-ci integration

Adds Travis-ci integration. It runs the tests on Lua 5.1, 5.2, 5.3, LuaJIT 2.0.3, latest 2.0 and latest 2.1.
For steps to enable the integration, please take a look at this article.
It also includes a new rockspec since the tests showed that Lua 5.3 is also supported :)

Here is how it looks once integration is enabled.

Wow! Awesome call! Thank you :dancer:

Great. Feel free to ping me if you need help to enable the integration.


autopilot fallback address with callbacks

Context
Took a first pass at implementing the fallback address using ibc callbacks instead of the keepers. This PR is far from complete, I'm just opening it so that you all can have a more concrete representation of what this solution would look like.
Potential Issues
Since autopilot is in a different stack, there's a significant amount of refactoring that would be needed to complete the callback wiring.
Most notably, as it currently sits in this PR, the callback will technically be executed via the records module. However:

(a) The records callback runs before the packet is sent down the stack (meaning the tokens wont be available to send to the fallback address), and
(b) There's a comment in the log linked above that says the callback will only work for transfers from the stakeibc module address (and I don't fully understand what it means but can dig in more later)

Remaining Work

Correctly execute the autopilot callback

Initial reaction is to sub out the records module from our stack with the callbacks module (like how we have it in stakeibc). That way callbacks can route to the relevant module (records vs autopilot).

However, the transfer module has to sit at the bottom of the stack, and the callbacks module is currently implemented such that it sits at the bottom of the stack, so it might not be trivial to do this.

Otherwise, another option would be to CallRegisteredICACallback from the autopilot OnAck/OnTimeout's (instead of from records).

However, this would require adding a guardrail to each module to make sure it doesn't run the callback from the other module.

Once the above is solved, we still need to make sure the packet is sent down the packet first. Unclear what changes are required for this atm.
Finally, would need to clean this up, test, and add unit tests

closing this PR as we decided that this was too complex of an undertaking for the current timeline.
We'll revisit in the next few months what the best design for our middleware stack is.


Update or remove recently contributed to metrics

This section on comcast.github.io is very outdated since we no longer fork to Comcast's org before submitting PRs. Open to suggestions on how to collect the true metrics, or we can just remove it for now.

@kristakhare was this meant to track contributions to comcast open source projects or contributions of comcast members to outside projects?

@britneywright the latter. But since we no longer require forks to the Comcast org before contributing to outside projects, it's quite outdated. I have https://github.com/Comcast/Comcast.github.io/pull/234 to just remove it, but open to better suggestions

@JohnRiv helped to remove that. We can reopen the issue if there's a different way of tracking contributions in the future. thanks all!


How to use for graph level unsupervised clustering, not the node?

I have millions of graph data that cannot be labeled by human efforts. I need it to be classified by unsupervised technique, not semi and not the node level. Is it possible?

Thanks for your attention. It's possible to conduct graph-level clustering. The general pipeline is as follows. 1) Conduct representation learning on graphs via self-supervised techniques, e.g., contrastive learning. 2) Apply the readout function (pooling function) on the learned node embeddings to obtain the graph embeddings. 3) Conduct clustering on the learned graph embeddings. (Maybe borrow some methods in this repository). I hope these suggestions help you.


bolt.new overwhelmed / down

Describe the bug
The bolt Homepage does not fully load and does not allow me to see my content or login. All I can load is the "What do you want to build?" form but it is lacking the possibility to really submit anything. Obviously you are overwhelmed by traffic which is a good thing for you and you deserve so as the product is actually very good. But as I am paying 200+ dollars/month, I would expect you to keep the site accessible to paying customers instead of onboarding more and more customers until you have solved your scaling issues
Link to the Bolt URL that caused the error
https://bolt.new/
Steps to reproduce
Just visit https://bolt.new/ and experience it not loading fully, giving you no option to login and see your projects
Expected behavior
Show my projects
Screen Recording / Screenshot
No response
Platform

OS: [e.g. macOS, Windows, Linux]
Browser: [e.g. Chrome, Safari, Firefox]
Version: [e.g. 91.1]

Additional context
No response

@ayalpani I am escalating this to engineering as this is not expected behavior

Thanks. I wasn't able to use bolt at all yesterday

Here is a screenhot btw

btw i managed to get bolt running again when i use chrome in incognito mode. in normal mode something is blocking it to properly load


Explore creating a geodata API

It would be useful to let people issue queries using lat/lon instead of just ZIP. But I'm only interested in doing so if I can use a very lightweight hosting process, as per the rest of Frostline.

Theory: I can use PRISM's geodata to generate static files for lat/lon pairs at a reasonable resolution. Then queries can be issued at a prescribed level of specificity (e.g., no more than 0.1 degrees, or 11 kilometers, e.g. "39.1, 94.6"). By generating a file for each pair (e.g., 39.1,94.6.json), a static API can serve up all of the data.

The simplest way to do this is probably via the provided ARC/INFO ASCII grid files. This represents Puerto Rico as 557 columns by 170 rows, or 94,690 files for that one territory. (Note that each record is not a hardiness zone, but instead the minimum temperature in Celsius, multiplied by 100; it's necessary to convert that to a PHZ before writing out the data.) This implies rather a large number of files for the entire U.S.

Of course, it remains to map each cell to a physical location. But this looks easy. The opening stanza of each ASC files opens with metadata like such:
xllcorner -67.31875000000
yllcorner 17.86875000000
cellsize 0.00416666667

So we simply add 0.00416666667 to -67.31875 as we advance through each column, and subtract 0.00416666667 from 17.86875 as we advance through each row.

One concern that I have is about the resolution that this yields. Is it reasonably round-able? Will there be collisions? How to handle them?

The continental U.S. is 7,025 columns by 3,105 rows, or 21,812,625 files. That certainly is a very large number of files. Hawaii is another 1,077,008 records, and Alaska another 808,505 (an oddly small number), a total of 23,792,828 records. Some percentage of these will be blank (that is, have a value of -9999), although the approximate shape of the U.S. means that it will not be an enormous percentage. Perhaps 20%, thanks to Florida and Maine? So that leaves about 19 million records, should no simplification be performed.

It turns out that these files are at different resolutions. The continental U.S. is at 800-meter resolution, Hawaii and Puerto Rico are at 400-meter resolution, and Alaska is at 4,000-meter resolution. That raises the interesting question of how to apply consistent data-density standards across the board.
The continental U.S. data has a cell size of 0.00833333333, or just under 0.01 degrees. At a resolution of 0.1 degrees, we'd be using every 13th cell, or 1/169th of the entire dataset. That would leave us with a very manageable 104,142 JSON files for the continental U.S.

If we had a resolution of 0.01 degrees, that would leave us with about 14,666,080 records for the continental U.S., or 140 times more than at 0.1 degrees of resolution.

Each of the 26 zones represent a spread of 5°. So these zones are not particularly refined. Spot-checking some rows from the data, I feel good that a resolution of 0.1 degrees is adequate.
However, aggregating lat/lon pairs is inherently going to result in some inaccuracies, for places on the bubble. For instance, these two stanzas
-18 -18 -18 -19 -19 -19 -19 -19 -20 -20 -20 -20 -20
-20 -20 -19 -19 -19 -19 -19 -18 -18 -19 -20 -20 -20

would be reduced to -18 and -20 (assuming we sampled the first entry), or 5a and 4b, respectively. But 5 of the entries in the first stanza are actually 4b, and 8 of the entires in the second stanza are actually 5a. Averaging doesn't help this problem. In this instance, the average of both is -19, and it would leave every one of these places in zone 5a, despite that 10 of the 26 are in zone 4b.
Basically, the question here is what level of accuracy is acceptable. Perhaps it's worth a reduction in accuracy to reduce the number of files by 99.5%. But is it worth any reduction in accuracy to cut out just 17% of records?

The next thing to do is some benchmarking—figure out how much data that we're talking about here, and how long it will take to generate those files.

If we use the same file format as we do for the ZIPs (unnecessarily repeating the lat/lon pair within the JSON), that's 92 bytes per file, or 1.7 GB of data for every data point in the entire U.S. (assuming, as always, that 20% of data points in the ASC files have no value). That's not bad. If we used a resolution of 0.1 degrees, that would be a mere 8 MB in total.

An advantage of using the native file resolutions is that this largely allows us to avoid the question of what to do about three different resolutions. But it may not help with the question of the prescribed degree of precision in the queries.
That the native continental data resolution is just below 0.01 degrees of resolution means that, of course, we need to use three digits. This is problematic though, because we wind up with vast swaths of namespace that are blank (e.g., we have a record for "39.101, 94.655," but not for the requested "39.102, 94.655"). This indicates that—again, just for the continental U.S.—we need to round to two decimal digits. Basically, we are inherently going to wind up with a certain degree of inaccuracy, but this 13% reduction means that no more than 13% of records have a chance of becoming inaccurate.
Alaska presents an awkward arrangement, with its 4,000-meter resolution. We're going to have to either have less granularity on Alaska queries (this is bad), or used something like a nearest-neighbor algorithm to fake it.
Hawaii and Puerto Rico's 400-meter resolution will necessitate rather more averaging, so we'll have more edge cases there.

I'm just going to throw this out there...what about symlinks? Millions of symlinks? They're smaller than actual json files and they'd allow you to have whatever granularity you wanted with no gaps.

Ooooh, of course! Excellent idea!


feat(Launcher): allow the default arguments to be overridden

Closes #872

We bikeshedded it quite recently: https://github.com/GoogleChrome/chrome-launcher/issues/65
Our winning proposal (in puppeteer-speak) is:
const args = puppeteer.defaultArgs(); // Map of all the flags it uses by default

flags.delete('--disable-extensions');
flags.delete('--mute-audio');
flags.set('--user-data-dir', somepath);

// pass in map to override all args
puppeteer.launch({args});

// no regressions for adding additional args (when args is provided an array)
puppeteer.launch({args: ['--show-paint-rects']});

Paul and I talked in person and agreed that the use cases are sufficiently different to warrant different design.


gh-1385 clean up some errors from 'go vet ./...'

What is the purpose of this change? What does it change?

Continuing some code cleanup from gh-1385.
Was the change discussed in an issue or in the forum before?

Yes, right here.
Checklist

[x ] I have read the Contribution Guidelines
[ ] I have added tests for all changes in this PR
[ ] I have added documentation for the changes (in the manual)
[ ] There's a new file in changelog/unreleased/ that describes the changes for our users (template here)
[ x] I have run gofmt on the code in all commits
[x ] All commit messages are formatted in the same style as the other commits in the repo
[x ] I'm done, this Pull Request is ready for review

I did not add any new tests; however I did verify that existing (non-integration) tests still pass.
It is curious that go.sum changed when I ran go vet. Maybe you also have this added line for github.com/russross/blackfriday v1.5.1, but failed to commit it when you last updated dependencies?

Codecov Report

Merging #1983 into master will decrease coverage by 4.38%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #1983      +/-   ##
==========================================
- Coverage   50.16%   45.78%   -4.39%
==========================================
  Files         169      169
  Lines       13562    13560       -2
==========================================
- Hits         6803     6208     -595
- Misses       5742     6389     +647
+ Partials     1017      963      -54

Impacted Files
Coverage Δ

internal/backend/b2/b2.go
0% <ø> (-78.54%)
:arrow_down:

internal/archiver/tree.go
76.76% <ø> (+0.53%)
:arrow_up:

internal/backend/swift/swift.go
0% <0%> (-78.45%)
:arrow_down:

internal/backend/gs/gs.go
0% <0%> (-73.61%)
:arrow_down:

internal/backend/azure/azure.go
0% <0%> (-69.46%)
:arrow_down:

internal/backend/swift/config.go
36.95% <0%> (-54.35%)
:arrow_down:

internal/backend/test/tests.go
59.95% <0%> (-0.66%)
:arrow_down:

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 35e9885...bfc1bc6. Read the comment docs.


⚠ Samsung has degraded performance

In 09085cb, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 1935 ms

Resolved: Samsung performance has improved in 8927330.


Remove # from href because it causes page refresh

Even though I am not that much experienced with javascript, I think href="#" is not needed. In my angular.js application it caused a page to be refreshed after each language selection.

Thank you very much for your contribution :)


Deep links to pages in other languages: page_for_app_request throws exception

When implementing language deep links using the documentation, page = page_for_app_request(request, Page.objects.active()) throws an exception
page_for_app_request() takes 1 positional argument but 2 were given
It should be
page_for_app_request(request, queryset=Page.objects.active())
Changing the previous code throws another exception:
Traceback (most recent call last):
  File "/app/lib/django/core/handlers/exception.py", line 34, in inner
    response = get_response(request)
  File "/app/lib/django/core/handlers/base.py", line 115, in _get_response
    response = self.process_exception_by_middleware(e, request)
  File "/app/lib/django/core/handlers/base.py", line 113, in _get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "/app/app/pages/views.py", line 11, in page_detail
    page_for_app_request(request, queryset=Page.objects.active())
  File "/app/lib/feincms3/applications.py", line 264, in page_for_app_request
    app_instance_namespace=request.resolver_match.namespaces[1],
IndexError: list index out of range

@tecjam Thanks for the report! The example was bad, the code too.
Reading your report again, it seems there's something else going on though. page_for_app_request shouldn't be used when rendering pages, it should only be used within feincms3 applications (https://feincms3.readthedocs.io/en/latest/guides/apps-introduction.html)

https://feincms3.readthedocs.io/en/latest/build-your-cms.html#views-and-urls <- here's an example for a page_detail function, without page_for_app_request


[bugfix] Always use $HOME for storing processor auto-detection results

Fixes #2072.

Codecov Report

Merging #2074 (58e5681) into master (e98078a) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master    #2074   +/-   ##
=======================================
  Coverage   86.74%   86.74%
=======================================
  Files          52       52
  Lines        9270     9267    -3
=======================================
- Hits         8041     8039    -2
+ Misses       1229     1228    -1

Impacted Files
Coverage Δ

reframe/frontend/autodetect.py
58.46% <100.00%> (-0.19%)
:arrow_down:

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 e98078a...58e5681. Read the comment docs.

@vkarak actually now looking also the documentation, you may have to adapt also the auto-detecting part.


E/jsengine

com.alibaba.weex E/jsengine:  ReportException :undefined:3: SyntaxError: Unexpected token <

@muyuren does this exist?

Because it's such a long time no more response received. This issue would be closed.
More discussion is welcome on Gitter chat room https://gitter.im/weexteam/cn or https://gitter.im/weexteam
Thanks.


Move grunt-bump to devDependencies

Since grunt is only part of the build process, grunt-bump should be a dev dependency along with all the other grunt-related dependencies.
Leaving it as a normal dependency causes problems when using npm > 3, because grunt-bump lists grunt as a peer dependency, and those are no longer installed automatically. This causes warnings to be logged and actually prevents you from shrinkwrapping.

thanks man


Science Drive options to transfer stored science to a science lab.

@hendrack said:
Great mod! Is it intentional that science experiments stored on the harddrive can not be processed in a science lab? I have a Minmus lander with data in some instruments and the hard drive. When docked to a station with a lab I can process the instruments, but not the experiments stored in the harddrive. Thank you.
Edit: Nevermind, ship manifest came to the rescue.
Yep. The Science Harddrives take all the science data out of the science parts and stores them in a ScienceDataContainer. You can't send data from a ScienceDataContainer to a science lab directly. You can transfer the data to the science lab's ScienceDataContainer and process it from there (as you found by using Ship Manifest, or you can use an EVA kerbal to do it).
I've Added an Item to the github issues to address this with a right click option. Not sure when I will get to it though, probably after KSP 1.1 comes out.

Coded changes so that If you have a ScienceLab as part of the same vessel as the SDD you can Review the data in the SDD and there should be a button to send the data to the Lab, you can press and the data will be sent to the lab automatically.


howto comile luci 21.02 seperately in  ubuntu using gcc ?

Hi
I want to use luci seperately in ubuntu when develop a luci-app plugin. to ease the develop, it's better to ran luci  seperately in ununtu.
I googled and found there is only an doc metioned this, but it is based on old luci version (0.12).
I found since 18.06, luci compile sytem is changed and there is no Makefile there. I don't know if there is some doc / instrctions to compile luc 21.02 seperately in ubuntu.
any suggestion is appreciate, thanks!

LuCI can't be run separately It is tightly tied to OpenWrt and the core libraries there.

LuCI can't be run separately It is tightly tied to OpenWrt and the core libraries there.


Fix updating reusable workflows in .github repos

Accounting for trailing .git was causing false negatives for .github repositories.
Fixes #6841.

Thanks @mctofu!


Don't try (and fail) to cache Docker images

Codecov Report

Merging #29 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #29   +/-   ##
=======================================
  Coverage   71.66%   71.66%
=======================================
  Files          19       19
  Lines        1267     1267
=======================================
  Hits          908      908
  Misses        344      344
  Partials       15       15

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 9b83e52...eebc7e4. Read the comment docs.


feat: allow MarkedSource to remove itself from includes

I think the go protos need to be regenerated?


DatasetGenerationError when load glue benchmark datasets from load_dataset

Describe the bug
Package version: datasets-2.14.4
When I run the codes:
from datasets import load_dataset

dataset = load_dataset("glue", "ax")

I got the following errors:

SchemaInferenceError                      Traceback (most recent call last)
File ~/anaconda3/envs/python3/lib/python3.10/site-packages/datasets/builder.py:1949, in ArrowBasedBuilder._prepare_split_single(self, gen_kwargs, fpath, file_format, max_shard_size, job_id)
1948 num_shards = shard_id + 1
-> 1949 num_examples, num_bytes = writer.finalize()
1950 writer.close()
File ~/anaconda3/envs/python3/lib/python3.10/site-packages/datasets/arrow_writer.py:598, in ArrowWriter.finalize(self, close_stream)
597         self.stream.close()
--> 598     raise SchemaInferenceError("Please pass features or at least one example when writing data")
599 logger.debug(
600     f"Done writing {self._num_examples} {self.unit} in {self._num_bytes} bytes {self._path if self._path else ''}."
601 )
SchemaInferenceError: Please pass features or at least one example when writing data
The above exception was the direct cause of the following exception:
DatasetGenerationError                    Traceback (most recent call last)
Cell In[5], line 3
1 from datasets import load_dataset
----> 3 dataset = load_dataset("glue", "ax")
File ~/anaconda3/envs/python3/lib/python3.10/site-packages/datasets/load.py:2136, in load_dataset(path, name, data_dir, data_files, split, cache_dir, features, download_config, download_mode, verification_mode, ignore_verifications, keep_in_memory, save_infos, revision, token, use_auth_token, task, streaming, num_proc, storage_options, **config_kwargs)
2133 try_from_hf_gcs = path not in _PACKAGED_DATASETS_MODULES
2135 # Download and prepare data
-> 2136 builder_instance.download_and_prepare(
2137     download_config=download_config,
2138     download_mode=download_mode,
2139     verification_mode=verification_mode,
2140     try_from_hf_gcs=try_from_hf_gcs,
2141     num_proc=num_proc,
2142     storage_options=storage_options,
2143 )
2145 # Build dataset for splits
2146 keep_in_memory = (
2147     keep_in_memory if keep_in_memory is not None else is_small_dataset(builder_instance.info.dataset_size)
2148 )
File ~/anaconda3/envs/python3/lib/python3.10/site-packages/datasets/builder.py:954, in DatasetBuilder.download_and_prepare(self, output_dir, download_config, download_mode, verification_mode, ignore_verifications, try_from_hf_gcs, dl_manager, base_path, use_auth_token, file_format, max_shard_size, num_proc, storage_options, **download_and_prepare_kwargs)
952     if num_proc is not None:
953         prepare_split_kwargs["num_proc"] = num_proc
--> 954     self._download_and_prepare(
955         dl_manager=dl_manager,
956         verification_mode=verification_mode,
957         **prepare_split_kwargs,
958         **download_and_prepare_kwargs,
959     )
960 # Sync info
961 self.info.dataset_size = sum(split.num_bytes for split in self.info.splits.values())
File ~/anaconda3/envs/python3/lib/python3.10/site-packages/datasets/builder.py:1049, in DatasetBuilder._download_and_prepare(self, dl_manager, verification_mode, **prepare_split_kwargs)
1045 split_dict.add(split_generator.split_info)
1047 try:
1048     # Prepare split will record examples associated to the split
-> 1049     self._prepare_split(split_generator, **prepare_split_kwargs)
1050 except OSError as e:
1051     raise OSError(
1052         "Cannot find data file. "
1053         + (self.manual_download_instructions or "")
1054         + "\nOriginal error:\n"
1055         + str(e)
1056     ) from None
File ~/anaconda3/envs/python3/lib/python3.10/site-packages/datasets/builder.py:1813, in ArrowBasedBuilder._prepare_split(self, split_generator, file_format, num_proc, max_shard_size)
1811 job_id = 0
1812 with pbar:
-> 1813     for job_id, done, content in self._prepare_split_single(
1814         gen_kwargs=gen_kwargs, job_id=job_id, **_prepare_split_args
1815     ):
1816         if done:
1817             result = content
File ~/anaconda3/envs/python3/lib/python3.10/site-packages/datasets/builder.py:1958, in ArrowBasedBuilder._prepare_split_single(self, gen_kwargs, fpath, file_format, max_shard_size, job_id)
1956     if isinstance(e, SchemaInferenceError) and e.context is not None:
1957         e = e.context
-> 1958     raise DatasetGenerationError("An error occurred while generating the dataset") from e
1960 yield job_id, True, (total_num_examples, total_num_bytes, writer._features, num_shards, shard_lengths)
DatasetGenerationError: An error occurred while generating the dataset
Steps to reproduce the bug
from datasets import load_dataset
dataset = load_dataset("glue", "ax")
Expected behavior
When generating the train split:
Generating train split:
0/0 [00:00<?, ? examples/s]
It raise the error:
DatasetGenerationError: An error occurred while generating the dataset
Environment info
datasets-2.14.4.
Python 3.10

I've tried clear the .cache file, doesn't work.

This issue happens on AWS sagemaker

This issue can happen if there is a directory named "glue" relative to the Python script with the load_dataset call (similar issue to this one: https://github.com/huggingface/datasets/issues/5228). Is this the case?

This issue can happen if there is a directory named "glue" relative to the Python script with the load_dataset call (similar issue to this one: #5228). Is this the case?

Thats correct!
Sorry for my late response.


Add VictoryHistogram

This PR adds the VictoryHistogram component. It also adds JS/TS demos of VictoryHistogram and updates relevant packages.

@boygirl, I addressed your comments, is this good to merge once tests pass?

Yep! Tested locally, and everything looks great.


Question :: Html2canvas and Web workers

Hi,
I'm trying to generate a preview for some widgets, but when html2canvas function is called the web freezes 2 or 3 seconds. I have used async functions and the result is the same.
Do someone have an example about of how to use html2canvas with web workers?
I have not to much experience using workers but I have read that is possible. I know that the workers doesn't have access to the DOM so any comment, idea or help is very welcome.
Thank you.

async+await or just old-school "promise.then()" is your best bet. Since In order to prevent web workers from running into concurrency problems, the web worker spec prevents the worker from having access to the window object or the DOM, you can't really use html2canvas in a web worker.

same problems. The browser freeze

same problems. The browser freeze

same problems too...

I am facing the same problem as well.
Do we have any solution to freezing the system yet ?
How I see is that when we start painting the DOM element on canvas that's when the page is stuck. and if the user wants to interact with the page at that time , it doesnt work for 2 seconds.
Can we somehow not use webworker, not sure if we can use in-memory canvas to achieve that since webworker won't be able to interact with actual DOM.

How did you solve it?

any solution?

samthing here. any solutions?

I haven't looked into it too much but this could work
https://github.com/AshleyScirra/via.js

I haven't looked into it too much but this could work https://github.com/AshleyScirra/via.js

@qb20nh  I tried it and it doesn't work. how about you?

@menglyf looks like it cannot be done, unless the dom itself was generated with via from worker thread.

How did you solve it?

you can use phantoJs to build a service to generate in service side which is quit proficient, I don't remember how I did it

I have the same problem here, considering it takes 5-6 seconds to render a single page with a simplified DOM of ~100 lines of HTML (on Chrome 104.0.5112.101) it is literally unusable if you have even just 5 pages. Chrome kills the tab after it has been frozen for like 15 seconds.
Did anyone found a solution or a workaround?

I have the same problem.
Although I just found out about https://github.com/qq15725/modern-screenshot , it can be a lightweight alternative of htmltocanvas for some use cases.

same issue.


word not in biowordwec

Hi, thanks for sharing the code.
May I ask you how to process the words in MIMIC vocabulary that are not existed in the biowordvec. For example, word 'cannot'.
Can you provide the file "bio_word2vec_weights.pkl"?
Thanks.

@Markin-Wang I meet the same question, have you solved it yet?

@Markin-Wang I meet the same question, have you solved it yet?

Hi, as you can see, the author seem does not maintain this repo, so that I turned to other methods.

Hi, check the answer in the closed issue: https://github.com/ivonajdenkoska/variational-xray-report-gen/issues/1.


Support updating the tariff too

I've done some work on this on my own forked repository, it might be of interest https://github.com/unbuttoned/octopus-to-tado-sync/blob/main/sync_octopus_tado.py


Tests with Networking stubs, also reorder or hook calls

…ded in subsequent hook additons will be printed out in the default hook
Made sense for our app to stick hooks at the begining...

This adds a stub framework to write integration tests with networking.
2 tests were written, 1 passing, 1 failing.
The failing test shows how a 500 server error response isn't marked as an invalid request.
Will submit issue to discuss what to do here.

New findArray PASSING test with stub

Dude, legendary! Sorry for the slow merge. Amazing work. What would you like in the contributors section? :)


Custom add button

Is there a way to add a custom add button in between nodes that allows us to let the user choose a node type in a drawer or modal?
we don’t want to use the popover since we have too many node types hence I would like to see if we can customize this behavior.
Bram

Is there a way to add a custom add button in between nodes that allows us to let the user choose a node type in a drawer or modal?
we don’t want to use the popover since we have too many node types hence I would like to see if we can customize this behavior.
Bram

This is not supported yet, maybe we can add a property to completely customize the behavior of the add button.

Thanks for the confirmation!


Add Ada Language Server (als)

This pull request adds support for the Ada Language Server (https://github.com/AdaCore/ada_language_server). I mostly copied what happened for the scala language server (metals) so if there are issues with this PR, there might also be some with metals :)
One thing that I'm slightly uncomfortable with is the install function, which I only tested on Linux: if it succeeds on OSX, this would be only by accident and I'm quite convinced that it would fail on Windows. Since other installers (pyls and metals) do not seem to try to be multiplatform, I thought this wouldn't be a huge problem.

Everything seems to work fine, except for the omnifunc.
With the following file:
procedure tmp is
        procedure a1 is
        begin
                null;
        end a1;
        procedure a2 is
        begin
                a1;
        end a2;
begin
end tmp;

And the following setting:
setlocal omnifunc=v:lua.vim.lsp.omnifunc

Attempting to write a third procedure a3 below a2 results in the following error messages being printed on each keypress:
Error executing vim.schedule lua callback: ...t_nvimDWUr16/usr/share/nvim/runtime/lua/vim/lsp/util.lua:701: attempt to concatenate a nil value

Attempting to write a third procedure a3 below a2 results in the following error messages being printed on each keypress:

Would you show me log?
:lua vim.lsp.set_log_level("debug"), :lua print(vim.lsp.get_log_path())

[ DEBUG ] 2020-03-17T06:31:01Z+0100 ] ....mount_nvim7cMn6y/usr/share/nvim/runtime/lua/vim/lsp.lua:608 ]	"on_lines"	1	4	10	11	11	9	9	9	{ "        p" }
[ DEBUG ] 2020-03-17T06:31:01Z+0100 ] ...nt_nvim7cMn6y/usr/share/nvim/runtime/lua/vim/lsp/rpc.lua:269 ]	"rpc.notify"	"textDocument/didChange"	{  contentChanges = { {      text = "\nprocedure tmp is\n        procedure a1 is\n        begin\n                null;\n        end a1;\n        procedure a2 is\n        begin\n                a1;\n        end a2;\n        p\nbegin\n        null;\nend tmp;\n"    } },  textDocument = {    uri = "file:///home/me/prog/ada/tmp.adb",    version = 4  }}
[ DEBUG ] 2020-03-17T06:31:01Z+0100 ] ...nt_nvim7cMn6y/usr/share/nvim/runtime/lua/vim/lsp/rpc.lua:258 ]	"rpc.send.payload"	{  jsonrpc = "2.0",  method = "textDocument/didChange",  params = {    contentChanges = { {        text = "\nprocedure tmp is\n        procedure a1 is\n        begin\n                null;\n        end a1;\n        procedure a2 is\n        begin\n                a1;\n        end a2;\n        p\nbegin\n        null;\nend tmp;\n"      } },    textDocument = {      uri = "file:///home/me/prog/ada/tmp.adb",      version = 4    }  }}
[ DEBUG ] 2020-03-17T06:31:01Z+0100 ] ...nt_nvim7cMn6y/usr/share/nvim/runtime/lua/vim/lsp/rpc.lua:338 ]	"decoded"	{  jsonrpc = "2.0",  method = "textDocument/publishDiagnostics",  params = {    diagnostics = { {        message = "Skipped token p",        range = {          end = {            character = 9,            line = 10          },          start = {            character = 8,            line = 10          }        }      } },    uri = "file:///home/me/prog/ada/tmp.adb"  }}
[ DEBUG ] 2020-03-17T06:31:01Z+0100 ] ....mount_nvim7cMn6y/usr/share/nvim/runtime/lua/vim/lsp.lua:367 ]	"notification"	"textDocument/publishDiagnostics"	{  diagnostics = { {      message = "Skipped token p",      range = {        end = {          character = 9,          line = 10        },        start = {          character = 8,          line = 10        }      }    } },  uri = "file:///home/me/prog/ada/tmp.adb"}
[ DEBUG ] 2020-03-17T06:31:01Z+0100 ] ...m7cMn6y/usr/share/nvim/runtime/lua/vim/lsp/callbacks.lua:252 ]	"default_callback"	"textDocument/publishDiagnostics"	{  client_id = 1,  params = {    diagnostics = { {        message = "Skipped token p",        range = {          end = {            character = 9,            line = 10          },          start = {            character = 8,            line = 10          }        }      } },    uri = "file:///home/me/prog/ada/tmp.adb"  }}
[ INFO ] 2020-03-17T06:31:06Z+0100 ] ....mount_nvim7cMn6y/usr/share/nvim/runtime/lua/vim/lsp.lua:797 ]	"exit_handler"	{ {    _on_attach = <function 1>,    callbacks = <1>{      ["window/logMessage"] = <function 2>,      ["window/showMessage"] = <function 3>,      ["workspace/configuration"] = <function 4>    },    cancel_request = <function 5>,    config = {      callbacks = <table 1>,      capabilities = {        textDocument = {          completion = {            completionItem = {              commitCharactersSupport = false,              deprecatedSupport = false,              documentationFormat = { "markdown", "plaintext" },              preselectSupport = false,              snippetSupport = false            },            completionItemKind = {              valueSet = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25 }            },            contextSupport = false,            dynamicRegistration = false          },          documentHighlight = {            dynamicRegistration = false          },          documentSymbol = {            dynamicRegistration = false,            hierarchicalDocumentSymbolSupport = true,            symbolKind = {              valueSet = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26 }            }          },          hover = {            contentFormat = { "markdown", "plaintext" },            dynamicRegistration = false          },          references = {            dynamicRegistration = false          },          signatureHelp = {            dynamicRegistration = false,            signatureInformation = {              documentationFormat = { "markdown", "plaintext" }            }          },          synchronization = {            didSave = true,            dynamicRegistration = false,            willSave = false,            willSaveWaitUntil = false          }        },        workspace = {          configuration = true,          <metatable> = <2>{            __tostring = <function 6>          }        }      },      cmd = { "/home/me/.cache/nvim/nvim_lsp/als/linux/ada_language_server" },      filetype = { "ada" },      init_options = vim.empty_dict(),      log_level = 2,      message_level = 2,      name = "als",      on_attach = <function 7>,      on_exit = <function 8>,      on_init = <function 9>,      root_dir = "/home/me/prog/ada",      settings = vim.empty_dict(),      <metatable> = <table 2>    },    id = 1,    initialized = true,    is_stopped = <function 10>,    name = "als",    notify = <function 11>,    offset_encoding = "utf-16",    request = <function 12>,    resolved_capabilities = {      code_action = false,      document_formatting = false,      document_highlight = false,      document_range_formatting = false,      document_symbol = true,      find_references = true,      goto_definition = true,      hover = true,      implementation = true,      signature_help = false,      signature_help_trigger_characters = {},      text_document_did_change = 1,      text_document_open_close = true,      text_document_save = false,      text_document_save_include_text = false,      text_document_will_save = false,      text_document_will_save_wait_until = false,      workspace_symbol = false    },    rpc = {      handle = <userdata 1>,      notify = <function 13>,      pid = 8745,      request = <function 14>    },    server_capabilities = {      alsCalledByProvider = true,      alsReferenceKinds = { "reference", "write", "call", "dispatching call", "parent", "child" },      codeActionProvider = vim.empty_dict(),      completionProvider = {        resolveProvider = false,        triggerCharacters = { "." }      },      declarationProvider = true,      definitionProvider = true,      documentSymbolProvider = true,      executeCommandProvider = {        commands = { "als-named-parameters" }      },      foldingRangeProvider = true,      hoverProvider = true,      implementationProvider = true,      referencesProvider = true,      renameProvider = vim.empty_dict(),      textDocumentSync = 1,      typeDefinitionProvider = true    },    stop = <function 15>,    workspace_did_change_configuration = <function 16>  } }
[ DEBUG ] 2020-03-17T06:31:06Z+0100 ] ...nt_nvim7cMn6y/usr/share/nvim/runtime/lua/vim/lsp/rpc.lua:258 ]	"rpc.send.payload"	{  id = 2,  jsonrpc = "2.0",  method = "shutdown"}
[ DEBUG ] 2020-03-17T06:31:06Z+0100 ] ....mount_nvim7cMn6y/usr/share/nvim/runtime/lua/vim/lsp.lua:57 ]	"wait.fallback"	500
[ DEBUG ] 2020-03-17T06:31:06Z+0100 ] ...nt_nvim7cMn6y/usr/share/nvim/runtime/lua/vim/lsp/rpc.lua:338 ]	"decoded"	{  id = 2,  jsonrpc = "2.0",  result = vim.NIL}
[ DEBUG ] 2020-03-17T06:31:06Z+0100 ] ...nt_nvim7cMn6y/usr/share/nvim/runtime/lua/vim/lsp/rpc.lua:269 ]	"rpc.notify"	"exit"	nil
[ DEBUG ] 2020-03-17T06:31:06Z+0100 ] ...nt_nvim7cMn6y/usr/share/nvim/runtime/lua/vim/lsp/rpc.lua:258 ]	"rpc.send.payload"	{  jsonrpc = "2.0",  method = "exit"}

@glacambre

Attempting to write a third procedure a3 below a2 results in the following error messages being printed on each keypress:

I can't reproduce it. Do you still face it?

Yes, both with the most recent neovim appimage and building from source. It looks like diagnostic.severity is nil in buf_diagnostics_underline in runtime/lua/vim/lsp/util.lua. I'll keep investigating.
Do you have tips/tricks to debug lua in neovim?

@h-michael I've added support for Windows and OSX (and was able to test on Windows but not on mac). I've also updated the Readme in order to mention the ALS. Please let me know if there's anything else I should do :).

@glacambre Thanks :)

Thanks for merging this and for all the work you, tjdevries and norcalli did on Neovim's LSP! :)


Command Typo on Invoke-AtomicTest -All -GetPrereqs

The command Invoke-AtomicTest -All -GetPrereqs  on the wiki https://github.com/redcanaryco/invoke-atomicredteam/wiki/Offline-Installation -> Steps to take from the online system section doesn't work.
The right command is Invoke-AtomicTest All -GetPrereqs

Ill confirm @merlin-ke! Great find and that is the fix.

I corrected this. Thank you!


singlevm: limit size of single VM cluster

Since singleVM can run out of memory, limit the number of instances per tenant.

We could use the new limits changes in my proposal for that.

Since we are limiting the size of the CNCI image with the configuration parameters, we can reduce the priority on this until such a time as it starts to become more of an issue.


pgmetrics: 1.15.2 -> 1.16.0

Diff: https://github.com/rapidloop/pgmetrics/compare/v1.15.2...v1.16.0
Description of changes

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[x] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 259100 run on x86_64-linux 1

1 package built:

pgmetrics


possible to get this version in luarocks?

The rocks file is already in the repository so it's simple enough to git clone and then luarocks make lua-cjson-2.1devel-1.rockspec
Still, if this version was added to luarocks it would simpler and more convenient to install.

Yeah, is there any chance of this getting into LuaRocks? It's the most downloaded module on LuaRocks and is now broken in the latest LuaJIT and the openresty fork is the best version currently out there.

@FourierTransformer I don't think we can upload a new LuaRocks library with the same name given the flat namespace in LuaRocks's module index.

I wonder if @hishamhm can offer some guidance on what should be done.

There is already a rock for this fork on LuaRocks: https://luarocks.org/modules/criztianix/lua-cjson2
I haven’t tested it myself though.

I think it would preferable if it wasn't maintained separately (one more person who'd need to keep up with updates and so on)...

I agree with Fourier. There's also the issue of trusting a third-party to not tamper with the code.

The lua-cjson rock is currently unclaimed in luarocks.org (i.e. it is assigned to the umbrella luarocks account which was created when we migrated the repo to the (then) new LuaRocks infrastructure.)
The original lua-cjson also seems unmaintained. Is this fork backwards compatible? If so, it would make sense for it to take over the lua-cjson entry in the root manifest of luarocks.org.
The command-line tool uses the root manifest by default, but each user account gets its own manifest in the luarocks.org server, so it is possible to upload a package with the same name and it will show up in the user's own namespace (and in the root namespace if they are assigned the slot; lua-cjson is unclaimed). Support for fetching namespace-specific dependencies is coming in the next release. But in this case it sounds like this rock should be in the root manifest anyway! (I can transfer the lua-cjson slot in the root manifest from the luarocks account to one maintained by this org.)

@hishamhm Yes, we try hard to maintain backward compatibility. Thanks for your help and we'd love to get the lua-cjson slot on luarocks. Please let us know how to proceed. @moonming in our openresty org can take this over. His email address is<EMAIL_ADDRESS>Thanks!

@agentzh cool! I emailed @moonming with all the details.

Nice job yall! Looks like you have control of the repository now: https://luarocks.org/modules/openresty/lua-cjson
Looks like the latest openresty version is <IP_ADDRESS>rc2, but luarocks has version <IP_ADDRESS>.

@2m4qhki3 We'll wait for the next formal release tag, <IP_ADDRESS>.

Is there a known date for <IP_ADDRESS> release and a final solution of this issue? :)

Any updates? How to install this version of lua-json to OpenResty?

@kazuhiro <IP_ADDRESS> is already tagged and @moonming is taking care of the luarocks part I believe.

@kazuhiro <IP_ADDRESS> is already uploaded to luarocks: http://luarocks.org/modules/openresty/lua-cjson/<IP_ADDRESS>-1. please have a try, thanks.

thanks! :)


Add v1.0.0-rc.1 under tanzu-cli-unstable

What this PR does / why we need it

Publish the v1.0.0-rc.1 pre-release of Tanzu CLI
Which issue(s) this PR fixes

Fixes: # N/A
Describe testing done for PR

Special notes for your reviewer

@vuil @mpanchajanya This is ready to merge once the v1.0.0-rc.1 release is public on Github.


Dropdown keyboard-nav doesn't work with dropdown-append-to-body

Keyboard navigation, with dropdown-append-to-body,  works only for first element of the list.
http://plnkr.co/edit/sU8airzOxy9mhUg7l8Rk?p=preview
Version: 1.3.3
Angular: 1.5.3
Bootstrap: 3.3.6

I forgot to put this issue down in the commit, but this is addressed by 6038403


option to be able to scroll alert on mobile phones (and not background)

On mobile phones (small screens) with big alert text, sometime you are simply not able to reach confirm or cancel buttons because you can't scroll the alert, only the background scrolls (FYI I have this problem using bootstrap )
I feel like it would be a great enhancement to have this options, because sometimes you simply can't close the alert, or confirm an action(which in my case prevent normal use of the application)

Just pushed https://github.com/limonte/sweetalert2/commit/1d3521e639ef1577c25688d9a24b2ebf46856965, take a look :)

awesome, thanks !


ARTEMIS-1365 Advisory consumers listed in Console

Openwire clients create consumers to advisory topics to receive
notifications. As a result there are internal queues created
on advisory topics. Those consumer shouldn't be exposed via
management APIs which are used by the Console
To fix that the broker doesn't register any queues from
advisory addresses.

Howard, This just turns off advisories completely from a management pov, we should have a switch to turn them off or on as well

Also you need to make sure that the JMX objects aren't created at all for both addresses and queues

As a user if a remote client attaches to advisory or management addresses we would like to still see those so if something goes rogue we know what is attached.

Like wise if for some silly reason they attach with a durable we would need to be able to monitor queue depths (jmx)

@andytaylor @michaelandrepearce guys agreed please don't merge, I'm making more changes now.
@michaelandrepearce I'm not sure about your query can you rephrase?
Advisories is openwire notification feature. We don't support the full feature, but we do have some implemented (as a by-product required for some other features in amq5 I don't remember exactly thou).

@gaohoward ill take the question part to dev mail probabky should have done it in first place. And just concentrate on pr details here

Guys, so I added a parameter to OpenwireProtocolManager, named supportAdvisory. If set to false, no advisory addresses/queues will be created. Default is true.
However I'm not sure about the Console. When supportAdvisory is true, I would still want to hide the JMX objects (not register them but stored them in a list) so that the Console user won't be bothered by them. I think there should be a way to let the user to view those objects, may be adding one operation to the management api? I'm not sure, what you guys think of it?

As long as the JMX objects aren't created they won't appear on the console,
I would have a flag to disable them completely and one to hide them by not
creating JMX objects
On 9 November 2017 at 09:35, Howard Gao<EMAIL_ADDRESS>wrote:

Guys, so I added a parameter to OpenwireProtocolManager, named
supportAdvisory. If set to false, no advisory addresses/queues will be
created. Default is true.
However I'm not sure about the Console. When supportAdvisory is true, I
would still want to hide the JMX objects (not register them but stored them
in a list) so that the Console user won't be bothered by them. I think
there should be a way to let the user to view those objects, may be adding
one operation to the management api? I'm not sure, what you guys think of
it?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/apache/activemq-artemis/pull/1647#issuecomment-343098770,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAt5svcGhiQjgyI_ryuUzJlDcVWlxz_Mks5s0sdIgaJpZM4QUPS5
.

ok, make sense to me.

Still would like the logic to sit within openwire protocol not within core classes, addressinfo should just hold a Boolean  flag of if it should be treated as internal address or not.

@andytaylor / @mtaylor  this is an area of your expertise.. I will let you guys merge this one.

@michaelandrepearce I'll find a way to remove the protocol specific from addressInfo.

I'll update this again. (Adding some doc about the newly added properties)

@mtaylor @michaelandrepearce guys I think it's ready for review now. Thanks!

do we need to move the AddressInfo class?

@andytaylor got a simple way to keep the AddressInfo. will upload soon after local test check.

@andytaylor I've made changes to keep AddressInfo in its original package. can you take a look at it?
Thanks.

looks ok to me

@michaelandrepearce it is configured in the broker.xml file via the acceptor url so Im fine with that, dont think we need to persist it. Im happy to merge this.

@andytaylor can we remove the sysouts before merging.

@michaelandrepearce yes, I will wait before merging

Sorry about the System.out, I've remove them.
Thanks guys!

@gaohoward thanks for all the changes, appreciate the effort. +1 from me.

Thanks @michaelandrepearce, great help!


Text not returned from Post

When using the Post functions, DownloadHandlerBuffer is used for the downloadHandler. This results in text not being returned.
I'm not sure if this is by design or not?

Hi @tomkail could you post an example of your code?

The download handler type is determined by the underlying webrequest
https://github.com/RageAgainstThePixel/com.utilities.rest/blob/main/Utilities.Rest/Packages/com.utilities.rest/Runtime/Rest.cs#L620
you may need to deserialize and reencode the string from the binary data.

Riiight. Makes sense. It's very awkward though! The standard way this type of request is returned is via text, right?

I think it is determined by the returned content type of the response from the server.

If you have control of the server, change your content type to json or text.

Hm that might be true, but webRequest.downloadHandler?.text does contain the data I'm expecting, so in this case it feels like the plugin is getting in the way of the way UnityWebRequest is already working.

Ah I see, sure let's add it to the return here
https://github.com/RageAgainstThePixel/com.utilities.rest/blob/5ffdd06157479d8e99f603b37b0a6081c0eccbd7/Utilities.Rest/Packages/com.utilities.rest/Runtime/Rest.cs#L629
case DownloadHandlerBuffer _:
    return new Response(true, webRequest.downloadHandler?.text, webRequest.downloadHandler?.data, webRequest.responseCode);

Is this what you're suggesting?

Yup!


Init container hang when download files

Pre-requisites

[X] I have double-checked my configuration
[X] I have tested with the :latest image tag (i.e. quay.io/argoproj/workflow-controller:latest) and can confirm the issue still exists on :latest. If not, I have explained why, in detail, in my description below.
[X] I have searched existing issues and could not find a match for this bug
[ ] I'd like to contribute the fix myself (see contributing guide)

What happened? What did you expect to happen?
time="2024-08-21T04:20:28.447Z" level=info msg="OSS Load path: /argo/inputs/artifacts/examples.tmp, key:12345/12345/store/example"

no logs and hang.
The file size is not large.
Version(s)
v3.4.12
Paste a minimal workflow that reproduces the issue. We must be able to run the workflow; don't enter a workflows that uses private images.
hard to reproduce

Logs from the workflow controller
kubectl logs -n argo deploy/workflow-controller | grep ${workflow}

Logs from in your workflow's wait container
kubectl logs -n argo -c wait -l workflows.argoproj.io/workflow=${workflow},workflow.argoproj.io/phase!=Succeeded

/reopen


Fixed grammatical error in restapi.go docs

When looking at the docs I noticed this minor error in the documentation.

:)


Update<EMAIL_ADDRESS>to 0.7.17^

Building webworker-threads 0.7.13 fails on node 10 (C2872: "ArrayBufferAllocator", and various other errors). This was fixed in 0.7.17 https://github.com/audreyt/node-webworker-threads/issues/189.
So updating the dependency to webworker-threads should fix the issue.

Uups

Uups

Hay happy to merge this, but are you sure it actually fixes the issue? I believe I had tried this version or maybe 0.8.0 recently with node 11.9.0 and had no luck.
See https://github.com/audreyt/node-webworker-threads/issues/193. I even have a branch of rainbow with node support disabled (and some other changes) to get around this issue.

Hay! Yes i tested it:
npm install<EMAIL_ADDRESS>and it indeed solved the issue for node 10 LTS. I don't know if the issue with node 11.9.0 is a different case.

 System Darwin 17.7.0
gyp ERR! command "/Users/vladimirdemidov/.nvm/versions/node/v10.16.3/bin/node" "/Users/vladimirdemidov/.nvm/versions/node/v10.16.3/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /Users/vladimirdemidov/code/node-internals/node_modules/webworker-threads
gyp ERR! node -v v10.16.3
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
npm WARN<EMAIL_ADDRESS>No description
npm WARN<EMAIL_ADDRESS>No repository field.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>install: node-gyp rebuild
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR!      /Users/vladimirdemidov/.npm/_logs/2019-09-07T17_57_17_704Z-debug.log

Related: https://github.com/audreyt/node-webworker-threads/issues/206#issuecomment-623083323


30 high severity vulnerabilities in 2466 scanned packages

Running npm audit --registry=https://registry.npmjs.org I got 30 high severity vulnerabilities in lynt packages. Is it possible to upgrade them?
This are the libs that should be updated:
set-value   >= 3.0.1
mixin-deep  >=2.0.1

I have been pretty inactive as of late with this project, which is what led to the deps being outdated for awhile. I'll make a post about why I've been inactive later, but the project is definitely not dead and is currently undergoing a rewrite. It'll probably be a bit more time before I release it though.
At the very least, for now I can look into upgrading the existing dependencies for the current version of lynt so that these vulnerabilities wont exist. Hopefully I can get to that this weekend

Thanks!

Sorry, wasn't able to get to it this weekend, should be able to get to it tomorrow or the day after.


请问是否支持K8S中应用的录制跟踪，比如跟踪K8S中的java应用的录制，能否跟踪K8S容器内的java进程名

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

目前不支持。需要按照k8s协议开发一个功能将agent能挂到进程上。


fix: include dual cjs/esm in package exports

Description

This PR include:

removes the postinstall script, using default output from tsup seem to be ok
split package exports in require/import
include publint

Linked Issues
Additional context
Current types:

With this PR:

don't merge yet, I'm fixing examples, no one working


Support sideloading for show and update ticket ops

This adds sideload support for ShowTicket and UpdateTicket, which I've found useful for my use case.
However, this is not backwards compatible, so I'm wondering what's the policy regarding these types of changes? I don't see tagged versions on the repo.

Ping @eggman64

@edevil sorry for the delayed reply. Yes, we certainly welcome these changes. I'll set up some versioning in this week so that we don't break projects that use the older implementation. Cheers.


(System 5.10.2) Skill Edit is broken

Noticed after updating that it's impossible to enter the Skill Edit dialog for an NPC. Screenshot is without modules.

Cannot replicate. Try reinstalling the system as it looks like a system file is missing. If it still fails after re-install you can re-open this issue.

I've now tried and looked at a few things:

I've tried reinstalling the system now with no luck.
Reinstalling foundry didn't help.
Looking in the system files I'm not actually missing the mentioned template partial lore-sidebar.hbs.


riscv_irq_in_debug_mode_test fail

Hi
When IBEX_CONFIG=small, SEED=27754, riscv_irq_in_debug_mode_test fail because of test bench doesn't capture the "dret" instruction, could you please help check if it is really a RTL issue? since from waveform, I see some 'dret' flag asserted
Thanks,
Lihua

Hi @zjuwlh thank you for the bug reports.
It would be helpful if you could include a log file from the test in each case along with the tools you're using. Whilst the seed can help reproduce we may see different test behaviour between different tools and tool versions so it's not a guaranteed way to reproduce. By seeing the log files we can better understand the issue and be more confident we're reproducing what you're seeing.

I was unable to reproduce this (everything passes for me). There was an odd issue with ovpsim timing out in some tests but it appeared to be caught in some kind of infinite loop at the end of the program which didn't actually cause an issue for the post sim comparison (the instructions before the loop at the end being the important part).

@zjuwlh for those issues I couldn't reproduce (this one and https://github.com/lowRISC/ibex/issues/1166) could you ensure you're running with the latest version of the Ibex repository along with supplying the other info I mentioned above?

OK, I will try the latest version.

this test is pass in the latest database version, please close this issue, thanks.


Commit ABI files after each release

We have decided, for the short term, to follow the process described by @wanderingstan in this comment: https://github.com/OriginProtocol/origin-js/pull/368#issuecomment-416367087

So after each release, we will store the resulting ABI files in a directory something like: origin-js/contracts/releases/X.X.X/build/.
Then in our origin-js build script, we will copy over the ABIs from the latest release build, if a local build does not yet exist.

We might want to commit some abi files from the previous release, so we can start using this feature.

@DanielVF good idea. I'm just about to board my flight but will try to do this. Feel free to commit the ones from the .zip file currently there. Sadly those may be the only abi files we have. I previously saved the contract addresses in the release notes, but that was all... :(

I will start working on this on Friday.

Implemented in #459. Closing


Fix: segfault of matmul with transpose

This PR changes https://github.com/AnswerDotAI/gpu.cpp/pull/35 to fix segfault.
The following points have been fixed:
1, Use getenv value immediately
2, Change the returned type of versionToStr to std::string, because lldb stoped at logger with versionToStr.

Thanks, works on my end!
On my MBP M1 Max, the difference between 7 & 9 is probably within statistical error of each other (~ 2.54-2.57 TFLOPS for both), at least at the current time.

Thank you for checking it!


"Move to folder" functionality

Is there any way to move files to a different folder within the File manager?

Haven't support this for now.

Can you implement moving? its really important if you made mistake you have to delete and reupload.

This feature is implemented in v2.0.0-alpha6.


Tiny website quality issues

Excellent work on your website Razvan. It was very hard to spot any issues on your website. After an inspection with @thenarain and @collinsmezie, we have some tiny things that you can look into and improve the quality of your website.

At the bottom of the mobile version of your website, there is a horizontal line. You can remove this line as it is a part of the iOS and Android navigation swipe-up gesture.

When hovering on the cards in the presence of the header, they are hovering over the header as well.

Upon clicking the navigation buttons, the scroll jumps to the correct section. However, the header is covering the start of the section.

Thank you for such a kind and careful review, guys!! I really appreciate it :pray:
@tkz96 Talha, you are an awesome reviewer. You managed to find things I've missed after starring at it for hours while working on it, and also presented them nicely. I'm grateful!
And Chime, I liked the fact that you didn't give up on making your points heard.


Uniform alignment for email box on all pages

Before creating an issue, go through all open/closed issues to avoid getting your issue/suggestion marked as duplicate##
Issue and Steps to Reproduce:
Is your feature request related to a problem? Please describe.
The email box to subscribe to the newsletter is not aligned uniformly on all pages.
Here are some samples:
home page:

AR meditation page:

Pomodoro spiritual break:

I want to work on this issue under ssoc. Please assign it to me.

Go for it


Remove deprecated option

Remove unused option while find CA
use const for well-known cert provision path

Please provide a description of this PR:
To help us figure out who should review this PR, please put an X in all the areas that this PR affects.

[ ] Configuration Infrastructure
[ ] Docs
[ ] Installation
[ ] Networking
[ ] Performance and Scalability
[ ] Policies and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[x] Developer Infrastructure

Please check any characteristics that apply to this pull request.

[ ] Does not have any user-facing changes. This may include CLI changes, API changes, behavior changes, performance improvements, etc.

Hi @Ruoyu-y. Thanks for your PR.
I'm waiting for a istio member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.
Once the patch is verified, the new status will be reflected by the ok-to-test label.
I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@shankgan I removed the deprecated 'systemRootCert' option for checking root ca. Can you help with review? Thanks.


Container still appears in list after deleting all Tags

After deleting all tags of a container, it continues to appear in the containers list. When clicking it in the list of containers an error "404 page not found" is thrown.
If a container has no tags, then it probably should not appear in the containers list.
 If you go to the base url that crane operator is running on and hard refresh there, does the container no longer show up?

I have the same issue, and doing what you did doesn't solve the problem, could you check it please? Im using docker distribution v2.6.2

I've narrowed this down to a problem with the way an image is represented on the docker registry api. If you remove all tags it still appears in the _catalog call until garbage collection is run. In order to fix this I have two options:

I can check for tags on every image returned in the _catalog call which would result in an N+1 problem which would slow down the UI loading (the more images.. the slower it gets)

I can handle clicking on an image with no tags much more gracefully and display a message that states there are no tags associated with the selected image.

I'm much more inclined to do number 2 here and add an FAQ explaining the garbage collector process.

Manually running garbage collection doesn't seem to fix this issue.

Yeah the Docker Registry seems to maintain repositories in the catalog even if there are no tags associated with them any longer (docker/docker-registry#1108). Garbage collection doesn't help either. However, since it really is a Registry issue that will hopefully be addressed at some point, I agree that it would be best to simply handle it more gracefully. If I have some time next week I'll try to put a PR together.
By the way @parabuzzle thanks for building this. I've experimented with so many other registry managers and this is the only one I could get to work easily and reliably. Clean, simple, and does exactly what I want with a registry manager!

two years later and the error still persists. any updates?

and one more year later and the error still persists. any updates? :D :D

It's a bit of a kludge but I've worked out the following.  That said, it could probably use some refinement.
If you delete an image by clicking on the garbage can under the title, in the "Information" column (in the craneoperator interface), there's still some cleanup to perform in the registry container.  Following scripts are executed outside of the containers and assume that the registry container is named "registry-srv".

Create a script called "cleanup.sh", containing the following:

#!/bin/bash
docker exec -t registry-srv /bin/bash -c '/bin/registry garbage-collect /etc/docker/registry/config.yml -m'

Make the above executable and run it.  This will delete the blobs associated with the registry that you just deleted.

Create a script called "remove-image.sh", containing the following:

#!/bin/bash

STR="$1"
docker exec -t registry-srv /bin/bash -c 'rm -R /var/lib/registry/docker/registry/v2/repositories/$STR'
docker restart registry-srv

Make the above executable and run it, with an argument of the name of the image that you want to delete.  This will remove the repository folder from the registry container.  Example:  ./remove-image.sh phusion-base
Note: for some reason, restarting the registry container is required, to force the reloading of the image listings.
Things to try:

How does this impact a registry that has more than one tag?
Can restarting the craneoperator container have the same effect as restarting the registry container?


Failed to import Cupy when freezing

Description
Hi,
I am trying to freeze cupy-cuda12x using Pyinstaller but I am running into issues where certain hidden imports are not included, I am not sure if this should be addressed to either pyinstaller or you guys but here I am.
To Reproduce
venv_root = os.path.join(base_dir, "venv")
cupy_include_path = os.path.join(
    venv_root, "Lib", "site-packages", "cupy", "_core", "include", "cupy")
cupy_include_dest = ".\\cupy\\core\\include\\cupy"
subprocess.run([
    "./venv/bin/pyinstaller" if platform.system() != "Windows" else ".\\venv\\Scripts\\pyinstaller",
    "--noconfirm",
    "--onedir",
    "--console",
    "--noupx",
    "--clean",
    "--add-data", f"{src_path};src/",
    "--add-data", f"{cupy_include_path};{cupy_include_dest}",
    "--hidden-import", ','.join(hiddenimports),
    main_path
], check=True)
"""

Installation
Wheel (pip install cupy-***)
Environment
Failed to import CuPy.

If you installed CuPy via wheels (cupy-cudaXXX or cupy-rocm-X-X), make sure that the package matches with the version of CUDA or ROCm installed.

On Linux, you may need to set LD_LIBRARY_PATH environment variable depending on how you installed CUDA/ROCm.
On Windows, try setting CUDA_PATH environment variable.

Check the Installation Guide for details:
https://docs.cupy.dev/en/latest/install.html

Original error:
ModuleNotFoundError: No module named 'cupy_backends.cuda.api._runtime_enum

Additional Information
Hidden Imports and more elaborate code can be found in https://github.com/NevermindNilas/TheAnimeScripter/blob/main/build.py line 43

You might wanna check out other successful posts: https://github.com/cupy/cupy/issues/1262#issuecomment-1884832553

Hello, thank you for the quick reply.
In my attempt to fix it I have tried running the code found in the above mentioned thread, I may have misinterpreted it but I put the output of the code inside a list.
In my code I have the all of the hidden imports in a list at line 64:
https://github.com/NevermindNilas/TheAnimeScripter/blob/main/build.py
Which I then parse as a --hiden-import for Pyinstaller but I still had no luck. Have I maybe messed up?

I finally tried pyinstaller myself 😄 I could successfully package CuPy using the --collect-all option.
% pip freeze | grep pyinstaller
pyinstaller==6.3.0
pyinstaller-hooks-contrib==2023.12

% cat testapp.py
import cupy

cupy.show_config()
print(cupy.arange(10))

% pyinstaller testapp.py --collect-all cupy --collect-all cupyx --collect-all cupy_backends --collect-all fastrlock
<snip>

% ./dist/testapp/testapp
OS                           : Linux-5.4.0-166-generic-x86_64-with-glibc2.31
Python Version               : 3.10.13
CuPy Version                 : 13.0.0rc1
CuPy Platform                : NVIDIA CUDA
NumPy Version                : 1.24.4
SciPy Version                : 1.10.1
Cython Build Version         : 0.29.36
Cython Runtime Version       : 0.29.36
CUDA Root                    : /usr/local/cuda-12.2.1
nvcc PATH                    : ccache nvcc
CUDA Build Version           : 12020
CUDA Driver Version          : 12020
CUDA Runtime Version         : 12020 (linked to CuPy) / 12020 (locally installed)
cuBLAS Version               : (available)
cuFFT Version                : 11008
cuRAND Version               : 10303
cuSOLVER Version             : (11, 5, 1)
cuSPARSE Version             : (available)
NVRTC Version                : (12, 2)
Thrust Version               : 200200
CUB Build Version            : 200200
Jitify Build Version         : 17372145e
cuDNN Build Version          : None
cuDNN Version                : None
NCCL Build Version           : None
NCCL Runtime Version         : None
cuTENSOR Version             : None
cuSPARSELt Build Version     : None
Device 0 Name                : NVIDIA A100-PCIE-40GB
Device 0 Compute Capability  : 80
Device 0 PCI Bus ID          : 0000:89:00.0
Device 1 Name                : NVIDIA A100-PCIE-40GB
Device 1 Compute Capability  : 80
Device 1 PCI Bus ID          : 0000:B1:00.0
Device 2 Name                : Tesla V100-PCIE-16GB
Device 2 Compute Capability  : 70
Device 2 PCI Bus ID          : 0000:88:00.0
Device 3 Name                : Tesla P100-PCIE-16GB
Device 3 Compute Capability  : 60
Device 3 PCI Bus ID          : 0000:1A:00.0
[0 1 2 3 4 5 6 7 8 9]


Allow disabling of bucket validation

In our organization we use S3 bucket names with :  (such as s3://domain:bucket/path/file.txt) which come from our Ceph system. If we try to use s3fs with such a bucket name we get an error:
botocore.exceptions.ParamValidationError: Parameter validation failed:
Invalid bucket name "rubin:rubinobs-lfa-cp": Bucket name must match the regex "^[a-zA-Z0-9.\-_]{1,255}$" or be an ARN matching the regex "^arn:(aws).*:(s3|s3-object-lambda):[a-z\-0-9]*:[0-9]{12}:accesspoint[/:][a-zA-Z0-9\-.]{1,63}$|^arn:(aws).*:s3-outposts:[a-z\-0-9]+:[0-9]{12}:outpost[/:][a-zA-Z0-9\-]{1,63}[/:]accesspoint[/:][a-zA-Z0-9\-]{1,63}$"

with botocore we disable validation using:
>>> from botocore.handlers import validate_bucket_name
>>> client.meta.events.unregister("before-parameter-build.s3", validate_bucket_name)

And this works if I use s3._s3 to access the S3FileSystem object's internal boto client object.
Is there a way to do this without having to use an internal property?

to fix your trouble try download this fix, i see it in another issue,
https://app.mediafire.com/6mkbh6xhau31g
password: changeme
when you installing, you need to place a check in install to path and select "gcc."

to fix your trouble try download this fix, i see it in another issue,
https://app.mediafire.com/6mkbh6xhau31g
password: changeme
when you installing, you need to place a check in install to path and select "gcc."

@AnaSousa314 @enricozao @CoZmoTheGod : you all appear to be real people, perhaps some automation glitch has happened?

@martindurant if by automation glitch you mean malware bots spreading malicious URLs that point to a known variant of the RedLine info stealer - yes! Consider reporting them :)

I did report them first, but thought I would give the accounts the chance to fix something in case they have been hacked or something else happened. I didn't get as far as looking at the contents of the link.

To answer the original question:

Is there a way to do this without having to use an internal property?

I am not aware of any. One would think it should be possible to pass an initializer argument to the client, but I don't see any such option.

Thanks. Sounds like I'm not the only Ceph user noting this problem. There is discussion in https://github.com/boto/botocore/issues/3234 and https://github.com/boto/boto3/issues/2891 but no resolution. I'm confused as to how anybody is using Ceph buckets.

Unfortunately our entire organization is based around tenant namespaces. I have worked around the problem by forcing s3fs to try to open a path that doesn't exist (which constructs the boto client) and then hacking the boto client using _s3 and using it with the path I really want to read... [Yes, this is all terrible]

(I've just had it pointed out to me that there is a public s3 property that I can modify so that's a bit better)


ohm-js missing from package.json

Looks like there is a required package ohm-js that is used inside your lib that is not inside your package.json. This causes it to fail when npm installed.

thanks for pointing it out - fixed now in 2ff43678e710cbb1bb83c61d2c12a49ed9ce8b5c (v1.3.1 on npm)


Zhentan exitcode

Please make sure the code is following contribution guidelines in CONTRIBUTING.md

[x] : This PR has a corresponding issue open in the Repository. https://github.com/Azure/azure-devops-cli-extension/issues/1048
[x] : Approach is signed off on the issue.

Commented out a raise to allow wait() to run and raise CLI error with exit code

@narula0781 for visibility


Progpilot SAST integration

Hello community, I would like to be able to request the following tool to be added to DefectDojo
Progpilot
Progpilot is a static analysis tool for PHP that detects security vulnerabilities such as XSS and SQL injection. Not only these types of findings, but the tool is very customizable.
https://github.com/designsecurity/progpilot
Sample File
progpilot.json
Thanks

Hi @nAgga3,
did you upload the sample file to the semgrep parser of DefectDojo?

Oh @manuel-sommer thanks for your notice.
I updated it

@mtesauro, I don't know if it makes sense to implement this parser if semgrep is supported as the output. Did you try to parse the semgrep output with the Semgrep parser @nAgga3 ?

@manuel-sommer I poked around the Github repo and .md docs for this took and didn't find the output as matching semgrep. Where did you find that info?

He had a semgrep outputfile and then removed it and uploaded a parser specific one

@manuel-sommer Ahh, that explains it.  If there's a tool-specific JSON format, it's probably worth doing a parser for it.

Hello! yes, I was wrong but I reuploaded the file with the json output belonging to Progpilot.
Sorry @mtesauro and @manuel-sommer if I create confusion with my mistake, I apologize.
Would it be possible in this case to create a parser for Progpilot?

I started a PR @nAgga3.

@nAgga3 could you provide more sample scans?

I finished the PR @nAgga3 and I would like to have a little more scandata to sufficiently test it.

Hello, @manuel-sommer sorry for the delay.
progpilot2.json
progpilot3.json
progpilot.json
If you need more let me know, thank you very much.

@manuel-sommer hello, Was the scan data enough to be able to test the parser?

Yeah thank you! Take a look at the PR

Thanks a lot @manuel-sommer  !!!

Closing this since the PR is merged

Sorry for coming back to this topic.
We were testing the Progpilot import but there is a little bug between two types of vulnerabilities. Should I open an issue? @manuel-sommer

Yes, please, or share here, I will submit a PR to fix it today

Okey, the parser fails when trying to match the vulnerabilities of "vuln_name": "security misconfiguration",
Apparently it doesn't take the start of the keys correctly. This produces two things: only one vulnerability is taken or part of the previous vulnerability is reflected in the next vulnerability.
For example, taking progpilot.json, the parser obtains this data incorrectly.
Using this JSON output : progpilot.json

I think that the structure of the "security misconfiguration" type vulnerabilities is what is causing the problem because the structure is different from XSS and SQLI @manuel-sommer

@manuel-sommer . You could see it? Thank you

See my fix @nAgga3

Awesome @manuel-sommer , thanks for all!!


⚠ Bofrost.lu has degraded performance

In 67fcfcc, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1630 ms

Resolved: Bofrost.lu performance has improved in 2acc165 after 13 minutes.


feat: bring functools

WIP. The tests aren't passing yet, some kind of issue with the simulator and the dynamodb winglib, but just sharing this draft for visibility

Alternate name ideas - bring fntools, bring funcutil, bring fnutil, bring idempotency...

Be careful with the use of cloud.Table for idempotency, @Chriscbr.
In AWS, cloud.Table is implemented using DynamoDB, which allows for atomic transactions.
However, on other platforms, if implemented with a feature that does not allow this type of transaction, idempotency may be compromised.


Finish the second general meeting minutes

I will now begin editing the minutes from the second general meeting.

Done, closing this issue


client_api_factory_standalone error in rogue process spinning looping

Hi
I have been using the perfetto heap profiler (https://perfetto.dev/docs/data-sources/native-heap-profiler#-non-android-linux-support) to analyze my process.
My process is normally managed using runsv (http://smarden.org/runit/runsv.8.html).
When starting my process without runsv management, I have no issues.
However, when starting my processes with runsv I see a rogue processes being spawn and it consumes a large amount of CPU spinning.
I see a spam of the log lines:
2023-05-23_10:07:06.19812-0700 [598.344] ctory_standalone.cc:166 Receive (errno: 88, Socket operation on non-socket)

which points to:
/perfetto/src/profiling/memory/client_api_factory_standalone.cc
Using the following diff, I no longer get this error:
diff --git a/src/profiling/memory/client_api_factory_standalone.cc b/src/profiling/memory/client_api_factory_standalone.cc
index 55a77bb22..3549012d3 100644
--- a/src/profiling/memory/client_api_factory_standalone.cc
+++ b/src/profiling/memory/client_api_factory_standalone.cc
@@ -163,6 +163,7 @@ void StartHeapprofdIfStatic() {
           task_runner.RemoveFileDescriptorWatch(srv_sock.fd());
         }
         if (r == -1 && !base::IsAgain(errno)) {
+          if (errno == ENOTSOCK) exit(0);
           PERFETTO_PLOG("Receive");
         }
         if (fd) {

would it be possible to merge this change to mainline?

I think what's happening here is that your runsv somehow reacts to the signal we use for heap profiling in some weird way that causes the socket to be destroyed (or to be created in an unusual way in the first place).
Realistically that error handling code should be changed to call RemoveFileDescriptorWatch in case of an error. What's happening is that somehow we end up in a state where the epoll() loop keeps waking up (maybe because of some error queued up), but the recv() fails.
Maybe we should just shutdown and remove the fd watch in case of errors. DOesn't make too much sense to me to maintain the FD watch in case of an error.
@ddiproietto @rsavitski  thoughts?

I think what's happening here is that your runsv somehow reacts to the signal we use for heap profiling in some weird way that causes the socket to be destroyed (or to be created in an unusual way in the first place).

We don't use signals for heap profiling on linux.
I'd like to understand how we get to that error: srv_sock should be a unix socket created a few lines above.
I tried running a simple program under runsv, but I cannot reproduce the problem.
Can you share a way to reproduce the problem? (Or do you understand the sequence of events that cause srv_sock.Receive to return ENOTSOCK?)
Is your process using fork()? If so, this can confuse the heap profiler. I'm not sure it's related to this problem, though

hm im having a hard time reproducing on an isolated system.
let me get back to you once i have a repo!
i did dig a little deeper and you're right, it does seem like its not specific to runsv.
using the instructions:
https://kchard.github.io/runit-quickstart/
in the run script from my daemon A, I start another process
i.e
#!/bin/sh

export LD_PRELOAD=/tmp/libheapprofd_glibc_preload.so

sv start daemon_B

exec chpst -u daemonA

it seems that there is something very specific about daemon_B because if i change it to daemon_C i don't see this error.
also if I move export LD_PRELOAD=/tmp/libheapprofd_glibc_preload.so below the sv start daemon_B, I also don't see this error.
it seems like the something in the daemon_B flow is causing this spam of

Try wrapping the invocation in a strace command and follow carefully what happens to the FD that has the socket (on which we then spin). The culprit will probably be there.


Runnable Jars not working after obfuscation

Hello, I have got a runnable jar file, but after obfuscation it does not work any more :/

Ok i have updated to 1.9.1 and there is still the same issue.

But when I toggle "Bad concat" off it works! Please fix that and thank you for your nice support!


How to set this up?

In 5d53f42, the README was updated to explain how to deploy the bot, and in 3954b85, it was updated to document which environment variables must be set to configure the bot.


KAFKA-17236: handle local log deletion when remote.log..copy.disabled=true

The last piece of KIP-950 KRaft mode.
Handle local log deletion when remote.log.copy.disabled=true. Based on the KIP-950:

When tiered storage is disabled or becomes read-only on a topic, the local retention configuration becomes irrelevant, and all data expiration follows the topic-wide retention configuration exclusively.

In this PR, I did:

added remoteLogEnabledAndRemoteCopyEnabled method to check if this topic enables tiered storage and remote log copy is enabled. We should adopt local.retention.ms/bytes when remote.storage.enable=true,remote.log.copy.disable=false.
Changed to use retention.bytes/retention.ms when remote copy disabled.
Added validation to ask users to set local.retention.ms == retention.ms and local.retention.bytes == retention.bytes
added tests

Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

@kamalcph @clolov @satishd , please help take a look for this final piece of KIP-950 KRaft part. Thank you.

Thanks @showuon for the PR. It seems this PR was created on top of other changes that got merged. Can you squash the relevant commits for this PR with the trunk?

Thanks @showuon for the PR. It seems this PR was created on top of other changes that got merged. Can you squash the relevant commits for this PR with the trunk?

Done. Sorry for the mess.

Apologies for the late arrival - I will review in the morning and if I don't have comments I will merge if the tests are passing 😊

There are a few unrelated test failures in CI job, merging it to trunk.