Can't install jamdict-data on Windows

Hello.
I tried to install jamdict-data on Windows but I couldn't. My details: Windows 11, Python 3.11.4, PowerShell 7.3.6.
Seems to be a Windows-specific thing: [WinError 32] The process cannot access the file because it is being used by another process
Full terminal output:
PS C:\Users\User> python.exe -m pip install jamdict-data
Collecting jamdict-data
  Downloading jamdict_data-1.5.tar.gz (53.9 MB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 53.9/53.9 MB 9.8 MB/s eta 0:00:00
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... error
  error: subprocess-exited-with-error

  × Preparing metadata (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [13 lines of output]
      running dist_info
      creating C:\Users\User\AppData\Local\Temp\pip-modern-metadata-_2sae9a0\jamdict_data.egg-info
      writing C:\Users\User\AppData\Local\Temp\pip-modern-metadata-_2sae9a0\jamdict_data.egg-info\PKG-INFO
      writing dependency_links to C:\Users\User\AppData\Local\Temp\pip-modern-metadata-_2sae9a0\jamdict_data.egg-info\dependency_links.txt
      writing top-level names to C:\Users\User\AppData\Local\Temp\pip-modern-metadata-_2sae9a0\jamdict_data.egg-info\top_level.txt
      writing manifest file 'C:\Users\User\AppData\Local\Temp\pip-modern-metadata-_2sae9a0\jamdict_data.egg-info\SOURCES.txt'
      reading manifest file 'C:\Users\User\AppData\Local\Temp\pip-modern-metadata-_2sae9a0\jamdict_data.egg-info\SOURCES.txt'
      reading manifest template 'MANIFEST.in'
      adding license file 'LICENSE'
      writing manifest file 'C:\Users\User\AppData\Local\Temp\pip-modern-metadata-_2sae9a0\jamdict_data.egg-info\SOURCES.txt'
      creating 'C:\Users\User\AppData\Local\Temp\pip-modern-metadata-_2sae9a0\jamdict_data-1.5.dist-info'
      Unpacking database from C:\Users\User\AppData\Local\Temp\pip-install-6nyf8b0w\jamdict-data_51d99a1c3c554a3a9b8858235b75d3ac\jamdict_data\jamdict.db.xz to C:\Users\User\AppData\Local\Temp\pip-install-6nyf8b0w\jamdict-data_51d99a1c3c554a3a9b8858235b75d3ac\jamdict_data\jamdict.db
      error: [WinError 32] The process cannot access the file because it is being used by another process: 'jamdict_data/jamdict.db.xz'
      [end of output]

  note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

Thank you very much for creating jamdict, by the way.

I should have searched more before creating the issue. This is a duplicate of https://github.com/neocl/jamdict_data/issues/1 (I didn't notice jamdict-data had its own repo), and the pull request https://github.com/neocl/jamdict_data/pull/2 seems like it will fix this issue when it's merged. I will close this one, as it is a duplicate.


Added balanced brackets in python issue #217

Added balanced brackets in python Issue: #217

@plazzy99 please review my PR #830 for issue #217

Also resolve merge conflicts

@plazzy99 is it inactive


Add some NodeStake endpoints for canto,passage

1.add rest for evmos
2.delete rpc/api/jsonrpc for echelon
3.add rpc/rest/grpc for canto
4.add rpc/rest/grpc for passage

please resolve conflict

solved conflict now.


Added a movie and movie quote to data.json

Added a movie quote from the movie "The Best Man"

@mooneyd12  your branch has merge conflicts pls resolve and pr again


Update getting_started.rst

What changes does this PR introduce?
fixing docs
According to https://github.com/MITgcm/MITgcm/blob/master/model/src/set_defaults.F
the default of linFSConserveTr = FALSE, but the doc says it is true.
I think might be a typo.

Thanks for this fix @dhruvbalwada!
The html-doc, however, does not compile. Probably, there are now extra white-spaces in the table that RST is very particular about. Did you try to compile the docs before creating the PR?

Just a reminder, as described in manual section 5.5.5, and at the bottom of <IP_ADDRESS>:

The MITgcm head developers will not review your PR until all GitHub Actions tests pass.

Sorry, I think I might have made an extra shift because I changed "TRUE" to "FALSE". I fixed it now. I hope it should pass...


Proposal: Offer ppc64le arch release binary

IBM / Red Hat has been behind the OpenPOWER initiative with support for K8S on PowerPC64 LE architecture.
I have been running K8S on Ubuntu Bionic PPC64LE for nearly 2 months and it's just as good as that of x86_64. It would be nice if kubectx and kubens could offer the binary for ppc64le so that users do not have to compile everything from source.

What’s the os/arch pair of this in Go. We can add.

What’s the os/arch pair of this in Go. We can add.

linux/ppc64le please

I made the commit, you can get the binaries by running GOOS=linux GOARCH=ppc64le go build ./cmd/kubectx locally or goreleaser build --rm-dist --skip-validate locally.
I'm not sure when I'll make a new release (probably in a few months). That's when it'll be available on the Releases page of this repo.

Also I forgot to ask: What's your installation method? Do you use any package manager or is it wget/curl?

@ahmetb I simply git clone and compile from the source.


Update README.md

fixed automation agent example

Thank you. and sorry for late check up. I was horribly busy with company projects.


Testing of Api

Api requests and responses must be test via Postman or a similar tool.

Api endpoints are tested via POSTMAN and Django REST browser interface.


Preformance dip after 1-2 minitues of gaming. Isolated to Linux

I have a Asus tufbook fx505dy. Comes with Ryzen 5 with Vega built in graphics and also a RX 560X. Gaming with vulkan on windows seems to have no issues.
However on  linux after 1 to 2 minutes my fps will drop to sub 10fps. This happens  with vulkan native(rise of the tomb raider) or with dxvk games. If I'm  running a open gl game everything is fine performance is consistent. After exiting the game the systems performance does not return to  normal the system is running slowly, opening firefox, terminal, ect is all slow. Only a reboot fixes the issue.
I'm running kernel 5.2.
I'm happy to provide any logs needed. Please advise thanks!

Figured out it's a overheating issue. Closing as it's unrelated.


for use on leaflet webmap

newbie alert here.Is it possible to use the conversion on a leaflet map?

Yes, you can convert files in supported formats to geojson. Then use Leaflet L.geoJSON to add geojson on the map as shown below.
https://leafletjs.com/reference-1.6.0.html#geojson

Great!but i guess the same does not happen with the KMZ conversion(with embedded images)?

So far KMZ conversion does not support embedded images. The library was originally designed to support simple style conversions. I think the design supports more complex styles, depending on the library used later.


update docs to include all of my recent edits

namely:

feature/ansible-galaxy
feature/ansible-1.9.x
feature/old-python
feature/no-context
feature/dot-vault-token-file
feature/set-variables

This is the last of the sets of changes I plan on making now.
If you accept this, would you consider creating a 2.2.0 release tag? Thanks.

@richfromm Thanks for the update!
I tried to add the module to ansible-galaxy but it seems they don't support installation of lookup plugins. I might be mistaken but I couldn't find how to add it.

Ansible galaxy refers to two different things. There's the website at https://galaxy.ansible.com/ for sharing roles, and the command line tool ansible-galaxy that can install roles from either the official website, or from regular version control. More details at http://docs.ansible.com/ansible/galaxy.html
Personally, I've never used the website. The reason I added the edits I did in feature/ansible-galaxy was to support pointing at https://github.com/jhaals/ansible-vault in the requirements.yml file of an Ansible deploy. This I have tested.
I did not test, and hadn't even thought about, adding this lookup plugin to the Galaxy website. If you say it doesn't work, I'll have to just take your word for it.
Would you like me to clarify some of this in the README.md file? It looks like currently it's not addressed at all.


Midori's default home page is not obviously the internet

According to old launchpad bug Midori should have an official custom homepage
https://bugs.launchpad.net/elementaryos/+bug/1105819

To echo my comment on Launchpad, the default homepage in the OS is start.elementary.io, so this page would need to be served up there.

Also, like the capnet-assist page, I believe this page should not include tracking of any sort.

I suppose I need to ask the design group what we need here, just a placeholder for now? Or is it not worth it just to have an empty page?

@danrabbit Should we have a super simple "You're on the internet!" page like over at #814 ?

I'm going to close this for mvp. We should just set the homepage to Google or DuckDuckGo.


feat: Adds video "How To Generate PDF Reports With Carbone.io"

Adds documentation and video guide for "How To Generate PDF Reports With Carbone.io"
Video link https://www.youtube.com/watch?v=xlthDth2S6Q

@Pranay105 @jnikhila please review this 🙏

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


TODOs

TODOs

[x] add supports of other OS

non GNU/Linux (e.g. BSD) maybe supported: https://docs.ansible.com/ansible/latest/installation_guide/intro_installation.html#control-machine-requirements

[ ] extract roles

refer another ubuntu project: https://github.com/Wintus/ansible-local

docs

[ ] official guide: https://docs.ansible.com/ansible/latest/user_guide/windows.html
[ ] make the concept clear (adding diagrams?)

PlantUML?: http://www.plantuml.com/plantuml/uml/SyfFKj2rKt3CoKnELR1Io4ZDoSa70000

distros
other than Ubuntu

[ ] suse
[ ] WLinux

refs

https://qiita.com/yunano/items/f9d5652a296931a09a70

add supports of other OS

WSL = Windows Subsystem for Linux;
Thus, Linux is the only option.
Consider distros.

Extracted


Request for global access CopyFromItem() in table "Requisition Line"

Please remove "local" from procedure CopyFromItem() in table "Requisition Line".
We need that procedure in a Page and in an eventsubscriber.

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.


Navbar improvement

The main attraction of the user should be the front page so the navbar can be improved and when the cursor is pointing to any button it should be coloured as per the theme of the website but it's blue.
And in the mobile view nav bar is not working

and this our services getting clipped!

I will fix this, please assign it to me

I want to work on this issue as a contributor.
Pleasure Assign so that I can show my skills under GSSoC'23.

hey..similar issue is already been assigned: #7
Thanks!


Arabic text wrapping problem

Reported on community.
There is a reproduction which needs to be previewed using iPhone 6/7 Virtual Device preset. The issue is reported to be present on both local preview and mobile targets.
Copy-pasted report from the forum post:
Dear Sirs,
We have a problem with Arabic Multi-line Text in Fuse It got wrapped in wrong way.
Can you figure it out using the following screenshot ?

The أ character is related to صدقائك so it have to be the first character in the second line.
Have you got it ?
Important Note: I'm using HARF_BUZZ at this moment and it let the أ to be shown if i didn't use the HARF_BUZZ it will not be visible.

The forum thread Arabic Text Wrapping problem posted by Ahmed Diab was linked to this issue.

It might be of help to know that Arabic has several contextual forms: isolated, end, middle and beginning. Not entirely sure if and how that applies, but it could.

Perhaps @ollef has an idea?

I've asked the user if they can use the default text renderers on device in the meantime, but he's saying that renderer also has problems with that text.
I'm not sure, but here's where I think things could go wrong:

We get the wrong text wrapping data back from the ICU library (ICU bug).
We use the data from ICU incorrectly when wrapping text (our bug).
We're not re-shaping after breaking text into lines (our bug due to an optimisation that we do that might be unsound).

Since the device text renderers also have the problem I'm inclined to believe that it's 1. If they did not, 2 or 3 would feel more likely than 1.

@ollef I have talked to him directly, there seems to be some wrong information here; probably he is referring to desktop preview (which is always harfbuzz) when he says there is also a problem without harfbuzz. It seems devices render fine without harfbuzz

@Duckers: Alright, then it's probably 2 or 3 above.


WIP: VMWare Workstation Driver

Add this as placeholder and collaboration point to add a vmware workstation driver.
This is reusing part of the code from the fusion driver as both have the same executable and adding some code from packer vmware driver to detect the location of the files on windows.
As the title says this is still WIP.
TODO:

drivers/vmwareworkstation/workstation.go: Rework file for vmware workstation
add windows support
add cmd/machine-driver-vmwareworkstation.go
add linux support
add dhcplease discovery on windows
ensure testing works as expected
ensure build works as expected
add docs/drivers/vm-workstation.md

Please sign your commits following these rules:
https://github.com/docker/docker/blob/master/CONTRIBUTING.md#sign-your-work
The easiest way to do this is to amend the last commit:
$ git clone -b "feature_driver.vmware-workstation" git@github.com:pecigonzalo/machine.git somewhere
$ cd somewhere
$ git commit --amend -s --no-edit
$ git push -f

Ammending updates the existing PR. You DO NOT need to open a new one.

Please sign your commits following these rules:
https://github.com/docker/docker/blob/master/CONTRIBUTING.md#sign-your-work
The easiest way to do this is to amend the last commit:
$ git clone -b "feature_driver.vmware-workstation" git@github.com:pecigonzalo/machine.git somewhere
$ cd somewhere
$ git rebase -i HEAD~5
editor opens
change each 'pick' to 'edit'
save the file and quit
$ git commit --amend -s --no-edit
$ git rebase --continue # and repeat the amend for each commit
$ git push -f

Ammending updates the existing PR. You DO NOT need to open a new one.

Thanks for the contribution (and great to see the interest as several folks have asked for a plugin of this variety), but please build and distribute the plugin in your own repo similar to the excellent work @legal90 has done here: https://github.com/Parallels/docker-machine-parallels

@nathanleclaire i understand, but could you elaborate on why you dont want to mainstream them? from reading the wiki it is my understanding that you accept driver pull requests as long as im willing to maintain it. Am i missing something?
Thanks

@pecigonzalo Simply put, accepting all submitted driver PRs doesn't scale (the wiki is slightly outdated).  It put the responsibility of ensuring driver quality on the core Machine maintainers, who are much better off working on the core and a small subset of plugins than trying to actively corral plugin maintainers into fixing reported issues.
With the plugin model, anyone willing to take on the maintenance burden of having their own driver repo can distribute such a plugin through a simple binary download.  So, there's no need to have them in the core.

Ok, for future reference ill be supporting this driver under:
https://github.com/pecigonzalo/docker-machine-vmwareworkstation

OK great. I want to add a DRIVERS.md type file where people can link to their drivers to our repo, so stay tuned on that.


Update http4s-client, http4s-core, ... to 0.21.14

Updates

org.http4s:http4s-client
org.http4s:http4s-core
org.http4s:http4s-dsl

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

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

labels: library-update, semver-patch

Codecov Report

Merging #42 (b56cac4) into master (e516d9a) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #42   +/-   ##
=======================================
  Coverage   98.27%   98.27%
=======================================
  Files           1        1
  Lines          58       58
  Branches        1        1
=======================================
  Hits           57       57
  Misses          1        1

Continue to review full report at Codecov.

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


Add a way to access multiple devices on the same connection

I have a box that allows me to talk to multiple (micro) inverters over a single modbus-tcp connection, but that box doesn't handle more than one  TCP connection at a time.
To query all inverters using the current API, my program would need to set up an AsyncClient (using AsyncClient::new(), wait for discovery, query the inverter parameters, then close the connection, and do all again for the next inverter.
If it then wants to query the first inverter again later, it needs set up a fresh AsyncClient (making sure no other clients are active, or the gateway box will not accept the connection), which runs discovery again, etc.
I think it would be useful to have a way to switch between inverters as part of AsyncClient (tokio_modbus has context.set_slave(Slave(device_id)) for this).
This probably requires some other changes -- like a way to track what the "active device" is, and a way to store discovery data for each device on a connection.

I've been looking into writing a patch to add this, but I'm not sure what the best strategy would be to implement this.
Idea 1:

Create a new "multi device capable" version of AsyncClient (AsyncMultiDeviceClient or something) that stores its models and unknown_models in a HashMap keyed on device_id
Give it a set_device(device_id) that calls discover_models if the device_id was not used before (= is not present in the discovery data hashmap).
Need to ensure read_model is not called before set_device

One option would be to add an "initial device id" parameter to new() so a device_id is always set.
Another option would be to move read_models to a separate type that's returned by set_device (so calling read_models too early is not possible).

Idea 2:

Adjust the current AsyncClient to store models and unknown_models in a HashMap, as in idea 1
Add set_device to the existing AsyncClient.
Add an optional argument to new() to set a default device id (with a default value). new() then calls set_device(device_id); this will break compatibility for existing callers who construct an AsyncClient with a client that's configured with a different device id (connect_slave(..., device_id)).

There's no way to read a good default value for the device id, because tokio_modbus clients have no way to query the current slave id, it's "write only".

I don't really like the set_slave API of tokio_modbus.
Making this part of the AsyncClient API would be a very leaky abstraction.
To make this API pretty I think the following two steps are needed:

Change the tokio_modbus::Context wrapper into a Arc<Mutex<Context>> so it can be shared among multiple AsyncClient instances. This would also allow you to use the Context outside of the sunspec crate if ever needed.
Make AsyncClient aware of this and add a async fn device(&self, slave_id: SlaveId) -> Result<AsyncDevice> method that takes care of the discovery using the shared tokio_modbus::Context

Every call to read_model, read_point and write_point will first set the slave_id and then perform the actual operation.
I had a look at this and adding this is fairly simple. This adds another layer of indirection but since modbus is rather slow anyways and not used in high-performance code this doesn't really matter.
I've created a PR that adds this feature. Could you please give this a try?

#19

Just for the fun of it I also added a devices() method which runs a device discovery for all slave addresses (0..=255). I don't know how useful this is and it probably needs an additional timeout configuration, too.

This works for me.
While trying this, I had a separate problem, where it would not talk to one brand of inverter (APSystems) -- that seems to have been caused by it not responding to queries on address 0, which causes the Modbus request to time out, which in turn causes discover_models to stop trying the other configured DEFAULT_DISCOVERY_ADDRESSES.

That's actually a bug in 0.7.0. When creating that AsyncClient interface I didn't handle the timeout case properly:
I've updated the feature branch with this fix: 144ce98c175b40f4d5c0a4aa375fd40250ebb836

That makes it work -- at the cost of a timeout per connection :)
For reference, the Python implementation (from the SunSpec alliance's own GitHub organization) checks the base address in the following order: [40000, 0, 50000]
https://github.com/sunspec/pysunspec2/blob/master/sunspec2/modbus/client.py#L193

But if I want to do that in my own tool, I can just pass in a custom Config

If the Python reference implementation uses [40000, 0, 50000] I think it's a good idea to switch to these defaults in this crate, too.

I just released sunspec 0.7.1 on crates.io with the timeout fix and the modified discovery addresses:
:package: https://crates.io/crates/sunspec/0.7.1
This PR/branch has been rebased on the latest main and includes those fixes, too.

I just released sunspec 0.8.0 which includes multi device support and also updates tokio-modbus to version 0.16:
:package: https://crates.io/crates/sunspec/0.8.0


BUG: The classmethod is_installed on DebianPackage always fails when package is not installed

I'm a little caught off guard by this and I cannot seem to find any open issues the issue I've noticed.
This snippet will always FAIL if the package being queried does not exist.
https://github.com/philpep/testinfra/blob/master/testinfra/modules/package.py#L87-L91
How to reproduce

Fire up a Ubuntu 16.04 instance
As an example, we will first query for a package that we know exists on this 16.04 instance.

$ cat /etc/os-release
NAME="Ubuntu"
VERSION="16.04.4 LTS (Xenial Xerus)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 16.04.4 LTS"
VERSION_ID="16.04"
HOME_URL="http://www.ubuntu.com/"
SUPPORT_URL="http://help.ubuntu.com/"
BUG_REPORT_URL="http://bugs.launchpad.net/ubuntu/"
VERSION_CODENAME=xenial
UBUNTU_CODENAME=xenial

$ dpkg-query -f '${Status}\n' -W bash
install ok installed

$ echo $?
0

Now that we know bash exists let's try this same query with a package we know is not installed on the system

$ dpkg-query -f '${Status}\n' -W a-dummy-name-that-does-not-exist
dpkg-query: no packages found matching a-dummy-name-that-does-not-exist

$ echo $?
1

I cannot find any issues about this and it appears to have been a bug for some time or I can only assume that others have not tried to use the is_installed method on Ubuntu 16.04 when a package is not installed.
This was introduced almost 2 YEARS ago via this commit: https://github.com/philpep/testinfra/commit/a68908c46bffe447f4fb1ef2b1796b6ff1f7e672
The lack of formal testing surrounding this commit is mind boggling for a library dubbed as a Testing library.  It's shocking to me to only find  two tests for is_installed.
https://github.com/philpep/testinfra/blob/1932c810b8697bb41d3ea1890f9e95e28228c803/test/test_modules.py#L32-L68
Proposed Solution
I'd love to help be a maintainer/contributor of this project because I see the value it provides and its very simple to use.  I'm a big fan!  However, I will admit, I am NOT a fan of the lack of tests surrounding this library and I find it concerning to see what feels like new features being prioritized over the issues.

I'd like to suggest that the solution to the issue be consistent with those in the rest of package.py Looking at the others I see the following using run_test instead of check_output because the later raises an AssertionError when rc != 0

Here' s a potential fix and I would be happy to submit a pull request. :)
class DebianPackage(Package):

    @property
    def is_installed(self):
        return self.run_test("dpkg-query -f '${Status}' -W %s" % (
            self.name)).rc == 0

But if I do submit a PR, I feel there should be more tests to make sure this works across all supported OS versions whatever that may mean.  I generally only assume a supported OS is one that has tests so looking at the current tests I would only be writing tests for...
   "debian_stretch"
   "ubuntu_xenial"

But given my past experience as a contributor to this project, I was informed that I can only introduce one change per pull request, but testing generally requires changes to more than one file.
https://github.com/philpep/testinfra/pull/226#issuecomment-321991140

You rock!  Thanks @philpep for the quick review and fix.

This will be fixed in 1.13.1 which I plan to release today. Thanks for reporting!

Awesome!  You are welcome and I'm always glad to help. I really like this library. :)


Update stable version in repo from 0.0.4 to 0.1.1

Think about update stable version to 0.1.1
Version: stable=0.0.4 (395 days old) => latest=0.1.1 (15 days old)
Installs: stable=2192 (82.28%), latest=239 (8.97%), total=2664
Click to use developer portal
Click to edit
Note: This is an automatically generated message and not personally authored by bluefox!

This issue seems to be outdated.
This issue suggests to update the stable version of this adapter to 0.1.1 but in the meantime an update to version 0.1.2 is suggested.
So this issue will be closed and replaced by an updated one.
@mcm1957 for evidence


breaks on iOS with FP 7.2.1

ie http://demos.flowplayer.org/plugins/background.html
Reports:

Quickly flashes, then disappears iPhone 6s+ iOS 11.2
starts on mine, but when you scroll to the top it stops playing iPhone 6 11.0.2

I don't have iOS 11.2, only up to 11.1.

I can repro the stop (pause) on scroll with core 7.2.1
Does not work at all with core 7.2.0

As it works fine with 7.1.x - 7.2 seems to have introduced some kind of scroll into view behavior. I don't know how it can be turned off.

yes @nnarhinen added viewport detection in 7.2 to avoid preloading of videos before they're in the viewport. Seems to conflict with some lazy load scripts as well.


[FEATURE] Add JSON file save with encryption

Describe the solution you'd like
Add a class and macro supporting normal file saves.
Overwrite the GameSettings.cs file to support cloud saving automatically.
Tasklist

[ ] Look into the currently existing interface on interacting with PlayerPrefs.  See if the same interface can be used for.
[ ] Add JSON support (saving and recalling via Unity JSON libraries).
[ ] Look into what other services to potentially integrate with.  Add these items as potentially a new issue on this project.
[ ] Look over setting up #3 .

Closing as duplicate #6


Cannot autoplay on the newest google chrome.

Browser: Google Chome 66.0.3359.139  64Bit.
OS:  Mac OS 10.10.4
Clappr Version: 0.2.83
Hi, today I updated my chrome to the newest. The version is  66.0.3359.139  64Bit.
But cannot autoplay now. I have set the autoplay to true and autoplay on older chrome version.

@zijian85 i think this is due to new autoplay policy with Chrome version 66.
Also, please note that version 0.2.83 should not be used on any environment (see releases).
Since Google 66, the autoplay policy seems to be based on a "score" which you can check by typing chrome://media-engagement in Chrome adress bar.
You may also get the same issue with Safari version 11.
Please note also on Clappr, the promise exception message has been "silenced" some times ago in  commit 2d2f351.
But since these browsers policy changes, the promise should be used to check if player can autoplay or not. (for example, using similar mechanisms as can-autoplay).

When I remove the plugins from my player, it works in Chrome, it seems the plugins is the problem.

Here an exemple to handle autoplay, using can-autoplay :

    <title>My App</title>

Thank you @kslimani for your reply, I tried this code you rpovided, and in Chrome for Windows 10 it didn't load auto, whereas in Chrome for mac it does?

if by "autoload" you mean autoplay, then for Chrome it depends on the version. The new autoplay policy with Chrome was introduced, if i remember correctly, with version 66.

The autoplay policy handling written by @kslimani has already been merged and released on 0.2.97. It should fix this behavior, or at least prevent state inconsistencies.
I'll close this issue for now. If you need any further assistance, please reopen.


Update concept-best-practices-glossary.md

Update to glossary terms status as they are case-sensitive.
Edit attributes that can be bulk-edited. (include certified and replace stewards with owners)

@zeroxiga : Thanks for your contribution! The author(s) have been notified to review your proposed change. @zeinam

#sign-off

@ktoliver : Thanks for your contribution! The author(s) have been notified to review your proposed change.


Element-wise numpy operations using kwarg where are not supported for chunked DataArrays

What happened:
In general, element-wise operations work smoothly with DataArrays. However, I have found that using element-wise operations such as np.divide, np.multiply, etc, with the keyword argument where throws an error if the DataArray values are contained in a chunked dask array, as opposed to a numpy array.
What you expected to happen:
I expected the operation np.divide(da1, da2, where= f(da1)) be the same irrespective of the chunks used to store the data. Below I include a comparison between the behaviors. The essence of the problem is that this operation only works if the number of chunks is one and the data is stored in a numpy array.
Minimal Complete Verifiable Example:
import numpy as np
import xarray as xr

toy_da = xr.DataArray(
    np.random.rand(50, 50),
    coords=([np.arange(50), np.arange(50)]),
    dims=['x', 'y'], name='var1')

toy_da2 = toy_da.chunk({'x': 5})

# This works as expected
np.divide(toy_da, toy_da, where=toy_da > 0.5)

# This, however, does not
np.divide(toy_da2, toy_da2, where=toy_da2 > 0.5)

The error message:
Traceback (most recent call last):
  File "xarray_issue.py", line 15, in <module>
    np.divide(toy_da2, toy_da2, where=toy_da2 > 0.5)
  File "/opt/anaconda3/envs/heatnet/lib/python3.7/site-packages/xarray/core/arithmetic.py", line 89, in __array_ufunc__
    keep_attrs=_get_keep_attrs(default=True),
  File "/opt/anaconda3/envs/heatnet/lib/python3.7/site-packages/xarray/core/computation.py", line 1180, in apply_ufunc
    keep_attrs=keep_attrs,
  File "/opt/anaconda3/envs/heatnet/lib/python3.7/site-packages/xarray/core/computation.py", line 293, in apply_dataarray_vfunc
    result_var = func(*data_vars)
  File "/opt/anaconda3/envs/heatnet/lib/python3.7/site-packages/xarray/core/computation.py", line 742, in apply_variable_ufunc
    result_data = func(*input_data)
  File "/opt/anaconda3/envs/heatnet/lib/python3.7/site-packages/dask/array/core.py", line 1386, in __array_ufunc__
    return elemwise(numpy_ufunc, *inputs, **kwargs)
  File "/opt/anaconda3/envs/heatnet/lib/python3.7/site-packages/dask/array/core.py", line 4282, in elemwise
    msg % (op.__name__, str(sorted(set(kwargs) - set(["name", "dtype"]))))
TypeError: true_divide does not take the following keyword arguments ['where']

Anything else we need to know?:


FAIL: /home/jenkins/agent/workspace/tikv_ghpr_integration_ddl_test/go/src/github.com/pingcap/tidb-test/_vendor/pkg/mod/github.com/pingcap/tidb@v0.0.0-20190520045437-2d70e4da27d7/cmd/ddltest/index_test.go:127: TestDDLSuite.TestIndex failed

Latest build: https://internal.pingcap.net/idc-jenkins/job/tikv_ghpr_integration_ddl_test/11264/display/redirect

What's the difference from #9251?

Yet another case failure: https://internal.pingcap.net/idc-jenkins/job/tikv_ghpr_integration_ddl_test/11274/display/redirect

What's the difference from #9251?

Thanks for the feedback. It’s closed as an unregistered duplicate.

Yet another case failure: https://internal.pingcap.net/idc-jenkins/job/tikv_ghpr_integration_ddl_test/11279/display/redirect


Add ability to query with credentials

Do that ^^
This is to further prevent the Timeout issues

This cannot be done 😞
I talked to OIT. No there is not credentialing for that server. There is also no way to buffer the searching to prevent either timeout or resource erroring.
Closing this issue


Implement php7 features

Adds

Scalar type hinting
Strict mode for all files
Return type hinting

Removes

Remove php 5.3 style code
Unused code

Changes

Corrects spelling mistakes

Please don't merge until #3 has been merged so I am able to rebase once master is updated

Hi again,
The unused code found on the source is the beginning of the next release, I mean, I think this code is too much coupled, I would like to create adapters for the main objects (request, response, perhaps framework) on the project, and in future if there will be any other new server technology have the possiblity of writting different adapters for them.

Hi,
I have finished the tests and I have found two errors on phpDoc and declaration types,

Request/SlimRequest.php:114 checkPartialUpload definition returns bool, but its a mixed return bool|string I think the return type should be removed.

Request/SlimRequest.php:162 $name, $filename and $contentType are arrays not strings.

I think its ok, after fixing this two issues I will go on with the merge :) :)

I will fix them parts today at some point.
Can you comment on the lines so I have a quick reference :)

https://github.com/NigelGreenway/reactphp-slim/blob/feature/implement-php7-features/src/Request/SlimRequest.php#L162
Thnks, Change these definitons and after the merge I'll correct the comment :)

@mbarquin I've fixed the type hinting and have tested with a basic upload form.
Let me know if there are any issues with it. :)

Exccuse me I've been really busy, this night I will merge the code, and we can talk about your proposal for assets... thanks

👍


Include solution in the test case

I'm writing a test case that is very random and so I want to get the result from the complete solution.
Something like this:
Test.expect( myFunction(val), userFunction(val), "Wrong value for " + val);

I could copy-paste the solution in the test case.. But there should be a feature for this.

I could copy-paste the solution in the test case.. But there should be a feature for this.

This sounds like a feature request instead of a actual issue. I'm not sure whether Jake and Nathan use github for everything instead of the respective forum.
That being said, I think that this isn't feasible. Your own function should pass the test, therefore it needs to have the same name as the function provided by the user. So you would need some kind of automatic renaming. Given that some solutions use additional functions on the global namespace, it can be tricky to get renaming right, e.g.
// function that solves the kata
var createPrimeNumbers = function( start, stop ){
    var res = [], i;
    for(i = start; i <= stop; ++i)
       if(isPrime(i)) res.push(i);
    return res;
}
// additional helper function
var isPrime = function(n) { /* ... */ }

Which one should be renamed? Which one is the actual solution, which is the helper function? In order to create a service that provides a convenient way to copy and paste the solution, the service needs to solve those questions. I guess this isn't feasible, at least with Codewars' current resources.
After all, it's 20 additional seconds for your: copy and paste to your editor, put the functions into a hidden scope, rename the reference solution, and you're done.

By the way, I do this random testing for all my kata tests, it really takes only ~20 seconds in JavaScript/CoffeeScript/Ruby/Python and even less in Haskell ;). It takes much longer to generate the right random values IMHO.

This is definitely an enhancement and something we want to add. Especially for strongly typed languages, it is needed to try to detect what libraries are being used (to do things like restrict usage).
It may take a bit for us to get it in there, and it would be a language by language rollout. Will update with an ETA once we set our sights back onto the next set of code execution engine upgrades.


RHOAIENG-6627 - Training-Operator test case

Purpose of this PR is to introduce new test cases for the Training Operator component for Managed and Removed states.

Verified in jenkins, tested on ODH (feature not yet in RHOAI)

@asanzgom @zdtsw @jstourac  when time permits... please review.

@mattmahoneyrh just please make sure that the training operator is working as expected in rhoai nightly already; I recall that DW team had to disable relevant tests couple of days ago since they were failing.

@jstourac the training operator component only got added to RHOAI I believe in todays v2.10.0-28 build, which is what the jenkins test was against. Thanks for the fyi.


Fix typo about .nuget folder not file

Fixes #1678

Docs Build status updates of commit 5e2e8a1:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/consume-packages/configuring-nuget-behavior.md
:white_check_mark:Succeeded
View

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

@ralphhendriks thank you for your contribution! The community ❤ you!


fix flaky cloud_storage_xml test

cloud_storage_xml with a http server updateXml should request and write the file if it is expired
Sample error:
Failures:
1) cloud_storage_xml with a http server updateXml should request and write the file if it is expired
  Message:
    Expected 510 to be greater than 510.
  Stack:
    Error: Expected 510 to be greater than 510.
        at <Jasmine>
        at UserContext.it (/home/circleci/workspace/dist/lib/provider/utils/cloud_storage_xml.spec-int.js:106:26)
        at <Jasmine>
        at process._tickCallback (internal/process/next_tick.js:189:7)

Possibly resolved with https://github.com/cnishina/webdriver-manager-replacement/pull/96


wrong API resource path

Hi !
I'm using springfox-swagger1:2.6.1 with springboot 1.5.3
It seems that the resourcePath in the generated swagger.json of a controller having only one operation is not the one defined using annotations
@RestController
@RequestMapping(value = "/supervision", produces = {"application/json"})
@Api(description = "supervision endpoint")
public class Supervision {

        @GetMapping("/status")
        @ApiOperation(value = "global API status")
        public ResponseEntity getStatus() {
              return ....
        }
}

The generated JSON for this controller is
{
      "swaggerVersion": "1.2",
      "apis": [{
            ...
            "operations": [{
                  "method": "GET",
                  ...
            }],
            "path": "/supervision/status"
      }],
      "resourcePath": "/supervision/status"
}

resourcePath should be "/supervision" as defined in @RequestMapping annotation
Moving to Swagger2 is not an option for now as I'm working on an old API always returning HTTP 200 OK with body containing success or error responses

Hi !
According to me it looks to be an issue:
if you have a look at ApiListingScanner::scan in springfox-spring-web the resourcePath is determined using function longestCommonPath.
This should be done like this only if annotation @RequestMapping of the controller has no value (ie a path)

I agree with you, but could you explain how you're using it? It used to work as expected in swagger-ui.

I'm using my own component to display swagger documentation, and i'm using the resourcePath to group resources defined in different controllers as tags are not usable in swagger 1.2.
I tried swagger-ui but it says "No operations defined in spec!"

Weird looks like version 1.2 isn't actively supported. Is angular-swagger-ui expecting a certain way the resource path is laid out?

No, there is no restriction on resource path. The issue is just springfox does not set the resource path defined in @RequestMapping
Thanks for your time


Undocumented segments in Blackrock nev data cause downstream AssertionError

Problem
I have encountered a problem related to undocumented segments in Blackrock NEV files. In the file blackrockrawio.py, function ____get_event_segment_ids, the code identifies 2 undocumented segments within NEV data and outputs a warning but adds segment IDs to address the problem.
blackrockrawio.py:1164: UserWarning: Detected 2 undocumented segments within nev data after timestamps [1209981 1256384].
(This would be line 1157 in the latest version)
Later on, in function __match_nsx_and_nev_segment_ids, the final assertion that NSx and NEV files have the same number of segments fails (because nb_possible_nev_segments = 6 and len(nonempty_nsx_segments) = 5).
AssertionError: Inconsistent ns6 and nev file. 6 segments present in .nev file, but 5 in ns6 file.
(Line 1266 in latest version.)
I am wondering if this is a bug in the way that undocumented segments are handled, or whether this issue requires a separate workaround.
To Reproduce
I'm not sure the simplest way to reproduce the error, as I am encountering the error through the chain of neuroconv --> spikeinterface --> neo. However, I could share the files privately if that is helpful (about 2.5GB in total for .nev and .ns6 files).
Expected behaviour
I expected the segments in the NEV file to automatically be adjusted and mapped to ns6 segments.
Environment:

OS: Linux
Python version: 3.11.5
Neo version: 0.12.0 (I am suprised by this, obatained with neo.version, since the latest version on github is 0.11.1)
NumPy version: 1.26.2

@daltondm,
Thanks for the report. The latest pypi release is 0.13.0. We have stopped keeping the GitHub versions up to date. But the pypi version is uptodate. So first thing to try is updating neo to 0.13.0 with a
pip install -U python-neo

If the code still doesn't work after updating to the most recent release then we would need to see the new files. We only update the readers as people share new files. Typically an error like that is to let the user know that we haven't created code to handle that part of the file yet due to a lack of test files for us to debug with.
Sound good?

Hey @daltondm one quick question.
Are you just the computational person and so don't have access to make a dummy file? We could do the same troubleshooting faster with much smaller files. But if you're processing other's data and don't have access to give us a smaller file then we can troubleshoot with the bigger files.

@zm711 I have access to the raw files, but I'm not sure how to make an appropriate dummy file. The section that matches nev and ns6 segments uses variables that cover the entire recording time, including a segment ID variable with entries for each timestamp (also, I don't know how to go about altering and re-saving dummy versions these filetypes).

@daltondm, I meant it would be much easier if you could do a brand new recording with your set up (for 1-2 seconds) and then share that instead. It won't have real data in it, but hopefully it would have the same problem structures. It's just much faster to iterate on small files than on multi gigabyte files. And if it is dummy data/unimportant data then you could just share a link so anyone on the team could pick it up.

Ahh, I understand. Unfortunately for debugging (but fortunately for my team), this is not typical of our recordings so a new recording would be unlikely to replicate the problem (I have 2 recordings with this issue and 1 with a similar but distinct issue out 100s of recordings).

@daltondm
You can use this email mineurs-torrent0x[at]icloud.com. To share the data privately.

@zm711
I apologize for the delay. I have shared the data to the email provided above with a Google Drive link. Please let me know if it needs to be shared another way or if you need any more information. Thank you!

Thanks @daltondm! No worries. I received it and will try to take a look tomorrow.

I figured out the issue, but I will need a little more info to try to fix it. It seems like there was a pause in your recording that led to this:
k='Comments';

data=array([(26250083, 65535, 0, 1, 10008427, b'Data Loss,<PHONE_NUMBER> packet discrepancy.')],
      dtype=[('timestamp', '<u4'), ('packet_id', '<u2'), ('char_set', 'u1'), ('flag', 'u1'), ('color', '<u4'), ('comment', 'S92')])

ev_ids=array([0])

So packet loss. Currently the code is adding another segment for this loss. I'm trying to figure out if this is an edge case or something we need to fix. Why is a comment being added? Did you do this at the user level or did the software automatically do this?
Did you shut off the machine right after this error such that there was not actually a segment of data after this comment? It seems like the error may be protecting the fact that there was a pause/restart. We try to account for this so the more information around this pause restart the better we can decide how to fix this.

I checked the notes from the person who ran this session, and they noted a machine failure which could be explained by packet loss. They fixed the issue by restarting the machine and beginning a fresh recording. I'm not sure how quickly they were able to catch the issue and reset the machine, or if it automatically ended the recording after the comment/error. My intuition is that the software automatically terminated the recording and there is no data afterward, but not certain.
I know that the person would often use the comments feature in the software to make timestamped notes on the recording, but these were usually about the observed behavior or signal dropout from the wireless system - I suspect the comment here is automatically generated by the software but again I'm not certain.
This is rare in our recordings and doesn't impact our data much becuase it happened early in the session. However, if it were to happen at the end of a full recording it would be useful to be able to catch the packet loss comment and adjust the number of data segments accordingly.
Thanks for the quick turnaround!


Profile "Logo" is different than which is displayed on the POSTs added by the respective Organizations

Open "https://staging.fightpandemics.work"
Login using valid email/Password
Navigate to Profile -> [Org_name_added before]
Create a POST

Issue# You wil observe that the profile logo displayed on Company profile is different than its display on the POST added by them.
Refer below GIF.
https://share.getcloudapp.com/NQuglJ90

@vikjoshi FYI

@rabbi08 given we are only showing initials on the avatar, Im going to prioritize this for MVP-Launch, not soft launch

Ill look into this issue and try to get it done soon.


Lost git over ssh access to GitLab after update

Describe the bug
After doing a general update (nixos-rebuild switch --upgrade) and running nix-collect-garbage -d followed by a system reboot, I lost access to my GitLab repositories. I cannot tell which of the above steps exactly caused the problem to start, but it worked before and didn't after.
At the beginning the problem I got was this:
$ git pull
The project you were looking for could not be found.
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

I found the reason for this were entries in /var/gitlab/state/home/.ssh/authorized_keys' where the following path was used for ssh-agent`:
/nix/store/ccm7c2hmjqiah3y3k8xv56z9k58dh4i0-gitlab-shell-10.0.0/bin/gitlab-shell key-3

(Note the path directily into the nix-store.)
After removing the key and re-adding it (using the GitLab web interface) I saw that the following path is used now:
/run/current-system/sw/bin/gitlab-shell key-15

But still it didn't work, just the error message changed:
$ git pull
The project you were looking for could not be found.
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

Following to that I changed the path on the other keys as well. Interestingly on the other keys I now get access to the repository. So I have one GitLab account with three ssh keys added. One of the ssh-keys produces the "The project you were looking for could not be found." error message while the other two keys started to work again after I updated the path to gitlab-shell.
The content of /var/gitlab/state/home/.ssh/authorized_keys is:
# Managed by gitlab-rails
command="/run/current-system/sw/bin/gitlab-shell key-3",no-port-forwarding,no-X11-forwarding,no-agent-forwarding,no-pty ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDL1NI9UmBTL8OoGfInxhvcRkTWXU+C9HJNy0rAfPpubOgtsvVWUMTHQY3epRBRT6Y68j49yEY0VJgzZ1R/7tZNnVh7uNX4IifD39DHNPQzkSUKgsLQc8UhkU4Vn7Tfqzz8oXrCCqWfbQhtliMFJvtKaZRfZN+TaOhOFo3A5xoG/gw6oC4626tzYIKWL9OyAihpNw55aWvAeiWNECY19FQQMwR78xwCuL0lmLwIYqt5WzK61/NGuZBfT7FPbFQMHCtGgeNFHsIuTXzzu6iO7HHkXITHUF3Jx3WsA9PF7Yzw51ZWDqDyAz+u1RQfQk1L8m1LBZYOQsCH20nqN6ceQ/V5
####################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################
command="/run/current-system/sw/bin/gitlab-shell key-5",no-port-forwarding,no-X11-forwarding,no-agent-forwarding,no-pty ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDxgOFmsFVEIX4oJgZYOtnBfXl6QkedUfdYZu6DPG8gdTwWjbnZeEwhbMf1ZP08aHPRrXGb25khHeZ2ZjYdFR8yEcx2UobI5aG9/S/uhpz/DrvFw7dqT3qT8roxd4yrzfQIpcEFbCN20i00vBmnIUoVx2NAFRtg4V5MrI3jCV2wy4msvYLvCJvntj49bxrXzI4NpqnJcSaOuogIOX4roZN0SVOZlNJKf1Ibk7kG84u/CcU6IN/BL0gqi4ZBfzkmtqKFo1DLO4c6lDfOJLzi780SrJd6J3HntrIoN9cqHReyymrYtieeM0jA+HwrBAaC0h58OAg3lRdzAAOJ4P67WZiZ
command="/run/current-system/sw/bin/gitlab-shell key-10",no-port-forwarding,no-X11-forwarding,no-agent-forwarding,no-pty ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBRnQyr2lliJ2y0NYIP9KAr5yKmt+VoQMBVSkqxyR3Ju
command="/run/current-system/sw/bin/gitlab-shell key-11",no-port-forwarding,no-X11-forwarding,no-agent-forwarding,no-pty ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOcMw5VjheX5cRMlrQ5rbmM4tSV+h+o7uiScDvdMAQX5
#####################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################
#####################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################################
command="/run/current-system/sw/bin/gitlab-shell key-14",no-port-forwarding,no-X11-forwarding,no-agent-forwarding,no-pty ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDinClM7SYMUt/qil+dt34OFYYWf+ZyCk4XROKmf0KsyoTn7DCk7+xkhNiDc2O+n1GT9s5KBcsh/haJcKlQuqxnvjbQSpDgtjugORhR6GK47Q1RnBqEsnE2pP/KYyNk+iq8j3/QEphVHOvDy1ZD3sIRvSE01ly/kMdnYV2VnBNBcugjSObvQKICuOLubk9hClDFcNH50iI7Z/+1TgcOEAbbQ+Wk8WZgwL9ze3RO3G6j72ID5x4Dcv1+mt+hD0rGukoNsLyA+e9vpJ4jJLjpFiDHGTj2flYyttrS+cMkNR7IyzfzcVVVQVf1dB2yBopnTeVdptCx1wW8vSTY66FVtTI9
command="/run/current-system/sw/bin/gitlab-shell key-15",no-port-forwarding,no-X11-forwarding,no-agent-forwarding,no-pty ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDL1NI9UmBTL8OoGfInxhvcRkTWXU+C9HJNy0rAfPpubOgtsvVWUMTHQY3epRBRT6Y68j49yEY0VJgzZ1R/7tZNnVh7uNX4IifD39DHNPQzkSUKgsLQc8UhkU4Vn7Tfqzz8oXrCCqWfbQhtliMFJvtKaZRfZN+TaOhOFo3A5xoG/gw6oC4626tzYIKWL9OyAihpNw55aWvAeiWNECY19FQQMwR78xwCuL0lmLwIYqt5WzK61/NGuZBfT7FPbFQMHCtGgeNFHsIuTXzzu6iO7HHkXITHUF3Jx3WsA9PF7Yzw51ZWDqDyAz+u1RQfQk1L8m1LBZYOQsCH20nqN6ceQ/V5
command="/run/current-system/sw/bin/gitlab-shell key-16",no-port-forwarding,no-X11-forwarding,no-agent-forwarding,no-pty ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDJsmQHXMn3jCaw1KH75Oi3TC/iYcPISTQdbgh5MH/WDUpiRUwDwSXKxVVQUZjFzXyMkPOUmUhj9yBNJr4Bp1t9HaadQod1LzWe1bxfVI7lCstZ06Ao9KA78lQ9qkwr3bPHcjnO+0p+Fe05Te5gJGVZhgGZGZcYk1ucoHZTT+wCMuqAnWT5nB0ueXz7fKnck6YrApdGBDJlNiJ98ZvfFhKyPZX3oI2gZ/tERyx5BZgMe8u66dJBnOzw+QK0T8VkwOa0hnkZahm6ENZ+bWtv94xO4xxx2/k8MsxnNFnYrS6efAO82EcowRyRxvgYn+5bnyox3JrCxzgZTTqwFTTRbXkx

Only key-15 isn't working.
To Reproduce
Sorry, I don't know. Probably the way GitLab on NixOS handled this changed and an older version of GitLab has to be installed first to generate configuration, that contains paths into the nix store. Then it seems to fail after you upgrade and get a system where the nix store location of gitlab-agent changes.
Expected behavior
I would expect, that I continue to be able to access my git repositories over ssh after an update of GitLab and NixOS.
Metadata

system: "x86_64-linux"
host os: Linux 4.19.87, NixOS, 19.09.1481.f3fa5a101eb (Loris)
multi-user?: yes
sandbox: yes
version: nix-env (Nix) 2.3
nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos

Maintainer information:
attribute:
- gitlab
- gitlab-shell
module:
- services.gitlab

Must be due to backport of #74278
cc @flokli @petabyteboy @globin @fpletz @krav

Try removing/commenting out the broken key and re-adding it from the interface, we had this broken state for a few keys too and that fixed it. It also is fixed on current nixpkgs branches

@veprbl why that PR specifically? f3eb063ecfb0cb76e2cef1e9c9764cdee92f9ed7 and a33ddd7a68d222d1096d390df39068651cc13c79 patched gitlab-shell to write /run/current-system/sw/bin/gitlab-shell instead of just the hardcoded path to /var/gitlab/state/home/.ssh/authorized_keys (which was a bug previously) - but there's no code fixing up manually in that file.

@globin I did that for all three keys. For two of them it helped, for the third one it didn't help. I just tried it once again and still this key is not working.

I found that the key that was not working was present in /var/gitlab/state/home/.ssh/authorized_keys twice. (I don't know why …) GitLab was always managing the last occurrence of the key in this file … while ssh uses the first match it found. Therefore a key number was passed to gitlab, that gitlab didn't know about anymore.
Removing the first occurrence of the duplicate key manually solved the problem for me.

I'm not sure if we can/should add code which tries to fixup halfway broken state - maybe it'd be a better idea to add some note to the changelog. @mawis, WDYT?

@flokli I agree that somehow broken authorized_keys (with the key being in there several times) should not be “fixed”. This could cause more harm than good (because you cannot know which is the correct entry). But I think the path to gitlab-shell should be fixed from hard coded to /run/current-system/sw/bin/gitlab-shell (as I read your message from Dec 6 as well).

@mawis shouldn't this already be the case in pkgs/applications/version-management/gitlab/remove-hardcoded-locations.patch:160? (both on master and 19.09)

@flokli Thanks for pointing this out. I must have missed, that this was fixed. Would have expected someone to have closed the ticket in that case already. I guess I should do so now :)


Sentinel: MasterConnectionPool no available Redis entries

Hi,
I have 3 nodes of redis configured as sentinel.
This is my config:
                    SentinelServersConfig sentinelServersConfig = config.useSentinelServers();
                    sentinelServersConfig.setMasterName("redis-cluster");
                    for (String server : servers) {
                        sentinelServersConfig.addSentinelAddress("redis://" + server + ":" + port);
                    }
                    Redisson.create(config)

When terminating the master node, redis cluster allocated a new master but Redisson fails to recognize that and starts to fail with this error:
MasterConnectionPool no available Redis entries.  Disconnected hosts: [/<IP_ADDRESS>:6379]
Seems that it fails to recover and locate the new master.

How many slave and master nodes do you have? Could you provide Redisson log? Keep in mind new master discovery takes some time, depending on your settings.

I have 3 nodes total, 1 master and 3 slaves.
I waited long and it never recovered.
Which log you refer ro?

Please set logger level for org.redisson package to DEBUG and share gathered log

Seems now it is not reproduced for me


Change order of the "fill in the rest of the information" prompt

Question ID
Who is filing this fee waiver

language
"Okay. List your name below. Fill in the rest of the information on this website as if you are the person who you are helping."

This text is helpful, but I think it should appear after entering phone number & email & address to avoid any confusion about whether it is for the user or the person OBO.

Other information

Variable being sought
filing_basis

Package version
1.1.4

Maturity target
Level 4 - this is purely an enhancement to improve user experience

Tester contact info
mnewsted

Given fixes to make language more adaptive, I think we can actually just remove that help text now.


Flutter crashes when using a PageStorageKey and the user scrolls quickly

Creating ListView.builder children inside a CustomScrollView with a key:PageStorageKey() set will cause the app to crash to the launcher with a [ERROR:flutter/shell/platform/android/platform_view_android_jni.cc(40)] java.lang.NullPointerException: Attempt to invoke interface method 'java.util.Iterator java.util.List.iterator()' on a null object reference if the user scrolls to the bottom and then quickly up again
Steps to Reproduce

Run

import 'package:flutter/material.dart';

void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        body: SafeArea(
          child: CustomScrollView(
            key: PageStorageKey(
                "scroll-crash"), //comment this and the app will not crash
            slivers: <Widget>[
              SliverList(
                delegate: SliverChildBuilderDelegate(
                  (context, index) {
                    return Container(
                      height: 200,
                      child: ListView.builder(
                        scrollDirection: Axis.horizontal,
                        itemCount: 4,
                        itemBuilder: (BuildContext ctxt, int idx) {
                          return Container(
                            width: 150,
                            color: Color.fromRGBO(200, 255, 255, 1),
                            margin: EdgeInsets.all(8),
                            child: Text("fooobar $idx"),
                          );
                        },
                      ),
                    );
                  },
                  childCount: 12,
                ),
              )
            ],
          ),
        ),
      ),
    );
  }
}

Ensure that accessibility features are turned on
Scroll to the bottom (until the wavy overscroll is shown)
Quickly scroll to the top
App crashes (tested on samsung s10 - SM G973F)

App should not crash if the key: PageStorageKey("scroll-crash") is commented or removed
Logs
E/flutter (26093): [ERROR:flutter/shell/platform/android/platform_view_android_jni.cc(40)] java.lang.NullPointerException: Attempt to invoke interface method 'java.util.Iterator java.util.List.iterator()' on a null object reference
E/flutter (26093): 	at io.flutter.view.AccessibilityBridge.updateSemantics(AccessibilityBridge.java:1329)
E/flutter (26093): 	at io.flutter.view.AccessibilityBridge$1.updateSemantics(AccessibilityBridge.java:269)
E/flutter (26093): 	at io.flutter.embedding.engine.FlutterJNI.updateSemantics(FlutterJNI.java:439)
E/flutter (26093): 	at android.os.MessageQueue.nativePollOnce(Native Method)
E/flutter (26093): 	at android.os.MessageQueue.next(MessageQueue.java:326)
E/flutter (26093): 	at android.os.Looper.loop(Looper.java:181)
E/flutter (26093): 	at android.app.ActivityThread.main(ActivityThread.java:7037)
E/flutter (26093): 	at java.lang.reflect.Method.invoke(Native Method)
E/flutter (26093): 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:494)
E/flutter (26093): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:965)
E/flutter (26093):
F/flutter (26093): [FATAL:flutter/shell/platform/android/platform_view_android_jni.cc(96)] Check failed: CheckException(env).

No issues found! (ran in 1.2s)

[✓] Flutter (Channel stable, v1.7.8+hotfix.4, on Mac OS X 10.14.5 18F203, locale en-GB)
    • Flutter version 1.7.8+hotfix.4 at /Users/trymnilsen/flutter/flutter
    • Framework revision 20e59316b8 (9 days ago), 2019-07-18 20:04:33 -0700
    • Engine revision fee001c93f
    • Dart version 2.4.0

[!] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
    • Android SDK at /Users/trymnilsen/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-28, build-tools 28.0.3
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1343-b01)
    ✗ Android license status unknown.
      Try re-installing or updating your Android SDK Manager.
      See https://developer.android.com/studio/#downloads or visit https://flutter.dev/setup/#android-setup for detailed instructions.

[✓] Xcode - develop for iOS and macOS (Xcode 10.3)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 10.3, Build version 10G8
    • CocoaPods version 1.6.1

[✓] iOS tools - develop for iOS devices
    • ios-deploy 1.9.4

[!] Android Studio (version 3.4)
    • Android Studio at /Applications/Android Studio.app/Contents
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1343-b01)

[!] Android Studio
    • Android Studio at /Applications/Android Studio 3.5 Preview.app/Contents
    ✗ Flutter plugin not installed; this adds Flutter specific functionality.
    ✗ Dart plugin not installed; this adds Dart specific functionality.
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)

[✓] VS Code (version 1.36.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.2.0

[✓] Connected device (2 available)
    • SM G973F                  • RF8M138DK6Y               • android-arm64 • Android 9 (API 28)
    • Android SDK built for x86 • emulator-5554             • android-x86   • Android 9 (API 28) (emulator)

! Doctor found issues in 3 categories.

I got that too, and i 'm not using PageStorageKey

Hi @trymnilsen,
I tried your code sample on latest stable (1.20.3) using Android device 8.1.0 and didn't see the crash while scrolling up and down quickly, with accessibility turned ON (without commenting the PageStorageKey code)
37131.mp4.zip

flutter doctor

Flutter 1.20.3 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 216dee60c0 (2 days ago) • 2020-09-01 12:24:47 -0700
Engine • revision d1bc06f032
Tools • Dart 2.9.2

Running flutter doctor...
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 1.20.3, on Mac OS X 10.15.2 19C57, locale en-US)
[!] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
    ✗ Android license status unknown.
      Try re-installing or updating your Android SDK Manager.
      See https://developer.android.com/studio/#downloads or visit https://flutter.dev/docs/get-started/install/macos#android-setup for detailed instructions.
[✓] Xcode - develop for iOS and macOS (Xcode 11.6)
[✓] Android Studio (version 3.6)
[✓] Connected device (1 available)

log
Performing hot restart...
Syncing files to device SM A260G...
Restarted application in 2,174ms.
D/mali_winsys(12298): EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, egl_color_buffer_format *, EGLBoolean) returns 0x3000,  [540x960]-format:1
D/mali_winsys(12298): EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, egl_color_buffer_format *, EGLBoolean) returns 0x3000,  [540x888]-format:1
E/BpSurfaceComposerClient(12298): Failed to transact (-1)
E/BpSurfaceComposerClient(12298): Failed to transact (-1)
W/libEGL  (12298): EGLNativeWindowType 0xd2ff5008 disconnect failed
W/libEGL  (12298): EGLNativeWindowType 0xd2fd6008 disconnect failed
D/mali_winsys(12298): EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, egl_color_buffer_format *, EGLBoolean) returns 0x3000,  [540x960]-format:1
D/mali_winsys(12298): EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, egl_color_buffer_format *, EGLBoolean) returns 0x3000,  [540x888]-format:1
E/BpSurfaceComposerClient(12298): Failed to transact (-1)
E/BpSurfaceComposerClient(12298): Failed to transact (-1)
I/zygote  (12298): Do full code cache collection, code=123KB, data=101KB
I/zygote  (12298): After code cache collection, code=120KB, data=82KB
I/zygote  (12298): Do partial code cache collection, code=125KB, data=88KB
I/zygote  (12298): After code cache collection, code=125KB, data=88KB
I/zygote  (12298): Increasing code cache capacity to 512KB
E/AccessibilityBridge(12298): Had scrollChildren but no childrenInHitTestOrder
E/AccessibilityBridge(12298): Had scrollChildren but no childrenInHitTestOrder
I/chatty  (12298): uid=10179(com.example.connect) identical 1 line
E/AccessibilityBridge(12298): Had scrollChildren but no childrenInHitTestOrder
E/AccessibilityBridge(12298): Had scrollChildren but no childrenInHitTestOrder
I/chatty  (12298): uid=10179(com.example.connect) identical 1 line
E/AccessibilityBridge(12298): Had scrollChildren but no childrenInHitTestOrder
E/AccessibilityBridge(12298): Had scrollChildren but no childrenInHitTestOrder
I/chatty  (12298): uid=10179(com.example.connect) identical 1 line
E/AccessibilityBridge(12298): Had scrollChildren but no childrenInHitTestOrder
E/AccessibilityBridge(12298): Had scrollChildren but no childrenInHitTestOrder
E/AccessibilityBridge(12298): Had scrollChildren but no childrenInHitTestOrder
E/AccessibilityBridge(12298): Had scrollChildren but no childrenInHitTestOrder
E/AccessibilityBridge(12298): Had scrollChildren but no childrenInHitTestOrder
I/chatty  (12298): uid=10179(com.example.connect) identical 2 lines
E/AccessibilityBridge(12298): Had scrollChildren but no childrenInHitTestOrder
E/AccessibilityBridge(12298): Had scrollChildren but no childrenInHitTestOrder
E/AccessibilityBridge(12298): Had scrollChildren but no childrenInHitTestOrder
E/AccessibilityBridge(12298): Had scrollChildren but no childrenInHitTestOrder
E/AccessibilityBridge(12298): Had scrollChildren but no childrenInHitTestOrder
E/AccessibilityBridge(12298): Had scrollChildren but no childrenInHitTestOrder
I/zygote  (12298): Do full code cache collection, code=245KB, data=172KB
I/zygote  (12298): After code cache collection, code=228KB, data=154KB
E/AccessibilityBridge(12298): Had scrollChildren but no childrenInHitTestOrder
E/AccessibilityBridge(12298): Had scrollChildren but no childrenInHitTestOrder
I/chatty  (12298): uid=10179(com.example.connect) identical 1 line
E/AccessibilityBridge(12298): Had scrollChildren but no childrenInHitTestOrder
E/AccessibilityBridge(12298): Had scrollChildren but no childrenInHitTestOrder
E/AccessibilityBridge(12298): Had scrollChildren but no childrenInHitTestOrder
E/AccessibilityBridge(12298): Had scrollChildren but no childrenInHitTestOrder
E/AccessibilityBridge(12298): Had scrollChildren but no childrenInHitTestOrder
E/AccessibilityBridge(12298): Had scrollChildren but no childrenInHitTestOrder
E/AccessibilityBridge(12298): Had scrollChildren but no childrenInHitTestOrder
E/AccessibilityBridge(12298): Had scrollChildren but no childrenInHitTestOrder
E/AccessibilityBridge(12298): Had scrollChildren but no childrenInHitTestOrder
E/AccessibilityBridge(12298): Had scrollChildren but no childrenInHitTestOrder
I/chatty  (12298): uid=10179(com.example.connect) identical 1 line
E/AccessibilityBridge(12298): Had scrollChildren but no childrenInHitTestOrder
E/AccessibilityBridge(12298): Had scrollChildren but no childrenInHitTestOrder
I/chatty  (12298): uid=10179(com.example.connect) identical 2 lines
E/AccessibilityBridge(12298): Had scrollChildren but no childrenInHitTestOrder
E/AccessibilityBridge(12298): Had scrollChildren but no childrenInHitTestOrder
I/chatty  (12298): uid=10179(com.example.connect) identical 2 lines
E/AccessibilityBridge(12298): Had scrollChildren but no childrenInHitTestOrder
E/AccessibilityBridge(12298): Had scrollChildren but no childrenInHitTestOrder
I/chatty  (12298): uid=10179(com.example.connect) identical 1 line
E/AccessibilityBridge(12298): Had scrollChildren but no childrenInHitTestOrder
E/AccessibilityBridge(12298): Had scrollChildren but no childrenInHitTestOrder
I/chatty  (12298): uid=10179(com.example.connect) identical 1 line
E/AccessibilityBridge(12298): Had scrollChildren but no childrenInHitTestOrder
E/AccessibilityBridge(12298): Had scrollChildren but no childrenInHitTestOrder
E/AccessibilityBridge(12298): Had scrollChildren but no childrenInHitTestOrder
W/libEGL  (12298): EGLNativeWindowType 0xd2bf6808 disconnect failed
D/mali_winsys(12298): EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, egl_color_buffer_format *, EGLBoolean) returns 0x3000,  [540x888]-format:1
W/libEGL  (12298): EGLNativeWindowType 0xd2ff5008 disconnect failed
W/libEGL  (12298): EGLNativeWindowType 0xd2fd6008 disconnect failed
D/mali_winsys(12298): EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, egl_color_buffer_format *, EGLBoolean) returns 0x3000,  [540x960]-format:1
D/mali_winsys(12298): EGLint new_window_surface(egl_winsys_display *, void *, EGLSurface, EGLConfig, egl_winsys_surface **, egl_color_buffer_format *, EGLBoolean) returns 0x3000,  [540x888]-format:1
E/BpSurfaceComposerClient(12298): Failed to transact (-1)
E/BpSurfaceComposerClient(12298): Failed to transact (-1)
I/zygote  (12298): Do partial code cache collection, code=251KB, data=177KB
I/zygote  (12298): After code cache collection, code=251KB, data=177KB
I/zygote  (12298): Increasing code cache capacity to 1024KB
E/AccessibilityBridge(12298): Had scrollChildren but no childrenInHitTestOrder
E/AccessibilityBridge(12298): Had scrollChildren but no childrenInHitTestOrder
E/AccessibilityBridge(12298): Had scrollChildren but no childrenInHitTestOrder
E/AccessibilityBridge(12298): Had scrollChildren but no childrenInHitTestOrder
E/AccessibilityBridge(12298): Had scrollChildren but no childrenInHitTestOrder
E/AccessibilityBridge(12298): Had scrollChildren but no childrenInHitTestOrder
I/chatty  (12298): uid=10179(com.example.connect) identical 1 line
E/AccessibilityBridge(12298): Had scrollChildren but no childrenInHitTestOrder
E/AccessibilityBridge(12298): Had scrollChildren but no childrenInHitTestOrder
E/AccessibilityBridge(12298): Had scrollChildren but no childrenInHitTestOrder
E/AccessibilityBridge(12298): Had scrollChildren but no childrenInHitTestOrder
E/AccessibilityBridge(12298): Had scrollChildren but no childrenInHitTestOrder
E/AccessibilityBridge(12298): Had scrollChildren but no childrenInHitTestOrder
E/AccessibilityBridge(12298): Had scrollChildren but no childrenInHitTestOrder
E/AccessibilityBridge(12298): Had scrollChildren but no childrenInHitTestOrder
E/AccessibilityBridge(12298): Had scrollChildren but no childrenInHitTestOrder
E/AccessibilityBridge(12298): Had scrollChildren but no childrenInHitTestOrder
E/AccessibilityBridge(12298): Had scrollChildren but no childrenInHitTestOrder
E/AccessibilityBridge(12298): Had scrollChildren but no childrenInHitTestOrder
E/AccessibilityBridge(12298): Had scrollChildren but no childrenInHitTestOrder
E/AccessibilityBridge(12298): Had scrollChildren but no childrenInHitTestOrder
E/AccessibilityBridge(12298): Had scrollChildren but no childrenInHitTestOrder
E/AccessibilityBridge(12298): Had scrollChildren but no childrenInHitTestOrder
E/AccessibilityBridge(12298): Had scrollChildren but no childrenInHitTestOrder
E/AccessibilityBridge(12298): Had scrollChildren but no childrenInHitTestOrder
E/AccessibilityBridge(12298): Had scrollChildren but no childrenInHitTestOrder
E/AccessibilityBridge(12298): Had scrollChildren but no childrenInHitTestOrder
E/AccessibilityBridge(12298): Had scrollChildren but no childrenInHitTestOrder
E/AccessibilityBridge(12298): Had scrollChildren but no childrenInHitTestOrder
E/AccessibilityBridge(12298): Had scrollChildren but no childrenInHitTestOrder
E/AccessibilityBridge(12298): Had scrollChildren but no childrenInHitTestOrder
I/chatty  (12298): uid=10179(com.example.connect) identical 1 line
E/AccessibilityBridge(12298): Had scrollChildren but no childrenInHitTestOrder
E/AccessibilityBridge(12298): Had scrollChildren but no childrenInHitTestOrder
E/AccessibilityBridge(12298): Had scrollChildren but no childrenInHitTestOrder
W/libEGL  (12298): EGLNativeWindowType 0xd2bf6808 disconnect failed
W/libEGL  (12298): EGLNativeWindowType 0xd2fd6008 disconnect failed

Can you try and confirm at your end to know if you still experience the crash ?
Thanks

Without additional information, we are unfortunately not sure how to resolve this issue.
We are therefore reluctantly going to close this bug for now.
Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.
Could everyone who still has this problem please file a new issue with the exact description of what happens, logs, and the output of flutter doctor -v.
All system setups can be slightly different, so it's always better to open new issues and reference related issues.


Consider to replace ActivatedJob struct to interface

Hi,
Passing heavy object passing during service task execution ActivatedJob is caught by Go Critic linter https://go-critic.com/overview.html#hugeParam-ref
This suggests performance will degrade over time. I don't have benchmark yet how degraded. Maybe if we have 10,000 service tasks in one flow, this will start to degrade.
Can we consider passing function interface  or pointer? My suggestion is to change the existing struct copying with function interface passing. We can do better mocking as well when function interface is passed.

Hi @rhzs
thank you very much for spotting this.
Your comment makes totally sense to me.
Feel free to fill a PR - I would be very happy.
Besides that ... would you please guide me for a second, how could I run the go critic linter on my own?
Is there a link?

@nitram509 MR raised in https://github.com/nitram509/lib-bpmn-engine/pull/42
I can make separate MR to introduce Golang linter by using Golang CI Linter.
Thank you


API create users

Hello Guys :)
Can I ask you please if you can add the create user in the API or how can I add it?
thank you :)

It looks like there's currently a GET but not a PUT/POST for /users.  This might be nice for Ansible-style deployments that aren't configured directly through LDAP.

@vwbusguy I didn't even understand what just said Scott?
Is this already implemented ? if yes where? and no how to add it?

Hi @capensisma
If creating new user in your side doesn't require much complicated security rule, then you can go with account.js in controllers. There's some routing available that you can publish out for your client to call.
I've modified a bit for my system, and to keep the current code works well for the web I've added one more parameter for that API to run on its own way.
Start from here: controllers/account.js:
app.post('/account/register', function (req) {
req.io.route('account:register');
});


Complete support semi join

two statements for semi join use case:
1:
SELECT
    COUNT(0)
FROM
    TABLE_A A
WHERE
    EXISTS (
        SELECT
            1
        FROM
            TABLE_B B
        WHERE
            A.FIELD1 = B.FIELD1
            AND A.FIELD2 = B.FIELD2
            AND B.FIELD3 = 'X'
    )
    AND A.FIELD3 IN ('A', 'B', 'C')

2:
SELECT
    COUNT(0)
FROM
    TABLE_A A
WHERE
    A.FIELD3 IN ('A', 'B', 'C')
    AND (A.FIELD1, A.FIELD2) IN (
        SELECT
            B.FIELD1,
            B.FIELD2
        FROM
            TABLE_B
        WHERE
            B.FIELD3 = 'X'
    )

It‘s can not use in current version.
crate 3.0.

+1
Sent with GitHawk

@seut
Wondering what is missing here.
CREATE TABLE a (f1 TEXT, f2 TEXT, f3 TEXT);
CREATE TABLE b (f1 TEXT, f2 TEXT, f3 TEXT);
INSERT INTO a VALUES ('a','b','c');
INSERT INTO b VALUES ('a','b','c');

The first query should work in CrateDB
cr> SELECT count(*) FROM a WHERE EXISTS(SELECT 1 FROM b where a.f1 = b.f1 and a.f2 = b.f2 and b.f3 ='c') and a.f3 IN ('a','b','c');
UnsupportedFeatureException[Can't handle Symbol [SimpleReference: f3]]

^^^ but this seems more like a bug, as it works fine with a subquery:
cr> WITH c AS (SELECT * FROM a WHERE EXISTS(SELECT 1 FROM b where a.f1 = b.f1 and a.f2 = b.f2 and b.f3 ='c') and a.f3 IN ('a','b','c'))
    SELECT COUNT(*) FROM c;
+----------+
| count(*) |
+----------+
|        1 |
+----------+
WITH 1 row in set (0.018 sec)

The second query doesn't work, as CrateDB doesn't support comparing tuples
SELECT 1 WHERE (1,2) = (1,2);

(works in pg sql btw)

@proddata
Right, by implementing correlated subqueries and the EXISTS expression support,  SEMI and ANTI JOINS are supported as well.
Thanks for the heads up!
I'll look into the bug. Btw. it only happens once a column is used inside the filter which isn't part of the select items.
For the tuple support, I've created a dedicated issue #13419.

Right, by implementing correlated subqueries (https://github.com/crate/crate/issues/12887) and the EXISTS expression (https://github.com/crate/crate/pull/12900) support, SEMI and ANTI JOINS are supported as well.
Thanks for the heads up!
I'll look into the bug. Btw. it only happens once a column is used inside the filter which isn't part of the select items.

This issue is fixed now by #13668 and will be released within the next 5.2 hotfix release.

As the only remaining tuple issue is tracked by a dedicated issue #13419, I'll close this one now.


Mouse click is sometimes "sticky"

Hyprland Version
 System/Version info
Hyprland, built from branch main at commit 3c964a9fdc220250a85b1c498e5b6fad9390272f dirty (keybinds: Add dispatcher for xmonad/qtile-style workspace switching (4439)).
Date: Mon Jan 15 16:30:46 2024
Tag: v0.34.0-48-g3c964a9f

flags: (if any)

System Information:
System name: Linux
Node name: apg
Release: 6.7.0-arch3-1
Version: #1 SMP PREEMPT_DYNAMIC Sat, 13 Jan 2024 14:37:14 +0000

GPU information:
03:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 23 [Radeon RX 6650 XT / 6700S / 6800S] [1002:73ef] (rev c2) (prog-if 00 [VGA controller])
37:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Rembrandt [Radeon 680M] [1002:1681] (rev c7) (prog-if 00 [VGA controller])

os-release: NAME="Arch Linux"
PRETTY_NAME="Arch Linux"
ID=arch
BUILD_ID=rolling
ANSI_COLOR="38;2;23;147;209"
HOME_URL="https://archlinux.org/"
DOCUMENTATION_URL="https://wiki.archlinux.org/"
SUPPORT_URL="https://bbs.archlinux.org/"
BUG_REPORT_URL="https://bugs.archlinux.org/"
PRIVACY_POLICY_URL="https://terms.archlinux.org/docs/privacy-policy/"
LOGO=archlinux-logo

plugins:
  hycov by DreamMaoMao ver 0.1

Bug or Regression?
Regression
Description
As of a few days ago I'm getting a bug where single mouse clicks often seem to act as a drag until I click again (sometimes requires a few clicks to get rid of). This happens with all mice I have so it can't be a hardware defect.
It also does not happen on GNOME.
How to reproduce
Use a mouse like usual, eventually a click will never un-click.
Crash reports, logs, images, videos
No response

config? Does this happen on the default config?

I'm not sure whether this happens on default config. It'd be hard to test as it happens sporadically, maybe we can compare configs with others who also have the issue?

Click for full config
# Hyprland config file

env=QT_QPA_PLATFORM,wayland;xcb

# STILL NOT WORKING YOU PECKING XWAYLAND CURSOR
exec=xsetroot -xcf /usr/share/icons/Catppuccin-Mocha-Dark-Cursors/cursors/left_ptr 24
exec-once=hyprctl setcursor Catppuccin-Mocha-Dark-Cursors 24

#exec-once=sway-video-idle-inhibit
#exec-once=sway-audio-idle-inhibit

exec-once=wii-u-gc-adapter
exec-once=udiskie
exec-once=wineserver --persistent

exec-once=waybar
exec-once=$HOME/.config/waybar/scripts/album_art.sh
exec-once=eww daemon

# Core components (authentication, lock screen, notification daemon)
exec-once=dbus-update-activation-environment --all
exec-once=/usr/bin/gnome-keyring-daemon --start --components=secrets
exec-once=/usr/lib/xfce-polkit/xfce-polkit
exec-once=dunst &
#exec-once = swayidle -w timeout 300 '$HOME/.local/bin/lock.sh' before-sleep '$HOME/.local/bin/lock.sh' &
#exec-once = swayidle -w timeout 450 'systemctl suspend'

# Clipboard history (DOESN'T WORK)
exec-once=wl-paste --watch cliphist store

exec-once=nm-applet --indicator
exec-once=avizo-service
#exec-once=batify -i 10 -l 25 -c 15 -f 80
exec-once=hyprpaper

exec-once=[workspace 1] firefox
exec-once=[workspace 2] firejail --noprofile --blacklist=/dev/dri/card1 --blacklist=/dev/dri/renderD128 -- bash armcord --disable-smooth-scrolling --enable-features=UseOzonePlatform --ozone-platform=wayland --force_low_power_gpu --renderer-process-limit=1 --num-raster-threads=1 --no-sandbox
exec-once=[workspace 2] nheko

# commented out until Flameshot on Hyprland is fixed
#exec-once=XDG_CURRENT_DESKTOP=sway flameshot

# enable screensharing ???
exec-once = sleep 1 && dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
exec-once=systemctl --user import-environment DISPLAY WAYLAND_DISPLAY XDG_CURRENT_DESKTOP

# disable Firefox taking 30s to start
exec-once=hash dbus-update-activation-environment 2>/dev/null && dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY XDG_CURRENT_DESKTOP

# disable XWayland being blurry
xwayland {
    force_zero_scaling=true
}

monitor=eDP-1,2560x1600@120,0x0,1.25
monitor=eDP-2,2560x1600@120,0x0,1.25

monitor=HDMI-A-1,1280x720@60,2048x0,1
monitor=DP-3,2560x1440@60,2048x0,1

workspace=eDP-1,1
workspace=HDMI-A-1,11

# doesn't work but ok
windowrule=workspace 2 silent,title:^(WebCord)$
windowrule=workspace 2 silent,class:^(ArmCord)$

windowrule=noinitialfocus,title:^(win10)$
windowrule=nofocus,title:^(win10)$

windowrule=float,title:^(VM not running !)$
windowrule=opaque,class:^(activate-linux)$
windowrule=nofocus,class:^(activate-linux)$
windowrule=opaque,^(photoshop.exe)$
windowrule=float,title:^(Close Firefox)$

# TODO: doesn't work, Bitwarden popup still maximizes :(
windowrule=nomaximizerequest,class:^firefox$

windowrule=float,title:^(Reminders)$
windowrule=float,^(xfce-polkit)$
windowrule=float,title:^(New Layer)$
windowrule=float,class:^(zenity)$
windowrule=forceinput,class:^(Vmplayer)$
windowrule=float,title:^(New Layer)$
windowrule=float,title:^(Welcome)

# file/input selectors
windowrule=float,title:(File)$
windowrule=float,title:(file)$
windowrule=float,title:^(File)
windowrule=float,title:(Image)$
windowrule=float,title:(image)$
windowrule=float,title:^(Select)
windowrule=float,title:^(Open)
windowrule=float,title:(inserted)$

# disable rounding popups in Krita
windowrule=rounding 0,title:^(Krita)$
windowrule=noblur,title:^(Krita)$
windowrule=opaque,title:^(Krita)$

# Handle Firefox's PiP window
windowrule=float,title:^(Picture-in-Picture)$
windowrule=pin,title:^(Picture-in-Picture)$
windowrule=move 100%-520 100%-300,title:^(Picture-in-Picture)$

windowrulev2=float,class:^(firefox)$,title:^(Library)$

# iwgtk
windowrulev2=float,class:^(iwgtk)$,title:^(Provision network via WPS)$
windowrulev2=float,class:^(iwgtk)$,title:.+: Station diagnostics$
windowrulev2=float,class:^(iwgtk)$,title:^(Wireless network credentials)$
windowrulev2=float,class:^(iwgtk)$,title:^(Connect to hidden network)$

# WebCord stream popout
windowrule=float,class:^(Electron)$
windowrule=pin,class:^(Electron)$
#,title:^((?!WebCord).)*$

# WINE
windowrulev2=nomaxsize,class:^(.*wine.*)$

# Maya
windowrule=noblur,title:^(Marking Menu)$
windowrule=nofocus,title:^(Marking Menu)$
windowrule=noanim,title:^(Marking Menu)$

# Unreal Engine (DOES NOT WORK!!!)
windowrulev2=unset,class:^(UnrealEditor)$,title:^\w*$
windowrulev2=noinitialfocus,class:^(UnrealEditor)$,title:^\w*$
#windowrulev2=nofocus,class:^(UnrealEditor)$,title:^\w*$
windowrulev2=noanim,class:^(UnrealEditor)$,title:^\w*$

# Idle inhibit
windowrule=idleinhibit focus,mpv
windowrule=idleinhibit fullscreen,firefox

######## Layer rules ########
layerrule=blur, gtk-layer-shell
layerrule=ignorealpha 0.5, gtk-layer-shell
layerrule=blur, notifications
layerrule=ignorealpha 0.5, notifications

input {
    repeat_rate=50
    repeat_delay=250

    follow_mouse=1
    mouse_refocus=1

    touchpad {
        natural_scroll=yes
        disable_while_typing=false
        tap-to-click=true
    }
}

# TODO: how do I bind toggling this to a hotkey??
device:Composite USB PS2 Converter USB to PS2 Adaptor  V3.10 {
    kb_options = altwin:swap_lalt_lwin,
}

device:logitech-ergo-m575 {
    scroll_button=275
    scroll_method=on_button_down

}

general {
    sensitivity=1.0 # for mouse cursor

    gaps_in=4
    gaps_out=5
    border_size=2
    col.active_border=0xffa7cac6
    col.inactive_border=0xFF444455

    apply_sens_to_raw=0 # whether to apply the sensitivity to raw input (e.g. used by games where you aim using your mouse)
}

debug {
    disable_logs=false
    #overlay=true
}

misc {
    vfr=true
    vrr=1 # adaptive sync
    disable_splash_rendering=true
    disable_hyprland_logo=true
    #layers_hog_keyboard_focus=true
    animate_manual_resizes=0
    animate_mouse_windowdragging=0
    enable_swallow=false
    swallow_regex=^(foot)$
    focus_on_activate=true
    no_direct_scanout=false

    render_ahead_of_time=false
    render_ahead_safezone=10

    cursor_zoom_rigid=true
}

decoration {
    rounding=10

    blur {
      enabled = 1
      size = 4
      passes = 2
    }

    inactive_opacity=0.95

    drop_shadow=true
    shadow_range=20
    col.shadow=0xffa7caff
    col.shadow_inactive=0x50000000
    dim_special=0
}

animations {
    bezier=overshot,0.13,0.99,0.29,1.1
    enabled=1
    animation=windows,1,3,overshot
    animation=border,1,10,default
    animation=workspaces,1,4,default
}

dwindle {
    pseudotile=0 # enable pseudotiling on dwindle
    preserve_split=true
}

gestures {
    workspace_swipe=true
    workspace_swipe_min_speed_to_force=25
    workspace_swipe_fingers=3
}

binds {
    pass_mouse_when_bound=false
}

binde=,xf86audioraisevolume,exec,volumectl -p -a -u +
binde=,xf86audiolowervolume,exec,volumectl -p -a -u -
binde=,xf86audiomute,exec,volumectl -p -a %
binde=,xf86audiomicmute,exec,volumectl -m %

binde=SUPER,xf86audiomicmute,exec,$HOME/.local/bin/toggle_touchpad

binde=,xf86monbrightnessup,exec,lightctl +
binde=,xf86monbrightnessdown,exec,lightctl -

binde=,xf86kbdbrightnessup,exec,lightctl -D asus::kbd_backlight +
binde=,xf86kbdbrightnessdown,exec,lightctl -D asus::kbd_backlight -

bind=,xf86launch1,exec,rog-control-center

bind=SUPER,F2,exec,virsh start win10 && looking-glass-client

bind=SUPERSHIFT,S,exec,env XCURSOR_SIZE=48 grimblast --notify copy area
bind=SUPERCONTROLSHIFT,S,exec,grim -g "$(env XCURSOR_SIZE=48 slurp)" -t ppm - | tesseract stdin stdout | wl-copy; notify-send "Tesseract OCR" "Copied \"$(wl-paste)\""
bind=SUPER,S,exec,grimblast --notify copy active
bind=SUPERCONTROL,S,exec,grimblast --notify copy output
bind=SUPERALT,S,exec,videoshot-wl
bind=SUPER,escape,exec,wlogout --protocol layer-shell

bind=SUPERSHIFT,W,exec,~/.config/eww/scripts/toggle-winmode.sh

bind=SUPERSHIFT,L,exec,rofi-rbw

bind=SUPER,return,exec,foot
bind=SUPER,T,exec,foot
bind=SUPER,X,killactive,
bind=SUPERSHIFT,X,exec,hyprctl kill
bind=SUPERSHIFT,F4,exec,killall -9 Hyprland
bind=SUPER,C,exec,qalculate-gtk
bind=SUPER,space,togglefloating,
bind=SUPERSHIFT,space,pin,
bind=SUPER,F,fullscreen,
bind=SUPER,R,exec,anyrun
bind=SUPER,period,exec,wofi-emoji 0
bind=SUPER,E,exec,dolphin
bind=SUPER,M,exec,evolution
bind=SUPER,P,exec,bash -c 'hyprpicker | wl-copy'
bind=SUPER,V,exec,cliphist list | rofi -dmenu | cliphist decode | wl-copy
bind=SUPER,N,exec,wl-paste -t image/png > /tmp/$(date +"%T"); imv /tmp/$(date +%T)
bind=SUPERSHIFT,V,exec,notify-send "Pasting \"$(wl-paste)\" in a sec..."; sleep 1;wtype $(wl-paste)
#bind=SUPER,P,pseudo,

# bind=SUPER,Tab,exec,eww open --toggle overview

# move windows
bind=SUPER,h,movefocus,l
bind=SUPER,l,movefocus,r
bind=SUPER,k,movefocus,u
bind=SUPER,j,movefocus,d

bind=SUPER,left,movefocus,l
bind=SUPER,right,movefocus,r
bind=SUPER,up,movefocus,u
bind=SUPER,down,movefocus,d

bind=SUPER,tab,layoutmsg,togglesplit
bind=SUPERSHIFT,left,movewindow,l
bind=SUPERSHIFT,right,movewindow,r
bind=SUPERSHIFT,up,movewindow,u
bind=SUPERSHIFT,down,movewindow,d

bind=SUPER,Q,exec,killall -SIGUSR1 waybar; pkill bsod || ~/.local/bin/bsod

#bind=SUPER,1,exec,/home/apm/.cargo/bin/hyprsome workspace 1
#bind=SUPER,2,exec,/home/apm/.cargo/bin/hyprsome workspace 2
#bind=SUPER,3,exec,/home/apm/.cargo/bin/hyprsome workspace 3
#bind=SUPER,4,exec,/home/apm/.cargo/bin/hyprsome workspace 4
#bind=SUPER,5,exec,/home/apm/.cargo/bin/hyprsome workspace 5
#bind=SUPER,6,exec,/home/apm/.cargo/bin/hyprsome workspace 6
#bind=SUPER,7,exec,/home/apm/.cargo/bin/hyprsome workspace 7
#bind=SUPER,8,exec,/home/apm/.cargo/bin/hyprsome workspace 8
#bind=SUPER,9,exec,/home/apm/.cargo/bin/hyprsome workspace 9

#bind=SUPERSHIFT,1,exec,/home/apm/.cargo/bin/hyprsome move 1
#bind=SUPERSHIFT,2,exec,/home/apm/.cargo/bin/hyprsome move 2
#bind=SUPERSHIFT,3,exec,/home/apm/.cargo/bin/hyprsome move 3
#bind=SUPERSHIFT,4,exec,/home/apm/.cargo/bin/hyprsome move 4
#bind=SUPERSHIFT,5,exec,/home/apm/.cargo/bin/hyprsome move 5
#bind=SUPERSHIFT,6,exec,/home/apm/.cargo/bin/hyprsome move 6
#bind=SUPERSHIFT,7,exec,/home/apm/.cargo/bin/hyprsome move 7
#bind=SUPERSHIFT,8,exec,/home/apm/.cargo/bin/hyprsome move 8
#bind=SUPERSHIFT,9,exec,/home/apm/.cargo/bin/hyprsome move 9

bind=SUPER,1,workspace,1
bind=SUPER,2,workspace,2
bind=SUPER,3,workspace,3
bind=SUPER,4,workspace,4
bind=SUPER,5,workspace,5
bind=SUPER,6,workspace,6
bind=SUPER,7,workspace,7
bind=SUPER,8,workspace,8
bind=SUPER,9,workspace,9

bind=SUPERSHIFT,1,movetoworkspacesilent,1
bind=SUPERSHIFT,2,movetoworkspacesilent,2
bind=SUPERSHIFT,3,movetoworkspacesilent,3
bind=SUPERSHIFT,4,movetoworkspacesilent,4
bind=SUPERSHIFT,5,movetoworkspacesilent,5
bind=SUPERSHIFT,6,movetoworkspacesilent,6
bind=SUPERSHIFT,7,movetoworkspacesilent,7
bind=SUPERSHIFT,8,movetoworkspacesilent,8
bind=SUPERSHIFT,9,movetoworkspacesilent,9

bind=SUPER,Z,togglespecialworkspace,
bind=SUPERSHIFT,Z,movetoworkspace,special

bind=SUPER,mouse_down,workspace,e+1
bind=SUPER,mouse_up,workspace,e-1

bindm=SUPER,mouse:272,movewindow
bindm=SUPER,mouse:273,resizewindow
bindm=SUPERSHIFT,mouse:272,resizewindow

plugin=/usr/lib/libhycov.so
bind = SUPER,grave,hycov:toggleoverview

plugin {
    hycov {
        overview_gappo = 60 #gas width from screem
        overview_gappi = 24 #gas width from clients
        #hotarea_size = 10 #hotarea size in bottom left,10x10
        enable_hotarea = false # enable mouse cursor hotarea
        swipe_fingers=4
        move_focus_distance=100
        enable_gesture=1 # these are not 1:1 gestures
    }
}

# vim: set ft=toml:

what if you remove the mouse binds?

This is a strange one, happens to me mostly in FF/Cachy Browser
https://github.com/hyprwm/Hyprland/assets/5576250/f71fde47-e9f7-4360-b9b7-0b15d255263c
config
https://gist.github.com/romanstingler/8e4256795a26abfab0e6d92c81d8d780

Yeah that's exactly what I get. I can test removing the mouse binds, but I don't have a mouse to test with for a few hours.

@TheSunCat does this happen with the latest hyprland version to you?
I reinstalled my -git package
Tag: v0.34.0-51-gc4365f20
and at least on the first few tests it doesn't happen anymore.

I'm on https://github.com/prasanthrangan/hyprdots config, NVidia GPU, Garuda-Hyprland Installation and i have the same issue

I disabled the mouse binds and it has yet to happen after several hours of use.

@TheSunCat what exactly did you disable? Only the keybinds or some of the mouse settings?

All of the mouse binds at the end of my config (right before the hycov block).

So but now you can't resize or move the windows with mouse anymore, right?

Indeed so.

Alright, thanks for the update. I hope this helps to fix this

got to be something to do with recent keybind changes then. Funnily enough, aimed to fix this.
Is there anything else that has to happen to trigger this, or is it 100% random?

i couldn't make out any pattern for me. Appeared in alacritty, thorium, firedragon, dolphin - so no pattern there for me

I could not find any pattern to trigger this. I've only seen it happen when just using the mouse though (not touching the keyboard at all).

log when it happens? can someone see if | grep "BUG THIS" returns stuff?

Got it to happen right after focusing on the logs window, nothing was printed:
[LOG] Set keyboard focus to surface 6103f506d610, with [Window 6103f50381a0: title: "tail -f /tmp/hypr/$H ~"]
[LOG] Searching for matching rules for foot (title: tail -f /tmp/hypr/$H ~)
[LOG] Callback 6103f4dcf778 -> 6103f4dcf770, CWLSurface removed.
[LOG] CWLSurface 6103f4dcf728 called destroy()

I checked the entire logs for BUG THIS and found nothing.

annoying if I can't repro, tbh. Bisect at least?

Working on mildly urgent exams, I can bisect in a few days but would appreciate if someone else that has this issue can bisect earlier.

I'm sorry but i have no idea what even bisecting means in that case and how / where i would start. Not that advanced user, sorry

I can consistently reproduce with the following steps:

set bindm = SUPER, mouse:272, movewindow
press SUPER+LMB to drag a window around
release SUPER+LMB
click a few times with LMB somewhere
After 2-4 clicks one of the clicks doesn't release

You can git checkout backward to find a commit where the issue does not happen. Then use this:
$ git bisect start
$ git bisect good
$ git bisect bad main

Then repeat:

build Hyprland
check if issue still happens
if it still happens, do git bisect bad. if it does not happen, do git bisect good

This will allow git to find the commit that introduced the issue.
See here for full instructions: https://code.whatever.social/questions/4713088/how-do-i-use-git-bisect#37306623

You can git checkout backward to find a commit where the issue does not happen. Then use this:
$ git bisect start
$ git bisect good
$ git bisect bad main

Then repeat:

build Hyprland
check if issue still happens
if it still happens, do git bisect bad. if it does not happen, do git bisect good

This will allow git to find the commit that introduced the issue.
See here for full instructions: https://code.whatever.social/questions/4713088/how-do-i-use-git-bisect#37306623

yeah sorry i don't think i want to do this :smile:  i just installed garuda-hyprland and some dotfiles. I don't feel comfortable rebuilding my hyprland a couple of times and stuff.
Sorry guys, i'm of no help i guess

@rszyma thanks, can repro.

thats fun

should be fixed, pls check

After updating to the newest git it appears to indeed be working perfectly fine now.
Thank you for that super fast fix!

I have yet to see this happen after updating, thank you!