JSON parse error on POST request.

I used django-cors-headers, and config it.
Backend:
Django 1.11 + django-rest-framework 3.6.3
settings.py

ALLOWED_HOSTS = ['*']
MIDDLEWARE = [
'django.middleware.security.SecurityMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'corsheaders.middleware.CorsMiddleware',
'django.middleware.common.CommonMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'django.middleware.clickjacking.XFrameOptionsMiddleware',
]
CORS_ORIGIN_ALLOW_ALL = True

python manage.py runserver <IP_ADDRESS>:8000
Frontend:
<!DOCTYPE html>

<button>Forget Password</button>

Getting 400 response for POST request and response content

{"detail":"JSON parse error - Expecting value: line 1 column 1 (char 0)"}

But when I am calling this API from postman its work properly.
Can you please give any solution for this.

This doesn't sound related to django-cors-headers in any way. It sounds like your javascript code isn't submitting valid JSON - check with your browser's developer tools what is actually being sent over the wire. I'm not familiar enough with jQuery to comment.
Better places to ask this question are #django on IRC or Stack Overflow. I'm going to close this issue now as it seems unrelated to django-cors-headers.


league.free_agents() returns exactly 50 results

Sport
Basketball
Summary
Getting free agents only returns the first 50 results for me. It looks like this is a cookie error as it returns the same result as querying  'https://fantasy.espn.com/apis/v3/games/fba/seasons/2022/players?scoringPeriodId=0&view=players_wl' in an incognito tab.
It seems like 'ESPN API Request: url: https://fantasy.espn.com/apis/v3/games/fba/seasons/2022/players params: {'view': 'players_wl'} headers: {'x-fantasy-filter': '{"filterActive": {"value": true}}'} ' returns all players and free_agents() can be derived by crosschecking the player list with the active rosters. Let  me know if you have any insights or if you want me to implement free_agents() by cross checking current rosters.
Logs/Data
No response

I think you can set a limit header parameter also. Similar to this gist I put together to grab ADP.
https://gist.github.com/dtcarls/c6158cd8ad41e0941571807052098a0f

Hi @ConduciveMocha that's the default size free_agents function is set for. You can adjust it by setting the size you want like
league.free_agents(size=100)

Check out the Basketball Wiki which shows the different variables you can pass to the free agent function.


ci: use actions/setup-node@v2

What kind of change does this PR introduce?
use actions/setup-node@v2
https://github.com/marketplace/actions/setup-node-js-environment

Did you add tests for your changes?
No

Does this PR introduce a breaking change?
No

What needs to be documented once your changes are merged?
Nothing

Thanks


chore: unit tests for credit service

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

7 of 7 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.08%) to 9.466%

Totals

Change from base Build<PHONE_NUMBER>:
0.08%

Covered Lines:
9969

Relevant Lines:
105318

💛  - Coveralls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

7 of 7 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.08%) to 9.466%

Totals

Change from base Build<PHONE_NUMBER>:
0.08%

Covered Lines:
9969

Relevant Lines:
105318

💛  - Coveralls

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Warning: This coverage report may be inaccurate.
This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

For more information on this, see Tracking coverage changes with pull request builds.
To avoid this issue with future PRs, see these Recommended CI Configurations.
For a quick fix, rebase this PR at GitHub. Your next report should be accurate.

Details

7 of 7 (100.0%)  changed or added relevant lines in 1 file are covered.
73 unchanged lines in 3 files lost coverage.
Overall coverage increased (+0.08%) to 9.465%

Files with Coverage Reduction
New Missed Lines
%

core/audit/audit.go
5
0.0%

core/webhook/service.go
9
0.0%

core/group/service.go
59
0.0%

Totals

Change from base Build<PHONE_NUMBER>:
0.08%

Covered Lines:
9969

Relevant Lines:
105329

💛  - Coveralls


feat: Cache request from Identity popover

Thank you for your contribution to the KodaDot NFT gallery.
👇 _ Let's make a quick check before the contribution.
PR type

[ ] Bugfix
[x] Feature
[ ] Refactoring

What's new?

[x] PR closes #2505
[x] Cache request from Identity popover

Before submitting Pull Request, please make sure:

[x] My contribution builds clean without any errors or warnings
[x] I've merged recent default branch -- main and I've no conflicts
[x] I've tried to respect high code quality standards
[x] I've didn't break any original functionality
[x] I've posted a screenshot of demonstrated change in this PR

Optional

[x] I've tested it at
[ ] I've tested PR on mobile and everything seems works
[ ] I found edge cases
[ ] I've written some unit tests 🧪

Had issue bounty label?

[x] Fill up your KSM address: Payout

Community participation

[x] Are you at KodaDot Discord?

Screenshot

[x] My fix has changed something on UI; a screenshot is best to understand changes for others.

https://user-images.githubusercontent.com/38389586/157069185-549e427e-9cb6-47a3-91cd-fab37fa7bb1f.mp4

As would Mr Dyatlov say: 3.6 - not great, not terrible.
The algo:

get the data from the storage (vuex, or IDB)
check if the difference between updatedAt and Date.now() is more than 12hrs -- if not than show the data
if yes fetch the data from the graphql
show the data
add to the storage

Where is the issue? You are magically labeling something as type cache and then it's never updated.
Add 2. Try to unwrap the data which you save into the storage
How it looks now:
export interface MintInfo {
   totalCreated: number
   totalCollected: number
   totalSold: number
   firstMintDate: Date
 }

export interface MintInfo {
   firstMint: { nodes: any[] }
   nFTCollected: { totalCount: number }
   nFTCreated: { totalCount: number }
   nFTSold: { totalCount: number }
 }

already change, plz check:)

seem does the job, pre-cached and seventh page i haven't visited
https://user-images.githubusercontent.com/5887929/158579931-7c7090e8-4ecc-4a6a-bba1-1837e227c036.mov

pay 100 usd

😍 Perfect, I’ve sent the payout
💵 $100 @ 126.82 USD/KSM ~ 0.789 $KSM
🧗 EgCzZLpVe7zg7RHh79qPyC8UrykVkA22YY2oj7sWMZf15Ws
🔗 0x8976dc16a4b4a52cd103fe41d36d14c963f42d36814a1c6c22ab0b84ef30f9ca
🪅 Let’s grab another issue and get rewarded!
🪄 github.com/kodadot/nft-gallery/issues


Microsoft.PowerPlatform.Administration.UserManagement - how to use Multi-Factor authentication?

How to use multi-factor authentication using the Microsoft.PowerPlatform.Administration.UserManagement powershell scripts? Many organizations mandate the use of Multi-Factor auth, especially for priviliged roles (such as what this script requires)
The documentation for the Connect-AzureAD module states that MFA can't be used with the Connect-AzureAD method been used in the script
PS C:\> Connect-AzureAD -Credential $Credential
The first command gets the user credentials, and then stores them in the $Credential variable.

The second command connects the current PowerShell session using the credentials in $Credential.

This account authenticates with Azure Active Directory using organizational ID credentials. You cannot use multi-factor authentication or Microsoft account credentials to run Azure Active Directory cmdlets with this account.```

@bubbletroubles I have forwarded your question to the people that maintain that code.


ORC support for medication request

issue
Add ORC segments converted to FHIR to the Medication Request request resource so users can create the resource with information from the ORC segment.
Expected behavior
Converter supports the ORC segments in medication request
the support should work with every message even that includes a medication request resource

Duplicate of issue 334, included in release 1.0.13


Question about behavior of subsetOf for MinimizedExclusions

    override def subsetOf(other: ExclusionData): Boolean =
      other match {
        case ExcludeNone => false
        case ExcludeAll  => false
        case ExcludeSpecific(otherByOrg, otherByModule, otherSpecific) =>
          byOrg.subsetOf(otherByOrg) && byModule.subsetOf(otherByModule) && specific.subsetOf(
            otherSpecific
          )
      }

Shouldn't this be always true? Specific exclusions would always be a subset of ExcludeAll

    override def meet(other: ExclusionData): ExclusionData =
      other match {
        case ExcludeNone => this
        case ExcludeAll  => ExcludeAll
        case other: ExcludeSpecific =>

This is also a bit suspect to me - I'm reading meet as ~= to a set intersection. If that is the case - why wouldn't it be
    override def meet(other: ExclusionData): ExclusionData =
      other match {
        case ExcludeNone => ExcludeNone
        case ExcludeAll  => this
        case other: ExcludeSpecific =>

cc @craffit


Rename sdk-features to features"

Waiting on https://github.com/temporalio/sdk-features/pull/207

 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.

@cretz CI seems unstable, I've had 3 consecutive unrelated failures.
Do you want to force merge?

This is failing on the first use of the time-skipping test server in CI (note the arm builds passed) so I suspect it's due to new RC release. For some reason it got an activity timeout immediately which makes me concerned that the test server isn't properly shutting off time skipping during activity invocation anymore? Or some other bug.
I have restarted CI since you've pinned the test server back to an older version and it works now. We need to make sure that we run this Python test with the test server before unpinning/upgrading it on the CDN.


Any way to get bounding box of page content?

Is there any way to get the bounding box for a page? I'm looking for something that acts like the PostScript DSC %%PageBoundingBox comment.
As explained by the PostScript Reference Manual (2nd Edition):

This  comment  specifies  the  bounding  box  that  encloses  all  the  marks painted on a particular page.

My specific use case is finding the height of a potentially dynamic header so I can tell PDFMake how much space to leave for the header.

@wolfgang42 is right, this is a must for rending content with variable height, particularly svgs.

PDFKit is an immediate mode rendering API. Content you add is immediately written to the PDF. This kind of layout would require a multi-pass layout engine.


[2009-11-08] Inflection/Pluralization in DataObject::plural_name() flawed

created by: @chillu (ischommer)
created at: 2009-11-08
original ticket: http://open.silverstripe.org/ticket/4684

Two examples where the simplistic plural_name() logic fails:
Blog Tree -> Blog Tres
Account Page -> Account Pags
Automatic plurals are used throughout the interface, and are automatically included in the lang files. A translator raised this issue, actually. We need a more solid solution for inflection and pluralization, for example http://www.zend.com//code/codex.php?ozid=1564&single=1

Yep, still the case...

https://github.com/silverstripe/silverstripe-framework/pull/4751 fixed an issue with words ending with ey becoming eies
So while this code still exists and a proper pluraliser wold be good - I believe this reported bug and similar high visibility issues around this are resolved.

Is "set i18n plurals" a solution, or do we really need a real plural-guesser?


fix: order status check before order line item update

I think the Mollie integration shouldn't block OROCommerce order line updates.
So I submit you a pull request allowing to ignore Mollie order line update if the corresponding order has not a status allowing to do so.

Hello bplaquevent,
Please note that we will review your pull request and we will notify you once we have more information to provide.
Kind regards.

Hello bplaquevent,
This is just a quick note to inform you that our team has already started working on resolving your issue.
If you have any further questions or concerns, please let us know.
Best regards,
Logeecom team

[to client]
Hey @bplaquevent,
First, thank you one more time for your pull request.
After analyzing we concluded that we can not accept it because we have to keep two systems in a consistent state, so if the order is updated in the shop, even if the Mollie API order line update request failed, would lead to a difference between order data in the shop and in Mollie.
Also, since Mollie handles payment for an order, it does not make sense to make a change on any order that is then rejected by the payment system and that change still goes through in the shop system.
We apricate your sugestion.
Best regards


docs: revising to match sidebar structure.

The PR replaces https://github.com/coreos/etcd/pull/8319

@heyitsanthony please merge if possible


Workflow/Actors: Distributed batch processing with custom partitioning

In what area(s)?
/area runtime
/area operator

/area placement

/area docs

/area test-and-release

Describe the feature
Sometimes actions on flows are more efficient / faster to do as a batch, rather than massively parallel, so I'm looking for an elegant & reliable way to "fan-in" several workflow instances; or perhaps be able to write a special "batch handling" method on the dapr actor, which provides a partitioning value.
This would be especially handy in areas where you need to bulk import / enrich data / etc with a third party service, such as  or submit.
Theoretical usage (with Actor)
Client:
// Send single bit of data to a pre-partitioned actor
var id = LoanActorId.Create(item.Address.State); // <-- partition by state
var proxy = Factory.CreateActorProxy<IGeoLookup>(id, "GeoLookup");
item.Address.LatLon = await proxy.ProcessInBatch(item);

Actor:
[BatchReceive(maxItems: 10, batchWindowTimeoutMs: 100)]
async Task<Dictionary<string, LatLon>> ProcessInBatch(ItemType[] item)
{
    // ... Send as batch to geocoding API...
   // i.e. https://learn.microsoft.com/en-us/rest/api/maps/search/get-search-address-batch?tabs=HTTP#post-body-for-batch-request
}

Obviously this glosses over the finer points, but the ultimate goal is to abstract away the complexity of trying to do something like this.

bump

Hi @onionhammer. I see that you mentioned workflow in this issue but your suggestion seems to mostly be about actors. Did you have any scenarios in mind for Dapr Workflow related to batching or are you mostly interested in batching support for actors?
Dapr workflows give you some primitives that make it easy to do batching already. For example, some users will use workflows as aggregators to collect a set of events (using wait-for-external-event workflow APIs) and then push them as a single batch to some external API via an activity. I'm curious to know if this might help with your use case.

Did you have any scenarios in mind for Dapr Workflow related to batching or are you mostly interested in batching support for actors?

I wasn't aware of the dapr workflow batching, but yes I am mainly interested in actors. I assumed workflows were built on top of actors.

I wasn't aware of the dapr workflow batching, but yes I am mainly interested in actors. I assumed workflows were built on top of actors.

Yes, workflows are built on top of actors, but it's an internal implementation detail with a completely separate programming model. Indeed, it sounds like your feature request is specific to the Dapr Actors programming model.


The .pt file is missing

When I run the train_changeclip.py file, I encounter this problem. Do I need to download the .pt file myself, or do you have any suggestions for me as a beginner

https://github.com/openai/CLIP/blob/main/clip/clip.py. Use the download link provided in this code to download the corresponding model

Thank you for your reply，but Yesterday, I also tried to download the "pt" file. I renamed the downloaded file to "RN50.pt" and changed the pretrained path to the address of this downloaded file. However, I encountered an error during loading: RuntimeError: PytorchStreamReader failed locating file constants.pkl: file not found.

Hello, I changed the address to the location I downloaded, as shown in the picture.

However, I encountered this error when loading the model.

Why is this happening?


Enable download png of explorer image

Enabled currently in excellxgene, this ticket captures the work to enable users to download an image of explorer.

dupe: #728

Duplicate of #728


clightning: 0.6.0 -> 0.6.1

Update to the latest release.
Highlights for c-lightning users

Less stuck payments: Liveness ping test before locking up funds with peers.
Better routing: now considers size of channels.
Fewer spurious closes: fee estimate improvements, and new feerates command
Several annoying bugs fixed.

Highlights for the network

Gossipd now less spammy with channel_update.
option_data_loss_protect to protect peers against being out-of-date.
Payment errors now refer to the correct channel.

Internal Improvements

Simplified client flow; after init message exchange by connectd, each is
isolated in its own daemon.
JSON parameter handling vastly simplfied.
Python testing framework now uses proper fixtures, and split into separate
files.
Many other cleanups and clarifications.
We keepachangelog.com!

Signed-off-by: William Casarin<EMAIL_ADDRESS>Motivation for this change
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Fits CONTRIBUTING.md.

cc @roconnor

Success on aarch64-linux (full log)
Attempted: clightning
Partial log (click to expand)
shrinking /nix/store/c7z1qm8bzxpji8jziipvc4fpyjl6z9qr-clightning-0.6.1/libexec/c-lightning/lightning_closingd
shrinking /nix/store/c7z1qm8bzxpji8jziipvc4fpyjl6z9qr-clightning-0.6.1/libexec/c-lightning/lightning_channeld
shrinking /nix/store/c7z1qm8bzxpji8jziipvc4fpyjl6z9qr-clightning-0.6.1/bin/lightningd
shrinking /nix/store/c7z1qm8bzxpji8jziipvc4fpyjl6z9qr-clightning-0.6.1/bin/lightning-cli
gzipping man pages under /nix/store/c7z1qm8bzxpji8jziipvc4fpyjl6z9qr-clightning-0.6.1/share/man/
strip is /nix/store/y4ymnvgxygpq05h03kyzbj572zmh6zla-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/c7z1qm8bzxpji8jziipvc4fpyjl6z9qr-clightning-0.6.1/libexec  /nix/store/c7z1qm8bzxpji8jziipvc4fpyjl6z9qr-clightning-0.6.1/bin
patching script interpreter paths in /nix/store/c7z1qm8bzxpji8jziipvc4fpyjl6z9qr-clightning-0.6.1
checking for references to /build in /nix/store/c7z1qm8bzxpji8jziipvc4fpyjl6z9qr-clightning-0.6.1...
/nix/store/c7z1qm8bzxpji8jziipvc4fpyjl6z9qr-clightning-0.6.1

Success on x86_64-linux (full log)
Attempted: clightning
Partial log (click to expand)
shrinking /nix/store/3vs62hd7n5qkmm14dmb4wqllvi9lal6c-clightning-0.6.1/libexec/c-lightning/lightning_connectd
shrinking /nix/store/3vs62hd7n5qkmm14dmb4wqllvi9lal6c-clightning-0.6.1/libexec/c-lightning/lightning_gossipd
shrinking /nix/store/3vs62hd7n5qkmm14dmb4wqllvi9lal6c-clightning-0.6.1/bin/lightningd
shrinking /nix/store/3vs62hd7n5qkmm14dmb4wqllvi9lal6c-clightning-0.6.1/bin/lightning-cli
gzipping man pages under /nix/store/3vs62hd7n5qkmm14dmb4wqllvi9lal6c-clightning-0.6.1/share/man/
strip is /nix/store/h0lbngpv6ln56hjj59i6l77vxq25flbz-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/3vs62hd7n5qkmm14dmb4wqllvi9lal6c-clightning-0.6.1/libexec  /nix/store/3vs62hd7n5qkmm14dmb4wqllvi9lal6c-clightning-0.6.1/bin
patching script interpreter paths in /nix/store/3vs62hd7n5qkmm14dmb4wqllvi9lal6c-clightning-0.6.1
checking for references to /build in /nix/store/3vs62hd7n5qkmm14dmb4wqllvi9lal6c-clightning-0.6.1...
/nix/store/3vs62hd7n5qkmm14dmb4wqllvi9lal6c-clightning-0.6.1


IJsonWebToken and it's usage in OIDC protocol validator

        {

not this PR, but do we have test coverage for this?

Refers to: src/Microsoft.IdentityModel.Protocols.OpenIdConnect/OpenIdConnectProtocolValidator.cs:680 in bd50ede. [](commit_id = bd50ede9182eebde31d47066e69e9831ff1ee7df, deletion_comment = False)

                    // expected type of inner excpetion is: System.Text.Json.JsonReaderException, but that is internal to System.Text.Json so we cannot

nit: exception here and line 604

Refers to: test/Microsoft.IdentityModel.Protocols.OpenIdConnect.Tests/OpenIdConnectProtocolValidatorTests.cs:590 in bd50ede. [](commit_id = bd50ede9182eebde31d47066e69e9831ff1ee7df, deletion_comment = False)


Update service-premium.md

updated licensing

@AdamDWilson : Thanks for your contribution! The author, @mgblythe, has been notified to review your proposed change.

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

powerbi-docs/service-premium.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

@AdamDWilson : Thanks for your contribution! The author, @mgblythe, has been notified to review your proposed change.

#sign-off


Add support for custom chain for the thirdweb template

Right now the template has support for known chain, it is nice to have a support for custom chain.

@warengonzaga, please open a PR to update the example if you still want this.


BUG 7858 - WebApi Doesn't work correctly with Child Portals

When using the WebApi since the request to the controller will also remove the child portal sub folder the code loads the wrong portal instance.
This is a problem since if you have a user called UserA in the child portal www.test.com/child then unless that same username exists in a parent portal called www.test.com then the user will not be able to call the action.
When on a child portal of www.test.com/child the controller will be called on the url
ww.test.com/... hence why the wrong portal instance is then loaded in the DNN WebApi code.
This fix provides a fallback lookup based on the TabId supplied in the request header

You should be making web API requests with the child portal folder in the URL.  Are you using the getServiceRoot method on $.ServiceFramework(moduleId) to generate the URL on the client?

@bdukes Brian, you called. I failed to take into account I needed to use the jQuery ServiceFramework extension. I think this is a non-issue and this pull request can cancelled.
Thanks for the pointer :)

This is being closed based on the comments.


Remove duplicate pyenv init from profile script

Description
Fixes "pyenv: cannot rehash: <...>/shims isn't writable" output for a user
when pyenv is system installed. Command 'eval "$(pyenv init -)"'
enables shims, same as 'eval "$(pyenv init --path)"', except later
excludes shell integration and misses '--no-rehash' part.
Issues Resolved
List any existing issues this PR resolves
Check List

[x] A summary of changes made is included in the CHANGELOG under ## Unreleased
[ ] New functionality includes testing.
[ ] New functionality has been documented in the README if applicable.

Released as: 4.1.0


Feature: Clear all notifications

I am not sure, which would be the best way to implement this, I guess a command is a good idea.
Any opinions on this? I would try to implement this as well :)

i don't have a real need for that, but if you, yes, a command might be convenient for this..

What do you think, a major command, say /notifications, and a subcommand clearall?
I don't know what other subcommands could be useful though.

me neither. /clear is already used for messages (and according to #141 there should be some /clearall).  maybe /readall or sth along those lines?  in the end, naming is hard.

/markallasread is pretty clumsy, so I guess /readall is nice.

Alternatively you can use ctrl-q to get rid of them one at a time (faster than typing /readall).


Add on_delete for agenda_items and LOS

Please check if I missed something. Also, feel free to suggest other places that should have delete cascading/protection, so that I can add it here.

The default is something like SET_NULL, right?
Protected:

deleting a comment section if it has comments
deleting a projector if it has projection defaults
protect state, if it is used by a motion (since workflow->state cascade: A workflow deletion is also prevented by this; this should be tested in your implementation, that it works).

Cascade:

deleting motion comments, if a motion is deleted
commitee -> meetings
meeting -> all meeting models
user -> personal note
motion -> amendments (I think, not sure)
motion -> submitter
motion -> change recommendation
motion -> polls
assignment -> polls
assignment -> candidates
projector -> projection
workflow -> state
*polls -> *options -> *votes

Changed. Also added the meeting_id field to all models.

motion -> amendments (I think, not sure)

leaving it out for now.
What about motion -> personal_note, should this also cascade?

Also added equal_fields (see https://github.com/OpenSlides/openslides-backend/issues/191), which was needed in more places than I thought. Please double check.
@ostcar I was about to ask you to add equal_fields to the validator, but it passes, so instead we should probably restrict the possible fields for each node, I think.

What about motion -> personal_note, should this also cascade?

Right. Note that it is a generic relation, so it's more like *->personal_note

Merging this now, fixes can be done in a later PR. @normanjaeckel please check user/vote_delegations_$_from_ids/user/vote_delegated_$_to_id, I do not know if this is the right syntax for the template fields, but it works for now. It did not work with the previous version from @FinnStutzenstein.


w3 check done

Hi! I have passed all the main.js in w3check. I corrected a small typo correction in use strict and some white spaces that the checker was pointing. Of course it also pointed to the comments, but nothing else about the code itself :)

Hi! I have passed all the main.js in w3check. I corrected a small typo correction in use strict and some white spaces that the checker was pointing. Of course it also pointed to the comments, but nothing else about the code itself :) @sandrapinazo can you please review it?

Checked with w3 checker the html. Changed some small details:

changed label for to github with not capital letter as in id of input at form-fill partial html
add alt to img iin html partial _footer.html
@anniavdc if you can please review and we merge

Hi Clara, thanks!. Did you check if that ID of input that you changed wasn't in main.js ? I mean because if it's an input that we used for events with it's corresponding ID maybe it could have breaked something. If you can review it or tell me witch ID was it I can also check the code

Sorry, I think I missunderstood you with this:
changed label for to github with not capital letter as in id of input at form-fill partial html but I checked the files changed and your commits and it seems it was only the label. So I believe you can merge, after you do this, check if everything it's working in master and do a gulp docs, so it's updated


PR08 Add Bootstrap for styling

👷 Deploy Preview for bongosian-press processing.

Name
Link

🔨 Latest commit
1c37b298f7ea349f9cc8bef525470c6c2a1b372c

🔍 Latest deploy log
https://app.netlify.com/sites/bongosian-press/deploys/6584a9cbb418e40008116cf0


kubernetes-helm: fix darwin hash

Motivation for this change
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[ ] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Fits CONTRIBUTING.md.

No attempt on aarch64-linux (full log)
The following builds were skipped because they don't evaluate on aarch64-linux: kubernetes-helm
Partial log (click to expand)

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnsupportedSystem = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnsupportedSystem = true; }
to ~/.config/nixpkgs/config.nix.

Success on x86_64-linux (full log)
Attempted: kubernetes-helm
Partial log (click to expand)
100 8991k  100 8991k    0     0  40.8M      0 --:--:-- --:--:-- --:--:-- 40.8M
copying path '/nix/store/mr5kxi7w6vk9yhkhrdx08g52rm0r5gbm-kubectl-1.10.5' from 'https://cache.nixos.org'...
building '/nix/store/7sskz039zy2aghkm2bcjqwcgf6gy4y09-helm-2.10.0.drv'...
building
installing
linux-amd64/
linux-amd64/LICENSE
linux-amd64/helm
linux-amd64/README.md
/nix/store/iz6lgd08ycc0iggn2zsjl7v19pvvbhb6-helm-2.10.0

@grahamcofborg build kubernetes-helm
Hope it'll check darwin, too :)

Success on x86_64-linux (full log)
Attempted: kubernetes-helm
Partial log (click to expand)
/nix/store/iz6lgd08ycc0iggn2zsjl7v19pvvbhb6-helm-2.10.0

No attempt on aarch64-linux (full log)
The following builds were skipped because they don't evaluate on aarch64-linux: kubernetes-helm
Partial log (click to expand)

a) For `nixos-rebuild` you can set
  { nixpkgs.config.allowUnsupportedSystem = true; }
in configuration.nix to override this.

b) For `nix-env`, `nix-build`, `nix-shell` or any other Nix command you can add
  { allowUnsupportedSystem = true; }
to ~/.config/nixpkgs/config.nix.

Success on x86_64-darwin (full log)
Attempted: kubernetes-helm
Partial log (click to expand)
these derivations will be built:
  /nix/store/bkh3wcwrrb0ln0p6bvw084f148xvgjkx-helm-2.10.0.drv
building '/nix/store/bkh3wcwrrb0ln0p6bvw084f148xvgjkx-helm-2.10.0.drv'...
building
installing
darwin-amd64/
darwin-amd64/LICENSE
darwin-amd64/helm
darwin-amd64/README.md
/nix/store/4naxijwq4wvkzj3d2srzbq3gf9ry12br-helm-2.10.0

@rasendubi yep, I was waiting for this. So it seems good now. Thx.

@nlewo you might want to add yourself to the trusted users: https://github.com/NixOS/ofborg#trusted-users-vs-known-users

@rasendubi I wasn't aware of this. I'll then add myself. Thanks.


Finds movies that are in Plex collections?

Hi Great project!
This might not be a bug? - But I get a lot of movies as missing even if Plex shows them as being in my current Plex collection and with the correct name in the orig title field
The naming of the folders and files is correct.
The only reason I can think of is that the Gaps tool doesn't use Orig title?
Many movies have a local title in Danish because I wanted the danish description of the Movies and this is the only way to get them
So is this the problem? - Any way to use the orig title field in Plex?
Many people uses Plex in different languages would be a shame if this only worked for english titles?
I guess the folder option would work?

I'm working on a feature to set the language. It'll take a bit of time until I can release it. I have a few things in the pipeline before that.

Sounds Wonderful !!
But if the existing tool would just use the "Org title" field instead of the "title" wouldn't language then not be irrelevant and work for everyone?

No, it was changed to handle movies like Pokemon and Dragonball. Those are Japanese movies that people want to view in English. It's not as simple as a flip back and forth.

Yes, I am seeing this too. I've noticed that it's not consistently handling the case where the title starts with "A","The", or other similar words which Plex might move to the end of the name for listing.


In Text field in CT apostrophe breaks saving

Volto 4.0.0, Plone 5.2.0, python3
When editing a NewsItem or an Event, if I type something with apostrophes (') it breaks when trying to save the content.
Example: editing/adding a News Item, I type from lipsum.com:

Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.

Clicking Save will do nothing in the UI and Plone will print this in logs:
Traceback (innermost last):
  Module ZPublisher.WSGIPublisher, line 161, in transaction_pubevents
  Module transaction._manager, line 252, in commit
  Module transaction._manager, line 131, in commit
  Module transaction._transaction, line 296, in commit
  Module transaction._transaction, line 367, in _callBeforeCommitHooks
  Module Products.CMFCore.indexing, line 312, in before_commit
  Module Products.CMFCore.indexing, line 222, in process
  Module Products.CMFCore.indexing, line 50, in reindex
  Module Products.CMFCore.CatalogTool, line 367, in _reindexObject
  Module Products.CMFPlone.CatalogTool, line 351, in catalog_object
  Module Products.ZCatalog.ZCatalog, line 499, in catalog_object
  Module Products.ZCatalog.Catalog, line 369, in catalogObject
  Module Products.ZCTextIndex.ZCTextIndex, line 178, in index_object
  Module plone.indexer.wrapper, line 65, in __getattr__
  Module plone.indexer.delegate, line 20, in __call__
  Module plone.app.contenttypes.indexers, line 85, in SearchableText_news
  Module plone.app.contenttypes.indexers, line 67, in SearchableText
  Module Products.PortalTransforms.TransformEngine, line 173, in convertTo
  Module Products.PortalTransforms.Transform, line 202, in convert
  Module Products.PortalTransforms.libtransforms.retransform, line 31, in convert
  Module Products.PortalTransforms.transforms.html_to_text, line 21, in sub_func
ValueError: invalid literal for int() with base 10: 'x27'

Clicking a second time Volto breaks.
I edited the same content on Plone without any issue and Volto renders it correctly.
The difference is within the handling of special characters in draftjs (I guess).
It could be the same with other symbols.
While editing a "correct" text with apostrophes in the editor, inspecting, I see the character ', in the other case - the one with the error - the editors is trying to save  as html entity but Plone trasforms seem to dislike it.
You can see it in the inspector and in net calls.

@sneridagh @tisto @cekk I see this very dangerous and I'd treat it with high priority.
Have anyone else discovered this issue?

The responsibility for converting from djs to html is left to redraftjs library. We have certain control over it, since is configurable. Maybe  the culprit is there.

Update to fix it without changing anything in draftjs: https://github.com/plone/plone.restapi/pull/913


Is there any usage example code?

I cannot grab mind for using this library.
please get out some examples?

Here is another user's code i rewrote to answer to a similar question 1352c9f

@blackbeam Thank you! :+1:


Create an Account on the Gateway Demo System

Tutorial URL: https://developers.sap.com/tutorials/gateway-demo-signup.html
Please specify the step you are referring to
QUESTION  5
Enter the URL of the SAP Easy Access page below and click Validate.
MY ANSWER:
https://sapes5.sapdevcenter.com/
Sorry, that’s incorrect. Please try again.
Fix this bug please

Hi,
thanks for opening this issue.
The system seems alright as the answer you submitted is incorrect. You're already very close, but we're looking for the full URL, e.g. with the path that is being autocompleted.
Thanks,
Marius

Thank you for your feedback. The issue seems to be resolved, so I am closing the issue.
If you still have questions, feel free to reopen the issue.


Issue on page /voltohandson/footer.html

Most of the Links provided in the Footer are broken since they are ripped straight from the Plone Homepage.
Makes it very frustrating to follow the Tutorial.
Can Provide a Pull if needed.

@Molochem yes, please. Also please read and follow Contributing to Plone and First-time contributors. Thank you!

hey @stevepiercy I just finished going over the Tutorial and fixing various Typos, Gramatical Errors and some Code Snippets.
I also signed the Plone Contributors Agreement and went over the Rules for first time Committers.

fixed with #813


IdentityServer3 uses old dependencies like Identity, cannot use new packages

updating to IdentityServer4 and will not implement this for IdentityServer3


Graphics needed for spampig

B̶a̶c̶k̶g̶r̶o̶u̶n̶d̶ - already created by karmachela.
Particles - when pig collects a flag
Losing animations

More info here or in our discord server: https://discord.gg/8MuwspJ

Hello @wearecodexx here I am making graphics to meet the needs of Spampig assets. I hope this graphic can be useful for this project. Here are the details.
New Background Game Updated

I added a shadow to the mountains. And I also made the night mode.

And this is the bundle for all files associated with this background asset.
spampig background.zip
Particles - When Pig Collects a Flag
These are sprite sheet for flag animations that are ripped when eaten by pig.

And this is the bundle for all files associated with this losing animation asset.
spampig greedy animation.zip

Hi @wearecodexx I've sent a pull request #14 and added new graphics file to "Art" folder. Here are the list.

Added "Backgrounds" folder contains files.

Added "spampig_flag_pieces_sprite.png".

Added "pig_losing_sprite.png".

Thank you so much! This will add much life to the game :D


Fix "Worker was terminated" console error when closing a PDF before it finishes loading

Details

This PR fixes the "Worker was terminated" console error that occurs when closing a PDF view window before it finishes loading.
Fixed Issues

$ https://github.com/Expensify/App/issues/47810
PROPOSAL: https://github.com/Expensify/App/issues/47810#issuecomment-2303044225
Tests

Download this PDF.
Start a 1:1 DM with any account.
Click "+" > "Add attachment" and select the PDF.
Close the viewer window before the PDF finishes loading.
Verify that no "Worker was terminated" error is logged to the console.
Click "+" > "Add attachment" and select the PDF.
Wait until the PDF finishes loading.
Verify that the PDF has loaded successfully.

[x] Verify that no errors appear in the JS console

Offline tests

QA Steps

Download this PDF.
Start a 1:1 DM with any account.
Click "+" > "Add attachment" and select the PDF.
Close the viewer window before the PDF finishes loading.
Verify that no "Worker was terminated" error is logged to the console.
Click "+" > "Add attachment" and select the PDF.
Wait until the PDF finishes loading.
Verify that the PDF has loaded successfully.

[x] Verify that no errors appear in the JS console.

PR Author Checklist

[x] I linked the correct issue in the ### Fixed Issues section above
[x] I wrote clear testing steps that cover the changes made in this PR

[x] I added steps for local testing in the Tests section
[x] I added steps for the expected offline behavior in the Offline steps section
[x] I added steps for Staging and/or Production testing in the QA steps section
[x] I added steps to cover failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[x] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)
[x] I tested this PR with a High Traffic account against the staging or production API to ensure there are no regressions (e.g. long loading states that impact usability).

[x] I included screenshots or videos for tests on all platforms
[x] I ran the tests on all platforms & verified they passed on:

[x] Android: Native
[x] Android: mWeb Chrome
[x] iOS: Native
[x] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[x] MacOS: Desktop

[x] I verified there are no console errors (if there's a console error not related to the PR, report it or open an issue for it to be fixed)
[x] I followed proper code patterns (see Reviewing the code)

[x] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick)
[x] I verified that the left part of a conditional rendering a React component is a boolean and NOT a string, e.g. myBool && <MyComponent />.
[x] I verified that comments were added to code that is not self explanatory
[x] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[x] I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method

[x] If any non-english text was added/modified, I verified the translation was requested/reviewed in #expensify-open-source and it was approved by an internal Expensify engineer. Link to Slack message:

[x] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[x] I verified any copy / text that was added to the app is grammatically correct in English. It adheres to proper capitalization guidelines (note: only the first word of header/labels should be capitalized), and is either coming verbatim from figma or has been approved by marketing (in order to get marketing approval, ask the Bug Zero team member to add the Waiting for copy label to the issue)
[x] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[x] I verified the JSDocs style guidelines (in STYLE.md) were followed

[x] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[x] I followed the guidelines as stated in the Review Guidelines
[x] I tested other components that can be impacted by my changes (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar are working as expected)
[x] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[x] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[x] I verified that if a function's arguments changed that all usages have also been updated correctly
[x] If any new file was added I verified that:

[x] The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory

[x] If a new CSS style is added I verified that:

[x] A similar style doesn't already exist
[x] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))

[x] If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
[x] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[x] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[x] If the PR modifies a component or page that can be accessed by a direct deeplink, I verified that the code functions as expected when the deeplink is used - from a logged in and logged out account.
[x] If the PR modifies the UI (e.g. new buttons, new UI components, changing the padding/spacing/sizing, moving components, etc) or modifies the form input styles:

[x] I verified that all the inputs inside a form are aligned with each other.
[x] I added Design label and/or tagged @Expensify/design so the design team can review the changes.

[x] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[x] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.

Screenshots/Videos

Android: Native
Android: Native

Android: mWeb Chrome
Android: mWeb Chrome

iOS: Native
iOS: Native

iOS: mWeb Safari
iOS: mWeb Safari

MacOS: Chrome / Safari
MacOS: Safari

MacOS: Desktop
MacOS: Desktop

I have read the CLA Document and I hereby sign the CLA

@paultsimura this PR is ready for review.
I've verified that this error is unrelated to my PR and also happens on staging

recheck

:hand: This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.

🚀 Deployed to staging by https://github.com/thienlnam in version: 9.0.26-1 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

This PR is failing because of issue #48314

@paultsimura PR says that we need to verify that no errors appear in the JS console. We see an error. So it is not pass.
The original issue was fixed, but another console error still presents.
Should we mark PR as pass with bug?

Done

🚀 Deployed to production by https://github.com/puneetlath in version: 9.0.26-6 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅


Update button component

##Minor update to button

Handles 'aria-disabled' attribute for  <outline-button> and sub/shadow root elements.
Adds onClick and onKeyUp props.
Adds css styles to prevent button clicks on disabled.

Tooltip is here because it was part of the requested functionality. So let's get tool-tip up to snuff first and then merge this in.

@shaal @himerus if one of you have a chance to take a look at this, I think it's good to go.

@LeeMellon is this PR is an outdated version of https://github.com/phase2/outline/pull/93 ?

@mabry1985 No this is just updating the button on its one. I wasn't sure if the built-in tooltip was going to fly, or if it should be a sub version of button.


Update app base path content to mention NavLinks

For https://blazor.net/docs/host-and-deploy/index.html#app-base-path, surface that NavLinks must also receive the URL segment to work. The current text adequately covers the <base> tag but nothing is mentioned about the NavLinks.

@danroth27 This is fixed by https://github.com/aspnet/Blazor/issues/845, correct?
There should be no need now to add the base path to NavLinks.

Correct.


Keystroke not recognized on Windows

When pressing alt while using Windows the keystroke is not recognized, however on Linux it is recognized. I am trying to do a copy paste in my app by pressing the ctrl + alt + c for copy and ctrl + alt + v for paste but it is not currently working since vue-shortkey is not recognizing the key press. I tried switching between keyboard layouts but it seems like the error is not related to that. I am using US-layout.

I'll try it on Windows. I'm using linux.

@mdix #80 solve this?

@iFgR Nope, not solved by this. The linked PR just solves the issue that in IE11 the Event object can not be used as a constructor. A possible fix would be to go with keycodes as they're consistent through all browsers. Just let me know if you're short on time, I'd invest some time in the implementation.

@mdix I'd appreciate so much if you could help me!
I'm changing the city and it's giving me so much time.


Connect-SPOService : Could not Connect to Sharepoint Online

Category

Connect-SPOService : Could not connect to Sharepoint online

Describe the bug
I am following the tutorial to Deploy the WebPart in Office 365 CDN (Host your client-side web part from Office 365 CDN (Hello World part 4)), As per Point 2, when i try to Run the Command, Connect-SPOService -Url https://contoso-admin.sharepoint.com, in the PowerShell
Steps to reproduce

Open up the PowerShell
Install the Module using command - Install-Module -Name Microsoft.Online.SharePoint.PowerShell
Run the Command - Connect-SPOService -Url https://contoso-admin.sharepoint.com, got the below error.
See error:

Connect-SPOService : Could not connect to SharePoint Online.

Expected behavior
It should Connect so that, we can run the next steps to Host the webpart.
Environment details (development & target environment)
Development Environment

OS : Windows 10
Target Enviroment : SharePoint Online
Framework : Node.js v10
Browser : Chrome v81
Tooling : VS Code

Additional context
Thanks for your contribution! Sharing is caring.

Just for clarification, are you replacing the https://contoso-admin.sharepoint.com with your tenant URL? Contoso-admin is just for the sample. You will want to use the URL of your SharePoint Admin Center.

Okay, I suspected it, but the instructions given in that page, never had
this info, so I was bit confused.

Thanks for the prompt response...
On Thu, Apr 30, 2020, 10:39 PM Beau Cameron<EMAIL_ADDRESS>wrote:

Just for clarification, are you replacing the https://contoso-admin.sharepoint.com
https://contoso-admin.sharepoint.com with your tenant URL?
Contoso-admin is just for the sample. You will want to use the URL of your
SharePoint Admin Center.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/SharePoint/sp-dev-docs/issues/5645#issuecomment-621984351,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABR3AKBDH3M6U7UTRALSBK3RPGWDNANCNFSM4MVXWLEQ
.

Hi @kboovaragan this repo is for developer-specific questions... this should be posted to TechCommunity...

Thanks Andrew, for the update.
Can you let me know the correct forum with URL, where i can get help for
the issues that i get when following the MS tutorial to setup Dev
environment? and create sharepoint webparts, i have few clarifications ,
issues, that i might need some support/help, to move forward in my learning.
Warm Regards,
Krishnasamy.
On Fri, May 1, 2020 at 2:05 AM Andrew Connell<EMAIL_ADDRESS>wrote:

Hi @kboovaragan https://github.com/kboovaragan this repo is for
developer-specific questions... this should be posted to TechCommunity...
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/SharePoint/sp-dev-docs/issues/5645#issuecomment-622095686,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABR3AKBFP2GOBTRFTXAUG2DRPHOIXANCNFSM4MVXWLEQ
.

@kboovaragan I removed my comment because I realized you were asking about the steps for a specific article in the docs... its fine here.
When you create a new issue, there's a link that points to the SharePoint TechCommunity.

Contoso is a demo domain name, need to replace with yours.
The URL format will be like this:
https://TenantName-admin.sharepoint.com

Thanks for your response, I had progressed further giving my url...
Still, in the last part, where we host in CDN, it failed... Not able to
make what was the issue.
I followed the steps as given in ms site...
After packaging my solution, when I drag and drop the package into my team
site content, it was not getting copied...rather it is getting downloaded
to my download folder...
Kindly help....
On Mon, May 4, 2020, 2:03 PM Jerry_zy _MSFT<EMAIL_ADDRESS>wrote:

Contoso is a demo domain name, need to replace with yours.
The URL format will be like this:
https://TenantName-admin.sharepoint.com
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/SharePoint/sp-dev-docs/issues/5645#issuecomment-623331442,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABR3AKAJDHPR4NULFLKUMY3RPZ4VDANCNFSM4MVXWLEQ
.

@kboovaragan, you are uploading to the wrong place, should upload into SharePoint Online Admin Center App Catalog instead of Team Site Contents.

Thanks for prompt response...
Will check accordingly
On Mon, May 4, 2020, 2:43 PM Jerry_zy _MSFT<EMAIL_ADDRESS>wrote:

@kboovaragan https://github.com/kboovaragan, you are uploading to the
wrong place, should upload into SharePoint Online Admin Center App Catalog
instead of Team Site Contents.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/SharePoint/sp-dev-docs/issues/5645#issuecomment-623350575,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABR3AKAI4GLSMDEPWSN43BLRP2BMVANCNFSM4MVXWLEQ
.

Hello,
Good day to you.
In continuation to my learning, i am trying the tutorial, as given in MS
site, when i tried to implement the DropDown List feature, i am getting
this error... I followed all the steps as given in the MS site... Kindly
help to overcome this issue.
[image: image.png]
Warm Regards,
Krishnasamy.
On Mon, May 4, 2020 at 2:48 PM Kicha<EMAIL_ADDRESS>wrote:

Thanks for prompt response...
Will check accordingly
On Mon, May 4, 2020, 2:43 PM Jerry_zy _MSFT<EMAIL_ADDRESS>wrote:

@kboovaragan https://github.com/kboovaragan, you are uploading to the
wrong place, should upload into SharePoint Online Admin Center App Catalog
instead of Team Site Contents.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/SharePoint/sp-dev-docs/issues/5645#issuecomment-623350575,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABR3AKAI4GLSMDEPWSN43BLRP2BMVANCNFSM4MVXWLEQ
.

Seems you are meeting the new issue ? Can't see the image.
You can create a new issue if you have the new problem.
For the question in this issue
"Connect-SPOService : Could not Connect to Sharepoint Online"
Have you resolved yet ?

Okay thanks, will check again and if I have issues, will create new issue.
Thanks for prompt response.
On Wed, May 6, 2020, 3:01 PM Jerry_zy _MSFT<EMAIL_ADDRESS>wrote:

Seems you are meeting the new issue ? Can't see the image.
You can create a new issue if you have the new problem.
For the question in this issue
"Connect-SPOService : Could not Connect to Sharepoint Online"
Have you resolved yet ?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/SharePoint/sp-dev-docs/issues/5645#issuecomment-624541397,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABR3AKGDZE37XZGLL46NLQLRQEU7XANCNFSM4MVXWLEQ
.

You can close this issue, if the error has been resolved in your side.
Thanks

Okay, this issue can be closed....
On Wed, May 6, 2020, 3:05 PM Jerry_zy _MSFT<EMAIL_ADDRESS>wrote:

You can close this issue, if the error has been resolved in your side.
Thanks
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/SharePoint/sp-dev-docs/issues/5645#issuecomment-624543016,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABR3AKFBE3TQEJDOIU6UYPDRQEVNXANCNFSM4MVXWLEQ
.


Choropleth map behavior

Hi, I was looking at the choropleth map function of this module, but the input argument seems a little bit confusing:

The first input argument, df, is the "data being plotted". From your example, I deduced that df should be the information obtained from some shapefiles. If this is true, could you update the documentation and variable name, so that it is less confusing?

From the documentation (as well as the examples), I cannot figure out how to plot continuously-valued data (for example, population density per state). The more intuitive input structure, in my opinion, is using a Python dictionary, with keys being names of polygons (corresponding to the polygons in the shapefiles), and values being the values to be mapped into colors (which can either be categorical or continuous). In this way, potential users who have their own shapefiles and the corresponding data (stored as a Python dict) can easily plot a choropleth map.

The USA map lacks Alaska and Hawaii.

Incidentally, I was working on a similar choropleth map plotting problem, for which I submitted a pull request to matplotlib: https://github.com/matplotlib/basemap/pull/366.  I added Alaska and Hawaii elegantly into the corner of the USA map, and I also used Python dictionary as my input data structure.
Just offering my two cents.

I'm revising the documentation right now, so I'll keep (1) in mind.
To plot continuously valued data, you need to specify k=None, which will turn off the categorical binning. So for example, from the documentation:
gplt.choropleth(census_tracts, hue=percent_white, projection=gcrs.AlbersEqualArea(),
                cmap='Purples', linewidth=0.5, k=None, legend=True)

I get that this might be confusing, so again I'll keep (2) in mind.
With (3), the USA map lacks Alaska and Hawaii on purpose. Insetting is an interesting idea, but outside of the scope of this module for now, there are many other things that need to be worked on before that.

I've significantly revised the documentation again. I doubt the documentation and the API surface totally satisfies all readers, but I think it's good enough, a strikes the right balance between novel and familiar (a lot of this was grafted from the way seaborn organizes its API). Closing this out for now. More API feedback is always welcome, though.

Hey, I would like to label field on map through geoplot.choropleth function. Please update.


CAAT Requires ACA Work Schedules

[ ] Khun Noi has told CAAT requires us to submit the AOC-R proceeding work schedules.
[ ] Please Khun Noi specify the submission dateline.

HS-PEK Aircraft Lease Agreement preparation completed.

201611090942.pdf

PEK_Lease_Agreement.pdf
HS-PEK Aircraft Lease Agreement has been added.

All documents have been arranged and signed by me, and Khun Noi will submit to CAAT. This issue is closed.


keyword file has incorrect format or belongs to a different platform ( we are using latest code and trying to run sample app )

ai.picovoice.porcupine.demo I/PICOVOICE:  [INFO] model file path: ai.picovoice.porcupine.demo/files/params.pv
ai.picovoice.porcupine.demo I/PICOVOICE:  [INFO] number of keywords: 1
ai.picovoice.porcupine.demo I/PICOVOICE:  [INFO] keyword file path [0]: ai.picovoice.porcupine.demo/files/hey_pico.ppn
ai.picovoice.porcupine.demo I/PICOVOICE:  [INFO] sensitivity [0]: 0.500000
ai.picovoice.porcupine.demo I/PICOVOICE: [ERROR] keyword file has incorrect format or belongs to a different platform
ai.picovoice.porcupine.demo I/PICOVOICE: [ERROR] loading keyword file #0 failed with 'INVALID_ARGUMENT'

for me,I'm breaking my head over a Win 10 OS ... does it work  on Win 10

How do I integrate porcupine into my project on a Windows env using python as a language

the path structure is a Linux type OS.will changing '/ ' to ' \ ' work?

so finally after banging my head for several hours..I now got it. The whole time I was calling demo app from C:/ while I had 'junctioned' my python installation at D:/ . Hence no file found errors/IOerrors/OSerrors and whatnot.such a trivial thing!!!!!!!!! I can successfully detect my wake word now..Thank you Ali!!

[ERROR] license file has incorrect format or belongs to a different platform
Hello ,
I have the same error , how can i fix it please

This is not the same as the original issue posted above as it's a totally different product.
To run Leopard, you need to acquire a Leopard license file from Picovoice Console (https://console.picovoice.ai) and provide it as a command-line argument to Leopard. If there are problems with this, open a new issue under the appropriate repo: https://github.com/Picovoice/leopard


Statusline is broken on latest neovim

environment

vim: nvim 0.11-dev
vim-airline: 0.11
OS: Ubuntu
Have you reproduced with a minimal vimrc: yes
What is your airline configuration:

let g:airline_theme = 'powerlineish'
let g:airline#extensions#branch#enabled = 1
let g:airline#extensions#ale#enabled = 1
let g:airline#extensions#tabline#enabled = 1
let g:airline#extensions#tagbar#enabled = 1
let g:airline_skip_empty_sections = 1

if you are using terminal:

terminal: yes
$TERM variable: screen-256color
terminal columns size: ??
terminal line size: ??
color configuration (:set t_Co?):

if you are using Neovim:

does it happen in Vim: I dont know

actual behavior
bar is always white no matter the vim-airline-theme I used.
expected behavior
color changes based on themes.
screen shot (if possible)
Good:

Bad:

this is the commit that causes the behavior: https://github.com/neovim/neovim/commit/e049c6e4c08a141c94218672e770f86f91c27a11

Well, then please complain over there.

Well, then please complain over there.

Humm.. I'm not sure if it's a bug introduced  or just another way that vim-airline should work.

Vim-airline is basically in stable mode now and no more big development
is happening. It's been working fine for several years now. I don't see,
why vim-airline should work around a regression introduced by neovim.

@camponez, this seems because active color scheme has reverse attribute in StatusLine (either as gui or cterm, depends on 'termguicolors'). Either add :hi StatusLine gui=NONE command to patch it or redefine the whole StatusLine.

@camponez, this seems because active color scheme has reverse attribute in StatusLine (either as gui or cterm, depends on 'termguicolors'). Either add :hi StatusLine gui=NONE command to patch it or redefine the whole StatusLine.

Thank you!


python extension failed to activate on Fedora 27 and code 1.18.1

VSCode Version: Code 1.18.1 (929bacba01ef658b873545e26034d1a8067445e9, 2017-11-16T18:34:22.110Z)
OS Version: Linux x64 4.13.16-300.fc27.x86_64
Extensions:

Extension
Author (truncated)
Version

vscode-markdownlint
Dav
0.12.0

rpm-spec
Lau
0.2.1

code-gnu-global
aus
0.2.2

githistory
don
0.2.3

reasonml
fre
1.0.15

vscode-emacs-friendly
lfs
0.8.2

Go
luk
0.6.69

cmake-tools-helper
mad
0.1.1

python
ms-
0.8.0

cpptools
ms-
0.14.3

syncing
non
1.4.9

vscode-code-outline
pat
0.0.12

cmake
twx
0.0.17

cmake-tools
vec
0.10.3

vscode-todo-highlight
way
0.5.11

Environment data
VS Code version:  1.18.1
Python Extension version: 0.8.0
Python Version:   2.7.14
OS and version:    Fedora 27 x86_64
Actual behavior
Python extension failed to activate.
Expected  behavior
Python extension succeeded to activate.
Steps to reproduce:

Start code with my current extensions.

Logs
Output from Python output panel

Output from Console window (Help->Developer Tools menu)
/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:9 [/home/cheese/.vscode/extensions/ms-vscode.cpptools-0.14.3]: Command `workbench.action.gotoSymbol` appears multiple times in the `commands` section.
/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:9 [/home/cheese/.vscode/extensions/ms-vscode.cpptools-0.14.3]: Command `workbench.action.showAllSymbols` appears multiple times in the `commands` section.
/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:9 [Extension Host] Activating extension `ms-python.python` failed: Cannot find module '../telemetry/index'.
t.log @ /usr/share/code/resources/app/out/vs/workbench/workbench.main.js:9
/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:9 [Extension Host] Activating extension `ms-python.python` failed:  Cannot find module '../telemetry/index'
t.log @ /usr/share/code/resources/app/out/vs/workbench/workbench.main.js:9
/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:9 [Extension Host] Here is the error stack:  Error: Cannot find module '../telemetry/index'
        at Function.Module._resolveFilename (module.js:470:15)
        at Function.Module._load (module.js:418:25)
        at Function.o._load (/usr/share/code/resources/app/out/vs/workbench/node/extensionHostProcess.js:4:484450)
        at Module.require (module.js:498:17)
        at require (internal/module.js:20:19)
        at Object.<anonymous> (/home/cheese/.vscode/extensions/ms-python.python-0.8.0/out/client/feedback/feedbackService.js:17:17)
        at Object.<anonymous> (/home/cheese/.vscode/extensions/ms-python.python-0.8.0/out/client/feedback/feedbackService.js:132:3)
        at Module._compile (module.js:571:32)
        at Object.Module._extensions..js (module.js:580:10)
        at Module.load (module.js:488:32)
/usr/share/code/resources/app/out/vs/workbench/workbench.main.js:9 Activating extension `ms-python.python` failed: Cannot find module '../telemetry/index'.
e._logMessageInConsole @ /usr/share/code/resources/app/out/vs/workbench/workbench.main.js:9

Could you try uninstalling and then re-installing the extension?

Oh! It just works after re-installing.


Where should the files be stored

I'm starting out using this package, so this is quite confusing to me. When configuring config.push.json...

Where do you place the apn key and cert .pem files? I'm assuming some places are not suitable as the key must be in a secure location.

Where do we place the file config.push.json, since it contains the apn passphrase

in myApp/private
config.push.json in app root myApp

Closing this as documentation improvements are tracked in a special issue, thanks


xdebug + phpunit + phpstorm support

When trying to debug phpunit tests in phpstorm with xdebug i got errors because file paths are different from the project files

Remote file path '/local/tmp/mocks/7.1.5-dev3.0.6ae862a422518d784a95d38efc7abb0bb/UTests/_packages/Messenger/Feature/PaidMessagesTest.php_c2abd8d2a8d2a1b461cc5b18f04b4974.php' is not mapped to any file path in project.

@altexdim, would you like to volunteer for this?

You can see pull request https://github.com/badoo/soft-mocks/pull/35 for experimental support for xdebug and other

@altexdim, @YuriyNasretdinov
Commit in v2 branch also has support xdebug 444ee93e068cd37271080a27877ee7028897319a.
It works with https://github.com/mougrim/php-xdebug-proxy/tree/soft-mocks.
Php-xdebug-proxy release will be later.

@mougrim It turns out that xdebug can be supported without any proxies and changes in my pull request allow to do so :).

@YuriyNasretdinov What do you mean "without any proxies"? I didn't see your PR, can you please explain  the main idea in more detail?

The main idea is to define a custom wrapper for "file://" stream and basically after this backtraces start to look normal and xdebug starts to work out of the box as if no file rewriting was happening behind the scenes.

Great finding! Thanks, Yuriy! Sounds very promissing.

Should work with 2.0.0 version.


Implement read and write json for books

Hi partners! In this branch, I created the feature to store Books data into JSON files and added options to add book on console.

Hi @Mar12358, thanks for your review. I already implement the required change and is working as expected.


Enable debug messgaes via klog

Description of the change:
At present any libraries using klog do not log debug messages when
the --debug flag is set. This change chains klog to --debug flag
and enables debugging of all dependencies that use klog, e.g. various
packages under pkg/lib/operatorclient and pkg/lib/kubernetes.
Motivation for the change:
I was faced with a challenge while trying to undetstand what is wrong
with CSV object  that I have setup and I kept getting unsatisfied RBAC
dependencies. I have looked at the code and found the following log
message:
https://github.com/operator-framework/operator-lifecycle-manager/blob/0e65642458a1e44e77bd5509dceee3a41da35b76/pkg/lib/kubernetes/plugin/pkg/auth/authorizer/rbac/rbac.go#L118
However, having looked at how klog is initialised, I learnt that the
log level cannot be controlled in any way, so I had to make this
change and I hope it will be useful to others.
Reviewer Checklist

[ ] Implementation matches the proposed design, or proposal is updated to match implementation
[ ] Sufficient unit test coverage
[ ] Sufficient end-to-end test coverage
[ ] Docs updated or added to /docs
[ ] Commit messages sensible and descriptive

/ok-to-test
/lgtm

Ping!
On Fri, 25 Dec 2020, 10:19 pm stale[bot]<EMAIL_ADDRESS>wrote:

This issue has been automatically marked as stale because it has not had
recent activity. It will be closed if no further activity occurs. Thank you
for your contributions.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/operator-framework/operator-lifecycle-manager/pull/1834#issuecomment-751295560,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAB5MS2D5MX3HX7Z3JH5YGTSWUFW3ANCNFSM4S7FO4VQ
.

/approve

@ecordell thank for the approval, looks like test failures are unrelated - wdyt?

/retest


#2584 Selection tool: add flip and delete buttons

Closes #2584

Refactor: add type declarations to external module 'subscription'
Feature: add floating buttons for flipping and deleting structures

remove rotate tool, horizontal flip tool and vertical flip tool from the left toolbar
remove rotation's shortcut alt+r
delete rotation icon from codebase
[existing behavior] disable flip buttons while selected structure is connecting to other non-selected atoms

After merging #2680 into this branch, another issue occurs:
At this moment, arrows are not allowed to flip
![rotate-arrow-floating](https://github.com/epam/ketcher/assets/27288153/849c0353-c126-4fc0-92b1-057dac84afea)

I propose to:
support flipping arrows in the scope of this pull request
           OR
disable flipping buttons for arrows (and maybe create a new issue to support flipping)

@KonstantinEpam23 @Nitvex What do you think? 💭

After merging #2680 into this branch, another issue occurs:
At this moment, arrows are not allowed to flip
I propose to: support flipping arrows in the scope of this pull request OR disable flipping buttons for arrows (and maybe create a new issue to support flipping)

Hi @yuleicul! I believe we do need to support flipping arrows for reactions (especially since we already support rotating them)
Flipping arrow by itself is probably a rare usecase, but if there are other structures in the selection - we cant disable the flip buttons and it might be confusing for the user if the arrows dont flip.
I would propose to support flipping arrows in the scope of this pull request, unless it is hard to implement.

@yuleicul thanks for your work, it is a good solution.
I saw you've started working on additional functionality for choosing the rotation center....
Could we please do it in a separate PR?
It is not a good practice to have long-live PRs and also it is not a good practice to have PR with various changes.
Why? Using small pull requests can lead to more efficient code reviews, faster feedback, fewer merge conflicts, and a more stable and maintainable codebase.

@kaluginserg Thanks for your review! Actually, the reason why I close two issues in this PR is because the two issues have overlapped code, if I open separate PRs, it may be hard to resolve conflicts.
But anyway, thanks for your kind reminder, I'll pay more attention next time.


Copy any attachment using hotkeys

Hi there,
It would be cool to be able to copy any attachment from a chat using the CTRL+C key combination. Could you add it, please?
Best Regards

Can I ask how you want this to work? By attachment do you mean files other than images? You want to copy other things into your clipboard like gifs or txt.files without downloading them. Correct me if I am wrong.

I mean If I click on any image preview, then the full-size image is open which I cannot to copy with hotkeys. They don't work there (Windows client, version 2.17.9). I save an attachment locally (right click -> Save image as...) before paste it to another app.


[AIRFLOW-1660] Change webpage width to full-width

Dear Airflow maintainers,
Please accept this PR. I understand that it will not be reviewed until I have checked off all the steps below!
JIRA

[ ] My PR addresses the following Airflow JIRA issues and references them in the PR title. For example, "[AIRFLOW-XXX] My Airflow PR"

https://issues.apache.org/jira/browse/AIRFLOW-1660

Description

[ ] Here are some details about my PR, including screenshots of any UI changes:
modify css, Change webpage width to full-width.

Tests

[ ] My PR adds the following unit tests OR does not need testing for this extremely good reason:

Commits

[ ] My commits all reference JIRA issues in their subject lines, and I have squashed multiple commits if they address the same issue. In addition, my commits follow the guidelines from "How to write a good git commit message":

Subject is separated from body by a blank line
Subject is limited to 50 characters
Subject does not end with a period
Subject uses the imperative mood ("add", not "adding")
Body wraps at 72 characters
Body explains "what" and "why", not "how"

Codecov Report

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

@@           Coverage Diff           @@
##           master    #2646   +/-   ##
=======================================
  Coverage   71.75%   71.75%
=======================================
  Files         152      152
  Lines       11749    11749
=======================================
  Hits         8431     8431
  Misses       3318     3318

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 a1b2c0f...9da8bed. Read the comment docs.

It would be nice if you could add a screenshot of how this change affects the layout.

@edgarRd yes, screenshot has been updated in issue description.


Traceback (most recent call last):   File "train.py", line 648, in      global_step=results['step']) NameError: name 'results' is not defined

When I set the NUM_GPU=4 and batch_size=8 of train config files，why the following problems will occur？
Traceback (most recent call last):   File "train.py", line 648, in <module>     global_step=results['step']) NameError: name 'results' is not defined
The complete output is as follows：

python3 train.py configs/car_auto_T3_train_train_config configs/car_auto_T3_train_config
WARNING:tensorflow:
The TensorFlow contrib module will not be included in TensorFlow 2.0.
For more information, please see:

https://github.com/tensorflow/community/blob/master/rfcs/20180907-contrib-sunset.md
https://github.com/tensorflow/addons
https://github.com/tensorflow/io (for I/O related ops)
If you depend on functionality not listed there, please file an issue.

WARNING:tensorflow:From train.py:196: The name tf.placeholder is deprecated. Please use tf.compat.v1.placeholder instead.
WARNING:tensorflow:From /home/wrjs/pc/science/Point-GNN/models/models.py:128: The name tf.variable_scope is deprecated. Please use tf.compat.v1.variable_scope instead.
WARNING:tensorflow:From /home/wrjs/pc/science/Point-GNN/models/models.py:128: The name tf.AUTO_REUSE is deprecated. Please use tf.compat.v1.AUTO_REUSE instead.
@ level 0 Graph, Add layer: layer1, type: scatter_max_point_set_pooling
WARNING:tensorflow:From /home/wrjs/.local/lib/python3.6/site-packages/tensorflow_core/contrib/layers/python/layers/layers.py:1866: Layer.apply (from tensorflow.python.keras.engine.base_layer) is deprecated and will be removed in a future version.
Instructions for updating:
Please use layer.__call__ method instead.
Feature Dim:300
@ level 1 Graph, Add layer: layer2, type: scatter_max_graph_auto_center_net
Feature Dim:300
@ level 1 Graph, Add layer: layer3, type: scatter_max_graph_auto_center_net
Feature Dim:300
@ level 1 Graph, Add layer: layer4, type: scatter_max_graph_auto_center_net
Feature Dim:300
Final Feature Dim:300
Prediction 4 classes
WARNING:tensorflow:From /home/wrjs/pc/science/Point-GNN/models/models.py:241: The name tf.losses.huber_loss is deprecated. Please use tf.compat.v1.losses.huber_loss instead.
WARNING:tensorflow:From /home/wrjs/pc/science/Point-GNN/models/models.py:246: The name tf.losses.Reduction is deprecated. Please use tf.compat.v1.losses.Reduction instead.
(?, 1, 7)
WARNING:tensorflow:From /home/wrjs/pc/science/Point-GNN/models/models.py:258: The name tf.div_no_nan is deprecated. Please use tf.math.divide_no_nan instead.
WARNING:tensorflow:From /home/wrjs/pc/science/Point-GNN/models/models.py:263: where (from tensorflow.python.ops.array_ops) is deprecated and will be removed in a future version.
Instructions for updating:
Use tf.where in 2.0, which has the same broadcast rule as np.where
WARNING:tensorflow:From /home/wrjs/pc/science/Point-GNN/models/models.py:266: The name tf.is_nan is deprecated. Please use tf.math.is_nan instead.
WARNING:tensorflow:From /home/wrjs/pc/science/Point-GNN/models/models.py:309: The name tf.assert_equal is deprecated. Please use tf.compat.v1.assert_equal instead.
WARNING:tensorflow:From /home/wrjs/pc/science/Point-GNN/models/models.py:311: The name tf.losses.get_regularization_losses is deprecated. Please use tf.compat.v1.losses.get_regularization_losses instead.
@ level 0 Graph, Add layer: layer1, type: scatter_max_point_set_pooling
Feature Dim:300
@ level 1 Graph, Add layer: layer2, type: scatter_max_graph_auto_center_net
Feature Dim:300
@ level 1 Graph, Add layer: layer3, type: scatter_max_graph_auto_center_net
Feature Dim:300
@ level 1 Graph, Add layer: layer4, type: scatter_max_graph_auto_center_net
Feature Dim:300
Final Feature Dim:300
Prediction 4 classes
(?, 1, 7)
@ level 0 Graph, Add layer: layer1, type: scatter_max_point_set_pooling
Feature Dim:300
@ level 1 Graph, Add layer: layer2, type: scatter_max_graph_auto_center_net
Feature Dim:300
@ level 1 Graph, Add layer: layer3, type: scatter_max_graph_auto_center_net
Feature Dim:300
@ level 1 Graph, Add layer: layer4, type: scatter_max_graph_auto_center_net
Feature Dim:300
Final Feature Dim:300
Prediction 4 classes
(?, 1, 7)
@ level 0 Graph, Add layer: layer1, type: scatter_max_point_set_pooling
Feature Dim:300
@ level 1 Graph, Add layer: layer2, type: scatter_max_graph_auto_center_net
Feature Dim:300
@ level 1 Graph, Add layer: layer3, type: scatter_max_graph_auto_center_net
Feature Dim:300
@ level 1 Graph, Add layer: layer4, type: scatter_max_graph_auto_center_net
Feature Dim:300
Final Feature Dim:300
Prediction 4 classes
(?, 1, 7)
Set to unify copies in different GPU as if its a single copy
WARNING:tensorflow:From train.py:309: The name tf.metrics.mean is deprecated. Please use tf.compat.v1.metrics.mean instead.
WARNING:tensorflow:From train.py:326: The name tf.metrics.recall is deprecated. Please use tf.compat.v1.metrics.recall instead.
WARNING:tensorflow:From /home/wrjs/.local/lib/python3.6/site-packages/tensorflow_core/python/ops/metrics_impl.py:2200: div (from tensorflow.python.ops.math_ops) is deprecated and will be removed in a future version.
Instructions for updating:
Deprecated in favor of operator or tf.math.divide.
WARNING:tensorflow:From train.py:334: The name tf.metrics.precision is deprecated. Please use tf.compat.v1.metrics.precision instead.
WARNING:tensorflow:From train.py:342: The name tf.metrics.auc is deprecated. Please use tf.compat.v1.metrics.auc instead.
WARNING:tensorflow:From train.py:377: The name tf.train.exponential_decay is deprecated. Please use tf.compat.v1.train.exponential_decay instead.
WARNING:tensorflow:From train.py:381: The name tf.get_collection is deprecated. Please use tf.compat.v1.get_collection instead.
WARNING:tensorflow:From train.py:381: The name tf.GraphKeys is deprecated. Please use tf.compat.v1.GraphKeys instead.
WARNING:tensorflow:From train.py:383: The name tf.train.GradientDescentOptimizer is deprecated. Please use tf.compat.v1.train.GradientDescentOptimizer instead.
WARNING:tensorflow:From train.py:384: The name tf.train.MomentumOptimizer is deprecated. Please use tf.compat.v1.train.MomentumOptimizer instead.
WARNING:tensorflow:From train.py:385: The name tf.train.RMSPropOptimizer is deprecated. Please use tf.compat.v1.train.RMSPropOptimizer instead.
WARNING:tensorflow:From train.py:386: The name tf.train.AdamOptimizer is deprecated. Please use tf.compat.v1.train.AdamOptimizer instead.
/home/wrjs/.local/lib/python3.6/site-packages/tensorflow_core/python/framework/indexed_slices.py:424: UserWarning: Converting sparse IndexedSlices to a dense Tensor of unknown shape. This may consume a large amount of memory.
"Converting sparse IndexedSlices to a dense Tensor of unknown shape. "
/home/wrjs/.local/lib/python3.6/site-packages/tensorflow_core/python/framework/indexed_slices.py:424: UserWarning: Converting sparse IndexedSlices to a dense Tensor of unknown shape. This may consume a large amount of memory.
"Converting sparse IndexedSlices to a dense Tensor of unknown shape. "
/home/wrjs/.local/lib/python3.6/site-packages/tensorflow_core/python/framework/indexed_slices.py:424: UserWarning: Converting sparse IndexedSlices to a dense Tensor of unknown shape. This may consume a large amount of memory.
"Converting sparse IndexedSlices to a dense Tensor of unknown shape. "
/home/wrjs/.local/lib/python3.6/site-packages/tensorflow_core/python/framework/indexed_slices.py:424: UserWarning: Converting sparse IndexedSlices to a dense Tensor of unknown shape. This may consume a large amount of memory.
"Converting sparse IndexedSlices to a dense Tensor of unknown shape. "
/home/wrjs/.local/lib/python3.6/site-packages/tensorflow_core/python/framework/indexed_slices.py:424: UserWarning: Converting sparse IndexedSlices to a dense Tensor of unknown shape. This may consume a large amount of memory.
"Converting sparse IndexedSlices to a dense Tensor of unknown shape. "
/home/wrjs/.local/lib/python3.6/site-packages/tensorflow_core/python/framework/indexed_slices.py:424: UserWarning: Converting sparse IndexedSlices to a dense Tensor of unknown shape. This may consume a large amount of memory.
"Converting sparse IndexedSlices to a dense Tensor of unknown shape. "
/home/wrjs/.local/lib/python3.6/site-packages/tensorflow_core/python/framework/indexed_slices.py:424: UserWarning: Converting sparse IndexedSlices to a dense Tensor of unknown shape. This may consume a large amount of memory.
"Converting sparse IndexedSlices to a dense Tensor of unknown shape. "
/home/wrjs/.local/lib/python3.6/site-packages/tensorflow_core/python/framework/indexed_slices.py:424: UserWarning: Converting sparse IndexedSlices to a dense Tensor of unknown shape. This may consume a large amount of memory.
"Converting sparse IndexedSlices to a dense Tensor of unknown shape. "
/home/wrjs/.local/lib/python3.6/site-packages/tensorflow_core/python/framework/indexed_slices.py:424: UserWarning: Converting sparse IndexedSlices to a dense Tensor of unknown shape. This may consume a large amount of memory.
"Converting sparse IndexedSlices to a dense Tensor of unknown shape. "
/home/wrjs/.local/lib/python3.6/site-packages/tensorflow_core/python/framework/indexed_slices.py:424: UserWarning: Converting sparse IndexedSlices to a dense Tensor of unknown shape. This may consume a large amount of memory.
"Converting sparse IndexedSlices to a dense Tensor of unknown shape. "
/home/wrjs/.local/lib/python3.6/site-packages/tensorflow_core/python/framework/indexed_slices.py:424: UserWarning: Converting sparse IndexedSlices to a dense Tensor of unknown shape. This may consume a large amount of memory.
"Converting sparse IndexedSlices to a dense Tensor of unknown shape. "
/home/wrjs/.local/lib/python3.6/site-packages/tensorflow_core/python/framework/indexed_slices.py:424: UserWarning: Converting sparse IndexedSlices to a dense Tensor of unknown shape. This may consume a large amount of memory.
"Converting sparse IndexedSlices to a dense Tensor of unknown shape. "
batch size=8
WARNING:tensorflow:From train.py:503: The name tf.train.Saver is deprecated. Please use tf.compat.v1.train.Saver instead.
WARNING:tensorflow:From train.py:505: The name tf.get_default_graph is deprecated. Please use tf.compat.v1.get_default_graph instead.
WARNING:tensorflow:From train.py:508: The name tf.GPUOptions is deprecated. Please use tf.compat.v1.GPUOptions instead.
WARNING:tensorflow:From train.py:521: The name tf.Session is deprecated. Please use tf.compat.v1.Session instead.
WARNING:tensorflow:From train.py:522: The name tf.ConfigProto is deprecated. Please use tf.compat.v1.ConfigProto instead.
2020-12-19 12:36:06.886850: I tensorflow/core/platform/cpu_feature_guard.cc:142] Your CPU supports instructions that this TensorFlow binary was not compiled to use: AVX2 AVX512F FMA
2020-12-19 12:36:06.922455: I tensorflow/core/platform/profile_utils/cpu_utils.cc:94] CPU Frequency:<PHONE_NUMBER> Hz
2020-12-19 12:36:06.926453: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x5c9df00 initialized for platform Host (this does not guarantee that XLA will be used). Devices:
2020-12-19 12:36:06.926512: I tensorflow/compiler/xla/service/service.cc:176]   StreamExecutor device (0): Host, Default Version
2020-12-19 12:36:06.931199: I tensorflow/stream_executor/platform/default/dso_loader.cc:44] Successfully opened dynamic library libcuda.so.1
2020-12-19 12:36:08.595825: I tensorflow/compiler/xla/service/service.cc:168] XLA service 0x5c3c040 initialized for platform CUDA (this does not guarantee that XLA will be used).  Please use tf.compat.v1.variables_initializer instead.
WARNING:tensorflow:From train.py:524: The name tf.global_variables is deprecated. Please use tf.compat.v1.global_variables instead.
Restore from checkpoint ./checkpoints/car_auto_T3_train/model-1400004
WARNING:tensorflow:From /home/wrjs/.local/lib/python3.6/site-packages/tensorflow_core/python/training/saver.py:1069: get_checkpoint_mtimes (from tensorflow.python.training.checkpoint_management) is deprecated and will be removed in a future version.
Instructions for updating:
Use standard file utilities to get mtimes.
WARNING:tensorflow:From train.py:532: The name tf.local_variables is deprecated. Please use tf.compat.v1.local_variables instead.
Traceback (most recent call last):
File "train.py", line 662, in
global_step=results['step'])
NameError: name 'results' is not defined
How can I increase the batch size and utilize more GPUs? Thank you！

Hi @r-sy, the step in the checkpoint has already reached max_step in the train_config, the train loop is skipped (no results variable) and thus gives this error. You can just increase the max_step and max_epoch in the train_config if you want to fine-tune the checkpoint or you can training from the beginning. Note the training would end what either the max_step or the max_epoch is hit, and step*batch_size=num_sample. Hope it helps.

Thank you for your guidance, which, like my understanding, was very helpful! Thank you for your excellent work!


PT-1334 | Add notice about new service to 404 page

Description :sparkles:
Adds a dedicated 404 page. Currently the generic error page and 404 page are identical in content.
Changes copy within the not found page to hint of the release of the new kultus, as described in the ticket.
Updates _error.tsx to use static generation.
Issues :bug:
Closes :no_good_woman:
PT-1334:
Screenshots :camera_flash:

Rebased to resolve issue with tests.

Codecov Report

Merging #190 (b2e8a87) into master (c209942) will decrease coverage by 0.00%.
The diff coverage is 91.66%.

@@            Coverage Diff             @@
##           master     #190      +/-   ##
==========================================
- Coverage   83.76%   83.76%   -0.01%
==========================================
  Files         113      113
  Lines        3388     3387       -1
  Branches      772      732      -40
==========================================
- Hits         2838     2837       -1
  Misses        542      542
  Partials        8        8

Impacted Files
Coverage Δ

src/domain/errorPage/ErrorPage.tsx
93.33% <87.50%> (-1.12%)
:arrow_down:

src/domain/notFoundPage/NotFoundPage.tsx
100.00% <100.00%> (ø)

src/domain/event/eventCard/EventCard.tsx
98.57% <0.00%> (ø)

Continue to review full report at Codecov.

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


threads callable does not work

Snakemake version
5.10.0
Describe the bug
on the docs it says I can use a callable on threads:, however it doesnt seems to work.
Logs
TypeError in line 20 of Snakefile:
int() argument must be a string, a bytes-like object or a number, not 'function'
  File "Snakefile", line 20, in <module>

Minimal example
rule a:
  threads: lambda wildcards: 1
  output: touch('a')

Additional context
the docs says:
Starting from version 3.7, threads can also be a callable that returns an int value.
The signature of the callable should be callable(wildcards[, input]).

I can confirm this. Upgraded from 5.6 to 5.10 and threads: callable gives me the described error.

Doesn't work in v5.9.1 either :(

TL;DR: broken in v5.9.0, fixed in v5.12.0
Long Explanation: In v5.9.1 the issue is stemming from workflow.py. There is a check indicating that a callable is an acceptable value however immediately following that there is a cast to an int causing the issue.
if ruleinfo.threads:
    if (
        not isinstance(ruleinfo.threads, int)
        and not isinstance(ruleinfo.threads, float)
        and not callable(ruleinfo.threads)
    ):
        raise RuleException(
            "Threads value has to be an integer, float, or a callable.",
            rule=rule,
        )
    rule.resources["_cores"] = int(ruleinfo.threads)

Closer inspection shows that this was introduced by the merging of this PR between the release of v5.8.2 and v5.9.0 .
Then it appears to have been resolved in the commit 9f2b27cd Fix thread functions right before the release of v5.12.0 .

@johanneskoester I apologize if this isn't the right way to flag this issue as potentially closable. I though if my comment above is correct then this is a ticket you can close 😁  and if not then more info on the issue is always appreciated.

@whytestalyon thanks for the heads up, I can confirm it works for me with version 5.22.1, so I will go ahead and close this.


[New game]: Brain Game

🎮 Game Request
Game logic and basic description
In this game, a color name is displayed in a random color. The player needs to determine if the name of the color matches its displayed color if it match click on tick else on cross
Point down the features
Game points
Select program in which you are contributing
GSSoC24
Code of Conduct

[X] I follow CONTRIBUTING GUIDELINE of this project.

Hey @yamini777 , You can't have another issue before completing the previous one 😀
you already have the following 1 open issues 👀 ! :
#4945

Hey @yamini777 ! Thank you so much for your raising the issue💗
It’s all yours, you can come anytime again and make some contributions! 🚀
Alone, we can do little, but together we can do so much! 😇

Hey @yamini777 !
Thank you for raising an issue 💗
You can self assign the issue by commenting /assign in comment 😀
Make sure you follow CODE OF CONDUCT and CONTRIBUTING GUIDELINES 🚀
Don’t Forget to ⭐ our GameZone🎮
Make sure you join our Discord🕹


Build and use Html property for merged partials

As mentioned at https://github.com/Starcounter/Starcounter/issues/3539, we need to handle partial that does not contain Html property on root level. If so we would build one like from nested ones. If there is a namespace without .Html we will just stamp JSON as text. URI should be encoded, in format: /starcounter/htmlmerger?scope1=scope1Html&scope2=scope2Html. Prefix /starcounter/htmlmerger? should be customizable (attribute)

Should fix https://github.com/Starcounter/Starcounter/issues/3527


Where did you see the issue in our documentation?
https://docs.kurtosis.com/explanations/why-we-built-kurtosis/
Issue description
Per Will from OP, change "Why we built Kurtosis" to "Why Kurtosis" to better reflect reader priorities.

@chunha-park can i work on this issue?

Hey @itsayopapi - yes you may :)


Ricerca lat/lon

FR105

Image
coordinates updated on map click;
2 buttons:
center on point
clear selections and center on start


[Runtime error]: Cannot read property '0' of undefined

About
A runtime error occurred.
Reproduction

Additional info

Stack trace
TypeError: Cannot read property '0' of undefined
    at chrome-extension://mcfphkbpmkbeofnkjehahlmidmceblmm/panel.js:8:38500
    at Ct (chrome-extension://mcfphkbpmkbeofnkjehahlmidmceblmm/panel.js:2:1202796)
    at e.generateAndInjectStyles (chrome-extension://mcfphkbpmkbeofnkjehahlmidmceblmm/panel.js:2:1204754)
    at chrome-extension://mcfphkbpmkbeofnkjehahlmidmceblmm/panel.js:2:1206085
    at Gt (chrome-extension://mcfphkbpmkbeofnkjehahlmidmceblmm/panel.js:2:1206152)
    at TimelineSourceIcon (chrome-extension://mcfphkbpmkbeofnkjehahlmidmceblmm/panel.js:2:1207265)
    at Qo (chrome-extension://mcfphkbpmkbeofnkjehahlmidmceblmm/panel.js:2:1043232)
    at Ma (chrome-extension://mcfphkbpmkbeofnkjehahlmidmceblmm/panel.js:2:1051184)
    at xs (chrome-extension://mcfphkbpmkbeofnkjehahlmidmceblmm/panel.js:2:1091530)
    at yu (chrome-extension://mcfphkbpmkbeofnkjehahlmidmceblmm/panel.js:2:1082024)

Thanks for the report @gundamkid
We're going to need to have some more reproduction information before we can look into this.

Closing this as it is likely a duplicate of #330


This project is excluded on the hacktoberfest 2022

Describe the bug
The project seems to have been excluded from the Hacktoberfest and won't be considered in your pull/merge request.
Screenshots

See! I havent reported any bug or spam or invalid label.
Still it is opened and I havent accepted

One idea could be applied!
You yourself close this PR and do it again!
It will be accepted

I really appreciate your programming skills in python!! 👏🏻

I would definitely like you to contribute in my Repo
Better option is that you close your existing PR and re-open it!

Thank you for your kind words to me. I appreciated it a lot. And how do you re-open a PR?

Close the pull request and create a new one

This repository has been permanently excluded from Hacktoberfest 2022. This means that any pull requests (PRs) made to this repository will not be counted towards your contributions for Hacktoberfest 2022.
Please contribute to valuable repositories instead of sending pull requests (PRs) to repositories that are there to defeat the whole purpose of Hacktoberfest 2022.
Any repeated, continuous exclusions will automatically ban your account from participating in Hacktoberfest 2022.

@ItzLevvie , can you explain what is error with my repo?

Why it is showing "excluded"?

Is anything improper?

Hi @ItzLevvie, I just wanted to ask, What laws have they violated so their repository is excluded from hacktoberfest? I mean, if there is something inappropriate, I think they should know that so that they don't repeat the same mistake again, Can you please ....?

Yea! On what basis they consider it as "excluded"?

Whether this is error of Maintainer or Contributor?

There is a commitment — which is a compulsary requirement — for contributors & maintainers to follow a set of guidelines which is listed here.
This repository does not fall into the guidelines that were initially set by DigitalOcean. More specifically, this statement: "PR/MRs should be useful to maintainers. Repos that encourage simplistic PR/MRs (like adding a name or profile to a list or arbitrarily curating content) will be excluded from Hacktoberfest."
^ If you would like me to be even more specific - it's these 3 words: arbitrarily curating content
This repository was created for the sole purpose of allowing people to contribute pull requests (PRs) with no real purpose other than to be in the "minimum 4 pull requests (PRs)" window to be eligible for a T-Shirt from DigitalOcean.
This 1 week (7 days) of waiting time was implemented so that DigitalOcean can review more than 500K pull requests to ensure that each pull request (PR) meets the guidelines set. Lots of human moderators were chosen by DigitalOcean to take care of this.
If a particular repository was never reported to DigitalOcean where the sole purpose was to defeat the system - it's always — 50% to 75% — possible for your pull requests (PRs) to be flagged and have it not counted towards your contributions for Hacktoberfest 2022.
As always, humans are humans - and not robots. This means that it's sometimes possible for these pull requests (PRs) to slip through DigitalOcean's reviews and have your pull requests (PRs) counted towards your contributions for Hacktoberfest 2022.
Please be aware that if you made multiple repositories which were all excluded - it's better to be safe than sorry to say that it's always possible for DigitalOcean to blacklist your GitHub / GitLab account where any pull request (PR) made by other contributors to your repositories will not have their contributions counted towards Hacktoberfest 2022.
DigitalOcean is always looking to implement more safeguarding measures to prevent unfair unadvantage towards other people and every October in each year, those rules tend to expand.