Add support for FriendlyELEC NanoPi K1 Plus

Hello!
This is work in progress. I tried to add NanoPi K1 Plus board support, but build fail for some reason:
***
*** Can't find default configuration "./configs/nanopi_k1_plus_defconfig"!
***
make: *** [3rdparty/kconfig/Makefile:49: nanopi_k1_plus_defconfig] Error 1
error: builder for '/nix/store/qanzsx3bn36hdwahlw6rc21g9z5gwzyb-crust-firmware-untagged-2023-02-28.drv' failed with exit code 2
error: 1 dependencies of derivation '/nix/store/3r51blna4kv3z1a797ilb9h5il521r7j-Tow-Boot-nanopi_k1_plus_defconfig-noenv-aarch64-unknown-linux-gnu-2023.07-007-pre.drv' failed to build
error: 1 dependencies of derivation '/nix/store/5l90rm73n1sbxr4rn1njkhqvqiapysjq-Tow-Boot.friendlyElec-nanoPiK1Plus.2023.07-007-pre.drv' failed to build

Source: https://github.com/armbian/build/tree/main/patch/u-boot/u-boot-sunxi/board_nanopik1plus

Right, this looks harder than it actually is.
error: builder for '/nix/store/qanzsx3bn36hdwahlw6rc21g9z5gwzyb-crust-firmware-untagged-2023-02-28.drv' failed with exit code 2
                                                                ^^^^^

The reason crust fails to build is because it's implicitly referring to a non-existent config:

https://github.com/Tow-Boot/Tow-Boot/blob/f4d3d1dd344c3f2845f5b65427ddd6625f66177d/modules/hardware/allwinner/default.nix#L63-L65
https://github.com/crust-firmware/crust/tree/master/configs

Crust is not required for Allwinner systems.
Though it is generally assumed to exist. When not available, for now we use this unergonomic way to mark it as unavailable
diff --git a/boards/friendlyElec-nanoPiK1Plus/default.nix b/boards/friendlyElec-nanoPiK1Plus/default.nix
index eeae93f..ba096d7 100644
--- a/boards/friendlyElec-nanoPiK1Plus/default.nix
+++ b/boards/friendlyElec-nanoPiK1Plus/default.nix
@@ -15,5 +15,8 @@
     patches = [
       ./0001-nanopi-k1-plus-board-enablement.patch
     ];
+    builder.additionalArguments = {
+      SCP = "/dev/null";
+    };
   };
 }

This is because, somewhat by design, we have to dip ourselves into the implementation details in U-Boot to mark it as non-existent, as it is really preferred to have it available.
With this change Tow-Boot should build (it built for me).

Indeed it helps, thanks!
Although I intentionally avoided this patch, there is nothing on the screen until KMS initialization. I tried to specify CONFIG_VIDEO_DE2=y but it didn't help. Any ideas what else worth a shoot?
I assume as is (no HDMI output at bootloader stage) it can not be merged? Or there is value in ability to select boot device at least via serial console? This board support eMMC.


Add the Powertoys Shortcuts to Shortcut Guide

Description of the new feature / enhancement
Why not adding the Powertoys Shortcuts to the Shortcut Guide. In my opinion it makes no sense not to do that.
Scenario when this would be used?
Everytime i want to recheck the shortcuts i want to use. It would be easier and more comfortable than open the Powertoys Settings search it in there.
Supporting information
No response

/dup https://github.com/microsoft/PowerToys/issues/15405


Add last_seen for element, remove fw versions

Adds last_seen for elements and removes firmware
versions for both elements and sensors.
Addresses: https://www.pivotaltracker.com/story/show/129089807

Coverage remained the same at 100.0% when pulling bc847c6df80e2c117ef33b090a5031d8489d0d0c on feature/element-last-seen into 62fd4d5d923b00664c144c5763c93e0710e03da6 on master.

👍


Persist login state

Investigate need to persist anonymous login state. It seems the anonymous user is signed up again (new account created) on page reload
check if we should trigger onAuthStateChanged instead

it seems to be correctly persisted actually. Maybe the cache was disabled?


register v0.1.0

@JuliaRegistrator register

Registration pull request created: JuliaRegistries/General/48121
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:
git tag -a v0.1.0 -m "<description of version>" 757eb90941ab83f00ff33e5161dd6b2c6e2bb3f5
git push origin v0.1.0

@JuliaRegistrator register

Registration pull request updated: JuliaRegistries/General/48121
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:
git tag -a v0.1.0 -m "<description of version>" e7995b9d317863e485873cec3e95f11a637554c4
git push origin v0.1.0


REACH: Filter variant view

It would be nice to limit the variants viewed in the filter card. For example, someone might have created a custom filter and there are multiple variants in a gene that pass the filter. If there was an icon attached to the filter (probably with the trashcan, edit symbol etc), that would allow the user to view only the variants passing this filter, that would make it quick and easy to identify the relevant variants.

Use labels, not text in the header you dingo!


models.py:12-17: Generate image file name with hash. Now...

The puzzle STB296-d24da08f from #STB296 has to be resolved:
https://github.com/fidals/refarm-site/blob/f34dd75d6bcb3348dec6043624b2fcbf706b3267/images/models.py#L12-L17
The puzzle was created by duker33 on 18-Dec-18.
If you have any technical questions, don't ask me, submit new tickets instead. The task will be "done" when the problem is fixed and the text of the puzzle is removed from the source code. Here is more about PDD and about me.

it's code to gen hash:
import hashlib
with open('docker-compose.yml', 'rb') as f:
	res = hashlib.md5(f.read()).hexdigest()

Good arch is stayed

@0pdd the puzzle #242 is still not solved.


Duplicate content in workflow doc

URL of the docs page

https://docs.dapr.io/developing-applications/building-blocks/workflow/howto-author-workflow/#author-workflows-as-code
How is it currently worded?

The Dapr sidecar doesn’t load any workflow definitions. Rather, the sidecar simply drives the execution of the workflows, leaving all the workflow activities to be part of the application. The Dapr sidecar doesn’t load any workflow definitions. Rather, the sidecar simply drives the execution of the workflows, leaving all the workflow activitie to be part of the application.
How should it be worded?

The Dapr sidecar doesn’t load any workflow definitions. Rather, the sidecar simply drives the execution of the workflows, leaving all the workflow activities to be part of the application.
Screenshots

Additional context

Duplicate Content

Resolved with dapr/docs#3223


Support "#include " and "#include" (the space character)

Currently, if your shader has a space between #include and <filename> Babylon.js will throw an error when processing the shader.
This is a little frustrating if you're using clang-format to format GLSL for you because it inserts the space automatically, which breaks the shader.
So I made the regex support an optional space character.
I tested this by manually overriding this function with the diff below in my codebase.
I also wonder if sourceCode needs to be copied in returnValue on line 307, since strings are immutable.

np


Fix issue with encoding ParameterExpression

Summary
Details and comments
Fixes #1521

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

1 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.1%) to 83.604%

Totals

Change from base Build<PHONE_NUMBER>:
0.1%

Covered Lines:
6170

Relevant Lines:
7380

💛  - Coveralls


Unicode issues in production (with wsgi)

For parsing, unicode all works great in the unit tests, but there's one huge problem: in the unit tests the stream object passed to CSVParser.parse is a StringIO, while in production (apache/wsgi) it's actually an instance of <class 'django.core.handlers.wsgi.WSGIRequest'>. The end result is the unit test pass, showing unicode success, but when you POST some unicode to an endpoint using the parser you get the dreaded:
{"detail":"CSV parse error - 'ascii' codec can't decode byte 0xe2 in position 17136: ordinal not in range(128)"}
I wrote a stopgap hotfix in a fork (https://github.com/alertmedia/django-rest-framework-csv), but it breaks all the unit tests, which are written using the StringIO streams. I also used unicodecsv library, not builtin csv.
Any ideas on reconciliation here?

Using your fork, I think I fixed all the tests. I pushed up into the unicode-io branch. I'm going to do some more testing, before merging into master.


[Feat] Add static image widget

type - static image widget
data - the image name / key?

Blocked  - API not supporting this yet

@yuvalbl we'll use image name


[Feature Request] Stripe Subscriptions

Describe the solution you'd like
Stripe subscription billing implementation,
Describe alternatives you've considered
A subscription could be created on Stripe (with the correct pricing), and then connected to FOSSBilling, using webhooks

You would be better off putting this in #1360.

It's on my TO-DO list, but not until I catch up on some other items that are of a higher priority.
But it'll be sometime since I have a full-time job, there's a small backlog that's built up for FOSSBilling, and I need to modernize and make payment gateways more advanced before FOSSBilling will be able to properly handle Stripe's webhooks.


⚠ Bofrost.de has degraded performance

In 7eb0317, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1943 ms

Resolved: Bofrost.de performance has improved in cc1fd2e after 6 minutes.


Missing parts of specification for Synapse Rest Api

Hello,
I'm quite new to whole Azure stack, however I encountered problem with generated REST API documentation for Synapse. Some parts of the documentation are missing and was available about a week ago or so - pipelines, linked services etc., for example:

https://docs.microsoft.com/en-us/rest/api/synapse/data-plane/pipeline/create-or-update-pipeline - returns 404 and there is no equivalent page to be found.

I don't know if this issues is linked directly to this project or the build of the webpage, however I found this commit:
https://github.com/Azure/azure-rest-api-specs/commit/3865f04d22e82db481be0727b406021d29cd2b70 that can have something to do with that.
If this is not the right place, could you please direct me where I can report this issue?
Thank you very much.

Thanks for reporting. I am actively checking the issue.

Hello! Thank you. Is there any update on this issue?
Have a nice day.


XML processing instruction(s) are classified as a textnode?

I'm not sure if this is a bug or not. I don't believe XML processing instructions should be classified as a text node. I want to exclude these.
https://dotnetfiddle.net/4RXN2i

You are right, it seem there is an issue
<?foo note=""I am XML processing instruction. I wish to be excluded"" ?> should become a comment as it is processed by Chrome and Safari.
Best Regards,
Jonathan

Performance Libraries
context.BulkInsert(list, options => options.BatchSize = 1000);
Entity Framework Extensions • Entity Framework Classic • Bulk Operations •  Dapper Plus
Runtime Evaluation
Eval.Execute("x + y", new {x = 1, y = 2}); // return 3
C# Eval Function • SQL Eval Function

Is this something that could be squeezed into the next release? I have a workaround in place for dealing with these. But it's part of the html-agility-pack code base.

There is a good chance it will be part of next release but I'm not sure if that will happen this week or next week.

Hello @PokerPro123 ,
A new version has been released v1.11.9, this part of the text is now considered as a comment (like the browser does).
Let me know if everything works as expected.

Thanks! I'll report back in a day or two. I need to catch up on a couple other tasks first.


Add metaresources to Makefile.PL

This adds information about this repository to Makefile.PL. MetaCPAN displays those information....

Thanks for this fix! Merged and pushed out 0.0.7.


Show links to unupgraded dependencies at the end

This changes #5 to show the list of packages you might need to check on at the end.  The output looks like this (and with links directly to the issues pages):
SUCCESS! Your project's dependencies and code have been upgraded.
However, your project may not yet compile due to API changes in your
dependencies.

See https://github.com/elm-lang/elm-platform/blob/master/upgrade-docs/0.18.md
and the documentation for your dependencies for more information.

WARNING! The several of your dependencies have not yet been upgraded to
support Elm 0.18. You can create an issue to request the packages be
upgraded here:
  - https://github.com/Fresheyeball/elm-tuple-extra/issues
  - https://github.com/NoRedInk/elm-rails/issues
  - https://github.com/NoRedInk/elm-simple-fuzzy/issues
  - https://github.com/NoRedInk/elm-string-extra/issues
  - https://github.com/NoRedInk/nri-elm-css/issues
  - https://github.com/eeue56/elm-all-dict/issues
  - https://github.com/eeue56/elm-default-dict/issues
  - https://github.com/jinjor/elm-diff/issues
  - https://github.com/mdgriffith/elm-style-animation/issues
  - https://github.com/mgold/elm-date-format/issues
  - https://github.com/rluiten/elm-date-extra/issues
  - https://github.com/rluiten/elm-text-search/issues
  - https://github.com/rtfeldman/elm-validate/issues
  - https://github.com/shmookey/cmd-extra/issues
  - https://github.com/thebritican/elm-autocomplete/issues
  - https://github.com/wernerdegroot/listzipper/issues

@eeue56 ^^


ZabiRepo Loging error

I am getting the following error when trying to loging to Zabbix 3.0.4:

Is it compatible with 3.0.4?

+1 same issue here (Aug 2016!!!!! - does anyone actually monitor this?)

I did the following and it worked (unsure of any knock on effect)
In the following file I uncommented the below
/usr/share/zabbix/include/classes/validators/CApiInputValidator.php
// unexpected parameter validation
                //foreach ($data as $field_name => $value) {
                //      if (!array_key_exists($field_name, $rule['fields'])) {
                //              $error = _s('Invalid parameter "%1$s": %2$s.', $path, _s('unexpected parameter "%1$s"', $field_name));
                //              return false;
                //      }
                //}


Support fo Kubernetes Service Binding

To facilitate configuration and consumption of database credentials and additional relevant configuration information by deployed applications, it would be desirable for the operator to support the Kubernetes Service Binding specification when deploying Oracle database instances.

A little bit more info:  The Spring Cloud Bindings project appears to already have some support for reading oracle specific secrets for a service binding when using JDBC or R2DBC.
https://github.com/spring-cloud/spring-cloud-bindings#oracle-rdbms


[BUG] persistent border radius

Description
If the Include radius confirmation box is unchecked, the border-radius should disappear. However, that is not the case.

Setting the radius to 0 is an alternative but it isn't convenient.
The checkbox should take care of including and excluding a radius. Right now it's not doing the latter

To Reproduce
Steps to reproduce the behavior:

Go to https://code-magic.vercel.app/
Click Gradient Border
Tick include radius and enter an number
Click Get Results
Now, go back, untick Include radius and click Get Results again
Notice that the radius persists.

Screenshots
https://user-images.githubusercontent.com/72257135/193450090-7c9c5aa9-4a16-4e84-a493-f6d2833a37c8.mp4

It's great having you contribute to this project by creating an issue Make sure you are assigned to this before you work on it and you read the Contributing.md file, Thank you! Welcome to the community :nerd_face:

@Dun-sin I wouldn't mind if someone else takes this one.
Thank you!

@Dun-sin Can I work on this issue?

@Dun-sin Can I work on this issue?

Definitely, thanks for wanting to contribute

:tada: This issue has been resolved in version 2.4.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Settings: Not working

Whenever I click on Settings - or Ctrl+, - nothing happens. I have tried several times and nothing seems to happen. The other menu items (Windows Powershell, cmd, Feedback, About) work.

When I klicked on settings, it opened "profiles.json" in Visual Studio

You need to have a json association set. #1460

Also, it's on purpose that it opens a json file.

I did have a JSON association but it didn't work. I changed it to something else, then back to noteapad++, and it's working now.


Remove Theme: SuperGradient

Rest In Peace SuperGradient.
Now that Zen has a great native implementation of Gradients, SuperGradient isn't needed anymore.
I moved the Zen Galaxy/Dream Legacy Theme option into it's own Mod, for the people that still like it.
Feel free to merge this whenever you think it's time.

RIP, it was great while it lasted, I was personally using it. But it had to be done. Thanks a lot for such great inspiration!


config.Build Cluster CRD

Add .yaml for build config CRD
Per https://github.com/openshift/cluster-openshift-controller-manager-operator/pull/27/files/a7395235deacf2791803ac79a2785c3a569d57ab#r230193874

/assign @deads2k
/cc @bparees

lgtm

it still lgtm.
@deads2k bump.

/assign @smarterclayton

Closing per https://github.com/openshift/cluster-openshift-controller-manager-operator/pull/28#issuecomment-436414049


python3Packages.immutables: enable tests

Motivation for this change
Enable tests.
Things done

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

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 113035 run on x86_64-linux 1

3 packages built:

python37Packages.immutables
python38Packages.immutables
python39Packages.immutables


Adding logo to README

Adding initial logo image to README.md.  This will need to be updated later when we have a final image.

Looks good


Exec tachikoma update<PHONE_NUMBER>2104

:hamster::hamster::hamster:   Strategy bundler
Powered by Bundle Update as a Service - Tachikoma.io Announcement: 2015-06-28 Updated permissions - Tachikoma.io

Coverage remained the same at 12.281% when pulling f03448c6abcea99effd7de05cfac69248aef64d5 on pazjacket:tachikoma/update-20170809092104 into 598f7bcd2b06034cc9d4e9bbed4ff4229bfde343 on Protom512:master.


XML documentation can not handle HTML Tags and XML Lists to format the summary or remarks

I tried to format the summary and / or remarks of an api with the help of xml. There are no formatting options like list or para possible > https://docs.microsoft.com/en-us/dotnet/csharp/codedoc
In addition HTML Tags are parsed out and not taken to the description. Any idea how to resolve this? It would help to avoid html tag removal from source.

Does swagger/openapi support html in descriptions?
Ref: https://github.com/RicoSuter/Namotion.Reflection/blob/master/src/Namotion.Reflection/XmlDocsExtensions.cs


Specification inference

Now spec version (meta-schema, evaluator factory, vocabularies) is determined solely from Dialect object and cannot change in a scope of a single Validator. Let's infer spec version from $schema keyword:

use the Dialect object only if there is no $schema present
be careful with additional EvaluatorFactories
what to do if $schema points to a custom meta-schema? Go up the meta-schema tree and check if it eventually resolves to a spec version? (If yes, apply the spec version to all the children) If not - fail or fallback to spec from Dialect?
special handling for embedded schemas (schemas containing $ids, if there is $schema without $id it's undefined behavior as per spec) - it should take spec from its $schema or from the nearest parent
turn on cross-reference test suite test

done in 1.7.0


[Bug]: MAJOR Optimizing  is running

What happened?
a iceberg v2 partition table  set table property
'self-optimizing.full.trigger.interval'='86400000',
but  one partition table is MAJOR  Optimizing  running

Affects Versions
master 0.6.0
What engines are you seeing the problem on?
AMS, Optimizer
How to reproduce
a iceberg v2 partition table  set table property
'self-optimizing.full.trigger.interval'='86400000',
and  one partition data insert cow is big data
CREATE TABLE spark_catalog.dl_ods.ods_iceberg_t1 (
channel_id INT,
label STRING,
price_sign BIGINT,
item_id BIGINT,
item_type INT,
is_maintain INT,
cur_name STRING,
adjust_code STRING,
platform_id BIGINT,
business_id BIGINT NOT NULL,
price DECIMAL(20,4),
price_type_name STRING,
price_type_id BIGINT,
price_type_code STRING,
sku_id BIGINT,
goods_no STRING,
spu_id BIGINT,
store_id BIGINT,
gmt_update TIMESTAMP,
gmt_create TIMESTAMP,
id BIGINT NOT NULL,
store_status STRING,
store_no STRING,
com_id STRING,
store_name STRING)
USING iceberg
PARTITIONED BY (business_id)
LOCATION 'hdfs://xxxxx/user/hive/warehouse/datalake/dl_ods/ods_iceberg_t1'
TBLPROPERTIES(
'clean-independent-delete-files.enabled' = 'true',
'clean-orphan-file.enabled' = 'true',
'clean-orphan-file.min-existing-time-minutes' = '1440',
'current-snapshot-id' = '5211867258629833319',
'engine.hive.enabled' = 'true',
'flink.max-continuous-empty-commits' = '2147483647',
'format' = 'iceberg/parquet',
'format-version' = '2',
'identifier-fields' = '[id,business_id]',
'self-optimizing.enabled' = 'true',
'self-optimizing.full.trigger.interval' = '-1',
'self-optimizing.group' = 'external-group',
'self-optimizing.quota' = '0.1',
'snapshot.base.keep.minutes' = '60',
'table-expire.enabled' = 'true',
'write.distribution-mode' = 'hash',
'write.metadata.delete-after-commit.enabled' = 'true',
'write.metadata.previous-versions-max' = '1',
'write.upsert.enabled' = 'true')
;
Relevant log output
No response
Anything else
No response
Are you willing to submit a PR?

[X] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

Thanks for your report! I will add this issue to the roadmap for version 0.5.1 and look forward to your PR.👍


eBookmark dropping tree file structure when in use

I was having trouble with the eBookmark widget you were using in your code.  The folder options disappeared when I used the widget.  I upgraded the widget to the 2.1 version.  It appears to be working correctly now.  https://geonet.esri.com/docs/DOC-6889.  I will continue to test on and off my work network.

Thanks for letting me know. I don't track the individual custom WAB widgets to see if there have been any breaking changes in new releases of WAB. That's not interesting to me. 😜

I get it.  There is way too much out there for QA/QC.  That is why we need to work as a team even though we do not 'work' with each other.

I ended up still having the problem with the new version.  When I find a solution, I will share my results.

The eBookmark needs to be open: true, and it cannot use placeAt: 'right'.  It appears to work when these values are set.


compile sass in generator, and based on light/dark parameter in form

This will take the light/dark option in form, and appropriately compile schedule.css from the required file.

@aayusharora merge if all looks good to you.
I have tested and it works with both themes

NOTE: SQUASH AND MERGE WHEN MERGING

resolves issues
https://github.com/fossasia/open-event-webapp/issues/283
https://github.com/fossasia/open-event-webapp/issues/253

@championswimmer  , Awesome, Check both themes, it works perfectly. Able to generate both themes with different SCSS


Failed to validate the SSL certificate for github.com:443

Issue Type

Bug Report / Support Request

Your Environment
Vagrant 2.1.2
VirtualBox 5.2.16r123759
ansible 2.6.2
  config file = None
  configured module search path = [u'/Users/mwireman/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']
  ansible python module location = /Library/Python/2.7/site-packages/ansible
  executable location = /usr/local/bin/ansible
  python version = 2.7.10 (default, Oct  6 2017, 22:29:07) [GCC 4.2.1 Compatible Apple LLVM 9.0.0 (clang-900.0.31)]

Your OS

macOS (10.13.6)

Full console output
FAILED! => {"changed": false, "msg": "Failed to validate the SSL certificate for github.com:443. Make sure your managed systems have a valid CA certificate installed. You can use validate_certs=False if you do not need to confirm the servers identity but this is unsafe and not recommended. Paths checked for this platform: /etc/ssl/certs, /etc/pki/ca-trust/extracted/pem, /etc/pki/tls/certs, /usr/share/ca-certificates/cacert.org, /etc/ansible. The exception msg was: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:590)."}
Summary
Tried all of the known workarounds, however, still receiving the error. This is a new MacOS build.

@seccodingguy - Can you give any more context? What task did this fail on, do you have any custom settings in config.yml, etc.?

Here's a bit more context:
I'm running the script provided by the OWASP DevSecOps project located here (install instructions also provided): https://github.com/teacheraio/DevSecOps-Studio
The exact steps (shown via the output) for the issue when installing Docker is here:
TASK [geerlingguy.docker : Add Docker repository.] *****************************
changed: [DevSecOps-Box]
TASK [geerlingguy.docker : Install Docker.] ************************************
changed: [DevSecOps-Box]
TASK [geerlingguy.docker : Ensure Docker is started and enabled at boot.] ******
ok: [DevSecOps-Box]
RUNNING HANDLER [geerlingguy.docker : restart docker] **************************
changed: [DevSecOps-Box]
TASK [geerlingguy.docker : include_tasks] **************************************
included: /Users/mwireman/DevSecOps-Studio/provisioning/roles/geerlingguy.docker/tasks/docker-compose.yml for DevSecOps-Box
TASK [geerlingguy.docker : Check current docker-compose version.] **************
ok: [DevSecOps-Box]
TASK [geerlingguy.docker : Delete existing docker-compose version if it's different.] ***
skipping: [DevSecOps-Box]
TASK [geerlingguy.docker : Install Docker Compose (if configured).] ************
fatal: [DevSecOps-Box]: FAILED! => {"changed": false, "msg": "Failed to validate the SSL certificate for github.com:443. Make sure your managed systems have a valid CA certificate installed. You can use validate_certs=False if you do not need to confirm the servers identity but this is unsafe and not recommended. Paths checked for this platform: /etc/ssl/certs, /etc/pki/ca-trust/extracted/pem, /etc/pki/tls/certs, /usr/share/ca-certificates/cacert.org, /etc/ansible. The exception msg was: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:590)."}
to retry, use: --limit @/.../DevSecOps-Studio/provisioning/devsecops-box.retry
PLAY RECAP *********************************************************************
DevSecOps-Box              : ok=14   changed=7    unreachable=0    failed=1
Ansible failed to complete successfully. Any error output should be
visible above. Please fix these errors and try again.

Okay, I'm running the test with:
$ git clone https://github.com/teacheraio/DevSecOps-Studio.git && cd DevSecOps-Studio
$ vagrant up

It looks like this project uses the bento/ubuntu-16.04 base box. I'll let you know how it goes.

It looks like the entire thing worked fine (though there were some GitLab error later during that build process, unrelated to Docker).
Also, since this is for the DevSecOps-Studio and the failure occurs with the geerlingguy.docker role (which is not being used in Drupal VM at all at this time), I'd recommend opening the issue in the DevSecOps-Studio repository first, to see if there are other users with the same issue.


⚠ Mobitopup has degraded performance

In 0a153cd, Mobitopup (https://napcard.voz.tech) experienced degraded performance:

HTTP code: 200
Response time: 5249 ms

Resolved: Mobitopup performance has improved in f446339.


Creating QnAMaker resource taking up to 20+ minutes

Describe the bug
Creating a QnA Maker resource through Composer is taking in excess of 20+ minutes.
Version
Version:  1.4.0-nightly.233776.7019ef0
Electron: 8.2.4
Chrome: 80.0.3987.165
NodeJS: 12.13.0
V8: 8.0.426.27-electron.0
Browser

[X] Electron distribution
[ ] Chrome
[ ] Safari
[ ] Firefox
[ ] Edge

OS

[ ] macOS
[X] Windows
[ ] Ubuntu

To Reproduce
Steps to reproduce the behavior:

Create a new Bot
Add Knowledge Base
Generate QnA Maker instance
Process takes 20 minutes even to fail and tell you that you have too many free instances

Expected behavior
Process completes quicker or is ASync to allow me to do other things.
Screenshots

This is true, but it eventually succeeds. This seems due to the fact that the search resource takes a long time to be created.
What is the bug?


/AHA-LambdaFunction calls GetSecretValue even though no MS Channel is defined

Our cloudtrail alarming is reporting this error when deploying the lambda with only a slack url.
 arn:aws:sts::xxx:assumed-role/AHA-LambdaExecutionRole-ejo5owz1/AHA-LambdaFunction-ejo5owz1 called GetSecretValue but failed due to AccessDenied
Cause: IAM Policy is only created when string is not empty, but the code can not know if the channel id was empty. Therfore it try to fetch it and fails.

Resolved in the above commit by pbraz


set default projects in cloudbuild

I think maybe the quota project is confusing terraform apply WRT APIs being enabled.

/lgtm


hcloud: 1.11.0 -> 1.13.0

Motivation for this change
Update hcloud v1.11.0 to v1.13.0
Things done

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

[x] NixOS
[ ] macOS
[x] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nix-review --run "nix-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[x] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Notify maintainers
@petabyteboy already created a PR for 1.11.0 -> 1.12.0 which did not yet get merged, but is somehow superseeded by the update to 1.13.0

Built and ran resulting binary :+1:
Closure size increased from 38.9M to 39.3M, which seems fine for this update

If you like you can add quotes to the homepage (https://github.com/NixOS/rfcs/pull/45) and change name = "hcloud-${version}"; to pname = "hcloud";.

Ah great, I didn't know about these, thanks for the info! I implemented the changes you proposed :)


[GHSA-gpqc-4pp7-5954] Authentication Bypass by CSRF Weakness

Updates

References

Comments
Add CVE-2021-41275 to this advisory. Reference:
https://github.com/rubysec/ruby-advisory-db/blob/master/gems/spree_auth_devise/CVE-2021-41275.yml

Hi there @damianlegawiec! A community member has suggested an improvement to your security advisory. If approved, this change will affect the global advisory listed at github.com/advisories. It will not affect the version listed in your project repository.
This change will be reviewed by our highly-trained Security Curation Team. If you have thoughts or feedback, please share them in a comment here! If this PR has already been closed, you can start a new community contribution for this advisory


[rancher-compose] Interpolate environment variables

docker-compose version 1.5 (release date TBD) will support environment variables in docker-compose.yml files. I would like to use this feature in a Continuous Integration/Deployment setup. The workflow will be like:

A developer commits code and pushes the code to a repository
A build is triggered in a CI tool (like Jenkins)
The unique IDs are inserted in environment variables
The docker images will be built, and tagged with unique IDs, then pushed to the registry
Jenkins will use rancher-compose to deploy the docker-compose file where the unique IDs are interpolated

An example docker-compose file could be:
web:
  image: "registry.example.com/myapplication:$IMAGE_TAG"

Where IMAGE_TAG will be latest for a developer when is working locally. And can be a unique ID when rancher-compose is used, to make sure the right version is deployed.

@VogonogoV Rancher Compose is based off of github.com/docker/libcompose so I've created an issue https://github.com/docker/libcompose/issues/40 in that repo to track this.  It will be supported by the time 1.5 is released, hopefully earlier.

Merged in all relevant places. @sangeethah

Rancher 	v0.41.0-rc1
Cattle 	v0.99.0
User Interface 	v0.55.0
Rancher Compose 	beta/latest```

It is not working as expected. Below in an example docker-compose.yml that was used to test

```Arunkumars-MacBook-Pro-2:rancher aruneli$ env | grep IMAGE
IMAGE1_TAG=15.02
IMAGE_TAG=14.02
Arunkumars-MacBook-Pro-2:rancher aruneli$ cat docker-compose.yml
test:
  tty: true
  image: ubuntu:$IMAGE_TAG
  stdin_open: true
  volumes_from:
  - test-data
  labels:
    io.rancher.sidekicks: test-data
test-data:
  tty: true
  command:
test:
  - cat
  image: ubuntu:$IMAGE1_TAG
  stdin_open: true```

Verified with compose release - v0.4.1-rc2


Minor Feature Requests

Add a Freq CV to the Synth Drum Module.

Add a random button to the 3xOSC synth for quick alternative sound textures

Add a notch filter to the 3xOSC filter section and Ping Pong Delay

Seq 3x16/6x32 trigger - have the option to save variable steps with each pattern change or storage. For example, Pattern 1 has four steps, pattern 2 has 8 steps and pattern 3 has 5 or 6 steps. All these can be triggered during a seq'd project. This way it could save space instead of having a different object for different steps and patterns.

Seq 3x16 will have (16x3rd power) steps variations.
Seq 6x32 will have (16x*6th power) steps variations.

Seq 3x16 - add a level cv out for the option to have all16 sliders to control filters, synth drum levels, 3xOSC cv freq, res, and vca. I can hear some wicked modulations with the sliders.

-Adding Freq CV to drums
-Random button to 3xOSC is difficult since the way the knobs work they were not meant to be set to a value and actually change position, except when you do a global randomize.  I want to add my own knob control soon so I can do what I want with it.
-Adding Notch filters
-Adding the ability to change the max step with each pattern to the 6x32 sequencer.  Can't do it on the 3x16 because right now the max step is global and affects all channels.
-You can actually use the V/OCT out of the 3x16 sequencer to modulate parameters.  If you need to attenuate the output then use a Befaco Dual Attenuator to adjust the value.

CV on the drum freq sounds pretty cool actually.

Done

Its all good. Major Thanks

Here is a video link to your latest updates that I had used thus far at https://www.facebook.com/browneditor/videos/10154908218041360/.

I am not on facebook.

Which facebook are you on?

Sorry. I read your post wrong. I will send you a another link.

Here is my YouTube account link for the the music comp at https://youtu.be/1zYm_TpuMfQ.

Very cool, thanks.  Sounds like the cosmic radio tuner :)  Hammering the SEQ 3x16 nice to see...

Thanks!!! I will continue to push the envelop on your devices as time goes by.

MSHack,
How can we choose the exact tempo in the Master Clock device? It takes a few seconds just to select 121 from 120. You always wind up with the sub numbers over or under.
The Seq 3x16 has a copy feature from step to step, but what if I wanted to copy step 4 to 8 & 12. Is there a way to do that without painstakingly trying to match each slider and pattern from one step to a skipped step.
How would I be able to copy one pattern to another in the Seq Triad 2 device. I am not seeing a copy like the Seq 3x16. If space is an issue, I can work around it.
Many Thanks,
Omar Brown

Use CTRL when turning a knob to do finer increments.
No you can only copy to next on SEQ 3 and the Triad sequencer I actually had the same thing but removed it.
Let me think about how to copy to a specific pattern.

Perhaps hit copy with the current pattern selected and then the next pattern you select it will copy to.

Its not working for me. I will try another way.

oh the copy thing was just an idea, haven't implemented it yet.

Oh Okay, Sorry.


Any way to update an icon font via codepush?

I know that fonts need to be bundled with the binary, but is there any way to import a font file from the js side of things ( like have a reference to a ttf in xcode and then update that ttf when adding a new icon?
I saw issue #342 but I think this is different because I'm looking to update a current file, not add a new one
Any ideas?

Hi, as far as I know this is not possible. Anyway, this should be opened at the CodePush repository not here 😸 I know that expo fetches and loads fonts over HTTP, but will likely require native support and a wrapper.

@oblador it would be great if you revisited this issue,
The reason why fonts are so hard to update OTA is because the fonts live on the native side of the codebase. If there was a way to load fonts from the javascript side, using require or some other mechanism we'd solve this problem for free, and also simplify library updates in the process! (RNVI with no native dependencies)
Expo currently exposes a loadAsync method which allows you to load fonts dynamically at runtime
Let me know your ideas because I don't have a firm understanding of tradeoffs + limitations of doing this, Cheers!


Inference net4000_g_latest fine tuning, results are black images

Hi, I finetuned the model using [finetune_realesrgan_x4plus_pairdata.yml] for about 5000 iterations and some other settings like:
  batch_size_per_gpu: 1

setting learning rate from 1e-4 to 1e-3 and changing this:
 scheduler:
    milestones: [4000]

  total_iter: 4000

Rest as it is.
Total epochs count was 3 only, as I was using colab I done these settings for faster training. But, after obtaining the new weights when I tested with inputs, the results I got were complete black images. What could be the possible issue ? Training eta : 22 mins.
@xinntao

I am also experiencing the same problem. Have you solved it?


B 19889 UI estimatedprice main

[!IMPORTANT]
Do not merge into main until #12975 is merged.

Int PR
Agility ticket
This branch does have commits from B-19888 in it.
To test:

Run make tasks_save_ghc_fuel_price_data. If you don't run this, you won't see a price for the Fuel Surcharge (FSC) service item.

Create a shipment in the prime sim, and make sure to provide an estimated weight.

Approve the shipment as the TOO.

Check the MTO page and scroll down to the service item section. You should see the estimated price for the service items, as long you provided an estimated weight as the prime.

For DLH, DSH, FSC , DOP, DDP, DPK, and DUPK, you should see prices.

Make another shipment, without providing an estimated weight.

Approve as TOO, check out the MTO page. You should see "Estimated Price: -" instead of prices for the above service items.

Screenshots

Just needs a happo check

Accepted happo. Awaiting upstream

Upstream PR has been merged into main, good to review

Happo check failing again


Tileset editor breaks if you open and close it enough times (3.4beta regression)

Godot version
3.4-beta4
System information
Windows 10
Issue description
See title. By breaks, I mean that the grid is gone and it's impossible to select tiles or add new ones.
Steps to reproduce

Make a TileSet
Open and close the editor until it breaks

Minimal reproduction project
No response

Tileset editor buttons becomes non responsible(couldn't add collision, autotile, navigation...) grid becomes invisible. Until you zoom in or zoom out... can you confirm that?

Oh, zooming in and zooming out fixed it. Yes, I can confirm that.

@boruok @ShatReal Can you reproduce this in 3.3.3?

No, I can't.

If you can compile the engine from source, you could look into bisecting the regression to greatly speed up troubleshooting.

If you can compile the engine from source, you could look into bisecting the regression to greatly speed up troubleshooting.

You can test 3.4 beta 1 through beta 4 first to narrow it down.
I've tried on 3.4 beta 4 but I don't understand what the bug should be exactly, the description is a bit short. Could you add screenshots or a video that demonstrate where the bug happens and how it looks like?

The bug appeared in beta3, beta2, and beta1. So something in beta1 caused it.

alright folks, that was a stressful day for my potato machine, but looks like we found it.
bruteforce steps taken:

generated commit log with git log 3.3.3-stable..3.x > log.log
cut list into 2 chunks, select random commit, download repo at specifc commit with -> https://codeload.github.com/godotengine/godot/zip/hashcode, build it, if tileset editor works -> bug is upper, if not -> lower. Repeat until you find it.
found it by reverting this commit -> https://github.com/godotengine/godot/commit/c8868fcaab22fbe81d88a0afcaecf222cd362e0a

can anyone confirm that?

cc @HaSa1002

Using Zylanns editor debugger plugin, I may found what is happening (or isn't).
Working:

Non-working:

I honestly don't think that my change is the root of the evil and rather a symptom. (We would see regression in way more cases)
I don't really know the TileSet editor code so it may take me time to figure things out. Before I do that, I will try to recreate the bug

The node in question in code (tile_set_editor_plugin.cpp) is workspace. However, it is used in 194 cases. From the looks of it, the control node is updated manually, so I guess it doesn't call update after a size change, because of the previous behaviour

alright folks, that was a stressful day for my potato machine, but looks like we found it.
bruteforce steps taken:

generated commit log with git log 3.3.3-stable..3.x > log.log
cut list into 2 chunks, select random commit, download repo at specifc commit with -> codeload.github.com/godotengine/godot/zip/hashcode, build it, if tileset editor works -> bug is upper, if not -> lower. Repeat until you find it.
found it by reverting this commit -> c8868fc

FYI, the steps you performed are called "bisecting", and there's a built-in Git tool to do exactly that which could have saved you some time :)
https://docs.godotengine.org/en/latest/community/contributing/bisecting_regressions.html

A drive-by observation:

https://github.com/godotengine/godot/commit/c8868fcaab22fbe81d88a0afcaecf222cd362e0a changed the order of the _size_changed(); call in relation to the data.updating_last_minimum_size = false; line: https://github.com/godotengine/godot/blob/489b49c6b89f68b9f3cc3f8a9579c6ed1e2fdf82/scene/gui/control.cpp#L290-L303

The value of data.updating_last_minimum_size is used here: https://github.com/godotengine/godot/blob/489b49c6b89f68b9f3cc3f8a9579c6ed1e2fdf82/scene/gui/control.cpp#L2494-L2521

So, perhaps try something like this instead (untested, manually edited):
diff --git a/scene/gui/control.cpp b/scene/gui/control.cpp
index bff3024e38e..76ceef27821 100644
--- a/scene/gui/control.cpp
+++ b/scene/gui/control.cpp
@@ -285,15 +285,11 @@ void Control::_update_minimum_size() {
 	}

 	Size2 minsize = get_combined_minimum_size();
-	if (minsize.x > data.size_cache.x ||
-			minsize.y > data.size_cache.y) {
+      if (minsize != data.last_minimum_size) {
 		_size_changed();
 }

 	data.updating_last_minimum_size = false;

 	if (minsize != data.last_minimum_size) {
 		data.last_minimum_size = minsize;
 		emit_signal(SceneStringNames::get_singleton()->minimum_size_changed);
 	}
 }

I'd be inclined to test this by printing out the Controls that are traversed before/after the minimum size change.
Although I note that I don't know what the relationship is between e.g. data.size_cache.x and data.last_minimum_size values are either.

Fixed by #55059.


feat(shuttle-axum) Make AxumService generic to be able to use state

Description of change
Made AxumService generic to be able to use it with axum::State and updated the From impl for it. This won't have any impact on existing usages as it defaults to the unit type, e.g.:
pub struct AxumService<S = ()>(pub axum::Router<S>);

I also created an axum/with-state example to test this, let me know if you want this in the examples repo.
How Has This Been Tested (if applicable)?
Built all the axum examples with it.

@joshua-mo-143 Heads-up on this, might require some changes to the articles, in a good way! :)

This PR looks good to me. I have few notes:

Shuttle docs for axum go through some examples and I am wondering if an example with axum state is a good candidate for the page: https://docs.shuttle.rs/examples/axum.
It would definitely help bringing over the axum-state example to shuttle-examples after merging this.

So I would say that it would be great if we can get across associated PRs across shuttle-docs and shuttle-examples that reference this PR. I would not block this PR for the docs or example, but I think it would be an invisible feature if not documented and shown in action.
@morlinbrot what are your thoughts?

Hi, thanks for mentioning me @ivancernja. First of all, good work @morlinbrot.
Please correct if wrong but it looks that there's no immediate changes required to docs as the previous usage for state within Axum is basically the same as it is in the created example.

Please correct if wrong but it looks that there's no immediate changes required to existing docs beyond adding the example as the previous usage for state within Axum is basically the same as it is in the created example.

No immediate changes are required to the existing docs, only adding the new example as a new way to provide axum state. I think that before the alternative was to implement an extension (and still is), but seems like the state is the recommended way of doing it: https://docs.rs/axum/latest/axum/index.html#middleware.

I agree, @iulianbarbu, no change to the docs is required since it's strictly adding new functionality and the old way of doing things will keep working and this can be merged independent from my example or an update to the docs.
I will put up my example as a PR for the shuttle-examples repo, I'd be happy to add to or update the documentation, @joshua-mo-143, let me know if I should do that.


Cannot find module react-dev-utils/ForkTsCheckerWebpackPlugin (create-react-app 2.1.5)

The ForkTsCheckerWebpackPlugin file is missing in react-dev-utils version 7.0.3 used by create-react-app version 2.1.5

@ipselon how did you solve this?

Hi @stromsky,
I have a fork of create-react-app, and when I merged the last changes from the master branch, I got the above error.
I found out the last changes have lines not included in the 2.1.5 version release. So, I've merged my fork with changes from 2.1.5 tag instead of the entire master branch.


[Discussion] Another formats for example

Can I use WAV, AIFF, FLAC as example files?

You can use any audio format that would be supported by ffmpeg. We currently support export with following codec :

WAV
MP3
OGG
M4A
WMA
FLAC

@Faylixe when using a codec such as M4A, would it be the same as exporting to WAV and then using ffmpeg to convert (lossily) to M4A? Or does it export directly to M4A without loss?


Bad state: field does not exist within the DocumentSnapshotPlatform

The relevant error-causing widget was:
StreamBuilder file:///C:/drive1/test/lib/main.dart:99:12
When the exception was thrown, this was the stack:
#0      DocumentSnapshotPlatform.get._findKeyValueInMap (package:cloud_firestore_platform_interface/src/platform_interface/platform_interface_document_snapshot.dart:82:7)
#1      DocumentSnapshotPlatform.get._findComponent (package:cloud_firestore_platform_interface/src/platform_interface/platform_interface_document_snapshot.dart:98:41)
#2      DocumentSnapshotPlatform.get (package:cloud_firestore_platform_interface/src/platform_interface/platform_interface_document_snapshot.dart:113:26)
#3      DocumentSnapshot.get (package:cloud_firestore/src/document_snapshot.dart:49:43)
#4      DocumentSnapshot.[] (package:cloud_firestore/src/document_snapshot.dart:56:41)
...

Hi @dragonemperor03
From what I can see, the issue is related to a FlutterFire plugin rather than to Flutter itself. Please open the issue in the dedicated repository.
Closing, as this isn't an issue with Flutter itself.
If you disagree, please write in the comments,
providing your flutter doctor -v, your flutter run -v,  your pubspec.yaml
a minimal reproducible code sample that does not use 3rd party plugins,
and I will reopen it.
Thank you


Don't include Bulma library directly

This is a minor thing, but it bugs me. GitHub lists this project as a CSS project because the Bulma CSS library is such a large file that it overshadows the JavaScript in this repo.

We could pull in Bulma from a CDN, which might not be desirable since this is a standalone app and not a web site. We could also probably include Bulma via an npm package.

I don't see any reason we shouldn't use a CDN. We already require a internet connection for the fetching of filters, so the app isn't really something that could ever be used offline.

Slightly off-topic: Are you liking Bulma?

I do like Bulma! I've used it for a couple projects now and it has stayed out of my way while providing useful utilities. I really like the column system with how you can just omit the sizes by default and it will make them all equal width. I like trying new CSS frameworks but I don't often stick to them for more than one project because they end up being more hassle than they're worth, or they don't have enough to handle all my use cases. I think Bulma is the only one I've really stuck with besides Bootstrap.
https://github.com/cheshire137/soma-chrome is another project of mine using Bulma.


explorer: run analyze once

Summary

Currently, it is needed to click Analyze in both Program Analysis and Rule Generator. It would be cool that it is only needed to run it once and appears in both views.
This would also allows us to run analyze by default when openning the explorer. In the way it is implemented now, we could run it for program analysis when the user only want to use the generator.
I wonder if this would allow us to remove the analyze button completely (is there a reason to want to analyze twice? :confused:)
Motivation
I would like to save some clicks every time I open capa explorer.
Describe alternatives you've considered
Adding an option to run the analysis in the program view when loading the capa explorer helps to automate opening capa explorer for program analysis and it is easy to implement (PR coming). But I think the propose in this issue is a better approach.

Thank you for the feedback @Ana06! Originally we removed the functionality to automatically analyze because we had yet to implement a means for users to cancel the analysis (in case of long run times). We then realized that there may be some situations where a user may not want analysis to run automatically e.g. they only want to use the rule generator. There may also be instances where a user needs to run program analysis twice e.g. they've added a new rule(s) and need to run analysis again for the rule(s) to be included.
The reason for both program analysis and rule generator having Analyze buttons is because these buttons kick off two different types of analysis. The program analysis Analyze button kicks off analysis for the entire program loaded in IDA. The rule generator Analyze button kicks off analysis for only the function currently displayed in the IDA disassembly view (this speeds up analysis time significantly for the rule generator). The intention here is to give the user more control over which function is being analyzed by the rule generator, independently of the program analysis performed in the other tab.

@mike-hunhoff thank you for the answer! 😉 This makes sense. Is there a way to indicate this to the user? I hadn't realised that in the rule generator the analysis is only done for the current function. Maybe we can make this more intuitive. What about changing Analyze by Analyze current function in the rule generator? 🤔

I like Analyze current function but it feels a little long for a button name. What about Generate or something? This at least makes it apparent that it does something different from Analyze.
Unfortunately the Analyze button is a single button that programmatically follows different execution paths depending on the tab that is selected. So modifications to the button text will require a little more work on our end.


Use tmpdir for testjob to import lib

What type of PR is this?
Bug
What this PR does / Why we need it?
The current backplane testjob create will import the library by encode&decode it to ./lib.sh.
The ./ directory is /root which doesn't have sufficient permission for the script to write a ./lib.sh file.
This PR changes it to /tmp/lib.sh to fix the permission issue.
Reproducer:

Create a test script, which has a line:

source /managed-scripts/lib/sftp_upload/lib.sh

Run ocm backplane testjob create, then check the log.
It will show error:

❯ ocm backplane testjob logs openshift-job-dev-xn9qz
/bin/bash: line 14: ./lib.sh: Permission denied

Changing to /tmp/lib.sh can solve the problem.
Which Jira/Github issue(s) does this PR fix?
Resolves #
Special notes for your reviewer
Pre-checks (if applicable)

[ ] Ran unit tests locally
[ ] Validated the changes in a cluster
[ ] Included documentation changes with PR

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (276d8f0) 44.25% compared to head (e92e3bc) 44.25%.

Additional details and impacted files

@@           Coverage Diff           @@
##             main     #347   +/-   ##
=======================================
  Coverage   44.25%   44.25%
=======================================
  Files          54       54
  Lines        4108     4108
=======================================
  Hits         1818     1818
  Misses       2025     2025
  Partials      265      265

Files
Coverage Δ

cmd/ocm-backplane/testJob/createTestJob.go
71.15% <100.00%> (ø)

/lgtm


Irohad release reports version without tag or branch

root@925227c5f28d:/opt/iroha_data# irohad --version
irohad version 0a8da15

#1578


Expected tensor for argument #1 'indices' to have scalar type Long; but got torch.IntTensor instead (while checking arguments for embedding)

Getting this error while running sample on windows 10, torch 1.7.1
Traceback (most recent call last):
File "main.py", line 116, in
main()
File "main.py", line 74, in main
logging.info('Test Before Training: ' + runner.print_res(model, data_dict['test']))
File "xxx\ReChorus-master\src\helpers\BaseRunner.py", line 221, in print_res
result_dict = self.evaluate(model, data, self.topk, self.metrics)
File "xxx\ReChorus-master\src\helpers\BaseRunner.py", line 197, in evaluate
predictions = self.predict(model, data)
File "xxx\ReChorus-master\src\helpers\BaseRunner.py", line 212, in predict
prediction = model(utils.batch_to_gpu(batch, model.device))['prediction']
File "xxx\lib\site-packages\torch\nn\modules\module.py", line 727, in _call_impl
result = self.forward(*input, **kwargs)
File "xxx\ReChorus-master\src\models\general\BPR.py", line 30, in forward
cf_u_vectors = self.u_embeddings(u_ids)
File "xxx\lib\site-packages\torch\nn\modules\module.py", line 727, in _call_impl
result = self.forward(*input, **kwargs)
File "xxx\lib\site-packages\torch\nn\modules\sparse.py", line 126, in forward
self.norm_type, self.scale_grad_by_freq, self.sparse)
File "xxx\lib\site-packages\torch\nn\functional.py", line 1852, in embedding
return torch.embedding(weight, input, padding_idx, scale_grad_by_freq, sparse)
RuntimeError: Expected tensor for argument #1 'indices' to have scalar type Long; but got torch.IntTensor instead (while checking arguments for embedding)

Maybe it's the problem caused by PyTorch version (mine is 1.0). The direct solution is converting uid and iid to LongTensor in the beginning of the forward function:
u_ids = feed_dict['user_id'].long()
i_ids = feed_dict['item_id'].long()

Maybe it's the problem caused by PyTorch version (mine is 1.0). The direct solution is converting uid and iid to LongTensor in the beginning of the forward function:
u_ids = feed_dict['user_id'].long()
i_ids = feed_dict['item_id'].long()

Thanks a lot for your quick reply! this works

Thanks a lot for your quick reply! this works


Rename default value of HAYHOOKS_ADDITIONAL_PYTHONPATH

Currently, it is opt/custom-components. I recommend renaming it to opt/custom_components for improved consistency with Python naming conventions. This change will facilitate more intuitive imports, such as:
from custom_components.some_custom_component import MyCustomComponent

Hi @alex-stoica do you mind opening a quick PR? I'll review and merge!

@masci @alex-stoica is there anything special needed to import custom components?
My HAYHOOKS_ADDITIONAL_PYTHONPATH is set to /opt/custom_components and I see the files on my container. When attempting to import the pipeline, I am greeted with this error message:
Error deploying pipeline: Unable to parse Haystack Pipeline ingest_pipeline: Component 'custom_components.ocr_pdf.OCRPDFToDocument' not imported.
My pipelines run fine locally (using the same custom_components folder in my local environment) and pipelines without custom components are also correctly imported.
I have a simple docker compose too:
services:
  hayhooks:
    container_name: hayhooks
    image: hayhooks:local
    ports:
      - 1416:1416
    volumes:
      - ./pipelines:/opt/pipelines
      - ./custom_components:/opt/custom_components
      - ./data:/data
    healthcheck:
      test: ["CMD-SHELL", "curl --silent --fail localhost:1416/status || exit 1"]
      interval: 120s
      timeout: 30s
      retries: 3
    env_file:
      - .env
networks:
  default:
    name: local

Ok, got it. I had to remove "custom_components" from my yaml. The type simply became type: ocr_pdf.OCRPDFToDocument

@karbasia what I did to work is
    environment:
      - PYTHONPATH=/opt

In my docker file + maintained custom_components in my pipeline yaml
A working example I used is in https://github.com/deepset-ai/hayhooks/pull/27 (with the only difference that - HAYHOOKS_ADDITIONAL_PYTHONPATH=/opt/custom_components is no longer necessary as this PR already was merged to the main branch
Anyway, I guess that removing custom_components works too

Thanks for the info! I ended up revisiting my configuration and updating my custom_components mounts so that I can keep the custom_components in my imports and yaml.
Your solution is much cleaner though, so I'll make the necessary adjustments.


Enhancement freeze

Hey all,
Since the release of Faker 1.9.0 last week the team decided that we will freeze the minor versions for the 1.x stream. This means that no new functionality will be added for 1.9 and that there won't be a 1.10 in the future. For the 1.x stream only bug fixes will still be applied.
You may be wondering what to do next with my great ideas for Faker. Let me first get this straight that we are very very grateful for all the Pull requests that we are receive weekly from our community. However since we are currently in an open discussion on how the new structure of Faker 2.0 should look like #1807, there is no way for us to handle all these new enhancements at this point. One of the topics where we are absolute sure about is that all the locales with be remove from the core.
So if you want to make your own locale provider in the future or anything like that, please hold your horses for now, join the discussion so we can get Faker 2.0 up and running as fast as we can

Hey @pimjansen,
I use this project frequently as a helper for testing scenarios and it helped me a lot. I understand the intention of moving forward to an improved new major version of Faker, but seeing the current date, the fixed date of the release of php 8 (26th of November) and the importance this project has in the php developer community, I would kindly ask you and the team to make an exception and release another 1.x minor version of Faker. The current php version constraint does not allow a usage under php 8, but I’m sure many projects are already in preparation of trying to migrate to php 8 or will definitely do it after the 26th of November.
I don’t think that it’s realistic to say, that Faker 2.x is close to a release or that it will be released before php 8, seeing the current state of progress on it. Would you and other team members mind considering my proposal in doing an exception and join the ongoing discussion on my pull request #2063?
The alternative would be, that a new official fork of this project will be created which will be maintained separately for years to come, but I don’t think that this in your and the communities’ interest.


Teams libraries not listed in SDK resources

In the reference documentation for both the JavaScript and .NET SDKs the Microsoft.Bot.Builder.Teams and Microsoft.Bot.Schema.Teams namespaces are not listed/documented.

The 4.7 ref docs have now been pushed live for all three languages:

C#
JavaScript--you need to drill into the modules to find the Teams classes.
Python--there are some other issues here that we're trying to sort out separately.


Lexical blocks with tabs don't save

Link to reproduction

Payload Version
3.0.0-beta.40
Node Version
20
Next.js Version
14.3.0-canary.68
Describe the Bug
When I declare a block with tabs in the lexicalEditor features BlocksFeature don't save the data when I use it in the UI Admin.
Reproduction Steps
const TestBlock: Block = {
  slug: 'Test',
  fields: [
    {
      type: "tabs",
      tabs: [
        {
          label: "Header",
          name: "header",
          fields: [{
            name: 'quoteHeader',
            type: 'text',
          }],
        },
        {
          label: "Text",
          name: "text",
          fields: [{
            name: 'quoteText',
            type: 'text',
          }]
        }
      ]
    }
  ]
}

export default buildConfig({
  editor: lexicalEditor({
    features: ({ defaultFeatures }) => [
      ...defaultFeatures,
      HTMLConverterFeature({}),
      BlocksFeature({
        blocks: [ TestBlock ],
      }),
    ]
  }),

  collections: [
    Pages
  ],
  secret: process.env.PAYLOAD_SECRET || '',
  typescript: {
    outputFile: path.resolve(dirname, 'payload-types.ts'),
  },
  db: mongooseAdapter({
    url: process.env.MONGODB_URI || '',
  }),
  i18n: {
    supportedLanguages: { it, en },
  },
  debug: true,
  sharp,
  plugins: [
    cloudStoragePluginConfig,
    nestedDocsPluginConfig,
    seoPluginConfig
  ]
})

Adapters and Plugins
 "@payloadcms/db-mongodb": "beta",     "@payloadcms/next": "beta",     "@payloadcms/plugin-cloud-storage": "beta",     "@payloadcms/plugin-nested-docs": "beta",     "@payloadcms/plugin-seo": "beta",     "@payloadcms/richtext-lexical": "beta",     "@payloadcms/storage-s3": "beta",     "@payloadcms/ui": "beta",

This has been fixed in https://github.com/payloadcms/payload/pull/6782. Thank you for reporting this!


Search page result number bug

Describe the bug
When Paginating on search results there is a bug with the number of result i get.
The result page sad "Now showing 111 - 120 of 890" so 10 item, but there are only 8 result item

To Reproduce
Steps to reproduce the behavior:

Open : https://dspace7-demo.atmire.com/search?page=12&view=gridElement&pageId=search-page-configuration&pageSize=10&sortDirection=DESC&sortField=score

Expected behavior
10 result element

@dsipos-dev : I noticed that if we look at that same result set using the list view (instead of the grid), it appears like there are "empty" (possibly untitled?) results on that page (notice there's a collection label at the end with no title under it): https://dspace7-demo.atmire.com/search?page=12&view=listElement&pageId=search-page-configuration&pageSize=10&sortDirection=DESC&sortField=score
It also seems like this bug is specific to that single page (page 12)...if I go to page 11 or page 13, then I see 10 results on each of those pages.
This makes wonder if the problem here is that somehow untitled Collections or Items on that page are not being displayed properly or causing the search results to abruptly stop at the 8th in the list....   In fact, it looks like that 8th result on that page is an untitled Collection: https://dspace7-demo.atmire.com/collections/f1442a7d-f4a9-49ba-9a00-608da21bd519
Obviously though the UI should deal better with Untitled objects (without causing display issues)

@dsipos-dev : I noticed that if we look at that same result set using the list view (instead of the grid), it appears like there are "empty" (possibly untitled?) results on that page (notice there's a collection label at the end with no title under it): https://dspace7-demo.atmire.com/search?page=12&view=listElement&pageId=search-page-configuration&pageSize=10&sortDirection=DESC&sortField=score
It also seems like this bug is specific to that single page (page 12)...if I go to page 11 or page 13, then I see 10 results on each of those pages.
This makes wonder if the problem here is that somehow untitled Collections or Items on that page are not being displayed properly or causing the search results to abruptly stop at the 8th in the list....   In fact, it looks like that 8th result on that page is an untitled Collection: https://dspace7-demo.atmire.com/collections/f1442a7d-f4a9-49ba-9a00-608da21bd519
Obviously though the UI should deal better with Untitled objects (without causing display issues)

I checked the backend call and there is only 8 result, so possible it is a backend issue
https://dspace7.4science.cloud/server/#/server/api/discover/search/objects?sort=score,DESC&page=11&size=10

i also find different result number on page:

1 only 9 result,
46 also 9 result
49 only 8 result
68 only 5 result
69 only 9 result
70 only 9 result
72 only 9 result
86 only 9 result
87 only 3 result
88 only 7 result
89 only 9 result
that is all i found on demo dsapce

I checked the backend call and there is only 8 result, so possible it is a backend issue
https://dspace7.4science.cloud/server/#/server/api/discover/search/objects?sort=score,DESC&page=11&size=10

i also find different result number on page:

1 only 9 result,
46 also 9 result
49 only 8 result
68 only 5 result
69 only 9 result
70 only 9 result
72 only 9 result
86 only 9 result
87 only 3 result
88 only 7 result
89 only 9 result
that is all i found on demo dsapce


error in TabbedPage

hello!
i found an error  with ( CirclePageIndicator.OnDraw ),
this is Exception:
System.NullReferenceException: Object reference not set to an instance of an object.
and ScreenShot:

I can ship small fix for that. I wonder how its happening. How are creating the control and assigning its source?

this is my code:
public CarouselViewControl carView;
carView = new CarouselViewControl
{
HorizontalOptions = LayoutOptions.FillAndExpand,
BackgroundColor = Color.White,
HeightRequest = 200,
ItemTemplate = new DataTemplate(typeof(hCachedImage)),
ItemsSource = new List(),
InterPageSpacing = 10,
PageIndicatorTintColor = ColorHelper.White,
CurrentPageIndicatorTintColor = ColorHelper.DeepBlue,
ShowIndicators = true,
Arrows = true
};
AdvTask = new Thread(new ThreadStart(AutoLoopAdv));
AdvTask.Start();
private void LoadAdvList()
{
var list = new List()
{
new AdvertisItem
{
Source = "http://www.hprogram.com/JuZhenShoppingWCF/Content/img/0a66b4b48c804c3280cdeff6ae8b2e622016081212522661.png"
},
new AdvertisItem
{
Source = "http://www.hprogram.com/JuZhenShoppingWCF/Content/img/0b4e5e4800a0473d8ef1e7cda2a08e9d2016090211480779.png"
}
};
carView.ItemsSource = list;
}
private void AutoLoopAdv()
{
while (!IsClose)
{
Thread.Sleep(3000);
Device.BeginInvokeOnMainThread(() =>
{
try
{
if (carView.ItemsSource.Count > 0)
{
var index = 0;
if (carView.Position == carView.ItemsSource.Count - 1)
{
index = 0;
}
else
{
index = carView.Position + 1;
}
carView.SetCurrentPage(index);
}
}
catch (Exception)
{
                }
            });
        }
    }

it have 3 pages in TabbedPage
i Chang page  in These 3pages,  and the error happening

but if just have 2 pages ,  no error

hello!:
i found the reason of this problem;
i use CarouseView in TabbedPage,  i change page1 to page 3, one by one .
and when  click page1, the page will  jump to page1 from page 3;
and at this time :
in Code  (CirclepageIndicator.cs  - OnDraw(Canvas canvas) )
mViewPager.Adapter == null,
so the CarouseView is empty now

but  if  jump to page1 from page2,  it's  normal.
so ,why!!!!

hello!:
i found the reason of this problem;
i use CarouseView in TabbedPage,  i change page1 to page 3, one by one .
and when  click page1, the page will  jump to page1 from page 3;
and at this time :
in Code  (CirclepageIndicator.cs  - OnDraw(Canvas canvas) )
mViewPager.Adapter == null,
so the CarouseView is empty now

but  if  jump to page1 from page2,  it's  normal.
so ,why!!!!

these 2 imgs  are from urlSource,  and the ImageView is (CachedImage)

these 2 imgs  are from urlSource,  and the ImageView is (CachedImage)

i understood。。。。
if  at FormsApplicationActivity mode,  it's normal
but if at FormsAppCompatActivity mode,  it's problem
so ,the problem can fix ?  please fix it !   thank you very much !

i understood。。。。
if  at FormsApplicationActivity mode,  it's normal
but if at FormsAppCompatActivity mode,  it's problem
so ,the problem can fix ?  please fix it !   thank you very much !

http://www.hprogram.com/JuZhenShoppingDownLoad/App4.zip
this is my test project, please !

in this picture,  will error .
and you delete the red code, change the green code to [FormsApplicationActivity],  will no error

Related to #46

I am sorry to tell you that CarouselView inside TabbedPage won't work. The issue is not related to my plugin. TabbedPage somehow Dispose the view when it's not visible and doesn't load it again when swipe. I will try to find why, but you should build a custom tabs with XAML.

Take a look at issue #48.

Please check at this repo for a solution: https://github.com/alexrainman/TabbedCarouselView

If my work is helping you, please help me back: https://xamarinhq.wufoo.com/forms/nominate-a-xamarin-mvp/

This is what i have done that is community visible:

Alex has been pretty active sharing his knowledge and answering questions in StackOverflow, GitHub and Xamarin Forums.
Alex has been open sourcing Xamarin components and plugin with the community, with more of 10 repositories being maintained on GitHub.
One of Alex's Xamarin.Forms plugin, the CarouselView, is currently being pulled into the Xamarin.Forms core (xamarin/Xamarin.Forms#853). As an stable widget, this control has become the standard for Xamarin.Forms carousel screens with more that 16K downloads in NuGet and more than 100 solved and not open issues.
Another Alex's plugin, the SegmentedControl (https://github.com/alexrainman/SegmentedControl), is a big candidate to be also pulled into Xamarin.Forms core.
Plus Xamarin.Forms UI related plugins, Alex shares plugins to set app icon Badge, Google Analytics and KeyChain access.
Alex shares his knowledge about cutting edge technologies like Couchbase NoSQL and MobileIron integration with Xamarin Apps.


Idea: Restrict and merge with pipeline proposal?

Take the following two examples:
// Valid
arg
  |> f
  |> g(10, ?)

// Idea: Make this a syntax error
var h = g(10, ?)

A lot of discussion and debate centers around the semantics of the second example. However, in the first form there is no ambiguity; |> invokes immediately, making the "bind by name" vs "bind by value" debate moot.
If restricted in this manner, it could also be merged into the pipeline operator proposal, allowing us to reap its benefits probably sooner than later.
Thoughts?

I don't think restricting it to pipeline fixes the ambiguity:
let i = 10;
function updateI() {
  i++;
}

arg
  |> updateI
  |> g(i, ?);

According to the currently proposed spec, the left argument to |> is evaluated before the right, so I believe g would unambiguously be called with 11 in your example.

I don't think restricting it to pipeline fixes the ambiguity:

I wouldn't necessarily say this is ambiguous, but not yet defined. I haven't picked a specific direction (eager evaluation or deferred evaluation) in stage-0 as I want to discuss this with the committee. Once we have chosen a direction then the exact semantics will be documented, making the behavior unambiguous.
I believe this proposal has significant value as a stand-alone feature, with or without pipeline (though they definitely dovetail with each other).

You're right, it's not ambiguous; I think "argument" is a more accurate word. I will update my post.

Wow, I'm not sure what I was thinking. 😳

@rbuckton Responding to your second paragraph: I completely agree it has value, but I'm just concerned about timing. I would rather have a restricted version of this proposal land at the same time as pipeline op, than for pipeline op to land first and this one later.
Another way to think about it: the restricted version is simpler, and bundling with the pipeline op might be able to get it through the four stages faster. At the same time, a standalone partial app can exist alongside.
But who knows, maybe tc39 will like both proposals at the same time, and not be put off by this proposal's current semantic debate. I'm not sure; my suggestion is more of a process optimization than anything else.

If we restrict this proposal to only use within pipeline, we could be blocking future adoption of other parts of this proposal in light of #13, unless we also adopt #13 in the combined proposal:
const result = x
  |> ^addOne(?)
  |> ^double(?);

If we don't adopt ^ (or some other token) in a combined proposal, then the semantics would be confusing if we did adopt ^ for full partial application. For example:
// partial app, ^ marker
^f(); // () => f()
^f(?); // y => f(y);

// pipeline, no ^ marker
x |> f(); // f()(x)
x |> f(?); // (y => f(y))(x)

// pipeline, mixed with partial app with ^ marker
x |> ^f(); // (() => f())(x)
x |> ^f(?); // ((y) => f(y))(x)

If pipeline supports ? and we later add partial app using ^, it would be easy to get the two confused with undesirable results. As a result, we either need to keep the proposals separate, or abandon partial application entirely except when used with pipeline.

I am closing this issue as I strongly believe that partial application is valuable for Functional Programming outside of the pipeline use case. Additional rationale for how this proposal relates to the various pipeline proposals can be found in the explainer.


fix broken links

Fixes #989

/assign @ldemailly

/lgtm

/release-note-none

/lgtm

@frankbu: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/e2e-cluster_wide-auth.sh
73318dcc118d930c7c50a9b74a0fec36caac6d13
link
/test e2e-cluster_wide-auth

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@linsun in the future, do not merge by hand unless the robot says there is a conflict, it was going in automatically


PostCss Error

Hi,
when adding the following line to my tailwind.config.js file, my next app no longer compiles.
"./node_modules/react-tailwindcss-select/dist/index.esm.js"
The error I'm seeing is as follows
error - ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[1]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[2].oneOf[8].use[2]!./styles/globals.cssSyntaxError: Unexpected token (8:4)

Have you seen this before?

This item can be closed. It started working after recompiling...


Is there anyway to make the CPU harder?

I'm not sure what actually is the CPU 0 to 100 setting... I assumed it would be the difficulty so I set it to 100 but still the CPU is pretty easy, I gave it a meta deck but still didn't do much.

i have the same problem exqtcly is very easy

cpu cant understand all human meta decks, use simple decks like stun or heros, unlock cpu hand limit to 10, unban cards, give it monster reborn, raigeki, hand traps etc... it will probably destroy you

Konami develops the AI. They typically give the AI stronger decks / you weaker decks to compensate for the weak AI. The AI cannot play meta decks. Some people say at CPU 97 the AI plays better but I'm not certain on that.

Ok,i will try later, Thanks for the help
Στις Τρί 3 Δεκ 2024, 19:30 ο χρήστης pixeltris @.***>
έγραψε:

Konami develops the AI. They typically give the AI stronger decks / you
weaker decks to compensate for the weak AI. The AI cannot play meta decks.
Some people say at CPU 97 the AI plays better but I'm not certain on that.
—
Reply to this email directly, view it on GitHub
https://github.com/pixeltris/YgoMaster/issues/498#issuecomment-2515178152,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BM54MSPBZMCSW6QKDATBM732DXTEJAVCNFSM6AAAAABSZLYHAOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKMJVGE3TQMJVGI
.
You are receiving this because you commented.Message ID:
@.***>


Add "join" method

The collection.join(str) method joins all items in the collection using the given str and returns the resulting string value:
Example
await Collect([10, 2, 3, 4])
  .join('-')

// '10-2-3-4'

Hi @marcuspoehls !
I can do it :) Could you please assign it to me?

@marcuspoehls i have one question. What is expected in cases of:
await Collect([10,2,3,4])    join() // maybe '10,2,3,4', , according to standart Array.join
and
await Collect([10,2,3,4])    join('') // maybe '10234', according to standart Array.join

@mcvladthegoat Hey Vlad, good question! Thank you for proposing the solutions and keeping the behavior of Array#join into account. Yep, please implement these cases the way you proposed them (same way as Array#join handles them). Thank you!

@marcuspoehls thx, i'll push PR today

@mcvladthegoat Cool!


Refactor geometry input

addressing Issue #38

BOOST_CHECK_CLOSE uses percent tolerance.
0.1% here is equivalent to a 0.0001 relative tolerance.


[BUG] deleteFromInventory() function Erroring.

Using the deletefrominv function will result in this error:
Uncaught SyntaxError SyntaxError: Unexpected token < in JSON at position 1
at  (c:directory\node_modules\noblox.js\lib\asset\deleteFromInventory.js:40:66)
at processTicksAndRejections (<node_internals>/internal/process/task_queues:95:5)
To Reproduce
Setcookie to your desired cookie.
delete a owned model from your inventory.
Expected behavior
Deletes the model from my inventory
Screenshots
Errors.

Also another thing, when using .buy, it ratelimits after 2 purchases, even if the purchases are seperated by 20 seconds.
Sorry for the blurring, the name of my folders are not very appealing.

Seems the endpoint is gone now https://devforum.roblox.com/t/official-list-of-deprecated-web-endpoints/62889/69
I'll probably open a PR for this after exams.

As for purchases, those are heavily rate limited so I'm not surprised 20 seconds isn't enough.


v2

[x] Use the Jotai v2 API

Replace scope with store and context
await get()
initialValues={[[countAtom, 1]]} is replaced by createStore() and store.set()
Maybe do something with abort signals

[x] Create a useInputFieldAtom() hook, remove props from useFieldAtom()
https://github.com/jaredLunde/form-atoms/issues/18#issuecomment-1407439522
[x] Maybe add form-atoms/zod validator
https://github.com/jaredLunde/form-atoms/issues/17#issuecomment-1407415550

For consideration: https://github.com/jaredLunde/form-atoms/pull/23

[x] FormValues and FormErrors should infer fields from form instead of using fields as the generic
https://github.com/jaredLunde/form-atoms/issues/28
[x] Fix incorrect dirty value when initialValue is used
[x] Fix reset doesn't set value to the value in useFieldInitialValue
https://github.com/jaredLunde/form-atoms/pull/33
[x] Fix https://github.com/jaredLunde/form-atoms/issues/26
[x] Update CodeSandbox examples
[x] Use tsup for build step
[x] Use vitest for tests
[x] Pin package versions in devDependencies
[x] Fix GitHub build badge
[x] Remove .tsbuildinfo and types directory
[x] Add prettier to eslint config instead of running them separately

Jotai will have new API from v2 so could be updated as well.

Ahhh yes thanks for the link. Definitely need to add that to the list.

Created a next prerelease branch if you want to contribute to any of the above
https://github.com/jaredLunde/form-atoms/tree/next

jotai v2 just landed
https://github.com/pmndrs/jotai/releases/tag/v2.0.0

Awesome! Will get started on the updates

This looks amazing. Let's release!


noscript fallback solution slows down site generation

Hi,
First, thanks a lot for this Jekyll core extension :)
Issue
After updating to version v1.3.1, I've noticed that generating static websites on my local machine were taking 5 sec to 20 sec. After rolling back to v1.2.1, my website took 0.1 sec to generate.
I started investigating, and found out that the new noscript fallback feature is to blame (https://github.com/jekyll/jekyll-gist/pull/7), since it depends on a connection, instead of handling everything locally.
I understand that this feature is desirable for RSS feeds and many public facing websites, but Jekyll's speed is one of its great features.
Is it interesting having an option where users could deactivate the noscript fallback? something like:
{% gist user/1234567 foo.js noscript:false %}

It seems like, if noscript is to be deactivated, it would be best to make it a sitewide option.

gist:
  noscript: false

?

Seems reasonable to me.

There isn't a solution I really like in this case. On one hand, the HTML is true. On the other, it becomes slow by default. Jekyll 3 won't have this issue because jekyll-gist won't be bundled by default.
@benbalter: any thoughts here?


Load external denylist entries via ServiceLoader

Summary
Allow consumers to supply their own DenyListedEntrys via a ServiceLoader interface. Fixes #241.
Open to suggestions on any of the names, or if there's a preferred use of ServiceLoader (it's new to me!)
Requirements (place an x in each [ ])

[x] I've read and understood the Contributing Guidelines and have done my best effort to follow them.
[x] I've read and agree to the Code of Conduct.

The following point can be removed after setting up CI (such as Travis) with coverage reports (such as Codecov)

[x] I've written tests to cover the new code and functionality included in this PR.

The following point can be removed after setting up a CLA reporting tool such as cla-assistant.io

[x] I've read, agree to, and signed the Contributor License Agreement (CLA).

when running spotlessApply locally, I hit an error that I'm not sure what to do with. Subsequent spotless runs seemed to want to delete various files in my staging area 🤔 Have you run into this before?
> Task :spotlessKotlinExternalApply FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':spotlessKotlinExternalApply'.
> java.nio.file.FileAlreadyExistsException: /Users/mitchware/Desktop/Workspace/erawhctim-slack-lints/build/spotless/spotlessKotlinExternal/slack-lint-checks/src/test/java/slack/lint/denylistedapis/TestEntriesLoader.kt -> /Users/mitchware/Desktop/Workspace/erawhctim-slack-lints/slack-lint-checks/src/test/java/slack/lint/denylistedapis/TestEntriesLoader.kt

Same issue happened with the DenyListedEntryLoader interface.

For the spotless issue, just re-run it again without configuration cache. It's a weird issue with spotless that I don't really understand :/

@erawhctim are you still planning to finish this?


himalaya: 0.3.0 -> 0.3.1

Motivation for this change
Things done

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

[X] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[X] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[X] Fits CONTRIBUTING.md.

https://github.com/soywod/himalaya/issues/145

Result of nixpkgs-review pr 121757 run on x86_64-linux 1

1 package built:

himalaya


Small reporter fixes

Mostly minor typing/typo fixes, but also implements your alias idea and makes the Tibber test assert an exact match.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

17 of 17 (100.0%)  changed or added relevant lines in 3 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.03%) to 65.229%

Totals

Change from base Build<PHONE_NUMBER>:
0.03%

Covered Lines:
7064

Relevant Lines:
10088

💛  - Coveralls


Support for JSON Schema

Whilst I know Karate has native schema validation, my organisation declares a JSON Schema for every endpoint body (e.g. GET response or POST body) and therefore we've created a simple way for Karate testers to assert that the body matches the declared JSON Schema.
Would you like a PR for this? (Since this feature depends on an external library, I propose that it would none core addition.)

@andrewliles exactly same response as my other comment. and we have this example in the demos: https://github.com/intuit/karate/tree/master/karate-demo


Should HodModelFactory and HodMockFactory have a different API for populating?

Very minor gripe. I noticed that HodModelFactory has a function populate_mock, but HodMockFactory's companion function with similar use and arguments is called populate. Is there a reason they are different?

populate_mock requires a positional argument of a halocat and automatically triggers the whole pre-processing phase from scratch. The populate method only works after the whole pre-processing phase is done, so it is typically an order of magnitude faster. I gave them different names to stress that these functions are called in different contexts.

I see. That is a fair design decision, I was at first confused because they seem similar in their use.

Roger. Will address this in #632.


Extreme lag spikes every second

Every second the frametime appears to spike and then recover, which causes extremely annoying lag when trying to play the pack. From looking at the piechart there is an "unspecified" process consuming a lot of memory and then giving it back every second, this would be the cause of the issue but I can't figure out which mod is lagging the game. video showing frametimes

No idea. Not enough information to even make a guess. However because you've added Optifine and who knows what else, really don't know how I can support.

Issue occurred on a brand new install before adding anything.


fix: check to match the image_url of decision environment with its credential's host

AAP-26580
The image_url will be validated with the registry's host when DE is created or updated. UI shows the errors like:
During creating

During updating

@hsong-rh Can this be done when the Decision Environment is being created/updated. Since that is the first validation error we should be able to catch

Chatted with @mkanoor outside of here. I was wrong about  this not being verifiable statically. You can.
Example Happy Path:

EDA Cred w/ url my-registry.com
EDA Decision env with container my-registry.com/foo/bar:latest

User is allowed to create a decision env :+1:
Example Malicous Path #1:

EDA Cred w/ url my-registry.com
EDA Decision env with container my-malicious-registry.com/foo/bar:latest

User NOT allowed to create the decision env.
Example Malicous Path #2:

EDA Cred w/ url my-registry.com
EDA Decision env with container my-registry.com/foo/bar:latest
User edits Cred to be my-other-registry.com

What should happen here?

Example Malicous Path #2:

EDA Cred w/ url my-registry.com
EDA Decision env with container my-registry.com/foo/bar:latest
User edits Cred to be my-other-registry.com

What should happen here?

@chrismeyersfsu In this scenario, new start or restart activations with the DE will fail.
Restarting an activation with the changed Cred will popup the error message window:

Starting a new activation with the changed Cred:


New icons break on mastodon air

Recent changes to glitch-soc has introduced Material Icons from recent commits. The boost icon specifically will not turn blue on mastodon air, and looks normal without the extension.
I'm not fully sure where I am supposed to send bug reports regarding this plugin, but I found the issues page from your website. I apologize if this isn't the correct way to send bug reports.
First image is with mastodon air enabled, second is disabled.

Thank you for reporting the issue!
The new icons in Glitch edition uses svg-s directly instead of Font Awesome's css.
Good news is that this is fixable, give me few days to update the code.
However, since Glitch is forked from the upstream version of Mastodon for which Mastodon Air was written, I cannot give any guarantees to fully support this edition in the future.

Fixed in version 2.1.4


Claim number validation and display

As an analyst
I want to see the claim number
So that I know what order the claims were received
Description:
Acceptance Criteria:

[ ] Display claim number from the uploaded claims document on the Claims view
[ ] Display list of claims in descending order on claim number
[ ] Validate that the same claim number was not already used when they upload a new claim (show error message), see related #2006
[ ] Validate that they upload the same claim number document when they edit an already existing claim (show error message), see related #2006

Implementation Details

Hey team! Please add your planning poker estimate with Zenhub @marcellmueller @VB-at-Bis


ODatetimepicker not working when :min-datetime is updated

Overview of the problem
Oruga version: [0.8.3]
Vuejs version: [3.4.16]
OS/Browser: Linux Ubuntu/Firfefox 122.0.1 (64-bit)
Description
When minDatetime value is updated, ODatetimepicker stops working.
Steps to reproduce

Using the example code for Datetimepicker Min/Max Datetime from oruga docs (https://oruga-ui.com/components/Datetimepicker.html):

<section>
    <o-field grouped>
        <o-field label="Min Datetime">
            <o-datetimepicker
                v-model="minDatetime"
                placeholder="Click to select..."
                icon="calendar"
                editable />
        </o-field>
        <o-field label="Max Datetime">
            <o-datetimepicker
                v-model="maxDatetime"
                placeholder="Click to select..."
                icon="calendar"
                editable />
        </o-field>
    </o-field>
    <o-field label="Select datetime">
        <o-datetimepicker
            rounded
            placeholder="Click to select..."
            icon="calendar"
            :min-datetime="minDatetime"
            :max-datetime="maxDatetime" />
    </o-field>
</section>

import { ref } from "vue";

const minDatetime = ref(null);
const maxDatetime = ref(null);

Select a Min. Datetime
The ODatetimepicker component that uses :min-datetime doesn't work anymore.

Expected behavior
After :min-datetime is updated, ODatetimepicker works properly and the dates before the updated :min-datetime value are disabled in the picker.
Actual behavior
The ODatetimepicker component crashes after :min-datetime is updated.

@summersamara Thanks for sharing this bug!
The bug occurs because the v-model value is a computed property and the getter is always the modelValue property. So by not providing a v-model property, the modelValue is always undefined and will not be updated by the "update:modelValue" event.
I will fix this.
However, as a workaround, you can simply add a v-model ref value to make it work.

@summersamara Thanks for sharing this bug! The bug occurs because the v-model value is a computed property and the getter is always the modelValue property. So by not providing a v-model property, the modelValue is always undefined and will not be updated by the "update:modelValue" event.
I will fix this.
However, as a workaround, you can simply add a v-model ref value to make it work.

Thanks for the quick response!
Unfortunately, the workaround doesn't seem to work: I tried adding a v-model ref but I'm ending up with the same issue.

@summersamara Oh yeah, you are right, I only tested it on the development branch, not the main branch (which is the released version). My workaround unfortunately does not work on the release.
However, you can expect this bug to be fixed in the next release :)


Add service(ServiceWithPathMapping,...) to AbstractVirtualHostBuilder

.. because ServerBuilder and AbstractVirtualHostBuilder should have the
same set of service-adding methods
/cc @demongaorui

With gradle google java format plugin, we could apply format to all the codes with only one command ./gradlew :googleJavaFormat. Could you consider using it for format/style in Armeria?

No, because we are using slightly different convention internally. I would not recommend using automated code formatter for any conventions, because it often breaks handcrafted indentations, making the code look worse.

Actually, googleJavaFormat could handle the indention of codes/docs and auto format them pretty beautiful as long as codes/docs adhere to Google Java Style Guide.
Comparing to resolve [Wrong Import Order] alike checkStyle issues and manual format check cost, some compromise for rare intentioned special indention cases are not that critical. Further more auto formatters are improving as well. Give it a try, maybe you will like it.
While, if auto formatters have conflict with your Corp internal convention, then maybe find a way to auto apply your convention is better IMO. But this is a little out of scope of this PR. Could discussion this topic again in future.
For this PR, no more concerns, only https://github.com/line/armeria/pull/731#discussion_r134679934 left now 😆


Windows version detection is incomplete: the build number is missing

What is the current behavior?
Windows version is detected incompletely. The correct OS Windows version is 10.0.17134.137. However, the browserProviderPool.getBrowserInfo method from the testcafe-browser-tools package detects version as 10.0.0:

The proper version is the following one:

What is the expected behavior?
The version is determined correctly as 10.0.17134.137.
How would you reproduce the current behavior (if this is a bug)?
Run any test case on Windows 10 Version 1803 Build 17134.137.
Specify your

operating system: Windows 10 Version 1803 Build 17134.137
testcafe version: 0.22.0
node.js version: v10.4.0

It's not a bug. TestCafe displays the version which useragent module retrieves from browser's navigator.useragent property.


Hides details of exception on Artisan CommandNotFoundException

Concerning the Laravel adapter, when running the artisan CLI, the user may use a command name that don't exist. This PR addresses the hide of the detail of that specific exception Symfony\Component\Console\Exception\CommandNotFoundException.
Before:

After:

Hey @freekmurze! Can I have your opinion about this?

For what it's worth: I like this change 👍

@freekmurze Thanks buddy!


fix(refinementList): prevent XSS via routing

There's a security issue with the refinementList widget when relying on its default template and routing.
Security issue demonstration →
Why this is an issue
Malicious users could inject some JavaScript code via the URL to get specific information. This is Cross-Site Scripting (XSS) vulnerability.
Why this happens
We use {{{highlighted}}} in the default item template of the refinementList widget. The triple braces in Hogan.js means that it doesn't escape the value, and uses the setInnerHTML method under the hood. Therefore, HTML can be injected. The issue comes from the fact that we allow users to select refinement list items from the URL, which means that it's not safe to use this method.
We use triple braces in the template because when SFFV (Searching For Facet Values), we highlight the matches with HTML tags. This specific case is not as dangerous because we don't synchronize the SFFV values in the URL.
This solution
We can switch to using {{highlighted}} by default. This means that HTML won't be interpreted. When we detect that we're coming from a search (props.isFromSearch in the RefinementList component), we can safely rely on {{{highlighted}}} because SFFV are not synced with the URL.
We therefore conditionally use the "dangerous" value when it cannot come from the URL.
Migration plan
This solution is the one that I think will be the less transparent for users. Very few (if not none) users must rely on facet values containing HTML and the triple brace Hogan syntax. If so, this fix is more important than considering this as a breaking change to speed up the adoption of the next minor version. We'll therefore be explicit about this security fix in the changelog if ever it breaks some apps, which again, is very unlikely.
Other considerations
Vue InstantSearch is vulnerable to the same attack. This happens because we rely on innerHTML in the ais-highlightcomponent.
We should be more careful with values generated from the URL. This will also be true with values injected in the UI state more generally. We should think about rejecting values that cannot happen, since you're not supposed to be able to generate facet values via the URL. This is out of scope for now.
We can delay the documentation for this new isFromSearch template property. We shouldn't wait for the documentation update in the templates section before releasing a new version.

@Haroenv As explained in the post, this happens in Vue InstantSearch, not in the other framework-based flavors.