when i train my data, the category count is not 80 as coco, which code should i modify?

Dear all:
when i train my data, the category count is not 80 as coco, which code should i modify?
i find three part of code using "80" :

models/CornerNet.py: line 72
class model(kp):
def init(self, db):
n       = 5
dims    = [256, 256, 384, 384, 384, 512]
modules = [2, 2, 2, 2, 2, 4]
out_dim = 80       <---------------------- here need change to my category count???

db/detection.py: line 8
self._configs["categories"] = 80    <---------------------- here need change to my category count???

config/CornerNet.json: line 45
"categories": 80            <---------------------- here need change to my category count???

@heilaw   Does all of these 3 place need to be change?  and any other place need change?

Did you change db/coco.py     line 48
self._cat_ids = [
1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 13,
14, 15, 16, 17, 18, 19, 20, 21, 22, 23,
24, 25, 27, 28, 31, 32, 33, 34, 35, 36,
37, 38, 39, 40, 41, 42, 43, 44, 46, 47,
48, 49, 50, 51, 52, 53, 54, 55, 56, 57,
58, 59, 60, 61, 62, 63, 64, 65, 67, 70,
72, 73, 74, 75, 76, 77, 78, 79, 80, 81,
82, 84, 85, 86, 87, 88, 89, 90
]
self._classes = {
ind + 1: cat_id for ind, cat_id in enumerate(self._cat_ids)
}
to your number of categories @xiaoxiongli

why there are 90 classes?

@zhaowujie 重新数一下

why don't you use continuous interval, e.g. 1-80?

D

Did you change db/coco.py line 48
self._cat_ids = [
1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 13,
14, 15, 16, 17, 18, 19, 20, 21, 22, 23,
24, 25, 27, 28, 31, 32, 33, 34, 35, 36,
37, 38, 39, 40, 41, 42, 43, 44, 46, 47,
48, 49, 50, 51, 52, 53, 54, 55, 56, 57,
58, 59, 60, 61, 62, 63, 64, 65, 67, 70,
72, 73, 74, 75, 76, 77, 78, 79, 80, 81,
82, 84, 85, 86, 87, 88, 89, 90
]
self._classes = {
ind + 1: cat_id for ind, cat_id in enumerate(self._cat_ids)
}
to your number of categories @xiaoxiongli

Did you have any luck? I am having trouble during evaluation with this line:

            category       = self._coco_to_class_map[cat_id]

in the db/coco.py
I have only 1 class, and its giving me a "key error 0"

@xiaoxiongli  @tianzhi0549
when the category count is not 80 as coco，the loss Fall quickly. At last， the loss is very very low , like this
training loss at iteration 27230: 7.612511581100989e-07
training loss at iteration 27235: 1.9973826965724584e-06
training loss at iteration 27240: 6.293149453995284e-06
training loss at iteration 27245: 9.290890261581808e-07
training loss at iteration 27250: 7.603926519550441e-07
training loss at iteration 27255: 8.633248853584519e-07
training loss at iteration 27260: 7.514188951063261e-07
training loss at iteration 27265: 8.675733624841087e-07
training loss at iteration 27270: 1.0097636504724505e-06
training loss at iteration 27275: 8.036624308260798e-07
training loss at iteration 27280: 8.953446695159073e-07
training loss at iteration 27285: 7.899022875790251e-07
training loss at iteration 27290: 4.14156420447398e-06
training loss at iteration 27295: 1.6851539612616762e-06
training loss at iteration 27300: 7.977693030625232e-07
validation loss at iteration 27300: 1.594285890860192e-06
training loss at iteration 27305: 2.5046172140719136e-06
training loss at iteration 27310: 7.887338142609224e-07
training loss at iteration 27315: 9.830607723415596e-07
training loss at iteration 27320: 7.96585936768679e-07
training loss at iteration 27325: 7.648009727745375e-07
training loss at iteration 27330: 1.6255791024377686e-06
training loss at iteration 27335: 7.160156201280188e-07
training loss at iteration 27340: 1.0358436384194647e-06
training loss at iteration 27345: 7.546686333625985e-07
training loss at iteration 27350: 9.059414196599391e-07
training loss at iteration 27355: 7.671519597352017e-07
5%|#5                           | 27357/500000 [17:14:46<348:08:50,  2.65s/it]shuffling indices...
training loss at iteration 27360: 2.279482941958122e-06
5%|#5                           | 27363/500000 [17:14:59<296:37:52,  2.26s/it]shuffling indices...
training loss at iteration 27365: 2.0431405118870316e-06
training loss at iteration 27370: 1.0739236131485086e-06
training loss at iteration 27375: 9.094511597140809e-07
training loss at iteration 27380: 8.221845178013609e-07
training loss at iteration 27385: 8.983377028926043e-07
training loss at iteration 27390: 2.3142054033087334e-06
training loss at iteration 27395: 2.802274821078754e-06
training loss at iteration 27400: 9.592042715667048e-07
validation loss at iteration 27400: 7.173352400968724e-07
5%|#5                           | 27403/500000 [17:16:38<306:36:56,  2.34s/it]shuffling indices...
training loss at iteration 27405: 1.3337682958081132e-06
training loss at iteration 27410: 1.046495299306116e-06
training loss at iteration 27415: 9.256709745386615e-07
training loss at iteration 27420: 9.490519232713268e-07
training loss at iteration 27425: 8.912809335015481e-07
training loss at iteration 27430: 1.081516074918909e-06
training loss at iteration 27435: 7.116623237379827e-07
5%|#5                           | 27437/500000 [17:18:04<349:13:25,  2.66s/it]shuffling indices...
training loss at iteration 27440: 7.564152042505157e-07
training loss at iteration 27445: 9.4166585995481e-07
training loss at iteration 27450: 4.15429667555145e-06
training loss at iteration 27455: 1.51546009874437e-06
training loss at iteration 27460: 8.638742201583227e-07
training loss at iteration 27465: 1.4471661415882409e-06
do you Encounter this problem？

yes, this happens to me, also the accuracy is less than 1 percent. I don't know what is the problem yet.

@nassarofficial how to solve KeyError: 0?

Make sure your labels for your coco dataset is appropriately labeled. This error basically means you dont have any labeled instances with "0" in your dataset!

@nassarofficial  Did you solve this problem?

@cainiaojy no, unfortunately, I am still trying..

Could you tell me which codes need to be changed when I have only one class? Thank you.


Scram authentication thread save

Fix for issue #736
Invalid server signature was raise because client mixed server_signature between threads.

Thanks!


Information View OMAS build process (question)

Currently the Information View OMAS build process outputs a huge amount of debug information as it runs through the org.odpi.openmetadata.accessservices.informationview.ColumnContextBuilderTest suite.  It appears to be printing the entire debug log information / output for starting up a metadata repository and registering all of the open types (?)
Wondering if this is expected, and assuming it's necessary whether there's an option to disable all of the debug output?  I wouldn't expect anyone to review the 1000's of lines that are being output, and am wondering if it might speed up building from the command-line when running on battery power (ie. avoiding all of the screen output).
(Might be doing the same again for org.odpi.openmetadata.accessservices.informationview.ReportCreationTest as well?)

Hi, I will check, I don't think I changed the debug level, but will double check. Thanks!

I'm not sure it's something new -- I suspect it might have been like that for a while...  Maybe there's something we can define as an option to Maven or the like to simply avoid it being printed (?)

I agree with you...
ideally the build log should be clean enough (by default) so one can clearly see high level progress + any issues. The current volume makes any warnings hard to spot, plus of course when running tests often warnings/errors are correct....
I've not looked at HOW, but I suspect it's a case of ensuring slf or similar is being used within the test cases with an appropriate logging level -- but note there are a few funnies with slf/build I hit when refactoring.
Adding this to build list for now, I think it's valid to persue. Any other comments?

Hi,
I've added file logback-test.xml to classpath as descibed in https://logback.qos.ch/manual/configuration.html and configured there the log levels.

logback-test.xml


EventGrid resource delete events causing duplicate command id

Describe the bug
Providers are unable to process event command because of a duplicate command Id: Provider command message orchestration for command b228bca4-e0da-4f97-98b6-256827e485f2 already started: An Orchestration instance with the status Running already exists.
To Reproduce

Create project via CLI
Delete project via CLI
Check command auditing

Expected behavior
Each event should lead to a unique command (assuming the ID of an EventGrid event is unique and can be used as a command ID) -> there are no conflicts on the provider side because of a duplicate command ID (except for cases where the command was sent multiple times because of e.g. connection timeout)
Additional context
n.a.

closed because of solution redesign


[ENH] Digital Ocean exposes deploy token when validator error occours

When not all required vars are present in the user environment, a validation error occurs, notifying the user of the missing variables. However, when doing so, it also exposes the values of any already passed var to the user without masking.
Below is an example of such an error message, where a manually masked token, which was in this case fully exposed:
ValidationError: 1 validation error for ConfigSchema
digital_ocean
  Value error, Missing the following required environment variables: {'SPACES_ACCESS_KEY_ID': None, 'DIGITALOCEAN_TOKEN':
'dop_v1_*****', 'SPACES_SECRET_ACCESS_KEY': None}

            Please see the documentation for more information: https://www.nebari.dev/docs/how-tos/nebari-do [type=value_error, input_value={'kubernetes_version': '1...s': 1, 'max_nodes':
5}}}, input_type=CommentedMap]
    For further information visit https://errors.pydantic.dev/2.4/v/value_error

To fix this issue, look for the validation function https://github.com/nebari-dev/nebari/blob/develop/src/_nebari/utils.py#L343 and replace the required_variables to missing_variables in here https://github.com/nebari-dev/nebari/blob/develop/src/_nebari/utils.py#L353

Greetings @viniciusdc, I'd like to try working on this one if alright & maybe get back with some progress in case I need more input.

Hi @arjxn-py definetly, to reproduce you will need to follow the deploy on DO docs to some extent, https://www.nebari.dev/docs/how-tos/nebari-do
You don't need to deploy it, in my case I provided a config and just ran nebari render -c nebari-config.yaml to trigger some of the validations, but you might encounter it even quicker when running the nebari init do command.
To trigger the exception, just include one of the environment variables that are required:
export DIGITALOCEAN_TOKEN=""          # API token required to generate resources
export SPACES_ACCESS_KEY_ID=""        # public access key for access spaces
export SPACES_SECRET_ACCESS_KEY=""    # the private key for access spaces

in my case, I had the DIGITALOCEAN_TOKEN already populated, so that showed to me when the error was raised. But you might see the same message show up, by not including any at all as well

This issue proabably has two things to address:

Repalce the required_variables as suggested;
And possible add some kind of masking to the values, if they show up after replacing (but I think the missing_variables only use the key name, not the value)

feel free to open a PR, even if its a draft :smile:

Thanks a lot @viniciusdc, your comments helped a lot. Sorry that it took me more time than expected as I was in a bit of a dilemma that i'd need Digital Ocean credits to test this out & was trying to manage that. But I was wrong 😅

I see indeed it makes sense. I should've mentioned that as well, next time feel free to ask, as this will help us updating the docs later on as well :rocket:

feel free to ask, as this will help us update the docs later on as well 🚀

Sounds goo, i'd be more than happy to assist with those improvements too.

feel free to ask, as this will help us update the docs later on as well 🚀

Sounds good, i'd be more than happy to assist with those improvements too :)

We are planning on deprecating Digital Ocean support due to low usage.  It could still be deployed on Digital Ocean via an existing cluster deployment.  @arjxn-py Please comment on the issue if you think we should keep it - https://github.com/nebari-dev/nebari/issues/2542


BERT as a language model

Hi there,
First of all, thanks for open-sourcing BERT as a concise independent codebase that's easy to go through and play around with. :)
I have a question regarding just applying BERT as a language model scoring function. For example, say I have a text file containing one sentence per line. Is there a simple way to just score those sentences with their likelihood under the BERT language model?
Thanks,
Anthony

Related : #35

You can mask each word one at a time, but this doesn't give you a meaningful sentence probability.

Thanks! I see. I guess that makes sense in the context of the masked LM.

would this work?
https://github.com/xu-song/bert-as-language-model


Deprecate XAMPP VM

The OS X installer uses x86_64 binaries that are supported by the OS X Rosetta environment.
The XAMPP VM is not compatible with latest OS X M1 or M2 (ARM processor). The OS X Rosetta environment does not translate Virtual Machine apps that virtualize x86_64 computer platforms.

Just released the new website.


Add my blog into showcase

The URL of my blog is: http://fei007.daoapp.io/

I don't see the theme :)

open a new issue when you set up and customize the theme


vmware gilan v3.0.0 blueprint zip missing

Describe the bug
Is there a zip associated with this blueprint release?
Provide the following:

Blueprint zip
Changes

To Reproduce
Steps to reproduce the behavior:

Go to 'https://github.com/F5Networks/f5-nfv-solutions/tree/master/supported/blueprints/vmware/gilan/v3.0.0'

Expected behavior
Blueprint zip for download

This appears to be missing on the whole VMware stack. Now unsure this was an intentional release.
https://github.com/F5Networks/f5-nfv-solutions/tree/master/supported/blueprints/vmware/base/v3.0.0
https://github.com/F5Networks/f5-nfv-solutions/tree/master/supported/blueprints/vmware/big-iq/v3.0.0
https://github.com/F5Networks/f5-nfv-solutions/tree/master/supported/blueprints/vmware/cgnat/v3.0.0
https://github.com/F5Networks/f5-nfv-solutions/tree/master/supported/blueprints/vmware/dns-sec/v3.0.0
https://github.com/F5Networks/f5-nfv-solutions/tree/master/supported/blueprints/vmware/dns/v3.0.0
https://github.com/F5Networks/f5-nfv-solutions/tree/master/supported/blueprints/vmware/firewall/v3.0.0
https://github.com/F5Networks/f5-nfv-solutions/tree/master/supported/blueprints/vmware/gilan/v3.0.0
By the way, I like f5-nfv-solutions! Reach out if you would like detailed feedback on usage.

Removed 3.0 release directories. Merged by accident.


Task - System message does not appear for user B when editing task until page refreshed

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: 1.4.49-0
Reproducible in staging?: Y
Reproducible in production?: N
If this was caught during regression testing, add the test name, ID and link from TestRail: N/A
Issue reported by: Applause - Internal Team
Action Performed:

Open the app and log in as the user A
Log in as the user B in incognito or another device
[user A] Open the chat with user B
[user A] Assign a task to user B
[user B] Open the assigned task
[User A] Change the title, description, or assignee

Expected Result:
The system message is displayed for user B at the same time as for user A
Actual Result:
The system message is displayed for user B after refreshing the page
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

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

Screenshots/Videos
Add any screenshot/video evidence

https://github.com/Expensify/App/assets/78819774/b2e7db7e-782a-4c85-bf13-869942c1bc5f
View all open jobs on GitHub

We think that this bug might be related to #vip-vsp
CC @quinthar

@luacmartins  FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors

This smells like a back-end issue to me

Yea, I agree just wanna confirm since @thienlnam worked on that related App PR

@thienlnam is this related to https://github.com/Expensify/App/pull/36768?

This looks like a BE Pusher issue (not 100% sure though and can't verify ATM), there is quite a lot taskedited-related BE changes pending, @thienlnam should have a tracking issue for them🤔

Yes, this looks related to the pusher update not getting sent for the new EditTask reportAction - in any case this is not a blocker


⚠ Bofrost.lu has degraded performance

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

HTTP code: 200
Response time: 1248 ms

Resolved: Bofrost.lu performance has improved in 0525f75 after 7 minutes.


[Proposal] Have separate class to access ENV variables

proposed by @taquitos, already implemented for fastlane by @hjanuschka
better than just strings

cc @AndrewMcBurney


Secure edit-comment api

Partial fix for #1299
Allow only comment creator and a space collaborator to edit the comment.
Tests are updated.

Codecov Report

Merging #1407 into master will increase coverage by 0.13%.
The diff coverage is 71.42%.

@@            Coverage Diff             @@
##           master    #1407      +/-   ##
==========================================
+ Coverage   59.95%   60.08%   +0.13%
==========================================
  Files         119      119
  Lines       11003    11019      +16
==========================================
+ Hits         6597     6621      +24
+ Misses       3755     3745      -10
- Partials      651      653       +2

Impacted Files
Coverage Δ

controller/comments.go
73.54% <71.42%> (-1.28%)
:arrow_down:

remoteworkitem/scheduler.go
63.41% <0%> (+9.75%)
:arrow_up:

models/transaction.go
70% <0%> (+20%)
:arrow_up:

remoteworkitem/github.go
100% <0%> (+22.85%)
:arrow_up:

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 8a31630...1b189cf. Read the comment docs.

[test]


Elasticsearch error

@MLnick - getting this error in Step 2: Load data into Elasticsearch -
ImportError                               Traceback (most recent call last)
 in ()
----> 1 from elasticsearch import Elasticsearch
2
3 # test your ES instance is running
4 es = Elasticsearch()
5 es.info(pretty=True)
ImportError: No module named elasticsearch
The work-around for me (running on Mac) was to:
export PYTHONPATH=/Library/Python/2.7/site-packages
Not sure if there is a better solution. Maybe we can add this to trouble-shooting as a "possible" solution?

Hmm, perhaps we can add to troubleshooting. I haven't ever needed to update my PYTHONPATH in this way.

Also are you running in a conda env? Or a virtualenv? Or just plain (no env)?


API Anchor Link generator is merged with "[source]"

See

Seems this has been fixed - can't reproduce with the theme version 0.10. It's good on all screen sizes.


Switch board to Morty

Work in progress.
Connect https://github.com/resin-os/meta-artik710/pull/12

Can one of the admins verify this patch?

Why don't you also update meta-resin to latest master?


Migrate Canada holidays to holiday groups and subdivision holidays methods

Proposed change

Migrate Canada holidays to holiday groups and subdivision holidays methods, refactor tests.
Type of change

[ ] New country/market holidays support (thank you!)
[ ] Supported country/market holidays update (calendar discrepancy fix, localization)
[x] Existing code/documentation/test/process quality improvement (best practice, cleanup, refactoring, optimization)
[ ] Dependency upgrade (version update)
[ ] Bugfix (non-breaking change which fixes an issue)
[ ] Breaking change (a code change causing existing functionality to break)
[ ] New feature (new python-holidays functionality in general)

Checklist

[x] I've followed the contributing guidelines
[x] This PR is filed against beta branch of the repository
[x] This PR doesn't contain any merge conflicts and has clean commit history
[x] The code style looks good: make pre-commit
[x] All tests pass locally: make test, make tox (we strongly encourage adding tests to your code)
[x] The related documentation has been added/updated (check off the box for free if no updates is required)

Coverage: 99.934% (+0.0006%) from 99.933% when pulling 0eca95ac84857c0e58b73d3d69dca27be7ff4850 on KJhellico:ref-canada into 3031aafb1a7b8d176b3e308883f5ef98bc2864e4 on dr-prodigy:beta.


increase peer deps versions to support angular 8

npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none is installed. You must install peer dependencies yourself.
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none is installed. You must install peer dependencies yourself.
The peer dependencies should be updated to enable this module to work with angular 8,

@techiediaries please, can you do it or accept some PR (I can do it)?

@rafa-as, you are welcome to send a PR

@techiediaries perfect, we will do the PR this afternoon.
You remember that master is not released yet? I hope that today you can release with the old and new changes.

@techiediaries I've been taking a look in deep the library and I'm sure that this library needs a big refactor to get a correct and workable scenario.
Starting for create the library using ng-packagr and the Angular library standards, with a standard development and release flow, changelog and more.
What do you think about it? We can do this work here or if you don't want to maintain this library we can assume it if you want.
Thank you

Yes, I'm Ok with that. If you want, you can start working on that and I
will surely help as much as I can.
On Mon, Aug 12, 2019 at 11:01 PM Rafa AS<EMAIL_ADDRESS>wrote:

@techiediaries https://github.com/techiediaries I've been taking a look
in deep the library and I'm sure that this library needs a big refactor to
get a correct and workable scenario.
Starting for create the library using ng-packagr and the Angular library
standards, with a standard development and release flow, changelog and more.
What do you think about it? We can do this work here or if you don't want
to maintain this library we can assume it if you want.
Thank you
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/techiediaries/ngx-qrcode/issues/35?email_source=notifications&email_token=AFI3UQW7O7J5GTXXV5BTSW3QEHMSVA5CNFSM4HVCF4MKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4D6PYQ#issuecomment-520611810,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AFI3UQTDHN6DO4ZOGPLPJGLQEHMSVANCNFSM4HVCF4MA
.

--
https://about.me/ahmedbouchefra?promo=email_sig&utm_source=product&utm_medium=email_sig&utm_campaign=edit_panel&utm_content=thumb
Ahmed Bouchefra
about.me/ahmedbouchefra
https://about.me/ahmedbouchefra?promo=email_sig&utm_source=product&utm_medium=email_sig&utm_campaign=edit_panel&utm_content=thumb

Perfect @techiediaries we will start soon. Can you give me merge and release permissions?

@rafa-as I added you as a collaborator to the repo

thanks @techiediaries

hey @rafa-as any luck getting this to work?

Closed by #43


probation data-engineering terraform-backend

Pull Request Objective
This piece of work is being tracked in
this
GitHub Issue.
create buckets in analytical-platform-data-engineering-sandbox-a and analytical-platform-data-engineering-production for the probation data-engineering team to store their terraform state. This is to aid in the migration of analytical-platform-data-engineering from pulumi to terraform.
Checklist

[!NOTE]
Each items should be checked. Skipping below checks could delay your PR review!

[x] I have reviewed the style guide
and ensured that my code complies with it
[ ] All checks have passed (or override label applied, if I've
used the override-static-analysis label, I've explained why)
[ ] I have self-reviewed my code
[ ] I have reviewed the checks and can attest they're as expected

Additional Comments
oidc-roles.tf needed changing as the dynamic blocks were causing duplicates with the same Sid which the terraform plan was complaining about. I've updated so the multiple statements/buckets (when present) get added to the same Sid.
The plan looks a bit strange but i'm pretty sure its only adding the buckets i've added and is just getting mixed up with the statement names. But would be good for someone more familiar to check!

I'm not seeing the buckets i've added in any plan on the checks - is there anything more I need to add?

@davidbridgwood do you have any design documents and/or ADRs for your Terraform deployment?

@jacobwoffenden - we don't no. If you have some examples you can point to happy to put something together.

@davidbridgwood do you have any design documents and/or ADRs for your Terraform deployment?

@jacobwoffenden - we don't no. If you have some examples you can point to happy to put something together.

I was wondering if you'd thought more about my suggestion in this thread, we can give you out of the box state management and account access instead of rolling your own


Login method not working

my previously running codes are not working
#442
I encountered an issue with the following code:
php	use seregazhuk\PinterestBot\Factories\PinterestBot;
$bot = PinterestBot::create();
$bot->auth->login($UserMail, $UserPassword);
if ($bot->user->isBanned()) {
	echo "Account has been banned!\n";
	die();
}

Library version: v5.9.1
PHP version: 7.3.11
I'm getting an error
Fatal error: Uncaught seregazhuk\PinterestBot\Exceptions\AuthRequired: Error calling seregazhuk\PinterestBot\Api\Providers\User::isBanned method. You must log in before. in C:\xampp\htdocs\sil\vendor\seregazhuk\pinterest-bot\src\Api\Providers\Core\ProviderWrapper.php:66 Stack trace: #0 C:\xampp\htdocs\sil\vendor\seregazhuk\pinterest-bot\src\Api\Providers\Core\ProviderWrapper.php(42): seregazhuk\PinterestBot\Api\Providers\Core\ProviderWrapper->checkMethodForLoginRequired('isBanned') #1 C:\xampp\htdocs\sil\pin.php(19): seregazhuk\PinterestBot\Api\Providers\Core\ProviderWrapper->__call('isBanned', Array) #2 {main} thrown in C:\xampp\htdocs\sil\vendor\seregazhuk\pinterest-bot\src\Api\Providers\Core\ProviderWrapper.php on line 66
Thanks for your help

I have that same problem

I also had a problem with the login method a few days ago.
Method returns:
[error] => Array
(
[status] => failure
[http_status] => 429
[code] => 9
[message] => We could not complete that request.
[message_detail] => Sorry! Your request could not be completed.
[api_error_code] => 9
)

I am getting same issue when trying to connect a new account
"Sorry! Your request could not be completed."
Is there any solution to this?

I also getting same error message?
Is it due to Pinterest integrated with reCaptcha? Any fixes available?
Thank you.

I converted my PHP script to python and use py3pin (new fixes with selenium/chrome webdriver) and now able to create pins again!
Thanks.

Same here. Very interesting, I have two Pinterest, one is working, one is not working. Both use the same code, in the same server.

@murattikil (murat bey 6 farklı hesapla denedim çalışmıyor)
I tried with 6 different accounts, it doesn't work

same problem

Has anyone found solution to this for PHP?


Public GeyserConnect server resource leaks

Myself and EasyClifton are in charge of the public GeyserConnect.
The instance has 4000 MB of RAM assigned, and the machine has 8 3.2 GHz Xeon cores.
After a period of just 24 hours, i noticed that he server sounded really loud. Checking the Pterodactyl panel I use to manage it, I saw thatthe assigned RAM was fully taken, and that CPU usage was pegged at 800%, 100% being 1 CPU core. I checked htop directly on the machine, and it confirmed a fully pegged CPU on all cores.
This would appear to point to some sort of memory leak, but not sure what the issue is.

Maybe fixed by https://github.com/GeyserMC/GeyserConnect/commit/f014ca4ef833153156234140b474fef9cd3748fc
Needs confirming

32 hours of checking in on the server at this point revealed max RAM consumption of 1.6GBm and max observed CPU usage of 60%.

Issue still exists. But it is not nearly as bad as before https://github.com/GeyserMC/GeyserConnect/commit/f014ca4ef833153156234140b474fef9cd3748fc
It would seem that was only one of other possible issues.

How busy is this? Like how many players etc. Does it happen if the server doesn't have anyone connect through the day?

I'm honestly not certain, but the console is constantly scrolling. We started this at the end of August, and have had over 8,000 unique users. I'm certain there several hundred a day on some days.

Ahh well you are probably in the best position to test since my servers are far more quieter so the problem may simply not manifest itself. I think we'll just work out some way of debugging this and get back in this thread. Maybe for now cronjob a daily restart of the service.

Is this still an issue? or has it been sorted now?

Closing due to inactivity


harbor删除仓库返回404，提示仓库不存在

docker版本1.12
harbor registry 版本2.6.1
调用repo查询接口能返回repo_name正常
curl -X GET --header 'Accept: application/json' 'http://registry.test.com/api/repositories?project_id=14'
[
"search/search_2104",
"search/search_2111",
"search/search_2124",
"search/search_2133",
"search/es_search_2143",
"search/es_search_2216",
"search/es_search_0053",
"search/es_search_0117",
"search/search_1027",
"search/search_1343",
"search/search_1620",
"search/search_1622",
"search/es_suggest_1018",
"search/search_1359"
]
调用repo删除接口返回404，提示仓库不存在
curl -X DELETE --header 'Accept: text/html' 'http://registry.test.com/api/repositories/search%2Fsearch__2104'

404 - Page Not Found

There's extra underscore in the url

Closing as it's usage error.


Node JS 22 Upgrade and Node JS Docker Image

Update Node js to Version Node 22

[ ] Review the Local Node JS 22
[ ] Update Docker Image Node js Version from artifacts.developer.gov.bc.ca/redhat-access-docker-remote/ubi8/nodejs-18:1-81

Fix error using web for Node 22

@bidyashish to update to most recent Node available from RedHat and update ticket accordingly.


use own point cloud dataset

If I want to use my own point cloud dataset, do I need to convert them to Kitti data format or change the code?

Hello, you don't have to convert to Kitti data format. But you have to convert your point cloud data into image/range image format, like this line https://github.com/PRBonn/pole-localization/blob/73f30775b75fe1f2e7c6db885d10409aeb1242fd/src/poles_extractor.py#L5

Thank you very much for your message, so I should write a function myself to replace range_ Projection, it is still possible to directly use this function to convert my point cloud data into image/range image format？

which type of LiDAR do you use? you can replace fov_up and fov_down in range_projection with the parameters of your sensor if you know them. Then you can verify the projection by plotting range_data use matplotlib

Thank you very much for your help, it will be very helpful for my future work!


Cloud Resource Manager error message swap

403 forbidden (permission denied) is returned instead of 404 not found when a project doesn't exist.  For the time being, we will assume 403 means the project wasn't found.  We should change back our implementation once this is fixed.
Also, 400 bad request is returned when attempting to perform actions on a project that is in an incorrect lifecycle state.  This may make more sense with error code 412 (precondition failed) according to the public documentation, since the error message contains the message "precondition check failed."

The 403 vs 404 is intended behavior, and a check for 404 is added in #491, and the 400 vs 412 isn't a pressing or obvious issue, so I'm closing this issue.


Add orientation option to pwa django

why the option to choose orientation to pwa doesn't exist as default in the app?

Hello Allania, I have included orientation option for manifest.json. You can see this on this pull request https://github.com/svvitale/django-progressive-web-app/pull/10. Let's wait it be aproved.

Thank you for your suggestion.


gcab: 1.2 -> 1.3

Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/gcab/versions.
meta.description for gcab is: '""'.
meta.homepage for gcab is: '"https://wiki.gnome.org/msitools"

Checks done (click to expand)

built on NixOS

The tests defined in passthru.tests, if any, passed

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 1.3 with grep in /nix/store/da325rzdn06b1s8npnvr8nihw1901h1v-gcab-1.3

directory tree listing: https://gist.github.com/85a3ccdbafde6f2a6efb25ee3bd9f29c

du listing: https://gist.github.com/1a1a32e5f3ae9df03bd15401143330bf

Rebuild report (if merged into master) (click to expand)

21 total rebuild path(s)
7 package rebuild(s)
7 x86_64-linux rebuild(s)
7 i686-linux rebuild(s)
1 x86_64-darwin rebuild(s)
6 aarch64-linux rebuild(s)
First fifty rebuilds by attrpath
discover
fwupd
gcab
gnome-firmware-updater
gnome3.gnome-software
msitools
plasma5.discover

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/da325rzdn06b1s8npnvr8nihw1901h1v-gcab-1.3 \
  --option binary-caches 'https://cache.nixos.org/ https://r-ryantm.cachix.org/' \
  --option trusted-public-keys '
  r-ryantm.cachix.org-1:gkUbLkouDAyvBdpBX0JOdIiD2/DP1ldF3Z3Y6Gqcc4c=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(r-ryantm's Cachix cache is only trusted for this store-path realization.)
Or, build yourself:
nix-build -A gcab https://github.com/r-ryantm/nixpkgs/archive/b3ba1a8fad79331bb44f2c6687cc5c2b84e0e2f8.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/da325rzdn06b1s8npnvr8nihw1901h1v-gcab-1.3
ls -la /nix/store/da325rzdn06b1s8npnvr8nihw1901h1v-gcab-1.3/bin

cc @lethalman for testing.

Now supports installed tests, perhaps we should add them after #72860
http://ftp.gnome.org/pub/GNOME/sources/gcab/1.3/gcab-1.3.news

@jtojnar that would mean add an installedTests output and the the proper meson flags to install it?

Most likely it will also require a patch like this: https://github.com/NixOS/nixpkgs/blob/4835c83e3a1a855015fdeb2b236b03d70c490110/pkgs/development/libraries/libxmlb/installed-tests-path.patch

@GrahamcOfBorg test installed-tests.gcab


feat(streaming): support adaptive backfill rate limit

I hereby agree to the terms of the RisingWave Labs, Inc. Contributor License Agreement.
What's changed and what's your intention?
WIP
close #16678

Checklist

[ ] I have written necessary rustdoc comments
[ ] I have added necessary unit tests and integration tests
[ ] I have added test labels as necessary. See details.
[ ] I have added fuzzing tests or opened an issue to track them. (Optional, recommended for new SQL features #7934).
[ ] My PR contains breaking changes. (If it deprecates some features, please create a tracking issue to remove them in the future).
[x] All checks passed in ./risedev check (or alias, ./risedev c)
[ ] My PR changes performance-critical code. (Please run macro/micro-benchmarks and show the results.)

[ ] My PR contains critical fixes that are necessary to be merged into the latest release. (Please check out the details)

Documentation

[ ] My PR needs documentation updates. (Please use the Release note section below to summarize the impact on users)

Release note
If this PR includes changes that directly affect users or other significant modifications relevant to the community, kindly draft a release note to provide a concise summary of these changes. Please prioritize highlighting the impact these changes will have on users.

May add some demo for it to show it works well.

May add some demo for it to show it works well.

Sure. I'm reading the slts in #16678 to see what scenarios we need to test.

I am wondering if cur_barrier_snapshot_processed_rowsa lagging indicator and does not reflect the back pressure rate in time.

I think the problem is tick the rate limiter per barrier. I think it can be refactored to tick for each loop or future selection. 🤔

How's it going?


[Question] How to set array in session

It looks like simple task, but with this library I'am not sure how to do that. Here is my code:
if (is_array($text)) {
   // what's the correct way to add array to a session? array_push?

 } else {
    \Delight\Cookie\Session::set('text', "$text");
}

In plain world you add array into session like this:
$_SESSION['names'] = array();
array_push($_SESSION['names'],$name);

Thanks!
Is there any reason why
$names = [ 'John', 'Jane' ];
\Delight\Cookie\Session::set('names', $names);

does not work?

Indeed it works when I removed those quotes "". What a shame! Thank you Ocram, you saved my day :)


objects from linked collections fail on export

if i link a collection from another file the export crashes at contained objects:
$ ./blender
Read prefs: /home/stefan/.config/blender/2.90/config/userpref.blend
found bundled python: /home/stefan/mydata/tools/blender/blender-2.90.1-linux64/2.90/python
Read blend: /home/stefan/mydata/blender/tests/aframe_exporter/test_linked_collection.blend
Info: Saved "test_linked_collection.blend"

Info: Saved "test_linked_collection.blend"

[AFRAME EXPORTER] Exporting project...
[AFRAME EXPORTER] Target Dir = /home/stefan/mydata/github/blender/aframe_blender_exporter
--- DEST [/home/stefan/mydata/blender/tests/aframe_exporter/test_linked_collection] [/home/stefan/mydata/blender/tests/aframe_exporter/test_linked_collection/.] {.}
--- DEST [/home/stefan/mydata/blender/tests/aframe_exporter/test_linked_collection] [/home/stefan/mydata/blender/tests/aframe_exporter/test_linked_collection/assets/] {assets/}
--- DEST [/home/stefan/mydata/blender/tests/aframe_exporter/test_linked_collection] [/home/stefan/mydata/blender/tests/aframe_exporter/test_linked_collection/resources/] {resources/}
--- DEST [/home/stefan/mydata/blender/tests/aframe_exporter/test_linked_collection] [/home/stefan/mydata/blender/tests/aframe_exporter/test_linked_collection/media/] {media/}
--- DEST [/home/stefan/mydata/blender/tests/aframe_exporter/test_linked_collection] [/home/stefan/mydata/blender/tests/aframe_exporter/test_linked_collection/env/] {env/}
--- DEST [/home/stefan/mydata/blender/tests/aframe_exporter/test_linked_collection] [/home/stefan/mydata/blender/tests/aframe_exporter/test_linked_collection/js/] {js/}
--- DEST [/home/stefan/mydata/blender/tests/aframe_exporter/test_linked_collection] [/home/stefan/mydata/blender/tests/aframe_exporter/test_linked_collection/lightmaps/] {lightmaps/}
[AFRAME EXPORTER] loop object CollectionTorus
Warning: 1 object(s) not centered, 0 changed:
Warning: |1 linked library object(s)
[AFRAME EXPORTER] loop object Cube
[LIGHTMAP] Searching Lightmap for object [Cube_baked]
'/home/stefan/mydata/tools/blender/blender-2.90.1-linux64/2.90/python/lib/python3.7/site-packages/libextern_draco.so' exists, draco mesh compression is available
12:26:50 | INFO: Starting glTF 2.0 export
12:26:50 | INFO: Extracting primitive: Cube
12:26:50 | INFO: Primitives created: 1
12:26:50 | INFO: Finished glTF 2.0 export in 0.0018973350524902344 s

[AFRAME EXPORTER] loop object Light
[AFRAME EXPORTER] loop object Torus
Traceback (most recent call last):
  File "/home/stefan/.config/blender/scripts/addons/aframe_blender_exporter/__init__.py", line 575, in execute
    obj.select_set(state=True)
RuntimeError: Error: Object 'Torus' can't be selected because it is not in View Layer 'View Layer'!

location: <unknown location>:-1

location: <unknown location>:-1
Error: Traceback (most recent call last):
  File "/home/stefan/.config/blender/scripts/addons/aframe_blender_exporter/__init__.py", line 575, in execute
    obj.select_set(state=True)
RuntimeError: Error: Object 'Torus' can't be selected because it is not in View Layer 'View Layer'!

location: <unknown location>:-1

on a quick search i found some maybe related thinks:

Trying to select updated mesh, but get: Object 'Plane' can't be selected because it is not in View Layer 'View Layer'!
Object not in View Layer error when trying to select a new object in a new scene from a panel.
Select Hierarchy (Child) error, when object is not on view layer

with linked objects this does not happen.
so somehow this seems to be only happening with linked collection / child things...
i have attached the two test files.
test_linked_collection.zip

should be fixed with #17 - in combination with blender 3.1. - if it contains the vtree branch of the gltf exporter.

@s-light vtree branch will not be on 3.1, but in 3.2

hmm ok! thanks for the heads up.

just tested this -
fixed with official blender 3.1.0 and #17


How can I implement this package with RG6 mounted on UR5?

we have a ur5 robot equipped with a onrobot rg6 gripper both which are connected to a common router. The ip of the robot is <IP_ADDRESS> and I interface with the robot on the ip <IP_ADDRESS> through ethernet.
I use the external control urcap for controlling the robot.

Thank you very much. By the way, if i want to use MoveIt to control both the UR5 and the gripper, do i need to have Compute Box? My computer interfaces with UR5 through ethernet and the Tool Changer is connected with the arm by a cable. I tried some ways to connect the gripper through the arm but it failed, is there any other ways?

I control the RG2-FT with compute box since it seems it doesn't support RS-485.
I'm not too sure about the RG6 if it supports Modbus RTU RS-485, but I have gotten it to work with a Robotiq 2F-85 where I can control it via ROS while connected to the UR5e tool connection. You'll need to do some research on if its possible for RG6.
What you need is this urcap. This is only supported on e-series robots though:
https://github.com/UniversalRobots/Universal_Robots_ToolComm_Forwarder_URCap
Then in your launch file for running the UR5e see here. You essentially need to enable tool communication, voltage, and device name:
https://github.com/tammerb/HOMESTRI-UR5e-Robotiq2f85/blob/b84cb29885037adbc58a972c53684b6e14c447f3/catkin_ws/src/homestri_ur/homestri_bringup/launch/a_bot_bringup.launch#L32
Then you'll see that you connect the gripper to the same device name. However the gripper needs to support modbus rtu 485:
https://github.com/tammerb/HOMESTRI-UR5e-Robotiq2f85/blob/b84cb29885037adbc58a972c53684b6e14c447f3/catkin_ws/src/homestri_ur/homestri_bringup/launch/a_bot_bringup.launch#L56
See here for the Robotiq Driver for how to communicate rs 485:
https://github.com/ian-chuang/robotiq
This might also be helpful for you for setting up ROS environment with UR5e:
https://github.com/tammerb/HOMESTRI-UR5e-Robotiq2f85/tree/minimal

Now, I'm using UR5 (not UR5e) to do some researches in ROS. Before then, I used to control the arm and RG6 mounted in it with Accupick 3D, that way I can control the gripper by the Software. All I have to do was connect my computer and the robot through ethernet ip, so I thought there is the same way help me to do it in ROS without ComputeBox, but I might be wrong. I'm very appreciative of all the support you've given me.

No problem, thanks. Unfortunately, I think you might be stuck with the compute box if you don't have the e-series.


The front is here but i cant do anything on it

Hi i did all the requirements
only one failed
C:\Users\Admin Stagiaire\Documents\Dev\devika\ui>python3 devika.py
python3' is not recognized as an internal or external command
or external command, an executable program or a command file.
C:\Users\Admin Stagiaire\Documents\Dev\devika\ui>python --version
Python 3.12.2
C:\Users\Admin Stagiaire\Documents\Dev\devika\ui>python devika.py
python: can't open file 'C:\Users\Admin Stagiaire\Documents\Dev\devika\ui\devika.py': [Errno 2] No such file or directory
can you please help me i really wanna use Devika thanks

Okay now it interact in the front but Devika is not responding i added my OPENIA Key i use gpt3.5 and duckduckgo what is wrong ? thanks


configure file location of query files to avoid too many files in project root

Hi,
First things first, thank you for all the hard work on this project. It is a really cool toolset!
I just started implementing hot chocolate and strawberry shake in my Blazor SPA and right of the bat, i really want to move all graphql files into a separate folder, so that they're not all in the root folder. However i get an error when i move them out of the root folder.
my config:
{"Schemas":[{"Name":"Some","Type":"http","File":"Some.graphql","Url":"https://localhost:50001/graphql"}],"ClientName":"SomeClient"}

Is there any way to configure the berry.json so that documents in subfolders are included as query files?
If not it would be nice with an option in the json config file to specify the location of all of your query files.
Best
Frederik
versions:
Hot Chocolate 11.0.9
Strawberry Shake 11.0.0-preview.130

This appears to be resolved in newer versions of Strawberry Shake with the documents property in .graphqlrc.json. The default value **/*.graphql finds files in subfolders.
https://chillicream.com/docs/strawberryshake/get-started#step-4-add-a-graphql-client-to-your-project-using-the-cli-tools
The config file in this step shows the property.

@FrederikNygart  can you close the issue if it works in a newer version?


[Feature Request] Bookmark Assets API

Scenario
Hi, I am thinking of using a LLM to summerize the articles that I saved in Linkding.
Currently I am trying to do it with n8n:

Fetch the bookmark article from Linkding
Run its content through a LLM to summerize
Save the response as an asset back to Linkding

But I find out there's no APIs available to read and upload assets afaik
Requests

Modify the existing GET Bookmark APIs to expose the Asset IDs
New set of Bookmark Assets APIs:

GET - Retrieve asset metadata by ID, as showed in /admin/bookmarks/bookmarkasset/<ASSET_ID>/change/
GET - Retrieve asset data by ID, either raw content or file download
Extra if I can utilize the new reader-mode and optionally retrieve the content that has been processed
POST - Upload new asset to a bookmark
DELETE - Delete asset by ID, just for completeness

Please review and consider the implemention.
Thanks for the amazing works, especially the recently added features, I love the snapshot and reader mode.

Exposing a list of assets through the bookmark details, and then having an endpoint for downloading an asset by ID would probably be a good start. Contributing that shouldn't be too difficult if you're interested.
Regarding reader mode, converting the HTML into a readable article actually only happens in the browser when you open the reader view, so that content is not available on the server. Depending on which language you want to use for processing your bookmarks there is probably some similar library for extracting the readable content from an HTML document.


An interesting question, why aren't your official website and documentation pages made by Taipy?

We started the documentation and website setup before Taipy was fully released, making it unfeasible to depend solely on Taipy. We did contemplate redeveloping both the documentation and website with Taipy, but after weighing the benefits against the costs, it didn’t align with our priorities.
Furthermore, Taipy's primary strength lies in supporting web applications that emphasize data, visualization, pipelines, and machine learning. With Taipy, you can seamlessly construct a backend featuring Data Nodes and pipelines, which can be effortlessly integrated into your application's GUI.


uncss causing issues when building for production.

How can we reproduce this bug?
When css are injected via javascript.
What did you expect to happen?
That uncss identifies the aforementioned code in order not to remove it.
Test case:
I'm using Magnific Popup to add a lightbox effect. It uses some css classes which aren't present in the code from the beginning, but they're injected as the user interacts with the images.
This removes the classes from the final css output when running npm run build
I don't know if it's an expected behaviour or a bug; either way, I saw that uncss is also deprecated in favor of cleanCss.
Could this be the cause of the issue?

There's two things you can do:
You can whitelist the Magnific Popup classes, which means UnCSS will ignore them. If you're using the most recent version of the ZURB Template, these options are in the file config.yml. If you're using a slightly older version, those same settings are in your Gulpfile.
Looking at the class structure of Magnific Popup, they all start with .mfp-, so the ignore setting will look like this: ^\.mfp-.*
Your other option is to just remove UnCSS entirely since it can sometimes be a hassle ;)
Let me know if that helps!

Thank you for your help gakimball.
Last night I've figured out how to exclude certain classes by copying the regex expressions which were already defined in the gulp.js file.
I was making sure everything was working properly before post anything else about this issue.
Thanks again, I hope this could be of any help to somebody. :)


Doesn't seem to work, and command line parameters don't seem to work either

This is my error:

Starting MSEdgeDriver 94.0.992.38 (55a0a486d5c4c1a7374dc28a7be702fee43b3b39) on port 1307 Only local connections are allowed. Please see https://chromedriver.chromium.org/security-considerations for suggestions on keeping MSEdgeDriver safe. MSEdgeDriver was started successfully.
DevTools listening on ws://<IP_ADDRESS>:1310/devtools/browser/c4e7f6f6-46d3-447c-b26b-3ad231a6122f [29296:584:1001/203949.853:ERROR:fallback_task_provider.cc(119)] Every renderer should have at least one task provided by a primary task provider. If a fallback task is shown, it is a bug. Please file a new bug and tag it as a dependency of crbug.com/739782. [29296:26032:1001/203954.115:ERROR:chrome_browser_main_extra_parts_metrics.cc(250)] crbug.com/1216328: Checking default browser status started. Please report if there is no report that this ends. [29296:584:1001/203954.143:ERROR:profile_manager.cc(1057)] Cannot create profile at path C:\Users\NibblyPig\AppData\Local\Microsoft\Edge\User Data\Default [29296:584:1001/203954.143:ERROR:profile_manager.cc(2010)] Cannot create profile at path C:\Users\NibblyPig\AppData\Local\Microsoft\Edge\User Data\Default [29296:26032:1001/203954.176:ERROR:chrome_browser_main_extra_parts_metrics.cc(254)] crbug.com/1216328: Checking default browser status ended.

From what I can ascertain from the scant information on google you need to pass an argument. There's not really any documentation on how to do this but I tried the following:
static void Main(string[] args)
{
    var options = new EdgeOptions();

    var capabilities = new List<string>() {
        "profile-directory=c:\\temp\\edgedriver\\temp",
        "user-data-dir=c:\\temp\\edgedriver\\temp"
    };

    options.AddAdditionalCapability("args", capabilities.ToArray());

    var driver = new EdgeDriver(@"c:\temp\edgedriver", options);

    driver.Url = "https://www.google.com";
}

However it doesn't seem to register the command line parameters at all, if I go to edge://version/
I'm just fumbling around in the dark as I see all kinds of things like references to a UseChromium flag that doesn't seem to exist, and if I don't provide the path to the executable (which incidentally has the wrong name in the zip) it gives me an exception that has a URL to get the edge driver from which is a broken link.
It may be that this entire project is just legacy/deprecated and not maintained and is broken as that's what it feels like, but if anyone knows how I can simply have a console app in .NET 4.7.2 that opens a browser and goes to google using Edge it would be appreciated.

Hi @NibblyPig

I'm just fumbling around in the dark as I see all kinds of things like references to a UseChromium flag that doesn't seem to exist, and if I don't provide the path to the executable (which incidentally has the wrong name in the zip) it gives me an exception that has a URL to get the edge driver from which is a broken link.

Since the UseChromium flag seemd to be missing and the download URL link was wrong, it sounds like you may have been using the built-in classes from Selenium 3 instead of the ones from this repo. This would also explain why command line parameters weren't working.
Now that Selenium 4 is released, I recommend upgrading your tests. Selenium 4 supports Chromium-based Microsoft Edge and all of its available options without the need for this repo. We've recently updated our documentation that should help you get started: https://docs.microsoft.com/en-us/microsoft-edge/webdriver-chromium


add unit test for conn_pool.go and tx.go

What this PR does:
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?:

Codecov Report
Patch coverage has no change and project coverage change: +0.28 :tada:

Comparison is base (469394a) 35.78% compared to head (5da3fd6) 36.07%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #690      +/-   ##
==========================================
+ Coverage   35.78%   36.07%   +0.28%
==========================================
  Files         215      215
  Lines       23102    23102
==========================================
+ Hits         8267     8333      +66
+ Misses      13939    13843      -96
- Partials      896      926      +30

see 3 files with indirect coverage changes

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

Since it's been a long time, and it only affects the unit tests, I've merged it. Thanks!


Port ChunkAggregator middleware to fs2-cats

The existing version introspects the scalaz-stream (asInstanceOf[Halt]), which we can't do in fs2.

I'm happy to try and pick this up, given I've looked at some Chunk-wrangling recently

Great, I'll move it over on the board.

Closed By #1125


[DAO] Fix for votes not being persisted

This PR fixes a bug where votes were not correctly persisted in disk.
What to check: votes still show when wallet is restarted.

A new build of 5ff1f8f542ae0135a1eda8887d7ba7c33955d46d has completed succesfully!
Binaries available at https://build.nav.community/binaries/persist-abs-vote

Will need to test all vote types? or just payment request and proposals?

Will need to test all vote types? or just payment request and proposals?

Should be the same. The problem occurred to prodpeak where when he restarted a node, the abstain vote was removed. I could not replicate the issue so far and things are all looking good on my end.

Will need to test all vote types? or just payment request and proposals?

Should be the same. The problem occurred to prodpeak where when he restarted a node, the abstain vote was removed. I could not replicate the issue so far and things are all looking good on my end.

I see, I back read the convo in discord, looks like it might be an issue related to compiling/linking meaning it won't happen on all builds, might be good to have prodpeak check if he can still replicate this issue.

I could not replicate the issue on gitian builds, and could not replicate it on self built binary on Ubuntu 19.10

@aguycalled can we have prodpeak confirm this fixes the issue he had?

@aguycalled can you clarify how moving these declarations to the util.cpp/h  fixes the persistence issue?

@proletesseract variables were declared in dao.h but defined in util.cpp. libnavcoin_server_a_SOURCES includes dao.cpp/h but does not have util.cpp


Add recommendations for Docker under Mac

Thank you for your contribution to the IC Developer Portal.
Before submitting your Pull Request, please make sure that:

[ ] You have updated the .github/CODEOWNERS file according to your changes.
[ ] You have registered new documents to /sidebars.js if any.

I'm not sure if it's a good idea to link my bug because of Peter Maydell's response: "I'm completely confused. You have an aarch64 host (that's the M1 mac), and you're running qemu-system-aarch64 with the hvf accelerator, so that gives you an aarch64 VM (using hardware acceleration). So I have no idea at all where the x86-64 stuff is happening. I think you're going to have to give us a repro case that isn't tangled up with docker and whatever this 'nerdctl' thing is, something that just uses QEMU itself."
I had the feeling that Docker and qemu are blaming each other so I'm not sure we want to link some issues explicitly.

Would you also like to include https://github.com/lima-vm/lima?

I removed the link to the concrete bug now. colima uses lima under the hood, so I hope that it would work as well as lima, but I'm not sure - how did you go about using lima? Installing a Linux VM and then running docker build inside of that?

how did you go about using lima? Installing a Linux VM and then running docker build inside of that?

I used
$ lima nerdctl run -d --name nginx -p <IP_ADDRESS>:8080:80 nginx:alpine

from the README at https://github.com/lima-vm/lima if I remember correctly.


Fix created directories permission

WHY
WHAT
REF

Coverage remained the same at 62.808% when pulling 3cc265b1447eae5f73952373cc6ab40c8f418330 on izumin5210/create-dir-perm into 6ea9aa29a30e2472c9e887e0d01a16c5212a7e82 on master.


Add alpine coaster vehicle

This PR adds a vehicle for the alpine coaster, which is introduced in this other PR https://github.com/OpenRCT2/OpenRCT2/pull/16825. This shouldn't be merged before that one is.
I know there were issues with the performance of the other objects I submitted - this has a lot fewer images, less than the panda train that's already shipped with OpenRCT2, so I'm hoping it will be OK but I'm happy to put the sprites in G1 format if that is preferred.

If The vehicle is approved, i'll use it on a ride!

Could you share the pictures of the vehicle in 3D so that we can check if the vehicle is original enough?

Currently, this vehicle is not accepted unless we get permission from Wiegand to use their ride vehicle likeness.

@Gymnasiast will be contacting Wiegand to ask for permission

Just so this object can work with saving track designs, a dummy originalId field will be needed like with the single rail, hybrid, and classic mini coaster vehicle objects.

How much effort would it cost to keep the vehicle looking basically the same in the game (on pixel level) while changing up the model enough for it to not look too similar to Wiegand's design? I should barely need any changes since ADG and Techfun both have really similar designs to Wiegand

Hm, if they have very similar designs to Wiegand, it’s generic enough to merge it (like we did with the track). Do you have some examples of their designs?

The model presented here is still very much a recreation of the Wiegand vehicle, there're distinct differences between different manufacturers, so as long as this model can be distinct as well it would be fine to merge it, right now I don't believe that to be the case.

How much effort would it cost to keep the vehicle looking basically the same in the game (on pixel level) while changing up the model enough for it to not look too similar to Wiegand's design?

It's practically impossible to change the model significantly while making the sprites come out exactly the same, and if I managed to do that the resulting object would be identical to the current one, so I don't think it would change anything.
If I'd made a similar looking but inaccurate model and told them that was the one I used and never shared the real one, perhaps that would have worked - I'm not sure they could really tell from the sprites themselves. But it's too late for that now.
I had actually made a fictional alpine coaster vehicle before I made this one - but that one looks completely different.

As I have now been told, the copyright issue at hand does not lay with the pixel art. It lays with the model of the vehicle (which is also publicly available) for use for a later on high res graphics pack as well as for when new elements get added. I did do the suggestion it might be an idea that that doesn't become public but only stays in a private archive available for the devs, but I do not know how they feel about that. It would definitely remove the entire issue of the potential infringement.

@oli414 The differences between ADG and Wiegand are marginal. Both have a colourful sled with a backrest, a handle to grip, a handbrake, bumpers and lots of other stuff that make them look nearly the same. And if a real-life competitor is able to build such a similar-looking vehicle without any legal trouble, there is no reason why we couldn’t.

Especially since we ran it by Wiegand and they haven’t replied.

If they haven't replied then in my opinion we should assume a no. As per our own policy. Yes the differences are marginal, but also very obvious, if we just change the railing a bit, and the plastic body then we're absolutely fine.
Regardless of the similarities between manufacturers, there're still differences, and we should try to implement these differences in a similar way.

As per our own policy, we do not need to ask permission for generic designs. Under that rule, the Alpine Coaster track type was merged.

I don't believe we described that anywhere.
It still doesn't mean that we can copy a real life design 1:1 (Within the available resources to do so).

As per our own policy, we do not need to ask permission for generic designs. Under that rule, the Alpine Coaster track type was merged.

The alpine coaster track isn't generic, it's also modelled on the Wiegand version (and I said so in the PR for the track). The sprites might not be clearly recognizable due to the low resolution (though I don't think the vehicle really is either), but the model definitely is. The ADG version (which I wasn't aware of when I made this) has different shaped ties and four rails rather than 6.

That was my point: the track was deemed acceptable under the policy, so I don’t see why the same wouldn’t apply for the vehicle. Especially if even actual competitors can make such a similar vehicle.

Good morning, I have just received an answer on a messages @Gymnasiast and I sent to Wiegand.

This means they're giving green light! I'll make sure to print the entire email log to pdf later tonight.

All clear then, great that they have been able to reply to the request!

This is wonderful news!
@X123M3-256 Is the vehicle ready to merge, as far as you’re concerned?

@Gymnasiast Yes

Great! @oli414 can I merge this?

Wait, actually I think the spacing might need fixing, should only take a few minutes.

Got a notification about the spacing but looks like that wasn't an issue as the comment is now gone. @X123M3-256 could you share some screenshots of the vehicles in a few different colors (Even the bits that are typically black/grey). I'm at work atm so can't check it myself in game at the moment.
Just want to verify that the color representation is consistent like with the single rail coaster vehicle

@oli414

Just so this object can work with saving track designs, a dummy originalId field will be needed like with the single rail, hybrid, and classic mini coaster vehicle objects.

Good catch, I've fixed that.
@Gymnasiast do you want the ID changed to openrct2.ride.alpine_coaster to match the form of hybrid and single rail? If this is done, similar import code would be needed to not break parks that use the current version of the object.

Is the seat not recolorable?

@X123M3-256 Yes, please. I’ll make sure to add that code.

@Gymnasiast I've updated the ID.
@oli414 The seats are non remappable. I usually find that remappable seats don't look good -  and in this case I can't find a single IRL example where the seat is painted anything but black.
I prefer to use the secondary remap color for a stripe or something like that, but here there isn't really anywhere suitable, so I use just a single remap color. That said, vanilla vehicles almost always have two remap colors, even very small ones. And most do use the secondary remap for the seat color.
I think the unused color slots default to black, so this could potentially be changed without breaking backward compatibility, but so far I've never been happy with the results of making the seats remappable - it usually ends up that you have to pick specific color schemes to get adequate contrast, whereas I want my vehicles to look good with any color choice. This is not the case for the vanilla sprites, but I've never been able to get similar results. And in this case it doesn't seem that the seat is ever colored IRL.

With the next object release we do need to convert openrct2.ride.alp1 into openrct2.ride.alpine_coaster for all parks that currently use the ride unofficially.

Okay that's fine then, I'm happy then, colors look good @Gymnasiast


Port 8545

Checklist:

[x] Code contains relevant tests for the problem you are solving
[x] Ensure all new and existing tests pass
[x] Update any relevant READMEs and docs
[x] Submit to the develop branch instead of master

Description:
Runs Ganache on port 8545, the default port for Metamask
Should merge docs update in demo dapp at the same time: https://github.com/OriginProtocol/demo-dapp/pull/111

When I do npm run "test:contracts" I do see the tests run, but I also see the following errors before the tests:
network development
deploying listings
(node:52998) UnhandledPromiseRejectionWarning: Error: Contract has not been deployed to detected network (network/artifact mismatch)
    at /Users/dvf/Sites/origin/platform/node_modules/truffle-contract/contract.js:419:17
    at <anonymous>
    at process._tickCallback (internal/process/next_tick.js:118:7)
(node:52998) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:52998) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.


HBW-90 Add payload to widget's requests

Rename paylod to payload.

Updated

Updated with @TimAle edits

Updated

Updated

Updated

Updated


InventoryClickEvent

When anyone interacts with anything this happens
[17:11:01 ERROR]: Could not pass event InventoryClickEvent to EnchantmentsPlusMinus v1.6r-0
java.lang.NullPointerException: null
        at org.whyisthisnecessary.eps.visual.EnchantMetaWriter.getWrittenMeta(EnchantMetaWriter.java:132) ~[?:?]
        at org.whyisthisnecessary.eps.visual.EnchantMetaWriter.refreshItem(EnchantMetaWriter.java:275) ~[?:?]
        at org.whyisthisnecessary.eps.visual.EnchantMetaWriter.onInventoryClick(EnchantMetaWriter.java:284) ~[?:?]
        at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor224.execute(Unknown Source) ~[?:?]
        at org.bukkit.plugin.EventExecutor.lambda$create$1(EventExecutor.java:69) ~[patched_1.16.5.jar:git-Paper-465]
        at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:80) ~[patched_1.16.5.jar:git-Paper-465]
        at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[patched_1.16.5.jar:git-Paper-465]
        at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:607) ~[patched_1.16.5.jar:git-Paper-465]
        at net.minecraft.server.v1_16_R3.PlayerConnection.a(PlayerConnection.java:2540) ~[patched_1.16.5.jar:git-Paper-465]
        at net.minecraft.server.v1_16_R3.PacketPlayInWindowClick.a(SourceFile:32) ~[patched_1.16.5.jar:git-Paper-465]
        at net.minecraft.server.v1_16_R3.PacketPlayInWindowClick.a(SourceFile:10) ~[patched_1.16.5.jar:git-Paper-465]
        at net.minecraft.server.v1_16_R3.PlayerConnectionUtils.lambda$ensureMainThread$1(PlayerConnectionUtils.java:23) ~[patched_1.16.5.jar:git-Paper-465]
        at net.minecraft.server.v1_16_R3.TickTask.run(SourceFile:18) ~[patched_1.16.5.jar:git-Paper-465]
        at net.minecraft.server.v1_16_R3.IAsyncTaskHandler.executeTask(IAsyncTaskHandler.java:136) ~[patched_1.16.5.jar:git-Paper-465]
        at net.minecraft.server.v1_16_R3.IAsyncTaskHandlerReentrant.executeTask(SourceFile:23) ~[patched_1.16.5.jar:git-Paper-465]
        at net.minecraft.server.v1_16_R3.IAsyncTaskHandler.executeNext(IAsyncTaskHandler.java:109) ~[patched_1.16.5.jar:git-Paper-465]
        at net.minecraft.server.v1_16_R3.MinecraftServer.bb(MinecraftServer.java:1133) ~[patched_1.16.5.jar:git-Paper-465]
        at net.minecraft.server.v1_16_R3.MinecraftServer.executeNext(MinecraftServer.java:1126) ~[patched_1.16.5.jar:git-Paper-465]
        at net.minecraft.server.v1_16_R3.IAsyncTaskHandler.awaitTasks(IAsyncTaskHandler.java:119) ~[patched_1.16.5.jar:git-Paper-465]
        at net.minecraft.server.v1_16_R3.MinecraftServer.sleepForTick(MinecraftServer.java:1087) ~[patched_1.16.5.jar:git-Paper-465]
        at net.minecraft.server.v1_16_R3.MinecraftServer.w(MinecraftServer.java:1001) ~[patched_1.16.5.jar:git-Paper-465]
        at net.minecraft.server.v1_16_R3.MinecraftServer.lambda$a$0(MinecraftServer.java:174) ~[patched_1.16.5.jar:git-Paper-465]
        at java.lang.Thread.run(Thread.java:834) [?:?]

I am also getting a few errors relating to EnchantMetaWriter (from PlayerInteractEvent and InventoryOpenEvent), but I don't think the source is up to date here since the line numbers don't match up and there is no refreshItem function, (so @dsdd are you able to push the most recent code please).
Thanks, Steve

I am also getting a few errors relating to EnchantMetaWriter (from PlayerInteractEvent and InventoryOpenEvent), but I don't think the source is up to date here since the line numbers don't match up and there is no refreshItem function, (so @dsdd are you able to push the most recent code please).
Thanks, Steve

Yeah I am, I haven't updated it in a long time

Problem went over my head, didn't see the null check.
Just update to 1.6r-2


Teacher misconduct public flow

This is an updated post on the changes that have been made to the public flow for referring a teacher.
Context
Reduce the complexity and redundant questions needs for the members of public
Changes proposed in this pull request
Reduced the number of screens and information that needs to be submitted by a member of the public
Guidance to review
Spell check and any missing decisions that have been captured
Checklist

[ ] Attach to Trello card
[ ] Rebased master
[ ] Cleaned commit history
[ ] Tested by running locally

Content reviewed by Dan and ready to merge


Fixed build on MacOS.

add_recursive was also globbing the new ios .mm files and breaking the build. The ios mm files are included later on in the cmake file just for ios.
Tested new build with both MacOS and iOS build systems.

I don't understand why your code compiles in macOS.
Your change should cause src/OgreCommon/System/OSX/OSXUtils.mm to be no longer included in compilation, thus causing WindowContentViewHandle to be undefined.
What am I missing?

This is just in the case of building as a library. Building the demo already switched from add_recursive to glob a while ago, and those headers aren’t needed for the library.
I didn’t actually check the build on the demo (will try that later if needs be).

Ah! Now I remember.
In library mode I used the GLOB because the *.mm were only needed to build as a standalone sample.
While in the non-library mode build I used add_recursive because the *.mm were necessary for dealing with the app stuff.
This changed recently now that there were new *.mm files that were needed by the library.
I think the best solution will be to leave CMake scripts untouched and use #ifdef to comment all the code out of the *.mm that are wrongly added.

Had a go with this approach but it's worth noting that as this is building the library only we don't have access to any of Ogre's PLATFORM_APPLE_IOS and others. My experience with Apple's preprocessor definitions has been bad, I find them pretty jumbled like in this question and are unreliable. In my other project I ended up defining the macro in cmake as it drove me mad.
Do you know a better way to do this? Personally I still don't see why we can't remove the .mm files in cmake. I understand it might be troublesome to have to manually specify them afterwards but to me they'll probably be few and far between anyway.

Personally I still don't see why we can't remove the .mm files in cmake

I just hate CMake. But if you figure out the way to remove the files from SOURCES/HEADERS variables then that's great.
The problem with the opposite (adding *.mm files selectively) is that the other *.mm files come from OgreNext's Common samples and they may change in the future (i.e. add/remove files)

The library build was broken on MacOS because add_recursive was including .mm files meant for ios. I changed it to just a standard glob to fix it. You mention you don't want to add selective files but later in the code it does
(...)
which was added with your ios keyboard additions, i.e selectives files.

OK to clarify: There's multiple main folders:

Top Level (src + include). Contains a few files required to run as a demo
src/Android. Only used in Android apps, I only used/tested it when building Colibri as a library.
src/ColibriGui: It's controlled by us. Contains all Colibri's main code; it's needed both when building as a library or as a demo.
src/OgreCommon: Contains code that is automatically copied from Ogre-Next, contains code only needed to run as a demo.
I'm omitting the folders in the include path, but it follows a similar structure.

When building as a demo, we don't know what files will be added to src/OgreCommon; because the latest version of OgreNext may have changed the directory structure.
Therefore, indiscriminate add_recursive is needed that may add *.mm files.
When building as a library, we have full control of the ColibriGui; therefore we can do selective file inclusion.

However I've also found that adding
list(REMOVE_ITEM SOURCES "${PROJECT_SOURCE_DIR}/src/ColibriGui/iOS/Colibri_iOS.mm")
Solves the problem reliably as well. If you'd prefer that approach I'll update the PR.

Yes, that would be great!

Oh I forgot: Originally I wanted to keep both CMake codepaths to stay as similar as possible; it's just that I was in a hurry and the file GLOB + selective inclusion when building as a library was the quickest thing that came to mind and it just worked.

Updated the PR.
Now, perhaps I'm being dense (has happened before). According to the grep I did of the code base, add_recursive is only used twice, specifically only on the code paths where COLIBRIGUI_LIB_ONLY is true. The OgreCommon code is added like this:
	if( APPLE )
		file(GLOB_RECURSE MMSOURCES "src/OgreCommon/System/OSX/*.mm")
	endif()

when if( NOT COLIBRIGUI_LIB_ONLY ) is true (i.e building for the demo, right?)
So I don't quite understand how we arrived here, because to me it seems like one of us has muddled up where the add_recursive is getting called. To me it seems like it's only used in the library build which is contrary to what you're saying.
Regardless, according to my tests the current PR solves this issue, so do what you think is best.


It’s essential to deal with publishing permissions.

From ESDAC communication

Can be interpreted as: metadata records which do not advertise publication or usage permissons/constraints should be flagged


Rename this repo

This repo should be named hugo. Today, this repo was transfered from my personal GitHub org felicianotech to the cibuilds org. I doubt GitHub will maintain to levels of redirects to going to wait a few weeks for people to point to the new org before I then rename this.
For the curious, this is the transition:
felicianotech/docker-hugo -> cibuilds/docker-hugo :: today
cibuilds/docker-hugo -> cibuilds/hugo :: 2 weeks from now? Maybe more.

This was done while ago now.


When unblocking the UI wait cursor doesn't go away on IE 10

Ref: the same in https://github.com/malsup/blockui/issues/59
Workarround:
add in css:
.block-ui-active-cursor-default > .block-ui-container {
cursor: default;
}
modify in js
$scope.$watch('$_blockUiState.blockCount > 0', function (value) {
$element.toggleClass('block-ui-active', !!value);
$element.toggleClass('.block-ui-active-cursor-default', !value);
});

Sory. my workarround doesnt work :(

Any update on this issue?

ANy Update? Facing same issue in IE 11 as well.


Refactor and reindent to avoid linter warnings/errors.

This commit fixes these linter errors:
jsonpickle/unpickler.py:8:1: F401 'base64' imported but unused
jsonpickle/compat.py:15:5: F401 'Queue as queue' imported but unused
jsonpickle/compat.py:16:21: F821 undefined name 'basestring'
jsonpickle/compat.py:17:34: F821 undefined name 'long'
jsonpickle/compat.py:18:12: F821 undefined name 'unicode'
jsonpickle/compat.py:19:5: F401 'base64.encodestring as encodebytes' imported but unused
jsonpickle/compat.py:20:5: F401 'base64.decodestring as decodebytes' imported but unused
jsonpickle/util.py:22:1: F401 '.compat.string_types' imported but unused
jsonpickle/util.py:216:17: E128 continuation line under-indented for visual indent
jsonpickle/util.py:217:17: E127 continuation line over-indented for visual indent
jsonpickle/handlers.py:222:81: E501 line too long (83 > 80 characters)
jsonpickle/pickler.py:8:1: F401 'base64' imported but unused
jsonpickle/pickler.py:192:81: E501 line too long (106 > 80 characters)
jsonpickle/pickler.py:406:46: E128 continuation line under-indented for visual indent

Sweet, thanks!  I got a merge conflict when merging this last part, but I think I resolved it correctly.  Let me know if I missed something.  cheers


[Snyk] Fix for 1 vulnerabilities

This PR was automatically created by Snyk using the credentials of a real user.Snyk has created this PR to fix one or more vulnerable packages in the `yarn` dependencies of this project.
Changes included in this PR

Changes to the following files to upgrade the vulnerable dependencies to a fixed version:

apps/pie-storybook/package.json

Note for zero-installs users
If you are using the Yarn feature zero-installs that was introduced in Yarn V2, note that this PR does not update the .yarn/cache/ directory meaning this code cannot be pulled and immediately developed on as one would expect for a zero-install project - you will need to run yarn to update the contents of the ./yarn/cache directory.
If you are not using zero-install you can ignore this as your flow should likely be unchanged.

⚠ Warning
Failed to update the yarn.lock, please update manually before merging.

Vulnerabilities that will be fixed
With an upgrade:

Severity
Issue
Breaking Change
Exploit Maturity

Server-side Request Forgery (SSRF) SNYK-JS-IP-6240864
Yes
Proof of Concept

Check the changes in this PR to ensure they won't cause issues with your project.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
🛠 Adjust project settings
📚 Read more about Snyk's upgrade and patch logic

Learn how to fix vulnerabilities with free interactive lessons:
🦉 Server-side Request Forgery (SSRF)

Closing because we're not going to downgrade the components on storybook


Change some metric names

Following discussion of f41d9d9

Sounds like this qualifies as a breaking change, though it would be a shame bumping the major version just for this. What about inactivating the current 1.0.0 package from nuget and release these changes as 1.1.0?

Fine by me.

Are you happy to integrate this @andrasm?

right - merged + pushed to nuget as v1.1


error installing webstorm package

ubuntu@pi64:~$ nix-env -iA nixpkgs.jetbrains.webstorm
installing 'webstorm-2020.1.3'
these derivations will be built:
  /nix/store/8vjgdjaldpdra9yw9dpb077rmf3fb9yi-webstorm-2020.1.3.drv
building '/nix/store/8vjgdjaldpdra9yw9dpb077rmf3fb9yi-webstorm-2020.1.3.drv'...
unpacking sources
unpacking source archive /nix/store/m16z3x4081slr02sq46q2zzi5ns31wgg-WebStorm-2020.1.3.tar.gz
source root is WebStorm-201.8538.32
setting SOURCE_DATE_EPOCH to timestamp<PHONE_NUMBER> of file WebStorm-201.8538.32/product-info.json
patching sources
strip: Unable to recognise the format of the input file `bin/fsnotifier'
builder for '/nix/store/8vjgdjaldpdra9yw9dpb077rmf3fb9yi-webstorm-2020.1.3.drv' failed with exit code 1
error: build of '/nix/store/8vjgdjaldpdra9yw9dpb077rmf3fb9yi-webstorm-2020.1.3.drv' failed

system: raspberryPi 4 8GB, ubuntu 20.04.1 LTS
nix (Nix) 2.3.7

exact same error with phpstorm

sample problem with gateway


Lock ability to create new fields

Is it possible to freeze new field creation via dot access without freezing the underlying fields to be immutable?

I was actually thinking of this in a different way earlier this week. From the standpoint of having a Schema that a box had to adhere too. I personally decided against it as the best schema validation tool I know of for this would be jsonschema and it really has such simple operation it makes more sense to use it by itself than incorporate it into box.
However that is an interesting way to go about it is just not allowing more fields after initial creation. So the question then would be what about sub boxes, would they by default also be non-mutable, but their valuables be mutable? and then you could just upright replace a sub-box with a new one with different keys.

Well, perhaps I'm not thinking about this properly :)
I'm inheriting from Box to create a subclass - MLBox - which is of a specific type. So, for the sake of argument, let's say I want to do the following (forgive the hacky code):
ml_dict = { 'schema': 'model_schema', 'framework': 'tensorflow', 'version':'2.0', 'model_package': { 'URI': 'https://s3.amazon.com/somebucket/model.pkl', 'model_sha': 'ea4963009b2c0f5b476984e024cbe66f5a8355d0'} }

# For a bunch of reasons, I need to split the instantiation of the Box from the setting of the dict from the loading of the dict
my_model_object = MLBox()

# Builds the empty schema - so all the keys above but set to "None"
my_model_object.set_schema('0.0.1', 'model_schema')

# Below works
my_model_object.framework = 'foo'

# Should throw keyerror, not create a new field
my_model_object.bar = 'qaz'

# below will overwrite anything already in the box
my_model_object.load(ml_dict)

Does this make sense?
As an aside, is there a blessed way to set all the fields AFTER the box has been instantiated? Or I'm just using self.merge_update(ml_dict) inside the .load(dict) function above, which feels fine, but wanted to make sure.

That sounds like a reasonable way to approach it. It is not something outside the realm of possible, but would probably be a heavy addition / it's own inherited box type (like how ConfigBox or SBox are currently). Will admit not a high priority item myself, but would welcome PRs for it.
To achieve a similar thing now, I would still suggest using jsonschema so you could make said schema as you defined, and then before wherever the my_model_object will be used do a validate against it to make sure it's sane first.
As far as updating or setting fields the goal of Box is to be a pure dict drop in, so any of those methods should work as expected. Then merge_update is a "kinder" update that will merge sub Boxes/dicts together instead of overwriting what is already there. So that is more of a design choice. So yes, if that is the goal, that sounds like a good choice to me.

Sounds good! Do you want me to leave this open as an enhancement?
And so, to be clear, is there anything I can do to allow for the freezing just of new field creation? (e.g. is there a method I should subclass in order to do this? or is it effectively impossible)?

Yes please leave it open as an idea.
Easiest way I can think of would be to subclass box and the __setitem__ method to do a check of
if key in self:
    raise BoxError("Cannot create new fields")

Just saying. Use Pydantic. It accepts dicts as input, parses as your intent and has configuration. I liked the idea of dict accessible with dot notation. It is now try to be pydantic.


support older version

Hello
Is it possible to make support for version 1.16.5?

Hello, there has been too many changes related to the structure of NMS between 1.16 and 1.17 to make it easy to keep multiple versions support. Hence, no, sorry!


improve unit tests; add utilities to test read_input

this includes the following features.

enable to make a dummy input file.
add a test code for unit conversion
make test/util directory and put utilities to there

Some additional works are required because of the rearrangement in #18 .


Additional font configurations, handling commas, units and using attribute for display

PR for the following issues:
Units of meausrement
Handling commas
Using attribute instead of state
Support font_family
Support text_shadow
I am not a web dev (C++) so hopefully I didn't botch these too bad :)

Thanks for the PR, just a couple comments. I can try to update this when I have time, but feel free to update yourself if you want to. My biggest concern is with having a separate config option for each style. This way we would have to add a new option for every style someone might want to use. I prefer to follow the way picture-elements does it and just allow people to add any style they want and apply them all. Then we can remove the font_color option as well

I think that is a solid plan. I am on vacation for the next week so won't be able to touch it till at least next weekend.

I believe I have addressed all your concerns. Let me know if there is anything more I can do! Thanks.

Thanks for updating this. I am good with most of this other than globally replacing commas as they mean different things depending on where you are in the world. Do you have an example of a platform that returns a numerical value as a string with separators?

Side note; this card is working great for me:
https://imgur.com/a/8jB0CPx

Wow that looks awesome. Good work. I'm glad someone is getting some use out of this 🙂

I believe this change should satisfy the "issue" with numeric strings

Ugh, you're right.

I don't think this sensor is alone though. Could check if float or int
function isInt(n){
    return Number(n) === n && n % 1 === 0;
}

function isFloat(n){
    return Number(n) === n && n % 1 !== 0;
}

https://stackoverflow.com/questions/3885817/how-do-i-check-that-a-number-is-float-or-integer
I imagine as the history graph has values for these values, something similar is done there as well.
Regardless, I'm going to back this off again and you can merge it and I'll just use template sensors for now.

Okay sounds good. I'm sure we could come up with a way to coerce the string values, but I think that ignores the bigger problem of sensors returning strings where there should be numbers

Absolutely. I'm off onto bigger and better things now...like the reason I need to track things with my Fitbit: https://imgur.com/a/T1bb6RH


Add Cell Count - KidneyOrganoidsBioprinting

Make sure Cell Count is both in Ingest and Staging area
Add cell count and export
https://contribute.data.humancellatlas.org/projects/detail?uuid=8787c238-89ef-4636-a57d-3167e8b54a80
Acceptance criteria for the task:

[ ] Cell count is present in ingest

I added the cell count.
The submission needs updating so that the process ids associated with the sequence files are the run accessions as opposed to the experiment accessions. I made these changes in ingest by downloading, editing then reimporting the spreadsheet, but I understand that ingest is not able to update submissions where the linkings of files to process ids has changed. Here is the project, now in graph invalid status: https://contribute.data.humancellatlas.org/submissions/detail?uuid=2552985f-707a-46dd-bf8a-3c88721d8109&project=8787c238-89ef-4636-a57d-3167e8b54a80

@idazucchi please get in touch with @ami-day if you think this is possible.. and leave a note here what the outcome is.

Investigating with @idazucchi now. We seem to be able to add new biomaterials or processes in ingest staging and not in ingest production, we have asked the devs if it was pushed to production.
If we go down this route, it will take some time to add all the new process ids manually, link them to the sequence files, and delete the incorrect process ids i.e. to update the dataset manually. Ideally we could do this in bulk via spreadsheet import. As we discussed earlier, I will create a ticket in dev for bulk updates be made possible in this way.

the add process button is now displayed correctly in ingest and the linking issue can be addressed

@ami-day is going to look this ticket today.

We need a bulk update process to do this - it is working on and off with glitches and cannot be done manually for datasets with >10 sequencing processes. Moving to stalled.

This is a very complicated update.
It's not about automation but the original dataset needs to be reconstructed from scratch if we want to update this dataset.
Processes were created and deleted, and UUIDs were not preserved. There is no easy way to update this project, so I can propose:

Create a ticket to put this dataset back in an updatable status (For the future, when capacity) and apply the changes above
For now, just export project metadata (Which is the purpose of this ticket)

Also, I have a spreadsheet with the correct linkings, which should probably be used to update the project at some point:
https://app.zenhub.com/files/261790554/812db3b9-ae98-4d7d-8462-d5d7c0ad0790/download

This ticket will be used for the actual task of reconstructing the dataset, for the operational fix to fill out the cell count please refer to https://app.zenhub.com/workspaces/operations-5fa2d8f2df78bb000f7fb2b5/issues/gh/ebi-ait/hca-ebi-wrangler-central/1022

https://app.zenhub.com/workspaces/dataset-wrangling-status-5f994cb88e0805001759d2e9/issues/gh/ebi-ait/hca-ebi-wrangler-central/376 is the original ticket - It has a lot of info, so let's keep that one


CApi: move callbacks to the separate configuration object

Also, modify signature of onNewConnection - ConnectionInfoC may be writable (on Windows and Android).

core/pull-requests/468


[Suggestion] It would be better if the "Delete Function..." command's state matches portal when right clicking a function to check the context menu

OS: Win10
Build Version: 20211115.7
Regression: Not a regression
Repro Steps:

Create a Python function app with Linux OS -> Deploy a Python project to it.
Open the Python function app in Portal -> Functions -> Select a function -> The "Delete" button is not optional.

Expand the Python function app in VS Code -> Expand the "Functions" node -> Right click the function -> Select "Delete Function..." command.
Check whether the "Delete Function..." command can be executed in the context menu.

Actual:
The "Delete function..." can be executed in the context menu.

Suggestion:
It would be better if the "Delete Function..." command's state matches portal.

Do you know why you aren't able to delete the Function?  That seems odd to me.  Is it because it is your only function trigger in this Function App?

Okay, looked into this.  We flag Function apps that have "WEBSITE_RUN_FROM_ZIP" to be read-only.  It seems like Python functions should also be considered read-only.  If you try to delete it through the extension, it appears successful, but the function was actually not deleted.


Update README.md

Description
Changes proposed in this pull request:

...
...
...

Related issue(s)

@suleymanakbas91: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

pre-rel08-kyma-tests-acceptance
189e902928af89aa4f5d8109dc5e81d522c7d1cf
link
/test pre-rel08-kyma-tests-acceptance

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

/test pre-rel08-kyma-tests-acceptance

@suleymanakbas91: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

pre-rel08-kyma-tests-acceptance
189e902928af89aa4f5d8109dc5e81d522c7d1cf
link
/test pre-rel08-kyma-tests-acceptance

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


Ports of length 5 are not recognized properly

If a remote's port has a length longer than 4, all the excess digits get appended to the URL.
The port is completely cut. Ports can be five digits long.

Thanks for the PR, I will release your tonight.

Released.


chore: Enable TreatWarningsAsErrors by adding this property to src/Directory.Build.props file

This PR adds the TreatWarningsAsErrors property to all projects located at ..\aws-dotnet-deploy\src
https://sim.amazon.com/issues/DOTNET-5004

Did we merge other PRs those add TreatWarningsAsErrors to csproj?

Did we merge other PRs those add TreatWarningsAsErrors to csproj?

I closed the previous PR and created this new one.


[BUG]docker daemon panic frequently with those logs

Description

Steps to reproduce the issue:

run docker containers with overlay network
2.a period of time

Describe the results you received:
docker daemon panic with those logs
panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xb code=0x1 addr=0x58 pc=0x883324]

goroutine 1037049 [running]:
github.com/docker/libnetwork.(*sandbox).execFunc(0xc8205072c0, 0xc82134e150)
        /usr/src/docker/vendor/src/github.com/docker/libnetwork/sandbox.go:426 +0x44
github.com/docker/libnetwork.(*resolver).ServeDNS(0xc8214c1560, 0x7fa0227b94a0, 0xc821c11a40, 0xc822090870)
        /usr/src/docker/vendor/src/github.com/docker/libnetwork/resolver.go:317 +0x65a
github.com/miekg/dns.(*Server).serve(0xc8203e8ea0, 0x7fa0207581f0, 0xc821848090, 0x7fa022805f00, 0xc8214c1560, 0xc820ac1e00, 0x2e, 0x200, 0xc8205234a0, 0xc821eea4a0, ...)
        /usr/src/docker/vendor/src/github.com/miekg/dns/server.go:535 +0x7c1
created by github.com/miekg/dns.(*Server).serveUDP
        /usr/src/docker/vendor/src/github.com/miekg/dns/server.go:489 +0x3d5

Output of docker version:
1.11.2

Output of docker info:
Containers: 10
Images: 16
Server Version: 1.11.2
Storage Driver: aufs
 Root Dir: /var/lib/docker/aufs
 Backing Filesystem: extfs
 Dirs: 139
 Dirperm1 Supported: false
Logging Driver: json-file
Kernel Version: 3.13.0-32-generic
Operating System: Ubuntu 14.04.4 LTS
CPUs: 4
Total Memory: 3.859 GiB
Name: c0d022eb9e85f49c7bd-node23
ID: SPV3:YHX5:54NC:N3ZJ:F3WT:4J4:6EYT:EUGN
WARNING: No swap limit support
Cluster store: etcd://xxx:2379/eb9e85f49be8b8a20910ec1c7bd
Cluster advertise: <IP_ADDRESS>:2376

ping @sanimej

@BSWANG  Would you be able tory 1.1 2.2  ? In 1.12 the UDP connection caching was removed. So this part of the code has changed since 1.11.2.

This will anyway be fixed by https://github.com/docker/libnetwork/pull/1556


Translate Readme into Indonesian

I manually translate the Readme into Indonesian (README.id.md) in mostly formal language (some words still in English because it's tech related and many developers more familiar with English terms). Already check twice but please let me know if there is some improvement needed.

Looks good to me, good job!


bower install does not install the correct version

I changed the required version of ember from "~1.0.0" to "~1.1.0" to trigger an update of ember, but bower install doesn't upgrade the already installed ember. I would expect bower to install the latest ember 1.1.x like npm or bundler as ember 1.0.x doesn't match "~1.1.0".
Bower: 1.2.7
Node: v0.10.21
bower.json
{
  "name": "xy",
  "dependencies": {
    "ember": "~1.1.0"
  }
}

Reproduce by creating a bower.json, lock ember to ~1.0.0, run bower install and change the required version to ~1.1.0.

I'm also having this issue with Angular and UI Bootstrap.
I switched to bower update because of it.


Options validation question

Maybe I'm misunderstanding the point of validation, but, as the provider of a library, what I would like is to supply some validation for my options class that gets run automatically, every time someone configures one of those options. Is that possible? Having to rely on the user of my library to validate the options seems like a failure waiting to happen. (Maybe that's what IValidateOptions<TOptions> is for? But if it is then I fail to understand how to use it correctly.)

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: ed39cb0e-aa85-8bba-ffb4-859b56a60723
Version Independent ID: dc7e3449-650b-d117-5eac-69e5ccb250cb
Content: Options pattern in ASP.NET Core
Content Source: aspnetcore/fundamentals/configuration/options.md
Product: aspnet-core
Technology: aspnetcore-fundamentals
GitHub Login: @guardrex
Microsoft Alias: riande

Hello @breggles ... Yes, that's exactly what options validation can do. Although the example in that section isn't in the sample app, it should be fairly straightforward. Consult with devs on a support channel for further implementation guidance. We're rather overwhelmed with documentation work and just don't have the staffing to field general support requests ...

Stack Overflow
ASP.NET Core Slack
ASP.NET Gitter

Fair enough, although I'd argue that the documentation could be more helpful in this area.


Contact Form

Simple form for users to contact an admin or<EMAIL_ADDRESS>Could incorporate feedback, requests for enhancements, inquiries about promoted content (with paypal api?).

That could make for a cool package or add-on, but it's probably out of the scope of Telescope itself, sorry :(


Translate

I have translated Bifrost into Russian.

I've cherry-picked the first commit to avoid conflicts with the second commit.


Stereo mics cause infinite loop in get_config()

Took me a bit to track down, but if your mic is stereo-only, config.rs's get_config() has a while config.channels() != 1 infinite loop

Hey, apologies, I just saw this when I was cleaning up the crate.
I don't have access to a stereo mic, but may you please check if 9d139f909995d04cde1681e2e09f05baa61dfec0 addresses it?


refactor: add better submodule and error handling

BREAKING CHANGE: new dependencies and full rewrite

:tada: This PR is included in version 1.0.49 :tada:
The release is available on:

GitHub release
npm package (@latest dist-tag)

Your semantic-release bot :package::rocket: