Start release v0.2.0 and add tooling

Changes
Start release v0.2.0 by setting the release on main to v0.2.0-draft.
Add a new tool in tools/spec-release.sh which can be used to start, end and patch a release. The tool edits the IDs in the schema files and all required examples in the docs.
Signed-off-by: Andrea Frittoli<EMAIL_ADDRESS>Submitter Checklist
As the author of this PR, please check off the items in this checklist:

[x] Has the primer doc been updated if a design decision is involved
[x] Have the JSON schemas been updated if the specification changed
[x] Has spec version and event versions been updated according to the versioning policy
[x] Meets the CDEvents contributor standards

Current dependencies on/for this PR:

main

PR #92   👈

This comment was auto-generated by Graphite.

I still don't understand why the $id field is needed in the schemas. It feels like if a source code file would know where it will be deployed. Is the $id field really necessary? What happens if we for some reason need to change our website url later, would all old schema files be invalid then? It would be simpler if we didn't need to update all json files for each patch release and for the spec release itself.

I still don't understand why the $id field is needed in the schemas.

"$id" is not strictly needed as long as long as the whole schema is together.
I started using schema in the first iteration because I was using a base schema (same for all events) and sub-schemas, but that was replaced, based on feedback, with a single schema for each event.
Later I used golang to generate schemas, and the library I used for that by default generates an ID which points with the file location on github, so I gathered it was considered a good practice to have an ID.

It feels like if a source code file would know where it will be deployed. Is the $id field really necessary?

It's for other schemas to be able to reference it.

What happens if we for some reason need to change our website url later, would all old schema files be invalid then? It would be simpler if we didn't need to update all json files for each patch release and for the spec release itself.

Things can change for sure, but I think that using a domain we own like cdevents.dev is as good as it gets in that sense.

Personally, I like having the link in the schema file to the release version it belongs to, but if you'd definitely don't want IDs we could remove them.
IDs can also be relative I think, in which case the full ID (for an external reference) is computed as the location where the schema is hosted plus the relative ID. I like in absolute IDs that we can pick the base URL to be cdevents.dev instead of github.com

Personally, I like having the link in the schema file to the release version it belongs to, but if you'd definitely don't want IDs we could remove them.
IDs can also be relative I think, in which case the full ID (for an external reference) is computed as the location where the schema is hosted plus the relative ID. I like in absolute IDs that we can pick the base URL to be cdevents.dev instead of github.com

I wonder if we could continue this discussion as a follow-up since this PR (and the next one) is a blocker right now for starting any work on v0.2?

Ok. Let's leave the $id there for now, and potentially remove it later if we see it hinders us more than it benefits us.


Update Contributors.md

I apologize this is the wrong FORK. Please fork https://github.com/NAIST-SE/SocialDeveloper and try again. Sorry!


String from database into loadStr() doesn't seem to work

Hi there,
I have a long HTML string from a database in a variable that I want to extract some elements from.
If I do
$dom->loadStr($dbresult->dbfield, []);
$divs = $dom->find('div');
echo count($divs);

It returns 0. However, if I actually echo out the string in the browser and copy that output, and then use
ob_start();
?>
actual copied string
<?php
$string = ob_get_clean();
$dom->loadStr($string, []);
$divs = $dom->find('div');
echo count($divs);

then the count is correct (51).
Am I missing something?

String was not UTF8 encoded when coming from DB and had faulty characters.
Solved  by using utf8_encode($dbdata->dbfield);


Update main.py

In this modified code, I've used the termcolor module instead of colorama for colorizing the output, as it simplifies the code a bit. I've also used the start parameter in the enumerate function to start the index at 1 instead of 0. Finally, I've removed the unnecessary f-string brackets in the print statements.
The argparse module is used to define and parse command-line arguments. The -n/--num-articles option allows the user to specify the number of articles to display, and the -f/--output-format option allows the user to choose between text, HTML, and JSON output formats. The -v/--verbose option enables verbose
Here, the add_argument method is used to define a new command line argument -n (or --num_articles) that takes an integer value and has a default value of 5. The help parameter provides a brief description of the argument that is displayed when the user runs the script with the -h or --help option. The value of this argument is then retrieved using the args.num_articles attribute in the script.

Thanks for your contribution.


Problem: unable to filter feetransfers by dateTime_gte

This is needed to support the internal commands analytics page: https://github.com/Granola-Team/mina-block-explorer/issues/691
{
  "data": null,
  "errors": [
    {
      "message": "Invalid value for argument \"query\", unknown field \"dateTime_gte\" of type \"FeetransferQueryInput\"",
      "locations": [
        {
          "line": 2,
          "column": 22
        }
      ]
    }
  ]
}

This is no longer a blocking issue. I will move to maintenance


Increase the length of username in table access_log to 256

The length of username returned by Admiral is bigger than 32.  It looks like "harbor-vic-a357adda-0f7a-43da-be1c-0663b3f7744d".

Maybe we should increase the length of all usernames in database

Tables contain property username: user, access_log, replication_target.

Let's increase the length in DB to 256, and handle the case when it exceeds 256 chars in access log recorder, but yes it'll be a limitation for standalone user.

No action need to take at UI end

Close it as fixed.


Feat/prepare plugin sign

Fixes https://github.com/netdata/netdata-grafana-datasource-plugin/issues/23

@witalisoft is there a reason why we need the readme also here since it is already at netdata-grafana-datasource-plugin/README.md

We can release a new plugin version without putting it in the catalog, test it on our env and then go through the manual process of approving by Grafana. So having some notes here can be beneficial

Not sure I get it... if we make changes to our repo unless we go through the submission process with Grafana for a plugin update the README on our side on the "root" will be with the latest updates. Grafana will continue to display what we had when we submitted, no?


Added ability to use SortBy on TemplateColumn.

Description
You can now properly use SortBy on the TemplateColumn. Before, even though the parameter was exposed, it did not work because template columns do not have a PropertyName. I have implemented the PropertyName in TemplateColumn and set it to the column's hash code so that DataGrid has a reference to each template column when sorting.

How Has This Been Tested?
Visually. Also, added unit tests.

Types of changes

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

Checklist:

[x] The PR is submitted to the correct branch (dev).
[x] My code follows the code style of this project.
[x] I've added relevant tests.

@ScarletKuro, @henon

LGTM. Tho, in my head I was thinking more of a Guid than GetHashCode..

MSDN under Remarks:

The default implementation of the GetHashCode method does not guarantee unique return values for different objects. Furthermore, the .NET Framework does not guarantee the default implementation of the GetHashCode method, and the value it returns will be the same between different versions of the .NET Framework. Consequently, the default implementation of this method must not be used as a unique object identifier for hashing purposes.

In my opinion, we do not need a truly unique id like GUID here. We only need uniqueness among the columns in the datagrid at any given time which GetHashCode provides easily since each TemplateColumn will be a different reference. I will change it though. It is only one line of code.


config command:

tinpig configure
prompts for:

user name
user email
template dir
invalid path chars

uses current values as default.

configure and reset. was a productive evening.


utoipa-swagger-ui not compiling when using Docker

When trying to build a Docker image with utoipa-swagger-ui as a dependency it doesn't compile with the following error:
20.90 error: failed to run custom build command for `utoipa-swagger-ui v7.1.0`
20.90
20.90 Caused by:
20.90   process didn't exit successfully: `/app/target/release/build/utoipa-swagger-ui-84a55133159de52a/build-script-build` (exit status: 101)
20.90   --- stdout
20.90   OUT_DIR: /app/target/release/build/utoipa-swagger-ui-66d39231ea585d67/out
20.90   SWAGGER_UI_DOWNLOAD_URL: https://github.com/swagger-api/swagger-ui/archive/refs/tags/v5.17.12.zip
20.90   start download to : "/app/target/release/build/utoipa-swagger-ui-66d39231ea585d67/out/v5.17.12.zip"
20.90   cargo:rerun-if-env-changed=SWAGGER_UI_DOWNLOAD_URL
20.90   reqwest feature: Err(NotPresent)
20.90   trying to download using `curl` system package
20.90
20.90   --- stderr
20.90   thread 'main' panicked at /usr/local/cargo/registry/src/index.crates.io-6f17d22bba15001f/utoipa-swagger-ui-7.1.0/build.rs:181:46:
20.90   called `Result::unwrap()` on an `Err` value: Os { code: 2, kind: NotFound, message: "No such file or directory" }
20.90   note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
20.90 warning: build failed, waiting for other jobs to finish...
------
failed to solve: process "/bin/sh -c cargo build --locked --release && cp ./target/release/$APP_NAME /bin/server" did not complete successfully: exit code: 101

Steps to reproduce:
cargo init
cargo add utoipa-swagger-ui
docker init
docker compose up --build

Thank you!


Update Code to Cairo 2.6.X

Due to deprecated features in Cairo, we need to update the code to Cairo 2.6.X

I am applying to this issue via OnlyDust platform.
My background and how it can be leveraged
I'm a blockchain developer and I am up for the tax
How I plan on tackling this issue
Please let me take this up, I'll deliver in no time.

This was solved by the pr:
https://github.com/cienicera/nft-svg-onchain-multiseries/pulls?q=is%3Apr+is%3Aclosed


Change enum to class

It doesn't need to be an enum

Many thanks for the contribution @edwardmlyte. Changes that are cosmetic in nature, or do not add anything substantial to the stability, functionality, or testability of the SDK are not generally incorporated into the SDK.
On this instance, while the suggestion is correct, we feel that an enum better reflects the developer's intention (singleton static final).
For more guidelines on how to contribute please check here


Notebooks: Attach to Dropdown Does Not Respond Correctly to Themes

Attach to dropdown doesn't appear to respond correctly to themes:

It is by design. The code disables the drop-down. So it doesn’t respond the theme. Do we want to remove the disable line?


Updated univalue based on upstream changes

A new build of 91741c84eb3dccf6c948999a7b0fed49f7403e6d has completed succesfully!
Binaries available at https://build.nav.community/binaries/updated-univalue-2

Anything specific to test?

Just test the RPC commands work via CLI
Univalue is the lib that is used to parse and create JSON for the RPC commands


Wheel of fortune octoplus points

Describe the bug
When spinning the wheel of fortune on octopus website as a minimum you get 8 points.
When using the service: octopus_energy.spin_wheel_of_fortune you get no points
Reproduction steps
Use the service: octopus_energy.spin_wheel_of_fortune to spin the wheel
Expected behaviour
This should work the same as the website ie minimum 8 points is given
Tariff Code
E-1R-AGILE-FLEX-22-11-25-J
Integration Version
V9.1.0
Home Assistant Version
2023.11.3
Fresh Install?
After upgrading
Home Assistant Logs
N/a
Confirmation

[X] I confirm that I cannot find my solution within the documentation
[X] I confirm that I cannot find my solution within the FAQ

I think you can get additional spins for manually submitting meter reading.

Only if you havent submitted a meter reading for the month and I don't think it applies to smart meters

From my limited investigation, it looks like it takes an authorization path that is different to the standard API, so this might not be possible. I'll confirm properly next month.
I'll update the docs stating this issue and update the service to require an explicit override if the user has joined octopoints to state they understand that they won't get them via this service. I've raised a question in the octopus energy forums asking why the current endpoint doesn't do this automatically.

Based on comments in the HA forums it looks like this isn't going to get resolved anytime soon :( The endpoint that the was referenced uses cookie based authentication that is specific to the web, which would require a brand new way of authenticating. Therefore I'm afraid at the moment, this is a won't fix. I've updated the docs to include a disclaimer.

@BottlecapDave shame this wont be resolved, do you have a link to the OE forum post so we can throw some weight behind adding this endpoint?

The related post can be found at https://forum.octopus.energy/t/why-does-wheel-spins-via-graphql-not-award-octopoints/8783

Hi @BottlecapDave - Me and my friend who are both using the integration have noticed that this suddenly seems to be giving points instead of account credit, have Octopus changed this?

Not that in aware of and there's not been any kind of notification, but if it is that would be great

@MattHadfield113 are you still receiving points? I just realized today that no points are granted with the automation and disabled it as I'd rather spin manually on the web :)


fix(installer.sh): actually download kumactl if possible

curl -L https://deploy-preview-865--kuma.netlify.app/installer.sh | bash -

It was exiting even if the DL would work.
I'll work on running these tests in CI.

Woohoo, much better on fedora at least! Thank you!
usrbinkat in ubk in ~ on ☁  (us-west-1) on ☁
❯ curl -L https://raw.githubusercontent.com/michaelbeaumont/kuma-website/4e0453f01b682e05dde23f5e2c7ea79ba7c32aba/docs/.vuepress/public/installer.sh | bash
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  4563  100  4563    0     0  16088      0 --:--:-- --:--:-- --:--:-- 16066

INFO    Welcome to the Kuma automated download!
INFO    Fetching latest Kuma version..
INFO    Kuma version: 1.7.0
INFO    Kuma architecture: amd64
INFO    Operating system: Linux
INFO    Distribution: fedora
INFO    We only compile kumactl for your Linux distribution.
INFO    Fetching kumactl...
INFO    Downloading kumactl from: https://download.konghq.com/mesh-alpine/kuma-kumactl-1.7.0-linux-amd64.tar.gz

  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100    10  100    10    0     0     29      0 --:--:-- --:--:-- --:--:--    29
100 14.4M  100 14.4M    0     0  7690k      0  0:00:01  0:00:01 --:--:-- 14.7M

INFO    kumactl 1.7.0 has been downloaded!


Legion: S3D hang with collective branch.

I started testing the collective branch with S3D. I'm seeing a hang after 20 timesteps. I left two ranks built in debug running with -ll:force_kthreads on g0002 on sapling. PIDS: 293322 and 293323.

I was debugging but then the processes disappeared. Please make them again.
What task has task_id=2? There's no name associated with it.

I think its the AwaitMPITask according to spy: [0 - 7fae8dffe840]   10.367982 {3}{legion_spy}: Task ID Name 2 AwaitMPITask?
New PIDS are: 305960 and 305961

This looks like an application issue to me. The collective branch probably just perturbed the timing of things. The earliest operation that hasn't run are the AwaitMPITask on each shard. Both shards are waiting for their single point AwaitMPITask to run from the same index space task launch. These tasks have no region requirements or future preconditions. Their only precondition that I can see is a single phase barrier to wait on. Both tasks are waiting on the same phase barrier. It's the application's responsibility to make sure that the arrives are done on this phase barrier. If you think you are doing the arrives, then run with -level barrier=2 and capture the Realm logs of all the phase barriers operations and then send me the frozen process IDs so I can find the name of the problem barrier and we'll confirm that your barrier is actually working as expected.

I'd think we are doing the arrives correctly, because we're executing 20 timesteps before the hang. There are realm logs here: /scratch2/seshu/legion_s3d/Ammonia_Cases/pwave_x_1_hept/run The new PIDS are: 311006 and 311007.

@streichler Here is one of the bad barriers:<PHONE_NUMBER>200019 I see the arrival with no precondition, but the barrier is untriggered:
(gdb) p/x $7
$8 = {
  phase_barrier = {
    <Legion::Internal::ApEvent> = {
      <Legion::Internal::LgEvent> = {
        <Realm::Event> = {
          id = 0x2000100000200019
        },
      },
    },
    members of Legion::Internal::ApBarrier:
    timestamp = 0x0
  }
}
(gdb) p $7.phase_barrier.has_triggered()
$9 = false

I talked to @streichler, he said this: "I don't see an adjustment for generation 19 of the barrier - 1 through 18 are, but nothing after that." What that means is the application never arrived on this handshake barrier. You're missing a call to this:
https://gitlab.com/StanfordLegion/legion/-/blob/master/runtime/legion.h#L3851
Either that or you're getting things out of phase (my bet).

I put in print statements and it seemed like things are ok to me. Heres what I was seeing:
Begin TIMESTEP MPI HANDOFF TO LEGION TIMESTEP: 18
Finish TIMESTEP MPI WAIT ON LEGION TIMESTEP: 18
TIMESTEP: 18
Await LEGION WAIT ON MPI TIMESTEP: 18
Begin TIMESTEP MPI HANDOFF TO LEGION TIMESTEP: 19
Finish TIMESTEP MPI WAIT ON LEGION TIMESTEP: 19
TIMESTEP: 19
Await LEGION WAIT ON MPI TIMESTEP: 19
Handoff LEGION HANDOFF TO MPI TIMESTEP: 19
TIMESTEP: 20
Await LEGION WAIT ON MPI TIMESTEP: 20
14:56:11.580       20  2.0000E-08  1.000E-09  3.424E-09   300.01    1.50
 writing save    files for: i_time =      20, time = 2.0000E-08 (sec)
 precision is d
Begin TIMESTEP MPI HANDOFF TO LEGION TIMESTEP: 20
Finish TIMESTEP MPI WAIT ON LEGION TIMESTEP: 20
Begin TIMESTEP MPI HANDOFF TO LEGION TIMESTEP: 21
Finish TIMESTEP MPI WAIT ON LEGION TIMESTEP: 21
TIMESTEP: 21
Await LEGION WAIT ON MPI TIMESTEP: 21

It freezes after that.

Run with -lg:inorder and see if it hangs in a different place.

That was with -lg:inorder 1

Send me new frozen processes on sapling with -lg:inorder and -lg:no_tracing.

It seems to work with -lg:inorder and -lg:no_tracing

Ok, so probably need to finish the tracing fixes first.

I pushed some fixes to tracing in the collective branch. They may or may not make a difference. If it hangs then leave me processes with -lg:inorder on sapling.

If it still does hang, also send me instructions for how to run it for myself.

It still seems to hang. PID 765890 on g0001.
To run yourself just ssh into g0001 and do ./ammonia_job.sh in /scratch2/seshu/legion_s3d/Ammonia_Cases. You can view the progress by doing tail -f pwave_x_1_hept/ammonia.txt it should run 40 timesteps.

You can kill that run, and then rebuild with detailed Legion Spy logging.

new PID: 774439

You're sure this is hanging and not just running very slowly (with debug symbols, inorder, and legion spy logging)? I looked at the process, killed it, and then ran the job a few more times. I'm not seeing any evidence of a hang in the current configuration. The task/op in thread 7 keeps changing no matter how long I wait for it to hang.

I need something that at least hangs with debug symbols otherwise it will be impossible to tell what is happening.

With debug I see a thread stuck here, but its never making any progress:
#0  syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
#1  0x00007fd5862fd45c in Realm::Doorbell::wait_slow (this=0x7fd54a7f9730) at /scratch2/seshu/legion_s3d/legion/runtime/realm/mutex.cc:316
#2  0x00007fd5860a034e in Realm::Doorbell::wait (this=0x7fd54a7f9730) at /scratch2/seshu/legion_s3d/legion/runtime/realm/mutex.inl:81
#3  0x00007fd5862fea1a in Realm::FIFOCondVar::wait (this=0x7fd54a7cd840) at /scratch2/seshu/legion_s3d/legion/runtime/realm/mutex.cc:1096
#4  0x00007fd5862360d8 in Realm::KernelThreadTaskScheduler::worker_sleep (this=0x55bc155acbf0, switch_to=0x7fd22426d340) at /scratch2/seshu/legion_s3d/legion/runtime/realm/tasks.cc:1414
#5  0x00007fd586233dcf in Realm::ThreadedTaskScheduler::thread_blocking (this=0x55bc155acbf0, thread=0x55bc165d9df0) at /scratch2/seshu/legion_s3d/legion/runtime/realm/tasks.cc:896
#6  0x00007fd5860b63b0 in Realm::Thread::wait_for_condition<Realm::EventTriggeredCondition> (cond=..., poisoned=@0x7fd54a7cdf00: false) at /scratch2/seshu/legion_s3d/legion/runtime/realm/threads.inl:218
#7  0x00007fd5860a3ece in Realm::Event::wait_faultaware (this=0x7fd54a7cdef8, poisoned=@0x7fd54a7cdf00: false) at /scratch2/seshu/legion_s3d/legion/runtime/realm/event_impl.cc:254
#8  0x00007fd588bbf404 in Legion::Internal::LgEvent::wait_faultaware (this=0x7fd54a7cdef8, poisoned=@0x7fd54a7cdf00: false) at /scratch2/seshu/legion_s3d/legion/runtime/legion/legion_types.h:3011
#9  0x00007fd588b6a217 in Legion::Internal::InnerContext::add_to_dependence_queue (this=0x7fd220001150, op=0x7fd22434a560, unordered=false, outermost=true) at /scratch2/seshu/legion_s3d/legion/runtime/legion/legion_context.cc:7950
#10 0x00007fd588b71b63 in Legion::Internal::InnerContext::end_trace (this=0x7fd220001150, tid=2, deprecated=false, provenance=0x0) at /scratch2/seshu/legion_s3d/legion/runtime/legion/legion_context.cc:9752
#11 0x00007fd588c7cb6b in Legion::Runtime::end_trace (this=0x55b810f93a50, ctx=0x7fd220001150, tid=2, prov=0x0) at /scratch2/seshu/legion_s3d/legion/runtime/legion/legion.cc:6906
#12 0x00007fd588acd100 in legion_runtime_end_trace (runtime_=..., ctx_=..., tid=2) at /scratch2/seshu/legion_s3d/legion/runtime/legion/legion_c.cc:6200
#13 0x00007fd58c7f08ba in $<main> () from /scratch2/seshu/legion_s3d//build/hept/libregent_tasks.so
#14 0x00007fd58c76f93d in $__regent_task_main_primary () from /scratch2/seshu/legion_s3d//build/hept/libregent_tasks.so
#15 0x00007fd5861b9332 in Realm::LocalTaskProcessor::execute_task (this=0x55bc155ac980, func_id=170, task_args=...) at /scratch2/seshu/legion_s3d/legion/runtime/realm/proc_impl.cc:1135
#16 0x00007fd586231c81 in Realm::Task::execute_on_processor (this=0x55bc189f09d0, p=...) at /scratch2/seshu/legion_s3d/legion/runtime/realm/tasks.cc:302
#17 0x00007fd586235edc in Realm::KernelThreadTaskScheduler::execute_task (this=0x55bc155acbf0, task=0x55bc189f09d0) at /scratch2/seshu/legion_s3d/legion/runtime/realm/tasks.cc:1366
#18 0x00007fd586234c20 in Realm::ThreadedTaskScheduler::scheduler_loop (this=0x55bc155acbf0) at /scratch2/seshu/legion_s3d/legion/runtime/realm/tasks.cc:1105
#19 0x00007fd586235271 in Realm::ThreadedTaskScheduler::scheduler_loop_wlock (this=0x55bc155acbf0) at /scratch2/seshu/legion_s3d/legion/runtime/realm/tasks.cc:1217
#20 0x00007fd58623d3bc in Realm::Thread::thread_entry_wrapper<Realm::ThreadedTaskScheduler, &Realm::ThreadedTaskScheduler::scheduler_loop_wlock> (obj=0x55bc155acbf0) at /scratch2/seshu/legion_s3d/legion/runtime/realm/threads.inl:97
#21 0x00007fd58624a696 in Realm::KernelThread::pthread_entry (data=0x55bc165d9df0) at /scratch2/seshu/legion_s3d/legion/runtime/realm/threads.cc:781
#22 0x00007fd58536e609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#23 0x00007fd58c96f133 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

What are the instructions for how to run that myself?

ssh g0003 then do ./ammonia_job.sh in /scratch2/seshu/legion_s3d/Ammonia_Cases

I have some idea of what is going wrong. Will try to have something for you to try in the early afternoon.

Pull, rebuild, and try again. If it fails again leave me instructions for how to reproduce.

It works. Should I try scaling on Summit and compare performance with control_replication?

Yes, go ahead and start testing it out.

I ran both collective and control_replication from 4 - 1024 nodes on Summit.
The usual plots are here:
collective: http://sapling.stanford.edu/~seshu/s3d_summit_hept/collective/
control_replication: http://sapling.stanford.edu/~seshu/s3d_summit_hept/control_replication/
The plots look similar enough, so I did not copy the profiles but if you want to see them I can.

If anything slightly better on the time stepping with collective. I'm good with these. Go ahead and close the issue when you're ready for the collective branch to merge.

Fine with me to merge.


Push ytt.0.30.0. to Choco central repo

Moderation link https://chocolatey.org/packages/ytt/0.30.0

Still waiting ⏸


Unit Test: Add unit test to test upgrading database from 1.2 to 1.3

iOS 1.3.0 database files are here:
https://github.com/couchbase/couchbase-lite-ios/tree/feature/issue_1314/TestData/replacedb/ios130
https://github.com/couchbase/couchbase-lite-ios/tree/feature/issue_1314/TestData/replacedb/ios130-forestdb

[ ] ios
[ ] android
[ ] .NET

.NET are here
https://www.dropbox.com/s/zlkdrah7id4ynfi/net130-sqlite.zip?dl=0
https://www.dropbox.com/s/399ixkdud87iwca/net130-forestdb.zip?dl=0


Get Started Docs need updated

I'm new to Jest so it's possible I'm missing something but I think the Get Started docs need updated to include "/node_modules/fbjs" in unmockedModulePathPatterns under Setup. Tests would not run without making this change.
Using the following: Node 4.2.1, React 0.14, Jest CLI 0.6

Not necessarily the getting started one, but the guide for testing React should include this information.

Yeah, sorry, to be clear, the React Quick Start page. https://facebook.github.io/jest/docs/tutorial-react.html#content

Yeah this needs to be aligned with the examples/react folder. @clentfort or @mrberggg would you be interested in sending a PR for this?

Done in #570

@cpojer I literally just sent a PR with changes... Should I revert?

I commented on your pull request :) Let's take it from there!


MapR 6.1 MEP 6 Spark Warnings

Get rid of Spark warnings:

[mapr@ip-10-0-0-29 ~]$ /opt/mapr/spark/spark-2.3.1/bin/run-example SparkPi 1000
18/10/02 13:09:28 WARN NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
18/10/02 13:09:29 WARN KerberosAuthHandler: Failed to obtain kerberos identity... If no Kerberos configuration was intended no further action is needed otherwise turn on DEBUG to see full exception trace
18/10/02 13:09:29 WARN MultiMechsAuthenticationHandler: Unable to init AuthenticationHandler Subclass org.apache.hadoop.security.authentication.server.KerberosAuthHandler that is used for authentication type kerberos. Will skip it. If no kerberos configuration was intended no further action is needed otherwise turn on DEBUG to see full exception trace

Done


WFCORE-835 remove adding 'allowed' in ObjectListAttributeDefinition a…

…s they that info is already present on value-type
same fix was done for ObjectTypeAttributeDefinition some time ago.

Core - Full Integration Build 1384 is now running using a merge of d023c185cbec603bb677383a5071988104b87e6f

Linux Build 2247 is now running using a merge of d023c185cbec603bb677383a5071988104b87e6f

Windows Build 1771 is now running using a merge of d023c185cbec603bb677383a5071988104b87e6f

Windows Build 1771 outcome was SUCCESS using a merge of d023c185cbec603bb677383a5071988104b87e6f
Summary: Tests passed: 3382, ignored: 63 Build time: 0:34:13

Linux Build 2247 outcome was SUCCESS using a merge of d023c185cbec603bb677383a5071988104b87e6f
Summary: Tests passed: 3382, ignored: 63 Build time: 0:35:15

Core - Full Integration Build 1384 outcome was SUCCESS using a merge of d023c185cbec603bb677383a5071988104b87e6f
Summary: Tests passed: 2951, ignored: 357 Build time: 0:43:51


activate_navignore / NavActiveIgnore - does not work

I tried the new feature with the latest master.
During the installation process I got the feedback, that it did not work
This script will patch Navigation to ignore the navigation-active status
from a smartphone.
NOTE: NEVER interrupt the process with -Back- button or removing SD Card!

Toolbox is found on /media/mp001

System partition is remounted in read/write mode /tsd/hmi/runHMI.sh is already patched

-- Install NavActivelgnore

/tsd/hmi/HMI/jar/NavActiveIgnore.jar: No such file or directory
Update FW to latest version is recommended.
cp: Can't open source file. (/media/mp001/custom/java/navignore_vw.jar)

navignore_vw.jar installed.

System partition is remounted in read only mode

Completed. Please reboot the unit to apply changes.
If something does not work as expected, use a restore function.

Can you show photo of first page of mib_info->Show short system info?

Thank you for your fast reaction.
Here you go:

Unpack this onto SD card, insert it into unit and try this patch again https://github.com/olli991/mib-std2-pq-zr-toolbox/archive/refs/heads/master.zip

Thank you it works!


"Soft-delete" filter support for Interleaved collections

Fixes: #2202

I'm going to add more integration tests.
It will be nice to get more comments from you, guys, before that.
Did I miss any repository that should also support the @Where?

Can someone assign @dmitry-s  to review the PR?
Unfortunately, I can't :(

@s13o @dmitry-s If you guys want this in the next release going out Monday, we need this PR in together with the reference documentation by EOD.

@s13o @dmitry-s If you guys want this in the next release going out Monday, we need this PR in together with the reference documentation by EOD.

Sorry, I was too busy on Monday. Actually the PR was updated but without Javadoc, it has been just added :(

Overall looks good, except for a couple of issues.
BTW, it looks like we are going to need to add@SQLDelete and possibly @PreRemove in order to have fully functional soft delete support.
I'm curious, are you planning to work on those?

Thank you for your comments -  they are incredibly helpful, as usual.
These two annotations are little out of my project's needs right now.
But in a common - it is very cool to have and I'm ready to participate.
Have you seen that I did a new method SpannerQueryOptions toQueryOption(KeySet keys, SpannerReadOptions options)?  It essentially changes the previous implementation. Are you OK with it?

@s13o Yes, I've seen it and left a comment. Looks good, but needs to me moved.

Hi @s13o, Dmitry is currently out of office, so it may take us a few days to get back to you.
Thanks for your patience.

Anything else?

Did I still have something missed?

Thanks a lot!


[example] Add ImageServer example

This is going to break because an attribute (of type data or date/time) having the same name as its class will result in a name clash (source: https://github.com/TempleEight/temple/blob/develop/src/main/scala/temple/generate/server/go/service/main/GoServiceMainCreateHandlerGenerator.scala#L90). I’d be interested in people’s solutions to this: ban all attributes from having the same name as their services, rename the new struct in the create block from image to newImage, or ban specifically this case?
I raise this because the Deliveroo example has the equivalent of this in a struct, which my generation has raised.

If we rename the variable in the Go code, we’re still going to have to ban that new name from occurring in the attributes, so I’d be tempted to say the quickest fix is banning attributes with the same name as the service.

actually, tempted to go with Jay’s solution even though it does interfere more with the user’s workflow: this will make regen more awkward when such an attribute is added, as the whole project is moved. Alternatively, could rename the attr?
TODO: also check that the current approach happens after the attr has been renamed

I think going with Jay's solution here will be fine, The user is like 3 people and I feel like this level of detail isn't going to bother them. Not like this is going out to millions

@jaylees14 this is going to get messy: simple.temple has User: service { user: string; ... }

Update: now naming an attribute the same as its block is a validation error. This triggered a naming error in the simple.temple, which has been updated at the cost of many lines.
Also spotted was another issue based on the original incorrect assumption: attributes may not be named the same as imports etc, as they are sometimes rendered as local variables. This has been fixed too, with the changes to NameClashes


I cannot use pip to install this

fatal error: Python.h: No such file or directory
#include "Python.h"
^~~~~~~~~~
compilation terminated.
error: command 'arm-linux-gnueabihf-gcc' failed with exit status 1
I use Orange Pi Pc with Armbian Bionic (mainline based kernel 5.3.y)

try installing python3.6-dev ::
sudo apt-get install python3.6 python3.6-dev
regards


USB HID Keyboard support

Support a USB HID keyboard on the OTG port and generate kb_data.
PS/2 example for atmel
This would give us the same functionality of a SUM600/SUM1200.

STM32F103 doesn't have OTG.

Im using a pair of 105s on a custom gotek/ffosd board

Then yes you can. It's out of scope for FF-OSD though. My interest is seamless integration into pristine existing hardware.

No problem. Luckily the 103 and 105 in 44 pin variety have virtually the
same footprint, and the price difference is negligible. My aim is to
similary maintain a pristine interior of my A600 & A1200 without all the
mess of bluepills, ribbons and 3d printed bracketry with a small footprint
gotek based entirely on your Hardware Mods list. Thanks for all the
fantastic work you've done on FF and OSD.(just to name a few)
On Fri, Nov 8, 2019, 01:45 Keir Fraser<EMAIL_ADDRESS>wrote:

Then yes you can. It's out of scope for FF-OSD though. My interest is
seamless integration into pristine existing hardware.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/keirf/FF_OSD/issues/16?email_source=notifications&email_token=AAEVAIKEWR5PQOHUH7N426LQSQSYXA5CNFSM4JKFFBSKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEDMUICA#issuecomment-551109640,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAEVAIJJUGZBA3CEN52Y7FDQSQSYXANCNFSM4JKFFBSA
.

By the way I have a plan next year to port FlashFloppy and FF_OSD into an integrated build targeting STM32F730R8. Could be interesting. Those chips have dual OTG.

Haven't had a look at those chips yet.
I've just gotten my first prototype boards for Gotek+FFOSD with 2x105s.
Happy to share/open up the kicad repo if there's interest. It also includes
CIA adaptor boards for THT/SMD sockets.
On Mon, 9 Dec 2019 at 18:18, Keir Fraser<EMAIL_ADDRESS>wrote:

By the way I have a plan next year to port FlashFloppy and FF_OSD into an
integrated build targeting STM32F730R8. Could be interesting. Those chips
have dual OTG.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/keirf/FF_OSD/issues/16?email_source=notifications&email_token=AAEVAINQRHFRRXTZ6LOGZ23QXXWMDA5CNFSM4JKFFBSKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEGIDF5Y#issuecomment-563098359,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAEVAINB2ITILICQW2KSEZTQXXWMDANCNFSM4JKFFBSA
.

I'm happy to put designs up in the wiki.

@cmaxwellau I'd be very interested in your combined Gotek/OSD design as I was planning to do something similar (based on OpenFlops). My aim is to design a board that fits into a 5,25" bay alongside a real 3,5" floppy, while maintaining all of FF's goodies, like rotary, speaker, and OSD.


no file "main.go", run with file "gol.go"

yeah i don't there's an issue with that. its just a small project to learn stuff

im closing this issue now.


Update spray version to released 1.3.2

Since 1.3.2 spray was released, I updated spray-websocket dependency

We would also welcome an official build of spray-websocket that only used a stable version of spray-can etc.

There is a reason to stay with spray 1.3.2-20140909:
https://github.com/spray/spray/pull/836

BTW, we're looking forward the coming akka-http, akka-stream.

While reviewing the source code for "release/1.3" branch in Spray repository, it seems to me that the referenced code (https://github.com/spray/spray/pull/836/files) has been merged from the #836 pull request.
The 1.3.2 changelog (https://github.com/spray/spray/commit/dbfdfb64d93751009722a0ed534c642dffc04871) mentions the Connection: Upgrade rendering as one of the fixes in the release (+ add support for rendering of 'Connection: Upgrade' response header).


using the directive in *ngFor

I have an issue that code elements with the highlight-js-content=".highlight" only highlights the first element in a for-loop. Maybe I am doing something wrong though.
Here is some of the code I am working with:

{{code}}

I put the highlight-js-content on the outer most element, and now highlights work inside a loope of code elements

Hi, i use lastest version of angular-cli. And i can't find system.config.js. Please explain how i config it?

I experienced that highlight-js-content took up lots of resources when used, so I apply the highlighting method after ngAfterViewInit like so:

constructor(private el: ElementRef, private service : HighlightJsService) {
}

ngAfterViewInit() {
       var luaElements:any = this.el.nativeElement.getElementsByClassName('lua');
       if(luaElements && luaElements.length>0){
           for(var i:number = 0; i<luaElements.length; i++){
               this.service.highlight(luaElements[i]);
           }
       }
   }

I did it, but if your web have so much code tag, web will slowly and lag. :(

A way round this would be to put the directive on an element wrapping the ngFor like below.

I had a test today and the content directive ngAfterViewChecked event on the will get called for every item in the ngFor. but it will only call highlightBlock after everything has been rendered when it will then call highlightblock for each  so it doesn't take up much in the way of resource.


All seekbars freeze while dragging one seekbar

[x] Issue does not already exist
[x] Issue observed on https://plyr.io

Expected behaviour
Independent volume and main seekbars.
Actual behaviour
While dragging volume slider, the main seekbar freezes.
Environment

Browser: Google chrome, Version: 59.0.3071.115 (Official Build) (64-bit)
Browser: Firefox, Version: 55.0.2 (64-bit)
Operating System: Ubuntu, Version: 16.04 LTS

Players affected:

[x] HTML5 Video
[x] HTML5 Audio
[x] YouTube
[x] Vimeo

Steps to reproduce

Start to play video
Click on volume slider and hold it

Can you fill out the rest of the bug report so I can replicate, debug and fix it? Mainly the OS and browser part...

In the code I found a condition, that do it.
There it is: https://github.com/sampotts/plyr/blob/master/src/js/plyr.js#L2385
Explain please, why do we need it.
Also thanks for the player, it's awesome!

I'm not sure - I should have left a comment there. I've removed it in V3 and there doesn't seem to be an issue.

@sampotts, how soon is V3 coming?

Closing this one as I think it's fixed but feel free to re-open if not solved in v3 👍


[Bug Report]:

Describe the Bug
uploads/images since you don’t need account secret, you can browse
patch
/uploads/images/gallery/
Steps to Reproduce
know url
Expected Behaviour
input account
Screenshots or Additional Context
No response
Exact BookStack Version
v21.08.6
PHP Version
php 7.4
Hosting Environment
ubuntu 20.04
nginx

Since there's been no follow-up I'm going to close this. If the issue remains and is something you still require to be fixed please message me from this issue or open a new issue, referencing this one.


MariaDB recovery

This changset introduces attempted recovery of MariaDB via both the CLI fix tool and the cluster monitor.

LGTM


Fix CommitDir

Fix CommitDir util and improve tests.
Without this change, existing files were getting detected as new files and duplicated in the list of blobs to commit but potentially with the wrong file mode.
Critical Changes
Changes
Issues Closed

Is CommitDir only used for testing? I'm currently only seeing it referenced in cumulusci.tasks.github.tests. Just trying to understand what it's providing from a functionality standpoint.

@Br4nd0R It was used by a task that no longer exists to commit updates to the generated Apex docs. But it is also used by Metecho.

And also by Jason's draft task to publish a release from a private repo to a public repo https://github.com/SFDO-Tooling/CumulusCI/pull/1414

@jstvz could you re-approve please? I snuck in a fix for an unstable test that was introduced when I merged from master.


Python wheels should allow boringssl ASM optimizations on aarch64

Having boringSSL optimized for arm64 on linux would be great. I've created a PR https://github.com/grpc/grpc/pull/25162, but I didn't complete it because I'm not comfortable giving my full address on a CLA, and it probably wouldn't be valid anyway as I'm udner 18, which I probably would have to be in Germany where I live.

Hello, great to see opensource contributions and such a young age.
I recreated you PR: https://github.com/grpc/grpc/pull/25453


rbd: fix cleanup in case  of clone failure

Rearrange the cleanup order incase clone fails, in case of clone failure, we need to first delete the clone and the snapshot from which we created the clone, then as part of the cleanup we need to remove the temporary cloned image and the temporary snapshot created on the parent image.
validate backend rbd images count in each E2E test cases. This helps a lot to catch the issues in each test case.
fixes https://github.com/ceph/ceph-csi/issues/1387
Signed-off-by: Madhu Rajanna<EMAIL_ADDRESS>

I would like to trigger this test at least for  3 days to catch if we have any issues in rbd E2E.

/test all

/test all

/test all

retesting many times to see I can see the issue again, I tried to  reproduce the issue for around 10 runs with 100 PVC

CI passed triggering CI  again
/test all

/test all

/test all

/test all

@mergifyio rebase

/retest ci/centos/mini-e2e/k8s-1.18.5

/test all

/test all

@nixpanic @humblec PTAL. i did many CI run seems like the issue is fixed now

@humblec PTAL


Upgrade to support library v24.2.1

Nothing preferences related, but it still needs the upgrade.

I get the following warning, after using

Support library 24.2.1
Android studio 2.2
Build tool 24.0.2

4:42:24 PM Duplicate annotation 'android.support.annotation.IntDef'; for signature: 'com.takisoft.fix.support.v7.preference.PreferenceFragmentCompatDividers divPrefFlags' in the file C:\yocto\jstock-android-as\jstockandroid\build\intermediates\exploded-aar\com.takisoft.fix\preference-v7\<IP_ADDRESS>\annotations.zip!\com\takisoft\fix\support\v7\preference\annotations.xml: Duplicate annotation 'android.support.annotation.IntDef'; for signature: 'com.takisoft.fix.support.v7.preference.PreferenceFragmentCompatDividers divPrefFlags' in the file...

Yeah, that's a version-difference problem. I'm upgrading to v24.2.1 now.

Upgraded, now you can use compile 'com.takisoft.fix:preference-v7:<IP_ADDRESS>' in your gradle file.


taskprov: Enforce param length prefixes

Partially addresses #350.
Stacked on #439.
Structs VdafConfig, DpConfig, and QueryConfig all include a length prefix for the type-specific parameters so that the struct can be decoded even if the type is not recognized. If the parameters don't fill the space indicated by the length prefix, then decoding should fail. This change ensures the length is enforced for recognized types. It unifies the decoding logic across draft02 and draft07 (the former does not have the length prefix).

Addressed your comments and force-pushed the commit.


Invalid or corrupt jarfile ios-server-standalone-0.6.6-SNAPSHOT.jar

Hi,
I am new in iOS native app automation  and trying to automate app using "iOS driver".I am getting an error when tried to run 'ios-server-standalone-0.6.6-SNAPSHOT.jar' from terminal.I have performed following steps

Download  0.6.6-SNAPSHOT from http://ios-driver.github.io/ios-driver/
Download  'InternationalMountains app' from http://ios-driver.github.io/ios-driver/?page=setup
Make new folder 'Test' on desktop
Add files (.jar and .app) into 'Test' folder
Open terminal
Type $java -jar ios-server-0.6.6-SNAPSHOT.jar -aut Mountains.app

Error: It shows an error 'Invalid or corrupt jarfile ios-server-standalone-0.6.6-SNAPSHOT.jar'
I am following 'http://ios-driver.github.io/ios-driver/?page=setup' for setup
If anyone please help me to solve this. It's urgent.Thanks in advance....

@GunjanRanparia please close this issue . It is duplicate of https://github.com/ios-driver/ios-driver/issues/382


mousemove event not triggered when mouse is dragging

As the title, mousemove event is not triggered when the mouse is dragging. Is this an expected behavior?
OS: Win10
Electron: 18.3.3
lib: 1.3.0

It's indeed not triggered
https://github.com/SnosMe/uiohook-napi/blob/b20d483aea29ac08c81ee9354e63fd34549507b0/src/lib/uiohook_worker.c#L72-L77
I want to review that part and make sure it aligns with how Web events work.

I created a simple test. In the web environment, the mousemove event will be triggered when the mouse is dragging. You can try it here: https://jsfiddle.net/apolkingg8/oh46Ldzf/6/


Document the use of *.opt

In lib/LaTeXML/resources/Profiles, we have a bunch of profiles which we preload, however they are not poorly documented. More than a couple of times I have noticed either someone else or me is preloading the wrong profiles.
Need to discuss with @kohlhase to clarify some of the usage.

Done via https://github.com/KWARC/LaTeXML-Plugin-sTeX/pull/96, closing ....


tooling: tests for protodoc

This tool has become quite complex and would benefit from some tests.

this should be resolved by https://github.com/envoyproxy/envoy/pull/18178


Deer Cape: Adding +9 bow/crossbow skill instead of 10

Under skills when you equip the Deer cape it shows +9. Tried adjusting the skill in the config but it doesn't change in game.

Please make sure the server side configs aren't overwriting your configs and that you are saving the file and relaunching the game to see the changes.
If neither of those are the issue, please delete the config file and see if it gets remade back to 10% when you next launch the game

Will test again and get back to you.

Can't repro this issue. possibly it took time to propagate for some reason. please close the issue

closing. cannot repro


Significant performance degradation with new json rendering Introduced in 1.11

In our case, we are dealing with a large stream of big objects, which are serialized into json and written to a file. After upgrading to 1.11, we noticed higher execution time, an increase in cpu usage and more time spent in gc.
Below is a minimal code snippet to demonstrate the issue:
fs2.Stream.range(0, 10000000)
     .map(Json.fromInt)
     .covary[IO]
     .through(ast.tokenize)
     .through(wrap.asTopLevelArray)
     .through(render.compact)
     .compile
     .drain
     .timed
     .map(_._1.toMillis.toString())
     .flatMap(IO.println)

On my machine (MBP 16 2019, 2.6 GHz 6-Core Intel Core i7), the above code takes:

1.11: 81257 ms
1.10: 20909 ms

While this isn't a full-fledged analysis, we suspect that the regression is related to the new rendering in 1.11. We plan to stick with version 1.10 for now, but further insight would be appreciated.
Perhaps I'm missing something? Could this performance hit be expected under certain conditions, or is it likely a regression?

Hi. We changed the rendering in 1.11, which is probably the cause. I am thinking of reverting the compact rendering to what it was in 1.10. The introduced change is too impatfull for this use case.

Hi, thanks for your reply.
Unfortunately, it's not just the compact rendering that's been affected. In the same use case, when switching to render.prettyPrint, the process doesn't even complete after 5 minutes. It also produces numerous warnings, such as:
[WARNING] Your app's responsiveness to a new asynchronous event (such as a new connection, an upstream response, or a timer) was in excess of 100 milliseconds. Your CPU is probably starving. Consider increasing the granularity of your delays or adding more cedes. This may also be a sign that you are unintentionally running blocking I/O operations (such as File or InetAddress) without the blocking combinator.

On the other hand, using the deprecated render.pretty takes only 23 seconds and completes without any warnings at all.

The pretty printer has been entirely changed as well. It looks like some ceding is necessary in its implementation. I will investigate.

Hi @recons,
I ran some benchmarks and identified several sources for slow downs. I am now working on fixing them. I will open a PR as soon as I have something usable, so that you can try it with your use case.

Fixed by #641.


@tailrec false negative

Compiler version
3.5.0
Minimized code
EDIT: found a way to minimize the example:
@tailrec def minimal9_2[A](value: Option[Int]): A = {
  value match {
    case Some(n) => minimal9_2(None)
    case _ => ???
  }
}

Original snippet:
import scala.annotation.tailrec

final class Need[+A] private (private var thunk: Any) {
  def value: A = ???
}

object Need {
  type ThunkD[+A] = AnyRef
  final case class BindL[A](node: Need[A], run: Any => Need[A]) extends ThunkD[A]
  type BindR[A] = Need[A] // <: ThunkD[A]

  import java.util.{ArrayList => Q}
  final class BufRef(var buf: Q[ThunkD[Any]] = null)

  @tailrec def evalSlow[A, Z](ref: BufRef, count: Int, current: Need[A]): Z = {
    val r = current.thunk
    val value: ThunkD[Any] = ???
    value match {
      case BindL(c, f) =>
        val next = f(r)
        c.thunk = next.thunk
        ref.buf.add(c: BindR[Any])
        evalSlow(ref, count, next)
      case c =>
        val c1 = c.asInstanceOf[BindR[_]]
        c1.thunk = r
        evalSlow(ref, count - 1, c1)
    }
  }
}

Output
Cannot rewrite recursive call: it is not in tail position

on both evalSlow calls.
Expectation
Should work since they are in tail position, works in Scala 2.12.

Found a way to minimize it further (I think this is the same bug):
@tailrec def minimal9[A](count: Int, value: Either[Int, String]): A = {
  value match {
    case Left(n) if n > 0 => minimal9(count, Right(n.toString))
    case Right(s) => minimal9(count - 1, Left(s.length))
    case _ => minimal9(count, Left(0))
  }
}

Note that removing type parameter makes the issue go away.

Even further minimized:
@tailrec def minimal9_1[A](value: Option[Int]): A = {
  value match {
    case Some(n) if n > 0 => minimal9_1(Some(n + 1))
    case _ => ???
  }
}

I think this is a "false positive" because the test result says there is a problem. A health screening test that comes back negative is a good thing, unless it is a false negative.
Workaround is to use an explicit type arg (which is otherwise inferred to be Nothing):
minimal9_2[A](None)

IIUC it's not supposed to be necessary due to erasure:
https://github.com/scala/scala3/blob/main/compiler/src/dotty/tools/dotc/transform/TailRec.scala#L98-L100
I don't know why the comment is the opposite of reality.


react-rotuer 4 - NavLink does not re-render the components

Maybe it's not a bug and I'm missing something, but I don't know where else to look.
I have opened this question :
https://stackoverflow.com/questions/50299398/react-router-v4-navlink-not-rerendering-components
The problem is that, with react-router 4, clicking on a NavLink link is not causing a rerendering of components.
The same app works pefectly with react-router 2 and Link.
And also, this tutorial have the exact same problem :
https://github.com/reactjs/redux/blob/master/docs/advanced/UsageWithReactRouter.md
Clicking on the NavLink is not updating the todos list.
The problem is exactly here, on the VisibleTodoList component  :
const mapStateToProps = (state, ownProps) => {
  console.log(ownProps.filter);
  return {
    todos: getVisibleTodos(
        state.todos,
        ownProps.filter
    ),
  };
};

With react-router v4, after clicking a NavLink, I do not get the console.log.
With react-router v2 and Link, I get the console.log for every NavLink click.

See this guide: https://github.com/ReactTraining/react-router/blob/master/packages/react-router/docs/guides/blocked-updates.md

I already tried "withRouter" on the App component, still not working.

This is what I use : Footer.js :
const Footer = () => (

    Show:
    {" "}
    <FilterLink filter="all">
      All
    </FilterLink>
    {", "}
    <FilterLink filter="active">
      Active
    </FilterLink>
    {", "}
    <FilterLink filter="completed">
      Completed
    </FilterLink>

);

const FilterLink = ({ filter, children }) => {
    return (
        <NavLink
            exact
            to={filter === "all" ? "/" : `/${filter}`}
            activeStyle={{ textDecoration: "none", color: "red" }}
        >
            {children}
        </NavLink>
    );
};

VisibleTodoLists.js :
const mapStateToProps = (state, ownProps) => {
  console.log(ownProps.filter);
  return {
    todos: getVisibleTodos(
        state.todos,
        ownProps.filter
    ),
  };
};
const mapDispatchToProps = (dispatch) => ({
    onTodoClick(id) {
        dispatch(toggleTodo(id))
    },
});

const VisibleTodoList = connect(
  mapStateToProps,
  mapDispatchToProps
)(TodoList);

And App.js, with "withRouter" :
let App = ({ match: { params } }) => {
  return (

      <AddTodo />
      <VisibleTodoList filter={params.filter || 'all'} />

  )
}

App = withRouter(App); // or withRouter(connect()(App));
export default App;

Project is here so you can have a look : https://github.com/trogne/rr4_navlink

If finally works now.  It was not a matter of "blocked updates", as in https://github.com/ReactTraining/react-router/blob/master/packages/react-router/docs/guides/blocked-updates.md
As you can see in the updated repo,  the Root component is now simply a
Route,  and index.js wraps the route with the Provider and the Router.

I can make it work without a separate Root component,   but I think it's not very efficient to pass the store twice like that in index.js :

const Root = () => (
<Route path='/:filter?' component={App} />
);
export default class TopApp extends Component {
render() {
return (
<Provider store={store}>
<Router>
<Root store={store} />
</Router>
</Provider>
)
};


toplevel constant Cell referenced by Thing::Cell

Hi,
I'm enjoying learning Trailblazer. I really like the concepts (no pun intended!) that it's trying to apply. I am, however, a little green when it comes to finding may way around Rails and I'm running into a couple of issues. I'll post about the other one in another issue if I can't resolve it (to do with the concept method working in Rspec).
I'm following through the book and I've added the items from https://github.com/apotonick/gemgem-trbrb/wiki/Things-You-Should-Know but I'm getting warning: toplevel constant Cell referenced by Thing::Cell errors when trying to access Thing::Cell from the Rails console.
I thought it might be something to do with the Rails autoload feature and the Trailablazer Railtie, which references crud.rb files but not cell.rb files. There's no reference to cell files in autoloading either. My tinkering with those has been unsuccessful though. I'm wondering if I'm missing something or doing something wrong.
Any assistance would be greatly appreciated and keep up the great work.
Jason

Jason, it means somewhere in your code you are using Thing::Cell, and Ruby is warning you that Thing::Cell does not exist but ::Cell does (a toplevel constant). Fix your reference and you'll be allright.

Thanks @francois. Yes, that's the conclusion that I came to, however I've got a Cell class namespaced under thing in app/concepts/thing/cell.rb as per the example gemgem app:
class Thing::Cell < Cell::Concept
  property :name
  property :created_at

  include Cell::GridCell
  self.classes = ["box", "large-3", "columns"]

  include Cell::CreatedAt

  def show
    render
  end

private
  def name_link
    link_to name, thing_path(model)
  end

  # The public helper that collects latest things and renders the grid.
  class Grid < Cell::Concept
    def show
      things = Thing.latest
      concept("thing/cell", collection: things, last: things.last)
    end
  end
end

Wont ::Cell reference the root cell/class module from the Cell gem? It seems to be as checking the class of the ::Cell returns module.
irb(main):002:0> ::Cell
=> Cell
irb(main):003:0> ::Cell.class
=> Module
irb(main):004:0> Thing::Cell
(irb):4: warning: toplevel constant Cell referenced by Thing::Cell
=> Cell
irb(main):005:0> Thing::Cell.class
(irb):5: warning: toplevel constant Cell referenced by Thing::Cell
=> Module
irb(main):006:0>

I dislike the autoloader and in future versions of Trailblazer things will be required explicitly.
The Rails autoloader works fine if you have 5 classes in 5 files with 5000 lines of code each. The whole concept (no pun intended hahaha) breaks down as soon as you introduce more classes - where you don't want each class in a separate file.
An easy fix would be to load cell.rb here: https://github.com/apotonick/trailblazer/blob/master/lib/trailblazer/rails/railtie.rb#L9
I like this, and it will fix another issue. As soon as Trb's got a default file structure (e.g. crud.rb, cell.rb, etc.) we can require them all in the railtie.

Thanks @apotonick. I've updated the Railtie as per the following. Seems to be work.
https://github.com/jasonelston/trailblazer/blob/cell-autoload/lib/trailblazer/rails/railtie.rb
I haven't done any pull requests but happy to submit if it's worthy.

I think we're happy to merge this. The railtie is still a WIP of finding best practices and your fix looks very mucho OK to me.

I merged it already. Thanks! :heart:

Great! Thanks for the help.

i had the same problem in the version 1.0.4 of trailblazer.
i created an initializer:
Dir.glob("#{MyEngine::Engine.root}/app/concepts///cell.rb").each do |f|
require_dependency f
end


Add WHIP client authorization

What's missing
The WHIP server should accept requests only from clients that have a validated
fingerprint even when the request comes from localhost.
The one exception is the first client - when the authorized_fingerprints file
is empty, the first client is automatically authorized.
A new command line subcommand should be add to webexec to authorize a new
client:

$ webexec clients --help
NAME:
   webexec clients - Manage clients by manipulating the authorized_fingerprints file

USAGE:
   webexec clients [-h] <command> ...

COMMANDS:
    add               Add a new client
    remove            Remove a client
    list              List all clients

$ webexec clients add --help
NAME:
   webexec clients add - Add a new client
USAGE:
   webexec clients add <fingerprint> <name>
EXAMPLE:
    $ webexec clients add<PHONE_NUMBER>abcdef "Web Client"

$ webexec clients remove --help
NAME:
   webexec clients remove - Remove a client
USAGE:
    webexec clients remove <fingerprint>
EXAMPLE:
    $ webexec clients remove<PHONE_NUMBER>abcdef

$ webexec clients list --help
NAME:
   webexec clients list - List all clients
USAGE:
   webexec clients list

Done


Delete key doesn't delete markers on Mac

I can't delete markers with the delete (backspace, not forward delete) key on Mac. Maybe that key should be changeable in the controls.

it seems that the new apple keyboards dont have a button for delete... (dont mean backspace).
what i can find online is that you need to use a key combination. i would suggest trying:
shift+fn+backspace
fn+backspace
ctr+d
as for making it posible to change the keys i will add it to my todo list.


InstaScan not displaying camera on server

Hello,
I using InstaCam for web system. After I implement InstaScan and run on localhost, it work and display the camera. Then I moved it to server, the camera not showing. Is there any setting for it to work on server?

I think your server must be running on HTTPS

Chrome requires HTTPS when using the WebRTC API. Any pages using this library should be served over HTTPS.


[WIP] Dutch translation

@jspaans91 FYI, if you put the string [skip ci] in your commit message body, it will tell Travis not to skip the automated tests against your PR.  They are needed if all you are changing is translations.

@jspaans91 On that last commit, it really should have a valid commit message...if you swap [skip ci] and the body, then that would be perfect.

@jspaans91 Also it seems you are continuing to add more translations.  Do you want to mark this PR as WIP in the PR title, and then remove the WIP when you think you are all done?  Then you don't have to create a bunch of PRs and it can all be one place.

@geertj Please review

@jspaans91 Looks very good. I've added a few suggestions for your consideration.

@geertj Thanks for reviewing the translations! The spaces in the front were in the original files, so I taken them over in the translation.
 What is your opinion about this.
@Fryguy Sorry I forget the [skip ci] in my last commit ;)

@jspaans91 there's two cases where the original string has a leading space and the translation doesn't. One comment I made was in error (the spaces are hard to see) so I removed that.
Regarding policy and alert: it's up to you but you do translate "policy profile" to "beleidprofiel" so I think whatever you decide you should be consistent.

@jspaans91 This pull request is not mergeable.  Please rebase and repush.

@jspaans91 If you need help rebasing and/or squashing let us know on IRC.  I'd be glad to help.

@jspaans91 Any update on this PR?

Hi All,
Sorry for my very late response and don't updating the PR. The coming weeks I'll working further on this PR, with posting a weekly update here with the status.
Kind Regards,
Jeroen

Closing as stale.  Please re-open if/when you get back to this.


Tabs' names not updating

Describe the bug
Tabs' names won't change after first search after every startup
To Reproduce

Open Kiwi Browser.
Search something.
Search something else.
Press the recent tabs button.
Look at the tabs' names.

Expected behavior
Tabs' names should have changed.
Screenshots

Smartphone:

Device: Oppo A83 (CPH1729)
Android Version : 7.1.1
Kiwi Browser Version: 105.0.5195.33

Duplicate #706.

Duplicate of #706

#706 has been resolved.


Refine developer docs for implementing detail_tabs()

Closes: #4766
What's Changed

Updated docs to reference existing Object Detail options and not duplicate code.
TODO

[ ] Explanation of Change(s)
[ ] Added change log fragment(s) (for more information see the documentation)
[ ] Attached Screenshots, Payload Example
[ ] Unit, Integration Tests
[ ] Documentation Updates (when adding/changing features)
[ ] Example Plugin Updates (when adding/changing features)
[ ] Outline Remaining Work, Constraints from Design

As I look at the object-detail-views page a little bit more, I think we can move the code if you would like.

I had missed that the docs PR had outstanding questions. I think merging two pages together makes more sense.

Looks like there's a leftover link to tabs.md that needs to be fixed up:
 WARNING -  Doc file 'release-notes/version-1.4.md' contains a relative link
           '../development/apps/api/ui-extensions/tabs.md', but the target
           'development/apps/api/ui-extensions/tabs.md' is not found among
           documentation files.


Parse and receive option values in ShellTasks.

Support streaming of option values in ShellTasks, by allowing e.g. the following syntax:
runprogram -i {i:infile} -o1 {option1} -o2 {option2} > {o:outfile}

Maybe we should allow to choose whether to set the options statically, or stream them via channels? Could e.g. be done by setting statically if an option array is sent to the Sh() function...

This is now supported with this syntax:
runprogram -i {i:infile} -p1 {p:param1} -p2 {p:param2} > {o:outfile}


update BrowserProcess packages and target framework

Added net7 target framework. The BrowserProcess is not a library that the user could use to decide which framework to use.

Added net7 target framework. The BrowserProcess is not a library that the user could use to decide which framework to use.

This should be something that is discussed, probably better to open a new issue and revert for now.
Should the .Net Framework always be used? It's installed by default on Windows 10/11
Should the BrowserProcess be refactored so it's a library with a default exe allowing for users to implement their own?

The BrowserProcess has been upgraded to M110.

Should the .Net Framework always be used? It's installed by default on Windows 10/11

M110 supports only Windows 10/11 as Chromium has dropped support for older versions of Windows. To simplify development/deployment the BrowserProcess will now only target .Net 4.7.2 which is installed by default on 1803.
https://learn.microsoft.com/en-us/dotnet/framework/migration-guide/versions-and-dependencies#net-framework-472


Make datetime related structures serializable

Date and Time data structures often used in serializable data transfer objects. So I think it must be serializable.

Can one of the admins verify this patch? (see README)

Looks okay to me.


Missing ClusterRole and ClusterRoleBinding definitions for prefect-agent / prefect-worker

Missing cluster role definitions result in 403 errors when trying to deploy on the cluster into a dedicated namespace.
Submission failed. kubernetes.client.exceptions.ApiException: (403) Reason: Forbidden HTTP response headers: HTTPHeaderDict({'Audit-Id': 'd8c61061-378f-4686-8163-07b21c220c17', 'Cache-Control': 'no-cache, private', 'Content-Type': 'application/json', 'X-Content-Type-Options': 'nosniff', 'X-Kubernetes-Pf-Flowschema-Uid': '903a45a7-c309-4b50-9720-817e715a41a4', 'X-Kubernetes-Pf-Prioritylevel-Uid': 'a496d18f-252e-4832-8af8-99bab3405eea', 'Date': 'Mon, 17 Apr 2023 18:00:51 GMT', 'Content-Length': '346'}) HTTP response body: {"kind":"Status","apiVersion":"v1","metadata":{},"status":"Failure","message":"namespaces \"kube-system\" is forbidden: User \"system:serviceaccount:prefect:prefect-agent\" cannot get resource \"namespaces\" in API group \"\" in the namespace \"kube-system\"","reason":"Forbidden","details":{"name":"kube-system","kind":"namespaces"},"code":403}

I was able to get this resolved by adding the following cluster role and cluster role binding definitions:
apiVersion: {{ include "common.capabilities.rbac.apiVersion" . }}
kind: ClusterRole
metadata:
  name: {{ include "common.names.fullname" . }}
rules:
  - apiGroups: [""]
    resources: ["namespaces"]
    verbs: ["get", "list"]

apiVersion: {{ include "common.capabilities.rbac.apiVersion" . }}
kind: ClusterRoleBinding
metadata:
  name: {{ include "common.names.fullname" . }}
subjects:
  - kind: ServiceAccount
    name: {{ template "agent.serviceAccountName" . }}
    namespace: {{ include "common.names.namespace" . | quote }}
roleRef:
  kind: ClusterRole
  name: {{ template "common.names.fullname" . }}
  apiGroup: rbac.authorization.k8s.io

Hi @achordia20 - thanks for opening! Can you explain more about what prompted this error? Were you deploying the agent / worker into namespace A but then trying to deploy jobs to namespace B? Or was it something else?

Following up here based on the thread in the community slack. It appears the helm lookup command is not working for you at install time -- in that case, please specify a UID here (or here for an agent)


changes in typo in registration activity

added "harish" in all the strings in registration activity

Pull request title should also contain the issue number

Changes not necessary, this was for practise


type or namespace 'App' could not be found

Description
When I installed .Net 8 Preview (8.0.100-preview.3.23178.7), my Blazor app (WebAssembly) started giving the error:

The type or namespace name 'App' could not be found (are you missing a using directive or an assembly reference?)

I don't get the error if I uninstall the 8.0.100 SDK.  The latest I have aside from that is 7.0.203.
Searching, I found a SO answer that suggested adding a root namespace, but mine already has that.
It also appears to happen on new projects.
Interestingly, the command line build works fine, but this is cumbersome.  It should work in VS.  (Is this a VS bug?)
Reproduction Steps
In VS 2022 (see config below), create a new Blazor WebAssembly project.  Build the project.
Expected behavior
The project should build without any changes.
Actual behavior
The project fails to build with the error above.
Regression?
Yes.  These projects work fine in .Net 7.*
Known Workarounds
Build in command line.
Configuration
Microsoft Visual Studio Community 2022
Version 17.5.5
VisualStudio.17.Release/17.5.5+33627.172
Microsoft .NET Framework
Version 4.8.09032
Installed Version: Community
ASP.NET and Web Tools   17.5.320.55692
ASP.NET and Web Tools
Azure App Service Tools v3.0.0   17.5.320.55692
Azure App Service Tools v3.0.0
Azure Functions and Web Jobs Tools   17.5.320.55692
Azure Functions and Web Jobs Tools
C# Tools   4.5.2-3.23171.7+d17f741546fad2786cbd6394d08619544e53a36d
C# components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used.
Common Azure Tools   1.10
Provides common services for use by Azure Mobile Services and Microsoft Azure Tools.
Microsoft JVM Debugger   1.0
Provides support for connecting the Visual Studio debugger to JDWP compatible Java Virtual Machines
NuGet Package Manager   6.5.0
NuGet Package Manager in Visual Studio. For more information about NuGet, visit https://docs.nuget.org/
Razor (ASP.NET Core)   <IP_ADDRESS>6603+9f1b6856460af1e592d387ebef416eadddac453f
Provides languages services for ASP.NET Core Razor.
Switch Startup Project   4.2.76
Provides a toolbar dropdown box  to switch between startup projects.
TypeScript Tools   17.0.20105.2003
TypeScript Tools for Microsoft Visual Studio
Visual Basic Tools   4.5.2-3.23171.7+d17f741546fad2786cbd6394d08619544e53a36d
Visual Basic components used in the IDE. Depending on your project type and settings, a different version of the compiler may be used.
Visual F# Tools   17.5.0-beta.23053.5+794b7c259d9646a7eb685dad865aa27da7940a21
Microsoft Visual F# Tools
Visual Studio IntelliCode   2.2
AI-assisted development for Visual Studio.
VSColorOutput64   2023.3
Color output for build and debug windows - https://mike-ward.net/vscoloroutput
Other information
No response

@jaredpar @chsienki can this be the source generator issue?

@jjonescz can you take a look?

@javiercn yes, the App class is available in the DLL

DotPeek

Microsoft Visual Studio Community 2022
Version 17.5.5

Do you have this issue in Visual Studio 17.6 Preview? I don't think .NET SDK 8 preview is supported with VS 17.5.

Seems to work in the preview.  When is that expected to release as main?

Seems to work in the preview. When is that expected to release as main?

I think in a week or so


Charts not aligned properly in mobile breakpoint

Describe the bug
Charts are not aligned properly
To Reproduce

Expected behavior
margin-left needs to be given in charts div.
Smartphone (please complete the following information):

Device: OnePlus
OS: Oxygen OS
Browser: Chrome

Additional context
I can work on this :)

Issue #1807 and PR #1823 are already for this.

Fixed via 7740f5c8f764b7a521fdfae695b622f160d2e734


Attempt to find ValGrind is done at every test target

In common/cmake/TestTargets.cmake, the inclusion of ValGrind.cmake every time a test target is added results in the attempt to find ValGrind and eventually several messages saying it was not found.
Suggestion is to either have that check done only once in the TestTargets.cmake.

I'll take a look into this.


Nights watch model PXE NIC update

The pxe_nic slot has changed since we acquired the OCP cards for the XE2420 (Nights Watch).

Looks good.  That's what I tested with.


Mouse scrolling is lagging

Mouse scrolling in any page I load is very laggy. I do not have this problem when use mouse scrolling in regular man pages. Also, I using the spacebar and b keys to navigate seems normal and is not lagging for me.
I'm on  OSX: 10.12.4 with dasht 2.1.0

What do you mean by page?  Is it the web page you see upon following a search result link in w3m?
On my system, w3m version 0.5.3+git20170102 doesn't seem to provide any mouse scrolling support.  So the lag you observe might be an interaction between your terminal emulator's scrollback buffer and w3m.
As an alternative, you can use your regular graphical Web browser with dasht through dasht-server.

Closing due to lack of response. :policeman: Please re-open if you still need help.


Figure out a good thing to do when no data is found

Currently, whenever no data is found, I handle it in a sloppy way.  Can you recommend a good strategy?
The h5q commands do this:
/global/project/projectdirs/metatlas/anaconda/lib/python2.7/site-packages/metatlas/h5_query.pyc in get_data(h5file, ms_level, polarity, **kwargs)
147
148     if not data.size:
--> 149         raise ValueError('No data found matching criteria')
150
151     if kwargs.get('verbose', None):
ValueError: No data found matching criteria

I don't follow what you're asking.

Currently, I make my data requests like this:
    return_data['eic'] = {}
    try:
        rt,intensity = h5q.get_chromatogram(fid,
                                        mz_min,
                                        mz_max,
                                        ms_level,
                                        polarity)
        return_data['eic']['rt'] = rt
        return_data['eic']['intensity'] = intensity
        return_data['eic']['polarity'] = polarity

    except:
        return_data['eic']['rt'] = []
        return_data['eic']['intensity'] = []
        return_data['eic']['polarity'] = []

My gut tells me there is  a smarter way to handle the no data found issue.

We could have get_chromatogram return None, None if there is no data.

or [], [] if you prefer

That would be great.  Whatever you think is best.  Something consistent for get_data, chromatogram, spectra, etc.

Fixed in 4e18552 by returning [], [].


null is not an object(evaluating 'handle._nativeTag')

Description
Greetings,
I am using
"react": "17.0.2",
"react-native": "0.66.0",
After upgrading from 0.64.2 to 0.66.0 I am getting this error
TypeError: null is not an object (evaluating 'handle._nativeTag')
and the error points to node_modules\react-native\Libraries\Renderer\implementations\ReactNativeRenderer-dev.js
The problem is I cannot find the source of the problem which library or third-party package is creating this issue or it may be related to react-native itself?

React Native Version
0.66.0
Output of npx react-native info
System:
OS: Windows 10 10.0.19045
CPU: (8) x64 11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz
Memory: 1.27 GB / 15.71 GB
Binaries:
Node: 12.18.3 - C:\Program Files\nodejs\node.EXE
Yarn: Not Found
npm: 6.14.6 - C:\Program Files\nodejs\npm.CMD
Watchman: Not Found
SDKs:
Android SDK: Not Found
Windows SDK: Not Found
IDEs:
Android Studio: AI-212.5712.43.2112.8609683
Visual Studio: Not Found
Languages:
Java: 11.0.15
npmPackages:
@react-native-community/cli: Not Found
react: 17.0.2 => 17.0.2
react-native: 0.66.0 => 0.66.0
react-native-windows: Not Found
npmGlobalPackages:
react-native: Not Found
Steps to reproduce
After unmounting a web view component when I click on the home screen app crashes with this error msg null is not an object(evaluating 'handle._nativeTag').
Snack, code example, screenshot, or link to a repository
https://codepen.io/

I would like to see what I can do, can you share a link to the repository?
I feel since you've upgraded your react-native, the issue might be there, or some dependencies

Please provide a reproducible example to make this issue actionable.


Add a couple of extra converters using Relax ops

Hi Florin, with new PRs like https://github.com/octoml/relax/pull/36 merged, let's move our PRs to octoml repo and leverage the current testing frameworks with legalization. Let me know if you got any questions, I'll close this PR for now.


Feature/iap over bt

TRS/iAP over BT/ folder was created
iAP_over_BT_data_resumption index was created
iAP_over_BT_handling_HMI_notifications_during_re-connection index was created
iAP_over_BT_re-connection index was created
detailed_docs/accessories/
Diagrams added
iAP transport change reconnection.png
iAP_over_BT_data_resumption.png
detailed_docs/iAP_over_BT/  folder was created
iAP_over_BT_handling_HMI_notif_during_reconnection_use_case index was created
iAP_over_BT_re-connection_use_case index was created

@robinmk, please review

@KhrystynaDubovyk , I've provided the review comments.
Is this for requirements documentation?


set up wagtail

closes #183
adds a few non-essential but useful configs like TAGGIT_CASE_INSENSITIVE and WAGTAIL_USAGE_COUNT_ENABLED that were suggested in the wagtail setup docs. also ports templates for the wagtail admin backend and login form from mep.

Codecov Report

Merging #187 into develop will decrease coverage by 0.02%.
The diff coverage is 91.66%.

@@             Coverage Diff             @@
##           develop     #187      +/-   ##
===========================================
- Coverage    98.06%   98.03%   -0.03%
===========================================
  Files           77       77
  Lines         2737     2748      +11
===========================================
+ Hits          2684     2694      +10
- Misses          53       54       +1

good call on the userbar, thank you! re: the dependencies I think we can see if anything breaks, and if not it should get resolved in 3.1 when we upgrade wagtail to latest.
for the email, I just picked something that sounded right. I guess we could also use whatever address the Django admin uses when it sends emails - is that stored in local settings, or regular settings?


Support for If statements with logic expressions in templates by default without helpers

It would be really neat if Handlebars.js would support If statements with logic expressions in templates by default, without helpers. Then I could do amazing things, like this:
{{#if unicorns == ponies }}
That's amazing, unicorns are actually undercover ponies
{{/if}}

Also see this blog post on the issue.

I, too, wish for basic comparisons in Handlebars. I understand the logicless philosophy. I also believe basic comparison support would be more intuitable and allow users to work more efficiently. If users in mass are moving basic comparison logic to a helper, this philosophy isn't doing them a favor or dissuading a perceived suboptimal behavior—it's just creating more work.


Update version of ox to prevent reported security vulnerability

GitHub security analyzer suggest upgrading ox to 2.8.1

@JamesDullaghan, PR to update version of ox as suggested by GitHub:

Closing old issue


Backports 2.13.x

Thanks @ldrozdo for taking care of back porting. I'v back port some commits in https://github.com/apache/camel-quarkus/pull/4779, plesae check them at first.

Some commits are already backported:

21a8b2ac06c72eaaf6bb48587f343c86fe482585 as https://github.com/apache/camel-quarkus/commit/bd5b43664bd6288b0fd27f4f1fc2439cfd4826a0
924f876a933ab38d073d93e2a140c83fe33e69ba  - just formatting change which is covered on 2.13.x
5af05c4626637363bdbc12eb5b6b69c1ba03ade77 and 35f38885da2d8afd5afa3e33ca6af1e286370961 seem to be the same and are already backported as https://github.com/apache/camel-quarkus/commit/ad9c3b1f255c7e2acd214b29fb5f5ab800c60a6c

I think that all changes are already backported

All is backported, closing


Exit normally

Context
See #83
Summary
6e4d470d0f712e7067bda12c27818efe077662e5
Destroy zn_input_device before zn_seat
37a75d26dce176bb68753e96dee5295540f107c2
Exit more gracefully when key input is detected. If just  terminate with exit(0), developers cannot know the termination process works well or not.
882d26b5563c1a91a989d289f5868ab11dd51f79
Exit with only Q key pressed. I want to use some key to switch keyboard between multiple computers.
How to check behavior

build
start zen-desktop
press 'q'

You'll see [zen/main.c:195] Exited gracefully at the end of the log.

@watasuke102
Your PR #67 is so relevant to this. I want you to review this.


White screen appears and remains on opening chat

I have integrated the iOS LiveChat SDK (2.0.13) into our app using CocoaPods and occasionally, on opening the chat window, we see a totally white view (apart from the status bar).  Unfortunately there is no way for the user of the app to close the view, they must kill the app and relaunch - on relaunching, the chat will successfully load.
I have not yet been able to identify steps or scenarios which cause this issue.
Please see the attached screenshot.

@EvanGregg thanks for the report. I will try to reproduce the issue. In case you will establish anything more please let me know.

@EvanGregg unfortunately despite of many attempts I wasn't able to reproduce the problem. I checked on iOS 11 and 12. Different account, different licenses, devices and simulators,not a single reproduction. Could you please provide more details about that problem? iOS version, device type, any specific steps which increase the chance of reproduction?
Is this possible for you to provide us with some simple demo project which reproduces the bug?

Closed due to no activity.


TagBot trigger issue

This issue is used to trigger TagBot; feel free to unsubscribe.
If you haven't already, you should update your TagBot.yml to include issue comment triggers.
Please see this post on Discourse for instructions and more details.
If you'd like for me to do this for you, comment TagBot fix on this issue.
I'll open a PR within a few hours, please be patient!

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/107555

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/122216


Cannot use custom script to move focus

I wrote a script to control yabai that either moves focus west or, if there's no window available on that display, selects the closest window on the closest adjacent display. It works well when run from the shell (as $SHELL -c '"${HOME}"/.config/skhd/yabai-locator window focus west') but the keybind doesn't do anything.
Can anyone see what's going wrong? I don't know how to debug what's happening but would be happy to with some direction.
Thanks!
in skhdrc:
cmd - h : "${HOME}"/.config/skhd/yabai-locator window focus west

yabai-locator: gist
Edit: I tried inserting echo [cmd] >> temp_file at various points and the problem is in calling functions internal to the script, eg $(exists_window_to_left_of_focus) on line 114. They don't return anything.

It's the same behaviour as in this issue: skhd works correctly when run from shell but not when started with brew services start skhd. I'm running 0.3.5.

So first, if you want to debug a shell script, run set -ex somewhere early on. -e causes the script to exit early on errors, and -x prints every line before running it. That way you can look at the log file of skhd and see what went wrong.
Second, I think the issue is even before your script runs. It is likely that the launch agent that brew services or its underlying launchctl load use don't know about the variable HOME.

So first, if you want to debug a shell script, run set -ex somewhere early on. -e causes the script to exit early on errors, and -x prints every line before running it. That way you can look at the log file of skhd and see what went wrong.

Thanks! Is there an obvious place to look for the logs?

Second, I think the issue is even before your script runs. It is likely that the launch agent that brew services or its underlying launchctl load use don't know about the variable HOME.

I was able to diagnose the issue using less sophisticated means. It turns out that if I define a function in the script and call it, using $() to capture its stdout (because I wanted a return value kind of functionality), the functions return an empty value. So it's probably something to do with how stdout behaves while running the script?

After upgrading to Big Sur, brew services start skhd seems to have no effect. When running skhd from the terminal it works like a charm. The same "silence" happens when using launchctl load -w .../skhd directly.
Having tried to debug, I couldn't figure out the root cause here.
My workaround was to start skhd in the background from within .yabairc, as follows:
# Load Script Additions for BigSur, as per instructions:
# https://github.com/koekeishiya/yabai/wiki/Installing-yabai-(latest-release)/c16d7804fc1093129516acedd507b5f838d34192#macos-big-sur---automatically-load-scripting-addition-on-startup
sudo yabai --load-sa
yabai -m signal --add event=dock_did_restart action="sudo yabai --load-sa"

# Start SKHD in the background. Work around issues:
# https://github.com/koekeishiya/skhd/issues/103
# https://github.com/koekeishiya/skhd/issues/139
skhd &

I don't like this solution much because it might leave the skhd process alive after yabai terminates, but it's something.

After upgrading to Big Sur, brew services start skhd seems to have no effect. When running skhd from the terminal it works like a charm. The same "silence" happens when using launchctl load -w .../skhd directly.
Having tried to debug, I couldn't figure out the root cause here.
My workaround was to start skhd in the background from within .yabairc, as follows:
# Load Script Additions for BigSur, as per instructions:
# https://github.com/koekeishiya/yabai/wiki/Installing-yabai-(latest-release)/c16d7804fc1093129516acedd507b5f838d34192#macos-big-sur---automatically-load-scripting-addition-on-startup
sudo yabai --load-sa
yabai -m signal --add event=dock_did_restart action="sudo yabai --load-sa"

# Start SKHD in the background. Work around issues:
# https://github.com/koekeishiya/skhd/issues/103
# https://github.com/koekeishiya/skhd/issues/139
skhd &

I don't like this solution much because it might leave the skhd process alive after yabai terminates, but it's something.

thanks to @aSapien for this hacky solution, but if you are still having problems loading your configs from your dotfiles, try putting this in your ~/.config/yabai/yabairc/.yabairc:
# Start SKHD in the background. Work around issues:
# https://github.com/koekeishiya/skhd/issues/103
# https://github.com/koekeishiya/skhd/issues/139
# thanks to @aSapien!!!
skhd -c $HOME/.config/skhd/skhdrc

this should specify the config and load properly on loading yabai, but still has the same issues mentioned by aSapien. i personally have this at the end of my yabairc so that it runs after the config is loaded.

I've been struggling with this issue and I believe I've found the root cause and a workaround.
TL;DR
When skhd is launched by Homebrew the PATH is preset and does not include /usr/local/bin.  When skhd is launched in the terminal, it has the full path.
The fix:
> # Make a copy of the default service.
$  cp ~/Library/LaunchAgents/homebrew.mxcl.skhd.plist ~/.config/skhd/

> # Add /usr/local/bin: to the service file.
> # Note: This probably only works if you have a M1 chip b/c homebrew installs to /opt/homebrew for M1 only (i think).
> # Either way, it's probably easier to just edit this file by hand vs using my sed command.
$  sed -i '' 's/\/opt\/homebrew\/bin:/\/usr\/local\/bin:&/' ~/.config/skhd/homebrew.mxcl.skhd.plist

> # Start skhd using the new service file.
$ brew services stop skhd
$ brew services start skhd --file=~/.config/skhd/homebrew.mxcl.skhd.plist

Longer version
I've been struggling with this for a few hours.  Tricks like symlinking ~/.config/yabai/yabairc to ~/.yabairc didn't work for me.
Stopping skhd (brew services stop skhd) and running skhd & from a terminal worked for me.  However, moving skhd & or skhd -c $HOME/.config/skhd/skhdrc to the bottom of my yabairc broke it again.
I checked yabai's error logs - tail -f /opt/homebrew/var/log/yabai/yabai.err.log
Whenever I tried a skhd binding it said my script from my /usr/local/bin was not found. That was weird because which <my-command> worked and I verified that /usr/local/bin was in my path correctly.
For whatever reason the environment homebrew was running things in was different from my path.  I tried a bunch of things like creating a ~/.bash_profile and adding a path, uninstalling & reinstalling everything, etc.  No luck.
I ran brew services list and saw "files" listed next to the services.  I checked these files out and saw that they were basically configs for how to launch these commands.  What I saw was that they had a PATH that was super limited.  It didn't include my /usr/local/bin.
I edited the file to add the /usr/local/bin, restarted and restarted yabai.  Nothing.  I opened the file again and my edits were gone.
More exploring and I where this file was getting created.
> # Turn on developer mode
$ brew developer on

> # Edit the skhd "homebrew formula"
$ brew edit skhd

I could see where it's redefining this file, overriding my path changes.  I could edit this but that would be helpful for dotfiles or anything.
I found out that homebrew lets you specify which plist file to use when starting services.  Using a local copy of the file did the trick & plays nicer with dotfiles.
Long term fix
Could whatever is populating this brew edit skhd file be updated to include /usr/local/bin in the path?

https://github.com/koekeishiya/yabai/issues/526#issuecomment-639899511 solves window move focus across screens without script.
In case anybody ends up here from google like me ;-).


Headers - correct distance between subsequent sections

@smootny Could you assign me to this task? I probably don't have the appropriate permissions to do this 😬

sure!

I confirm that the visibility on the connected monitor is correct.
I would consider a different distance between sections and headers. They should all look like by the word "Realizacja".

But we need to fix the correct display on the laptop !


Fix for S3 breaking change from AWS

Since the change of the default s3 bucket behavior (https://docs.aws.amazon.com/AmazonS3/latest/userguide/about-object-ownership.html) to ACLs disabled by default for all new s3 buckets, deploying datagrok core fails with "The bucket does not allow ACLs" on the logging bucket.
I believe adding a configuration of this resource https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/s3_bucket_ownership_controls
looking something like this:
resource "aws_s3_bucket_ownership_controls" "bucket_acl_ownership" {
  bucket = aws_s3_bucket.chemaxon_license_bucket.bucket
  rule {
    object_ownership = "ObjectWriter"
  }
}

should fix the issue.

Any update on this? This is causing our production terraform pipeline to break and it's a relatively small fix.

Hi @jacobredesign, the issue should be fixed in the latest releases. The first one to contain the fix is 2.2.1.


NuGetV2: avoid revealing password also if more than one source is defined

Minor regression on the fix from #1238 to protect personal passwords from being revealed in logs and the shell. In case of multiple sources it fell back to the original unprocessed sources and thus bypass the ToString override.

ouch. thx

Great, thanks!

Thanks for solving this! We are then going to adopt Paket in our company :+1:


yolo_meta_arch

In model_builder, there is
“from object_detection.meta_architectures import yolo_meta_arch”
but there is no yolo_meta_arch.
Can you help me ?

Hi. @omg777
There is yolo_meta_arch.py under research/object_detecion/meta_architectures
Clink this link

@rky0930 Thanks for your quick reply! I solved this problem but unfortunately, I got AttributeError: 'SsdFeatureExtractor' object has no attribute 'batch_norm_trainable' .
needs your help.

@rky0930 I solved this problem. thank you!
but unfortunately I got AttributeError: 'SsdFeatureExtractor' object has no attribute 'batch_norm_trainable'  error. Can help me?

Becuase YOLOv2Darknet19FeatureExtractor inherit the ssd_meta_arch.SSDFeatureExtractor, they should have the same param set.
Original repo's object detection api is under development. so, the source code is updated sometime.
What Object detecion api source are you using now ?

@rky0930 I want to use YOLOv2, so I clone the original tensorflow repo and added your updated files to the original.
then I tried to train with my own dataset using YOLOv2.
python train.py --logtostderr --train_dir=training/ --pipeline_config_path=training/yolo_v2_darknet_19_voc.config --num_clones=2 --ps_tasks=1
but got a error AttributeError: 'SsdFeatureExtractor' object has no attribute 'batch_norm_trainable'

@omg777 I'm not tried to use my code with newest Object Detection Model.
You can delete "batch_norm_trainable" from yolo_meta_arch.py,, but then maybe another error comes out.
If you want to use Yolo_v2 with newest version of Object detection API, I will update my code. but it will take a time.
If you ok with old version of object detection model, you can just clone this repo.
If you want to do by yourself. Feel free to ask me :D

@rly0930 thanks a lot!
I cloned your repo and tried to start training but still ‘batch_norm_trainable’ error exists.

@omg777 Cloned source code still have the same error..That's weird.
Can i see your source code and config file ? If you can, send me via e-mail. I will check it by myself.
E-mail<EMAIL_ADDRESS>

Hi @omg777
Thank you for sending me your code.
I checked your source code. There was not 'batch_norm_trainable' error to me.
There was something i can change in your files to run with yolo_v2 correctly.
I test train & eval with yolo_v2 & your code. It run well.


Adding your names in interested developers list

Added my Name and  Profile to the interested developers Section #31