[$250]  Save the world - Principals whisper message in #teachers-unite shows the teacher as "Hidden"

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.84-0
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail: https://expensify.testrail.io/index.php?/tests/view/4635818&group_by=cases:section_id&group_id=229065&group_order=asc
Issue reported by: Applause - Internal Team
Action Performed:

Navigate to https://staging.new.expensify.com/
Log in with an expensifail account
Navigate to Account settings - Save the world - I know a teacher
Input anything for the name fields, and an expensifail email address to the email field
Click on the "Let's do this!" button

Expected Result:
The principal added the teacher with a full name and email address so the name or at least, the email address should be shown
Actual Result:
Principals whisper message from Expensify.org Admin in #teachers-unite shows the teacher as "Hidden"
Workaround:
Unknown
Platforms:

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

[ ] 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/6322a374-d95b-4276-a80b-7e4300f54f3d
View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~0106b42c9c00ea9afa
Upwork Job ID:<PHONE_NUMBER>432548906
Last Price Increase: 2024-07-04

Issue OwnerCurrent Issue Owner: @youssef-lr

@greg-schroeder  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

Proposal
Please re-state the problem that we are trying to solve in this issue.
Save the world - Principals whisper a message in #teachers-unite shows the teacher as "Hidden"
What is the root cause of that problem?
The main root cause of the problem is that when the teacher is referred, the referTeachersUniteVolunteer function is called to send the data the backend without saving the personalDetails in the onyx.
However, unlike the addSchoolPrincipal function, the referTeachersUniteVolunteer function doesn't optimistically add the personalDetails of the referred teacher in the onyx.
Furthermore, the response from the backend in the report action only includes <mention-user accountID=\"17571571\"\/> in the message without sending back the personalDetails like below.

Therefore, when the accountID is not found in the personalDetails, it shows "Hidden".
Only, when the OpenReport API is called is when the personalDetails of the referred teacher is synced with the onyx.
What changes do you think we should make to solve the problem?

We should make the referTeachersUniteVolunteer function consistent with the addSchoolPrincipal function by optimistically adding the referred teacher's personalDetails in the onyx.
This will also improve the offline experience when a teacher is being referred when the user is offline.
Therefore, the optimisticData, successData, and failureData should look like the addSchoolPrincipal function, mainly the personalDetails to avoid the new accountID from showing "Hidden", since the user's data it is not found in the personalDetails.

Bump on proposal review @rushatgabhane

I like @Tony-MK's proposal https://github.com/Expensify/App/issues/43846#issuecomment-2175692058

This is not a #newdot-quality bug - the feature is not unreliable, slow or performing redundant or unexpected API calls, it just doesn't work as designed

@youssef-lr can you confirm the contributor assignment here?

I believe that is this one: https://github.com/Expensify/App/issues/43846#issuecomment-2190208844

I'm not sure how I completely missed the bumps in this issue, apologies!

@Tony-MK how's it going? Could you please attach a PR

@rushatgabhane, It is going great.
How about you?
Could you give me a few hours to finish up the PR?
Thanks.

PR is underway

@youssef-lr @Tony-MK has updated their proposal - https://github.com/Expensify/App/issues/43846#issuecomment-2175692058
Calling openReport sounds unnecessary to me.
@youssef-lr this should be fixed in backend, right?
Backend should send the missing personal details data via pusher after refer pusher api call.
What do you think?

@youssef-lr can you confirm if this is in fact a BE/internal issue based on the above comment?

Checking this one today @greg-schroeder

Bump @youssef-lr

Bump @youssef-lr

Yeah I can still reproduce this, I think it's weird because I believe that if you invite someone to the platform they should be known to you. I'll find some time to investigate this next week.

All right, thanks for letting me know @youssef-lr

Any thoughts on where this one should go next @youssef-lr ?

Bump @youssef-lr

I'm really not sure I can prioritise this any time soon. Have we confirmed this is still reproducible?

I'm closing this as #vip-vsb is now on hold/closed for now.


brew install ideviceinstaller failure

Please note that we will close your issue without comment if you delete, do not read or do not fill out the issue checklist below and provide ALL the requested information. If you repeatedly fail to use the issue template, we will block you from ever submitting issues to Homebrew again.

[x] are reporting a bug others will be able to reproduce and not asking a question. If you're not sure or want to ask a question do so on our Discourse: https://discourse.brew.sh
[x] ran a brew command and reproduced the problem with multiple formulae? If it's a problem with a single, official formula (not cask) please file this issue at Homebrew/homebrew-core: https://github.com/Homebrew/homebrew-core/issues/new/choose. If it's a brew cask problem please file this issue at https://github.com/Homebrew/homebrew-cask/issues/new/choose. If it's a tap (e.g. Homebrew/homebrew-php) problem please file this issue at the tap.
[x] ran brew update and can still reproduce the problem?
[x] ran brew doctor, fixed all issues and can still reproduce the problem?
[x] ran brew config and brew doctor and included their output with your issue?

What you were trying to do (and why)
I install the flutter env , all steps are success but brew install ideviceinstaller failure
The config result is here:
➜  development brew config
HOMEBREW_VERSION: 2.1.4
ORIGIN: https://github.com/Homebrew/brew
HEAD: d5a90f6f4af0a8e3d0ff1d806fb65e1b3bdbbe42
Last commit: 5 days ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: 00d5cffd9b900f1934506b7c559dcc66fe8d6d20
Core tap last commit: 11 hours ago
HOMEBREW_PREFIX: /usr/local
CPU: quad-core 64-bit haswell
Homebrew Ruby: 2.3.7 => /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/bin/ruby
Clang: 10.0 build 1001
Git: 2.20.1 => /Applications/Xcode.app/Contents/Developer/usr/bin/git
Curl: 7.54.0 => /usr/bin/curl
Java: 1.7.0_79
macOS: 10.14.5-x86_64
CLT: <IP_ADDRESS>.1.1554506761
Xcode: 10.2.1
CLT headers: <IP_ADDRESS>.1.1554506761

What happened (include command output)

Command output

➜  development brew install ideviceinstaller
==> Installing dependencies for ideviceinstaller: usbmuxd, libimobiledevice and libzip
==> Installing ideviceinstaller dependency: usbmuxd
==> Downloading https://homebrew.bintray.com/bottles/usbmuxd-1.0.10_1.mojave.bot
Already downloaded: /Users/kyc/Library/Caches/Homebrew/downloads/4c553d1494698a85e85d8dc6de76b96e23ab1ac6450b0f8200050c6cc994e2fe--usbmuxd-1.0.10_1.mojave.bottle.tar.gz
==> Pouring usbmuxd-1.0.10_1.mojave.bottle.tar.gz
cp: /usr/local/Cellar/usbmuxd/./1.0.10_1/bin/iproxy: Permission denied
cp: /usr/local/Cellar/usbmuxd/./1.0.10_1/lib/pkgconfig/libusbmuxd.pc: Permission denied
cp: /usr/local/Cellar/usbmuxd/./1.0.10_1/lib/libusbmuxd.4.dylib: Permission denied
cp: /usr/local/Cellar/usbmuxd/./1.0.10_1/lib/libusbmuxd.a: Permission denied
Error: Failure while executing; cp -pR /var/folders/2b/1y4yppdd7zq7k9xmggqp0hqh0000gn/T/d20190601-23121-882ecb/usbmuxd/. /usr/local/Cellar/usbmuxd exited with 1. Here's the output:
cp: /usr/local/Cellar/usbmuxd/./1.0.10_1/bin/iproxy: Permission denied
cp: /usr/local/Cellar/usbmuxd/./1.0.10_1/lib/pkgconfig/libusbmuxd.pc: Permission denied
cp: /usr/local/Cellar/usbmuxd/./1.0.10_1/lib/libusbmuxd.4.dylib: Permission denied
cp: /usr/local/Cellar/usbmuxd/./1.0.10_1/lib/libusbmuxd.a: Permission denied
Warning: Bottle installation failed: building from source.
==> Downloading https://www.libimobiledevice.org/downloads/libusbmuxd-1.0.10.tar
Already downloaded: /Users/kyc/Library/Caches/Homebrew/downloads/134bead73c944ab56dbdca5fa6798689e28a2ea209521f255b72712aaec4c02b--libusbmuxd-1.0.10.tar.bz2
==> Downloading https://github.com/libimobiledevice/libusbmuxd/commit/4397b3376d
Already downloaded: /Users/kyc/Library/Caches/Homebrew/downloads/9a1471dea3f507c0c5af79f3451f52e1fd0fc3fc6eaea873b013f187ea62e3a7--4397b3376dc4.patch
==> Patching
==> Applying 4397b3376dc4.patch
patching file common/socket.c
==> ./configure --disable-silent-rules --prefix=/usr/local/Cellar/usbmuxd/1.0.10
==> make install
Error: File exists @ dir_s_mkdir - /usr/local/Cellar/usbmuxd/1.0.10_1/.brew

What you expected to happen
No error
Step-by-step reproduction instructions (by running brew commands)
        brew update
        brew install --HEAD usbmuxd
        brew link usbmuxd
        brew install --HEAD libimobiledevice

the all success , then run
  brew install ideviceinstaller

If it's a problem with a single, official formula (not cask) please file this issue at Homebrew/homebrew-core: https://github.com/Homebrew/homebrew-core/issues/new/choose.

This should be reported to homebrew-core.

ran brew doctor, fixed all issues and can still reproduce the problem?

You have not done this.

cp: /usr/local/Cellar/usbmuxd/./1.0.10_1/bin/iproxy: Permission denied
cp: /usr/local/Cellar/usbmuxd/./1.0.10_1/lib/pkgconfig/libusbmuxd.pc: Permission denied

You will need to fix these errors with your local permissions.


Fixed issue 4526 by adding InitializeGate

Summary
Fixes #4526
Details and comments
Initialize is implemented as an Instruction object instead of Gate because it uses reset instruction which is not unitary. This fix modifies Initialize passing an additional named parameter reset to its constructor whose default value is True. You can expect the behavior of Initialize to be the same if you don't specify the reset parameter.
However, instantiating Initialize with reset=False lets us define the InitializeGate gate. We can now create the controlled version of Initialize using InitializeGate(desired_vector).control(how_many_controlled_qubits).
Here an example usage:
from qiskit import *
from qiskit.extensions.quantum_initializer.initializer import InitializeGate
import math

circuit = QuantumCircuit(2)
circuit.x(0)
wanted_state = [1 / math.sqrt(2), 1 / math.sqrt(2)]
circuit.append(InitializeGate(wanted_state).control(1), [0, 1])

result = execute(circuit, backend=Aer.get_backend('statevector_simulator'), shots=1).result()
print(result.get_statevector())

The introduction of InitializeGate and its controlled version may help with the implementation of quantum distance-based classifier like the one you find in [Schuld, Fingerhuth, Petruccione, 2018].

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

State preparation should really not be a unitary operation. Which part of the paper you link to above has this?
The reset could be removed by the transpiler if it occurs in the beginning of the circuit, but the reset is required to reliably prepare a state.
cc'ing @Cryoris too as he opened the initial issue.

@ajavadia thank you for your feedback
I've implemented the circuit performing controlled-initialize and twice-controlled-initialize in order to extend the circuit presented in the linked paper. In particular, when the author initializes its single-qubit data with the controlled version of RY (sometimes controlled X when the data is $|1\rangle$) I used my own controlled-initialize to initialize my multiple-qubits data.

After discussing with @ajavadia I think it would make sense to move the state-preparation logic into a Gate and have Initialize be only resets plus this state-preparation gate. I don't like the name InitializeGate though, this name only makes sense to us because we have a very specific definition of the term Gate and it will be weird for outside users to have this alongside Initialize. We can decide on naming later though.

@Cryoris Thank you for your comment.
There is anything I can do to improve the code?

Yes, could you put all the logic inside InitializeGate and have Initialize just be a layer of resets and then a call to InitializeGate? So schematically
class InitializeGate(Gate):
    def _define(self):
         # all the logic of `Initialize` in here

class Initialize(Instruction):
    def _define(self):
        # resets and then InitializeGate

Once that is done, we can think of a better name than InitializeGate 😄

@Cryoris Thank you for your comment. I've merged correctly the fix you've asked me

Following https://github.com/Qiskit/qiskit-terra/pull/7666, now that we have a StatePreparation class, I believe that solves the issue this PR was intended for?

Yeah, this is obsolete as of #7666, thanks.
For the future: the motivating example for including the unitary component of initialisation as a separate instruction was so users could define their own mappings $\lvert\psi\rangle\to\lvert\phi\rangle$ more easily by using the state-prep unitary $\mathcal U_\chi\lvert0\rangle\coloneqq \lvert\chi\rangle$ as $\mathcal U_\phi\mkern2mu\hat{\mathcal U}_\psi^\dagger$.  So Initialize is now an Instruction that uses a StatePreparation Gate interally, where the "state preperation" operation is just defined to map $\lvert0\rangle\to\lvert\psi\rangle$.


Hash > Hash > Array[Integer] isn't properly reflected in the Data Type column of the UI

I opened issue  https://github.com/ruby-grape/grape-swagger-rails/issues/74 on grape-swagger-rails but i'm not sure if it was the right place or if I should have opened it here.
Do not hesitate to close this issue if it doesn't belong here.

:( this is still a bug, see: https://github.com/ruby-grape/grape-swagger/pull/482


enh(ws): update new endpoint

Codecov Report
Attention: 10 lines in your changes are missing coverage. Please review.

Comparison is base (57b6cb3) 59.51% compared to head (ad84936) 59.48%.

Files
Patch %
Lines

taos-ws/src/query/asyn.rs
46.66%
8 Missing :warning:

taos-ws/src/lib.rs
66.66%
2 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #279      +/-   ##
==========================================
- Coverage   59.51%   59.48%   -0.03%
==========================================
  Files         114      114
  Lines       29479    29498      +19
==========================================
+ Hits        17543    17548       +5
- Misses      11936    11950      +14

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


Transfer mongoid_search to github/mongoid?

I had https://github.com/mongoid kindly donated to the community by the nice folks at MongoDB. The three people who have org level admin access are currently @durran, @estolfo and myself.
I want to invite this project to be moved to the org. I think it makes good sense to group mongoid projects together and have continuous support from MongoDB, the company, over the long term. All admins of this project will continue having admin access of course, but this would reduce the bus factor since currently only @mauriciozaffari can add maintainers here.
If you think it's a good idea, please transfer this project to me and I'll move it into the org and please add<EMAIL_ADDRESS><EMAIL_ADDRESS>and<EMAIL_ADDRESS>to rubygems.

This repo is now in the mongoid org, thanks @mauriciozaffari. If you would like to update links, ci and such that'd be great, otherwise I can take care of it soon, LMK. Also see http://mongoid.github.io/misc/adding. And maybe add a link to http://mongoid.github.io/?


Updated capacity nameplate for battery OM capacity costs

-Changes capacity nameplate definition from kWh to kW for battery OM cost calculations
-Closes #520

@sjanzou @cpaulgilman This one seems cleaner. Maybe my branches need cleaning? The rebase on the last PR brought up all those other extra files.

Is this pull request is off of patch and is merged into both develop and patch?

Yes I merged it into patch for patch 1 then merged patch into develop.


Support Swift4

Converted swift 4 syntax.

@ykyouhei please merge it

@ykyouhei please take a look at this


Question: client notifications

How does shredder notifies clients that they are running workloads on parked nodes so that they can take proper actions ?

In our case, clients pods that are running on parked nodes are labeled too during the cluster upgrade process when worker nodes are rotated.
We are labelling their pods with something like shredder.ethos.adobe.net/upgrade-status=parked and they are using the kube_pod_labels  kube state metrics for detecting if their pods ar running on a parked node or not.


'Url' page key contains backslashes on Windows instead of common slashes

In my WAMP environment (Windows 7, PHP 5.4) the page 'services/consulting/apply' will have 'url' key equal to 'services\consulting\apply'. That makes impossible to use 'url' key for any purpose where we need 'real' url with common slashes.

Hi there,
I think the problem is in the PermalinkFactory: the url path is based on the file path, which leads to such a problem on WAMP.
I'll submit a PR, it's probably just needing something like $relativeUrlPath = str_replace(DIRECTORY_SEPARATOR, '/', $relativeUrlPath); to made the url platform agnostic.


Maxline symbol overlaps with column percentage

environment

vim: 8.2
vim-airline: latest version via :PlugInstall
OS: MacOS
Have you reproduced with a minimal vimrc: Yes
What is your airline configuration:

"Airline status bar config
let g:airline#extensions#tabline#enabled = 0
let g:airline#extensions#tabline#left_alt_sep = '|'
let g:airline#extensions#tabline#formatter = 'unique_tail'
let g:airline_theme='gruvbox'

if you are using terminal:

terminal: iterm2
$TERM variable: xterm-256color
color configuration (:set t_Co?):
if you are using Neovim:
does it happen in Vim: Yes

actual behavior
%[number] overlaps within airline status bar with maximum line indicator
currently the same issue raised in StackOverflow [1] as well.
[1] https://stackoverflow.com/questions/67800722/vim-airline-maxline-symbol-overlaps-with-symbol
expected behavior
%[number] shouldn't overlap with the current maximum line indicator.
screen shot (if possible)

yes, known problem on MacOS or the terminal you are using. Configure a different symbol then.

@chrisbra can i hayat remove that percentage from the bar? Thanks.

something like this, I believe: https://github.com/vim-airline/vim-airline/blob/26f922753a288df639b8d05d13ed62b9b04a26bc/doc/airline.txt#L370
 let g:airline_symbols.colnr = ' '

Thanks that answers my question!


DatePicker Research

🧑🔬 Research
Background
The Vivid design system has a FAST-based DatePicker that may be a good candidate for inclusion in Nimble. Source
Figma design
❓Questions
I'd like to understand:

Can we directly leverage this implementation in Nimble?
Are there major gaps between the current Nimble design, and the Vivid design? I.e. Styling only? Template only? More?
Does Vivid differ materially from the Nimble architecture? E.g. Alternative approach to design tokens, etc.?
Rough estimate on the size of this effort?

I made for our plugins a date-time picker, because we needed it:
Date picker with

week number
first day of week can be defined as saturday, sunday or monday
weekends have other background color

Time picker will show four first

Then show the minutes

Date/Time localization made with d3dateformat

Blog cited in multiple TC-39 discussions about why JS will not get native datetime string parsing for either Intl or Temporal apis: https://blog.sffc.xyz/post/190943794505/why-you-should-not-parse-localized-strings


Harden velocypack validator after fuzz testing

Scope & Purpose
Backport of https://github.com/arangodb/arangodb/pull/15649
Harden velocypack validator after fuzz testing.
Changes are from upstream https://github.com/arangodb/velocypack/pull/111

[x] :hankey: Bugfix
[ ] :pizza: New feature
[ ] :fire: Performance improvement
[ ] :hammer: Refactoring/simplification

Checklist

[ ] Tests

[ ] Regression tests
[ ] C++ Unit tests
[ ] integration tests
[ ] resilience tests

[x] :book: CHANGELOG entry made
[ ] :books: documentation written (release notes, API changes, ...)
[x] Backports

[x] Backport for 3.8: this PR
[x] Backport for 3.7: https://github.com/arangodb/arangodb/pull/15663

Related Information

[ ] Docs PR:
[ ] Enterprise PR:
[ ] GitHub issue / Jira ticket:
[ ] Design document:

@jsteemann Is this one ready for review?


Redesign UI considering workspace

Previous UI was based on project root dir, which is not related to vscode workspace.
In the video chat yesterday, we decided to use vscode workspace and ask user to copy model files into the workspace.
For this change, I will redesign our UI.

Initial idea

Use vscode default explorer view

when a user right-clicks compilable files (e.g., *.tflite), show menu that has Compile.

When a user clicks ONE icon in side bar, it will show a separate view container.

The view container will show views for compilation env and execution env.

What to check before UI design

[ ] check if Compile menu can be added into default explorer view.

[Compile] menu can be shown only for model files and directory containing saved model, keras model. Tested at #297

I finished the basic UI.


Added Y212 format and HEVC 12bit gst-msdk decode support

Added Y212 format and HEVC 12bit gst-msdk decode support
1, Y212 format support
2, unit test asserts generated by gst-msdk
3, unit test cases included
4, HEVC 12bit gst-msdk decode
5, caps in TGL

root@8f8578038cd1:/home/focus/workspace_focus/vaapi-fits# ./vaapi-fits run test/self/formats.py --pl=TGL -k fmt=Y212
27 tests collected
test/self/formats.py ...........................  PASS
====================== Session ended. 27 successful, 0 skipped, 0 failed, 0 erroneous. Total duration: 00:00:02 =======================


chore: Fix project regeneration for diagnostics

Fixes b/336476257

I'm merging, so that we can regenrate #12645


the opacity and scale bug

1/ the opacity changing time is different from the duration whitch I set
2/ in the begin I uses css set  transform:scale(0),then  I use anime to scale my target to 2,but when the anime inited,it will change scale to 1
my English is not good .promise you can understant. thank you.

I don't understand, please provide an example.

I konw what`s  worng  I did . thank you.


Use postprocessing with cudecamera occured problem

here is my code:
https://codepen.io/OliverXH/pen/jOYRRbX?editors=0011
I'm using the texture rendered by cubecamera as the environment map. When using postprocessing with it, the whole scene gradually becomes brighter and brighter. Is there any solution?
You can see the problem from the online example.

When using postprocessing with it, the whole scene gradually becomes brighter and brighter.

I'm unable to reproduce this on my end.
Here's an example that uses a dynamic cube map + postprocessing: https://codesandbox.io/s/stupefied-bush-5kcwvk?file=/src/App.js&runonclick=1

@vanruesc Thank you for your reply.
And I reproduced my problem in the example you provided

I made some changes in these places, and the problem appeared

I found another problem. I let the cube room rotate, and then the following problems will appear

Thanks for following up on this; I can see the issue now. The scene getting brighter at the beginning is a sign of a feedback loop that's formed by rendering to the cube render target while using it as an envmap at the same time. It's actually surprising that there are no feedback loop warnings in the console. Maybe the compiler doesn't catch it with this setup.
The common solution for this is to hide the object(s) that read from the cube map while the cube map is being rendered. But since you're trying to capture the whole scene, this doesn't seem to be possible.
In conclusion, this is a general scene setup error and not a bug in postprocessing.

I found another problem. I let the cube room rotate, and then the following problems will appear

This is due to the fact that the EffectComposer disables the renderer's autoClear behaviour. You can set that flag to true prior to rendering the cube map and then set it back to false right after.

@vanruesc
Thank you for your reply, which is very helpful to me. 👍👍 I found that it was my mistake to apply the texture rendered by cubecamera globally. At the same time, adjust the autoClear attribute in different positions according to your idea, and the case can work normally. 👍👍👍👍👍👍


Correct VRF randomness computation for BABE

Fixes #5785. This replaces the old randomness source of VRFOutput with VRFInOut::make_bytes.
Still need to write the migration script.

The tests need to be fixed.

converted to draft as this is still in progress.

Hmm @gnunicorn I need to test something on the CI so probably have to convert it back to regular PR.

I've mostly finished the migration script. For the other approach of doing the make_bytes directly in runtime -- still being worked on.

Closing as we went with #5876 instead.


ksonnet unable to authenticate with 1.13.1 cluster

Is this a BUG REPORT or FEATURE REQUEST?:
/kind bug
What happened:
level=error msg="exec plugin: invalid apiVersion \"client.authentication.k8s.io/v1beta1\""

When I tried to ks apply against a new Kubernetes 1.13.1 Cluster on DigitalOcean
What you expected to happen:
I expected that ksonnet would be able to authenticate with my cluster.
How to reproduce it (as minimally and precisely as possible):
DIGITALOCEAN_ENABLE_BETA=1 doctl kubernetes cluster create ksonnet-1-13-1-auth-test --version 1.13.1-do.2
kubectl config use-context do-nyc1-ksonnet-1-13-1-auth-test

Now go into a ksonnet project and ks apply default to observe the issue.
Anything else we need to know?:
I had to build ksonnet from source due to #911 which is resolved on master but not released.
I'm running it through docker, my build is available on the docker hub at: zetaron/ks
docker pull docker.io/zetaron/ks:v0.13.1-8-g6bb3cd06
docker pull docker.io/zetaron/ks@sha256:be3b684da3f6901def2fdf34a41d7afcd71bade5f921b065e4c7ca19fc4523ad

From what I was able to find out the issue is an outdated k8s.io/client-go dependency, as I do not have much experience with go I failed at trying to do the update on my own.
Environment:

ksonnet version (use ks version):

ksonnet version: dev-2019-01-29T12:21:31+0100
jsonnet version: v0.11.2
client-go version: kubernetes-1.10.4

Kubernetes version (use kubectl version):

Client Version: version.Info{Major:"1", Minor:"13", GitVersion:"v1.13.2", GitCommit:"cff46ab41ff0bb44d8584413b598ad8360ec1def", GitTreeState:"clean", BuildDate:"2019-01-13T23:15:13Z", GoVersion:"go1.11.4", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"13", GitVersion:"v1.13.1", GitCommit:"eec55b9ba98609a46fee712359c7b5b365bdd920", GitTreeState:"clean", BuildDate:"2018-12-13T10:31:33Z", GoVersion:"go1.11.2", Compiler:"gc", Platform:"linux/amd64"}

Ok, so just to give you a feedback, I ended up here searching for the same error. But I'm not using ksonnet. I'm just trying to use kubectl. That said, that might not be an issue with ksonnet. I followed similar steps that you did. But instead of trying to connect using ksonnet I'm using kubectl to get the list of nodes. If I use kubectl and a kubeconfig reference it does connect and work. But trying to use the onformation in the .kube/config it doesnt.
MYSERVER: kubectl get nodes
error: exec plugin: invalid apiVersion "client.authentication.k8s.io/v1beta1"

I am getting this as well. Not sure how I got here.


Reduced the size of the varchar columns in inodes table and fixed lea…

…se id problem

retest the please


[ADD] juriscraper: add visuper court scraper

Resolves #800

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

@flooie I just push the corrections, let's run the tests.

@agarzaarvizu Thanks.


chore(templates): rename .env.example in preinstall, add template scripts to root package.json, remove .editorconfig

I started this PR with the goal of reducing a bit the amount of configuration files in the website template, and finally ended up with a couple of DX improvements:

The first file I removed was .editorconfig, which I think is safe to remove.
.env.example I didn't remove, but renamed it in preinstall. We could remove it and generate .env programmatically with the CLI, but I didn't in case some people are initializing the template using git clone or cutting and pasting the folder (I highly doubt it).
So that the team doesn't have to revert in git the .env.example all the time, I made 2 commands in the root package.json that allow to initialize the template restoring .env.example.

Probably later I could do the same for the examples folder or the rest of the templates folder.
Some other day I would like to see also what can be done with eslint and prettier. I don't think we need 4 files for them.

Low priority + Not 100% sure anymore


fix(navigation): ignore unknown JS errors in IE

The err object doesn't have the code property any more (Selenium Server Standalone 3.3.1 + IEDriver win32 3.3.0), so we need a new way to detect those errors. See #841

This might be related to #4143.

Can we have 5.1.2 or at least a patch release with just this fix?
In my observation, IE got flakier after upgrading to Protractor 5, and this fix seems to repair it.

Thanks for the fix! I also need this, I'll ping the caretakers to get a new release.


Docs: What events are supported for each type?

Hi, I seem to have a terrible time following what events are used where. Most recently, I was looking at the ModifyInteraction and trying to bind to the change handler using something like:
const modifyAction = new Modify({source: this.drawingSource});
modifyAction.on("change", console.log)

Inspecting the object, I can see that a listener was set, but changing the feature via the mouse, as indicated in other modify examples, never once called the event. It wasn't until later that I was about to post an SO about how to capture the event, that I found that the correct event is modifyend.
Thinking I just overlooked something in the docs, I tried searching for that term, and I get nothing. I looked on the aforementioned Modify page, and nothing.
Do I have an incorrect expectation here? Should this be more explicit in the docs? Is there a naming convention that I having found information on? Should that be documented more explicitly?
Thanks.

It has been fixed in OpenLayers 6 - See #9471 and https://openlayers.org/en/master/apidoc/module-ol_interaction_Modify-Modify.html

Fair enough. Thanks!


Add multiversion switcher into documentation

Before submitting (must do checklist)

[x] Did you read the contribution guide?
[x] Did you update the docs? We use Numpy format for all the methods and classes.
[ ] Did you write any new necessary tests?
[x] Did you update the CHANGELOG?

Proposed Changes
See #54.
Closing issues
Closes #54.

It doesn't work(screenshot shos the view after clicking to it)

Do we wand only stable and latest versions? The problem is just in space for the other versions?


Calculated Summary min/max dependencies

What is the context of this PR?
Describe what you have changed and why, link to other PRs or Issues as appropriate.
How to review
Describe the steps required to test the changes (include screenshots if appropriate).
Checklist

[ ] New static content marked up for translation
[ ] Newly defined schema content included in eq-translations repo

 Min/max validation using a Calculated Summary (3 SP)


Bounds to diagnostics

Closes #21

Codecov Report

Merging #24 (4f03854) into master (1a235e1) will increase coverage by 0.66%.
The diff coverage is 96.36%.

@@            Coverage Diff             @@
##           master      #24      +/-   ##
==========================================
+ Coverage   94.13%   94.79%   +0.66%
==========================================
  Files          11       11
  Lines         648      692      +44
==========================================
+ Hits          610      656      +46
+ Misses         38       36       -2

Impacted Files
Coverage Δ

viabel/convenience.py
92.42% <90.47%> (-3.58%)
:arrow_down:

viabel/approximations.py
91.95% <100.00%> (ø)

viabel/diagnostics.py
94.02% <100.00%> (ø)

viabel/models.py
100.00% <100.00%> (ø)

viabel/objectives.py
86.76% <100.00%> (ø)

viabel/tests/test_approximations.py
100.00% <100.00%> (ø)

viabel/tests/test_convenience.py
100.00% <100.00%> (ø)

viabel/tests/test_diagnostics.py
100.00% <100.00%> (ø)

Continue to review full report at Codecov.

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


updated docTriagers and triager workflow

We require all PRs to follow Conventional Commits specification.
More details 👇🏼
 No release type found in pull request title "updated docTriagers and triager workflow". Add a prefix to indicate what kind of release this pull request corresponds to. For reference, see https://www.conventionalcommits.org/

Available types:
 - feat: A new feature
 - fix: A bug fix
 - docs: Documentation only changes
 - style: Changes that do not affect the meaning of the code (white-space, formatting, missing semi-colons, etc)
 - refactor: A code change that neither fixes a bug nor adds a feature
 - perf: A code change that improves performance
 - test: Adding missing tests or correcting existing tests
 - build: Changes that affect the build system or external dependencies (example scopes: gulp, broccoli, npm)
 - ci: Changes to our CI configuration files and scripts (example scopes: Travis, Circle, BrowserStack, SauceLabs)
 - chore: Other changes that don't modify src or test files
 - revert: Reverts a previous commit


Only show Report Issue link when the manifest has one

Testing: #39568
In the view for reporitng issue we include this link even if the package.json does not profile an issues or bug link.

This is for: https://marketplace.visualstudio.com/items?itemName=ms-toolsai.vscode-ai
They do have a GitHub repo so we could fall back to that repo + the issues deep link i.e.
https://github.com/Microsoft/vscode-tools-for-ai/issues
Sean

Nice catch @seanmcbreen
In this particualr case the problem was that my string magic was cutting of the end of their repo url. That is now fixed.
Apart from that if the xtension is external and has no repo field specified aI do not show the report issue action

Verified by running from source


[INF] Introduce code style continuous integration checks

@a-r-j adding some code style continuous integration checks!
I'd recommend doing a squash merge rather than a direct merge commit. It'll keep the commit history a bit cleaner.

LGTM


Added 5 Types of Issue templates and optimize labeler.yml for Issues and PRs

Related Issue(s)
Closes  Issue #1
Proposed Changes
Added 5 issue templates and optimize labeler.yml for tagging GSSoC2023 Label for pr and Issue simultaneously
Type of Change

[ ] New Feature (Landing Page)
[ ] New Feature (App)
[ ] Bug (Landing Page)
[ ] Bug (App)
[ ] New Component (App)
[x] Enhancement
[x] Documentation / ReadMe / Workflows
Other (If not in above options):

Your Idea for Level (GSSoC)

[ ] Level 1
[ ] Level 2
[x] Level 3

Screenshots (if applicable)

Additional Notes

Once you merge all the issue will be fixed, tested locally and on different repo... It's occurs due to removal of current labeler file

Why was package-lock.json deleted?

No, it's got updated to sass 9.0.0 due to previous merge requet... it is present

I understand, but this PR doesn't have anything to do with node modules right? So package-lock.json should not be changed, kindly revert that file alone, or just don't include this file in this PR. 😊

I would like to work on this!

I got ur point but after merger of PR #25, he only changed the package.json due to this whenever we perform git pull, it will be changed to 9.0.0 as package.json has mentioned sass -v 9.0.0 and currently package-lock.json hav sass -v 7.0.3 to avoid package conflict...

Kindly ask for issue assign in the "Issues" section rather than in a pull request. Please note that the mentioned issue has already been resolved.

I would like to work on this!

Kindly ask for issue assign in the "Issues" section rather than in a pull request. Please note that the mentioned issue has already been resolved.

I understand, but this PR doesn't have anything to do with node modules right? So package-lock.json should not be changed, kindly revert that file alone, or just don't include this file in this PR. 😊

Reverted back to previous version

Fixed the package-lock.json file by getting it from the latest main branch

Not sure if it's just me.  GitHub's it is...

Getting this  6 commit ahead after the merger of this PR in my fork repo after syncing the repo.
should i create another PR resolve this ?
cc @praveenscience


Initial implementation of PrintForDebugger as part of the Swift stand…

What's in this pull request?
This pull request contains an implementation of the underlying implementation of LLDB's 'po' command for Swift as part of the Swift standard library
The original version of this code lives in LLDB, which is problematic for a number of reasons
In the same spirit as Foundation's NSPrintForDebugger, this pull request wants to move this code over to the Swift standard library in order to optimize performance as well as stability of using the 'po' debugger command in Swift

Before merging this pull request to apple/swift repository:

[ ] Test pull request on Swift continuous integration.

Triggering Swift CI
The swift-ci is triggered by writing a comment on this PR addressed to the GitHub user @swift-ci. Different tests will run depending on the specific comment that you use. The currently available comments are:
Smoke Testing
    Platform     | Comment
    ------------ | -------------
    All supported platforms     | @swift-ci Please smoke test
    All supported platforms     | @swift-ci Please smoke test and merge
    OS X platform               | @swift-ci Please smoke test OS X platform
    Linux platform              | @swift-ci Please smoke test Linux platform

Validation Testing
    Platform     | Comment
    ------------ | -------------
    All supported platforms     | @swift-ci Please test
    All supported platforms     | @swift-ci Please test and merge
    OS X platform               | @swift-ci Please test OS X platform
    OS X platform               | @swift-ci Please benchmark
    Linux platform              | @swift-ci Please test Linux platform

Lint Testing
    Language     | Comment
    ------------ | -------------
    Python       | @swift-ci Please Python lint

Note: Only members of the Apple organization can trigger swift-ci.

…ard library

@swift-ci Please test

@swift-ci Please test

LGTM with above comments + new enum and function names, thanks!

Thanks @gribozavr - I just applied your latest comments

@swift-ci Please test

@swift-ci Please test Linux platform

The failures on macOS are not related to my diff at all; and Linux passes
I am going to merge this pull request and then tomorrow morning commit the LLDB side


Add Kerberos test case in CI

Closes #35. Also adds a new krb5-server chart for the Kerberos KDC server, currently used mainly for CI.

Thanks for the review, @cvpatel. Merging in soon.


Controller not disposing off automatically when going back to previous screen.

Describe the bug
I have a minimlaist sample app running on Android with GetX as State Management lib only. There are two screens LandingPage and MainScreen. On going back from MainScreen to LandingPage screen, the controller is not autodisposing as expected.
To Reproduce
Steps to reproduce the behavior:

Press the button to go to Main Screen
Press add counter button to increment to some value
Press back button to go to prev screen
Go to MainScreen again using button
The counter retains the existing value instead of being 0

Expected behavior
The counter value should be 0
Screenshots
If applicable, add screenshots to help explain your problem.
Flutter Version:
2.2.3
Getx Version:
latest 4.3.8
Describe on which device you found the bug:
ex: Android - Pixel emulator
Minimal reproduce code
void main() {
  runApp(MyApp());
}

class MyApp extends StatelessWidget {
  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        primarySwatch: Colors.purple,
      ),
      home: LandingScreen(),
    );
  }
}

class LandingScreen extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Container(
      color: Colors.blue[800],
      child: Center(
        child: ElevatedButton(
          onPressed: () => {
            Navigator.of(context)
                .push(MaterialPageRoute(builder: (_) => MainScreen()))
          },
          child: const Text('Navigate to Second Screen'),
        ),
      ),
    );
  }
}

class MainScreen extends StatelessWidget {
  final MyController controller = Get.put(MyController());

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: SafeArea(
        child: Container(
          color: Colors.blueAccent,
          child: Center(
            child: Column(
              children: [
                Obx(() => Text('Clicked ${controller.count}')),
                FloatingActionButton(
                  onPressed: controller.increment,
                  child: Text('+'),
                )
              ],
            ),
          ),
        ),
      ),
    );
  }
}

class MyController extends GetxController {

  var count = 0.obs;

  void increment() => count++;

}

I tried using the GetX navigaton as well with no luck :/

declare controller in build functions .

try this solution .
@override
void onClose() {
super.onClose();
GetInstance().delete();
}

not working

My solution would be to delete the controller on widget dispose. And Of course for that, I would need to use StatefulWidget.
 @override   void dispose() {     Get.delete();     super.dispose();   }


ECS Workflow usage

Description
Currently there's no example project for ECS workflow, and some important instructions are missing. I have some questions:

How does a worker entity comes from? If it's being automatically created, when?
It seems Spatial is designed to be 1 worker per program (is it?), however, the doc stated that "you can run multiple workers in Unity Editor", at the same time, it seems there's no way to distinguish what worker is connected by only query for "OnConnected" component.
This world contains a worker entity, which can be uniquely identified by the WorkerEntityTag component attached to it Similar to question#2, does this means the worker entity is a SingletonEntity (Relatively new stuff in Unity ECS)?
Example project part of the doc still says Burst should be disabled.

Feel free to point out any misunderstanding, thank you.

Hey @No3371!

How does a worker entity comes from? If it's being automatically created, when?

This is a little confusing as this term is overloaded.

There's a worker entity that is local only to your worker and is never replicated to the SpatialOS Runtime. It's created by the WorkerSystem when this system is created. (I assume you were talking about this one?)
There's also the concept of the worker entities that the SpatialOS Runtime creates. This currently isn't used in the GDK at all.

It seems Spatial is designed to be 1 worker per program (is it?), however, the doc stated that "you can run multiple workers in Unity Editor", at the same time, it seems there's no way to distinguish what worker is connected by only query for "OnConnected" component.

There's no inherent constraint that there is 1 worker per process (in the GDK for Unity at least). For example, in the FPS project we run 10 simulated players (each their own worker!) in a single process.
Each SpatialOS worker creates its own ECS world when it connects to the SpatialOS Runtime. So you should never get more than one entity with an OnConnected component (that is, unless you yourself create one). The presence of the ECS world indicates that this worker is connected. You can get some information about this worker by inspecting the WorkerSystem on that world.

This world contains a worker entity, which can be uniquely identified by the WorkerEntityTag component attached to it Similar to question#2, does this means the worker entity is a SingletonEntity (Relatively new stuff in Unity ECS)?

Currently the worker entity is not a SingletonEntity. We're in the process of exploring some of the new ECS features and how best to integrate them into the GDK!

Example project part of the doc still says Burst should be disabled.

Nice catch, I'll raise a ticket to fix this (if you have the link to where this is stated that would be helpful 😄)! Since 0.3.5, Burst has cross-compile support 🎉

Link: Example project part of the doc still says Burst should be disabled

You can get some information about this worker by inspecting the WorkerSystem on that world.
Nice, the WorkerType is exactly what i need.

It's created by the WorkerSystem when this system is created.
This clearly answers my question.

And also thanks for all the detailed explanations 😃

So I started from WorkerSystem, following reference and jumping around, it seems a WorkerSystem is from a WorkerInWorld, which is from WorkerConnector, does this means we still stick with MonoBehaviour to start the ECS workflow?
If so, I found this confusing. In the documentation, the MonoBehaviour workflow section is totally separated with and at the same level of ECS workflow section. The UX indicates they are 2 different approaches, and the ECS workflow documentation lack of info about how to start a worker, so i thought we have some equivalent way to start the whole system in ECS style.

So I put together a SystemBase that query for entities that contains worker type info, using your code, tested with local launch.
Usage: Create the WorkerConnectorEntity directly or with a GameObject with the WorkerConnectorEntityAuthoring component.

[System.Serializable]
public struct WorkerConnectorEntity : IComponentData
{
    public Unity.Collections.NativeString64 workerType;
}

[RequiresEntityConversion]
public class WorkerConnectorEntityAuthoring : MonoBehaviour, IConvertGameObjectToEntity
{
    public string workerType;

    public void Convert(Entity entity, EntityManager dstManager, GameObjectConversionSystem conversionSystem)
    {
        dstManager.AddComponentData<WorkerConnectorEntity>(entity, new WorkerConnectorEntity { workerType = new Unity.Collections.NativeString64(workerType) });
    }
}

using System;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Threading;
using System.Threading.Tasks;
using Improbable.Gdk.Core;
using Improbable.Worker.CInterop;
using Unity.Collections;
using Unity.Entities;
using Unity.Mathematics;
using UnityEngine;
using UnityEngine.LowLevel;

public class WorkerConnectorSystemBase : SystemBase
{
    /// <summary>
    ///     The number of connection attempts before giving up.
    /// </summary>
    public int MaxConnectionAttempts = 3;

    /// <summary>
    ///     Represents a SpatialOS worker.
    /// </summary>
    /// <remarks>
    ///    Only safe to access after the connection has succeeded.
    /// </remarks>
    public WorkerInWorld Worker;
    private List<Action<Worker>> workerConnectedCallbacks = new List<Action<Worker>>();
    private static readonly SemaphoreSlim WorkerConnectionSemaphore = new SemaphoreSlim(1, 1);

    EntityQuery query;
    List<Unity.Entities.Entity> connecting;

    protected override void OnCreate()
    {
        query = GetEntityQuery(
            ComponentType.ReadOnly<Unity.Transforms.Translation>(),
            ComponentType.ReadOnly<WorkerConnectorEntity>()
        );
        connecting = new List<Unity.Entities.Entity>();
    }

    protected async override void OnUpdate()
    {
        if (wantsDispose)
        {
            Dispose();
            return;
        }

        var pendingNative = query.ToEntityArray(Allocator.Persistent);
        for (int i = 0; i < pendingNative.Length; i++)
        {
            var capture = pendingNative[i];
            if (connecting.Contains(capture)) continue;
            connecting.Add(capture);
            var wce = EntityManager.GetComponentData<WorkerConnectorEntity>(pendingNative[i]);
            Debug.Log("Found a connector entity: " + wce.workerType);
            var transalation = EntityManager.GetComponentData<Unity.Transforms.Translation>(pendingNative[i]);
            var connParams = CreateConnectionParameters(wce.workerType);

            var builder = new SpatialOSConnectionHandlerBuilder()
                .SetConnectionParameters(connParams);

            if (!Application.isEditor)
            {
                var initializer = new CommandLineConnectionFlowInitializer();
                switch (initializer.GetConnectionService())
                {
                    case ConnectionService.Receptionist:
                        builder.SetConnectionFlow(new ReceptionistFlow(CreateNewWorkerId(wce.workerType), initializer));
                        break;
                    case ConnectionService.Locator:
                        builder.SetConnectionFlow(new LocatorFlow(initializer));
                        break;
                    default:
                        throw new ArgumentOutOfRangeException();
                }
            }
            else
            {
                builder.SetConnectionFlow(new ReceptionistFlow(CreateNewWorkerId(wce.workerType)));
            }

            try
            {
                await Connect(builder, new ForwardingDispatcher(), transalation.Value).ConfigureAwait(true);
            }
            catch (Exception e)
            {
                Debug.Log("Failed to connect: " + wce.workerType + "(" + e);
                continue;
            }
            finally
            {
                EntityManager.DestroyEntity(capture);
            }
        }
        pendingNative.Dispose();
    }

    protected static string CreateNewWorkerId(NativeString64 workerType)
    {
        return $"{workerType}-{Guid.NewGuid().GetHashCode():x}";
    }

    protected ConnectionParameters CreateConnectionParameters(NativeString64 workerType, IConnectionParameterInitializer initializer = null)
    {
        var @params = new ConnectionParameters
        {
            WorkerType = workerType.ToString(),
            DefaultComponentVtable = new ComponentVtable(),
            Network =
            {
                ConnectionType = NetworkConnectionType.ModularKcp,
                ModularKcp =
                {
                    DownstreamCompression = new CompressionParameters(),
                    UpstreamCompression = new CompressionParameters(),
                }
            }
        };

        initializer?.Initialize(@params);

        return @params;
    }

    /// <summary>
    ///     Asynchronously connects a worker to the SpatialOS runtime.
    /// </summary>
    /// <param name="builder">Describes how to create a <see cref="IConnectionHandler"/> for this worker.</param>
    /// <param name="logger">The logger for the worker to use.</param>
    /// <returns></returns>
    protected async Task Connect(IConnectionHandlerBuilder builder, ILogDispatcher logger, float3 origin)
    {
        if (builder == null)
        {
            throw new ArgumentException("Builder cannot be null.", nameof(builder));
        }

        // Check that other workers have finished trying to connect before this one starts.
        // This prevents races on the workers starting and races on when we start ticking systems.
        await WorkerConnectionSemaphore.WaitAsync();
        try
        {
            // A check is needed for the case that play mode is exited before the semaphore was released.
            if (!Application.isPlaying)
            {
                return;
            }

            Worker = await ConnectWithRetries(builder, MaxConnectionAttempts, logger, builder.WorkerType, origin);

            Worker.OnDisconnect += OnDisconnected;

            if (!Application.isPlaying)
            {
                Dispose();
                throw new ConnectionFailedException("Editor application stopped",
                    ConnectionErrorReason.EditorApplicationStopped);
            }

            HandleWorkerConnectionEstablished();

            // Update PlayerLoop
            // Extracted Code From PlayerLoopUtils //
            // Create simulation system for the default group
            var simulationSystemGroup = Worker.World.GetOrCreateSystem<SimulationSystemGroup>();

            var systems = new List<ComponentSystemBase>();
            foreach (var system in Worker.World.Systems)
            {
                systems.Add(system);
            }

            var uniqueSystemTypes = new HashSet<Type>(systems.Select(s => s.GetType()));

            // Add systems to their groups, based on the [UpdateInGroup] attribute.
            for (var i = 0; i < systems.Count; i++)
            {
                var system = systems[i];
                var type = system.GetType();

                // Skip the root-level systems
                if (type == typeof(InitializationSystemGroup) ||
                    type == typeof(SimulationSystemGroup) ||
                    type == typeof(PresentationSystemGroup))
                {
                    continue;
                }

                // Add to default group if none is defined
                var groupAttributes = type.GetCustomAttributes(typeof(UpdateInGroupAttribute), true);
                if (groupAttributes.Length == 0)
                {
                    simulationSystemGroup.AddSystemToUpdateList(system);
                }

                foreach (UpdateInGroupAttribute groupAttr in groupAttributes)
                {
                    if (!typeof(ComponentSystemGroup).IsAssignableFrom(groupAttr.GroupType))
                    {
                        Debug.LogError(
                            $"Invalid [UpdateInGroup] attribute for {type}: {groupAttr.GroupType} must be derived from ComponentSystemGroup.");
                        continue;
                    }

                    var systemGroup = (ComponentSystemGroup) Worker.World.GetOrCreateSystem(groupAttr.GroupType);
                    systemGroup.AddSystemToUpdateList(Worker.World.GetOrCreateSystem(type));
                    if (!uniqueSystemTypes.Contains(groupAttr.GroupType))
                    {
                        uniqueSystemTypes.Add(groupAttr.GroupType);
                        systems.Add(systemGroup);
                    }
                }
            }

            // Sort all root groups, sorts depth first
            foreach (var system in systems)
            {
                var type = system.GetType();
                if (type == typeof(InitializationSystemGroup) ||
                    type == typeof(SimulationSystemGroup) ||
                    type == typeof(PresentationSystemGroup))
                {
                    var groupSystem = system as ComponentSystemGroup;
                    groupSystem.SortSystemUpdateList();
                }
            }
            // Extracted Code From PlayerLoopUtils //
            ScriptBehaviourUpdateOrder.UpdatePlayerLoop(Worker.World, PlayerLoop.GetCurrentPlayerLoop());
        }
        catch (Exception)
        {
#if UNITY_EDITOR
            // Temporary warning to be replaced when we can reliably detect if a local runtime is running, or not.
            logger.HandleLog(LogType.Warning,
                new LogEvent(
                        "Is a local runtime running? If not, you can start one from 'SpatialOS -> Local launch' or by pressing Cmd/Ctrl-L")
                    .WithField("Reason", "A worker running in the Editor failed to connect"));
#endif
            // A check is needed for the case that play mode is exited before the connection can complete.
            if (Application.isPlaying)
            {
                Dispose();
            }

            throw;
        }
        finally
        {
            WorkerConnectionSemaphore.Release();
        }

#if !UNITY_EDITOR && DEVELOPMENT_BUILD && !UNITY_ANDROID && !UNITY_IPHONE
        try
        {
            var port = GetPlayerConnectionPort();
            Worker.SendLogMessage(LogLevel.Info, $"Unity PlayerConnection port: {port}.", Worker.WorkerId, null);
        }
        catch (Exception e)
        {
            logger.HandleLog(LogType.Exception, new LogEvent("Could not find the Unity PlayerConnection port.").WithException(e));
        }
#endif

        foreach (var callback in workerConnectedCallbacks)
        {
            callback(Worker);
        }
    }

    private static async Task<WorkerInWorld> ConnectWithRetries(IConnectionHandlerBuilder connectionHandlerBuilder, int maxAttempts,
        ILogDispatcher logger, string workerType, float3 origin)
    {
        var remainingAttempts = maxAttempts;
        while (remainingAttempts > 0)
        {
            if (!Application.isPlaying)
            {
                throw new ConnectionFailedException("Editor application stopped", ConnectionErrorReason.EditorApplicationStopped);
            }

            try
            {
                using (var tokenSource = new CancellationTokenSource())
                {
                    Action cancelTask = delegate { tokenSource.Cancel(); };
                    Application.quitting += cancelTask;

                    var workerInWorld = await WorkerInWorld.CreateWorkerInWorldAsync(connectionHandlerBuilder, workerType, logger, origin, tokenSource.Token);

                    Application.quitting -= cancelTask;
                    return workerInWorld;
                }
            }
            catch (ConnectionFailedException e)
            {
                if (e.Reason == ConnectionErrorReason.EditorApplicationStopped)
                {
                    throw;
                }

                --remainingAttempts;
                logger.HandleLog(LogType.Error,
                    new LogEvent($"Failed attempt {maxAttempts - remainingAttempts} to create worker")
                        .WithField("WorkerType", workerType)
                        .WithField("Message", e.Message));
            }
        }

        throw new ConnectionFailedException(
            $"Tried to connect {maxAttempts} times - giving up.",
            ConnectionErrorReason.ExceededMaximumRetries);
    }

    protected virtual void HandleWorkerConnectionEstablished() {}

    private void OnDisconnected(string reason)
    {
        Worker.LogDispatcher.HandleLog(LogType.Log, new LogEvent($"Worker disconnected")
            .WithField("WorkerId", Worker.WorkerId)
            .WithField("Reason", reason));
        DeferredDisposeWorker();
    }

    bool wantsDispose = false;

    protected void DeferredDisposeWorker()
    {
        // Remove the world from the loop early, to avoid errors during the delay frame
        RemoveFromPlayerLoop();
        wantsDispose = true;
    }

    public virtual void Dispose()
    {
        RemoveFromPlayerLoop();
        Worker?.Dispose();
        Worker = null;
    }

    private void RemoveFromPlayerLoop()
    {
        if (Worker?.World != null)
        {
            // Remove root systems from the disposing world from the PlayerLoop
            // This only affects the loop next frame
            // Extracted Code From PlayerLoopUtils //
            var playerLoop = PlayerLoop.GetCurrentPlayerLoop();

            //Reflection to get world from PlayerLoopSystem
            var wrapperType =
                typeof(ScriptBehaviourUpdateOrder).Assembly.GetType(
                    "Unity.Entities.ScriptBehaviourUpdateOrder+DummyDelegateWrapper");
            var systemField = wrapperType.GetField("m_System", BindingFlags.NonPublic | BindingFlags.Instance);

            for (var i = 0; i < playerLoop.subSystemList.Length; ++i)
            {
                ref var playerLoopSubSystem = ref playerLoop.subSystemList[i];
                playerLoopSubSystem.subSystemList = playerLoopSubSystem.subSystemList.Where(s =>
                {
                    if (s.updateDelegate != null && s.updateDelegate.Target.GetType() == wrapperType)
                    {
                        var targetSystem = systemField.GetValue(s.updateDelegate.Target) as ComponentSystemBase;
                        return targetSystem.World != Worker.World;
                    }

                    return true;
                }).ToArray();
            }

            // Update PlayerLoop
            PlayerLoop.SetPlayerLoop(playerLoop);
            // Extracted Code From PlayerLoopUtils //
        }
    }
}

I am new to all stuff about ECS and SpatialOS, so I was exploring if it's possible to do a pure ECS with SpatialOS, now after a day trying get my head around the design, I see that maybe it's still good to use MonoBehaviour to connect the worker since the connection logic may vary and there's always a default scene usable even we go for pure ECS.
However, that makes ECS workflow more puzzling, let's say, we use the WorkerConnector to connect the worker then we await. When the await finished, the worker is connected, isn't it? So why do we need the OnConnected queries?
According to my limited understanding, querying for OnConnected only make sense when we can put systems into worker world before we start the connection process, but it seems there's no way we can access the WorkerInWorld.World before the connection finished.
I'd like to know the usage of OnConnected queries or maybe I misunderstood anything, thanks.

Hey, sorry I meant to reply yesterday, but it slipped my mind!
You are correct that the workers are currently expected to be started from the WorkerConnector MonoBehaviours, even if all the game logic exists in ECS. These are a way to 'bootstrap' your worker so to speak.
To be completely honest with you, I forgot that OnConnected still existed. I think historically (like version ~ 0.1) this was used in some of the player lifecycle systems as a way of triggering a player spawn immediately upon connection (the worker bootstrapping & systems worked a little differently back then).
I think you're correct that it doesn't have a strong use case anymore since OnCreate fulfills that purpose of knowing when the worker is connected.

My opinion is the CreateWorkerInWorldAsync() have to expose a parameter to specify a list of system types that has to be created on a worker world right after the world get created.

Traditionally, this is what the HandleWorkerConnectionEstablished is used for. This is called once the worker connects, but before we setup the PlayerLoop for that ECS world. For example, the UnityGameLogic worker uses this callback to add some systems - https://github.com/spatialos/gdk-for-unity-fps-starter-project/blob/master/workers/unity/Assets/Fps/Scripts/WorkerConnectors/GameLogicWorkerConnector.cs#L66

Traditionally, this is what the HandleWorkerConnectionEstablished is used for.
Nice. I was kinda lost since I keep jumping around that WorkerConnectorSystem script and WorkerConnector... guess I'd better stop thinking about the ECS connector idea for now... that kind of pure pure ECS stuff looks tempting though 😆


created orderBy function

It looks good to me. @sohelamin, please take a look at that at available time.
But it looks like the commits is very large. Please squash all the commits to one commit if possible.

Thank you both of you guys 👍
Actually this project's main goal is to make simple code snippets so people can understand it within just 30 seconds.
This seems a long method. @laravelartisan I appreciate your effort but please if you can make it simple and small or I will refactor it when I get some times :)

Thanks to both of you @sohelamin and @peter279k  for your feedback and instructions. @sohelamin I tried to make the function small and simple. Please, check it out when possible. Waiting for your feedback.

Thanks a lot @laravelartisan
I will merge and refactor a bit :)


Font Face Multiple Font Support

Is it possible to include multiple fonts using font-face? Here's how I declare my font using font-face:
import { css } from 'glamor'
css.global('@font-face', {
  fontFamily: 'Univers',
  fontStyle: 'italic',
  fontWeight: '200',
  src: `url('...'),
})

Seems I can only include one font.

I believe that's just how @font-face works, you get one font per declaration (although you can specify multiple sources if you have various file formats). You can always just call css.global multiple times to add multiple @font-face declarations. I've done that in the past and had no problem.


Fix text rendering

Now that RenderView doesn't look at FrameView for its size, we need to set the
size on the RenderView directly.

LGTM


Can't Set it to display Zulu Time

I do not see an option to set time to show as Zulu.
Example:  yyyy-MM-dd'T'HH:mm:ss'Z' is the format that <% moment().utc().format() %> provides the date in. If I try to interperit that all it will do is pull that date format and put in the current time zones time with Z at the end of it. I would like to modify this behavior to allow for setting a time zone display for something other than the current time zone.

This is a problem that'll affect just about every time-related feature in Obsidian and its plugins.  I'm guessing the easiest is to somehow set the timezone in the environment of the Obsidian process to UTC. This will depend on your OS and on how you launch Obsidian.


release-1.8: tweak release team secondaries

@dims has been doing a lot of bug triage
and I've been looking over test-infra's shoulder for general queue health

/lgtm
/approve


Create API to fetch Client Search paginated screen

Create an endpoint to fetch Forest Client with a pagination option.
Consider these fields on the search - client or agency:

Name
Acronym
Number
Type

Right now it is not possible to fetch data that contains the string the user is trying to filter.
Subtask of #447
Depends on #525

Task: Sabina to ask team Alliance about timeline for getting # of results in API

use query param, one endpoint for 3 categories


build: resolve yarn peer deps

Context: https://github.com/ubiquity/ubiquity-dollar/pull/258

update dependencies
update .yarnrc

Resolves #355

@Steveantor the CI got rate limited so it didn't pass. Should we make a new issue for this?

@Steveantor the CI got rate limited so it didn't pass. Should we make a new issue for this?

I think so @pavlovcik


Encapsulate the supervisor api methods into a partial

Change-type: patch
Signed-off-by: Thodoris Greasidis<EMAIL_ADDRESS>
Contributor checklist

[ ] Includes tests
[ ] Includes typings
[ ] Includes updated documentation
[ ] Includes updated build output

@balena-ci I self-certify!


Memory problem while running project with 100+ classes

After getting the demo to work recently, I tried to make it work for a side project I'm on.
The project is based on composer and since I couldn't find a way to populate/fill-in the WASM virtual filesystem (or any reference on how it would work), I used a tool that joins all the relevant/used classes in one big PHP file - about 106 classes/traits/interfaces and 15k lines in total. Finally, with some fiddling, I put the contents of that file in <script type="text/php"> as in the demo.
The PHP file by itself worked fine in PHP, however php-wasm fails with the following:
php-web.wasm:0x6fe3 Uncaught (in promise) RuntimeError: memory access out of bounds
    at php-web.wasm:0x6fe3
    at invoke_ii (php-web.mjs:8:124829)
    at php-web.wasm:0x451529
    at invoke_iiii (php-web.mjs:8:124532)
    at php-web.wasm:0x7fb438
    at Module._pib_run (php-web.mjs:8:123160)
    at Object.ccall (php-web.mjs:8:118781)
    at PhpBase.mjs:63:38

Some things I've tried:

running the big php script by itself in PHP; it worked fine
running phpinfo(); in php-wasm worked fine - PHP 8.2 with some 100mb of memory
running ini_set('memory_limit', '1G') and then the big script - still failed; no difference
putting echo <nameOfNamespace> before each namespace/class declaration - in PHP it worked fine, in php-wasm no output except the memory error

To me it feels like the failure could be coming at the parsing level or an earlier stage. Unfortunately, my knowledge in webassembly is very limited and I gave up as soon as I saw the disassembled code. I don't know what else to try debugging this.
It's worth noting that there is no PHP framework or any special php extensions in my project - it doesn't even use a db.
So it's frankly baffling to hear people running drupal or wordpress (with thousands of files) over this tool.
I'm running Chrome 118 x64 on Windows 11, if that helps.

Since the recent changes & deployment, the error changed to:
PhpWeb.mjs:77 RuntimeError: table index is out of bounds
    at php-web.wasm:0x1bc58d
    at php-web.wasm:0x20e7d6
    at php-web.wasm:0x9ca0
    at invoke_viii (php-web.mjs:8:129659)
    at php-web.wasm:0x112284
    at php-web.wasm:0x29c9b1
    at php-web.wasm:0x20e608
    at php-web.wasm:0x71e1
    at invoke_ii (php-web.mjs:8:129509)
    at php-web.wasm:0x44d5c5

I also noticed that the problem is not related to parsing PHP, but rather the size of the code; a simple static $x = 'very long string'; phpinfo(); fails after a certain string length (regardless of the actual content).

I've managed to overcome this after following the instructions from https://github.com/soyuka/php-wasm.


Maintainer

Hi @sarthology, I noticed that the last merge was in March - I'm happy to help out as a maintainer if you would like 🙂

Sure would love that. ☺

@sarthology Awesome, thank you! 😃


[6.34-spm-beta] Array Union issues

Array union with a singular object works fine, however it does not work with multiple objects
var itemDataArray = [[String:Any]]()

            for _ in 1...itemQty {
                itemDataArray.append(itemData) //In our app this will add 10 items to the array
            }

            fs.collection("Accounts").document(playerUID).collection("Bag").document("Items").setData(["Inventory":FieldValue.arrayUnion(itemDataArray)], merge: true) { (error) in
                if let error = error {
                    errorMsg(error.localizedDescription, s: vc)
                    return
                }
            }

This will only add one item in the array on Firestore and ignore the rest

@EliteTechnicalCare Could you provide a small reproduction app or code snippet that reproduces this behavior, or enable verbose logging and share the logs from a local reproduction?
Also, note that duplicate entries in the union array are only added once.

Also, note that duplicate entries in the union array are only added once.

Ah so this is the issue then. Is there any way to disable this behavior?

Ah so this is the issue then. Is there any way to disable this behavior?

ArrayUnion and ArrayRemove treat the array as a set, so unfortunately there is no way to disable the de-duping of your array. Depending on your use case, you would either have to read the document, add the duplicate elements, and write the document back, or slightly alter the data like you mentioned. I'm going to close this issue since we don't have plans to change the current behavior of FieldValues in that regard, but feel free to ask any other questions you may have!


find auto-generated secret_key_base in development

With this fix, we will try latest changes in Rails 5.2 together with standard auto-generated secret_key_base in development as a fallback.
If no specified key found, auto-generated value will be used instead.
This fixes #4864

@tegon failed job is something about networking and/or i/o side on Travis. Maybe reschedule will fix the problem.

No output has been received in the last 10m0s, this potentially indicates a stalled build or something wrong with the build itself.
The build has been terminated

@gencer thanks! Can you add a new test case for this?

@tegon I've added test case for secret_key_base, squashed them and pushed back.

@tegon @gencer I referenced that branch from my Gemfile and it worked as expected.
The only thing I would suggest is the following consideration:
It seems to be that the Rails team views Rails.application.secret_key_base as the authoritative source for this information based on the fact that this method already aggregates the other configuration locations, in addition to the new dev/test default. As such, I think this should be the first location checked, with the others being the fallbacks to preserve backwards compatibility.
Even in the case where it does have to fall back, it's fewer checks and iterations happening as it's not going to be responding to that method in the first place.
Either way, this is successful in Rails 5.2.
Thanks for doing the PR on this. I understood what needed to be done, but am a little intimidated of the testing side of it.

@tegon the line you were referring was absolutely unnecessary as its already in dev/test environment. I removed that in addition, I had one more blank line which I removed that too.
Squashed&Pushed now.

Where is this fix released? I'm currently facing on this same problem on Devise 4.4.3.
Thanks.

@issei-m it was released in 4.4.3. Please move the discussion to #4879, which is an open issue where we're checking this. Also, it'd be good if you provide us your Rails version and the output of the following commands:
Rails.application.credentials.secret_key_base

Rails.application.secrets.secret_key_base

Rails.application.config.secret_key_base

@tagon Oh really? It seems to me, v4.4.3 has no commits introduced in this PR.
And I cloned this repository and I hit the some commands to know who has these commits right now, then only master branch seems to have, while v4.4.3 doesn't:
$ git branch --contains 6c91648
* master

$ git tag --contains 6c91648

@issei-m Ouch, you're right. I've mistaken this with https://github.com/plataformatec/devise/commit/962cea2039c72a92691af734ebbd8495dd5c0501, my bad. Thanks for pointing that out.
I'll see which commits we have unreleased and if there's something else to include in the next release and then bump a new version.
Just to make sure, if you use Devise from master it works, right?

@issei-m thanks, I'll prepare a release as soon as I can.

Released in v4.5.0

@gencer @tegon what about ttilberg's comment which points out the incongruity between Devise behavior & Rails.
For example, on Heroku, they set ENV['SECRET_KEY_BASE'] if it isn't already set for Rails apps. As a result, Rails ends up using that key instead of Rails.application.credentials.secret_key_base, although Devise will prefer the latter, resulting in different values for each.

@swrobel Simply, you can remove secret_key_base from your credentials.yml.inc, so ENV['SECRET_KEY_BASE'] will be used always in Heroku environment.

@issei-m I still don't get why devise should behave differently from Rails

@swrobel Devise's secret_key_base doesn't necessarily need to be the same as Rails's. We only try to get it from Rails for convenience, so that you don't need to manually set it to get started.
When I looked at @ttilberg comment, I thought it was only a matter of order - e.g. where we look first for a key - I didn't realize that Rails looked for the environment variable too.
We can support this in a new version, but this PR was mostly about fixing a bug we introduced in a previous version. Would you mind opening an issue asking to support this?

@tegon My comment wasn't as much about "where to look first" for the sake of looking in many places, but instead a solution to leverage the configuration of modern rails apps while maintaining backwards compatibility. There's a few links to the relevant parts of the rails source in both my comment above and the original issue this closes that I thought were helpful to understand the "current rails configuration strategy" -- it felt a little all over the place but seems to get unified at Rails.application.secret_key_base accounting for all expected possibilities, including the new dynamic generation for dev/test.
What is the best way to ask for this support in a new issue? Something along the lines of "Feature: Prefer Rails default SECRET_KEY_BASE configuration?" It feels a bit superfluous now, but I think it's a good future-proofing thing to do.

What I get so far that we need to also check ENV for SECRET_KEY_BASE (if possible at first) and regardless what we've found so far, we will use this Environment variable as default secret key.
Simply, ENV["SECRET_KEY_BASE"] has higher priority and overrides all (or If found, no need to check further places)
We need an another PR for this. I'll have a look in spare time (No promises) and create PR with tests (if no one contribute in this time of course). But, We still need an issue to track those changes.

Hey @gencer -- I was already in the middle of taking a stab at refactoring the key finder just now, I'll add that consideration (to check ENV first) as well and post a PR in a moment here. In addition, it was about checking the correct "default location in Rails" first, instead of last. Thanks for your help working through this!

@tegon @gencer Can you guys take a look at PR I just posted above? I don't have a lot of experience/confidence with contributing to such a serious project, so I'd appreciate feedback on:

Was this an appropriate way to contribute (going straight to PR without an issue, etc)
The refactor decisions

I added a test for the ENV addition @gencer mentioned, and all tests are still passing.

@swrobel Simply, you can remove secret_key_base from your credentials.yml.inc, so ENV['SECRET_KEY_BASE'] will be used always in Heroku environment.

This is not the case. If Rails.application.credentials exists at all, Devise will try to get secret_key_base from Rails.application.credentials.secret_key_base. If it does not exist, it doesn't try the other sources. So if you want to set SECRET_KEY_BASE from an environment variable and still use config/credentials.yml.enc for other values, that won't work.
I think @ttilberg is correct that Rails.application.secret_key_base should be called first if it exists to avoid this problem.

Or rather, removing secret_key_base from credentials.yml.enc causes ENV['SECRET_KEY_BASE'] to be used by Rails, but not by Devise.


Expand list of sample/starter DNS server entries

I don't know the terms of use, but these servers were listed as options for the https://digwebinterface.com web tool:

Server IP
Description

<IP_ADDRESS>
Google

<IP_ADDRESS>
AT&T (US)

<IP_ADDRESS>
CloudFlare

<IP_ADDRESS>
Comodo (US)

<IP_ADDRESS>
Google

<IP_ADDRESS>
HiNet (TW)

<IP_ADDRESS>
OpenDNS

<IP_ADDRESS>
Quad9

<IP_ADDRESS>
Securolytics (CA)

<IP_ADDRESS>
UUNET (CH)

<IP_ADDRESS>
UUNET (DE)

<IP_ADDRESS>
UUNET (UK)

<IP_ADDRESS>
UUNET (US)

<IP_ADDRESS>
Verisign (US)

<IP_ADDRESS>
Yandex (RU)

These are already part of our list and I believe this project is fully compliant with their inclusion:

Server IP
Description

<IP_ADDRESS>
CloudFlare

<IP_ADDRESS>
Google

<IP_ADDRESS>
Google

<IP_ADDRESS>
OpenDNS

See also #21.

Another resource:
https://dnschecker.org/dns-servers.php
Looks like they have a pretty comprehensive list of available DNS servers. It's probably going to be worth keeping the provided list in this repo reasonably small and just link to reputable DNS-related sites that already provide/maintain current DNS server lists.

https://adguard.com/en/adguard-dns/overview.html

https://github.com/AdguardTeam/AdGuardHome

Could be interesting to compare against other servers in a list.


sometimes the line number parser (for error compilation) doesn't quite work.

seems to occur with nested modules?
figure out why and fix it.

fixed in aefb949


Feature Request: Add commands to "list" for focusing the first and last child of the current tree

Posting this request here per the request of @bpasero. See here for initial thoughts. https://github.com/Microsoft/vscode/issues/11517#issuecomment-301913181
The gist of this request is that I'd like to be able to somewhat mirror the functionality of vim NERDTree when the explorer is focused by adding keybindings to shift+j and shift+k to jump to the first and last child of the current list.
Currently, we're only able to jump to the parent of the current list, the first child of root, and the last child of the root with list.collapse, list.focusFirst, and list.focusLast, respectively.

PR welcome.

Added as list.focusFirstChild and list.focusLastChild


Colors "suface" and "background" (light) have different color code although they are the same in Dart/Flutter

I generated colors using the Plugin.
In Figma, I get different color codes for "light/surface" and for "light/background".
My colleagues in the dev team get the same color code when they implement.
Hence I believe there is a discrepency between Figma Plugin and Dart/Flutter.

+1


Add World Press Freedom Day banner

What does this change?

How to test

How can we measure success?

Have we considered potential risks?

Images

Accessibility

[ ] Tested with screen reader
[ ] Navigable with keyboard
[ ] Colour contrast passed
[ ] The change doesn't use only colour to convey meaning

 WPFD banner - engineering


update packages

:white_check_mark: Build TheIdServer 7.0.2-fix-dependencies1-0017 completed (commit https://github.com/Aguafrommars/TheIdServer/commit/da598ddd37 by @)


Setup Guide: Edit Suggestion

Hi Jens
Step 2 of the Configure Access Profile Approval Process had me looking for a few mins can I suggest editing to :
"2. Click the AccessProfile>Approval>Enable Profile button in the command bar."

Thank you!
In a recent release all custom command bar buttons was grouped into the Access Profile button.
Will update the Readme instructions to reflect that change.

I have updated the instructions with the changes to the command bar button and also removed a couple of steps that are not required.


Error Building

I am trying to build the app on Mac:
I did :
>>msbuild QuantConnect.Lean.sln

"/Users/jos/Lean/QuantConnect.Lean.sln" (default target) (1) ->
"/Users/jos/Lean/Launcher/QuantConnect.Lean.Launcher.csproj" (default target) (2) ->
"/Users/jos/Lean/Api/QuantConnect.Api.csproj" (default target) (6:2) ->
(ResolveAssemblyReferences target) ->
  /Library/Frameworks/Mono.framework/Versions/6.0.0/lib/mono/msbuild/Current/bin/Microsoft.Common.CurrentVersion.targets(2126,5): warning MSB3277: Found conflicts between different versions of "Newtonsoft.Json" that could not be resolved.  These reference conflicts are listed in the build log when log verbosity is set to detailed. [/Users/jos/Lean/Api/QuantConnect.Api.csproj]
  /Library/Frameworks/Mono.framework/Versions/6.0.0/lib/mono/msbuild/Current/bin/Microsoft.Common.CurrentVersion.targets(2126,5): warning MSB3277: Found conflicts between different versions of "NodaTime" that could not be resolved.  These reference conflicts are listed in the build log when log verbosity is set to detailed. [/Users/jos/Lean/Api/QuantConnect.Api.csproj]

"/Users/jos/Lean/QuantConnect.Lean.sln" (default target) (1) ->
"/Users/jos/Lean/Launcher/QuantConnect.Lean.Launcher.csproj" (default target) (2) ->
"/Users/jos/Lean/Api/QuantConnect.Api.csproj" (default target) (6:2) ->
(CoreCompile target) ->
  ApiConnection.cs(50,23): warning CA1305: The behavior of 'int.ToString()' could vary based on the current user's locale settings. Replace this call in 'ApiConnection.ApiConnection(int, string)' with a call to 'int.ToString(IFormatProvider)'. [/Users/jos/Lean/Api/QuantConnect.Api.csproj]
  ApiConnection.cs(91,48): warning CA1305: The behavior of 'int.ToString()' could vary based on the current user's locale settings. Replace this call in 'ApiConnection.TryRequest<T>(RestRequest, out T)' with a call to 'int.ToString(IFormatProvider)'. [/Users/jos/Lean/Api/QuantConnect.Api.csproj]
  Api.cs(565,42): warning CA1305: The behavior of 'DateTime.ToString(string)' could vary based on the current user's locale settings. Replace this call in 'Api.ReadDataLink(Symbol, Resolution, DateTime)' with a call to 'DateTime.ToString(string, IFormatProvider)'. [/Users/jos/Lean/Api/QuantConnect.Api.csproj]
  Api.cs(561,44): warning CA1304: The behavior of 'string.ToLower()' could vary based on the current user's locale settings. Replace this call in 'Api.ReadDataLink(Symbol, Resolution, DateTime)' with a call to 'string.ToLower(CultureInfo)'. [/Users/jos/Lean/Api/QuantConnect.Api.csproj]
  Api.cs(717,42): warning CA1305: The behavior of 'DateTime.ToString(string)' could vary based on the current user's locale settings. Replace this call in 'Api.GetSplits(DateTime, DateTime)' with a call to 'DateTime.ToString(string, IFormatProvider)'. [/Users/jos/Lean/Api/QuantConnect.Api.csproj]
  Api.cs(718,40): warning CA1305: The behavior of 'DateTime.ToString(string)' could vary based on the current user's locale settings. Replace this call in 'Api.GetSplits(DateTime, DateTime)' with a call to 'DateTime.ToString(string, IFormatProvider)'. [/Users/jos/Lean/Api/QuantConnect.Api.csproj]
  Api.cs(741,42): warning CA1305: The behavior of 'DateTime.ToString(string)' could vary based on the current user's locale settings. Replace this call in 'Api.GetDividends(DateTime, DateTime)' with a call to 'DateTime.ToString(string, IFormatProvider)'. [/Users/jos/Lean/Api/QuantConnect.Api.csproj]
  Api.cs(742,40): warning CA1305: The behavior of 'DateTime.ToString(string)' could vary based on the current user's locale settings. Replace this call in 'Api.GetDividends(DateTime, DateTime)' with a call to 'DateTime.ToString(string, IFormatProvider)'. [/Users/jos/Lean/Api/QuantConnect.Api.csproj]
  Api.cs(802,24): warning CA1305: The behavior of 'string.Format(string, object, object)' could vary based on the current user's locale settings. Replace this call in 'Api.CreateSecureHash(int, string)' with a call to 'string.Format(IFormatProvider, string, params object[])'. [/Users/jos/Lean/Api/QuantConnect.Api.csproj]

"/Users/jos/Lean/QuantConnect.Lean.sln" (default target) (1) ->
"/Users/jos/Lean/Launcher/QuantConnect.Lean.Launcher.csproj" (default target) (2) ->
"/Users/jos/Lean/Algorithm.CSharp/QuantConnect.Algorithm.CSharp.csproj" (default target) (3:2) ->
"/Users/jos/Lean/Algorithm.Framework/QuantConnect.Algorithm.Framework.csproj" (default target) (18:2) ->
(CoreCompile target) ->
  CSC : error CS1705: Assembly 'QuantConnect.Algorithm' with identity 'QuantConnect.Algorithm, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null' uses 'NodaTime, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=4226afe0d9b296d1' which has a higher version than referenced assembly 'NodaTime' with identity 'NodaTime, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=4226afe0d9b296d1' [/Users/jos/Lean/Algorithm.Framework/QuantConnect.Algorithm.Framework.csproj]
  Selection/ScheduledUniverseSelectionModel.cs(116,30): error CS1705: Assembly 'QuantConnect.Common' with identity 'QuantConnect.Common, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null' uses 'NodaTime, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=4226afe0d9b296d1' which has a higher version than referenced assembly 'NodaTime' with identity 'NodaTime, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=4226afe0d9b296d1' [/Users/jos/Lean/Algorithm.Framework/QuantConnect.Algorithm.Framework.csproj]
  CSC : error CS1705: Assembly 'QuantConnect.Common' with identity 'QuantConnect.Common, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null' uses 'NodaTime, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=4226afe0d9b296d1' which has a higher version than referenced assembly 'NodaTime' with identity 'NodaTime, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=4226afe0d9b296d1' [/Users/jos/Lean/Algorithm.Framework/QuantConnect.Algorithm.Framework.csproj]

"/Users/jos/Lean/QuantConnect.Lean.sln" (default target) (1) ->
"/Users/jos/Lean/Launcher/QuantConnect.Lean.Launcher.csproj" (default target) (2) ->
"/Users/jos/Lean/Api/QuantConnect.Api.csproj" (default target) (6:2) ->
  CSC : error CS1705: Assembly 'QuantConnect.Common' with identity 'QuantConnect.Common, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null' uses 'Newtonsoft.Json, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' which has a higher version than referenced assembly 'Newtonsoft.Json' with identity 'Newtonsoft.Json, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' [/Users/jos/Lean/Api/QuantConnect.Api.csproj]

    15 Warning(s)
    4 Error(s)

Time Elapsed 00:00:03.75

Hi @joseph-vedadi !
I believe you are using mono 6.0.0 right? We are currently successfully using mono <IP_ADDRESS> (see https://github.com/QuantConnect/Lean/blob/master/DockerfileLeanFoundation#L39), you can find this version of mono for mac at https://download.mono-project.com/archive/5.12.0/macos-10-universal/MonoFramework-MDK-<IP_ADDRESS>.macos10.xamarin.universal.pkg

Taking a close look at the error it seems the version of NodaTime used by 'QuantConnect.Algorithm' and 'QuantConnect.Common' have been updated in your solution? Reverting those changes should solve the issue.
Closing this issue for now, let us know if issues persist


Postgres backup file location picker

It would be great to have a save file dialog to select the path for the backup file:

@adsbot nope

Hi @akamath46297, can you take a look at this feature request and decide if it should be included in the next release?

@akamath46297 any feedback on this issue?


Unable to get access_code in response.

In the callback function after the successful completion. I am not getting access_code.
I need access code recurring payments. I want to store this in my database.
Can anyone help me out with this?

You have to that at the backend. Check here for how it was done


Display EVM balance

This feature already achieved in flow wallet ios dev version1.0.0(10).
The app display evm balance in main page and token page.


mobile app prototype

develop prototype for mobile app format

Hi @Dabrytskaya @WalterAlvar
We were looking through issues today, and we checked that there are still some parts of mobile prototype that are not completed, in particular:

card of a volunteer (full one)
contact form (with a volunteer not the organization)

Could you please finish it this week?

@WalterAlvar you will finish mobile version or i can do it tomorrow?

Hello! Yes, I will finish it tomorrow early

Done!

LGTM


Angular import error in node modules

node version: 14
angular version: 7.3.5
please help

Going to close this because I can't reproduce it. Please post instructions for how I can encounter this error on my own computer because otherwise I have no idea what you're trying to do here and no ability to debug the issue. I can't intuit what is going on in your computer from a single screenshot of an error message.


problems with build_visit, zlib, png

zlib is now required when using build_visit.
Users have reported issues with system png conflicts with zlib.
We think the dependency is coming from qt, so we should modifiy the qt configure to also use the zlib compiled by build_visit.
May want to up the version of zlib to 1.2.9.
Should probably also add png to our required libs.
Qt, VTK are a couple I can think of that would need changing to use build_visit version of png.

If I remember correctly, the zlib site release notes indicated that you should skip 1.2.9 and 1.2.10 and go to 1.2.11, presumably because of bugs introduced in 1.2.9.
From: Kathleen Biagas<EMAIL_ADDRESS>Sent: Wednesday, July 31, 2019 3:19 PM
To: visit-dav/visit<EMAIL_ADDRESS>Cc: Subscribed<EMAIL_ADDRESS>Subject: [visit-dav/visit] problems with build_visit, zlib, png (#3702)
zlib is now required when using build_visit.
Users have reported issues with system png conflicts with zlib.
We think the dependency is coming from qt, so we should modifiy the qt configure to also use the zlib compiled by build_visit.
May want to up the version of zlib to 1.2.9.
Should probably also add png to our required libs.
Qt, VTK are a couple I can think of that would need changing to use build_visit version of png.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/visit-dav/visit/issues/3702?email_source=notifications&email_token=AAING7XG7AJAM4OFLFANSQDQCIFXBA5CNFSM4IILAOQKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HCVYJ4Q, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AAING7X3VK5UGJ3OE4QFD7LQCIFXBANCNFSM4IILAOQA.

Qt's configure shows 3 options for zlib: -system-zlib, -qt-zlib or -no-zlib.
Looks like default is -system-zlib. (At least when I ran build-visit, qt's configure summary shows it using system zlib when no zlib option was specified in configure options).  The verison of zlib included with qt 5.10.1 is 1.2.11.
There doesn't appear to be a way to tell qt where to find a 'system' zlib.
Should we tell qt to use its internal zlib and png?

Yes, that seems like the way to go. The distribution will be a little larger (probably small compared to what it is now), and there will be a small increase in compile time (again small compared to what it is now), but this should fix the problem.


topic 0 , point 3

here I go up the topic 0, point 3

Create from your branch to your master in your Repo


Can aws csi driver be installed on GKE cluster in GCP

Wondering if it is possible to use aws s3 csi driver on gke cluster. If so where can I find documentation around it ? It will be great if I can use Trusted web identity.

The driver is not tested or officially supported with GKE, however I'm not aware of a reason it wouldn't work. You will have to use either helm or kustomize to install the driver and most likely k8s secrets will be the only option for configuring credentials.

Hint: Works when using ubuntu image instead of container optimized OS!


Use signatureSlot to verify signatures at period boundary

Motivation
Implements changes made to the spec in the PR https://github.com/ethereum/consensus-specs/pull/2805/files
Closes #4627

Blocked by #4365 tointroduce the signatureSlot field

superseded by #4908


Fixes form submission through Enter/Click

Fixes #38

Thanks for the review @ebolyen, should be good to go! Switched to using e.target for the form data gathering.

:+1:


Identify Bitcoin data source limits

Limitations
Reliability
How well can we handle issues?

Repeatedly selecting 'Bitcoin' from the dropdown, or clicking one of the period selectors more than about once per second results in requests failing with status 429 (Too Many Requests).
Error getting historic data: [object XMLHttpRequest] is logged to the console!

Switching between generated data and Bitcoin can result in websocket connection errors which are only reported in the console:
WebSocket connection to 'wss://ws-feed.exchange.coinbase.com/' failed: WebSocket is closed before the connection is established.

app.js:19468 Error loading data from coinbase websocket: error undefined

app.js:19468 Error loading data from coinbase websocket: close 1006

Looking at the error object when getting historic data, it seems the rate limit is 1 request/second:
You have exceeded your request rate of 1 r/s.


Conclude MoC for Objective 4

We can work on this issue after Diwali holidays.

The latest draft seems missing.