Add Safety section if @safety YARD tag is written in Cop class

Auto-correct Lint/AmbiguousRange
Summary
Auto-corrected Lint/AmbiguousRange.
Details
Lint/AmbiguousRange

This cop checks for ambiguous ranges.
Ranges have quite low precedence, which leads to unexpected behavior when
using a range with other operators. This cop avoids that by making ranges
explicit by requiring parenthesis around complex range boundaries (anything
that is not a literal: numerics, strings, symbols, etc.).
This cop can be configured with RequireParenthesesForMethodChains in order to
specify whether method chains (including self.foo) should be wrapped in parens
by this cop.
NOTE: Regardless of this configuration, if a method receiver is a basic literal
value, it will be wrapped in order to prevent the ambiguity of 1..2.to_a.
Safety
The cop auto-corrects by wrapping the entire boundary in parentheses, which makes the outcome more explicit but is possible to not be the intention of the programmer. For this reason, this cop's auto-correct is unsafe (it will not change the behavior of the code, but will not necessarily match the intent of the program).
Examples
# bad
x || 1..2
(x || 1..2)
1..2.to_a

# good, unambiguous
1..2
'a'..'z'
:bar..:baz
MyClass::MIN..MyClass::MAX
@min..@max
a..b
-a..b

# good, ambiguity removed
x || (1..2)
(x || 1)..2
(x || 1)..(y || 2)
(1..2).to_a

RequireParenthesesForMethodChains: false (default)
# good
a.foo..b.bar
(a.foo)..(b.bar)

RequireParenthesesForMethodChains: true
# bad
a.foo..b.bar

# good
(a.foo)..(b.bar)

Note
This pull request was generated by rubocop_todo_corrector.

The comment above is an example output from:
bundle exec rubocop_todo_corrector describe --cop-name Lint/AmbiguousRange


add call to mesosphere-dnsconfig if installed

Adds a nonintrusive patch that will call mesosphere-dnsconfig if mesosphere-dnsconfig is installed on the system.

:100:


Something went wrong - web parts

Category

[X ] Question
[ ] Bug
[ ] Enhancement

Expected or Desired Behavior
Web parts are not loading as expected.
I have deployed the starter kit as instructed. When the web page loads, I get multiple something went wrong messages on the custom web parts.
Observed Behavior
The error messages references to https certificates.
SPLoaderError.loadComponentError]:
***Failed to load component "4f87b698-f910-451f-b4ea-7848a472af0f" (pnpWorldTime).
Original error: ***Failed to load URL 'https://publiccdn.sharepointonline.com/[Tenant name].sharepoint.com/sites/appcat/ClientSideAssets/3624777a-337d-4b34-8384-5ab774c069aa/solution-worldtimewebpartstrings_en-us_43c772cfafa761c2ba62e49cee712b3b.js' for resource 'WorldTimeWebPartStrings' in component '4f87b698-f910-451f-b4ea-7848a472af0f' (pnpWorldTime). There was a network problem.
This may be a problem with a HTTPS certificate. Make sure you have the right certificate.
***INNERERROR:
***Failed to load URL 'https://publiccdn.sharepointonline.com/[Tenant name].sharepoint.com/sites/appcat/ClientSideAssets/3624777a-337d-4b34-8384-5ab774c069aa/solution-worldtimewebpartstrings_en-us_43c772cfafa761c2ba62e49cee712b3b.js' for resource 'WorldTimeWebPartStrings' in component '4f87b698-f910-451f-b4ea-7848a472af0f' (pnpWorldTime). There was a network problem.
This may be a problem with a HTTPS certificate. Make sure you have the right certificate.
***CALLSTACK:
t@https://spoprod-a.akamaihd.net/files/sp-client-prod_2018-06-08.007/sp-pages-assembly_en-us_17eeb54eb455f1d2680d2ddff54b1859.js:656:15779
t@https://spoprod-a.akamaihd.net/files/sp-client-prod_2018-06-08.007/sp-pages-assembly_en-us_17eeb54eb455f1d2680d2ddff54b1859.js:1401:22637
t@[native code]
buildErrorWithVerboseLog@https://spoprod-a.akamaihd.net/files/sp-client-prod_2018-06-08.007/sp-pages-assembly_en-us_17eeb54eb455f1d2680d2ddff54b1859.js:1401:14557
https://spoprod-a.akamaihd.net/files/sp-client-prod_2018-06-08.007/sp-pages-assembly_en-us_17eeb54eb455f1d2680d2ddff54b1859.js:1401:65144
promiseReactionJob@[native code]

This already has been described and closed in #25

Closing as addressed via issue #25


Weights Initialization naming issue

Hello, once again thank you for sharing this amazing model, it is much better all I tested before.
I think there is an issue for pre-trained model initialization during testing.
I use this line:
mim test mmsegmentation configs/sen1floods11_config.py --checkpoint /my_path/checkpoint/sen1floods11_Prithvi_100M.pth --eval "mIoU"
And I got:
unexpected key in source state_dict: neck.fpn1.0.weight, neck.fpn1.0.bias, neck.fpn1.1.ln.weight, neck.fpn1.1.ln.bias, neck.fpn1.3.weight, neck.fpn1.3.bias, neck.fpn2.0.weight, neck.fpn2.0.bias, neck.fpn2.1.ln.weight, neck.fpn2.1.ln.bias, neck.fpn2.3.weight, neck.fpn2.3.bias, decode_head.conv_seg.weight, decode_head.conv_seg.bias, decode_head.convs.0.conv.weight, decode_head.convs.0.bn.weight, decode_head.convs.0.bn.bias, decode_head.convs.0.bn.running_mean, decode_head.convs.0.bn.running_var, decode_head.convs.0.bn.num_batches_tracked, auxiliary_head.conv_seg.weight, auxiliary_head.conv_seg.bias, auxiliary_head.convs.0.conv.weight, auxiliary_head.convs.0.bn.weight, auxiliary_head.convs.0.bn.bias, auxiliary_head.convs.0.bn.running_mean, auxiliary_head.convs.0.bn.running_var, auxiliary_head.convs.0.bn.num_batches_tracked, auxiliary_head.convs.1.conv.weight, auxiliary_head.convs.1.bn.weight, auxiliary_head.convs.1.bn.bias, auxiliary_head.convs.1.bn.running_mean, auxiliary_head.convs.1.bn.running_var, auxiliary_head.convs.1.bn.num_batches_tracked
Is it something because of using MMCV? Could you please explain how to modify keys in checkpoint so weights load correctly?
I have the same problem with weights even after finetune.

Nevermind.
It is triggered by ViT. Thats correct

Nevermind. It is triggered by ViT. Thats correct

Do you how to fix this? Thanks


merge package from arlac77/npm-package-template

.travis.yml

chore(travis): add node versions -10
chore(travis): remove<EMAIL_ADDRESS>from notifications.email

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


What is JSONRawMessage type?

I want to use this repo
I don't know how to deal with JSONRawMessage type. The code in the model is
// JSONRawMessage JSONRawMessage represents a json.RawMessage that works well with JSON, SQL, and Swagger.
//
// swagger:model JSONRawMessage
type JSONRawMessage interface{}

What is actually there? Can I be sure that there is json.RawMessage in the interface? Why not use that instead of empty interface?

I see the documentation is from sqlxx.JSONRawMessage, which uses json.RawMessage as underlying type
but not sure what I get here in this code

That's just how OpenAPI generator currently works unfortunately. It might improve as we move to a new pipeline but for now we can't really change this, sorry!

that's OK. But what exactly is stored in the interface?

An arbitrary JSON string, e.g. [], {"foo":true}, null, ...

so it is a string, not json.RawMessage? Thx.

No, it is the result of this: https://golang.org/pkg/encoding/json/#Unmarshal

That makes me even more confused :D that has error as result and []byte, interface{} as parameters.
I will actually try that though instead of talking here


Code changes before renaming the project

Once merged, I'll rename the project and update all the environments.

@geneh,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot

Addressing https://github.com/Microsoft/crawler-dashboard/issues/14


fix: Fix crash on passing invalid mark option to category slider widget

Fixes #23228
Steps to Repro:

Dnd Category Slider Widget
Toggle JS Mode in options field
Enter [[]]
Observe the crash

Expected behavior : The widget shouldn't crash

/build-deploy-preview env=release

/ok-to-test sha=0cc7198

Tested this PR and LGTM


Android Native: The bottom half of the camera doesn't work (i.e. shutter, flash and file upload buttons)

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: Android 9.0.24
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: @jliexpensify
Slack conversation: https://expensify.slack.com/archives/C05LX9D6E07/p1724402419158759
Action Performed:
Break down in numbered steps

Click on "Submit expense"
Camera opens and "you need to give permissions" is shown
Click on "Continue" and notice nothing happens
Go to Android camera settings and give permissions to Expensify app
Permissions screen disappears
Click on shutter, flash and upload file buttons - nothing happens

Expected Result:
Describe what you think should've happened
Shutter, flash and file upload buttons are responsive
Actual Result:
Describe what actually happened
They are not
Workaround:
Can the user still use Expensify without this being fixed? Have you informed them of the workaround?
Platforms:

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

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

Screenshots/Videos
Add any screenshot/video evidence

View all open jobs on GitHub

Hanno from Margelo here, who build the used react-native-vision-camera library. Feel free to assign me 👋

I can reproduce. Perhaps the bug is within the permission logic that occurs before the camera is launched.

Yes, thats likely. We are using a very outdated version of rn-vision-camera and I believe this has been fixed already. I am currently looking in upgrading rn-vision-camera!

what phone model + android version are you using @Julesssss ?

Just edited my comment. Pixel 8a, Android 14

Regression was introduced in:

https://github.com/Expensify/App/pull/47418

looking into a fix within react-native-pager-view now…

(So its not a bug in react-native-vision-camera / an android 14 permission issue!)

The issue was already reported in the library here:

https://github.com/callstack/react-native-pager-view/issues/836#issuecomment-2303983097

I found the same fix as the library maintainer. Will propose a patch PR until this is fixed in the library!

FYI: We reverted the library upgrade in the meantime, to fix 3 blockers and unblock the deploy.

@cristipaval @hannojg @muttmuure @Julesssss the camera is working again!

Please assign me to the issue as I am C+ on the PR @Julesssss

Done

@cristipaval @hannojg @muttmuure @Julesssss the camera is working again!

Hooray!


ImportError: cannot import name certs

When using Requests in a very basic function, it won't even start as it can't load "certs"
import requests
import django.utils.simplejson as json

def getFeed(user_id):
  jsonURL = "https://feed.whatever.net/json"
  resp = requests.get(jsonURL)
  result = json.load(r.json())

  import pdb; pdb.set_trace()
  return result

I get
File "/home/vagrant/dev/python/team-calendar/team_calendar/calendar/json.py", line 1, in <module>
    import requests
  File "/home/vagrant/.virtualenvs/teamcalendar/local/lib/python2.7/site-packages/requests/__init__.py", line 58, in <module>
    from . import utils
  File "/home/vagrant/.virtualenvs/teamcalendar/local/lib/python2.7/site-packages/requests/utils.py", line 24, in <module>
    from . import certs
ImportError: cannot import name certs

We started seeing this with 2.6.0 this morning in our CI (codeship), and only in the CI. All tests are failing for us now because of this.
[... snip lots of lines from the pytest/django unit test machinery ...]
File "/home/rof/.virtualenv/local/lib/python2.7/site-packages/requests/utils.py", line 25, in <module>
from . import certs
ImportError: cannot import name certs

Tests were passing just fine until they didn't. No idea what caused it yet, we haven't changed anything. :confused:

@bochecha Nothing breaks without a change. Something in your environment has changed. There are a few options:

Your code has changed. The Python import system is fragile and weirdly global. To work this out, do a binary search through your commits until you can find the breakage. The advantage of this is that it should be easily reproducible on more or less any system.
Your dependencies have changed. You appear to have pinned Requests: have you pinned everything else? Check whether any of your dependencies have pushed updates recently.
Your OS has changed. Do you control your OS image on Codeship?

Basically: code that is exactly the same doesn't just magically change. Given that the one thing you definitely haven't changed is Requests, I think it's safe to say that Requests should not be the first place you look for problems. =D

So I do have one real question: where are you getting your deps from? PyPI, or from your OS?

So I do have one real question: where are you getting your deps from? PyPI, or from your OS?

Most of them from PyPI, there is only one coming from a private github repo that we haven't modified since 2015.

Anyway, I finally found the culprit.
Now for the details...
Our deps are pinned, and it seems nobody ever updated them before I joined the project. So we have an old requests 2.6.0.
All the runtime deps are pinned, but not the development ones. One such unpinned dependency is pytest.
With pytest 2.9.2, the tests run just fine. With pytest 3.0.2, I reproduce the import problem on my workstation (so it's not just the CI). Upgrading to requests 2.6.1 fixes the ImportError.
That explains why things started failing this morning: the CI somehow updated pytest this morning in its virtualenv (it usually uses a cached version of the virtualenv).
tl;dr: It seems requests==2.6.0 doesn't work with pytest==3.0.2. Leaving it here in case it can help someone else in the future.
/me goes and upgrades all the deps :wink:

This issue is cropping up again for me more than 2 years later. requests is installed as a dependency of ec2-metadata globally on an Ubuntu 16.04 machine. When importing requests in a python shell it imports fine. When it is imported as part of a salt external pillar module it fails with an ImportError.
Traceback (most recent call last):
  File "/srv/salt/modules/pillar/my_module.py", line 9, in <module>
    import ec2_metadata
  File "/usr/local/lib/python2.7/dist-packages/ec2_metadata.py", line 4, in <module>
    import requests
  File "/usr/lib/python2.7/dist-packages/requests/__init__.py", line 58, in <module>
    from . import utils
  File "/usr/lib/python2.7/dist-packages/requests/utils.py", line 25, in <module>
    from . import certs
ImportError: cannot import name certs

Here is the pip freeze:
root@saltmaster:~# pip freeze
aws-cfn-bootstrap==1.4
boto3==1.9.69
botocore==1.12.69
cached-property==1.5.1
cffi==1.5.2
chardet==2.3.0
cryptography==1.2.3
docutils==0.14
ec2-metadata==1.8.0
enum34==1.1.2
futures==3.0.5
gitdb==0.6.4
GitPython==1.0.1
idna==2.0
ipaddress==1.0.16
Jinja2==2.8
jmespath==0.9.3
lockfile==0.12.2
Mako==1.0.3
MarkupSafe==0.23
msgpack-python==0.4.6
ndg-httpsclient==0.4.0
ply==3.7
pyasn1==0.1.9
pycparser==2.14
pycrypto==2.6.1
pycurl==7.43.0
pygit2==0.24.0
PyMySQL==0.7.2
pyOpenSSL==0.15.1
pystache==0.5.4
python-apt==1.1.0b1+ubuntu<IP_ADDRESS>
python-daemon==1.6.1
python-dateutil==2.4.2
python-systemd==231
PyYAML==3.11
pyzmq==15.2.0
redis==2.10.5
requests==2.9.1
s3transfer==0.1.13
salt==2016.3.8
six==1.10.0
smmap==0.9.0
tornado==4.2.1
urllib3==1.24.1

This is running within salt 2016.3.8+ds-1 installed through the official salt apt repo
deb http://repo.saltstack.com/apt/ubuntu/16.04/amd64/2016.3 xenial main

I realize that this seems more like a bug with salt but thought I'd ask here in case anyone had any idea.

requests 2.9 is not supported any longer

Got the same issue with version requests==2.19.1 on Heroku.
Any ideas what can go wrong there? Locally on Ubuntu 18 works well.


Leapfrog jasmine

This PR adds mock-ajax to our test stack. TBH this is completely selfish because I have troubles testing ajax callbacks and promises, so I'm tired of it. This helper eases those kind of testing. As an example, I've updated one of out tests to cover fully the case of saving in the backend (mocking the response of course).
Feel free to discard this PR, but in this case I demand a proper explanation about how we should test this kind of thins 😁
cc @xavijam @CartoDB/frontend

I really like the idea, so 👍

This seems pretty useful! 👍

I feel your pain, and actually I asked @javisantana assistance with something similar before, he pointed me to that same plugin
I finally solved it via:
spyOn($, 'ajax');

and
$.ajax.calls.argsFor(0)[0].error();
$.ajax.calls.argsFor(0)[0].success();

I always get stuck at this point so 👍


incorrect contract count

BUG REPORT
Stack Trace or error message
Prior to host restart:
Mon 04/16/2018
07:30 AM
	acceptingcontracts:   Yes
	Contract Count:               754

After host restart:
Mon 04/16/2018
08:30 AM
	acceptingcontracts:   Yes
	Contract Count:               370

Expected Behavior
Contracts should be reflected accurately but may be counted double in some cases - it isn't possible to lose half the contracts in an hour and the restart triggers a different contract count.  Potential Compensation and locked collateral hasn't changed during this time period.
How to reproduce it (as minimally and precisely as possible)
It seems to be possible to just run the wallet and host.  Contract reduction has taken place every time my 1.3.1 and 1.3.2 wallet restarted.
Environment

Sia version: 1.3.2
OS: Windows 2012 R2 Server

One variable here is that I start siad prior to starting the wallet so I can see the console output of siad.  There is still only one siad.exe instance running.
I'll try letting the wallet start siad and see if this helps keep the contract count constant through restarts.

This is a known issue, as it's a part of the host it's on the backburner for now. The correct value is the one after reboot.
The whole dev team is focused on the renter right now, host bugs aren't getting much love. This should change as we bring on more devs though, and the host should start to get some proper TLC by the end of the summer.


Add Vapor and Hummingbird

@yim-lee how do we trigger CI in this repo?

@swift-server-bot add to allowlist

CI seems to be in a bad state. Will need to take a look.


[feat] Set GTK Application ID

Description:
I noticed a few strange quirks with my application and tracked it down to the fact that the Tao library sets the application ID always to None for the GTK implementation and therefor ends up defaulting to the executable's name. (can be verified with wayland_debug=client and changing the binary name). Code reference example:
https://github.com/tauri-apps/tao/blob/9ecac8119b0a2baf58caa43a29129741daa4b1e4/src/platform_impl/linux/event_loop.rs#L193
That sometimes works out, but not always and can lead to conflicts. Additionally the application_id is used for several things depending your one's DE, and as such is recommended to be set per best practice specification:
Gnome/GTK: https://teams.pages.gitlab.gnome.org/Websites/developer.gnome.org/documentation/tutorials/application-id.html#application-id
Wayland: https://wayland.app/protocols/xdg-shell#xdg_toplevel:request:set_app_id
KDE reference: https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/1317
The GTK rust crate also sets the application_id in it's examples.
Admittedly there may be a good reason Tao does this, but it would be beneficial and helpful to be able to set a proper value.
Solution I'd like:
I would like to be able to set the GTK Application ID. For example perhaps as a new field in the tauri.conf.json or programmatically when instantiating the application, i.e.: app.set_app_id("org.gnome.ThisApp")

Thanks for bringing this to our attention, I will open a PR to expose an API in tao but tauri will probably just set it to the identifier defined in tauri.conf.json without exposing the API.

Thanks @amrbashir!
Using the defined identifier in the conf I think is fine. I wasn't originally sure of that option because that's part of the BundleConfig and would then affect a non-bundle setting. Semantics. 😄
Happy to see this set in any regard.

Using the defined identifier in the conf I think is fine. I wasn't originally sure of that option because that's part of the BundleConfig and would then affect a non-bundle setting. Semantics. 😄 Happy to see this set in any regard.

In v2, the identifier was moved to the root of the tauri.conf.json because of things like this.

Aha! 👍🏼 nice.


Limit IP Address binding and ssl - dbt docs serve

Please make sure to fill out either the issue template or the feature template and delete the other one!
Feature
When issuing dbt docs serve command, dbt binds to <IP_ADDRESS>. This allows all ips on the server to host this web page. Also, HTTP is only used for this service as well.
Feature description
It would be nice to have more control, if not full control, over the internal web servers, which I dont know what software this even uses to host, but I would like to host this in my own already setup apache on CentOS to host this static page myself. Having user auth and HTTPS for this would be a nice way to secure this page, whether hosted internal ip or external ip. Documentation does not help in this configuration nor focus on security. I would prefer to not send this data to S3 and keep it within the web server locally.
Results
if you issue ss -l command, it will show all interfaces set to 8080.
System information
The output of dbt --version:
installed version: 0.11.1
   latest version: 0.11.1

Up to date!

The operating system you're running on: Amazon Linux
The python version you're using (probably the output of python --version): Python 2.7.14
Steps to reproduce
In as much detail as possible, please provide steps to reproduce the issue. Sample data that triggers the issue, example models, etc are all very helpful here.
$ dbt docs serve
Serving docs at <IP_ADDRESS>:8080
To access from your browser, navigate to http://localhost:8080.
Press Ctrl+C to exit.

Who will this benefit?
Any ORG that wants security and control out of the box by overriding the defaults.

hi @tony-caffe, this is intended to be a simple way to serve up the docs site. You can run a webserver of your choice out of the target/ directory of your dbt project after dbt docs generate for right now.
we'll still take a look at this issue, just wanted to let you know that there's a workaround here

Hi @tony-caffe - thanks for a great question. You can check out relevant documentation here:
dbt docs command reference: https://docs.getdbt.com/v0.11/reference#docs
dbt docs guide: https://docs.getdbt.com/v0.11/docs/documentation-website#section-hosting-the-documentation-site
^ I linked specifically to more information about hosting the docs, but the rest of that guide explores the different components of dbt's documentation functionality, and should help clarify the "static site" nature of the docs.
I'd recommend generating docs in the same flow you use to deploy your models. If you're issuing dbt run ... from cron, then it could be a good idea to append a dbt docs generate command to the script you're using. That way, your docs are always up-to-date with the state of your warehouse.
You also mentioned:

It would be nice to have more control, if not full control, over the internal web servers, which I dont know what software this even uses to host, but I would like to host this in my own already setup apache on CentOS to host this static page myself.

dbt uses a webserver that's built-in to Python -- the code is here if you want to take a look. This is pretty light-weight, and indeed, it's really only intended for local development.
If you already have a webserver running, then you're in good shape! Simply copy the the *.json files and the index.html file in your target/ directory to a path that's served by Apache, and then you should be able to view the docs in your browser. There are no moving parts here, and there's no backend process running -- dbt docs serve simply serves up the index.html page and the associated .json files.
Finally, you noted:

Having user auth and HTTPS for this would be a nice way to secure this page, whether hosted internal ip or external ip

I totally agree here, but I think this is outside the scope of what dbt can/should provide. I'm super interested in providing great documentation around this bit of dbt functionality, and some more practical examples for deploying the docs would be really helpful here too.
I'm very happy to discuss any of these points, and I'll have a chat with @cmcarthur about the topics you raised in this issue as well. Thanks!

Thank you! I set up a cron to run the dbt generate and I symlinked the data to an apache vhost directory, adjusted some permissions and I was able to secure the access.

I've updated the docs around hosting the documentation site and added a callout regarding the security of the development dbt docs serve webserver: https://docs.getdbt.com/docs/documentation-website#section-deploying-the-documentation-site
Going to close this, but happy to discuss if anyone has any questions

If you need some help with Apache 2.4.x setup, here is a stripped down version of my vhost config to assist.
Symlink to custom or apache directory
ln -s /path/to/dbt/target /var/www/html/dbt

Crontab Example
50 23 * * * dbt docs --target /path/to/dbt/data_models/ generate

Example Vhost for Apache 2.4.x
$ cat /etc/httpd/conf.d/dbt.conf
Listen {Specific-IP}:{Sample-common-port-8080}

<VirtualHost {Specific-IP}:{Sample-common-port-8080}>
	DocumentRoot "/var/www/html"
        ServerName {Specific-IP-or-Server-Domain-Name}/dbt
        # Custom Log File for vhost:
        ErrorLog /var/log/dbt/error.log
        CustomLog /var/log/dbt/access.log combined
	<Directory "/var/www/html">
                Options +Indexes +FollowSymLinks +MultiViews
		#DirectoryIndex index.html
                AllowOverride All
                Require all granted
        </Directory>
        SSLEngine on
        SSLCertificateFile /path/to/ssl.crt
        SSLCertificateKeyFile /path/to/ssl.key
</VirtualHost>


Select widget displays first option by default, but behaves as if empty

- Do you want to request a feature or report a bug?
bug
- What is the current behavior?
When you start a new item in a collection, select widgets (without a set default - haven't tried with a default yet) will display the first option, as if they are selected. However, when you try to save, the field behaves as if it's blank: saving is blocked, and the label turns red.
- If the current behavior is a bug, please provide the steps to reproduce.
Make a new Kitchen Sink item in the CMS demo site: https://cms-demo.netlify.com/#/collections/kitchenSink/entries/new
Note that the Select field appears to be set to the first choice, "a". Click save, watch it fail, and see the red label for the select entry:

Select any option (inlcuding "a"), and it will save properly.
- What is the expected behavior?
Normally, I would expect the dropdowns to be blank in their initial state. If not, they should actually be set to the option they display.
- Please mention your node.js, and operating system version.
Current Chrome on Windows 10, CMS 0.4.6

If you add a default option with the same value as the first select choice, it works around it. In my case, my select only had one option though.

What happens in the event you want an empty option and a different label simply setting:
options:
  - { label: "Not featured", value: "" }
  - { label: "Featured", value: "featured" }

This shows the extra hidden option and the empty one instead of overwriting it.

@moshie Feel free to open a new issue and request support for that.


CI working group meeting 2019-09-18

Signed-off-by: Jean-Francois Panisset<EMAIL_ADDRESS>

Thanks JF!


Add options for getUserDisplayName

Add options to getUserDisplayName function instead of bunch of arguments:

[ ] includeTag ⇒ tag
[ ] includeAt ⇒ at
[ ] id (?)

Or maybe replace with argument include which is Array of DisplayOption:
type DisplayOption = "tag" | "at" | "id";

First variant is more performant though.

ID will require to provide language code then, as it may differ per languages?
So it will better to stick with the first variant.

[ ] language (boolean?)


Update table and column descriptions

Relates to https://github.com/chanzuckerberg/cryoet-data-portal/issues/894
Description
This adds a migration that alters table and column comments. Some of the older comments were incorrect, inconsistent, had typos, or were missing. The new comments mostly come from the manually maintained docstrings in the Python client from https://github.com/chanzuckerberg/cryoet-data-portal .
The motivation for doing this to ensure we have GraphQL scheme comments/descriptions, which can then be used to automatically generate correct docstrings for the Python client (as in https://github.com/chanzuckerberg/cryoet-data-portal/pull/910).
I have tested this locally in conjunction with https://github.com/chanzuckerberg/cryoet-data-portal/pull/910 , which now pulls in the updated comments when using the locally hosted GraphQL server.

This is a draft PR because I am unsure how to successfully define a comment/description on the relationships.
Based on the Hasura docs, it looks like provide a comment for the relationship in the table's metadata YAML file should work. I did this for a few files here to illustrate. But seems to be ignored with the default "An array relationship" or "An object relationship" being used instead. I also tried a few quick guesses to fix this (e.g. quoting the comment string, using description instead of comment), but with no success.
The Hasura docs also mention set_relationship_comment but I'm unsure where I would define that to take an effect.
For local deployment, I am simply running make clean then make init.
The Hasura docs also mention hasura metadata [apply|reload], but I'm assuming those are used for live updates and should be handled by make init.

Currently hasura manages the migrations application. When we do a deploy to an environment, hasura should automatically apply the new migrations that have been added since the timestamp it was last updated. The unix timestamp here maps to the folder prefix.

This is a draft PR because I am unsure how to successfully define a comment/description on the relationships.

Thanks to @daniel-ji for finding a related existing issue: https://github.com/hasura/graphql-engine/issues/9600
Which suggests that Hasura does not currently use the various ways to encode a comment on a relationship, in the resulting GraphQL schema.

Since Hasura does not seem to use the relationship comments, I removed them for now. The workaround in https://github.com/chanzuckerberg/cryoet-data-portal/pull/910/ is to generate the comment from the types involved in the relationship.

@manasaV3 : Just wanted to check that there's nothing wrong with throwing all the comment updates into a single migration with the generic name of alter_comments.

@manasaV3 : this still needs an approval. Feel free to add line new comments or suggestions if there are more required additions or corrections.


Support UI on mobile devices

Mobile device support for

[ ] transaction awareness notifications (toasters)
[ ] wallet readiness check dialogs (pre-flight)
[ ] on-boarding (only includes check for wallet browser, correct network, sufficient funds)

[x] Also need a connect/enable modal for mobile wallets that have implemented privacy mode


[request-pull] fix GithubIssueBridge

The following changes since commit 5bd07723ad75cba0437a9dbaa4cf429cd93e8bff:
[ScribdBridge] Add bridge (#1391) (2020-02-04 17:26:34 +0100)
are available in the Git repository at:
https://framagit.org/peetah/rss-bridge.git/ GithubIssueBridge
for you to fetch changes up to a54c95141030eb81ccf58ab2c6d81015d2f1ad63:
fix warning when author is missing (2020-02-05 10:16:00 +0100)

Pierre Mazière (2):
fix bridge according to website evolution
fix warning when author is missing
bridges/GithubIssueBridge.php | 49 ++++++++++++++++++++-----------------------------
1 file changed, 20 insertions(+), 29 deletions(-)

Better link to check the changes: https://framagit.org/peetah/rss-bridge/compare/master...GithubIssueBridge


Multiple IP addresses appearin in NSE and NSC after upgrade

During upgrade test with nse-icmp-responder and kernel2kernel example multiple interfaces appear in NSE with multiple IP addresses appear in NSE. NSC pods also get multiple addresses.
Before upgrade, the NSE looks like:
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet <IP_ADDRESS>/8 scope host lo
       valid_lft forever preferred_lft forever
2: tunl0@NONE: <NOARP> mtu 1480 qdisc noop state DOWN group default qlen 1000
    link/ipip <IP_ADDRESS> brd <IP_ADDRESS>
4: eth0@if28559: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1430 qdisc noqueue state UP group default
    link/ether f6:78:de:28:16:66 brd ff:ff:ff:ff:ff:ff link-netnsid 0
    inet <IP_ADDRESS>/32 scope global eth0
       valid_lft forever preferred_lft forever
5: icmp-respo-37e0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 9000 qdisc mq state UNKNOWN group default qlen 1000
    link/ether 02:fe:4f:e2:31:12 brd ff:ff:ff:ff:ff:ff
    inet <IP_ADDRESS>/32 scope global icmp-respo-37e0
       valid_lft forever preferred_lft forever
    inet6 fe80::fe:4fff:fee2:3112/64 scope link
       valid_lft forever preferred_lft forever

After upgrade:
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet <IP_ADDRESS>/8 scope host lo
       valid_lft forever preferred_lft forever
2: tunl0@NONE: <NOARP> mtu 1480 qdisc noop state DOWN group default qlen 1000
    link/ipip <IP_ADDRESS> brd <IP_ADDRESS>
4: eth0@if28559: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1430 qdisc noqueue state UP group default
    link/ether f6:78:de:28:16:66 brd ff:ff:ff:ff:ff:ff link-netnsid 0
    inet <IP_ADDRESS>/32 scope global eth0
       valid_lft forever preferred_lft forever
6: icmp-respo-fb43: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 9000 qdisc mq state UNKNOWN group default qlen 1000
    link/ether 02:fe:60:83:30:c0 brd ff:ff:ff:ff:ff:ff
    inet <IP_ADDRESS>/32 scope global icmp-respo-fb43
       valid_lft forever preferred_lft forever
    inet <IP_ADDRESS>/32 scope global icmp-respo-fb43
       valid_lft forever preferred_lft forever
    inet6 fe80::fe:60ff:fe83:30c0/64 scope link
       valid_lft forever preferred_lft forever
7: icmp-respo-6de2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 9000 qdisc mq state UNKNOWN group default qlen 1000
    link/ether 02:fe:74:98:66:90 brd ff:ff:ff:ff:ff:ff
    inet <IP_ADDRESS>/32 scope global icmp-respo-6de2
       valid_lft forever preferred_lft forever
    inet <IP_ADDRESS>/32 scope global icmp-respo-6de2
       valid_lft forever preferred_lft forever
    inet <IP_ADDRESS>/32 scope global icmp-respo-6de2
       valid_lft forever preferred_lft forever
    inet6 fe80::fe:74ff:fe98:6690/64 scope link
       valid_lft forever preferred_lft forever

NSC before upgrade:
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet <IP_ADDRESS>/8 scope host lo
      valid_lft forever preferred_lft forever
2: tunl0@NONE: <NOARP> mtu 1480 qdisc noop state DOWN group default qlen 1000
    link/ipip <IP_ADDRESS> brd <IP_ADDRESS>
4: eth0@if28558: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1430 qdisc noqueue state UP group default
    link/ether aa:b1:79:d5:54:8c brd ff:ff:ff:ff:ff:ff link-netnsid 0
    inet <IP_ADDRESS>/32 scope global eth0
       valid_lft forever preferred_lft forever
5: nsm-1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 9000 qdisc mq state UNKNOWN group default qlen 1000
    link/ether 02:fe:f8:1e:a1:43 brd ff:ff:ff:ff:ff:ff
    inet <IP_ADDRESS>/32 scope global nsm-1
       valid_lft forever preferred_lft forever
    inet6 fe80::fe:f8ff:fe1e:a143/64 scope link tentative
       valid_lft forever preferred_lft forever

NSC after upgrade:
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet <IP_ADDRESS>/8 scope host lo
       valid_lft forever preferred_lft forever
2: tunl0@NONE: <NOARP> mtu 1480 qdisc noop state DOWN group default qlen 1000
    link/ipip <IP_ADDRESS> brd <IP_ADDRESS>
4: eth0@if28558: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1430 qdisc noqueue state UP group default
    link/ether aa:b1:79:d5:54:8c brd ff:ff:ff:ff:ff:ff link-netnsid 0
    inet <IP_ADDRESS>/32 scope global eth0
       valid_lft forever preferred_lft forever
6: nsm-1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 9000 qdisc mq state UNKNOWN group default qlen 1000
    link/ether 02:fe:10:f1:00:35 brd ff:ff:ff:ff:ff:ff
    inet <IP_ADDRESS>/32 scope global nsm-1
       valid_lft forever preferred_lft forever
    inet <IP_ADDRESS>/32 scope global nsm-1
       valid_lft forever preferred_lft forever
    inet <IP_ADDRESS>/32 scope global nsm-1
       valid_lft forever preferred_lft forever
    inet6 fe80::fe:afff:fe2e:dad6/64 scope link
       valid_lft forever preferred_lft forever

Traffic was OK during the upgrade using the original IP (it stopped during pod restart, but after that came back as it should), but after the upgrade, the multiple addresses confused our tests, this is how the issue was detected.
The issue is reproducable, sometimes only one new IP appears, sometimes 2, as in the example.
I attached logs for the test case execution.
Versions used:
nsmgr=f2f421a
registry-memory=4b0bb64
forwarder-vpp=4e1d713
nse-icmp-responder-vpp=9b4b3fa
nsc-vpp=4c53be1
As upgrade base, we used versions from 19th of November:
nsmgr=47451a4
registry-memory=f24d424
forwarder-vpp=1b74b40
nse-icmp-responder-vpp=5ac470e
nsc-vpp=888fbd4
endpoint-nsc-684f87c977-2npct-nsc.txt
endpoint-nse-588cc4f7bb-xrnts-nse.txt
forwarder-vpp-jv7xh-forwarder-vpp.txt
nsmgr-v7spq-nsmgr.txt
nsm-registry-5c6dc57b69-hd7wz-registry-memory.txt

@rpiceage Hmm. Am I getting it correctly that you upgraded nsmgr/forwarder?

Yes, nsmgr, forwarder and memory-registry, and also Spire. NSE and NSC run traffic during the operation.

@rpiceage
Got it.
So current behaviour look valid for me. The old interface from previous connection (before upgrade) should be deleted by nse timeout.

@glazychev-art Could you check is this version of deployments includes our fix for healing path?

So current behaviour look valid for me. The old interface from previous connection (before upgrade) should be deleted by nse timeout.

Do you mean the deleted icmp-respo-37e0 in the NSE?
But I suppose it should have a single new one instead of 2 (icmp-respo-fb43 and icmp-respo-6de2) with colliding multiple addresses.

Do you mean the deleted icmp-respo-37e0 in the NSE?
But I suppose it should have a single new one instead of 2 (icmp-respo-fb43 and icmp-respo-6de2) with colliding multiple addresses.

OK, I saw it so quickly, you're correct it looks unhealthy.

@denis-tingaikin
No, this version doesn't include fix for healing path

@rpiceage Could you please retest it with the latest version of NSM? We added a major fix for healing recently.

Latest version at this moment is https://github.com/networkservicemesh/deployments-k8s/commit/445fe16dc4ada9b473577fdebd341f7a5fd8fa0e

We build the images from source. We used the above versions for build, I was under the impression they were quite new (Friday for the base, and yesterday for the one to upgrade to). Is the healing fix more recent yet?

@rpiceage Woot!


Overwatch Profile: Lighting is very dim on Logitech G810

Just as the title says. Don't get me wrong I love this profile for overwatch, and really prefer it over Logitech's Profile. I just wish that the lights weren't dim on it. Some characters like Bastion and McCree you can't even really see the lights. If anyone could help me figure this out it would be much appreciated.

It's not an issue exclusive to G810. Some Razer keyboards also suffer from this. You can use the Color Enhancing. But unfortunately trying to adjust colors past that results in other colors being overexposed.

Yeah I seen that enhancing the color helps a little, but is there anything I can change in the files to help aswell?

Settings for the color enhancing can be found here: https://github.com/antonpup/Aurora/issues/234#issuecomment-265023604

Settings for the color enhancing can be found here: https://github.com/antonpup/Aurora/issues/234#issuecomment-265023604

There is another potential solution, to use HSL to boost the brightness of each dark color. But I am afraid of implementing this because it might lead to characters that have very dark colors (like near black) to be displayed as a gray color.

There is another potential solution, to use HSL to boost the brightness of each dark color. But I am afraid of implementing this because it might lead to characters that have very dark colors (like near black) to be displayed as a gray color.

How exactly would I go about doing this? I'm willing to try this.

How exactly would I go about doing this? I'm willing to try this.

I've played around with some algorithms, especially with image gamma correction, but am currently unable to test it myself. I have no idea of how strong the effect is visible on already bright Colors or how it interacts with pusing colors like the ability cooldowns.
newColorRedPart = (byte)Math.Min(255, (int)((255.0 * Math.Pow(color.R / 255.0, 1.0 / gammaCorrection)) + 0.5));
I've tested it on plain Colors, where values of gammaCorrection between 1.5f and 3.0f resulting in pretty good colors.

I've played around with some algorithms, especially with image gamma correction, but am currently unable to test it myself. I have no idea of how strong the effect is visible on already bright Colors or how it interacts with pusing colors like the ability cooldowns.
newColorRedPart = (byte)Math.Min(255, (int)((255.0 * Math.Pow(color.R / 255.0, 1.0 / gammaCorrection)) + 0.5));
I've tested it on plain Colors, where values of gammaCorrection between 1.5f and 3.0f resulting in pretty good colors.

Does it mean it will be corrected in new version of Aurora ?

I'm not sure if the solution above result in better colors. It might also make the experience worse. At the beginning of next week, I will try to implement and test it. If it works, I will make a PR as soon as possible.

I've created a Pull Request #335 with a new method to calculate the color. It does better with dark colors like McCree or Bastion, but worse with already bright colors.

@LukasACH use Utils.ColorUtils.IsColorDark(color); to determine if a color needs adjustment?

The problem is that I affect every channel on it's own on the whole 0-255. If I would simply don't touch it beyond that threshold, the brighness would make a jump down again. (darker -> brighter -> darker again)
And the Implementation you mentioned is special weighted on the different color channels.

I have finally got it to work without any compromises. It does a better job with very dark colors and provieds more user customability.

ok. so should I wait for a new version of Aurora where it is fixed or what to do with that ? :)

I'll be looking over his pull request sometime this weekend, so I would say next version will include it.

ok nice :) thx :)

Good job guys, looking forward to seeing this change in a new update. :)

The solution provided by @LukasACH works very well! Next update will include it.

When is it ? I can`t wait ! :]


Fix #111 and #115

Fix for issue #115, incorporates #111

Should be ok now

Apparently
Adding __dirname seems to work now, refactoring wasn't necessary after all, just needed to update the proto files. However my connection remains unreliable for now, still got to find out why..

So you may just need to get updated protos with update_proto.sh.  I assume @Crazy-Duck has incorporated that into his PR.


New blazor samples

What kind of change does this PR introduce?
Remove old Blazor sample project, add three new Blazor sample projects, update Readme.
The new projects are
-Server-side implementation of default template with ReactiveUI ViewModels
-Client-side (wasm) implementation of default template with ReactiveUI ViewModels
-AspNet Core Hosted + Client side implementation of default template with ReactiveUI ViewModels
Readme.md has been updated to reflect this change.
Should close #108

@richbryant Thanks for the awesome work!


3D viewport mouse locking causes mouselook to feel snappy and awkward

Godot version:

v3.0.2.stable.official
OS/device including version:

Windows 10 x64 (v1709)
Issue description:

The mouse snapping in the 3D viewport when holding right click feels very awkward and unnatural, as well as it snaps your view erratically when you right click and drag around immediately.
If it's going to lock the mouse at all I think it shouldn't allow the viewport view to move until the mouse is locked, or the mouse lock should just be an option as Unity and UE4 both don't (at least, not in the same way) lock the mouse in such a way.
At least in Unity (UE4 is similar but I can't speak for it as well) the mouse isn't locked or hidden at all, and when going off the monitor it simply wraps around (the wrapping around is minor, but just presumably how they deal with unlocked mouse) - to me this feels great, and super natrual. Even aside from the snapping/awkwardness, just having the cursor reset to the center after moving the viewport even a little feels very unnatrual too.
Youtube video of Godot's behavior vs Unity
It isn't super clear in the video alone, but I think it's still visible how much smoother unity's viewport is, and it just feels better to have the mouse visible and unlocked, as well as it doesn't have any jerky or "flicky" movement when grabbing the viewport quickly
imo, the editor would be one huge step forward in usability and smoothness if either the snappiness and awkwardness could be somehow fixed, or if there could be a setting to just make it behave more like other similiar programs
Steps to reproduce:
Open any project
Right click near the edge of a viewport and while you right click start dragging to move the camera
The view will snap in an awkward way that doesn't match your input, presumably due to mouse/cursor locking
Minimal reproduction project:

N/A (happens on an empty scene)

There are existing issues about free look, but I don't remember the links (I'm on a phone).
It jumps off when doing repeated drags due to bad events handling at OS level and sometimes stays locked due to bad event handling with the viewport.

Basically if you want a reference for this use of RMB, it was inspired from Unity3D, and is intented to work the same.

It has to wrap around though, because your desktop size can be smaller than the amount you have to drag... unless we use raw mouse input events, in which case the pixel position of the cursor won't matter.

You might be misunderstanding me, the wrap around is fine and feels good, like the 2D viewport and other engines like Unity which have wrap around and don't snap the cursor, that feels good - my problem is just with Godot's 3D viewport, where it locks your mouse to the center and this causes a ton of weird issues that make the freelook mode just feel very snappy and awkward

Sorry for bumping this issue, i can see it has been added to 3.1 witch is nice.
I would just like to say that i too would like to see the mouse "reappear" at the same position when you first clicked RMB, because rightclicking and rotating something and then have the mouse reappear in the center of screen is annoying

this MAY be fixed now with the switch to rawinput on Windows, so please test

The 3D inspector now feels a lot more responsive and I'm unable to reproduce the weird snapping/"warping" I felt before, it feels super super good now 👍
I'm still not a massive fan of the mouse locking to the center (this can get a bit annoying when playing with stuff in the inspector, quickly moving the mouse to the side of the viewport and moving, but then the mouse snaps into the center, further away from the inspector and just not where you expect it - it'd be cool if this could be an option, with the other setting being the "warp around" and visible cursor like in the 2D  viewport) but otherwise this fixes the main point of the issue 👍

Closing as fixed then.
For the remaining point described in https://github.com/godotengine/godot/issues/18597#issuecomment-419483517, it might be better to open a new issue to discuss this specifically.


input prompt at  PinToStart -UnpinAll

Hello
If I use the function "PinToStart -UnpinAll" without any Pins in Startmenu I got input prompt

I use the Version: v5.10 with german localisation at 20H2

Hi. It's a not bug. But it's a bug in autocomplete function. The -Titles is a mandatory parameter, so it has to be assigned, but the current function "doesn't know about it".  It's mandatory
https://github.com/farag2/Windows-10-Sophia-Script/blob/3fba8d2051c131fdd235c22439e2156fb16a311c/Sophia/PowerShell 5.1/Sophia.psm1#L7769
I can send you an updated version tomorrow. It's 1 am now in Moscow.

Many thanks for the fast answer, and your handsome script 😀
After I changed it to:

it worked fine 👍

And what command did you enter?

I just changed the part in Sophia.ps1 in to following, and run the Sophia.ps1 script 😊

Hm... It seems we need v5.10.1. :)

But now now. It's late 🌃
We both need to got to bed 🛌

No. It's time to code!

I've fixed in 5.10.1. The functions.ps1 was rewritten. Hopefully will upload it this evening.

Sophia Script v5.10.1.zip

Many thanks for your'e rewriting of the function.
I just have tested the script, and now it works without the -Tiles Parameter.
The function removes all Pins and does not throw any error 👍

I've improved the function again. ;)


Remove an unnecessary StringRef from a Space Engine diagnostic

This one is for @nkcsgexi.

@swift-ci please smoke test and merge

@swift-ci please smoke test

While I'm in the area, I've got a better fix for the case we discover an enum element decl has no interface type.  I'm going to bundle it in here.

Let's see if the Linux builders are green again.
@swift-ci please smoke test Linux platform

⛵


[TASK] Update Chain Connection component

Description
The Chain Connection component has been improved visually and added hover state. Please add this component to storybook doc, as it will be repeatedly used across the applications.
Note

Let's incorporate consistent conventions for displaying chains/networks, opting for a single-word representation when it aligns with the context. Consider examples like "Mumbai" rather than "Polygon Mumbai".

Figma Link
Screenshot

Closed on #1489.


DBL-HW-2-G-8

Hey,
i would appreciate if u accept our pull request for HW2.

Hi there, it would be a pleasure.


Shadow calculation of Swatch is inefficient

Description
Getting this warniong with the <Swatches/> component:
WARN  (ADVICE) View #963 of type RCTView has a shadow set but cannot calculate shadow efficiently. Consider setting a background color to fix this, or apply the shadow to a more specific component.

Steps to reproduce
Use the <Swatches/> component like:
 <Swatches
     style={{ paddingTop: 10, paddingHorizontal: 10 }}
     swatchStyle={{
                shadowOpacity: enableSwatchShadow ? 0.2 : 0,
                shadowRadius: 4,
                width: 30,
                height: 30
     }}
     colors={SWATCHES_COLORS}
/>

Snack or a link to a repository
No response
Reanimated Color Picker version
3.0.1
React Native version
0.73.4
React Native Reanimated version
3.8.1
React Native Gesture Handler version
2.14.0
Platforms
iOS
JavaScript runtime
Hermes
Workflow
Expo bare workflow
Architecture
Paper (Old Architecture)
Build type
Debug mode

This warning is related to React Native on iOS. It occurs when a view lacks a background color (swatch color) property or has a transparent one. Additionally, it can happen when using a shadowOpacity of 0. Some solutions suggest putting the opacity in the shadowColor instead

Thanks @alabsi91, this issue was unrelated to this component. Sorry about that!


Quiet vs Noisy Error Handeling

Allow user to toggle how feed errors are handled.

Maybe move error from popup and display under settings, perhaps with a “!” indicator.


Firefox tested good in locally, but cannot open during hosting server IIS

Your question
I publish my files and hosting it in IIS, but firefox browser cannot launch and found these error in event viewer..
Please help ....
=========================== logs ===========================
<launching> C:\Windows\system32\config\systemprofile\AppData\Local\ms-playwright\firefox-1304\firefox\firefox.exe -no-remote -wait-for-browser -foreground -profile C:\Windows\TEMP\playwright_firefoxdev_profile-nGhAlE -juggler-pipe -silent
<launched> pid=25444
[pid=25444][err] Error: Access was denied while trying to open files in your profile directory.
[pid=25444][err] JavaScript error: resource://gre/modules/XULStore.jsm, line 66: Error: Can't find profile directory.
[pid=25444][err] JavaScript error: resource://gre/modules/XULStore.jsm, line 66: Error: Can't find profile directory.
[pid=25444][err] JavaScript error: resource://gre/modules/XULStore.jsm, line 66: Error: Can't find profile directory.
[pid=25444][err] JavaScript error: resource://gre/modules/XULStore.jsm, line 66: Error: Can't find profile directory.
[pid=25444][out] Crash Annotation GraphicsCriticalError: |[G0][GFX1-]: shader-cache: Shader disk cache is not supported (t=2.2087) [GFX1-]: shader-cache: Shader disk cache is not supported
[pid=25444][err] [2022-02-22T07:51:47Z ERROR webrender_bindings::program_cache] shader-cache: Shader disk cache is not supported
[pid=25444][out] Crash Annotation GraphicsCriticalError: |[G0][GFX1-]: shader-cache: Shader disk cache is not supported (t=2.2087) |[G1][GFX1-]: RcANGLE(no compositor window) (t=2.2087) [GFX1-]: RcANGLE(no compositor window)
[pid=25444][out] Crash Annotation GraphicsCriticalError: |[0][GFX1-]: Failed to connect WebRenderBridgeChild. (t=4.64253) [GFX1-]: Failed to connect WebRenderBridgeChild.
[pid=25444][out] Crash Annotation GraphicsCriticalError: |[0][GFX1-]: Failed to connect WebRenderBridgeChild. (t=4.64253) |[1][GFX1-]: Fallback WR to SW-WR + D3D11 (t=4.80253) [GFX1-]: Fallback WR to SW-WR + D3D11
[pid=25444][out] Crash Annotation GraphicsCriticalError: |[G0][GFX1-]: shader-cache: Shader disk cache is not supported (t=2.2087) |[G1][GFX1-]: RcANGLE(no compositor window) (t=2.2087) |[G2][GFX1-]: [D3D11] create swap chain failed: 0x887a0022, 0 (t=2.3687) [GFX1-]: [D3D11] create swap chain failed: 0x887a0022, 0
[pid=25444][out] Crash Annotation GraphicsCriticalError: |[G0][GFX1-]: shader-cache: Shader disk cache is not supported (t=2.2087) |[G1][GFX1-]: RcANGLE(no compositor window) (t=2.2087) |[G2][GFX1-]: [D3D11] create swap chain failed: 0x887a0022, 0 (t=2.3687) |[G3][GFX1-]: Failed to initialize CompositorD3D11 for SWGL: FEATURE_FAILURE_D3D11_SWAP_CHAIN (t=2.3687) [GFX1-]: Failed to initialize CompositorD3D11 for SWGL: FEATURE_FAILURE_D3D11_SWAP_CHAIN
[pid=25444][err] JavaScript error: resource://gre/modules/XULStore.jsm, line 66: Error: Can't find profile directory.
============================================================
   at Microsoft.Playwright.Transport.Connection.SendMessageToServerAsync[T](String guid, String method, Object args)
   at Microsoft.Playwright.Core.BrowserType.LaunchAsync(BrowserTypeLaunchOptions options)
   at SC.BankTransferMimic.Engine.Banks.BankBase.Initialize(String browser) in C:\SigmaCoders\SC.BankTransferMimic\SC.BankTransferMimic.Engine\Banks\BankBase.cs:line 43
   at SC.BankTransferMimic.Engine.Banks.Malaysia.CIMBBankFactory.NewBankAsync() in C:\SigmaCoders\SC.BankTransferMimic\SC.BankTransferMimic.Engine\Banks\Malaysia\CIMBBankFactory.cs:line 16
   at SC.BankTransferMimic.Engine.Banks.BankProvider.NewSessionAsync(String bankId, String merchantId) in C:\SigmaCoders\SC.BankTransferMimic\SC.BankTransferMimic.Engine\Banks\BankProvider.cs:line 52
   at Program.<>c.<<<Main>$>b__0_1>d.MoveNext() in C:\SigmaCoders\SC.BankTransferMimic\SC.BankTransferMimic.Engine\Program.cs:line 60
--- End of stack trace from previous location ---
   at Microsoft.AspNetCore.Http.RequestDelegateFactory.ExecuteTaskResult[T](Task`1 task, HttpContext httpContext)
   at Microsoft.AspNetCore.Http.RequestDelegateFactory.<>c__DisplayClass46_3.<<HandleRequestBodyAndCompileRequestDelegate>b__2>d.MoveNext()
--- End of stack trace from previous location ---
   at Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger)
   at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware.<Invoke>g__Awaited|6_0(ExceptionHandlerMiddleware middleware, HttpContext context, Task task)`

Which version are you using?
Could you try setting the DEBUG=pw:api,pw:browser,pw:channel:response,pw:channel:command environment variable? This should give us more clue whats going wrong.


View Definition Auto Migration

Auto migrate old UI view definitions. Closes #1490
Merge only after #1396 is merged.
Changes:

Adds "version" as a property of the view definition
Auto migrates old views from upload or when loading from db
Notifies users if a view

Testing:

Load a plan with no view specified in the url. The plan should load the default view.
Verify that you can load a view made on the current branch. Try making a complex view with activity layer customizations since these are affected by the v0 -> v1 migration.
Upload a view made prior to this branch and verify that it loads correctly (no success toast will appear since no additional db changes are needed besides nominal insert of the view during upload)
Insert a view made prior to this branch using hasura playground. Load this view from a plan using the browse modal and verify that the view loads and a toast message alerts you that the view has been updated. Refresh the page and verify that no toast appears, indicating that the view was in fact updated in the db.
Force a failure in the migration code (look at the 0 -> 1 migration function) and repeat step 4 and verify that an error toast alerts you that the migration of the view failed and that the default view is loaded. In this case there will only be a single row for the default view.
Insert a view made prior to this branch using hasura playground. Load this view from a plan by specifying the view id in the URL. No toast will appear since migration is being performed on the server side during initial SSR.
Force a failure in the migration code and repeat step 6 and verify that an error toast alerts you that the migration of the view failed and that the default view is loaded. In this case there will be a number of rows since our initial page load default view fetches various activity and resource types and attempts to display them.
Test migration with a default mission model view

TODO:

[x] Figure out what to do when view can't be migrated when loading from url, view browser, and imported views. May want to handle them differently? Right now they fall back to default view generation.
[x] Figure out if we need to migrate the model default views?
[x] Add and fix view tests

Tested thoroughly with @AaronPlave today and everything is looking good. Two small TODOs:

If the migration code throws an error while uploading a view, it's not correctly reported in the UI & looks like a schema validation error instead. Can simulate this case by throwing an error in migrateViewDefinitionV0toV1
@AaronPlave will go through changes to the view schema since 2.11 release (May 2024) or earlier, and handle any additional changes to the migration to support views as far back as possible

We'd like to get a code review from @duranb next week but 👍 otherwise

Tested thoroughly with @AaronPlave today and everything is looking good. Two small TODOs:

If the migration code throws an error while uploading a view, it's not correctly reported in the UI & looks like a schema validation error instead. Can simulate this case by throwing an error in migrateViewDefinitionV0toV1
@AaronPlave will go through changes to the view schema since 2.11 release (May 2024) or earlier, and handle any additional changes in the migration to support views as far back as possible

We'd like to get a code review from @duranb next week but 👍 otherwise

Fixed the first issue and went through a year of view schema updates and didn't see anything else that needed to be handled.

@duranb made the requested changes


feat: create flowcharts from a generic element using elbow arrows

With the addition of elbow arrows, we now support the creation of a flowchart from a selected generic element with

Ctrl/Cmd + arrow key

Once a flowchart has been created, from any one of the nodes, we can navigate the flowchart using

Alt/Option + arrow key

Additionally,

holding Ctrl/Cmd and press arrow key n times will create n nodes in the given direction at once
when the starting node has multiple nodes connected to it, holding Alt/Option and press arrow key will cycle between the connected nodes, given users a chance to navigate to any one node in a flowchart

Navigating w/ Alt+Arrow seems a little bit hectic after creating a complex chart. Not to add scope creep to this feature, but as a recommendation for a follow-up: Maybe a hint when Alt is pressed where left arrow, right arrow, etc. will take you would help.

Navigating w/ Alt+Arrow seems a little bit hectic after creating a complex chart.

any specific examples where you think it's working strange?
Note that we've explicitly allowed to press the "wrong" arrow to take you to a predecessor so as to support holding alt-left to get to the start (provided the specific topology allows it). In other words, if there's no predecessor in the exact direction you're pressing, it'll try to match other predecessor.

Maybe a hint when Alt is pressed where left arrow, right arrow, etc. will take you would help.

Maybe!

Navigating w/ Alt+Arrow seems a little bit hectic after creating a complex chart.

any specific examples where you think it's working strange?

It's the missing predecessor case every time, now that you mention it. I honestly don't know what I expect :) It just felt unexpected.

Maybe a hint when Alt is pressed where left arrow, right arrow, etc. will take you would help.

This could be a nice visual assistance! Will see if this is requested by other users and if so how we could add it as well. Thanks @mtolmacs!

Is the arrow length fixed? Depending on the size (and zoom) the created arrow size is tiny or humongous compared to the bindables it clones

it's really important not to bind at half points on either side because it will flicker the arrow on rotation

Do you have an example of when this flicker would occur?

it's really important not to bind at half points on either side because it will flicker the arrow on rotation

Do you have an example of when this flicker would occur?

https://excalidraw-f1uuittwr-excalidraw.vercel.app/#json=KVYmJxBaB42mgICXIgJbk,ODGIirR5pKUQYRoEOslg1w

Awesome @ryan-di! ❤
Also thanks @mtolmacs for help in review. 👍

I've pushed some commits, would be good to go over them to see what should be improved code-wise going forward! 💪


Local server behaving different to online git (metaversefile objects, eg Pet and sword)

After following Metamike tutorial.
https://webaverse.notion.site/Creating-Pets-aef3a63dd09947d59aadff94ceafad1f
After trying to access files on local server it cannot find the file (it is there when calling the glb directly) Seems to not want to execute the index file. Not sure if a permisison issue or something on local server. Followed tutorial and then it spits the following error:
11:22:30 [vite] Internal server error: Failed to resolve import "GLTFLoader" from "fox-master\index.js". Does the file exist?
Plugin: vite:import-analysis
File: C:/Users/Eden Labs VR/app/fox-master/index.js
1  |  import * as THREE from 'three';
2  |  import { GLTFLoader } from 'GLTFLoader'; // import {BufferGeometryUtils} from 'BufferGeometryUtils';
|                              ^
3  |
4  |  import { renderer, scene, app } from 'app';
at formatError (C:\Users\Eden Labs VR\app\node_modules\vite\dist\node\chunks\dep-be032392.js:42206:46)
at TransformContext.error (C:\Users\Eden Labs VR\app\node_modules\vite\dist\node\chunks\dep-be032392.js:42202:19)
at normalizeUrl (C:\Users\Eden Labs VR\app\node_modules\vite\dist\node\chunks\dep-be032392.js:67247:26)
at async TransformContext.transform (C:\Users\Eden Labs VR\app\node_modules\vite\dist\node\chunks\dep-be032392.js:67387:57)
at async Object.transform (C:\Users\Eden Labs VR\app\node_modules\vite\dist\node\chunks\dep-be032392.js:42413:30)
at async doTransform (C:\Users\Eden Labs VR\app\node_modules\vite\dist\node\chunks\dep-be032392.js:56760:29)

Basically, This issue is there on windows apparently, I have tested it on WSL and it works fine for both local and gh urls for different apps.
On windows it is throwing these errors:


Data and information is not showing for United States and Japan

And I've noticed that there is also other countries with the same problem as United States

+1 Germany as well, @Karam-Sabbagh perhaps you should update the title

For Syria and Germany they are now working,
But for United States its not working.

https://commits.top/japan.html
For Japan it doesn't work too.

For Japan it recovered.
https://commits.top/japan.html

@Karam-Sabbagh Germany is broken again 🙂

Japan is also broken again.
https://commits.top/japan.html

@Karam-Sabbagh Germany is broken again 🙂

@Karam-Sabbagh and again 😞

See this comment for details, I think you should close this issue and add feedback or upvote that issue instead :man_shrugging:

Egypt as well

@ashkulz Ohh sorry I already use indirectly https://committers.top/ via, https://github.com/fbiego/commits-top-badge I will create an issue into https://github.com/ashkulz/committers.top when it occurs again, but now it is fixed.
btw I think you should mention https://github.com/fbiego/commits-board somewhere in your readme since it does cool stuff with your https://github.com/ashkulz/committers.top 🙂

@mustafaozhan committers.top will be max 7 days out of date at any given point, because the process runs over the weekend.

and for Morocco also


Create New Gift:UX issue

.

When we go inside by clicking on Create New Gift, then this text is showing like this.

Verified this issue on staging app v2.0.5(382)


Update Composer dependencies (2021-12-07-00-11)

Visual regression test passed!
View the visual regression test report


Fix path redirect missing project params

What this PR does / why we need it:
https://user-images.githubusercontent.com/32532742/152133926-9aebac30-d7d2-4f77-8e6d-18535e4f26fe.mp4
Which issue(s) this PR fixes:
Fixes #
Does this PR introduce a user-facing change?:

NONE

Nice catch!
/approve


Normals should be multiplied by the transposed inverse of the transform matrix.

I noticed that normals are not transformed correctly when scaled non-uniformly:
https://github.com/bevyengine/bevy/blob/f4776f2ec413bb80ff4ee51e04bb57f0a44d9983/crates/bevy_pbr/src/render_graph/pbr_pipeline/pbr.vert#L30
https://www.scratchapixel.com/lessons/mathematics-physics-for-computer-graphics/geometry/transforming-normals
Example (a sphere stretched along one axis) with incorrect normals:

Corrected normals:

I used this as a quick fix, but computing the inverse in the shader isn't a great idea:
https://github.com/HackerFoo/bevy/commit/a711633fa8f889b06434adc8d17f7b549dc61bab
The proper fix would pass the precomputed transposed inverse into the shader.

This is already fixed in the pipelined-rendering branch:
https://github.com/bevyengine/bevy/blob/43e8a156fb4739abee3060c53140f4a94cab9ae5/pipelined/bevy_pbr2/src/render/pbr.wgsl#L46-L50
https://github.com/bevyengine/bevy/blob/43e8a156fb4739abee3060c53140f4a94cab9ae5/pipelined/bevy_pbr2/src/render/mod.rs#L85

@alice-i-cecile Since pipelined is merged, this can be closed right?


Invites part I

A starting place to allow moderators to create invite links. (#874 goes into all hopes and dreams...)

Moderators can generate a unique invite link that can be used by many people and knows the number of active users that were created from it
Moderators can generate a single use invite link which gets sent to particular email address.
When a prospective user opens a single use invite link, the email address is pre-filled on a user creation form.
Users created by an invite link should be attributed to the person who invited them (see: invited_by_id on User)
Moderators can list active invites and it's clear which are single use vs. open ended
Moderators can mark invites as inactive / invalid at which point they will no longer function
Invalid invites redirect to /get_an_account with a flash message apology

invite
    email
    token
    invited_by_id
    single_use?
    users_created_count
    valid?
    created_at

Notes:

Emails are unique to users on alonetone, so validation has to happen before invite is sent.

Questions:

Email verification normally occurs after account creation before log in is allowed. Can it be skipped if the person is coming via a one-off emailed link?
Is there a valid reason to store the invite_id on the user (or some other relationship)? We already store invited_by_id (because of account_requests and the plan to allow user to user invites).

Moderators can generate a unique invite link that can be used by many people and knows the number of active users that were created from it.

This is going to behave significantly different from a use-once Invite so I don't think we should merge them into one model.

Moderators can generate a unique invite link that can be used by many people and knows the number of active users that were created from it.

This is going to behave significantly different from a use-once Invite so I don't think we should merge them into one model.

@Manfred Sure! I guess to some degree GroupInvite really is just a token that gives access to the "create new user" page that can be revoked and tracked. If we are going to separate the model, perhaps we can also add a name field so the front end can say "Welcome, RPM Challengers!" or "Welcome, r/wearethemusicmakers" etc....

@Manfred Sure! I guess to some degree GroupInvite really is just a token that gives access to the "create new user" page that can be revoked and tracked. If we are going to separate the model, perhaps we can also add a name field so the front end can say "Welcome, RPM Challengers!" or "Welcome, r/wearethemusicmakers" etc....

Maybe MassInvite would be better, as a Group is another feature half-built, just lower priority than all the work that we have been doing.

Maybe MassInvite would be better, as a Group is another feature half-built, just lower priority than all the work that we have been doing.

Yes, I like MassInvite.

Yes, I like MassInvite.

Maybe this is out of scope for now, but ideally we'd be able to see the users who signed up via a mass invite link. User.invited_by_id is there to track moderator-approved accounts and future mod-to-user and user-to-user invites, but perhaps not "enough" for MassInvites

Maybe this is out of scope for now, but ideally we'd be able to see the users who signed up via a mass invite link. User.invited_by_id is there to track moderator-approved accounts and future mod-to-user and user-to-user invites, but perhaps not "enough" for MassInvites

👏🏼 👏🏼 👏🏼