Crypto api

Closes first part of #751. Proof of concept secp256k1 signature verification, for Cosmos signatures.
Based on the secp256k1 crate, which is a wrapper around libsecp256k1, a C library by Pieter Wuille for producing ECDSA signatures using the SECG curve secp256k1.
I don't think we'll end up merging this, as after talks I'm now working on a new impl, based on the k256 crate. Which, besides being Rust-only, includes support for ed25519 and the hash algorithm Ethereum uses (keccak256).
So, we'll in principle have an all-in-one, Rust-only solution with that crate.
Creating as Draft PR anyway. For feedback / reviews, and also for reference / future uses.

Great to see this working as an intermediate step. Closing as #770 is a superiour alternative.


Fixes #3699 - external volumes with update strategy

According to #3699 defined external volumes should also create a standard update strategy.

@kolloch tests are green. Please let me know if the result conforms to what you expected it to be.

Looks good - Thanks!


Touch the model when reassigning

Hi,
We are looking at using this gem and it looks like a great fit.  We would like to be able to tell what models have changed as a result of the rebalancing.  This is because we store the ordering column in a search index and don't want to have to update the entire list when a rebalance occurs.
Would you take a patch upstream that included a config option touch_record_when_rebalancing?
Thanks,
Adam

Closing this for now. Happy to look at it again if there's a need.


WisBlock Audio Library added, but not visible in the library manager of Arduino IDE

We published the WisBlock Arduino Library but it is not showing in the ArduinoIDE.
What does this error message mean:
2022/09/07 01:23:47 Scraping https://github.com/RAKWireless/RAKwireless-Audio-library.git
2022/09/07 01:23:49 Error fetching repository: reference delta not found
2022/09/07 01:23:49 Removing clone and trying again
2022/09/07 01:23:52 Error fetching repository: reference delta not found
2022/09/07 01:23:52 Leaving...

How can I solve it? I don't know what reference delta not found means.

Hi @beegee-tokyo. I explained the situation here: https://github.com/arduino/library-registry/pull/1792#issuecomment-1238822950
For any further discussion, please use the original issue https://github.com/arduino/libraries-repository-engine/issues/109 so that we can keep all information about the bug consolidated in a single place.


Regent: non-determinism in code generation

Regent currently produces code non-deterministically in a way that causes dynamic control replication to fail. Ideally, at least the sequence of generated runtime calls would be deterministic.

The easy part of this fix is now in: Regent now hashes regions by their ID, so to the extent that non-determinism comes from putting regions into hash tables, it should be fixed. Assigning to @lightsighter to confirm.

The non-determinism still exists.  Here's how to reproduce it:

Checkout the 'control_replication' branch
Build regent like this: CC_FLAGS=-DDEBUG_LEGION_COLLECTIVES ./install.py --debug --gasnet
Run this command: LAUNCHER="mpirun -n 2 -H localhost --oversubscribe --bind-to none -x INCLUDE_PATH -x LD_LIBRARY_PATH -x TERRA_PATH -x REALM_FREEZE_ON_ERROR" ./regent.py tests/regent/run_pass/optimize_spmd_multilevel1_2d.rg -ll:cpu 2 -fflow-spmd 1

Both processes should hit an assertion at legion_context.cc:10249 that looks like this:
terra: /home/mebauer/legion/runtime/legion/legion_context.cc:10249: Legion::Internal::CollectiveID Legion::Internal::ReplicateContext::get_next_collective_index(Legion::Internal::CollectiveIndexLocation): Assertion `location == actual_location' failed.
What this means is that the two replicated shard tasks have done runtime calls in different orders. If you look at the stack traces from the assertions you'll be able to see which runtime calls. For example, in the most recent run that I did, I see shard 0 trying to create a logical region while shard 1 is trying to create a phase barrier. My guess is that if you pretty print the code for the two top-level tasks before they run you will be able to see the different runtime calls in different orders.
Assigning back to @elliottslaughter

You should also be able to reproduce this in the master branch with -fpretty and looking at the order of the runtime calls in the pretty printed code. It's much easier to detect it though in the control replication branch where the runtime will find it for you.
I should also point out that the runtime check here is sound but not complete. It will detect when runtime calls of different kinds don't align, however, it won't be able to detect a case like this:
shard 0:
x = create_logical_region()
y = create_logical_region()
shard 1:
y = create_logical_region()
x = create_logical_region()
So be careful of such cases in your generated code because the runtime will think that those are just fine when in practice they will actually cause all sorts of problems.

This is now the only failing regent test case in the control replication branch. (I think there could be more though if we had annotations on marking a task 'replicable'.)

This has been fixed in a new branch called deterministic. This is in a branch because it breaks the auto-parallelizer. With the fixes, you can observe that the code (via -fpretty 1) is identical in multi-node runs (it produces an empty diff). However, it appears that there is still a shutdown crash.
Assigning back to @lightsighter to confirm and to @magnatelee to fix the parallelizer.

@magnatelee FYI the changes are that the region universe and the constraints are created via data.newmap() and data.new_recursive_map(2), respectively. That means you can't use pairs() and rawget() etc. on these objects anymore, and if you want to copy them, you need to use :copy() instead of rolling your own. Somehow the parallelizer is generating code that is breaking subsequent passes, so it's probably not respecting this somehow.

@elliottslaughter Is the deterministic branch downstream of the control_replication branch or is it just downstream of master?

deterministic is downstream of master only.

Now tracking test status in #339. Will merge that PR once the tests are passing.

Merged. Assigning to @lightsighter to confirm.

Verified that this works now on the control replication branch. Closing the issue for now. Will re-open it if we encounter any future kinds of non-determinism that occur in Regent code generation.


Add test for links to other markdown docs.

This adds a unit test to check that the documentation markdown files are linking to valid markdown files.
Modifications
Describe the modifications you've done.
Verifying this change

[ ] Make sure that the change passes the CI checks.

(Please pick either of the following options)
This change is a trivial rework / code cleanup without any test coverage.
(or)
This change is already covered by existing tests, such as (please describe tests).
(or)
This change added tests and can be verified as follows:
(example:)

Added integration tests for end-to-end deployment with large payloads (10MB)
Extended integration test for recovery after broker failure

Does this pull request potentially affect one of the following parts:
If yes was chosen, please highlight the changes

Dependencies (does it add or upgrade a dependency): (yes / no)
The public API: (yes / no)
The schema: (yes / no / don't know)
The default values of configurations: (yes / no)
The wire protocol: (yes / no)
The rest endpoints: (yes / no)
The admin cli options: (yes / no)
Anything that affects deployment: (yes / no / don't know)

Documentation

Does this pull request introduce a new feature? (yes / no)
If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)
If a feature is not applicable for documentation, explain why?
If a feature is not documented yet in this PR, please create a followup issue for adding the documentation

rerun cpp tests
rerun integration tests

rerun cpp tests
rerun integration tests

rerun cpp tests
rerun integration tests

rerun integration tests
rerun cpp tests

rerun cpp tests

rerun cpp tests

run cpp tests


Proposed Recipes for Global HYCOM25

Source Dataset
Global surface dataset of HYCOM25.

The file format : netCDF
How are the source files organized? (to be confirmed)
How are the source files accessed : Globus

Transformation / Alignment / Merging

The files should be concatenated along the time dimension, ideally with a chunk size larger than one in time and a few chucks in the horizontal spatial dimension.
Output Dataset

Ideally as zarr formats.

@lxguan1 Can you add details on the file sizes, dimensions (domain grid points and time steps) and how they're organized on OSIRIS?

Brian mentioned that we should use Globus to get these files. That is not yet supported in pangeo-forge-recipes (see https://github.com/pangeo-forge/pangeo-forge-recipes/issues/222).
An alternative would be to use scp / sftp. This would work today thanks to fsspec's SFTPFileSystem. We would need to obtain login credentials to the server. An SSH key pair would be preferred, but we could also do username / password.

The files are all either 1.27gb (ssh) or 2.04gb (surface velocities)
The ssh files contain total ssh, steric ssh, and nonsteric ssh. Each of these are 1 time step, 7055 in the y direction and 9000 in the x direction. The time step is number of days since 1900-12-31 00:00:00.
The surface velocity files contain velocity in the u direction, v direction, bot_u, and bot_v. They are in the same format as the ssh files, with the exception that u and v both have a depth dimension, which corresponds to u_0, v_0, u_15, and v_15.
The files are all in one directory in OSIRIS, containing all of the ssh and surface velocity data. There are 8759 ssh files and 8760 surface velocity files. They are both missing the first hour of the first day. There appears to be some error where one of the files in surface velocities is duplicated, I will see which one it is.
Is there anything else you want to know? I can also put the file ncdumps here.

Thanks! Very helpful!

Is there anything else you want to know?

Is it possible to SSH to this server from the internet? If so, what is the hostname / IP address?
Can you create an account specifically for Pangeo Forge and set up an SSH key pair for us?

Yes, it is possible to SSH to this server. The instructions are here: http://www.osris.org/documentation/sshkey
You need an account to login to the server, the process of making an account is documented here: http://www.osris.org/documentation/enrollment.html
There is a form which needs to be completed to register, but I have an account on OSIRIS which should work.

Thanks @lxguan1! That documentation page is quite useful. It looks like the server also has an S3 endpoint: http://www.osris.org/documentation/s3
That would likely be the most convenient option. We should investigate this.

Is temperature and salinity data also available from this source? I might be able to take a swing at it.

Sorry about the delay @abkfenris, but this server only has ssh and surface velocity data to my knowledge.

Is it a subset of what is available from hycom.org? Or is it from a different source?

@abkfenris This should be a different dataset, but I will check.

@abkfenris I was able to confirm that the data on this server has tidal forcing, while the data that is accessible on hycom.org does not.

I'm gonna try to revive this thread. I've managed to SSH into OSiRIS, the supercomputer where the HYCOM25 data is stored, from local desktop. The authentication process is a bit convoluted in that the user first needs to have one's account approved by the OSiRIS management team upon which one can set up an SSH authentication: https://www.osris.org/documentation/sshkey.html
I'm not sure how to proceed here but would it be possible for Pangeo Forge to set up its own SSH key?

Great!
Takaya, you should set up a key pair yourself, upload it to OSIRIS as described in those docs, and then share the private key with us (securely) via Keybase.

Takaya, you should set up a key pair yourself, upload it to OSIRIS as described in those docs, and then share the private key with us (securely) via Keybase.

@cisaacstern Can I send you my SSH key to you via Keybase?

@roxyboy, of course! 🔑 💫

I'm following up on this old thread.
Over in https://github.com/pangeo-forge/pangeo-forge-recipes/issues/222#issuecomment-1080830165, I have made some progress on loading data via Globus Collections. If it is possible to create a globus collection for the HYCOM25 data, that would make it quite easy to pull.

What does creating a globus collection entail...?


[Tezos] value not returned

http://blockatlas-trust.herokuapp.com/v1/tezos/tz1WDujRWCYjLBDfZieXW6insg5EUbg1rCRK
metadata: {
   value: ""
}

value is empty

Turns out tzscan.io isn't consistent on data types. Some other APIs probably have this problem too.
I'll introduce an Amount data type that unmarshals both strings and numbers into a string holding a decimal number instead.

That’s very typical for tezos - inconsistency!


Beautysh

@lovesegfault Please check out, why I can not use the beautysh binary cache?

I think it makes more sense to put forth our own cache, here. Right now, mypy is compiling :smile:

Of course, we will give priority to choosing our own binary cache.

thx!!! merged in https://github.com/divnix/bud/commit/2f593d7b2b2fce96cf01b944704fbce3812c06c3

Most notably, I did remove the autoupdate of beautify since building mypy is no joke as it seems.

We should be consistent with the nixpkgs follow of upstream. https://github.com/divnix/bud/blob/main/flake.nix#L12

I'm not totally convinced since that would mean we start having duplicate versions of nixpkgs in all downstream flake.lock files and it becomes harder to reason about them.
As long as we have our own cache for this, I'd don't see a drawback to run our cache mainly on the 21.05 release throught.


no text on some pages

nvm was old version of the page

lol
On Fri, Nov 12, 2021 at 11:00 PM pranshuthegamer @.***>
wrote:

Closed #1 https://github.com/revdeluxe/revdeluxe.github.io/issues/1.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/revdeluxe/revdeluxe.github.io/issues/1#event-5610207364,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJFCR6G4CCD7KTL64X3QJZLULUTYZANCNFSM5H5A4DXA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

nvm was old version of the page

I forgot to add margin-top. the bar at the top is hiding them


Pot vortic total diff

These are some experimental coding strategies applied to the pot vortic operator e.g.

padding the borders to handle the edge of the domain
using operators that apply the differential stencils
refactoring the terrain following coords jacobian terms into a dedicated class

Rebased on main and squashed some redundant commits

Also please modify the description of the PR, since it seems to refer to an old implementation

thanks looking into the reviews. This looks good to me. If you modify the description (at least I think this sentence padding the borders to handle the edge of the domain does not apply anymore?) we can approve this


 The former is an issue for swap chains because a call to Reset can destroy the back buffers while the app still holds a reference to them or they are bound as a render target.
In order to avoid circular references, the container which owns the object in question will increase only the surface ref count, not the container's ref count.
Should fix #1571.

Pushed a fix that worked with some more games with funnier refcounting


tests failing: import

https://github.com/mathematicalmichael/mud/actions/runs/3415251447/jobs/5684167616
what happened is this:
sklearn-0.0.post1.tar.gz was published and superceded sklearn-0.0.tar.gz, and due to the lack of pinning on sklearn, we pulled in the upgrade. this brokeimport sklearn.... very odd. very odd.
solution is just to pin to scikit-learn afaik.

new issue for the mypy checks:
https://github.com/mathematicalmichael/mud/issues/67

don't think this necessitates a new release for us just yet. I'd wager that another post version is published soon enough that fixes the regression. perhaps after type fixes that the upgraded mypy disliked.


6237: Adds UUIDs to EVERYTHING

🍷🎉👩💻

Another thing I had to change was to use update_column (no callbacks) instead of save! because save was triggering sphinx index stuff on every Answer save!
This is why it's good to have a decent amount of data in your DB when testing this stuff..


Incorrect file type: directory

Please acknowledge the following

[x] I have read about Minimal Bug Reports and what follows is my good faith attempt at creating one.

Describe the bug
There is a confusing message "incorrect file type: directory" in dud status
System information
Output of dud version:
dud version
0.4.3

Output of uname -srmo:
uname -srmo
Darwin 22.5.0 arm64 Darwin

Steps to Reproduce
Steps to reproduce the behavior. Ideally this a copy-paste-able shell script (or
set of small scripts) that reproduces the problem.

❯ dud init
Dud project initialized.
See .dud/config.yaml and .dud/rclone.conf to customize the project.

~/dev/dud-test
❯ mkdir foo && echo "foo" > foo/bar

~/dev/dud-test
❯ dud stage gen -i foo -o bar -- cat >| test.yaml

~/dev/dud-test
❯ dud stage add test.yaml
Added test.yaml to the index.

~/dev/dud-test
❯ dud status
test.yaml  stage definition not checksummed
  foo      incorrect file type: directory (not cached)
  bar      missing and not committed

❯ \cat test.yaml
command: cat
working-dir: .
inputs:
  foo:
    is-dir: true
outputs:
  bar: {}

Expected behavior
No such message should appear. It is inconsistent, in other cases I don't see it, so I am super confused. Removing is-dir: true doesn't make the message go away either.

Good find! This situation brings to light several things that need consideration:
Dud treats all inputs to a stage as not cached (skip-cache: true) unless it's owned by another stage. Essentially a stage owns its outputs, and it references its inputs. So in Dud, currently, the recommended way to handle this situation would be to use another stage:
$ dud stage gen -o foo | tee foo.yaml
working-dir: .
outputs:
  foo:
    is-dir: true

$ dud stage gen -i foo -o bar -- cat | tee bar.yaml
command: cat
working-dir: .
inputs:
  foo:
    is-dir: true
outputs:
  bar: {}

$ dud stage add *.yaml
Added bar.yaml to the index.
Added foo.yaml to the index.

$ dud status
foo.yaml  stage definition not checksummed
  foo     1x directory, 1x not committed

bar.yaml  stage definition not checksummed
  bar     missing and not committed

I can see how this could be unintuitive. Frankly, the implicit skip-cache: true has always bugged me. I will reevaluate if it's even needed.
What's more, if you commit a stage with a parent-less directory input, you get skip-cache: false behavior 🤦♂:
# removed '-o bar', which doesn't exist
$ dud stage gen -i foo -- cat > test.yaml

$ dud stage add test.yaml

$ dud commit
committing stage test.yaml
  foo                   4 B / 4 B  100%  ?/s  0s total

# This shouldn't have been committed in Dud's current model.
$ tree -a foo
foo
`-- bar -> ../.dud/cache/49/dc870df1de7fd60794cebce449f5ccdae575affaa67a24b62acb03e039db92

So I have some thinking to do about Dud's stage ownership model. There might be an opportunity here to simplify things by removing implicit behavior. In the meantime, I'd recommend following the pattern in my first example code block.

Thank you for the quick response! Your first example worked for me. Besides the things you pointed out, please consider changing the error message (incorrect file type: directory) and adding documentation to explain this.


Use geolite2_city database download for IP Geolocation

This issue is imported from pivotal
To prevent leaking IP addresses migrate away from the geo2lite maxmind.com web service and start using the database. Refresh daily.

https://github.com/OpenConext/OpenConext-myconext/commit/63524a1683b7c0c5240be0aaa762b91ad2cb252d (Okke Harsta - Oct 19, 2022)


Create new folder with timestamp when running simulations in evaluations.ipynb

Descriptions
I'm running mutliple simulations with the same evaluations.ipynb file, and want to be 100% sure I don't overwrite any existing simulation results (from myself, or when doing PRs to main.Thus, let's add a timestamp to the folders and .txt files with simulation results

Done, see .py files


Protocol versioning

Add cloudstate protocol versioning, so that we can align compatibility between the proxy and the language support modules. Ideally both sides can support multiple versions and negotiate on the latest supported, during discovery.

There should already be versioning in the protocol: https://github.com/cloudstateio/cloudstate/blob/master/protocols/protocol/cloudstate/entity.proto#L172

yes it exists but is totally ignored by all supported languages, including java and node

No semantics are defined yet, we have to spec it! Lets work on #119 :)
I'd like to have a spec as promised by the project, a "A standards effort" (spec) and a "A reference implementation" \o/


Feature: Add option to completely hide the sidebar

Requirements
Add option to settings to completely hide the sidebar
Files Version
Version: <IP_ADDRESS> OS Version: 10.0.19043.1237
Windows Version
Windows 10 21H1 19043.1237
Additional comment
No response

You can collapse the sidebar so it takes very little screen space, could you elaborate on why you'd like the ability to hide it?

You can collapse the sidebar so it takes very little screen space, could you elaborate on why you'd like the ability to hide it?

It's obnoxious and takes up space when you don't use it. And collapsing it still makes it consume around 50 pixels horizontally.

Based on a quick poll, 99% of users use the sidebar. It'll be interesting to continue gathering feedback on this.

Thank you for your feedback, I understand the reason to hide the sidebar completely but it appears that almost every user uses the sidebar and it doesn't make sense for us to implement this option.

@yaichenbaum, should this consequently be closed as not planned rather than completed?

We don't use githubs close states thing as theres no reason too.

Although this issue is closed, wanted to share my thoughts. @yaira2 if we go by user polls most majority may be using sidebar. However if we can get minimalistic aesthetics by removing unwanted clutter when needed, it would greatly help! Clutter-free UI really adds value (think google home page vs yahoo home page, apple products UI vs others), this will attract users who are currently not in the user polls! Clutter free UI will be useful esp. when working with dual pane when every pixel of screen real estate matters.

this will attract users who are currently not in the user polls

That's always the tradeoff when asking existing users for feedback, but on the other hand, feedback from someone who hasn't tried to get used to the existing UX isn't going to be something we can act on. That being said, nearly 99% of users responded that they use the sidebar which leads us to believe it's an integral part of the app.

Sure let people who love sidebars keep using it, let the default be with side-bars + other bells and whistles. It will be nice to hide them when needed. Anyways thanks for all the wonderful efforts you guys put in!


Cannot decode non-ascii characters

According to https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/charCodeAt, the String.charCodeAt returns a UTF-16 code instead a UTF-8 code.
https://github.com/tidbcloud/serverless-js/blob/main/src/decode.ts will fail on non-ascii characters.

The browser and node runtime both do not recognize the string of original test case. Maybe the character should be in other form?


Feature/1032

Please answer these questions before submitting pull request

Why submit this pull request?

[X] Improve performance

Related issues
#1032

New feature or improvement

Describe the details and related test reports.

Fixed a bug that persistent timer started multiple times.
Running about 10 minute, the result of collector performance test is above 1w TPS when using MacBook 2017.
Provide short column name about ElsasticSearch database.

Coverage decreased (-0.04%) to 20.831% when pulling e17ab84f11dd64a22eb9751840f077c9a4321bea on peng-yongsheng:feature/1032 into b4ded22c87df732e9f7b5efea96afd23f704b922 on apache:master.


PaymentRequestComponent: Failed to execute 'show' on 'PaymentRequest'

General information

SDK version: 3.92.0
Environment: Sandbox
Chrome Version 111.0.5563.64 (Official Build) (x86_64) on MacOS 11.6.1 -->

Issue description
I have an issue with the Payment Request API.
I keep getting the error when I call the tokenize method:
{
    "name": "BraintreeError",
    "code": "PAYMENT_REQUEST_NOT_COMPLETED",
    "message": "Payment request could not be completed.",
    "type": "CUSTOMER",
    "details": {
        "originalError": {
            "code": 18,
            "message": "Failed to execute 'show' on 'PaymentRequest': PaymentRequest.show() requires either transient user activation or delegated payment request capability",
            "name": "SecurityError"
        }
    }
}

And I really don't know why because my implementation looks exactly the same as the example
My code:
<%= button_tag 'Payment Request', id: 'payment-request-component-button', class: 'payment-request-component-button',
  type: 'button' %>

<script>
  if (window.PaymentRequest) {
    const auth = "####"
    var client = braintree.client.create(
      {
        authorization: auth,
      },
      clientDidCreate
    );

    var button = document.querySelector('#payment-request-component-button');

    function clientDidCreate(err, client) {
      braintree.paymentRequest.create({
        client: client
      }).then(function (instance) {
        button.addEventListener('click', function (event) {
          var amount = '100.00';

          instance.tokenize({
            details: {
              total: {
                label: 'Total',
                amount: {
                  currency: 'USD',
                  value: amount
                }
              }
            }
          }).then(function (payload) {
            console.log(payload)
          }).catch(function (err) {
            console.log(err)
          });
        });
      }).catch(function (err) {
        console.log(err)
      });
    }

  } else {
    console.log("PaymentRequest not supported by the user agent")
  }
</script>

If I use the PaymentRequest.show() API directly, it works fine.
I'm not sure, but I think the Braintree Iframe is not permitted to run the PaymentRequest.show(), and I need to give permission to it somehow.
I've also tested with the Microsoft Edge browser and got the same error.
Any help is appreciated. Thank you!
Additional Prints

// Create a client.
braintree.client.create({
authorization: CLIENT_TOKEN_ENCODED_WITH_CUSTOMER_ID
}, function (clientErr, clientInstance) {
// Create a PayPal Checkout component.
braintree.paypalCheckout.create({
autoSetDataUserIdToken: true,
client: clientInstance
}, function (paypalCheckoutErr, paypalCheckoutInstance) {
paypalCheckoutInstance.loadPayPalSDK({
  // The following are optional params
  dataAttributes: {
    amount: "100.00"
  }
}, function () {
  paypal.Buttons({
    fundingSource: paypal.FUNDING.PAYPAL,

    createOrder: function () {
      return paypalCheckoutInstance.createPayment({
        //...
      });
    },

    onApprove: function (data, actions) {
      return paypalCheckoutInstance.tokenizePayment(data, function (err, payload) {
        // Submit `payload.nonce` to your server
      });
    },

    onCancel: function (data) {
      console.log('PayPal payment canceled', JSON.stringify(data, 0, 2));
    },

    onError: function (err) {
      console.error('PayPal error', err);
    }
  }).render('#paypal-button').then(function () {
    // The PayPal button will be rendered in an html element with the ID
    // `paypal-button`. This function will be called when the PayPal button
    // is set up and ready to be used
  });

});

});
});

Hi,
We've looked into this issue and found that browser support for our PaymentRequest implementation was recently deprecated in Chrome/Chromium. We're looking into potential resolutions and do not have an ETA at this time.
Thanks

@ibooker is the current issue that the Braintree Payment Request API implementation is coupled with the basic-card implementation that was deprecated in 2021 and finally removed in Chrome 100? Perhaps this is a good time to revisit compatibility with payment methods and APIs since support is a bit different from when the Braintree implementation was released.
Now, the Payment Request API has support for digital wallets across Chrome, Edge, and Safari (desktop and iOS). It's compatible with Apple Pay on Safari and Google Pay (Chrome, maybe Edge?).
If you're able to support Google Pay and Apple Pay wherever browser support exists, that would be a great update.

deprecated in 2021

Hi @ibooker  So it will impact all the merchants who use Change payment button, right?


Add exercise: Merge Two Sorted Arrays

Codecov Report

Merging #4 into master will not change coverage.
The diff coverage is 100%.

@@          Coverage Diff          @@
##           master     #4   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files          13     14    +1
  Lines         228    246   +18
  Branches       41     45    +4
=====================================
+ Hits          228    246   +18

Impacted Files
Coverage Δ

src/merge-two-sorted-arrays.js
100% <100%> (ø)

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 afc215e...119ead6. Read the comment docs.


EZAccess, GSSoC'24

Is your feature request related to a problem? Please describe.
Often times when filling forms and the autocomplete does not work, I get little frustrated of opening websites like github, linkedin, twitter to copy profile links and paste them into the form.
Describe the solution you'd like
A browser extension to save all these information to to quickly access them when needed.
Describe alternatives you've considered
Autocomplete embedded in browsers but behavior of when it works is variable
Additional context
None
What problem is this feature trying to solve?
The problem of constantly opening commonly used links and copying them. Wastes time, unnecessary effort and repetition
How do we know when the feature is complete?
When user can implement CRUD operations on the chrome extension for their details

Is it an extension you're suggesting?

Suggesting, yes but I'll write code for this as well

@Sulagna-Dutta-Roy Hello Mam, I'd like to work on this, if it hasn't been finished yet.
Thank you!

@Shobhit-Nagpal any updates on this ?

@Shobhit-Nagpal any updates on this ?

Hey, yeah. Almost done with this. Finishing up on some final changes. Got busy with work. I'll send over a PR this weekend

You should not take more than 3 days to complete it. As per the guidelines if no updates are received then I need to change the assignee @Shobhit-Nagpal

Ah okay. I wasn't aware of the 3 day rule. My bad.
You can assign it to @Sambit-Mondal then :))

I'll mostly be doing the PR over the weekend, I'm fine with the issue being reassigned. @Sambit-Mondal might do a better job. It's only fair. Thanks for letting me know about the rule though


Sync with Accent Color: Brightness

Hi, whenever I sync with my Accent Color and HueBridge the lamp never goes over around 30% brightness, although in the PresenceLight Settings the brightness is set to 100.
Brightness is 100 for Teams and manual Color settings.
When I override the brightness in my Hue-Control it is automatically resettent by PresenceLight to around 30-40%
Expected behaviour: PresenceLight Brightness control also effects brightness when set to "Sync with Windows Accent Color"

I have lifx and its different. If I don't set it to 100 the brightness goes to 0%.

This is a bug, I just pushed a fix
https://github.com/isaacrlevin/PresenceLight/commit/b6857447fa308b30966a817b69c706b5b4fe8650


update versions

update versions for Java and Spring Boot

Spring Boot is 1.4.3.RELEASE now and Java 8 is preferred for most Java projects.


Sort by string length

Did not see this elsewhere either, the idea is that since every little project can have lots of strings (eg. Stinglate has >110 OMFG!) it will get boring after a while, so it helps me seeing that I translated a lot of them. ;)
Having them sorted by length helps me get the shorter ones faster, keeping my interest strong.
I already do this by just skipping long ones until they're the only ones left.

it will get boring after a while

Yeah, I even thought of making Stringlate game-like but I don't know how a game of translating strings could look like…

Having them sorted by length helps me get the shorter ones faster, keeping my interest strong.

Sorting by length vs sorting alphabetically (the change isn't hard at all). But what will happen when only the long ones are left?: "Oh darn, 50 strings left… and every string will be as long or even longer than the previous one!"

You have to translate them all! anyway, long or short, that does not make a difference. ;)

anyway, long or short, that does not make a difference.

Conclusion then? The badges idea sounded fancy though!

Did not answer the gamification thing because I don't care, better open another issue with that to see if anyone cares. :)

Is this still relevant @licaon-kter or kinda solved since the progress bar is now weighted?

I would still like it, if it's not hard, if you want etc.

You know though. My first impression of this was that you only wanted sorting by string length instead alphabetically. But you really meant to have it as a setting, for people to choose. The later makes way more sense.

Thanks


Final Report

Hi all, I have submitted a pull request for the first draft of the final report. Please review the written components and review/edit. I will submit a subsequent pull request with the EDA pngs attached.
Thank you!

The updated version that includes all functionalities has been uploaded.
Please refer to this comment:
Completed embedding all plots, parameterization and final conclusion in Rmd file.
It should render in the command line with this following command:
markdown::render("doc/final_report.Rmd", params=list(results_dir_path: '../results')).
The parameter has been added in case the hypothesis test object are saved in a sub folder. If so, it can be referenced as a directory.


How do provider inside the k8s communicate with  customer outside the k8s?

provider inside the k8s communicate register POD ip into zookeeper, how customer outside the k8s call the provider inside the k8s?

You may check this example: https://github.com/dubbo/dubbo-samples/tree/master/dubbo-samples-docker

Provider inside k8s and consumer out of control of k8s? Please take some time to look into K8S tutorial about Ingress part.
This issue is not related to Dubbo and should be closed.

As @Jeff-Lv suggested, please try the Ingress part first.
Reopen this issue if necessary.

@chickenlj ，麻烦问下ingress支持dubbo服务吗


Android - Support sending json arrays to server.

Hi and thank you for creating this plugin.
While using it I've noticed that posting arrays is failing.
I am not a java developer and these are first lines of code I've written for java so if my PR is not good enough it might at least give some ideas what could be added to the current implementation.
Beside posting issues, I had issue with receiving plain values (e.g. boolean).
This PR has possible fix for this too.
BTW ios implementation has the same issue, but I don't have tools to try fix that one.

For what it's worth, the JSON specification only allows Arrays and Objects as top level values. So receiving plain values (like boolean) should probably not be implemented as it is unsupported by the standard.
Additionally, this is also a problem in the ios side. I would recommend making the changes in tandem so that behavior is consistent across platforms.
Note: I am not a project maintainer, but we do have a fork of this plugin that we have augmented various ways and this is one of the things we did have to fix.

Hi @mlynch
Thanks for the review, will fix these tomorrow when I get on my work machine.
BTW I have fix for responses that have content type subtype like xyz+json, but I may not have solution for ios.
Are you ok with PRs just for one platform?

@mlynch @milanc any update on this? We just ran into this issue as well. I'd be glad to help out if there is any additional work to be done.

Hi, @sbannigan, I assume it just needs to be merged.

Any update on this?

Unfortunately, this PR is just too stale at this point. I will add this feature to the capacitor-v3 branch and use this PR as reference.

Few days ago I got back to the project that is using this plugin and merged upstream.
I was planning to push those changes to this PR.
I can create new PR  if you want.

If you'd can to please do! 😄


use list instead of set to define the result of expression and define empty value handling (#121 & #16)

fixes #121
fixes #16

Incorporate return-values branch of https://github.com/kg-construct/rml-core/issues/16 because this is also applicable on the expression map. Consensus was reached, but never merged as the commits where on a separate branch.

@pmaria I'm just the 'messenger' here :P I am not sure how to decide or resolve your comments. These commits should have been already in a PR a long time ago. At least we have now a good review.

@DylanVanAssche ok I'll attempt to resolve them


spi: NXP MCUX LPSPI driver does not correctly change baud rate once configured

Describe the bug
When using SPI devices with different max baud rate, the LPSPI driver does not change the baud rate when configuring the SPI controller for different devices.
I think the problem is that spi_mcux_configure calls LPSPI_MasterInit without deactivating the peripheral first, and LPSPI_MasterInit calls LPSPI_MasterSetBaudRate (ignoring its return value) which requires the LPSPI module to be disabled.

Using Zephyr 3.2.0

To Reproduce

Register devices with different spi-max-frequency dt properties on the same SPI bus
Call spi_transceive first on a faster device, then on a slower device

Expected behavior

SPI clock frequency is always less than or equal to spi-max-frequency of the current device

Actual behavior

SPI clock frequency stays at the value for the first device, doesn't change

Impact
May prevent using SPI devices at desired speed, in my case prevented me from lowering device frequency for debugging purposes
Environment (please complete the following information):

OS: Linux
SDK 0.15.0, Zephyr 3.2.0

I just found #51177, which may be a duplicate?


Another small SETI mod

With self-administered netkan file as usual.
Best regards,
Yemo

LGTM. Merging with thanks!


test: Add svg viewer to compare efl-svg

You can see svg files in the svgs folder as a list.
The left side is the Tvg result and the right is the svg output of EFL.

I will remove test folder and move sources to examples as for API show-case.
That case, this verification tool is not compatible with examples.
It will be better if you create an additional repository to build up this application with thorvg depdency.

This app is not required, so close it.


[ feature request ] curl support?

just like https://github.com/Huachao/vscode-restclient/blob/master/src/utils/curlRequestParser.ts

I must confess that I have not yet understood the purpose of the implementation in vscode-restclient. One can easily execute the curl call directly in the terminal. What is the advantage of replacing this with an incomplete implementation (not all arguments are supported by vscode-restclient, not all protocols)?
An implementation of the parser would be possible similar to requestHttpRegionParser (also as a standalone plugin like httpyac-plugin-yaml-body). A PR is welcome for that.

support HTTP protocols   should be enough.
for example , I can copy a request as curl from browser ,  then copy to httpyac script, then change some parameters
PR...  I would  like to try it.    Emmmm , May be It's hard to me...

In other words, Can we import curl command as request in vscode-httpyac ?


v3: hide swarm containers by default

When Shipyard V3 calls the /containers/json api at the moment, we pass a param to show all containers (i.e. swarm agent/master containers).  Might be better for the UX to hide these by default and supply an option to view them if the user wants to.

Perhaps we should change to only show running containers by default, add a
filter drop down and show the swarm containers in the "all" view. Basically
what the docker cli does. Thoughts?
On Friday, May 15, 2015, Thomas Barlow<EMAIL_ADDRESS>wrote:

When Shipyard V3 calls the /containers/json api at the moment, we pass a
param to show all containers (i.e. swarm agent/master containers). Might be
better for the UX to hide these by default and supply an option to view
them if the user wants to.
—
Reply to this email directly or view it on GitHub
https://github.com/shipyard/shipyard/issues/543.

I think it might be handy by default to show all containers, except the swarm ones.  This is the default behaviour of swarm anyway:

GET "/containers/json" : Containers started from the swarm official image are hidden by default, use all=1 to display them.

It's probably not very useful in general to see these swarm containers running, they tend to clutter the view in the environment that we have running.

Exactly. The default for swarm shows only running containers without the
swarm ones. That's what I was saying. Then perhaps a dropdown or something
to show all containers which would show the swarm ones. Just like the swarm
API.
On Saturday, May 16, 2015, Thomas Barlow<EMAIL_ADDRESS>wrote:

I think it might be handy by default to show all containers, except the
swarm ones. This is the default behaviour of swarm anyway:
GET "/containers/json" : Containers started from the swarm official image
are hidden by default, use all=1 to display them.
It's probably not very useful in general to see these swarm containers
running, they tend to clutter the view in the environment that we have
running.
—
Reply to this email directly or view it on GitHub
https://github.com/shipyard/shipyard/issues/543#issuecomment-102663284.

Cool -- I think it'd still be useful for ops/support people to see stopped/failed containers by default.
What do you think?  We'd probably just have to provide the all=1 param, but then provide our own filter to switch on/off visibility of the swarm containers.

I don't know. It definitely clutters the view for sure seeing all. I don't
like the idea of hiding the swarm containers and not being able to see
them.  As an ops person I wouldn't like that. I also think it would be
counterintuitive to show all containers and then a "all" view that just
shows the swarm ones.
Perhaps an alternative would be to show the swarm container info in a
node detail view?  Then we could filter the swarm containers and leave the
container view of all as is.
Thoughts?
On Saturday, May 16, 2015, Thomas Barlow<EMAIL_ADDRESS>wrote:

Cool -- I think it'd still be useful for ops/support people to see
stopped/failed containers by default.
What do you think? We'd probably just have to provide the all=1 param,
but then provide our own filter to switch on/off visibility of the swarm
containers.
—
Reply to this email directly or view it on GitHub
https://github.com/shipyard/shipyard/issues/543#issuecomment-102665310.

Ah, oops!  I'm not saying we hide them completely, initially we could supply a simple button/menu to toggle visibility of the swarm containers.
Though now you mention displaying the info on the nodes view, that's interesting.. any thoughts on how that might look?

I like the idea of designating specific containers as swarm containers. I personally wouldn't hide the containers, but rather peg them to the bottom of the list (group) and shade them all gray.

It seems odd to make an exception for specific containers.
Moreover, there may very well be other containers that clutter your view.
Swarm relies on automatic registration and pulls hosts from something like the Consul - that also have agents running on every machine.
I would propose simply allowing the user to filter on the containers' view.
The user will choose which containers to view or not.

Good point @vbichov, thanks for your input.
So I think we should be looking at a better UX for filtering what containers should and should not be displayed based upon rules provided by the user.
In other words, an example use case might be that, as a user I would like to exclude containers running a particular image (or images) from the containers view.
We do have the search box for filtering, but in some cases it is not flexible enough for users that are trying to use the container view as a dashboard of particular containers that they are interested in.

+1 for generic filtering.
In my case we run a significant amount of infrastructure containers that would be nice to be able to filter out by default.
Things like consul, swarm, logspout

👍

how to change the "/containers/json?all=1" to "/containers/json",so the shipyard-* containers can hide in the web UI


FPS down occurs when the number of PIXI.Sprite is over 10,000

Hello.
I want to create seating solution for large theater. (more then 100,000)
So I chose Pixi.js for WebGL performance, and I tested it.
I created 10,000 seats that has size with 10px * 10px, and they had each different 4 colors. I wanted to boost up speed, so I had to convert graphics to sprite. That means I needed 4 textures because all seats' size is same but there is 4 colors each 2500 seats. Therefore I created 4 textures and create sprite instance of graphics.
Nevertheless I changed 10000 graphics to 10000 sprites with 4 textures, FPS down still occurs.
I did more experiment then I became aware of FPS drop related with seat's number, that is, sprite's number. But I need to create over 100,000 seats at the same time.
How can I do this?
There is no animation, and I need just moving seat, selecting seat with click, multi-selecting seats with drag and little features.
Please help me. Thank you.

Put all the textures into one single image, and have all the sprites share a single BaseTexture instance. You should have 1 BaseTexture, 4 Textures (these are the frames for each colored chair), and 10k Sprites that use one of the 4 textures each. Then put all the sprites in a ParticleContainer.

Thank you for your fast response.
Each Chair isn't image. They are just Rect Graphics. They've only x, y, widht, height, and color.
So I created Graphics with PIXI.Graphics like below.
const graphic = new PIXI.Graphics()

graphic.beginFill(Converter.hexStringToNumber(this.color))
graphic.drawRect(0, 0, this.width, this.height)
graphic.endFill()

return graphic

Then I converted them with renderer.generateTexture(graphics).
Next, I generated Sprites with these textures, and I just set x, y, then I add to container as child.
seatSprite.x = this.x
seatSprite.y = this.y

this.containers.seat.addChild(seatSprite)

How can I create BaseTexture with graphics? I had tried to find how to create them but I failed.
Thank you.

I have one more question.
ParticleContainer is really awesome. But, Its children seem that they can't be interactive.
I need feature clicking each seat for selection. is It true?

Draw one of each chair to a RenderTexture and use that as if it were a spritesheet.

Thank you! Did you have a nice weekend?
I profiled also, but I don't know why frame drop occurs with profiling that.

But I think that.. I set interactive=true and seat.on('mousedown', handler) to all seats I added. So, If seats' number is 30K, Yes, There were over than 30K event listener. Then I think also It is cause of FPS drop. What do you think?

Remove the handlers and set interactiveChildren to false on their parent and see if there's a difference :)
If there is, maybe have one overlay container that takes care of the click, and that looks at the position to convert it to a seat.

Looks like updatetransform is taking most of the frame time. Your best bet is to render using the ParticleContainer to fix that, then doing interaction manually or using a more specific solution than the generalized one in pixi.

@themoonrat @englercj
Thank you for yours help!

Looks like this is answered. Thanks everyone.


Underscore separators?

This looks quite cool! Looking forward to seeing more and hopefully helping out at some point.
What is the reason for "going against the grain" and using _ separators instead of camelCase for identifiers?
In #3, you mention that the reason you prefer ' and ` for characters over " is that you don't want to have to press shift. That argument resonates with me.
In keeping with that theme, isn't it more efficient and easier to use camel case over underscores? The camel case method doesn't require you to reach a satellite key, plus is more normal for users in most languages (in my experience at least).
I guess it just seems odd to make so much of the language feel very similar to Go, but then abandon camel casing.
Just a thought. Do with it what you will :smile:

I swapped - and _ :)
I wouldn't say it's going against the grain. C/C++, Python, Rust, Ruby, Perl etc use underscores.

That’s fair. I think my main thought was:
If we are micro optimizing to the extent that ‘ is preferred over “, then surely camel case is more efficient than snake case.
That was all. And of course not trying to like, argue the point really. It just stuck out to me.
Either way looks great! Can’t wait!


VGG16 scoring model taking up > 500 GB of RAM

Hi,
I was trying to score a VGG16 model on our own cluster, i.e. by running a local instance
When I use the following layer names
['avgpool' , 'features', 'classifier']

i.e. more high level layers the RAM consumption seems to be OK and works fine
However, when I go to the detailed level layer names
['features.1', 'features.2', 'features.3', 'features.4', 'features.5', 'features.6', 'features.7', 'features.8', 'features.9', 'features.10', 'features.11', 'features.12', 'features.13', 'features.14', 'features.15', 'features.16', 'features.17', 'features.18', 'features.19', 'features.20', 'features.21', 'features.22', 'features.23', 'features.24', 'features.25', 'features.26', 'features.27', 'features.28', 'features.29', 'features.30', 'classifier.0', 'classifier.1', 'classifier.2', 'classifier.3', 'classifier.4', 'classifier.5', 'classifier.6']

It takes computational space > 500 GB of RAM and runs OOM
The thing is with the high level layers
my scores are
    "imagenet_trained": {
        "V4": "0.3685106454430227",
        "IT": "0.5185169380743393",
        "V1": "0.09256884647589658",
        "V2": "0.2600441204932774"
    }

in V1 the score for no training is higher than imagenet trained, which is a weird effect since
the weights are random. I know sometimes a random weight could also just match because
of a statistical artefact, but this occurs in 2 iterations
    "no_training": {
        "V4": "0.3413502290434312",
        "IT": "0.2947047868783302",
        "V1": "0.2026004427555423",
        "V2": "0.1448800686541028"
    }

    "no_training_2": {
        "V4": "0.33954039465787034",
        "IT": "0.29491768114613165",
        "V1": "0.1974565275931902",
        "V2": "0.15089219267469867"
    }

I am using the following public benchmarks for scoring my model
  benchmark_identifiers = ['MajajHong2015public.V4-pls', 'MajajHong2015public.IT-pls',
                             'FreemanZiemba2013public.V1-pls', 'FreemanZiemba2013public.V2-pls']

Any help would be gladly appreciated
Best regards,
Shreya

Hi Shreya, thanks for opening an issue! Usually in Brain-Score, earlier layers of the model are more computationally expensive (RAM-wise) to score, as they tend to be much bigger than later model layers. Also, it could be the case that for VGG16, the more granular layers are bigger themselves, or are full convolutional layers as opposed to perhaps a pooling or relu layer (I am not entirely sure here, as I would need a refresher on VGG16 architecture). As for the issue of random weights scoring higher, I am linking @mschrimpf in who may be able more scientific insight as to what might be occurring.

Hi Shreya, thanks for opening an issue! Usually in Brain-Score, earlier layers of the model are more computationally expensive (RAM-wise) to score, as they tend to be much bigger than later model layers. Also, it could be the case that for VGG16, the more granular layers are bigger themselves, or are full convolutional layers as opposed to perhaps a pooling or relu layer (I am not entirely sure here, as I would need a refresher on VGG16 architecture). As for the issue of random weights scoring higher, I am linking @mschrimpf in who may be able more scientific insight as to what might be occurring.

Dear Mike,
Thanks a lot for your answer! It is really helpful, yes, more layers indeed lead to higher computational complexity.  I just wanted to know how could an untrained network
match super well. Guess that will fill the gap
Best regards,
Shreya

Hi @mike-ferguson
In such a case do people usually compute only the brainscore on the convolutional layers?
Best regards,
Shreya

Hi @ShreyaKapoor18, sorry for the late reply, I was Out of Office for a couple of days; as to your question, I think it depends! For the most part I think people usually do like the conv layers when hand-selecting/passing in layers to score, just because they align nicely with the conceptual framework. However, I have also seen pooling layers and even relu/activation function layers be passed in manually as well. I do not know off the top of my head which tend to have better alignment, and I am sure Martin/others have looked into this, but I think passing in all conv layers is a reasonable thing to do!

Hi Mike,
Thanks for your reply. I did just that, passing only the conv layers but am still running OOM.
It's just a bit confusing what the state of the art is for comparing.
For other methods I am using to align the networks to the brain usually it is not so computationally expensive and I am not able to compare brainscore results to these networks. I guess it is an open question.
Best regards,
Shreya Kapoor

@ShreyaKapoor18  Gotcha- have you tried submitting recently on our website? If you do that, I should be able to see the logs and troubleshoot and see what exactly is eating up so much memory. We also have a new procedure to map layers that should drastically cut down on RAM usage, but it is only available through our submitting through our site (or a PR) at the moment (still working on deploying that fix to local scoring schemas)

Hi @mike-ferguson
I tried submitting the models on your website. However, I submitted it 23h ago and did not receive any email about it failing or being scored. I wonder what the reason could be?
My email id is<EMAIL_ADDRESS>and I made the submission, what could be the reason?
Best regards,
Shreya Kapoor

@ShreyaKapoor18
Hi Shreya, a number of PRs were automatically made yesterday with a model identifier called "vgg16_less_variation_iteration=1". Do these happen to be yours? I'll link a few of the latest ones below.
If yes, they also seem to be running into the same issue with the use of ModelCommitment. Specifically, only the identifier has been passed as an argument but they activations_model and layers need to also been passed. You already have these in the model.py file but just need to refer to it in the init.py when adding your model to the registry.
You can refer to the resnet50_tutorial model.
As to why you were not notified: We only send out emails on the status of scoring however the model submissions were failing on the previous step (i.e., unit tests), which we do not notify. You point out an important gap in our communication, and we'll try to at least implement some notification system (whether that is a GitHub comment or full email) that resolves this.
Let me know if this helps or not.
https://github.com/brain-score/vision/pull/1496
https://github.com/brain-score/vision/pull/1495
If you want to see the reason for failure, you can scroll through the checks at the bottom of the PR. You will see "Brain-Score Plugins Unit tests (AWS Jenkins, AWS Execution) — Build Failure". You can click on details > Console Output or the Console Output (Parsed).
The common errors:

model_registry['vgg16_less_variation_iteration=1'] = lambda: ModelCommitment(identifier='vgg16_less_variation_iteration=1')
E   TypeError: ModelCommitment.init() missing 2 required positional arguments: 'activations_model' and 'layers'

ERROR: Could not find a version that satisfies the requirement open_clip (from unknown) (from versions: none)
ERROR: No matching distribution found for open_clip

I would personally try to resolve the first error and see if that also handles the open_clip error. If open_clip appears again, we may need to find the version you are using with your local environment and just add it to setup.

Hi @KartikP
Yes, these were my submissions.
Thanks a lot for your reply. I really appreciate the clear reply. I changed the errors and submitted again. However, I don't know yet if its running or it is cancelled somehow.
Best regards,
Shreya

@ShreyaKapoor18 I'm just keeping an eye out on your web submissions. It seems like you had made some of the changes but not all of the required (https://github.com/brain-score/vision/pull/1499/files). The console log for this PR can be seen here:
>   model_registry['vgg16_less_variation_iteration=1'] = lambda: ModelCommitment(identifier='vgg16_less_variation_iteration=1',activations_model=get_model('vgg16_less_variation_iteration=1'), layers=get_layers('vgg16_less_variation_iteration=1'))
E   NameError: name 'get_model' is not defined

brainscore_vision/models/vgg16_less_variation_1/__init__.py:4: NameError

Specifically, the init file needs to import your get_model() and get_layers() from the model.py file.
To explain the workflow we have, when you make a web submission, it creates a Pull Request into this repo on your behalf. If you go to the Pull Request tab, you will see your web submission and all the files that are associated with it. You can find the status of your web submission there. Once unit tests pass, we perform layer mapping, then the PR is merged, and then once merged it will be scored. Once scored, you will get an email on success or failure, and then your score will appear in the leaderboard after 24 hrs.
I'm also seeing some newer PRs from your web submission that has a broken init file that is attempting to run tests instead of add your model to the registry. https://github.com/brain-score/vision/pull/1503/files
If you would like, you can message me on Slack and we can confirm the code before submitting.

Thanks @KartikP this is awesome!
Thank you very much! I now have a hang of it and think it should work!
Best regards,
Shreya

Hi everyone,
I have submitted multiple models and they seem to work! However when I want to use the method to submit multiple models at once using
https://github.com/brain-score/vision/tree/master/brainscore_vision/models/scaling_models
I get duplicate IDs error.  To check that I ran the following:

python brainscore_vision score --model_identifier='alexnet_no_variation_1' --benchmark_identifier='Ferguson2024convergence-value_delta'

(myenv) shreya@faustaff-010-020-035-084 objaverse-training % python brainscore_vision score --model_identifier='alexnet_less_variation_1' --benchmark_identifier='Ferguson2024convergence-value_delta'
/Users/shreya/anaconda3/envs/myenv/lib/python3.11/site-packages/brainscore_core/metrics/__init__.py:16: FutureWarning: xarray subclass Score should explicitly define __slots__
  class Score(DataAssembly):
Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "/Users/shreya/Documents/GitHub/objaverse-training/brainscore_vision/__main__.py", line 20, in <module>
    fire.Fire()
  File "/Users/shreya/anaconda3/envs/myenv/lib/python3.11/site-packages/fire/core.py", line 135, in Fire
    component_trace = _Fire(component, args, parsed_flag_args, context, name)
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/shreya/anaconda3/envs/myenv/lib/python3.11/site-packages/fire/core.py", line 468, in _Fire
    component, remaining_args = _CallAndUpdateTrace(
                                ^^^^^^^^^^^^^^^^^^^^
  File "/Users/shreya/anaconda3/envs/myenv/lib/python3.11/site-packages/fire/core.py", line 684, in _CallAndUpdateTrace
    component = fn(*varargs, **kwargs)
                ^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/shreya/Documents/GitHub/objaverse-training/brainscore_vision/__main__.py", line 9, in score
    result = _score_function(model_identifier, benchmark_identifier, conda_active)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/shreya/anaconda3/envs/myenv/lib/python3.11/site-packages/brainscore_vision/__init__.py", line 103, in score
    return wrap_score(__file__,
           ^^^^^^^^^^^^^^^^^^^^
  File "/Users/shreya/anaconda3/envs/myenv/lib/python3.11/site-packages/brainscore_core/plugin_management/conda_score.py", line 88, in wrap_score
    result = score_function(model_identifier, benchmark_identifier)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/shreya/anaconda3/envs/myenv/lib/python3.11/site-packages/brainscore_vision/__init__.py", line 74, in _run_score
    model: BrainModel = load_model(model_identifier)
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/shreya/anaconda3/envs/myenv/lib/python3.11/site-packages/brainscore_vision/__init__.py", line 65, in load_model
    import_plugin('brainscore_vision', 'models', identifier)
  File "/Users/shreya/anaconda3/envs/myenv/lib/python3.11/site-packages/brainscore_core/plugin_management/import_plugin.py", line 105, in import_plugin
    importer = ImportPlugin(library_root=library_root, plugin_type=plugin_type, identifier=identifier,
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/shreya/anaconda3/envs/myenv/lib/python3.11/site-packages/brainscore_core/plugin_management/import_plugin.py", line 32, in __init__
    self.plugin_dirname = self.locate_plugin()
                          ^^^^^^^^^^^^^^^^^^^^
  File "/Users/shreya/anaconda3/envs/myenv/lib/python3.11/site-packages/brainscore_core/plugin_management/import_plugin.py", line 59, in locate_plugin
    assert plugin_registrations_count > 0, f"No registrations found for {self.identifier}"
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: No registrations found for alexnet_less_variation_1
(myenv) shreya@faustaff-010-020-035-084 objaverse-training % python brainscore_vision score --model_identifier='alexnet_no_variation_1' --benchmark_identifier='Ferguson2024convergence-value_delta'
/Users/shreya/anaconda3/envs/myenv/lib/python3.11/site-packages/brainscore_core/metrics/__init__.py:16: FutureWarning: xarray subclass Score should explicitly define __slots__
  class Score(DataAssembly):
Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "/Users/shreya/Documents/GitHub/objaverse-training/brainscore_vision/__main__.py", line 20, in <module>
    fire.Fire()
  File "/Users/shreya/anaconda3/envs/myenv/lib/python3.11/site-packages/fire/core.py", line 135, in Fire
    component_trace = _Fire(component, args, parsed_flag_args, context, name)
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/shreya/anaconda3/envs/myenv/lib/python3.11/site-packages/fire/core.py", line 468, in _Fire
    component, remaining_args = _CallAndUpdateTrace(
                                ^^^^^^^^^^^^^^^^^^^^
  File "/Users/shreya/anaconda3/envs/myenv/lib/python3.11/site-packages/fire/core.py", line 684, in _CallAndUpdateTrace
    component = fn(*varargs, **kwargs)
                ^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/shreya/Documents/GitHub/objaverse-training/brainscore_vision/__main__.py", line 9, in score
    result = _score_function(model_identifier, benchmark_identifier, conda_active)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/shreya/anaconda3/envs/myenv/lib/python3.11/site-packages/brainscore_vision/__init__.py", line 103, in score
    return wrap_score(__file__,
           ^^^^^^^^^^^^^^^^^^^^
  File "/Users/shreya/anaconda3/envs/myenv/lib/python3.11/site-packages/brainscore_core/plugin_management/conda_score.py", line 88, in wrap_score
    result = score_function(model_identifier, benchmark_identifier)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/shreya/anaconda3/envs/myenv/lib/python3.11/site-packages/brainscore_vision/__init__.py", line 74, in _run_score
    model: BrainModel = load_model(model_identifier)
                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/shreya/anaconda3/envs/myenv/lib/python3.11/site-packages/brainscore_vision/__init__.py", line 65, in load_model
    import_plugin('brainscore_vision', 'models', identifier)
  File "/Users/shreya/anaconda3/envs/myenv/lib/python3.11/site-packages/brainscore_core/plugin_management/import_plugin.py", line 105, in import_plugin
    importer = ImportPlugin(library_root=library_root, plugin_type=plugin_type, identifier=identifier,
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/shreya/anaconda3/envs/myenv/lib/python3.11/site-packages/brainscore_core/plugin_management/import_plugin.py", line 32, in __init__
    self.plugin_dirname = self.locate_plugin()
                          ^^^^^^^^^^^^^^^^^^^^
  File "/Users/shreya/anaconda3/envs/myenv/lib/python3.11/site-packages/brainscore_core/plugin_management/import_plugin.py", line 59, in locate_plugin
    assert plugin_registrations_count > 0, f"No registrations found for {self.identifier}"
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
AssertionError: No registrations found for alexnet_no_variation_1


Should escape delimiter in strings

Currently, bold('test**string') returns '**test**string**. This looks like:
teststring**
It should return the asterisks but escaped. So,
print(bold('test**string'))  # -> **test\*\*string**

Which looks like:
test**string

Thanks for pointing that out!


fix: broken linking

I have noticed in the Discord many people saying Linking is broken.
One user mentioned 3.1.46 was working so I did a compare and found that the build command was missing any mention of Links

So I have added those back in with the hopes this will fix the issue.
Compare for reference:
Diff between 3.1.78 and current

Closing as per https://discord.com/channels/983865673656705025/1295248971958325258/1295398735584690196


Validation on fields arguments ?

Hi, I'm wondering if there is currently anyway to validate field arguments ?
renameUser(name: String! @required(errorMessage: "Name is required")): User

@erwan-joly Thank you for asking me!
There is no way. This generator mainly uses input object generation.


All-Day Events Edit Error

When selecting an all-day event via the widget, the date displayed is the previous date.
Actual date displayed on the widget is correct.

Using Google Calendar to select the event, the date is of course correct.
Please see the screenshots. (Correct Date is Nov. 4)

Same here. I have two events, all-day Event1 21.11.2015 and Event2 21.11.2015 21:30. They are displayed correctly in google calendar and on the widget, but if I click on Event1 it's date is 20.11.2015, if I click on it in the google calendar it's date is correct 21.11.2015. Date and time of the Event2 is correct everywhere.
{
"results": [
{
"executedAt":<PHONE_NUMBER>961,
"selectionArgs": [],
"sortOrder": "startDay ASC, allDay DESC, begin ASC ",
"standardMillisOffsetUtcToLocal": 7200000,
"projection": [
"event_id",
"title",
"begin",
"end",
"allDay",
"eventLocation",
"hasAlarm",
"rrule",
"displayColor"
],
"uri": "content://com.android.calendar/instances/when/1447970400000/1450725935960",
"selection": "selfAttendeeStatus!=2 AND (calendar_id = 9 OR calendar_id = 8 )",
"rows": [
{
"title": {
"value": "Event1",
"type": 3
},
"eventLocation": {
"value": "",
"type": 3
},
"allDay": {
"value": 1,
"type": 1
},
"displayColor": {
"value": -11958553,
"type": 1
},
"rrule": {
"type": 0
},
"event_id": {
"value": 1169,
"type": 1
},
"hasAlarm": {
"value": 0,
"type": 1
},
"end": {
"value":<PHONE_NUMBER>000,
"type": 1
},
"begin": {
"value":<PHONE_NUMBER>000,
"type": 1
}
},
{
"title": {
"value": "Event2",
"type": 3
},
"eventLocation": {
"value": "",
"type": 3
},
"allDay": {
"value": 0,
"type": 1
},
"displayColor": {
"value": -11958553,
"type": 1
},
"rrule": {
"type": 0
},
"event_id": {
"value": 1170,
"type": 1
},
"hasAlarm": {
"value": 0,
"type": 1
},
"end": {
"value":<PHONE_NUMBER>000,
"type": 1
},
"begin": {
"value":<PHONE_NUMBER>000,
"type": 1
}
}
],
"millisOffsetUtcToLocal": 7200000,
"timeZoneId": "Europe/Kiev"
}
],
"applicationInfo": {
"versionCode": 347,
"preferences": {
"showDaysWithoutEvents": false,
"hideBasedOnKeywords": "",
"eventRange": 30,
"showPastEventsWithDefaultColor": false,
"fillAllDay": true,
"eventsEnded": "YESTERDAY"
},
"versionName": "1.9.3-35a0ac1"
},
"resultsVersion": 1,
"deviceInfo": {
"buildManufacturer": "Sony Ericsson",
"versionCode": 16,
"buildBrand": "SEMC",
"versionCodename": "REL",
"buildModel": "LT26i",
"versionRelease": "4.1.2"
}
}

Actually, this is a bug of some "default" Calendar application, which is installed at your device.
Calendar-widget doesn't have any "Editor" views.
So solution to your problem will be changing this default Calendar application. See e.g. https://www.google.ru/search?q=android+how+to+change+default+calendar&oq=Android+how+to+change+default+ca&aqs=chrome.2.69i57j0l3.20362j0j4&client=tablet-android-samsung&sourceid=chrome-mobile&ie=UTF-8

Yes, I know that calendar-widget doesn't have viewer or editor. When I click on event in widget it opens viewer of default calendar, which in my case is google-calendar. I also have agenda-widget installed (alternative to calendar-widget), and when I click on event in this agenda-widget it opens viewer of google-calendar and the date is correct. So it's a bug in calendar-widget or agenda-widget have a workaround for this.

I see that calendar-widget provides begin and end times for default calendar viewer. Also I found this in documentation for "CalendarContract.Events": If allDay is set to 1 eventTimezone must be TIMEZONE_UTC and the time must correspond to a midnight boundary. Also found some one suggesting this code to resolve this issue:
intent.putExtra(CalendarContract.EXTRA_EVENT_BEGIN_TIME, from.withZoneRetainFields(DateTimeZone.UTC));
intent.putExtra(CalendarContract.EXTRA_EVENT_END_TIME, to.withZoneRetainFields(DateTimeZone.UTC));
Hope this helps.

Here is the link: https://code.google.com/p/android/issues/detail?id=23852

@lexa1 Thank you very much for pointing to a workaround of this Android  Calendar API bug.
Actually,  this bug was reported several times (see e.g. #68, #146, #188), but only now we see a real cause and a way to a fix!


Empty array in object parameter invalid

Summary

SDK Version: ??? don't know, let me know if it's needed
Expected behavior: see code
Actual behavior: see code

Code occurring the bug
import { is } from "typia";
is<{ foo: [] }>({ foo: [] }) // false | expect true

import typia from "typia";

interface Foo {
    foo: [];
}

console.log(typia.createIs<Foo>().toString());
console.log(typia.createIs<{ foo: [] }>().toString());

TypeScript compiler API is giving me wrong type when declaring object literal type with zero length tuple.
I'll study the reason why. Until the bug fix, please use like above interface Foo type.

@JakubSmahovsky Be fixed. Upgarde to v3.7.7 please.


Documentation: add FAQ entry for "database space exceeded" errors

This is becoming "frequently asked".
Also moves miscategorized cluster id mismatch entry from "performance"
to "operation".

LGTM.
Probably we also can add logging lines right after the exceed disk quota line to tell people to disalarm after the compaction.


l10n: zh_TW: update translation

For #9548.
Closed #9548.

[x] Pull request represents a single change (i.e. not fixing disparate/unrelated things in a single PR)
[x] Title summarizes what is changing
[x] Has a news entry file (remember to thank yourself!)
[x] Appropriate comments and documentation strings in the code
[x] Has sufficient logging.
[x] Has telemetry for enhancements.
[x] Unit tests & system/integration tests are added/updated
[x] Test plan is updated as appropriate
[x] package-lock.json has been regenerated by running npm install (if dependencies have changed)
[x] The wiki is updated with any design decisions/details.

Codecov Report

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

@@            Coverage Diff             @@
##           master    #9547      +/-   ##
==========================================
- Coverage   60.83%   60.81%   -0.02%
==========================================
  Files         530      530
  Lines       28645    28645
  Branches     4344     4344
==========================================
- Hits        17425    17420       -5
- Misses      10261    10265       +4
- Partials      959      960       +1

Impacted Files
Coverage Δ

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

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

src/client/datascience/debugLocationTracker.ts
76.56% <0%> (-1.57%)
:arrow_down:

src/client/common/process/proc.ts
14.49% <0%> (-0.73%)
: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 96872e4...d0ca225. Read the comment docs.


There are duplicate actions in the Subscription context menu after installing Database extension unified build

OS: All
Azure Resource Extension Build Version: 20220421.32 (unified)
Azure App Database Extension Build Version: 20220422.3 (unified)
Regression: Not a regression
Repro Steps:

Make sure the Database extension installed from VSIX.
Right click the Subscription.
Check whether there is no duplicate action in the context menu or not.

Expect:
There is no duplicate action in the context menu.

Actual:
There are duplicate actions in the context menu.

More Info:
This issue also reproduces in the database account context menu.

Closed by #2000


Fix async package at 1.5.2

To avoid breaking change to async.whilst. In 1.5.2 and earlier, the first function of async.whilst returns true while the second function is to be called, but in later version of async the function itself takes a callback as argument and calls it to determine whether to continue to the second function.

https://github.com/afaden/node_airtunes/blob/7e2d5f6b92755dd1908df7e688eb947c15700550/lib/udp_servers.js#L109
In the current version (as of May 2021) of async, the first function takes a callback as argument (see docs). In 1.5.2, returning a boolean is the expected behavior. The result of using a modern version of async is that the second callback will never be called, preventing the ports from ever being bound.
This should fix the issue in babelpod here: https://github.com/afaden/babelpod/issues/17


Report build time?

This isn't something important even, but I was wondering if it was possible to report the time it takes to build (coldkernel only). (the rest of the fetching etc who cares about, bench your internet if you want to know how fast that part is).
This could be accomplished by taking unix timestamps of the before and after (with date) of the build coldkernel step and then subtracting them, and doing some seconds to minutes (to hours potentially) conversion.

This could also be accomplished with the "time".


Remove redundant implementation

Part of https://github.com/jenkinsci/job-dsl-plugin/pull/335.

Thank you for a pull request! Please check this document for how the Jenkins project handles pull requests

Thanks for the review!


Implement ALTER TYPE SET SCHEMA

Problem
Altering the schema for a given type is not reflected in generated code.
For example,
ALTER TYPE event SET SCHEMA new;

results in
type Event string

when it should be
type NewEvent string

Solution
Implement ALTER TYPE ... SET SCHEMA.

@kyleconroy Is there anything additional you need to review this PR?


Quickedit publish/unpublish from grid

Hi,
I wanted to add a toggle-publish-link in my grid view.
I added this to my template:
@if ($cell->name == 'published')
                    data->id !!}">{!! $cell->value !!}
@endif

and added a togglePublish-method to my controller.
   public function togglePublished(Request $request)
    {
        $id = $request->get('id');
        Models\blog_posts::updatePublished($id);
        return redirect('panel/blog_posts/all');

    }

Now I get
 Type error: Argument 1 passed to blog\Http\Controllers\blog_postsController::togglePublished() must be an instance of Illuminate\Http\Request, string given
Somehow all crudcontroller methods get the entity name as an argument and nothing else. How can I get the row id from query string?

I solved it like this:
 public function togglePublished($entity)
    {
        $id = \Request()->query('id');
        Models\blog_posts::updatePublished($id);
        return redirect('panel/blog_posts/all');
    }

But why is the entity passed as an argument, if the controller is for a defined entity, it could be a private property as well, I think.

@lbm-services thank you for your solution, if you think we need to change the code please send a pull request


VSCode Insiders will not launch on OSX

VSCode Version: 1.10.0
OS Version: 10.12.3

Steps to Reproduce:

Click icon in dock.  Dot shows, but then goes away, no launch
Command line: code-insiders --disable-extensions  nothing happens at all

Worked earlier today, before latest insiders build updated.

I deleted these 2 files and relaunched and it works now.  This never happened before.

Same thing here, I deleted the same files and it's working now.

I also have the same problem. It started after I went to the extensions and an error was thrown. I don't know, I feel like these daily updates are fairly problematic since this is the second time in two weeks I have had a broken editor. This has already thrown me off for at least an hour at work. I understand mistakes are made but daily updates to me only opens the door to more errors. Honestly I don't understand how sufficient testing can be done.

Same problem here, except that it my case I don't have the two files listed above.

@aaronbalthaser It's a nightly build, they occasionally could be broken.  Keep a copy of the release version handy in case.

Same here. And I don't have those files in ~/Library/Application Support/Code - Insiders.
OS : macOS 10.12.3

Similar problem here after trying to uninstall an extension. Vscode would launch but I'd just get errors opening the extensions viewlet. After deleting those 2 files all seems well again.

@brunnopleffken I didn't see the files at first because they're hidden in the regular Finder window.
Try using the command line:

View directory: ls ~/Library/Application\ Support/Code\ -\ Insiders
Delete it: rm ~/Library/Application\ Support/Code\ -\ Insiders/Code\ -\ Insiders-*

The file keeps coming back after I start up VS Code Insiders.

Thanks @adriancarriger, worked for me. They keep coming back after launch for me also, so need to delete again after closing.

Definitely a duplicate of #20564, the same underlying issue.
Sorry for the hassle guys!

I'm not on insiders, but my VSCode would not launch either and following this thread I found a bunch of .sock files in the directory which I deleted and then everything worked again.
srwxr-xr-x    1 alper  staff      0 Mar 11 17:13 1.10.1-shared.sock=
srwxr-xr-x    1 alper  staff      0 Mar 23 18:57 1.10.2-shared.sock=
srwxr-xr-x    1 alper  staff      0 Apr 14 13:23 1.11.0-shared.sock=
srwxr-xr-x    1 alper  staff      0 May 22 16:14 1.11.2-shared.sock=
srwxr-xr-x    1 alper  staff      0 Jun 29 12:53 1.12.2-shared.sock=
srwxr-xr-x    1 alper  staff      0 Jun 15 11:20 1.13.0-shared.sock=
srwxr-xr-x    1 alper  staff      0 Aug 22 15:00 1.13.1-shared.sock=
srwxr-xr-x    1 alper  staff      0 Aug 29 09:29 1.15.1-main.sock=
srwxr-xr-x    1 alper  staff      0 Aug 29 09:29 1.15.1-shared.sock=

I'm also not on Insiders and regularly have the problem that VS Code won't open. Sadly I can't see any .sock files or something else which looks strange.


Update 007_Reverse_Integer.py

This is correct solution. Earlier solution was incorrect.

Hi @mustafanw
Thank you for contribution!
Note that almost all Python solutions are based on Python2. These solutions may fail on Python3.
I have checked 07 Python solution. It passed on Python2 and failed on Python3. So, this is not a solution problem but compatibility problem.
In this case, I suggest add a new solution in Python 3 rather replace existing solution.


Copyright notice and symbol forces itself on your pages

Problem
The copyright notice automatically inserts the copyright symbol followed by the word "Copyright", and adds a period to the end of your notice. Our legal team prefers a different format for the copyright notice without that symbol, and if you don't want any copyright notice at all, there seems to be no non-CSS way to do that; neither removing the copyright line from the conf.py file nor setting it to an empty string eliminates the default copyright text from the footer.
Reproducible Project
If I specify the following in my conf.py (because that's exactly what I want my copyright statement to say):
copyright = u'Copyright (c) 2019 My Company. All rights reserved.'
I get the following at the bottom of every page:
© Copyright Copyright (c) 2019 My Company. All rights reserved..
So I need to use CSS to bypass the default copyright and replace the content using a pseudo-class selector on the contentinfo div.
Error Logs/Results
N/A
Expected Results
If the user specifies a string for the copyright in the conf.py file, use exactly what they provide, nothing more, nothing less; if they don't specify the copyright option, or especially if they set it to an empty string, leave it out entirely.
Environment Info

Python Version: 3.5.4
Sphinx Version: 1.7.4
RTD Theme Version: how do you find this information?

This theme uses more or less the same logic for copyright as the base theme from Sphinx itself. I can definitely understand the use case for this although I'm not sure we want to handle the copyright variable differently in conf.py.

how do you find this information?

If you're building on Read the Docs, it should be in the build output. Otherwise, it is at the top of the theme.js file in more recent versions of the theme.

Thanks, David. If anyone else is looking for a workaround to this copyright issue, you can update your custom CSS with the following:
   the ReadTheDocs theme but eschewed by our legal team */
div[role=contentinfo] {
	visibility: hidden;
	position: relative;
}

div[role=contentinfo]:after {
	visibility: visible;
	position: absolute;
	top: 0;
	left: 0;
	content: "Copyright (c) 2019 Our Company. All rights reserved.";
}

I do recommend adding a comment to the conf.py file to note that the copyright field specified there will be overridden by the CSS, so any changes, such as to update the date, should be made in the CSS.

As already noted, this theme follows the pattern used in other themes. You can override this with a custom layout file as well if you wanted, to avoid a CSS hack. We're unlikely to change this or note custom usage of the copyright config field in conf.py as this seems to be a rather custom change.
I'm glad you have a working solution however! Going to close this issue as there isn't much actionable for core dev team here.


Question about LuCI rpc and ubus

Hi
I am not sure this is the proper place to ask this question , if not, please refer me to the correct one.
I am building an android app (free) that able to show OpenWRT status/data from OpenWRT devices on the network.
I managed to use current relevant LuCI commands and call them in my app.
What i am currently missing is a command that will allow me to have a translation of wifi client mac address to ip(4).
There are cases it does return it , but most of my clients i get only MAC address (i have 1 router setup without wifi and 2 ap device , all openwrt)
I am looking for output similar to "arp -a" command.
I understand that LuCI uses ubus cli command , i tried to find a cli command with ubus that will return this data, but without any luck.
Thanks in advance for any reply.

Since the AP devices will not handle IP traffic but only forward layer 2 data frames, they usually have no ARP information about connected clients until you implement some kind of flood pinging or reverse ARP resolution.
This is outside of the scope of LuCI though, it would be something that needs to be implemented (and enabled) in OpenWrt first. Reading the data is straight forward, you could e.g. use the ubus file namespace with the read procedure to retrieve /proc/net/arp or you could use the luci-rpc / getHostHints method to dump information about known hosts.

Thanks for your help.


include license file in zcomponents crate source

Hi. i am packaging zcomponents in fedora and it would be easier to have the file include in the crate source.
Here the fedora license guide: https://docs.fedoraproject.org/en-US/packaging-guidelines/LicensingGuidelines/#_license_text
Here the fedora guideline for rust: https://docs.fedoraproject.org/en-US/packaging-guidelines/Rust/

@remilauzier done!

Thanks!


Update Software Title When Releasing a New Version

Currently, we have two versions of the software with the same title. This creates confusion for our users. We need to ensure that the software title is updated every time a new version is released.
Old Version:

New Version:

duplicate of #50


Convert BrickSpanSizeLookup(Test) to kotlin

Fixes https://github.com/wayfair/brickkit-android/issues/170

Codecov Report

Merging #171 (129bd38) into dev (19962a7) will increase coverage by 0.13%.
The diff coverage is 100.00%.

@@             Coverage Diff              @@
##                dev     #171      +/-   ##
============================================
+ Coverage     87.23%   87.37%   +0.13%
- Complexity      335      336       +1
============================================
  Files            33       33
  Lines          1003      998       -5
  Branches        157      156       -1
============================================
- Hits            875      872       -3
+ Misses           67       65       -2
  Partials         61       61

Impacted Files
Coverage Δ
Complexity Δ

...n/java/com/wayfair/brickkit/BrickSpanSizeLookup.kt
100.00% <100.00%> (ø)
4.00 <4.00> (?)

Continue to review full report at Codecov.

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

Codecov Report

Merging #171 (129bd38) into dev (19962a7) will increase coverage by 0.13%.
The diff coverage is 100.00%.

@@             Coverage Diff              @@
##                dev     #171      +/-   ##
============================================
+ Coverage     87.23%   87.37%   +0.13%
- Complexity      335      336       +1
============================================
  Files            33       33
  Lines          1003      998       -5
  Branches        157      156       -1
============================================
- Hits            875      872       -3
+ Misses           67       65       -2
  Partials         61       61

Impacted Files
Coverage Δ
Complexity Δ

...n/java/com/wayfair/brickkit/BrickSpanSizeLookup.kt
100.00% <100.00%> (ø)
4.00 <4.00> (?)

Continue to review full report at Codecov.

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


packages/block

packages/block/CHANGELOG.md
Originally posted by @ryguardiano in https://github.com/ryguardiano/Earning-coins-command/discussions/13#discussioncomment-1798939

It is ok


Open (view) files - pdf and images and other files

Hi can we open files in webview without download .
i am using google iframe for the same but its work very slow for pdf files. can we open all files directly with the help of android webview

We sure can but it will require some external reader implementation into the app, will make it little more bulky.


How to use this library

Hello Vijay,
I am interested in using your library with Nebular and Ngx-formly bundled together.
Can I please request your guidance on how I could go about integrating it?
I would also suggest you reach out to the developer of ngx-formly and share the work you have done as he has Nebular support on the roadmap.
Looking forward to hear back from you.
Thanks

Hi, @argupta23 This package is still in preview. We are using this in our projects and fixing some bugs. Soon we will update the documentation.