Send: stream.Write exception: System.IO.IOException: Write failure

The headless server comes to a complete halt (cpu usage from 60% to under 10%) and not a total crash. All connected clients stay connected but no network activity, and no new connections can be made.
Until what seems a timeout period lapses, the problematic connection drops, floods the log processing buffers then the game resumes as normal.. sometimes the existing connections can continue from then on, depending on how long it has been down.
All players have various avg ping anywhere from 50ms to 700ms
No reproduce method found yet. I'm still unsure if disconnecting the problematic connection is the correct way to handle this.
This is occurring on a 5month old Mirror, so I can confirm it is not a regression.
Apologies for all the unknowns, will update as I find out more.
Below is the stacktrace I recieve:

Send: stream.Write exception: System.IO.IOException: Write failure ---> System.Net.Sockets.SocketException: Connection timed out
  at System.Net.Sockets.Socket.Send (System.Byte[] buf, Int32 offset, Int32 size, SocketFlags flags) [0x00000] in <filename unknown>:0
  at System.Net.Sockets.NetworkStream.Write (System.Byte[] buffer, Int32 offset, Int32 size) [0x00000] in <filename unknown>:0
  --- End of inner exception stack trace ---
  at System.Net.Sockets.NetworkStream.Write (System.Byte[] buffer, Int32 offset, Int32 size) [0x00000] in <filename unknown>:0
  at Telepathy.Common.SendMessage (System.Net.Sockets.NetworkStream stream, System.Byte[] content) [0x00000] in <filename unknown>:0

The following stacktrace is what another person is experiencing, looks to be the same issue:
Send: stream.Write exception: System.IO.IOException: Unable to write data to the transport connection: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
. ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
  at System.Net.Sockets.Socket.Send (System.Byte[] buffer, System.Int32 offset, System.Int32 size, System.Net.Sockets.SocketFlags socketFlags) [0x00016] in <3845a180c26b4889bc2d47593a665814>:0
  at System.Net.Sockets.NetworkStream.Write (System.Byte[] buffer, System.Int32 offset, System.Int32 size) [0x0009b] in <3845a180c26b4889bc2d47593a665814>:0
   --- End of inner exception stack trace ---
  at System.Net.Sockets.NetworkStream.Write (System.Byte[] buffer, System.Int32 offset, System.Int32 size) [0x000e2] in <3845a180c26b4889bc2d47593a665814>:0
  at Telepathy.Common.SendMessagesBlocking (System.Net.Sockets.NetworkStream stream, System.Byte[][] messages) [0x00075] in <65650c357bbf4c47b1245de11c332c0e>:0

This is occurring on a 5month old Mirror, so I can confirm it is not a regression.
So does it happen with latest Telepathy too?

floods the log processing buffers
What do you mean with that? What does it log exactly?

floods the log processing buffers
What do you mean with that? What does it log exactly?

It dumps multiple lines of the usual Debug.Log() messages ummo headless outputs like
Saved xx player(s)
what unity processed during the hang.

Updated to 2018.3.11f and latest source based mirror, using the newest Telepathy DLL, I'm still experiencing the System.IO.IOexception. Ummo server still hangs as described above.
 Send: stream.Write exception: System.IO.IOException: Unable to write data to the transport connection: Connection timed out. ---> System.Net.Sockets.SocketException: Connection timed out   at System.Net.Sockets.Socket.Send (System.Byte[] buffer, System.Int32 offset, System.Int32 size, System.Net.Sockets.SocketFlags socketFlags) [0x00016] in <d2089eb4d5454c27b77bed2594d4c554>:0   at System.Net.Sockets.NetworkStream.Write (System.Byte[] buffer, System.Int32 offset, System.Int32 size) [0x0009b] in <d2089eb4d5454c27b77bed2594d4c554>:0    --- End of inner exception stack trace ---   at System.Net.Sockets.NetworkStream.Write (System.Byte[] buffer, System.Int32 offset, System.Int32 size) [0x000e2] in <d2089eb4d5454c27b77bed2594d4c554>:0   at Telepathy.Common.SendMessagesBlocking (System.Net.Sockets.NetworkStream stream, System.Byte[][] messages) [0x000ab] in <224894d5e038467097cd284711d96cd9>:0 UnityEngine.DebugLogHandler:Internal_Log(LogType, String, Object) UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[]) UnityEngine.Logger:Log(LogType, Object) UnityEngine.Debug:Log(Object) Telepathy.Common:SendMessagesBlocking(NetworkStream, Byte[][]) Telepathy.Common:SendLoop(Int32, TcpClient, SafeQueue1, ManualResetEvent)
Telepathy.<>c__DisplayClass8_0:b__0()
System.Threading.ThreadHelper:ThreadStart_Context(Object)
System.Threading.ExecutionContext:RunInternal(ExecutionContext, ContextCallback, Object, Boolean)
System.Threading.ExecutionContext:Run(ExecutionContext, ContextCallback, Object, Boolean)
System.Threading.ExecutionContext:Run(ExecutionContext, ContextCallback, Object)
System.Threading.ThreadHelper:ThreadStart()
`
Will try some things on my end, will post updates as I progress.

ok so whatever the internal socket exception says is usually true.
in that case, it's very likely that the network connection actually timed out.
now does this happen on the server or on the client?
if on the client then it should disconnect from the server - does it do that?
if on the server then it should remove that client - does it do that?

@trippah closing this for now.
please reopen if you have more information / want to look into it again :)


After closing the Modal it won't Open again

I'm having a strange error, after closing down a modal it won't open again and completely freezes the page:
https://user-images.githubusercontent.com/67440708/182307804-4b71b2ab-04e0-4361-8efe-d5b098d225b9.mp4
I have removed Alpine CDN since I already have it loading from the node modules folder. This was the only solution I found and it is still not working. Any help will be appreactied.
Thank You

Solved:
Alpine was loading from livewire-powergrid too. After commenting the CDN link in config file it works.

Solved:
Alpine was loading from livewire-powergrid too. After commenting the CDN link in config file it works.

in config/livewire-powergrid.php change this line to 'alpinejs_cdn' => null,


Docs.remove example templates

Issues: Fixes: #15
Problem: The examples templates need to be removed from this repo
Analysis: Removed the examples directory from here and moved them into
the f5-openstack-heat repository.
Tests:

Closing myself. Didn't touch python code, only removed yaml files, since they have been migrated to the f5-openstack-heat repo.


Release the build/design files?

Any plans to release gerber files, BOM, etc.?

It's in the Instructables website.
https://www.instructables.com/DIY-1kW-MPPT-Solar-Charge-Controller/


problem adding all zone from A.6x

I was not sure if I should file this here or in the main vsslctrl project.  I get this error when I try to add all 6 zones from an A.6x.  I am able to add the first 3 zones without trouble.
This error originated from a custom integration.

Logger: custom_components.vsslctrl.config_flow
Source: custom_components/vsslctrl/config_flow.py:108
integration: VSSL (documentation, issues)
First occurred: 11:38:57 AM (2 occurrences)
Last logged: 11:41:12 AM

9 is not a valid AnalogOutput.Sources
Traceback (most recent call last):
  File "/config/custom_components/vsslctrl/config_flow.py", line 108, in async_step_connect
    vssl.add_zone(int(zone_id), host)
  File "/usr/local/lib/python3.12/site-packages/vsslctrl/core.py", line 244, in add_zone
    self.zones[zone_index] = Zone(self, zone_index, host)
                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/vsslctrl/zone.py", line 58, in __init__
    self.analog_output = AnalogOutput(self)
                         ^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/site-packages/vsslctrl/io.py", line 142, in __init__
    self._source = self.Sources(zone.id + 3)
                   ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/enum.py", line 744, in __call__
    return cls.__new__(cls, value)
           ^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/enum.py", line 1158, in __new__
    raise ve_exc
ValueError: 9 is not a valid AnalogOutput.Sources

Thank you very much for all the hard work on this already, amazing!

Cheers.
I have just made a change to vsslctrl, which I hope will address this issue.
You should update to 0.1.5.dev1 and try add zone 4-6 again please

Looks great, I was able to add all 6 zones from the A.6x with no issue.  Thank you for all your hard work and prompt response!


update to 1.2.1

@CJ-Wright the bot kind of missed this one. Not sure if there is a real issue with the recipe or just "normal" failure.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@conda-forge-admin, please rerender

I'm not sure what happened there. The graph currently lists 1.1.9 as the upstream version number. I think we've been having some off and on R issues (the bot timed out recently on an R recipe, for apparently no reason, so maybe it missed the version update?).


Clear holiday schedules when they're implemented

https://github.com/project-chip/connectedhomeip/blob/bebbd74187a721154f82061f1023a347d7ce7f57/src/app/clusters/door-lock-server/door-lock-server.cpp#L2307-L2312

This issue was generated by todo-issue based on a TODO comment in bebbd74187a721154f82061f1023a347d7ce7f57.

Holiday schedules are already implemented.


how i can fix this please help

I need help so bad right now I want use bloxstraps but doesnt work

You have the desktop app disabled. When it's disabled, the "Play Roblox" shortcut just opens the Roblox games page in your web browser, which is what this is trying to do. Just use the website.

On another note - how do you not have a default browser selected?


Feature/terra3 47 alb logs configurable

Please review the PR.

This PR is included in version 0.12.0 :tada:


Make targetNamespace immutable

Make targetNamespace immutable.

Closes: https://github.com/aws/eks-anywhere-packages/issues/512

/lgtm


[Feature]: Enable pure mode in devbox.json

Is your feature request related to a problem you're trying to solve? Please describe.
Pure mode is a great step forward in providing more isolated Devbox environments, but currently it requires users to supply the --pure option when running devbox shell. Users may neglect to do this, resulting in inconsistent behaviour across users. The VS Code and direnv integrations also do not supply the --pure option.
Describe the solution you'd like
If pure mode could be enabled in devbox.json, we can ensure Devbox environments will be consistent across all users. A benefit of this is that the VS Code and direnv integrations will support pure mode without requiring any changes.
Describe alternatives you've considered
An alternative is that in a future version, pure mode becomes the default. In this case, pure mode would not need to be explicitly enabled indevbox.json.

The --pure option has been really great for me. I'd love to make it the default!


Fab - Save the world option not displayed in global menu

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

Issue found when executing PR https://github.com/Expensify/App/pull/27750
Action Performed:

Login to the Expensify app using an email address with a private domain
2,Open the global menu

Expected Result:
Save the world option displayed to choose
Actual Result:
Save the world option not displayed
Workaround:
Unknown
Platforms:

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

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

Version Number: 1.3.73-0
Reproducible in staging?: Yes
Reproducible in production?: Yes
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
https://github.com/Expensify/App/assets/78819774/1cb155de-48d8-4c89-8ece-5ffb4f71a9b0
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
View all open jobs on GitHub

This is intentional. https://github.com/Expensify/App/pull/27763

The Save the world menu item in global create was hidden as the launch got pushed back. This is intentional. closing :)


Containers created on CLI are not being displayed in Kitematic

I think this should be possible but I can't figure out how to do.    I want images/containers that I have built to show up the gui.
I tried opening the terminal and building a images and did not see it.   Then I started the container but still did not see it.  Is this not supported?
Thanks great work so far this is awesome so far

Hi there! Thanks for creating an issue.
Kitematic syncs with what you do on the CLI as long as commands are run while pointed at the right Docker VM & ENgine. To make sure your shell is correctly either use:

$(docker-machine env dev) in a terminal or click the Docker Terminal button in Kitematic:

Or click on the button shown below:

Does this work at all?
In terms of being able to build an image in Kitematic - that's not yet possible - sorry.

Having the same issue.
I opened the Docker Terminal by clicking the button as describe, created an image, then created a container. It's running. But it doesn't appear in the Kitematic window.

@kykim Do you have the procedure to help us reproduce on our side?
Thanks!

docker run -d -t -p 8282:80 -p 443:443 -v /Users/me/work/drupal_docker/logs:/var/log/apache2  -v /Users/me/work/drupal_docker/status:/var/www/html/status status
starts a container
4868fd8d79b7        status:latest      "/bin/sh -c 'bash -C   2 minutes ago       Up 2 minutes        <IP_ADDRESS>:443->443/tcp, 3306/tcp, <IP_ADDRESS>:8282->80/tcp   prickly_bardeen
and then kitematic doesn't show the created container. I built the container from the command line after clicking "Open terminal to use docker command line"

:+1:
Was working in 0.7.7, but containers no longer show in 0.8.5.

All containers were created and started via command line.
I have this in .bash_profile and .bashrc:
if [ $(type -P docker-machine) ]; then eval $(docker-machine env dev); fi

@d3v1an7 the VM that kitematic uses is called 'default' - Change your .bashrc to:
if [ $(type -P docker-machine) ]; then eval $(docker-machine env default); fi

:+1: I'm having the same problem.
Kitematic 0.9.4
El Capitan 10.11.2
Locally built image on the command line started through the Kitematic GUI. Start the container via the CLI with a docker run and the container is not shown in the Kitematic container list.
c99873e9eaf6        klousiaj/wso2-das:1.0   "/bin/sh -c 'sh ./wso"   3 hours ago         Up 3 hours          7711/tcp, 8243/tcp, 8280/tcp, 9443/tcp, 9763/tcp, 10397/tcp   condescending_easley

@klousiaj anyway to share the Dockerfile (and assets) for this image? I'd like to try and replicate this.

I haven't identified a pattern with a particular Dockerfile/image. I have a couple of published images that you can find source for on my github. But it doesn't seem that my problem is limited to only images built locally through the CLI.
It was working for a while. I restarted and am seeing the following now:

CONTAINER ID
IMAGE
COMMAND
CREATED
 STATUS
 PORTS
 NAMES

 27024cb47b35
klousiaj/wso2-das:latest
"/bin/sh -c 'sh ./wso"
 3 minutes ago
 Up 23 seconds
 <IP_ADDRESS>:32774->7611/tcp, <IP_ADDRESS>:32773->7711/tcp, <IP_ADDRESS>:32772->9160/tcp, <IP_ADDRESS>:32771->9443/tcp, <IP_ADDRESS>:32770->9763/tcp, <IP_ADDRESS>:32769->21000/tcp
 wso2-das

 2cfc4f6ce786
mysql:latest
"/entrypoint.sh mysql"
 6 minutes ago
 Up 2 minutes
 <IP_ADDRESS>:3306->3306/tcp
mysql

 901d8abae64c
klousiaj/h2-db:latest
"/bin/sh -c 'java -cp"
2 days ago
Exited (143) 44 hours ago

 h2-db

 8e2d37681ce8
klousiaj/wso2-am:latest
"/bin/sh -c 'sh ./wso"
3 days ago
Exited (137) 2 hours ago

wso2-am

 7b865d931290
centos:7
"bash"
4 days ago
Exited (0) 4 days ago

cranky_wright

I'm not sure where my other containers went...

OK great - last question for my qa, can you provide the commands you run with each?
docker build -t klousiaj/wso2-das:latest . ?
docker run -itd --name wso2 klousiaj/wso2-das:latest ?

You got it...
I was able to just bring the UI back up inline. I'm thinking that this might be an issue with processes not all dying in sync. I went into Activity Monitor and force killed a couple of docker-machine processes and the next start of Kitematic brought it all back up in line. (I will say, this no longer seems related to the OP's issue)

You got it...
I was able to just bring the UI back up inline. I'm thinking that this might be an issue with processes not all dying in sync. I went into Activity Monitor and force killed a couple of docker-machine processes and the next start of Kitematic brought it all back up in line. (I will say, this no longer seems related to the OP's issue)

seems something else is happening in the background. Thanks for the update. I'll close this issue as it's becoming unrelated.
Would you mind creating a new issue for this (keeping the OP from getting a bunch of emails)

I have seen the same issue but if you click refresh container list from the view menu, you will see all of the running container in Kitematic UI.

If you are on mac and have the native docker and somehow it was showing earlier and all of a sudden one day you don't see the containers in kitematic. Then check the kitematic settings ->VM settings-> Use VirtualBox instead of Native on next restart is checked. Uncheck it and it will show all the containers.

I had to turn ON that feature (it was off), and on kitematic restart, turn it back off.
Once that was done, we were good.

Thanks @hotdang-ca's suggestion worked for me too

我遇到了同样的问题，看了大家的问题，我尝试把 kitematic 退出后再启动，然后就可以看到列表了。可能是重启电脑后，自动打开原来的窗口引起的。


AMI support removed

Is there a reason why the support for official keydb AMI images on AWS was removed?

That was an offering of our KeyDB Pro version, however we no longer offer that only the Open Source version as is. There are no plans to offer a paid version again.


Implement rewrite_result for AST nodes

Background
Since current rewrite method cannot track the context , this pr plans to implement rewrite_result method that returns Result. I will replace rewrite with rewrite_result in further pr.
Detail
Added a default implementation of the rewrite_result method, which calls the existing rewrite method and transforms the Option into a Result with a default error kind. Additionally, I implemented the rewrite_result method for the Chain and ast::Local types by copying the body of their respective rewrite functions and replacing some of the Option handling logic with appropriate error handling.
TODO & Question

Haven't had a chance to look at this, but just wanted to say I'm intrigued and excited by the title and description!

@calebcartwright Thank you so much for your interest! I've actually posted a tracking issue (#6206) for this project, where you can follow along with updates and progress.


End of Game graphics not displaying (no handler was executed)

The End of Game overlays don't seem to be working properly for me. The game state shows End of Game is live/active and it does seem to fetch the data from the matches, but there just isnt an image being displayed in the browser source. Everytime I try to refresh the browser source I get the "Request was sent, but no handler was executed" warning.
Steps to reproduce the behavior:

Finish spectating a public match using the tool (from start to finish) & press on load match (postgame) in the game state module,
(or) load the gameid (I used<PHONE_NUMBER>)
Check the End of Game overlays (or lack thereof)

I expect the overlays to be available when the tool fetches the data for the specific match. I assume there isnt something else I need to do before or after to make it functional.
2022-05-04T00:11:53.550Z [info ] server      : Listening for requests on http://localhost:3003
2022-05-04T00:11:59.969Z [warn ] lpte-svc    : Request was sent, but no handler was executed. This will result in a timeout. Meta={"namespace":"league-end-of-game","type":"request","version":1,"reply":"request-2c807935","channelType":"REQUEST"}
2022-05-04T00:12:01.227Z [info ] plugin-webapi: Fetching match data for matchid=5855110823
2022-05-04T00:12:01.966Z [info ] plugin-webapi: Fetched match for matchId=5855110823, gameId=5855110823
2022-05-04T00:12:13.527Z [warn ] lpte-svc    : Request was sent, but no handler was executed. This will result in a timeout. Meta={"namespace":"league-end-of-game","type":"request","version":1,"reply":"request-54ba106b","channelType":"REQUEST"}
System:

OS: Windows 10
Node: 16.10
Browser: Firefox

This should be fixed with the newest version of the end-of-game module.


elk-pump workflow does not start

for notes, these are the errors seen while establishing the elkstack client connection:
telemetry@Ubuntu1804-01:/mnt/sda/InfluxSetupSeparate/iDRAC-Telemetry-Reference-Tools$ docker logs --follow 7136707f86c2
2022/07/25 22:59:48 Could not connect to message bus: dial tcp <IP_ADDRESS>:61613: connect: connection refused
2022/07/25 22:59:53 Could not connect to message bus: dial tcp <IP_ADDRESS>:61613: connect: connection refused
2022/07/25 22:59:58 connected to message bus
2022/07/25 23:00:13 Elasticsearch client is initialized & print esInfo
2022/07/25 23:00:14 [0 ] dial tcp: i/o timeout
2022/07/25 23:00:29 Cannot create index: dial tcp: i/o timeout

Fixed with https://github.com/dell/iDRAC-Telemetry-Reference-Tools/pull/106


functional programming in Javascript and functional programming in LINQ in C#

Proposed title of article
functional programming in Java script and functional programming in LINQ in C#
Proposed article introduction
As a C# developer, I've used JS on the front end for a few years now and have gotten quite proficient at it .The methods I'm looking to compare between JS and C# are related to arrays and collections (using LINQ). For JS or C#, I want to show you how to select the appropriate method based on your needs.
Key takeaways
1.What is the difference between filter (js) and Where (LINQ).
2.orderBy (js) versus sort (js) (LINQ)
3.C# (without LINQ) vs. js (forEach)
4.Reduction (js) versus aggregation (LINQ)
5.the difference between concact (js) vs. Concact (LINQ)
Article quality
My approach to this article is unique because it is broken down into bits and the explanation is straight to the main points. This article will be in depth, explaining all aspects of this concept. To ensure it is beginner-friendly, I will employ easy use of language to enhance understanding.
References
N/A

Thank you for your response and we thank you for submitting your topic. After some careful consideration it struck us that this topic may be a bit over saturated throughout other blog sites and official documentations as previously mentioned on your topic form by our content moderator.
We typically refrain from publishing content that is covered widely on the net or other blogs. As we're more interested in original, practitioner-focused content that takes a deeper dive into programming-centric concepts.
We believe this is the best way for students to build a great portfolio (for potential employers) is by building what does not exist and what can provide the most value.
You are more than welcome to pursue another more in depth topic.


pkgconfig info missing?

Hi,
I am moving here the discussion from https://github.com/multiphenics/multiphenicsx/commit/b80f047c74827497ad6d1a689173d24e2e506974
It seems that conda packages do not ship pkgconfig info for dolfinx:
Python 3.11.0 | packaged by conda-forge | (main, Jan 14 2023, 12:27:40) [GCC 11.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import dolfinx.pkgconfig
>>> print(dolfinx.pkgconfig.exists("dolfinx"))
False
>>> print(dolfinx.pkgconfig.parse("dolfinx"))
{'define_macros': [], 'include_dirs': [], 'library_dirs': [], 'libraries': []}

When building from source, I get instead
Python 3.10.9 (main, Dec  7 2022, 13:47:07) [GCC 12.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import dolfinx.pkgconfig
>>> print(dolfinx.pkgconfig.exists("dolfinx"))
True
>>> print(dolfinx.pkgconfig.parse("dolfinx"))
{'define_macros': ['DOLFINX_VERSION=<IP_ADDRESS>', 'DOLFINX_VERSION=<IP_ADDRESS>', 'HAS_SLEPC', 'HAS_PTSCOTCH', 'HAS_PARMETIS', 'PKG_BASIX_DEFINITIONS-NOTFOUND'], 'include_dirs': ['/home/francesco/opt/personal/gnu/install/fenicsx/2023-02-10-bb7ac95c0f/petsc-2022-07-25-2c78e79264-3.17.3-real/include', '/home/francesco/opt/personal/gnu/install/slepc/2022-07-25-0ba3c7aea-3.17.1/petsc-2022-07-25-2c78e79264-3.17.3-real/include', '/usr/include/hdf5/openmpi', '/home/francesco/opt/personal/gnu/install/petsc/2022-07-25-2c78e79264-3.17.3/real/opt/include', '/home/francesco/opt/personal/gnu/install/fenicsx/2023-02-10-bb7ac95c0f/petsc-2022-07-25-2c78e79264-3.17.3-real/lib/python3.10/site-packages/ffcx/codegeneration'], 'library_dirs': ['/home/francesco/opt/personal/gnu/install/slepc/2022-07-25-0ba3c7aea-3.17.1/petsc-2022-07-25-2c78e79264-3.17.3-real/lib', '/home/francesco/opt/personal/gnu/install/petsc/2022-07-25-2c78e79264-3.17.3/real/opt/lib', '/home/francesco/opt/personal/gnu/install/fenicsx/2023-02-10-bb7ac95c0f/petsc-2022-07-25-2c78e79264-3.17.3-real/lib'], 'libraries': ['slepc', 'petsc', 'boost_timer', 'dolfinx']}

The file responsible for the compilation of the C++ backend in the multiphenicsx repo is
https://github.com/multiphenics/multiphenicsx/blob/b80f047c74827497ad6d1a689173d24e2e506974/multiphenicsx/cpp/compile_code.py
and I am actually surprised how multiphenicsx ever worked with dolfinx from conda, considering that without pkgconfig info multiphenicsx e.g. never links to petsc!
(my gut feeling is that, since multiphenicsx imports dolfinx and dolfinx imports dolfinx.cpp, then petsc and all other shared libraries are getting loaded by dolfinx.cpp in the python process, and this somehow defines symbols to be used afterwards also for multiphenicsx.cpp)
Please ping @hermanmakhm if tests on the actual conda environment need to be run, since I don't have access to it.

Hi @minrk,
I bump this issue, since we just had the same report at https://github.com/multiphenics/multiphenicsx/discussions/12.
Thanks!

Hi @francesco-ballarin and @minrk ,
I ran into the same problem, and figured out that it can be easily solved with just installing pkg-config in the conda environment.
More precisely, in the environment with dolfinx run
conda install -c conda-forge pkg-config

Before the installation I had
$ pkg-config dolfinx --cflags
Package dolfinx was not found in the pkg-config search path.
Perhaps you should add the directory containing `dolfinx.pc'
to the PKG_CONFIG_PATH environment variable
No package 'dolfinx' found

After installation:
$ pkg-config dolfinx --cflags
-fvisibility-inlines-hidden -fmessage-length=0 -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -fdebug-prefix-map=/home/conda/feedstock_root/build_artifacts/fenics-dolfinx-split_1676643338970/work=/usr/local/src/conda/fenics-libdolfinx-0.6.0 -fdebug-prefix-map=/home/ywx1208064/mambaforge/envs/fenicsx-env=/usr/local/src/conda-prefix -DDOLFINX_VERSION=\"0.6.0\" -DDOLFINX_VERSION=0.6.0 -DHAS_ADIOS2 -DHAS_SLEPC -DHAS_PARMETIS -DPKG_BASIX_DEFINITIONS-NOTFOUND -isystem /home/ywx1208064/mambaforge/envs/fenicsx-env/include -I/home/ywx1208064/mambaforge/envs/fenicsx-env/include -IPKGCONFIG_DOLFINX_INCLUDE_DIRECTORIES-NOTFOUND

Hope it helps

Nice, sounds like pkg-config should be a dependency of the dolfinx package.

Great, thanks @EvgeniyAzarov and @minrk


Track if user has logged in previously

When going to the site, only a "Join" label appears for logging in. However if a person has logged in previously and has been logged out they must go to join and then sign up to login.
What we should have happen is on successful login add a cookie or local storage flag that the user has logged in before. then that flag is checked on page load and replaces the "join" link with a "login" link that takes them directly to the login page.

We need to be careful here. The login system is... a massive headache.

I just commented on the other ticket, where there was a misunderstanding.  As far as can be seen, things are working as expected, there is no bug, and no need to add cookies or something.    Social Auth is provided by a plugin, that is well maintained, and correct, for the most part.
I am able to log into an existing an account, even if I make a mistake and use the Join page instead of the log-in page. Both ways, it's fine.   You were switching from Google to Github. If you login first with Google, you can change it.

@sdarwin that's not what this issue is in reference to. For example:

User logs in with google
user signs out (or login times out) and leaves site.
next time the user returns to the site, they must click the "join" button
once going to the "signup" page, they need to click the link to log in.
they then need to click the google button to login.

What I am proposing is to have a flag (yes the plugin may already have one, and that's fine to use that) to recognize if a user has signed in previously, and in that case, instead of having a "Join" link in the header, it would have a "login" link to bypass the signup pages before getting to a login page.

OK.
twitter, github, stackexchange all show both buttons:  "log in" "sign up".
better to not add more cookies.

No, I don't think we should do that Rob. If you are using a public terminal, or if you are using your computer at your house and a roommate has access to it, you might not want to leave behind information which suggests that you previously logged into a particular site.

well, we already do that.  should we get rid this one?

Usually there is a "Remember me on this computer" checkbox

I haven't seen one here, so did you want me to make up a ticket for "Remember me on this computer" and otherwise hide the last login info?

we should have an issue, yes.

Dave has dug into this a bit more, and a software update to the plugin and the email sending piece seemed to resolve most of it.
However, the "last login" notification still exists, and it was coded on our end. as there isn't a great place to put the checkmark, and for the sake of security, the ability to turn it on and off will be moved to the account settings.
The only question that remains is whether or not that should be opt-in or opt-out. I favor opt-in for better default security.

@daveoconnor in the above screenshot that Rob posted it showed a "Last Log In".   How was that accomplished before, in the absence of a (new) cookie?  What was the technique there?


Fix broken links with Yair's old username

Description

@yaira2 changed his username, breaking some links and images.
Screenshots (if appropriate):

Can we just remove my name from the list?


Improvements for In memory tables

Purpose

Fixes https://github.com/ballerina-platform/ballerina-lang/issues/13450
Fixes https://github.com/ballerina-platform/ballerina-lang/issues/13208
Fixes https://github.com/ballerina-platform/ballerina-lang/issues/10916

Goals

Describe the solutions that this feature/fix will introduce to resolve the problems described above

Approach

Describe how you are implementing the solutions. Include an animated GIF or screenshot if the change affects the UI (email<EMAIL_ADDRESS>to review all UI text). Include a link to a Markdown file or Google doc if the feature write-up is too long to paste here.

User stories

Summary of user stories addressed by this change>

Release note

Brief description of the new feature or bug fix as it will appear in the release notes

Documentation

Link(s) to product documentation that addresses the changes of this PR. If no doc impact, enter “N/A” plus brief explanation of why there’s no doc impact

Training

Link to the PR for changes to the training content in https://github.com/wso2/WSO2-Training, if applicable

Certification

Type “Sent” when you have provided new/updated certification questions, plus four answers for each question (correct answer highlighted in bold), based on this change. Certification questions/answers should be sent to<EMAIL_ADDRESS>and NOT pasted in this PR. If there is no impact on certification exams, type “N/A” and explain why.

Marketing

Link to drafts of marketing content that will describe and promote this feature, including product page changes, technical articles, blog posts, videos, etc., if applicable

Automation tests

Unit tests

Code coverage information

Integration tests

Details about the test cases and coverage

Security checks

Followed secure coding standards in http://wso2.com/technical-reports/wso2-secure-engineering-guidelines? yes/no
Ran FindSecurityBugs plugin and verified report? yes/no
Confirmed that this PR doesn't commit any keys, passwords, tokens, usernames, or other secrets? yes/no

Samples

Provide high-level details about the samples related to this feature

Related PRs

List any other related PRs

Migrations (if applicable)

Describe migration steps and platforms on which migration has been tested

Test environment

List all JDK versions, operating systems, databases, and browser/versions on which this feature/fix was tested

Learning

Describe the research phase and any blog posts, patterns, libraries, or add-ons you used to solve the problem.

There's a significant drop in test coverage. Shall we look into that as well?


[$500] Thread - Main chat is in a different section when returning from thread via browser back button

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

Version Number: 1.4.46
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
Action Performed:

Navigate to staging.new.expensify.com
Log in.
Go to the public room https://staging.new.expensify.com/r/6776919265133947
Scroll to the top to reveal all the conversation.
Scroll down and open any thread (better visit newer thread).
Click browser back button.

Expected Result:
App will return to the same part of the main chat as before going to the thread
Actual Result:
App will return to the same part of the main chat as before going to the thread
Workaround:
Unknown
Platforms:

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

[x] Android: Native
[x] Android: mWeb Chrome
[x] iOS: Native
[x] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[x] MacOS: Desktop

Screenshots/Videos
Add any screenshot/video evidence

https://github.com/Expensify/App/assets/78819774/a41ae77a-0c28-4edf-8e56-2dc62ceb19c3
View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~0123cd735ed53880ac
Upwork Job ID:<PHONE_NUMBER>797154304
Last Price Increase: 2024-03-06

@CortneyOfstad  FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors

We think that this bug might be related to #wave5
CC @dylanexpensify

@CortneyOfstad is OOO until 3/11 - reassigning

Reproduced. This affects any chat, not just public rooms. @hayata-suenaga I see you worked on this. I feel like this could be related to ideal nav. Curious if you agree?

@joekaufmanexpensify, thank you for informing us about this issue. It appears to be related to the preservation of chat list position, rather than the back navigation behavior.
Just in case, I'm tagging @getusha and @adamgrzybowski from the linked issue.

Hi. I found a way round that doesn't make the bug.
https://github.com/Expensify/App/assets/46774300/d73803b5-1e51-4052-a831-4f51e4f7e8d4

I tried to find how two actions(clicking thread and clicking forward button) different. I found clicking the thread makes this log.
The log before clicking any thread, which made the bug(OpenReport command is executed)

[Debug] [info] Called API write - {"command":"OpenReport","reportID":"6962315901589981","emailList":"","accountIDList":"","parentReportActionID":"0","idempotencyKey":"OpenReport_6962315901589981","clientLastReadTime":"2024-03-06 08:01:35.422"}

It seems OpenReport cause the bug. I wanted to know how the OpenReport works. I found this comments on the code.
 // If you already have a report open and are deeplinking to a new report on native,  // the ReportScreen never actually unmounts and the reportID in the route also doesn't change. // Therefore, we need to compare if the existing reportID is the same as the one in the route // before deciding that we shouldn't call OpenReport.
It is when any thread clicked. That means clicking threads urges ReportScreen to unmount current reportID to mount new reportID for the thread.

Looking for proposals

Proposal
Please re-state the problem that we are trying to solve in this issue.
Thread - Main chat is in a different section when returning from thread via browser back button
What is the root cause of that problem?
when we back to the main thread and the component MVCPFlatList  is not complete layout the firstVisibleViewOffset will calculated wrong because firstVisibleView.offsetTop be 0 here until the component complete layout.
https://github.com/Expensify/App/blob/ffa731a28a2d1402148eef54e51d86fbb64321fe/src/components/FlatList/MVCPFlatList.js#L95
and after the component complete layout onLayout we missed calculate to firstVisibleViewOffset again
What changes do you think we should make in order to solve the problem?
we need to call prepareForMaintainVisibleContentPosition() inside onLayout to calaculate firstVisibleViewOffset correctly
What alternative solutions did you explore? (Optional)

Seems it will be fixed here.

Not overdue

@mkhutornyi curious if you agree this will be fixed in this PR?

Let me clear this. I tested it with this PR and checked the issue is solved.


text field for messages too small

the text field for messages is too small:

It is too small even for shorter messages since everything with more tan 3 words is not visible. The solution would be to use a text field that can display more than one line.

Still in OS 2.1 dev. Could be postponed to 2.2 because it is nice to have for more convenience but should not extend the release cycle time of OS 2.1.

@emanuelschuetze Closed with PR #2816 .

Many thanks for implementing!

This bug has the wrong milestone. It is fixed for 2.1 and should therefore have the 2.1 milestone, not the 2.2 milestone.

Done


[MySQL] Impossible to save changes after refresh in Data Editor

System information:

Operating system (distribution) and version Win10
DBeaver version 7.2.0

Connection specification:

Database name and version MySQL

Steps to reproduce, if exist:

Open a table in Data Editor
Set Auto-commit, Read uncommited
Make a valid data change (without saving)
Refresh the table
Apply change saving in popup.

Expected: the change is applied and saved
Actual result:

Error appears
SQL Error: Streaming result set com.mysql.jdbc.RowDataDynamic@4c20df7f is still active. No statements may be issued when any streaming result sets are open and in use on a given connection. Ensure that you have called .close() on any active streaming result sets before attempting more queries.

The changes are applied after table reopening.

.log
dbeaver-debug.log

https://stackoverflow.com/questions/3550263/streaming-resultset-error

Fixed

Still can be reproduced in some tables (please try sakila.language or sakila.Test_refresh)

One more fix added (the error happens because tow select statements happen in the same moment: updated rows refresh + entire results refresh).

verified


WIP: Embedding fixes

Hm on closer inspection when I run root-level paged queries I now get failures at SqlMapping.scala:2798 because extraCols is non-empty ... it contains the bogus root-level column that's required to prevent a No key columns error.


feat: add linux/s390x builds

Signed-off-by: skuethe<EMAIL_ADDRESS>This PR adds the s390x platform to the build and release automation. As multi arch builds are setup perfectly already, the necessary changes are minimal.
A (stripped down) successful version of the github action can be seen here:
https://github.com/skuethe/helm-controller/actions/runs/1897491326
I have also just started a discussion about adding s390x to all flux components, just to not flood you with PRs without any feedback:
https://github.com/fluxcd/flux2/discussions/2475

Closing this since we don't have a solution for libgit2.


metaclasses/inheriting from type

Language server <IP_ADDRESS> and also tried <IP_ADDRESS> from daily
VSCode 1.36.1
Python 3.7.3
OS Ubuntu 19.04
Using this simple example in a single file, no imports, etc:
class Foo(type):
    pass

class Bar(metaclass=Foo):
    pass

Foo is marked as inheriting from type which is not a class, similar to #1361 and #1364

And the signature/docstring info for type is completely missing:

For a more concrete example, I discovered this problem with the following:
import weakref

class PackageMeta(type):
    def __new__(cls, name, bases, attrs):
        pkg_class = super(PackageMeta, cls).__new__(cls, name, bases, attrs)
        pkg_class.__instances = weakref.WeakValueDictionary()
        return pkg_class

    def __call__(cls, name, version, arch):
        return cls.__instances.setdefault(
            (name, version, arch,),
            super(PackageMeta, cls).__call__(name, version, arch))

Same problem here wherein PackageMeta is flagged for inheriting from type

but in this case, it's a bit more strange as the signature/docstring for type is now available but is wrong:

and if you peek at the definition...

Its coming from http.client.HTTPMessage which inherits from email.message.Message -- neither of which are imported here.

Just noticed the hover dialogs disappeared while I was grabbing screenshots, fixing...

Thanks for the bug. I'll look into it, sorry for inconveniences.

@CTrando Thanks for the fix! I grabbed the latest version and no longer see the inheritance error, but the latter problem I mentioned wherein the documentation for type is incorrect and is coming from email.message.Message by way of http.client.HTTPMessage for some reason... Go To Definition/Go To Declaration on type both take one to http.client.HTTPMessage inheriting from email.message.Message. I even tried to outsmart it by using builtins.type but no luck. Let me know if this should be in a separate issue or if this is not the right project...

I'd file a separate issue for this; Metaclass stuff is not something we have particularly strong support for in some cases. The fact that goto-def and goto-declaration behave the same is definitely odd, either way.

And if you have a minimal repro, that'd be the best.

@jakebailey sounds good, I'll make sure I can reproduce the doc/go-to problems and open a fresh issue. Thanks again!


log packages as test suites when using json

friendly ping

Can you enhance the description? I forget what's going on here. Maybe cc @bobvawter too.

Done.

@bobvawter in case you haven't looked at this much, go test has a -json flag (that we don't currently use), but one nice thing is that it includes the package information when emitting per-test status info. If we did use it in CI we could use the -json mode of go-test-teamcity as well. With this change, we'd then have our tests nicely grouped into "suites" in TC by their go package.


Backend host cli arg

This PR adds a backend-host cli argument on pc run for specifying the host to run the backend on. If you dont specify this, the default <IP_ADDRESS> will be used.
fixes #1017

Hi @ElijahAhianyo
Do I misunderstand how to use  --backend-port.
I try to pc run  --backend-port=8088  in pc 0.1.32.
But it does not work because the front-end's code is still connecting to 8000 by default.

https://github.com/pynecone-io/pynecone-examples/issues/93

Do I use it in the wrong way?


Create new cluster and hub issues for NOAA Fisheries

We have a new hub on a new AWS org for NOAA Fisheries.
Credentials in https://2i2c.freshdesk.com/a/tickets/2063.
This issue is to track refining creating new hub issues for this.
Definition of done

[ ] The request is acknowledged in freshdesk
[ ] New hub issues are created and refined

Based on prior other discussion with openscapes, this should basically match the openscapes config. No workshop hub.

I dug through my emails for a deadline, and found 'second week of september as soft launch target'. Internally that means I'd set us a Sep 5 deadline, so this gets completed this coming sprint.

I've opened and preliminary refined:

https://github.com/2i2c-org/infrastructure/issues/4690
https://github.com/2i2c-org/infrastructure/issues/4696
https://github.com/2i2c-org/infrastructure/issues/4697

Further refinment is required for them to be ready, and that is blocked by a response to my message in https://2i2c.freshdesk.com/a/tickets/2063.

Some final details to be locked in remains, but this is mostly done now and pending response about details in https://2i2c.freshdesk.com/a/tickets/2063.

(I set the status of this as unplanned)

With help from @sgibson91 to followup on the final detail, this is completed.


HA app stops working after login token expiry

The problem
I can set up cloudflared access via android app without any issues and use it until ybr login token expires. Once this happens the HA app throws an error and directs me to mobile chrome where dozens of HA attempted login pages are opened. No way to access HA via the app except to delete and reinstall.
Browser access is fine and when the token expires simply asks me to re authenticate with GitHub login.
What version of Cloudflared has the issue?
5.1.11
What was the last working version of Cloudflared?
5.1.11
What type of installation are you running?
Home Assistant OS
Add-on YAML Configuration
No response
Anything in the logs that might be useful for us?
No response
Steps to reproduce the issue
Simply login via app and wait for Cloudflare/github authentication to expire.
Additional information
No response

The additional authentication with GitHub or other providers is a known limitation with the Android-App, which unfortunately seems not to be desired by the dev team of the app, e.g. see this PR , issue 1 or issue 2.
You can try to follow this explanation, but apart from that, the only solution is not to use an additional authentication provider.
Sorry that we cannot be of further help.

The problem
I can set up cloudflared access via android app without any issues and use it until ybr login token expires. Once this happens the HA app throws an error and directs me to mobile chrome where dozens of HA attempted login pages are opened. No way to access HA via the app except to delete and reinstall.
Browser access is fine and when the token expires simply asks me to re authenticate with GitHub login.
What version of Cloudflared has the issue?
5.1.11
What was the last working version of Cloudflared?
5.1.11
What type of installation are you running?
Home Assistant OS
Add-on YAML Configuration
No response
Anything in the logs that might be useful for us?
No response
Steps to reproduce the issue
Simply login via app and wait for Cloudflare/github authentication to expire.
Additional information
No response

Hi @eshroom,
You can also set up the Mobile Device to use the Client Certificate instead of using the Login Method. That way the Certificate lies on your device and Home Assistant App uses it for the communication, no third-party login required.


deps: Update accesskit to 0.15, accesskit_winit to 0.21

I tested that the accessibility still works on macOS prior to submitting the PR.


Copy pip command and md5 hash on click (relies on #819)

Clicking on the copy icon should copy the content to the clipboard:
On the package page:

On the downloads tab on the package page:

I would like this to work with a tooltip as on Github:

Relies on #819

Could we instead of insecure md5 use sha256? New PyPI could be a chance to fix this.

@domenkozar something to talk to @dstufft about :)  - Can you please open another issue for this, as I don't want that discussion to take over this thread.

@domenkozar in fact - this is already being discussed at #681

I've opened https://github.com/pypa/warehouse/issues/820, sorry for the noise here.

https://clipboardjs.com/ is pleasant to use from my experience

This is implemented now in #1245!


Update SDR items when collection name changes so that the correct name is displayed everywhere

Note that this issue affects items accessioned into SDR by many (or all) paths, and not just H2 items. H2 appears to accurately reflect collection name information on items at all times, but updated collection name information is not being properly displayed in Argo, PURL, and SearchWorks in all cases.
From Andrew:
I started looking into the issue when I was looking over the H2 doc and it looks like there are two different causes for the names not being updated in Argo vs. in the public systems.

In Argo, I believe the issue is the indexing delay as you’ve already identified.

Eventually the items will get the right display name via rolling reindexing but it can take a while. I think the change to the facet approach* will fix the problem in terms of opening the facets, but I suspect that the display titles on search results lists and show pages will still need reindexing to update the collection name.
I think triggering a reindex of all collection members every time a collection druid is updated is the only sure way to update the displayed title everywhere. Collection druids aren’t updated that often, so I don’t think this would be an undue burden on the system, as long as we prevent a large collection reindex from overloading the system. But the rolling reindexing does seem faster than it was in Fedora, so the approach of improving the facet so that it’s always right may fix things just enough that a bit of lag in other parts of the display is acceptable.
[*In Argo, facet on the collection druid and load the name for the druid when it is displayed. This would then avoid the need to reindex all the members in order for them to show the correct name in Argo.]

The situation for purls is more complicated.

At the most basic level, updating the collection name on the Purl requires updating the public XML, which mean republishing the XML for each item in a collection after its collection’s name has been updated. There’s no way to avoid having to do this because the Purls are static and there’s no rolling process to pull in new data. So what we’d need to do every time a collection name is updated would be to republish (but not necessarily re-release) every item in the collection (except for Registered items and dark items since they have no Purl). This is generally safe to do for items that already have Purls except in the case of items that are “Opened” – these might be in the process of being edited and could contain metadata not ready to be published.
For items in SearchWorks that do not have catkeys, I believe a republish will also update the SW display automatically. For items that do have catkeys, republishing isn’t enough, the item will have to re-run the releaseWF in order to update the 856 field. I’m unsure what needs to be done when the collection has a catkey but the items do not. I think the collection has to be re-released but the items will be fine with a republish.
I think that covers all of the situations. There’s

  In Argo, reindex the items

  For Purl, republish the items

  For SW, re-run the releaseWF if a catkey is involved

@andrewjbtw Can you review this and make sure that it accurately reflects the work to be done here? Thanks.

This is accurate but there is one part that I'd call a rough edge: whether to republish/re-release items that are in an "Opened" state. That can potentially cause a problem because an "opened" item might have changes that, after a republish, cause problems on the Purl. I'm not sure how we would exclude Opened items from a republish, however.

@andrewjbtw is this complete now?

I've confirmed with a collection on stage (1450 items) that these two parts are done:

all of the Argo-side work
republishing purls to update the collection

I can't easily confirm SearchWorks changes on stage because it's unclear how well the test SearchWorks actually integrates with SDR on stage.
This part has not been done, to my knowledge:

For SW, re-run the releaseWF if a catkey is involved

But I would argue that it should not be included in this ticket because the presence of a catkey means it's not an H2 issue anyway. It also continues to be unclear to me what it takes to reliably update a collection title in SW when a catkey is present and I think we need better cross-team collaboration and timing before we should take that on. When we manually try to update collection titles in SW it almost inevitably leads to repeatedly trying different strategies until one works.


Full Out

I am running the SuSiEx code, and anytime I use the --full_out=True command, my code stops running and come out with this complaint.
"Segmentation fault (core dumped)"
Meanwhile, the code runs smoothly when I don't include this command.

Hi osahonjeffery,
Thank you for using our method!
I apologize for the software crash. I’m currently traveling but should have some time to address the issue, likely sometime next week.
My best
Kai Yuan

Hi osahonjeffery,
Apologies for the confusion! The --full_out parameter is no longer in use, but I hadn't updated the manual. In the current version, all SNP information is automatically outputted to the *.snp file by default. This file contains all SNPs included in the fine-mapping analysis.
If you attempt to use the --full_out=True option, SuSiEx will respond with:

./bin/SuSiEx: unrecognized option '--full_out=True'
Cannot identify parameter ?

then followed by the help information.
Could you share the full log file here? I'd be happy to review it to ensure there are no other issues affecting your analysis.
My best
Kai Yuan


Support for MySQL/MariaDB

Are alternative databases like MySQL/MariaDB supported?

Currently no, I haven't used MySQL in 6 years so I'm not sure if it supports JSON columns and querying on them like postgres. I'll look into it and see if it's implementable to have other options for DB


Minimise test logging configuration

If we're turning logging off, we don't really need to configure an appender.
Is this what you were thinking, @zUniQueX?

That's what I thought of, thank you very much.


Update to latest stable cadence

Description
🚧 Still WIP 🚧

For contributor use:

[ ] Targeted PR against master branch
[ ] Linked to Github issue with discussion and accepted design OR link to spec that describes this work.
[x] Code follows the standards mentioned here.
[x] Updated relevant documentation
[x] Re-reviewed Files changed in the Github PR explorer
[x] Added appropriate labels

[ ] Update the version in package.json when there is a change in the smart contracts

Let me know when you're ready for a review! :)


Uses apt recipe for update instead of shelling out for it manually

The presence of an execute[apt-get update] resource has the potential to conflict with other recipes which have a resource of an identical name - including the default apt recipe! By including the default apt recipe, we'll trigger an apt-get update in a reusable manner, and hopefully this method can also eliminate redundantly apt-get updateing multiple times in a single converge.

Hi. I am an automated pull request bot named Curry. There are commits in this pull request whose authors are not yet authorized to contribute to Chef Software, Inc. projects or are using a non-GitHub verified email address. To become authorized to contribute, you will need to sign the Contributor License Agreement (CLA) as an individual or on behalf of your company. You can read more on Chef's blog.
GitHub Users Who Are Not Authorized To Contribute
The following GitHub users do not appear to have signed a CLA:

@Fitzsimmons

Please sign the CLA here.

Ah, might take me a few days/weeks to get legal at Nulogy to sign off on the CCLA given that it's holiday season. I'll get back to you when I have more info.

I actually tried doing this same thing and it failed on a lot of systems. The problem is the apt recipe won't run at compile time before build-essential runs in the compile phase.  There's an arms race of who runs first and build-essential wins.  Due to that the build-essential packages then fail to install since the package cache is out of date.

Are you sure? That's why I set node.default['apt']['compile_time_update'] = true, and it works on my systems and passes the kitchen tests. Without this change, the name of the execute resource conflicts with the execute[apt-get update] that's defined in chef's default apt recipe. So something needs to change.
For example, this is what I get when trying to use the xml cookbook along with another cookbook that uses apt:
resource execute[apt-get update] is configured to notify resource file[/var/lib/apt/periodic/update-success-stamp] with action touch, but file[/var/lib/apt/periodic/update-success-stamp] cannot be found in the resource collection. execute[apt-get update] is defined in /var/chef/cache/cookbooks/apt/recipes/default.rb:62

I can avoid the error by renaming the name of the resource in the xml cookbook, or by just using the apt cookbook from the xml coobook, which seemed like less of a hack.
Is there any way we can debug the arms race?

Hi. Your friendly Curry bot here. Just letting you know that all commit authors have become authorized to contribute. I have added the "Signed CLA" label to this issue so it can easily be found in the future.


kylin v10 arm64 unable to load shared library 'photino.native'

error：unable to load shared library 'photino.native'

@tkggusraqk We don't have a configuration to test this on. You may need to compile Photino.Native on your distro.

Unfortunately, it seems that it does not support arm64 very well, so if you want to use it as an alternative to electron, there is still a long way to go.


Untangle SimpleSearcher form SimpleTweetSearcher + verification script

Previously, SimpleSearcher had different code paths for searching "normal" documents and searching tweets (which has additional temporal logic). I've untangled into SimpleSearcher and SimpleTweetSearcher for better maintainability.
Also, I added a verify_simplesearcher.py script to confirm that the output of SimpleSearcher and SimpleTweetSearcher matches exactly the output of SearchCollection - i.e., that the different code paths give identical results.

Yes, we take a hit in terms of test coverage, but the additional new code is tested externally end-to-end by the Python verification script, so I think overall it's okay for now... can circle back and add test coverage on the Java side later.


WIP: drop support for Xcode pre-9.0 - WIP FOR DISCUSSION

Platforms affected
iOS
What does this PR do?

Drop support for Xcode pre-9.0 in README.md
add notice that Xcode 10 (beta) is not supported, with known issue ref:

https://issues.apache.org/jira/browse/CB-14192
apache/cordova-docs#862
#378 (proposed workaround solution for Xcode 10)

TODO:

[ ] needs discussion
[ ] raise JIRA issue if agreed
[ ] update in cordova-docs
[ ] check if we should drop support for Xcode pre-9.0 in bin and tests?

What testing has been done on this change?
TODO
Checklist
TODO:

[ ] Reported an issue in the JIRA database
[ ] Commit message follows the format: "CB-3232: (android) Fix bug with resolving file paths", where CB-xxxx is the JIRA ID & "android" is the platform affected.
Added automated test coverage as appropriate for this change.

To be raised on main Apache project.


Implement finite temperature

Pull Request Test Coverage Report for Build<PHONE_NUMBER>6
Details

15 of 15 (100.0%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build<PHONE_NUMBER>4:
0.0%

Covered Lines:
614

Relevant Lines:
614

💛  - Coveralls


start_col out out of bounds on suggestion select

FAQ

[X] I have checked the FAQ and it didn't resolve my problem.

Announcement

[X] I have checked Breaking change announcement.

Minimal reproducible full config
I'm using nvim-cmp via SpaceVim so here's the config
lua <<EOF
  -- Setup nvim-cmp.
  local cmp = require'cmp'

  cmp.setup({
    mapping = cmp.mapping.preset.insert({
      ['<C-d>'] = cmp.mapping(cmp.mapping.scroll_docs(-4), { 'i', 'c' }),
      ['<C-f>'] = cmp.mapping(cmp.mapping.scroll_docs(4), { 'i', 'c' }),
      ['<C-Space>'] = cmp.mapping(cmp.mapping.complete(), { 'i', 'c' }),
      ['<C-y>'] = cmp.config.disable, -- Specify `cmp.config.disable` if you want to remove the default `<C-y>` mapping.
      ['<C-e>'] = cmp.mapping({
        i = cmp.mapping.abort(),
        c = cmp.mapping.close(),
      }),
      ['<CR>'] = cmp.mapping.confirm({ select = true }),
      ['<Tab>'] = function(fallback)
        if cmp.visible() then
          cmp.select_next_item()
        else
          fallback()
        end
      end,
      ['<S-Tab>'] = function(fallback)
        if cmp.visible() then
          cmp.select_prev_item()
        else
          fallback()
        end
      end,
    }),
    formatting = {
      format = require("lspkind").cmp_format({with_text = true, menu = ({
          buffer = "[Buffer]",
        })}),
    },
    sources = cmp.config.sources({
      { name = 'nvim_lsp' },
    }, {
      { name = 'buffer' },
    }, {
      { name = 'path' },
    })
  })
-- The nvim-cmp almost supports LSP's capabilities so You should advertise it to LSP servers..
local capabilities = vim.lsp.protocol.make_client_capabilities()
capabilities = require('cmp_nvim_lsp').update_capabilities(capabilities)

-- The following example advertise capabilities to `clangd`.
require'lspconfig'.clangd.setup {
  capabilities = capabilities,
}
EOF

Description
Often (but unfortunately not with 100% probability) selecting a suggested item by pressing  does not work as expected which causes an error and thus completely disables autocomplete, at least for currently opened buffer. Here's the error:
E5108: Error executing lua /usr/share/nvim/runtime/lua/vim/lsp/util.lua:428: start_col out of bounds
stack traceback:
        [C]: in function 'nvim_buf_set_text'
        /usr/share/nvim/runtime/lua/vim/lsp/util.lua:428: in function 'apply_text_edits'
        ...files/repos/github.com/hrsh7th/nvim-cmp/lua/cmp/core.lua:436: in function <...files/repos/github.com/hrsh7th/nvim-cmp/lua/cmp/core.lua:409>
        ...s/github.com/hrsh7th/nvim-cmp/lua/cmp/utils/feedkeys.lua:47: in function <...s/github.com/hrsh7th/nvim-cmp/lua/cmp/utils/feedkeys.lua:45>

Sometimes it just autocompletes in the wrong place. For example if I want to write new Deposit():

I write new Dep which causes suggestion list to drop down.
I select Deposit constructor.
Autocomplete result is: Deposit()      new Dep or smth similar.

So it autocompletes in the wrong place of buffer. Seems like sometimes that place is in buffer(or line) bounds and sometimes is not.
The issue occurs with SpaceVim consisting of neovim + intelephense (php lsp server). And at least happens while autocompleting constructors. I didn't encounter any issues while autocompleting method name (while being called on an object). Maybe it's a coincidence, I don't know.
SpaceVim uses not the latest version of nvim-lsp. I've upgraded to latest 706371f1300e7c0acb98b346f80dad2dd9b5f679 and re-checkd everything. No results - it's repoducable on the latest version too, only line numbers slightly change in stacktrace.
Steps to reproduce
Setup

neovim.
it's built-in lsp.
install intelephense.
configure neovim's built-in lsp to embrace intelephense for php projects/files.
completely initialize a php project (incl. installing deps via composer).
set up nvim-cmp with config provided above.
try (several times! it's important!) to autocomplete constructor name for any class.

Expected behavior
Autocompletion should be performed after the cursor and without errors
Actual behavior
Autocompletion is happening before cursor, often at the start of line. Sometimes it causes an error (see stacktrace above).
Though actually interconnection of the abovementioned error with cases of autocompletion being performed into the wrong place of line is currently just my suggestion and should be proofed.
Additional context
No response

NVIM v0.7.2

I think PHP omnifunc doesn't support asynchronous behavior.
You should not use it.

I think it should be reproduce-able without SpaceVim.

Probably, the reason is that nvim-cmp doesn't support offsetEncoding spec (that defined in LSP).
Probably, if we support LSP 3.17, this problem will be elliminated.

I am facing the same issue every now and then with Rust and LunarVim.

Same issue here with lunarvim/latex. Has anyone found a solution for that?

I'm experiencing this same issue when working with neovim lua scripts. It is seemingly randomly occuring and then appears to completely break nvim-cmp. Completions do not appear any longer unless I reload the plugin or restarting neovim. Is there anything further we could provide to help clear up this?


Translation catalog update

This pull request contains the default catalogue updates introduced in the branch [enchancement/extractor-translation]

@ga-devfront Looks like I had to manually create the PR by myself, we need to double check this later.

PR merged, well done!
Message to @PrestaShop/committers: do not forget to milestone it before the merge.


[24.05] cups: fix socket-only usage after CVE-2024-35235

Description of changes
With the patch for CVE-2024-35235, cups refuses to start if only domain sockets (Listen /path/to/unix.socket in cupsd.conf) are used.  In NixOS, it can be triggered by setting services.printing.listenAddresses = []; (e.g. in the cups-pdf vm test).
The pull request at hand does two thing:

The patch file for the CVE is replaced by a fetchpatch that pulls the commit from the upstream repository.  This does not change the resulting C code -- the patches only differ w.r.t. comments in the code.
Three more patches are added to cups, all fetched from upstream repository.  The first two of these three patches are required so that the third one (the actual fixup) applies cleanly.

Reference: Upstream issue and fixup.
Notifying cups maintainer @matthewbauer and author of https://github.com/NixOS/nixpkgs/pull/330650 @risicle
The pull request at hand (like https://github.com/NixOS/nixpkgs/pull/330650) targets staging-24.05, as changing cups causes a mass rebuild.
The patches added here (like the patch from https://github.com/NixOS/nixpkgs/pull/330650) is already included in the cups version used on master branch, hence there is nothing to do for NixOS unstable.
Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[x] Tested, as applicable:

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

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Also:

[x] Successfully built nixosTests.{printing-{service,socket},cups-pdf} on both commits of this pull request
[x] Successfully built nixosTests.cups-pdf with services.printing.listenAddresses = []; added to the test configuration on the top-most commit of this pull request (the printing-* tests also check for port 631 and hence cannot be used to verify a socket-only configuration).

Add a :+1: reaction to pull requests you find important.

Huh for some reason I failed to find the version on the 2.4.x branch.
Sounds like this would have been caught if the cups-pdf test were in cups' passthru.tests. Suggest adding it here (and of course on master)

Thanks, @risicle, for your fast reaction!

~Sounds like this would have been caught if the cups-pdf test were in cups' passthru.tests. Suggest adding it here (and of course on master)~ oh, fully read comment - but it's still probably worth adding it to passthru.tests

How about this: We add cups-pdf to the passthru.tests of cups, and we expand the printing-* vm tests such that they also cover the case of listenAddresses = [].  If you approve I can prepare a pull request for the master branch immediately.

I broadly approve, but I am of course not a cups/printing maintainer.
Anyway, I think this is merge-worthy as it is.


Improve Accessibility by changing image to text

Please squash.

Thank you for your contribution! This has been merged in our internal repo and will be published later today.
My apologies for getting to this just now; my time has been occupied authoring the CJA API documentation. Please let me know if you have any questions!


Add bulk NetlistToCircuit conversion from a zip file. Closes #86

Extend ConvertNetlistToCircuit to incorporate Zip Files of the netlist
Use JSZip to read contents of the ZipFile as text from the BlobStorage
Extend Test to ascertain ConvertNetlistToCircuit is Working

While this works great. It might be nice to fail only iff none of the netlists in the zipfile are to able to be converted to Circuits. Currently, this will fail if any one netlists failed.


How to get correct form type in controller

For a form like this:
/**
 * @extends AbstractType<Customer>
 */
class CustomerFormType extends AbstractType

and controller like this (removed the irrelevant parts):
public function __invoke(): Response
{
    $form = $this->createForm(CustomerFormType::class);
    $data = $form->getData();
    /** @psalm-trace $data */

I get mixed instead of ?Customer.
Is this something that can be resolved by psalm stubs? Not all tags are documented (like proxy) and I would prefer stub over plugin.

@andrew-demb
I can write those tests (I think I got around that) and send you to make PR; you deserve the credit.


Implement five.tooSlowAsync

five.tooSlow provides the much-needed capability to get five slowly, however, it has one flaw - it's blocking. This could prove to be problematic in applications that need five slowly, but want to do other things while waiting for five.
five.tooSlowAsync is a solution to that problem. It, too, produces five after ~500 milliseconds, but does so asynchronously. It accepts a callback, which 5 is passed to after ~500 milliseconds.
This function will hopefully solve this challenge that many modern applications face - the need to retrieve five slowly, while simultaneously executing other code.

That's a good point. However, I'm sure that different applications will have different needs. What do you think about adding a second paramater - which could be one of milliseconds, seconds, minutes, hours, days, weeks, months, years - to decide how long it will wait for?


Ability to filter count in "Count Relation Feature"

Problem
Currently count relation feature just accepts true or false values and count all the related records.
Sometimes we just need to count some of the records depends on the query.
For example
this.prisma.groupExamAttempt.findMany({
  where: {
    groupId: param.groupId,
    examId: param.examId,
  },
  include: {
    _count: {
      select: {
        answers: true,
      },
    },
  },
});

This will just passively count all the records there.
Suggested solution
To filter maybe we can add a where clause
this.prisma.groupExamAttempt.findMany({
  where: {
    groupId: param.groupId,
    examId: param.examId,
  },
  include: {
    _count: {
      select: {
        answers: {
          where: {
            isCorrect: true,
          },
        },
      },
    },
  },
});

Maybe if applicable, It can also be based on the deeper relationship filter. (IF ONLY THIS IS DOABLE)

Another use case:
Instead of
return this.prisma.group.create({
      data: {
        name: dto.name,
        shortname: dto.shortname,
        description: dto.description,
      },
      include: {
        _count: {
          select: {
            groupContents: true,
            groupMembers: true,
          },
        },
      },
    });

We can do
return this.prisma.group.create({
      data: {
        name: dto.name,
        shortname: dto.shortname,
        description: dto.description,
      },
      include: {
        _count: {
          select: {
            groupContents: {
              where: {
                createdAt: "within 28 days here...",
              },
            },
            groupMembers: {
              where: {
                createdAt: "within 28 days here...",
              },
            },
          },
        },
      },
    });

So we can have a flexible counts

Another example would be:
return this.prisma.product.findMany({
  data: {
    // ...
  },
  include: {
    _count: {
      as: "stats",
      select: {
        ratings: [
          {
            as: "fiveStars",
            where: { rateValue: 5 },
          },
          {
            as: "fourStars",
            where: { rateValue: 4 },
          },
          {
            as: "threeStars",
            where: { rateValue: 3 },
          },
          {
            as: "twoStars",
            where: { rateValue: 2 },
          },
          {
            as: "oneStars",
            where: { rateValue: 1 },
          },
        ],
      },
    },
  },
});

The json output would be
{
  "stats": {
    "fiveStars": 11, // ...count of 5 stars here,
    "fourStars": 4, // ...count of 4 stars here,
    "threeStars": 5, // ...count of 3 stars here,
    "twoStars": 1, // ...count of 2 stars here,
    "oneStars": 0, // ...count of 1 stars here,
  }
}

We currently have a need for this feature. Would be awesome to have it soon.

I will be happy if this will be covered in https://github.com/prisma/prisma/issues/8631

It will most probably not @sandbox-apps, as this is an independent feature request that is not required to make relation counts usable and valuable by itself.

Thanks for the feedback @sandbox-apps! For now you'd need to filter them further in your application (or use $queryRaw), but I can see the value of offering this within the Prisma Client.
By the way, I've seen your name pop up quite a bit in our issues recently. Would you be up for a 30 minute call? https://calendly.com/matthewmueller/prisma. I'd love to learn more about what you're building.

Running into a need for this too. Would love to be able to do something like e.g. find users with >50 followers
prisma.user.findMany({ where: { followers: { _count: { gt: 50 } } } });

This is also pretty essential for soft deletes. Ex. no reason for deleted records to be included in the count.

Running into a need for this too. Would love to be able to do something like e.g. find users with >50 followers
prisma.user.findMany({ where: { followers: { _count: { gt: 50 } } } });

#8935

Hey guys,
I would also love this feature to be added. I am building a workout app and would love to have the ability on nested relations to return a count for specific fields.
For example, I would like to get a count for all userWorkouts where the boolean field 'isCompleted' equals true.
On the front end I would like to show the percentage of a program that has been completed, so ideally I would like to return the count for all workouts within a program (which you can currently do) and the userWorkouts where 'isCompleted:true'.
For now of course I can calculate on the frontend, but it would be much better if I could use Prisma to achieve this.
Please see my prisma query below:
const response = await prisma.user.findUnique({
  where: {
    id: 1,
  },
  select: {
    id: true,
    programs: {
      select: {
        program: {
          select: {
            name: true,
            blocks: {
              select: {
                id: true,
                name: true,
                week: {
                  select: {
                    id: true,
                    number: true,
                    workouts: {
                      select: {
                        userWorkouts: {
                          where: {
                            isCompleted: true,
                          },
                        },
                        _count: {
                          select: {
                            userWorkouts: true,
                          },
                        },
                      },
                    },
                    _count: {
                      select: {
                        workouts: true,
                      },
                    },
                  },
                },
              },
            },
          },
        },
      },
    },
  },
});
res.json(response);
};

I'm currently struggling with this. My use case: for each category of the e-shop, return the number of published (available) products.
Haven't found a better way than these two so far:

  async getProductCount1(id: string) {
    // stable no. of queries, but one huge query (IN (1..4900)), count done at JS level with redundant data
    const counts = await this.prismaService.category.findUnique({
      where: { id },
      include: {
        products: {
          where: { status: { equals: ProductStatus.PUBLISHED } },
          select: { id: true },
        },
        secondaryProducts: {
          where: { status: { equals: ProductStatus.PUBLISHED } },
          select: { id: true },
        },
      },
    });

    if (!counts) {
      return 0;
    }

    return counts.products.length + counts.secondaryProducts.length;
  }

  async getProductCount2(id: string) {
    // N+1 queries, count done at DB level
    const counts = await this.prismaService.product.count({
      where: {
        status: ProductStatus.PUBLISHED,
        OR: [
          { categoryId: { equals: id } },
          { secondaryCategories: { some: { id } } },
        ],
      },
    });

    if (!counts) {
      return 0;
    }

    return counts;
  }

None if them is scalable enough for large datasets.

Please do this, its impossible to implement good soft delete because of this

Any update on this? This would be a really useful feature.

I'm just trying Prisma first time today and of course immediately tried to recreate a query I'm currently doing using Sequelize. With Sequelize and I can query a model and include any number of raw subqueries in addition to all the higher level filtering available. I've have no problems with Sequelize but saw your product and it seems lighter and more to my liking if I can meet my needs with it.
In this example, I can get complete counts just fine with:
let projects = await prisma.projects.findMany({
include: {
_count: {
select: {
Orders: true,
Shipments: true
},
}
},
})
However, in the case of Shipments, I need to filter count with conditions and cannot currently do it. Quite honestly this seems like a pretty basic need. Is there any other way to include a subquery without resorting to making the entire query raw?

I'm currently trying to implement soft deletes and this is a pretty big blocker for it. I decided to go with a workaround where I use [onDelete SetNull](https://www.prisma.io/docs/concepts/components/prisma-schema/relations/referential-actions#setnull) for the related records and when the root records gets deleted and when it gets added back, we connect the related records again using InteractiveTransactions.
It's far from ideal but it gets the job done (for now). Would be great to have this feature built into Prisma though!

@steven-tey do you mind sharing how you're implementing soft deletes?
It seems like a possible workaround until we get this implemented would be to move the propose where clause in the count to the top-level where and performing a count on the results.
Using the example above (untested):
this.prisma.groupExamAttempt.findMany({
  where: {
    groupId: param.groupId,
    examId: param.examId,
  },
  include: {
    _count: {
      select: {
        answers: {
          where: {
            isCorrect: true,
          },
        },
      },
    },
  },
});

To:
const result = this.prisma.groupExamAttempt.findMany({
  where: {
    groupId: param.groupId,
    examId: param.examId,
    isCorrect: true,
  }
});

console.log(result.length)

Would that work?

I am also in need of this feature. I'm implementing a filtering mechanism where I need a filtered by status count to show the available job posts by tag.

For example, 27 in the above case is the total count of job posts with the Blender tag, but I only need to count the Active job posts.
Something like this would help out tremendously:
prisma.tag.findMany({
      take: tagSearchCount,
      where: {
        label: { contains: label, mode: "insensitive" },
      },
      include: {
        _count: {
          select: {
            jobPosts: {
              where: {
                status: {
                  equals: JobPostStatus.ACTIVE
                }
              }
            }
          }
        },
      },
      orderBy: {
        jobPosts: {
          _count: "desc",
        },
      },
    });

any progress on this feature ?

+1 👍

+1 👍 any progress on this feature?

@SevInf @Jolg42  I saw you closed this issue, but I'm struggling to use the filteredRelationCount feature to accomplish what I brought up in my comment above (https://github.com/prisma/prisma/issues/8413#issuecomment-901986001). Should I make a new issue? Or am I doing it wrong

New issue or comment on https://github.com/prisma/prisma/issues/15069 @dickfickling should work.

Author

Another example would be:
return this.prisma.product.findMany({
  data: {
    // ...
  },
  include: {
    _count: {
      as: "stats",
      select: {
        ratings: [
          {
            as: "fiveStars",
            where: { rateValue: 5 },
          },
          {
            as: "fourStars",
            where: { rateValue: 4 },
          },
          {
            as: "threeStars",
            where: { rateValue: 3 },
          },
          {
            as: "twoStars",
            where: { rateValue: 2 },
          },
          {
            as: "oneStars",
            where: { rateValue: 1 },
          },
        ],
      },
    },
  },
});

The json output would be
{
  "stats": {
    "fiveStars": 11, // ...count of 5 stars here,
    "fourStars": 4, // ...count of 4 stars here,
    "threeStars": 5, // ...count of 3 stars here,
    "twoStars": 1, // ...count of 2 stars here,
    "oneStars": 0, // ...count of 1 stars here,
  }
}

To fetch data with this template is possible on prisma version 4.3.0?


Stable asset contract & lint

maybe in next PR, add lint to CI task

maybe in next PR, add lint to CI task

done


It would be nice for save_image to support a target image width (or height) specified in pixels

Description
Currently save_image has a -resolution argument which is microns per pixel. This means if you want an image a certain number of pixels wide, you have to calculate the value by first extracting the size of your design in microns and then working out a resolution value which gives you the right number of pixels.
It also took me a while to figure out it was microns per pixel and not pixels per micron and thus for 0.13 micron process I'm going to want a value very small number like 0.1 for a high resolution image (and not a big number like 10,000).
Suggested Solution
It would be nice if you could just specify the image output width in pixels.
save_image -width 10000px or save_image -height 10000px
Additional Context
No response

@mithro Wouldn't it be better if we were to specify both dimensions instead of just one?
e. g., save_image -size 7200x3200

@mithro what happens if the aspect ratio doesn't match the area viewed?  It seems simpler to specify one and let the tool find the other.


issue with hurry.filesize version

Trying to run this code locally and I'm getting errors when installing the requirements.
❯ pip3 install -r requierements.txt
Requirement already satisfied: certifi>=2020.12.5 in /usr/lib/python3.9/site-packages (from -r requierements.txt (line 1)) (2021.10.8)
Requirement already satisfied: chardet>=4.0.0 in /usr/lib/python3.9/site-packages (from -r requierements.txt (line 2)) (4.0.0)
Collecting hurry.filesize==0.9
Using cached hurry.filesize-0.9.tar.gz (2.8 kB)
WARNING: Discarding files.pythonhosted.org/packages/ee/5e/16e17bedcf54d5b618dc0771690deda77178e5c310402881c3d2d6c5f27c/hurry.filesize-0.9.tar.gz#sha256=f5368329adbef86accd3bc9490522340bb79260455ae89b1a42c10f63801b9a6 (from //pypi.org/simple/hurry-filesize/). Requested hurry.filesize==0.9 from ://files.pythonhosted.org/packages/ee/5e/16e17bedcf54d5b618dc0771690deda77178e5c310402881c3d2d6c5f27c/hurry.filesize-0.9.tar.gz#sha256=f5368329adbef86accd3bc9490522340bb79260455ae89b1a42c10f63801b9a6 (from -r requierements.txt (line 3)) has different version in metadata: '0.9'
ERROR: Could not find a version that satisfies the requirement hurry.filesize==0.9
ERROR: No matching distribution found for hurry.filesize==0.9

Weird, I just tried it on a fresh Ubuntu install and it worked without problems. But I removed the hurry.filesize dependency anyways in favor of a own solution. It should work now.


No documentation for Azure Powershell task

https://www.visualstudio.com/en-gb/docs/build/steps/deploy/azure-powershell
When I click on the referenced GitHub page I see just source code, no documentation, not even a README file. How is this helping the average user?

Done. It is now redirecting to https://docs.microsoft.com/en-us/vsts/build-release/tasks/deploy/azurepowershellv3.3?view=vsts .


Make new preset format human-readable

And enable auto-conversion from old to new format on successful preset load.
Bug: http://b/168799822
Test: Load preset in old format, check that it is in new format
and human readable.

first commit is duplicate of #2316 you can look only at the second commit.


Add Exasol build in functions to auto completion

Is your feature request related to a problem? Please describe.
currently some exasol build in functions are show as resevered word.
Example would be: STDDEV_POP
Describe the solution you'd like
show as functions like postgre JSONB_BUILD_OBJECT
Describe alternatives you've considered
None
Additional context
should be fairly easy as there is a hidden meta table containing these functions

Ok - this is basically working. However I'm not sure why no brackets will be added at the end of the functions.
@serge-rider: Do I have to implement this somewhere?

@Sargul I think dbeaver just can't find this function in database metadata. So it is just a reserved keyword.

I've added it to the Dialect as Function. Shouldn't this be enough?

Dialect provides just a list of keywords/function names which are used for syntax highlighting.
In order to get function signature dbeaver needs implementation of DBSProcedure.
There is method ExasolSchema.getProcedures which returns stored scripts.
But it doesn't return aggregate functions. So dbeaver knows nothing about signature of these functions.
Generally I don't think that we have support of aggregate functions signature auto-complete for any database. Maybe for PostgreSQL though (as they are similar to regular functions there).
So I'm afraid it won't be that easy to implement this feature.

I've merged PR so at least we can auto-complete function names without signature.
We'll need another FR for this.

Or do you mean just brackets without parameters?

Brackets would be sufficient

It was a bug in standard SQL keyword list. As STDDEV* are functions, not keywords.


Return correct pointer width for the x32 abi

Currently x86_64-unknown-linux-gnux32 will incorrectly give a pointer width of 64. This causes an ICE for cg_clif due to an assertion about the pointer width known to rustc and known to Cranelift not matching: https://github.com/rust-lang/rust/issues/118739

I don't expect Cranelift to support the x32 ABI, but returning the correct pointer width from target-lexicon would allow easier checks in Cranelift to return an error which cg_clif then turns into a rustc fatal error that the target is not supported as opposed to giving an ICE.


sap.m.TextArea: maxLength not working

OpenUI5 version: 1.60.5
Browser/version (+device/version): Chrome 72, iOS WebView (Cordova), Edge 44
Any other tested browsers/devices(OK/FAIL):
URL (minimal example if possible): https://jsbin.com/kiyobagado/1/edit?html,output
Steps to reproduce the problem:

Open the jsBin-URL. There is a simple TextArea with a maxLength of 40 characters.
Enter Text, you can enter more then 40 characters.

What is the expected result?
The input should stop after 40 chars.
What happens instead? You can enter more then the maxLength value.

There is a typo:
maxLenght="40"

should be
maxLength="40"

OMG, you are right. Sry.


Caused by: You exceeded your current quota, please check your plan and billing details. For more information on this error

Failed to get answer
Caused by:
You exceeded your current quota, please check your plan and billing details. For more information on this error, read the docs: https://platform.openai.com/docs/guides/error-codes/api-errors.

Please follow openai's instructions.

HI
same issue for me too,

But my key is a newly created under openai plus plan

HI
same issue for me too,

But my key is a newly created under openai plus plan

I got this issue resolved by creating a new chatGPT account and making use of that KEY for configuring further.

I still have this issue,
while api keys work fine on other apps, it keeps giving me this error for aichat


URL flags is just a nibble

Flags incorrectly states that their type is uint8. The flags should be just a nibble.

@roywant, @mmocny can you take a look at this?

@mmocny

The documentation in the Config spec has been updated explaining the use of the flags, and this should close the issue:
The Flags characteristic is a single unsigned byte value. The top 4-bits are defined by the
Eddystone-URL Frame code as 0001, and the bottom 4-bits are reserved flags for future use, and must be set to 0000. As a result, the characteristic currently has a fixed value of 0x10, and although it is a read/write value, it should not be changed. When the lower 4-bit flags are defined,
this documentation will be updated, and the flag values can be written accordingly.


Add support for Meteor 1.2

This is a refactor to prepare for the upcoming Meteor 1.2 release as well as any preview versions up to that point.
The { isAsset: true } is backwards compatible, it's just that once 1.2 comes around, it will be required for those kinds of files.
See this issue for more details.

CC: @splendido @dandv for review

LGTM

Thanks guys :smile:
I'm guessing that you guys will also push out an Atmosphere update too on your ship list?

We're waiting to hear from MDG on an issue with the Atmosphere publish bot, then @splendido will be able to trigger a push (thanks!).

Oh I see, cool

I'll just hi-jack this thread.
So you will have to update the maintainer list of the project if you want your meteor package to auto publish again.
meteor admin maintainers vodkabears:vide --remove meteorpublish
meteor admin maintainers vodkabears:vide --add publishbot
Do this and I'll see if I can't trigger an autopublish from the site.

Before we do that, looks like we might need to revisit this again because { isAsset: true } is deprecated. More details here.

Oh yeah, it's api.addAsset() now IIRC.

If we don't wanna set versionsFrom to 1.2 then that approach looks like it's the better one.

Good name! Just ran meteor admin maintainers twbs:bootstrap --add publishbot.

Would this be just to let people use<EMAIL_ADDRESS>with newer meteor releases?
In version 4 it seems fonts won't be included anymore. See the output of meteor show --show-all twbs:bootstrap and #17318
I have no idea about the timeline for v4 and whether other 3.x.x versions will be released before it though...

They have.a ship list for 3.3.6 so I guess at least that will nees for both current meteor and 1.2+

Guys, here's a PR now that Meteor 1.2 is out.

Is this still relevant now that Meteor can use npm packages directly?


[MacOS] Battery Informations are partial

Hello,
I use this package to recover some information on my mac, however I notice a problem on my Macbook Pro 16"
The data returned by the battery API is invalid
System :
Hardware : Macbook Pro 16"
OS : MacOS 12.1

Current data provided by SI :
{
  "hasBattery":false,
  "cycleCount":132,
  "isCharging":false,
  "designedCapacity":110350,
  "maxCapacity":94042,
  "currentCapacity":0,
  "voltage":12.554,
  "capacityUnit":"mWh",
  "percent":0,
  "timeRemaining":null,
  "acConnected":true,
  "type":"",
  "model":"",
  "manufacturer":"Apple",
  "serial":""
}

In this sample it indicates that the battery is at 0 percent however the battery is fully charged, the hasBattery field is also incorrect
If you need more information I can provide you them

@anthonybriand I have an idea where the problem might be, can you provide the output of (command line):
ioreg -n AppleSmartBattery -r | egrep "CycleCount|IsCharging|DesignCapacity|MaxCapacity|CurrentCapacity|BatterySerialNumber|TimeRemaining|Voltage"; pmset -g batt | grep %

@anthonybriand ... can you test the latest version 5.11.13 ... should work now.

@sebhildebrandt It works perfectly with the 5.11.13, thank you for the quick fix !


Optimisations for rectangular matrices

Hi,
I was looking for a fast linear assignment solver and came across this project. Great work! Thank you.
It compares well against Scipy's linear_sum_assignment on square matrices, but is significantly worse on rectangular matrices.
The implementation appears to not support rectangular matrices out of the box, so to test it against Scipy I padded the cost matrix with high values to make it square.
In this setting the algorithm this implementation was much slower than the Scipy implementation on rectangular matrices (and still faster than Scipy implementation on the padded matrix).
I was wondering if the this algorithm could be made to work efficiently on rectangular matrices, or whether there are perhaps some fundamental limitations that would prevent this.
Thanks,
Alexey

def get_mat(n, m = None):
  return np.random.normal(size=(n, m or n))

mat = get_mat(5000, 300)
mat_padded = np.concatenate([mat, np.full((5000, 5000 - 300), 10.)], axis=1)

%timeit scipy.optimize.linear_sum_assignment(mat)
# 23.1 ms ± 470 µs per loop (mean ± std. dev. of 7 runs, 10 loops each)

%timeit lapjv.lapjv(mat_padded)
# 345 ms ± 56.9 ms per loop (mean ± std. dev. of 7 runs, 1 loop each)

%timeit scipy.optimize.linear_sum_assignment(mat_padded)`
# 566 ms ± 56.1 ms per loop (mean ± std. dev. of 7 runs, 1 loop each)


Allow user to upload only zip files

@aayusharora @championswimmer Fixes #657
Please review and merge of looks good.

Current coverage is 44.93% (diff: 100%)

Merging #661 into development will decrease coverage by 1.52%

@@           development       #661   diff @@
=============================================
  Files                6          6
  Lines              592        592
  Methods             63         63
  Messages             0          0
  Branches            93         93
=============================================
- Hits               275        266     -9
- Misses             317        326     +9
  Partials             0          0

Powered by Codecov. Last update 0f9fbdf...d1f2052

Thanks @the-dagger it solved the issue :)


Permission Mollie screen in orders

Please inform which permission is related to the Mollie information screen in the order page.
Thanks.
Luke

Could you clarify what's the issue? Please provide more details that we could investigate it.


unable to use --preview command

Category

[x] fzf binary
[ ] fzf-tmux script
[ ] Key bindings
[x] Completion
[ ] Vim
[ ] Neovim
[ ] Etc.

OS

[ ] Linux
[x] Mac OS X
[ ] Windows
[ ] Windows Subsystem for Linux
[ ] Etc.

Shell

[x] bash
[ ] zsh
[ ] fish

unable to use the preview command
$ fzf --preview
preview command required

despite following installation instructions https://github.com/junegunn/fzf#using-homebrew-or-linuxbrew
$ brew install fzf
$ $(brew --prefix)/opt/fzf/install

Please read through man fzf

This example from the man page helped:
fzf --preview='head -$LINES {}'
preview is great!