#/exchange/btc-to-usdt error

Hi! I get following error on the exchange: https://nftaggregator.io/wallet/#/exchange/btc-to-usdt
Noxon, [24.06.21 13:05]
how you came to this page?
, [24.06.21 13:06]
If I am in the wallet I click on exchange
, [24.06.21 13:06]
https://nftaggregator.io/wallet/#/
Noxon, [24.06.21 13:09]
is this latest version?
, [24.06.21 13:09]
Version 1.1.1182

correct link /exchange/btc-to-{eth}wbtc ?

How I have to correct the link? I correct it in the URL but nothing happens or what I have to do?

@WIZARDOM we'll solve this problem with URL. This is a correct link


Playing files

Hi. Is anyone else experiencing the problem where no files are playing? I'm on Edge, I've tried Chrome and nothing. I don't know if I need to install something else or configure something extra, I've tried change the channel from "Private" to "Public" and nothing, it just doesn't load any type of file. I don't know what else to try, I need some help with this, thanks in advance.
Greetings.

In my case, mp4 and mkv files can be played on the teldrive webpage. However, avi and ts files cannot be played. The browser uses Chrome.

In my case, mp4 and mkv files can be played on the teldrive webpage. However, avi and ts files cannot be played. The browser uses Chrome.

In both Edge and Chrome only .mp3 and .m4a files are played but no video, I have tried mp4, mkv and nothing.

In my case, mp4 and mkv files can be played on the teldrive webpage. However, avi and ts files cannot be played. The browser uses Chrome.

In both Edge and Chrome only .mp3 and .m4a files are played but no video, I have tried mp4, mkv and nothing.

Teldrive's media playback capabilities aren't perfect. We recommend mounting and streaming with rclone.

@DaRKeN58 Try playing the file with VLC or a similar media player. If that doesn't work, then there might be an issue with the file or the uploading process.


addReactInstanceEventListener() does not call the listener if the ReactContext is already ready

Description
https://github.com/facebook/react-native/blob/v0.68.0-rc.2/ReactAndroid/src/main/java/com/facebook/react/ReactInstanceManager.java#L1008
This means that client code will only run these listeners if register the listeners early enough. I.e. client code using these listeners will generally only sometimes work correctly.
I don't know if it's safe to fix this directly - some client code might rely on the existing behaviour. It might be better to deprecate the API and just make people use RN modules, where can use the initialize() callback instead.
If reimplement the API, I think it would be good if the listeners were automatically unregistered after they are called.
It's not possible to wrap the existing implementation in client code and only use the listener if getCurrentReactContext() is null due to https://github.com/facebook/react-native/issues/33218. I'm not sure if it would be possible to do this even if fix that issue, since there are so many threads involved here. Also, getCurrentReactContext() is annotated as @VisbleForTesting too (which hasn't stopped us using it in our app).
Version
0.68.0-rc.2
Output of npx react-native info
N/A
Steps to reproduce
Call addReactInstanceEventListener() long after the ReactContext is available. The listener won't get called.
Snack, code example, screenshot, or link to a repository
No response

(https://github.com/facebook/react-native/issues/33210 is another bug I found in this code.)

The code is unchanged, so this issue still exists.


No rendering on Linux

There is an issue where nothing get's rendered on Linux (when building from commit 5109cc6). Reverting to 30ea545 restores rendering.

If you upload the new version to mozilla addons store, this issue can be closed I think ;)

If you upload the new version to mozilla addons store, this issue can be closed I think ;)

I just uploaded it on AMO a few minutes ago.

I just uploaded it on AMO a few minutes ago.


LESS is not re-writing relative paths in url() when importing.

One trivial application of lessc is that it will concatenate several .less files into one .css file via the use of @import.
However, if one of the @imported files is in a subdirectory, and uses a url() to refer to an image in the subdirectory, the url() is not rewritten in the concatenated output.
For example, consider these files:
a.jpg
lib/b.jpg
lib/bottom.less
top.less
top.less looks like:
@import "lib/bottom.less";
.top_a { background-image: url("a.jpg");}
.top_b { background-image: url("lib/b.jpg");}

bottom.less looks like:
.bottom_a { background-image: url("../a.jpg");}
.bottom_b { background-image: url("b.jpg");}
Actual output of less top.less:
.bottom_a {
background-image: url("../a.jpg");
}
.bottom_b {
background-image: url("b.jpg");
}
.top_a {
background-image: url("a.jpg");
}
.top_b {
background-image: url("lib/b.jpg");
}
Problem is that .bottom_a and .bottom_b have url()s that don't point correctly to their images.
Desired output:
.bottom_a {
  background-image: url("a.jpg");
}
.bottom_b {
  background-image: url("lib/b.jpg");
}
.top_a {
  background-image: url("a.jpg");
}
.top_b {
  background-image: url("lib/b.jpg");
}

If anyone wants to look at a potential fix for this issue, take a look at https://github.com/csnover/less.js/commit/7037217cbb9f924cb9b30c58f52587ee791ca75e. It seems to work OK based on some preliminary testing but the paths array is nuts so I dunno if it fails in some edge cases or something.

@csnover i have a test at #331 that will test relative urls from the command line.  does it fix that?  the general problem is that to properly calculate relative urls you need the url for both the in file and out file.  in the browser, this is the same value but from the command line it could be different.  its been a while since i looked at this issue but i think you only ever have access to one of those values.


[MXNET-531] improvement of adding source.jar to assembly

Description
This is an update on the assembly side adding source code jar. It will sure help users to get documentation of apis when they are using the Scala package. Currently, it also add Javadoc jar to assembly but only supporting single module
#11618
@nswamy @yzhliu @andrewfayres
Checklist
Essentials
Please feel free to remove inapplicable items for your PR.

[x] The PR title starts with [MXNET-$JIRA_ID], where $JIRA_ID refers to the relevant JIRA issue created (except PRs with tiny changes)
[x] Changes are complete (i.e. I finished coding on this PR)
[x] All changes have test coverage:
Unit tests are added for small changes to verify correctness (e.g. adding a new operator)
Nightly tests are added for complicated/long-running ones (e.g. changing distributed kvstore)
Build tests will be added for build configuration changes (e.g. adding a new build option with NCCL)
[x] Code is well-documented:
For user-facing API changes, API doc string has been updated.
For new C++ functions in header files, their functionalities and arguments are documented.
For new examples, README.md is added to explain the what the example does, the source of the dataset, expected performance on test set and reference to the original paper if applicable
Check the API doc at http://mxnet-ci-doc.s3-accelerate.dualstack.amazonaws.com/PR-$PR_ID/$BUILD_ID/index.html
[x] To the my best knowledge, examples are either not affected by this change, or have been fixed to be compatible with this change

@gigasquid I tried to reproduce the issue in CI but failed on my Ubuntu Machine
lein test
+ lein test
Could not find artifact org.apache.mxnet:mxnet-full_2.11-linux-x86_64-cpu:jar:1.3.0-SNAPSHOT in clojars (https://repo.clojars.org/)
Could not find artifact org.apache.mxnet:mxnet-full_2.11-linux-x86_64-cpu:jar:1.3.0-SNAPSHOT in staging (https://repository.apache.org/content/repositories/staging)
This could be due to a typo in :dependencies, file system permissions, or network issues.
If you are behind a proxy, try setting the 'http_proxy' environment variable.

Could you please help with the Clojure package build failure, I have .so generated here:
/home/ubuntu/incubator-mxnet/scala-package/native/linux-x86_64-cpu/target/libmxnet-scala-linux-x86_64-cpu.so

-Djava.library.path=[lib path]

@nswamy and @lanking520 -- (and cc @gigasquid ) I think something may be going on with the scala build based on some of the assembly changes that impacts the maven artifact of which Clojure is a consumer. Since I'm new to the build process here and reading through CI, it's possible I could be misinterpreting something though.
In the CI logs I see this set of warnings:
[INFO] Reading assembly descriptor: src/main/assembly/assembly.xml

[WARNING] Artifact: org.apache.mxnet:mxnet-full_2.11-linux-x86_64-cpu:jar:1.3.0-SNAPSHOT references the same file as the assembly destination file. Moving it to a temporary location for inclusion.

[INFO] Building jar: /work/mxnet/scala-package/assembly/linux-x86_64-cpu/target/mxnet-full_2.11-linux-x86_64-cpu-1.3.0-SNAPSHOT.jar

[WARNING] Configuration options: 'appendAssemblyId' is set to false, and 'classifier' is missing.

Instead of attaching the assembly file: /work/mxnet/scala-package/assembly/linux-x86_64-cpu/target/mxnet-full_2.11-linux-x86_64-cpu-1.3.0-SNAPSHOT.jar, it will become the file for main project artifact.

NOTE: If multiple descriptors or descriptor-formats are provided for this project, the value of this file will be non-deterministic!

[WARNING] Replacing pre-existing project main-artifact file: /work/mxnet/scala-package/assembly/linux-x86_64-cpu/target/archive-tmp/mxnet-full_2.11-linux-x86_64-cpu-1.3.0-SNAPSHOT.jar

with assembly file: /work/mxnet/scala-package/assembly/linux-x86_64-cpu/target/mxnet-full_2.11-linux-x86_64-cpu-1.3.0-SNAPSHOT.jar

[INFO]

[INFO] --- maven-assembly-plugin:2.5.5:single (sources-jar) @ mxnet-full_2.11-linux-x86_64-cpu ---

[INFO] Reading assembly descriptor: /work/mxnet/scala-package/assembly/src/source.xml

[INFO] Processing sources for module project: org.apache.mxnet:mxnet-core_2.11:jar:1.3.0-SNAPSHOT

[INFO] Building jar: /work/mxnet/scala-package/assembly/linux-x86_64-cpu/target/mxnet-full_2.11-linux-x86_64-cpu-1.3.0-SNAPSHOT-sources.jar

[WARNING] Configuration options: 'appendAssemblyId' is set to false, and 'classifier' is missing.

Instead of attaching the assembly file: /work/mxnet/scala-package/assembly/linux-x86_64-cpu/target/mxnet-full_2.11-linux-x86_64-cpu-1.3.0-SNAPSHOT-sources.jar, it will become the file for main project artifact.

NOTE: If multiple descriptors or descriptor-formats are provided for this project, the value of this file will be non-deterministic!

[WARNING] Replacing pre-existing project main-artifact file: /work/mxnet/scala-package/assembly/linux-x86_64-cpu/target/mxnet-full_2.11-linux-x86_64-cpu-1.3.0-SNAPSHOT.jar

with assembly file: /work/mxnet/scala-package/assembly/linux-x86_64-cpu/target/mxnet-full_2.11-linux-x86_64-cpu-1.3.0-SNAPSHOT-sources.jar

[INFO]

[INFO] --- maven-assembly-plugin:2.5.5:single (javadoc-jar) @ mxnet-full_2.11-linux-x86_64-cpu ---

[INFO] Reading assembly descriptor: /work/mxnet/scala-package/assembly/src/javadoc.xml

[INFO] Building jar: /work/mxnet/scala-package/assembly/linux-x86_64-cpu/target/mxnet-full_2.11-linux-x86_64-cpu-1.3.0-SNAPSHOT-javadoc.jar

[WARNING] Configuration options: 'appendAssemblyId' is set to false, and 'classifier' is missing.

Instead of attaching the assembly file: /work/mxnet/scala-package/assembly/linux-x86_64-cpu/target/mxnet-full_2.11-linux-x86_64-cpu-1.3.0-SNAPSHOT-javadoc.jar, it will become the file for main project artifact.

NOTE: If multiple descriptors or descriptor-formats are provided for this project, the value of this file will be non-deterministic!

[WARNING] Replacing pre-existing project main-artifact file: /work/mxnet/scala-package/assembly/linux-x86_64-cpu/target/mxnet-full_2.11-linux-x86_64-cpu-1.3.0-SNAPSHOT-sources.jar

with assembly file: /work/mxnet/scala-package/assembly/linux-x86_64-cpu/target/mxnet-full_2.11-linux-x86_64-cpu-1.3.0-SNAPSHOT-javadoc.jar

Carin looked into this a bit as well and passed me some notes. From this I can see in her logs that she saw the javadoc jar overwrite the project jar in her local maven repo:
[INFO] Installing /Users/cmeier/workspace/deep-learning/mxnet/scala-package/assembly/osx-x86_64-cpu/target/mxnet-full_2.11-osx-x86_64-cpu-1.3.0-SNAPSHOT-javadoc.jar to /Users/cmeier/.m2/repository/org/apache/mxnet/mxnet-full_2.11-osx-x86_64-cpu/1.3.0-SNAPSHOT/mxnet-full_2.11-osx-x86_64-cpu-1.3.0-SNAPSHOT.jar

I see a related StackOverflow issue that would suggest that the wrong jar getting published as the main artifact could be the culprit here.

Hi @benkamphaus @gigasquid many thanks for your investigation and it really save my days.
I think I have screwed up the make scalainstall process to let javadoc install and that causing Clojure crashes 100%. I will start looking into the link you have provided and see if there is any changes I should made. Definitely avoid the overwritten artifact!

It finally passed the Clojure test as expected! Thanks guys!


Standardize matplotlib styles

We should include a matplotlibrc file so we do not need to worry as much about the plot formatting. If anyone has a nice rc file already, id be happy to include something like that.

This is the matplotlibrc that I am currently using for my paper.

@daico007 that looks good, but is something missing at the end? Forgive me if I am missing something obvious--I'm not super familiar with gists.

@jennyfothergill good catch! I made a mistake when doing the copy-paste, edited the gist to have everything.

And at the moment we are targeting Journal of Chemical Engineering Data (JCED). So we can also edit the rc for that.

The matplotlibrc file from @daico007 's gist has been included in #72


Fix registry_helpers deployment check

Do not mark registry as ready if there are no (zero) registry deployment.
I hit a scenario with debugger attached where it found zero registry deployments initially so this PR should fix this flake scenario.

Codecov Report

Merging #396 (101c9e8) into master (e6ae950) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #396   +/-   ##
=======================================
  Coverage   40.79%   40.79%
=======================================
  Files           9        9
  Lines        1831     1831
=======================================
  Hits          747      747
  Misses       1037     1037
  Partials       47       47

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 e6ae950...101c9e8. Read the comment docs.


Nmp Vitrium hang up on install

Hi all,
Having an issue trying an npm install for the offline version of home-brewery, continues to hang when trying to extract vitrium and locks,
Any ideas?

Do you mean npm install is not able to complete?

Yes, the npm install is unable to complete, hanging (Freezing and locking) whenever it gets to the vitrium libraries.

What if you run npm install github:calculuschild/vitreum#21a8e1c9421f1d3a3b474c12f480feb2fbd28c5b

Let me try and I'll get back to you

npm is v 6.14.8
And if I run the command I get errors

I do have a log file
2020-10-21T19_51_44_897Z-debug.log

Ok, interesting. Can you paste the errors up here so I can check what's
going on?
On Wed, Oct 21, 2020 at 3:52 PM Fireballin17<EMAIL_ADDRESS>wrote:

npm is v 6.14.8
And if I run the command I get errors
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/naturalcrit/homebrewery/issues/1056#issuecomment-713836277,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABM3GBUWSU4AR27TM2A3WGDSL43ZDANCNFSM4SP6EFLQ
.

Sure,
npm ERR! code ENOENT
npm ERR! syscall spawn git
npm ERR! path git
npm ERR! errno -4058
npm ERR! enoent Error while executing:
npm ERR! enoent undefined ls-remote -h -t<EMAIL_ADDRESS>npm ERR! enoent
npm ERR! enoent
npm ERR! enoent spawn git ENOENT
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent

Hmmmmmm.... do you happen to have Git installed? That might be the reason. I use a custom version of Vitreum that installs directly from Github instead of the usual NPM package store.

I don't have git installed, I'll get that now. Give me a moment.

Tried again and this time its not an instant error,
The progress bar flashes up for a split second then the errors arrive, heres the log.
2020-10-21T20_09_57_685Z-debug.log

Though hold the phone, just tried a standard install and got this as a result.
2020-10-21T20_12_06_681Z-debug.log
2020-10-21T20_11_37_915Z-debug.log

This looks like Git still isn't installed properly. If it is, you should be able to run GIT commands from the command line.
Depending how you installed, you may have seen this screen:

You need to select the option to allow running git on the command prompt. I'm assuming you're on Windows? If not there are other steps.

I did select that, I was suspicious the command line hadn't loaded GIT, a quick restart later and its mostly working?
Complains about optional dependencies and skipping them but it has installed

Ok. The optional dependencies shouldn't be an issue. At this point you can probably run the app.

Seems to be working. Though I cant connect to the localhost

Keeps sending invalid responses

You may need to set the ENV variable to 'local', which you may need to do each time you close the command prompt.
The steps are in the main page of the Homebrewery.

Closing since there hasn't been a reply from the user for a while and it is assumed the problem was solved.
If you are still experiencing this issue, feel free to reopen and provide information, @Fireballin17


[FEATURE] Enable backing image feature in Longhorn

Longhorn Engine has the ability to use a qcow2 file as the backing image for the Longhorn volume. It was designed for VM but the feature was never implemented in Longhorn manager nor UI. We need to enable this feature for Harvester to use Longhorn with existing root images.
Btw, the field was called base image but it's better to rename everything into backing image because base image has become a standard Docker term.
Ref:
https://github.com/longhorn/longhorn/issues/1989#issuecomment-731458474
https://github.com/rancher/harvester/issues/227

Move to Icebox. Pending merge of https://github.com/longhorn/longhorn/issues/2295

The new version of backing image implementation is actually be based on #2295 . To avoid confusing QA for these similar tickets, close this and move focus on #2295.


Shader : how can use atan2 function?

In Material's fragment shader, I failed to compile when I use atan2 function.
Can you let me know any reference for the list of available shader functions?
Cheers.

You can use any function provided by OpenGL ES 3.0. See https://www.khronos.org/registry/OpenGL-Refpages/es3.0/ or https://www.khronos.org/registry/OpenGL/specs/es/3.0/GLSL_ES_Specification_3.00.pdf

Also note that GLSL provides a two-argument overload for the atan function, which is equivalent to atan2.

Thanks!

ATan2
float ATan2(vec2 dir)
{
	float angle = asin(dir.x) > 0 ? acos(dir.y) : -acos(dir.y);
	return angle;
}

Here are the tests

ATan2
float ATan2(vec2 dir)
{
	float angle = asin(dir.x) > 0 ? acos(dir.y) : -acos(dir.y);
	return angle;
}

Here are the tests


[1.12.2]Invalid statistic

Industrial Foregoing Version: industrialforegoing-1.12.2-1.12.11-235.jar
TeslaCoreLib Version: tesla-core-lib-1.12.2-1.0.15.jar
I got this warning when the server finished loading after updating:
[13:43:36] [Server thread/WARN] [minecraft/StatisticsManagerServer]: Invalid statistic in ./world/stats/d76a52a2-d621-432f-99cc-b05519ac07bd.json: Don't know what stat.craftItem.industrialforegoing.black_hole_controller is

Does the server crash?

It doesn't, but idk what happened but one of the mods we updated causes everyone to timeout when they try to connect

And you picked IF for just that warning?

No, but i reported it regardless of that

Turns out his black hole controller broke though


Added information about the RenderListDataAsStream endpoint

Category

[ ] Content fix
[ ] New article
[x] Extended existing article
Related issues: n/a

What's in this Pull Request?
Added information about the RenderListDataAsStream endpoint

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/sp-add-ins/working-with-lists-and-list-items-with-rest.md
:white_check_mark:Succeeded

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

thx @waldekmastykarz - appreciated.


Resource list

Summary of Changes

Moved 'SearchList' to a generic 'ResourceList'
Renamed 'BookmarkList' to 'MyBookmarks'
'MyBookmarks' uses 'ResourceList' rather than duplicating code.

Tests
Updated tests to reflect changes.
Documentation
What documentation did you add or modify and why? Add any relevant links then remove this line
CheckList
Make sure you have checked all steps below to ensure a timely review.

[ ] PR title addresses the issue accurately and concisely. Example: "Updates the version of Flask to v1.0.2"

In case you are adding a dependency, check if the license complies with the ASF 3rd Party License Policy.

[ ] PR includes a summary of changes, including screenshots of any UI changes.
[ ] PR adds unit tests, updates existing unit tests, OR documents why no test additions or modifications are needed.
[ ] In case of new functionality, my PR adds documentation that describes how to use it.

All the public python functions and the classes in the PR contain docstrings that explain what it does

[ ] PR passes all tests documented in the developer guide
[ ] I have squashed multiple commits if they address the same issue. In addition, my commits follow the guidelines from "How to write a good git commit message"

Codecov Report

Merging #193 into master will increase coverage by 18.86%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##           master     #193       +/-   ##
===========================================
+ Coverage   54.61%   73.47%   +18.86%
===========================================
  Files         120       24       -96
  Lines        2948      999     -1949
  Branches      297       83      -214
===========================================
- Hits         1610      734      -876
+ Misses       1308      238     -1070
+ Partials       30       27        -3

Impacted Files
Coverage Δ

...ication/static/js/components/common/Tabs/index.tsx

...ndsen_application/static/js/ducks/search/api/v0.ts

...ication/static/js/components/common/Flag/index.tsx

...ts/common/ResourceListItem/TableListItem/index.tsx

...sen_application/static/js/ducks/allTags/reducer.ts

...tatic/js/components/common/ScrollTracker/index.tsx

...pplication/static/js/ducks/popularTables/api/v0.ts

...js/components/TableDetail/WatermarkLabel/index.tsx

...sen_application/static/js/config/config-default.ts

...n/static/js/components/common/InfoButton/index.tsx

... and 80 more

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 b12fc1e...f510fa2. Read the comment docs.

@ttannis ready for review.

Did some cleanup, hopefully this should be easier to understand.
For the rendered items, the user can pass in allItems or slicedItems (and slicedItemsCount). The component should automatically detect which of these fields is filled and should behave accordingly. I also made the state management a bit more straightforward. If activePage is passed in as a prop, it will always use the prop directly. Otherwise it will use state.activePage internally.


Processor - crop to square then resize

Sorry this is a question
Im working with images of different sizes and orientations. Due to memory issues I need to reduce these images. The resize works great, but squashes images into the rect I specify. As I don't know the orientation of the image before I download it, its hard to specify this before setting the image with Kingfisher
The crop would work but again I don't know the starting sizes.
What I could do with being able to do is crop the image to a square (without knowing its size) and then resize to 100 x 100. Is this possible with the processors?
Thanks

I found my answer, sorry
ResizingImageProcessor.init(referenceSize: CGSize(width: 100, height: 100), mode: .aspectFit)


Clarifying comments and minor code clean-up in Sketch-RNN

explanation of stroke-3 and stroke-5 formats

clarification of some internal model details

simplify/remove some circuitous/redundant code

Mostly cleaned up versions of comments I left for myself as I was trying to understand the source. (e.g. it's really hard to construct a google search for a definition of MDN that isn't "Mozilla developer network"). Hoping they might be useful for others.
There should be no functional changes.

I signed it!

gentle ping


Can't import java.util.HashMap;

Whenever I try to import java.util.HashMap it shows "The import java.util.HashMap conflicts with a type defined in the same fileJava(268435841)

"
What to do?

/question
This is issue tracker for VS Code editor itself which doesn't provide this error (Java extension does).
For general questions you should use stack overflow or your preferred search engine.
https://stackoverflow.com/a/20433081/1098340


Prevent deployments if critical finding

Hi I'm wondering if there is a way to prevent deployments if there is a critical vulnerability identified in pod xyz.

its can be done with admission controller , it on our plans to add support to for it in trivy-operator

@chen-keinan Is there any timeline for adding the admission control feature?
For now, the most viable option for running Trivy in an admission controller seems to be devopstales/trivy-operator. I hope similar functionality will be provided by Trivy Operator soon.

@weibeld no specific timeline , we know that it something we want to have along with other things , we are happy to get contribution from the community for it if not, we will pick it up.


List view

Loved the app, but the one thing i use the most was missing.... List view. Like to see all or most of the files in my folders.

Merging with #2509

@gautr37 thank you for your patience, I'm excited to share that a List View layout will be included in the next release.


documents in Korean?

Can I translate and make documents in main/docs/en_us to main/docs/kr_kor ?
I'm playing with my friends now, but they aren't good at English.
So I want to share the Korean github docs link.

Sure. ko_kr would be the correct language code.

thanks a lot.


Add files via upload

Updated to add a loop across accounts as well in "1,2,3" format. Totals are additive

@rylad suggest you update or close this PR?


[BUG] Getting error codes when creating a company

Describe the bug
We have several thousand customers in our database that I want to sync with your Powershell REST API to our new Autotask PSA.
I worked on a script the last days (completely new to PowerShell, so I need a little bit ramp up time ;) ) to get the data out of the MS SQL database, put it into an Autotask body and make sure I don't sync duplicates when running the script several times (created a dummy customer via Web UI and changed it a few times to match against my script).
Finally I was sure that I am ready to sync a new customer and tried it with one dataset but when I use New-AutotaskAPIResource I get the error message:
"An unexpected error has occurred. If the problem persists, please contact Autotask Support and reference Error ID: 1166" Sometimes I also get 1165 as error ID with the same text.
I already checked:

If the Webservice URI is correct -> It is. Simple Gets are fine
If the API user has the correct permissions. It has API system rights and access to all things I can select

To Reproduce
I created the Autotaskbody (with NoContent parameter), filled the variables with the values from the database and then handed it over to New-AutotaskAPIResource.
Specific code:
$CompanyBody = New-AutotaskBody -Resource Companies -NoContent
  #Definition der Werte
  [string]$CompanyName = $customerresult.CUSTOMER_NAME
  [int16]$CompanyType = 1
  [int]$OwnerResourceID = 29682885
  [string]$PhoneNo = $mainadressresult.PHONE_NO
  [string]$Address1 = $mainadressresult.ADDRESS_2
  [string]$PostalCode = $mainadressresult.POSTAL_CODE
  [string]$City = $mainadressresult.DESCRIPTION
  [string]$WebAdress = $customerresult.http
  [string]$CompanyNumber = $customerresult.CUSTOMER_NO
  [long]$autotaskcustomerid = $customerresult.CUSTOMER_NO
  [int]$taxregion = 2

  #ID gleich der Kundennummer setzen
  #$CompanyBody.ID = $autotaskcustomerid
  #Firmennamen eintragen
  $CompanyBody.CompanyName = $CompanyName
  #CompanyType auf 1 setzen, das steht für Kunde (kein Interessent)
  $CompanyBody.CompanyType = $CompanyType
  #Zuständiger Mitarbeiter wird hinterlegt, als Dummy immer beim Import der "Autotask Administrator"
  $CompanyBody.OwnerResourceID = $OwnerResourceID
  #Telefonnummer OHNE Durchwahl
  $CompanyBody.Phone = $PhoneNo
  #Adresse hinterlegen (Straße, PLZ, Ort)
  $CompanyBody.Address1 = $Address1
  $CompanyBody.PostalCode = $PostalCode
  $CompanyBody.City = $City
  #Webseite hinterlegen
  $CompanyBody.WebAddress = $WebAdress
  #Firmennummer wird mit der Kundennummer für unique identifier gesetzt
  $CompanyBody.CompanyNumber = $CompanyNumber
  #Taskfire im Standard auf False setzen
  $CompanyBody.isTaskFireActive = $false
  #Steuerregion auf Deutschland setzen
  $CompanyBody.TaxRegionID = $taxregion
  #Wir müssen noch die benutzerdefinierten Felder setzen, damit die Evatic Kundennummer erkennbar ist, vorher muss der Kunde erstellt werden und dann die ID wieder ausgelesen werden über den unique identifier der Firmennummer
  #Wird erstmal nicht gesetzt, aber die Zeile bleibt drin weil die Syntax nicht ganz easy ist
  #Get-AutotaskApiResource -id 0 -resource companies | foreach-object {($_.UserDefinedFields | where-object {$_.name -eq "Evatic Kundennummer"}).value = $kundenid;$_} | Set-AutotaskApiResource -Resource Companies
  #echo "Ich würde den Kunden jetzt wie folgt anlegen"
  #echo $companybody

  New-AutotaskAPIResource -Resource Companies -Body $CompanyBody
  echo $Error

Expected behavior
I expect that the creation is successful.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: Windows 10
PowerShell version: V5.1
ScriptVersion: 1.1.1

If I can give any further information, please let me know.. I am afraid that Autotask did changes to the API so sth does not work anymore.
Regards,
Christian

You most likely are missing some required UDFs, To check, grab a company that you would like to copy and check which fields are filled in and which are not. Sorry for the late reply!

Duplicate of #26. Let's use that one instead. :)


/usr/local/rvm/bin/ruby: Permission denied

I was running system recipe with group_users attribute.
include_recipe "rvm::system"
default['rvm']['group_users']  = ["app"]
I have no problem install it, and I can run "ruby -v" as root without issue.
However, I got permission denied if I run as other users since the files own by root.
Did I miss anything?
-rwx------ 1 root rvm 287 Jul 17 16:24 /usr/local/rvm/bin/ruby

Closing due to inactivity.
If this is still an issue please reopen or open another issue. Alternatively drop by the #sous-chefs channel on the Chef Community Slack and we'll be happy to help!
Thanks,
Sous-Chefs


emoji picker: Make the mouse hover cursor be the same as the hotkeys navigation cursor

Ideally, if you're switching back and forth between using the hotkeys and mouse to navigate the emoji picker, the keyboard and mouse cursors would be the same, not 2 different things:

We should also pick whichever visuals we prefer.
This is I think the one remaining major issue with our emoji picker, so tagging it medium.  Hopefully we can get this fixed before the release.

@zulipbot claim


esm import results in faulty cjs require

Environment
18.15.0
Reproduction
import Unimport from 'unimport/unplugin'

export default (options: UserOptions = {}): Plugin[] => {
return [
   ...
    UnimportPlugin.vite(),
    ...
  ].flat()
}

Describe the bug
gets compiled to:
const index = (options = {}) => {
const Unimport = require('unimport/unplugin');
const UnimportPlugin = "default" in Unimport ? Unimport.default : Unimport;
  return [
    ...
    Unimport.vite(),
    ...
  ].flat();
};

module.exports = index;

It should be Unimport.default.vite though
is this an issue with unimport or unbuild?
I'm using "unbuild": "^1.1.2"
Additional context
The use case is that I have a meta plugin that preconfigures a bunch of plugins.
I have a workaround, but would like to know why this happens.
Thank you =)
Logs
No response

We temporarily close this due to the lack of enough information.
Please provide a minimal reproduction to reopen the issue.
Thanks.

Why reproduction is required

sry, I will try to add a minimal reproduction asap

Hi Anthony,
here is the minimal reproduction:
https://stackblitz.com/edit/vitejs-vite-pn4bba?file=plugin/dist/index.cjs


2.0 Release

master has been undergoing tons of changes to make this project even better!
Here's a running list of what's new:
Better default Modes:

record - (Default) Records new fixtures & replays existing.
rerecord - Re-records all requests.
reply - Uses fixtures for all requests. (Missing fixtures throw)
ignore - Ignores fixtures & makes all requests.

Zero-Config recorder
By default, just including it is enough:
require('back-to-the-fixture')
import "back-to-the-fixture"

node --require "back-to-the-fixture" ...

RECORDER_MODE
You can set process.env.RECORDER_MODE to change the mode:
RECORDER_MODE=replay node --require "back-to-the-fixture" ...

Jest Preset + Watch Plugin
// jest.config.js
module.exports = {
  preset: "back-to-the-fixture"
}

This will automatically:

Ignore __fixtures__ from triggering re-runs (otherwise Jest will do an endless loop).
Add back-to-the-fixture globally (no need to manually include it).
Add a custom plugin:

Watch Usage
 › Press a to run all tests.
 › Press f to run only failed tests.
 › Press o to only run tests related to changed files.
 › Press p to filter by a filename regex pattern.
 › Press t to filter by a test name regex pattern.
 › Press q to quit watch mode.
 › Press r to change recording mode from "record".
 › Press Enter to trigger a test run.

Pressing r will toggle between modes. Enter to re-run as usual.
recorder.config.js
Adding this file to the root of your project lets you customize how the recorder works:
// recorder.config.js
module.exports = {
  fixturesPath: __dirname + '/__fixtures__'
  normalizers: [
    // This is called prior to making the request, and prior to saving
    function(request, response) {
      const { method, href, requestHeaders: headers, body, url } = request

      // response may not exist yet
      if (response) {
        const { statusCode, responseHeaders: headers, body } = response
      }

      // Mutate the `request` and `response` however you see fit
    }
  ]
}

Note: The url property isn't saved, but comes from https://github.com/unshiftio/url-parse to help simplify mutating the href property.
Support for supertest
https://github.com/visionmedia/supertest is the de-facto HTTP assertion library.
But, request(app) spins up servers with ephemeral ports, which means every request looks different.  This means ephemeral fixtures, too!
By default, if user-agent matches supertest, we ignore the port.

[ ] Replace debug with simpler chalk calls.
[ ] When process.env.CI, default to replay.
[ ] Add example for merge multiple presets.


deduplicate test vectors and move what can be moved to zebra-test

Based on @teor2345's comment here https://github.com/ZcashFoundation/zebra/pull/558#pullrequestreview-440465177, we should move large vector construction to zebra-test as much as possible.

I think #558 and #585 make a lot of progress here.
But we should do a final check for hex-encoded test vectors in modules other than zebra-test.

Let's just move test vectors as we find them.


Add new AP bandwidth API

Add new API to configure AP bandwidth.

@nxf58150 please rebase to address multiple merge conflicts. Thanks!


ENH: Pythran implementation of _cdf_distance

What does this implement/fix?
Pythran implementation of _cdf_distance.
u_values, v_values = [0.7, 7.4, 2.4, 6.8], [1.4, 8. ]
u_weights, v_weights = [2.1, 4.2, 7.4, 8. ], [7.6, 8.8]

u_values = np.asarray(u_values, dtype=float)
u_weights = np.asarray(u_weights, dtype=float)

v_values = np.asarray(v_values, dtype=float)
v_weights = np.asarray(v_weights, dtype=float)

The Pythran version:
%timeit -n 100 -r 3 _pythran_cdf_distance(1,u_values, v_values, u_weights, v_weights)
23.4 µs ± 8.47 µs per loop (mean ± std. dev. of 3 runs, 100 loops each)

The original version:
%timeit -n 100 -r 3 _orig_cdf_distance(1,u_values, v_values, u_weights, v_weights )
74.4 µs ± 23.9 µs per loop (mean ± std. dev. of 3 runs, 100 loops each)

3x speedup with a small array input.
I also rewrote some parts to support Pythran compilation
Rewrote u_values[u_sorter].searchsort to np.searchsort to avoid Pythran AssertionError: Function path is chained attributes and name.
Rewrote all_values.sort(kind='mergesort') to np.sort(all_values, kind='mergesort') to avoid Pythran compliation error.
cc @rgommers @serge-sans-paille

Great steps @charlotte12l !
Some minor comments:

Rewrote u_values[u_sorter].searchsort to np.searchsort to avoid Pythran AssertionError: Function path is chained attributes and name.
Can you create a minimal reproducer and sublit an issue on the Pythran tracker? Such feedbacks are important to us :-)

Rewrote all_values.sort(kind='mergesort') to np.sort(all_values, kind='mergesort') to avoid Pythran compliation error.
Same :-)

@serge-sans-paille

Can you create a minimal reproducer and sublit an issue on the Pythran tracker? Such feedbacks are important to us :-)

Sure! I just opened two issues on Pythran: https://github.com/serge-sans-paille/pythran/issues/1791, https://github.com/serge-sans-paille/pythran/issues/1792

CI failures are all unrelated.

@rgommers

The two public functions that currently make use of _cdf_distance are wasserstein_distance and energy_distance. Those don't have benchmarks yet, so it would be good to add some to show that these functions also get significant speedups.

Just added the benchmarks: https://github.com/scipy/scipy/pull/14163 :)

Given the merge conflicts, the fact that benchmarks are needed, the inactivity, and the difficulty we're having in gh-13957, I'm going to go ahead and close this one. Thanks all - and feel free to reopen if you can help finish it up.


Use thiserror instead of anyhow

Use of anyhow::Result forces all downstream crates to also use anyhow. It also prevents meaningful error handling since anyhow::Result is a black box.
This is fine for an app that has no downstream dependencies, but since this is a library the recommended practice is to create meaningful error enums. The thiserror crate is very useful for this.

Happy to contribute here if I can get some assurances that such a PR is welcome.


Error: Can't resolve './browser/algorithms'

Looks like 4.0.3 was published today.
localhost > Module not found: Error: Can't resolve './browser/algorithms' in '.../node_modules/browserify-sign'
localhost > @ ./~/browserify-sign/algos.js 1:17-48
localhost > @ ./~/crypto-browserify/index.js
localhost > @ ./~/node-uuid/uuid.js

@calvinmetcalf ?
EDIT: looks like we were missing .json in our extensions: ['.js', '.jsx', '.json'] in our webpack configuration.

I'm seeing the same problem and can no longer run my Angular2 app. Can we get an ETA for a fix?

Same here, discovered while recording a pluralsight course, worked hours before the recording :-)

@mohannad-abwah tmp workaround that worked for me, install 4.0.0 explicitly to your project

@ajtowf That worked, thanks!

As @joshunger said, adding .json to my webpack config's resolve: { extensions: [ '.js', '.json' ] } helped. Thanks!

@joshunger @kudobyte even better, thanks!

Here's an attempt to fix it https://github.com/crypto-browserify/browserify-sign/pull/36

Same same, please patch this ASAP! :) thanks

error still the same
Error: Cannot find module "./browser/algorithms.json"

@ayami how are you running this (what build tool) and what version of this do you have ?

I installed npm i CryptoBrowserify
and along came with this.
I use ionic 3
and for some reason it can't detect .json file ?

do you know what ionic 3 uses to built it's JS ?


fix: revise the format of doc.yml file

For an example of how to fill this template out, see this Pull Request in the Wiki.
Description
This PR fixes the formatting in the docs.yml file in the Issue Template folder.

Fixes Issue
Closes #51

Acceptance Criteria

[x] Update the content of the docs.yml file
[x] if uncertain, compare with the two yml files which are working (bug.yml, other.yml)

Type of Changes
This PR makes the following changes:

Adds more descriptive name and description
Adds descriptive labels and a checklist
Adds a section for contributors to describe their proposed solution and how it can benefit the project

Make sure your code follows the code style of this project.
Make sure your code is up2date.
The title of the PR is the same as the title of the issue.

Type

x
:bug: Bug fix

:sparkles: New feature

:hammer: Refactoring

:100: Add tests

:link: Update dependencies

:scroll: Docs

Updates
Before

After

Testing Steps / QA Criteria
Check for Preview

Hi @YuriDevAT. Here's a new version of my PR. I think it would be best to merge this one first before the feature.yml one.

Hi @YuriDevAT! :) I managed to do the PR.

Perfect, well done 🥳


Windows build seems to be broken at 'miniaudio.h' with "Cannot open include file: 'stdalign.h'"

C:\src2\lovr\src\lib\miniaudio\miniaudio.h(3879,1): fatal error C1083: Cannot open include file: 'stdalign.h': No such
file or directory (compiling source file C:\src2\lovr\src\lib\miniaudio\miniaudio.c) [C:\src2\lovr\build\lovr.vcxproj]
C:\src2\lovr\src\lib/miniaudio/miniaudio.h(3879,1): fatal error C1083: Cannot open include file: 'stdalign.h': No such
file or directory (compiling source file C:\src2\lovr\src\modules\data\sound.c) [C:\src2\lovr\build\lovr.vcxproj]
C:\src2\lovr\src\lib/miniaudio/miniaudio.h(3879,1): fatal error C1083: Cannot open include file: 'stdalign.h': No such
file or directory (compiling source file C:\src2\lovr\src\modules\audio\audio.c) [C:\src2\lovr\build\lovr.vcxproj]

This is the same issue as #551 -- the fix is to upgrade the Windows SDK to get C11 support.

Thanks! Upgrading to Build Tools 2022 worked.


Why dispatch_sync?

What's the purpose of this dispatch sync? Wont it block anyway?
var dataTask: NSURLSessionDataTask?
dispatch_sync(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0)) {
    dataTask = self.session.dataTaskWithRequest(mutableRequest)
}

Just quickly, I thought the global dispatch queues were concurrent? Couldn't you still end up with the block executing concurrently on the global queue?

That is true, it would have to be a barrier block, but doing that on a global queue is kind of dangerous.

Hi matt,
Now it changed to concurrent queue, what is the benefit of using still?
public func request(URLRequest: URLRequestConvertible) -> Request {
var dataTask: NSURLSessionDataTask!
    dispatch_sync(queue) {
        dataTask = self.session.dataTaskWithRequest(URLRequest.URLRequest)
    } ................

The queue is a serial queue @pavm035.
let queue = dispatch_queue_create(nil, DISPATCH_QUEUE_SERIAL)


DO NOT MERGE - testing Jenkins

Testing configuration of Jenkins using VBoxSVC as a systemd service.

Closing as VBoxSVC has been functioning well as a systemd service on the build slaves.


[Blazor] Lifecyle hooks not being called while prerendering

Describe the bug
Lifecycle hooks, like OnInit, are not being invoked when a component gets pre-rendered server-side. First invocation takes place after SignalR is connected and when the component in re-rendered.
To Reproduce
Steps to reproduce the behavior:

Get the latest preview5 sdk from core-sdk
dotnet new blazorserverside
Override OnInit in Counter component and log something to the console
dotnet run
Open site in the browser, view source code only so that no SignalR connection is being established

Expected behavior
Log output should appear in the console window. Lifecycle hooks should be invoked when a component is pre-rendering on the server - which was the case in preview 4.
Additional context
.NET Core SDK (reflecting any global.json):
Version:   3.0.100-preview5-011562
Commit:    5346fb8ae6
Runtime Environment:
OS Name:     Mac OS X
OS Version:  10.14
OS Platform: Darwin
RID:         osx.10.14-x64
Base Path:   /usr/local/share/dotnet/sdk/3.0.100-preview5-011562/
Host (useful for support):
Version: 3.0.0-preview5-27624-11
Commit:  7b5103a1f6

@Gaulomatic You won't see the console output in the browser during prerender, because the code is running on the server. If you need to do anything that requires JS interop then you need to put that logic in the OnAfterRenderAsync method.
Since this sounds like it's by design, I'm going to go ahead and close. If we've misunderstood the issue please let us know!

I was referring to System.Console.WriteLine(), so on the server. This was working in preview4, but it does not in preview5 and preview6.

@Gaulomatic I'm not able to reproduce this. I updated Counter like this:
@page "/counter"
@inject IComponentContext Context

Counter

Current count: @currentCount

<button class="btn btn-primary" onclick="@IncrementCount">Click me</button>

@functions {
    int currentCount = 0;

    void IncrementCount()
    {
        currentCount++;
    }

    protected override void OnInit()
    {
        Console.WriteLine("Counter.OnInit " + (Context.IsConnected ? "connected" : "prerendered"));
    }
}

If I then run the app and browse to view-source:https://localhost:5001/counter I get this in the console logs:
info: Microsoft.AspNetCore.Hosting.Diagnostics[1]
      Request starting HTTP/2 GET https://localhost:5001/counter
info: Microsoft.AspNetCore.Routing.EndpointMiddleware[0]
      Executing endpoint '/_Host'
info: Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageActionInvoker[3]
      Route matched with {page = "/_Host"}. Executing page /_Host
info: Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageActionInvoker[103]
      Executing an implicit handler method - ModelState is Valid
info: Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageActionInvoker[104]
      Executed an implicit handler method, returned result Microsoft.AspNetCore.Mvc.RazorPages.PageResult.
Counter.OnInit prerendered
info: Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageActionInvoker[4]
      Executed page /_Host in 57.2432ms
info: Microsoft.AspNetCore.Routing.EndpointMiddleware[1]
      Executed endpoint '/_Host'
info: Microsoft.AspNetCore.Hosting.Diagnostics[2]
      Request finished in 60.8646ms 200 text/html; charset=utf-8

Weired, I can longer reproduce this any more. Yesterday I had to uninstall a bunch of other preview SDKs (5s and 6s) because I was no longer able to start anything other than preview6 stuff and now this weired behavoir is gone. I uninstalled essentially every 3.0 SDK except for preview4 and preview5-011562 and reverted the dotnet executable to preview5-011562. This must have been some installation mess up on my side. I am sorry that I wasted your time, next time I will check things on a second machine before I open a ticket.


Evaluation Menu Selection No Longer Evaluates Code

Updated  Julia-client 0.4.7 today, immediately following update and running Pkg.update() in Julia console the Atom editor popup menu (right clicking in Atom after selecting text in script) no longer executes anything when clicking on Evaluate. Ctrl+Enter evaluates everything and the popup bubble shows the output so I know the functionality is still there... Guessing this is 100% user error but wanted to follow up to see if this happens to anyone else.

Nope, this is (was) a real issue. The command got renamed in a recent refactor, but the menu wasn't changed accordingly.
Anyways, fixed by 8e761f81a04b60f357dc54f5e0afaaa65ec23945.


feat: add log initializer to libutilities

Codecov Report

Merging #9 (f3f0e7e) into dev (1524ca2) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##              dev       #9   +/-   ##
=======================================
  Coverage   91.17%   91.17%
=======================================
  Files          21       21
  Lines         680      680
=======================================
  Hits          620      620
  Misses         60       60

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 1524ca2...7cec37a. Read the comment docs.


Numpy conversion

Changes

Bulk molecules are now stored in a single structured array, with one column for molecule names, another for counts, and the rest for the various masses (e.g. protein, rRNA, etc.). Unique molecules each have their own structured array with a column for each attribute plus a metadata column called _entryState that marks whether a given row contains an active unique molecule.
Since processes now just connect to the bulk array, their ports schemas no longer clearly indicate what molecules each process uses. Worse, to access specific molecule counts, at the first timestep, each process has to find and store the indices within the structured array corresponding to those molecules. Here is an example.
https://github.com/CovertLab/vivarium-ecoli/blob/5e29fc7c777dea1b747ed9425319d379f4abd2fa/ecoli/processes/rna_degradation.py#L202-L217
For efficiency, wcEcoli deletes molecules marking their corresponding as inactive in their _entryState column. Then, it can add new molecules in those inactive rows instead of growing the array. One downside to this approach is that updates that modify unique molecule attributes must occur before those that add or delete molecules. For example, if you first deleted a molecule and then added a new molecule in that row, a subsequent update trying to modify that row would have no idea that the molecule it was expecting at that position no longer exists, resulting in the improper modification of a completely unrelated molecule. wcEcoli gets around this by accumulating updates until all evolvers have run, then sorts them before applying them. To mimic this functionality, I made a hacky updater that is actually a method of a class, allowing me to accumulate updates using instance variables.
https://github.com/CovertLab/vivarium-ecoli/blob/5e29fc7c777dea1b747ed9425319d379f4abd2fa/ecoli/library/schema.py#L188-L240
Then I added a Step called UniqueUpdate that runs after all the processes but before any other Steps. This Step signals to each unique molecule updater that it is time to apply all the accumulated updates and clear the instance variables. This gets complicated with cases like ChromosomeStructure, a Step that sends updates to unique molecule stores. For now, I’ve added some boilerplate in ecoli_master to automatically add a UniqueUpdate Step after each other Step in the composite (right now we technically only need one more after ChromosomeStructure, but I figured this solution is more futureproof and with minimal performance impact).
https://github.com/CovertLab/vivarium-ecoli/blob/5e29fc7c777dea1b747ed9425319d379f4abd2fa/ecoli/composites/ecoli_master.py#L244-L250
New dividers for unique molecules adapted from wcEcoli
Migration tests all updated and simplified
Reworked EngineProcess to get initial state for inner simulation by calling initial_state method of the Composite generated by calling generate on self.parameters['inner_composer']
Offloaded division threshold calculations to CellDivision process. Fixes issue in colony simulations where threshold was calculated using the dry mass at ('listeners', 'dry_mass'), which is not 100% accurate immediately after division (before MassListener has run). This entailed adding a new DivisionDetector Step to the inner simulation which sets a flag telling EngineProcess it is time to divide.
Separated the build_ecoli and run methods of EcoliSim. Users should now call build_ecoli before calling run (more flexibility to modify composite before running).
Added Clock process for MassListener to calculate expected_mass_fold_change

Results
Runtime down to <10 minutes per cell cycle and simulation results perfectly match wcEcoli branch commit c4261d97 (compare to #174). More precise benchmarks to come.

Todo

[ ] Documentation
[ ] Initial state overrides
[ ] Antibiotic processes
[ ] Blame plots
[ ] TableReader and other analyses
[ ] Miscellaneous broken tests

This is a fantastic optimization! I'm kind of sad we lose the ability to use keys into the state to retrieve values, but it is definitely worth this runtime improvement. Numpy everywhere! Regarding points 2 and 3, I think the performance gains make this worth it, so I am in support. Please comment the reasoning behind that UniqueNumpyUpdater very well so future people can follow understand why this is required.


Update LOCAL_RUN.md

Adds instructions on deploying and relating ingress.

I think the below is a much needed consolidation on the best practices to follow during the authentication process for any kind of Legend deployment:
A notes on your browser settings and cookies
The Legend stack rely on cookies to authenticate user across the applications. A recent change on how [samesite cookies](https://web.dev/samesite-cookies-explained/] are handled by Google Chrome and Mozilla Firefox can block the authentication process. To avoid problems with cookies, before starting the authentication process:

make sure you use the private mode
allow samesite cookies in your browser
clear the browser's cache
if you are using Firefox, disable Enchanced Tracking Protection for the Studio and SDLC pages.


Should -d (debug) be the default behavior?

I found it confusing that cloudworker doesn't log anything to the console (even if an error is thrown) unless the -d flag is added. Shouldn't this be the default behavior? (and perhaps a flag to supress output instead?)

I dunno, I kinda like the default behavior — you don't get access to stdout/stderr in your Cloudflare workers either, so you'll want to have proper error handling in place to return 500s on unexpected errors and probably some kind of third-party logging solution.
I suppose I don't have a strong opinion about -d being the default as long as there's also some flavor of --no-debug available to emulate CF's behavior.


Support CocoaPods

Hi, this framework is really awesome and I really need it in Cocoapods. Do you have a plan moving to CocoaPods?

Hey mate - thanks for your kind words! I haven’t planned to support cocoapods (I dont use it anymore for my own projects) but if you make the change yourself and submit a pull request I’ll happily merge it into the repo. My experience with cocoapods is limited at best so if you have experience it would be most welcome.

v13 adds cocoapods support


Implement frac and lerp builtins

I don't know which naming convention you prefer - I've gone with the HLSL names for these functions, because HLSL is what I know best. Let me know if you'd prefer to use the GLSL or MetalSL names for either or both of these functions.

I think you have some comment names wrong in ShaderBuiltins.cs

Lerp is actually already supported if you just call Vector3.Lerp. I'm not sure it's worth adding because of that. The Frac looks good to me.

Oops, I've fixed the comments.
I thought Lerp was useful to have for scalar floats, and then for consistency I added the vector overloads too (same as Vector3.Abs, for example, which has both the Vector3 methods as well as ShaderBuiltins methods).

@tgjones Actually, I think it's fine, since there is no Math.Lerp method. Some of the stuff was added to ShaderBuiltins before I started adding mappings for "regular" types (like Math, MathF, Vector2/3/4, etc.), so some of them are duplicated like Abs. I think it's fine in this case though, since there would be no way to expose the scalar version as you've mentioned.

Looks good, thanks for the contribution!


Arduino Zero: rclc_support_init hangs

Hardware description: Arduino Zero
Installation type: Native Ubuntu 22.04 with ROS2 Humble
Version or commit hash: Humble

The micro-ros_publisher example hangs at the rclc_support_init function.
Output:
ros2 run micro_ros_agent micro_ros_agent serial --dev /dev/ttyACM0 -v6
[1691262472.164089] info     | TermiosAgentLinux.cpp | init                     | running...             | fd: 3
[1691262472.164303] info     | Root.cpp           | set_verbose_level        | logger setup           | verbose_level: 6
[1691262474.078448] info     | TermiosAgentLinux.cpp | fini                     | server stopped         | fd: 3
[1691262474.088567] info     | TermiosAgentLinux.cpp | init                     | Serial port not found. | device: /dev/ttyACM0, error 2, waiting for connection...
[1691262475.097059] info     | TermiosAgentLinux.cpp | init                     | Serial port not found. | device: /dev/ttyACM0, error 2, waiting for connection...
[1691262475.210031] info     | TermiosAgentLinux.cpp | init                     | running...             | fd: 3

Hello @MarkFloatingInSpace, micro-ROS Humble is deprecated, could you give Iron a try?

Hello Pablo,
thank you for your response! I appreciate it!
Unfortunately I observe the same problem when using Iron.
I deleted the Humble Arduino lib and installed the Iron lib. I tested the Iron agent in a docker container. Passing the serial port both by name and by device id:
sudo docker run -it --rm -v /dev:/dev --privileged --net=host microros/micro-ros-agent:iron serial --dev /dev/serial/by-id/usb-Arduino_LLC_Arduino_Zero_5B6C7B8050583153382E3120FF010720-if00 -v6
and
sudo docker run -it --rm -v /dev:/dev --privileged --net=host microros/micro-ros-agent:iron serial --dev /dev/ttyACM0 -v6
The output was the same as in my original post. I altered the example publisher code by creating a second error_loop() function with a different LED blinking timing. Therefore I know that the rclc_support_init function fails.
Do you have another suggenstion?
Thanks again for your support!
Yours,
Markus

Pablo Garrido @.***> hat am 07.08.2023 07:38 CEST geschrieben:
Hello @MarkFloatingInSpace https://github.com/MarkFloatingInSpace, micro-ROS Humble is deprecated, could you give Iron a try?
—
Reply to this email directly, view it on GitHub https://github.com/micro-ROS/micro_ros_arduino/issues/1494#issuecomment-1667216460, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKY255J4UG4T6IFZQ34D7OTXUB5NJANCNFSM6AAAAAA3FMLJVM.
You are receiving this because you were mentioned.Message ID: @.***>

Hi Markus, I've no Zero available for tests bc it is a community-contributed board, so I guess that I cannot help you too much...
It seems in your log that the board disconnects, and it is kind of weird because AFAIK Arduino Zero has a dedicated USB-Serial chip so it should not disconnect automatically. Have you tried with another USB cable?
Also, this MCU has a very small RAM memory, and recently micro-ROS have increased slightly its memory usage, just for testing, does it behaves equally if you used the deprecated foxy version?

Hi Pablo,
I understand of course that a community supported board comes with no guarantees! Thank you for your help nonetheless!
I would like to note that the board does NOT disconnect! I just reset the board to make sure that the agent is running when the board initializes. That is what causes the "Serial port not found" during the restart of the board. I am sorry for having caused this confusion! Does this change your diagnosis maybe?
I have tried both a different cable and the deprecated foxy version, both with no luck.
Yours,
Markus

Pablo Garrido @.***> hat am 08.08.2023 07:46 CEST geschrieben:
Hi Markus, I've no Zero available for tests bc it is a community-contributed board, so I guess that I cannot help you too much...
It seems in your log that the board disconnects, and it is kind of weird because AFAIK Arduino Zero has a dedicated USB-Serial chip so it should not disconnect automatically. Have you tried with another USB cable?
Also, this MCU has a very small RAM memory, and recently micro-ROS have increased slightly its memory usage, just for testing, does it behaves equally if you used the deprecated foxy version https://github.com/micro-ROS/micro_ros_arduino/releases/tag/v2.0.5-foxy?
—
Reply to this email directly, view it on GitHub https://github.com/micro-ROS/micro_ros_arduino/issues/1494#issuecomment-1668944844, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKY255L7N5NJFQCWEBLJ7H3XUHHCBANCNFSM6AAAAAA3FMLJVM.
You are receiving this because you were mentioned.Message ID: @.***>

Not really, it would be interesting if you can debug your code to see where exactly is the board hanging. If you find a slot for doing so, please let us know, that would provide details about the problem here.

I found it! I was using the native USB port instead of the programming/debugging USB port.  Everything works now.
Thank you for your support and for maintaining such an awesome library!

Pablo Garrido @.***> hat am 10.08.2023 07:47 CEST geschrieben:
Not really, it would be interesting if you can debug your code to see where exactly is the board hanging. If you find a slot for doing so, please let us know, that would provide details about the problem here.
—
Reply to this email directly, view it on GitHub https://github.com/micro-ROS/micro_ros_arduino/issues/1494#issuecomment-1672591449, or unsubscribe https://github.com/notifications/unsubscribe-auth/AKY255KNDROOVH3EPLHS3UTXURYWFANCNFSM6AAAAAA3FMLJVM.
You are receiving this because you were mentioned.Message ID: @.***>


Only PowerToys run and Powerename functions are available on Windows 11.

Microsoft PowerToys version
"0.41.4"
Running as admin

[X] Yes

Area(s) with issue?
General, Awake, ColorPicker, FancyZones, FancyZones Editor, Image Resizer, Keyboard Manager, Shortcut Guide, SVG Preview, SVG Thumbnail
Steps to reproduce
PowerToysReport_2021-07-18-08-34-10.zip
✔ Expected Behavior
No response
❌ Actual Behavior
Only PowerToys run and Powerename functions are available on Windows 11.
Other Software
Windows 11

@Slemoon can you clarify here? Are you saying you can't use the other utilities at all? I'm seeing in your attached logs that FancyZones is reporting some activity. Did this issue start as soon as you installed/updated PowerToys, or did it start happening sometime after?


gitLib is_dirty_worktree

https://github.com/fluidattacks/makes/blob/874fb8ca2eb28e60f5b51b8526d9616cfa624fb2/src/args/lib-git/template.sh#L3-L7

Complement with an is_dirty_worktree

I figured in some situations one might want to ensure that things are run on a clean dir.
One such use case is:
function ensure_clean_workdir {
  if test -n "$(git status --short)"; then
    critical Please witness deployment from a clean workdir. \
      Commit your local changes first.
  fi
}

(a witness of a deployed state, but this can be moved up the chain and only allow deploys on clean git workdirs in the first place)
/cc @nrdxp

@blaggacao what about gitignored files ? should they be considered part of the dirty state? git status does not take them into account, but if they exists, they will cause NAR serializations drift on nix-stable
should we consider a clean worktree one that is: git reset --hard COMMIT && git clean -dffx ?
the above is exactly equal as cloning the repository from scratch and checking out a given commit

I'd say that if a gitops engineer deploys any state off of a gitignore file, that engineer is very deliberately shooting himself in the foot (or doesn't know better).
I currently don't think we need to prevent that type of self harm if minimum gitops ethics is a given.
The issue here is rather deploying an uncommitted change by mistake.

Understood,
my concern was more purity and security. I heard of someone once deploying a file with plain text secrets to a public docker container image. The file was gitignored so that person was not aware of its existence. Other story is, python automatically writes __pycache__ folders when executed, which are also gitignored, and they cause ./path/to/folder hashes to change on Nix stable. Since those folders are "invisible", people normally have bad times debugging why the hash changes

If you use the unstable path, Nix itself already warns you of a dirty worktree, so doing this in makes may become redundant. Then again you can choose to turn that warning off in Nix.

I heard of someone once deploying a file with plain text secrets to a public docker container image. The file was gitignored so that person was not aware of its existence.

Oh yeah, I can see that happen.

If you use the unstable path, Nix itself already warns you of a dirty worktree, so doing this in makes may become redundant. Then again you can choose to turn that warning off in Nix.


refactor(plugins/aws): error handling, logging, types, and early returns

I'm not convinced we are handling issues at the right level. Instead, I think we should let the caller more gracefully handle the thread's failures/exceptions.  e.g. in the consume cli function:
import time
from threading import Thread, Event
import logging
import signal

from dispatch.common.utils.cli import install_plugins
from dispatch.project import service as project_service
from dispatch.plugin import service as plugin_service
from dispatch.organization.service import get_all as get_all_organizations
from dispatch.database.core import get_session, get_organization_session

install_plugins()
with get_session() as session:
    organizations = get_all_organizations(db_session=session)

log = logging.getLogger(__name__)

# Replace manager dictionary with an Event
running = Event()
running.set()

workers = []

def _run_consume_with_exception_handling(plugin_slug, organization_slug, project_id, running):
    while running.is_set():
        try:
            _run_consume(plugin_slug, organization_slug, project_id, running)
        except Exception as e:
            log.error(f"Exception in thread for plugin {plugin_slug}: {e}", exc_info=True)
            time.sleep(1)  # Optional: Add a small delay before retrying

def start_worker(plugin_slug, organization_slug, project_id, running):
    t = Thread(
        target=_run_consume_with_exception_handling,
        args=(plugin_slug, organization_slug, project_id, running),
        daemon=True,  # Set thread to daemon
    )
    t.start()
    return t

for organization in organizations:
    with get_organization_session(organization.slug) as session:
        projects = project_service.get_all(db_session=session)
        for project in projects:
            plugins = plugin_service.get_active_instances(
                db_session=session, plugin_type="signal-consumer", project_id=project.id
            )

            if not plugins:
                log.warning(
                    f"No signals consumed. No signal-consumer plugins enabled. Project: {project.name}. Organization: {project.organization.name}"
                )

            for plugin in plugins:
                log.debug(f"Consuming signals for plugin: {plugin.plugin.slug}")
                for _ in range(5):  # TODO add plugin.instance.concurrency
                    worker = start_worker(plugin.plugin.slug, organization.slug, project.id, running)
                    workers.append(worker)

def terminate_processes(signum, frame):
    print("Terminating main process...")
    running.clear()  # stop all threads
    for worker in workers:
        worker.join()

signal.signal(signal.SIGINT, terminate_processes)
signal.signal(signal.SIGTERM, terminate_processes)

# Keep the main thread running
while True:
    if not running.is_set():
        print("Main process terminating.")
        break
    time.sleep(1)

@kevgliss Agreed will add these improvements as well.


get_grid_view produces invalid view

Hi,
when I create a grid using
view = mobie.metadata.get_grid_view(
    dataset,
    view_name,
    source_names,
    use_transformed_grid=True,
    center_at_origin=True
)

validation fails:

  File "/Users/schorb/code/mobie-utils-python/mobie/validation/utils.py", line 64, in _assert_true
    raise ValueError(msg)

ValueError: 'affine' is a required property

What would be the correct way of generating a grid?

The code is correct and works. The issue is probably that you have an old version of the schema cached.
Just run rm ~/.mobie/*.json and try again.


Failed to configure_optimizers from dictionary without lr_scheduler field presented

🐛 Bug
Optimizer is failed to be configured from the dictionary without lr_sheduler field.
Consider an example of the Module configure_optimizers method:
        def configure_optimizers(self):
            config = {
                'optimizer': torch.optim.SGD(params=self.parameters(), lr=1e-03)
            }
            return config

Then, we run a simple trainer:
    trainer_options = dict(default_save_path=tmpdir, max_epochs=1)
    trainer = Trainer(**trainer_options)
    _ = trainer.fit(model)

And we fail with an error:
UnboundLocalError: local variable 'lr_schedulers' referenced before assignment

I believe, that the reason is that lr_schedulers local variable is not determined here:
https://github.com/PyTorchLightning/pytorch-lightning/blob/8dd9b80d7a192117783195a748ddce6c33d556f3/pytorch_lightning/trainer/optimizers.py#L36-L42
I think, it could be fixed like this:
        # single dictionary
        elif isinstance(optim_conf, dict):
            optimizer = optim_conf["optimizer"]
            lr_scheduler = optim_conf.get("lr_scheduler", [])
            if lr_scheduler:
                lr_schedulers = self.configure_schedulers([lr_scheduler])
            else:
                lr_schedulers = []
            return [optimizer], lr_schedulers, []

To Reproduce
Steps to reproduce the behavior:

Create a simple Module with configure_optimizers which looks like above.
Run the fit Trainer method with the model.
See error

Code sample
https://gist.github.com/alexeykarnachev/c61a5b1ca3bf876e19b4547eeb9f42dc
Expected behavior
I suppose, that such the configuration: {"optimizer": ...}, without "lr_scheduler" must be a valid one, and this error must not be occurred.
Environment
OS: Linux
architecture: 64bit
processor: x86_64
python: 3.7.6
version: #97~16.04.1-Ubuntu SMP Wed Apr 1 03:03:31 UTC 2020
pytorch-lightning: 0.7.3rc1

yeah, agreed that dict should work without the scheduler. mind submitting a PR?


Frame time / FPS averages get stuck at incorrect values

Maybe related to https://github.com/ppy/osu-framework/issues/696

Fixed via https://github.com/ppy/osu-framework/pull/2962.


Tim's author info

Hey @rabernat, thanks for the invitation to the JOSS paper! I would like to help where I can with the paper, but for now here is my authorship info. Cheers

I would like to help where I can with the paper

Thanks! The hope is that there is very little additional work to do, or rather, that the work is already done (we made xgcm). That's kind of the JOSS philosophy.

Codecov Report

Merging #3 into joss-paper will not change coverage.
The diff coverage is n/a.

@@             Coverage Diff             @@
##           joss-paper       #3   +/-   ##
===========================================
  Coverage       89.73%   89.73%
===========================================
  Files               4        4
  Lines             653      653
  Branches          143      143
===========================================
  Hits              586      586
  Misses             36       36
  Partials           31       31

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 0b769e1...f974832. Read the comment docs.


Fix "six" package problem

Got traceback
Collecting six>=1.5 (from python-dateutil<3.0.0,>=2.1->botocore<1.5.0,>=1.4.1->boto3)
  Downloading six-1.10.0-py2.py3-none-any.whl
Installing collected packages: six, docutils, python-dateutil, botocore, jmespath, futures, boto3

Exception:
  Traceback (most recent call last):
    File "/usr/local/lib/python2.7/dist-packages/pip-6.0.8-py2.7.egg/pip/basecommand.py", line 232, in main
      status = self.run(options, args)
    File "/usr/local/lib/python2.7/dist-packages/pip-6.0.8-py2.7.egg/pip/commands/install.py", line 347, in run
      root=options.root_path,
    File "/usr/local/lib/python2.7/dist-packages/pip-6.0.8-py2.7.egg/pip/req/req_set.py", line 549, in install
      **kwargs
    File "/usr/local/lib/python2.7/dist-packages/pip-6.0.8-py2.7.egg/pip/req/req_install.py", line 754, in install
      self.move_wheel_files(self.source_dir, root=root)
    File "/usr/local/lib/python2.7/dist-packages/pip-6.0.8-py2.7.egg/pip/req/req_install.py", line 963, in move_wheel_files
      isolated=self.isolated,
    File "/usr/local/lib/python2.7/dist-packages/pip-6.0.8-py2.7.egg/pip/wheel.py", line 234, in move_wheel_files
      clobber(source, lib_dir, True)
    File "/usr/local/lib/python2.7/dist-packages/pip-6.0.8-py2.7.egg/pip/wheel.py", line 212, in clobber
      shutil.copyfile(srcfile, destfile)
    File "/usr/lib/python2.7/shutil.py", line 83, in copyfile
      with open(dst, 'wb') as fdst:
  IOError: [Errno 13] Permission denied: '/usr/local/lib/python2.7/dist-packages/six.py'

Resolved at 2607e37


Healthcheck with headers

Hey!
Is it possible to add headers to healthchecks? Alot of our applications need a specific header to be present to return a 2xx/3xx http respons. If we can't add headers we will not be able to use healthchecks until we add some other health endpoint in our applications.
Thanks

I'm currently trying with OPTIONS requests instead of GET. Maybe this will be a workaround for now

Not in the UI, but the request line and host header are actually one field in the API because that's how haproxy takes it.  So you should be able to set it to GET /blah HTTP/1.1\r\nHost: blah.com\r\nAny-Other-Header: value\r\n...in the API or compose.  (Literal backslashes need to appear in the string, not an actual CR/LF, so you may need to escape them).

Ok, thanks! Would be nice if this got documented in the healthcheck section :)

Oh btw, it has to be HTTP/1.1?

You can do HTTP/1.0, maybe even 2.0 but I dunno if haproxy would know how to parse the response.  The requestLine is given directly to haproxy and that's what it writes out when the connection opens.

When i try it I get
time="2016-09-30T20:27:18+02:00" level=fatal msg="Failed to read project: yaml: line 153: mapping values are not allowed in this context"
requestLine
    request_line: GET /school/rest/v1/roles HTTP/1.1\r\ntest: test
I've also tried
    request_line: GET /school/rest/v1/roles HTTP/1.1\\r\\ntest: test
Something you seen before?

It seems it doesn't like the : in the yml file. I'm running with rancher-compose, anyway to escape it?

That's invalid YAML because you have an unquoted string with a colon in it

Oh gosh, ofc it is, thanks :P

If someone looks for the answer this is how I solved it.
request_line: "GET /healthcheck HTTP/1.0\\r\\nheader:\ myheader"
Its not allowed with whitespace in in the header / after semicolon so if you want one you have to escape it with a \ or remove the whitespace.


syntactic part of N999 in another E rule

Not only does rule N999 check that the PEP8 convention is respected, but also checks that the module name is syntactically correct. The latter is not part of PEP8. This is a problem for me currently working on "old non linted" code. I have to ignore this rule because of some modules whose names are syntactically correct but sometimes with capital letters.
I think a E rule is missing that would only include the syntax checking of N999. (If I were you I would also remove that part from N999 for consistency)

It doesn't seem that Python requires all module names to be valid identifiers. Only modules that are imported from other modules. But I might be wrong here. Ruff should always report a syntax error if you try to import a module with an invalid identifier name.

I believe @edhinard is complaining about something like the following directory structure:

foo/

foo/__init__.py (empty file)
foo/NotPep8Compliant.py
foo/not-an-identifier.py

They'd like a rule that complains about the naming of foo/not-an-identifier.py, as importing foo.not-an-identifier at runtime will fail. But they can't use our N999 rule (invalid-module-name) to flag this, because that would also flag foo/NotPep8Compliant.py). None of the other submodules in the foo package ever try to import not-an-identifier -- it's just exposed as a public submodule of the foo package -- so the bad name of the submodule also isn't caught by any of our rules that flag SyntaxErrors.
So I think the argument is that N999 should be split into two rules: one that flags invalid module names, and one that flags module names that are valid, but not PEP8-compliant. This seems like a reasonable argument to me, though it would mean we'd deviate from the behaviour of the original pep8-naming linter.

You are right module names don't have to be valid identifiers:
$ touch 3.py
$ python3 -c "import importlib; print(importlib.import_module('3'))"
<module '3' from '/tmp/3.py'>

But it is not a good idea:
$ python3 -c "import 3"
  File "<string>", line 1
    import 3
           ^
SyntaxError: invalid syntax

and ruff is here to help us avoid that.
IMHO the problem with N999 is that it combine two checks: 1) the pep8 convention which we cannot always adhere to, 2) the "dangerous permissiveness" of non regular module names. It is important to have 2) - for example sub-directories may be implicitely imported by pytest.
Probably a new "E" rule is not a good idea. But something not mixed with pep8 convention

@AlexWaygood would you support this check as a separate rule?

@AlexWaygood would you support this check as a separate rule? @AlexElvers is interested in it.

Are you asking if I'd support splitting the existing check up (as the OP in this issue is requesting) or if I'd support adding an additional, more opinionated rule that also checked N999-type things for files that are not part of packages (as was proposed in https://github.com/astral-sh/ruff/pull/12535)?
For the first question: yes, definitely. For the second question: I think it could be a useful rule for some users, but I think it would probably be too opinionated for us to add now until we've done rule recategorisation.

Oh, I thought it's both the same. Thanks for explaining and makes sense to me


'Delete Account' goes to wrong URL

When attempting to delete an existing Pod by clicking the 'Delete Account' button on the 'Solid Home' page, I am redirected to a URL https://WebID.PodProvider/account/delete and am shown a page:
No permission to access this resource
You are currently logged in as https://WebID.PodProvider/profile/card#me, but do not have permission to access https://WebID.PodProvider/account/delete/.
The URL should be https://PodProvider/account/delete/. For example, https://inrupt.net/account/delete.
To Replicate

Log into a Solid Pod.
Display the 'Solid Home' page.
Click the 'Delete Account' button.

Expected Behaviour

Redirected to https://PodProvider/account/delete/ to allow Account name to be entered.

Actual Behaviour

Redirected to https://WebID.PodProvider/profile/card#me and No permission to access this resource error displayed.

This is not a feature of the data browser, but of NSS. I'll move the issue there and let @jaxoncreed decide whether or not to do any changes.


Azure_OpenAI_Gpt_Deployment vs Azure_OpenAI_ChatGpt_deployment

what is the difference between Azure_OpenAI_Gpt_Deployment and Azure_OpenAI_ChatGpt_deployment?
Run azd env set AZURE_OPENAI_CHATGPT_DEPLOYMENT {Name of existing ChatGPT deployment}. Only needed if your ChatGPT deployment is not the default 'chat'.
Run azd env set AZURE_OPENAI_GPT_DEPLOYMENT {Name of existing GPT deployment}. Only needed if your ChatGPT deployment is not the default davinci.
Thanks

Hi @bpw320,
Thanks for your question.
We're in the process of updating the README and will remove AZURE_OPENAI_GPT_DEPLOYMENT.
AZURE_OPENAI_CHATGPT_DEPLOYMENT is used for chat completions
AZURE_OPENAI_GPT_DEPLOYMENT was used for text completions.
In recent version of the app we've removed text completions because it's recommended to use chat completions. When using newer models like GPT-4, only chat completions are supported.
Hope this helps.

Thanks

any way to deploy this to azure without docker installed? Thanks

any way to deploy this to azure without docker installed? Thanks

If you use the Codespaces / devcontainer approach, Docker is not installed in your system.
However, because this is intended to be deployed as a containerized application, you'd need Docker.
Alternatively, you might try the built-in container support in the .NET SDK but you'd have to update the current azd script that handles deployment.

I got the following errors when running azd up:
InvalidTemplateDeployment: The template deployment 'openai' is not valid according to the validation procedure. The tracking id is 'a5217563-2844-4d2b-b6bb-bb51da5a04a7'. See inner errors for details.
InsufficientQuota: The specified capacity '30' of account deployment is bigger than available capacity '0' for UsageName 'Tokens Per Minute (thousands) - Text-Embedding-Ada-002'.
where should I fix these issues? Thanks


Add documentation regarding nvim-cmp

Setting up nvim-cmp with LSP they recommend this:
  -- Setup lspconfig.
  local capabilities = require('cmp_nvim_lsp').update_capabilities(vim.lsp.protocol.make_client_capabilities())
  -- Replace <YOUR_LSP_SERVER> with each lsp server you've enabled.
  require('lspconfig')['<YOUR_LSP_SERVER>'].setup {
    capabilities = capabilities
  }

Adding the recommendation of nvim-lspconfig, we arrive at something like this:
local capabilities = require('cmp_nvim_lsp').update_capabilities(vim.lsp.protocol.make_client_capabilities())
local lsp_attach = function(client, buf)
    -- setup keymaps etc
end
require("lspconfig")["server"].setup({
    capabilities = capabilities,
    on_attach = lsp_attach,
})

The recommended setup for rust-tools is an empty call to require('rust-tools').setup({}). While on_attach seems to be a straightforward add, documentation's not clear about capabilities. Having looked into the source of both rust-tools and cmp-nvim-lsp, they don't conflict and one should just be able to do as with pure lspconfig/cmp:
local capabilities = require('cmp_nvim_lsp').update_capabilities(vim.lsp.protocol.make_client_capabilities())
local lsp_attach = function(client, buf)
    -- setup keymaps etc
end
require("rust-tools").setup({
    server = {
        capabilities = capabilities,
        on_attach = lsp_attach,
    }
})

This is a potential source of confusion, however (not only for me, see #131). So I suggest clarifying this in the README and maybe even recommend doing this way for cmp, as cmp-nvim-lsp seems to add more stuff to completionItem.

This also helped me understand what to do. Thanks!

That's a good idea, maybe we should add it to the wiki and reference in the readme under a usage with other plugins section


transfer ownership of repo to spatial-model-editor organization

this repo should at some point be transferred from lkeegan to the spatial-model-editor organization

https://github.com/spatial-model-editor

along with spatial-model-editor specific CI dependencies:

https://github.com/lkeegan/libsbml-static
https://github.com/lkeegan/dune-copasi-static

maybe also these more generic CI dependencies (or forks thereof)?

https://github.com/lkeegan/qt5-static
https://github.com/lkeegan/llvm-static

and python wheel docker images:

https://github.com/lkeegan/sme_manylinux1_x86_64
https://github.com/lkeegan/sme_manylinux2010_x86_64

Need to ensure this does not break:

CI builds & releases
dockerhub images
readthedocs builds
colab links
pypi releases
etc

May be necessary after transfer to fork the repos back to lkeegan to keep alive existing links to colab getting started notebook

resolved by #342 - and github keeps old link redirects alive indefinitely


Display Pull Request Status

API: https://developer.github.com/v3/repos/statuses/#list-statuses-for-a-specific-ref
Essentially this is the CI integrations you see on all pushed commits in order to see if a PR is ready to merge!
It can give us 3 states "Pending, Failed, Success" and there can be basically as many integrations as the repo desires
We could display an "X" at repo/notification level if CI fails? Maybe?
In addition to the V3 API you can also do it via the V4 API, you just need a Commit object and from there status has the overall result as well as context for each of the individual integrations
https://developer.github.com/v4/reference/object/status/

Note that this requires another URL request, so at least 2 requests returning async (+ chance for error). Would be nice tho.
De-prioritizing for now tho, future feature.


Curator sol comments first draft

questions/places I think need review:
Line 77 - Curation limit. Is saying it doubles as MaxSupply correct?
Line 79 - RendererInitializer. Feel like comment is unclear?
Line 226 - Is this comment correct?

also not sure if lines 14-19 contain the appropriate information. modeled it off of the drops-contracts ERC721Drop

in the adding params commit, realized we use id, listingId, and tokenId to refer to kind of the same thing. think it could be really helpful to simplify things? (maybe just use listingId, and mention that tokenId will always match to listingId?)


FIX: separate MPL canvas

This PR fixes the issue of stc.plot whith show_traces='separate'.

So apparently we have some coverage lapse :)
Can you add a test that would have caught this?

Lol 😂

Yes that's what we thought ;)

I'd still like a test to prevent this from happening in the future...

I'll add one!


feat: adds update stronghold logic

Summary
Same in https://github.com/iotaledger/firefly/pull/6123 just with a different base branch
Testing
Platforms

Desktop

[ ] MacOS
[ ] Linux
[x] Windows

Mobile

[ ] iOS
[ ] Android

Checklist

[x] I have followed the contribution guidelines for this project
[x] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[x] I have added or modified tests that prove my changes work as intended
[x] I have verified that new and existing unit tests pass locally with my changes
[x] I have verified that my latest changes pass CI workflows for testing and linting
[ ] I have made corresponding changes to the documentation

Closing so we review it once into develop and create a new release branch


Error.Rate Limited

I was GettingFollwers I Get This Error.Rate Limited.Can You Say Me How Can I  solve This Error?

instagram's http has a rate limit. If you go over it you will be blocked for about 24 hours.

can you say more about this limits more?how many request is limit?just for a user has limit,i meen if i use
three user in a pc this limitation done for all this users?

I don't think Instagram publishes their http rate limits publicly. It's for bot protection. Things that will trigger it would be a bunch of HTTP requests in a matter of seconds (something a normal human cannot do), or to be making hundreds of https requests all day long.
For reference, the instagram API is 200 calls per user per hour max.
In my use of this library,  I've found that putting a time delay of 500-1000ms between instagram calls made it so I had no issues making about 200 requests in an hour.
I hope this helps.


Release version 3.0.1

Coverage remained the same at 69.255% when pulling 91bc3e07e3b688b99db9bf02367f0ea2fc76adc7 on publish into cbf21dfe990cb1ce7fe0f80491ca64d85677365a on master.


Altering and hiding fields without updating the complete fields configuration

I am transitioning from Datatables (http://datatables.net) to js-grid because Datatables is bloated and dusty and js-grid made a very good first impression on me.
However, I am missing convenient ways of altering or hiding fields that I temporarily don't want to show. Updating the complete 'fields' option via $('#my_grid').jsGrid('option', 'fields', []); seems too cumbersome, because in addition to the changed field, I also always need to include the static fields that I never intend to change in the configuration array.
A utility method like jsGrid.alterField(column_name, new_settings) or jsGrid.alterField(column_name, key, value) would be really helpful for reducing overhead.
Hiding a column via CSS is not ideal either, because that messes up the widths of the other columns that have been calculated by js-grid. Datatables has a "visible" property for each field. This way, you can preconfigure all columns, even the ones that you don't want to show immediately. When the time has come, you can simply change the "visible" property to true and the preconfigured column will show up. In combination with the abovementioned alterField() method you could easily show and hide columns with the benefit of js-grid recalculating the widths of the other columns, so that everything looks nice all the time.
A call to $('#my_grid').jsGrid('alterField', 'my_hidden_column', 'visible', true); would make my hidden column show up and re-render the table, so that all widths are recalculated nicely.

Thank you very much for valuable feedback.
Your suggestions are worth to be implemented.

If I found the time to dig deeper into the inner workings of jsGrid, I could fork it and add this feature myself, but unfortunately I guess I won't have the time for that any time soon.

Added method fieldOption(fieldName | fieldIndex, optionName, [optionValue]) to set field options.
Added option 'visible' to all fields.

Hello,
Please,... сan you say, how we can use this method?
Because I don't understand, where need write and that.
For example, how i write now:
$("#jsGrid") .jsGrid({
inserting : false,
filtering: true,
editing: true,
visible:true,
fields:  [
...
{ name: "EmailContent", visible: false, type: "text", width: 50,height: "auto", title:'Email'},
...
],
});
But it dosn't work!
Help

Are you sure you downloaded latest version? Since it's not released yet, you have to build script yourself, because dist dir contains last released scripts.

Yes, I am sure that downloaded the latest version. We downloaded the new 2 folders: src & test.
It's enough?

Am I right, that you downloaded latest sources and reference in your page src files?
visible for the grid doesn't make sense, it works only for the field. Just checked, visible: false for the field works fine. Ensure you use latest scripts (try to find 'visible' in jsgird.core.js), and check whether field can be hidden with visible: false

So, in fact this feature is doesn't work. We were unable to use it. It actually not hide, but destroy element from DOM. If we use it, we can't get access to data of hidden field.

@SkyStalker, the original case was meant to provide an API to change field config, and this is implemented.
What kind of data are you trying to get from fields? Could you just store them in the data item itself?

@tabalinas the field value should be hidden but preserved and be able to be sent over to the server using insertItem function.


eqMac Won't load Properly

Describe the bug
A constant loading that won't go away on both v0.2.2 and v0.3.0
Steps to Reproduce
Download eqMac.dmg
Open dmg and install eqMac
Open eqMac
The app then opens but doesn't show a UI until you open the app again
Expected behaviour
Open eqMac and load UI
Setup information:
Any audio device
MacOS 10.15.2
v0.3.0 & v0.2.2

I am also getting this issue with 0.3.0, though 0.2.2 worked as expected for me

Same here

I uninstalled 0.2.2 to install 0.3 which then both broke

I am also experiencing the Loading issue. It just displays the spinner but nothing loads

Also tried uninstalling 0.3, kext driver & cache, reinstalled 0.2.2 and exactly the same problem.  Nothing is working for eqMac.

For me eqMac doesn't work without internet access, with internet everything works fine. I'll fix soon but for the moment please enable internet access to the app for it to work. Also please follow issue #284


upgrade proc-macro2 to pick up fix for nightly rustc

Codecov Report
Patch and project coverage have no change.

Comparison is base (32cac41) 41.17% compared to head (f6ba432) 41.17%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #68   +/-   ##
=======================================
  Coverage   41.17%   41.17%
=======================================
  Files           6        6
  Lines         272      272
=======================================
  Hits          112      112
  Misses        160      160

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


Possible tick-wrapping error?

@cBournhonesque got resolved?

Nope, somehow a duplicate issue got filed; the other one is here: https://github.com/cBournhonesque/lightyear/issues/258


seata团队好，我再发起方使用了 @GlobalTransactional  但是在业务方 RootContext.getXID() 获取不到xid，应该是上下文传递到其他微服务没成功，需要我们自己来解决吗？还是说有哪个配置不对

[ ] I have searched the issues of this repository and believe that this is not a duplicate.

Ⅰ. Issue Description
Ⅱ. Describe what happened
If there is an exception, please attach the exception trace:
Just paste your stack trace here!

Ⅲ. Describe what you expected to happen
Ⅳ. How to reproduce it (as minimally and precisely as possible)

xxx
xxx
xxx

Ⅴ. Anything else we need to know?
Ⅵ. Environment:

JDK version :
OS :
Others:

需要引用spring-cloud-starter-alibaba-seata依赖。这个依赖里才有xid传递的功能。
seata-spring-boot-starter依赖，并没有传递功能。

好的 解决了  谢谢


Modular Assignable Display Components

Summary
With the addition of modular values that can be attached or removed from the User class, a method to pick and choose what to display is needed.
Details

Website managers need to be able to place down components that can be customized to Display specific values from the user class.
These components will be used to create a customizable Trooper display page.
Other dashboards can benefit from a single system to create and customize pages for the website.

Closed in favor of #332


Update ondatra + kne

Pull Request Functional Test Report for #1960 / c53c20023294bc9c7fe30609c278140e72074118
No tests identified for validation.
Help


Preview/undoing of web editor changes

Taken from
https://github.com/lucko/LuckPerms/issues/655

In my opinion the best user experience would be to show a confirmation screen when the user clicks the save button and it displays all of their current updates (additions, deletions and changes). They can click a confirm button to send the data back to bytebin or cancel (maybe even remove changes).
I think we can solve this by changing up the JSON node data as follows:

add new: true to any new nodes (already added in my fork)
add changed: true to any updated nodes

add previous: {} to updated to keep track of what was changed

add deleted: true to any deleted nodes

This would allow us to loop through all the nodes and show the user which ones are new, changed and deleted. They can then confirm these are the changes they wanted and continue the save process (at this point the data would be sent to bytebin and a token returned).
I assume this change would break things LuckPerms side, as currently the deleted nodes are removed from the tabs.rows array which I guess you have some way of checking for that (my Java sucks so I wasn't able to make any sense of it 😛 ).
This is the only option I can think of, if you think it will work then I'm happy to do what I can on this side.

Or Preview & Save buttons? Preview brings up a screen showing all the changes along with Save and Cancel buttons. Otherwise just click Save to save as normal.

Sounds even better.
Though it should be fairly straight forward to implement the diff algorithm Luck uses in the plugin on the page. So no change in the data is needed, as you still have the original data.


V0 logging level for processing blocks

#1359
#1358  👈
feature/proof-of-stake

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @lazynina and the rest of your teammates on  Graphite


[nl server] remove local cache

this removes the local cache from the nl server & is part of the changes for updating the embeddings.yaml structure
The difference in time taken for the server to restart after a change
with cache: 1-2s
without cache: 6-7s

Making things simpler!
Is there documentation or script that using ~/.datacommons should be cleaned?

good call, updated


Spelling errors in a few icon tags

ra-vail => ra-vial
ra-sherif => ra-sheriff
ra-sattelite => ra-satellite
ra-defibrilate => ra-defibrillate
ra-heats-card => ra-hearts-card
May want to add an alias ra-energize for ra-energise (British vs. US spelling)
I would love to help out with some of these tickets. I'd need a quick primer on how to work with the woff files, etc., but if you're willing to invest the time to give me a crash course, I'd be happy to assist!

Some of these are mistakes in the website, some are mistakes in the actual code.
gh-pages:

[X] ra-vail => ra-vial
[X] ra-sherif => ra-sheriff
[X] ra-sattelite => ra-satellite
[X] ra-defibrilate => ra-defibrillate

Code:

[X] ra-sherif => ra-sheriff
[X] ra-sattelite => ra-satellite
[X] ra-defibrilate => ra-defibrillate

Icons:

[X] ra-sherif => ra-sheriff
[X] ra-sattelite => ra-satellite
[X] ra-defibrilate => ra-defibrillate

🎉🎉🎉


⚠ ETF has degraded performance

In f340901, ETF (https://markets.hankyung.com/equity-product/etf) experienced degraded performance:

HTTP code: 200
Response time: 7390 ms

Resolved: 마켓맵 performance has improved in c5b2285.