Make postgres watches respect contexts.

Postgres watches could block indefinitely during the initial list backfill, as nothing connected the context to the watcher's done channel.

LGTM. How'd you notice this bug?

NVM, I see the support issue now and just found this in unit tests too


consistency in file hash conversion

Howdy,
I'm converting STIX 1.1.1 to STIX2 and I have noticed a consistency issue.
I have a STIX1 doc with file hash IoCs in them (e.g. MD5, SHA-1, SHA-256, and ssdeep).
My STIX1 input is as follows:
...
FileObj:Hashes
cyboxCommon:Hash
<cyboxCommon:Type condition="Equals" xsi:type="cyboxVocabs:HashNameVocab-1.0">MD5</cyboxCommon:Type>
<cyboxCommon:Simple_Hash_Value condition="Equals">Redacted</cyboxCommon:Simple_Hash_Value>
</cyboxCommon:Hash>
cyboxCommon:Hash
<cyboxCommon:Type condition="Equals" xsi:type="cyboxVocabs:HashNameVocab-1.0">SHA1</cyboxCommon:Type>
<cyboxCommon:Simple_Hash_Value condition="Equals">Redacted</cyboxCommon:Simple_Hash_Value>
</cyboxCommon:Hash>
cyboxCommon:Hash
<cyboxCommon:Type condition="Equals" xsi:type="cyboxVocabs:HashNameVocab-1.0">SHA256</cyboxCommon:Type>
<cyboxCommon:Simple_Hash_Value condition="Equals">Redacted</cyboxCommon:Simple_Hash_Value>
</cyboxCommon:Hash>
cyboxCommon:Hash
<cyboxCommon:Type condition="Equals" xsi:type="cyboxVocabs:HashNameVocab-1.0">SSDEEP</cyboxCommon:Type>
<cyboxCommon:Fuzzy_Hash_Value condition="Equals">Redacted</cyboxCommon:Fuzzy_Hash_Value>
</cyboxCommon:Hash>
</FileObj:Hashes>
...
When the elevator completes, I get the following output:
file:hashes.MD5
file:hashes.'SHA-1'
file:hashes.'SHA-256'
file:hashes.ssdeep
I'd like to know if there is a tweak I can do to get the STIX2 output to be:
file:hashes.md5
file:hashes.sha1
file:hashes.sha256
file:hashes.ssdeep
...
etc. for the rest of the supported hashes
Or is this an issue?
End result is to be able to parse the output but hash type.
Thanks in advance.
-Matthew KW

Hi @HBadger0017,
From the xml you sent and the results you show, my assumption is that this is an Observable within an Indicator, acting as a pattern to match against.
The names of the hashes are listed in the specification, and they must appear in the pattern expression exactly (including lower/upper case) as the appear in the spec for them to be valid in STIX 2.0 (see Part 1, section 6.3).  It could be a little confusing, because if a '_' occurs in an object path component - it must be quoted - which is why you have MD5 and 'SHA-256'.
How are you consuming the resultant STIX 2.0?  Any STIX compliant code should handle the hash names as listed in the spec.

I am pulling IoCs from STIX2 json to build the intel framework for Zeek.  Got the reference and I'll adjust my code accordingly.  Thanks for the quick response.
-Matthew KW


Filter search documents by root and subpart.

Part of https://github.com/eregs/notice-and-comment/issues/173.

Coverage decreased (-0.06%) to 83.839% when pulling e7b04e22d90613d73c3782207877a0228b086d5f on jmcarp:eregs-173-search-index into 3e70c8d21496632434d067c9a3f23f45c7809fa7 on eregs:master.

Coverage decreased (-0.07%) to 83.825% when pulling 191ccef4477e7bda43b8bebf1ca15db522795f02 on jmcarp:eregs-173-search-index into 3e70c8d21496632434d067c9a3f23f45c7809fa7 on eregs:master.

Looks good


cve-2022-22947

Hi
Is there any info about https://tanzu.vmware.com/security/cve-2022-22947? It affects spring cloud gateway but its not clear which library is the one vulnerable, i guess it is spring-cloud-gateway-server.
The CVE has still not been released by NVD
Is this vuln catalogued in the DB? If not, do you have any extra info on the exact library affected to create a PR?

Hi @javixeneize, we've since included this in our database and it can be found here - https://github.com/advisories/GHSA-3gx9-37ww-9qw6. It takes some time for new vulnerability data to make its way to us for database inclusion, so we appreciate your patience. Unfortunately we do not have any additonal information about this vulnerability outside of what's included in the advisory. Thanks!


Added parameter feature

Added parameter support to the component.
For now, we only have disablePastDays parameter. We will add needed parameters later.
Usage:
  var params = {
      disablePastDays: true
  };

  vanillaCalendar.init(params);

Also added a changelog file, in order to document changes to this project.

@alperklc Merged. 👍


refactor(cloudevents-server): add reason filed

Add reason filed in table, and adjust the event handler for new problem case reporting palyload structure.

/approve


datafusion-cli doesn't accept tab delimiter for CSV files

Describe the bug
I would like to read a TSV file using the datafusion-cli. However, when specifying \t as the delimiter I get the error: 🤔 Invalid statement: sql parser error: Delimiter must be a single char
To Reproduce
In bash:
echo "col1\tcol2" > test.tsv
echo "1\t2" >> test.tsv

then in datafusion-cli:
create external table test stored as csv location 'test.tsv' delimiter '\t';

Expected behavior
External table creates successfully with a tab as the delimiter.
Additional context
It seems the problem is that rustyline treats the '\t' as two separate characters. I wouldn't mind having a go at fixing it myself, e.g. by updating the line from rustyline before passing to datafusion. If this is the way to do it, should all instances of \ in a given line be treated as escaped values, or only in the delimiter itself?

The current SQL parsing delimiter is treated as a string, and does not support parsing escape char.
I plan submit a PR to support it.

Thanks @r4ntix !


Fireball and Waterball Pull Request

Jesse Cogburn
Author:
jesse563
About your game
My game is about the red ball and the blue ball each needing to get back to the portal of their color without bumping into each other. There are five levels and when both balls have reached their end goal, the next level starts.
How do you play your game?
You play the game using the WASD keys to move the red ball and the IJKL keys to control the blue ball in the same manner. You need to avoid each other when reaching your respective goals because otherwise you will get in the way of each other.
Code
Check off the items that are true.

[x] The game was made using the Sprig editor.
[x] The game is placed in the in the /games directory.
[x] The code is significantly different from all other games in the Sprig gallery (except for games labeled "demo").
[x] The game runs without errors.
[x] The name of the file/game contains only alphanumeric characters, -s, or _s.
[x] The game name is not the same as the others from gallery

Thanks for your PR!

Please add a new mechanic or two to this game to improve it to the level where you will be eligible for receiving a Sprig device.

Sounds good! Should I upload that as a separate pull request or upload it to the same request?


Add a licence file

What is  the licence of this gem?

Thanks for bringing this to my attention. I've declared an MIT license.


Client Allocation Request for: King Enterprise

Client Allocation Questions
Core Information

Name: King Enterprise
Website / Social Media: http://trotking.net/
Region: Asia excl. Greater China
DataCap Requested: 50TiB
Addresses to be Notarized: f3v7acvitagfyfhwdedorx4rv2kn7d7px2mdvg4w5btsmdkweknc6zg33mqjdoiyklaiitw7gxsw66yfzixpwa
Notary Requested: neogeweb3

@King-ent Please subscribe to notifications for this Issue to be aware of updates. Notaries may request additional information on the Issue.

Hello @neogeweb3
We use the Datacap all so we want to get next Datacap.
I am going to request you again!
And here's our deal information.

Hey @King-ent, thanks for the request. Since you have requested DataCap from me before, I have some questions regarding your previous DataCap allocation.

How much cumulative DataCap was allocated to you from me?
In which region(s) did you use the DataCap?
What was your use case for the previous allocation?
Did you specify any advanced features for the previous allocation?
How many miners did you allocate the DataCap to? Please specify transaction links to the storage deals.
In your previous allocation, did you violent any community principles like excessive/unfair (20% of DataCap allocation) self-dealing?

Hello @neogeweb3

Last time, we were allocated 100GiB to you and that's thr first Datacap we received.
We use the Datacap in the Asia excl. GC region.
We use the Datacap for store our data as we said before.
We do not have any advanced features. Should we have done something?
We just allocate one miner.

Hey @King-ent, thanks for the wait. I will allocate 1TiB to you, please allocate the DataCap to the number of SPs close to what you have committed in #1402.


Borrow more when constructing RuntimeConfiguration.

What
The documentation for RuntimeConfiguration states that it borrows whenever possible, which was false. I have made some changes to borrow (or copy, if copying is cheap) all fields.
How
I introduced the 'request lifetime and annotated fields with it. The metadata might be borrowed, or it might be converted from a v1 metadata, so this is wrapped in a Cow to abstract over this.
When possible, we now pass around a RuntimeConfiguration by value rather than by reference.
I also added Copy to MutationsVersion so that we can freely pass it around without having to worry about borrowing. IsolationLevel already implements Copy.

Seems to get a reasonable speedup of around 10% in the benchmarks.


Problem load player controls after change svg and blank file urls

Hello and thank you for perfect video framework
I use plyr for html5 audio and video player in my website and work correctly and beautifully
i upload 2 file for play my video and audio (plyr.js and plyr.css)
and upload plyr.svg and blank.mp4 files to my website host
and edit plyr.js file for change plyr.svg and blank.mp4 file addresses in 3195 and 3197 lines for load plyr.svg and blank.mp4 files from my website hosting for speedy load and faster ping in my country
but after change, player controls not show and Hides! and only show controls and work corrently when plyr.svg and blank.mp4 with default addresses in plyr.js file!
please help me for solve this problem
thank you very much

You don't need to hack the source code to change those two paths. Check the docs for how to change them via config. https://github.com/sampotts/plyr#options
For the issue of your sprite not loading, make sure you have the correct mime type set in your server config.
Good luck! 👍

You don't need to hack the source code to change those two paths. Check the docs for how to change them via config. https://github.com/sampotts/plyr#options
For the issue of your sprite not loading, make sure you have the correct mime type set in your server config.
Good luck! 👍

than you
if i set mime type on my server, enough upload 2 files (blank.mp4 and plyr.svg) or need upload all .svg files in (sprite) folder downloaded from githup?
If I do this, how should I call them?
my new question for this, is did you really need to design controls like that? and not another way?
my problem is that my distance to you is high
in my place ping cdn.plyr.io - pingtime average is 107ms
and that makes that this makes the controls loaded slower
If there was a way up files
blank.mp4 and plyr.svg
Designed otherwise
Or, it did not require special and difficult settings to transfer it to another server
your player is best web player in the world, beautifull and blue color for player and quility selector are very great. thank you for

It's easy to use another server for those files. You need to change the iconUrl to your new URL and then the blankVideo option to your new URL.
The mime types for the files should be

File
Type

blank.mp4
video/mp4

plyr.svg
image/svg+xml

It's strange though as the files are served via Fastly's very fast CDN which is globally distributed.

It really depends on the server you're using. I'd just Google it myself and get an example.

It really depends on the server you're using. I'd just Google it myself and get an example.

thank you
i now new set below mime type on my host, is it correct?

unfortunately, it still does not work
thank you

Please post the code you're using on jsfiddle.net or codepen.io


Control mappings are not correct

Hello, I am using a PiBoy DMG which is running a vanilla RetroPie and Raspberry Pi 4. Everything works great apart from the control. The mapping is not correct. Is there any way I can fix that?

I'm having a similar issue with incorrect mappings. I have a RaspberryPi 4 running RetroPie using an Xbox360 controller.

I have my Godot project's inputs mapped to start and select buttons but on the RetroPie the select is activated by using Xbox home button and the start with the L3. All the face buttons and shoulder buttons seem to be working as intended, although I haven't tested all the buttons.
Is there a way I can change the controllers mappings?

So I decided to test every Xbox 360 button independently to see if there was something I was doing wrong. It's probably still me messing something up, but here is what I found.
Every button on the controller works except:

'Start' button activates 'R3'
'Home' button activates 'select'
'Select' activates 'L3'
'L3' activates 'start'
'R3' activates 'd-pad up arrow' (the up arrow also works normally)

The same configuration is working fine on my windows machine within the Godot editor and html5 export, and the controller is working in other RetroPie emulators.


Use context in the scanner

As was suggested in the #66  I suggest you use the context to be able to cancel the scan.

@ilackarms PTAL

lgtm. @enoodle @simon3z any thoughts?

@mfojtik @pweil- this is touching the clamav scanner, can you check if it's OK?

@ilackarms can you check why travis is failing? I have the feeling it's related to a recent change.

Waiting for travis issues to be fixed / looked at.

@simon3z @legionus build issue is caused by the fact that we install go 1.6 in the container, context was added in 1.7
need to bump the go version in the Dockerfile (I think we'll have to install go manually or add a custom yum repo to the container, since go 1.7 is not available as an upstream package yet)

@simon3z @legionus build issue is caused by the fact that we install go 1.6 in the container, context was added in 1.7

@legionus @ilackarms OK let's bump to 1.7 then.

@simon3z I left only 1.7 version of the .travis.yml, but it didn't help because you use golang-1.6 inside the travis/image-inspector-base. I'm not sure how to fix it.

@simon3z I left only 1.7 version of the .travis.yml

@legionus do you mind adding 1.8 if possible?

@legionus do you mind adding 1.8 if possible?

For this patch golang >= 1.7 needed, but  since you use centos:7 (which have golang-1.6), you need to change the distribution, because in centos there is no golang of a more actual version.
Do you agree with moving to fedora:26 ?

@legionus can you check where openshift/origin (origin-base IIRC) is taking golang 1.7 from? I think their base is centos as well.

@simon3z They are using custom repository (AFAIK).

@legionus @simon3z you can install go manually from a tarball https://golang.org/doc/install#install

@ilackarms These are very global changes. I do not feel confident in making such changes.

@ilackarms @simon3z @pweil- please review


Error with start undefined

C:>ionic start cutePuppyPics --v2
Creating Ionic app in folder C:\cutePuppyPics based on tabs project
Downloading: https://github.com/driftyco/ionic2-app-base/archive/master.zip
[=============================]  100%  0.0s
Downloading: https://github.com/driftyco/ionic2-starter-tabs/archive/master.zip
[=============================]  100%  0.0s
Installing npm packages...
Error with start undefined
Error Initializing app: There was an error with the spawned command: npminstall
There was an error with the spawned command: npminstall
Caught exception:
undefined
C:>ionic info
Your system information:
Cordova CLI: 6.3.1
Ionic CLI Version: 2.1.0
Ionic App Lib Version: 2.1.0-beta.1
OS:
Node Version: v6.7.0

same issue on windows 10

same issue

I have faced the same issue in Windows 10.
I thought Nodejs is not the latestone. I Downloaded and install the latest nodejs and then follow the below link to configure
http://ionicframework.com/docs/v2/getting-started/installation/
But, I failed to install cordova / ionic. Getting the error as attached in the screenshot. Have tried 2-3 times.
Please anyone with the solution for this. Kindly help.

Same problem on Ubuntu 16.04 LTS
Ionic version 2.1.0.
Your system information:

Cordova CLI: You have been opted out of telemetry. To change this, run: cordova telemetry on.
6.3.1

Ionic CLI Version: 2.1.0
Ionic App Lib Version: 2.1.0-beta.1
OS: Distributor ID:	Ubuntu Description:	Ubuntu 16.04.1 LTS
Node Version: v4.2.6

I reinstall the latest node, after the installation configuration, after the success of the.

Hello all! I am going to close this issue as a duplicate of #1491. Thanks!


Update utils.py with adding a return of function bulk_update_with_history

Django version above 4.0 returns the rows_updated for function bulk_update.
Description
Related Issue
Motivation and Context
keep the same feature with the Django version above 4.0
How Has This Been Tested?
with the testcase
Screenshots (if appropriate):
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[ ] I have run the pre-commit run command to format and lint.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.
[ ] I have added my name and/or github handle to AUTHORS.rst
[ ] I have added my change to CHANGES.rst
[x] All new and existing tests passed.

Great! 😄
Some minor changes that would be nice:

Thanks.
Your suggestion is pretty good.
I have merged them.


File permissions always set to "600" instead of "644" when creating images or assets through a CMS

Preliminary checklist

[X] I am using the latest stable version of DDEV (see upgrade guide)
[X] I have searched existing issues
[X] I have checked the troubleshooting guide
[X] I have run ddev debug test to include output below

Output of ddev debug test
Expand `ddev debug test` diagnostic information

======== Output file will be in /var/folders/bm/lng1_wv57ns3jwhpcf41_9380000gn/T/ddev-debug-test.txt ========

======== Existing project config ========
ddev installation alternate locations:
/usr/local/bin/ddev

These config files were loaded for project barmbek-nord: [/Users/smueller/Sites/barmbek-nord/.ddev/config.yaml]
name: barmbek-nord
type: php
php_version: 8.3
webserver_type: apache-fpm
webimage: ddev/ddev-webserver:v1.23.3
additional_hostnames: []
additional_fqdns: []
database: {mariadb 10.11}
performance_mode: none
bind_all_interfaces: true
host_webserver_port: 8081
project_tld: ddev.site
use_dns_when_possible: true
timezone: Europe/Berlin
composer_version: 2
nodejs_version: 20
default_container_timeout: 120

======== existing project customizations ========

======== installed DDEV add-ons ========
No registered add-ons were found. Add-ons installed before DDEV v1.22.0 will not be listed.
Update them with `ddev get` so they'll be shown.

======== mutagen situation ========
looking for #ddev-generated in mutagen.yml in project /Users/smueller/Sites/barmbek-nord
#ddev-generated
unmodified #ddev-generated found in .ddev/mutagen/mutagen.yml

======== Creating dummy project named tryddevproject-29952 in ../tryddevproject-29952 ========
Creating a new DDEV project config in the current directory (/Users/smueller/Sites/tryddevproject-29952)
Once completed, your configuration will be written to /Users/smueller/Sites/tryddevproject-29952/.ddev/config.yaml

Configuring a 'php' project named 'tryddevproject-29952' with docroot 'web' at '/Users/smueller/Sites/tryddevproject-29952/web'.
For full details use 'ddev describe'.
Configuration complete. You may now run 'ddev start'.

======== OS Information ========
Darwin Stefans-MBP 23.5.0 Darwin Kernel Version 23.5.0: Wed May  1 20:09:52 PDT 2024; root:xnu-10063.121.3~5/RELEASE_X86_64 x86_64
ProductName:		macOS
ProductVersion:		14.5
BuildVersion:		23F79

======== User information ========
uid=501(smueller) gid=20(staff) groups=20(staff),12(everyone),61(localaccounts),79(_appserverusr),80(admin),81(_appserveradm),98(_lpadmin),702(com.apple.sharepoint.group.2),33(_appstore),100(_lpoperator),204(_developer),250(_analyticsusers),395(com.apple.access_ftp),398(com.apple.access_screensharing),399(com.apple.access_ssh),400(com.apple.access_remote_ae),701(com.apple.sharepoint.group.1)

======== DDEV version ========
 ITEM             VALUE
 DDEV version     v1.23.3
 architecture     amd64
 cgo_enabled      0
 db               ddev/ddev-dbserver-mariadb-10.11:v1.23.3
 ddev-ssh-agent   ddev/ddev-ssh-agent:v1.23.3
 docker           26.1.4
 docker-api       1.45
 docker-compose   v2.28.1
 docker-platform  orbstack
 global-ddev-dir  /Users/smueller/.ddev
 mutagen          0.17.2
 os               darwin
 router           ddev/ddev-traefik-router:v1.23.3
 web              ddev/ddev-webserver:v1.23.3

======== proxy settings ========

 HTTP_PROXY=''
 HTTPS_PROXY=''
 http_proxy=''
 NO_PROXY=''

======== DDEV global info ========
developer-mode=false
disable-http2=false
fail-on-hook-fail=false
instrumentation-opt-in=false
instrumentation-queue-size=0
instrumentation-reporting-interval=0s
instrumentation-user=
internet-detection-timeout-ms=3000
last-started-version=v1.23.3
letsencrypt-email=
mailpit-http-port=8025
mailpit-https-port=8026
mkcert-caroot=/Users/smueller/Library/Application Support/mkcert
no-bind-mounts=false
omit-containers=[]
performance-mode=none
project-tld=ddev.site
required-docker-compose-version=v2.28.1
router=traefik
router-bind-all-interfaces=false
router-http-port=80
router-https-port=443
simple-formatting=false
table-style=default
traefik-monitor-port=10999
use-docker-compose-from-path=false
use-hardened-images=false
use-letsencrypt=false
wsl2-no-windows-hosts-mgt=false
xdebug-ide-location=

======== DOCKER provider info ========
docker client location: lrwxr-xr-x  1 root  admin  53 Jul  6 10:33 /usr/local/bin/docker -> /Applications/OrbStack.app/Contents/MacOS/xbin/docker

docker client alternate locations:
/usr/local/bin/docker
/Users/smueller/.orbstack/bin/docker

Docker provider:
docker version:
Client:
 Version:           26.1.3
 API version:       1.45
 Go version:        go1.21.10
 Git commit:        b72abbb
 Built:             Thu May 16 08:30:38 2024
 OS/Arch:           darwin/amd64
 Context:           default

Server: Docker Engine - Community
 Engine:
  Version:          26.1.4
  API version:      1.45 (minimum version 1.24)
  Go version:       go1.21.11
  Git commit:       de5c9cf
  Built:            Wed Jun  5 11:29:25 2024
  OS/Arch:          linux/amd64
  Experimental:     false
 containerd:
  Version:          v1.7.18
  GitCommit:        ae71819c4f5e67bb4d5ae76a6b735f29cc25774e
 runc:
  Version:          1.1.13
  GitCommit:        58aa9203c123022138b22cf96540c284876a7910
 docker-init:
  Version:          0.19.0
  GitCommit:        de40ad0

DOCKER_DEFAULT_PLATFORM=notset

Expected Behavior
Newly uploaded images or assets through a CMS have the file permission set to "644".
Actual Behavior
I am using DDEV as a local development environment for the CMS ProcessWire.
When uploading images (for example) the file permissions are always set to "600". This results in an 403 error for each image resource after uploading those files via FTP to the remote server and viewing the website. The same behaviour occurs for assets like stylesheets or other image fies that are created by the CMS.
The correct permissions for those files should be set to "644" like it is set in my ProcessWire config.php:
$config->chmodDir = '0755'; // permission for directories created by ProcessWire $config->chmodFile = '0644'; // permission for files created by ProcessWire
When I run the same web project in MAMP PRO instead of DDEV the file permissions are set correctly to 644. This is not a configuration problem of my CMS as it seems.
When I am disabling the Mutagen feature of DDEV the file permissions are set correctly to 644 as I would expect:
ddev mutagen reset && ddev config global --performance-mode=none && ddev config --performance-mode=none
Why is this the case?
Steps To Reproduce
No response
Anything else?
No response

Hi @StefanThumann,
This is typical Mutagen behavior:

https://github.com/mutagen-io/mutagen/issues/23#issuecomment-345277107

So if you want to preserve the permissions, don't use Mutagen.

after uploading those files via FTP to the remote server and viewing the website.
I am using DDEV as a local development environment for the CMS ProcessWire.

I don't understand, if you are using DDEV locally, why are you uploading files to a remote server from this local environment?

Thank your for your response! I did not know that this is indeed the correct behaviour of mutagen. This topic can be closed.

I don't think that @stasadev 's answer is correct, and you have something going wrong.
Here's what I see when I create a file inside the container, in Mutagen's space:
$ ddev exec 'rm -f junk && touch junk && ls -l junk'
-rw-r--r-- 1 rfay dialout 0 Jul  8 12:55 junk

However, if you have upload_dirs configured correctly for your CMS, it should have files of the type you mention bind mounted, which is not involved with mutagen, but rather with Orbstack in your case. What is your upload_dirs set to?
Using Orbstack on mac (but arm64) I created a file using Drupal, where the upload_dirs is set to the correct directory (web/sites/default/files) and created an image. Inside the container I see:
rfay@d10-web:/var/www/html/web/sites/default/files$ find . -name "PXL*jpg" -ls
421254700   2352 -rw-rw-r--   1 rfay     dialout   2404671 Jul  8 12:56 ./2024-07/PXL_20240707_141455505.jpg

I see you have the project type set to php, so there's no default upload_dirs. You definitely will want to set that so that mutagen doesn't have the job of syncing your images and such. I think it reminds you of that on every ddev start, right?
I note that your config.php doesn't look like it's right? You say:
$config->chmodDir = '0755'; // permission for directories created by ProcessWire $config->chmodFile = '0644'; // permission for files created by ProcessWire

Shouldn't it be:
$config->chmodDir = '0755';
$config->chmodFile = '0644';

Oh and

This results in an 403 error for each image resource after uploading those files via FTP to the remote server and viewing the website. The same behaviour occurs for assets like stylesheets or other image fies that are created by the CMS.

Deployment of files is your job. You need to make sure that they get set correctly when you deploy them, both ownership and permissions. The permissions in your local environment (with any setup) is not something that you can count on when you deploy it. You absolutely must build a deployment script or technique that does the right thing when deploying.
(It's also unusual and normally dangerous to deploy CMS-created files to your production site. Normally you only want to go the other direction.)

I'd love to understand what's going on here. If you can't figure it out and sort out what's going on, please make an appointment with me at https://cal.com/randyfay/30min and we'll look through it. Regardless, you need a deployment technique, but I'd sure like to know what's happening to you.

I have reproduced what @BernhardBaumrock stated and can verify that the file permissions are now set correctly (644) even when mutagen is enabled, thus to the file path under upload_dirs.

When using upload_dirs you're not using mutagen for the upload_dirs. I still would love to know what was happening to you without this.

We would sure love to have a ProcessWire Quickstart in https://ddev.readthedocs.io/en/stable/users/quickstart/ - you can just click the edit button there or do a PR any way you like.
Closing this, but would love to work with you to discover why you were having the problem in the first place, as I couldn't reproduce the basic permissions problem, and would love to know more about it.

Hey @rfay finally I wanted to add ProcessWire to the list of CMSes but I found a problem. This is what I wanted to add:
mkdir my-pw-project && cd my-pw-project
curl -LJO https://github.com/processwire/processwire/archive/master.zip
unzip ./processwire-master.zip && rm -f processwire-master.zip && mv -f ./processwire-master/{.,}* . ; rm -rf processwire-master
ddev config --webserver-type=apache-fpm --upload-dirs='site/assets/files'
ddev start
ddev launch

The important part is the --upload-dirs='site/assets/files'
The problem with that line is that this creates the folder site/assets/files before PW is installed. This then breaks the PW installation procedure, which relies on the "site" folder naming convention.
PW has the concept of site-profiles. A site profile is basically a boilerplate setup for your project and it is typically shipped as a ZIP and when extracted it lies in the document root with a folder name like this:
site-foo
site-bar
site-baz

During installation PW grabs one of those folders based on the user input and then renames that folder to just "site"
So if a site folder exists, this tells the PW installer that we are at a later stage of the installation process. So with the DDEV setting for upload_dirs set to site/assets/files and having an existing "site" folder right from the beginning I can't install PW:

I'm in regular contact with the maintainer of ProcessWire so I'm quite sure we could add something to the installer to make it work, but I thought I'd ask you first what you think would be the best solution for this problem?
Thx in advance!

@BernhardBaumrock, I think this needs to be handled on the ProcessWire side, because if the directory doesn't exist, Mutagen won't run correctly:
https://github.com/ddev/ddev/blob/23503e2c3d76641a5cb74df6b8cdb52cb6bc6bd9/pkg/ddevapp/upload_dirs.go#L175-L189


Need to document that WSO2 IS does not support HMACSHA256 for signature algorithms.

Describe the improvement
WSO2 IS does not support signing with HMAC SHA (SHA-256, SHA-384, SHA-512) and signing with ECDSA (SHA-256, SHA-384, SHA-512) OOTB. Idtokens and JWTtokens do not support these signatures algorithms.
This blog [4] says that IS supports HMAC algorithm for idtoken signature. This also needs to be corrected. If someone wants to support HMAC or ECDSA , then need to write some extensions to support it.
We need to have a doc similar to this [6].
[1][https://github.com/wso2-extensions/identity-inbound-auth-oauth/blob/v6.4.122/components/org.wso2.carbon.identity.oauth/src/main/java/org/wso2/carbon/identity/oauth2/token/JWTTokenIssuer.java#L390]
[2]https://github.com/wso2-extensions/identity-inbound-auth-oauth/blob/v6.4.122/components/org.wso2.carbon.identity.oauth/src/main/java/org/wso2/carbon/identity/oauth2/token/JWTTokenIssuer.java#L399
[3][https://github.com/wso2-extensions/identity-inbound-auth-oauth/blob/v6.4.122/components/org.wso2.carbon.identity.oauth/src/main/java/org/wso2/carbon/identity/oauth2/util/OAuth2Util.java#L2356]
[4]https://wso2.com/blogs/thesource/2019/11/quick-intros-to-json-and-jwt-exclusively-for-cat-lovers/
[5]https://github.com/lahirus/oauth-hmac-extension/blob/master/src/main/java/com/sample/lahiru/wso2/hmac/oauth/OAuthHMACTokenIssuer.java
[6]https://apim.docs.wso2.com/en/latest/learn/api-security/oauth2/securing-oauth-token-with-hmac-validation/#securing-oauth-token-with-hmac-validation

This issue is being closed due to extended inactivity. Please feel free to reopen it if further attention is needed. Thank you for helping us keep the issue list relevant and focused!


I don't know how to write debug asserts

I had a bad debug assert in Http2Stream. This was causing tests to constantly fail when running in Debug with Kestrel.

I've run Http2 InMemory tests 30 times in a loop and I haven't seen a failure now.


Dart/Flutter Language inheritance of optional params and static class fields issues.

(I cross posted this to dart-lang/sdk)

Shouldn't the subclass constructor, automatically know the optional fields of it's parent?
Shouldn't an instance of a subclass have access to static of it's parent?

If I create a subclass of a Flutter Widget, I would need to list all the optional parameters in the subclass constructor? There could be tens of these, including actions (e.g. onTap). This means if I change a widget to a child widget, I have to initialize the complete optionals as instance variables. I know this can be fixed with dart:mirrors but its not supported with Flutter. Is there some other way of coding this?
Below is a very simple example where width is not accessible as an optional parameter by child constructor.
Also, static height is not accessible by the child class constructor.
// Parent widget
class PWidget {
  String color = 'red';
  int width;
  static int height = 5;
  PWidget(this.color, {this.width});
}

// Child Widget
class CWidget extends PWidget {
  @override
  String color = 'green';
  CWidget(String color) : color = color, super(color);
}

main() {
  // Width is only define in parent so cannot be accessed
  CWidget c = CWidget('blue', width: 10);
  // Static height cannot be accessed.
  print(CWidget.height);
}

Closing as duplicate of https://github.com/dart-lang/language/issues/367, https://github.com/dart-lang/language/issues/368


done #184

Codecov Report

Merging #185 (d862540) into develop (95e509d) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff            @@
##           develop     #185   +/-   ##
========================================
  Coverage    97.67%   97.67%
========================================
  Files           61       61
  Lines         2494     2498    +4
========================================
+ Hits          2436     2440    +4
  Misses          58       58

Impacted Files
Coverage Δ

...ses/models/classification/efficientnet/__init__.py
99.29% <100.00%> (+0.02%)
:arrow_up:

Continue to review full report at Codecov.

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

close #184


https://cynefin.io/wiki/Constraint_mapping

An exercise(workshop) done to define and understand Constraing Mapping on July 21, 2022 - https://miro.com/app/board/uXjVOlGP8iE=/
Some definitions from Alicia Juarrero -
CONSTRAINTS TOUT COURT: Are not “economic” entities (Eldredge) – that is, they do not directly transfer energy or participate in efficient cause-like forceful impact. Constraints bring about effects by raising or lowering barriers to energy flow and thereby making some things, events, processes, etc. more or less likely. Constraints operate in a probabilistic space. They establish prior probability distribution.
CONTEXT-INDEPENDENT CONSTRAINTS... Take conditions away from white noise (thermal equilibrium), Frame the coordinates/boundaries of state space and establish minimum inhomogeneities. They can promote density and clumping on the one hand, and dissipation on the other; but alone they do not form complex structures.
GOVERNING CONSTRAINTS... Are CICs that stabilize extant complexity by holding fast the interlocking constraints that give it its identity and keeping it from thermalizing. Because they are the outcome of context-dependent constraints (see below), governing constraints reflect and are responsive to the context from which they were generated. Because governing constraints operate whole to part (higher to lower level), they are distributed constraints.
GOVERNING CONSTRAINTS bring about effects by regulating and modulating (altering the likelihood of) lower-level processes and entities such that the overarching governing constraints remain steady.
Ex: By altering the timing or expression of lower-level processes – ex: homeostasis, regulatory genes, neural network architecture (natural and artificial)
Governing constraints are restrictive or limiting only insofar as they keep the system “true to type” – that is, within its range of viability; they do not allow it to spin out of control. THIS IS A GOOD THING because the interlocking constraints that hold the structure together must persist. If they were to thermalize the complex dynamics/structure would dissipate.
CONTEXT-DEPENDENT CONSTRAINTS... Take elements away from independence from one other. Make one event, or element, conditional on – or interdependent with – another, thereby creates coherent dynamics/structure that persists despite being in thermal disequilibrium. Mutual interdependencies of coherent dynamics must be estimated via conditional probabilities.
A.     Enabling context-dependent constraints. By linking and interweaving processes they thereby enable the formation of mutual interdependencies such as entrainment, synchronization, cycles (whose interlocking constraints subsequently serve as “governing constraints” sensu C above only).
EX: Catalysts, feedback loops, recursion and iteration
B.     Can be temporal (recipes, timing) and spatial (symmetry)


Mark arm9 as Decompressed, and Change Shiny Value Offset Output to Hex

I'm not sure if I did this right, but hopefully this should only include:

Explicitly marking the arm9 as decompressed
Outputting the Shiny Value offset in hex

Thanks for these changes @digikitty21 ! Merged to main.


Spellcheck

Any plans to implement spellcheck?

It looks like there isn't a straightforward way to implement spell checking in Electron apps right now. There's electron-spellchecker which unfortunately has lots of issues (broken language auto-detection, performance problems, and no clear way to turn it off) and seems to be unmaintained. Unfortunately, I couldn't find any better alternatives.
It probably makes sense to wait with this feature and keep an eye on https://github.com/electron/electron/issues/3211.

Any news?

I've had another look at integrating electron-spellchecker into Mini Diary. There have been improvements, but I'm still not happy with its performance and including it would increase the app size by 25 MB (!). The package also doesn't seem to be very actively maintained. Therefore, I'd rather not merge this into master.
If this feature is very important to someone, you could build the app yourself from the spell-checking branch branch.
And if anyone knows a better solution, I'd be happy to hear it! I'm also still hoping for built-in support for spell checking in Electron :)

Good news: https://github.com/electron/electron/releases/tag/v8.0.0-beta.2
I'll look into this once the app is updated for Electron 8.

Native spellchecking will be available in the next release :)

I see that you added it in preferences....but how does one actually use Spell Check?  Did it ever actually make it to the release?


How can I set indent = 4

The default indent is 2 , How can I set indent = 4 ?

I don't know, this isn't a support forum for clang-format -- this is just a mirror of a mirror


callback for auth.authenticate returns a user, not a group.

Describe the bug
When attempting to publish a package, auth.authenticate() is called in order to confirm that the user belongs to a group with permissions to publish. This function calls back with a user object but the code found in /src/api/endpoint/api/user.ts expects a group.
To Reproduce
There might be other ways to reproduce but these are the steps which i have reliably used:

in the configuration, create a scoped package @myscope with publishing permissions tied to a custom group mygroup
have an auth plugin successfully authenticate and return the group mygroup. I used the verdaccio-activedirectory plugin but any plugin supporting groups should work.
log in to npm and attempt to publish a scoped package @myscope/testpackage. It will return a 403 error.

Expected behavior
Users who authenticate against a group should be permitted to have the permissions granted by it.
Configuration File
I'm only illustrating how I have packages
packages:
  '@myscope/*':
    access: $authenticated
    publish: mygroup
    unpublish: mygroup

Additional context
As stated above, the root cause of this issue is that the PUT request to publish a package is incorrectly handling the callback from auth.authenticate() (found here: https://github.com/verdaccio/verdaccio/blob/66f4197236d9d71af149314aae15102b336f45e1/src/api/endpoint/api/user.ts#L26).

In order to isolate the issue, i've written a simplistic auth plugin to highlight the defect:
'use strict';

function Plugin(config, stuff) {
  var self = Object.create(Plugin.prototype);
  self._config = config;
  self._logger = stuff.logger;
  return self;
}

Plugin.prototype.authenticate = function(user, password, callback) {
  var groups = [user, ...(this._config.groups || [])]
  this._logger.info('user is a member of the following groups: '+ groups.join(','));
  callback(null, groups);
};

module.exports = Plugin;

** Replication Steps**

Create a plugin using the above code. I named it 'verdaccio-testplugin'.
in config.yaml add the following block:

auth:
  testplugin:
    groups:
      - 'group1'
      - 'group2'
      - 'group3'

packages:
  '@testscope/*':
    access: $all
    publish: group1
    unpublish: group2

using the inspector, add a breakpoint in /api/endpoint/api/user.js on or around line 47. The code should look something like:  const restoredRemoteUser = (0, _authUtils.createRemoteUser)(name, groups);
log into npm and observe how createRemoteUser is getting called with the username as the first argument and the user object as the second argument.
add a second breakpoint in /lib/auth.js on the line where req.remote_user is set. For me it was on line 428: req.remote_user = credentials;
attempt to publish a package to the scope @testscope. Observe how the entire user object was added to the groups array.

A little more context on the root cause of this issue--
I’ve been able to reproduce the same bug in other plugins but I’m not really sure about how I can write a test to demonstrate it in an unobtrusive fashion.
In the tests here, you can see that the callback for authenticate() returns an object which represents a user
https://github.com/verdaccio/verdaccio/blob/master/src/api/endpoint/api/user.ts#L26
Digging into the code which this covers,  the authenticate() method takes a callback function but doesn’t have an interface which typescript enforces:
https://github.com/verdaccio/verdaccio/blob/master/src/lib/auth.ts#L96
The issue which I have identified comes up when a user is initially authenticating. The authentication attempt is successful and a RemoteUser object is created with the returned User object which is incorrectly referred to as a group.  The resulting bug is that a user object is added to the group list in the users token. This creates a situation where a properly authenticated user is no longer able to perform actions which are only permitted to individual groups.
https://github.com/verdaccio/verdaccio/blob/master/src/api/endpoint/api/user.ts#L26


Download task support

Fixes #10
Just using data task internally. Easy enough.

One comment. Good to merge though. :green_apple:

They're different 😉
Sam
On Sun, Jul 19, 2015 at 10:58 PM, Mark Adams<EMAIL_ADDRESS>wrote:

One comment. Good to merge though. :green_apple:
Reply to this email directly or view it on GitHub:
https://github.com/venmo/DVR/pull/13#issuecomment-122737146

@soffes ayy lmao


MeshFragment Data9 field

The test frag for MeshFragment has an empty Data9.  This field:
https://github.com/cjab/eq_wld/blob/13ae91d685501ffe7a6b6b9ead63d1113dd471a2/src/parser/fragments/mesh.rs#L189
global_chr.wld has meshes with this data in it, and it fails to parse.
The documentation is confusing here:
https://github.com/EQEmu/eqemu-docs-v2/blob/main/docs/server/zones/customizing-zones/wld-file-reference.md#data9type--word
It seems to state that the last element in this entry determines whether previous elements exist.  But how could that work?

https://github.com/LanternEQ/LanternExtractor/blob/master/LanternExtractor/EQ/Wld/Fragments/Mesh.cs#L229
This entry is ignored in this parser, but it seems to assume each entry is 12 bytes.

Just a note that this is addressed in
https://github.com/cjab/libeq/pull/13
But, working on some issues with AlternateMesh as well.

Was fixed in the Mesh update


PHOENIX-5909 - Table and index-level metrics for indexing coprocs

This is a copy of #786 which is already approved, ported over to the master branch. Tests passed, aside from one which crashed and which passed for me locally. Merging.


Add more graphical items and introduce walls for coach layouts

At VR Snabbtåg (Sweden) we need to be able to build seatmaps that contain elements not available today in the catalogue of graphical items. In order to overcome this, we propose a few new icons.
The reason to add more window sizes is to be able to accomplish something similar to this. In here, we use two medium windows which "overflow" in both sides allowing a narrower "wall" without window with the big window placed in the middle with the table.

We also think that it would be beneficial to indicate where coach entrances are located with a new sign. This can be specific to the entrances or simply show an arrow. In order to accomplish that we would need direction to be added on internals as requested on #709.
Graphical icons

Icon
Description
Icon code
Orientation used
Mounting used

Small window, width covers one space
173 (135)
—
—

Medium window, width covers two spaces
174
—
—

Big window, width covers three spaces
175
—
—

Door with left opening (traditional)
176
Left
—

Door with left opening (traditional)
176
Top
—

Door with left opening (traditional)
176
Right
—

Door with left opening (traditional)
176
Bottom
—

Door with right opening (traditional)
177
Left
—

Door with right opening (traditional)
177
Top
—

Door with right opening (traditional)
177
Right
—

Door with right opening (traditional)
177
Bottom
—

Door (sliding)
178
Top, bottom
—

Door (sliding)
178
Left, right
—

Entrance
179
Left
—

Entrance
179
Top
—

Entrance
179
Right
—

Entrance
179
Bottom
—

Resolution
The way the seatmap is being implemented for the Swedish market takes into consideration the possibility that an icon can occupy more than one cell. For example a seat can be 40 cells wide allowing better placement of the objects due to, for example, tables not having the same width as seats. Therefore, it might be needed to introduce the concept of width and height for every place, sign and internal.
Walls
As an additional improvement I feel like walls could simply be a set of vectors. This would allow more complex wall structures within each coach. By having a list of pairs of coordinates one can accomplish diagonal walls and any desired structure without the addition of new icons.

Icons will be added to the code list.

Hello @jspetrak, I didn't have time yet to fix the icon table after our meeting last Friday but it's alright for us if we include all of them. We would still be missing the "small stairs" or maybe we could call it "steps".


401 Client Error: Unauthorized for url: https://www.notion.so/api/v3/loadUserContent

I am getting this error when I am trying to instantiate a NotionClient with a token gotten from a browser cookie.
from notion.client import NotionClient
client = NotionClient(token)
I am running this from a Heroku app as explained in this blog post
My guess is that Notion is not longer allowing API usage outside their apps.
Anyone having the same issues?

Agreed with @kevinjalbert. The token's expiration date is set to some time in 2051 IIRC. From what I've found, the only time the token refreshes is if you log out and log back in, or log in from a new source.
As long as you haven't signed out or logged in somewhere else, I'd be willing to bet that the same token would work indefinitely.

How does one fetch a fresh token? I am also running into this error when following the tutorial on Mac OSX, notion logged in.

@ndrewwang log out and log back into the browser, then copy the cookie.

I was using this library fine for a few weeks until a couple of days ago (my token seemed to work fine across logout/logons), but now I'm getting this 401 error every time. I've tried logging in again a couple of times, both with Google auth and password, and copying the new token_v2 cookie, but now get "401 Client Error: Unauthorized for url: https://www.notion.so/api/v3/loadUserContent" every time I instantiate NotionClient.
@jamalex do you know if anything's changed with the API?

Actually, what seems to have changed is that tokens are now expired on logging out of notion. I am using tokens from two different users in my app, and when I switched between them (logout 1, login 2) to get the second token, it was expiring the first! I got the second token using Safari instead of Chrome and that fixed it.

Thanks, solved!
Got to be careful when juggling multiple accounts.
Copied the token when viewing the Notion cookie from browser settings and replaced <token_v2> and it works!

I am getting this error when deployed on Google App Engine. The token has my localhost url and that is the problem right?
How would you fix this? Is there a login resource in the API? I am working on integrating the company erp to our Notion workspace.
Thanks!!

@fedeserbin the only thing you need is the token_v2 value. The token you've provided likely has been invalidated, which happens when you log out and back in again.

I got the same error today. No code changed.

Thanks for the solution (logging in & out) it works!!
@jamalex Maybe add it to the readme and close this issue?

I tried to connect with ChatGPT along with the notable plugin  / notebook where I pasted the Notion API-Key and got the same problem.


Endcap on VictoryLine?

Is it possible to put a circular end cap onto a <VictoryLine /> rendering? Something like:

Solved by overlaying a VictoryScatter on top of the line

Hi, @joncursi could you please elaborate on how you achieved the end cap? Would really be interested in implementing this feature, but not sure what you meant by overlaying VictoryScatter


Support disk storage

Add storage abstraction in order to support different log storages (in-memory, disk, etc)

done #19


IPv6 works, but IPv4 fails

Details
What steps did you take and what happened:
My setup had been functioning for many months, but a few days ago, the pods that relied on pod-gateway lost internet connectivity. Deleting and recreating pod-gateway and its dependent pods fixed the issue, but now it has recurred and recreating no longer resolves it.
IPv6 appears to be functioning correctly in the openvpn container (tested using curl/ping), but IPv4 requests are timing out. However, name resolution is still functioning properly and returns both IPv4 and IPv6 addresses correctly.
I encountered the issue while running pod-gateway v1.8.0. I upgraded to v1.8.1 today, but unfortunately, the issue remains unresolved.
What did you expect to happen:
IPv4 should be functioning properly, as it did before.
Anything else you would like to add:
Simple way to test it:
kubectl exec deployment/pod-gateway -c openvpn -- ping -4 -I tun0 www.google.de ❌ fails
kubectl exec deployment/pod-gateway -c openvpn -- ping -6 -I tun0 www.google.de ✔ works
It is evident that the VPN connection is established, and IPv6 functionality is intact.
Additional Information:
I am using Perfect Privacy as my VPN provider, and there have been no changes to the OpenVPN configuration in months.

I've tried again now to fix this by deleting pod-gateway and the dependent pods - and this time it worked again. I have no explanation since I did the same two weeks ago when it repeatedly failed to fix this problem, but since it's fixed now, I'll close this ticket.


 After discussing with @Bisaloo, search + map will be part of one micro-site.
You can view a very simple mock up, with interactivity on Penpot: https://design.penpot.app/#/view/f5fe9278-89db-81e9-8004-f9e8503e465d?page-id=f5fe9278-89db-81e9-8004-f9e8503e465e&section=interactions&index=0&share-id=1ab1fa36-da8e-809d-8004-f9f5c9a272e3
The grey square boxes underneath the "search bar" are placeholders for the WHO and data.org logo's. Here is also a recording, to make sure you see all the functionality I want you to see and provide your thoughts on:
https://github.com/user-attachments/assets/1ae69a89-cd73-427f-bf85-92c9f219ab94
What are your initial thoughts about the structure? I am sharing for early feedback and will also be able to demonstrate for our WHO meeting, if desired.
PS: Cross posted to https://github.com/epiverse-connect/epiverse-map/issues/6


Nostale

Why nostale is unsuported?
I have always been able to play nostale since always even since 4.0, I tried again today I am level 85😅 it is even gold on protondb because of a bug in proton6 but it works!

"Unconfirmed" but why the hell is it described that way?
It works 100% fine although newer versions of Wine have reintroduced an old bug, older versions work fine (same with Proton).

this is surely an error but even the proton 6 bug has nothing to do with an anti cheat anyone

Yup.
Also why they assigned "nProtect GameGuard" to it.. I don't think there is any official post confirming this, no source on AWACY either.

I even think that nostale does not have anti cheat

And bam, it's supported now and the issue was not Anti-Cheat but some really wonky anti-bug protection for pointers:
https://github.com/PSzczepanski1996/proton-ge-nostale


@alloy => Add spacecommander and run it

Happy to go in and revert a file or two also.

Alright, I've reverted the Analytics+DSL file, but for the most of it - I'm pretty happy.

Alright, this passes locally, and I'm leaving the CocoaPods faffing to @alloy


Remove: chrisant996.Clink version <IP_ADDRESS>9c5

## .\Tools\YamlCreate.ps1 -SkipPRCheck -Mode 5 -PackageIdentifier chrisant996.Clink -PackageVersion <IP_ADDRESS>9c5

[X] Have you signed the Contributor License Agreement?
[ ] Have you checked that there aren't other open pull requests for the same manifest update/change?

[ ] Have you tested your manifest locally with winget install --manifest <path>?
[ ] Does your manifest conform to the 1.0 schema?

Microsoft Reviewers: Open in CodeFlow

/azp run


string xsd convert to json schema

If this library can support convert 'xsd string' to json schema, not 'xsd file'.

If this library have api document, not only the 'example/example.js'.

Resolved.  This is now the base functionality in version 0.3.0.  The library now works on strings so it can be more easily utilized in custom applications.


cannot using columnAutoSizing with columnHeaderRenderer property

i'am using fin-hypergrid version 3.3.2.
when i use columnHeaderRenderer property to custom header for my grid, all columns not auto resize to fit.
but when i remove columnHeaderRenderer property it working fine!
How i can use columnHeaderRenderer with columnAutoSizing same time?
thanks for any answer!

when you save preferredWidth into column properties? i can found condition you check to save it.


Strange bug, issue with rendering dashboard after navigating to past attemps page and return to dashboard by pressing backward button.

Happens only in amplify.
Enter through here:

then press backward in the browser:

Navigating and returning from other pages seems fine.

Wtf.... ok i will remove/redo the button

Same for this: (Click into any past attempt)

Press back:

Bug no longer exists with latest builds, can try here


Picture in picture mode

Everything is fine . I exactly need those options. please kindly also add picture in picture mode if possible or else Please let me know how to add pip mode along with this in my code. Thanks...

we are working on your request and update you soon

Is it ready? Looking forward


No behavior logs when process_results is disabled

If process_results is set to Off in cuckoo.conf, there are no .bson behavior logs generated and therefore the reports are empty.

Now seems to work (i mean it creates .bson files)

It was not directly related to process_results - but as @jekil mentioned it is not happening anymore anyways. I assume it was a buggy commit which has since been reworked / fixed.
Closing.


Dropdown test

Add a test for "No propagating escape event in an open dropdown."
Related to #35973
Not sure if I need to add a test or modify the test below. IMO, the second solution could do the job too.

Thank you a lot @louismaximepiton 😻


saved_model.load gives KeyError in 2.0.0 Same model loads fine in 1.13

Please make sure that this is a bug. As per our GitHub Policy, we only address code/doc bugs, performance issues, feature requests and build/installation issues on GitHub. tag:bug_template
System information

OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Windows 10
TensorFlow installed from (source or binary):binary
TensorFlow version (use command below): 2.0.0
Python version: 3.6.5

Describe the current behavior
I am trying to load a model saved in 1.x in 2.0.0. Here is the model: https://storage.googleapis.com/marco-168219-model/savedmodel.zip
This is the error I am getting: KeyError: <tf.Tensor 'map/while/Switch_1:0' shape=() dtype=float32>
The same model loads fine in 1.13
Describe the expected behavior
Code to reproduce the issue
Provide a reproducible test case that is the bare minimum necessary to generate the problem.
model = tf.saved_model.load(model_dir)
Other info / logs
Include any logs or source code that would be helpful to diagnose the problem. If including tracebacks, please include the full traceback. Large logs and files should be attached.

Could you try a more recent 2.0 nightly? This SavedModel is loading for me in 2.0.0-dev20190416. It was likely fixed by https://github.com/tensorflow/tensorflow/commit/36611db67d01b77a59ecf120d9cfedede4dc29e8#diff-1c53130b8026996623d861b2d18d60ca

Yes, it works with today's nightly. Thank you!


[ZEPPELIN-3522] String "defaultValue" instead of boolean in some "interpreter-settings.json" files

What is this PR for?
The interpreter-settings.json file for each interpreter has details of each configurable parameter for that interpreter. Each parameter also has a defaultValue setting. For boolean-typed parameters the defaultValue must be set to true or false.
But in some interpreter-settings.json files, the defaultValue has been set to the string values "true" or "false" (the quote marks are included in the value provided).
What type of PR is it?
[Bug Fix]
Todos

[ ] - Task

What is the Jira issue?
https://issues.apache.org/jira/browse/ZEPPELIN-3522
How should this be tested?
CI pass
Screenshots (if appropriate)
Questions:

Does the licenses files need update? No
Is there breaking changes for older versions? No
Does this needs documentation? No

I had to recycle my fork, and had forgotten to link up Travis again.
It's been done now. The errors appear unrelated to the changes in this PR.
Thanks.

@sanjaydasgupta  Travis is broken recently, need to wait for travis back to verify this PR


Release "2.0.3" is not unique

release-notes/2.0/releases.json contains 2 release entries named "2.0.3".
One is here, dated 2017-12-04, and includes the 2.1.2 SDK.
The other is here, dated 2017-11-14, and includes the 2.0.3 SDK.
It seems like having the same name would prevent selecting one or the other from the install script.
My guess is that the first one is/was intended to be labeled 2.1.2, to match the SDK.

On the latest version of the file, I only see one entry:
https://github.com/dotnet/core/blob/main/release-notes/2.0/releases.json#L1446
Maybe it has been fixed since then since it's a somewhat old issue?

Looks like this was fixed by #7764.


WebKit overlay's excessive memory consumption

The WebKit overlay has excessive memory consumption. It seems to pinpoint to the snapshot functionality and even grows enormously when only one snapshot is being made. May also relate to the threading in there.

Fixed now. Issue was that overlay SDL_Surface was not freed and it kept hundreds of MBs stranded in RAM.


pthread_create

I have installed pthread on Ubuntu, but still have the following problem.How should I solve it?
/usr/bin/ld: CMakeFiles/run_net.dir/tests/run_net.cpp.o: undefined reference to symbol 'pthread_create@@GLIBC_2.2.5'
//lib/x86_64-linux-gnu/libpthread.so.0: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
CMakeFiles/run_net.dir/build.make:95: recipe for target 'run_net' failed
make[2]: *** [run_net] Error 1
CMakeFiles/Makefile2:141: recipe for target 'CMakeFiles/run_net.dir/all' failed
make[1]: *** [CMakeFiles/run_net.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 97%] Built target run_net_c
[ 98%] Built target benchmark
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2

same problem


Typo in component-anchor.js?

Do you want to request a feature or report a bug?
Report a bug (potential?)

What is the current behavior?
In AR.js/aframe/src/component-anchor.js, line 118 reads:
https://github.com/AR-js-org/AR.js/blob/aaad9847f67a4738b00724c38d9f501d78e0a8af/aframe/src/component-anchor.js#L118
The use of _this.data.minCondidence looks like a typo to me, and I can't find any reference to a minCondidence member elsewhere.
If the current behavior is a bug, please provide the steps to reproduce.
N/A

Please mention other relevant information such as the browser version, Operating System and Device Name
N/A
What is the expected behavior?
I guess I'd expect line 188 instead to read:
markerParameters.minConfidence = _this.data.minConfidence;
If this is a feature request, what is motivation or use case for changing the behavior?

Yes, @JohnGrime  you are right we have fixed in ES6 branch https://github.com/AR-js-org/AR.js/blob/d998a442303b042107c26de8639df75900cef350/aframe/src/component-anchor.js#L123 see PR  https://github.com/AR-js-org/AR.js/pull/116 but not in master nor in dev yet. I will see if make a fix or waiting to merge the ES6 into dev ( we are very close!).
Anyway tahnks for reporting the bug!

The fix for this is merged on the dev branch and soon i hope to merge into the master. Closing this issue, and thanks again @JohnGrime  for reporting.


Fix Date Pre-Populations for Edit Event Forms

Found a fix, but its hackish.
The props.event in event-edit-page has the date along with extra characters that represent time. I tried just cutting off the rest of the time and the prefilling the date form worked.
props.event.date = props.event.date.substring(0,10). Not sure if we want to do it this way or find a better solution.


Create single global lock, program wide, for the phase one of lock stabilisation.

Purpose
With this PR, we remove per global variable locks, and use a program wide lock instance.
Fixes #20684
Approach

Describe how you are implementing the solutions along with the design details.

Samples

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

Remarks

List any other known issues, related PRs, TODO items, or any other notes related to the PR.

Check List

[ ] Read the Contributing Guide
[ ] Updated Change Log
[ ] Checked Tooling Support (#)
[ ] Added necessary tests

[ ] Unit Tests
[ ] Spec Conformance Tests
[ ] Integration Tests
[ ] Ballerina By Example Tests

[ ] Increased Test Coverage
[ ] Added necessary documentation

[ ] API documentation
[ ] Module documentation in Module.md files
[ ] Ballerina By Examples

@dulvinw So with this, if a resource has a lock then that resource effectively works sequentially (not only single resource, if there are multiple resources with unrelated locks, even those cannot be accessed parallely), being an optimised language for network development, I feel this kind of betrays that aspect, hope there is some solution for that as well?

@lankavitharana Yes, this is suppose to be the initial implementation. Then we will follow through to infer the locks by analyzing the lock-blocks

Codecov Report

Merging #20809 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master   #20809   +/-   ##
=======================================
  Coverage   14.59%   14.59%
=======================================
  Files          51       51
  Lines        1398     1398
  Branches      214      214
=======================================
  Hits          204      204
  Misses       1178     1178
  Partials       16       16

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 25c49d2...10af188. Read the comment docs.


Kafka cluster crashes provider-aws with nil pointer dereference when missing a non-required field

What happened?

Defining a Kafka cluster resource without a configurationInfo: section causes the provider-aws controller to panic with a nil pointer dereference, and strands the Kafka cluster deployment in the CannotInitializeManagedResource state. The configurationInfo block is also not marked as required on the CRD. MSK will use a default configuration for broker nodes if one is not defined per the aws docs and the terraform msk cluster resource from the aws terraform provider.
The code throwing the panic is here: kafka/cluster/setup.go#L131-134
Panic Log
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x3b2e12a]

goroutine 4315 [running]:
github.com/crossplane-contrib/provider-aws/pkg/controller/kafka/cluster.preCreate({0xc000910b40, 0xc000eb29f8}, 0xc000910b40, 0xc002573f20)
	/home/runner/work/provider-aws/provider-aws/pkg/controller/kafka/cluster/setup.go:132 +0x1ca
github.com/crossplane-contrib/provider-aws/pkg/controller/kafka/cluster.(*external).Create(0xc0005e4930, {0x6436db0, 0xc001819980}, {0x6514f60, 0xc000910b40})
	/home/runner/work/provider-aws/provider-aws/pkg/controller/kafka/cluster/zz_controller.go:109 +0x1dd
github.com/crossplane/crossplane-runtime/pkg/reconciler/managed.(*Reconciler).Reconcile(0xc0006960b0, {0x6436de8, 0xc0026b3ef0}, {{{0x0, 0x57c9740}, {0xc001d76348, 0x30}}})
	/home/runner/work/provider-aws/provider-aws/vendor/github.com/crossplane/crossplane-runtime/pkg/reconciler/managed/reconciler.go:886 +0x5fd7
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Reconcile(0xc000696160, {0x6436de8, 0xc0026b3e30}, {{{0x0, 0x57c9740}, {0xc001d76348, 0x413a94}}})
	/home/runner/work/provider-aws/provider-aws/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:114 +0x26f
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler(0xc000696160, {0x6436d40, 0xc0005e17c0}, {0x5316980, 0xc00298e9a0})
	/home/runner/work/provider-aws/provider-aws/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:311 +0x33e
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem(0xc000696160, {0x6436d40, 0xc0005e17c0})
	/home/runner/work/provider-aws/provider-aws/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:266 +0x205
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2.2()
	/home/runner/work/provider-aws/provider-aws/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:227 +0x85
created by sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func2
	/home/runner/work/provider-aws/provider-aws/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:223 +0x357

How can we reproduce it?

Example manifest of a minimal deployment of a Kafka cluster that results in a panic for the controller added below.
Example Manifest:
apiVersion: kafka.aws.crossplane.io/v1alpha1
kind: Cluster
metadata:
  name: <cluster-name>
spec:
  providerConfigRef:
    name: provider-aws
  deletionPolicy: Delete
  forProvider:
    clientAuthentication:
      unauthenticated:
        enabled: true
    kafkaVersion: 3.2.0
    numberOfBrokerNodes: 2
    region: us-east-1
    brokerNodeGroupInfo:
      storageInfo:
        ebsStorageInfo:
          volumeSize: 128
      instanceType: "kafka.m5.large"
      clientSubnets:
        - <subnet-1>
        - <subnet-2>
      securityGroups:
        - <security-group-1>
    # configurationInfo:
      # arn: <configuration-arn>
      # revision: 1

What environment did it happen in?
Crossplane version: v1.5.0
Provider-Aws Version: v0.28.0
Kubernetes Version: 1.21
Platform: EKS

We have an open PR for this https://github.com/crossplane-contrib/provider-aws/pull/1320


Reopen #9835, Closes #9832 - Hollow button disabled consistency fix

Reopen #9835, Closes #9832
cc / @kball @canterberrie
Never mind kev .... no issue sir!

@canterberrie .... done kindly check
Also added docs for the same!

Thank you! Merged.


[TextInput] when use secureTextEntry=true in TextInput, can't modify textInput's text color

[x] Review the documentation: https://facebook.github.io/react-native
[x] Search for existing issues: https://github.com/facebook/react-native/issues
[x] Use the latest React Native release: https://github.com/facebook/react-native/releases

Environment
react-native info
React Native Environment Info:
    System:
      OS: macOS 10.14.1
      CPU: (4) x64 Intel(R) Core(TM) i5-7400 CPU @ 3.00GHz
      Memory: 2.15 GB / 16.00 GB
      Shell: 5.3 - /bin/zsh
    Binaries:
      Node: 8.12.0 - /usr/local/bin/node
      Yarn: 1.10.1 - /usr/local/bin/yarn
      npm: 6.4.1 - /usr/local/bin/npm
      Watchman: 4.9.0 - /usr/local/bin/watchman
    SDKs:
      iOS SDK:
        Platforms: iOS 12.1, macOS 10.14, tvOS 12.1, watchOS 5.1
      Android SDK:
        API Levels: 26, 27, 28
        Build Tools: 26.0.3, 27.0.3, 28.0.3
        System Images: android-26 | Google APIs Intel x86 Atom_64, android-28 | Google APIs Intel x86 Atom
    IDEs:
      Android Studio: 3.2 AI-181.55<IP_ADDRESS>56338
      Xcode: 10.1/10B61 - /usr/bin/xcodebuild
    npmPackages:
      react: 16.6.0-alpha.8af6728 => 16.6.0-alpha.8af6728
      react-native: 0.57.4 => 0.57.4
    npmGlobalPackages:
      react-native-cli: 2.0.1

package.json
{
  "name": "TemReactNative",
  "version": "0.0.1",
  "private": true,
  "scripts": {
    "start": "node node_modules/react-native/local-cli/cli.js start",
    "test": "jest"
  },
  "dependencies": {
    "react": "16.6.0-alpha.8af6728",
    "react-native": "0.57.4"
  },
  "devDependencies": {
    "babel-jest": "23.6.0",
    "jest": "23.6.0",
    "metro-react-native-babel-preset": "0.49.0",
    "react-test-renderer": "16.6.0-alpha.8af6728"
  },
  "jest": {
    "preset": "react-native"
  }
}

Description
when I use secureTextEntry=true, I can't change the text color dynamically,

when I use secureTextEntry=false, it's my expect ,but I can't understand why secureTextEntry=true is wrong

Reproducible Demo
the code is
react-native init AwesomeProject
cd AwesomeProject
react-native run-ios

import React, { Component } from 'react'
import { TextInput, View } from 'react-native'

class TestTextInputSecureTextEntry extends Component {
  constructor(props) {
    super(props)
    this.state = {
      value: ''
    }
  }
  render() {
    const { value } = this.state
    const color = value === '123456' ? 'green' : value==='1234' ? 'red' : 'black'
    console.log('this.state.value:',this.state.value)
    console.log('color:',color)
    return (
      <View style={{ backgroundColor: '#ccf', justifyContent: 'center', alignItems: 'center',flex:1 }}>
        <TextInput
          // selectionColor={color}
          style={{ color: color, borderBottomWidth: 1, borderColor: color,width:'100%' }}
          secureTextEntry={true}
          value={value}
          onChangeText={text => {
            this.setState({ value: text })
          }}
        />
      </View>
    )
  }
}

export default TestTextInputSecureTextEntry

This seems to be the default behaviour for UITextField at the native level. You can work around this if you really require it, by implementing your own 'bullet replacing' logic on a TextInput on JS side. The approach would be showing a transparent TextInput over a Text or something using a non-secure TextInput and keeping track of real and bulleted text separately. The IMO hacky workarounds at the native level do not look like something that will actually land on react native.

Fixed: #23524.

Fixed: #23524.

I've got same issue on the latest version(0.59.2). It seems it's not been fixed yet.

@ericlewis Fix You provided did not fix this issue, please reopen it as it's still relevant. Thanks.

Eric's fix is not in 0.59, but it will be present in 0.60.

use: this.yourTextInputRef.forceUpdate()


raise_error with ArgumentError fails with incorrect message

Subject of the issue
A raise_error expectation with ArgumentError will not match the correct message.
Your environment

Ruby version: ruby 3.1.2p20 (2022-04-12 revision 4491bb740a) [arm64-darwin22]
rspec-expectations version: 3.12.0

Steps to reproduce
Write the following to spec/foo_spec.rb:
# frozen_string_literal: true

describe 'Foo' do
  example do
    expect { raise ArgumentError, 'foo' }
      .to raise_error(ArgumentError, 'foo')
  end
end

Run bundle exec rspec spec/foo_spec.rb.
Expected behavior
Spec passes.
Actual behavior
  1) Foo is expected to raise ArgumentError with "foo"
     Failure/Error:
       expect { raise ArgumentError, 'foo' }
         .to raise_error(ArgumentError, 'foo')

       expected ArgumentError with "foo", got #<ArgumentError: foo

           expect { raise ArgumentError, 'foo' }
                          ^^^^^^^^^^^^^^^^^^^^> with backtrace:
         # ./spec/foo_spec.rb:5:in `block (3 levels) in <top (required)>'
         # /Users/denis/.rubies/ruby-3.1.2/lib/ruby/gems/3.1.0/gems/rspec-expectations-3.12.0/lib/rspec/matchers/built_in/raise_error.rb:59:in `matches?'

The message of the raised ArgumentError is a String with the following contents:
foo

    expect { raise ArgumentError, 'foo' }
                   ^^^^^^^^^^^^^^^^^^^^

More details
This only appears to be an issue for ArgumentError.
This started failing in the week or so. I’ve not been able to narrow down the cause just yet.
This fails with stock Ruby, no gems loaded.
To reproduce without RSpec:
begin
  raise ArgumentError, 'zing'
rescue => e
  p e.message
end

This prints "zing\n\n  raise ArgumentError, 'zing'\n        ^^^^^^^^^^^^^^^^^^^^^".
It should (I think) print "zing" instead.

I’m 99% sure this is caused by error_highlight.
I’m not sure whether this really is a RSpec issue, but… if it is not, would it be good for rspec-expectation to handle it anyway?

This is likely a duplicate of #1362.

It looks like error_highlight version 0.5 (released on November 08, 2022) made this break. Most likely candidate for the cause is this commit: https://github.com/ruby/error_highlight/commit/defcaf1beb95ea9d233cced21863e88ccbe64203

Relevant issue in error_highlight repo: https://github.com/ruby/error_highlight/issues/28

Thanks for reporting.
I'm a bit confused by examples in the description of this issue and a relevant error_highlight issue:

works without failures with error_highlight 0.4.0
gem install error_highlight -v 0.5.0

Is this right? Do I understand it correctly that there's a regression in error_highlight 0.5.0?
Would version pinning in Rails
gem "error_highlight", ">= 0.4.0", "< 0.5.0"

fix the issue? Can we just recommend using the next Rails version to fix this for our users?
I would like to point out that rspec-expectations do not depend on error_highlight, and pinning it here would make no sense.
If you run your example on a blank slate project without error_highlight, it would pass.
A related fix mentioning error_highlight.
Do you think there is anything we can fix by making changes in rspec-expectations, @denisdefreyne ?

That is correct:

With error_highlight 0.5, this issue exists.
With error_highlight 0.4, this issue does not exist.

Do I understand it correctly that there's a regression in error_highlight 0.5.0?

Yes

Would version pinning in Rails […] fix the issue?

I can definitely pin the error_highlight gem to 0.4.x in my own (non-Rails) projects, though that would only solve the problem for these personal projects.

If you run your example on a blank slate project without error_highlight, it would pass.

Yes and no -- error_highlight is part of Ruby (at least version 0.3) and required by default. Luckily, versions 0.3 and 0.4 do not exhibit this problem, but if you would have error_highlight 0.5 installed, the example would fail even without invoking any requires.

Do you think there is anything we can fix by making changes in rspec-expectations

It’s a good question! It’s also a question that might not need to be answered right now, depending on how/if https://github.com/ruby/error_highlight/issues/28 gets resolved.
As a hack, I imagine rspec-expectations could strip off a trailing \n\n.*\n s*^+ -- but oh, I do not like that hack. 😅

I think the better way forward might be to encourage people to not write
.to raise_error(ArgumentError, 'foo')

but rather use an anchored regex:
.to raise_error(ArgumentError, /\Afoo$/)

Is it just new line characters added?

I believe error_highlight 0.5.1 including https://github.com/ruby/error_highlight/pull/29 address this issue.

Thank you, @yahonda . I also see a Rails PR.
So what most users would have to do is to:
bundle update --conservative error_highlight

Is this correct?
Is there anything left to be done in rspec-expectations?

Just updating error_highlight version to 0.5.1 is fine.

Without bundler

gem update error_highlight

Using bundler

bundle update --conservative error_highlight

--conservative option is not mandatory. I added it because I just want to update error_highlight gem. Refer to https://bundler.io/v1.14/whats_new.html#conservative-updates

@denisdefreyne @JonRowe Any objections on closing this issue?

Perfect, thanks :)


Can't connect to database with authentication

Hey,
for some reason I can't connect to my MongoDB with authentication enabled.
I'm using<EMAIL_ADDRESS>I'm only getting a 404 error
Genghis version: 2.3.11
RubyGems version: 2.4.7

It should be mongodb:// not http://, right?

Yes, my fault

I do not quite understand how genghis uses cookies,
but ...
For "genghis_servers" cookie set value e.g. "["mongodb://root:1234@localhost:27017"]". It helped me and DB authorization works!

When I add a server with user:pw@localhost:27017/admin It tells me that it failed to authenticate the user. The password, username and db are correct, I can authenticate using the mongo shell.

I've been having this issue as well, any update?

i also have this issue. Remote connection with user:pass@remoteip:port/db works but user:pass@localhost:port/db or user:pass@<IP_ADDRESS>:port/db does not work.

Actually it seems like an issue with MongoDB 3.0 authentication

shell mongo -ppasswd -u dev remoteip:28017/admin success,
but add server dev:passwd@remoteip:28017/admin failed,
errors Authentication error: Failed to authenticate user 'dev' on db 'admin'.
MongoDB version 3.4.3,
genghisapp version:
'genghisapp' 2.3.11
rack 1.3
sinatra 1.4.8
vegas 0.1.11


Build fix for QNX 6.6 neitrino

@nikman-ru please look at it.

@jet47 please look at it too. It looks like Nikita is very busy now.

:+1:


Brigadier shows <arg...> instead of name of variable.

Using this code example you provided in the README.md
    @Command("pm")
    public void message(Player sender, EntitySelector<Player> players, String message) {
        for (Player player : players) {
            player.sendMessage(sender.getName() + " -> You: " + ChatColor.GOLD + message);
        }
    }

Am I doing something wrong or is this an issue on my end.

Ok, so I've found a fix but this should PROBABLY be documented more using the @Named("name") annotation does fix it.

By default, Java doesn't preserve parameter names in bytecode. You can configure Maven/Gradle to do that automatically.
With Gradle:
compileJava {
    options.compilerArgs += ["-parameters"]
}

If you're using Kotlin:
compileKotlin {
    kotlinOptions.javaParameters = true
}```

with maven:
```xml
<plugins>
  <plugin>
    <groupId>org.apache.maven.plugins</groupId>
    <artifactId>maven-compiler-plugin</artifactId>
    <version>3.8.0</version>
    <configuration>
      <compilerArgs>
        <arg>-parameters</arg>
      </compilerArgs>
    </configuration>
  </plugin>
</plugins>


Update search method in menus

Utilize obsidian's built-in fuzzy search method, used in quick switcher
With cm-chs-patch v1.3.1+ installed, the search method will use Chinese parse API to convert Chinese into Pinyin, which can be searched by key strokes

Before even reviewing the code I need to understand what this is for.    I am not sufficiently clear on how the Obsidian fuzzy search algorithm works to know if it's what I would like to use or would be an improvement on the current algorithm, which I have written to be easy to reason about, and to minimize the number of keystrokes when using generally-stable lists (like context menus).  Obsidian's fuzzy search is useful when you are looking at the screen, but I find its behavior hard to predict in the presence of minor changes to a list's contents.
Regarding the file names, being able to search file extensions is indeed intentional.
Anyway, for future reference, when submitting pull requests to projects it is a good idea to explain up front what problem is being solved or what you are trying to achieve, so the maintainer doesn't have to try to guess.  In this case I can guess is that you want to make searching for chinese characters better, but it seems like using the fuzzy search may be counterproductive for that, whereas it might be possible to improve the current algorithm's regex generation for pinyin.
To do so, however, I'd need to know how you actually expect to search.  Do you intend to type the full character names?  With spaces between?  Or do you intend to use just parts of the character names?

One of the benefits of using a fuzzy search algorithm is that it can specify weighting manually, meaning that it can match filename first, then trying to match extensions, but digging into the algorithm will definitely take more time, and since reverse-engineering the code for quick switcher is already tiresome, I'll revert that change and only keep Chinese support for now.

Do you intend to type the full character names? With spaces between? Or do you intend to use just parts of the character names?

I'm adding space between pinyins because I'm trying to mimic English words so that it may work better for the fuzzy search algorithm, and since I'm reverting it, it may not be necessary.
And regarding using keystrokes to search for Chinese, the usual ways are searching by the first letter of pinyin, for example, 今(jin)天(tian) ->jt, or by entering full pinyin (今(jin)天(tian)->jint). But it may not be so simple when polyphone exists, meaning that one character in Chinese can have different pinyin in various contexts, like 长 in 长(zhang)大 and 长(chang)期. The library I'm using is relatively lightweight, so it won't try to predict the exact pinyin for the character, instead, it will give all the possible pinyin. In 长大(da)'s case, it will produce [["zhang", "chang"],["da"]], and the current solution is flatting the list and join the members, like zhangchangda.
But here is the problem: with default sorting, the Chinese names are always before English ones, so with the old matching method which uses the sequence of item to get the first match, the result will always be Chinese first. In my mind, the solutions to may be mapping item list to name list and resorting the mapped one with pinyins, and it will take some time for me to work on the details. To be honest, fuzzy search algorithm may be the ultimate solution across languages, if I have time to understand what it does...
btw, do you need the new yarn.lock file committed? it seems that it has been largely changed after adding a new module.

Pull requests are not for "here is some code that may or may not do something vaguely related to what I want, which I don't actually know precisely what I want yet.  But please put this code into your project".
When you submit a pull request to an open source project, you are requesting a pull, implying that the code you have is ready to be pulled and thus incorporated into the project's code.  This implies that you have:

Thought out what it is supposed to do
Considered how it will impact other users of the project
Considered the support and maintenance impact for the core contributors
Written the code according to the project's style

And above all, actually finished the thing you're trying to do.  At a bare minimum, if the thing is not finished, you should give a clear indication in the subject line that it is a work in progress, and most open source projects do not accept WIP PRs that aren't targeted at development branches or submitted by trusted contributors.
What you have basically done is submit a PR where you have no specific intention beyond a vague idea that Obsidian's fuzzy search will somehow be beneficial, with none of the research or testing or evidence as to why this should be so, and are implicitly requesting this code be added to the project.  In effect, you are telling me that you consider this state of things good enough for me to add this code to the project.
I was trying to give you the benefit of the doubt by assuming that you had in fact thought this through, and simply hadn't communicated things that must be obvious to you and assumed I would know them.  But now I see that it's rather that you haven't thought this through at all, and are instead simply doing whatever seems like a good idea at the time.
This tells me that I cannot trust your judgment.  You keep saying you want to collaborate, but your behavior is not that of someone who is trying to earn the trust necessary for collaboration.  If everything you submit is suspect as to whether you've given any basic thought to what you're proposing, or basic courtesies like communicating intended results or what impacts you considered, I cannot afford the time to keep entertaining your submissions and will ultimately begin blocking your communications.
I remain open to incorporating some sort of search improvement for CJK characters, but not in the form of incomplete PRs for undefined requirements.
Even for bug reports or feature requests, it is expected that you at least be able to communicate clearly what behavior you want the improvement to have...  implying that you have already done the work to figure out what it is that you want.  Posting issues or PRs where you aren't even close to having an idea of what it is you want is just wasting people's time.  Doing it in code is even more wasteful, since code inherently requires more time to process than text.
Please do not submit any more PRs to this project until and unless they meet the requirements above.  If you believe at some point you have come up with a strategy for CJK or pinyin search -- one that includes the expected impact on other users -- then feel free to open an issue describing what you want to do and how it should work, preferably with examples.
It is often a good idea, by the way, to submit an issue for something before submitting a PR, especially when contributing to a project that has not previously accepted PRs from you.  In this way, you can learn whether it is even worth doing the work to write the PR, in case your desired change is one the project team considers out of scope, counterproductive, something they would not wish to maintain, or something they would have specific requirements for that you would otherwise not know about.
Having such a discussion first is a sign of respect, that you understand that you are neither an expert nor an authority within that project's community, whereas jumping straight to a PR that isn't tied to an existing issue is an implicit statement that you understand the project's plans, processes, and requirements as well as an existing team member -- which is very rarely the case.
In essence, when you submit a PR without an issue, you are staking your reputation on the idea that in that particular area, you are as good as the project team.  For things that are minor bug fixes or unequivocal improvements this may well be the case.    And that damages others' opinion not only of your ability, but also of your wisdom, forethought, and judgment.
I am closing this PR.  Please do not open any more PRs to any of my projects without first submitting an issue that describes clearly how you would like that project's behavior to change, and what impacts you expect that to have on other users...  and then wait for an explicit approval before submitting a PR.
In other words, I am no longer giving you the benefit of the doubt, because you have shown at this point that I cannot trust your judgment.

Lesson learnt，thank you so much for all the time you've spent to help me finally understand what an Pull Request meant for an project and the principles of collaboration in open source community, I'll follow your advice on this for every PR I opened in the future, you are such a patient and wonderful tutor for me, really sorry for having you tolerating all my terrible inappropriateness and ignorance during our conversations.

Ignorance isn't a problem: I'm happy to answer questions and even offer advice.  It's the lack of asking (or admitting to ignorance) that's been much of the problem.  It would've wasted a lot less time if e.g. you said in an issue, "I need to do this kind of search and the existing search doesn't work well in this way...  do you think that using Obsidian's fuzzy search would help?"  Then you could have saved time writing the code and I would've saved time reading it, because we could've discussed it first.
I am actually still curious about solving the problem itself -- for example, I'm wondering if you find Obsidian's "quick open" dialog to be useful in searching for notes using the approach you describe, and if not, how you currently find such notes.  If the quick open dialog is useful, on the other hand, then perhaps it would make sense to allow opening quick explorer on a note from the quick open.  And so on.  There are many things that could be discussed to find a good alternative, though of course there is no guarantee that any of them would work out.
Also, not every project maintainer is as particular about PRs as I am, but in general the larger the project or team, the greater the odds that they will have very specific expectations for PRs and prefer to see issues first from new contributors.  And most will expect works in progress to be labeled as such.


Add remove_art_file configuration property to EmbedArt plugin

Adds a configuration property for automatically removing album art files after embedding them.
embedart:
  remove_art_file: yes|no

This looks great; thank you for the contribution!
Can you please also add a note to the documentation describing the option (and why someone might want to use it)?

I've improved the description of remove_art_file with a small section on it's purpose (to be used alongside fetchart).

There seems to be an issue with the fact that album.artpath isn't set back to None, so other plugins get confused when the art doesn't exist.

So I have tried setting album.artpath to None, however it isn't saved. Is there a method I need to call to save the data?

So it does! Awesome work; thank you for fixing that last detail. :sparkles:


Unit 4 Team Teach

Still missing nested loop iteration, will add in future.

You broke my build!!!