Downloading token pics

I recently found that the "/allcards" option doesn't download tokens. I found the type parameter "Tokens" in the ygoprodeck API and wanted to include a branch to include a "/alltokens" command, but looking at the api calls for existing commands, I think the "get_all_cards" call should already include them, but it doesn't work. On the other hand, manually adding tokens to a decklist and downloading it does work. I'm not an expert in python and never used the ygoprodeck API before, so I thought submitting this as issue might be a good idea.
Greets,
Messoras

Hi! Thanks for the time to bring this issue.
I did not noticed this since my decks usually don't run tokens. I assumed the YGOPRODeck endpoint with no filters would return all cards, but it seems its not the case.
I'm seeing if there is a simple way to add it to do this but it seems I will have to hardcode all card types for it to get tokens.
If this is necessary I will probably add a /tokens command and add it to /all, since tokens are technically not cards.

@Messoras
Ok, so I checked a bit and seems that /all downloads tokens without errors.
I downloaded v2.1 and run '/all' on an empty pics folder and trackers. All 12723 cards returned by the YGOPRODeck API were downloaded, including the 107 different tokens that they return.
So it is not an issue with all tokens and, maybe, is an issue with your current machine or configuration.
If the game happens to have more than 107 tokens and they are not returned by the API I don't see a reason for they to be downloaded if manually put into a decklist.
So,

make sure it's not your anti-virus randomly blocking cards, folder permission configurations or something similar.
which token(s) you had trouble downloading?

I had no card pics at all and ran the "/all" command, which includes the "/allcards" command, but when I played some random duels vs AI, I realized that none of the tokens were downloaded. Explicitely the "Primal Being Token", the "Adventurer Token" and 2 different versions of the "Mecha Phantom Beast Token". All other cards were downloaded successfully, so I doubt that an anti-virus software blocks the specific download of tokens. Anyhow a "/tokens" command would be very useful so you could just download your deck and the tokens instead of spending alot of time and bandwidth on downloading all cards at once.
I actually branched the project and made a draft. I will create a pull request for that.


Working with i18n-abide

Hello,
do you think I can re-use the pot generated by angular-gettext with i18n-abide (https://github.com/mozilla/i18n-abide) for the translations on the backend side?

The pot file is just standard gettext, I don't see why it wouldn't be usable.

Yeah I can confirm it now :)


🫡 Remove mjlshen from approvers

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 45.73%. Comparing base (18f11a7) to head (3fa8ec1).

Additional details and impacted files

@@           Coverage Diff           @@
##             main     #543   +/-   ##
=======================================
  Coverage   45.73%   45.73%
=======================================
  Files          82       82
  Lines        6236     6236
=======================================
  Hits         2852     2852
  Misses       3030     3030
  Partials      354      354

oh man, you will be missed

all the best!

/lgtm

Good luck @mjlshen!


[Transactions] Add balance transfer functionality

Motivation
This PR adds the ability to transfer coins between accounts
Link to mission: Carpe: Transfers between Accounts
Related PRs
[txs] change balance_transfer API for Carpe app #995

Parameter:

Destination address: string of 32 hexadecimal digits representing the destination address of the transaction
Amount: positive integer representing the number of coins the user want to transfer

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Thank you @ea-open-source for your contribution. Your PR helped me with some directions and I end up with a little more robust solution for coin transfer through this PR https://github.com/OLSF/carpe/pull/98.
Here some examples of what I have added:

error handling
language framework compliance
new transactions view
input check
input mask

Please reach out to the hustle karma group to claim your bounties.


Improve UI design.

Implement home page functionality. Improve UI design.

@PetrPoling Please re-review.


IRGen: Fix outlined value operations for (constraint) existentials.

In the case of constraint existentials metadata instantiation was not supported pre 5.7, so using metadata for value operations is prohibited.
rdar://101250193

@swift-ci test

@swift-ci smoke test


SLO not redirecting to specified URL ($auth->logout($returnTo);)

Hi there,
is it normal behavior that an SLO with $auth->logout($returnTo); does not redirect to the named URL?
In my case after a successful SLO (sessions are cleared correctly) it just says "Sucessfully logged out" (the URL in the browser in my case is index.php?sls&SAMLResponse=XXX&RelayState=correct_URL&....). So it seems that the URL from RelayState is not applied. Is this a known behavior or possibly a misconfiguration?
Many thanks in advance!

We are running into the same issue. Did you find anything?

i'm facing the same issue , any update ? @it-esfl

If you are using the code of the demo1
else if (isset($_GET['sls'])) {
    if (isset($_SESSION) && isset($_SESSION['LogoutRequestID'])) {
        $requestID = $_SESSION['LogoutRequestID'];
    } else {
        $requestID = null;
    }

    $auth->processSLO(false, $requestID);
    $errors = $auth->getErrors();
    if (empty($errors)) {
        echo '
Sucessfully logged out
';
    } else {
        echo '
' . htmlentities(implode(', ', $errors)) . '
';
        if ($auth->getSettings()->isDebugActive()) {
            echo '
'.htmlentities($auth->getLastErrorReason()).'
';
        }
    }

Such code in case of success on a SP-initiaited Single Logout process, ends printing the "Sucessfully logged out" that you comment. But this is just a demo.
You could improve the code and take care of the redirection, ideally due UX, first notify the user about the logout action
and then redirecting so for example:
 echo '
Sucessfully logged out
';
 if (isset($_GET['RelayState'])) {
     // Add code to confirm RelayState is a trusted URL before redirecting

    echo '

    ';
 }


Move to styled components

Todo:

[x] Refactor some code styles
[x] Ensure style capability still exists with new styled components lib
[x] Ensure existing fuctionality is maintained
[x] Update docs
[ ] Ensure SSR isn't broken again

@RomanHotsiy I finally got around to finishing this conversion while achieving feature parity as much as possible. Curious if you would be willing to check if this version addresses the reasons you had for forking the repo originally. From what I remember the main reason was SSR-related correct?
Let me know if you would be willing to try this version out. I made a release of this pr 3.0.0-rc.1


DBALEventStoreException during any database operation

Hey, I'm new into CQRS and Broadway, but I'm issuing with error I cannot solve myself. I've added some fixtures to this app, while loading data to database I'm getting an error:
[Broadway\EventStore\Dbal\DBALEventStoreException]

In AbstractMySQLDriver.php line 42:

  An exception occurred while executing 'INSERT INTO event (uuid, playhead, m
  etadata, payload, recorded_on, type) VALUES (?, ?, ?, ?, ?, ?)' with params
   ["\x4b\x80\xf6\x6c\xa5\x46\x47\x73\x92\x55\xb5\xcb\xe1\x0f\xa2\x39", 0, "{
  \"class\":\"Broadway\\\\Domain\\\\Metadata\",\"payload\":[]}", "{\"class\":
  \"App\\\\Domain\\\\User\\\\Event\\\\UserWasCreated\",\"payload\":{\"uuid\":
  \"4b80f66c-a546-4773-9255-b5cbe10fa239\",\"credentials\":{\"email\":\"test1
  @test.com\",\"password\":\"$2y$12$ESU377hWQsynNogPGz\\\/26.\\\/9RaBcnhkeNEn
  Uz7ZxItmlNe7Rn07yu\"},\"created_at\":\"2020-06-06T09:48:30.595163+00:00\"}}
  ", "2020-06-06T09:48:30.595621+00:00", "App.Domain.User.Event.UserWasCreate
  d"]:

  SQLSTATE[42S02]: Base table or view not found: 1146 Table 'cloudsso.event'
  doesn't exist

I've done new migration, I've run it successfully, but it didn't created events table required by DBALEventStore.
Thanks in advance for your support!

Hey,
Looks like table for events not exists, try run migrations once again.
Please also connect to database and verify your structure by eg. Tableplus or phpstorm

I did that, and I know that this table does not exists, deleting all migration classes, dropping database, creating new one, however creating migration with bin/console m:migr recreates all tables  (messenger_messsages /temporarily/), refresh_tokens, users - but event table does not exist, it behaves like Doctrine does not see Event entity / mapping, and I can't find any working solution for that.

You can use make db instead.
Table events is created in this migration - https://github.com/jorge07/symfony-5-es-cqrs-boilerplate/blob/84d822de3c13f0fa1bf823f9105de1c711f803f1/src/Infrastructure/Share/Migrations/Version20180102233829.php#L43
My structure:

I am little confused about messenger_messsages and refresh_tokens.

What I think has happened here is that you've run migration:generate and in this new migration file Doctrine is deleting this events table. Please have a look. Broadway doesn't use Doctrine mapping but schema so you're to review created migrations to not delete the Broadway bundle table.
I'll see if I can fix this in Broadway bundle side. It's the best DX actually

Hmm, I've had lots of problems during moving my project from simple Symfony architecture into CQRS & ES one, so I decided to clone this repo and use it as a boilerplate. Anyway, now I'm getting an error like this:
docker-compose -f docker-compose.yml -f etc/dev/docker-compose.yml stop
Stopping cloud-sso_elasticsearch_1 ... done
Stopping cloud-sso_mysql_1         ... done
Stopping cloud-sso_rmq_1           ... done
docker-compose rm -v -f
Going to remove cloud-sso_elasticsearch_1, cloud-sso_mysql_1, cloud-sso_rmq_1
Removing cloud-sso_elasticsearch_1 ... done
Removing cloud-sso_mysql_1         ... done
Removing cloud-sso_rmq_1           ... done
docker-compose -f docker-compose.yml -f etc/dev/docker-compose.yml build
mysql uses an image, skipping
elasticsearch uses an image, skipping
rmq uses an image, skipping
php uses an image, skipping
nginx uses an image, skipping
workers uses an image, skipping
kibana uses an image, skipping
docker-compose -f docker-compose.yml -f etc/dev/docker-compose.yml run --rm php sh -lc 'xoff;COMPOSER_MEMORY_LIMIT=-1 composer install'
Creating cloud-sso_elasticsearch_1 ...
Creating cloud-sso_rmq_1           ...
Creating cloud-sso_mysql_1         ...
Creating cloud-sso_mysql_1         ... error

Creating cloud-sso_elasticsearch_1 ... doneCreating cloud-sso_rmq_1           ... doneted

ERROR: for mysql  Cannot start service mysql: driver failed programming external connectivity on endpoint cloud-sso_mysql_1 (cc8f6155dd0f88a8439dd7039d7f3c86fdd8d202949226a4cde3291b0a9c6f3d): Bind for <IP_ADDRESS>:3306 failed: port is already allocated
ERROR: Encountered errors while bringing up the project.
make: *** [makefile:31: build] Error 1

I know it's mysql-related, but I have no idea what's going on.

OK, I fixed this problem using different MySQL entry port in dev environment. However, I'm getting now an error:
 Cannot autowire service "App\Application\Command\User\SignIn\SignInHandler"
!!    : argument "$userCollection" of method "__construct()" references interface
!!     "App\Domain\User\Repository\CheckUserByEmailInterface" but no such service
!!     exists. Did you create a class that implements this interface?

Seems you got another mysql instance running locally. Is this happening in a clean clone?
What where the steps you did?
Currently this should work:

Git clone
Make start

What OS are you using?

Hi, I'm back. I've recloned your repo, now I'm getting an error: PDO::__construct(): php_network_getaddresses: getaddrinfo failed: Name does not resolve. The only thing I've changed is MySQL port from 3306 to 8306 (both in docker-compose.yml and .env's files.

Whole console output:
archi_tektur@Oskar-PC:~/Projects/Cloud/cloud-core$ make start
docker-compose -f docker-compose.yml -f etc/dev/docker-compose.yml stop
Stopping cloud-core_nginx_1         ... done
Stopping cloud-core_workers_1       ... done
Stopping cloud-core_php_1           ... done
Stopping cloud-core_kibana_1        ... done
Stopping cloud-core_rmq_1           ... done
Stopping cloud-core_elasticsearch_1 ... done
docker-compose rm -v -f
Going to remove cloud-core_nginx_1, cloud-core_workers_1, cloud-core_php_1, cloud-core_mysql_1, cloud-core_rmq_1, cloud-core_elasticsearch_1
Removing cloud-core_nginx_1         ... done
Removing cloud-core_workers_1       ... done
Removing cloud-core_php_1           ... done
Removing cloud-core_mysql_1         ... done
Removing cloud-core_rmq_1           ... done
Removing cloud-core_elasticsearch_1 ... done
docker-compose -f docker-compose.yml -f etc/dev/docker-compose.yml build
rmq uses an image, skipping
mysql uses an image, skipping
kibana uses an image, skipping
elasticsearch uses an image, skipping
workers uses an image, skipping
php uses an image, skipping
nginx uses an image, skipping
docker-compose -f docker-compose.yml -f etc/dev/docker-compose.yml run --rm php sh -lc 'xoff;COMPOSER_MEMORY_LIMIT=-1 composer install'
Creating cloud-core_elasticsearch_1 ... done
Creating cloud-core_rmq_1           ... done
Creating cloud-core_mysql_1         ... done
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Nothing to install or update
Generating autoload files
composer/package-versions-deprecated: Generating version class...
composer/package-versions-deprecated: ...done generating version class
81 packages you are using are looking for funding.
Use the `composer fund` command to find out more!
Executing script cache:clear [OK]
Executing script assets:install public [OK]

docker-compose -f docker-compose.yml -f etc/dev/docker-compose.yml up -d
Starting cloud-core_mysql_1 ...
cloud-core_rmq_1 is up-to-date
Starting cloud-core_mysql_1  ... done
Starting cloud-core_kibana_1 ... done
Creating cloud-core_workers_1 ... done
Creating cloud-core_php_1     ... done
Creating cloud-core_nginx_1   ... done
docker-compose -f docker-compose.yml -f etc/dev/docker-compose.yml exec -T php sh -lc './bin/console d:d:d --force --if-exists'

In AbstractMySQLDriver.php line 93:

  An exception occurred in driver: SQLSTATE[HY000] [2002] php_network_getaddr
  esses: getaddrinfo failed: Name does not resolve

In PDOConnection.php line 31:

  SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo failed: Name d
  oes not resolve

In PDOConnection.php line 27:

  SQLSTATE[HY000] [2002] php_network_getaddresses: getaddrinfo failed: Name d
  oes not resolve

In PDOConnection.php line 27:

  PDO::__construct(): php_network_getaddresses: getaddrinfo failed: Name does
   not resolve

doctrine:database:drop [-s|--shard SHARD] [-c|--connection [CONNECTION]] [--if-exists] [-f|--force] [-h|--help] [-q|--quiet] [-v|vv|vvv|--verbose] [-V|--version] [--ansi] [--no-ansi] [-n|--no-interaction] [-e|--env ENV] [--no-debug] [--] <command>

make: *** [makefile:81: db] Error 1

Can you paste here the changes you've made in docker compose and env file please?

Of course, here it goes (only showing lines that were changed):
etc/.../docker-compose.yml:
  mysql:
    ports:
      - "8306:3306"

.env:
###> doctrine/doctrine-bundle###
DATABASE_URL=mysql://root:api@mysql:8306/api?serverVersion=8.0
###< doctrine/doctrine-bundle ###

If you've not modified mysql.conf to run in this port, then in the docker network will still running in 3306 and your Host port now maps to a empty port.
My suggestion is to NOT modify mysql config at all. Keep everything as it is when you clone and just map you Host port to the mysql port in docker internal network. This will allow you to access mysql from the outside docker network in the port 8306 while PHP containers will be able to access mysql at port 3306.
mysql:     ports:       - "8306:3306
Have a try and let's see if this solves your problem

Hi again!
I haven't modified any of mysql config files (except the docker ones). I had conflict on port 3306, so I mapped it to free 8306 on external. Even if I changed it back I'm still getting this error. I cannot reach MySQL container within NGINX one.

@archi-tektur have a try to #174 please and tell me if solves your issue. I was able to reproduce your issue locally and this worked for me

Closed my mistake. Sry!

This should be solved in #174 feel free to reopen if still having issues


add sklearn.impute.SimpleImputer

Codecov Report

Merging #267 into master will decrease coverage by 0.00%.
The diff coverage is 92.85%.

@@            Coverage Diff             @@
##           master     #267      +/-   ##
==========================================
- Coverage   92.71%   92.70%   -0.01%
==========================================
  Files          41       42       +1
  Lines        2293     2318      +25
  Branches      424      427       +3
==========================================
+ Hits         2126     2149      +23
- Misses         87       88       +1
- Partials       80       81       +1

Flag
Coverage Δ

#unittests
92.70% <92.85%> (-0.01%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

...d/ml/operator_converters/sklearn/simple_imputer.py
92.30% <92.30%> (ø)

hummingbird/ml/operator_converters/__init__.py
100.00% <100.00%> (ø)

hummingbird/ml/supported.py
89.85% <100.00%> (+0.14%)
:arrow_up:

hummingbird/ml/_container.py
93.43% <0.00%> (-0.07%)
:arrow_down:

...rd/ml/operator_converters/_tree_implementations.py
98.15% <0.00%> (-0.01%)
: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 eff1214...872c21e. Read the comment docs.

LGTM but since MissingIndicator and SimpleImputer are using to impute missing values, I think we can just have a single file (e.g., impute.py) containing both of them. WDYT?


[Improve][build] Improved scope of maven-shade-plugin

Purpose of this pull request
Improved scope of maven-shade-plugin

Check list

[ ] Code changed are covered with tests, or it does not need tests for reason:
[ ] If any new Jar binary package adding in your PR, please add License Notice according
New License Guide
[ ] If necessary, please update the documentation to describe the new feature. https://github.com/apache/incubator-seatunnel/tree/dev/docs

ZonedDateTime should be solved by another PR as an improvement.

@CalvinKirs @TyrantLucifer @laglangyue PTAL

How about declaring in parent dependency? This way you don't have to declare every submodule

Yes, I think so, too.
Add maven-shade-plugin to seatunnel-connector-v2/pom.xml instead seatunnel-connector-v2/connector-xxx/pom.xml is better.

Need to exclude slf4j, logback, log4j, other... in connector shade

@CalvinKirs @EricJoy2048 If declared in the parent pom, it will cause connector-common, connector-file-base, etc. to also execute the shaded.

@CalvinKirs @EricJoy2048 If declared in the parent pom, it will cause connector-common, connector-file-base, etc. to also execute the shaded.

Can we use exclude to exclude connector-common, connector-file-base?

@CalvinKirs @EricJoy2048 If declared in the parent pom, it will cause connector-common, connector-file-base, etc. to also execute the shaded.

Can we use exclude to exclude connector-common, connector-file-base?

We can manually declare the plugin in these special modules and then add theskip parameter

@CalvinKirs @EricJoy2048  Thanks, I got it. maven-shade-plugin provided the skip parameter in the latest version(3.3.0).


Add two missing entries to the OCSP CRLReason table

This PR adds two CRLReasons (privilegeWithdrawn and aACompromise) that are missing from reason_tbl in OCSP_crl_reason_str() (crypto/ocsp/ocsp_prn.c) but present in https://datatracker.ietf.org/doc/html/rfc5280#section-5.3.1.
These two CRLReasons were absent in https://datatracker.ietf.org/doc/html/rfc2459#section-5.3.1 and X.509 (08/97), which is presumably why they were missing from ocsp_prn.c.  Interestingly though, the corresponding #defines do already exist (in include/openssl/ocsp.h.in).
The use of reason codes in CRL entries and OCSP responses has increased amongst WebPKI CAs recently, and I'm aware of several people that have been confused by the missing privilegeWithdrawn entry (that this PR adds) when using "openssl ocsp" to print OCSP responses.

Could you please submit a CLA? https://www.openssl.org/policies/cla.html
Or, alternatively, this could be acceptable with CLA: trivial. So if you could amend the commit message to put CLA: trivial on a separate line in the commit message body, that would also work.

Or, alternatively, this could be acceptable with CLA: trivial. So if you could amend the commit message to put CLA: trivial on a separate line in the commit message body, that would also work.

Done.

Done.

It seems it did not work. There needs to be an empty line between the first line of the message (subject line) and the rest of the message - this is a body of the message.

OK with CLA: trivial

Done.

It seems it did not work. There needs to be an empty line between the first line of the message (subject line) and the rest of the message - this is a body of the message.

Ah, sorry about that.  Empty line added.

This pull request is ready to merge

Merged
1c8a7f5091e2c5aebc043be86bcbedc6947e1c6f Add two missing entries to the OCSP CRLReason table


Added Hough Transform Line Detection.  OSX only for now.

Mostly a direct port from GPUImage 1.  OSX Only.  Will come later.
partially closes #50

Hi, I couldn't pull this branch under Xcode 8, Swift 3. Lots of errors :/

Yes. It was pushed out before swift 3 but not merged. Haven't gotten around
to updating it yet.
On Wed, Sep 28, 2016 at 6:59 PM Winton Davies<EMAIL_ADDRESS>wrote:

Hi, I couldn't pull this branch under Xcode 8, Swift 3. Lots of errors :/
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/BradLarson/GPUImage2/pull/54#issuecomment-250246826,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAneTPlTaQjodEew0m7Pj9sEXl9R8qlNks5quqsOgaJpZM4JivOm
.

I'd offer to help but I have 2 days experience with Swift :)
W

I probably wont get to get to this this week, but will try to soon.
On Wed, Sep 28, 2016 at 11:17 PM Winton Davies<EMAIL_ADDRESS>wrote:

I'd offer to help but I have 2 days experience with Swift :)
W
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/BradLarson/GPUImage2/pull/54#issuecomment-250318029,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAneTH9gNtSxigziov4jMtProxAF2gmkks5quudngaJpZM4JivOm
.

closing in favor of #94

Thanks Brad!!
W
On Mon, Nov 28, 2016 at 7:26 PM, Max Cantor<EMAIL_ADDRESS>wrote:

closing in favor of #94 https://github.com/BradLarson/GPUImage2/pull/94
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/BradLarson/GPUImage2/pull/54#issuecomment-263466218,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGP1Rkoa3jym0II7ZbCwluNaEgZhg9iCks5rC5tIgaJpZM4JivOm
.


Feature/dawson/atslite1 args

Fixes issue reported by Jerome Verbeke

Heads up, this seems to include the same node branch that I would say isn't quite ready to be pulled into the code, as there is still testing to be done.

Heads up, this seems to include the same node branch that I would say isn't quite ready to be pulled into the code, as there is still testing to be done.

I think it will be OK.  Your work seems to be a no-op if same_node is not used.  At least in my testing on rzvernal with flux it seemed to be fine.
But we will not advertise the existence of same_node for now til it is ready


Incorrect balance when staking to others

The "total balance" in the top pane doesn't include the portion of EOS that I've delegated to my other account.
Is this intentional, or a bug?

Total balance is calculated from self delegated + available balance.
Balance calculation was implemented before delegation to other accounts.
I will mark it as bug + enhancement

Total balance is calculated from self delegated value + available.
Calculation was implemented before delegation to other accounts.
I will mark it as bug + enhancement


rackspace: Remove extra parameter in constructor for firewall implementation

Removes vestigial parameter on the constructor for Rackspace's Firewall
implementation, which made PKB exit with init error.
This is a fix for the following error that seems to have sneaked in due to lack of testing on Rackspace.
    firewalls_dict[cls] = cls()
TypeError: __init__() takes exactly 2 arguments (1 given)

Thanks!


Update docs for dynamic loading of libpython

BUG=https://b.corp.google.com/issues/322386436

Changed the heading level (using ### instead of ##) and mentioned both 3.10 and 3.11. Needs a new approval.


CoverFlow Animation not working...Followed Ionic Documentation

I am working in my Ionic 4 app and I have added the CoverFlow effect to my slider but it is not working.
But it is not showing the coverflow effect. It is displaying simple effect slider.
It's not even showing any error.Eventhough i've set the duration still its showing the default slider
Any help is much appreciated.

Please see https://codepen.io/liamdebeasi/pen/vYYEwZM for an example of cover flow working on ion-slides.

Try this it helped me.......
https://codepen.io/liamdebeasi/pen/vYYEwZM

Thank you.....by removing the last two line its working for me


Start to charge remotly

Hello,
Is it possible to start the charging process remotely with this integration ?
I can see if the cable is connected and if the car is charging, but I didn't find a button to start the charge (like on the NissanConnect app) Is it plan to implement it ?
Thank you ;-)
Cyril

I haven't added it yet because it isn't something I personally use (I've got a 'smart' charger), but will look into it as it should be fairly straightforward to add.

@cyril164 I've added a 'Start Charge' button in v0.5.0-beta.1. Would you mind trying this out? (HACS beta instructions).


Fix Opera version for CSS Grid

Opera's version number corresponds to that of Chrome minus 13. So current stable version is 43, which does not support grid.

I did not check if this problem is present elsewhere in caniuse, or why it says the current version is 42 when it should be 43.

Hmm, I'd swear one of the recently released versions was different by 14 versions points instead of the previous 13. Ah well, my mistake. Has now been corrected and have updated CSS grid together with a few others. The current version has been updated to 43. Thanks!

Thank you!


Accept unicode keys in ConfigDict.load_dict

I was recently trying to follow the JSON file example in the loading configuration from a nested dict documentation, but I ran into a TypeError.
It turns out that JSON files loaded with json from the standard library have unicode keys (whereas using the simplejson module will result in str keys). Trying to load a dictionary with unicode keys into the configuration with load_dict will raise a TypeError.
I was able to fix this locally by making sure load_dict would accept either str or unicode as keys and making sure __setitem__ would convert Unicode keys to bytes (so there wouldn't be a mix of str and unicode keys in the configuration).

Great, their share will be very welcome!

I'd be happy to submit a PR for this, but I'm not sure if it's better to force unicode keys to become str in ConfigDict.__setitem__, or if I should leave them as Unicode (so there will possibly be a mix of unicode and str keys in the configuration).

Just ran into this myself. Like @jenmontes, I'm also wondering if we need to coerce unicode keys to be byte strings. The code currently has if-statements like these:
if isinstance(key, str):
    ...

But in Python3, str is the same as unicode in Python2, so I can "fix" this problem by running the app with Python3. Unless ConfigDict keys really need to be bytes, why don't we use basestring (Python3 doesn't have basestring, but Bottle defines it as a compatibility measure). The code would thus become:
if isinstance(key, basestring):
   ...

There are 3 places in ConfigDict where this change would be necessary (load_dict(), update(), and __setitem__()).

I would force "native" string keys by de-coding unicode in python2 (tonat()), and rejecting byte strings in python3. In code this means:
if isinstance(key, (str, unicode)):
key = tonat(key)
This way, runtime lookups with native strings is always fast. Now that I think about it, an sys.intern call on keys would not harm either.

Thanks for the input. I tried all of your suggestions, but in the end went with my original fix. Here's why:

isinstance(key, basestring) is equivalent to using isinstance(key, (str, unicode)) based on the values Bottle uses for basestring, str, and unicode in both py2 and py3 (or please explain if I'm wrong about this)
tonat() caused problems with key lookup. Basically, the key is converted when a value is set, but not converted when it is retrieved. Alternatively, we could override get() and __getitem__() and run tonat() each time they're called, as well, but I think that will harm rather than help performance
sys.intern() is not available for Python2

It looks like ConfigDict is available from release-0.12, so I created a pull request for both that release (#776) and master (#777).
Let me know if there's anything else I can do.

Your second point is a good one: Better to error-out on byte keys in python3 than silently converting stuff and provoke random KeyErrors later.
Thanks for the pull requests, they are perfect :)

Thanks for the feedback! I wasn't sure if I was following the contributor guidelines correctly.
Also, thanks to @jenmontes for the original bugfix description.


DBZ-3710 Support Oracle column default values

https://issues.redhat.com/browse/DBZ-3710
These are added for myself not to loose track while I work on this:

[X] Oracle 19 LogMiner tests
[x] Oracle 19 XStream tests
[x] Oracle 12 LogMiner tests
[x] Oracle 12 XStream tests

Reworking this PR based on recent changes to the default value resolution introduced in a recent commit.

I went ahead and added a test case for sequences as outlined in DBZ-4208 based on the original default value work so that we had adequate test coverage for a variety of use cases.

Hi @gunnarmorling, I haven't had a chance to revisit this PR since your edits but it's first on my list for tomorrow.  I had wanted to wrap up the ISPN changes so that took a bit longer than I had expected.

Ok, cool, thx for the heads-up. Would be nice if we can get this in for Alpha2 on Thursday.

Agreed, should have your suggestions / edits in just before or shortly after today's meeting for one final review.

@gunnarmorling This should be ready for one final pass as I've addressed your comments/suggestions.

Yes, I'd say so.

Rebased and applied; thx a lot!


'Export image' in builder with jpg is exporting a png

Context
I've noticed this while working in https://github.com/CartoDB/cartodb/issues/13865. No matter what format {.png, .jpg} you choose, the same endpoint is called (.png) so you are always getting an image with that format.
Steps to Reproduce

Create a map in builder
Export as image using .jpg

Check the image format (http://checkfiletype.com/).

Current Result
The endpoint called is /api/v1/map/static/center/{token}/{z}/{lat}/{lng}/{width}/{height}.png so the exported is a png.
Expected result
The endpoint called is /api/v1/map/static/center/{token}/{z}/{lat}/{lng}/{width}/{height}.jpg to get a true jpg image.
cc/ @CartoDB/rt-managers

Yep you're right. The file is exported as '.jpg' in the filename but the file is actually a png.
I've found this in the source code, so not sure how to proceed. It seems that someone decided to force request files as png.

@dgaubert could you shed some light here?

Sorry to jump in!
The code that @alrocar linked it's just to merge the layers in the canvas to add the attribution, CARTO logo, etc, the file is created here

Thanks, @rubenmoya. Assigning this to @jesusbotella then.

The thing is that the mimetype for JPG images is image/jpeg instead of `image/jpg, that's why we're exporting it in a bad format. :)
I will fix it right away :)

Deployed! 🚀


[MS2] Dashboard improvement suggestions

Just some suggestions to implement if time

Choose a nice theme
Change the colour palette
Sort the selection options alphabetically

beauty


#each fails if property doesn't exist

Description
A template containing an #each block helper will fail if the property you are trying to iterate over does not exist. In HandlebarsJS the block is simply ignored.
Temporary Solution
Wrap all your #each statements in an #if statement.

oh wait. this may have already been fixed, I will get the latest Nuget and confirm

yes. this is fixed now. sorry, i was still on 1.2.0

👍


Added SPI Temperature Sensor support to camel-temperature

I've added a support to camel-temperature component for reading data over SPI . A current implementation is based on LM74TemperatureSensor class in the Bulldog.
The component feature has not been tested so far, but it worked fine for me. I'll create new branch with this test.
UPDATE: Travis actually fails due to missing LM74TemperatureSensor class in the current version of Bulldog in  pom.xml

@matejperejda please squash commits. we will re-run travis after bulldog is updated


Add files via upload

Divisors of 7 code

Pls do one more this for such types of problems create a folder and then add file so we can differentiate dsa  problems and another type of problems


CI: switched to stable toolchain for clippy and fmt, fixed lints

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 91.49%. Comparing base (4913b72) to head (c5a2d63).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #531      +/-   ##
==========================================
- Coverage   91.49%   91.49%   -0.01%
==========================================
  Files         177      177
  Lines       23621    23621
==========================================
- Hits        21612    21611       -1
- Misses       2009     2010       +1

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


PBSA implementation

Although Poisson-Boltzmann is not our priority, we have to start thinking how this implementation should be. Let's use this issue to collect some ideas.
There is a widely used tool to solve the Poisson-Boltzmann equation of continuum electrostatics, its the APBS (Adaptive Poisson-Boltzmann Solver). Many tools depend on this APBS implementation (maybe amber does it as well). Although there is a registration process to use it, it is embedded in some other packages (how? who knows...). We should look for python libraries using this tool.
Here the paper of the last version.
APBS repo in GitHub
APBS documentation
PDB2PQR repo in GitHub # required to work with APBS
PDB2PQR documentation

[There is a list of software using APBS in the same APBS documentation] (https://apbs.readthedocs.io/en/latest/using/index.html#other-software).

APBS is shared under an MIT License. 👍🏻

If we finally include ABPS and PDB2QPR in BiFrEE, we should probably add in the main README a note similar to what is found in the PyMOL APBS plugin documentation:

APBS
When using the APBS, you are "obligated" to register your use of the software. This will the authors able to require funding for further development.
Register here, it takes 1 minutes: http://www.poissonboltzmann.org/apbs/downloads
Please acknowledge your use of APBS by citing:
Baker NA, Sept D, Joseph S, Holst MJ, McCammon JA. Electrostatics of nanosystems: application to microtubules and the ribosome. Proc. Natl. Acad. Sci. USA 98, 10037-10041 2001. doi:10.1073/pnas.181342398
Please acknowledge your use of the Holst group software by citing:
M. Holst and F. Saied, Multigrid solution of the Poisson-Boltzmann equation. J. Comput. Chem. 14, 105-113, 1993.
M. Holst and F. Saied, Numerical solution of the nonlinear Poisson-Boltzmann equation: Developing more robust and efficient methods. J. Comput. Chem. 16, 337-364, 1995.
For PMG (the multigrid solver):
M. Holst, Adaptive numerical treatment of elliptic systems on manifolds. Advances in Computational Mathematics 15, 139-191, 2001. doi:10.1023/A:1014246117321
For FEtk (the finite element solver):
R. Bank and M. Holst, A New Paradigm for Parallel Adaptive Meshing Algorithms. SIAM Review 45, 291-323, 2003. doi:10.1137/S003614450342061
pdb2pqr
When using the pdb2pqr, you are "strongly encourage" to register your use of the software. This will the authors able to require funding for further development.
Register here, it takes 1 minutes: http://www.poissonboltzmann.org/pdb2pqr/d/downloads

There are some other tools we should check (we could also implement more than one to give the user the possibility to choose the PB solver). We have to have a look to PyGBe also!
PyGBe repo in GitHub
Papers:
Cooper, C.D, Bardhan, J.P. and Barba, L.A. (2014), "A biomolecular electrostatics solver using Python, GPUs and boundary elements that can handle solvent-filled cavities and Stern layers," Computer Physics Communications, 185(3): 720–729, doi: 10.1016/j.cpc.2013.10.028, arxiv:1309.4018
Cooper, C.D and Barba, L.A. (2016), "Poisson–Boltzmann model for protein–surface electrostatic interactions and grid-convergence study using the PyGBe code," Computer Physics Communications, 202: 23–32, doi: 10.1016/j.cpc.2015.12.019, arXiv:1506.03745
Cooper, C.D, Clementi, N.C. and Barba, L.A. (2015), "Probing protein orientation near charged nanosurfaces for simulation-assisted biosensor design," Journal of Chemical Physics, 143: 124709 doi: 10.1063/1.4931113, arXiv:1503.08150v4.

The main README file of the PyGBe repo includes a list of other alternative tools (we should also check):
https://github.com/pygbe/pygbe#other-software
There we can find volumetric-based solvers as Delphi and APBS, and boundary-element methods as AFMPB serial, AFMPB and TABI.

Let's have a look also to g_mmpbsa. It uses ABPS.


GAL-4100: add collectors count in community tab [web] + [mobile]

Summary of Changes
add totalCollectors count in community tab [web] + [mobile]
Demo or Before and After
If this is a new feature, it helps to include screenshots or recordings of the feature in action.
If this PR makes visual changes, include before and after screenshots.
Edge Cases
List any common edge cases that you have considered and tested.
Testing Steps
Provide steps on how the reviewer can test the changes.
Checklist
Please make sure to review and check all of the following:

[ ] The changes have been tested and all tests pass.
[x] WEB: The changes have been tested on various desktop screen sizes to ensure responsiveness.
[ ] MOBILE APP: The changes have been tested on both light and dark modes.

Closing in favour of https://github.com/gallery-so/gallery/pull/1838


Licensing

I liked your work and was wondering if you'd consider adding a license to your repo/code? I'm doing some work for AUV vision and I'd like to work with what you have done here :)
Thanks

Just added our license.

Cool, thanks!


SG doesn't work after i restart ES

Hi All,
ES version 5.3.2
SG version 5.3.2-15
OS: CentOS7
java version "1.8.0_131"
There are 1 node in the cluster
I have exactly the same problem as #178 (SG <IP_ADDRESS>), and I should like to know if the corrective is available for SG 5.3.2-15
thank you for your answer

ES 5.3.x and SG 5.3.x is EOL according to https://www.elastic.co/de/support/eol and https://docs.search-guard.com/latest/eol-policy#eol-dates. Pls update to to 5.6.12 or 6.4.2 and reopen the issue if its still there with recent versions.

Hi SeachGuard team,
As indicate in your anwer, we performed our tests (1 node in the cluster) with ElasticSearch  6.6.0 and SearchGuard 6:6.6.0-24,unfortunately we have the same issue (when Elasticsearch restarts I have to run the sgadmin tool again)
How can I fix this?
I have atteched Elastic, SearchGuard files conf with logs
The es_sg_conf zip contains :

elasticsearch.yml
sg_action_groups.yml
sg_config.yml
sg_internal_users.yml
sg_roles.yml
sg_roles_mapping.yml
elastic.log
es_sg_conf.zip

thank you for the feedback


Fatal Exception: java.lang.RuntimeException: Unable to start receiver com.google.firebase.iid.FirebaseInstanceIdReceiver

Fatal Exception: java.lang.RuntimeException: Unable to start receiver com.google.firebase.iid.FirebaseInstanceIdReceiver: java.lang.ClassCastException: io.github.inflationx.viewpump.ViewPumpContextWrapper cannot be cast to android.app.ContextImpl

The above message appears and closes the application when the application running in the device for the first time.
Keep appearing once updated the code with the line under my custom application class
override fun attachBaseContext(base: Context?) {
        super.attachBaseContext(ViewPumpContextWrapper.wrap(base!!))
    }

As per the documentation its mandatory to implement the above mention code to load or inject the custom font.

 private void handleReceiver(ReceiverData data) {
        // If we are getting ready to gc after going to the background, well
        // we are back active so skip it.
        unscheduleGcIdler();

        String component = data.intent.getComponent().getClassName();

        LoadedApk packageInfo = getPackageInfoNoCheck(
                data.info.applicationInfo, data.compatInfo);

        IActivityManager mgr = ActivityManager.getService();

        Application app;
        BroadcastReceiver receiver;
        ContextImpl context;
        try {
            app = packageInfo.makeApplication(false, mInstrumentation);
            context = (ContextImpl) app.getBaseContext();
            if (data.info.splitName != null) {
                context = (ContextImpl) context.createContextForSplit(data.info.splitName);
            }
            java.lang.ClassLoader cl = context.getClassLoader();
            data.intent.setExtrasClassLoader(cl);
            data.intent.prepareToEnterProcess();
            data.setExtrasClassLoader(cl);
            receiver = packageInfo.getAppFactory()
                    .instantiateReceiver(cl, data.info.name, data.intent);
        } catch (Exception e) {

any help please ?

Did you attachBaseContext to the Application class instead of Activity by chance? you override the Activity not the Application class, double check that, and if there is still an issue please reopen.


Major overhaul on the docs:

Add cosigned
Merge other types (deleting individual pages)
Document upload-blob

Signed-off-by: Dan Lorenc<EMAIL_ADDRESS>
Summary

Ticket Link

Fixes
Release Note

The nav bar on the left was getting reallly long for cosign. These merges shorten the length from 25 to 17!


adding helm chart for easy kubernetes installation

Simple helm chart which allows you to deploy yet-another-cloudwatch-exporter through helm to your kubernetes cluster.
First contribution so apologies if i've made any mistakes- happy to improve.

Hey @12ushan thanks for your contribution 👍
As you asked for feedback. This looks awesome but i would not add personal stuff like .idea files or .helmignore with a lot of personal special cases to the repository (e.g. .vscode/) beside that it looks good.
I still need to tell you that i am not able to merge this one. I do not want to maintain the helm chart. I would suggest that you add this to your own repository and make a PR just with a link to your repository. This way you can maintain the helm chart and the code keeps separated from deployment. I like this approach more as helm is only one possibility to install it to kubernetes.
Greetings, Thomas


Annotation reference

Pull Request Test Coverage Report for Build 266

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

Totals

Change from base Build 264:
0.0%

Covered Lines:
4233

Relevant Lines:
7225

💛  - Coveralls


query: Fixed labelset view for multi labels scenario.

Fixes: https://github.com/thanos-io/thanos/issues/1601
Signed-off-by: Bartek Plotka<EMAIL_ADDRESS>

(: @squat

💪🏽


K3s Integration tests fail due to timeout

Environmental Info:
K3s Version:
Master
Describe the bug:
K3s Integration tests are running out of time due to increase in K3s sever startup time. Additionally, the dual-stack integration test is failing 100% of the time
Steps To Reproduce:
go test ./pkg/... ./tests/integration/... -run Integration
Expected behavior:
All Tests to pass
Actual behavior:
50% of the time, test fail due to timeout
Additional context / logs:
Part of the issue is due to the increase in K3s Server startup time, see https://github.com/k3s-io/k3s/issues/4340 for more info.
Backporting

[X] Needs backporting to older releases, release-1.22

Closing this as testing/CI related only.


Broker Metrics not being shown up in the UI

Hi Team,
First of all thanks for putting up a great application, it's really useful to understand what's going with 100 odd brokers that we have in our cluster :)
I am however facing a few issues while trying to view the broker metrics.

I have setup the latest version of kafka manager, i.e  <IP_ADDRESS>.
Was able to add our prod zk/brokers successfully.
But when i try to view the broker information such as combined metrics, nothing shows up, but i go to the topics page, i can view the different topics available and the size of the data coming in.

Brokers home page:

Topics home page :

I browsed through a couple of issues related to this, and it was said that the issue was resolved in the master build, but looks like it isn't.(https://github.com/yahoo/kafka-manager/issues/69)
Any help here would be greatly appreciated.

I ran across the same issue with a 3 node cluster.

Do you have JMX enabled for kafka brokers?  If so, did you enable JMX polling in the configuration of the cluster in Kafka Manager?

I do not have JMX enabled. Is this a requirement?

Yes, I have JMX enabled for the brokers and also have enabled jmx polling
while configuring the cluster on kafka manager.
On Sun, Feb 14, 2016 at 6:34 AM, Ryan Phillips<EMAIL_ADDRESS>wrote:

I do not have JMX enabled. Is this a requirement?
—
Reply to this email directly or view it on GitHub
https://github.com/yahoo/kafka-manager/issues/186#issuecomment-183783393
.

@rphillips Yes, you need to enable JMX for metrics.  No other way right now.
@suhas22 What version of Kafka?

Hi,
I am using Kafka 0.8.2
On Mon, Feb 15, 2016 at 10:14 AM, patelh<EMAIL_ADDRESS>wrote:

@rphillips https://github.com/rphillips Yes, you need to enable JMX for
metrics. No other way right now.
@suhas22 https://github.com/suhas22 What version of Kafka?
—
Reply to this email directly or view it on GitHub
https://github.com/yahoo/kafka-manager/issues/186#issuecomment-184064685
.

@suhas22 Do you see any errors in the logs?  Are you using <IP_ADDRESS>, <IP_ADDRESS>, or <IP_ADDRESS> ?

Hi,
Sorry, It was a typo while mentioning the version, I am currently on
<IP_ADDRESS>.
I don't see any specific errors to this issue.
Part information is see though  like Topic related information is seen such
as offsets, leaders etc, but the metrics is not be seen as a whole.
On Tue, Feb 16, 2016 at 5:52 AM, patelh<EMAIL_ADDRESS>wrote:

@suhas22 https://github.com/suhas22 Do you see any errors in the logs?
Are you using <IP_ADDRESS>, <IP_ADDRESS>, or <IP_ADDRESS> ?
—
Reply to this email directly or view it on GitHub
https://github.com/yahoo/kafka-manager/issues/186#issuecomment-184450556
.

Are you using Oracle JDK8 or OpenJDK8 ?

Oracle JDK8

Hm, it is odd that you don't see any exceptions related to connecting to JMX or something similar.  Are you able to connect to the broker and see the metrics using JConsole ?  Did you configure a custom metrics reporter in your kafka server.properties ?

I have a distributed system setup all on cloud, am running kafka manager on
Zookeeper cluster where i have oracle java 8 installed, but my brokers are
on java 7.
Jconsole just doesn't start on the zookeeper.
I did not understand this statement"Did you configure a custom metrics
reporter in your kafka server.properties"  What do we need to do to
configure custom metrics reporter ?
When i access the kafka manager UI, it lists all the brokers that the
zookeepers are connected to and gives the details of all the topics like
offsets, partitions etc but gives nothing for brokers.
So is the java version a issue here ?
On Wed, Feb 17, 2016 at 12:57 PM, patelh<EMAIL_ADDRESS>wrote:

Hm, it is odd that you don't see any exceptions related to connecting to
JMX or something similar. Are you able to connect to the broker and see the
metrics using JConsole ? Did you configure a custom metrics reporter in
your kafka server.properties ?
—
Reply to this email directly or view it on GitHub
https://github.com/yahoo/kafka-manager/issues/186#issuecomment-185073022
.

Hi,
I did a brand new setup, and saw that we have a new version now, but again I am seeing the same issue .
Here are the errors that's showing up now , it says connection refused to port 9997.
But I have jmx port 9997 opened up and Kafka is listening at this port.
[error] k.m.j.KafkaJMX$ - Failed to connect to service:jmx:rmi:///jndi/rmi://kafka-2-broker-24:9997/jmxrmi
java.rmi.ConnectException: Connection refused to host: <IP_ADDRESS>; nested exception is:
java.net.ConnectException: Connection refused
at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:619) ~[na:1.8.0_74]
at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:216) ~[na:1.8.0_74]
at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:202) ~[na:1.8.0_74]
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:130) ~[na:1.8.0_74]
at javax.management.remote.rmi.RMIServerImpl_Stub.newClient(Unknown Source) ~[na:1.8.0_74]
at javax.management.remote.rmi.RMIConnector.getConnection(RMIConnector.java:2430) ~[na:1.8.0_74]
at javax.management.remote.rmi.RMIConnector.connect(RMIConnector.java:308) ~[na:1.8.0_74]
at javax.management.remote.JMXConnectorFactory.connect(JMXConnectorFactory.java:270) ~[na:1.8.0_74]
at kafka.manager.jmx.KafkaJMX$.doWithConnection(KafkaJMX.scala:50) ~[kafka-manager.kafka-manager-<IP_ADDRESS>-sans-externalized.jar:na]
at kafka.manager.actor.cluster.BrokerViewCacheActor$$anonfun$kafka$manager$actor$cluster$BrokerViewCacheActor$$updateBrokerTopicPartitionsSize$1$$anonfun$apply$29$$anonfun$apply$4.apply$mcV$sp(BrokerViewCacheActor.scala:382) [kafka-manager.kafka-manager-<IP_ADDRESS>-sans-externalized.jar:na]
Caused by: java.net.ConnectException: Connection refused
at java.net.PlainSocketImpl.socketConnect(Native Method) ~[na:1.8.0_74]
at java.net.AbstractPlainSocketImpl.doConnect(AbstractPlainSocketImpl.java:350) ~[na:1.8.0_74]
at java.net.AbstractPlainSocketImpl.connectToAddress(AbstractPlainSocketImpl.java:206) ~[na:1.8.0_74]
at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:188) ~[na:1.8.0_74]
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392) ~[na:1.8.0_74]
at java.net.Socket.connect(Socket.java:589) ~[na:1.8.0_74]
at java.net.Socket.connect(Socket.java:538) ~[na:1.8.0_74]
at java.net.Socket.(Socket.java:434) ~[na:1.8.0_74]
at java.net.Socket.(Socket.java:211) ~[na:1.8.0_74]
at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:40) ~[na:1.8.0_74]
And here is the screenshot of my kafka process and port 9997 opened up and kafka is listening to it.

The more I see the error, I get to think it's due to the Java version difference.
I have my broker's and ZK's running on java 7, where as just for Kakfa manager I installed Java 8, as it won't install with Java 7.
And the error also points to java 1.8 RMI connector stuff, Is my assumption correct ?

I had a similar problem. The cause is the initial port 9997 is just the port that starts the connection. After the initial connection JMX negotiates a random port and uses that for the rest of the communication.
This article explains it better than I can:
https://olegz.wordpress.com/2009/03/23/jmx-connectivity-through-the-firewall/
Unfortunately the solution is to open the entire range that it picks it's random port numbers from.

JDK7_45(?) and later should support -Dcom.sun.management.jmxremote.rmi.port=xxxx so the RMI port is not randomly chosen (I have not yet tried this).

Same here, as a newbie, setup a Open JDK 1.7.0_101 Kafka <IP_ADDRESS> cluster and started kafka manager with JMX enabled as I can see kafka-manager picked up the JMX port but the bytes is 0 everywere.

the JMX server which is running on broker will open the RMI port, you might need to specify RMI port also (-Dcom.sun.management.jmxremote.rmi.port=10000)
For example,
JMX_PORT=9999 KAFKA_JMX_OPTS="-Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Dcom.sun.management.jmxremote.rmi.port=10000 -Djava.rmi.server.hostname=$HOSTNAME" ./bin/kafka-server-start.sh -daemon ./config/server.properties

This happens to me too. Kafka broker based on JDK1.8.0_60.
And I use a kafka-manager docker container : https://hub.docker.com/r/sheepkiller/kafka-manager/~/dockerfile/
The problem is all the same with this issue. And I have tried the JConsole connection, it do work, I can see all the jmx metrics from JConsole.

adding -Djava.rmi.server.hostname option didn't change anything. It seems as if this option is not taking any effect. Please help. I also have the same scenario wherein I have 3 brokers and kafka-manager is able to read metrics only from the server on which it is running.

@shades198 Did you found a fix around it ?

I enabled KAFKA_JMX_OPTS and the settings are followings:
JMX_PORT='23311'
KAFKA_JMX_OPTS='-Dcom.sun.management.jmxremote -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Djava.rmi.server.hostname=<IP_ADDRESS> -Dcom.sun.management.jmxremote.rmi.port=23311'
But I still can't get Combined Metrics


cellxgene-schema must validate cell_type_ontology_term_id and add human-readable label to cell_type

The curator MUST annotate cell_type_ontology_term_id. There MUST NOT be duplicates in obs.
cell_type_ontology_term_id

Key
cell_type_ontology_term_id

Annotator
Curator

Value
categorical with str categories. This MUST be a CL term.

The curator MUST NOT annotate cell_type.
cell_type

Key
cell_type

Annotator
Data Portal

Value
categorical with str categories. This MUST be the human-readable name assigned to the value of cell_type_ontology_term_id.

Implemented in cellxgene-schema v2.0.0


SPIKE - research alternatives for improved load testing

User Story - Business Goal
We want to use load and performance testing to ensure that our application can handle expected loads. We also want to make intelligent decisions wrt to optimization and starting to look at SLOs.

[ ] Ticket is understood, and QA has been contacted (if the ticket has a QA label).

User Story(ies)
As a   VANotify stakeholder
I want   the best suited load testing application for our application
So that  we can ensure that our application can handle current expected loads.
Additional Info and Resources

Look into and report back on the following choices, pros and cons:

Locust
K6
jmeter
Artillery
See also these recommended by AWS

Also determine the best path forward for hosting. Currently, we have an under-powered EC2 instance for Locust, which is configured with an init.cfg and .tf files in vanotify-infra. It may not even be working at this time and is most certainly out of date.
Since these services each have a handy web based UIs for inputs and reporting, consider what we would need to be able to take advantage of those features. Note also what type of compute power we will need.
Acceptance Criteria & Checklist

[x] Technical Documentation has been created and linked in the glossary
[x] Learnings have been shared with the team, and decisions have been documented
[x] Tickets for next steps have been identified and created

Completed research addresses the problems and/or answers the questions below:

Which is the best load testing application for our needs?
What effort would it take to get said application up and running?
What is the best infrastructure to use for said application?
Determine the metrics that we expect to report out.

Did not get time to work this today between deployments and meetings. Will start this on Weds, Aug 7.

Today:

started tracking my notes in an informal doc here, which will be transferred into a Spike doc in the team repo when done
started fleshing out the most promising candiates and what might be needed for implementation
took a stab at defining the types of testing, metrics we want out of this

Tomorrow:

Coalesce into a more formal document
Schedule meeting with stakeholders

Today:

schedule did not allow much time for this today
rewrote half the document to be more presentable

Tomorrow:

install the 3 choices the field has been narrowed down to and run a simple test
write up the testing and results
schedule the meeting

still on track, given the time I've been able to devote to this.

Today:

Most of day taken up with meetings and PRs and testing
Have one local locust test working
Midway through getting artillery configured

Monday:

Finish artillery
Start on k6
Schedule that meeting for late in the week

Today:

derailed by various testing needs and meetings
able to get POC tests up for Artillery and K6 but none that use our endpoints (POST requires a short-lived JWT, which is not that easy to add into either service, especially with the lack of focused time I am allowed)

Tomorrow:

finish document
send test repos out
schedule meeting

Today:

Document created here (for now)
Meeting scheduled with stakeholders for Thursday

Recommendation approved, ADR created and in review, need to create tickets for next steps. Should be one more day.

Tickets have all been created in Epic attached to this ticket. Closing!


failed with status: 401 Unauthorized

With the lastest docker-compose file to run container.
https://github.com/SUSE/Portus/blob/master/examples/compose/docker-compose.yml
    image: library/registry:2.6
    command: ["/bin/sh", "/etc/docker/registry/init"]
    environment:
      # Authentication
      REGISTRY_AUTH_TOKEN_REALM: https://${MACHINE_FQDN}/v2/token
      REGISTRY_AUTH_TOKEN_SERVICE: ${MACHINE_FQDN}
      REGISTRY_AUTH_TOKEN_ISSUER: ${MACHINE_FQDN}
      REGISTRY_AUTH_TOKEN_ROOTCERTBUNDLE: /secrets/portus.crt

After setting the ssl files,

.env file to set the FQDN
nginx.conf file to set host
add portus.crt and portus.key to secret folder

I can login to the portus web ui page successful,
however, I can't login by docker login domain.com
and it always get the following error:
registry_1  | time="2017-09-05T13:46:10Z" level=debug msg="authorizing request" go.version=go1.7.6 http.request.host=lemonrains.tech http.request.id=533610dc-ddba-41a9-9d68-c473feb4bbd6 http.request.method=GET http.request.remoteaddr=xxx.xxxx.xxx.xxx http.request.uri="/v2/" http.request.useragent="docker/17.03.2-ce go/go1.7.5 kernel/4.4.23-31.54.amzn1.x86_64 os/linux arch/amd64 UpstreamClient(Docker-Client/17.03.2-ce \\(linux\\))" instance.id=e77b1a22-f9a3-4bfd-9213-06ff70d761c3 version=v2.6.2
registry_1  | time="2017-09-05T13:46:10Z" level=warning msg="error authorizing context: authorization token required" go.version=go1.7.6 http.request.host=lemonrains.tech http.request.id=533610dc-ddba-41a9-9d68-c473feb4bbd6 http.request.method=GET http.request.remoteaddr=xxx.xxxx.xxx.xxx http.request.uri="/v2/" http.request.useragent="docker/17.03.2-ce go/go1.7.5 kernel/4.4.23-31.54.amzn1.x86_64 os/linux arch/amd64 UpstreamClient(Docker-Client/17.03.2-ce \\(linux\\))" instance.id=e77b1a22-f9a3-4bfd-9213-06ff70d761c3 version=v2.6.2
registry_1  | <IP_ADDRESS> - - [05/Sep/2017:13:46:10 +0000] "GET /v2/ HTTP/1.0" 401 87 "" "docker/17.03.2-ce go/go1.7.5 kernel/4.4.23-31.54.amzn1.x86_64 os/linux arch/amd64 UpstreamClient(Docker-Client/17.03.2-ce \\(linux\\))"
nginx_1     | xxx.xxxx.xxx.xxx - - [05/Sep/2017:13:46:10 +0000] "GET /v2/ HTTP/1.1" 401 87 "-" "docker/17.03.2-ce go/go1.7.5 kernel/4.4.23-31.54.amzn1.x86_64 os/linux arch/amd64 UpstreamClient(Docker-Client/17.03.2-ce \x5C(linux\x5C))"
portus_1    | Started GET "/v2/token?account=admin&client_id=docker&offline_token=true&service=lemonrains.tech%3A5000" for xxx.xxxx.xxx.xxx at 2017-09-05 13:46:10 +0000
portus_1    | Processing by Api::V2::TokensController#show as JSON
portus_1    |   Parameters: {"account"=>"admin", "client_id"=>"docker", "offline_token"=>"true", "service"=>"lemonrains.tech:5000"}
portus_1    | Completed 200 OK in 170ms (Views: 0.4ms | ActiveRecord: 39.5ms)
nginx_1     | xxx.xxxx.xxx.xxx - admin [05/Sep/2017:13:46:10 +0000] "GET /v2/token?account=admin&client_id=docker&offline_token=true&service=lemonrains.tech%3A5000 HTTP/1.1" 200 779 "-" "docker/17.03.2-ce go/go1.7.5 kernel/4.4.23-31.54.amzn1.x86_64 os/linux arch/amd64 UpstreamClient(Docker-Client/17.03.2-ce \x5C(linux\x5C))"
registry_1  | time="2017-09-05T13:46:10Z" level=debug msg="authorizing request" go.version=go1.7.6 http.request.host=lemonrains.tech http.request.id=7af71d14-904c-4ed2-a568-7cf556c954c0 http.request.method=GET http.request.remoteaddr=xxx.xxxx.xxx.xxx http.request.uri="/v2/" http.request.useragent="docker/17.03.2-ce go/go1.7.5 kernel/4.4.23-31.54.amzn1.x86_64 os/linux arch/amd64 UpstreamClient(Docker-Client/17.03.2-ce \\(linux\\))" instance.id=e77b1a22-f9a3-4bfd-9213-06ff70d761c3 version=v2.6.2
registry_1  | time="2017-09-05T13:46:10Z" level=info msg="token from untrusted issuer: \"portus.test.lan\""
registry_1  | time="2017-09-05T13:46:10Z" level=warning msg="error authorizing context: invalid token" go.version=go1.7.6 http.request.host=lemonrains.tech http.request.id=7af71d14-904c-4ed2-a568-7cf556c954c0 http.request.method=GET http.request.remoteaddr=xxx.xxxx.xxx.xxx http.request.uri="/v2/" http.request.useragent="docker/17.03.2-ce go/go1.7.5 kernel/4.4.23-31.54.amzn1.x86_64 os/linux arch/amd64 UpstreamClient(Docker-Client/17.03.2-ce \\(linux\\))" instance.id=e77b1a22-f9a3-4bfd-9213-06ff70d761c3 version=v2.6.2
registry_1  | <IP_ADDRESS> - - [05/Sep/2017:13:46:10 +0000] "GET /v2/ HTTP/1.0" 401 87 "" "docker/17.03.2-ce go/go1.7.5 kernel/4.4.23-31.54.amzn1.x86_64 os/linux arch/amd64 UpstreamClient(Docker-Client/17.03.2-ce \\(linux\\))"
nginx_1     |  - - [05/Sep/2017:13:46:10 +0000] "GET /v2/ HTTP/1.1" 401 87 "-" "docker/17.03.2-ce go/go1.7.5 kernel/4.4.23-31.54.amzn1.x86_64 os/linux arch/amd64 UpstreamClient(Docker-Client/17.03.2-ce \x5C(linux\x5C))"

the key-word is token from untrusted issuer: \"portus.test.lan\" ,
with lots of search from google and issues,
https://github.com/SUSE/Portus/issues/774
https://github.com/SUSE/Portus/issues/396
I still get the same error, finally I tried to update the docker-compose.yml file of
REGISTRY_AUTH_TOKEN_ISSUER: ${MACHINE_FQDN} to REGISTRY_AUTH_TOKEN_ISSUER: portus.test.lan
It fixed for me, and i can login by docker successful.
however, I don't think this is the best way to fixed this problem, and maybe something config missed for the image of opensuse/portus:head
Can you kindly to help me  find it out, Thank you .

This is more surely related to #1386... There's something fishy on the Docker image ... I'll close this as a duplicate of that one, but feel free to leave more comment if you like 👍

Those who encounter this issue: per #1386 editing your docker-compose and replacing image: opensuse/portus:head with image: jordanjennings/portus:head-working is a temporary work around whilst we wait for the fix.
-Karl.

What is the ${MACHINE_FQDN} value I should use when setting Portus, Background and Registry in different containers, on my Vagrant box?
I am using Ansible+Vagrant for my deploy. Keep getting Unauthorized/Authentication required.
Error response from daemon: Get http://localhost:5000/v2/: unauthorized: authentication required


feat: new snowflake data extraction pipeline for nimbus okr and platform optimizations

Goal
What changed? What is the business/product goal?
This PR contains the initial pipeline for extracting snowplow events to GCS storage (via snowflake external stage).
As part of this change, we have a bunch of optimizations to the platform, which make the pipeline possible and make things even easier for folks.  Below is an index of the big changes made:

.circleci/workflows.yml:

added the DF_CONFIG_DEPLOYMENT_TYPE envar to the ECS execution environment for CommonSettings class to work.

common-utils/pyproject.toml:

moved pytest config here.

common-utils/pytest.ini:

removed in favor of using pyproject.toml

common-utils/src/common/__init__.py:
helper for getting the script path for flow file.
common-utils/src/common/cloud/gcp_utils.py:

adjusting the data kwargs is best practice for Pydantic versus updating via super()

common-utils/src/common/databases/snowflake_utils.py:

need role and private key arguments for properly creating the snowflake credentials block
enforcing the warehouse used must be a prefect warehouse.  We can always added shared use warehouse naming patterns later on if needed.
enforcing the database is either development or prefect on the connection.
new helper for getting the GCS Snowflake external stage for Prefect based on environment.
adjusting the data kwargs is best practice for Pydantic versus updating via super()
allow for setting the schema and warehouse on the connection via settings or explicitly on the connector class

common-utils/src/common/settings.py:

new helper properties for handing deployment types as high level dev or prod environments

common-utils/tests/conftest.py:

making the prefect test harness global

data-products/src/orchestration/main_orchestration_flow.py:

killing the initial example flow used for testing

data-products/src/snowflake_query_extraction/snowflake_query_extraction_flow.py - new query extraction flow

Implementation Decisions
Deployment steps

[X] Database migrations?
[X] Secrets?
[N/A] FOR POCKET DEVELOPERS ONLY - Post in #changelog:

Write a #changelog message using our best practices if this PR (potentially) impacts users. Describe the 'why' and 'what'. @mention relevant teams. Link to this PR.

References
JIRA ticket:
https://getpocket.atlassian.net/browse/DIS-664
Documentation:
https://getpocket.atlassian.net/wiki/spaces/PE/pages/2839904307/Prefect+v2+Migration
Will be adding project docs static site via DIS-808

had to make some changes to how secrets are referenced...testing dev shows its working as expected:

final testing with last set of commits


Decoding into an object fails if any column has NULL value

Model User
    public var id: ID?
    public var firstname: String
    public var lastname: String
    public var email: String
    public var password: String?
    public var token: String?
    public var expires: Date?
    public var registered: Date

I had inserted an object that has token and 'expiresas NULL and decode fails with a messageThe received packet was invalid`

It is still fails on Vapor 3 beta
The packet could not be parsed into valid a response

It’s easy to reproduce
Just add var someText: String? to Todo’s model (in standart todo template, but with fluentmysql)
Then send POST to http://localhost/todos with the following JSON {"title": "hello" } it will create new row in todos table with nulled someText
Then just do GET to http://localhost:8080/todos/ and you’ll get Oops: The packet could not be parsed into valid a response error

I'm suspecting that the NULL bitmap has a different endianness than is currently implemented.

I'm suspecting that the NULL bitmap has a different endianness

Sorry, closed this thinking it must have been fixed already. Somehow wasn't. Fixed by #133

Now it's fixed. :)


[FLINK-36698][pipeline-connector][elasticsearch] Elasticsearch pipeline sink support authentication

Close FLINK-36698.

@proletarians can you help to check this?

fix NPE bug

@proletarians cc

@lvyanquan @proletarians  cc, thanks.


Suspicious funding

Hi Vasilis,
This address has been funded by TC with one hop: https://etherscan.io/address/0xd861e6f1760d014d6ee6428cf7f7d732563c74c0
Then executed an attack here: https://etherscan.io/tx/0x7e19f8edb1f1666322113f15d7674593950ac94bbc25d2aff96adabdcae0a6c3
For some reason the funding stage was not raised.

Put it to 5. Do we have source-specific thresholds? [that is, would it be 5 only for TC or for everything?]

@salort-forta, will do.
We haven't, they are the same for all sources.

Thresholds updated in https://github.com/forta-network/starter-kits/pull/675
(cc @Ivan1905)


Return an error when bridging mode is enabled without AntreaIPAM enabled

It is for consistency with other features.
Signed-off-by: Jianjun Shen<EMAIL_ADDRESS>

Codecov Report

Merging #3653 (a3ac6ac) into main (ac49f47) will decrease coverage by 2.59%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main    #3653      +/-   ##
==========================================
- Coverage   64.63%   62.03%   -2.60%
==========================================
  Files         278      278
  Lines       39360    39363       +3
==========================================
- Hits        25439    24418    -1021
- Misses      11945    13050    +1105
+ Partials     1976     1895      -81

Flag
Coverage Δ

kind-e2e-tests
48.34% <ø> (-3.96%)
:arrow_down:

unit-tests
43.80% <ø> (-0.03%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

...g/agent/apiserver/handlers/featuregates/handler.go
4.54% <0.00%> (-77.28%)
:arrow_down:

pkg/controller/egress/store/egressgroup.go
1.72% <0.00%> (-54.32%)
:arrow_down:

...kg/apiserver/registry/system/supportbundle/rest.go
22.17% <0.00%> (-50.44%)
:arrow_down:

pkg/agent/controller/networkpolicy/packetin.go
16.90% <0.00%> (-50.00%)
:arrow_down:

pkg/support/dump.go
7.90% <0.00%> (-49.16%)
:arrow_down:

...ver/registry/controlplane/nodestatssummary/rest.go
54.54% <0.00%> (-45.46%)
:arrow_down:

pkg/support/dump_others.go
0.00% <0.00%> (-44.74%)
:arrow_down:

...gregator/apiserver/handlers/flowrecords/handler.go
1.44% <0.00%> (-37.69%)
:arrow_down:

...egator/apiserver/handlers/recordmetrics/handler.go
4.00% <0.00%> (-36.00%)
:arrow_down:

...g/agent/apiserver/handlers/addressgroup/handler.go
5.00% <0.00%> (-35.00%)
:arrow_down:

... and 45 more

/test-all

/test-e2e

/test-e2e

/test-e2e

/test-e2e

/test-networkpolicy

/test-networkpolicy

/test-networkpolicy

/test-networkpolicy


Update azure-virtual-network-limits.md

Ran across a couple of support cases where it appears the default is actually 200 for classic NSG rules, but it can be raised to 1000. Please confirm with Classic Network Resource Provider and/or contact me at v-dibr for more info.

@dcbrown16 : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@anavinahar Could you review this PR? Thanks.

Confirm this limit, we can correct the documentation.
@ktoliver can you make me the reviewer instead?

Hi @anharazi - Yes, I can reassign the PR to you, as PM. Done. Thanks.


Cannon is slowly disintegrating. Piece by piece. First the documentation, then collision detection will stop working. 😄

it works under http:// only
http://schteppe.github.io/cannon.js/docs/classes/World.html
both the css and yui.js are being loaded without http:// and the browser refuses to, when page is under secure protocol
here are the blocked requests

https://yui.yahooapis.com/3.9.1/build/cssgrids/cssgrids-min.css
http://yui.yahooapis.com/combo?3.9.1/build/yui/yui-min.js

so, Yahoo is not making them available under https://  but fortunately cdnjs seems to have them
if you replace these in the doc generation tool

https://cdnjs.cloudflare.com/ajax/libs/yui/3.9.1/yui/yui-min.js
https://cdnjs.cloudflare.com/ajax/libs/yui/3.9.1/cssgrids/cssgrids-min.css

:-D
please don't let cannon die 💯

@andrezero  if you not see it there is this cannon fork https://github.com/react-spring/cannon-es

@andrezero if you not see it there is this cannon fork https://github.com/react-spring/cannon-es

Yes, 💯saw that yesterday as well :-) very happy/
Fork's README still says Visit the original project for full documentation and examples.
Will open issue there.


Implement Mobile Layout for Home

Uses proper rem, em, for responsive sizing
Creates a mobile view for the home page
Change layout for the demo cards
Make the image smaller on mobile

vs

This looks very cool. Thanks for contributing! I will add it to our next deployment.


[bug fix, #17] adjustments to selectors

fixed issue with public post detection in post2020 layout
narrowed selector for the poster link to resolve #17

Note
I've been unable to fully test the solution to #17 as I'm no longer seeing ads in Facebook.  This often happens towards the end of the day.  Please try out a build based on this branch and let me know if it doesn't fix the issue, and I will resume first thing tomorrow my time

Codecov Report

Merging #18 into develop will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff            @@
##           develop      #18   +/-   ##
========================================
  Coverage    97.10%   97.10%
========================================
  Files          223      223
  Lines         1552     1552
========================================
  Hits          1507     1507
  Misses          45       45

Impacted Files
Coverage Δ

...ntent/facebook/utils/post/post2020/isPublicPost.js
100.00% <100.00%> (ø)

...ntent/facebook/utils/post/pre2020/getPosterLink.js
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

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

I'll try to test.


Rainbow()._create_copy() changes boolean arrays in core_dictionaries to binary

For reasons I can probably get around with some work, I have been saving some wavelike and timelike masks as booleans so I can flip True/False within certain functions. What I ran into after copying a rainbow is that those boolean masks changed to integer 0/1 values and I can't find what deepcopy step is behind it. This problem occurs with Python bool and np.bool_. Niche but an unexpected behavior for an important function that it would be nice to figure out.
from chromatic import Rainbow
import numpy as np
from astropy import units

wave = np.arange(4) * units.micron
time = np.arange(3) * units.day
flux = np.ones((4, 3))

wave_bool = np.array([True, False, True, True])
time_bool = np.array([True] * len(time), dtype=np.bool_)

r = Rainbow(time=time, wavelength=wave, flux=flux)

r.wavelike["wave_bool"] = wave_bool
r.timelike["time_bool"] = time_bool

print(r.wavelike["wave_bool"])
print(r.timelike["time_bool"])

r_copy = r._create_copy()

print(r_copy.wavelike["wave_bool"])
print(r_copy.timelike["time_bool"])

Weird, fascinating. There's a slight possibility this is related to some of the weird @propertys that I set up, or some weird type management in __getattr__, or something else, but I need to look a little more closely to see.

Finally got around to this extra little test but the metadata dictionary preserves the original array so the differences between metadata + similarities between wavelike/timelike should help hunt this down (I will not be doing this anytime soon, going to plough ahead with this workaround for now, sorry).


Training error

Dear authors,
I have read about your PASD work,and I used the DIV2K dataset for training,due to the limitation of GPU (48GB of graphics memory), I reduced the epochs, batch size, and steps, but the training progress bar did not move, and in the end, the model weights were saved.

你好，你的数据集可以共享一下吗？作者提供的链接没法访问

你好，你的数据集可以共享一下吗？作者提供的链接没法访问

我数据集在服务器上，没法共享啊

你好，你的数据集可以共享一下吗？作者提供的链接没法访问

直接在浏览器网址复制搜索http://data.vision.ee.ethz.ch/cvl/DIV2K/DIV2K_train_HR.zip，就可以下载数据集了，但是没有标签文件，所以还是训练不了，我现在就卡在这最后一步

Dear authors, I have read about your PASD work,and I used the DIV2K dataset for training,due to the limitation of GPU (48GB of graphics memory), I reduced the epochs, batch size, and steps, but the training progress bar did not move, and in the end, the model weights were saved.

It seems like the progress bar did not updated properly.

请问如何生成DIV2K训练集的标签文件呢？


Update the Trialforce template (.dot) custom profiles to include all needed objects/security

Using spec document developed at a prior sprint.

please include turning on perms and field level visibility for Volunteers for Salesforce, since it is included in the trial template.

@davidhabib Will do

@kbromer There's an 'Office Manager' profile in the template that's not in the spec document at all from the sprint. Any idea what makes it different from Office Staff? Perhaps remove it? (not packaged so shouldn't break anything)

Find by me, provided we have the use-case covered.  Since its template-only, shouldn't be an issue for anybody currently using it.

I guess I'm trying to figure out the use case - what perms should an Office Manager have that staff wouldn't (that would be profile-based and not role hierarchy) and that isn't System Administrator?

@davidhabib Custom profiles updated (with the exception of the Office Manager profile mentioned above). Would you like to review and if okay, update as the latest or is that something @jlantz should do?

I defer to @jlantz.  I don't know how he  makes the DOT!

The DOT is made from the org.  I'll work on pulling the changes into the
CumulusTemplate repo for storage later.
On Tue, May 19, 2015 at 11:07 AM, David Habib<EMAIL_ADDRESS>wrote:

I defer to @jlantz https://github.com/jlantz. I don't know how he makes
the DOT!
—
Reply to this email directly or view it on GitHub
https://github.com/SalesforceFoundation/Cumulus/issues/1552#issuecomment-103540225
.

I am doing a few additional fixups in the template org.  these include:

putting the correct phone field in the ManageHouseholdUI field set

Great - I also went ahead and removed Conference as the default in the Type field on Campaign. In addition to the custom profiles I also updated the Permission Sets, which had great descriptions but didn't actually have any of the configuration they said they did.

anyone think we should update the list of Account Type values to something more meaningful for nonprofits?

we still need to add the Manage Household button on the Household Account page layout, once the template org has npsp 3.40

Re: Account Type - yes, but do you have a generic idea ready or should we get some input on the Hub as to what would be a good set? I've commonly seen/used in its simplest form:

Corporate
Government
Nonprofit
Foundation
Household

Others?

I like your simple list for Account Type.
Should we be deleting the deprecated BDE Entry FS and BDE List FS field sets from Opps, since Opps replaced them with V2 versions?

Should we delete the unmanaged NPSP Default Sales Process?  it is currently only holding two stages (Prospecting and Closed/Lost), and the DOT has a Donation Sales Process which is more reasonable.

Under Search Settings, do we want to enable Enhanced Lookups or Lookup Auto-Completion for any of our objects?  (I didn't even know about these settings!)

UI Settings.  should we Enable Separate Loading of Related Lists?  Enable Collapsible Sidebar?  (I always do in my orgs)

i'm finding that most of the profiles are missing visibility on the fields we've recently added to Payments and Opportunities

Should we be deleting the deprecated BDE Entry FS and BDE List FS field sets from Opps, since Opps replaced them with V2 versions?

Yes. I think so to avoid confusion.

Under Search Settings, do we want to enable Enhanced Lookups or Lookup Auto-Completion for any of our objects? (I didn't even know about these settings!)

I believe I've read that these can cause a hit on performance. I think it's best to leave them for the org to enable if they want.

UI Settings. should we Enable Separate Loading of Related Lists? Enable Collapsible Sidebar? (I always do in my orgs)

Sure, why not?

i'm finding that most of the profiles are missing visibility on the fields we've recently added to Payments and Opportunities

I thought I specifically caught those. I'll take another pass through. It was a bit mind-numbing.

I should add that I specifically didn't edit FLS for Program Staff or Volunteer since they don't have at least Read access to the Payment and Opportunity objects so it didn't matter to edit them. But I'll check the others.

So there's some history to look back on:

Added the new Account Types to Organization record type (didn't delete the standard ones, but they're not enabled for any record types)
Deleted Office Manager profile
Deleted the NPSP Default Sales Process
Deleted deprecated BDE Entry FS and BDE List FS field sets on Opportunity
Enabled Separate Loading of Related Lists
Disabled Show Quick Create
Enabled Collapsible Sidebar
Enabled Enhanced Profile User Interface (so it's more consistent with documentation and Permission Sets for new users)

@jlantz just need 3.40 in there so page layout on Account can be adjusted for new Manage Household button, and should be all set.


Using cache.updateQuery() data is null

urql version & exchanges:

Steps to reproduce

go here: https://codesandbox.io/s/urql-svelte-crud-with-indexeddb-cqg5i?file=/urql.js:1152-1179
click on "Todos list"
click on a "Complete" button, the one you want
it gives an error: Cannot set property 'text' of null

Why this error?
Why is data null?
I'm using this code:
import { initClient, dedupExchange, fetchExchange } from "@urql/svelte";
import { offlineExchange } from "@urql/exchange-graphcache";
import { makeDefaultStorage } from "@urql/exchange-graphcache/default-storage";
import gql from "graphql-tag";
import { TODOS_QUERY, TODO_QUERY } from "./gql";

const updates = {
  Mutation: {
    updateTodo: (result, args, cache, info) => {
      if (info.optimistic) {
        cache.updateQuery(
          { query: TODO_QUERY, variables: { id: info.variables.id } },
          data => {
            console.log("data:" + data);
            data.text = "UPDATING";
            return data;
          }
        );
      }
    }
  }
};

const optimistic = {
  updateTodo: () => {}
};

const storage = makeDefaultStorage({
  idbName: "graphcache-v3",
  maxAge: 7
});

const exchanges = [
  dedupExchange,
  offlineExchange({ storage, updates, optimistic }),
  fetchExchange
];

function OnInit() {
  initClient({ url: "https://h1pcl.sse.codesandbox.io", exchanges });
}

export default {
  OnInit
};

Because you have never queried a TODO_QUERY yet at that point so for all the cache knows a TODO_QUERY might be returning something with __typename: Author it can't assume anything about your data since that would lead to errors.
Your safest bet in that scenario is to utilize writeFragment which can safely assume this.

You're right.
But you know what? Before offlineExchange (with cacheExchange only) I never had problems!
Can I ask you why? Same code.

Because you likely were using a resolver pattern, but we opted to not follow resolvers in write scenario's to increase data consistency

Yep basically the thing we’re encouraging is atomic updates as often as possible, which increases consistency and reduces the amount of code that needs to be written or shared with the cache.
We’re also looking into a more lowlevel write primitive that is similar to cache.resolve but for writing rather than reading data fields.

So what do you suggest for now?
I keep using cache.writeFragment?

@JoviDeCroock I remembered why before offlineExchange I was not using optimistic that way.
The problem is this:

Can I somehow remedy those warnings?
In this example online there are few, in my real case they are many more!

That means your mutation is expecting that value but you are not giving it which seems accurate given your example

This is a good example for discussing it.
Sometimes I don't need to pass all the fields to the server, because maybe I'm just changing one, as in this case (complete).
Among other things, field like createdAt doesn't even need to be sent to the server because I can't updtae them on the client.
How you do it?

It relates to the data you ask back from the server
updateTodo {
  createdAt
  completed
}

Means you want these as optimistic values as well, we can't decide for you what should and should not be optimistic. It has nothing to do with the arguments pass to the server, it's the arguments you ask from the server

I was not clear.
I meant to say that I use the same fragment at different points in the application.
Sometimes I input all fields (even createdAt) at other times not.
And in optimistic I use this code:
updateTodo: args => ({ ...args.input, text: "UPDATING", id: args.id, __typename: "Todo" }),

Sometimes args.input does contain all fields, sometimes not.
This is my problem.
Do we necessarily need those warnings?
Is there any problem using the app if there are undefined fields?
Is there a better way to get around this?

Also, to make this more complete, if your UI handles optional fields properly, it’s always possible to set these fields to null if they are indeed optional.
But the requirements of the optimistic mutation data will always have to match your selection set because that’s what will be written optimistically and emulate the server result.
Lastly, if those fields are undefined or missing, they’ll be skipped. So even seeing these warnings isn’t going to prevent you from defining the optimistic data. It’ll just likely be a mistake, since the query data won’t update fully. That’s why we warn about it. We could I suppose silence it if the field is explicitly set to undefined though

There are no problems using the app, these are needed since they help a lot of people avoid pitfalls related to optimistic updates.
You can use the second argument to optimistic which is the cache to look for the missing fields

You can use the second argument to optimistic which is the cache to look for the missing fields

Is there an exmple?

It's the same as you are doing in updates.Mutation, cache.readFragment with the TodoFragment, id and you should have that data

Okay, I ended up using this form:
updateTodo: (args, cache) => {
  const actualTodo = cache.readFragment(
    gql`
      ${TODO_FRAG}
    `,
    { id: args.id }
  );
  return { ...actualTodo, ...args, text: "UPDATING" };
},

However, I still don't know why, but I don't like it very much.
I'd like to avoid calling a readFragment every time (using gql) just because I want my UI to highlight an ongoing action.
It seems to me a "waste" of resources (considering that I have many optimistic around the app).
The warning is saying to me:

"Look, this optimistic instead of responding as the client wishes is not sending all the data, are you sure it's correct?"

and I could reply:

"Of course I'm sure, I just need to highlight that I'm saving, deleting or adding a todo; wait a moment and you will see that the server answers you correctly, it doesn't make sense to call the readFragment complete with Graphql AST query filled in just because you want to be perfect, don't you think?".

Or am I wrong to use the optimistic and maybe there is another way to only highlight UI actions, what do you think?

Optimistic updates are meant to reflect an early answer from the server, using to indicate something is updating isn't really its use case. This could be done by means of result.fetching instead.
The thing is, optimistic is used to ensure we can actually be offline, when a user is offline and performs a mutation just highlighting that certain thing is updating isn't of much use to our user, if it's unsafe to simulate an early response we should doubt that this entity can be mutated in an offline-state.

Thank you both.

Hi everyone, I'm having same issue and I don't understand your solution. I'm not using offlineExchange since I don't need it, I'm using instead cacheExchange from "@urql/exchange-graphcache". I'm trying to update my cache with cache.updateQuery but always returns null. What you mean when isn't cached before? Isn't all the queries being cached automatically?
...
 updates: {
      Mutation: {
        insert_player_note_one: (result, { player_id, workspace_id }, cache) => {
          if (!result?.insert_player_note_one) return;

          const variables = { playerId: player_id, workspaceId: workspace_id };
          cache.updateQuery({ query: getPlayerProfileActivities, variables }, (data) => {
            console.log("data ==>", data);
            if (data) data.player_by_pk.notes.push(result.insert_player_note_one);
            return data;
          });
        },
     }
     ...


Notion help page access

When click on "I dont' know how to get credential file" i've got redirected to a notion page but its not public.

Hi thank you for your report, can you check again @andreluisfc ?

Solved.
Thanks!!

FYI, It seems broken again.


core: lock m_vTimers for forceUpdateTimers

Previously m_vTimers was not locked when calling handleForceUpdateSinal. Don't know how but that might be the culprit behind #535.
To avoid problems with async signals, I introduced this atomtic variable and integrated forceUpdateTimers into the main loop instead of locking m_vTimers via a signal.

Need to revisit i think this would cause problems when we get no poll events


can't resolve dependency issue with go dep

When I was trying to run dep init command with kubectl-debug project, I received the following error:
init failed: unable to solve the dependency graph: Solving failure: package github.com/docker/docker/api/types/image does not exist within project githu
b.com/docker/docker
Can you please help how to solve it?

This project is using go mod now, did you see any documents that guides to dep?

closed, feel free to reopen this if you have any other questions


Fix for index generation when renaming table #123

Just let the DB decide the name of the index, as it was done in the previous version.
@rochoa or @pramsey please kindly review.

:+1:


Logs and Shell are not available in the new version

On the latest version we have access to go on the logs or shell in the pod.
With this new version this kind of access was removed. why?
BR
Seilor

Same for me. After cloning the repo and building v6.3.0 the buttons are gone. Building and installing v6.2.5 solves the problem.

Ok, it is not a bug. It is a "feature". The buttons were removed intentionally by the authors and moved as a part of a non-MIT licensed solution. More info here: https://github.com/MuhammedKalkan/OpenLens

Not sure if this is really the reason here. We have two different clusters. The aks one shows those buttons, the other one don't. See also https://github.com/MuhammedKalkan/OpenLens/issues/81#issuecomment-1380191982
I cannot assess how the behavior should be and where something is implemented, but the differences between the cluster types is at least suspicious.

I'm not sure if this was really intentional. When I look at https://github.com/MuhammedKalkan/OpenLens/releases nothing stats that the logs are removed... @mateusz-kolecki Do you know more here what the purpose was, or what merge request removed that?

Seems to be a duplicate of this https://github.com/lensapp/lens/issues/6823

I don't know in which circumstances the Pods entry was available in 6.3.0 and just the actions missing (in OpenLens). I never had any Pods entry in 6.3.0. This recovered in 6.4.0 Alpha, but the Shell + Log Actions were then unavailable in one cluster type.
I am on Mac Intel.

@MalHaak Not really.  For those of us that just like to use software and don't have time to fart-ass about reading Github issue comments to finally figure out that it's been removed "as a default" but is still availble as an extension, and then when we go read the list of available extensions linked from the app and find that the Node Pod Menu extension isn't even listed and so we can't figure out how to fix it for ourselves without going through pages and pages of Github issues, well, it's a bit of a fucking issue, mate.  I've got better things to do.
I've created  a PR to update the extension list to include Node Pod Menu (see here: https://github.com/lensapp/lens-extensions/pull/21), which is the absolute minimum that should be done to make this situation simpler for users, but it's been a couple of days and no one has even looked at it, so I'm not confident anything is going to be done with it.  This whole situation is an absolute clusterfuck, in my opinion.

@JAZ-013 One google search. That's what it took for me to go from "Oh why is this broken" to "Back to work". Could they have done a better job of warning people, sure. But it's not really that big of a deal and their policy does make sense.
But I see you've already fetched the pitchforks and lit your torches.

@JAZ-013 One google search. That's what it took for me to go from "Oh why is this broken" to "Back to work". Could they have done a better job of warning people, sure. But it's not really that big of a deal and their policy does make sense.
But I see you've already fetched the pitchforks and lit your torches.

Well, now that everyone here has been discussing it and have done the hard work for you, I'm sure it was incredibly easy to figure it out.  But sure, go ahead and have a go at someone that is trying to help.  Great work, hero.

Thank you for opening this issue and posting a solution!


Source of your data?

Hi, which data source do you use? Do you check for updates and merge them?

Sorry for the very late response, if you're still interested in an answer: This package is something between an API client and a scraper, it uses API calls made by the LVB website. I didn't have much time to maintain the package, but @hashworks has kindly provided some updates to the calls, to that everything works (still/again) as of now.

Please re-open if necessary.


feat: Add Domo Auth connector

Closes #376
Checklist

[x] Ran Linter
[x] Created PR from non-main branch

Notes
Testing
GET
URL: http://localhost:4444/v1/datasets/

POST
URL: http://localhost:4444/v1/datasets

PUT
URL: http://localhost:4444/v1/datasets/

DELETE
URL: http://localhost:4444/v1/datasets/

Pagination
GET
URL: http://localhost:4444/v1/datasets?limit=1&offset=0
page1

GET
URL: http://localhost:4444/v1/datasets?limit=1&offset=1
page2

Raw token

#496  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @mohammedfuta2000 and the rest of your teammates on  Graphite


AttributeError trying to test file opening with a plugin

🐛 Bug
I am trying to test the automatic opening of a file with a napari plugin. When running pytest on the test code below, I get the following error.
  Can you tell me exactly what plugin_namespace is in your example above?

 I can provide the source, but commenting out the plugin_manager.register(plugins) line I get exactly the same error as above, so I don't think that's the issue?

Ok, it seems like there must be some other important detail about the way you're setting up the tests or plugin:
This works for example...
import pytest
import tifffile
import numpy as np

@pytest.fixture
def viewer(make_napari_viewer):
    return make_napari_viewer()

def test_load_cellfinder_xml(tmp_path, viewer):
    fname = (tmp_path / 'test.tif')
    tifffile.imwrite(fname, np.random.rand(4, 4))
    assert not viewer.layers
    viewer.open(fname)
    assert viewer.layers

can you create an example for me?

I think I'm hitting the case where the file isn't recognised by any of the registered plugins. I think in your example napari knows how to read the test.tif file. If you try and read an empty .csv file (for example) I think it should reproduce the error. (sorry, don't have time to write a full example immediately)

thanks, that helps:
import pytest

@pytest.fixture
def viewer(make_napari_viewer):
    return make_napari_viewer()

def test_load_cellfinder_xml(tmp_path, viewer):
    fname = (tmp_path / 'cell_classification.xml')
    fname.touch()
    viewer.open(fname)

Thanks, fix in https://github.com/napari/napari/pull/4254


Fix that wraps return expr in Ok

Fixes https://github.com/rust-analyzer/rust-analyzer/issues/1254

I've now addressed all the review comments.
(No rush! Just wanted to be clear that I don't think this is currently blocked on anything from me.)

@theotherphil it looks like you addressed the last comments, is this just waiting on a re-review?

Yes

rebased and merged in #1734, thanks @theotherphil  !


Feature request: Execution of file after "install" step

Can we please add possibility of execution of a file after package download and unzip?
We've got JetBrains ReSharper that needs execution of installater but doesn't require admin rights.

Sounds like a good idea.
Just have in mind that this can lead to more complex installs that can have a higher frequency of failing.

Yeah, I'm aware of it but it can be very helpful - e.g. with JetBrains ReSharper, which doesn't need admin rights, but needs to execute a "configuration" tool to add its files to Visual Studio.
Also - I could allow to execute post-installation scripts (which can be included in packages).


Google fonts loaded?

Once i switched to CDN, my Content-Security-Policy is complaining about Google Fonts CSS trying to be loaded.
Confirmed trough the browser console while trying to display a single image:

Are these two other resources needed to be loaded also?

Hey again @acs-ferreira, do you mean that Google Fonts is loaded by itself? Well that's weird case, Statically is only load assets that you're trying to load, we're not adding other things to the request.
And favicon.ico, I believe that some browser now is force you to load the favicon from a domain to show the website's icon on the tabs.
Can you attach me with that Statically's URL here?


"Frumușani" is listed in the drop-down menu

Description:
"Frumușani" is listed in the drop-down menu alongside its corresponding county and commune, according to the law
Precondition:
The website is up an running.

Step 1
Type "Frumușani" in the search bar.

Expected results
The location is listed in the drop-down menu as "Sat Frumușani, CĂLĂRAȘI (Frumușani)".