roadmap of sorts

we're currently at v0.5.0, whatever the hell that means, and I'm interested in knowing what the plans are. I'm the one driving the dev, and I'm super 100% okay with that as numerical stuff is my game, but I just wanted opinions from everyone else as to what we should add. here are my thoughts, the version numbers are just some made-up-on-the-fly system:
v0.6.0
release of linalg.js, which is capable of solving linear systems. this should have:

Gaussian Elimination (which is part of matrix.js but it can be written more efficiently and pivoting isn't necessary for diagonally dominant systems)
special system solvers (triangular, banded, etc.)
iterative methods for solving systems.

I've already implemented most of this and am going to submit a PR soon. gotta write tests first and that's going to be a mess.
TODO:

least squares solver
Hessenberg or Tridiagonalization reduction
banded / triangular / special GE
QR factorization
preconditioning stuff

v0.7.0
release of sparse.js, a combination of linalg.js and matrix.js but for sparse vectors and matrices.
TODO:

basically everything implemented except with sparse considerations
sparse matrix reordering algorithms, such as Cuthill-McKee, Reverse Cuthill-McKee and that greedy algorithm I can never remember the name of
use a binary search to replace .indexOf for these operations (will explain when not so tired)

v0.8.0
release of odes.js, used to solve ODEs. I've already written some solvers but I need to change some things.
TODO:

find implementation of Runga-Kutta-Fehlberg (MATLAB's ode45)
look into ode23 and the other methods that MATLAB uses
rewrite my current solvers (not submitted yet) for arbitrary dimensional systems
find out a way to test them, because I've already learned this is a terrible pain.

v0.9.0
release of pdes.js, used to solve PDEs. I don't know much about solving PDEs numerically except for using the finite difference method which is pretty simple to implement I think.
TODO:

implementation!
look up more methods.

v0.10.0
release of interpolate.js, used for interpolation stuff. already written a bit of this (linear splines) but I need to look into it more (cubic splines are best!)
v1.0.0
this is something I may discuss privately with Steve & Kartik (the latter of whom I've already mentioned it to) but it will probably be its own project, so ideas for 1.0.0 are welcome.
@KartikTalwar @sjkaliski sorry for the essay.
@LarryBattle since you've been helping out recently too.

I'm wondering if we should basically copy numpy. @LarryBattle thoughts?

Hi! Just found this project. I'm a couple days into writing my own math library and decided maybe it made more sense to build on an existing project. I have a reasonably alright background in linear algebra, ODEs and PDEs, and I'd love to make something people can use. You can find my start at spacetime.js. (Pardon the name; it started out physics-oriented.)
To answer your first question: My goal is to do engineering and physics-type calculations in order to make web demos/visualizations. That gets into polynomial root-finding, root-finding for transcendental equations, ODE integration, complex numbers… for a start…
Here are some thoughts:

It looks like numbers.js doesn't use typed arrays. Is that something that'd make sense? I've only done vectors so far, but when I get to matrices, I'm planning to unroll everything and use typed arrays and index math. I think that'd make it possible to do views/slices, but… yikes. For complex vectors, I've just interleaved the real and complex components, and manage i/o with getters and setters. Any serious work is encapsulated and unrolled. The goal is to duck-type real vs. complex, which at least slightly alleviates the lack of operator overloading.
The linear algebra stuff looks great!

Anyway, I'm curious how or if I might contribute. I currently do have the time! I've done a few things in my library that I think could be pretty useful, specifically:

Typed vectors
In-place operations (i.e. z1.add(z2)) and operations that create a new objects (e.g. Complex.add(z1,z2)) since JS doesn't support overloading.
I added complex trig and hyperbolic trig functions. Is that + tests something you can steal?
I feel alright about my RK-2 and RK-4 solvers. The tests cover order of convergence. I also have RKF45 and RK78 with embedded solvers (useful for adaptive stepping!) lying around.
I've been going through the Jenkins-Traub polynomial root-finding algorithm. I'm hoping to get that implemented in the next day or two.
I also have tridiagonal, periodic tridiagonal and pentadiagonal solvers lying around in some old directory somewhere. Great for PDEs!

I'm not sure where that leaves things. I'd love to make scientific computing a thing that can be done in straight JS, but the thought of extending your excellent linear algebra work to complex numbers makes me slightly nauseated. I'm eager to do something substantial though, and until I go back to work in a month, I definitely have the time! Let me know if there's anything here that makes sense, otherwise I'll keep rolling on my own library and at worst, maybe it'll result in code someone can steal an integrate into a better project!

@rreusser all contributions are welcomed! In place operations have certainly been something of interest (and a few issues have been filed for it).


[ENH] Allow fetching of arbitrary user environments

Fixes #857.
Description
This pull request:

Adds the ability to specify a JSON web token (JWT) as a query parameter when making a GET request to the /environment/ endpoint. The response will include only environments visible to the specified JWT.
Adds the ability to specify a role_mapping parameter for the corresponding Python API, conda_store_server.api.list_environments. The role mapping should be a dictionary of the same type used to configure role mappings in the conda_store_config.py, e.g. passing:

role_mapping={
  "*/*": ["editor"],
  "default/env": ["viewer"]
}

to list_environments would return only environments that match either of the two dictionary keys; the keys mean the same thing as they do in the conda_store_config.py:
"*/*" = match all namespace names and match all environment names
"default/env" = match any namespace named "default" and match any environment named "env"

To enable this, I moved conda_store_server.server.auth.AuthenticationBackend.compile_arn_sql_like, which turns a role mapping key into a SQL-compatible regex that can be used to filter namespaces and backends, to conda_store_server._internal.utils.compile_arn_sql_like so that I could use it outside of the AuthenticationBackend. Doing this required updating a few different files, and I took the opportunity to define some useful type aliases, leave some type annotations, and add some docstrings.

Pull request checklist

[x] Did you test this change locally?
[x] Did you update the documentation (if required)?
[x] Did you add/update relevant tests for this change (if required)?

How to test
Tests of new functionality in both the REST API and the Python API were added, so CI should take care of this. You can also run them locally with pytest.

Thanks @peytondmurray I left a number of suggestions and questions.
Other questions as this was not entirely clear to me from the PR description and after seeing the tests.
1. As an end user if I want to use the REST API to get a list of envs I need to pass then

role_mapping={
  "*/*": ["editor"],
  "default/env": ["viewer"]
}

as a query parameter like environments?role_mapping? or how would you expect this to work?

No, that's only for the Python API. For the REST API, you pass a JWT of the user you want to fetch environments for, e.g. /environment/?jwt=<jwt-of-whatver-user>.

2. if so, what happens if the user does not provide a role for example

role_mapping={
  "*/*",
}

is that even possible?

Role mappings are dictionaries, so this isn't currently possible - you need associated roles in order for this to work.

So for the REST API the default behavior is to just return all the environments a user has some access to.
No filtering through role or something else.

No, sorry, I should have made that more clear - for the REST API, any user A who requests the environments that B has access to must also have access to those environments, following the discussion we had previously.

Right I did see the filtering when doing the code review this

No, that's only for the Python API. For the REST API, you pass a JWT of the user you want to fetch environments for, e.g. /environment/?jwt=.

was what confused me. So all good then.
Now, does the whole environment fetching need to be documented somewhere? I see the comments, which are good, but I'm thinking of end-users who might want to use this new functionality.

100% agreed. Once the openapi.json reference is updated we'll have that. But maybe it make sense to start a document where some common uses cases are shown in examples?


Internal error when assignment count mismatch.

function main (string[] args) {
    var x, err = 5;
    system:println(x);
}

Output:
ballerina: internal error occurred

Fixed in v0.93.1
Below error message is printed now:
error: mainFunction.bal:4:18: assignment count mismatch: 2 != 1
compilation contains errors


Weekly Scrum - March 14, 2022

Last Week:

#3
#4

This Week:

#13

Blockers:

None

Last Week:

Frontend HTML and CSS for login and signup pages
Next Week:
Setup database for the app
Blockers:
None

Last week:

Front end design

Next week;

schema and controller

Blockers:

None


Formatting only diffed files

I saw in the readme that a goal was to be able to format only changed files. Here is a snippet :
import os
import subprocess

cmd = ['git', 'diff-index', '--name-only', 'HEAD']
output = subprocess.Popen(cmd, stdout=subprocess.PIPE).communicate()[0]
files = iter(output.splitlines())

You can then loop through this output to get each file.
It may not be the most elegant way but it does work. You can also check if there are changed files with "git diff-index --quiet HEAD"
I can supply a patch if this seems ok. : )

Maybe this command is sufficient for your purpose?
git clang-format --diff

I was going off the bottom of the readme. Have you implemented it with that method or not bothering with any? Perhaps I mis-read.

Indeed the bottom of the README does not give enough details, TBH I don't remember what I had in mind...but git clang-format --diff does things, if one wants to just verify recently pushed commits in CI.
I'm closing since it looks like you aren't looking to solve an issue either, but were merely suggesting a way forward.
Thank you.


Strange error when looking for ghcjs packages

Issue description
error: anonymous function at /nix/store/4gy7vzsdny8xs5ksqhnnmk0pvji9pq1g-nixos-16.09.929.80cbb8a/nixos/pkgs/development/haskell-modules/hackage-packages.nix:51506:6
  called without required argument ‘ghci’, at
  /nix/store/4gy7vzsdny8xs5ksqhnnmk0pvji9pq1g-nixos-16.09.929.80cbb8a/nixos/lib/customisation.nix:56:12

Steps to reproduce
Run nix-env -qaP -A nixos.haskell.packages.ghcjs
Technical details

System: 16.09.929.80cbb8a (Flounder)
Nix version: nix-env (Nix) 1.11.4
Nixpkgs version: 16.09.929.80cbb8a

It’s a bug in that particular version of hackage-packages.nix that is fixed on master.
Generally all packages from hackage are available for ghc/ghcjs, though some might fail. So just type in the package you want to install (same name as on hackage). If something doesn’t build, don’t hesitate to open an issue and mention me.


Not detecting device

I setup everything and the control panel is working but after infecting a device with the builded apk it won't show up on the list. The phone is called Xiaomi redmi note 9 and got android 11. Antivirus didn't detect it so it shouldn't be a problem.

sorry I pasted the link with / 😂


Winget problem

I launched iwr -useb https://christitus.com/win | iex
The utility opened to the install software page
I selected Notepad++ and clicked Start Install
I saw it check for winget and it said winget is already installed
then it continued to "install Notepad++" and reported Installed Programs Notepad++.Notepad++
I clicked OK. The script seems frozen just after ---  Installs are Finished  ---
Notepad++ is not installed on my computer
Nor can powershell or DOS recognize winget as anything usable
The script is seemingly still running with just a blinking cursor for the last 15 minutes or so.

@ChrisTitusTech I feel like Winget has a lot of weird quirks, should we migrate over to Chocolatey?

Try to update Microsoft Desktop App Installer to the latest version in Microsoft Store. After update to the latest version, run powershell as admin and type winget and them accept the terms, and try again

I'm just going to switch from the microsoft store and push to using nuget with all the fixings. This will prevent winget from not working.

The nuget version will install in the windows 10 sandbox too. After installing VCLibs 14 and Microsoft.UI.Xaml.2.7.
In a fresh sandbox Add-AppxProvisionedPackage doesn't work though but Add-AppxPackage is fine.

Hi,
I had the same issue.
To solve it, I've added the missing environnement variable : %userprofile%\AppData\Local\Microsoft\WindowsApps
You could try that.
Regards

@ChrisTitusTech I feel like Winget has a lot of weird quirks, should we migrate over to Chocolatey?

Yes, I think between choco and scoop it should cover most things. winget is becoming more and more problematic.

I found a powershell script for silent winget installation can you check it @ChrisTitusTech
https://gist.github.com/jedieaston/0e64dd0ea27ba34d72e38538fee46c20

I'm going to streamline this and remove the ms-appinstaller portion and directly install the appx without ms store needing to be present.

implemented in commit b229e08e37d25f12265fc584c52132c981227e05

Thank you
Get Outlook for Androidhttps://aka.ms/AAb9ysg

From: Chris Titus @.>
Sent: Monday, March 6, 2023 2:52:12 PM
To: ChrisTitusTech/winutil @.>
Cc: Jim Chappelear @.>; Author @.>
Subject: Re: [ChrisTitusTech/winutil] Winget problem (Issue #319)
Closed #319https://github.com/ChrisTitusTech/winutil/issues/319 as completed.
—
Reply to this email directly, view it on GitHubhttps://github.com/ChrisTitusTech/winutil/issues/319#event-8678702024, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ACVPZJE7SO7MQ7HTZHTOVXDW2ZE7ZANCNFSM6AAAAAARMFJV7U.
You are receiving this because you authored the thread.Message ID: @.***>


How do I submit an edit to the Wiki?

There are several typos in the Haxchi game list.

Try contacting /u/dubyadud if you can't edit anything


[core] refactor step method

This PR adds a new safety checker inside step method to make sure the rewards are set on the correct device. Regarding the queries and the responses users should retrieve the dataloader from the trainer and use that instead as the device assignment is performed directly at the dataloader level. Since the reward is not part of the dataloader the device assignment needs to be performed manually.
This PR also adds inside the safety checker a new check. Before this PR if a user pass a reward tensor with a dimension different from 0 (e.g. torch.tensor([1.0])) it would break the training loop. Therefore now we force the reward tensor to be with the desired shape. We now also throw a value error if the dimension of the reward is > 1.
cc @lewtun @lvwerra @edbeeching

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.


Add an option to hide the Trace Explorer from the left navbar

Most other plugins support a 'Close' action that removes it from the left navbar. The trace extension doesn't implement 'Close' as seen in the following screenshot of the navbar icon's context menu:

Related: PR #82

Related: PR #82


Two zero byte files crash the Checking function

Hello Mr. Podans,
I am very interested in migrating away from Microsoft's FCIV and over to your PsFCIV due to its support of more secure hashing algorithms, i.e. SHA256.
I was initially testing PsFCIV on a data set of 130 megabytes, 267 Files, 89 Folders.  The DB.xml generated successfully but a second run for Checking the files was crashing.  In this case there were Two zero byte files hiding in different locations in the data, not even next to one another.
I'm able to reproduce the crash on a small scaled down example of just 3 text files, one having text, the other two having zero bytes.  Below are the commands and output.  Attached is tmp.zip containing the samller example files and db.xml
Thank You!

PS C:> Start-PsFCIV -Path "C:\tmp" -XML "C:\Users\Owner\Desktop\DB.xml" -HashAlgorithm SHA1 -Recurse -Verbose
VERBOSE: Perform file 'C:\tmp\file1_does_have_text_inside.txt' checking.
VERBOSE: Perform file 'C:\tmp\file2_ZERO_bytes.txt' checking.
VERBOSE: Perform file 'C:\tmp\file3_ZERO_bytes.txt' checking.
Total files processed      : 3
Total new added files      : 3
Total good files           : 0
Total bad files            : 0
Total unknown status files : 0
Total missing files        : 0
Total locked files         : 0
Total   : 3
New     : 3
Ok      : 0
Bad     : 0
Missed  : 0
Locked  : 0
Unknown : 0
Deleted : 0
PS C:> Start-PsFCIV -Path "C:\tmp" -XML "C:\Users\Owner\Desktop\DB.xml" -HashAlgorithm SHA1 -Recurse -Verbose
VERBOSE: Perform file 'C:\tmp\file1_does_have_text_inside.txt C:\tmp\file2_ZERO_bytes.txt C:\tmp\file3_ZERO_bytes.txt'
checking.
VERBOSE: File file1_does_have_text_inside.txt file2_ZERO_bytes.txt file3_ZERO_bytes.txt is locked. Skipping this file..
PS C:>

tmp.zip

Thanks for report, I will investigate this. I'm not sure if I ever tested against zero-byte files, so this certainly can be a bug.

Hi, sorry for late response.
Finally I've found a time to work on your issue. It appears there are several issues in the code:

I'm incorrectly detecting the FCIV mode (native or legacy). I'm examining Size property in XML database which doesn't exist in legacy FCIV and put the script in legacy FCIV processing mode if its value equals to 0 (default for Int64). However, file itself can have zero size. I moved detection to Timestamp property which is more reliable in this case, because it is $null for legacy
when legacy mode is ON, I'm using for loop to iterate over entries in DB and access them by index. However, $db.Entries is of type of ISet<T> which doesn't have an indexer.
for loop contains several return statements which are meant to be continue.

maybe there are other issues.

No rush.  I'm just happy you are continuing development of this awesome program.
Thanks for stepping through the code and identifying these different legacy mode issues.
I keep checking back every so often on GitHub and PowerShell Gallery to see if there is a new version of PsFCIV to try out.

Hello, hope you are well. I believe I've fixed your issue. If you wouldn't mind, please check the most recent version of Start-PsFCIV.ps1 file from this repo and confirm if issue is resolved. If it is, I will update the release on PowerShell Gallery.
There is another

Happy New Year!
Great!!  I've tested the updated code against my data set containing zero byte files, and it now works perfectly while checking DB.xml
Thanks again for looking into this.

I just want to let you know that updated version is published to PowerShell Gallery as v1.1.

how store the file relative path in db, but not the absolute path


chore: bulk 'implement' (scaffold) dyadic verbs with function pointers again?

Move the VerbImpl stuff back to function pointers, and flesh out the list of function pointers for all of the dyadic verbs my regex could handle.
I think VerbImpl still deserves to exist, but now it switches between types of VerbImpls, instead of the actual implementations, which makes a bit more sense. An advantage of this approach is that the definition of all of the (what I'm calling) "simple" verbs is in one place, you only have to edit the table in primitive_verbs to add a verb, no more fiddling with the VerbImpl#exec. Maybe VerbImpl needs a different name? Maybe not. It's still the verb impl.
I very much like the split of monadic and dyadic functions into different named functions with different signatures, and it works fine for all of the existing code, but we could maybe go back to a single function which switches on x.is_none internally if that's likely to be valuable. Or something else!

It's slightly weird that SimpleImpl isn't a &'static, maybe this is a case for something like phf? I doubt the inefficiency matters for now, or it might even be faster, who knows how computers work.


Green coloring in JSON?

The first element in the resources JSON is colored green. Not sure if this is intentional.
Using Imgur as docs feedback doesn't allow copy/paste of screenshots like GitHub does.
https://imgur.com/TB6pjZo

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

ID: da7dc283-dacc-614c-4da1-408493c3d8d9
Version Independent ID: 019dd9e5-fa89-d9f4-49e8-1ee9c48a0885
Content: Quickstart: Create a Load Balancer - Azure template - Azure Load Balancer
Content Source: articles/load-balancer/quickstart-load-balancer-standard-public-template.md
Service: load-balancer
GitHub Login: @asudbring
Microsoft Alias: allensu

@JamesEarle Thanks for the feedback! I believe that this is intentional, as it highlights the Azure Load Balancer portion of the template. @asudbring to confirm.

Yes, this is intentional to highlight the load balancer resource in the template.
#please-close

@asudbring Good to know, please make sure when JSON is completed (currently ends before JSON is complete, a separate issue) that the remainder is highlighted as well. Also I didn't see mention of this in the documentation being why, so hopefully that will be added. Thanks.


chore(deps): update dependencies

Codecov Report

Merging #2 (b266b40) into master (511e227) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##            master        #2   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            3         3
  Lines           35        35
=========================================
  Hits            35        35

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 511e227...b266b40. Read the comment docs.


fix(cookie): Bump tough-cookie using override

Description
Small set of changes to get tough-cookie override fixed: https://issues.redhat.com/browse/RHOAIENG-7540
How Has This Been Tested?
Ran/built locally - no errors
Test Impact
Shouldn't be any - either this will work or it won't
Request review criteria:

Self checklist (all need to be checked):

[ ] The developer has manually tested the changes and verified that the changes work
[ ] Commits have been squashed into descriptive, self-contained units of work (e.g. 'WIP' and 'Implements feedback' style messages have been removed)
[ ] Testing instructions have been added in the PR body (for PRs involving changes that are not immediately obvious).
[ ] The developer has added tests or explained why testing cannot be added (unit or cypress tests for related changes)

If you have UI changes:

[ ] Included any necessary screenshots or gifs if it was a UI change.
[ ] Included tags to the UX team if it was a UI/UX change (find relevant UX in the SMEs section).

After the PR is posted & before it merges:

[ ] The developer has tested their solution on a cluster by using the image produced by the PR to main

/test all


Failed when creating a new app

npm install -g npm@latest -> executed and done.
Error persists when I'm running 'create-react-app' command.
module.js:472
    throw err;
    ^

Error: Cannot find module 'glob'
    at Function.Module._resolveFilename (module.js:470:15)
    at Function.Module._load (module.js:418:25)
    at Module.require (module.js:498:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (/usr/local/lib/node_modules/create-react-app/node_modules/rimraf/rimraf.js:7:12)

After install glob manually (npm install -g glob), it failed for minimatch module. I installed it manually too (npm install -g minimatch).
create-react-app command works after that.

npm version 5.0.3

Try removing node_modules, downgrading npm to 4.x, and running npm install.
Unfortunately<EMAIL_ADDRESS>has been very buggy and people keep reporting issues with it.


[BACLPORT] arch/arm/stm32h7: dma and serial: add TRBUFF flag. It is o…

…bligatory for uart.
Summary
Impact
Testing

@dager I cleaned up the naming and that is pending upstream. Once it comes in this is good to go. On the PX4 side we need to add the flag in the PX4IO DMA setup for the H7


Chat moves to the top when clicked after deleting last message

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

Action Performed:

Click on "New > New Chat"
Search for a new person to chat with
Send some message to the new person
See the chat with the new person is on the top as it is the most recent chat
Delete the last message you sent to the new person
See the chat now moves to the bottom
Open other chats and notice nothing changes
Click on the bottom chat from which you deleted the last message
See the chat now moves to the top even though you did not send any new messages
OR alternatively after no. 6
Click on the chat it self and notice it jumps back to the top.

Expected Result:
The chat should stay at the bottom since there was no new message being sent
Actual Result:
The chat moves to the top when clicked
Workaround:
Can the user still use Expensify without this being fixed? Have you informed them of the workaround?
Platforms:

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

[ ] Android / native
[ ] Android / Chrome
[ ] iOS / native
[ ] iOS / Safari
[ ] MacOS / Chrome / Safari
[ ] MacOS / Desktop

Version Number: 1.3.11
Reproducible in staging?: y
Reproducible in production?: y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
https://github.com/Expensify/App/assets/43996225/f73b2863-696b-4aee-ac5c-912554d81ed3
https://github.com/Expensify/App/assets/43996225/7d658f1d-c011-467a-9fb0-9c5be4db0fca
Expensify/Expensify Issue URL:
Issue reported by: @nathan-mulugeta
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1680787837283849
View all open jobs on GitHub

Proposal
Please re-state the problem that we are trying to solve in this issue.
Two issues.

When we delete last message from a chat, it will move to the bottom of LHN
When we reopen the chat (either by refresh or anything that will trigger OpenReport), the chat will move back to its place.

What is the root cause of that problem?
The LHN is sorted by on lastVisibleActionCreated and name. Every time we delete a message, we will update the lastVisibleActionCreated with the previous visible action created time.
https://github.com/Expensify/App/blob/18c8f9a3a32661ee5d1b5ccdf2f9a57c9a4f4658/src/libs/actions/Report.js#L788-L801
As you can see from the code above that we will update if the previous visible action message (taken from the html attribute) is not empty.
Now, when we delete the last message in a chat, the previous visible action is the CREATED action.

However, CREATED action doesn't have an html message, which will fail the if check, so the lastVisibleActionCreated is empty, pushing the chat down to the bottom of LHN.
Next, when we refresh the page, we will reload the data from the server and it will give us the correct lastVisibleActionCreated, which is the CREATED action created time.
What changes do you think we should make in order to solve the problem?

I might say this is a regression from https://github.com/Expensify/App/pull/16672. So, what we need to do is to use the old logic here
https://github.com/Expensify/App/pull/16672/files#diff-8afe5b71ee0436c21364148c86dadd640f2bff3e3d916addbb1f1f6f7e5b6a43L714-L722
The reason behind the PR is to solve this issue https://github.com/Expensify/App/issues/16652. But I think it's more like a BE issue because you can see at the video we show "No activity yet" for a very short time which means the optimistic data is applied correctly, but then the BE response change the text. Also, even after I use back the old logic, I can't reproduce the issue anymore. And, if you compare carefully between the old and new logic, it will always have the same lastMessageText result.

However, this isn't enough. When the DeleteComment API request complete, it returns a response with empty lastVisibleActionCreated which will replace the correct optimistic lastVisibleActionCreated. I guess the BE use the same new logic (that check if last message is empty nor not), or maybe not. So, we also need to update the BE.

Remember that optimistic data is important for offline mode.

Curious if others think this is a bug or not. Asking internally here https://expensify.slack.com/archives/C01SKUP7QR0/p1683755207837919

Discussion ongoing - Not overdue


Cleanup the generator boilerplate in favor of the recommended add-on driven approach

Volto Team decision (2023-10-10): We will create a yo template that will go on top of the normal add-on template that will enable it as a theme.

@stevepiercy a last minute addition for the sake of completion, in the README.
I am aware that we have to add this to the docs, I plan to do it during the reorder/refactor.

@ericof this is ready to merge! Ping me when you are available to make the changes in cookiecutter.


Hello, what is the training data set? Where can I download it?

Hello, what is the training data set? Where can I download it?
For example, the default '../../data/landmarks/landmarks_full_val' in the code.

Hello, I have the same problem. Have you solved the problem?
Furthermore，do we only need the images and nothing else?

@llzhaoshuo @xiaoweidao  Training Data can be downloaded from    https://github.com/cvdfoundation/google-landmark
and yes only images are required.


Show the value of a variable

How can I show the value of a variable on the display, because I can only show text?

I need an API reference too. thanks in advance.

I need an API reference too. thanks in advance.


⚠ ClamAV has degraded performance

In 5a1d1ea, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 194 ms

Resolved: ClamAV performance has improved in 956daa3.


[SPARK-34181][DOC] Update Prerequisites for build doc of ruby 3.0 issue

What changes were proposed in this pull request?
When ruby version is 3.0, jekyll server will failed with
yi.zhu$ SKIP_API=1 jekyll serve --watch
Configuration file: /Users/yi.zhu/Documents/project/Angerszhuuuu/spark/docs/_config.yml
            Source: /Users/yi.zhu/Documents/project/Angerszhuuuu/spark/docs
       Destination: /Users/yi.zhu/Documents/project/Angerszhuuuu/spark/docs/_site
 Incremental build: disabled. Enable with --incremental
      Generating...
                    done in 5.085 seconds.
 Auto-regeneration: enabled for '/Users/yi.zhu/Documents/project/Angerszhuuuu/spark/docs'
                    ------------------------------------------------
      Jekyll 4.2.0   Please append `--trace` to the `serve` command
                     for any additional information or backtrace.
                    ------------------------------------------------
<internal:/usr/local/Cellar/ruby/3.0.0_1/lib/ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:85:in `require': cannot load such file -- webrick (LoadError)
	from <internal:/usr/local/Cellar/ruby/3.0.0_1/lib/ruby/3.0.0/rubygems/core_ext/kernel_require.rb>:85:in `require'
	from /Users/yi.zhu/.gem/ruby/3.0.0/gems/jekyll-4.2.0/lib/jekyll/commands/serve/servlet.rb:3:in `<top (required)>'
	from /Users/yi.zhu/.gem/ruby/3.0.0/gems/jekyll-4.2.0/lib/jekyll/commands/serve.rb:179:in `require_relative'
	from /Users/yi.zhu/.gem/ruby/3.0.0/gems/jekyll-4.2.0/lib/jekyll/commands/serve.rb:179:in `setup'
	from /Users/yi.zhu/.gem/ruby/3.0.0/gems/jekyll-4.2.0/lib/jekyll/commands/serve.rb:100:in `process'
	from /Users/yi.zhu/.gem/ruby/3.0.0/gems/jekyll-4.2.0/lib/jekyll/command.rb:91:in `block in process_with_graceful_fail'
	from /Users/yi.zhu/.gem/ruby/3.0.0/gems/jekyll-4.2.0/lib/jekyll/command.rb:91:in `each'
	from /Users/yi.zhu/.gem/ruby/3.0.0/gems/jekyll-4.2.0/lib/jekyll/command.rb:91:in `process_with_graceful_fail'
	from /Users/yi.zhu/.gem/ruby/3.0.0/gems/jekyll-4.2.0/lib/jekyll/commands/serve.rb:86:in `block (2 levels) in init_with_program'
	from /Users/yi.zhu/.gem/ruby/3.0.0/gems/mercenary-0.4.0/lib/mercenary/command.rb:221:in `block in execute'
	from /Users/yi.zhu/.gem/ruby/3.0.0/gems/mercenary-0.4.0/lib/mercenary/command.rb:221:in `each'
	from /Users/yi.zhu/.gem/ruby/3.0.0/gems/mercenary-0.4.0/lib/mercenary/command.rb:221:in `execute'
	from /Users/yi.zhu/.gem/ruby/3.0.0/gems/mercenary-0.4.0/lib/mercenary/program.rb:44:in `go'
	from /Users/yi.zhu/.gem/ruby/3.0.0/gems/mercenary-0.4.0/lib/mercenary.rb:21:in `program'
	from /Users/yi.zhu/.gem/ruby/3.0.0/gems/jekyll-4.2.0/exe/jekyll:15:in `<top (required)>'
	from /usr/local/bin/jekyll:23:in `load'
	from /usr/local/bin/jekyll:23:in `<main>'

This issue is solved in https://github.com/jekyll/jekyll/issues/8523
Why are the changes needed?
Fix build issue
Does this PR introduce any user-facing change?
No
How was this patch tested?
Not need

gentle ping @dongjoon-hyun @HyukjinKwon

gentle ping @dongjoon-hyun @HyukjinKwon

Test build #134270 has started for PR 31263 at commit 725bee6.

Test build #134270 has started for PR 31263 at commit 725bee6.

Test build #134270 has finished for PR 31263 at commit 725bee6.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test build #134270 has finished for PR 31263 at commit 725bee6.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/134270/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/134270/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/38857/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/38857/

Test build #134276 has started for PR 31263 at commit cd2e0a2.

Test build #134276 has started for PR 31263 at commit cd2e0a2.

Test build #134276 has finished for PR 31263 at commit cd2e0a2.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test build #134276 has finished for PR 31263 at commit cd2e0a2.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/38861/

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/38861/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/134276/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/134276/

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/38861/

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/38861/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/38861/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/38861/

Test build #134300 has started for PR 31263 at commit 3d0d203.

Test build #134300 has started for PR 31263 at commit 3d0d203.

Test build #134300 has finished for PR 31263 at commit 3d0d203.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test build #134300 has finished for PR 31263 at commit 3d0d203.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged to master, branch-3.1, branch-3.0 and branch-2.4.

Merged to master, branch-3.1, branch-3.0 and branch-2.4.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/38886/

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/38886/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/134300/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/134300/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/38886/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/38886/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/38886/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/38886/


Allow Unicode characters in custom grammar checks

This change allows Unicode characters to be used in custom grammar checks. I tried to limit the changes by keeping the left-to-right TokenStream class and re-using the patterns from the main lexer where possible. This should close a bug where some addresses from hotmail.fr and the like dont parse correctly.

Any idea why tests fail on our CI?

Turns out cchardet isn't available in our CI builds and the fallback detector isn't as good.


MatSidenavContainer / MatDrawerContainer size control

Bug, feature request, or proposal:
Bug
What is the expected behavior?
MatDrawerContainer should be able to act when the size nav changes and adjust the content element.
What is the current behavior?
MatDrawerContainer is OnPush so it will not update.
What are the steps to reproduce?
I don't have a quick use case but some scenarios are:

sidenav size is set after MatDrawerContainer init (later css, custom update etc..)
this will freeze the content on the old width
Tri-state side-nav, this is a side nav with opened/closed state and a minimized state.
When a move from open to minimize occurs UI will not update because the opened state did not change (i.e. its an virtual state)
This is something like "icon mode" where the sidenav is slim with icons only.

What is the use-case or motivation for changing an existing behavior?
Being able to notify the sidenav is important for custom behaviors and custom modes.
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Angular 5, material beta 12
Is there anything else we should know?
I see from the code that reacting to resizes is a problem because it leads to an expensive reflow, so a solution might be an API for the user to notify when a size recalc is needed.
(exposing _updateContentMargins())
Relates issues:
#7682 #8019

Full Width - Opened

Minimized - Opened

Over mode - Closed

Before the update to this component, the whole page responded to resize through ngrx and if you minimized the browser it went from full -> minimized -> over mode

this has already been in debate over here: https://github.com/angular/material2/issues/6743


Remove additional warnings causing duktape compile to fail on Mac

@nick-thompson, Hit some additional errors on mac. Disabling these warnings prior to duktape include resolves.

Nice, thanks!


Add support for multiple scan storages

This PR is related to #3098. It allows the configuration of multiple scan storages. For instance, it can be specified that scan results should be looked up first from a local file storage, then from a Postgres DB, and finally from ClearlyDefined; and new scan results should be written to Postgres only.
To enable this, the ScannerConfiguration class has been changed to hold a map with all configured storages and lists for the storages that should read and write scan results. The format of the ORT configuration file has been adapted accordingly. The config4k configuration library has been replaced by Hoplite, which supports such a dynamic configuration.
Please have a look at the proposed changes of the configuration format and check whether you agree to them. This change will impact existing ORT installations as scan result storages are now configured differently. I don't know whether this is acceptable or whether extra work has to be taken to remain backwards compatible.
When the configuration format has been finalized, I would also update the documentation.

While testing, I noticed one more issue: The whole scanner configuration is stored in the scanner results file. Therefore, a ScannerConfiguration instance needs to be serializable via Jackson. To support this, some more annotations had to be added to the ScanStorageConfiguration base class.


  PLEASE DON'T ASK FOR WORKAROUNDS OR TIMELINES - THIS IS FREE SOURCE CODE
NO ISSUES ARE BEING TAKEN FOR DOCS, ONLY PR'S
ISSUES MUST include full reproducible sample and stacktrace or they will be closed without explanation!!!
Hello
I have a problem with the GPS on Android.
I have a BleClientDelegate where I use the OnConnect method and there I start the gpsManager.StartListener (GpsRequest.Realtime (true));
if the app is running in foreground it also works but if the app is running in background and you connect to bluetooth, it should start the GPS tracker which unfortunately leads to an exception
Please check all of the platforms you are having the issue on (if platform is not listed, it is not supported)

[ ] iOS
[x] Android
[ ] UWP

PLATFORMS THAT YOU CANNOT FILE ISSUES ON RIGHT NOW: Tizen, watchOS, tvOS, macOS
IF YOU HAVE AN ISSUE WITH DOCUMENTATION, DO NOT FILE AN ISSUE - PR'S ONLY!
Feature Library

[ ] Core (Jobs, Settings, Initialization)
[x] Locations (GPS, Geofencing, Motion Activity)
[ ] HTTP Transfers
[ ] Notifications
[ ] NFC
[ ] Push - Native
[ ] Push - Azure Notification Hub
[ ] Push - Firebase
[ ] Sensors
[x] BluetoothLE Client
[ ] BluetoothLE Hosting
[ ] Beacons
[ ] SQLite Integration

Version of Library
<IP_ADDRESS>39
Version of OS(s) listed above with issue
Steps to Reproduce

services.UseBleClient();
Allow permission for Bluetooth and GPS
Start the GPSlistener in the OnConnected method
await gpsManager.StartListener(GpsRequest.Realtime(true));`
Connect to a bluetooth device
Slide the app in the background
Disconnect the Bluetooth device so that it is connected again and the Onconnected is called up again

Expected Behavior
GpsListener is started
Actual Behavior
There is an exception
System.IndexOutOfRangeException: Index was outside the bounds of the array.
  at Shiny.PermissionRequestResult.IsGranted (System.String permission) [0x00018] in <130b35e20cb34b3e991c9efe9b3d2418>:0
  at Shiny.Locations.PlatformExtensions.RequestLocationAccess (Shiny.IAndroidContext context, System.Boolean background, System.Boolean fineAccess, System.Boolean gpsRequired, System.Boolean networkRequired) [0x00164] in <5a897aa65b3741289834946a7ac6e0dd>:0
  at Shiny.Locations.AbstractGpsManager.StartListener (Shiny.Locations.GpsRequest request) [0x00092] in <5a897aa65b3741289834946a7ac6e0dd>:0
  at TestApp.Services.GpsService.StartGpsListener (SFK_Speed.Enums.TripMode tripMode, System.Action`1[T] finish) [0x00230] in /Users/max/Documents/Projecte/TestApp/TestApp/Services/GpsService.cs:80
  at System.Runtime.CompilerServices.AsyncMethodBuilderCore+<>c.<ThrowAsync>b__7_0 (System.Object state) [0x00000] in /Users/builder/jenkins/workspace/archive-mono/2020-02/android/release/mcs/class/referencesource/mscorlib/system/runtime/compilerservices/AsyncMethodBuilder.cs:1021
  at Android.App.SyncContext+<>c__DisplayClass2_0.<Post>b__0 () [0x00000] in /Users/builder/azdo/_work/278/s/xamarin-android/src/Mono.Android/Android.App/SyncContext.cs:36
  at Java.Lang.Thread+RunnableImplementor.Run () [0x00008] in /Users/builder/azdo/_work/278/s/xamarin-android/src/Mono.Android/Java.Lang/Thread.cs:36
  at Java.Lang.IRunnableInvoker.n_Run (System.IntPtr jnienv, System.IntPtr native__this) [0x00008] in /Users/builder/azdo/_work/278/s/xamarin-android/src/Mono.Android/obj/Release/monoandroid10/android-30/mcw/Java.Lang.IRunnable.cs:84
  at at (wrapper dynamic-method) Android.Runtime.DynamicMethodNameCounter.39(intptr,intptr)

You shouldn't be starting background services from the background at all.  It many cases, it will error downstream in any case.  In this case, it is trying to request permissions for the first time and it can't because there is no UI to confirm with user.

Thanks for the info Allan.
I thought if when authorization was given that it would no longer be asked for.
That means I have no possibility to start a GPS tracker from the background if the app is not running in the fordergrund?
thanks

Hi Allan I looked again and found out if the authorization is already available that the code works properly. one couldn't check that beforehand or maybe catch the exeption
shiny/src/Shiny.Core/Platforms/Android/AndroidPlatform.cs
here in line 210 code is commented out. maybe that is the solution?
It is a shame that it is only because of the exeption of the code that it will not continue to work because all authorizations are available
since it works on an ios device too


update the version of ms-rest-azure to "2.5.9"

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

client/changelog.md
:white_check_mark:Succeeded

client/lib/util/constants.ts
:white_check_mark:Succeeded

client/package-lock.json
:white_check_mark:Succeeded

client/package.json
:white_check_mark:Succeeded

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


Added button availability and area recording buttons

I have added all buttons that are available for are recording in the native web app. Availability is also added for all buttons so that they are only possible to click when the option is available.
I am not using a prefix so it would help for someone to check if this works okay. I am also not sure about the emergency button availability if it needs to be inverted or not.

I liked the ability to press any button at any time, because I don't trust internal OM logic. But let me attempt to make this a beta release and see how it will sit with others.

I liked the ability to press any button at any time, because I don't trust internal OM logic. But let me attempt to make this a beta release and see how it will sit with others.

For skipping areas, it's not really an issue if it's available. Although skip path is currently unavailable until that is fixed in ROS (which is in some way useful to show that it doesn't work). I like the availability for area recording since I can see that a command was accepted. I use only HA for area recording since it's more reliable than the native app when it disconnects (but I am only pushing the mower rather than driving it).

People report buttons not working completely


AOT build task SQL error

I have a setup where github action caches dependencies and sends files to my server. Then restarts app.
Now since AOT I tought I can build the assets together with caching dependecies in this github action. So this is part of my action config now:
...

jobs:
  build:
    name: Deploy
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v3
    - uses: denoland/setup-deno@v1
      with:
        deno-version: "1.36.1"

    - name: Caching deno dependencies
      run: |
        deno task build
      env:
        DISCORD_CLIENT_ID: test
        DISCORD_CLIENT_SECRET: test
        DENO_DIR: ./.cache
        CI: true

...

This is the response that I get, it seem to hang on some error related to sqlite. Not sure what is that. I do use --unstable flag and
very tiny bit of Deno.openKv() and import { Database } from<EMAIL_ADDRESS>in this app.
Run deno task build
  deno task build
  shell: /usr/bin/bash -e {0}
  env:
    DISCORD_CLIENT_ID: test
    DISCORD_CLIENT_SECRET: test
    DENO_DIR: ./.cache
    CI: true
Task build deno run -A --unstable src/dev.ts build

...

The manifest has been generated for 8 routes and 4 islands.

...

Download<EMAIL_ADDRESS>Download<EMAIL_ADDRESS>Download<EMAIL_ADDRESS>Download<EMAIL_ADDRESS>error: Uncaught (in promise) Error: table queue already exists in
create table queue (
  ts integer not null,
  id text not null,
  data blob not null,
  backoff_schedule text not null,
  keys_if_undelivered blob not null,

  primary key (ts, id)
);
create table queue_running(
  deadline integer not null,
  id text not null,
  data blob not null,
  backoff_schedule text not null,
  keys_if_undelivered blob not null,

  primary key (deadline, id)
);
 at offset 14: Error code 1: SQL error or missing database at ext:deno_kv/01_db.ts:8:17
  const manifest = (await import(toFileUrl(manifestPath).href))
                    ^
    at async build (https://deno.land/x/fresh@1.4.2/src/dev/build.ts:10:21)
    at async dev (https://deno.land/x/fresh@1.4.2/src/dev/dev_command.ts:38:5)
    at async file:///home/runner/work/puzzle/puzzle/src/dev.ts:5:1
Error: Process completed with exit code 1.

This is my build task "deno run -A --unstable src/dev.ts build". One thing that is not default is that I moved it to src/ folder following docs.
This task works fine when I do it on macbook m1, it just fails on github action ubuntu-latest. Not sure if this is enough info to find where the problem lies.

Transfering to CLI as this seems to be an issue with KV


Merge layer graphics to reduce PDF size

The CreateMapProcessor creates a graphic for each layer, saves the graphic as temporary PNG or SVG file, and embeds all image files into a sub-report. If a map has 10 layers the final PDF file will contain 10 images. The PDF file size can be reduced by merging the layer graphics.
Note that PNG and SVG files can not be merged, so that not all layer graphics can be merged into a single one.
E.g.:
PNG for layer 1       PNG for layer 1 + 2
PNG for layer 2 -->
SVG for layer 3       SVG for layer 3
PNG for layer 4       PNG for layer 4

Hi Tobias!
I found this entry today because our PDFs are quite big and take a long time to be generated... How can I activate the merge functionality?
I found something like "mergeParams" in the docs, but I think this is something different..
Thank you!

@pmikla14 This hasn't been implemented yet.

We should make sure that base layers provided as JPG remains in the JPG format. Otherwise, the PDF is way bigger than needed.


Cleaner fix to the escape char documentation issue: renders with same…

… colors now in code format.

The rendering at the moment was not the best (see picture here)

This change should fix it (hopefully).


Replacement of variables in datagrid.yml only works for the first match in line

When you are using multiple variables for classes in a datagrid.yml, only the first one will be replaced
correctly. I searched a little for the same usage in the platform code and was successful:
https://github.com/orocrm/platform/blob/f1d6ef9af4f01b1113fd61ed5482dfbd799e6a95/src/Oro/Bundle/EmailBundle/Resources/config/datagrid.yml#L89
...
where:
    and:
        - f.type IN ('%oro_email.email_folder.model.class%::INBOX', '%oro_email.email_folder.model.class%::OTHER')
...

I have added the eMail-widget and got exactly the same error, a wrong SQL statement:
WHERE
  o3_.id IN (?)
  AND o1_.type IN (
    'inbox', 'Oro\\Bundle\\EmailBundle\\Model\\FolderType::OTHER'
  )

The error occurs in https://github.com/orocrm/platform/blob/518020378c8e078c257316131e94e7fc563b4a9b/src/Oro/Bundle/DataGridBundle/Provider/SystemAwareResolver.php#L88
Tested with platform 1.4.3

@mario-seidel does it occur on the newer versions of the platform, 1.9.x or 1.10 master?

closing due to no feedback


Problem about Dep ensure -v when install Horizon stellar

Hi everyone , i'm currently studying about stellar and i'm preparing for my project. I have problems while installing Horizon .
At first , i follow step by step from the instruction of Swetakedia https://github.com/stellar/go/issues/287.
Because Stellar has changed packer manager from "glide" to "dep" and the URL of horizon .
so i also change a little bit as the instruction in "https://github.com/stellar/go/tree/master/services/horizon"
However, when executing "dep ensure -v"  i got problem
"/usr/local/go/src/github.com/stellar/go is not within a known GOPATH/src"
my GOPATH is GOPATH =/usr/local/go
i have tried many ways on google but failed all

GitHub Issues is a place for reporting bugs and feature requests. Please ask questions at Stellar Stack Exchange.


Fix Travis deprecation warning about privilege

DEPRECATION WARNING: Please pass the privilege you want to check for when refreshing
. (called from refreshvms at /home/travis/build/ManageIQ/manageiq/app/controllers/application_controller/ci_processing.rb:1332)

@dclarizio @martinpovolny @h-kataria can someone on UI team take a look?


Bundled scss: flash of unstyled content (FOUC) in chrome

When I try out the example app, I sometimes see a FOUC in Chrome: when the page loads, the components are rendered before the css is loaded. This causes the components to appear unstyled for a short moment. You may have to stroke F5 multiple times to see this effect.
I've only experienced this effect in Chrome, other browsers I tried (Firefox, Edge) do fine.

Yes, this is the nature of how Webpack works. Here's what's happening.
That said, you make a good point on the FOUC. To avoid it, Webpack's extractTextPlugin can generate a separate css file for the production build (run via npm run build).

Just committed a change for this. Now generating a separate css for the prod build. Thanks for the heads up!


validateDockerVersion() returns a false value for docker latest edition - v17.03.0-ce

Since Docker is on a monthly release cycle and uses a new YY.MM versioning scheme, current validateDockerVersion() function in docker-build.sh, not detecting the latest version format.
New format - v17.03.0-ce
Old format - v1.13.1

Thanks Rumesh for reporting this! We will check this and get back to you soon!

Any update? Thank you.

It has fixed here - https://github.com/wso2/docker-common/commit/30bc28930a9e401503c275278e9c1c5d35ff4aff#diff-268efe2a5282875548af904d51a8577d


Yet another mysterious cpanm failure on Windows

steps:
  - uses: actions/checkout@v2
  - name: Setup Strawberry Perl
    uses: shogo82148/actions-setup-perl@v1
    with:
        distribution: strawberry
  - name: perl -V
    run: perl -V
  - name: Install Dependencies
    run: cpanm --installdeps --notest .
  - name: Install Optional Dependencies
    run: cpanm HarfBuzz::Shaper
  - name: Make and run tests
    run: |
      perl Makefile.PL
      gmake
      gmake test

This gives:
2020-11-11T12:25:16.7054228Z ##[group]Run cpanm --installdeps --notest .
2020-11-11T12:25:16.7054839Z cpanm --installdeps --notest .
2020-11-11T12:25:16.7116968Z shell: C:\Program Files\PowerShell\7\pwsh.EXE -command ". '{0}'"
2020-11-11T12:25:16.7117404Z env:
2020-11-11T12:25:16.7126427Z   PATH: C:\hostedtoolcache\windows\perl\5....
2020-11-11T12:25:16.7135673Z   PERL5LIB: D:\a\_actions\shogo82148\actions-setup-perl\v1\scripts\lib
2020-11-11T12:25:16.7136195Z ##[endgroup]
2020-11-11T12:25:17.5481692Z --> Working on .
2020-11-11T12:25:18.4404793Z Configuring D:/a/chordpro/chordpro ... OK
2020-11-11T12:25:18.4406931Z ==> Found dependencies: File::LoadLines, App::Packager, String::Interpolate::Named, Image::Info, PDF::API2, Text::Layout
2020-11-11T12:25:18.4408575Z --> Working on File::LoadLines
2020-11-11T12:25:18.4410260Z Fetching http://www.cpan.org/authors/id/J/JV/JV/File-LoadLines-0.02.tar.gz ... OK
2020-11-11T12:25:19.1609792Z Configuring File-LoadLines-0.02 ... OK
2020-11-11T12:25:21.2344265Z Building File-LoadLines-0.02 ... OK
2020-11-11T12:25:21.2345370Z Successfully installed File-LoadLines-0.02
2020-11-11T12:25:21.4841582Z --> Working on App::Packager
...
2020-11-11T12:25:42.6742274Z --> Working on Text::Layout
2020-11-11T12:25:42.6744199Z Fetching http://www.cpan.org/authors/id/J/JV/JV/Text-Layout-0.019.tar.gz ... OK
2020-11-11T12:25:43.2528134Z Configuring Text-Layout-0.019 ... OK
2020-11-11T12:25:45.2985536Z Building Text-Layout-0.019 ... OK
2020-11-11T12:25:45.2986587Z Successfully installed Text-Layout-0.019
2020-11-11T12:25:45.5568045Z <== Installed dependencies for .. Finishing.
2020-11-11T12:25:45.5568906Z 7 distributions installed
2020-11-11T12:25:45.5970316Z The system cannot find the batch label specified - endofperl
2020-11-11T12:25:45.7699371Z ##[error]Process completed with exit code 1.

Full logs attached.
logs_33.zip

I get the same error (only on Windows, both default and  strawberry)
The system cannot find the batch label specified - endofperl
Error: Process completed with exit code 1.

whenever I try to install a module using cpanm. Even if that module is already installed. e.g:
Run cpanm Module::Runtime
Module::Runtime is up to date. (0.016)
The system cannot find the batch label specified - endofperl
Error: Process completed with exit code 1.

hmmm...
I've added some modules into cpm and cpanm using fatpack.
https://github.com/shogo82148/actions-setup-perl/pull/424
It makes the script size larger, and it looks that the cmd command fails to parse such large scripts.
I'll try to remove modules.

I've released v1.8.3.
please try it, and reopen if the issue is not solved.

It works for me now, thanks

Confirmed, thanks!


V2 - plot tree, iterations and tree building example #43

Transfer of plot tree function
Addition of multiple iterations for transverse the tree in different orders
update of example/tree_building.ipynb to illustrate how to setup a tree.
Update of read tree function for newick string

Update from previous pull, which now include read tree


fix(taskframework): limit running job count by calculate free memory when StartJobRateLimiter starting

What type of PR is this?

type-bug
module-taskframework
What this PR does / why we need it:

calculate free memory for limit running jobs when Limiter is starting, this will more exact and avoid task run failed.

Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:

Additional documentation e.g., usage docs, etc.:

simply use min max 1G heap size for dlm task

done


Issue 130 add windows and mac testing

Description
Fixes #130
Adds windows testing via appveyor and mac os x testing via travis. Both only run the unit and integration tests, without scikits.odes installed (might need a separate issue for installing this on windows/mac)
Note: I have had to skip a lot of tests in the case where scikits.odes are not installed. Once we have Ivan's timestepper in pybamm, might want to make this the default solver when scikits.odes are not installed
Type of change
Please delete options that are not relevant.

[x] New feature (non-breaking change which adds functionality)

Key checklist:

[x] No style issues: $ flake8
[x] All tests pass: $ python run-tests.py --unit
[x] The documentation builds: $ cd docs and then $ make clean; make html

You can run all three at once, using $ python run-tests.py --quick.
Further checks:

[x] Code is commented, particularly in hard-to-understand areas
[x] Tests added that prove fix is effective or that feature works
[x] Any dependent changes have been merged and published in downstream modules

so we could just make that the default solver for all ODE models?

I've gone through and done this for all the ode models I could find


Automatically change parameter and return float types

This PR removes hard coded float types in function returns, and sets up most (not worth it to do the sugar kelp model because it has a billion parameters) model setup functions to automatically set the correct float type, or at least be able to set in a simple way, e.g.:
grid = RectilinearGrid(Float32; ...)
bgc = PISCES(; grid) # now has the correct FT
cc = CarbonChemistry(Float32)

cc: @ali-ramadhan @glwagner
Closes #218

That looks nice, two comments:

I prefer bgc = PISCES(grid). The interface is a bit split whether grid should be an arg vs kwarg but I think we have been gradually drifting towards grid as positional arg (the big change is for models, which will have to come later).

There's a discussion about making it easier to change number type here: https://github.com/CliMA/Oceananigans.jl/issues/3800

(not worth it to do the sugar kelp model because it has a billion parameters)

I don't follow this statement --- what do you mean?
For situations with large numbers of parameters, you can put them in an Array (like TabluatedAlbedo for ClimaOcean):
https://github.com/CliMA/ClimaOcean.jl/blob/fc175f6c6b3e095bd460d10d323e4361006a5008/src/OceanSeaIceModels/CrossRealmFluxes/tabulated_albedo.jl#L90
Another possibility is to convert at runtime, eg with something like
const parameter = 1.23

f(a::FT) = a + convert(FT, parameter)

Sorry I missed this I've been a bit busy.
I think that makes sense, there are a lot of instances here where (; grid) should probably be (grid; ) so I'll make a PR.
On the sugar kelp model, I didn't do it because I was being lazy but I'll change them before I merge the PR.

On the sugar kelp model, I didn't do it because I was being lazy but I'll change them before I merge the PR.

You can also make a note in the source code and then open an issue about improvements if it doesn't make sense to prioritize immediately

Maybe I'm misunderstanding the issue but with tons of parameters can't we loop over each property and convert it?
Something like this:
function Base.convert(::Type{SugarKelp{FT_new, TL}}, x::SugarKelp{FT_old, TL}) where {FT_new, FT_old, TL}
    fields = NamedTuple{fieldnames(typeof(x))}(
        field === :temperature_limit ? getfield(x, field) : convert(FT_new, getfield(x, field))
        for field in fieldnames(typeof(x))
    )

    return SugarKelp{FT_new, TL}(; fields...)
end

Oh yes that's a good idea, I hadn't thought of that.
Do you think we would then need to put in the Biogeochemistry constructor a convert(FT, particles) (which would mean we always have to have convert defined, or do you think it would be fine to leave this to the user like:
particles = SugarKelp(...)

particles = convert(FT, particles)

biogeochemistry = Biogeochemistry(...; particles)


METROL-341: Outofprocess config cleanup to Mode

PR created against latest sprint (this is created based on the comment in the closed PR: https://github.com/rdkcentral/rdkservices/pull/1821)

@emutavchi - Pls review.

browser changes looks good to me. Not sure how "mode" configuration would impact containerization. @goruklu could you please review as well?
@anand-ky somebody else should review changes in other services.

@emutavchi   @anand-ky  I'm good with these changes. The changes to the "mode" parameter was done for containerization purposes originally and our code handles "mode=local" or "mode=out-of-process" similarly.

Internal JIRA for tracking https://ccp.sys.comcast.net/browse/RDKCOM-2903


Low resolution simulation settings

@dlanzieri I'm opening this thread to discuss what settings we want to use for low resolution simulations. We know they are not very accurate, but they will allow us to move forward with building the pipeline and our tools.
I've opened a notebook here: https://github.com/LSSTDESC/DifferentiableHOS/blob/main/notebooks/Prototype_SRD_Y1.ipynb
This is meant to test some choices of noise levels and resolution against a kappa TNG example, and with some choices defined to match the DESC Science Requirements Document: https://arxiv.org/abs/1809.01669
At 10 gal per arcmin and a smoothing scale of 1 arcmin it already looks reasonable:

Here is the power spectrum:

And peak counts:

So obviously clusters are not as strong, due to our lack of resolution, but everything seems to be in the right ballpark probably good enough for development.

@EiffL thank you for this!
So, now we could investigate a bit more the choices of noise levels and resolution against a kappa TNG example to find the best match we can achieve, then, with the found setting we can run several simulations to compute the covariance matrix.

Precisely :-) you can play around with the settings but I didn't see a huge improvement by changing the configuration a lot. If you want to proceed with these current settings I'm ok with it.

@dlanzieri can you document here our final choice for the analysis, and if there is no need for further tuning here, we probably can close this issue

Sure!
As described in the issue #10 we defined the settings we want to use for low resolution simulations after the implementation of the online PGD.
Here our final choice:
"nc"= 128 ( Number of transverse voxels in the simulation volume)
"field_npix"=  1024 (Resolution of the convergence map)
"box_size"= 205. (Transverse comoving size of the simulation volume)
"field_size"= 5. (Size of the lensing field in degrees)
"n_lens"= 11  (Number of lensplanes in the lightcone)
"plane_resolution"= 2048 (Resolution of the lensplanes)
"sigma of the lensplanes" =1.024   (Smoothing  applied to the lensplanes)
"sigma_pix"= 1 arcmin (Smoothing applied to the convergence map)


Minor spelling and grammar edits in CONTRIBUTING.md

As part of a technical writing class (CMPT376w at SFU), we were asked to
edit documentation on github projects.

Thanks for the edits!


Revert "nixos/tests/misc: fix nix 2.4 support"

This reverts commit 546d60c5e6748b0479aceba50acd58e741daecf3.
Fixes nixosTests.misc after reverting nix version in PR #147511.
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[x] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

21.11 Release Notes (or backporting 21.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Not tested, shall we also revert #145437?

Sidebar question: Does this reveal a difference between running vm builds with a 2.3 or 2.4 daemon?


Some question about your previous work

i found that  your previous work PseudoClick and  want to know if this work has codes ?
Thanks !

PseudoClick was done during my internship at United Imaging Intelligence. They have no plan to open-source the project. Sorry for the inconvenience.


Frond End Routes

We need to update our frontend routes:
Frontend Routes

[ ] Frontend routes contains wildcard variables written in camelCase
[ ] Correctly formatted

[x] Routes are displayed with inline coding text (backticks)

We need to specify what components will be rendered for each front end route:
Product
/product/:productId
ProductShow
ReviewIndex
ReviewForm
^ That is an example for a product show page
/product/:product_id/review - Gets the product reviews (maybe not necessary).
^ That is correct, we can render all the reviews on the same product page
The same goes for:
/reviews/:review_id/ - Gets the review of a product (maybe not necessary).
/reviews/:product_id - Gets the review of a product.
Reviews will be listed under a product show page or a user profile page, I can't think of a case were we would be rendering just reviews independent from either what they are for or who made it.
{
User + Product
/users/:user_id/product/:product_id - Gets a user's "product store".
/users/:user_id/product/:product_id/new - User adds a product a user's store.
/users/:user_id/product/:product_id/edit - User edits a product from their store.
/users/:user_id/product/:product_id/delete - Removes a product from the cart.
User + Cart
/users/:user_id/cart - Gets the user's cart.
/users/:user_id/cart/:product_id/new - Adds a product to the cart (to be modified).
/users/:user_id/cart/:product_id/edit - Edits the cart.
/users/:user_id/cart/:product_id/delete - Removes a product from the cart.
}
^ There is no need for any of there routes.
Remember that front end routes are very different than backend routes.
If you want to add a front end route for your cart (to show all products and have a "checkout page") all you need is a route for
/cart
CartIndex
CartIndexItem
for products:
/products
ProductIndex
ProductIndexItem
/products/:productId
ProductShow
ReviewIndex
Review Form
Here is a reference to what you want these routes to look like:
https://github.com/appacademy/bluebird/wiki/frontend-routes

@paulobocanegra
You are right! Second look at it today after studying and the bigger picture is much more clearer. I've already updated it. Added some style to attempt readability. Otherwise, I can revert it back.
Resolved?


How do i create a new model from my epoch.pth checkpoint file and config file?

I have a checkpoint file that I created by train_detector.
.
After that, let's say I have to create a new model.So what exactly is the procedure for that?
Like should I create an init_detector using my saved epoch checkpoint file +the original model cfg?
I did it this way.

But it keeps giving a warning saying that class names are not saved in checkpoints.And when i do inference using the model,it keeps outputting the original classes itself instead of the trained classes.

Please help me.
Thank you.

Hi @Enish258 Why don't you use the https://github.com/open-mmlab/mmdetection/blob/master/demo/image_demo.py script directly for inference.

Okay.But actually the confusion I have is ,how do i use inference detector for testing using my own checkpoint.Like why does it not get the correct classes.Any kind of demo or anything.Pls,if you can tell me that procedure it would be extremely helpful.

I actually am kinda new to mmdetection

In the link you gave also I think I would need to pass config file and checkpoint file.Now I used finetuning on a pretrained VFNet model.That checkpoint is saved as epoch3.pth.Now ,I would pass this as a checkpoint file right.Now do i pass config file directly(the VFNet file) or do i make some changes .Like do I have to do things like cgf.classes=14 and all that even before running the file you mentioned or can i run the config file directly?

Okay.But actually the confusion I have is ,how do i use inference detector for testing using my own checkpoint.Like why does it not get the correct classes.Any kind of demo or anything.Pls,if you can tell me that procedure it would be extremely helpful.

If you directly use the mmdet framework for training, then the class information will be automatically maintained.

I did use the mmdet framework.

What I am asking is do i need to make any changes in the already available VFNet config file during testing.Do I use the already available VFNet config file [https://github.com/open-mmlab/mmdetection/blob/master/configs/vfnet/vfnet_r50_fpn_mdconv_c3-c5_mstrain_2x_coco.py] while passing config arg?Coz in that the num_classes=80 whereas for me num_classes=14 and so on.

And what do i pass in the checkpoint file-can I pass epoch_3.pth,the trained checkpoint file directly or do i make certain changes in that too?

And one more question, when I do training using train_detector,is a new config file created in work_dir or do we use the original config file each time?

And one more question, when I do training using train_detector,is a new config file created in work_dir or do we use the original config file each time?

This configuration is just for backup

@hhaAndroid @Enish258 how was the issue solved exactly? I am sorry but I do not see the exact solution in the thread. I am facing a similar issue right now with a MASK RCNN using SWIN transformer as a background using MMDetection which I am trying to modify
Could you please direct me to the solution/approach used?

How was this issue solved? I have also a saved .pth file. I want it for inference, but still no luck.


[Feature] support for Github API keys

Hi,
Since bob uses the github api to query the neovim version, sometime in corporate world it gets rate-limit due to bulk requests.
In such case I can get higher rate-limit with help of token keys. Having this option with bob would be good idea.

@dhruvinsh What exactly are those token keys you are speaking of?

Here we are using api to download neovim. One of the example is https://api.github.com/repos/neovim/neovim/releases/tags/nightly
For user who are not logged in get 60 call per hours to such api. And in corporate network that get exhausted quickly, so user need to use GITHUB_TOKEN to increase the limit to 5000 per hours. Kind of making authenticated call to the api, else bob would fail all the time.
Some details can be fine here.

That's cool, but is there any situation a bob user would need to use this more than 60 times an hour?

The limit is not apply to one specific link. Its a counter that applies to https://api.github.com
Then trailing url part could be anything, it could be bob, neovim other apps, anything.
As i said, in corporate network it exhausted quickly. Hope this explains everything. This is best guide for understanding, https://docs.github.com/en/rest/overview/resources-in-the-rest-api?apiVersion=2022-11-28

Hmm that's fair enough, I'll try to add it but probably not very soon.

This issue mostly hits users in a corporate or large shared network where the rate limit is quickly exceeded.
In order to increase the GitHub API rate limit, it is necessary to authenticate in the request by supplying a token.
For example, with curl requests add:
--header "Authorization: Bearer YOUR-TOKEN"

You could specify an environment variable that must be set, say GH_TOKEN or GITHUB_TOKEN, and use that as YOUR-TOKEN above. That's what I do with my Neovim install script.
My two bits: It's important to work behind corporate networks. That is, this issue is high priority in my opinion. At least check if the above environment variables are set and, if so, add the header to the request.
As an aside, I love Bob! Thanks so much.

@doctorfree so it can be specified either via config file or ENV VAR?

@MordechaiHadad yes, it could be a new entry in ~/.config/bob/config.json or an environment variable. I prefer ENV VAR but support in a configuration file would be fine. For example:
// /home/user/.config/bob/config.json
{
  "enable_nightly_info": true, // Will show new commits associated with new nightly release if enabled
  "enable_release_build": false, // Compile neovim nightly or a certain hash version as a release build (slightly improved performance, no debug info)
  "downloads_location": "$HOME/.local/share/bob", // The folder in which neovim versions will be installed too, bob will error if this option is specified but the folder doesn't exist
  "installation_location": "/home/user/.local/share/bob/nvim-bin", // The path in which the used neovim version will be located in
  "version_sync_file_location": "/home/user/.config/nvim/nvim.version", // The path to a file that will hold the neovim version string, useful for config version tracking, bob will error if the specified file is not a valid file path
  "rollback_limit": 3, // The amount of rollbacks before bob starts to delete older ones, can be up to 225
  "github_mirror": "https://github.com" // github or github mirror
  "github_api_token": "xyxxydkkejrelidjkf" // Your GitHub API Token
}

I am not familiar with the guts of Bob. If the github_api_token configuration parameter is set then add the appropriate header to GitHub API requests.
I understand time constraints and priorities when maintaining projects. Please do not construe my comments as being anything other than suggestions and adopt or not at your own pace and time. Cheers!

@doctorfree so it can be specified either via config file or ENV VAR?

Storing a TOKEN in a configuration file or env var is NOT safe, we should consider using the system password manager, in Rust, we can use the keyring crate

@doctorfree so it can be specified either via config file or ENV VAR?

Storing a TOKEN in a configuration file or env var is NOT safe, we should consider using the system password manager, in Rust, we can use the keyring crate

How would that work exactly (never used keyring)

How would that work exactly (never used keyring)

It basically behaves like a HashMap, you ask the user to input the GitHub token(probably a CLI option, like bob --set-up-token), insert it to the manager(you name the key), then you can get it when sending http requests to the GitHub

You can take a look at this file if you wanna see how the API looks like
https://github.com/SteveLauC/pup/blob/main/src/operation/token.rs

These all are viable option but not all the os supports same type of keyring mechanism. And as far as I know WSL do noth have these.
Hence my original proposal having it as only part of environment variable still much viable and secure option. No need to keep at as a part of config either.
And honestly how many people would going to use this anyway, very handful of people. Not everyone blocked behind an API. So looking for GITHuB_TOKEN variable is much simple and risk free implementation rather introducing any complexity.

Yeah, WSL does not have this, you need a desktop environment or the corresponding service installed to make it work

So what shall be the solution?

So what shall be the solution?

As I mentioned in my comment, using environmental variables would be very secure. If its unsafe one can always run as inline,
GH_TOKEN=xbxnnxnxbxb bob update -a
And on the bob, all we need is if specific env variable found add extra heder on the API calls.


🐛 [firebase_core] Module 'firebase_core' not found on iOS

Bug report
Describe the bug
Installing the firebase_core plugin (version ^1.0.2) and trying to build/run results in the following error:
fatal error:
    module 'firebase_core' not found

Steps to reproduce
Steps to reproduce the behavior:

Add firebase_core: ^1.0.2 to pub spec.yaml
Run flutter pub get
Run/build on iOS device

Expected behavior
Build succeeding

Additional context
My PodFile looks as follows:
# Uncomment the next line to define a global platform for your project
# platform :ios, '9.0'

target 'Runner' do
  # Comment the next line if you don't want to use dynamic frameworks
  use_frameworks!

  # Pods for Runner

end

Running pod install in the iOS folder results in the following message (there are no dependencies):
Pod installation complete! There are 0 dependencies from the Podfile and 0 total pods installed.

Flutter doctor
Run flutter doctor and paste the output below:
Click To Expand
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel master, 2.1.0-13.0.pre.440, on macOS 11.2.3 20D91 darwin-x64, locale es-PE)
[!] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
    ✗ Flutter requires Android SDK 29 and the Android BuildTools 28.0.3
      To update the Android SDK visit https://flutter.dev/docs/get-started/install/macos#android-setup for detailed
      instructions.
[✓] Xcode - develop for iOS and macOS
[✓] Chrome - develop for the web
[✓] Android Studio (version 3.4)
[✓] VS Code (version 1.55.0)
[✓] Connected device (3 available)
    ! Device emulator-5556 is offline.

Flutter dependencies
Run flutter pub deps -- --style=compact and paste the output below:
Click To Expand
Dart SDK 2.13.0-195.0.dev
Flutter SDK 2.1.0-13.0.pre.440
tag_mobile 1.0.0+1

dependencies:
- cupertino_icons 1.0.2
- firebase_core 1.0.2 [firebase_core_platform_interface firebase_core_web flutter meta]
- flutter 0.0.0 [characters collection meta typed_data vector_math sky_engine]
- provider 5.0.0 [collection flutter nested]

dev dependencies:
- flutter_test 0.0.0 [flutter test_api path fake_async clock stack_trace vector_math async boolean_selector characters charcode collection matcher meta source_span stream_channel string_scanner term_glyph typed_data]

transitive dependencies:
- async 2.5.0 [collection]
- boolean_selector 2.1.0 [source_span string_scanner]
- characters 1.1.0
- charcode 1.2.0
- clock 1.1.0
- collection 1.15.0
- fake_async 1.2.0 [clock collection]
- firebase_core_platform_interface 4.0.0 [flutter meta plugin_platform_interface]
- firebase_core_web 1.0.2 [firebase_core_platform_interface flutter flutter_web_plugins js meta]
- flutter_web_plugins 0.0.0 [flutter js characters collection meta typed_data vector_math]
- js 0.6.3
- matcher 0.12.10 [stack_trace]
- meta 1.3.0
- nested 1.0.0 [flutter]
- path 1.8.0
- plugin_platform_interface 2.0.0 [meta]
- sky_engine 0.0.99
- source_span 1.8.1 [collection path term_glyph]
- stack_trace 1.10.0 [path]
- stream_channel 2.1.0 [async]
- string_scanner 1.1.0 [charcode source_span]
- term_glyph 1.2.0
- test_api 0.3.0 [async boolean_selector collection meta path source_span stack_trace stream_channel string_scanner term_glyph matcher]
- typed_data 1.3.0 [collection]
- vector_math 2.1.0

@bramvbilsen
To get rid of the the error fatal error:     module 'firebase_core' not found, you may update podfile by uncommenting # platform :ios, '9.0' and replace with 10.0. But after doing this and running on iOS, you will hit https://github.com/FirebaseExtended/flutterfire/issues/5660.
So, I suggest you to follow-up in the original issue for updates.
Closing this as duplicate.

Sorry for re-opening, but I was under the impression that nowadays, Flutter manages the PodFile. Will changing it manually now interfere with future changes?

@bramvbilsen
To get rid of the the error fatal error: module 'firebase_core' not found, you may update podfile by uncommenting # platform :ios, '9.0' and replace with 10.0. But after doing this and running on iOS, you will hit #5660.
So, I suggest you to follow-up in the original issue for updates.
Closing this as duplicate.

I just tried this, but I am still getting the exact same build error. I don't get the build errors mentioned in #5660.

@bramvbilsen
Thanks for getting back. When I followed the steps to replicate, I get below error in the console, which seems to be related to firebase_core, but doesn't say module firebase_core not found`:

console error log
Running pod install...
CocoaPods' output:
↳
      Preparing

    Analyzing dependencies

    Inspecting targets to integrate
      Using `ARCHS` setting to build architectures of target `Pods-Runner`: (``)

    Fetching external sources
    -> Fetching podspec for `Flutter` from `Flutter`
    -> Fetching podspec for `firebase_core` from `.symlinks/plugins/firebase_core/ios`
    firebase_core: Using Firebase SDK version '7.3.0' defined in 'firebase_core'

    Resolving dependencies of `Podfile`
      CDN: trunk Relative path: CocoaPods-version.yml exists! Returning local because checking is only perfomed in repo update
    [!] CocoaPods could not find compatible versions for pod "firebase_core":
      In Podfile:
        firebase_core (from `.symlinks/plugins/firebase_core/ios`)

    Specs satisfying the `firebase_core (from `.symlinks/plugins/firebase_core/ios`)` dependency were found, but they required a higher minimum deployment target.

    /Library/Ruby/Gems/2.6.0/gems/molinillo-0.6.6/lib/molinillo/resolution.rb:328:in `raise_error_unless_state'
    /Library/Ruby/Gems/2.6.0/gems/molinillo-0.6.6/lib/molinillo/resolution.rb:310:in `block in unwind_for_conflict'
    /Library/Ruby/Gems/2.6.0/gems/molinillo-0.6.6/lib/molinillo/resolution.rb:308:in `tap'
    /Library/Ruby/Gems/2.6.0/gems/molinillo-0.6.6/lib/molinillo/resolution.rb:308:in `unwind_for_conflict'
    /Library/Ruby/Gems/2.6.0/gems/molinillo-0.6.6/lib/molinillo/resolution.rb:684:in `attempt_to_activate'
    /Library/Ruby/Gems/2.6.0/gems/molinillo-0.6.6/lib/molinillo/resolution.rb:254:in `process_topmost_state'
    /Library/Ruby/Gems/2.6.0/gems/molinillo-0.6.6/lib/molinillo/resolution.rb:182:in `resolve'
    /Library/Ruby/Gems/2.6.0/gems/molinillo-0.6.6/lib/molinillo/resolver.rb:43:in `resolve'
    /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.3/lib/cocoapods/resolver.rb:94:in `resolve'
    /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.3/lib/cocoapods/installer/analyzer.rb:1065:in `block in resolve_dependencies'
    /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.3/lib/cocoapods/user_interface.rb:64:in `section'
    /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.3/lib/cocoapods/installer/analyzer.rb:1063:in `resolve_dependencies'
    /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.3/lib/cocoapods/installer/analyzer.rb:124:in `analyze'
    /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.3/lib/cocoapods/installer.rb:410:in `analyze'
    /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.3/lib/cocoapods/installer.rb:235:in `block in resolve_dependencies'
    /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.3/lib/cocoapods/user_interface.rb:64:in `section'
    /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.3/lib/cocoapods/installer.rb:234:in `resolve_dependencies'
    /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.3/lib/cocoapods/installer.rb:156:in `install!'
    /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.3/lib/cocoapods/command/install.rb:52:in `run'
    /Library/Ruby/Gems/2.6.0/gems/claide-1.0.3/lib/claide/command.rb:334:in `run'
    /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.3/lib/cocoapods/command.rb:52:in `run'
    /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.3/bin/pod:55:in `<top (required)>'
    /usr/local/bin/pod:23:in `load'
    /usr/local/bin/pod:23:in `<main>'

Error output from CocoaPods:
↳

    [!] Automatically assigning platform `iOS` with version `9.0` on target `Runner` because no platform was specified. Please specify a platform for this target in your Podfile. See `https://guides.cocoapods.org/syntax/podfile.html#platform`.

Exception: Error running pod install

And when I uncommented and updated # platform :ios, '9.0' to 10.0 and ran again, it compiled and launched the app properly.
I am on latest stable (2.0.4).

@bramvbilsen
Thanks for getting back. When I followed the steps to replicate, I get below error in the console, which seems to be related to firebase_core, but doesn't say module firebase_core not found`:
console error log
Running pod install...
CocoaPods' output:
↳
      Preparing

    Analyzing dependencies

    Inspecting targets to integrate
      Using `ARCHS` setting to build architectures of target `Pods-Runner`: (``)

    Fetching external sources
    -> Fetching podspec for `Flutter` from `Flutter`
    -> Fetching podspec for `firebase_core` from `.symlinks/plugins/firebase_core/ios`
    firebase_core: Using Firebase SDK version '7.3.0' defined in 'firebase_core'

    Resolving dependencies of `Podfile`
      CDN: trunk Relative path: CocoaPods-version.yml exists! Returning local because checking is only perfomed in repo update
    [!] CocoaPods could not find compatible versions for pod "firebase_core":
      In Podfile:
        firebase_core (from `.symlinks/plugins/firebase_core/ios`)

    Specs satisfying the `firebase_core (from `.symlinks/plugins/firebase_core/ios`)` dependency were found, but they required a higher minimum deployment target.

    /Library/Ruby/Gems/2.6.0/gems/molinillo-0.6.6/lib/molinillo/resolution.rb:328:in `raise_error_unless_state'
    /Library/Ruby/Gems/2.6.0/gems/molinillo-0.6.6/lib/molinillo/resolution.rb:310:in `block in unwind_for_conflict'
    /Library/Ruby/Gems/2.6.0/gems/molinillo-0.6.6/lib/molinillo/resolution.rb:308:in `tap'
    /Library/Ruby/Gems/2.6.0/gems/molinillo-0.6.6/lib/molinillo/resolution.rb:308:in `unwind_for_conflict'
    /Library/Ruby/Gems/2.6.0/gems/molinillo-0.6.6/lib/molinillo/resolution.rb:684:in `attempt_to_activate'
    /Library/Ruby/Gems/2.6.0/gems/molinillo-0.6.6/lib/molinillo/resolution.rb:254:in `process_topmost_state'
    /Library/Ruby/Gems/2.6.0/gems/molinillo-0.6.6/lib/molinillo/resolution.rb:182:in `resolve'
    /Library/Ruby/Gems/2.6.0/gems/molinillo-0.6.6/lib/molinillo/resolver.rb:43:in `resolve'
    /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.3/lib/cocoapods/resolver.rb:94:in `resolve'
    /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.3/lib/cocoapods/installer/analyzer.rb:1065:in `block in resolve_dependencies'
    /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.3/lib/cocoapods/user_interface.rb:64:in `section'
    /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.3/lib/cocoapods/installer/analyzer.rb:1063:in `resolve_dependencies'
    /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.3/lib/cocoapods/installer/analyzer.rb:124:in `analyze'
    /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.3/lib/cocoapods/installer.rb:410:in `analyze'
    /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.3/lib/cocoapods/installer.rb:235:in `block in resolve_dependencies'
    /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.3/lib/cocoapods/user_interface.rb:64:in `section'
    /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.3/lib/cocoapods/installer.rb:234:in `resolve_dependencies'
    /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.3/lib/cocoapods/installer.rb:156:in `install!'
    /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.3/lib/cocoapods/command/install.rb:52:in `run'
    /Library/Ruby/Gems/2.6.0/gems/claide-1.0.3/lib/claide/command.rb:334:in `run'
    /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.3/lib/cocoapods/command.rb:52:in `run'
    /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.9.3/bin/pod:55:in `<top (required)>'
    /usr/local/bin/pod:23:in `load'
    /usr/local/bin/pod:23:in `<main>'

Error output from CocoaPods:
↳

    [!] Automatically assigning platform `iOS` with version `9.0` on target `Runner` because no platform was specified. Please specify a platform for this target in your Podfile. See `https://guides.cocoapods.org/syntax/podfile.html#platform`.

Exception: Error running pod install

And when I uncommented and updated # platform :ios, '9.0' to 10.0 and ran again, it compiled and launched the app properly.
I am on latest stable (2.0.4).

So I was totally on the wrong branch, my bad! The issue got resolve by switching to the latest stable.
Thanks!


Add Edmund Lai to Contributors.md List

The only pain point I had was trying to figure out how to make sure that I could push the commit I made; the issue I ran into was using the bash client on Ubuntu for Windows to edit the file after forking and pulling from Github Desktop. This was because I wasn't logged into Github in my command line, and I'm not sure how often other people would normally run into this issue. Other than that, the tutorial was quite helpful.

I’d urge you to continue contributing to other open source projects.
We also have a slack team to help/mentor people trying to contribute to open source projects.
You can join the team by going to https://goo.gl/PM1Jdh


Go Path wiki link in https://golang.org/doc/code.html is blank

Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (go version)?
none
Does this issue reproduce with the latest release?
no
What operating system and processor architecture are you using (go env)?
none
What did you do?
Visited https://golang.org/doc/code.html, and clicked any of the locations that redirect to https://github.com/golang/go/wiki/SettingGOPATH , which asks me to Create a new page for SettingGOPATH
If possible, provide a recipe for reproducing the error.
See above
A complete runnable program is good.
A link on play.golang.org is best.
What did you expect to see?
An actual documentation page.
What did you see instead?

The wiki page was moved by someone... again:
https://github.com/golang/go/wiki/_compare/412b80a03b2d159207fd26027a34898be232876b...11b810add36f043f3985cf42600ef4cdcef79d74

I've reverted the change. The link now works as before.

Awesome!

I've emailed the renamer and asked them to stop.


chore(nargo): Remove old profile as part of info cmd

Description
Problem*
Just something I noticed while working on nargo info. The --profile-info flag is hidden and I am willing to bet largely unused. We can move to the noir-profiler under tooling/profiler as it is much more informative and easier to navigate.
Summary*
I have removed --profile-info from nargo info and the subsequent methods related to it.
Additional Context
I would also like to remove the "Profile" codelens @asterite @TomAFrench. I was trying to use it on 1_mul and sha256_regression and nothing would happen while the other code lens commands worked.
Documentation*
Check one:

[X] No documentation needed.
[ ] Documentation included in this PR.
[ ] [For Experimental Features] Documentation to be submitted in a separate PR.

PR Checklist*

[X] I have tested the changes locally.
[X] I have formatted the changes with Prettier and/or cargo fmt on default settings.

I was going to add the LSP code lens removal here, but you as you already approved we can just keep the nargo and LSP chores separate.


Added ts definition generator

Hello, I added a script to generate a simple Ts definitions file.
https://github.com/neutralinojs/neutralino.js/issues/10#issuecomment-931407126

Hey.. @corbane Thank you very much for the contribution. I will check and merge this one soon!

Hey.. @corbane  Thanks! rollup looks good and now the minified file looks more lightweight too. Btw I changed the repo name here: https://github.com/neutralinojs/neutralino.js/commit/f7b2e5de9d847221f38ad6d2f8ed0a884728ec97 hope that's fine for you ;) I will check and update you about what we can do from the CLI side. maybe we can download it for TypeScript projects.

Is it okay if I add your Github profile link to https://neutralino.js.org/docs/community/committers ?

Hello @shalithasuranga
Yes everything is good for me 👍
juste:
I will check and update you about what we can do from the CLI side

I don't quite understand what this entails, (probably my poor English),
when you say 'CLI side' are you referring to the server side ?
if true, know that I am writing the definitions of the spec v2 in OpenApi / Swagger.

Ah, I meant from https://github.com/neutralinojs/neutralinojs-cli side. neu CLI is responsible for managing Neutralino projects. When we create a new project, CLI fetches the latest neutralino.js file from this repo. I was thinking about whether we can download neutralino.d.ts also. Then, if someone is making an app with Angular, they can update typeRoot to <path>/neutralino.d.ts to consume the definitions. Let me know if you need further info ;)

Oh yes okay !
thanks for the details, indeed, including the .d.ts in the starter project would be handy.


Bayesian Networks

This class implements Quantum Bayesian Networks as described in:
https://arxiv.org/abs/2004.14803
In addition, these write ups could be helpful:
https://towardsdatascience.com/create-a-quantum-bayesian-network-d26d7c5c4217
https://towardsdatascience.com/how-to-create-a-quantum-bayesian-network-5b011914b03e

@MichaelBroughton
Do you have any comments for this PR? I think the overall approach was OK'ed during the cynq, but reconsidering is of course possible.

The discussion from Cirq sync was about considering whether or not this should be in Cirq proper. I think someone was going to ask around internally to find out if anyone is interested in Bayesian Networks.

@vtomole
My understanding is that the present PR should be in contrib and a Jupyter that uses this code to Gibbs sampling is of interest.
But I am totally OK with re-considering. I certainly don't want to pollute the repo and could abandon this PR if it is misguided, of course.

Intermed

Good first pass. I'm wondering if we've got the logic from the paper exactly captured. Are we handling the cases of the root vs child nodes ? Perhaps it might be worth recreating a test to match what is done in figure 10 for corectness sake ?

Intermediate comment, PdonotTAL yet.
I tried to recreate the network of figure 10, and I got this circuit:

It is simpler than figure 11 because of Gray optimization that I had added on top of the paper + a different definition of the gate. Also, note that I suspect the paper had the order of the qubits flipped.
Still, I tried to reproduce the values of table 1, and I was able to (except that the paper could have been more precision and write 0.44985 instead of 0.499)

Thanks @MichaelBroughton . Now, the PR is ready for another iteration. I left a few comments unresolved to make sure I understood what you were asking. PTAL when you can?

Friendly ping when you have the time? I understand that v1.0 takes priority, of course.

Thanks. PTAL.

Automerge cancelled: A status check is failing.

@MichaelBroughton
I am not sure why automerge failed, but I re-pushed without any code change and it seems OK now.