Preserve OrderedDict order

pyaml.dump should print OrderedDict in order.

Thanks.
Seem to be a bug I've added in 8204b87 due to bad line copy-pasta.


Has no license

This is re-posting https://github.com/zachallaun/ExpressionUtils.jl/issues/1 - without a license statement, you haven't granted any users permission to actually use this code. Would likely need acknowledgement by @zachallaun and any other past contributors that they agree to license their contributions under whatever you pick. MIT would be most common for Julia packages.

Thanks for the ping – I've added MIT to zachallaun/ExpressionUtils.jl.

@tkelman
I agree to license my contributions under MIT license. @timholy what about your contributions?

Likewise.


housekeeping: Fix approvals, upgrade dependencies

What kind of change does this PR introduce?

This PR intends to upgrade the dependencies and cherry-picks the most recent dependabot PRs.

Hmm haven't built the console app locally, going to fix the errors soon.


Fixed an issue that caused incorrect settings when the SPI clock was …

…less than 244141Hz.
Instructions: (please delete)

please do not submit against master, use develop instead
please make sure there is an associated issue for your PR, and reference it via "Fixes #num" in the description
please enter a detailed description

please do not submit against master, use develop instead

please enter a detailed description


Recommendation based on Genre a user likes

@AshuKr22
We can also create a recommendation system in which user can get the movies based on the genre they like most.

that is one our feature board , would love to know your insights on it .

that is one our feature board , would love to know your insights on it .

@AshuKr22
I wanted that our feature should be something like this -

Collaborative Filtering
User-Based Filtering: Recommend movies based on the preferences of similar users. This can be achieved by finding users with similar watch patterns and suggesting movies they liked.
Item-Based Filtering: Recommend movies similar to the ones the user has already watched and rated highly.
Implementation:

Store user interactions (watch history, ratings, likes) in MongoDB.
Use Node.js to analyze the data and create user-user or item-item similarity matrices.
Use libraries like cosine-similarity to calculate similarities between users or movies.
2. Content-Based Filtering
Recommend movies based on the attributes of the movies the user liked (genre, director, actors, etc.).
Implementation:
Use MongoDB to store metadata about each movie (genre, director, etc.).
Node.js to compare the attributes of movies a user liked with other movies in the database.

well , would love to implement it if it doesn't change our schemas too much and is not a load on the db. I am assigning you this issue if you want to work on it . its a big feature so take your time and also join our discord from the readme and communicate with us if you need something

Okay Thank u for assigning me I will try to complete as fast as possible


Engine.root.join not treated the same as Rails.root.join by Rails/FilePath cop

Expected behavior
MyEngine::Engine.root.join("spec", "fixtures", "images", "small_image.jpg") should be raised as a linting issue by the Rails/FilePath cop when using EnforcedStyle: slashes (default) in the same way Rails.root.join is.
Actual behavior
MyEngine::Engine.root.join("spec", "fixtures", "images", "small_image.jpg") is not raised as linting issue.
Steps to reproduce the problem
Put the following in a Ruby file and see what gets flagged as a linting issue:
Rails.root.join("spec", "fixtures", "images", "small_image.jpg")
MyEngine::Engine.root.join("spec", "fixtures", "images", "small_image.jpg")

RuboCop version
❯ bundle exec rubocop -V
1.50.0 (using Parser <IP_ADDRESS>, rubocop-ast 1.28.0, running on ruby 3.2.2) [arm64-darwin22]
  - rubocop-faker 1.1.0
  - rubocop-rails 2.19.0
  - rubocop-rake 0.6.0
  - rubocop-rspec 2.19.0

RuboCop's static analysis cannot know that MyEngine::Engine.root.join is an object with the same behavior as Rails.root.path. So I understand the use case, but I'm wondering if it's better to detect that AnyModel.root.path case, because the cop can't be kept safe by default. If will be provided, it is an alternative configuration option.


Add status colours for individual services

After reading https://github.com/dotnet/tye/issues/443#issuecomment-624835769, I was slightly inspired to add something to indicate whether the overall set of services are both healthy and ready.
Currently, the colours are as follows, in order of priority:

All ingress services are colourless, as their replicas do not appear to have states.
A service where any replica is in the Removed, Added, Started or Stopped state is coloured red.
A service where any replica is in the Healthy state is coloured yellow.
A service whose replicas all are in the Ready state are coloured green.

I haven't been able to check any azure web functions yet since those cause errors... (Apparently I'm missing the tools, even though I installed them?)

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

Screenshot please

Here's some screenshots using the liveness-and-readiness sample:
Healthy and ready:

Healthy:

Neither healthy nor ready:

I think it should be a checkmarks instead of changing the entire background color

Or just directly reporting healthy/ready in another column?

Or just directly reporting healthy/ready in another column?

I went with colour mainly because I felt it was easier to see the overall status at a glance. Checkmarks in their own column may work, however.

Here are some updated screenshots:
Healthy and ready:

Healthy:

Neither healthy nor ready:

Ideally I wouldn't have included the entire set of bootstrap icons, but I was having issues getting colours to work so I decided it would likely be for the best.
The bootstrap icons are under the MIT license, but I currently haven't included any copyright notice since I didn't know if this would be ideal, or where the most appropriate place to put the notice would be. For reference, here's the license link: https://github.com/twbs/icons/blob/main/LICENSE.md

@Pilchie to use these icons, do we need to include the license in our own LICENSE.txt file?
Besides that, this LGTM.

So, the license is the same as the license in our repo right? I think what we need would be an entry in a 3rd party notice to give credit.  Will send some internal email on processes for this.

@Pilchie I couldn't find an email regarding this. Do we just need to add a 3PN like https://github.com/dotnet/aspnetcore/blob/master/THIRD-PARTY-NOTICES.txt in this repo or is there something else we need to do?

Should just need the 3PN. I'll update this PR now.

Should just need the 3PN. I'll update this PR now.

Closing and reopening with a third party notice. Thanks @FiniteReality

Closing and reopening with a third party notice. Thanks @FiniteReality


Java test failure classifier.

This PR adds a classifier for the Java test failures. This PR depends on changes in this PR, but it can go in safely now and not cause any problems.

/cc @Azure/azure-sdk-eng merging this now so I can try and get a zero unknowns run overnight.


Pact Verifier CLI 0.8.6 ignores the ConsumerVersionSelectors option

The following command will fail to pass the consumerVersionSelectors to the pact broker when requesting the pacts to verify.
pact_verifier_cli --broker-url <> --provider-name <> --hostname <> --scheme "https" --request-timeout 60000 --consumer-version-selectors "{\"tag\": \"master\",\"latest\": false}" --loglevel trace

When including a dummy --token 1234 option the consumerVersionSelectors are honored.
$ pact_verifier_cli -v

pact_verifier_cli 0.8.6
pact verifier version     : v0.8.6
pact specification version: v3.0.0

Slack Thread
Stack Overflow Question

Thanks @benjamin-kaiser!

0.8.7 has been released with the fix


Make VS2019 a prerequisite, and add scripts to set required env vars

Changes:

Update Extensions.sln to require VS 2019.
Add two scripts (inspired by Python's virtualenv) which set required environment variables so you can use dotnet and launch VS Code on command line. I did this because Arcade puts dotnet core in "$repoRoot/.dotnet" by default now.

@natemcmaster Hey, I was wondering if the VS 2019 requirement is a hard requirement, or if there was a way to get this into a buildable state with VS 2017 too. I tried lowering the requirement in the sln and was able to load the solution properly but then I got an error that the “current .NET SDK does not support targeting .NET Standard 2.0.” I did activate the environment for VS, so the 3.0 SDK should be there?
The reason I’m asking is because I don’t really want to waste another 5+ gigabytes on multiple machines for a VS that I’m not going to use otherwise. And I have been able to use 2017 for both Extensions and AspNetCore just fine before the move to Arcade. I just called build.ps1 back then and launched VS from the console to inherit the environment variables the build script set up.

I was wondering if the VS 2019 requirement is a hard requirement,

Yes, it is. We are also updating AspNetCore to require VS2019. (see https://github.com/aspnet/AspNetCore/pull/7005)


Traceback with docker-1.10

In docker-1.10 the format created by docker save surprises docker-scripts, causing a traceback.
[root@localhost ~]# docker build -t hello-world --rm .
Sending build context to Docker daemon 849.3 MB
Step 1 : FROM fedora
 ---> 7f514965bc71
Step 2 : MAINTAINER Tim Waugh<EMAIL_ADDRESS> ---> Running in 252c27f858a8
 ---> f154af43571d
Removing intermediate container 252c27f858a8
Step 3 : ENV env foo
 ---> Running in 8868d683113f
 ---> ca23b29d5e98
Removing intermediate container 8868d683113f
Step 4 : CMD printf hello world
 ---> Running in 5fef2b292ca8
 ---> 04180b30b127
Removing intermediate container 5fef2b292ca8
Successfully built 04180b30b127
[root@localhost ~]# docker history hello-world
IMAGE               CREATED              CREATED BY                                      SIZE                COMMENT
04180b30b127        About a minute ago   /bin/sh -c #(nop) CMD ["/bin/sh" "-c" "printf   0 B
ca23b29d5e98        About a minute ago   /bin/sh -c #(nop) ENV env=foo                   0 B
f154af43571d        About a minute ago   /bin/sh -c #(nop) MAINTAINER Tim Waugh <twaug   0 B
7f514965bc71        11 days ago          /bin/sh -c #(nop) ADD file:f867e28f7b12f9d64d   204 MB
86c04d55e004        4 months ago         /bin/sh -c #(nop) MAINTAINER Adam Miller <max   0 B
[root@localhost ~]# docker-scripts squash hello-world -t hello-world-squashed -f f154af43571d
2015-12-02 11:55:50,010 root         INFO     Running version 0.4.4, Docker 669c279-dirty, API 1.22...
2015-12-02 11:55:50,010 root         INFO     Squashing image 'hello-world'...
2015-12-02 11:55:50,023 root         INFO     Old image has 5 layers
2015-12-02 11:55:50,023 root         INFO     Attempting to squash from layer sha256:f154af43571daa042210fab21c7dd7ee2b31623bc5ab47547c82be80bbf4e11d...
2015-12-02 11:55:50,023 root         INFO     Checking if squashing is necessary...
2015-12-02 11:55:50,023 root         INFO     We have 2 layers to squash
2015-12-02 11:55:50,025 root         INFO     Saving image sha256:04180b30b127c416739b3408a926220cf13dbe44833a1b8c7c9114a7c9c2e298 to /tmp/docker-squash-yVCfjY/image.tar file...
2015-12-02 11:55:54,616 root         INFO     Image saved!
2015-12-02 11:55:54,628 root         INFO     Unpacking /tmp/docker-squash-yVCfjY/image.tar tar file to /tmp/docker-squash-yVCfjY/old directory
2015-12-02 11:55:54,782 root         INFO     Archive unpacked!
2015-12-02 11:55:54,782 root         INFO     New layer ID for squashed content will be: a551939d6a79381de09c6fe55c97eba952efaccd24240f237c747c7566b8e30b
2015-12-02 11:55:54,782 root         INFO     Starting squashing...
2015-12-02 11:55:54,782 root         INFO     Squashing layer 'sha256:04180b30b127c416739b3408a926220cf13dbe44833a1b8c7c9114a7c9c2e298'...
Traceback (most recent call last):
  File "/usr/bin/docker-scripts", line 9, in <module>
    load_entry_point('docker-scripts==0.4.4', 'console_scripts', 'docker-scripts')()
  File "/usr/lib/python2.7/site-packages/docker_scripts/cli.py", line 96, in run
    cli.run()
  File "/usr/lib/python2.7/site-packages/docker_scripts/cli.py", line 88, in run
    args.func(args)
  File "/usr/lib/python2.7/site-packages/docker_scripts/cli.py", line 31, in run_squash
    from_layer=args.from_layer, tag=args.tag, output_path=args.output_path, tmp_dir=args.tmp_dir).run()
  File "/usr/lib/python2.7/site-packages/docker_scripts/squash.py", line 497, in run
    layers_to_squash, layers_to_move, squashed_tar, old_image_dir)
  File "/usr/lib/python2.7/site-packages/docker_scripts/squash.py", line 337, in _squash_layers
    with tarfile.open(layer_tar_file, 'r', format=tarfile.PAX_FORMAT) as layer_tar:
  File "/usr/lib64/python2.7/tarfile.py", line 1667, in open
    return func(name, "r", fileobj, **kwargs)
  File "/usr/lib64/python2.7/tarfile.py", line 1732, in gzopen
    fileobj = gzip.GzipFile(name, mode, compresslevel, fileobj)
  File "/usr/lib64/python2.7/gzip.py", line 94, in __init__
    fileobj = self.myfileobj = __builtin__.open(filename, mode or 'rb')
IOError: [Errno 2] No such file or directory: u'/tmp/docker-squash-yVCfjY/old/sha256:04180b30b127c416739b3408a926220cf13dbe44833a1b8c7c9114a7c9c2e298/layer.tar'

FWIW this was with https://github.com/docker/docker/commit/900c8f5.

This affects also layers subcommand.

With current version of 1.10 it's impossible to get Parent of the image when using inspect call:
Server:
 Version:         1.10.0-dev
 API version:     1.22
 Package version:
 Go version:      go1.5.1
 Git commit:      e75da4b
 Built:           Wed Dec  2 00:31:00 UTC 2015
 OS/Arch:         linux/amd64

The issue is that starting with 1.10 Docker is hiding information about layers to end user. This unfortunately makes it very hard to get list of layers which is required to both layers and squash subcommands. I consider this an incompatible change in Docker and I do not understand why it was introduced. Moreover - I do not see any benefit in that change. With 1.10 Docker is exposing images as more monolithic creations where we should not see how these were built and what layers these images contain. This is a big shift compared to what Docker advertised since beginning where layers were highlighted as first class citizen (regular images).
Of course this change breaks any software which is working the area of image creation/modification.

By saying incompatible I mean that it'll be not possible to get (easily?) list of layers from images built on previous versions of Docker:
$ docker history jboss/wildfly:latest
IMAGE               CREATED             CREATED BY                                      SIZE                COMMENT
6d658fcccab0        2 weeks ago         /bin/sh -c #(nop) CMD ["/opt/jboss/wildfly/bi   0 B
<missing>           2 weeks ago         /bin/sh -c #(nop) EXPOSE 8080/tcp               0 B
<missing>           2 weeks ago         /bin/sh -c #(nop) ENV LAUNCH_JBOSS_IN_BACKGRO   0 B
<missing>           2 weeks ago         /bin/sh -c cd $HOME     && curl -O https://do   159.1 MB
<missing>           2 weeks ago         /bin/sh -c #(nop) ENV JBOSS_HOME=/opt/jboss/w   0 B
<missing>           2 weeks ago         /bin/sh -c #(nop) ENV WILDFLY_SHA1=75738379f7   0 B
<missing>           2 weeks ago         /bin/sh -c #(nop) ENV WILDFLY_VERSION=9.0.2.F   0 B
<missing>           3 months ago        /bin/sh -c #(nop) ENV JAVA_HOME=/usr/lib/jvm/   0 B
<missing>           3 months ago        /bin/sh -c #(nop) USER [jboss]                  0 B
<missing>           3 months ago        /bin/sh -c yum -y install java-1.8.0-openjdk-   195.3 MB
<missing>           3 months ago        /bin/sh -c #(nop) USER [root]                   0 B
<missing>           3 months ago        /bin/sh -c #(nop) MAINTAINER Marek Goldmann <   0 B
<missing>           5 months ago        /bin/sh -c #(nop) USER [jboss]                  0 B
<missing>           5 months ago        /bin/sh -c #(nop) WORKDIR /opt/jboss            0 B
<missing>           5 months ago        /bin/sh -c groupadd -r jboss -g 1000 && usera   294.8 kB
<missing>           5 months ago        /bin/sh -c yum update -y && yum -y install xm   57.58 MB
<missing>           5 months ago        /bin/sh -c #(nop) MAINTAINER Marek Goldmann <   0 B
<missing>           5 months ago        /bin/sh -c #(nop) CMD ["/bin/bash"]             0 B
<missing>           5 months ago        /bin/sh -c #(nop) ADD file:82835f82606420c764   172.2 MB
<missing>           7 months ago        /bin/sh -c #(nop) MAINTAINER The CentOS Proje   0 B

But if you build this image:
FROM fedora:latest
RUN uname -a && env

with new 1.10 (pre), you get:
$ docker history 261c9b6e5f23
IMAGE               CREATED              CREATED BY                                      SIZE                COMMENT
sha256:261c9        About a minute ago   /bin/sh -c uname -a && env                      0 B
sha256:7f514        12 days ago          /bin/sh -c #(nop) ADD file:f867e28f7b12f9d64d   204 MB
<missing>           4 months ago         /bin/sh -c #(nop) MAINTAINER Adam Miller <max   0 B

I do not understand why the latest layer (which is part of fedora:latest image which was built using stable version of Docker on Docker HUB) does not have it's ID printed. Additionally text <missing> is completely misleading and simply untrue.
Adding to this the empty Parent in docker inspect output - it makes it very hard to investigate images now, without a reason.

To even more clearly show the issue of incompatibility between old and new layers:
$ ./docker-1.10.0-dev history e8907b3544f6
IMAGE               CREATED              CREATED BY                                      SIZE                COMMENT
e8907b3544f6        39 seconds ago       /bin/sh -c #(nop) CMD ["/opt/jboss/wildfly/bi   0 B
9e54cbe01e82        43 seconds ago       /bin/sh -c #(nop) EXPOSE 8080/tcp               0 B
ec14368e8e09        48 seconds ago       /bin/sh -c #(nop) ENV LAUNCH_JBOSS_IN_BACKGRO   0 B
212fc1c312b0        51 seconds ago       /bin/sh -c cd $HOME     && curl -O https://do   167.2 MB
674f04b7d4f8        About a minute ago   /bin/sh -c #(nop) ENV JBOSS_HOME=/opt/jboss/w   0 B
c4c49ca8672c        About a minute ago   /bin/sh -c #(nop) ENV WILDFLY_SHA1=b740a18b3b   0 B
f5f8ae644419        About a minute ago   /bin/sh -c #(nop) ENV WILDFLY_VERSION=10.0.0.   0 B
380ae523f33f        3 months ago         /bin/sh -c #(nop) ENV JAVA_HOME=/usr/lib/jvm/   0 B
<missing>           3 months ago         /bin/sh -c #(nop) USER [jboss]                  0 B
<missing>           3 months ago         /bin/sh -c yum -y install java-1.8.0-openjdk-   195.3 MB
<missing>           3 months ago         /bin/sh -c #(nop) USER [root]                   0 B
<missing>           3 months ago         /bin/sh -c #(nop) MAINTAINER Marek Goldmann <   0 B
<missing>           5 months ago         /bin/sh -c #(nop) USER [jboss]                  0 B
<missing>           5 months ago         /bin/sh -c #(nop) WORKDIR /opt/jboss            0 B
<missing>           5 months ago         /bin/sh -c groupadd -r jboss -g 1000 && usera   294.8 kB
<missing>           5 months ago         /bin/sh -c yum update -y && yum -y install xm   57.58 MB
<missing>           5 months ago         /bin/sh -c #(nop) MAINTAINER Marek Goldmann <   0 B
<missing>           5 months ago         /bin/sh -c #(nop) CMD ["/bin/bash"]             0 B
<missing>           5 months ago         /bin/sh -c #(nop) ADD file:82835f82606420c764   172.2 MB
<missing>           7 months ago         /bin/sh -c #(nop) MAINTAINER The CentOS Proje   0 B

Just a small update - I'm working on a fix right now. I do see some light in the tunnel :) Hope to have something next week that will work.

I managed to run almost all integration and unit tests both for v1 and v2 format (in both Python 2.7 and 3.4). Next step is to refactor the code to make it clean and write another set of integration/unit tests.
I'm also working on a CI solution that would let me test docker-scripts with different Docker versions.

I think this one can be closed now. There is no traceback i the v2 branch. Now I'm working on improving it.

I suppose v2 branch is not available publicly?

It is, sorta ;) Was merged with master today ;)


Commit flags

[x] add methods
[x] services' implementation
[x] enum for statuses?
[x] PRs?

[x] tests

Comparison of statuses:

GitHub
GitLab
Pagure

pending
pending
pending

success
success
success

failure
failed
failure

error
-
error

-
canceled
canceled

-
running
-

/packit copr-build

/packit copr-build


DateItem and DateTimeItem: added 'format' parameter for formatting

I found that DateTime widgets were displaying datetimes as "09/10/2022 07:59" on my system which meant that I couldn't see the seconds. I also prefer to use iso-formatted time when possible. This pull request adds the parameter 'format' to DateItem and DateTimeItem classes so that a custom format can be optionally provided. For instance:
starttime = DateTimeItem("start",format="yyyy-MM-ddTHH:mm:ss")

This has been merged manually due to many API changes since the creation of this PR.
Thanks for your contribution.
And sorry for the delay.


Pipeline customizations on top of newly generated Konflux pipelines

See commit messages for details.
Ref: EC-819

Maybe the triggering is messed up since I created the PR for main branch by mistake to begin with. Let's try again.


Firebase Support

Are there any plans for a resource package to manage Firebase services?
I noticed that Firestore is available, although in the context of GCP.
As a application developer I am mostly interested in Firebase, since it offers the easiest way to offer a full-fledged backend without too much hassle and I'd love to be able to manage it with Pulumi.

Hi @nibtime! It appears that the upstream codebase does not yet support Firebase due to a lack of a Go SDK for managing Firebase services: https://github.com/terraform-providers/terraform-provider-google/issues/2973. We should have support for these services as soon as it is added upstream.

Since https://github.com/terraform-providers/terraform-provider-google-beta/pull/1885 has been merged, is that enough to add firebase support to Pulumi ?

If needed, I can create a new issue to track this, but I would like to request the support of this!


Spr diff will complain about missing Test Plan when commit message contains # Test Plan

I'm trying to have Test Plan appear as a markdown heading in the PR description.
When my commit message contains
 # summary
 using SPR make my life easier

 # Test Plan:
 1. do not use spr: sad face
 2. use spr: happy face

Doing spr diff or spr diff --update-message will says:
 💔  Commit message does not have a Test Plan!
My current work around is to duplicate Test Plan, one as heading, and one as normal text

I have just had a play with this.
So, it seems that GitHub renders Markdown in pull request descriptions, but not in the eventual commit messages. See e.g. https://github.com/getcord/spr/commit/525973cac28fcea3bac3d4d5b629bfb2621ad4f1
Is there another place in the GitHub UI maybe where commit messages are shown and where Markdown is rendered?
What would be the best way for spr to handle this?
The message parse could recognise both "Test plan:" and "# Test plan" as section starters, so you could always enter either way. When writing commit messages (both in your local repository during development, and when finally landing a commit on master) it could write "Test plan:", but when it prepares the pull request description it could write "# Test plan".

Hey,
Thanks a lot for the reply and for thinking of how to improve the situation. 👍
I'm not aware of any other places in GitHub UI where markdown is rendered for commit messages.
What you propose could work. 🎉
But the more I think about it, the more I think my request is not very reasonable; adding complexity for very little gain.
One problem is that # is the default comment character, so in order for the # Test plan to stay in the commit message I have to put a space before it.
Lots of people would forget that I'm afraid and then have no test plan.


Support background image

I'd love to display a background image on alacritty.
I've already seen #565 that you don't plan to, so I tried to implement it (https://github.com/tamamu/alacritty/commit/8ca7e81985115d100fe3deacc7b7cf2195d37376).
However the text has not been displayed correctly like this;

so can you give me some advice?

Looks like a shader issue to me. Instead of checking for each pixel's opacity in the glyph, it just takes the whole glyph's bounding box.

ok, I understand, but the first view has no problem...

I got the situation I commented first, when the second drawing had run, so I doubt that QuadRenderer::draw_rects doesn't proper termination.

Thinking about switching to alacritty, would love to have my usual calm grassy background.
@tamamu what's the issue with the last screenshot you've provided?


Jacob 2020 Behavioral Benchmarks; 3DPI, Occlusions, and Object Parts

This PR will contain Jacob 2020's benchmarks. More info to come.

if the PR isn't ready yet, can you please mark it as a draft PR?


Small changes to match with Excel version

Codecov Report

Merging #154 into master will not change coverage.
The diff coverage is 100%.

@@          Coverage Diff           @@
##           master    #154   +/-   ##
======================================
  Coverage    98.5%   98.5%
======================================
  Files          31      31
  Lines         937     937
======================================
  Hits          923     923
  Misses         14      14

Impacted Files
Coverage Δ

src/N2Oforcing.jl
100% <100%> (ø)
:arrow_up:

src/N2Ocycle.jl
100% <100%> (ø)
:arrow_up:

src/LGcycle.jl
100% <100%> (ø)
:arrow_up:

src/CO2cycle.jl
100% <100%> (ø)
:arrow_up:

src/AdaptationCosts.jl
100% <100%> (ø)
:arrow_up:

src/AbatementCosts.jl
98.54% <100%> (ø)
:arrow_up:

src/CH4cycle.jl
100% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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

@davidanthoff  I just added a file "docs/src/exceldifferences.md". Let me know if you want it to be named something different or formatted differently!
Also, I didn't add it to the make.jl file so it's only visible if someone clicks to it directly. Let me know if I should add it there as well.

This looks fine to me - I would maybe just add a bit more description in the markdown file about why the Excel version differs from documentation. In particular, the issue with the parameter values is that they are rounded to 2 decimal places in the published documentation, but the Excel version uses the means of the triangular probability distributions at higher levels of precision.

I just updated the markdown file. Let me know if you'd still like it to read differently! Also feel free to give me any exact wording you would prefer.

I've now merged this, I think if we want to adjust more language in the markdown file we can open a new PR.

That text is perfect.  Thanks!


How to convert TF/TFLite model that uses gather_nd operator to run on TPU?

Description
I have a converted TF/TFLite model that uses the gather_nd operator. When compiling the TFLite model for TPU, it says the operator is not supported on the TPU as in the log output below. Do you have any suggestions of how the gather_nd operator can be rewritten to be able to run on the TPU? Thanks!
Click to expand!
Issue Type
Support
Operating System
Linux
Coral Device
M.2 Accelerator A+E
Other Devices
No response
Programming Language
Python 3.9
Relevant Log Output
$ edgetpu_compiler -s bitintmodel.tflite
Edge TPU Compiler version 16.0.384591198
Started a compilation timeout timer of 180 seconds.

Model compiled successfully in 354 ms.

Input model: bitintmodel.tflite
Input size: 40.59KiB
Output model: bitintmodel_edgetpu.tflite
Output size: 1.41MiB
On-chip memory used for caching model parameters: 932.50KiB
On-chip memory remaining for caching model parameters: 6.71MiB
Off-chip memory used for streaming uncached model parameters: 0.00B
Number of Edge TPU subgraphs: 1
Total number of operations: 32
Operation log: bitintmodel_edgetpu.log

Model successfully compiled but not all operations are supported by the Edge TPU. A percentage of the model will instead run on the CPU, which is slower. If possible, consider updating your model to use only operations supported by the Edge TPU. For details, visit g.co/coral/model-reqs.
Number of operations that will run on Edge TPU: 25
Number of operations that will run on CPU: 7

Operator                       Count      Status

CONCATENATION                  1          Mapped to Edge TPU
STRIDED_SLICE                  10         Mapped to Edge TPU
GATHER_ND                      5          Operation not supported
TRANSPOSE                      2          Mapped to Edge TPU
RESHAPE                        12         Mapped to Edge TPU
RESHAPE                        1          More than one subgraph is not supported
PACK                           1          More than one subgraph is not supported
Compilation child process completed within timeout period.
Compilation succeeded!

Is it possible to substitute the gather_nd operator for pure accesses like this to be able to run on TPU?
Or would this still result in CPU operations?
[tensor[0][1], tensor[2][3]]

Trying to rewrite the gather_nd operator something like this, does not seem to work to create a model
    #return tf.gather_nd(matrix, new_ind)
    arr = []
    for ind in new_ind:
        arr.append(matrix.numpy()[ind.numpy()[0]])
    return tf.stack(arr)

I found that gather_nd is supported on the google cloud TPUs? Are these TPUs different than the Edge TPU ones?

No, both are different: https://coral.ai/docs/edgetpu/faq/#how-is-the-edge-tpu-different-from-cloud-tpus
Typically, we don't support model building. And sadly, I don't have any suggestions for your issue..

ok, thanks. I'll try stack overflow


Feature/endpoint generation

Update functions to create schema, models and endpoints from Excel and jsonschema.

I just noticed a bug in the unit tests, but it is not because of the changes you made, it was a mistake I made while writing the first tests. If that's okay with you @hugolarzabal, I'll do a commit here to fix them


Allow Ionide in VSCode w/ No Project Open

This PR addresses #49. When workspace.Globals.rootPath is null, we simply return an empty list so that nothing is processed. This allows registration to continue and the plugin to function as expected.

Thanks! Will be released in next version. :)


Citations Needed

Hi while we are at it, you have note cited the original creators of these models, that is a loss to them too. You simply collect an reapply it in a finance domain,  that does not absolve you from citation. By merely changing the name of these models, you don't suddenly become the owner of them.

I believe you misunderstood something,

I do not change any names here?
All those not my models, some might (hybrid between different models to increase comparison size), and all those models originally not for this kind of domain. Plus I do not use the original models from the papers, if yes, I included at starting of the code like DNC copyright, and also original link in README. Plus, those models are abstract models, so we need to create our own pipes and data to make those models applicable in this domain, means, new novelty. If I write a research paper regarding meta / application, sure will do, it is obvious, will citing them about the idea of the models.

If I copy literally someone code and use same methods on same domain (and fixed some software issues like deprecated issue and slightly improvement), I attached the links, like here I did, https://github.com/huseinzol05/Stock-Prediction-Models#simulations
Also, https://github.com/huseinzol05/NLP-Models-Tensorflow#abstractive-summarization
Also, posted thank you for the code, https://github.com/xueyouluo/my_seq2seq/issues/8
I am really sorry if you feel bad after I posted that issue, it just, well at least small citation already enough for me.

Okay sorry, you are right, and this is very nice of you. "Also, posted thank you for the code, xueyouluo/my_seq2seq#8". I guess what I am trying to say is that these software is there to better the community regardless of ownership. I have never taken a single cent or required anyone to cite any of my work. Once I update my work in November I will give you another shout out.


[JS] add Vector.map

Add Vector.map(f) that returns a new vector transformed with f
Reporter: Brian Hulette / @TheNeuralBit
Note: This issue was originally created as ARROW-2765. Please see the migration documentation for further details.

Still relevant?


Proposed Feature: Move/Rotate preview

I use a vertical secondary monitor and would love to see the option to change the preview window to underneath the thumbnails.
When I throw DT on my vertical, I end up using it like this:

but non-portrait images leave a lot of unused space as shown.
If it isn't to difficult, I was thinking something like this as a toggle option:

I'm planning to handle this by making the preview pane pop out.

You can then arrange the windows by hovering over the maximize button.
It's not ideal, but additionally allows you to view the preview full screen on one monitor.
I haven't figured out the best way to allow changing layouts without duplicating all the controls in different positions.

A pop out pane option is a far better solution, with the benefit of using Windows 11's window snapping and/or PowerToys FancyZones and you indicated.
You're quick to push commits for people, very much appreciated!
I look forward to the release, marking as closed.

This feature is now available in the latest release


Plugin work

You don't need to use bookmarks to access userData. The app always has permission to read and write to its own data folder.


Which versions of TFS does this apply to, if any?

It would be great if these types of articles stated what version of TFS this is included in, or when it is coming in. My company is using 2017 and have access to secure files, but this task is not available.

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

ID: 2a5f8376-3654-0ed4-d9f8-d15f28350783
Version Independent ID: f393daba-6515-6c26-71ac-b557e8c8dad1
Content: Download Secure File | Microsoft Docs
Content Source: docs/build-release/tasks/utility/download-secure-file.md
Service: unspecified
GitHub Login: @douge
Microsoft Alias: alewis

This task is only available on VSTS currently as indicated in the docs. It will be available in the next update of TFS 2018

As of today this task is available: https://docs.microsoft.com/en-us/visualstudio/releasenotes/tfs2018-update2#secure-files-can-be-downloaded-to-agents-during-build-or-release


upgrade to play 2.5

upgrades play version
removes cross compilation, since play 2.5 drops scala 2.10 support

Thanks 👍


Add Request Authentication Support

[x] Design user-facing API for authentication requests (#336).
[x] Add API support to Kube provider.
[x] Add API support to gatewayapi translator.
[ ] Add API support to IR.
[ ] Add API support to xds translator and server.
[ ] Update user docs with config example.

envoy auth filiter need define request body buffer MaxRequestBytes

@zhshw does a default value exist for MaxRequestBytes? If not, what is an appropriate default value? We should also consider the min/max values too.

@danehans any idea on how E2E will be implemented for this feature ?

@arkodg my thoughts are:

Use the kind cluster from the conformance tests for running e2e testing.
Mock a JWKS in our e2e testing package.
Create an HTTP request that contains a JWT.
Create a test backend app, Gateway, HTTPRoute, AuthenticationFilter, etc.
Send the request to the Gateway.

This feature is shipping in v0.3 with manual testing (see authn user doc). Moving to v0.4.0-rc.1 to add e2e testing.


Add support for --cluster_announce_ip

When using cluster_mode emulated it makes sense to set the --cluster_announce_ip (maybe in native mode as well?).
I would like to see this supported in the operator. It might break client libraries to not have this set up for e.g. the java library lettuce (see: https://github.com/redis/lettuce/issues/1736).
I assume it should be easy to set up from within the operator using POD_IP references?

Hey,
For your specific usecase, Why can't you pass the --cluster_announce_ip arguement directly from the args field in the Dragonfly CR? We dont have plans to support cluster mode in Dragonfly Operator in the near future.

For setting a cluster announce ip i wouold need to know this ip, however it would be the ip of the service that the dragonfly operator creates. So it is unknown prior creation of the CR


Not compatible with poetry 1.2.0b1?

$ poetry --version
Poetry (version 1.2.0b1)

$ poetry plugin add poetry-plugin-export@latest
Using version ^1.0.0 for poetry-plugin-export
/Users/glennmatthews/Library/Caches/pypoetry/virtualenvs/nautobot-Ne1WIJ_g-py3.9/lib/python3.9/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools.
  warnings.warn(
Updating dependencies
Resolving dependencies... (0.3s)

Package operations: 1 install, 0 updates, 0 removals

  • Installing poetry-plugin-export (1.0.0)

$ poetry --version

  AttributeError

  type object 'InstallerCommand' has no attribute '_group_dependency_options'

  at ~/Library/Caches/pypoetry/virtualenvs/nautobot-Ne1WIJ_g-py3.9/lib/python3.9/site-packages/poetry_plugin_export/command.py:33 in ExportCommand
       29│             "dev",
       30│             None,
       31│             "Include development dependencies. (Deprecated)",
       32│         ),
    →  33│         *InstallerCommand._group_dependency_options(),
       34│         option(
       35│             "extras",
       36│             "E",
       37│             "Extra sets of dependencies to include.",

+1 same issue

@glennmatthews that is correct; we had to rework internally how plugins worked. So, right now only version compatible with Poetry 1.2.0b1 is 0.2.1. You can use the plugin with the latest version of Poetry on git or upcoming pre-release.


[5.6] Add truncate option to seed command

if you want to truncate all tables when seeding you should to run this command.
php artisan db:seed --trancate

currently I just have a truncate command at the top of my seeders.
User::truncate()

Is there a use case for this new feature, that isn't handled by just doing that?

@browner12 It will truncate all tables at once just like migrate:fresh and it optional feature

Only issue here is running a single seeder. Maybe you only want to truncate that 1 table and re-seed it with some new data so you run the below:
php artisan db:seed --class=UsersTableSeeder --truncate
This command would truncate your entire database and then only seed your user table. As @browner12 pointed out, this is why calling truncate on your Model / Table within your seeder is generally the accepted way.

Wouldn't this be identical to php artisan migrate:fresh --seed?


Passcode issue

cd XLR8_BOMBER.....
Not working passcode error 404
Please send me passcode

@Alizafar09381
the password for coustom sms is
sudoxlr8


Any way of displaying ingame framerate/frametime cpu/gpu time statistics ?

You know, something like DOOM or the source games have
I can use RTSS but that doesnt always work and has it's own problems.
Would rather have an 'in-engine' approach

Should be fairly easy to do I believe, as we hook directly on Present function responsible for final blit...

Use the nvidia experience thing. ALT+Z

Use the nvidia experience thing. ALT+Z
Use xbox game bar Win+G for cpu/gpu statistics

i use techpowerup's nvcleanstall to strip the nvidia installer of bloat and telemetry and opted out of anything non driver-only related.
i don't and never used xbox game bar and have all those things disabled.
i already have a very detailed and well constructed rtss overlay but i'd rather not use any 3'rd party tools. btw if you don't know, rtss is the thing that comes bundled with msi afterburner and allows it to hook into processes and many more things but it does come with its own problems.
here it is in action

Should be fairly easy to do I believe, as we hook directly on Present function responsible for final blit...

that sounds promising

Well, your problem if you don't want to use anything from nvidia ... It's not bloatware ...
good luck I guess

Thing is, you could make RTSS display whatever you want and configure it to all hell, while you cannot do this for Nvidia for example.
If update frequency is too often for you, change it to once per second for example
Want just sma and slick gui to show simple number? Why not, can set it like that.
Tbh, RTSS while being more bloaty in this regard is not that performance heavy, aa long as you do not try to draw graphs and such and update too often. All can be configured.

Well do what do you want, just I wouldn't keep fps counter and all while actually playing. I prefer to look at the beautiful buildings than a fps counter. It catch your attention
tbh I just opened task manager to check infos when choosing the "best" settings for me and my config, after that I just play without bothering with any rtss ui

nevermind, i give up.


Ability to add referenced featureCollection for navPlace

The ability to use a map to draw a navPlace bounds, or location, is fantastic. Thank you for implementing this. I'm going to highlight it in my talk at the iiif Showcase, this week at Getty.
navPlace can also be a referenced feature Collection (https://preview.iiif.io/api/navplace_extension/api/extension/navplace/#21-navplace-property) and there are a number of sources for this, including Who's on First (WoF) https://github.com/whosonfirst/go-whosonfirst-browser#iiif-navplace
It would be quite useful to have a way to toggle between a text box for a referenced featureCollection, and the map.

Ah that's good to know, thanks, I didn't realise they could be external. Am I right in thinking that it would be either a reference OR an inline feature collection? So you couldn't have more than one

It's either or, and there can only be one navPlace element. It IS possible to have multiple geometries and geometry types in the geojson.


Feature: Prometheus support

Hi,
Would it be possible to add support for Prometheus-based output on the dongel? This would allow to directly ingest the information into a Prometheus(-like) system for data processing.
From what I can see there is a https://github.com/grafana/prometheus-arduino library that seems to support the esp32, except it's not seen that much contributions the past year. Alternatively having an API endpoint that outputs data in a prometheus exposition format might also be mostly light-weight.

Thanks for the suggestion. I think it will possible but because of the program size issues this will be in the v5 version ... next year.


More c2omc models

some more models  to fill up the current zoo.

Many thanks Erik. I think cadquery master got update to make use of ocp 7.7.2 yesterday. Looks like this is not compatible with openmc 0.13.3. At least conda can't put them in the same environment.
I guess when the conda install for openmc 0.14.0 supports dagmc then this will all work again.

Although I don't quite get why there'd be a problem. It's not like openmc makes any use of ocp. but of course it probably  some subdependency that's common but uncompatible.

I'm going to merge this in then try to fix the CI


Add a button for exporting to calendar

This PR adds a button for exporting the currently displayed schedule to a calendar file (ics) which:

ignores Don't fill blocks
repeats for 14 weeks, starting with the week of September 23-27
uses ics.js

The second commit adds the feature to display instructors' schedules, ignoring the second instructors.

I will look into separating the PRs when I'm available. Thanks for the thorough feedback.

I hope reverting the unrelated commit is okay, instead of leaving only the related commit.


Questions about self.label_emb

Thanks for your wonderful work! I have a question that you said you based on pre-trained SVD to train the first stage Hi3D model. But the original SVD used FPS and bucket_id as the additional condition together with timestep embedding, and the dimension is 768. Here in the configuration file, I see you changed these two condition with elevation and aesthetic condition but starting with the same label embedding. Do you think this works well? Thanks!

In our experiments, the FPS and bucket_id conditions were found to be insignificant, so we replaced these conditions. For the new setup, elevation as a 3D condition has a significant impact on the final results. To simplify implementation and minimize changes to the network architecture and code, we opted for an aesthetic condition.


[BUG] Sidebar Doesn't Open in Arc Browser

The sidebar doesn't function properly in Arc Browser. If you attempt to open it via the right-click menu or shortcut keys, nothing happens. I have not yet been able to narrow down what the exact issue is but I assume its due to some kind of customization in the Chromium engine Arc uses. I'll continue trying to narrow down the issue but if anyone has any ideas as to what it is, let me know!

Hey, unfortunately Arc doesn't have sidebar support yet :(

@n4ze3m is there any specific reason it hasn't been supported yet I should be aware of? If not, I'll probably start working on getting it running for Arc.

Hey, I think Arc doesn't have extension side panel support yet, unfortunately, from what I know. :( This is not related to page assist

@n4ze3m looks like you are correct from what I can tell. I didn't realize Arc has not implemented chrome.Sidepanel yet. Well, time for me to go harass the Arc devs 😭


Add function set_stream_position to VideoPlayer. Closes #8727

Hey, it's my first contribution to Godot ! I was looking around for small things to implement to get started and found this feature proposal #8727
I haven't being able to test it yet due to this issue #10031 though :/

Thanks for contributing! Please squash commits together. (PR workflow)

Done :)


Added caching unprocessed items until they are needed

Coverage increased (+0.5%) to 99.358% when pulling 14ac1a0c81391eaf3252cb890185cd0b1463462e on dev_refactored_detailed_check into<PHONE_NUMBER>652620cc65aaa779657af5adaa39b5 on refactor_from_cache.

Coverage increased (+1.0%) to 99.893% when pulling 82ad7db80ab27dab2e054e629f2f9fd865cbfefc on dev_refactored_detailed_check into<PHONE_NUMBER>652620cc65aaa779657af5adaa39b5 on refactor_from_cache.

Coverage increased (+1.1%) to 100.0% when pulling 51b905cd5eba184c38d9252ff26fce9d7450e5d3 on dev_refactored_detailed_check into<PHONE_NUMBER>652620cc65aaa779657af5adaa39b5 on refactor_from_cache.


ILogger.LogMetric?

In the section "Write logs in C# functions > Logging custom metrics", it is mentioned that we can use the LogMetric extension method to ILogger in order to track custom metrics, but I can't seem to find this method. Is it defined in a separate assembly?

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

ID: 13672b67-22ea-3dda-8b6b-3332c24e6030
Version Independent ID: fdc60aeb-9971-1d9f-a6ba-b3ad818cf0d5
Content: Monitor Azure Functions
Content Source: articles/azure-functions/functions-monitoring.md
Service: functions
GitHub Login: @ggailey777
Microsoft Alias: glenga

OK I realized that it's defined in Microsoft.Azure.WebJobs.Host, which explains why it's available in my Functions project but not in my other library projects.

@ThomasWeiss Thank you for updating this issue with the resolution. If you need further assistance, feel free to reopen this and we can continue the dialogue.


feat(blockifier): safe addition of fee amounts in business logic

This change is

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#1255  👈
#1250
#1180
#1179
#1178
#1177
#1176
#1175
#1174
#1173
#1172
main

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

Join @dorimedini-starkware and the rest of your teammates on  Graphite


Constantly buffering when transcoding

Whenever I cast a file with the --tomp4 option, the state constantly says "Buffering..." even though the video is playing smoothly.  In addition, this doesn't let me use any of the key-bindings to pause or seek.
$ uname -a
Linux electron 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt2-1 (2014-12-08) x86_64 GNU/Linux
$ ffmpeg --version
ffmpeg version 2.5.1 Copyright (c) 2000-2014 the FFmpeg developers
  built on Dec 16 2014 08:05:21 with gcc 4.9.2 (Debian 4.9.2-8)

@mynameisfiber
Can you give me some advice how you got this running with mkfifo?
I tried it like this, but had no luck:
mkfifo pipe.mp4
ffmpeg -i samples/test.mp4 -vcodec h264 -f mp4 -movflags frag_keyframe+faststart -strict experimental pipe:1 > pipe.mp4
castnow ./pipe.mp4

The pipe.mp4 stays at filesize of 0.

@xat I don't think a named pipe is necessary for this. Node streams should take care of this for you automatically.
When you send a pause command to Chromecast, Chromecast should stop reading from the http socket. This will cause the res stream in node to fill up its internal buffer (as the ffmpeg stream continues to write to it) which will then apply back pressure to ffmpeg and cause it to block as @mynameisfiber describes above.
You can also manually control back pressure by using stream.pause() and stream.resume().
This should work in theory. I haven't really tested this out and am not near a Chromecast to do so right now. However, in my experience pausing transcoded streams seems to work just fine. (Seeking does not, of course.)

@parshap Yes, I also would have thought that this should just work by piping the the output of ffmpeg to the response. However, once you hit pause the video gets stuck and your not able to resume it again. Thats why I was interested in seeing if it really works when creating the buffer with mkfifo.

@parshap Since you mentioned seeking, we had some thoughts on that over here https://github.com/xat/chromecast-scanner/issues/2

I've created a new issue to discuss playback control of transcoded files: #58.
Sorry for creating yet another issue but hopefully this will get the conversation going in one place.

+1 makes perfectly sense to bundle the discussions around this topic at one place.

Hi.
When I castnow a .mkv file the video playback is smooth however I get no audio. When I use --tomp4 the video buffers every 5 seconds, audio works. The video is stored locally, my machine is definitely powerful enough to do the transcoding.
$ uname-a
Linux arch 3.19.3-3-ARCH ...
$ ffmpeg -version
ffmpeg version 2.6.1 ...


conditional temp output

Is your feature request related to a problem? Please describe.
It would be great to have a conditional temp() for the output. I am developing a pipeline which allows to skip modules. The skipping is done using symlinks (ln -s). This works great if all output is kept. However, my files are too large, so I need to clean up all intermediate files, but the output of the last step which is referred to with a symlink in the final rule (ln -s foo.bam final.bam).  The function temp() is great, however, does not allow to make it conditional, i.e. just keep the output of the last step.
Describe the solution you'd like
Ideal would be to have (simple) functions allowed in the output, e.g.:
rule foo:
  output:
    if FINAL_STEP == "foo":
      "foo.bam"
    else:
      temp("foo.bam")

Describe alternatives you've considered
My current implementation uses an if else around the entire rule definition (doubling the rule) which is ugly, difficult to read and thus dangerous, but luckily works, e.g.:
if FINAL_STEP == "foo":
  rule foo:
    output:
      "foo.bam"
    ...
else:
  rule foo:
    output:
      temp("foo.bam")
    ...

I too would love to have a feature like this.
Idea: Can the temp function accept a callable that returns a boolean, with the signature lambda wildcards:... (similar to input functions)?
FINAL_STEP = ...

rule foo:
    output: temp("{name}.{ext}", lambda w: FINAL_STEP != "foo")

Other examples:
rule x:
    # Delete if prefix == "foo"
    output: temp("{prefix}.{ext}", lambda w: w.prefix == "foo")

rule y:
    # Delete if my flag is passed in from CLI like: snakemake [...] -C my_temp_flag=2
    output: temp("file", lambda w: int(config.get("my_temp_flag", 0)) > 2)

Closing this in favour of https://github.com/snakemake/snakemake/pull/1969 which can achieve the same goals with more generalisation and less argument clutter.


Update README.md

Suggesting to mention which access a token for jspm needs to have.

Great alternative to avoid entering the password. @akauppi maybe you can make a PR for the docs repo as well to get that information onto the aurelia.io page.

@akauppi Would you mind signing our CLA please? https://docs.google.com/forms/d/1Npd68d32UDUKUYuCDDrW0VN5Lv8p-a6Ziaa2JFKp6Cg/viewform?c=0&w=1


Tag tests not to run on conda

I think all the tensorflow train tests are too memory intensive, run these locally only.

The deepforest.train test was too memory intensive.


Pool times out

Relates to #6.
I'm trying to run the data loader to insert 1 million records, and it's giving me this error.
Cannot insert data into persons table: PoolTimedOut
thread 'tokio-runtime-worker' panicked at rust/postgres_etl/src/bin/load_data.rs:56:6:

I tried changing the code to use PgPoolOptions like main.rs and I still get the same error. It works for a smaller number of records but the issue pops up when the number of records is 1 million.

Does upping the available connections solve this issue? Something like let pool = PgPoolOptions::new().min_connections(20).max_connections(20).connect(&pg_uri).await?;. This way it wouldn't have to wait as long to get a connection.
If that doesn't were there are also some other options like idle_timeout that we could try setting to see if it makes a difference.

I think the issue is in this snippet:
for person in persons.into_iter() {
    let task = tokio::spawn(insert(person, pool.clone()));
    tasks.push(task);
}

If there are a lot of records, for example 1 million persons, we're trying to clone the pool itself a million times. That doesn't seem reasonable surely? I'm looking at example code wherever I can find it to see how people are passing references to PgPool around

I can't find any examples that don't use clone. One possibility I found is to use a semaphore to limit the number of concurrent requests. Something like this.
async fn insert(person: Person, pool: PgPool, permit: SemaphorePermit<'_>) {
    // Populate database
    sqlx::query!(
        r#"
            INSERT INTO persons (id, name, age, isMarried, city, state, country)
            VALUES ($1, $2, $3, $4, $5, $6, $7)
            "#,
        person.id,
        &person.name,
        person.age,
        person.is_married,
        &person.city,
        &person.state,
        &person.country,
    )
    .execute(&pool)
    .await
    .expect("Cannot insert data into persons table");

    drop(permit);
}

async fn run() -> Result<usize, sqlx::Error> {
    dotenv().ok();
    // Get files
    let persons_csv_file = Path::new("data/persons.csv");

    let persons: Vec<Person> =
        read_data(persons_csv_file).expect("Did not obtain valid output from CSV");
    let counter = persons.len();
    println!("Number of persons: {}", counter);

    // Obtain connection
    let pg_uri = dotenvy::var("DATABASE_URL").unwrap();
    let pool = PgPoolOptions::new().min_connections(5).max_connections(5).connect(&pg_uri).await?;
    let semaphore = Arc::new(Semaphore::new(20));

    // Truncate table
    sqlx::query!("TRUNCATE TABLE persons")
        .execute(&pool)
        .await?;
    println!("Created persons table");
    // Insert data
    for person in persons.into_iter() {
        let pool_clone = pool.clone();
        let semaphore_clone = Arc::clone(&semaphore);
        tokio::spawn(async move {
            let permit = semaphore_clone.acquire().await.expect("Error acquiring semaphore");
            insert(person, pool_clone, permit).await;
        });
    }
    println!("Finished loading {:?} records", counter);
    Ok(counter)
}

I'm not sure what the best number of concurrent requests would be. 20 seemed reasonable, but there could be a better number

Yup, I did some reading and I'm now clear that Arc has O(1) cloning and only clones pointers and doesn't allocate additional memory, so the size of the pool shouldn't matter.
I'll look into your example and let you know how that goes on my end, thanks!

Although Arc has really efficient cloning, the approach we were following naively created clones for every record inserted. If we have 1M or 10M records of persons, it's not fair to expect zero impact by cloning the pool object that many times, even with Arc.
// Insert data
for person in persons.into_iter() {
   let task = tokio::spawn(insert(person, Arc::clone(&pool)));
   tasks.push(task);
}

In a realistic situation, we'd batch the dataset into sets of 50k-100k records (or similar) and iterate through the batches, so in those situations, creating that many clones at at time would be reasonable.
So I'm reformulating this example as 100K person records rather than a million records.


image_dim_ordering causes very different convergence results (between using 'th' and 'tf' in keras config)

I am seeing very different convergence results when using 'th' and 'tf' in keras config file.
On both cases I'm using tensorflow backend.
I am fully aware of the different convention of dimension ordering between theano and tensorflow, and (hopefully) handle it correctly as you can see in the following gist.
The bottom line is that I'm currently forced to use 'th' image_dim_ordering and "suffer" from extra copies which slow the training process
Here's the gist of a standalone single-file reproducing of the problem:
https://gist.github.com/YoelShoshan/3ed8f827685d130cd01fbf787821ee87
I tried to make sure it runs without any issues, and has no external dependencies.
On one case I'm using this keras config file:
{
    "floatx": "float32",
    "epsilon": 1e-07,
    "backend": "tensorflow",
    "image_dim_ordering": "th"
}

In on the other case I switch the 'th' to 'tf'.
using 'th' converges significantly faster! (less iterations) and yes, I've tried many different random seeds.
on the 'th' this is a typical convergence scenario: (4 epochs till convergence)
Epoch 1/100
640/640 [==============================] - 3s - loss: 0.6891 - acc: 0.5594
Epoch 2/100
640/640 [==============================] - 2s - loss: 0.6079 - acc: 0.7328
Epoch 3/100
640/640 [==============================] - 2s - loss: 0.3166 - acc: 0.9422
Epoch 4/100
640/640 [==============================] - 2s - loss: 0.1767 - acc: 0.9969

and on 'tf' this is a typical convergence scenario: (27 epochs till convergence!)
Epoch 1/100
640/640 [==============================] - 1s - loss: 0.6932 - acc: 0.4781
Epoch 2/100
640/640 [==============================] - 0s - loss: 0.6932 - acc: 0.4938
Epoch 3/100
640/640 [==============================] - 0s - loss: 0.6921 - acc: 0.5203
Epoch 4/100
640/640 [==============================] - 0s - loss: 0.6920 - acc: 0.5469
Epoch 5/100
640/640 [==============================] - 0s - loss: 0.6935 - acc: 0.4875
Epoch 6/100
640/640 [==============================] - 0s - loss: 0.6941 - acc: 0.4969
Epoch 7/100
640/640 [==============================] - 0s - loss: 0.6937 - acc: 0.5047
Epoch 8/100
640/640 [==============================] - 0s - loss: 0.6931 - acc: 0.5312
Epoch 9/100
640/640 [==============================] - 0s - loss: 0.6923 - acc: 0.5250
Epoch 10/100
640/640 [==============================] - 0s - loss: 0.6929 - acc: 0.5281
Epoch 11/100
640/640 [==============================] - 0s - loss: 0.6934 - acc: 0.4953
Epoch 12/100
640/640 [==============================] - 0s - loss: 0.6918 - acc: 0.5234
Epoch 13/100
640/640 [==============================] - 0s - loss: 0.6930 - acc: 0.5125
Epoch 14/100
640/640 [==============================] - 0s - loss: 0.6939 - acc: 0.4797
Epoch 15/100
640/640 [==============================] - 0s - loss: 0.6936 - acc: 0.5047
Epoch 16/100
640/640 [==============================] - 0s - loss: 0.6917 - acc: 0.4922
Epoch 17/100
640/640 [==============================] - 0s - loss: 0.6945 - acc: 0.4891
Epoch 18/100
640/640 [==============================] - 0s - loss: 0.6948 - acc: 0.5000
Epoch 19/100
640/640 [==============================] - 0s - loss: 0.6968 - acc: 0.4594
Epoch 20/100
640/640 [==============================] - 0s - loss: 0.6919 - acc: 0.5391
Epoch 21/100
640/640 [==============================] - 0s - loss: 0.6904 - acc: 0.5172
Epoch 22/100
640/640 [==============================] - 0s - loss: 0.6881 - acc: 0.5906
Epoch 23/100
640/640 [==============================] - 0s - loss: 0.6804 - acc: 0.6359
Epoch 24/100
640/640 [==============================] - 0s - loss: 0.6470 - acc: 0.8219
Epoch 25/100
640/640 [==============================] - 0s - loss: 0.4134 - acc: 0.9625
Epoch 26/100
640/640 [==============================] - 0s - loss: 0.2347 - acc: 0.9953
Epoch 27/100
640/640 [==============================] - 0s - loss: 0.1231 - acc: 1.0000

For simplification, all that the neural network needs to do in the gist that I provided, is to distinguish between patches  containing only the value -1.0 and between patches containing only the value 1.0
This is a toy example, and it might be worst on actual examples.
Is this expected behavior or a bug?
Cheers and thanks for this awesome lib! :)
Yoel.

I have a similar problem too. When using tensorflow with 'tf' ordering, each epoch executes very fast but convergence is slower (sometimes may not even converge). With Theano and 'th' ordering, time per epoch is a couple of times slower, but converges faster in fewer epochs. Appreciate if anyone can shed light on this. Thanks.

I retried it on cuda 8.0, latest tensorflow, keras and using Titan X (Pascal) and could not reproduce this issue.
Converges (on the toy example I previously pasted) was fast for both backends.
Like previously, I tried several different random seeds on each dim ordering option.
I will try it now on an actual training case (which I've been using theano dim ordering until now, even though I was using tensorflow backend) and update.
@wttangc - what cuda/tensorflow/keras versions are you using? which GPU?


Angular 6.0.0-beta7 can't be installed

During npm install I have problem with angular 6.0.0-beta7 because it references github:webpack-contrib/html-webpack-plugin which doesn't exist anymore. I tried to update to 6.0.0-rc.2, but got another issue with Local workspace file ('angular.json') could not be found.
Can you please help me?

I have the same difficulty since yesterday. I am prompted for my .ssh key and then,

npm ERR! Error while executing:
npm ERR! /usr/bin/git ls-remote -h -t<EMAIL_ADDRESS>npm ERR!
npm ERR! ERROR: Repository not found.
npm ERR! fatal: Could not read from remote repository.
npm ERR!
npm ERR! Please make sure you have the correct access rights
npm ERR! and the repository exists.
npm ERR!
npm ERR! exited with error code: 128

I checked for my existing SSH and studied the tutorial on generating and adding these.
Thanks for your kind attention.

Seems to be a bug with angular/core. I have had the same problem and the easy way I found was downgrading all angular dependencies to "Latest" (5.2.9 mostly). Now everything is fine again.
If you use Visual Code, then you should take a look to the "Version Lens" extension for VS.
Its a live saver for jobs like this.

Same issue.

Had the same issue and after an hour of investigation, it seems that the issue is found here:
See text below headline: "If you use HtmlWebpackPlugin“ on https://medium.com/webpack/webpack-4-released-today-6cdb994702d4
To fix this I replace the blow:
https://github.com/tomastrajan/angular-ngrx-material-starter/blob/3e7a6217c83943310b260607be27183f837d14fc/package-lock.json#L106
Replace it with this:
"html-webpack-plugin": "3.2.0",
https://github.com/tomastrajan/angular-ngrx-material-starter/blob/3e7a6217c83943310b260607be27183f837d14fc/package-lock.json#L5967
Replace it with this:
"version": "3.2.0",
Hope it helps.

Hey! Thank you very much for debugging this issue! I hope that this will all go away soon with releases of stable 6.0.0 of Angular, Material, RxJS and CLI. Until than the workaround with the html-webpack-plugin version seem to be the way to go!

This resolved the install issue.  Thanks!

Started working on migration to 6.0.0-rc versions of Angular, CLI, Material, NgRx and RxJS. It seems to mostly work in dev mode but I still have issues with running tests and lazy loaded ngrx modules so it might take a while or even until real 6.0.0 until all things play nicely together.

Feel free to check this huge commit which contains migration to the new Angular CLI project configuration and layout.
Also version of starter project was aligned with Angular and others so starter is currently having 6.0.0-rc.1.
Hope that helps!


Avoid splitting surrogate pairs when breaking runs for scaling

Summary of the Pull Request

Surrogate pairs are being split in half with the run splitting check.

References

Related to #4708 but not going to fix it.

PR Checklist

[x] Closes #4704
[x] I work here.
[x] I am a core contributor.

Detailed Description of the Pull Request / Additional comments

The adjustment of the run heights in the correction function reports back a text index and a scaling factor. However, I didn't remember at the time that the text is being stored as UTF-16. So the index given can be pointing to the high surrogate of a pair. Thus adding 1 to split "after" the text character, then backing up by 1 isn't valid in if the index given was for a high surrogate.

The quick fix is to advance by two if it's a high surrogate and one otherwise.
Validation Steps Performed

Used the sample code from #4704 to print the house emoji in various situations into the buffer.

@msftbot merge this in 1 minute


Duck-type VQE interim results

Summary
Add a check for the type of data expected in the callback wraper in VQEProgram. This will allow us to close Qiskit-Partners/qiskit-runtime#38
Details and comments
Anticipating changes in the Qiskit Runtime API which will start emitting final results in the WebSocket stream. When that happens, if we don't duck-type in the VQE callback wrapper receiving the interim results, it will get a ValueError exception.

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

Whatever gets done here in Nature the equivalent logic will no doubt be needed in the equivalent file in Qiskit Optimization here https://github.com/Qiskit/qiskit-optimization/blob/main/qiskit_optimization/runtime/vqe_program.py


fix: ECharts hook

I found a bug when a bar is hovered. It may be due to these changes: https://github.com/datavisyn/visyn_core/compare/bcccf2bdf6aae1edab1d92b6f92679318ddd9513...625eaacd0b46e8eea14f4ba512aeb3ab87abb3e7
Works as expected in https://github.com/datavisyn/visyn_core/pull/497/commits/dde0c17bd63d09ee31830b79e9d816eaec1c858a:

Broken since https://github.com/datavisyn/visyn_core/pull/519/commits/625eaacd0b46e8eea14f4ba512aeb3ab87abb3e7:
Things I noticed:

When the mouse is hovered over a bar, only that bar is highlighted (the entire series should be highlighted)

focus: 'series' in https://github.com/datavisyn/visyn_core/blob/b7acce5f32a297b2f8bd3aebc6d6f4f387bb7021/src/vis/bar/SingleEChartsBarChart.tsx#L349

When the mouse is hovered over a bar and then moved to another bar in the same series, both are highlighted
When the mouse is moved out of the bounds of bar plot, the opacity is not restored
When the bar ploy is scrolled out of view, the opacity is restored

Thanks @dv-usama-ansari
These changes make sense, however I could not reproduce the issue as stated

Closing this in favor of #497


[*] update metrics grid, closes #410

The error we see is due to incompatibility of @mui/styles and react 18. We cannot bump yaml package version to 2.4.1 because if this:

The @mui/styles package has been deprecated since Material UI v5, released two years ago as I'm writing this. It will not be updated to support anything past React 17. If you need React 18 and beyond, you must use a different style solution. The doc I linked here explains all of this and strongly recommends moving to @mui/system, the current in-house style solution for Material UI.

superseded by #416


Removed deprecated NavigatorState.focusScopeNode

Part of https://github.com/flutter/flutter/issues/139243
Deprecated in https://github.com/flutter/flutter/pull/109702
The replacement for focusScopeNode is focusNode.enclosingScope
Pre-launch Checklist

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I read the Tree Hygiene wiki page, which explains my responsibilities.
[x] I read and followed the Flutter Style Guide, including Features we expect every widget to implement.
[x] I signed the CLA.
[x] I listed at least one issue that this PR fixes in the description above.
[x] I updated/added relevant documentation (doc comments with ///).
[x] I added new tests to check the change I am making, or this PR is test-exempt.
[x] All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on Discord.

Marked as a draft since there are a few more internal uses I am cleaning up.


Added polyfill for Array.prototype.includes()

Included a babel-polyfill package in main Carousel.vue file in order to impact the whole plugin.
Adding it as an entry point in webpack.base.conf did not solve the issue.

I will close this pull request for now - I want to resolve the conflicts in package-lock.json.

Coverage increased (+0.1%) to 70.339% when pulling 8d7e059d27d025d49d663c5efb7fbbd0496281d6 on alekpentchev:190-array-includes-on-IE into e871a2aaec8deec8ee79e399e574c7468a5d2a4f on SSENSE:master.


feat(ssg): enhance conbined hooks

We are considering making it easier for users to specify hooks without having to be aware of their placement by ultimately passing a list of each hook to either plugins or hooks. As a preliminary step, it is essential to enable each hook to combine multiple hooks. Without this capability, implementing such a patch for extension would be challenging.
Combining Hook
You can enhance your site generation process by combining multiple hooks.
While this approach can be applied to any type of hook (BeforeRequestHook, AfterResponseHook, AfterGenerateHook), the example below demonstrates combining multiple BeforeRequestHook instances to achieve fine-grained request filtering.
Example:
Combining BeforeRequestHook. First, define two hooks: one to allow requests for certain paths, and another to deny requests for specific paths.
// Hook to allow requests only to specified paths
const filterPathsBeforeRequestHook = (allowedPaths: string | string[]): BeforeRequestHook => {
  const baseURL = 'http://localhost';
  return async (req: Request): Promise<Request | false> => {
    const paths = Array.isArray(allowedPaths) ? allowedPaths : [allowedPaths];
    const pathname = new URL(req.url, baseURL).pathname;
    return paths.some(path => pathname === path || pathname.startsWith(`${path}/`)) ? req : false;
  };
};

// Hook to deny requests to specified paths
const denyPathsBeforeRequestHook = (deniedPaths: string | string[]): BeforeRequestHook => {
  const baseURL = 'http://localhost';
  return async (req: Request): Promise<Request | false> => {
    const paths = Array.isArray(deniedPaths) ? deniedPaths : [deniedPaths];
    const pathname = new URL(req.url, baseURL).pathname;
    return !paths.some(path => pathname === path || pathname.startsWith(`${path}/`)) ? req : false;
  };
};

Combine these hooks to filter requests by allowing them for /public path, but denying them for /public/secret.
toSSG(app, fs, {
  beforeRequestHook: [
    filterPathsBeforeRequestHook(['/public']),  // Allow only '/public'
    denyPathsBeforeRequestHook(['/public/secret'])  // Deny '/public/secret'
  ],
})

The author should do the following, if applicable

[x] Add tests
[x] Run tests
[x] bun denoify to generate files for Deno
[x] bun run format:fix && bun run lint:fix to format the code

Hi @watany-dev
Sorry to be late for my comment. I think this is good! But I want to know, is the main point of this PR that makes the hooks allow receiving the array?
export interface ToSSGOptions {
  dir?: string
  beforeRequestHook?: BeforeRequestHook | BeforeRequestHook[] // <---
  afterResponseHook?: AfterResponseHook | AfterResponseHook[] // <---
  afterGenerateHook?: AfterGenerateHook | AfterGenerateHook[] // <---
  concurrency?: number
  extensionMap?: Record<string, string>
}

I'd like to know the options of others. cc: @nakasyou @usualoma @sor4chi

Nice feature!
This is the natural behavior expected by users and I hope it is supported.

Hey @watany-dev
I think there is no problem. It can be merged!


External login

Trying to login with Facebook I have never ending message  checking email...

Hi. Did you resolve this issue? If not I'll test for it and get a fix in the next version.

Hi Jay. Please, check this problem. Urgently need.

Are there any sample as like google external login  for Facebook?? how can  I get email ??

Hi. There is a walkthrough for external logins in the wiki https://github.com/Useful-Software-Solutions-Ltd/Angular.Net.SecureStarter/wiki/Setting-up-an-external-authentication-provider. To be honest this project has fallen a bit out of date, I'm waiting for ASP.NET 5 to be released before taking a decision on what to do about a new version.

Hi Jack, Thansk for your info. But There is no ending with this.. After ASP.NET5 release,  Angular release new version 2.0.0 than everything have to be change :)
At this reason,I would like to continue with your project and I have one more question.
Is it possible to seperate two project with api and Angular spa ?? If its possible, which part have to be change on angular spa side as URL to reach to web api ??

Hi, you are right you can change the baseUrl in accountClientSvc to point to a separate auth server.


Add a quick-start guide on React with webpack

This is the first of several tutorials in starting up a project using several different frameworks. The idea is to reduce JavaScript fatigue in beginners and those taking a cursory glance at TypeScript.
Also, thanks for helping me out with this @yuit!

@mhegazy @yuit @bowdenk7 @RyanCavanaugh @sandersn
PS: Thanks for helping me out with this @yuit!

Nice! It worked for me with only one hiccup.

:+1: w/ Nathan's comments

:+!:

:+1:

how about debugging? you should enable soruceMap support in tsconfig step, and make sure we have that working as well through webpack.

@basarat @pspeter3 do you have any feedback on this? Do you have any opinions between ts-loader  and awesome-typescript-loader?

I have used ts-loader before but only casually. Asana uses Bazel for our TypeScript compilation

Do you have any opinions between ts-loader and awesome-typescript-loader?

@DanielRosenwasser awesome-typescript-loader was deprecated to put everyone in to community backing one defacto loader : https://github.com/TypeStrong/ts-loader :rose:
I personally wrote : https://basarat.gitbooks.io/typescript/content/docs/quick/browser.html of the top of my head once but I didn't test it ... haven't heard any complaints :) :rose:

I'm not seeing anything about deprecation - both look like good/well-maintained projects. Mostly, I was trying to get an idea what an introductory react workflow might be like.

@DanielRosenwasser My bad. Deprecation was TypeScript-loader : https://github.com/andreypopp/typescript-loader/issues/27 However I just saw https://github.com/s-panferov/awesome-typescript-loader/issues/94 in awesome-typescript-loader ¯\_(ツ)_/¯
Personally I just do tsc -watch or let atom-ts do the compile and webpack just to bundle the js like a standard js project :rose: But its not something that everyone has the luxury or desire to do ... hence ... loaders.

@DanielRosenwasser @basarat ts-loader is a better choice for community because it is maintained by several people in TypeStrong. awesome-typescript-loader is a solution for those who need additional functionality it provides.

I still use ts-loader anytime I use Webpack outside Asana. (We compile the TypeScript before Webpack with Bazel at Asana)


mIoU Scores using Backbones pretrained only on ImageNet instead of ImageNet+MSCOCO?

Interesting Work! All the methods you compared in the table were using resnet-101 pretrained only on ImageNet, it would be also interesting to know what the mIoU scores of DACS are if trained using the same backbone. Are there any ablation experiments for this? Thanks!

Hello.
We have not performed the experiments ourselves on ImageNet pretraining. However, this has been done as part of another work (see https://github.com/qinenergy/corda/issues/2), where they even found a slight performance increase when rerunning DACS with Imagenet weights.


Add datatime/interval/duration into comparison kernels

Is your feature request related to a problem or challenge? Please describe what you are trying to do.

We found that for these types, current dyn comparison kernels somehow didn't cover them. That makes DataFusion comparison expressions fail to support such types.
Describe the solution you'd like

Describe alternatives you've considered

Additional context

label_issue.py automatically added labels {'arrow'} from #3730


🐛 Fixed search behaviour to not use RegExp

closes TryGhost/Ghost#8959

Treated the search input as a literal string rather than RegExp to allow characters that need escaping in RegExp and disable RegExp characterslike |.
Replaced any non-word characters in highlighted-text fn with escaped characters, so they're working with RegExp.

Coverage increased (+0.005%) to 72.345% when pulling 33f5db4ae2884864904571c9013c98b3b078e204 on AileenCGN:no-regex-in-search into 4e5fda2044b047fd7017a3222de6bbb2dbd38c59 on TryGhost:master.

👍 LGTM 😄


Quasi stationary fundamental waves library to be included in MSL

Reported by christiankral on 6 Nov 2013 19:44 UTC
Anton Haumer and I are currently developing the quasi stationary version of the fundamental wave (electric machines) library. This library will neglect any electrical transient but fully considers the dynamics of the mechanical and an externally connected thermal network. The major developments are already done. We are now fixing bugs, include documentation and enhance simulation examples. The new library will enhance the MSL. It will enable fast simulations of electric machines and drives over longer simulation periods and reduce model complexity. Yet, advanced loss effects are accurately considered. The new quasi stationary and the transient fundamental waves library will be parameter compatible.
It is planned to include the new library as Modelica.Magnetic.QuasiStationary.FundamentalWave. The actual development repository is located at https://svn.modelica.org/projects/Modelica_ElectricalSystems/QuasiStationaryFundamentalWave/trunk/QuasiStationaryFundamentalWave/
@ Dietmar: For tracking the bug fixing process: could you please add a component _Modelica_QuasiStationaryFundamentalWave or similar in the Modelica Trac system. Thanks.

Migrated-From: https://trac.modelica.org/Modelica/ticket/1344

Modified by christiankral on 6 Nov 2013 19:44 UTC

Comment by beutlich on 7 Nov 2013 07:43 UTC
Maybe #1189 should be considered here.

Comment by dietmarw on 7 Nov 2013 09:28 UTC
Replying to [ticket:1344 christiankral]:

It is planned to include the new library as Modelica.Magnetic.QuasiStationary.FundamentalWave. The actual development repository is located at https://svn.modelica.org/projects/Modelica_ElectricalSystems/QuasiStationaryFundamentalWave/trunk/QuasiStationaryFundamentalWave/

Mind, in order that a new library can be included it should also be publicly visible on https://modelica.org/libraries for some time. I think we were talking of something like at least 6 months. I can set up a mirror of the svn repo location to GitHub so it appears on the website.
@ Christian, if you could prepare a README.md similar to https://github.com/modelica/Modelica_Synchronous/blob/release/README.md and simply put it on the trunk/README.md level in the subversion repo, that would help.

@ Dietmar: For tracking the bug fixing process: could you please add a component _Modelica_QuasiStationaryFundamentalWave or similar in the Modelica Trac system. Thanks.

Done.

Comment by dietmarw on 7 Nov 2013 09:34 UTC
Replying to [comment:2 beutlich]:

Maybe #1189 should be considered here.

I agree but it depends on the version of the MSL that this library will be included. I.e., if that version is one with conversion script that also this new library should be included with the more correct Modelica.Magnetic.QuasiStatic.FundamentalWave name. Otherwise it should be changed together later on.

Comment by christiankral on 7 Nov 2013 18:10 UTC
Replying to [comment:4 dietmarw]:

Replying to [comment:2 beutlich]:

Maybe #1189 should be considered here.
I agree but it depends on the version of the MSL that this library will be included. I.e., if that version is one with conversion script that also this new library should be included with the more correct Modelica.Magnetic.QuasiStatic.FundamentalWave name. Otherwise it should be changed together later on.

I agree, we should change QuasiStationary to QuasiStatic. The package naming for inclusion in the MSL shall be Modelica.Magnetic.QuasiStatic.FundamentalWave.

Comment by dietmarw on 8 Nov 2013 08:33 UTC
I only now see that there wouldn't be a name conflict with the other "QuasiStationary" library under Electrical. So in that case we could introduce the the new sublibrary already under the new more correct name Modelica.Magnetic.QuasiStatic.FundamentalWave. I suggest to update the name of the package "QuasiStatic.FundamentalWave" to before I set up the mirror which get's linked from modelica.org/libraries.
PS: Mind, this makes only sense if also the other "QuasiStationary" libraries are going to get renamed to "QuasiStatic" in the future of course.

Comment by christiankral on 8 Nov 2013 20:13 UTC

We will introduce Modelica.Magnetic.QuasiStatic.FundamentalWave. I will rename the package on the Modelica SVN. @ Dietmar: Could you please change the name of the component. Thanks
We will switch from Modelica.Electrical.QuasiStationary to Modelica.Electrical.QuasiStatic in a future release of MSL. This will then require a conversion script so it will be major MSL relase. I will make a note in #1189.

Comment by dietmarw on 8 Nov 2013 21:32 UTC
Replying to [comment:7 christiankral]:

We will introduce Modelica.Magnetic.QuasiStatic.FundamentalWave. I will rename the package on the Modelica SVN. @ Dietmar: Could you please change the name of the component. Thanks

Done.

Comment by christiankral on 10 Nov 2013 08:12 UTC
Renaming of package and directory structure performed by r7122

Comment by christiankral on 19 Dec 2013 14:58 UTC
Main integration step has been performed in 3cfd14d5f1894be8fb17f98c47b637368440f4cd.

Modified by ahaumer on 14 Jun 2014 11:00 UTC

Comment by christiankral on 3 Dec 2014 08:21 UTC
Restructured Interfaces and BaseClasses according to guidelines in 82dbef6dfd1a7829942c857a0ba883a49b5c6600.

Comment by dietmarw on 4 Dec 2014 10:09 UTC
Still missing evaluation and vote on inclusion.

Comment by christiankral on 2 Feb 2015 13:30 UTC
Updated documentation of examples.
Detected bug in the transformation from the quasi static into the rotor fixed reference frame of permanent magnet model.
Updated documentation and bug fix done in 29a2196a6cb875bbefa04fc8577b56c010f8f5c2.

Comment by christiankral on 31 Jul 2015 16:37 UTC
MapLib decided to include this library; thus the location of the library and name are OK.
Library is included in trunk such that it can be compiled into MSL 3.2.2

Modified by christiankral on 5 Aug 2015 19:43 UTC

Changelog modified by christiankral on 5 Aug 2015 19:43 UTC
Included Modelica.Magnetic.QuasiStatic.FundamentalWave in MSL

Modified by dietmarw on 22 Dec 2016 11:31 UTC


Charging Stations for E-Bikes

Description
There should be an Icon for Charging-Stations for E-Bikes in the map for bycicles.
Screenshots
No response

Hey! This is a topic for the id-tagging-schema Project https://github.com/openstreetmap/id-tagging-schema.
Please open a new issue there and add some background on tagging, usage and so on.
But please check the existing issues first, there are some that touch on that topic https://github.com/search?q=repo%3Aopenstreetmap%2Fid-tagging-schema+charging&type=issues
One question to answer will be, which Icon to choose. There is more info on existing icons that can be used in https://github.com/ideditor/schema-builder/blob/main/ICONS.md which is a project/repo related to the one linked before.
For this project, I will close the issue. (I cannot move them, unfortunately.)


WIP: Tor proxy support for wallet backends

Adds SOCKS5 proxy support for most wallet backends. Continuation of work started in PR #300.
.env needs new entries:
FUNDING_PROXY_HOST=localhost
FUNDING_PROXY_PORT=9050

and wallet endpoint must be a https onion address:
LND_REST_ENDPOINT=https://rvwj...onion:8081

Todo:

[x] Implement for all applicable backends
[ ] Stability testing
[ ] Webhooks via Tor

Codecov Report

Merging #678 (4e779ce) into main (f4e7d62) will increase coverage by 0.05%.
The diff coverage is 41.02%.

@@            Coverage Diff             @@
##             main     #678      +/-   ##
==========================================
+ Coverage   40.50%   40.55%   +0.05%
==========================================
  Files         206      207       +1
  Lines       10866    10892      +26
==========================================
+ Hits         4401     4417      +16
- Misses       6465     6475      +10

Impacted Files
Coverage Δ

lnbits/wallets/eclair.py
21.62% <12.50%> (+0.52%)
:arrow_up:

lnbits/wallets/lndrest.py
21.18% <37.50%> (+3.59%)
:arrow_up:

lnbits/wallets/spark.py
17.03% <50.00%> (+1.12%)
:arrow_up:

lnbits/wallets/proxy.py
55.55% <55.55%> (ø)

lnbits/settings.py
94.59% <100.00%> (+0.30%)
:arrow_up:

:mega: Codecov can now indicate which changes are the most critical in Pull Requests. Learn more

Closing now. To be reopened if someone resumes work on it.


[Bug Report]: resources/resource-group - ResourceGroupManagedByMismatch

Describe the bug
Azure defaults ResourceGroup.managedBy as null but the ResourceModule template defaults to empty string. It is also not possible to set null with this module.

If I check if empty and send null then I get another error:
InvalidTemplate - Long running operation failed with status 'Failed'.
     | Additional Info:'Deployment template validation failed: 'The template
     | resource 'RG-Workday' at line '1' and column '2529' is not valid:
     | Evaluation result of language expression
     | '[if(empty(parameters('managedBy')), null(), parameters('managedBy'))]'
     | is type 'Null', expected type is 'String'.. Please see
     | https://aka.ms/arm-functions for usage details.'.

To reproduce

Create a resource group through azure portal
Create bicep for this resource group

module ResourceGroup '.carml/resources/resource-groups/main.bicep' = {
  name: '${deployment().name}-ResourceGroup'
  params: {
    name: resourceGroupName
    location: resourceGroupLocation
  }
}

Deploy Bicep

The managed by property of the resource group cannot be changed from its current value '<null>'

Code snippet
No response
Relevant log output
{
  "code": "DeploymentFailed",
  "target": "/subscriptions/***",
  "message": "At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/arm-deployment-operations for usage details.",
  "details": [
    {
      "code": "ResourceGroupManagedByMismatch",
      "message": "The managed by property of the resource group cannot be changed from its current value '<null>'."
    }
  ]
}

This also happens to any Resource Group deployed using CARML modules with v <= 0.8.0, when trying to deploy again the same BICEP with CARML v >= 0.9.0 when this change has been introduced with PR https://github.com/Azure/ResourceModules/pull/2319 which was also erroneously marked as non-breaking change.. but as stated this breaks any existing deployment.

Any news on this?

I wonder if we should report this as a Resource Provider bug because I think the value should always be an immutable string. Alternatively, maybe there should be a ManagedResourceGroup module that separates this functionality out.
If you consume this module, I suggest removing the managedBy param.

I wonder if we should report this as a Resource Provider bug because I think the value should always be an immutable string. Alternatively, maybe there should be a ManagedResourceGroup module that separates this functionality out.
If you consume this module, I suggest removing the managedBy param.

I believe anyone using the module has been removing the managedBy param but this is a (painful) temporary workaround because it forces us to not use the stock modules: a proper fix should be available in CARML.

While I recallr reading the original issue, I didn't get around looking deeper into this. Sorry everybody, and thanks @coolhome to give it a shot. I just notified the module owner to take a look so that it's also included in AVM, and further commented on the PR. I'd hope that nullable helps us out.

Anyone know of a way to fix this without redeploying the Resource Group? I have a bunch of Resource Groups that have this issue.

Anyone know of a way to fix this without redeploying the Resource Group? I have a bunch of Resource Groups that have this issue.

That's a tough one. From the top of my head it would only come to mind to deploy 'new' resource groups and migrate all existing resources to those resource groups. :-/

Similar to @russellds ... in our case we updated core RG's some time ago and we have now discovered this issue, recreate is not an option so I assume it's now a 'live with it' or can Msft do anything on the backend?

Hey @AengusMo, for that I'd ask you to open a support ticket, as we don't have access to the backend - yet alone a customer's backend. :-/


When click on close at selected ithem, that not closed, that repeats

Hello, I am working on a project with vue and vuex. And my problem is when i try to delete a selected item, it is repeated instead of being deleted. So, when i click on close icon, the item have been repeted instead of been removed.
NOTE: You need to have more than one element selected to reoproduce this issue
npm version: 6.4.1
node version: 10.14.2
vue version: 2.6.10
Reproduction Link
https://jsfiddle.net/Sama_Dev/8tkab76q/
Expected behaviour
The expected behaviour is remove the item, but now it repeats that item instead of remove them.
Actual behaviour
The actual behaviour is that the item is repeated when i click on close icon.

Add track-by="value"

  <multiselect
      v-model="selected"
      :options="autonomousCommunities"
      :multiple="true"
      :close-on-select="true"
      label="text"
     track-by="value"
  >
  </multiselect>

{{ value  }}

Thanks, I added track-by="value" and works well.
Thanks

Now first item is not removable and it repeats the same on closing it


clicking "run unity" on a project that was removed from disk doesnt do anything

if manually had removed the project folder, unity version for that project doesnt start

not a big problem : )


[WIP] Gps exploration

When I attempt to run this on my device I get the following error:
I (15183) frog_sensor: Initializing the device
Failed to parse the sentence!
  Type: PMTK0 (0)
Failed to parse the sentence!
  Type: PMTK0 (0)
Failed to parse the sentence!
  Type: PMTK0 (0)
GPRMC sentence
  Longitude: 0, Latitude: 0
I (15263) frog_sensor: SCD30 Firmware Version: 3.2
I (15263) frog_sensor: Starting continuous measurement
E (16183) golioth_coap_client: DNS lookup failed for destination ainfo coap.golioth.io. error: 202
I (16183) golioth_coap_client: Ending session
E (16263) i2cdev: Could not take port mutex 0ESP_ERROR_CHECK failed: esp_err_t 0x107 (ESP_ERR_TIMEOUT) at 0x4037cfac
0x4037cfac: _esp_error_check_failed at /Users/keenan/esp/esp-idf/components/esp_system/esp_err.c:42

file: "./main/app_main.c" line 75
func: scd30_task
expression: scd30_trigger_continuous_measurement(&dev, 0)

abort() was called at PC 0x4037cfaf on core 1
0x4037cfaf: _esp_error_check_failed at /Users/keenan/esp/esp-idf/components/esp_system/esp_err.c:43

Backtrace:0x40375c76:0x3fca49f00x4037cfb9:0x3fca4a10 0x40384c5a:0x3fca4a30 0x4037cfaf:0x3fca4aa0 0x42007639:0x3fca4ac0 0x40380d15:0x3fca4b30
0x40375c76: panic_abort at /Users/keenan/esp/esp-idf/components/esp_system/panic.c:402

0x4037cfb9: esp_system_abort at /Users/keenan/esp/esp-idf/components/esp_system/esp_system.c:128

0x40384c5a: abort at /Users/keenan/esp/esp-idf/components/newlib/abort.c:46

0x4037cfaf: _esp_error_check_failed at /Users/keenan/esp/esp-idf/components/esp_system/esp_err.c:43

0x42007639: scd30_task at /Users/keenan/Documents/GitHub/ribbit-network-frog-sensor/v4/software/main/app_main.c:75 (discriminator 1)

0x40380d15: vPortTaskWrapper at /Users/keenan/esp/esp-idf/components/freertos/port/xtensa/port.c:131

Interestingly it seemed to start working later after a few reboots. It seems like there must be a race condition initializing the I2C port per that error message above that sometimes works out.
Did you see this at all during your testing @akhilgupta1093 ?

Ok I think I see what is happening maybe. The other two sensors SCD30 and DS310 come from https://github.com/UncleRus/esp-idf-lib.
All of their i2c functions (read, write, etc) use these i2c helper functions from this subfolder in that project: https://github.com/UncleRus/esp-idf-lib/blob/master/components/i2cdev/i2cdev.h
For example, see the read function in the dps310 driver.
https://github.com/UncleRus/esp-idf-lib/blob/0b8a3a55802d367d7865af0bcbca9ac3cb993bdf/components/dps310/src/helper_i2c.c#L83-L95
Those functions use the helper function I2C_DEV_TAKE_MUTE, etc.
This is apparently because the default i2c driver in esp-idf is not thread safe (meaning it can cause issues if our concurrent threads are accessing it at the same time).
So I think the way to fix this would be to adapt the gps driver to use the same mutex helper functions used by the SCD30 and DPS310 devices.
This is a bit complicated though, and given we don't exactly plan on running this code, I'll leave it up to you whether you would like to fix this now or leave some comments as fixme for us or whoever comes in the future @akhilgupta1093 .

@keenanjohnson Oh gosh, thanks for finding that out. I've just added some comments disclaiming the issue. If we need to cross this bridge sometime in the future, I'm happy to re-take this on.


__GetSecret seems not to work

I've tried to use KeyVault icw Azure Load Testing, following the steps described at https://docs.microsoft.com/en-us/azure/load-testing/how-to-parameterize-load-tests#secrets, but the __GetSecret seems not to be working.
What I did was:

Enabled the system assigned managed identity for my Load Testing resource
Create a KeyVault with a secret
Added the SMI to the KeyVault Access Policies with all Secret Permissions
At the test parameters configured a Secret with Name = ClientId and Secret = https://.vault.azure.net/secrets/ClientId/
Added a User Defined Variables Config Element to my JMeter Test Plan and a variable with Name = ClientId and Value =
${__GetSecret(ClientId)}
In my request use ${ClientId}

After running my Test I found the string "${__GetSecret(ClientId)}" iso the secret in the log files of the webserver.
So it looks like __GetSecret did not work.
Searching the internet for "__GetSecret " also seem to return only the Azure Load Testing page.
Is there something special needed to get this working?
AB#1455476

Hi @WouterSlob .. thanks for reporting this and the detailed steps that you have done to enable authentication scenario. We are looking into this issue and will get back with some information soon.

@kusweta Can you please check this?

Hi @WouterSlob, we have fixed the issue with GetSecret. Could you please try running your test now and confirm if this is working for you?

Hi @ninallam, do I have to recreate my Azure Load Testing resource?
Because at the moment tests are not running at all anymore.
I've already tried to create a new test without __GetSecret and that one stays in status "Executing", but no requests are send at all.
After cancelling the test status stays in "Cancelling", although I got a "Test run stopped." confirmation in the portal.
Also

@issacnitin Can you please check this?

@ninallam / @issacnitin : any update on this? Already tried re-creating the resource and that did not work. Also tests in another resource that used to work are not starting anymore.

Hi @WouterSlob could you please check if you are still facing this issue?

I've created #33 for the problems with execution. I'll try to test __GetSecret in a different way.

__GetSecret works now. Thnx!


Word list is not comprehensive?

nice job on the app. I tried the wordle_game.py , it could not find a couple of words that I tried (gloat and glean)- you might want to use a different dictionary ? Assume you are using the same dictionary for the solver too?

Both of these words are in the english_words_alpha_dwyl.txt file. If you're using the CLI, just type !extended to pull that (bigger, more complete) list instead.

Ah I missed that in the readme, thanks- think that should be the default. the small list is too small and the larger list is not that large


Set width/heigt for icon/image

Hi.
Thanks you for your library.
It's very great.
I have a problem.
How do i can set width/heigt for icon/image ?

Sorry, I did not get a notification about this new issue.
With the new version now it is possible to have Views with any size inside the CircleLayout. From now on you can use any kind of Views as a child also. Note that I have migrated the project to use Android Studio. I am bout to upload the lib to mavencentral also, to make it available via gradle.


feat(rust): return error from process function after kex is completed

Merged as https://github.com/ockam-network/ockam/pull/1150