Blank screen instead of web ui/ login page

Describe the problem
(self-hosted)I got a blank screen instead of web ui / login page. All components are up as in the below screenshot. Below logs from docker compose logs management - no errors. Auth0 configured, I don't see any problems in Auth0 logs either.
Expected behavior
Web UI / login page after enter the domain
infrastructure_files-management-1  | time="2023-06-30T13:25:20Z" level=info msg="loaded OIDC configuration from the provided IDP configuration endpoint: https://dev-domain.eu.auth0.com/.well-known/openid-configuration"
infrastructure_files-management-1  | time="2023-06-30T13:25:20Z" level=info msg="overriding HttpConfig.AuthIssuer with a new value https://dev-domain.eu.auth0.com/, previously configured value: https://dev-domain.eu.auth0.com/"
infrastructure_files-management-1  | time="2023-06-30T13:25:20Z" level=info msg="overriding HttpConfig.AuthKeysLocation (JWT certs) with a new value https://dev-domain.eu.auth0.com/.well-known/jwks.json, previously configured value: https://dev-domain.eu.auth0.com/.well-known/jwks.json"
infrastructure_files-management-1  | 2023-06-30T13:25:20Z INFO management/server/telemetry/app_metrics.go:161: enabled application metrics and exposing on http://<IP_ADDRESS>:8081
infrastructure_files-management-1  | 2023-06-30T13:25:20Z INFO management/server/account.go:671: single account mode enabled, accounts number 0
infrastructure_files-management-1  | 2023-06-30T13:25:20Z INFO management/cmd/management.go:233: running gRPC backward compatibility server: [::]:33073
infrastructure_files-management-1  | 2023-06-30T13:25:20Z INFO management/cmd/management.go:265: running HTTP server and gRPC server on the same port: [::]:443
infrastructure_files-management-1  | 2023-06-30T13:25:30Z INFO management/server/account.go:858: warmed up IDP cache with 0 entries

docker ps
CONTAINER ID   IMAGE                          COMMAND                  CREATED          STATUS          PORTS                                                                      NAMES
7e7929628135   netbirdio/management:latest    "/go/bin/netbird-mgm…"   16 minutes ago   Up 16 minutes   <IP_ADDRESS>:33073->443/tcp, :::33073->443/tcp                                  infrastructure_files-management-1
37cbb2b87cc0   coturn/coturn                  "docker-entrypoint.s…"   16 minutes ago   Up 16 minutes                                                                              infrastructure_files-coturn-1
3e811b79f92c   netbirdio/signal:latest        "/go/bin/netbird-sig…"   16 minutes ago   Up 16 minutes   <IP_ADDRESS>:10000->80/tcp, :::10000->80/tcp                                    infrastructure_files-signal-1
d30dc26427ea   wiretrustee/dashboard:latest   "/usr/bin/supervisor…"   16 minutes ago   Up 16 minutes   <IP_ADDRESS>:80->80/tcp, :::80->80/tcp, <IP_ADDRESS>:443->443/tcp, :::443->443/tcp   infrastructure_files-dashboard-1```

can you drop the dashboard docker logs please ?

can you drop the dashboard docker logs please ?

Below this log actually shows my attempts to enter + refresh the page
infrastructure_files-dashboard-1  | my_ip - - [30/Jun/2023:15:25:28 +0000] "GET / HTTP/1.1" 304 0 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36" "-" infrastructure_files-dashboard-1  | my_ip - - [30/Jun/2023:15:25:28 +0000] "GET / HTTP/1.1" 304 0 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36" "-" infrastructure_files-dashboard-1  | my_ip - - [30/Jun/2023:15:25:29 +0000] "GET / HTTP/1.1" 304 0 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36" "-" infrastructure_files-dashboard-1  | my_ip - - [30/Jun/2023:15:25:29 +0000] "GET / HTTP/1.1" 304 0 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36" "-" infrastructure_files-dashboard-1  | my_ip - - [30/Jun/2023:15:25:29 +0000] "GET / HTTP/1.1" 304 0 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36" "-" infrastructure_files-dashboard-1  | my_ip - - [30/Jun/2023:15:25:29 +0000] "GET / HTTP/1.1" 304 0 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36" "-" infrastructure_files-dashboard-1  | my_ip - - [30/Jun/2023:15:25:29 +0000] "GET / HTTP/1.1" 304 0 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36" "-" infrastructure_files-dashboard-1  | my_ip - - [30/Jun/2023:15:25:30 +0000] "GET / HTTP/1.1" 304 0 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36" "-" infrastructure_files-dashboard-1  | my_ip - - [30/Jun/2023:15:25:30 +0000] "GET / HTTP/1.1" 304 0 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36" "-" infrastructure_files-dashboard-1  | my_ip - - [30/Jun/2023:15:25:30 +0000] "GET / HTTP/1.1" 304 0 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36" "-" infrastructure_files-dashboard-1  | my_ip - - [30/Jun/2023:15:25:30 +0000] "GET / HTTP/1.1" 304 0 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36" "-" infrastructure_files-dashboard-1  | my_ip - - [30/Jun/2023:15:25:30 +0000] "GET / HTTP/1.1" 304 0 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36" "-" infrastructure_files-dashboard-1  | my_ip - - [30/Jun/2023:15:25:30 +0000] "GET / HTTP/1.1" 304 0 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36" "-" infrastructure_files-dashboard-1  | my_ip - - [30/Jun/2023:15:25:30 +0000] "GET / HTTP/1.1" 304 0 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36" "-" infrastructure_files-dashboard-1  | my_ip - - [30/Jun/2023:15:25:31 +0000] "GET / HTTP/1.1" 304 0 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36" "-" infrastructure_files-dashboard-1  | my_ip - - [30/Jun/2023:15:25:31 +0000] "GET / HTTP/1.1" 304 0 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36" "-"

yes i got the same error as you it's 304, the only solution for now is to revert to the old version 0.27.1

on 0.27.1 theres still same problem

on 0.27.1 theres still same problem :/

Ok its weird but after 12h looks like it works but now I have "Login Error: User state: Unauthenticated"

Ok, fixed there Token Endpoint Authentication Method wasnt "None".

Ok, fixed there Token Endpoint Authentication Method wasnt "None".

What's the ENV variable that you fixed ?

+1,so how did you solved it?

@hpoznanski can you post how you solved this problem?


padding issue for CausalConv1d

https://github.com/lucidrains/audiolm-pytorch/blob/main/audiolm_pytorch/soundstream.py#L303-L314
In CausalConv1d class, the number of padding should be (dilation * (kernel_size - 1) + 1 - stride), not just (dilation * (kernel_size - 1)).
Without this correction, the soundstream model does not converge.
Hope this helps you.
class CausalConv1d(nn.Module):
    def __init__(self, chan_in, chan_out, kernel_size, **kwargs):
        super().__init__()
        kernel_size = kernel_size
        dilation = kwargs.get('dilation', 1)
        stride = kwargs.get('stride', 1)
        self.causal_padding = dilation * (kernel_size - 1) + 1 - stride
        self.conv = nn.Conv1d(chan_in, chan_out, kernel_size, **kwargs)

    def forward(self, x):
        x = F.pad(x, (self.causal_padding, 0), mode='reflect')
        return self.conv(x)

Hey, can you share your training graphs\results with your correction and without?

@YoungloLee thank you dearly for this! i believe you are correct and this is a huge misstep on my part :pray:

Also, i just set the padding mode to be 'reflect' following FAIR's EnCodec implementation

maybe i'm totally worng but doesn't reflect padding mode make it not streaming?

Also, i just set the padding mode to be 'reflect' following FAIR's EnCodec implementation

maybe i'm totally worng but doesn't reflect padding mode make it not streaming?

I think it does not matter for streaming.

Hey, doesnt it affects the CausalTransposedConv1d as well if so ?

shouldnt this be
class CausalConv1d(nn.Module):
    def __init__(self, chan_in, chan_out, kernel_size, **kwargs):
        super().__init__()
        kernel_size = kernel_size
        dilation = kwargs.get('dilation', 1)
        stride = kwargs.get('stride', 1)
        self.causal_padding = (dilation * (kernel_size - 1))  // stride
        self.conv = nn.Conv1d(chan_in, chan_out, kernel_size, **kwargs)

    def forward(self, x):
        x = F.pad(x, (self.causal_padding, 0), mode='reflect')
        return self.conv(x)

since you need to adjust your padding by a factor of stride, not a offset


[SMALLFIX] Fix Findbugs issues with the Mesos framework

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins/job/Tachyon-Pull-Request-Builder/6474/
Test PASSed.

@apc999 @calvinjia @jsimsa

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins/job/Tachyon-Pull-Request-Builder/6479/
Test PASSed.

+1 LGTM. Thanks for fixing developer build!


Conditionally bypass CSRF validation

See https://forum.getkirby.com/t/uniform-deactivate-csrf-check-for-headless-usecases/20643

I think it's a problem with your dependencies, and not with the code in the PR?

Yes and thanks for the PR! I'll get to it eventually when I find the time.


Make the script installable

This issue is self-descriptive

As this is a complete python script, we can directly add a requirements.txt file to install the dependencies with the exact versions.
I want to work on this issue, assign me this issue. @miquelt9

As this is a complete python script, we can directly add a requirements.txt file to install the dependencies with the exact versions.
I want to work on this issue, assign me this issue. @miquelt9

I assigned it, thanks for contributing.
However, please, be aware that we must find a new way to set the configuration, as the one I made it's actually not good (in my opinion).
So how do you see to implement them as options when runned on the terminal?

ok . For now,  I will add the requirements.txt file and made changes to the readme for the installation .
"set the configuration" by this if u mean adding the source path and destination path and other things  we can achieve by using a python library like argparse or optparse . we can work on it.   @miquelt9

Thanks for your help @yaswanthsaivendra, that will make the script requirements easier to install! I haven't heard about libraries as argparse (i think it will be pretty useful, may it could take the configuration from a file as doxygen do?).
However i was looking for something more like this setup.py so it can be exacuted in any folder whitout have to move the script around.


Update sp-grantlogin-transact-sql.md

Based on CHECK PERMISSIONS in sp_grantlogin

@VanMSFT
IMPORTANT: When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

Thanks, @IAMJDA.
Adding @AndreasWolter to help confirm.

correct
#sign-off


Cookies with "Domain=localhost" aren't getting stored in session file

If I use httpie to make a call that returns cookies to a localhost address, such as:
http --session=./session.json POST http://localhost:9081/cookieTest

which sends back a header like this:
Set-Cookie: c1=test; Max-Age=298; Expires=Tue, 15-Aug-2017 19:17:58 GMT; Domain=localhost; Path=/; HttpOnly

but the session.json only includes the following:
{
    "__meta__": {
        "about": "HTTPie session file",
        "help": "https://httpie.org/docs#sessions",
        "httpie": "0.9.9"
    },
    "auth": {
        "password": null,
        "type": null,
        "username": null
    },
    "cookies": {},
    "headers": {
        "Accept": "application/json, */*"
    }
}

If I try this exact same process with the same code hosted at somedomain.com, it works perfectly.  For example:
http --session=./session.json POST http://somedomain.com/cookieTest

which sends back a header like this:
Set-Cookie: c1=test; Max-Age=298; Expires=Tue, 15-Aug-2017 19:17:58 GMT; Domain=somedomain.com; Path=/; HttpOnly

and the session.json includes the following:
{
    "__meta__": {
        "about": "HTTPie session file",
        "help": "https://httpie.org/docs#sessions",
        "httpie": "0.9.9"
    },
    "auth": {
        "password": null,
        "type": null,
        "username": null
    },
    "cookies": {
        "c1": {
            "expires":<PHONE_NUMBER>,
            "path": "/",
            "secure": false,
            "value": "test"
        }
    },
    "headers": {
        "Accept": "application/json, */*"
    }
}

Is there any way to get it to work with localhost? Or is this a bug?

It seems to be a behavior inherited from requests. Alsocookie is being recognized and parsed  if you don't setDomain, but not if domain is explicitly set to localhost.

Related #143

I just ran into the same problem (httpie not saving cookie in session when domain is set to localhost).
Is there a workaround within httpie?
The only way I can fix it is by not sending a domain in the cookie when serving from localhost:
$domain = (getenv('HTTP_HOST') == 'localhost' ? null : getenv('HTTP_HOST'));

'localhost' isn't valid for cookies. A valid domain name should be set.
HTTPie use (internally) a standard implementation for Cookies (CookieJar).
See https://curl.se/rfc/cookie_spec.html for more information. Short story, localhost is not a valid hostname.
What I would suggest is to avoid using "localhost" and rather set a valid domain like "project.dev" in your hosts file.
Hope that clarify.
regards,

Hi Ousret,
The Netscape cookie spec doesn't mention localhost. The IETF RFC 6265 that supersedes it also doesn't mention localhost, but it does to into more details regarding how the Domain in a set-cookie header should be handled by user agents:

First of all, in section 5.2: “[…] the user agent MAY ignore the Set-Cookie header field in its entirety.” So, if httpie wants to ignore or block a cookie for any reason, it may.
There are two parts of the spec related to the definition of valid hostnames:

[Section <IP_ADDRESS>](https://httpwg.org/specs/rfc6265.html#rfc.section.<IP_ADDRESS>), which mentions:

For security reasons, many user agents are configured to reject Domain attributes that correspond to "public suffixes". For example, some user agents will reject Domain attributes of "com" or "co.uk". (See Section 5.3 for more information.)](https://httpwg.org/specs/rfc6265.html#sane-domain)

Section 5.3.5, which goes into more detail:

A "public suffix" is a domain that is controlled by a public registry, such as "com", "co.uk", and "pvt.k12.wy.us". This step is essential for preventing attacker.com from disrupting the integrity of example.com by setting a cookie with a Domain attribute of "com". Unfortunately, the set of public suffixes (also known as "registry controlled domains") changes over time. If feasible, user agents SHOULD use an up-to-date public suffix list, such as the one maintained by the Mozilla project at http://publicsuffix.org/.

If you check the list of public suffixes, localhost is not included. The security concern that a cookie set for localhost may result in an attack from a subdomain of localhost is not valid, because localhost is inherently designed for local network use only.
Httpie may decide to block cookies for localhost, at its discretion (perhaps because of design principles) but it shouldn't do so for the reason that “localhost isn't valid for cookies,” because that statement is clearly false.
The curl CLI and all GUI browsers support setting cookies with domain=localhost. You can test this:

Set up a server on localhost that responds with a domain set to localhost.
Use curl to make a http request while using a CookieFile:

curl -c cookies.txt http://localhost

Hi Ousret,
The Netscape cookie spec doesn't mention localhost. The IETF RFC 6265 that supersedes it also doesn't mention localhost, but it does go into more detail regarding how the Domain in a Set-Cookie header should be handled by user agents:

First of all, in section 5.2: “[…] the user agent MAY ignore the Set-Cookie header field in its entirety.” So, if httpie wants to ignore or block a cookie for any reason, it may.
There are two parts of the spec related to the definition of valid domains:

Section <IP_ADDRESS> refers to the requirements for servers using the Set-Cookie header. Related to this issue is this note:

For security reasons, many user agents are configured to reject Domain attributes that correspond to "public suffixes". For example, some user agents will reject Domain attributes of "com" or "co.uk". (See Section 5.3 for more information.)

Section 5.3.5 goes into more detail:

A "public suffix" is a domain that is controlled by a public registry, such as "com", "co.uk", and "pvt.k12.wy.us". This step is essential for preventing attacker.com from disrupting the integrity of example.com by setting a cookie with a Domain attribute of "com". Unfortunately, the set of public suffixes (also known as "registry controlled domains") changes over time. If feasible, user agents SHOULD use an up-to-date public suffix list, such as the one maintained by the Mozilla project at http://publicsuffix.org/.

If you check the list of public suffixes, localhost is not included. The security concern that a cookie set for localhost may result in an attack from a subdomain of localhost is not valid, because localhost is inherently designed for local network use only.
Httpie may decide to block cookies for localhost at its discretion (perhaps because of design principles), but it shouldn't do so for the reason that “localhost isn't valid for cookies,” because that statement is false. The curl CLI supports using localhost for cookie domains. Chrome supports using localhost for cookie domains. Firefox supports using localhost for cookie domains. httpie is the only user agent I know that doesn't.
You can test that curl supports localhost cookies like this:

Set up a server on localhost that responds with a cookie with domain=localhost, e.g., using a PHP script containing:

setcookie("testcookie", "testvalue", time() + 3600, "/", "localhost", false, true);

Use curl to make an HTTP request while using a CookieJar:

curl -c cookies.txt http://localhost/set_cookie.php

Confirm the CookieJar contains the saved cookie:

❯ cat cookies.txt
# Netscape HTTP Cookie File
# https://curl.se/docs/http-cookies.html
# This file was generated by libcurl! Edit at your own risk.

#HttpOnly_.localhost TRUE / FALSE<PHONE_NUMBER> testcookie testvalue

Test the cookie is sent to the server by using a script that reads cookies and prints them, e.g., a PHP script containing echo json_encode($_COOKIE);:

curl -b cookies.txt http://localhost/read_cookie.php
{"testcookie":"testvalue"}

TL;DR:

httpie should block cookies with a domain set to any public suffixes.
localhost is not a public suffix.
All user agents (except httpie) support cookies with a domain set to localhost.

Sorry for the long comment, I wanted to get it right. ☺
PS: .dev should not be used for local development because it is a TLD. .local should not be used because it conflicts with Multicast DNS. If you don't want to use localhost to access a locally-running server, you should use .test, which is a reserved TLD intended for usage in software testing.

Great & pertinent analysis. I was wrong then, Indeed localhost is not a public suffix and it "could" be considered for cookie grabbing.
Now, as I said, HTTPie depends on external libraries (incl base for standard library Python) for this:
from requests.cookies import RequestsCookieJar, remove_cookie_by_name

And the standard library does handle this case. Either HTTPie drop the standard library or somehow "circumvent" the said limitation.
Now as you said, HTTPie is free of "not carrying" about this domain. I don't have strong opinion on the topic.

.dev should not be used for local development because it is a TLD. .local should not be used because it conflicts with Multicast DNS.

I merely said that as a solution to unblock this. Not to state a standard way of doing things. .test it is then.
So, given the tangible case, I am reopening it.
The project owner can decide whether he want to pursue this or not.
regards,

Do you have any evidence that HTTPie is the only user agent not accepting this?
And this what version Chrome and Firefox allowed this? because I firmly remember them to ignore cookie with domain=localhost.

I created a test case in pure python using the requests module, and indeed it does not accepts cookies with domain=localhost. So, it's not a bug in httpie!
There is some discussion at pfs/requests issue #5977 which passes the blame to Python's CookieJar.extract_cookies:

I don't think this is actually request's bug. It looks like Python's CookieJar.extract_cookies doesn't parse them properly.

The python/cpython issue #90233 is tracking this:

Apparently, CookieJar.extract_cookies doesn't process cookies form local domains which explicitly set domain in Set-Cookie header. That means that headers with domain specified, like "Set-Cookie: foo=baz; Domain=localhost;", are ignored.

And has apparently been resolved with PR #30108: “ bpo-46075: Allow for explicit domains in CookieJar” in 2022, included in python v3.11. However, I'm using v3.12 and the issue still exists, so perhaps I've followed up the wrong branch of issues?
Once I realized this is a python bug, it's easy to find much discussion of it online, and everyone has different ways of resolving it. One example is this code in the Pylons project that takes localhost as a special case. (I'm not familiar with python enough to know if this is a good example, just a guess). Perhaps httpie can do something similar?

Do you have any evidence that HTTPie is the only user agent not accepting this?

No, all I can say is that I've been developing on localhost since 2003, and cookies always work fine in every user agent I tried, until now.

The PR (in cpython) mentioned does not fix the "issue".
The example code does fix this properly by subclassing the original cookie policy, but just for the "localhost" case. It is worthwhile to be considered.

I may consider adding this to Niquests directly, and thus making this issue fixed in #1531
regards,

It should be published in the next minor of Niquests.
Then, if linked PR is merged, it will be fixed / closed automatically.


Embedded Java release should be upgraded

Chef Server Version
14.7.13-1
Platform Details
Ubuntu Bionic
Configuration
N/A
Scenario
Embedded Java version is vulnerable to https://nvd.nist.gov/vuln/detail/CVE-2021-2341
Steps to Reproduce
$ /opt/opscode/embedded/open-jre/bin/java --version
openjdk 11.0.11 2021-04-20
OpenJDK Runtime Environment AdoptOpenJDK-11.0.11+9 (build 11.0.11+9)
OpenJDK 64-Bit Server VM AdoptOpenJDK-11.0.11+9 (build 11.0.11+9, mixed mode)

Expected Result
A later release (such as 1.11.0_12)
Actual Result
Seen above

This was completed in 14.9


Review noveljs-core

:boom: Breaking Change

remove Querier#map(), querier is just for quering
Source#getPage() won't check the existence of page-id, since you have to use Source#hasPage() to check it first

:house: Internal

remove unnecessary types
adjust class Matcher into generic class Matcher<Target>
adjust class Querier info generic class Querier<Target, Result>

Codecov Report

Merging #7 into dev will not change coverage.
The diff coverage is 100%.

@@         Coverage Diff         @@
##            dev     #7   +/-   ##
===================================
  Coverage   100%   100%
===================================
  Files        18     18
  Lines       423    423
  Branches     78     78
===================================
  Hits        423    423

Impacted Files
Coverage Δ

packages/noveljs-core/src/main/index.ts
100% <ø> (ø)
:white_check_mark:

...ges/noveljs-core/src/main/queriers/RegexQuerier.ts
100% <100%> (ø)
:white_check_mark:

packages/noveljs-core/src/main/utils/Source.ts
100% <100%> (ø)
:white_check_mark:

packages/noveljs-core/src/main/utils/Page.ts
100% <100%> (ø)
:white_check_mark:

...es/noveljs-core/src/main/queriers/EntireQuerier.ts
100% <100%> (ø)
:white_check_mark:

...ges/noveljs-core/src/main/matchers/RegexMatcher.ts
100% <100%> (ø)
:white_check_mark:

...ages/noveljs-core/src/main/queriers/HTMLQuerier.ts
100% <100%> (ø)
:white_check_mark:

packages/noveljs-core/src/main/queriers/Querier.ts
100% <100%> (ø)
:white_check_mark:

...kages/noveljs-core/src/main/queriers/UrlQuerier.ts
100% <100%> (ø)
:white_check_mark:

packages/noveljs-core/src/main/utils/Field.ts
100% <100%> (ø)
:white_check_mark:

... and 4 more

Continue to review full report at Codecov.

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


cmake: support multilib

Most Linux distros put libraries into lib64 on amd64, so let's make it configurable.

@junghans can you change this pull request to point at master instead of stable?

@chuckatkins please let me know if you have any concerns about this

ping @chuckatkins

Using the GNUInstallDirs module would give a more robust approach and handle more cases than you've accounted for here.  See https://cmake.org/cmake/help/v3.6/module/GNUInstallDirs.html .  Basically include it at the top level, then the install commands would look like:
install(TARGETS Foo
  RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
  LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
  ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
)

@chuckatkins: Done!

@chuckatkins: Please review again!

@chuckatkins I'm going to go ahead and merge this in the name of progress, but please do look it over when you get a chance?  Thanks!

Yes, I'm sorry for the delay.  It's fine.  Please proceed.

Chuck Atkins
Staff R&D Engineer, Scientific Computing
Kitware, Inc.
(518) 881-1183
On Mon, Sep 26, 2016 at 2:04 PM, streichler<EMAIL_ADDRESS>wrote:

@chuckatkins https://github.com/chuckatkins I'm going to go ahead and
merge this in the name of progress, but please do look it over when you get
a chance? Thanks!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/StanfordLegion/legion/pull/167#issuecomment-249648451,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AATihy2BMQRY_Vv5YWpHRywnSKVFjd-7ks5quAkygaJpZM4J0ImO
.


Add Caffe Parser Dilation support

Signed-off-by: Keith Mok<EMAIL_ADDRESS>Change-Id: I3a85de2d082d489fbf5a775c2ae551080d189294

Hi Keith Mok,
Thank you very much for your contribution to ArmNN, we would really love to review it and merge it.
However, instead of a pull request, we expect a commit in Gerrit. You should create a Gerrit review account at mlplatform.org and make your contribution there. You can use your GitHub credentials when creating your account.
The process for contributing to ArmNN is outlined in this Contributor Guide.
Please let us know if you find any issue.
Thank you very much.
Kindest regards

moved to https://review.mlplatform.org/


fix: correct error source position in json report

fix for issue #1894

Do you mind adding a snapshot test for the generated JSON? Thanks.

@antfu
Hope it is ok.
Not familiar with sourcemap algorithm.
The test concept is set 2 sourcemap (with/without 2 line comments)
and the json report will have the line number difference

@antfu
<EMAIL_ADDRESS>where is this from ?


Fixing ClassPathSearch for stream sort behaviour in java 1.8.0_05-b13

Thanks for your contribution @quilombodigital. I'll merge this pull request soon.


Fixed ColorToHex/HexToColor

Order of RGBA in hex codes was inverted, this fix that. And ColorToHex without alpha now returns a 6 length hex code instead of 8.

Thanks for the fix, not sure how that slipped through.


DashR app

you will finish your dashr ensambling all the parts of the app all your team created for IA2.

This is related to https://github.com/UBC-MDS/music_explorer_r


from six.moves import http_client ImportError: No module named moves

Python : 2.7.14
six : 1.9.0 & 1.11.0(tried on both)
OS : mac(10.13.3) & ubuntu(16.04) [tried on both]
On trying to import six.moves although moves is there in six module(confirmed it by output of dir(moves)) but showing ImportError .
Output of dir(moves) after importing it

['BytesIO', 'Iterator', 'MAXSIZE', 'Module_six_moves_urllib', 'Module_six_moves_urllib_error', 'Module_six_moves_urllib_parse', 'Module_six_moves_urllib_request', 'Module_six_moves_urllib_response', 'Module_six_moves_urllib_robotparser', 'MovedAttribute', 'MovedModule', 'PY2', 'PY3', 'StringIO', '_LazyDescr', '_LazyModule', '_MovedItems', '_SixMetaPathImporter', 'author', 'builtins', 'doc', 'file', 'name', 'package', 'path', 'version', '_add_doc', '_assertCountEqual', '_assertRaisesRegex', '_assertRegex', '_func_closure', '_func_code', '_func_defaults', '_func_globals', '_import_module', '_importer', '_meth_func', '_meth_self', '_moved_attributes', '_print', '_urllib_error_moved_attributes', '_urllib_parse_moved_attributes', '_urllib_request_moved_attributes', 'urllib_response_moved_attributes', 'urllib_robotparser_moved_attributes', 'absolute_import', 'add_metaclass', 'add_move', 'advance_iterator', 'assertCountEqual', 'assertRaisesRegex', 'assertRegex', 'b', 'binary_type', 'byte2int', 'callable', 'class_types', 'create_bound_method', 'exec', 'functools', 'get_function_closure', 'get_function_code', 'get_function_defaults', 'get_function_globals', 'get_method_function', 'get_method_self', 'get_unbound_function', 'indexbytes', 'int2byte', 'integer_types', 'iterbytes', 'iteritems', 'iterkeys', 'iterlists', 'itertools', 'itervalues', ## 'moves', 'next', 'operator', 'print', 'python_2_unicode_compatible', 'raise_from', 'remove_move', 'reraise', 'string_types', 'sys', 'text_type', 'types', 'u', 'unichr', 'viewitems', 'viewkeys', 'viewvalues', 'with_metaclass', 'wraps']

As it can be seen from result of dir(six) it's there in package but while importing it's not getting imported.

I can not replicate this problem...
$ python3
Python 3.6.4 (default, Mar  1 2018, 18:36:50)
[GCC 4.2.1 Compatible Apple LLVM 9.0.0 (clang-9<IP_ADDRESS>)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> from six.moves import http_client
>>> import six
>>> six.__version__
'1.11.0'

@cclauss I am on python2.7 looks like you are trying in 3.6.

I get identical results on both Python 2 and Python 3.  Can you paste your results here for the three commands above?

Hi! I have a similar problem, for which I have posted a question on stack overflow.
I also made a gist that reproduces the problem
I think the problem is a conflict between some appengine libraries, but any insight from you guys would be helpfull

@bgirschig in your gist, after the line virtualenv env && source env/bin/activate, can you please add the line python —version ; pip —version ?

sure!
I edited it, and these are my versions:

Python 2.7.12
pip 10.0.1

OK... Just as experiment, can you try Flask 1.0.2 and/or firebase-admin 2.12.0?

Here are the combinations I've tried:
Flask 1.0.2 and firebase_admin 2.11.0: same result
Flask 1.0.2 and firebase_admin 2.12.0: same result
Flask 0.12.2 and firebase_admin 2.11.0: same result

I have also made an other test that might be useful:
import six
print six.moves.http_client
# <module 'httplib' from '/usr/lib/google-cloud-sdk/platform/google_appengine/google/appengine/dist27/gae_override/httplib.pyc'>
from six.moves import http_client
# ImportError: No module named moves

print(six.moves.http_client)  # Print is a function in Python 3  ;-)
print(six.__version__)
import six
print(six.__version__)  # Is this the same or different?

I'm not sure where you want me to run this...
if I don't import six before the first line, it fails (as I would expect); but if I import six before your first line, it defeats the purpose of your third line...
Or are you suggesting that importing six two times would change which version gets imported ?
Also, i'm not sure why you mention that print is a function in python3... I run my script with dev_appserver, which I believe is using python 2.7 (I have runtime: python27 in app.yaml)

My mistake.  What does print(six.version) say?

Hi from the App Engine Python runtime team!  @bgirschig, can you confirm if this is still a problem?  Your gist seems to have disappeared, and I'm having trouble reproducing the issue.
Some context as to why this might be happening: in the GAE Python 2.7 runtime, importing httplib actually gives you google-cloud-sdk/platform/google_appengine/google/appengine/dist27/httplib.py, which looks for the GAE_USE_SOCKETS_HTTPLIB environment variable, and if found, imports a slightly modified version of the standard httplib.py, otherwise imports a shim that passes all HTTP requests through google.appengine.api.urlfetch.

@myelin FWIW, I still have this problem, at least with the dev_appserver.
The problem is triggered by adding grpcio to the libraries section in app.yaml (as instructed in the Python2 -> Python3 runtime migration documents). When this library is in the libraries section, imports of the form from six.moves import ... no longer work.

Do you have a local file named _six.py???

@cclauss Yes.

The old six might still be in RAM so reboot and try again.

FYI, the issue with Six and GAE dev_appserver has been confirmed in the issue linked above.
A workaround for the problem is adding this somewhere before the import is called
import six
six.moves.reload_module(six)


Arraylias integration - Signal -

Summary
Continuation of https://github.com/Qiskit/qiskit-dynamics/pull/197.
Details and comments
Current status.

~Use ArrayLike defined by numpy~. -> define an original ArrayLike.
Can pass tests in py310.
~Fail to pass test in JAX.~ -> pass tests in JAX
Add TestNumpyBase and distinguish between Numpy and JAX tests.

Thanks, Dan.
I response to your comments.

The test file test.dynamics.signals.test_signals_algebra.TestSignalAlgebraJaxTransformations is failing. Not sure what's going on here.

I haven't checked this test yet. The reason why the test fails is due to using Array().data. I modified at https://github.com/Qiskit/qiskit-dynamics/pull/208/commits/024acf90cef9695b281740fe1ea4ebf05ea401ea.

Should TestPulseToSignals also be updated to use TestNumpyBase? Not sure if this is necessary here.

I can't say for sure, but I think there is a case of adding TestNumpyBase. Should we  develop a pulse part in this PR?

Thanks, Dan.
I response to your comments.

The test file test.dynamics.signals.test_signals_algebra.TestSignalAlgebraJaxTransformations is failing. Not sure what's going on here.

I haven't checked this test yet. The reason why the test fails is due to using Array().data. I modified at 024acf9.

Should TestPulseToSignals also be updated to use TestNumpyBase? Not sure if this is necessary here.

I can't say for sure, but I think there is a case of adding TestNumpyBase. Should we develop a pulse part in this PR?

I just checked out your latest version and test.dynamics.signals.test_signals_algebra.TestSignalAlgebraJaxTransformations is now working. Something interesting to note: If I checkout main and run all of the tests in test.dynamics.signals.test_signals_algebra, it takes about 7 seconds, whereas on this PR branch it only takes about 3 seconds, so there is a nice speedup happening there! I ran all of the tests in test.dynamics.signals in both branches and there was about a 4 second difference which is fully accounted for by the speedup in test_signals_algebra. I'm guessing test_signals_algebra has more array operations happening than the other ones, so that would make sense.
I don't think it's necessary to develop the pulse part in this PR, that would be too much.


Remove "English or French essential" from language options

Description
When creating a job poster, one of the language options is "English or French essential". This is not a viable option for Talent Cloud, so we should remove it from the list of options.

@laurenoncoffee can you please confirm that removing this option is the correct approach? It's not a big deal, but it has come up (see #715) because language options impact other parts of the site.

Description from @xander-miller for #799 :
Remove english_or_french from language_requirements table in database. Will also recommend refactoring enum options like language_requirements out of database and into job post model so they are easier to update and manage.

Resolved by #824


[Error]: Supplied parameters do not match any signature of call target. & at Pipe._onclose

From @rwalus on October 6, 2016 19:34
Hi,
First sorry for my English.
I need your help.
Please look at my code is: https://github.com/rwalus/ionic2-app
I create a simple pipe that changes the string of characters to lowercase.
I run the app command:
$ ionic run ios
or
$ ionic emuate ios
I get an error:
ngc: Error: Error at /Users/rav/developer/mobile/ionic2-app/.tmp/pages/dashboard/dashboard.ngfactory.ts:328:86: Supplied parameters do not match any signature of call target.
    at check (/Users/rav/developer/mobile/ionic2-app/node_modules/@angular/tsc-wrapped/src/tsc.js:31:15)
    at Tsc.typeCheck (/Users/rav/developer/mobile/ionic2-app/node_modules/@angular/tsc-wrapped/src/tsc.js:86:9)
    at /Users/rav/developer/mobile/ionic2-app/node_modules/@angular/tsc-wrapped/src/main.js:33:23
    at process._tickCallback (internal/process/next_tick.js:103:7)
    at Function.Module.runMain (module.js:449:11)
    at startup (node.js:148:18)
    at node.js:405:3

[20:54:28]  ngc: Compilation failed

[20:54:28]  ngc failed:  NGC encountered an error

[20:54:28]  Error: NGC encountered an error
    at ChildProcess.<anonymous> (/Users/rav/developer/mobile/ionic2-app/node_modules/@ionic/app-scripts/dist/ngc.js:62:24)
    at emitTwo (events.js:100:13)
    at ChildProcess.emit (events.js:185:7)
    at maybeClose (internal/child_process.js:850:16)
    at Socket.<anonymous> (internal/child_process.js:323:11)
    at emitOne (events.js:90:13)
    at Socket.emit (events.js:182:7)
    at Pipe._onclose (net.js:484:12)

Error running ionic app script "build": Error: NGC encountered an error

npm

ERR!
 Darwin 16.0.0

npm
 ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "build"

npm ERR! node
 v5.12.0
npm
ERR! npm  v3.8.6

npm ERR!
 code ELIFECYCLE
npm ERR! ionic2-app@ build: `ionic-app-scripts build`
npm

ERR! Exit status 1
npm ERR!

npm ERR!
 Failed at the ionic2-app@ build script 'ionic-app-scripts build'.
npm
ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR!
 If you do, this is most likely a problem with the ionic2-app package,
npm ERR!
 not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     ionic-app-scripts build
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs ionic2-app
npm ERR!
 Or if that isn't available, you can get their info via:
npm
ERR!     npm owner ls ionic2-app
npm

ERR!
 There is likely additional logging output above.

npm ERR!
 Please include the following file with any support request:
npm ERR!     /Users/rav/developer/mobile/ionic2-app/npm-debug.log

Caught exception:
 undefined

Mind letting us know? https://github.com/driftyco/ionic-cli/issues

Logfile: /Users/rav/developer/mobile/ionic2-app/npm-debug.log
0 info it worked if it ends with ok
1 verbose cli [ '/usr/local/bin/node', '/usr/local/bin/npm', 'run', 'build' ]
2 info using<EMAIL_ADDRESS>3 info using<EMAIL_ADDRESS>4 verbose run-script [ 'prebuild', 'build', 'postbuild' ]
5 info lifecycle ionic2-app@~prebuild: ionic2-app@
6 silly lifecycle ionic2-app@~prebuild: no script for prebuild, continuing
7 info lifecycle ionic2-app@~build: ionic2-app@
8 verbose lifecycle ionic2-app@~build: unsafe-perm in lifecycle true
9 verbose lifecycle ionic2-app@~build: PATH: /usr/local/lib/node_modules/npm/bin/node-gyp-bin:/Users/rav/developer/mobile/ionic2-app/node_modules/.bin:/usr/local/bin:/Users/rav/.rvm/gems/ruby-2.3.0/bin:/Users/rav/.rvm/gems/ruby-2.3.0@global/bin:/Users/rav/.rvm/rubies/ruby-2.3.0/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/pgsql/bin:/Users/rav/.rvm/bin:/Users/rav/bin/
10 verbose lifecycle ionic2-app@~build: CWD: /Users/rav/developer/mobile/ionic2-app
11 silly lifecycle ionic2-app@~build: Args: [ '-c', 'ionic-app-scripts build' ]
12 silly lifecycle ionic2-app@~build: Returned: code: 1  signal: null
13 info lifecycle ionic2-app@~build: Failed to exec build script
14 verbose stack Error: ionic2-app@ build: `ionic-app-scripts build`
14 verbose stack Exit status 1
14 verbose stack     at EventEmitter.<anonymous> (/usr/local/lib/node_modules/npm/lib/utils/lifecycle.js:239:16)
14 verbose stack     at emitTwo (events.js:100:13)
14 verbose stack     at EventEmitter.emit (events.js:185:7)
14 verbose stack     at ChildProcess.<anonymous> (/usr/local/lib/node_modules/npm/lib/utils/spawn.js:24:14)
14 verbose stack     at emitTwo (events.js:100:13)
14 verbose stack     at ChildProcess.emit (events.js:185:7)
14 verbose stack     at maybeClose (internal/child_process.js:850:16)
14 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:215:5)
15 verbose pkgid ionic2-app@
16 verbose cwd /Users/rav/developer/mobile/ionic2-app
17 error Darwin 16.0.0
18 error argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "build"
19 error node v5.12.0
20 error npm  v3.8.6
21 error code ELIFECYCLE
22 error ionic2-app@ build: `ionic-app-scripts build`
22 error Exit status 1
23 error Failed at the ionic2-app@ build script 'ionic-app-scripts build'.
23 error Make sure you have the latest version of node.js and npm installed.
23 error If you do, this is most likely a problem with the ionic2-app package,
23 error not with npm itself.
23 error Tell the author that this fails on your system:
23 error     ionic-app-scripts build
23 error You can get information on how to open an issue for this project with:
23 error     npm bugs ionic2-app
23 error Or if that isn't available, you can get their info via:
23 error     npm owner ls ionic2-app
23 error There is likely additional logging output above.
24 verbose exit [ 1, true ]

My current version packages:
node: 5.12.0
npm: 3.8.6
ionic : 2.1.0
os: darwin x64
angular-cli: 1.0.0-beta.16

Please help solve the patient bug ...
Thanks for the help.
Copied from original issue: driftyco/ionic-cli#1483

From @otruffer on October 12, 2016 11:45
Thanks so much @sameera207! For anyone interested:
If you're using ionic 2 up from rc0 and use ng2-translate and get a lot of "Supplied parameters do not match any signature of call target." at ngfactories the solution is to replace
{{ 'text' | translate }}
with
{{ 'text' | translate:{value: null} }}
for the time being.

From @sameera207 on October 9, 2016 9:0
hey @rwalus ,
I had the same issue with ionic2 rc.0 today and I somehow managed to get it working 😄 .
So the issue I found was that, when we use the generator to create a pipe (I believe you also used the generator or got the code from example.) , your method signature looks like this
transform(value, args).
this means, the method expects 2 parameters.  However when you call pipe via
{{ name | lowercase }}, you essentially pass only one parameter (name) and hence the error happens.
Change your pipe code to
transform(value) and it should work (to have only one parameter).
It worked for me. Hope this helps
cheers
Sam

From @rwalus on October 12, 2016 16:52
@sameera207 thx so much!
transform(value, args)

this means, the method expects 2 parameters. However when you call pipe via

omg.. it's true! I think the second parametr used by the generator should be optional :)

From @lincolnthree on October 26, 2016 20:42
Same issue here.

@rwalus, @lincolnthree,
ngc is really strict and the error messages are not great. The best bet is to just dig in and try to figure it out. Unfortunately, we can't do anything about this other than lobby the Angular team to improve it, which we are doing.
Thanks,
Dan

hey,
i have this same issue
> [02:39:58]  lint finished in 1.54 s
> [02:40:08]  Error: Error at C:/Users/adirz/myapps/sceSchedule/.tmp/pages/courses-page/courses-page.ts:44:7
>
> [02:40:08]  Supplied parameters do not match any signature of call target.
> [02:40:08]  Error at C:/Users/adirz/myapps/sceSchedule/.tmp/pages/courses-page/courses-page.ngfactory.ts:736:29
> [02:40:08]  Supplied parameters do not match any signature of call target.
> [02:40:08]  Error at C:/Users/adirz/myapps/sceSchedule/.tmp/pages/courses-page/courses-page.ngfactory.ts:761:29
> [02:40:08]  Supplied parameters do not match any signature of call target.
>
> [02:40:08]  ngc failed

that's my course-page.ts
`import { Component } from '@angular/core';
import {NavController, LoadingController,AlertController} from 'ionic-angular';
import {CoursesData} from "../../providers/courses-data";
import {course} from "../../models/Course";
/*
Generated class for the CoursesPage page.
See http://ionicframework.com/docs/v2/components/#navigation for more info on
Ionic pages and navigation.
*/
@Component({
selector: 'page-courses-page',
templateUrl: 'courses-page.html'
})
export class CoursesPage {
public semester: string = 'SemA';
// public coursesA: Array = [];
public coursesB: Array = [];
public coursesC:Array=[];
public department:any;
public courseSelect: string = '';
public lectureSelect:string= '';
public coursesNames:Array=[];
public LecturesNames:Array=[];
public LectureCourses:Array=[];
public loader = this.loadingCtrl.create({
content: "Please wait...",
spinner: 'crescent'
});
public coursesA:Array=[];
public coursesAD:Array=[];
public coursesChose:Array=[];
constructor(public navCtrl: NavController,private loadingCtrl: LoadingController,public coursesData:CoursesData,public alertCtrl: AlertController) {
}
ionViewWillEnter() {
this.loader.present();
this.onSemChange("");
}
public getCourses(semester:any){
this.courseSelect='';
this.coursesNames=[];
this.LecturesNames=[];
this.coursesA=[];
console.log(semester);
this.coursesData.LoadData(semester)
.subscribe(courseList=> {
courseList.forEach(course=>{
var newCourse={
id_course:course.id_course ,
key_course:course.key_course,
course_name:course.course_name ,
course_type:course.course_type ,
start:course.start ,
end:course.end ,
point_course:course.point_course ,
day:course.Day,
class:course.class,
lecture_name:course.lecture_name
}
this.coursesA.push(newCourse);
this.coursesNames.push(course.course_name);
this.LecturesNames.push(course.lecture_name);
});
//this.courseSelect=this.coursesNames[0];
this.coursesAD=this.coursesA;
this.coursesNames = this.coursesNames.filter(function(elem, index, self) {
return index == self.indexOf(elem);
})
console.log(this.coursesA);
           this.loader.dismiss();
           console.log(this.coursesNames);
    // return this.coursesA;

    },err=>{
      console.log(err);
    });

}
public onCourseChange(){
console.log(this.courseSelect);
this.coursesA=this.coursesAD;
//getCourses();
this.coursesChose=[];
this.LecturesNames=[];
for (let course of this.coursesA) {
if (course.course_name==this.courseSelect){
this.coursesChose.push(course);
this.LecturesNames.push(course.lecture_name);
console.log(this.LecturesNames);
}
}
this.coursesA = this.coursesChose;
this.LecturesNames = this.LecturesNames.filter(function(elem, index, self) {
return index == self.indexOf(elem);
})
console.log(this.LecturesNames);
console.log(this.coursesChose);
}
public onLectureChange(){
this.coursesA=this.coursesAD;
//getCourses();
this.LectureCourses=[];
for (let course of this.coursesA) {
if (course.lecture_name==this.lectureSelect){
this.LectureCourses.push(course);
}
this.coursesA = this.LectureCourses;
}
}
public addDep(){}
public onSemChange(){
let semester=JSON.stringify({'semester':this.semester});
console.log(semester);
this.getCourses(semester);
}
}
`

Making the second parameter in the pipe solved the issue for me: transform(value, args?) instead of transform(value, args)
export class MyPipe {   transform(value, args?) {    ...   } }

@adowbor what do you mean? What is The transform? I dont have in my project

@adirzoari I had a custom pipe which was causing my build to fail. Are you using any pipes in your HTML code similar to what @jthoms1 posted above?

I did the same as @adowbor and it solved my problem as well.
goTo(page: string, args:Object) changed to -> goTo(page: string, args?:Object)


Two notebooks using DASK

When running two notebooks against the same dask instance, the first one to come to run processor will take over and the second one will simply hang until the first one is done.

cc: @bbockelm

Makes sense. http://distributed.dask.org/en/latest/priority.html
If the user doesn't specify a priority, then tasks are executed in a FIFO.  When the first processor starts, it'll generate all the tasks immediately.
We could do something like have the first 10 tasks boosted in priority so each processor has a few results quickly.  We could also seriously refactor the processor code so there's fewer idle tasks at a time.  However, it's never going to be a fair share.
Shouldn't this go to the Coffea project? I'm not sure there's much that Coffea-Casa can do here as this is just the implementation of the processor.


stm32: add memory-mapped mode for QUADSPI

Inspired by #68597, cc @FRASTM.

Thanks for implementing the memorymapped mode with the stm32 quadspi flash driver
Aborting the memory-mapped mode is required before erasing and writing (most of the quad flash cannot be written   with memcopy).

Did you check that access to the quad-NOR is still possible in erase/read/write with your change.
When I tried this sequence (in #68607), I realized that the samples/drivers/spi_flash fails after successive abort_memorymapped/set_memroymapped/abort_memorymapped. Did you run this example ?

Do you  confirm that the flash_stm32_qspi.c is also supporting  stm32h7 and stm32l4  series that have quad-spi peripherals ?

samples/drivers/spi_flash fails after successive abort_memorymapped/set_memroymapped/abort_memorymapped. Did you run this example ?

Yes, it works fine here after fixing the CR/CCR bug you noted. I have found another issue though: if the flash is already set to memory-mapped by e.g. openocd, the init is short-circuited, which causes any flash operations by the firmware to hang (semaphore not available). In my opinion this short-circuiting in flash_stm32_qspi_init() isn't even required:

either firmware needs the flash to remain memory-mapped (as setup by the bootloader) continuously, in which case it will simply not include the flash driver,
or the firmware uses the flash through flash_*() functions, in which case it doesn't care about it being memory-mapped during boot.

I can't imagine a firmware that requires continuous memory-mapping in order to boot, but then later also uses the flash_*() functions for the same device - do you agree that this use-case is rare enough that it can simply be ignored for now (more elaborate hacks can still be added later should anyone need them)?

Do you confirm that the flash_stm32_qspi.c is also supporting stm32h7 and stm32l4 series that have quad-spi peripherals ?

I initially developed it for a custom stm32l452 board, it works fine there. I don't have an h7 board with QSPI flash to test.

Cannot pass the samples/application_development/code_relocation_nocopy/ on stm32h747_disco or stm32h750b_dk.

As I said, I don't have h7 hardware, could you give some more information about the failures? A good candidate is the ATTR_MPU_EXTMEM QSPI placeholder region, it blocks execution access to the external flash and needs to be overridden with an ATTR_MPU_IO region the size of the actual attached flash, see https://github.com/zephyrproject-rtos/zephyr/pull/72339/commits/78c9ee7e054bdc7b6d9c2783756a7523f7aa265c.

Cannot pass the samples/application_development/code_relocation_nocopy/ on stm32h747_disco or stm32h750b_dk.

Not blocking on the current PR. Let's document clearly what ia available and enter a GH issue on the known issues.

Cannot pass the samples/application_development/code_relocation_nocopy/ on stm32h747_disco or stm32h750b_dk.

As I said, I don't have h7 hardware, could you give some more information about the failures? A good candidate is the ATTR_MPU_EXTMEM QSPI placeholder region, it blocks execution access to the external flash and needs to be overridden with an ATTR_MPU_IO region the size of the actual attached flash, see 78c9ee7.

Building  west build  -p auto -b stm32h750b_dk samples/application_development/code_relocation_nocopy/
with
	ext_memory: memory@90000000 {
		compatible = "zephyr,memory-region";
		reg = <0x90000000 DT_SIZE_M(64)>; /* max addressable area */
		zephyr,memory-region = "EXTMEM";
		/* The ATTR_MPU_EXTMEM attribut causing a MPU FAULT */
		zephyr,memory-attr = <( DT_MEM_ARM(ATTR_MPU_IO) )>;
	};

and
CONFIG_FLASH=y
CONFIG_STM32_MEMMAP=y

gives the following error:

...
[00:00:00.000,000]  flash_stm32_qspi: Memory-mapped NOR quad-flash at 0x90000000 (0x4000000 bytes)
*** Booting Zephyr OS build v3.6.0-3420-g69d57d068729 ***
Address of main function 0x800066d
[00:00:00.000,000]  os: ***** USAGE FAULT *****
[00:00:00.000,000]  os:   Attempt to execute undefined instruction
[00:00:00.000,000]  os: r0/a1:  0x0000000e  r1/a2:  0x00000000  r2/a3:  0x0000000f
[00:00:00.000,000]  os: r3/a4:  0x00000000 r12/ip:  0x00000000 r14/lr:  0x08000681
[00:00:00.000,000]  os:  xpsr:  0x61000000
[00:00:00.000,000]  os: Faulting instruction address (r15/pc): 0x90000000
[00:00:00.000,000]  os: >>> ZEPHYR FATAL ERROR 36: Unknown error on CPU 0
[00:00:00.000,000]  os: Current thread: 0x240007f0 (unknown)
[00:00:00.058,000]  os: Halting system
[00:00:00.000,000]  flash_stm32_qspi: Memory-mapped NOR quad-flash at 0x90000000 (0x4000000 bytes)
*** Booting Zephyr OS build v3.6.0-3420-g69d57d068729 ***
Address of main function 0x800066d
[00:00:00.000,000]  os: ***** USAGE FAULT *****
[00:00:00.000,000]  os:   Attempt to execute undefined instruction
[00:00:00.000,000]  os: r0/a1:  0x0000000e  r1/a2:  0x00000000  r2/a3:  0x0000000f
[00:00:00.000,000]  os: r3/a4:  0x00000000 r12/ip:  0x00000000 r14/lr:  0x08000681
[00:00:00.000,000]  os:  xpsr:  0x61000000
[00:00:00.000,000]  os: Faulting instruction address (r15/pc): 0x90000000
[00:00:00.000,000]  os: >>> ZEPHYR FATAL ERROR 36: Unknown error on CPU 0
[00:00:00.000,000]  os: Current thread: 0x240007f0 (unknown)
[00:00:00.058,000]  os: Halting system
...
And the STM32CubeProgrammer shows 0xFF   (blank sector)  at 0x90000000

Since I didn't see any complaints, I've also removed the hack in flash_stm32_qspi_init() now.

And the STM32CubeProgrammer shows 0xFF (blank sector) at 0x90000000

Are you sure the external flash programming worked then?

And the STM32CubeProgrammer shows 0xFF (blank sector) at 0x90000000

Are you sure the external flash programming worked then?

Yes, with the STM32CubeProgrammer from https://github.com/zephyrproject-rtos/zephyr/pull/68377
At least for stm32h750b_dk the dual quad-flash configuration requires to enable the dual flash mode, just before going to stm32_qspi_set_memory_mapped in the flash_stm32_qspi_init
MODIFY_REG(dev_data->hqspi.Instance->CR, (QUADSPI_CR_DFM), QSPI_DUALFLASH_ENABLE);
However this is still not enough to make the stm32h747_disco_m7 work correclty.
Even if the STM32CubeProgrammer  shows code in the 0x90000000 area, the execution fails on wrong instruction:
file:///local/home/frq09495/Pictures/Screenshots/Screenshot%20from%202024-05-07%2016-46-51.png


Get-SCPFile Error "Access to the path is denied" where path is a current folder

Hello!
Get-SCPFile return error "Access to the path is denied", where path is a current folder.
For example when I run the command:
C:\Windows\System32> Get-SCPFile -LocalFile C:\Folder\test.txt -RemoteFile "/tmp/test.txt" -ComputerName a.b.c.d -Credential (Get-Credential $cred)
PS return error
"Access to the path is denied "C:\Windows\System32"
If I run from
C:\Users\Admin> Get-SCPFile -LocalFile C:\Folder\test.txt -RemoteFile "/tmp/test.txt" -ComputerName a.b.c.d -Credential (Get-Credential $cred)
return "Access to the path is denied "C:\Users\Admin"
and so on...
Operations Set-SCPFile && Get-SCPFolder with same paramters is working.
PS version: 4.0
Posh-SSH version: 2.0.1

p.s. Run scripts from Win 2012R2 Stanard

just committed a fix for it that will be in the next release

Just pushed version 2.0.2, the issue should be addressed. Reopen if the issue persists.


Catching Json Deserialization Exception

My app crashes in case server fails for any reason and instead of sending json, it sends http 500 HTML error page.
This is the error:
Newtonsoft.Json.JsonReaderException: Unexpected character encountered while parsing value: <. Path '', line 0, position 0.
My code uses a try/catch and catches Refit
try
{
//use refit
}
catch (ApiException ex)
{

}
catch (Exception ex)
{

}

Yet for some reason if parsing fails, the app crashes.
Ideas?

I managed to fix this by extracting HTTP response into string and check if it starts with "{"


feat: show new field

Codecov Report

Merging #751 (f6feb3e) into dev (60b1c5d) will increase coverage by 0.31%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##              dev     #751      +/-   ##
==========================================
+ Coverage   41.38%   41.70%   +0.31%
==========================================
  Files         341      341
  Lines       25349    25721     +372
==========================================
+ Hits        10490    10726     +236
- Misses      14859    14995     +136

Flag
Coverage Δ

unittests
41.70% <ø> (+0.31%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

dbaas/drivers/redis.py
33.40% <0.00%> (+0.28%)
:arrow_up:

dbaas/logical/models.py
56.91% <0.00%> (+3.67%)
:arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Job begin_start() execution merge strategy when JobExecutionTemplate is supplied

Please provide us with the following information:

This issue is a: (mark with an x)

[ ] bug report -> please search issues before submitting
[x] documentation issue or request
[ ] regression (a behaviour that used to work and stopped in a new release)

Issue description
When using the Python SDK and making a call to begin_start a job execution one is able to provide a  JobExecutionTemplate. My question is: what is the actual backend behaviour when this template is supplied. It seems to replace all existing job pre-configurations, whereas I think it should merge in an equivalent manner as docker-compose override files.
Steps to reproduce

Create a Job definition with:

env-variables "foo=bar" and "bar=baz"
command ["/bin/bash", "-c", "echo foo=$foo bar=$bar"

run begin_start with supplying a JobExecutionTemplate with env-variables "foo=qux"

Expected behavior [What you expected to happen.]
I expect my console output to be "foo=qux bar=baz"
Actual behavior [What actually happened.]
I have not verified this with this exact setup, but from the fact that I'm loosing my volume mounts I suspect the output to be "foo=qux bar="
Additional context
The problem making this somewhat impossible to work with right now is that the JobExecutionTemplate does not support the definition of neither secrets nor volumes (or volume mounts). With the behaviour suspected behaviour (full override, no merge) dynamic jobs can not use neither volumes nor secrets.
I strongly hope I'm wrong or that this can be fixed; I suspect a very common use-case for jobs will be to execute pre-defined containers with command or arg overrides.

Currently, the template that you pass replaces the template section in the job definition for the current execution.
Your best bet currently is to retrieve the template, make changes, and pass it to begin_start. I have an example here: https://github.com/Azure-Samples/azure-search-openai-demo/blob/420ed677e7fa52618912c092b27b2d43546bf5c6/app/doc_uploader/main.py#L79-L90
We can evaluate support for merging, but different users have different expectations on how the merge should work. One possibility is to adopt something like JSON merge patch, but that might still require you to first retrieve the job definition for updating certain types of properties.

Hi again @anthonychu and sorry for the late reply.
So I just picked this back up from the backlog and tried to implement your solution.
Unfortunately this isn't working because my template is defined with a volume and it yields the current error (Python):
Operation returned an invalid status 'Bad Request'
Content: {"type":"https://tools.ietf.org/html/rfc7231#section-6.5.1","title":"One or more validation errors occurred.","status":400,"traceId":"00-79b3c0b0b22135aa07318ffa0af8bb2c-b4d461546a96b54e-01","errors":{"$":["Unknown properties volumes in Microsoft.ContainerApps.WebApi.Views.Version20230501.StartJobExecutionTemplate are not supported"]}}

Here is the code with an attempted override of the command:
self.log.info("Getting job")
job = self.client.jobs.get(resource_group_name=self._conf.resource_group_name, job_name=self._conf.job_name)

job.template.containers[0].command = (["sh", "-c", "python -c 'print(\"hello from override!\")' && sleep 30"],)

self.log.info("Starting job")
job = self.client.jobs.begin_start(
    resource_group_name=self._conf.resource_group_name,
    job_name=self._conf.job_name,
    template=job.template,
).result()

Any other suggestion on how I can make this work?

Hi @anthonychu, have you had any time to look into this issue?
/T

Hi @vinisoto!
Hoping you might have a look at this in Anthonys absence?
In advance, many thanks!

hi @tsanton. We are taking a look. Anthony's suggestion should have worked here.

Thanks @vinisoto!
Let me know if you need any more context^^

Hi again @vinisoto!
Are we getting any closer to find out if there is anything wrong with the backend/if there is a quick fix that we've missed?

Hi @vinisoto and thanks for looking into this!
Thanks for confirming the volume issue and I'm very happy with your short term pragmatic solution of volume inheritance :)
Will you notify this issue when the fix is in place or is there elsewhere I can monitor for this update?
I'm very happy with your mid-term suggestions as well, and I would love to see the option of a merge strategy.
Naturally merging is difficult; many strategies to chose from. I'm guessing docker compose is the most common one, but it can be painful not being able to remove existing list- and/or map items.
I don't envy the choice you guys have to make as you'll most likely get some "heat" no matter what you opt for -> differences in opinions and all. Personally I would just like to see it happen and have the merge behaviour well documented as it's easy to modify our job (and or app) template design based on a well documented behaviour.
Just to clarify the scope of the fix, I think it would be a good design to be able to override all properties of the create job template in the job execution template (containers, initContainer and volumes, and their nested properties).
Outside the initial JobTemplate.Volumes not being present in JobExecutionTemplate, when compairing their nested properties I find that JobTemplate.Container[] and JobExecutionTemplate.JobExecutionContainer[] don't share neither the volumeMounts (missing in execution as pr. the issue) nor probes.
Further volumeMount is also missing in the job JobExecutionTemplate.initContainer[*].
Now I personally don't need to override the probes, but if it's possible I'm sure others, with time, will appreciate the flexibility.
Again, many thanks for looking into this and coming up with a great fix implementation strategy! Eagerly awaiting the fix and looking forward to incorporating this amazing PAAS component for the businesses I work with :)
/T

@tsanton we looked into this behavior and as of today, if you start a Job execution with a job execution template and the name of the container given is the same name as the container for which volume mount/s were defined during Job creation, then those volume mount/s would also be present for the execution that was started using the job execution template.
Though, in this case you won't be able to use any other volumes that you might have defined for you Container App Job while creating the resource, but the volume mount/s that were given for specific container/s would still be mounted to the container. Also for the execution started using job execution template, the environment variables defined for the job would not be available for the container and hence you would have to pass all required variables with the template (this is something we will address as part of the mid-term solution mentioned earlier.)


Add css definition to be read off of data, so it can handle abstract …

…and child states
One more try.

:+1:


Add action for verification of links in repository

Add a GitHub action for verifying URLs across files as well as anchors and relative file path in Markdown files. The script for link verification has been taken from C-SDK and modified to add functionality of searching links and Markdown files within repository workspace to improve usability of script/action across repositories. (The C-SDK version of the script takes list of markdown files and URLs in repository as input).

I'm just going to sneak in here unannounced, but I think we should make some improvements to make this more maintainable, reduce dependencies, and put our best foot forward.

Some top level things:

docstrings should explain the inputs and outputs more clearly. I think this deserves a file level docstring.
There's some caching that would be simplified with functools cache
Is the pandoc conversion really necessary?
There's a lot of logic here. We can turn it into a package pretty easily and add some tests since we are centralizing it.

Good comments about improving the efficiency and quality of the script.
As this PR's scope is only to move the script from C-SDK to this repository, I intend to make only minimal changes to the script.
The script has been reliably working on C-SDK across 2 releases, and I don't want to make major changes to affect functionality within this PR.
We can make hygiene changes in a future PR.


Adding change note to PINTAIL-90

change notes
Release 4.1.3
Features:

Dynamic discovery of collectors in  messaging-client-databus

not able to see any src and target  version changes in pom.

this is a separate pull request to ad change note in CHANGES.txt. for the src target changes, i have raised a pull request against java-1.8 branch

https://github.com/InMobi/pintail/pull/39 this one is for java versions


Add support for middleware

https://www.prisma.io/docs/concepts/components/prisma-client/middleware
client = Client()

async def logging_middleware(params: MiddlewareParams, next: NextMiddleware) -> MiddlewareResult:
    log.info('Running %s query on %s', params.action, params.model)
    yield await next(params)
    log.info('Successfully ran %s query on %s ', params.action, params.model)

async def foo_middleware(params: MiddlewareParams, next: NextMiddleware) -> MiddlewareResult:
    ...
    result = await next(params)
    ...
    return result

client.use(logging_middleware, foo_middleware)

Should Support

Yielding result
Returning result

We should also provide utility functions for modifying arguments.
This would make correctly implementing a feature like soft deletes easy.
This should be a separate issue.


Use the recommended method WaitForCompletionRef

As per this godoc
// WaitForCompletion will return when one of the following conditions is met: the long
// running operation has completed, the provided context is cancelled, or the client's
// polling duration has been exceeded.  It will retry failed polling attempts based on
// the retry value defined in the client up to the maximum retry attempts.
// Deprecated: Please use WaitForCompletionRef() instead.
func (f Future) WaitForCompletion(ctx context.Context, client autorest.Client) error {
	return f.WaitForCompletionRef(ctx, client)
}

This should be a safe change


Add CI build for Java 9

It looks like JRuby (>=<IP_ADDRESS>) and AsciidoctorJ are ready to run on Java 9 (>=9.0.1).
The CI build on Travis should also run the build on Java 9.
It looks like the version of Gradle that we use at the moment, 2.14.1, doesn't run on Java 9.
Therefore I guess the hardest part of this task is to upgrade the build to a current version of Gradle.
It would be also nice to see if it's already time to migrate the build to Kotlin or if Groovy is still the way to go. (Is Gradle called Kradle then? :wink: )

Yeah for Java 9 support in JRuby! Too bad about Gradle, though.
I wonder if it would be possible to fork the tests so that the version of Java we use for tests doesn't affect the version we use to run Gradle.
I support the effort to explore Kradle as another route.

Pull request to add java 9 CI on the master branch => #628


Feature Request: Setting Timezone

I think it would be a nice feature to allow the user to set a timezone. Right now it seems like its just set to UTC. Thoughts?

Ah yes, this and the keyboard layout would be appreciated for easy install.

Added!


Update soroban cli version to the latest

Preview is available here:http://soroban-docs-pr755.previews.kube001.services.stellar-ops.com/

I suggest we remove the version all together:

https://github.com/stellar/soroban-docs/pull/758


Internal People Api Permission Denied

We have a google extension for GSuite.
We use
gapi.load('auth2', ()=>{
gapi.auth2.init({client_id, scope, response_type}).then(
....
)
})
to get signed in user's info and access token with given api permissions, however, there is one API permission that we cannot find a scope for it: "Internal People API". When we typing in the recipient box in gmail or "Share with others" in docs, we get 403 from "people-pa.clients6.google.com" stating that we don't have permission for "Internal People API" and asking us to enable it in console.developers.google.com. We cannot find such api to enable and we cannot find any scope to add to "gapi.auth2.init". We enabled People API but I think it is different api.
Any idea which scope should we add to our project for this "Internal People API"?
Much appreciated!

Thanks for reaching out. This tracker is for Google API Javascript client bugs. It looks like this issue is due to server permissions with the API you are trying to call. I recommend reaching out to the maintainers of the API regarding this issue. I'm closing this for now with the understanding that this isn't an issue with the Javascript client.


Fixed spacing issue

Fixed missing space issue. Please review.

@07101994 : Thanks for your contribution! The author, @stevestein, has been notified to review your proposed change.

@07101994 - thanks for the fix!
#sign-off


OpenAPI spec is missing properties for results array for /task endpoint

Environment

Application Services Version: 3.21.0-4
BIG-IP Version: N/A

Summary
The OpenAPI docs for the /task endpoint on AS3 is missing the following fields for the results object:

response
errors
declarationFullId

Also, it has a messagee that I have never seen, and I suspect is a typo for message.
Steps To Reproduce
Steps to reproduce the behavior:

Submit the following declaration:

{
  "class": "ADC",
  "schemaVersion": "3.0.0",
  "foo": {
    "class": "Tenant",
    "bar": {
      "class": "Application",
      "template": "udp",
      "serviceMain": {
        "class": "Service_UDP",
        "virtualAddresses": [
          "<IP_ADDRESS>"
        ],
        "virtualPort": 5555,
        "pool": "bar_Pool1"
      },
      "bar_Pool1": {
        "class": "Pool",
        "monitors": [
          "icmp"
        ],
        "members": [
          {
            "serverAddresses": null,
            "servicePort": 5555
          }
        ]
      }
    }
  }
}

Observe the following task (gathered via a GET to /task):

    {
      "id": "e538ed77-f9d1-42e0-8f6b-ae085a31eb47",
      "results": [
        {
          "code": 422,
          "errors": [
            "/foo/bar/bar_Pool1/members/0: should have required property 'bigip'"
          ],
          "declarationFullId": "",
          "message": "declaration is invalid"
        }
      ],
      "declaration": {}
    }

Added to our internal product backlog as AUTOTOOL-1793.

This was resolved with the 3.31.0 release of AS3.


(CL) Remove TxChainSetter class

Haven't re confirmed, but are they being used for any of the CL UI configs?

Haven't re confirmed, but are they being used for any of the CL UI configs?

Yes, it's being used on use-add-liquidity-config.ts https://github.com/osmosis-labs/osmosis-frontend/blob/786420e2aa1458ad3fc3f4be81602997736c55a5/packages/web/hooks/ui-config/use-add-liquidity-config.ts#L46
and in use-remove-liquidity-config.ts https://github.com/osmosis-labs/osmosis-frontend/blob/786420e2aa1458ad3fc3f4be81602997736c55a5/packages/web/hooks/ui-config/use-remove-liquidity-config.ts#L48


link for setting up local concourse vm on vagrant gives a 404 error

http://concourse.ci/vagrant.html gives me a 404 error :(

Hey @claurence, thanks for reporting this! I've fixed it in 6537ad0 and 44a87ea for local and OSS tracks, respectively.


Mediapipe High memory usage & How to remove openCV from Mediapipe.

This is not exactly an issue. It is just question please answer somebody if it is possible.
I am using mediapipe in my application & it is slowing down the overall performance of app. I concluded that it could be because of high memory usage. When I profile the mediapipe android demo apps (Hand-Tracking & segmentation) then I found that these demos are taking around 240 MB of RAM. Is there any way we can reduce the memory usage?
Secondly,  I am using GPU modules only like Hand-Tracking GPU & Hair-Segmentation GPU but still I need to keep all .so files of opencv in my gradle project. Is there any way we can remove opencv? Because it is increasing the apk size as well memory usage during run time.
Thank you

Hi @jiuqiant  and @mcclanahoochie  any update or suggestion on this ?

We have a solution to cut the memory usage by half. But, we are still working on it. @mcclanahoochie  can provide more info here.
For removing opencv, it's doable by modifying the source code.

Remove those opencv related includes, such as "mediapipe/framework/port/opencv_imgproc_inc.h", "mediapipe/framework/port/opencv_core_inc.h", and "mediapipe/framework/formats/image_frame_opencv.h", from any calculators used by the graph. Moreover, you need to remove the opencv related code from the calculator source code as well. For example, you need to remove the ImageCroppingCalculator::RenderCpu() method from the image cropping calculator and replace line 172 with LOG(FATAL) << "OpenCV dependency is removed. No CPU rendering support for now.";.

Remove the opencv dependencies, such as "//mediapipe/framework/port:opencv_core" and "//mediapipe/framework/port:opencv_imgproc",  from the calculator build rule. For example, for image cropping calculator, you need to delete line 365 and line 366 here.

In the java code, don't call System.loadLibrary("opencv_java3") or System.loadLibrary("opencv_java4").

@jiuqiant Thank you for your response.
Waiting for update on reducing memory usage & if we will remove opencv from code then we will have problem in future to update mediapipe.

update on memory usage in https://github.com/google/mediapipe/issues/969#issuecomment-667294219


stdlib changed from libc++ to libstdc++ for libpubnub-cpp Makefile

@peedeeX21 please email me at<EMAIL_ADDRESS>I'd love to know more about your project and how if possible we can assist you further with it! And thanks for the code contributions as well!


[Feature] Add command to show where source file is

Love the tool, thank you for building it! I want to edit the colors directly on the source code, but I can't figure out where to find the source code 🤷♂

You can find colours definition here (I believe those lines are linked in the README too).
Let me know if you succeed to change them!


Properly disambiguate unsaved scripts

Fixes #40882
Not sure if there's better way to do it.

Thanks!

Cherry-picked for 3.2.3.


[Bug] Query parameters removed on page load

Describe the Bug
When the OHIF Study List is loaded, all of the query params in the URL are removed. I've tried this in docker with ohif/app v3.5.0, v3.6.0, v3.7.0, v3.8.0 and v3.9.0-beta.21. With version 3.5.0 and 3.6.0 the query params are kept but in the other versions they are removed. This behavior is also seen on the current version of viewer.ohif.org.
Steps to Reproduce

Go to: https://viewer.ohif.org/?patientName=CTA&sortBy=studyDate&sortDirection=ascending. The query parameters will be striped away and only https://viewer.ohif.org/ will be loaded.

The current behavior
When trying to load https://viewer.ohif.org/?patientName=CTA&sortBy=studyDate&sortDirection=ascending the query params will be striped away and https://viewer.ohif.org/ will be loaded instead.
The expected behavior
The query params should be kept on page load.
OS
Windows 11, Android 14
Node version
18.16.1
Browser
Chrome 125.0.6422.77, Firefox 115.11.0esr, Chrome Android 125.0.6422.113

Thank you @sedghi and @IbrahimCSAE for verifying and fixing this so quickly! It works like a charm now!

We released OHIF 3.9 which address this issue


error with install from devtools

Hi there - read your paper.  Interesting stuff.    Have you encountered this?
devtools::install_github('zmjones/edarf')
Downloading github repo zmjones/edarf@master
Installing edarf
Installing dependencies for edarf:
RcppArmadillo
% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
Dload  Upload   Total   Spent    Left  Speed
0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0 10 1239k   10  130k    0     0   168k      0  0:00:07 --:--:--  0:00:07  168k100 1239k  100 1239k    0     0  1356k      0 --:--:-- --:--:-- --:--:-- 1356k
The downloaded binary packages are in
/var/folders/29/dj4wm1714q7flrdgvg7src8h0000gn/T//RtmpxEpsRy/downloaded_packages
'/Library/Frameworks/R.framework/Resources/bin/R' --vanilla CMD INSTALL
'/private/var/folders/29/dj4wm1714q7flrdgvg7src8h0000gn/T/RtmpxEpsRy/devtoolsa4220b25ed7/zmjones-edarf-e39a4c5'
--library='/Library/Frameworks/R.framework/Versions/3.1/Resources/library' --install-tests

installing source package ‘edarf’ ...
** libs
clang++ -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I/usr/local/include -I/usr/local/include/freetype2 -I/opt/X11/include -I"/Library/Frameworks/R.framework/Versions/3.1/Resources/library/Rcpp/include" -I"/Library/Frameworks/R.framework/Versions/3.1/Resources/library/RcppArmadillo/include"   -fPIC  -Wall -mtune=core2 -g -O2  -c RcppExports.cpp -o RcppExports.o
clang++ -I/Library/Frameworks/R.framework/Resources/include -DNDEBUG  -I/usr/local/include -I/usr/local/include/freetype2 -I/opt/X11/include -I"/Library/Frameworks/R.framework/Versions/3.1/Resources/library/Rcpp/include" -I"/Library/Frameworks/R.framework/Versions/3.1/Resources/library/RcppArmadillo/include"   -fPIC  -Wall -mtune=core2 -g -O2  -c edarf.cpp -o edarf.o
clang++ -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -single_module -multiply_defined suppress -L/usr/local/lib -o edarf.so RcppExports.o edarf.o -L/Library/Frameworks/R.framework/Resources/lib -lRlapack -L/Library/Frameworks/R.framework/Resources/lib -lRblas -L/usr/local/lib/gcc/x86_64-apple-darwin13.0.0/4.8.2 -lgfortran -lquadmath -lm -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation
ld: warning: directory not found for option '-L/usr/local/lib/gcc/x86_64-apple-darwin13.0.0/4.8.2'
ld: library not found for -lgfortran
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [edarf.so] Error 1
ERROR: compilation failed for package ‘edarf’
removing ‘/Library/Frameworks/R.framework/Versions/3.1/Resources/library/edarf’
Error: Command failed (1)

No I haven't seen this one and wasn't able to replicate it. Compiler errors are no fun. Did Rcpp and RcppArmadillo install correctly and load w/o error?
You have Clang installed via Xcode I presume? Are you using the R binary? How is gfortran installed on your system? For reference I use the version of gfortran that is supplied in GCC which is installed (along with R) from source by homebrew.
Since I am waiting on packages/forks not on CRAN I can't get them to generate a binary but if you know of a way that would be helpful.

did you figure this out?

sorry for delay. I'm not super familiar with the some of the software/installations you mentioned and haven't had to check on them pulling packages from GitHub before with devtools.
RcppAramadillo and Rcpp are load properly with library() in R.  Just reinstalled to most recent version to be sure
clang specs:

Andrews-MacBook-Pro:~ ajb$ clang --version
Apple LLVM version 7.0.0 (clang-700.0.72)
Target: x86_64-apple-darwin14.5.0
Thread model: posix

R specs:

sessionInfo()
R version 3.2.2 (2015-08-14)
Platform: x86_64-apple-darwin13.4.0 (64-bit)
Running under: OS X 10.10.5 (Yosemite)

Tried again today with install_github('zmjones/edarf')
Here are the warnings & error

ld: warning: directory not found for option '-L/usr/local/lib/gcc/x86_64-apple-darwin13.0.0/4.8.2'
ld: library not found for -lgfortran
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [edarf.so] Error 1
ERROR: compilation failed for package ‘edarf’

removing ‘/Library/Frameworks/R.framework/Versions/3.2/Resources/library/edarf’
Error: Command failed (1)

So it looks like gfortran is not in the place that it is expected or is missing altogether. I know the build works fine on a clean linux system from scratch and it works on my Mac so I think this is particular to your system.
Are you using the R binary (i.e. R is installed using a .dmg file)? If so install this. If you are using homebrew or another package manager you can install it manually.
Please let me know if that works.

hmmm. yeah, R was installed from R-3.2.2.pkg.  Installed gfortran from your link.  No luck.  Same error, I l believe

ld: warning: directory not found for option '-L/usr/local/lib/gcc/x86_64-apple-darwin13.0.0/4.8.2'
ld: library not found for -lquadmath
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [edarf.so] Error 1
ERROR: compilation failed for package ‘edarf’

removing ‘/Library/Frameworks/R.framework/Versions/3.2/Resources/library/edarf’
Error: Command failed (1)

did you restart R after doing so?
if that doesn't work try manual installation.
curl -O http://r.research.att.com/libs/gfortran-4.8.2-darwin13.tar.bz2
sudo tar fvxz gfortran-4.8.2-darwin13.tar.bz2 -C /

manual install works.  thanks!  could this be bundled into the install, perhaps?

No that is a system requirement. I think that would not pass R CMD check. This will be solved in a way though, when/if this eventually ends up on CRAN and there is a binary which doesn't require you to compile things. This is just an OSX specific thing that has to do with how the fortran compiler is packaged.

Also if you plan on using more packages compiled from source I would recommend using homebrew. I have a post on doing all this on as well.
Hope the package works for you!


libuv: 1.9.0 -> 1.9.1, nodejs-4.3.1 -> 4.4.4, nodejs-5.11.0 -> 5.11.1

Things done

[ ] Tested using sandboxing
(nix.useSandbox on NixOS,
or option build-use-sandbox in nix.conf
on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] OS X
[ ] Linux

[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

nodejs 6.2.0 upstream already uses the new libuv
Since the three node packages all depend on libuv and thus will be rebuilt, I figured it may be a good time to bump them aswell.
Tested execution of the respective binaries of all node versions and neovim.
Packages that fail to build for me: airfield (marked broken), groovebasin (needs pinning to node_0.10, I'll open a separate PR), ripple-rest (development frozen probably also needs older node) - I think all of these are unrelated to my changes.

CC nodejs maintainers: @cillianderoiste @gilligan

I'm on my mobile right now- will check it out tomorrow. Looks like build failed on travis.

Build fails on travis due to timeout:

The job exceeded the maximum time limit for jobs, and has been terminated.

Considering that @groxxda tested the build locally and we can't change the fact that travis will time out this LGTM.
Just need someone to merge - Perhaps @zimbatm or @svanderburg or @joachifm ?

there :)


Database update changes, support for morale in outline complete

Codecov Report

Merging #76 (f84bc7b) into master (e7375d8) will decrease coverage by 0.31%.
The diff coverage is 86.07%.

@@            Coverage Diff             @@
##           master      #76      +/-   ##
==========================================
- Coverage   83.82%   83.50%   -0.32%
==========================================
  Files          69       69
  Lines        4914     4996      +82
==========================================
+ Hits         4119     4172      +53
- Misses        795      824      +29

Flag
Coverage Δ

unittests
83.50% <86.07%> (-0.32%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

base/admin.py
100.00% <ø> (ø)

base/models/weight_maximum.py
89.18% <0.00%> (-2.48%)
:arrow_down:

base/run_cronjobs.py
0.00% <0.00%> (ø)

base/views/home.py
78.75% <ø> (ø)

tribal_wars_planer/settings_cronjobs.py
0.00% <0.00%> (ø)

base/cron.py
65.62% <50.00%> (-16.99%)
:arrow_down:

utils/write_noble_target.py
96.12% <87.50%> (-0.31%)
:arrow_down:

utils/write_ram_target.py
96.31% <87.50%> (-0.34%)
:arrow_down:

utils/basic/morale.py
89.65% <89.65%> (ø)

utils/outline_complete.py
95.54% <91.30%> (-0.41%)
:arrow_down:

... and 14 more

Continue to review full report at Codecov.

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


[Bug]: Duplication of Adding driver with same identity

What is the expected behavior?

[X] I have searched the existing issues

What happened?
Once the driver is created, showed "drivername added" but if we again put the same value of information of driver**,it should be shown that driver already existed, but it is not showing!!**   so i can fix the issue, please assign this issue to me if you want to add changes?

Add Screenshots

What browsers are you seeing the problem on?
Firefox
Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC contributor
[X] I want to work on this issue
[X] I'm willing to provide further clarification or assistance if needed.

close #61