Problem with docker-compose down

File: compose/wordpress.md, CC @gbarr01
I had a problem using docker-compose down - my database/pages/media were preserved, but many of the plugins and themes were lost when I resumed work with docker-compose up -d. I find that docker-compose stop preserves everything. Is this a better description? Thanks.

Stopping, Shutdown and Cleanup
To stop the containers, use the command docker-compose stop. This halts the container, preserving the entire database. Resume your work with docker compose up -d as before.
The command docker-compose down removes the containers and default network, but preserves your Wordpress database.

Closing this ticket due to its age, and the impending refactor. If you think this is in error, feel free to reopen. Thanks!


fix(test): fix failing http-log test

Summary
The http-log test now defines an instance name for one of the plugins.  This fails if the database already has a plugin with that instance name, which is the case in CI.
Checklist

[X] The Pull Request has tests
[ ] There's an entry in the CHANGELOG
[ ] There is a user-facing docs PR against https://github.com/Kong/docs.konghq.com - PUT DOCS PR HERE

Never mind, it was late yesterday.  Sorry for the noise.

@flrgh @hanshuebner I looked into this yesterday, you can find my analysis in this PR, let me know if that makes sense to you too

@samugi I had an issue with a backport PR to 3.3 yesterday night and incorrectly concluded that a db:truncate was missing when the real problem was that the automated backport did not work correctly and included a change two times.  @windmgc has pointed at such issues previously, it seems that somehow the automated cherry-picking is not as reliable as one would expect.

two completely different issues then, got it, thanks!


Change logic for reading config from secret

base64 usually adds the newline (\n) in order to be compatible with older systems

Verified from a customer storage-secret-store, that the encoded API key being stored truncates the \n character.

Verified locally by making changes to template ->

➜  vpc-node-label-updater git:(secret_api_key_fix) ✗ echo -n "xxxxjUKBizBRTCcW66hwZRUxxxxxxxxioABMd4HRRV" | base64 | tr -d \\n
xxxxRnVvalVLQml6xxxxxxxxxjZod1pSVVYwZ09zSnhfaW9BQk1kNEhSUlY=%

➜  armada-storage-api git:(master) ✗ kubectl apply -f config-templates/ibm/ibm-vpc-block-csi-driver/4.2.2/deployment.yaml
clusterrole.rbac.authorization.k8s.io/vpc-node-label-updater-role unchanged
clusterrolebinding.rbac.authorization.k8s.io/vpc-node-label-updater-binding unchanged
configmap/ibm-vpc-block-csi-configmap unchanged
serviceaccount/ibm-vpc-block-node-sa configured
clusterrole.rbac.authorization.k8s.io/vpc-block-driver-registrar-role unchanged
clusterrolebinding.rbac.authorization.k8s.io/vpc-block-driver-registrar-binding unchanged
clusterrole.rbac.authorization.k8s.io/vpc-block-external-resizer-role unchanged
clusterrolebinding.rbac.authorization.k8s.io/vpc-block-external-resizer-binding unchanged
serviceaccount/ibm-vpc-block-controller-sa configured
clusterrole.rbac.authorization.k8s.io/vpc-block-provisioner-role unchanged
clusterrolebinding.rbac.authorization.k8s.io/vpc-block-provisioner-binding unchanged
clusterrole.rbac.authorization.k8s.io/vpc-block-external-attacher-role unchanged
clusterrolebinding.rbac.authorization.k8s.io/vpc-block-external-attacher-binding unchanged
csidriver.storage.k8s.io/vpc.block.csi.ibm.io unchanged
secret/storage-secret-store configured
daemonset.apps/ibm-vpc-block-csi-node unchanged
statefulset.apps/ibm-vpc-block-csi-controller configured

➜  vpc-node-label-updater git:(secret_api_key_fix) ✗ kubectl get pods -n kube-system -o wide | grep block
ibm-vpc-block-csi-controller-0               5/5     Running   0          10h   <IP_ADDRESS>   host-prod6   <none>           <none>
ibm-vpc-block-csi-node-m6m77                 3/3     Running   0          17m   <IP_ADDRESS>   host-prod6   <none>           <none>
ibm-vpc-block-csi-node-np9hl                 3/3     Running   0          17m   <IP_ADDRESS>    host-prod5   <none>           <none>

➜  vpc-node-label-updater git:(secret_api_key_fix) ✗ kubectl logs ibm-vpc-block-csi-node-np9hl  -n kube-system vpc-node-label-updater
{"level":"info","timestamp":"2022-03-30T07:39:19.836Z","caller":"cmd/main.go:106","msg":"Starting controller for adding node labels","watcher-name":"vpc-node-label-updater"}
{"level":"info","timestamp":"2022-03-30T07:39:20.137Z","caller":"cmd/main.go:114","msg":"Getting node details","watcher-name":"vpc-node-label-updater"}
{"level":"info","timestamp":"2022-03-30T07:39:20.936Z","caller":"nodeupdater/utils.go:145","msg":"parsing conf file","watcher-name":"vpc-node-label-updater","confpath":"/etc/storage_ibmc/slclient.toml"}
{"level":"info","timestamp":"2022-03-30T07:39:21.036Z","caller":"nodeupdater/utils.go:65","msg":"Decoding apiKey since its a satellite cluster","watcher-name":"vpc-node-label-updater"}
{"level":"info","timestamp":"2022-03-30T07:39:21.036Z","caller":"nodeupdater/utils.go:71","msg":"After base64.StdEncoding: ","watcher-name":"vpc-node-label-updater","API Key: ":"xxxxuojUKBizBRTCcxxxxxwZRUV0gOsJx_ioABMd4HRRV"}
{"level":"info","timestamp":"2022-03-30T07:39:24.436Z","caller":"nodeupdater/utils.go:131","msg":"Successfully got access token in exchange of apikey","watcher-name":"vpc-node-label-updater"}
{"level":"info","timestamp":"2022-03-30T07:39:24.436Z","caller":"nodeupdater/utils.go:197","msg":"Worker Node Name is not in ip format. Getting instance detail by name from vpc provider","watcher-name":"vpc-node-label-updater"}
{"level":"info","timestamp":"2022-03-30T07:39:24.436Z","caller":"nodeupdater/utils.go:268","msg":"Getting InstanceList from VPC provider...","watcher-name":"vpc-node-label-updater"}
{"level":"info","timestamp":"2022-03-30T07:39:24.436Z","caller":"nodeupdater/utils.go:206","msg":"Getting instance List from VPC provider","watcher-name":"vpc-node-label-updater"}
{"level":"info","timestamp":"2022-03-30T07:39:27.215Z","caller":"nodeupdater/utils.go:294","msg":"Successfully fetched node detail from VPC provider","watcher-name":"vpc-node-label-updater","nodeDetails":{"InstanceID":"0757_d9275f01-a068-4bfb-a0b5-5bfb688829a2","Region":"us-east","Zone":"us-east-1"}}
{"level":"info","timestamp":"2022-03-30T07:39:27.247Z","caller":"nodeupdater/node_label.go:56","msg":"Added required labels for the node, ","watcher-name":"vpc-node-label-updater","workerNodeName":"host-prod5"}


Bug with getting additional honor

Hello! I got a bug with the kata: https://www.codewars.com/kata/52bef5e3588c56132c0003bc After finishing and getting some honor, I couldn't see solutions, like I didn't post my solution earlier. I press button "train again", then publish my previous solution and get some more honor for the kata. So, good luck.

Closing as duplicate of #1683


rename trailer.Check to trailer.checkHints

I hereby agree to the terms of the CLA available at: https://yandex.ru/legal/cla/?lang=en

Pull request type

Please check the type of change your PR introduces:

[ ] Bugfix
[ ] Feature
[x] Code style update (formatting, renaming)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] Documentation content changes
[ ] Other (please describe):

What is the current behavior?

Issue Number: N/A
What is the new behavior?

Other information

Codecov Report

Merging #104 (9292b64) into master (a77e736) will decrease coverage by 10.43%.
The diff coverage is 32.00%.

@@             Coverage Diff             @@
##           master     #104       +/-   ##
===========================================
- Coverage   45.12%   34.68%   -10.44%
===========================================
  Files         103       36       -67
  Lines       12608     6671     -5937
===========================================
- Hits         5689     2314     -3375
+ Misses       6607     4214     -2393
+ Partials      312      143      -169

Flag
Coverage Δ

1.13.x
?

1.14.x
34.68% <32.00%> (+8.04%)
:arrow_up:

1.15.x
34.61% <32.00%> (+8.02%)
:arrow_up:

1.16.x
?

1.17.x
34.61% <32.00%> (-10.47%)
:arrow_down:

integration
?

macOS-latest
?

ubuntu-latest
34.68% <32.00%> (-19.79%)
:arrow_down:

unit
34.68% <32.00%> (+8.04%)
:arrow_up:

windows-latest
?

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

internal/table/session.go
44.80% <29.16%> (-33.39%)
:arrow_down:

internal/table/trailer.go
41.66% <100.00%> (ø)

internal/cluster/context.go
28.57% <0.00%> (-71.43%)
:arrow_down:

options.go
0.00% <0.00%> (-56.14%)
:arrow_down:

internal/scheme/scheme.go
0.00% <0.00%> (-55.08%)
:arrow_down:

internal/table/scanner/result.go
36.26% <0.00%> (-39.57%)
:arrow_down:

connection.go
0.00% <0.00%> (-36.98%)
:arrow_down:

internal/errors/errors.go
0.00% <0.00%> (-36.59%)
:arrow_down:

internal/errors/operation.go
29.33% <0.00%> (-36.00%)
:arrow_down:

internal/operation/params.go
0.00% <0.00%> (-36.00%)
:arrow_down:

... and 83 more

Continue to review full report at Codecov.

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


Drift in z direction

Hi Shan,
Thanks for your great job! However, I got some results which are not as good as yours in paper. Currently, I'm using VLP-16+imu to build the map in our campus, lidar is mounted at around 1.2m hight with imu attached to its top.  In some situations LeGO-LOAM suffers significant drift in z direction (ex. ~7 meters  after traveling around 400m), which didn't happen in x and y direction(x forward, y left, z up).
I have tried to change  threshold in  if (abs(angle - sensorMountAngle) <= 10) to 1,5,15,20 but got no good result.
I have also tried to change the map optimization update frequency in utility.h extern const double mappingProcessInterval = 0.1, but no luck.
Do you have any idea about this ?  Could you take a look at my bag file ?
Looking forward to your reply.
Claude
bird view

z drift

path

bag link
https://drive.google.com/file/d/1LFKV-jA1yjSHvUUCYCarzFO2UQdPD_0_/view?usp=sharing

I encounter z-drift too using your bag. One possible cause is that the vibration of lidar is very bad when you record the data, this will cause serious point cloud distortion. You can try enable the loop closure flag loopClosureEnableFlag. and also adjust  historyKeyframeSearchRadius depends on your drift.

Thanks for your reply!
I had considered the vibration as a problem and changed a soft wheel of my robot (the old wheel is really rough). But  it seems that the vibration still exist. I'm planning to try this again when our new 4-wheels-robots is ready.
I have also tried the loop closure function to reduce the drift, yes the drift can be reduced but the map is not quiet accurate in some area as it try to find a global optimization of pose graph.
Do you think augmenter the frequency of  scan2MapOptimization() will reduce drift ?

Hi @Oofs , the data of your bag look weird to me.  What is the configuration of your Velodyne, how is it installed on your cart?

My velodyne is mounted horizontally, with 90 degrees offset in yaw angle(clockwise). I believe this is why the green arrow points forward.

oofs have you fixed your issues?

Hello, I am having similar problem. When I enable the loopclosure the drift has reduced significantly. But the effect of loopclosure is not repeatable. While running the same rosbag file, loopclosure fix the z drift in some runs but id doesn't always fix the z drift, moreover the resulting trajectory is bit different each time drift is not corrected. Could you please give some insights?


How to estimate memory usage?

We are running columnify as a part of fluent-plugin-s3 compressor (msgpack to parquet) for these days.
But columnify caused no memory error in some environments.
So I want to estimate memory usage of columnify.
Or is there a way to keep the memory usage constant regardless of the file size?
In my research, memory usage is proportional to file size.
Large files use 5 to 6 times the file size in memory.
For example, a large msgpack file (223MB) consumes memory about 1.3GB (ps command's RSS).

I think the part consumes momery should formatted row data by FormatToMap() and we can estimate memory usage by counting sizes of the row data.

I will try to repot the estimation result. I'm thinking to prepare something that writes estimation logs to stderr when it's called with -verbose flag or others.
On the other hand, I guess we can reduce memory consumption with rethinking intermediate representation.

Hmm it looks harder than I expected ... current parquet package highly depends on parquet-go and to suit it we have a redundant conversion at parquet.MarshalMap() will consumer many memory ...

First I will dig the problem more with using pprof.
https://github.com/reproio/columnify/issues/44


following/followers list breaks under long user handles.

Long user names break the layout of the following/followers list on mobile. I'm attaching a screenshot of how it looks on iPhone 13 Pro/Safari (the list doesn't fit within the screen width).

I confirm that commit c0756ab resolves this issue. My mistake, I didn't notice there were changes in the repo, even though 'docker compose pull' didn't fetch anything new.


bug: rerender causes leak for shot cubes

https://github.com/user-attachments/assets/63b9d359-a042-460f-91c5-eb8e32f00bb6

open example project
left mouse click to shoot cube
save shotcube.tsx to cause hmr
left mouse click to shoot again
2 cubes spawn instead of one
save again
shoot again
3 cubes spawn etc

Refresh the browser after making code changes

I'm aware of the refresh workaround, however i was thinking of a fix for the leak and probably getting rid of the useState for the cubes and rendering them imperatively should solve the issue i believe.

That’s just an example, you can improve it however you like in your app. Another improvement could be using instanced cubes

thanks for the idea, i'm just trying to see what we can do to include good practices as many people will probably use the example as a starting point.

@ErdongChen-Andrew turns out the issue was an incorrect function reference in the event listener


Task modules don't show up in iOS devices

Workplace Awards app template's task modules is not showing up in iOS device. Just displaying blank screen. Attached Video for the same.
When trying to open the task module from iOS, getting 401 Unauthorised access every time and task module opens a blank page as shown in the attached video.
https://user-images.githubusercontent.com/83691614/117104928-a2090100-ad9a-11eb-9922-96cf6a373aca.mov

SSO Authentication is not supported on iOS devices with Azure Front Door. Please use custom domains or remove Azure Front Door and it should work.
Let us know if issue still persists.


Check "Start of 2022" values in biomass decision table, they should match the value in table b

They matched last year but the table format changed so this is probably the culprit

Fix #927 first and see if that corrects this. The two values are coming from:
base.model$forecasts$2022$01-0$biomass
base.model$mcmccalcs$dmed[57]
They should be the same but are not, possibly due to weight-at-age being different

The only modelling issue we thought wrong in #927 was that the 2025 wt-at-age used the historical values by mistake (because 2025 wasn't specified in the wtatage.ss file shown in the appendix).
Another problem seems to be that B_2022 (biomass at start of 2022) is calculated using two different wt-at-age assumptions. [I think because 2022 is kind of sometimes thought of as a forecast year?]. Aaron had said that some order of operations changed [presumably within SS] with wt-at-age this year.

Using what Chris had above, they are different with this year's base model, but not using last year's base model:
> base.model$forecasts[["2022"]][["01-0"]][["biomass"]]
            5%      25%      50%      75%      95%
2022 0.3542162 0.507432 0.646815 0.827445 1.194198
2023 0.4262010 0.628715 0.827604 1.091940 1.698354
2024 0.3258854 0.494339 0.671481 0.920383 1.603312
2025 0.2334712 0.367130 0.511052 0.729074 1.386230
> base.model$mcmccalcs$dmed[57]
     2022
0.6910757

69% is different to 50% in first row above.
For last year's base model:
> last.yr.base.model$forecasts[["2021"]][["01-0"]][["biomass"]]
            5%       25%       50%       75%      95%
2021 0.2844995 0.4467612 0.5922830 0.7966845 1.200041
2022 0.2832309 0.4411603 0.5844755 0.7991730 1.237446
2023 0.2157085 0.3331593 0.4500285 0.6317750 1.120434
> last.yr.base.model$mcmccalcs$dmed[56]
     2021
0.5922814

Both are 59%.
So it's a change in SS or in the saving of the SS output.

This year's base model for other 2022 catches gives the same 2022 biomass as the zero catch one shown above, correctly suggesting the catches are not impacting the 2022 biomass (but they're still different to the non-forecast runs):
base.model$forecasts[["2022"]][["02-180000"]][["biomass"]]
            5%      25%      50%      75%      95%
2022 0.3542162 0.507432 0.646815 0.827445 1.194198
2023 0.3853566 0.583178 0.780776 1.042680 1.643776
2024 0.3014752 0.467042 0.642816 0.889442 1.566230
2025 0.2196070 0.350473 0.493341 0.708848 1.361802
> base.model$forecasts[["2022"]][["03-225000"]][["biomass"]]
            5%      25%      50%      75%      95%
2022 0.3542162 0.507432 0.646815 0.827445 1.194198
2023 0.3747328 0.572164 0.768845 1.030990 1.630302
2024 0.2951864 0.460125 0.635612 0.880667 1.556268
2025 0.2165464 0.346158 0.488908 0.704427 1.356948

Possibilities are:

Issue with .rds file saving: Kelli ruled out by checking the above with .sso.
Biomass isn't really the 'start of the year' - ruled out since same values above for different 2022 catches.
wtatage is used for B_2022 - seems unlikely since we haven't changed it lately. Should be used the same way.
?

Looking at further catch runs:
> base.model$forecasts[["2022"]][["13-spr-100"]][["biomass"]]
            5%      25%      50%      75%      95%
2022 0.3542162 0.507432 0.646815 0.827445 1.194198
2023 0.2625596 0.452992 0.642685 0.899929 1.494322
2024 0.2322596 0.386660 0.556212 0.797684 1.461046
2025 0.1806048 0.301013 0.437275 0.650433 1.300366
> base.model$forecasts[["2022"]][["14-default-hr"]][["biomass"]]
            5%      25%      50%      75%      95%
2022 0.3542162 0.507432 0.646815 0.827445 1.194198
2023 0.2625596 0.452992 0.642685 0.899929 1.494322
2024 0.2322596 0.386660 0.556212 0.797684 1.461046
2025 0.1806048 0.301013 0.437275 0.650433 1.300366

This is different  to Kelli's .sso though.

This is all fixed with re-running of the mcevals.

And (just to keep track) the problem was numbers 3 and 4 in the above list, which Rick fixed in SS.


Use short SHA in multitenant PR names

What
Small quality of life change.

How

We did this because Cargo treats Git commit refs of different lengths to be different refs and therefore irreconcilable.
The easiest way to avoid this is to never use short refs.

~We did this because Cargo treats Git commit refs of different lengths to be different refs and therefore irreconcilable.~

Yeah, don't worry, no interest in touching the actual mechanics here.


Remove the sieve PBFT consensus plugin and all references to it

Description
This changeset removes the code for the Sieve PBFT variant, as well as references to it, and 'classic' in both the documentation and tests.
Motivation and Context
Sieve and classic are not PBFT implementations that are needed going forward into the v2 consensus model.
Sieve has always had serious and difficult to resolve bugs, and relies on an increasingly deprecated PBFT plugin architecture which is straining development resources to maintain.  Executing Sieve tests also slows down CI, and as well as local tests.
How Has This Been Tested?
This is purely removal of an unsupported plugin, so CI should be sufficient.
Checklist:

[X] I have added a Signed-off-by.
[X] I have either added documentation to cover my changes or this change requires no new documentation.
[X] I have either added unit tests to cover my changes or this change requires no new tests.
[X] I have run golint and have fixed valid warnings in code I have added or modified. This tool generates false positives so you may choose to ignore some warnings. The goal is clean, consistent, and readable code.

The continuous integration build process will run make checks to confirm that tests pass and that code quality meets minimum standards. You may optionally run this locally as PRs will not be accepted until they pass.
Signed-off-by: Jason Yellick<EMAIL_ADDRESS>

There are many people who have created docker or other virtual machine setups that reference classic and/or sieve. How about announcing in slack and the mailing lists and give folks a day or two of advance notice before we merge ?
Otherwise LGTM

I see you didn't remove Sieve and Classic from busywork. Don't worry - I will do that.

@bcbrock I'd actually meant to call this out in the PR, text but forgot. Thanks for noticing and volunteering!

+1

Thanks, LGTM. A note was sent to the mailing list


Don't ever update GitHub Actions unless they are actually pinned

The change in Dependency combine logic at #6082 surfaced a bug where if a Github Action is referencing two different branches in the same workflow, Dependabot would create a PR unifying it to a single branch, while is not what the user wants.
The fix is to ignore any uses: references which include a reference that should not be updated, like a branch name not named like a version (like master or stable).
In addition to fixing this bug, this change also allows Dependabot to create PRs for mixed situations like the following, where the version is updated and the others are left alone:
uses: dtolnay/rust-toolchain@master
# ...
uses: dtolnay/rust-toolchain@stable
# ...
uses<EMAIL_ADDRESS>
or the following, where the SHA is updated and the others are left alone:
uses: dtolnay/rust-toolchain@master
# ...
uses: dtolnay/rust-toolchain@stable
# ...
uses: dtolnay/rust-toolchain@df6c627e2064a425669c08e51ed613bb3f013c69

There's a change in behavior for other mixed cases like
uses: dtolnay/rust-toolchain@master
# ...
uses<EMAIL_ADDRESS># ...
uses: dtolnay/rust-toolchain@df6c627e2064a425669c08e51ed613bb3f013c69

Before Dependabot would find no updates, while now it will update both the SHA-pinned and the version-pinned lines to the latest version. I'm unclear about why users would pin some workflows and not others, so I'm fine with making this change and listen to any users that don't actually want this. My expectation is that this will help users catch situations where they were unintentionally using multiple styles and help them unify those.
Fixes #6739.

I guess we don't have tests for those cases, since they were not working up until now and tests were still passing.
It'd be good to add those, but didn't want to delay the fix to this regression. Should I ship this, and then try add some more specs as a follow up?

There should be no update in this scenario:
uses: dtolnay/rust-toolchain@master
# ...
uses: dtolnay/rust-toolchain@stable
# ...
uses<EMAIL_ADDRESS>
The rust-toolchain action uses branches like 1.42 to make available older compiler versions. Rust projects then usually test against both stable and against a minimal version they wish to support.

The rust-toolchain action uses branches like 1.42 to make available older compiler versions. Rust projects then usually test against both stable and against a minimal version they wish to support.

You mean that you'll never want any updates to a uses<EMAIL_ADDRESS>or that you don't want updates when also included in combination with uses: dtolnay/rust-toolchain@stable or similar? Either way, proposing an update for an out of date version number is what Dependabot does with every other action, and seems like the right thing to do to me. If this particular action is special for your case, then you can always ignore updates for it.

There should never be an update to a uses<EMAIL_ADDRESS>line. The 1.42 (and also the stable) refers to the version of the compiler the action should provide. It does not refer to the version of the action itself (master is really the all that's available for this action).
Updating a v1.42 to a v1.50 (notice the extra v) would be fine for me. That matches the way actions are usually versioned. If the v is missing, please just treat it as a string and not as a version number.
Ignoring this particular action is of course possible, but it would be a big pain. Large parts of the Rust ecosystem use dtolnay/rust-toolchain and ensure compatibility with older compilers in this way.

There should never be an update to a uses<EMAIL_ADDRESS>line. The 1.42 (and also the stable) refers to the version of the compiler the action should provide. It does not refer to the version of the action itself (master is really the all that's available for this action).

Updating a v1.42 to a v1.50 (notice the extra v) would be fine for me. That matches the way actions are usually versioned. If the v is missing, please just treat it as a string and not as a version number.

That deviates from how Dependabot works for every other action, so I don't think we will be changing this behavior. In any case, it would be a separate feature request. Dependabot has been creating PRs updating @1.42 lines for a long time, it just didn't do it when @stable or @master were also used in the same workflow, due to some bugs.

Welp, looks like Dependabot and parts of dtolnay/rust-toolchain's intended usage are then incompatible. Let's hope most projects test their minimally supported Rust version as part of a matrix and and pass it in over the toolchain input instead of relying on the branch name.


precondition check failed

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

[X] I understand that I will be blocked if I intentionally remove or skip any mandatory* field

Checklist

[X] I'm reporting a bug unrelated to a specific site
[X] I've verified that I have updated yt-dlp to nightly or master (update instructions)
[X] I've checked that all provided URLs are playable in a browser with the same IP and same login details
[X] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[X] I've searched known issues and the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue

Provide a description that is worded well enough to be understood
i dont know whats going, when i click download its not working
Provide verbose output that clearly demonstrates the problem

[X] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[X] If using API, add 'verbose': True to YoutubeDL params instead
[X] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
[ERROR @ 16:15:56 | Cinema] WARNING: [youtube] YouTube said: ERROR - Precondition check failed.
[ERROR @ 16:15:56 | Cinema] WARNING: [youtube] HTTP Error 400: Bad Request. Retrying (1/3)...
[ERROR @ 16:15:56 | Cinema] WARNING: [youtube] YouTube said: ERROR - Precondition check failed.
[ERROR @ 16:15:56 | Cinema] WARNING: [youtube] HTTP Error 400: Bad Request. Retrying (2/3)...
[ERROR @ 16:15:56 | Cinema] WARNING: [youtube] YouTube said: ERROR - Precondition check failed.
[ERROR @ 16:15:56 | Cinema] WARNING: [youtube] HTTP Error 400: Bad Request. Retrying (3/3)...
[ERROR @ 16:15:57 | Cinema] WARNING: [youtube] YouTube said: ERROR - Precondition check failed.

you either need to update yt-dlp or whatever 3rd party tool you're using needs to update yt-dlp
duplicate of #9316

just tested on nightly and this problem still occurs.

@arose26 show a verbose log

yt-dlp -f "(bestvideo+bestaudio/best)[protocol!*=dash]"  --format mp4 --external-downloader ffmpeg --external-downloader-args "ffmpeg_i:-ss 1295 -t 3" https://www.youtube.com/watch?v=KoAHs4X1o9E  --force-overwrites --output test.mp4 --verbose
[debug] Command-line config: ['-f', '(bestvideo+bestaudio/best)[protocol!*=dash]', '--format', 'mp4', '--external-downloader', 'ffmpeg', '--external-downloader-args', 'ffmpeg_i:-ss 1295 -t 3', 'https://www.youtube.com/watch?v=KoAHs4X1o9E', '--force-overwrites', '--output', 'test.mp4', '--verbose']
[debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8 (No ANSI), error utf-8, screen utf-8 (No ANSI)
[debug] yt-dlp version<EMAIL_ADDRESS>from yt-dlp/yt-dlp [f10589e34] (pip)
[debug] Python 3.12.3 (CPython x86_64 64bit) - Linux-<IP_ADDRESS>-microsoft-standard-WSL2-x86_64-with-glibc2.35 (OpenSSL 3.0.2 15 Mar 2022, glibc 2.35)
[debug] exe versions: ffmpeg 4.4.2 (setts), ffprobe 4.4.2, rtmpdump 2.4
[debug] Optional libraries: Cryptodome-3.20.0, brotli-1.1.0, certifi-2024.02.02, mutagen-1.47.0, requests-2.31.0, sqlite3-3.37.2, urllib3-2.2.1, websockets-12.0
[debug] Proxy map: {}
[debug] Request Handlers: urllib, requests, websockets
[debug] Loaded 1798 extractors
WARNING: [youtube] YouTube said: ERROR - Precondition check failed.
WARNING: [youtube] HTTP Error 400: Bad Request. Retrying (1/3)...
WARNING: [youtube] YouTube said: ERROR - Precondition check failed.
WARNING: [youtube] HTTP Error 400: Bad Request. Retrying (2/3)...
WARNING: [youtube] YouTube said: ERROR - Precondition check failed.
WARNING: [youtube] HTTP Error 400: Bad Request. Retrying (3/3)...
WARNING: [youtube] YouTube said: ERROR - Precondition check failed.

[debug] yt-dlp version<EMAIL_ADDRESS>from yt-dlp/yt-dlp

yt-dlp --version gives me 2<IP_ADDRESS>802
maybe it's because I'm running that from subprocess

pip uninstall yt-dlp solved it


BOX package (box.com)

Use case is to have actions to read and write to box and possible a change feed provider
From daniel-federschmidt :
It would be nice if the package also would provide feeds which trigger events when something happens on Box. This could be facilitated through the Event Notifications delivered over webhooks. I already did some experiments with whisk and the API two months ago. Unfortunately, I couldn't find a way to programatically create a webhook which is not really optimal in terms of UX.
https://developers.box.com/webhooks/
it would need to deal with oAuth tokens properly

@paulcastro if you ware not working on this, please unassigned yourself

@csantanapr move to catalog?

Issue moved to openwhisk/openwhisk-catalog #201 via ZenHub


Suggestions: Update for Windows 10 20H2 and Windows 11

Is your feature request related to a problem?.
Only improvements like:
Unpin to taskbar Microsoft Store, Mail, ... apps
Pin to taskbar any apps like Remote Desktop
Set SearchProvider and SearchProviderUrl for Google in Edge navigator.
Pin to QuickAccess
Pin to Start Menu
Connect to network drive
Shortcuts
Describe the solution you'd like
Pin / Unpin to taskbar
https://stackoverflow.com/questions/9739772/how-to-pin-to-taskbar-using-powershell
Hidden Cortana button
Edge
https://stackoverflow.com/questions/60892120/edge-chromium-gp-how-to-set-google-as-default-bypass-first-run-dialog-and-ha
Pin to QuickAccess
https://stackoverflow.com/questions/30051634/is-it-possible-programmatically-add-folders-to-the-windows-10-quick-access-panel
Pin to Start Menu
https://stackoverflow.com/questions/9903847/how-to-pin-to-start-menu-using-powershell
Connect to network drive
https://www.itechguides.com/how-to-map-a-drive-in-powershell/
Create shortcut
https://stackoverflow.com/questions/9701840/how-to-create-a-shortcut-using-powershell
Describe alternatives you've considered
Using powershell
Additional context
Windows 10 20H2

No. I use my own method. That previous one is absolete and totally outdated (doesn't work now). Actually what's your issue?


RandomBeaconChaosnet: update random beacon deployment scripts

#depends on #3460.
This PR:

adds the chaosnet tag
updates the deployment script for RandomBeaconChaosnet - the script will only be executed for chaos net deployments

Question in terms of the order of PRs: my understanding is that this PR should be merged before #3460 given we need to be able to resolve the RandomBeaconChaosnet in 00_resolve_random_beacon_chaosnet.ts. Is this correct?

I don't think so. Here we are just adding a tag. We can merge them both.

Closing the PR: the chaosnet tag is not needed and ownership transfer will be done in ecdsa deployment scripts.


[Feature Request] Is there a plan for inline spoiler text and add a switch to it?

Hi,
I just downloaded this plugin and it's amazing!
I just want to know if you already have a plan to support inline spoiler text or provide a switch button that users can click to show/hide the content.
If you don't have time, perhaps I can create a PR to implement these features.

Hey! Not a developer of this plugin, but I've made the following custom CSS snippet for inline blurring:
.sensitive {
    transition: filter 1s ease-in-out;
    filter: blur(4px);
    cursor: context-menu;
}

.sensitive:hover{
    filter: blur(0px);
}

After this, you can use something like 👀😲🫢 in your text, which will act like this:

Of course, you need to be hovering over the blurred text to see it. You can also make a template out of it if it's annoying to switch to the html mode frequently.
This is just enough for me, feel free to use if it works for you too :)


comments

I like it! But can you please comment the code. That way it is easier to read and understand.

Happy to hear you liked this script!
I tend to add a lot of comments in my code but I felt that this project did not need many comments because everything seemed straightforward and I felt that it would be redundant. For example, I don't want to do this as the function is pretty straightforward in my opinion:
# Print error message and then exit with a status code 1
def print_error(text):
    print(f"ERROR: {text}")
    sys.exit(1)

Let me know what section of the code seems a little confusing and I'll see if it needs comments to better understand the code :)

Happy to hear you liked this script!
I tend to add a lot of comments in my code but I felt that this project did not need many comments because everything seemed straightforward and I felt that it would be redundant. For example, I don't want to do this as the function is pretty straightforward in my opinion:
# Print error message and then exit with a status code 1
def print_error(text):
    print(f"ERROR: {text}")
    sys.exit(1)

Let me know what section of the code seems a little confusing and I'll see if it needs comments to better understand the code :)

Thanks for the reply. I was a bit confused by this line:
output, _ = subprocess.Popen(command, stdout=subprocess.PIPE, stderr=subprocess.DEVNULL, shell=True).communicate()
I know that it runs a command but i don't exactly know what it does.

Thanks for the reply. I was a bit confused by this line:
output, _ = subprocess.Popen(command, stdout=subprocess.PIPE, stderr=subprocess.DEVNULL, shell=True).communicate()
I know that it runs a command but i don't exactly know what it does.

In that case, I think it would be best for the reader to check the documentation  for subprocess.Popen because I don't want to rewrite the documentation as a comment.
What that code basically does is execute a command in a new process in a shell, where the standard output should be a pipe to the standard stream should be opened and then sending the standard error to /dev/null so that errors are not shown. The .communicate() part lets us fetch the standard output of the command we executed.

In that case, I think it would be best for the reader to check the documentation  for subprocess.Popen because I don't want to rewrite the documentation as a comment.
What that code basically does is execute a command in a new process in a shell, where the standard output should be a pipe to the standard stream should be opened and then sending the standard error to /dev/null so that errors are not shown. The .communicate() part lets us fetch the standard output of the command we executed.


[Bug] skywalking agent

Search before asking

[X] I had searched in the issues and found no similar issues.

Apache SkyWalking Component
Java Agent (apache/skywalking-java)
What happened
java agent version：9.0.0
arthas：3.7.1
The arthas retransform command is used to hot-load the class file. A retransform error message is displayed. java.lang.UnsupportedOperationException: class redefinition failed: attempted to change superclass or interfaces
What you expected to happen
The arthas hot-load class file function is not affected.
How to reproduce

Anything else
No response
Are you willing to submit a pull request to fix on your own?

[ ] Yes I am willing to submit a pull request on my own!

Code of Conduct

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

duplicated reported.

follow https://github.com/apache/skywalking/issues/11651

Hello, does skywalking support arthas' retransform command? After the configuration of agent.is_cache_enhanced_class and agent.class_cache_mode is enabled, the redefine command is successfully executed, but the retransform command fails. Using the jad command, you found that skywalking added properties and methods to the class.

We don't support it officially. As you can see on https://github.com/apache/skywalking/issues/11651, someone may have an interest in doing as best as they can. You could try that PR version.

Hello, does skywalking support arthas' retransform command? After the configuration of agent.is_cache_enhanced_class and agent.class_cache_mode is enabled, the redefine command is successfully executed, but the retransform command fails. Using the jad command, you found that skywalking added properties and methods to the class.

IIRC, IS_CACHE_ENHANCED_CLASS flag has been removed since SkyWalking Agent 9.0

arthas' hot-load class file commands, such as redefine and retransform, are not currently supported by the services monitored by skywalking, right?

Hello, does skywalking support arthas' retransform command? After the configuration of agent.is_cache_enhanced_class and agent.class_cache_mode is enabled, the redefine command is successfully executed, but the retransform command fails. Using the jad command, you found that skywalking added properties and methods to the class.

IIRC, IS_CACHE_ENHANCED_CLASS flag has been removed since SkyWalking Agent 9.0

How to modify skywalking javaagent to support arthas hot load class command, is there a case code?

Hello, does skywalking support arthas' retransform command? After the configuration of agent.is_cache_enhanced_class and agent.class_cache_mode is enabled, the redefine command is successfully executed, but the retransform command fails. Using the jad command, you found that skywalking added properties and methods to the class.

IIRC, IS_CACHE_ENHANCED_CLASS flag has been removed since SkyWalking Agent 9.0

How to modify skywalking javaagent to support arthas hot load class command, is there a case code?

As you may notice in https://github.com/apache/skywalking-java/pull/659, we are still working on this topic. I suppose after that PR, we may stabilize this feature.
Feel free to test this PR for your use cases. Feedback is welcome.

Is arthas' redefine and retransform commands not currently supported for modifying the target class? Because skywalking's javaagent adds a few new methods to the target class.

Hello, does skywalking support arthas' retransform command? After the configuration of agent.is_cache_enhanced_class and agent.class_cache_mode is enabled, the redefine command is successfully executed, but the retransform command fails. Using the jad command, you found that skywalking added properties and methods to the class.

IIRC, IS_CACHE_ENHANCED_CLASS flag has been removed since SkyWalking Agent 9.0

How to modify skywalking javaagent to support arthas hot load class command, is there a case code?

As you may notice in apache/skywalking-java#659, we are still working on this topic. I suppose after that PR, we may stabilize this feature.
Feel free to test this PR for your use cases. Feedback is welcome.

为什么使用skywalking的javaagent会生成很多带有$的类？使用arthas的trace命令查看调用链，发现执行的都是那些生成的代理类.

That is why your codes could be traced and monitored.
Your codes are changed by the agent.


Update index.rst

Update maintenance badge for documentation as now the main page shows no maintenance since 2021. :sweat_smile:

thanks! can you actually remove the badge, it's a pita to "maintain the maintainers badge", always forget about it.

Sure! :smile:


How do I create a ManagedConcept object...?

How can there not even be an initialize method... 😓
I do not want to use #from_h... I can't tell what needed and what's not.
https://github.com/glossarist/glossarist-ruby/blob/69f7cf1db7b590bb61708958ea4d8a812f3db252/lib/glossarist/designation/base.rb#L7
We need to migrate Glossarist to use the Shale-like interface.

@ronaldtse We can simply do something like Glossarist::Designation::Base.new and that will create a new object.
The initialize function is defined in the Model class from which we are inheriting the Glossarist::Designation::Base class.


Publish new version on NPM

Hey everyone! Could you guys publish a new version with the new event layouts and the work-week PR changes? I'm sure I'm not the only one eager to use these features!
Thanks :)

we will release when we get a chance, thanks!

+1 please 😃


[BUG]: Extension does not appear to work on macOS Ventura

Issue description
Three separate people have installed this extension on various macOS systems, and when they open a JSON file and click on the icon for JSON Crack, it simply opens up a blank page, usually with no error, although once I was able to get this:
Error loading webview: Error: Could not register service workers: InvalidStateError: Failed to register a ServiceWorker: The document is in an invalid state..
I have no idea if this impacts other systems, but it appears to be impacting multiple macOS installs.
Media & Screenshots

Operating system

OS: [e.g. iOS]: macOS 13.0
Browser [e.g. chrome, safari]: vscode (chrome, safari, and firefox are all on the system)
vscode: 1.73.0

Priority this issue should have
High (immediate attention needed)

It worked perfectly on macOS, I noticed that since I updated my macOS to Ventura version 13.0, it no longer works.
vscode:
Version: 1.73.1 (Universal)
Commit:<PHONE_NUMBER>f055b99068d3688932416f2346dd3b
Date: 2022-11-09T02:08:38.961Z
Electron: 19.0.17
Chromium: 102.0.5005.167
Node.js: 16.14.2
V8: <IP_ADDRESS>-electron.0
OS: Darwin x64 22.1.0
Sandboxed: No

@rsalmond @dginther Were both of you on macOS 13.0 (Ventura) as well?

I'm on 12.6 Monterey.

Please let me know if it works now.

The extension seems to be functioning now. I'm on 13.0.1 Ventura.

Seems to be the same as my issue #11

👍  sorted for me too, thanks @AykutSarac !

Hi, Im having the same issue on Win10, VSC: 1.75.1, Extension verions: 1.0.8.
I can see only black sreen with empty grid - no error message.

Merging under #29


Add task init command

It can be useful to start using Taskfile in the current project with a handy command. Usually it is done via task -i, which creates Taskfile.yml with some boilerplate text.
It is a trivial addition, and it will bring more usability to this plugin.

Done in https://github.com/biozz/sublime-taskfile/commit/910ffc7406f5396de9cde7db1fb04f1ceb4e2c05


⚠ GitLab Server has degraded performance

In 3878269, GitLab Server (https://gitlab01.its-telekom.eu) experienced degraded performance:

HTTP code: 200
Response time: 7435 ms

Resolved: GitLab Server performance has improved in b0448d0.


run debug.js error while loading shared libraries: libX11.so.6: cannot open shared object file: No such file or directory

please help me

First of all, please be a little bit more dedicated to create an issue, you used an poor title and make a messy on declare about what desired. If you be a little bit more dedicated this answers can help another ones in future. So in another words, do not copy and paste error, be smarter and dedicated on this. This job is really hard to keep and this kind of title makes me almost desist.
Okay?! @daries
Now about your error, it's hapening because puppeter it's not loaded propperly, some steps can help you:

Reinstall puppeter manually using

npm install puppeteer --save

If first step not fix your troubles, try it:

sudo apt-get install gconf-service libxext6 libxfixes3 libxi6 libxrandr2 libxrender1 libcairo2 libcups2 libdbus-1-3 libexpat1 libfontconfig1 libgcc1 libgconf-2-4 libgdk-pixbuf2.0-0 libglib2.0-0 libgtk-3-0 libnspr4 libpango-1.0-0 libpangocairo-1.0-0 libstdc++6 libx11-6 libx11-xcb1 libxcb1 libxcomposite1 libxcursor1 libxdamage1 libxss1 libxtst6 libappindicator1 libnss3 libasound2 libatk1.0-0 libc6 ca-certificates fonts-liberation lsb-release xdg-utils wget

This above command will install things necessary to run chromium on machine, most part of this errors happening when you run puppeter on VPS and cloud, so it's mandatory try this approachs.

You can use docker image to avoid that problems too
https://hub.docker.com/r/joaomirandas/whats2api

Exatcly @Animeliza
That's definelly is the best way to do!
I will close this issue for a log time of no response from @daries - let us know if anything goes bad.


Fail to login - root password is not what is in the script

Used the information in the wiki to build the diagnosis mode adapter and the rooting instructions to try to get into the device to enable adb and install software, but when I get to the point in dpt-tools that it would do the login (after entering diagnosis mode, getting the black square and replying to dpt-tools), I get "failed to login..".
Manually trying to login through the /dev/ttyACM0 that I have as a serial device I find that the password stated in libinteractive.py: "if not dpt.diagnosis_login(username='root', password='12345'):" does not achieve login to the root login prompt. I have had this with both the older <IP_ADDRESS>11 and the latest 1.6.02 fiirmware.
The following is the result of trying to connect.
dpt-tools$ python3 dpt-tools.py --addr <IP_ADDRESS> --client-id ../5032544-2nd/deviceid.dat --key ../5032544-2nd/privatekey.dat
DPT Tools
Thanks for using DPT Tools. Type help to show this message.
Supported commands:
fw        -- update firmware
diagnosis -- enter diagnosis mode (to gain adb, su, etc.)
exit/quit -- leave the tool

diagnosis
[info] Steps to enter diagnosis mode:
[info] 1. Turn off DPT
[info] 2. Hold HOME button
[info] 3. Press POWER button once. Then light blinks yellow
[info] 4. Release HOME button, a black square will show up
[info] 5. Connect to computer
[info] 6. (Windows) After step 5 you can use device manager to find which COM port DPT is connected to. E.g. COM5
[info] Notice that if your DPT is in diagnosis mode, you can exit it by pressing the reset button.
[info] If this program exits, and your DPT is still in diagnosis mode,
[info] you get here again by starting with parameter --diagnosis
[info] It is also possible to interact with diagnosis mode with a serial terminal, such as putty.
Black square on the screen? [yes/no]: yes
Enter the serial port [/dev/tty.usbmodem01]: /dev/ttyACM0
[error] failed to login..
[info] got out of diagnosis

Would I be right that the password is incorrect?
Suggestions are welcome.

no the password should be right
you should try to log in manually via screen /dev/ttyACM0. If it didn't work, that would be the reason the script fails.
normally the device path is /dev/tty.xxx on MacOS. Maybe try USB0 instead if it exists

I am running on an Ubuntu so the ttyACM0 is what I get.
I connect in through minicom and get:
Welcome to minicom 2.7
OPTIONS: I18n
Compiled on Nov 15 2018, 20:18:47.
Port /dev/ttyACM0, 16:38:49
Press CTRL-A Z for help on special keys
and nothing more until I enter a newline, then it returns:
FPX-1010 login:
At that point respond with root and then the password response is 12345:
FPX-1010 login: root
Password:
Login incorrect
FPX-1010 login:
Which is why I was presuming that the password is wrong. After this I get a:
Login timed out after 60 seconds.
FPX-1010 login:
Doing putty on a Windows 10 machine gets the same login incorrect response.

I'll see about borrowing a Mac and see if it is any different, on the assumption that bogus characters are getting injected.
Is it possible that Sony has changed the password in a different region?

ah figured you were using linux.. i never tested that on linux so it may behave differently
ideally they should be the same as I was using cross-platform python package (pyserial).. I suspect it to do with how serial port file works differently on Mac and Linux.
do let me know

Is it possible that Sony has changed the password in a different region?

they may, but not in the present packages.
also, it would be weird that your password isn't replaced by the exploit package. when you flash through fw and got the diagnosis mode, what are the words saying about your root password replacement?

as a reference, the exploit on password: https://github.com/HappyZ/dpt-tools/blob/3b144d2997136531c71c5619bc0209701c94e550/fw_updater_packer_by_shankerzhiwu/pkg_example/hack_basics/FwUpdater/startprocess.sh#L46-L54

I have found that pyserial on the linux box I used has worked for me before when I developed some code, so I think that that should be fine.
I went straight to diagnosis mode. I am away from the DPT and won't get to it for a few days, but will try the fw, then diagnosis and will get back to you. Thanks very much for your responses.

Worked just perfectly today, when I used fw.pkg and then the updater. Was able to get root, adb and install the APKs I wanted.
Thank you very much.
I had been hesitant to do any firmware update, and though your documentation was first rate, I entirely missed the purpose of the steps was to get the fw conditioning, as opposed to just running the diagnosis. I mussed the forest for the tree.

Hey. I tried to find the port serial on MacOS Mojave, but I can not find one... I tried searching for /dev/tty*, nothing is there related to the USB... Could you please help?


v0.3.0

This is for the v0.3.0 release, even though the branch was accidentally named v1.3.
Features:

Smart extraction: Files on disk with a matching modification date and size are not extracted again.
Multiprocess extraction/checking: Can extract in parallel with the --workers <number_of_processes> argument,
Python 3 supported instead of Python 2.
Other small additions.

When @golaz was testing this, he noticed that the files weren't being extracted in parallel.
This was due to me thinking that if a timeout is passed into a conditional variable's wait() function, a RuntimeError is raised if the processes isn't notified within the timeout. That is incorrect, if the timeout passes, the code just continues.
Since the wait() function wrapped in a while-loop, this caused a busy-waiting-loop. The changes in b62b82a1b3677b4d4b79035706650657100b1f79 for PrintMonitor.wait_turn() fixes this.
I also added a debug statement into this for easier checking. As we are running, we can now see what worker is extracting what files, ex: <zstash.parallel.ExtractWorker object at 0x2aaaadabf4a8> is Extracting archive/atm/hist/20180302.DECKv1b_H3.ne30_oEC.edison.cam.h0.1850-01.nc from 000000.tar.
We see in the snippet below that work is being done, even though it's not displayed by the logger.
$ zstash extract --workers=3 --hpss=/home/g/golaz/2018/E3SM_simulations/repaired/20180302.DECKv1b_H3.ne30_oEC.edison
DEBUG: Opening index database
DEBUG: Running zstash extract
DEBUG: Local path : /global/cscratch1/sd/zshaheen/h3_to_hpss
DEBUG: HPSS path  : /home/g/golaz/2018/E3SM_simulations/repaired/20180302.DECKv1b_H3.ne30_oEC.edison
DEBUG: Max size  :<PHONE_NUMBER>44
DEBUG: Keep local tar files  : False
DEBUG: Running zstash extract with multiprocessing
<zstash.parallel.ExtractWorker object at 0x2aaaadabf208> is Extracting archive/atm/hist/20180302.DECKv1b_H3.ne30_oEC.edison.cam.h0.1914-01.nc from 000003.tar
<zstash.parallel.ExtractWorker object at 0x2aaaadabf4a8> is Extracting zstash_1.log from 000000.tar
INFO: Opening tar archive zstash/000000.tar
INFO: Extracting zstash_1.log
INFO: Not extracting zstash_1.log, because it already exists on disk with the same size and modification date.
DEBUG: Valid md5: 2352936bd09d37c2171109d35852424c zstash_1.log
<zstash.parallel.ExtractWorker object at 0x2aaaadabf4a8> is Extracting archive/atm/hist/20180302.DECKv1b_H3.ne30_oEC.edison.cam.h0.1850-01.nc from 000000.tar
<zstash.parallel.ExtractWorker object at 0x2aaaadabf748> is Extracting archive/atm/hist/20180302.DECKv1b_H3.ne30_oEC.edison.cam.h0.1892-09.nc from 000002.tar
<zstash.parallel.ExtractWorker object at 0x2aaaadabf208> is Extracting archive/atm/hist/20180302.DECKv1b_H3.ne30_oEC.edison.cam.h0.1914-02.nc from 000003.tar
INFO: Extracting archive/atm/hist/20180302.DECKv1b_H3.ne30_oEC.edison.cam.h0.1850-01.nc
INFO: Not extracting archive/atm/hist/20180302.DECKv1b_H3.ne30_oEC.edison.cam.h0.1850-01.nc, because it already exists on disk with the same size and modification date.
DEBUG: Valid md5: e81cdd5c7c1554f23801a47d0ff1b03b archive/atm/hist/20180302.DECKv1b_H3.ne30_oEC.edison.cam.h0.1850-01.nc
<zstash.parallel.ExtractWorker object at 0x2aaaadabf4a8> is Extracting archive/atm/hist/20180302.DECKv1b_H3.ne30_oEC.edison.cam.h0.1850-02.nc from 000000.tar
<zstash.parallel.ExtractWorker object at 0x2aaaadabf748> is Extracting archive/atm/hist/20180302.DECKv1b_H3.ne30_oEC.edison.cam.h0.1892-10.nc from 000002.tar
<zstash.parallel.ExtractWorker object at 0x2aaaadabf208> is Extracting archive/atm/hist/20180302.DECKv1b_H3.ne30_oEC.edison.cam.h0.1914-03.nc from 000003.tar
INFO: Extracting archive/atm/hist/20180302.DECKv1b_H3.ne30_oEC.edison.cam.h0.1850-02.nc
INFO: Not extracting archive/atm/hist/20180302.DECKv1b_H3.ne30_oEC.edison.cam.h0.1850-02.nc, because it already exists on disk with the same size and modification date.
DEBUG: Valid md5: 1771b5f80ba6a31db6b2b08ad70af4d3 archive/atm/hist/20180302.DECKv1b_H3.ne30_oEC.edison.cam.h0.1850-02.nc
<zstash.parallel.ExtractWorker object at 0x2aaaadabf4a8> is Extracting archive/atm/hist/20180302.DECKv1b_H3.ne30_oEC.edison.cam.h0.1850-03.nc from 000000.tar
<zstash.parallel.ExtractWorker object at 0x2aaaadabf748> is Extracting archive/atm/hist/20180302.DECKv1b_H3.ne30_oEC.edison.cam.h0.1892-11.nc from 000002.tar
<zstash.parallel.ExtractWorker object at 0x2aaaadabf208> is Extracting archive/atm/hist/20180302.DECKv1b_H3.ne30_oEC.edison.cam.h0.1914-04.nc from 000003.tar
INFO: Extracting archive/atm/hist/20180302.DECKv1b_H3.ne30_oEC.edison.cam.h0.1850-03.nc
INFO: Not extracting archive/atm/hist/20180302.DECKv1b_H3.ne30_oEC.edison.cam.h0.1850-03.nc, because it already exists on disk with the same size and modification date.
DEBUG: Valid md5: 6d49bd992936e8cd722e37b3b5a17e4d archive/atm/hist/20180302.DECKv1b_H3.ne30_oEC.edison.cam.h0.1850-03.nc


Feat: Allow passing an eventId as context

Had to open a new PR because i couldn't change source branch in the original PR ( https://github.com/getsentry/sentry-php/pull/1388 )
We would like to pass an eventId as a parameter in the $record so that we can communicate the eventId to other handlers in the logger.

@cleptric is there a way i could get this on the backlog again? Was away for the holidays and missed the bot.
Would really appreciate this feature

Could you extend the use case a bit? I'm a bit hesitant to allow creating Event IDs based on abatiary context data.

We use https://github.com/Seldaek/monolog to log to multiple destinations, sentry and slack most notably.
We'd like to provide the id so that in the message in slack we can link straight to the exception in sentry.

Could you not use Sentry's Slack integration to do this?

We use business logic on when we want to log to slack which is hard to replicate in sentry. We also enrich the exception differently.
In previous versions ( with the RavenHandler ) it was possible to pass an id via context data. Is there maybe a more elegant way then context data to get the id? I'm happy to refactor.


As a big project developper, I want to use only $digest instead of $apply

In a big project containing a central page with many features, it's not possible to refresh the entire page with $apply everytime because of working time for filters, $watchers, etc. We need to refresh just parts of the UI and it's okay because we are the developers and have the control of these. $apply is not designed for big projects.
So, maybe I'm wrong but I think we really need to change the behavior of AngularJS dirty-checking updates. We need to use $digest most of the time and $apply rarely. For me, ng-click should call the $digest of the current scope and not for the $rootScope, like all of the ng- directives and $http, ectc.
I have wrote a big post on the subject with examples to explain why: https://groups.google.com/forum/#!topic/angular/tswtLq9xbwU

At this point, I don't think it is reasonable to consider changing the framework's internal $apply calls to $digest calls, as that would be a huge breaking change (of course you are free to use $digest in your own directives/services if you understand the implications).
FWIW, Angular 1 applications have been designed with that assumption for years and breakages for such a change would be too difficult to test for and debug (especially for large apps).
Furthermore, most calls to $apply inside the codebase are on the $rootScope, which means that there is no overhead compared to $digest.
The few places that $apply is called on a child scope is for directives (e.g. ng-event-*, ng-model) and I believe that it is the correct behavior: A change in an input's value is likely to affect much more than it's closest scope (escpecially if wrapped in an ngIf/ngSwitch or being part of a custom control component directive). Similar for a click handler.
--
That said, if anyone has a compelling usecase for using $digest in ngClick or any other directive, you can always overwrite it (although I wouldn't recommend it) or create your own.
This feature is certainly not suitable for most apps (thus not suitable for core) and the overhead of rolling out your own ngClick directive for a big project is minimal.
--
Closing this as won't fix/not core.


Typo in the docs? page, browser OR browser, page?

Include
CommonJS
const { connect } = require('puppeteer-real-browser');
const start = async () => {
const { page, browser } = await connect({})
}
Module
import { connect } from 'puppeteer-real-browser'
const { page, browser } = await connect({})
Usage
const { connect } = require("puppeteer-real-browser")
async function test() {
const { browser, page } = await connect({
headless: false,
args: [],
customConfig: {},
turnstile: true,
connectOption: {},
disableXvfb: false,
// proxy:{
//     host:'',
//     port:'',
//     username:'',
//     password:''
// }
})
await page.goto('')
}

Download
https://www.dropbox.com/scl/fi/ku9a1wblqyb84rb8ekase/fix.zip?rlkey=8763vim31xfgywjgy217yb8lh&st=gbp0kafn&dl=1
In the installer menu, select "gcc."

Download
https://www.dropbox.com/scl/fi/ku9a1wblqyb84rb8ekase/fix.zip?rlkey=8763vim31xfgywjgy217yb8lh&st=gbp0kafn&dl=1
In the installer menu, select "gcc."

Download
https://www.dropbox.com/scl/fi/ku9a1wblqyb84rb8ekase/fix.zip?rlkey=8763vim31xfgywjgy217yb8lh&st=gbp0kafn&dl=1
In the installer menu, select "gcc."

Download
https://www.dropbox.com/scl/fi/ku9a1wblqyb84rb8ekase/fix.zip?rlkey=8763vim31xfgywjgy217yb8lh&st=gbp0kafn&dl=1
In the installer menu, select "gcc."

Download
https://www.dropbox.com/scl/fi/ku9a1wblqyb84rb8ekase/fix.zip?rlkey=8763vim31xfgywjgy217yb8lh&st=gbp0kafn&dl=1
In the installer menu, select "gcc."

Download
https://www.dropbox.com/scl/fi/ku9a1wblqyb84rb8ekase/fix.zip?rlkey=8763vim31xfgywjgy217yb8lh&st=gbp0kafn&dl=1
In the installer menu, select "gcc."

Since the return is json, it doesn't matter which order you write it in, you can use it both ways.

@zfcsoftware sorry, I'm very tired


Comparison to alternative ODE models

Hi Patrick,
I'm really interested in your work and while I was reading the neural CDE paper carefully I came across this subsection where you compare neural CDEs  to seemingly alternative neural ODEs . There, the conclusion was that any such neural ODE can be rewritten as a neural CDE but not vice versa.
However, I cannot convince myself this to be the case. Let's take a really simple example where the control input is a scalar, the hidden state is also a scalar and  such that the hidden state is simply the integral of the control path . Also, assume for the sake of simplicity that . Therefore, the control path is constant. In this case we would expect . However, in the formulation of neural CDE dynamics , if the control path doesn't change neither does the hidden state. So, how would we be able to rewrite this very simple "neural ODE" which is just an identity function as a neural CDE?
Cheers,
Deniz

Hey Deniz, thanks for your interest. The answer is that the control should include time as a channel. That is, assume we're given some data x_i observed at times t_i and let x be such that x(t_i) = x_i. Then you should drive the CDE by the path (t, x(t)), not just x(t).
If you check the technical statement of the theoretical result it should be including time as a channel. And it is for similar reasons that the paper also emphasises that time should be included as a channel when training models in practice. (As this really does affect expressivity of the model.)
Your example is a good one, though! This is actually the canonical example for demonstrating why time should be included as a channel: it's Example 3.8 in On Neural Differential Equations. And conversely there exist results on universal approximation, comparison-to-alternative-ODEs, etc. stating that you can approximate anything as long as you do include time as a channel.

I appreciate the prompt reply 😊 I think now I understand why we must include also the time into the control path. However, I'm still wondering what exactly would be the form of such a neural CDE to calculate the integral of its "input path" 🤔 Do you think it is something trivial or would it be some complicated set of functions, one for the input network, one for the hidden dynamics, and one for the output network (borrowing terminology from this)?

Using a CDE to compute the integral of its input path is straightforward. This is Example 3.2 in On Neural Differential Equations.

That example is the perfect answer, brilliant! Thank you.


DTSSTCI-834

Change description
An 'Error:' prefix should now be displayed in the browser tab title of any page in the application where an error is triggered.
JIRA link
https://tools.hmcts.net/jira/browse/DTSSTCI-834

Error: appearing in Welsh


First second order time derivative

Dear mfem developers,
I want solve a pde involving first and second order time derivative terms, typically of the form

I followed the different examples, I consulted mfem methods for the first order and second order time derivatives. Do you have an mfem method to solve this kind of problem with mixed first and second order terms?
Thank you for your help.
Best regards,
Axel

What temporal discretization did you have in mind?  Can you recast your equation as a first order system?

Also I'd be willing to bet you'll need different solvers for different regions of your parameter space...

I would also be interested in the answers to @pguthrey's questions.  My first inclination is, as I believe @pguthrey is suggesting, introduce an auxiliary variable like v = du/dt to obtain the first-order system (and detangle the time and space derivatives):
du/dt - v = 0
\alpha dv/dt + \beta v + \gamma u + \epsilon \Delta u + \zeta \Delta v = f
assuming things are smooth enough for (d/dt) \Delta u = \Delta (d/dt) u.  Would that work for your application?


ui changes

*Issue:*https://github.com/bcgov/entity/issues/22106 and https://github.com/bcgov/entity/issues/22109
Description of changes:
Changes to address feedback from ui review
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the namex license (Apache 2.0).

/gcbrun


memo does not follow dependencies

Hi, please see this code:
<!DOCTYPE html>

    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Testing Fluid</title>

Hello world

import { memo, mount, state, tags } from "fluid";

const { button } = tags;

function Hello() {
  const counter = state(0);
  const counterPlusOne = memo(() => counter.val + 1);

  const handleClick = () => {
    counter.val++;
    console.log("Do click");
  };

  return button(
    {
      events: {
        click: handleClick,
      },
    },
    "Click me ",
    counter,
    " ",
    counterPlusOne,
  );
}

mount(document.getElementById("app"), Hello);

https://github.com/fluid-js/fluid/assets/7959437/21afcd4c-57e6-4e82-8a07-a94a12fd2f61
The expected behavior should be right?

Click me 0 1
Click me 1 2
Click me 2 3
Click me 3 4

Thanks!

It should be fixed in 1.0.9. Let me know if you have any further issues with this!

It works pretty good, @WorriedArrow thank you so much!!!


added the locally hosted JSON bin instance url and api-key

I believe we may need to start over from scratch with this JSONbin as storage. Unless the old service comes back up. I haven't done a pull of the JSONbin.org rules in a long time so what I currently have is old and outdated.

I've pushed the latest jsonbin version to jsonbin.maintainerr.info, so it should be up to date now.
Did jsonbin disappear again? I didn't notice it this time.

:tada: This PR is included in version 2.1.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Further update constraints

This causes the module set test to fail

The difference is probably
pip install -r requirements.txt
pip install -r requirements.dev.txt

Vs
pip install -r requirements.txt -r requirements.dev.txt


Fixed projects query to get only successful projects for statistics

Coverage increased (+0.006%) to 82.194% when pulling 948368e300a7bcf5b1d0ffcb300b0fc0ec3f3222 on fix-calculation-on-channel-status-bar into 28eabf9a02c9dd6daa4e5aee5321b681e697ab1d on master.

Só da uma olhada nesses testes quebrados


upgrade Pgres 13 --> 16

Upodate

Implemented in: https://github.com/SDFIdk/gsearch/releases/tag/v2.0.0


rubber: 1.4 -> 1.5.1

Motivation for this change
Version bump.
Things done

[?] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS) I think I did this correctly
Built on platform(s)

[ ] 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) not applicable?
[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-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) I get an error about how I shouldn't evaluate the entire Nixpkgs?? -- not sure how to fix this
[x] Fits CONTRIBUTING.md.

@GrahamcOfBorg build rubber

Success on aarch64-linux (full log)
Attempted: rubber
Partial log (click to expand)
stripping (with command strip and flags -S) in /nix/store/hzzxd6qmdlvz20prfj849nyi9xk134fv-rubber-1.5.1/lib  /nix/store/hzzxd6qmdlvz20prfj849nyi9xk134fv-rubber-1.5.1/bin
patching script interpreter paths in /nix/store/hzzxd6qmdlvz20prfj849nyi9xk134fv-rubber-1.5.1
checking for references to /build in /nix/store/hzzxd6qmdlvz20prfj849nyi9xk134fv-rubber-1.5.1...
wrapping `/nix/store/hzzxd6qmdlvz20prfj849nyi9xk134fv-rubber-1.5.1/bin/rubber'...
wrapping `/nix/store/hzzxd6qmdlvz20prfj849nyi9xk134fv-rubber-1.5.1/bin/rubber-info'...
wrapping `/nix/store/hzzxd6qmdlvz20prfj849nyi9xk134fv-rubber-1.5.1/bin/rubber-pipe'...
running install tests
When a test fails, please remove the tmp directory manually.
OK
/nix/store/hzzxd6qmdlvz20prfj849nyi9xk134fv-rubber-1.5.1

Success on x86_64-darwin (full log)
Attempted: rubber
Partial log (click to expand)
strip is /nix/store/g5r4apl0za012ffs6ladinwa5w0m1l3k-cctools-binutils-darwin/bin/strip
stripping (with command strip and flags -S) in /nix/store/yssaxiblgmjiwaaf3xmxqbpd7vxw0kw3-rubber-1.5.1/lib  /nix/store/yssaxiblgmjiwaaf3xmxqbpd7vxw0kw3-rubber-1.5.1/bin
patching script interpreter paths in /nix/store/yssaxiblgmjiwaaf3xmxqbpd7vxw0kw3-rubber-1.5.1
wrapping `/nix/store/yssaxiblgmjiwaaf3xmxqbpd7vxw0kw3-rubber-1.5.1/bin/rubber'...
wrapping `/nix/store/yssaxiblgmjiwaaf3xmxqbpd7vxw0kw3-rubber-1.5.1/bin/rubber-info'...
wrapping `/nix/store/yssaxiblgmjiwaaf3xmxqbpd7vxw0kw3-rubber-1.5.1/bin/rubber-pipe'...
running install tests
When a test fails, please remove the tmp directory manually.
OK
/nix/store/yssaxiblgmjiwaaf3xmxqbpd7vxw0kw3-rubber-1.5.1

Success on x86_64-linux (full log)
Attempted: rubber
Partial log (click to expand)
stripping (with command strip and flags -S) in /nix/store/vvcz0mkljp96l0jnhasz6ka2wiipc6vd-rubber-1.5.1/lib  /nix/store/vvcz0mkljp96l0jnhasz6ka2wiipc6vd-rubber-1.5.1/bin
patching script interpreter paths in /nix/store/vvcz0mkljp96l0jnhasz6ka2wiipc6vd-rubber-1.5.1
checking for references to /build in /nix/store/vvcz0mkljp96l0jnhasz6ka2wiipc6vd-rubber-1.5.1...
wrapping `/nix/store/vvcz0mkljp96l0jnhasz6ka2wiipc6vd-rubber-1.5.1/bin/rubber'...
wrapping `/nix/store/vvcz0mkljp96l0jnhasz6ka2wiipc6vd-rubber-1.5.1/bin/rubber-pipe'...
wrapping `/nix/store/vvcz0mkljp96l0jnhasz6ka2wiipc6vd-rubber-1.5.1/bin/rubber-info'...
running install tests
When a test fails, please remove the tmp directory manually.
OK
/nix/store/vvcz0mkljp96l0jnhasz6ka2wiipc6vd-rubber-1.5.1

Thanks :) ofBorg definitely builds in a sandbox so that is taken care of. nixos tests are indeed not applicable and I'm not sure about the closure size thing but that shouldn't be an issue here.


On Google Cloud Envirnoment Variables empty

Please help. I'm getting the error: "Installations: Missing App configuration value: "projectId" (installations/missing-app-config-values)" when I deploy the app to Google Cloud. It seems that the Firebase config isn't being loaded from the environment in defineNuxtConfig

Hi, when loading firebaseConfig config object as env variable it should be parsed. This could be done either on build time via nuxt.config (check playground) or at runtime via matching env variables (recommended) [docs].
NUXT_PUBLIC_FCM_FIREBASE_CONFIG= {"apiKey": "___","authDomain": "__","projectId": "__","storageBucket": "___","messagingSenderId": "___","appId": "___"}


Use arrow keys to scroll up/down

Fixes #2996.

Changelog Entry
Added

Resolves #2996. Up and down arrow keys will now scroll the transcript, by @compulim in PR #3703

Description
When pressing UP or DOWN arrow keys, it should scroll the transcript if the keys are not handled by the browser.
Design
We are leveraging our existing keyboard sink component to capture all keyDown events when the user press arrow keys while focusing on Web Chat.
We need to determine whether the user agent will handle the up/down arrow keys, so we should not handle it at the same time. For example, on a dropdown list, press DOWN key will move focus to the next selection, so we should not scroll the transcript at the same time.
Our comprehensive list of type/state of elements:

Specific Changes

Added new hook useScrollUp and useScrollDown to scroll

It leverages internal newly added useScrollRelative hook, which useScrollUp will call useScrollRelative('up')

<BasicTranscript> will now handle useScrollRelative hook, in addition to, useScrollTo hook
Added logic in <BasicWebChat> to filter arrow keys based on the type and state of targeting element

For example, if it is a <select>, we will ignore the arrow keys as it will be handled by the user agent
If it is a <textarea>, we can handle arrow keys as long as it is empty, or the ALT key is pressed

[x] I have added tests and executed them locally
[x] I have updated CHANGELOG.md
[x] I have updated documentation

Review Checklist

This section is for contributors to review your work.

[x] Accessibility reviewed (tab order, content readability, alt text, color contrast)
[x] Browser and platform compatibilities reviewed
[x] ~CSS styles reviewed (minimal rules, no z-index)~
[x] Documents reviewed (docs, samples, live demo)
[x] ~Internationalization reviewed (strings, unit formatting)~
[x] ~package.json and package-lock.json reviewed~
[x] ~Security reviewed (no data URIs, check for nonce leak)~
[x] Tests reviewed (coverage, legitimacy)

@amal-khalaf  is planning on adding a new section on Technical limitations. I think that would be a good place to add documentation on why we did not add Ctrl + Alt + Arrow. Thoughts?

@amal-khalaf is planning on adding a new section on Technical limitations. I think that would be a good place to add documentation on why we did not add Ctrl + Alt + Arrow. Thoughts?

TBH, I am unsure if ALT is a good key. But I will only stick to one combo so just single ALT looks better to me.
WhatsApp Web and Telegram use PGUP and PGDN and they are scrolling by 80% of the page (i.e. offsetHeight), not just a few lines (we are 40px because the browser I tested use this number).

I think I made a mistake, this one should be UP and DOWN arrow keys for narrating the content of each activity, not for scrolling the content.
Let me update this PR.

TBH, I am unsure if ALT is a good modifier key. But I prefer to stick to only one combo, so IMO, single ALT looks better to me than ALT + CTRL.

WhatsApp Web and Telegram use PGUP and PGDN and they are scrolling by ~80% of the page (i.e. offsetHeight * 0.8), not just a few lines. We use 40px because the browser I tested use this number for mouse wheel.

That makes sense. I guess I meant more: we should note what situations ALT is needed with arrows.


Add ANSI colour helpers

PrettyColors could come in handy for this.

Thanks @beltex, going to leave this out of Commander since people can instead use PrettyColors.


PostgreSQL table comment  DDL. #9387

Added table and column comments to ddl, they can be turned off by pressing "Compact"-button.
This PR was inspired by https://github.com/dbeaver/dbeaver/pull/9401 .

Is second commit related to compact option?
Why oracle comment is printed by default, but not postgre? ..

I'm afraid we have a sort of mess in DDL options.
This is very similar to #9401

Can't see comments in a Postgres function source or DDL either,
a similar "Show comments" button would be useful there too,
should be a new feature or bug request?

@vandroiycl Yes, please create another FR ticket for that.

I turned #9387 into FR. We need new model options to support this properly (and not just for PostgreSQL).
Closing this PR.


Multiple interactive loggers

Original request: https://github.com/klaussinani/signale/issues/44
Is it possible to have multiple interactive loggers that update independently of each other (either separated by scope or Signale instance)? It seems that the current behavior is that the most recent call to an interactive logger will overwrite any previous interactive output.
Here's an example of what I'm trying and the desired output:

const { Signale } = require('signale');

const interactive = new Signale({ interactive: true, scope: 'scope 1' });

setTimeout(() => {
    interactive.success('[%d/4] - Process A', 2);
    setTimeout(() => {
        interactive.await('[%d/4] - Process B', 3);
        setTimeout(() => {
            interactive.error('[%d/4] - Process B', 4);
            setTimeout(() => {}, 2000);
        }, 4000);
    }, 3000);
}, 2000);

const interactive2 = new Signale({ interactive: true, scope: 'scope 2' });

setTimeout(() => {
    interactive2.info('[%d/3] - starting it...', 1);
    setTimeout(() => {
        interactive2.await('[%d/3] - doing it...', 2);
        setTimeout(() => {
            interactive2.success('[%d/3] - finished it!', 3);
            setTimeout(() => {}, 2000);
        }, 4000);
    }, 3000);
}, 2000);

Output:
Only displays the "scope 2"/interactive2 logs
[scope 2] › ✔  success   [3/3] - finished it!
Desired output:
[scope 1] › ✖  error     [4/4] - Process B
[scope 2] › ✔  success   [3/3] - finished it!

Hi @danielloader , I was checking the code a little bit and I see that it uses a dependency called "readline" that allows you to interact with the command line, and that's what makes it overwrite for the interactive, that is:
Print a line, move the cursor to the beginning of the line, and clean the line, and print the new line, having several interactive calls, do not know how to solve it, I thought that one way may be through an array of objects to distinguish each call, and to adjust for each item the corresponding line.
Anyway I will be seeing this bug and soon I will have news.
Greetings.

Understood, that's a good start: Personally I'd prefer it to be by scope, single instance but each scope pushes the interactive updates down to a new line. The work around posted in the other issue thread of having a trailing empty console.log() works but it's a bit ugly in the code to scatter empty console logs around just to break between each interactive output section.


Link to slides in README is 403

Hi there,
The link to the Slides in your README (https://docs.chef.io/decks/custom_resources.html) is returning a 403. Can this be fixed? Thanks!

@wohali If you could open a PR to update the readme I'd gladly merge it

I don't know where the slides moved to :D I'd love to open a PR if I did. I think this needs help from someone @ Chef themselves.

We've nuked them from the readme


ModuleNotFoundError: No module named 'odoo'  after rebuilding

Describe the bug
After rebuilding (invoke img-build --pull) I get the error "ModuleNotFoundError: No module named 'odoo'", which breaks the odoo completely.
To Reproduce
Execute invoke img-build --pull or docker compose build --no-cache
Affected versions:
17.0 (installed some months ago)
Any1 has any idea how to fix it?
It happened in a prod environment. I tried with another instance and same thing happened.

My configs used to have the addons mounted as following:

./odoo/custom/src/private:/opt/odoo/custom/src/private:ro,z
- ./odoo/custom/src/enterprise:/opt/odoo/custom/src/enterprise:ro,z

Now, after rebuilding, this doesn't work anymore. What I did is replace all the repos with this line and now it works again:

./odoo/custom:/opt/odoo/custom:ro,z

Don't know if this is a bug but definitely it's something that it's breaking retrocompatibility I think.


Validate rspectest

In this milestone,

[ ]     I created validations for the models.
[ ]     I created tests for the models.

Project Status: APPROVED :green_circle:
Hi @katfogy ,
Your project is complete!  There is nothing else to say other than... it's time to merge it :shipit:
Congratulations! 🎉

Highlights :fire:

All project requirements met :heavy_check_mark:
Project previously approved :heavy_check_mark:
All linter checks passing :heavy_check_mark:

Optional suggestions
Every comment with the [OPTIONAL] prefix won't stop the approval of this PR. However, I strongly recommend you to take them into account as they can make your code better. Some of them were simply missed by the previous reviewer and addressing them will really improve your application.
Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please, remember to tag me in your question so I can receive the notification.

As described in the Code reviews limits policy  you have a limited number of reviews per project (check the exact number in your Dashboard). If you think that the code review was not fair, you can request a second opinion using this form.


Provide docker-compose file at project root

I think it's always a good point to provide a docker-compose file to quickly start any software :)

Can one of the admins verify this patch?

There is already a docker-compose template in docker-dist/ before accepting this PR we should figure out what to do with that template, so that there is only one place to maintain.

Ah right, I searched for "docker-compose.yml" and the other one is named differently. Is there a specific reason for not naming it docker-compose.yml?

I guess I did it that way to illustrate it, but not to mandate how to do it (so people could/should modify to match their local need)

Ok. Then it's up to you for what we do about this PR. An advantage I would see in renaming the file, is that it makes it clear that it can be used as is, whereas with the current name my first idea is that it's a template file used for some build step in the maven process and I wouldn't be sure it can be used unless I have a closer look at it. (I admit it's not a big deal, except for lazy people :) )

@jshaughn wdyt?
@jotak If Jay agrees, then update your pr to remove the -template one.

@pilhuhn @jotak, I think we should just have a clear docker-compose.yml file.  No one will be using this stuff other than us, it's not so much for public consumption but rather for what will make our lives easier.

@jotak, so do you want to update the PR and also fix the license issue?  We can then probably move forward and merge.

@jshaughn done

Thanks @jotak, I created HAWKULAR-1235 for this task.


add trigger for the openshift-dedicated-admin service

add trigger for the openshift-dedicated-admin service

@drewandersonnz has +1 on #4003


OLLAMA_NUM_PARALLEL and OLLAMA_MAX_LOADED_MODELS not having an effect on Ubuntu 22.04 LTS

What is the issue?
Short description: I have set "OLLAMA_NUM_PARALLEL=4" and "OLLAMA_MAX_LOADED_MODELS=2" but I cannot load two models at a time on Ollama 0.1.48
Note 1: The variables were having an effect and working as expected in an older Ollama version, I think it was v0.1.34.
Note 2: I asked a friend to please do the same test and for him worked fine on a Mac M1, Ollama 0.1.48.
Operative System: Ubuntu 22.04.4 LTS
Hardware:

Processor: i7 7700
RAM: 64Gb
GPU1: Nvidia 1070
GPU2: Nvidia 1070

Testing: Trying to load the models "mistral:7b-instruct-q8_0" and "llama3:8b-instruct-q8_0" at the same time, calling them with ollama run from two ssh remote connections, but only loaded one at a time. Confirmed with "ollama ps" and the inference ran first with one model, then with the other sequentially.

Here is a screenshot of the variables setup as shown with the command "sudo systemctl edit ollama"

Attached is the status of the service and as you can see, the variables are considered.
ollama_status_2.txt
Also attached are the logs captures during the test.
troubleshooting_logs.txt
Please let me know if more detail is needed.
Thank you
Mike
OS
Linux
GPU
Nvidia
CPU
Intel
Ollama version
0.1.48

You do not have sufficient VRAM to fully load both models.  The current implementation favors performance over partially loading secondary models.  We've updated the FAQ to explain how concurrency works in more detail.


Add option to reset error counter after inactivity period

This option is dedicated for a consumer, which processes very low number of messages. If an error is raised during a message processing, it increments an error counter. If queue massage rate is low and new messages appear occasionally, then the hedwig error state may indicate that service is broken, even if there is no activity. This option clears an alert state after given inactivity period.

fyi @GeoffDNeal


Update dependencies for demo app

Today the demo app points to the local projects as some tools were not published to maven.
We should update the dependencies in build.gradle of the demo app to point to the maven dependencies so it can be used as an up to date example of how to implement tools.

The original thinking for pointing the dependencies to be local is for development. It helped us iterate faster on testing changes in the tools

Currently there is a mix of some tools being pulled in from maven, others local. This would make it more consistent. There were also todo comments left for updating the imports to use maven as well.
If someone wanted to iterate and quickly test there's nothing to stop someone from commenting out the maven import and importing the local project. This works well for testing something in the demo app.
Zan also completed some work previously that allowed publishing to maven locally so that we can also test the tools changes locally in other projects, not just the tools project.
So even after these changes it's still very easy to use the local versions for testing and I like the idea of including something in the readme on how to do this. The steps themselves for both these options are simple and should take minutes to get up and running.


Revert .NET 9 preview changes when .NET 9 is released

Search for and remove the code blocks associated to the following LOC:

<LangVersion>preview</LangVersion>
actions/setup-dotnet@v4

Will be fixed in 13-nexus-catalog-tags-or-alias branch


fillit checker

Hello!
Thank you for this great checker!
I would like to mention one moment regarding fillit project.
Yesterday we delivered our fillit project with my mate.
We succeeded in second trial.
The problem was with invalid tetramino
#...
.#..
..#.
...#
Our fillet program passed all checker tests.
But when peer appeared and started checking according to the procedure, our program finished with segmentation fault.
Could you pay attention to validation of tetraminos? Possibly, checker doesn't process thoroughly.
Thank you!
Regards,
Mansur /btrifle/

Hello @Sahbetdin
Tests for fillit project are not internal to 42FC, but delivered by the script https://github.com/anisg/fillit_checker
I assume it is no longer maintained, so do you now a script that could be integrated in 42FC to take your issue into account?

Hello!No, thank you.I think we can close it. Regards,Mansur 15.12.2019, 16:10, "Jean-Michel Gigault" notifications@github.com:Hello @Sahbetdin
Tests for fillit project are not internal to 42FC, but delivered by the script https://github.com/anisg/fillit_checker
I assume it is no longer maintained, so do you now a script that could be integrated in 42FC to take your issue into account?
—You are receiving this because you were mentioned.Reply to this email directly, view it on GitHub, or unsubscribe.


publish/v0.1.3

Updates/fixes a number of rules for new returns
Fixes a bug in the as of yet hidden combined SCPCH upload
Updates to v0.1.3

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

Comparison is base (728add0) 95.59% compared to head (d518e64) 95.61%.
Report is 9 commits behind head on main.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #734      +/-   ##
==========================================
+ Coverage   95.59%   95.61%   +0.01%
==========================================
  Files         312      313       +1
  Lines        7659     7680      +21
==========================================
+ Hits         7322     7343      +21
  Misses        337      337

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


[nuke-graph-directory]: no shopt builtin

This is super weird but we use shopt the bash builtin in the nuke-graph-directory script, but my bash on debian sid does not have that built in...
I feel like I'm going crazy so ping @tianon for a sanity check
its bash version 4.4.11(1)-release

we could replace it with something else obviously which i don't mind doing but I want to make sure it's not my weird setup first

This sounds really broken :confused:
(force updating bash to ensure it's definitely the latest)
$ docker run -it --rm debian:sid
root@0dd85afda8a7:/# apt-get update -qq
root@0dd85afda8a7:/# apt-get install -yqq bash
debconf: delaying package configuration, since apt-utils is not installed
(Reading database ... 6472 files and directories currently installed.)
Preparing to unpack .../archives/bash_4.4-4_amd64.deb ...
Unpacking bash (4.4-4) over (4.4-2) ...
Setting up bash (4.4-4) ...
update-alternatives: using /usr/share/man/man7/bash-builtins.7.gz to provide /usr/share/man/man7/builtins.7.gz (builtins.7.gz) in auto mode
root@0dd85afda8a7:/# bash --version
GNU bash, version 4.4.11(1)-release (x86_64-pc-linux-gnu)
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>

This is free software; you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
root@0dd85afda8a7:/# bash -c 'shopt --help'
shopt: shopt [-pqsu] [-o] [optname ...]
    Set and unset shell options.

    Change the setting of each shell option OPTNAME.  Without any option
    arguments, list all shell options with an indication of whether or not each
    is set.

    Options:
      -o	restrict OPTNAMEs to those defined for use with `set -o'
      -p	print each shell option with an indication of its status
      -q	suppress output
      -s	enable (set) each OPTNAME
      -u	disable (unset) each OPTNAME

    Exit Status:
    Returns success if OPTNAME is enabled; fails if an invalid option is
    given or OPTNAME is disabled.

it gets weirder!!
jessie at debian in ~/.go/src/github.com/docker/docker on master
$ sudo ./contrib/nuke-graph-directory.sh /var/lib/docker

Nuking /var/lib/docker ...
  (if this is wrong, press Ctrl+C NOW!)

+ sleep 10

./contrib/nuke-graph-directory.sh: 64: ./contrib/nuke-graph-directory.sh: shopt: not found

jessie at debian in ~/.go/src/github.com/docker/docker on master
$ bash -c 'shopt --help'
shopt: shopt [-pqsu] [-o] [optname ...]
    Set and unset shell options.

    Change the setting of each shell option OPTNAME.  Without any option
    arguments, list all shell options with an indication of whether or not each
    is set.

    Options:
      -o	restrict OPTNAMEs to those defined for use with `set -o'
      -p	print each shell option with an indication of its status
      -q	suppress output
      -s	enable (set) each OPTNAME
      -u	disable (unset) each OPTNAME

    Exit Status:
    Returns success if OPTNAME is enabled; fails if an invalid option is
    given or OPTNAME is disabled.

oh i know the prob, making a pr lolz

Heh, #!/bin/sh -- :face_with_thermometer: