Dot makes PSGraph fail with an Out of memory exception

Synopsis
I have programmed a PowerShell function that can analyze a PowerShell module and put out a callgraph over the module. PSGraph is used to generate the graph based on the data retrieved from the module analysis.
The error
When I use Out-PSModuleCallGraph  to analyze the code of HealOps I get the following error:
Error: trouble in init_rank
	%0 19
	%0 10
	%0 5
	%0 6
	%0 23
......

the list of [%NUMBER NUMBER] is long, so shortened in the above. For the value of info, allow me to mention that commands from the module is mentioned in the list. The error message continues with:

	%0 2
	%0 1
libpath/shortest.c:324: triangulation failed
libpath/shortest.c:192: source point not in any triangle
Error: in routesplines, Pshortestpath failed
dot(82295,0x7fff9a9c9380) malloc: *** mach_vm_map(size=18446744069337296896) failed (error code=3)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
out of memory
Export-PSGraph : System error.
At /gitRepos/PowerShellTooling/Public/PowerShellInfo/Out-PSModuleCallGraph.ps1:473 char:22
+         $graphData | Export-PSGraph -ShowGraph
+                      ~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo          : NotSpecified: (:) [Write-Error], ParseException
+ FullyQualifiedErrorId : System.Management.Automation.ParseException,Export-PSGraph

For other modules this error is not thrown. E.g for modules like Plaster or Pester.
Tried
I tried searching for suggestions on the reason behind the error. Some mentions an issue with a circular reference. Others suggests setting max_depth or newrank=true but that draws a graph that does not quite have the layout I would like. However, a graph is actually drawn.
I also tried setting cluster as the name for the subgraph used. This also makes generating the graph go thrugh, however, again not with the layout I would like.
Reproducing

Clone HealOps from the linke to the repo.
Download the release of PowerShellTooling
Import the PowerShellTooling module or dot-source directly to the Out-PSModuleCallGraph.ps1 file.
Execute Out-PSModuleCallGraph and point it to the HealOps module root. E.g. > Out-PSModuleCallGraph -ModuleRoot "PATH_TO_HEALOPS_MODULE_ROOT"/HealOps
The same error I describe above should be thrown.

End notes
It would be great if it was possible to generate a graph over HealOps and modules like it (having the same issue) without the error being thrown. See the attached screenshot for an example of the layout I'm tryng to produce. The screenshot if from analyzing another module I'm working on.
Thank you so much for your time.

I think this one can be closed for now. I cleaned up my code, fixed some errors. The modules, like Pester and my own can now be analyzed with my Out-PSModuleCallGraph function.


Overlaid community title can be hard to read

StellaInForest can barely read the names of most of the communities because the white text is on the image.
Source: note1wucrszz8r3uq2j6p325tazfv2xagvylwg7c9l227eyv3wuft8h9qh7seej
I confirm this is a problem for 2/8 communities on my Explore page.

The current way the community name is displayed over an image isn't very accessible but I cant think of better way to keep the community component small and space efficient

One possibility is to display the image as an icon to the left of the name and member count. This is what I see when searching reddit on mobile. If the data is handy it would be nice to know when the community was founded and how long since the last post.


OnRequest handler getting called multiple times for the same request when using SSL

Hi,
I just upgraded to v3.0.37 of the proxy, and I started working with our site over a secure connection.
I am seeing my OnRequest handler get called multiple times for the same actual request. Sometimes there is only one extra call, but I have seen up to seven. Using the chrome devloper tools alongside my proxy app, the networking tab shows that only one request was made. Separately, I tried Fiddler, and only saw the one request.
The problem does seem to be intermittent, but seems to happen more often than not.
I have NOT seen similar behavior when only using http instead of https.
Any help is appreciated. If you would like more information, let me know what I should do.
Thanks.
(Edit: Forgot that I renamed OnRequest to RequestHandler for my code)

Are you setting proxyServer.EnableWinAuth or setting ReRequest anywhere?
Is there a public URL as a sample for this problem?

I will check to be certain when I get back to work tomorrow, but I do not believe I set either of those things. I will look into making the site available to you (it should be possible).
In case anyone else is seeing this problem, I am working around it currently by discarding any requests for which I do not have a response. Since there is only one real request, and it does have a response, this is working fine in my situation.
I will get back to you tomorrow.
Thanks!

Hello,
I confirmed that I am not setting either EnableWinAuth or ReRequest.
Here is a site where I can reproduce the problem: https://demo1.mye2shop.com/
Steps to reproduce:
-In Chrome (I was using Version 58.0.3029.110 (64-bit), but just updated to Version 59.0.3071.86 (Official Build) (64-bit)), go to the site.

Start the proxy app, and start listening
Reload the site (status bar says Establishing secure connection...)
Enter values for username and password (stan and none will be fine - you don't even need to successfully log in)
Click Login. This sends a single request to CheckCredentials, however, most of the time, my OnRequest handler is called at least twice. The requests come in with two separate ids. Curiously, it's the first request that never receives a response. The second request usually completes normally.

Once you have the site url, could you either edit it out, or let me know so I can remove it?
Hope this helps,
Stan

Okay what I saw was that server returns empty (null) response for some requests, and in turn that error causes the proxy to drop the client connection. Now client (browser) immediately keeps on retrying the same request (even though I don't see that being logged in chrome tools) when this happens.
If you are logging the proxy errors (like in the example project) you will see that every time this multiple requests happens, an accompanying error is also logged in proxy.
Now why server abruptly terminates the connection I am not sure. One guess is connection timeout is too short on server.

Do you mind if I ask how you saw the extra requests? As you noted, the chrome developer tools don't show them, and I also did not see them when proxying with Fiddler. Do I need to resort to wireshark? I'd like to be able to see what's happening for myself, so I can pass along the information to the team developing the site.

I saw the extra requests happening from Chrome to this proxy.
What I observed is that the browser is retrying the same request when server connection fails. Chrome developer tools only show one request and logically its correct, since developer probably don't want to see a transport error like this (as opposed to an application error). You can step through the code if you like to debug.
Now as far as fiddler I believe it is only showing those requests which actually succeeded, but here we are not hiding anything from developer.
If it is indeed a timeout problem it is nothing to worry about. I guessed 10 seconds because I noted this happening only if I wait more than 10 seconds and attempt to submit login from the website. Browsers are inherently prepared to handle a connection timeout. And that's why the website is functioning okay (?) from users perspective. But if you like to avoid this happening too often, check the default Http Keep-Alive timeout on server. For example in IIS the default is 120 seconds. In this proxy server we have default 30 seconds, but you can always increase it. But proxy connection timeout will be hit later than server if server have something less than 30 seconds. Or another option is to disable keep-alive on server, which defeats the purpose of the enhancement in HTTP 1.1.

Thanks again for you help. The team tells me there is a load balancer in front of the web servers that might be causing the problem, but also that a move to a new hosting environment is happening shortly. So, we will look for the problem if it appears in the new environment, and deal with it then.


[#126965751]  Upgrade to docker-api 1.31 gem and pin ruby to 2.2 to support travis

#126965751 Test users not removed from CC DB.
What
Pin ruby version in travis to ruby 2.2, as  we are having issues building json gem in travis (here vs here) and we decided to use ruby 2.2 as the standard in the team.
Additionally Travis docker service has been upgraded and we need to upgrade the clients. Otherwise, the builds fail with this error:
Failure/Error: image = Docker::Image.all().detect{ |i| i.info['RepoTags'].include? name }
Docker::Error::ClientError:
400 Bad Request: malformed Host header

How to test
Travis shall pass.
Who?
Anyone but @richardc or @keymon

Thx for merging, I will update the other branches.


OAuth2 authentication not working

Hi,
I have OAuth2 configured to run on the latest Laravel 5.1 release but I can't get it to work. I get the following error:
"Unresolvable dependency resolving [Parameter #0 [  $consumer_key ]] in class OAuth"
I tried grepping "consumer_key" and "OAuth" in the codebase but nothing comes up. Where and how is this class being instantiated?

nevermind it was because i had PECL OAuth installed.


URL parse error with docker

I built the docker image and then tried to run the container with
docker run --dns <IP_ADDRESS> \     -e 'USERNAME=prometheus' \     -e 'PASSWORD=hidden' \     -e 'GATEWAY_URL="http://<IP_ADDRESS>:49000"' \     -e 'LISTEN_ADDRESS="<IP_ADDRESS>:9042"' \     fritzbox-prometheus-exporter:latest
But i got a URL error:
time="2022-02-21T10:49:42Z" level=error msg="invalid URL:%!(EXTRA *url.Error=parse \"\\\"<IP_ADDRESS>:49000\\\"\": first path segment in URL cannot contain colon)"
Any info on how to fix that?
EDIT: I tried with docker-compose, that seems to work

@git-eri I use:
docker run \
  -d \
  -p 9042:9042 \
  -e 'USERNAME=fritzbox_exporter' \
  -e 'PASSWORD=mypassword' \
  -e 'GATEWAY_URL=http://<IP_ADDRESS>:49000' \
  -e 'LISTEN_ADDRESS=<IP_ADDRESS>:9042' \

and it works. Maybe a scaping issue with the 'and "?

@jobenvil yes that works, thanks alot. Maybe the README.md should be updated


RDK-44657 - Miracast merge changes to sprint/release branch

RDK-44657 - Miracast merge changes to sprint/release branch

Blackduck scan failure details
Summary: 0 violations, 0 files pending approval, 2 files pending identification.

Protex Server Path: /home/blackduck/github/rdkservices/4618/rdkcentral/rdkservices

Commit: e9febb0dab72822cbdd0b73d8d5352e014aacf79

Report detail: gist

Blackduck scan failure details
Summary: 0 violations, 0 files pending approval, 2 files pending identification.

Protex Server Path: /home/blackduck/github/rdkservices/4618/rdkcentral/rdkservices

Commit: abb5db62d2585d5e30a40d8f7c1645336732c0ea

Report detail: gist

Blackduck scan failure details
Summary: 0 violations, 0 files pending approval, 2 files pending identification.

Protex Server Path: /home/blackduck/github/rdkservices/4618/rdkcentral/rdkservices

Commit: 019f3d11389a6271609f0a3153b3a3984f89ca64

Report detail: gist

Blackduck scan failure details
Summary: 0 violations, 0 files pending approval, 2 files pending identification.

Protex Server Path: /home/blackduck/github/rdkservices/4618/rdkcentral/rdkservices

Commit: af878fc3ccc6c61fff851af1f44dde68b5b892e3

Report detail: gist

Blackduck scan failure details
Summary: 0 violations, 0 files pending approval, 2 files pending identification.

Protex Server Path: /home/blackduck/github/rdkservices/4618/rdkcentral/rdkservices

Commit: af878fc3ccc6c61fff851af1f44dde68b5b892e3

Report detail: gist

Blackduck scan failure details
Summary: 0 violations, 0 files pending approval, 2 files pending identification.

Protex Server Path: /home/blackduck/github/rdkservices/4618/rdkcentral/rdkservices

Commit: 9e283d757407fc8e7010eaed21427ea2af2865d6

Report detail: gist

Blackduck scan failure details
Summary: 0 violations, 0 files pending approval, 2 files pending identification.

Protex Server Path: /home/blackduck/github/rdkservices/4618/rdkcentral/rdkservices

Commit: 4dd64e566dc873bffa99ca9c3a2b72c886a240d2

Report detail: gist

Blackduck scan failure details
Summary: 0 violations, 0 files pending approval, 2 files pending identification.

Protex Server Path: /home/blackduck/github/rdkservices/4618/rdkcentral/rdkservices

Commit: 4dd64e566dc873bffa99ca9c3a2b72c886a240d2

Report detail: gist

WARNING: A Blackduck scan failure has been waived
A prior failure has been upvoted

Upvote reason: Not a problem

Commit: 4dd64e566dc873bffa99ca9c3a2b72c886a240d2


Film {"liked" / "watched"} mixed up

"Liked" and "watched" are used inconsistently throughout the ipynbs, both in comments and in code.

According to the task (and, well, source file name), "likes" is the proper term.


点击菜单不跳转，反而只是刷新

我的配置：

网站页面：

不知道为什么，前段时间还是好好的，今天试了一下居然不行了，点击菜单的任意图标都不能跳转，只会刷新页面，求大佬告知怎么解决

NexT is rebased into organization repo.
If you want new feature, fix, or support, create new in NexT v6.x repo (desirable in English).
There is instructions on English or Chinese how to update from v5.1.x to v 6.x
You also may read this for details.


FIX: Fix 403 error of Open in Colab button in README.md

Codecov Report

Merging #27 (1e23f87) into develop (32b4ba5) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##           develop       #27   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           31        31
  Lines          791       791
=========================================
  Hits           791       791

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 32b4ba5...1e23f87. Read the comment docs.


Feat support generated column

This pr has added support for generated columns. Values of a generated column are computed from an expression included in the column definition. Here is an example:
mysql> CREATE TABLE products (
product_id INT,
price DECIMAL(10,2),
quantity INT,
total_value DECIMAL(10,2) GENERATED ALWAYS AS (price * quantity)
) DISTRIBUTED BY HASH(product_id) PROPERTIES ("replication_num" = "1");

mysql> insert into products values(1, 10.00, 10, default);
mysql> insert into products(product_id, price, quantity) values(1, 20.00, 10);
mysql> select * from products;
+------------+-------+----------+-------------+
| product_id | price | quantity | total_value |
+------------+-------+----------+-------------+
|          1 | 10.00 |       10 |      100.00 |
|          1 | 20.00 |       10 |      200.00 |
+------------+-------+----------+-------------+

related docs in apache/doris-website#715

run buildall

run p0

Add a description explaining the functionality scope of generated columns, and include simple usage examples.


Operation control needs to properly support --version

$ docker run -it istio/operator:1.4.0-beta.5 version
whoami: cannot find name for user ID 1001
version.BuildInfo{Version:"unknown", GitRevision:"unknown", GolangVersion:"go1.13.4", BuildStatus:"unknown", GitTag:"unknown"}
This should properly report build information by running gobuild.sh instead of go build directly.

I think this is fixed in https://github.com/istio/operator/pull/610.


Fetching pull requests for remote 'origin' failed,

Fetching pull requests for remote 'origin' failed, please check if the url https://github.com/****/*****.git is valid.

Extension version: v0.17.0
VSCode Version:
Versão: Commit de 1.46.1 (system setup): cd9ea6488829f560dc949a8b2fb789f3cdc05f5d Data: 2020-06-17T21:13:20.174Z elétron: 7.3.1 Chrome: 78.0.3904.130 node. js: 12.8.1 V8: 7.8.279.23-electron.0 OS: Windows_NT x64 10.0.18363
OS: Windows 10

**Important note.
This specific repository is private and recently ceased to be a user to become an organization**

@alexandremsouza1 Can you run the command Developer: Toggle Developer Tools and see if there is any additional error info in the console? Do you see the failed request in the network tab there?

@alexandremsouza1 Can you run the command Developer: Toggle Developer Tools and see if there is any additional error info in the console? Do you see the failed request in the network tab there?

The error about the buffer can be ignored, what's the warning above it?
This notification is shown when the fetch call 404's, can you double check that the you're able to access https://github.com/***/*** normally in the browser, and that the user you're currently logged into VSCode with has access ot this repo?

O erro sobre o buffer pode ser ignorado, qual é o aviso acima?
Essa notificação é mostrada quando a chamada de busca 404 é, você pode verificar https://github.com/***/***novamente se consegue acessar normalmente no navegador e se o usuário com o qual está conectado no VSCode atualmente tem acesso a este repo?

Yes, I have access to the repository.
if I click on "sigin out and sigin in" it works.
The problem is having to do this every time.

Every time i click on the item i lose my credentials

It actually looks like I'm losing my token when the plugin to refresh

it's still happening

https://drive.google.com/file/d/1nMUjmox89IoG4CcKNVggBKXX4v4DIoYc/view?usp=sharing

@alexandremsouza1 Can you also share if there is anything in the Output panel when "GitHub Pull Request" is selected? And is there anything in the console if you run the command "Developer: Toggle Developer Tools"?

anything
https://drive.google.com/file/d/1uyNl3KFtsRmwNWfOfnvdZJVEwSeb8bVw/view?usp=sharing

I'm also getting this error recently although via git CLI and browser I'm able to access the repositories just fine.

Extension Version
v0.21.0

About Visual Studio Code
Version: 1.51.0
Commit: fcac248b077b55bae4ba5bab613fd6e9156c2f0c
Date: 2020-11-05T18:14:40.758Z
Electron: 9.3.3
Chrome: 83.0.4103.122
Node.js: 12.14.1
V8: <IP_ADDRESS>-electron.0
OS: Darwin x64 19.6.0
Things I've Tried
I even tried setting my personal access token to our GitHub Enterprise instance in settings according to this article.
    "githubPullRequests.hosts": [
        {
            "host": "https://our-github-enterprise.com",
            "token": "my-access-token",
            "username": "my-user-name"
        }
    ],

Update: I resolved the issue on my Mac by getting Visual Studio Code to reprompt me for my git credentials when fetching from the remote repository.
Your mileage may vary, this is what I did:

Close Visual Studio Code

Open Keychain Access app

Search for "git" and delete the "internet password" entry for the GitHub domain you're having issues with

Open Visual Studio Code then open an integrated terminal to your local git repository

In the terminal, run git fetch

When prompted, enter your git credential username

When prompted, enter your git credential password or access token

Reload Visual Studio Code to confirm no more extension error about unable to reach the repository url

Possible related to #795

@alexandremsouza1 Do you still see this issue with the latest version of VS Code?

I'm having the same issue. I have two accounts in my computer.
The way I set them up was using SSH with a config file:
Host github.com
  HostName github.com
  User git
  IdentityFile ~/.ssh/id_rsa

Host github-work
  HostName github.com
  User git
  IdentityFile ~/.ssh/id_work_rsa

and when I need to clone a repository I do the following:
git clone git@github-work:****-org/****.git This is for my work account
git clone git@github.com:HugoLiconV/****git This is for my personal account
This works fine but when I tried to set up the extension to work for my work account I get the same error.
What I did was to add this configuration:
  "githubPullRequests.hosts": [

    {
      "host": "https://github-work.com",
      "token": "5abddc5f2f**********************" // The token I got it from `Personal access tokens`
    }
  ]

There is now community provided support for enterprise. If you're still seeing an issue please open a new issue!

I think if you who are facing the problem are using GitLab (i mean if the repositories are in there) and in VS code you are signed in with both Microsoft and GitHub accounts then sign out from GitHub and then restart and try again.

Hi,
I’m having the same issue (error message: “Fetching pull requests for remote 'origin' failed, please check if the url [https://github.com//.git] is valid”). I’m using VSCode 1.60 on macOS 11.4 with the extension version 0.30. Below I post console messages I get associated with this extension. I'm not using Github Enterprise and this is a private repo.

Thanks for looking into this.
Best,
Adam

I'm having the same issue, it has something to do with #3099 , the extension considers git@github-personal.com:xxxx/xxxxx not a valid url. please have a look at this.

I'm having the same issue

Also suffering from the same issue.

Also suffering from the same issue. Problem EXIST!

@skorpions2000 you closed this issue and you mentioned another closed and also not solved :/

Hey so for me the issue was that I was connected to my VSCode with 2 gh accounts (personal and work), and I signed out of the personal one and the extension all of a sudden started working (after months of just having it there and never using it cuz it never worked), I suggest you disconnect and reconnect to your accounts, play with it a little until it works, doesn't feel like they're gonna solve it

@McLovin77 thank you for posting your solution. That the extension doesn't tell you that there are 2 accounts and it doesn't work with 2 accounts is a bug. We can do better and tell you that you should sign out of one account: https://github.com/microsoft/vscode-pull-request-github/issues/3693

Folks in this thread: I am working on improving the GitHub Enterprise support. If you are willing to help me find and tackle the issues you're seeing please do the following:

Install the pre-release version of the extension
When you see a bug, open a new issue with the following details:
a. GitHub Enterprise version number
b. Repro steps
c. Output from GitHub Pull Request
d. Any errors you see in the developer tools

I experienced the same problem, spent 1h and realized that I had more than one github account sign-in on vscode. log out the rest and keep only one account sign in, solved for me.

I faced the same issue, I logged out from one account and then it worked.

fixed in the latest versions of VS code, they added multiple account support
Solution:

right-click on the extension
click Account Preferences
select the necessary account (or add a new one here)
restart vs code


Move out the Plutus Ledger API definition into a seperate package

Currently, the Plutus Ledger Specification in Python is baked into eopsin.
This causes two issues

hebi also uses the specification, which leads to code duplication
if pycardano wants to build things on top of the ledger specification (i.e. for deriving the ScriptContext) we would get a circular dependency

So, the Plutus Ledger definition should move to a seperate python package, that can be depended upon and re-used.
Moreover pycardano might consider moving the entire plutus data definitions out. Otherwise we will get trouble when both eopsin and pycardano explicitly depend on non-consistent versions of the ledger-spec, leading to complications (CC @cffls)

An alternative to this is that pycardano decides to host the entire ledger specification, which is a viable option too.


Support the "app" channel in the monolog:channels configuration option

In #39, a configuration option was introduced to manually configure available channels like so:
monolog:
    channels: ["foo", "bar"]

Before #253, it was also possible to have the app channel in this list. This channel corresponds to the monolog.logger service.
We can argue about whether it makes sense to declare this channel at all; however, things just worked:tm: because the LoggerChannelPass::createLogger() method would just skip over the app channel (it's in LoggerChannelPass::$channels by default) and nothing else happened to the serivce definition.
Since #253, the definition is turned public which uncovers that no monolog.logger.app exists at all. We can fix this by choosing the right service name for this channel.
In other words: app was a working (but ineffective?) configuration value working prior to 3.2, but causes a ServiceNotFoundException as of 3.2.0.
Merge base: I don't know about the release policy for this bundle. But you might want to consider this a bugfix for the v3.2, which has no dedicated branch in this repo. So currently the PR is against master.

@stof What about the 3.2 merge base?

@mpdude we don't maintain multiple branches for minor versions. The next release of the master branch will be either 3.3.1 or 3.4.0 depending on the semver rules (if we only have bug fixes in it, it will be a patch version, otherwise a minor one).

Understand. I‘m not going to admit that this fix would help me if it would be available on PHP 5.5.


Your configuration causes continue reboot

i must use gpio5 for rst and gpio4 for sad , other configuration fail

Don't know why it should fail and forces reboots.
What type of ESP8266 did you use?
I testes several pins and they worked fine for me.
On my last project (using ESP-12E), I switch to following pins:
MISO - GPIO12 (hw spi)
MOSI - GPIO13 (hw spi)
SCK  - GPIO14 (hw spi)
SS   - GPIO04 (free GPIO)
RST  - GPIO16 (free GPIO)

yes i think you are right .. in my attendance system
RST pin -- D1 == GPIO 5

Hi,
Just want to say thanks for all the tips here, especially the one from asetyde.
I was using a Wemos D1 board (http://www.wemos.cc/Products/d1.html) using GPIO9 for RST and GPIO 10 for SDA and could not get it to work for such a long time, though the same wiring worked on my non-WIFI enabled Arduino UNO board.
After switching to GPIO5 and GPIO4, the thing worked perfectly! :)
Really appreciate the help! :)


Bump Delta 1.0.1

Why are the changes needed?
https://github.com/delta-io/delta/releases/tag/v1.0.1
How was this patch tested?

[ ] Add some test cases that check the changes thoroughly including negative and positive cases if possible

[ ] Add screenshots for manual tests if appropriate

[x] Run test locally before make a pull request

thanks, merging to master


Equalize PHP Modules between Kudu Linux Containers and App Service Linux Containers

Hello.
I think this behavior was already mentioned in other issues (#2702 and #3112 ). Basically, it is important that the PHP modules available to the Linux App Service container on Azure should be also available under the Kudu Container as well, in order to avoid deployment issues.
In my example below, I am able to run this command (php artisan migrate) via SSH on the Linux App Service; however, the same cannot be said when running this very command via Kudu Bash. I also tried via deploy.sh script and also via Post Deployment Action on a DevOps Pipeline AzureRmWebAppDeployment@4 action.
This command will fail because on the Kudu container there is no "sqlsrv" PHP module installed, as opposed to the Linux App Service container. Actually there are several other modules missing on Kudu that are present in App Service, we can see it clearly when running the command "php -m" on both, here are the results:

php -m on Linux App Service SSH:

Cannot load Zend OPcache - it was already loaded
[PHP Modules]
bcmath
calendar
Core
ctype
curl
date
dom
exif
fileinfo
filter
ftp
gd
gettext
gmp
hash
iconv
imagick
imap
intl
json
ldap
libxml
mbstring
mysqli
mysqlnd
odbc
openssl
pcntl
pcre
PDO
pdo_mysql
PDO_ODBC
pdo_pgsql
pdo_sqlite
pdo_sqlsrv
pgsql
Phar
posix
readline
Reflection
session
shmop
SimpleXML
soap
sockets
sodium
SPL
sqlite3
sqlsrv
standard
sysvmsg
sysvsem
sysvshm
tidy
tokenizer
wddx
xml
xmlreader
xmlrpc
xmlwriter
xsl
Zend OPcache
zip
zlib

[Zend Modules]
Zend OPcache

php -m on Kudu container:

[PHP Modules]
bcmath
Core
ctype
curl
date
dom
fileinfo
filter
ftp
hash
iconv
json
libxml
mbstring
mysqlnd
openssl
pcre
PDO
pdo_sqlite
Phar
posix
readline
Reflection
session
SimpleXML
sodium
SPL
sqlite3
standard
tokenizer
xml
xmlreader
xmlwriter
zlib

[Zend Modules]

"Artisan Migrate" is an important post deployment action in any Laravel project, hence should be possible to execute it via Kudu container. So equalizing all the PHP Modules between both would resolve this issue (or at least equalizing all the SQL related modules).
Thanks
Repro steps.

login on Azure Portal > App Services > select your (linux PHP) App Service > Advanced tools > Go
select "Bash" and run the following commands
cd /home/site/wwwroot
php artisan migrate --force

Project structures.

standard Azure App Service with Linux and PHP 7.3
framework: Laravel
database: SQL Server (sqlsrv)

The log/error given by the failure.
Illuminate\Database\QueryException  : could not find driver (SQL: select * from sysobjects where type = 'U' and name = TabMigrations)
at /home/site/wwwroot/vendor/laravel/framework/src/Illuminate/Database/Connection.php:669

Any updates on the matter?

Any updates on the matter?

The issue is still present and filling up my error logs unnecessarily.
Will this ever be fixed?

Add @sanchitmehta  - could you help with above?

Hi
If the problem persists and is related to running it on Azure App Service, please open a support incident in Azure:
https://learn.microsoft.com/en-us/azure/azure-portal/supportability/how-to-create-azure-support-request
This way we can better track and assist you on this case
Thanks,
Joaquin Vano
Azure App Service


fix: WDS bdNeutralHover color

Fixes #31899

Summary by CodeRabbit

New Features

Introduced a new hover outline color for input fields to enhance user interaction.

Style

Updated hover outline colors for both Dark and Light modes to improve visibility and aesthetics.

Tests

Adjusted tests to reflect new color values for hover states in both Dark and Light themes.

/ok-to-test<EMAIL_ADDRESS>

/ok-to-test<EMAIL_ADDRESS>


Clear browser cache?

I'm running into intermittent test failures that look like the following:
     Failure/Error: expect(status_code).to eql 200

       expected: 200
            got: 304

Clearly what's happening is, dependent on the order of my tests, it appears sometimes the same URL has already been fetched in a previous test. This is causing Poltergeist/ Phantom is sending an ETag header, causing the server to respond with a 304 instead of a 200.  Note I already have config.before( :each) { Capybara.reset_sessions! }.
Now, obv I can change my tests but the fact remains that tests are not isolated due to browser caching.  I found the Browser#reset_cache! method in the Capybara API but clearly doesn't apply to the Poltergeist driver.  I see methods for clearing cookies and localStorage, but nothing to clear the browser cache.  Is this possible?

Why do you have to check status code in the first place?
PhantomJS should behave like a real browser so generally speaking this case doesn't look like an issue.
#reset_cache belongs to rack_test driver not capybara which is why it's not compatible with the rest of drivers.

Why do you have to check status code in the first place?

Because I'm testing the behavior of my app which includes the HTTP response.

PhantomJS should behave like a real browser

Agreed but I don't understand why this precludes the ability to clear the browser's cache.  You can do that in a real browser.
From a purely functional perspective there are other reasons why I might want to test a user arriving at at page with an empty resource cache versus previously having visited the page.
Bottom line is, tests are not isolated, Poltergeist/ Phantom behave (slightly) differently based on prior tests or order of tests.
I've found the Driver.reset! method but it's not clear whether or not it clears the browser cache.

I'm asking that because while it may sound reasonable to check status for unit tests for capybara we usually work with content, right? So maybe you could solve your case just a little modifying your spec.
I agree on the part of isolated tests but I suppose there's no such feature in PhantomJS right now. We do our best clearing cookies and localStorage between tests but we can't clear cache. So you can try to workaround it with headers or http://stackoverflow.com/questions/23390974/phantomjs-keeping-cache and if it works send us a PR. BTW reset! isn't for this purpose.

Ah thank you that's very helpful.  It looks like PhantomJS 2.0 has a page.clearMemoryCache() that looks like it could be exposed via Poltergeist maybe?
Also you're right, I could add a random param on my requests to force a cache miss as well.
Direct link to related phantomJS issue: ariya/phantomjs#10357

@thom-nic yes you can take a look at https://github.com/teampoltergeist/poltergeist/blob/master/lib/capybara/poltergeist/client/web_page.coffee which is kind of a wrapper and try to call page.clearMemoryCache() in some place after each test, but I'm afraid of crashes to be honest.. Maybe it could work who knows. Also you could try to modify cache headers which sounds like a universal idea for all versions and probably better, not sure. Anyway there's no straightforward solution...

Understood.  Thanks for taking the time to explain!


UnicodeEncodeError

Tried to translate to Korean. It failed.
  0%|          | 0/77 [00:00<?, ?it/s]
Traceback (most recent call last):
  File "C:\Users\Max\desktop\srt-gpt-translator\srt_translation.py", line 192, in <module>
    print((short_text))
  File "C:\Python311\Lib\encodings\cp1252.py", line 19, in encode
    return codecs.charmap_encode(input,self.errors,encoding_table)[0]
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
UnicodeEncodeError: 'charmap' codec can't encode character '\ufeff' in position 0: character maps to <undefined>

Same issue here, I found a manual way to fix this...
Open the file with "notepad" and go to "File -> Save As", change the Codification to UTF-8.
But in my case the script gets freeze (maybe because i've reached the limit on chatgpt)


Plan session for the Wikimania hackathon?

Our second sprint occurs during Wikimania which have a hackathon on Friday, August 13. Do we want to use that opportunity to get some help from the Wikimedia community?

Ideas that we have floated:

do some user testing
"host a table"
have a "getting started" hacking workshop
give introduction on how to improve the data

The program is now open to add sessions: https://wikimania.wikimedia.org/wiki/2021:Hackathon#Propose_a_project_or_a_session

This could also be an introduction to Snowman, using govdirectory as examples. This would have the benefit of being more general which could attract more people to the session. Having a larger community upstream to this project would be an advantage in the long run.

Snowman won't get its 0.1.0 release in time (scheduled for late August) so it would be cumbersome for the time being I'm afraid.

Then I think what fit the Hackathon best is to have a "getting started" hacking workshop where we talk about the general architecture of govdirectory and what our short term goals are. Possibly specifically pointing to the ADD A COUNTRY file for those who want to make smallish contributions.
Additionally we could make a signup page for people who are willing to be interviewed. Even just 1-3 interviews would be a great addition.

Session: https://phabricator.wikimedia.org/T287603
Schedule: https://wikimania.wikimedia.org/w/index.php?title=2021:Hackathon/Schedule&diff=119207&oldid=119206
(I'll also setup interview slots.)

And here are the interview slots: https://wikimania.wikimedia.org/wiki/2021:Hackathon/Govdirectory_user_research


Move Background Indexing.md to Contributor Documentation

Must have landed in Documentation after we split Documentation and Contributor Documentation.

@swift-ci Please test


I type docker attach,but was not work

I was using openwrt docker.and I type docker attach in openwrt tty.but it was not work.am I forgot something -e?or openwrt docker does not support this docker?

oh.I know.that is in mc tty,just no ....

I'm unclear what is the state of your issue. You'll need to share your container config if you want any specific advice.

When running docker compose up typing game commands into the ttt work, but when running inside tmux typing commands doesn't return anything. How can I handle this?


Fix custom theme includes, and fix side menu scroll.

See screenshot below which was built by readthedocs.

+1!


Fix space before some bib commas

These somehow appeared when upgrading from v0.11.0 to v0.12.0.

Thanks for the fix.


[PUI] Session authentication

Replaces https://github.com/inventree/InvenTree/pull/6399
This PR provides session based authentication for the react frontend. A number of backend changes are also required for this to work correctly. A lot of testing has been performed to ensure that it covers various login / logout edge cases.
Major Features

Remove API token support from frontend entirely
ApiImage now just uses regular <img> tag (and works!)
Attachments can now be downloaded from PUI frontend
Attachments can now be uploaded successfully in PUI frontend
Opens up pathway for label and report printing in PUI frontend
Custom implementation of /api/auth/login/ to prevent login failure with stale sessionid cookie
Fix backend issue resulting from our custom token implementation
Refactor / simplify frontend authentication implementation

@matmair I was playing around with https://github.com/inventree/InvenTree/pull/6399 - trying to get it to work reliably. In the end (and after reading way too many docs on cookies / cross site stuff) I have discovered that we need some backend changes too. So, I have written this new implementation which replaces #6399
This has been tested with attachment upload / download and handles it all quite cleanly (as far as I have been able to test)
Let me know what you think!

@matmair can you give some insight into the playwright tests failing?

I never used session authentication with a SPA. I always used api tokens. How does this session cookie work when the backend is hosted somewhere else than the frontend? E.g. like the netlify previews with the demo server. Do there need to be something configured specifically?

The host needs to have the correct CORS and CSRF settings configured. I have tested that this works on the devcontainer setup (which is effectively a CORS request from localhost:5173 to localhost:8000). It works well there and also in the "compiled" version when the javascript files are served statically from localhost:8000.
The current netlify previews won't work because the demo server code needs updating (based on this PR). But once that is updated it will work fine

So you need to explicitly configure the netlify domain in the demo server then? Or is there a wildcard allowed currently on the demo server?

The demo server already allows cross origin requests from the netlify preview site

To me, the frontend tests make it look like the username field are not available. @SchrodingersGat  Have you checked that the tests run on your dev setup`

@matmair I cannot run these tests locally, I believe that it is due to incompatibility with the alpine devcontainer. I get errors like:
Error: browserType.launch: Failed to launch: Error: spawn /home/vscode/.cache/ms-playwright/firefox-1440/firefox/firefox ENOENT

It seems to run on my dev setup, I will try to fix this CI on the weekend

@matmair I have pulled in your recent test changes but still no luck with these tests. If you do have any time to look into this I'd appreciate it :)

@matmair reviewing the playwright traces it appears that the login screen is being bypassed, and the homescreen is being loaded:

Still not wrapping my head around these tests :|

@SchrodingersGat it seems like there are problems with login on tests that do not specifically cover logins. Maybe we can bypass logging in there similar to https://github.com/inventree/InvenTree/pull/7022 to solve this? Testing login once specifically should be enough.

Woo! It works, finally :) Thanks for the help with the tests @matmair

Seeing that coveralls coverage for PUI was disabled here - should we discuss #6986?


Map the visible rect to the text container

by subtracting the text container's origin from the visible rect's origin.
I think this is the right way to map and maybe you hadn't noticed before if the text container offset was very small or zero?

This was really old code that I migrated from another place, here. It is true that my app uses a small offset, but it would have been really noticeable if it affected other drawing.
But, now that I'm looking closer, this change definitely makes sense. Thanks so much!

Glad to hear it was the right fix!


[bn] Localization of cla.md

Related issue : #45729

@Ashfinn, it looks like you used main as your source branch when creating a new branch in your forked repo. It would be best to create a new PR from a fresh branch.
DM me if you need any help.


[SPARK-49495][DOCS][FOLLOWUP] Fix Pandoc installation for GitHub Pages publication action

What changes were proposed in this pull request?
Action 'pandoc/actions/setup' is now allowed by the ASF organization account. This followup makes the installation step manual.
Why are the changes needed?

fix ci
Does this PR introduce any user-facing change?
no
How was this patch tested?
https://github.com/yaooqinn/spark/actions/runs/10914663049/job/30293151174
Was this patch authored or co-authored using generative AI tooling?
no

Merged to master.
Thank you very much @dongjoon-hyun

It seems to fail again in Apache Spark repo, @yaooqinn .

https://github.com/apache/spark/actions/runs/10916383676/job/30297716064

It still fails at a new step, Jekyll Build. 😢

This task seems to be tricky because we have three commits with no success. Do you think there is a way to verify this in a single shot, @yaooqinn ?
$ git log --oneline --format=%s | grep SPARK-49495
[SPARK-49495][DOCS][FOLLOWUP] Enable GitHub Pages settings via .asf.yml
[SPARK-49495][DOCS][FOLLOWUP] Fix Pandoc installation for GitHub Pages publication action
[SPARK-49495][DOCS] Document and Feature Preview on the master branch via Live GitHub Pages Updates


Use NuGet v3 API package source

I don't know much about it yet, but is it conceivable to add the option to https://api.nuget.org/v3/index.json (the v3 JSON-LD URL) as package source?

Yes, we need that. Dunno what have to be changed for that.

I would suggest looking at the code for the NuGet Visual Studio extension and/or command line tools to see how they use the v3 API - there's not a lot of documentation around it currently from the looks of things.

I guess there is a Nuget package for it

See http://blog.nuget.org/20160216/Switching-from-WCF-OData-to-Web-API.html

Why can't you just use the NuGet client libraries directly? They are open source after all. No need to reinvent the wheel.

Yes that was also my intention :)

Current error:


fix(video_player): buffering state events missing on Android & Web (fixes flutter/flutter#28494)

Description
Currently the isBuffering field on Android does not chage even if the video is buffering, this PR fixed this by sending bufferingStart and bufferingEnd events in the event handler of ExoPlayer.
Related Issues
Fixes flutter/flutter#28494
Checklist
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]). This will ensure a smooth and quick review process.

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[X] My PR includes unit or integration tests for all changed/updated/fixed behaviors (See Contributor Guide). * No Java tests are available for this part *
[X] All existing and new tests are passing. * No Java tests are available for this part *
[X] I updated/added relevant documentation (doc comments with ///).
[X] The analyzer (flutter analyze) does not report any problems on my PR.
[X] I read and followed the Flutter Style Guide.
[X] The title of the PR starts with the name of the plugin surrounded by square brackets, e.g. [shared_preferences]
[X] I updated pubspec.yaml with an appropriate new version according to the pub versioning philosophy.
[X] I updated CHANGELOG.md to add a description of the change.
[x] I signed the CLA.
[X] I am willing to follow-up on review comments in a timely manner.

Breaking Change
Does your PR require plugin users to manually update their apps to accommodate your change?

[ ] Yes, this is a breaking change (please indicate a breaking change in CHANGELOG.md and increment major revision).
[X] No, this is not a breaking change.

@iskakaushik @cyanglaz Is it possible to have a look at this?
Not a big deal, but quite annoying when the network condition is bad and we can't provide the users with correct message.

Not sure if it is appropriate to add this here since this issue is specifically for Android, but it has the same problem for flutter web... It'd be great to have this fixed there also!

Not sure if it is appropriate to add this here since this issue is specifically for Android, but it has the same problem for flutter web... It'd be great to have this fixed there also!

Just had a quick glance, the issue seems similar (events not triggered). However, I personally have no experience with directly controlling <video>s, so I am not sure if I could fix it :(

@chengyuhui Yeah that's what it seemed like. Thanks anyway for taking the time to check it out! :)

This is actually working :+1:

I was considering adding some tests, but have no idea how to do that, since it seems nothing in the native part has test associated with it, and this is a platform-specific bug.

@chengyuhui You might be able to add something similar to https://github.com/flutter/plugins/blob/master/packages/video_player/video_player/example/test_driver/video_player_e2e.dart
Note that video player e2e tests were not working on iOS so you might want to skip iOS like the other tests.

I got the idea, but still wondering how this could be done (controlling the underlying buffering status?). I originally discovered this bug entirely by accident (I am in China and the Apple HLS test stream is really slow, but the buffering indicator is not showing up).
The logic of applying changes to VideoPlayerValue based on events from native code is already tested.

The logic of applying changes to VideoPlayerValue based on events from native code is already tested.

@chengyuhui Which tests did you mean? Could you link me to the code?

@chengyuhui Which tests did you mean? Could you link me to the code?

It's here: https://github.com/flutter/plugins/blob/master/packages/video_player/video_player/test/video_player_test.dart#L392

@chengyuhui This is only testing the dart apis with a mock controller. We might want to test the android implementation. Maybe an e2e test would help us here?

The problem is to simulate a stream that requires buffering (ExoPlayer does not seem to have mocking ability). I see some <IP_ADDRESS> references in the test files, how does that work?

This is actually working

I want this great solution combined 🥇

Is there someting I still need to do?

@amirh this one works, not sure we can test since it doesn't run in emulator.

@googlebot I consent.

Hey everyone;
I've pushed a few changes to this PR;

Added an integration test.
Fixed the issue for Web also.
Fixed an issue where the bufferingEnd event wasn't been sent.

Local Testing
Web - Integration Testing

Android - Integration Testing

cc @amirh @cyanglaz for Review and merging

cc @ditman for additional reviewing on web implementation.

@cyanglaz @ditman thanks for the review! I've updated based on review points and also resolved merge conflicts again, please could you take a look. Thanks

CC @blasten to confirm nullsafety version

@cyanglaz thoughts about Mike's question on versioning?

@csells blasten is the expert on null-safety so I tagged him for confirmation. He just gave LGTM so I think it's good.

Not working for me.
Working fine in iOS, Emulator of Android but not in Android Physical device.


chore: add node 22 to ci

Given node16 is EOL it will probably simplify maintenance to remove it from the matrix

I agree with that.  Currently having trouble getting better-sqlite to work with node 22 🤔

It is not intentional. I agree we should add that rule!
On Thu, May 30, 2024, 11:55 AM Jacob Roberts @.***>
wrote:

Taking a look at this now. Is the duplicated build on push and on a PR
intentional? If not, we could add a rule that on push only triggers CI if
it is against the master branch / release branch / tag
—
Reply to this email directly, view it on GitHub
https://github.com/promptfoo/promptfoo/pull/820#issuecomment-2140681230,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AACLYJTAXLXFIZSTULJDXQ3ZE5YYBAVCNFSM6AAAAABIJICYYOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCNBQGY4DCMRTGA
.
 After forking better-sqlite3 and being unable to reproduce there, and then getting better-sqlite3 to install in our matrix via a self-contained npm install better-sqlite3, I finally figured out the root cause is in our prepare script. I'm not 100% sure as to the ultimate "why", but the mismatching versions of better-sqlite3 is probably a pretty good culprit.
Ultimately, I think getting rid of the whole additional package.json and package-lock.json in src/web/nexui is the best short term solution (merging those deps into the main package.json and regenerating the lockfile), and long-term we can use workspaces as needed. I'm just not sure the complexity of workspaces is warranted yet, hence why I think the best course of action is the simplest -- let's just have one source of truth for dependencies.
The prepare script is a bit weird anyway, since we require the NEXT_PUBLIC_SUPABASE_URL and NEXT_PUBLIC_SUPABASE_ANON_KEY to be supplied, which is its own friction to local development and forking of this repository. I would propose we actually just get rid of it and just rely on the UI getting built in the build section, which gets run in CI anyway, unless it's there for some other reason.
The smoking gun evidence for all this can be found here: https://github.com/jacobdr/promptfoo/pull/1/files

I opened https://github.com/promptfoo/promptfoo/pull/836 to supersede this PR


Django 1.8 Warning - url from future tag Removed in Django 1.9

RemovedInDjango19Warning: Loading the url tag from the future library is deprecated and will be removed in Django 1.9. Use the default url tag instead.
RemovedInDjango19Warning
In some template tinymce use the 'url' tag from the future.py module like this
{% load url from future %}
But in django 1.9 this tag will be removed.
You can find them in File: tinymce/templates/tinymce/tiny_mce_gzip.js line 1
so need to use directly {% url 'my_views' %}

Thanks a lot, see #120


Streaming notifications support

I am able to create StreamingSubscription using ExchangeNotification#subscribe method but not able to figure out how to invoke GetStreamingEvents request.
Does this gem support streaming notifications? If yes what am I missing?
I am using master branch.
Thanks,
Ajay

@marks Thank you for the comment it was helpful.  I'm updating this since the subscribe is slightly different now.

folders = cli.folders
inbox = cli.get_folder_by_name 'Inbox'
items = inbox.items

puts
puts "There are #{items.count} messages"
puts "Subjects: "

items.each do |item|
  puts "  #{item.date_time_sent}: #{item.subject} from #{item.from.name}"
end

inbox.subscribe(evtypes = [:new_mail], watermark = nil, timeout = 600)
while true
  sleep(120) # Sleep for 2 minutes
  items_returned_by_event = inbox.get_events.map{|i| i.ews_item[:item_id][:attribs][:id] if i.ews_item[:item_id]}.compact
  items_returned_by_event.each do |item_id|
    item = inbox.get_item(item_id)
    puts "  #{item.date_time_sent}: #{item.subject} from #{item.from.name}"
  end
end


Can't get the depth value correctly

https://www.babylonjs-playground.com/#TV5FSK#3
I need to use depth to determine the final result of the two rendering results, but the value of depth is equal, which is an error.

As discussed on the previous issue, the forum shoud be the start of the discussion for this.

As discussed on the previous issue, the forum shoud be the start of the discussion for this.

@sebavan  I think this is a bug in the rendering engine


Remove or otherwise constrain .vscode settings directory

Not all users will be using Visual Studio Code, so it's debatable whether we should include a .vscode directory and settings file in our repository as those project defaults may override local settings.

Here are some approaches to consider:
https://stackoverflow.com/questions/32964920/should-i-commit-the-vscode-folder-to-source-control


Potential risk to the project by using "youtube" in the name

Closed

There is no legal entity behind youtube-dl thus there is nobody to make legal mess for. All development is voluntary and I doubt there are any risks apart from being shut down on GitHub via request according to GitHub's DMCA Takedown Policy.
Changing name will double the costs for domains and probably break some stuff and all this ado just for nothing.


Can't build the application

Hi,
i'm trying to build the docker-compose but i t fail in the JS stacktrace, if i understand correctly.
This is the list of messages:

Building grimoire
[+] Building 285.0s (13/15)                                                                          docker:default
=> [internal] load build definition from Dockerfile                                                           0.0s
=> => transferring dockerfile: 1.04kB                                                                         0.0s
=> [internal] load metadata for docker.io/library/node:20-slim                                                0.0s
=> [internal] load .dockerignore                                                                              0.0s
=> => transferring context: 273B                                                                              0.0s
=> [base 1/5] FROM docker.io/library/node:20-slim                                                             0.0s
=> [internal] load build context                                                                              0.1s
=> => transferring context: 10.52kB                                                                           0.1s
=> CACHED [base 2/5] RUN corepack enable                                                                      0.0s
=> CACHED [base 3/5] RUN apt-get update && apt-get install -y python3 python3-pip                             0.0s
=> CACHED [base 4/5] COPY . /app                                                                              0.0s
=> CACHED [base 5/5] WORKDIR /app                                                                             0.0s
=> CACHED [build 1/2] RUN --mount=type=cache,id=pnpm,target=/pnpm/store pnpm install --frozen-lockfile        0.0s
=> CACHED [prod-deps 1/1] RUN --mount=type=cache,id=pnpm,target=/pnpm/store pnpm install --prod --frozen-loc  0.0s
=> CACHED [stage-3 1/3] COPY --from=prod-deps /app/node_modules /app/node_modules                             0.0s
=> ERROR [build 2/2] RUN pnpm run build                                                                     284.7s

[build 2/2] RUN pnpm run build:
2.117
2.117 ><EMAIL_ADDRESS>build /app
2.117 > vite build
2.117
5.613
5.615 vite v4.5.1 building SSR bundle for production...
5.694 transforming...
9.906
9.906 warn - As of Tailwind CSS v3.3, the @tailwindcss/line-clamp plugin is now included by default.
9.906 warn - Remove it from the plugins array in your configuration to eliminate this warning.
10.85
10.85 ╭── 🌼 daisyUI 3.9.4 https://daisyui.com
11.18 │
11.18 ├── 2 themes are enabled. How to add more themes:
11.18 │   https://daisyui.com/docs/themes
11.18 │
11.18 ╰── 💚 Support daisyUI project: https://opencollective.com/daisyui
11.18
11.77
11.77 ╭── 🌼 daisyUI 3.9.4 https://daisyui.com
12.04 │
12.04 ├── 2 themes are enabled. How to add more themes:
12.04 │   https://daisyui.com/docs/themes
12.04 │
12.04 ╰── ⭐ Star daisyUI project on GitHub: https://github.com/saadeghi/daisyui
12.04
64.97 src/routes/+page.svelte (189:13) "PUBLIC_SIGNUP_DISABLED" is not exported by "virtual:$env/static/public", imported by "src/routes/+page.svelte".
66.19 "BaseAuthStore" is imported from external module "pocketbase" but never used in "src/lib/pb.ts".
66.20 ✓ 5036 modules transformed.
66.63 rendering chunks...
72.59 vite v4.5.1 building for production...
72.59
72.61 transforming...
283.8
283.8 <--- Last few GCs --->
283.8
283.8 [19:0x560ebd0]   276977 ms: Mark-Compact 1836.5 (1906.5) -> 1821.3 (1908.3) MB, 1863.04 / 0.21 ms  (average mu = 0.207, current mu = 0.212) allocation failure; scavenge might not succeed
283.8 [19:0x560ebd0]   279277 ms: Mark-Compact 1838.0 (1908.3) -> 1822.5 (1909.8) MB, 1995.94 / 0.06 ms  (average mu = 0.171, current mu = 0.132) allocation failure; scavenge might not succeed
283.8
283.8
283.8 <--- JS stacktrace --->
283.8
283.8 FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
283.8 ----- Native stack trace -----
283.8
283.8  1: 0xca5430 node::Abort() [node]
283.8  2: 0xb7807d  [node]
283.8  3: 0xeca0b0 v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, v8::OOMDetails const&) [node]
283.8  4: 0xeca397 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, v8::OOMDetails const&) [node]
283.8  5: 0x10dc0e5  [node]
283.8  6: 0x10dc674 v8::internal::Heap::RecomputeLimits(v8::internal::GarbageCollector) [node]
283.8  7: 0x10f3564 v8::internal::Heap::PerformGarbageCollection(v8::internal::GarbageCollector, v8::internal::GarbageCollectionReason, char const*) [node]
283.8  8: 0x10f3d7c v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [node]
283.8  9: 0x114cb3c v8::internal::MinorGCJob::Task::RunInternal() [node]
283.9 10: 0xd201a6  [node]
283.9 11: 0xd22d5f node::PerIsolatePlatformData::FlushForegroundTasksInternal() [node]
283.9 12: 0x188aa33  [node]
283.9 13: 0x189f41b  [node]
283.9 14: 0x188b757 uv_run [node]
283.9 15: 0xbbbb83 node::SpinEventLoopInternal(node::Environment*) [node]
283.9 16: 0xcf4d25  [node]
283.9 17: 0xcf56ed node::NodeMainInstance::Run() [node]
283.9 18: 0xc5f367 node::Start(int, char**) [node]
283.9 19: 0x7f751e2171ca  [/lib/x86_64-linux-gnu/libc.so.6]
283.9 20: 0x7f751e217285 __libc_start_main [/lib/x86_64-linux-gnu/libc.so.6]
283.9 21: 0xbb8d7e _start [node]
284.5 Aborted (core dumped)
284.5  ELIFECYCLE  Command failed with exit code 134.

Dockerfile:14

12 |     FROM base AS build
13 |     RUN --mount=type=cache,id=pnpm,target=/pnpm/store pnpm install --frozen-lockfile
14 | >>> RUN pnpm run build
15 |
16 |     FROM base

ERROR: failed to solve: process "/bin/sh -c pnpm run build" did not complete successfully: exit code: 1
ERROR: Service 'grimoire' failed to build : Build failed

Are a minimal requirements to install?
I have 4GB of memory in the system but i use less than 1GB.
I hope that someone can help me.

OS: Ubuntu 22.04.3 LTS x86_64
Browser Firefox
Version 121.0

Hello @banphi! Hello @banphi! Yes, the building process takes a lot of memory. Currently, the image is only being built with ARM in mind. I hope I will have time soon to address that and add support for x86_64 as well.

Hello @banphi! Yes, the building process takes a lot of memory. Currently, the image is only being built with ARM in mind. I hope I will have time soon to address that and add support for x86_64 as well.

Thank you for your reply.
i solved with a workaround: i build the docker-compose on a better machine, with more ram, and then copy Docker image from one machine to another.


grpc-json-transcoder: Filter replaces the last colon in the path by slash

Description:

What issue is being seen? Describe what should be happening instead of
the bug, for example: Envoy should not crash, the expected value isn't
returned, etc.

Repro steps:
Have an envoy transcoding config with HttpRule{post: "/a/{arg=**}"}.
Send request with :path header set to /a/b:c:d.
Expected: arg value in request message is set to b:c:d.
Actual: arg value in request message is set to b:c/d.
Theory:
Underlying grpc-httpjson-transcoding library treats the last colon in path in a special way declaring everything after that as a "verb":
https://github.com/grpc-ecosystem/grpc-httpjson-transcoding/blob/faf8af1e9788cd4385b94c8f85edab5ea5d4b2d6/src/include/grpc_transcoding/path_matcher.h#L339-L345

cc @qiwzhang can you get more clarification on this spec re: path matcher? https://github.com/googleapis/googleapis/blob/master/google/api/http.proto#L224-L231

Yes,  Google http_template supports custom verb which is the last portion in the path; e.g. /path:verb.   But the way we handle it is not right, hence it is the bug.
Here is the correct way of handling it.
We should remember a list of custom verbs that configured.   If and only if the last path segment is one of them,  we replace it with "/".   Here we just blindly replace it.
The change in https://github.com/envoyproxy/envoy/pull/13921  is wrong.

@qiwzhang
So it's a bug in grpc-httpjson-transcoding?
I can send a path to that repo to copy behavior from api_manager.

Yes, it is a bug.  In the grpc proto,  if we have:
a) option.http.rule {
get: /foo/{x=**}:d
}
b) option.http.rule {
get: /foo/{x=**}
}
for path = /foo/a:b:d
for a) x=a:b
for b) x=a:b:d

If you like, I can help to fix this.

Added https://github.com/grpc-ecosystem/grpc-httpjson-transcoding/pull/43 with a fix

Cool.   grpc-ecosystem/grpc-httpjson-transcoding#43 is the correct fix.  Approved.

Thanks for the prompt response.

BTW, Can you share what are use cases for this feature, please?

https://cloud.google.com/apis/design/custom_methods


Clean Max Stack and Max Locals

In this PR I added possibility to change XmlMethod instructions, max stack and max locals.
Closes: #550
History:

feat(#550): alter method instructions and move DirectivesMax to upper level
feat(#550): fix all qulice suggestions

PR-Codex overview
The PR enhances XML method representation by adding max stack and locals support.
Detailed summary

Added XmlMaxs class for max stack and locals representation
Updated XmlMethod to include max stack and locals functionality
Added DirectivesMaxs class for directives related to max stack and locals

The following files were skipped due to too many changes: src/main/java/org/eolang/jeo/representation/xmir/XmlMethod.java

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

@rultor merge

@rultor merge

@volodya-lombrozo OK, I'll try to merge now. You can check the progress of the merge here

@rultor merge

@volodya-lombrozo Done! FYI, the full log is here (took me 8min)


Best practice

When I start building a ship, I do it as a real ship looks: submerged (partially) in the water. So, let's say ship has 3 floors (hight 3 blocks). So I submerge one and have 2 above water line.
Observed issues:

When the ship is mounted, there is a hole in the water left... this 'HOLE' drags the ship back and it is wery hard to sail out from this hole.

When the ship is unmounted (properly, through ship inventory, with stop, align, dismount) It is never sure, where the ship will be stopped if also with one block submerged or if all above water.... which can look strange... when the ship was originally sbmerged and now is all above water.

When the ship is unmounted, the driver is often thrown from the ship into the water.

Question: So, how to do it properly? What is the best practice?

Build ABOVE the water.


React-Calendar Update

Q
A

Bug fix?
yes

New feature?
no

New sample?
no

What's in this Pull Request?

Code fix to Timezone and User Permissions

Thx @joaojmendes, appreciated.


SQLWATCH Install and Uninstall Functions

Type of Change

[X] New feature (non-breaking change, adds functionality)
[X] Ran manual Pester test and has passed (`.\tests\manual.pester.ps1)
[X] Pester test is included

Purpose
Fixes #4003. Install and Uninstall functions for SQLWATCH.
Commands to test
Obviously please check over everything - this is my first major PR to dbatools - but two things I think are worth paying special attention to:

This required a modification to New-DbaDacProfile to allow for <RegisterDataTierApplication> to be set. The way I solved that problem may not pass @FriedrichWeinmann or @RichieBzzzt's muster. It works but I'm not sure it's best practice.
Both the Install and Uninstall functions contain Pester tests. The unit testing completes successfully, but I could not do any of the Integration tests in my dev environment.

Thank you so much! 🙇 Overall, the code looks great, thank you! Before we do a full code review, please change a couple things

[ ] Please run the formatter to fix a couple style issues C:\github\dbatools> Get-ChildItem -Recurse *sqlwatch* | Invoke-DbatoolsFormatter
[ ] I think there are scoping issues in the tests (thanks so much for the tests 👌), please change $server to $script:instance2
[ ] We have an internal command for the TLS issue, please use that (see #4250)
[ ] Please change all instances of SQLWATCH to SqlWatch, including the file names. This will likely require renaming the file, committing that rename, then renaming again and committing again.

Looking forward to the updates!

Requested changes complete.

Hello!
I’m not aware of sqlwatch but I recall being involved in a conversation about changes to the publishProfile function.
I don’t have a problem with how you’ve made the change as it’s probably the only way to go given the frankly staggering option you can have in a publish file.
However one thing I’m not totally clear on is if we have a dacpac from a release, if a publish file is included with all the filled in properties required for sqlwatch, it would remove the need for using the new-dbadacprofile function to generate one of the fly.
The fact that the publish file would also be included with the dacpac means it’s versioned, so if any new properties were required then it would not require a change to the functions.
It’s just a thought and I appreciate you’re quite far into the pr.

Thanks again. Please note that I made a formatting change and updated from dev.
I think the issue with the test may be when a database is passed that doesn't exist, it doesn't work. When I use master, everything installs as expected.
Unfortunately, it takes 30+ seconds to install on a pretty fast machine so I'll likely add it to the manual test batch, but would like a working test prior to moving to the manual test, look like we're almost there! 👌

Thanks @potatoqualitee for all your help on this. You were spot on about the database not existing, so I've updated the tests to use master instead. They're all passing locally so I'm pushing again and crossing my fingers...

My pleasure 👍  Thank you for adding some awesome commands!
Did you add a check for the database existing? Should we add one if it doesn't exist?

Since I switched everything to master, I don't see the need.
It does seem like it would be a more complete test if we used a different database, though. Do you agree?

master resets in appveyor but the issue isn't the test - it's the unexpected results when someone specifies a db that doesn't exist. I'll make an update 💯

so strange, i thought that the dacpac would create it, but then that wasnt my experience and ws sorta confirmed by the tests but now it's working again (??). anyway, i made a couple small changes in another PR. Thanks so much and looking forward to publishing to gallery and master 💯 💯 💯

BTW: tests are not written to run on appveyor. In a few months, I maybe wanna run those on my env to see if everything works fine, and littering master (in case something breaks) is definitely not viable.
Straight from contributing.md

Every resource should be named with the "dbatoolsci_" prefix. The test should attempt to clean up after itself leaving a pristine environment.

Try to write tests thinking they may run in each and every user's test environment.

true true, thanks for the reminder


New module for serialization test

I found that the unit test of the serialization module has serious code duplication problems.
I recommend adding a dubbo-serialization-test module to centralize unit tests for other serialization modules.

closed via https://github.com/apache/incubator-dubbo/pull/2632


Links for cohen datasets are broken

https://academic.oup.com/jamia/article/13/2/206/731153

https://academic.oup.com/jamia/article/13/2/206/731153


CRYPTO-58: Generate VERSION file using maven resource filtering.

Generating this file using maven resource filtering is less error prone.
Currenlty crypto uses a mix of sources for determining the version
number:

NativeClassLoader first reads from META-INF and then from VERSION
Makefile.common only uses the VERSION file

This change makes sure the version number will be set from only one
source, which is maven.

+1

Hi @britter , I have only one comment, others are LGTM

Hi @britter , I will committed it with the fix tomorrow, please feel free to comment or open a new ticket to revert it.

@sundapeng sorry, I have been on vacation last week. I'll look through your comments today and update the PR if necessary. Thank you!

Thank @britter , please feel free to let me if you have any question.

@sundapeng I've changed the path to /org/apache/commons/crypto/VERSION again for loading the version file.

Committed to master, thank @britter for your contribution


:sparkles: feat-request: errors support format

like: errors.Newf, errors.NewPublicf

I want to try it

@BeanWei  thanks


Candle re-ignite button is not responding properly

You have to hold down the button or press it several times to respond to the command.

fixed in #452


Profile page for each fellow

When you click on each fellows card, it sends you to a separate page which includes more detail such as:

Description
Favourite programming languages
Interests outside of technology
University

Hello,
I have opened a pull request with the necessary code implementations of the given task here https://github.com/MLH-Fellowship/prep-portfolio-23.MAR.PREP.2/pull/18
Please let me know if you have any comments!


[Bug] Cursed toggles

Describe the bug
The toggles in setting look strange
To Reproduce
Steps to reproduce the behavior:

Open Coffee
Click on "Settings"

Expected behavior

Screenshots

Device (please complete the following information):

Device: Redmi Note 9
Android version: 12
Applicable to all devices with Coffee installed

Help is welcome ;)
This is how I fixed it in a different app: https://github.com/openhab/openhab-android/commit/662546f8099280e8695431f4416548ee0a8886d8#diff-6e9b40d4cfd06e162fad9c5ccb332a1e8dbfee183f3c3e324f35bfcb929bbfc0R14 and https://github.com/openhab/openhab-android/commit/662546f8099280e8695431f4416548ee0a8886d8#diff-edd19ac66740bd090e9d4f65a1699e3e0eeaa24370915b58a0c863a7f4b94360

Although I can't kotlin, I'll try to make a PR when I get to my desktop

Hi pdimu I'm interested in working on this issue can you please assign it to me?

Hi mueller-ma I'm interested to work on this issue can you please assign it to me?

Feel free to open a PR for this :)

Although I can't kotlin, I'll try to make a PR when I get to my desktop

I never actually did 😔. I guess I'll let @PrakashIrom finish it


Supporting sparse the test parameters

The PR is to sparse the httpclient to matrix.
Test over on three conditions:

AppConfig live tests
KeyVault live tests
New KeyVault pipeline test over on non-critical path: https://dev.azure.com/azure-sdk/internal/_build?definitionId=1673&_a=summary
Search live tests which does not have parameterized tests.

/azp run java - keyvault - tests

https://dev.azure.com/azure-sdk/internal/_build/results?buildId=359431&view=results

/azp run java - search - tests

/azp run java - keyvault - tests

/azp run java - search- tests

/azp run java - appconfiguration - tests

/azp run java - search - tests

/azp run java - keyvault - tests

Right now, it is able to display the right name from Test tab.
https://dev.azure.com/azure-sdk/public/_build/results?buildId=360455&view=ms.vss-test-web.build-test-results-tab


test: a try to add linters to E2E tests

The ESLint and Solhint linters have been added and configured in folder e2e to check and auto-format TypeScript and JavaScript files.
The ESLint tool has been extended with the ESLint Stylistic plugin to check and correct formatting issues (indents, spaces, etc.).
The existing Prettier tool has been extended to auto-format the Solidity code.
The .prettierignore file has been added to make Prettier ignore auto-generated folders (artifacts, cache, typechain-types).
The errors and warnings found by the new linters have been fixed in the TypeScript, JavaScript and Solidity files.
The e2e-lint option in justfile has been corrected to run the new linters instead of Prettier.
The option to run Prettier has been renamed to e2e-prettier in justfile.
Some unused code related to changing of the RPC provider has been removed from the e2e/test/helpers/rpc.ts file. That code is currently used in the e2e-contracts folder.
IMPORTANT! Prettier not always gives the good results of code formatting. So if you run just e2e-prettier you'll still find some possible changes in the code, but they are not applied intentionally due to the existing version seems more readable than that Prettier provides. It is also the reason why Prettier has not been used for check the formatting (e.g. for Solidity files through solhint-plugin-prettier). Linters are more suitable here. Unfortunately, no good supported formatting linter for Solidity was found. Solhint supported formatting checks up to version 3, but then dropped that (see this release note here). So it is expected that Prettier will be used to  auto-format Solidity code, but then the results will be checked and inappropriate changes will be rolled back.
An example of a well-known issue with Prettier when you apply it is applied to Solidity is formatting intentional multi-line entities into a single line. E.g. the following code:event Add(
    address indexed account,
    uint256 amount
);

will be changed as:event Add(address indexed account, uint256 amount);

A workaround to prevent that is use a comment on the first line, like:event Add(
    address indexed account, //
    uint256 amount
);

But it looks a bit awkward.

Closed as have too many issues on Codacy and I can't resolve them in the near future


Handler for Mattermost

Hello, I use Mattermost, open source competitor Slack, do you think it would be possible to set up a handler Mattermost like Slack?
thank you

you can use 3rd party handlers : https://github.com/viniciuswebdev/monolog-mattermost


fix(dc) exclude cases where "plugins" are used not as plugins

entities
Fix #7160

@gszr test added!


Support BanManager v7

Recently pushed v7 support related commit up to fork, but I have problem with Jenkins repository for a new 7.* versions: there are no packaged .jar files for BanManager artifact, so I am getting maven dependency errors when I'm trying to add it to project in order to be able to use bukkit defined Events.

@NyanGuyMF You'll need to depend upon BanManagerBukkit instead, https://banmanagement.com/developers

@confuser Oh, great, thanks a lot) Now that works perfectly


Update specs2-core to 4.13.2

Updates org.specs2:specs2-core from 4.13.1 to 4.13.2.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.specs2", artifactId = "specs2-core" } ]

labels: test-library-update, early-semver-patch, semver-spec-patch, commit-count:1

Codecov Report

Merging #76 (c76f8fc) into master (1bdfef9) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #76   +/-   ##
=======================================
  Coverage   31.78%   31.78%
=======================================
  Files          17       17
  Lines         258      258
  Branches        6        6
=======================================
  Hits           82       82
  Misses        176      176

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 1bdfef9...c76f8fc. Read the comment docs.


Keyboard shortcuts assigned to links do not work with non-English keyboard layouts

Keyboard shortcuts assigned to links do not work with non-English keyboard layouts. Personally I'm using English (USA) and Russian keyboard layouts. When keyboard is set to English, both In-page/Page/Tab keyboard shortcuts and keyboard shortcuts assigned to links are working well. When I'm switching to Russian keyboard layout In-page/Page/Tab keyboard shortcuts are still working as expected, but keyboard shortcuts assigned to links are not working at all. Can this be fixed?
I'm using Vimari 2.0.3 under the latest macOS Catalina beta (19A582a). iMac (Retina 5K, 27-inch, Late 2014).

macOS version: 10.15
Safari version: 13.0.2
Vimari version: 2.0.3

@VKondakoff thanks for reporting this. When in a Russian layout, would you expect the keyboard shortcuts to be in the same position as they are in the US layout, or to follow the Cyrillic characters on the keys?

I think it is not idea to make new keyboard shortcuts every time user switch the keyboard layout. So I think the best (and hopefully easiest) way to implement this is to left shortcuts in the same position. This implementation sounds quite consistent, because In-page/Page/Tab keyboard shortcuts are working exactly the same way: when keyboard layout is switched, the shortcuts still work on the same position as they were before switching.
Thanks for looking into this issue: it makes almost impossible to use vimari on systems with several keyboard layouts!

KeyEvent.key and KeyEvent.keyIdentifier is not same within US and non-US input sources.

I've had same issue with Vimium.
And I solve it with "ignore keyboard layout" feature recently.
thank in advance.

We truly need ingore layout feature!! please!

We truly need ingore layout feature!! please!

Support this feature request


FObjectArrayView and StringArrayView enhancements

Create a CollapseableDetailView and a DraftDetailView and use them in the FObjectArrayView.
The resulting behaviour is that an FObjectArrayView just renders a row for each element in it that has a button that can be clicked to show that value. Once edited, the user must click the save button to persist the changes.
Also update StringArrayView to use ArrayView

I originally wanted to use a TableView for the FObjectArrayView but that got complicated since not all objects have an ID and the TableView would require me to put objects into a DAO. Maybe I'll revisit that some day but I think these are all useful views to have kicking around but let me know if you disagree.


Qwen-VL inference errors

Hello, I deployed the model based on examples/qwenvl/README.md, but the model inference result of running run.py was incorrect. What is the problem?

Input: "[{'image': './pics/demo.jpeg'}, {'text': 'Describe the picture'}]"
Output: "On the beach, a dog and its owner sit side by side, with the owner holding a cup of coffee."

I have this problem too. I changed the Input text to "Analyze style of the picture", the answer is not relevant.
CUDA_VISIBLE_DEVICES=1 python3 run.py     --tokenizer_dir=/home/Qwen-VL-Chat     --qwen_engine_dir=./trt_engines/Qwen-VL-7B-Chat     --vit_engine_dir=./plan     --images_path='{"image": "./pics/demo.jpeg"}'     --input_dir='{"image": "image.pt"}'
Input: "[{'image': './pics/demo.jpeg'}, {'text': 'Analyze style of the picture.'}]"
Output: "The style of the picture is quite unique and striking. It features a close-up shot of a person's feet on a sandy beach, with the sea in the background. The person is wearing flip flops, which adds to the casual and relaxed atmosphere of the scene. The composition of the picture is simple yet effective, focusing on the interplay between the person's feet and the natural surroundings. The use of negative space also adds to the visual impact of the image, making it more engaging and memorable. Overall, the style of the picture is both artistic and evocative, capturing a sense of leisure and freedom in a beautiful coastal setting."
PLUS, when I tried some other input texts, it answered that "no images are given" several times, very confusing.

Hi @jdmdj1999 @chiquitita-101 what TRT version you are using and what kind of quantization method you're using for Qwen?

@sunnyqgg

Hi@sunnyqgg
tensorrt-llm 0.9.0.dev2024040200
Qwen-VL-Chat
I deployed according to examples/qwenvl/README.md

I found that the error was caused by deployment and inference on different type of GPU


Custom properties

Give the designer easy access to custom properties so they an manipulate them across the page
kudos to @Cthulahoop for conjuring that one up

devtools can do this now and will be able to do it better later

wait, i want to leave this open, i still think there's room here


MAP_CLICK not working on Android device

Hi,
I'am trying to use this code.But console.log dosen't print any message when I click on map.
map.on(plugin.google.maps.event.MAP_CLICK , function(latLng) {
console.log('Map is clicked.\n' + latLng.toUrlValue());
});

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/24698333-map_click-not-working-on-android-device?utm_campaign=plugin&utm_content=tracker%2F637500&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F637500&utm_medium=issues&utm_source=github).

I have some problem too. Clicks work fine on iOS emulator but there are no anything after my click on Android device

@wolf-s could you dig into this? I really need someone whon contributes to android and it seems that you have good know how

Actually I don't, but I'll try to sort it out

On android 4.4 im using this angularjs code and it works fine.
  map.on($window.plugin.google.maps.event.MAP_CLICK, function (e) {
    $log.debug('click');
    $log.debug(e);
    $log.debug(e.lat);
    $log.debug(e.lng);
  });

Also tested today, can't reproduce any error. I'm sorry. Make sure nothing is blocking the map

I just ran into this issue, and after some debugging I found the root cause behind it.
This occurs when you have hidden (visible: false) circles/polygons/polylines on the map and you tap/click where they would show had they been visible.

Ah, I see.
The current version does not consider the visibility of the circle (overlays).
https://github.com/mapsplugin/cordova-plugin-googlemaps/blob/master/src/android/plugin/google/maps/GoogleMaps.java#L1444-L1459

The v2-beta version considers the visibility of each overlays.
Please use it.
https://github.com/mapsplugin/v2.0-demo/


Update http4s-blaze-client, ... to 0.21.23

Updates

org.http4s:http4s-blaze-client
org.http4s:http4s-blaze-server
org.http4s:http4s-circe
org.http4s:http4s-dsl

from 0.21.3 to 0.21.23.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Applied Migrations

dependency:v0_21@org.http4s:http4s-scalafix:0.21.5

Documentation:

https://github.com/http4s/http4s/releases/tag/v0.21.5

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.http4s" } ]

labels: library-update, semver-patch, scalafix-migrations

Superseded by #288.


A Simple Ordinal Based Mask Encoding V1a

Q. What is the problem?
A. Ordinal mapping for all combinations of SEW and LMUL is absent.
Ordinal mapping is a desirable trait.
So much so that v0.8 (and 0.7 before it) advocated keeping LMUL to SEW ratio the same, in part so that it would retain ordinal mapping of mask values.
Q. What's wrong with what's there now?
A. A change in SEW will invalidate the ordinal mapping of masks for a given LMUL register group.
E.g. Changing SEW size by 1/2 will cause every second mask bit to be ignored. see**
Whereas this may be a useful characteristic that could be exploited by software, the every other bit  mapping varies by SLEN. see*** Making it much less attractive, and the kind of feature previously discouraged in defining the RVV design. Granted, this mapping was quite functional under the previous vertical striped LMUL design, but is unnecessarily complicated under the SEW dependent interleave format. see****
Likewise, A change in LMUL will invalidate the ordinal mapping of masks for a given SEW setting.
see**
Ignoring every second bit is apparent from the definition of MLEN =  SEW/LMUL (#443).
Consider LMUL=1 and SEW=16. MLEN matches SEW of 2 bytes. Set all mask bits  to one with vseteq v0,v0,v0. Now every two bytes has lowest bit set. Now set SEW=8 (using vsetvli). The mask at this SEW level now alternates between set and clear.
see***
However, the alternating element bytes are consecutive only if VLEN=SLEN, for VLEN=2 * SLEN the ordinal numbers of adjacent bytes advance by 2, so every 4th element is set (by 8 for 4 * SLEN, etc.)
If we now also halve LMUL, we should be back to MLEN=2 * SEW, and we are.
see****
Note from the MLEN formula above, LMUL chunks of MLEN fit into a SEW chunk.
The comparatively simple VLEN=SLEN mask address calculation is mask_LSB_index(i) =  i  * MLEN for the ordinal number i.
(Note also for LMUL=1 that the defined SEW chunk housed all MLEN with the same SEW/LMUL ratio. This is the base configuration for SEW elements. )
It is apparent that consecutive ordinals are mapped into consecutive MLEN chunks. This previously had physical meaning as consecutive vertical striped elements were in successive registers. MLEN set (LMUL of them) contained within the base SEW element designated what physical register the corresponding element was in. That physical meaning is no longer relevant.
The mapping to physical registers of MLEN chunks aligned to the base configuration SEW(i when LMUL=1) is dependent upon its ordinal within the base SEW, i, SLEN, VLEN, and two of MLEN, SEW and LMUL.
Q. What is the solution you're proposing?
A. A simple Ordinal based mask encoding
Q. How is it better?
A. It is simpler. It retains ordinal mapping of mask values for all the values last set that are addressable by the new LMUL and SEW, even when the SEW/LMUL ratio changes.
Q. How is it worse?
A. i) It is a potentially substantive mind shift.
ii) For the special case LMUL=1, the mask Least Significant Bit no longer aligns with bit zero of every SEW element. The merit of this alignment is reduced now that, with fractional LMUL, the prominent position as the lowest denominator for elements is no longer held by LMUL=1.  As of patch d7dbbd7 #443 , fractional LMUL no longer retains LSBit alignment.  Further, given that multi-precision instructions directly provide corresponding V0 mask bit to any SEW at any LMUL the need for the alignment is dubious.
( e.g. - add mask bit to vd :  vadc.vxm vd,vd,x0,v0);
. . . .  -  if mask bit 0 set vd to 0 else -1 : vsbc.vvm vd, vd, vd, v0)
The specific proposal:
The mask register remains a single physical register of length VLEN.
The fundamental changes from current specification are:
current spec:
 MLEN=SEW/LMUL;
mask_LSBit_index(__i__) = (__i__ % (VLEN / SLEN)) * SLEN +
                   floor(__i__ / (VLEN / SLEN)) * MLEN

proposed has

MLEN=1;
mask_LSBit_index(__i__) = (__i__ % (VLEN / SLEN)) * SLEN +
.                   floor(__i__ / (VLEN / SLEN) ) * 8 + __i__ % (VLEN/SEW)

When VLEN=SLEN both fomulae for mask_LSBit_index(__i__) are simplified:
Current:           __i__  *  SEW/LMUL
Proposed:        __i__ * 8    + __i__ % (VLEN/SEW)

Due to this simple ordinal mapping and MLEN=1,:
Element i , regardless of  SEW, share the same mask value.
In addition, the mapping is independent of LMUL.
Dependent upon VLEN, SLEN, SEW and i (that is vl).
Sets of elements can be processed under mask, in smaller register groups (smaller LMUL) reducing register pressure.
A logical right shift of n on the mask register reduces by n the number of physical registers mapped, effectively shifting to the lower registers the mapping of the higher registers. SEW=8 allows this to be performed most simply, but in many cases a larger SEW is possible as bits shifted from byte to byte will be ignored by subsequent operations. If elements in higher physical registers than the mask are expendable, then an LMUL=1 change can also be avoided.

I've been working through various mask designs and agree we have to move to a design with MLEN=1.  A big problem with current design is that to work for fractional LMUL, MLEN grows to large values  (e..g, for SEW=8, LMUL=1/8, MLEN=64b).
In SLEN=VLEN designs (i.e., with no spatial datapath sections), we can simply have mask for element i lives at bit i.  For designs with spatial datapath sections (SLEN<VLEN), we map bit I to the appropriate section (i is strided across sections). Within each section, the bits are simply packed in contiguous order for the element indices mapped to that section.  These mappings are independent of SEW or LMUL.
This does require potentially bit-level updates of the mask register, but they were needed anyway when MLEN=1.

I totally botched the formula (and my description of it when I included SEW in the formulation).
It was total rubbish.
I appreciate the idea was acknowledged.
However, with the correct formulation the characteristics that I described may be apparent.
Aspects of the description may still be useful for reference as I reply to the new MLEN=1 update.
The fundamental changes from current specification are:
...
proposed :

MLEN=1;
mask_LSBit_index(__i__) = (__i__ % (VLEN / SLEN)) * SLEN +
                    (floor ( __i__ * SLEN / VLEN) * 8) % SLEN +
             floor( (floor ( __i__ * SLEN / VLEN) * 8)/  SLEN)  ) / 8

When VLEN=SLEN ... for mask_LSBit_index(__i__) [is] simplified:
...

mask_LSBit_index(__i__) = 0 +
                    (        __i__                * 8) % VLEN +
             floor( (        __i__                * 8)/  VLEN)  ) / 8


Support exporting to Prometheus Push Gateway for short-lived processes

Currently I see no way to push collected metrics to prometheus before program exit (especially in short batch programs), since views are reported periodically based on a timer.
What I have currently done is set view.SetReportingPeriod to something low and wait some duration and then perform the push.

Prometheus natively doesn't really support this using the pull model. What seems like it would work would be to provide OpenCensus support for the Prometheus Push Gateway: https://github.com/prometheus/pushgateway.
Mind if we repurpose this as a feature request on the Prometheus exporter?

You can currently push using the prometheus api (combined with opencensus). But if we get "native" push support in opencensus even better.
What I am doing currently:

set up exporter with provided registry
flush views lowering the view.SetReportingPeriod (a hack)
user prometheus api to push

Curious how you are pushing using the prometheus API. As I understand it, you register the exporter as an http.Handler and Prometheus scrapes it periodically. There isn't really a way to "force" Prometheus to scrape your app in a timely fashion. Sure, you can use SetReportingPeriod but all this does is change how often the page that Prometheus scrapes is updated. It doesn't guarantee that Prometheus will actually get the updated data.

No, I do not register the endpoint, opencensus Prometheus exporter is just an interface between opencensus views and native prometheus registry. I am using the push api that is using the gateway.
So I pass in explicit registry in NewExporter: prometheus.Options{Registry: registry}
And then use the push api: push.FromGatherer(job, nil, promGateway, registry)

Ah I see. I didn't realize that was possible. I will keep this open to add an example and document that usage.
I will also retitle to be closer to your original issue, namely that we need a way to flush exporters at process termination.