Error in training with SSD

Traceback (most recent call last):
File "tools/train.py", line 257, in
main()
File "tools/train.py", line 170, in main
distributed=distributed, validate=(not args.no_validate), timestamp=timestamp, meta=meta)
File "/media/gc/1T/MI-AOD-master/mmdet/apis/train.py", line 120, in train_detector
runner.run(data_loaders_L, cfg.workflow, cfg.total_epochs)
File "/home/gc/anaconda3/envs/miaod/lib/python3.7/site-packages/mmcv/runner/epoch_based_runner.py", line 161, in run
epoch_runner(data_loaders[i], **kwargs)
File "/home/gc/anaconda3/envs/miaod/lib/python3.7/site-packages/mmcv/runner/epoch_based_runner.py", line 33, in train
outputs = self.model.train_step(X_L, self.optimizer, **kwargs)
File "/home/gc/anaconda3/envs/miaod/lib/python3.7/site-packages/mmcv/parallel/data_parallel.py", line 31, in train_step
return self.module.train_step(*inputs[0], **kwargs[0])
File "/media/gc/1T/MI-AOD-master/mmdet/models/detectors/base.py", line 228, in train_step
losses = self(**data)
File "/home/gc/anaconda3/envs/miaod/lib/python3.7/site-packages/torch/nn/modules/module.py", line 722, in _call_impl
result = self.forward(*input, **kwargs)
File "/media/gc/1T/MI-AOD-master/mmdet/core/fp16/decorators.py", line 51, in new_func
return old_func(*args, **kwargs)
File "/media/gc/1T/MI-AOD-master/mmdet/models/detectors/base.py", line 162, in forward
return self.forward_train(x, img_metas, **kwargs)
File "/media/gc/1T/MI-AOD-master/mmdet/models/detectors/single_stage.py", line 83, in forward_train
losses = self.bbox_head.forward_train(x, img_metas, y_loc_img, y_cls_img, y_loc_img_ignore)
File "/media/gc/1T/MI-AOD-master/mmdet/models/dense_heads/base_dense_head.py", line 58, in forward_train
L_det_1 = self.L_det(*loss_inputs, y_loc_img_ignore=y_loc_img_ignore)
File "/media/gc/1T/MI-AOD-master/mmdet/models/dense_heads/ssd_head.py", line 228, in L_det
assert torch.isfinite(all_y_f).all().item(), 'classification scores become infinite or NaN!'
AssertionError: classification scores become infinite or NaN!
Hello. When I use SSD to train my dataset, this problem will appear after training for a period of time.

Please check if there is a problem with the annotation of your dataset, adjust the learning rate or set the warmup parameters, etc.
This question is not related to the MI-AOD method.


Error: Cannot find module

For any reason, the sns is trigger corrctly, but when it comes to start the function supposed to start. It seems that, it cannot find the handler.
here a part of the error:
Error: Cannot find module '/Users/**/Documents/**/src/handlers/sns/fun'
Require stack:
- /Users/**/Documents/**/node_modules/serverless-offline-sns/dist/index.js
- /Users/**/Documents/**/node_modules/serverless/lib/utils/require-with-import-fallback.js
- /Users/**/Documents/**/node_modules/serverless/lib/classes/plugin-manager.js
- /Users/**/Documents/**/node_modules/serverless/lib/serverless.js
- /Users/**/Documents/**/node_modules/serverless/scripts/serverless.js
- /Users/**/Documents/**/node_modules/serverless/bin/serverless.js ```

Any idea what could be the issue?

For any reason, the sns is trigger corrctly, but when it comes to start the function supposed to start. It seems that, it cannot find the handler.
here a part of the error:
Error: Cannot find module '/Users/**/Documents/**/src/handlers/sns/fun'
Require stack:
- /Users/**/Documents/**/node_modules/serverless-offline-sns/dist/index.js
- /Users/**/Documents/**/node_modules/serverless/lib/utils/require-with-import-fallback.js
- /Users/**/Documents/**/node_modules/serverless/lib/classes/plugin-manager.js
- /Users/**/Documents/**/node_modules/serverless/lib/serverless.js
- /Users/**/Documents/**/node_modules/serverless/scripts/serverless.js
- /Users/**/Documents/**/node_modules/serverless/bin/serverless.js ```

Any idea what could be the issue?

Did you find any solution for this? @FloUz-ai


[DOC-UPDATE] apache-drill-contribution-ideas.md update

[DOC-UPDATE]: Apache-drill-contribution-ideas.md Update
This is a doc update for apache-drill-contribution-ideas.md, No JIRA issue filed here
Description
All the idea which has been resolved or the idea which is out-of-date, has been removed from apache-drill-contribution-ideas.md

Sequence: resolved, reference to (https://drill.apache.org/docs/sequence-files)
RC: out-of-date, this data type is rarely used, could remove from future plan.
Protobuf: resolved, reference to (https://drill.apache.org/apidocs/org/apache/drill/exec/proto/UserProtos.GetServerMetaResp.html)
XML: resolved in v1.19, but not release yet, so still keep in here, reference to
(https://issues.apache.org/jira/browse/DRILL-7823)
Thrift: resolved, reference to (https://issues.apache.org/jira/browse/DRILL-1)
Enhancements to REST APIs: resolved, reference to (https://issues.apache.org/jira/browse/DRILL-77)
MapReduce: out-of-date, MapR has been deprecated from Hadoop v3.0, could remove from future plan.
Hive views: resolved, reference to (https://drill.apache.org/docs/hive-storage-plugin)
YARN: resolved, reference to (https://drill.apache.org/docs/drill-on-yarn-introduction)

Documentation
This PR updates the Apache-drill-contribution-ideas.md.
Testing
None, this is a doc update

Wow some of that was waaay out of date, c.f. "Add reference to DRILL-1"! :-)
Thanks for the update.

No problem, my pleasure.


feat: Add autodoc for event annotations

Description: Adds automatic documentation of annotated events for discoverability and ease of configuration. This is in draft until dependencies merge and release, so I can update requirements to the official version, I'll be adding event_key_fields for the rest of the events while that is in review. Generated docs look like this:

Dependencies: https://github.com/openedx/code-annotations/pull/98
Installation instructions: List any non-trivial installation
instructions.
Testing instructions:

Requirements are updated to use the branch of code-annotations necessary to run this so pulling this branch and running make requirements should suffice
Run make docs
Sphinx should run and pop open the generated docs in your browser. Navigate to reference -> events to see the content.

Reviewers:

[ ] tag reviewer
[ ] tag reviewer

Merge checklist:

[ ] All reviewers approved
[ ] CI build is green
[ ] Version bumped
[ ] Changelog record added
[ ] Documentation updated (not only docstrings)
[ ] Commits are squashed

Post merge:

[ ] Create a tag
[ ] Check new version is pushed to PyPI after tag-triggered build is
finished.
[ ] Delete working branch (if not needed anymore)

Coverage issue is just because there is more code (comments), there is nothing to test in any of this.

@timmc-edx @mariajgrimaldi this is ready for re-review. Changes since the last push:

Using the release of code-annotations
Ran make upgrade because of that
Removed pii checks from Makefile and tox since they were broken after the removal of .pii_annotations.yml


[FEA] Autotuner should recommend tuned settings (batchSizeBytes, concurrentGpuTasks) for OOM conditions

I would like the profiler tool recommendations to optimize for OOM scenarios where there are stats from OOM retry metrics or OOM failed tasks that should allow adjustments for Spark RAPIDS settings to reduce OOM and enhance performance.

is this on GPU ooms?  Which implies the event log here was from GPU run

Yes, this was originally from GPU event logs when auto-tuner was only run with profiler on GPU runs.


Disable automatic updater

I don't want to update automatically
I installed version 78 and re-opened it into version 85.
Win10

fixed via #1292


voice command "start spotify" doesnt work, while playing everything works fine tho

like the title is already telling everything lol
is this a general problem or did i do something wrong?
Thanks in advance for your help guys!

hi,
You can add prepared Spotify recipe for advance vocal function


Improve performance script analyzer

Otherwise, looks good to me.

Quoc. Can you summarize the changes here? Need this for the release notes

Improve the performance of PSScriptAnalyzer by running the default rules in parallel using System.Threading.Task. It is important to note that any rules that use powershell.invoke cannot be run in parallel using this method (hence why we only apply it to the default rules).

looks good. Do you know how long the test pass takes with/without the changes?

It's only 2 or 3 seconds faster because the tests run small scripts (which means that the improvement from running the rules in parallel won't be noticeable). If you run this with the DoPx module of Kirk for example, then it is almost twice as fast (same if we run on a long script like PSGet.psm1 where it can be 3 or even 4 times faster).

Merged the changes.


Misc fixes

This resolves issue 138, 151, 160.
The resolution for issue 138 is, as suggested in the discussion for that issue, to check if the text to be added to the archive is already present in the archive, and to bail out if it is.
Issue 160 is fairly straight forward bug. The script would only check if Category:Wikipedia sockpuppets of so-and-so exists, if accounts were being tagged as proven. As a result, if all sock are tagged as confirmed, a category would be required but not created. Setting the checkConfirmedCat variable to true when there are proven or confirmed tags, fixes the problem.
Issue 151, as described in the discussion for that issue, is a regex problem. If the note1 parameter contains a template, the end of that template is read as the end of the socklist, meaning any suspected socks appear after that are missed. The solution here is to simply not try to parse the wikitext at all, and instead play to the strengths of the language we're using by pulling the usernames out of the DOM instead. The checkuser and sock list template wrap their content in a span with a class of cuEntry that's not used anywhere else. I've tested this fix against all four currently supported skins, and it should also just work with Minerva if PR159 is accepted.

Ideally would resolve the eslint issues prior to merging — is that okay with you to do?

If you have specific concerns, or there's a way to automate the fix, I'm happy to oblige, but the errors honestly seem like nit-picking to me. Most of them are the result of my text editor and the test suite having different opinions on whitespace.


Need to be able to use Net::HTTP::Proxy instead of Net::HTTP

For outbound service calls, such as serviceValidate, we have the need to be able to use/set Net::HTTP::Proxy in order to reach the CAS server.

Feel free to submit a pull request to fix this, but I don't have time address this at this time.

I've created a pull request for this feature: https://github.com/rubycas/rubycas-client/pull/24


[hadoop] remove duplicate diagnostics

More readable patch: https://github.com/mzmssg/hadoop/pull/4/files
There will no duplicate stderr in diagnostics:
Original

Fixed

Coverage remained the same at 52.932% when pulling bf4921984d22e42e4b6d0b740b1e5b9507dff7a9 on zimiao/remove_duplicate_diagnostics into 07e4e5fc1e2cc7d40c2cb44378666d4ed87544c8 on master.

Coverage remained the same at 52.932% when pulling bf4921984d22e42e4b6d0b740b1e5b9507dff7a9 on zimiao/remove_duplicate_diagnostics into 07e4e5fc1e2cc7d40c2cb44378666d4ed87544c8 on master.

Can we just move line 1575 to 1579 and 1596?
It seems more nature.

It's the same. But we need three if (exitEvent.getDiagnosticInfo() != null) in different block, and split diagnostic and its prefix Diagnostic message from attempt in different blocks.
I don't think it's more readable.


add: --receipt PATH

After building the output:
Write a JSON receipt to PATH with:

version: ${output} --version stripping away non-version info
algo: "sha256"
hash: sha256sum(output)
date: current ISO 8601 timestamp (UTC)

Going to skip writing it to some other path for now.


Add example to show how to use cookie & session

i did it with async_session crate, maybe lack-of-poem but it works :)

Your code is like a poem, thank you very much! 🤣


[PDI-19055] CLIENT column in PDI job log table records "unknown" when…

… job executed on Pentaho server

:white_check_mark: Build finished in 34m 26s
Build command:
mvn clean verify -B -e -Daudit -amd -pl core,engine

:ok_hand: All tests passed!
Tests run: 5117, Failures: 0, Skipped: 7    Test Results

:information_source:  This is an automatic message


Timed out while waiting for handshake

When I try to connect with my synology nas (sftp) with config:
{
"name": "home-assistant",
"protocol": "sftp",
"host": "xxx.synology.me",
"port": 22,
"username": "xxxx",
"password": "xxxx",
"remotePath": "/docker/home-assistant",
"connectTimeout": 3600,
"secure" : true,
"ignore": [
".vscode",
".git"
]
}
I get the following error:
[08-01 13:21:17] [trace] run command 'Upload File'
[08-01 13:21:17] [trace] handle upload file for c:\Workspace\YAML\HASS.vscode\sftp.json
[08-01 13:21:17] [debug] Local ident: 'SSH-2.0-ssh2js0.4.2'
[08-01 13:21:17] [debug] Client: Trying xxxx.synology.me on port 22 ...
[08-01 13:21:17] [debug] Client: Connected
[08-01 13:21:17] [debug] Remote ident: 'SSH-2.0-OpenSSH_7.4'
[08-01 13:21:17] [debug] Outgoing: Writing KEXINIT
[08-01 13:21:17] [debug] DEBUG: Comparing KEXINITs ...
[08-01 13:21:17] [debug] (local) KEX algorithms: ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha1
[08-01 13:21:17] [debug] (remote) KEX algorithms: curve25519-sha256@libssh.org,diffie-hellman-group-exchange-sha256,diffie-hellman-group14-sha1,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521
[08-01 13:21:17] [debug] KEX algorithm: ecdh-sha2-nistp256
[08-01 13:21:17] [debug] (local) Host key formats: ssh-rsa,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521
[08-01 13:21:17] [debug] (remote) Host key formats: ssh-rsa,rsa-sha2-512,rsa-sha2-256,ecdsa-sha2-nistp256,ssh-ed25519
[08-01 13:21:17] [debug] Host key format: ssh-rsa
[08-01 13:21:17] [debug] (local) Client->Server ciphers: aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm,aes128-gcm<EMAIL_ADDRESS>[08-01 13:21:17] [debug] (remote) Client->Server ciphers: aes128-ctr,aes128-gcm@openssh.com,aes192-ctr,aes256-ctr,aes256-gcm<EMAIL_ADDRESS>[08-01 13:21:17] [debug] Client->Server Cipher: aes128-ctr
[08-01 13:21:17] [debug] (local) Server->Client ciphers: aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm,aes128-gcm<EMAIL_ADDRESS>[08-01 13:21:17] [debug] (remote) Server->Client ciphers: aes128-ctr,aes128-gcm@openssh.com,aes192-ctr,aes256-ctr,aes256-gcm<EMAIL_ADDRESS>[08-01 13:21:17] [debug] Server->Client Cipher: aes128-ctr
[08-01 13:21:17] [debug] (local) Client->Server HMAC algorithms: hmac-sha2-256,hmac-sha2-512,hmac-sha1
[08-01 13:21:17] [debug] (remote) Client->Server HMAC algorithms: hmac-sha1,hmac-sha1-etm@openssh.com,hmac-sha2-256,hmac-sha2-256-etm@openssh.com,hmac-sha2-512,hmac-sha2-512-etm@openssh.com,umac-128-etm@openssh.com,umac-128@openssh.com,umac-64-etm<EMAIL_ADDRESS>[08-01 13:21:17] [debug] Client->Server HMAC algorithm: hmac-sha2-256
[08-01 13:21:17] [debug] (local) Server->Client HMAC algorithms: hmac-sha2-256,hmac-sha2-512,hmac-sha1
[08-01 13:21:17] [debug] (remote) Server->Client HMAC algorithms: hmac-sha1,hmac-sha1-etm@openssh.com,hmac-sha2-256,hmac-sha2-256-etm@openssh.com,hmac-sha2-512,hmac-sha2-512-etm@openssh.com,umac-128-etm@openssh.com,umac-128@openssh.com,umac-64-etm<EMAIL_ADDRESS>[08-01 13:21:17] [debug] Server->Client HMAC algorithm: hmac-sha2-256
[08-01 13:21:17] [debug] (local) Client->Server compression algorithms: none,zlib@openssh.com,zlib
[08-01 13:21:17] [debug] (remote) Client->Server compression algorithms<EMAIL_ADDRESS>[08-01 13:21:17] [debug] Client->Server compression algorithm: none
[08-01 13:21:17] [debug] (local) Server->Client compression algorithms: none,zlib@openssh.com,zlib
[08-01 13:21:17] [debug] (remote) Server->Client compression algorithms<EMAIL_ADDRESS>[08-01 13:21:17] [debug] Server->Client compression algorithm: none
[08-01 13:21:17] [debug] Outgoing: Writing KEXECDH_INIT
[08-01 13:21:17] [debug] DEBUG: Checking host key format
[08-01 13:21:17] [debug] DEBUG: Checking signature format
[08-01 13:21:17] [debug] DEBUG: Verifying host fingerprint
[08-01 13:21:17] [debug] DEBUG: Host accepted by default (no verification)
[08-01 13:21:17] [debug] DEBUG: Verifying signature
[08-01 13:21:17] [debug] Outgoing: Writing NEWKEYS
[08-01 13:21:17] [debug] Outgoing: Writing SERVICE_REQUEST (ssh-userauth)
[08-01 13:21:17] [debug] Outgoing: Writing USERAUTH_REQUEST (none)
[08-01 13:21:17] [debug] Client: none auth failed
[08-01 13:21:17] [debug] Outgoing: Writing USERAUTH_REQUEST (password)
[08-01 13:21:20] [debug] Outgoing: Writing DISCONNECT (BY_APPLICATION)
[08-01 13:21:20] [error] Error: [steegmans.synology.me]: Timed out while waiting for handshake
at Client.module.exports._connectSSHClient.e.on.on.e (C:\Users\jeffry.steegmans.vscode\extensions\liximomo.sftp-1.12.7\dist\extension.js:70:107136)
at Client.emit (events.js:187:15)
at Timeout._onTimeout (C:\Users\jeffry.steegmans.vscode\extensions\liximomo.sftp-1.12.7\node_modules\ssh2\lib\client.js:692:14)
at ontimeout (timers.js:425:11)
at tryOnTimeout (timers.js:289:5)
at listOnTimeout (timers.js:252:5)
at Timer.processTimers (timers.js:212:10)
Is this a known issue?

Try a larger connectTimeout value.

I am getting the same thing. Most times with other programs there is a known host file or at the least an interactive button you can hit to add the host to the list of known host. I feel like the issue is that is is trying to determine the status of the host but the plugin is not asking for you to confirm the host.

I have the same problem. Sometimes connected, but most often not

I have this problem too

I am having the same issue

I have the same issue on 'sftp' protocol. There is no problem whatsoever when connecting through regular 'ftp'.

Have the same problem. I use absolute path, not a symlink. Can't connect to my syno. Is any real treatment?

Hi @liximomo
Do we have any workaround for this issue?
Also, changelog, versions not in sync.

@filopd
The workaround is to set "connectTimeout": 40000 into sftp.json.

In my case, my ISP (Netlife, EC) sometimes blocks connections to port 22, sometimes not. In fact, I was connected a few minutes ago, then suddenly, I wasn't able to connect. Then I tried to connect from the terminal through SSH and I couldn't. So, test If you can connect with ssh, if it is not possible, then probably it is not this plugin's fault.
Fortunately I already had a VPN service because I have had these kind of issues before. I'm using VPN Express, but any VPN will work for you. I'm not endorsing this particular VPN, just saying it worked for me.
I don't think changing the timeout from 20000 to 40000 will do the trick, 20000 is enough waiting for most cases.

i've tried most of the solutions above, the timeout error is still there. i dont think i have a connection problem coz i can ssh into the server . so any workaround this problem is greatly appreciated .

Im having the same issue

i cant connect and the log return Timed out while waiting for handshake

In my case, my ISP (Netlife, EC) sometimes blocks connections to port 22, sometimes not. In fact, I was connected a few minutes ago, then suddenly, I wasn't able to connect. Then I tried to connect from the terminal through SSH and I couldn't. So, test If you can connect with ssh, if it is not possible, then probably it is not this plugin's fault.
Fortunately I already had a VPN service because I have had these kind of issues before. I'm using VPN Express, but any VPN will work for you. I'm not endorsing this particular VPN, just saying it worked for me.
I don't think changing the timeout from 20000 to 40000 will do the trick, 20000 is enough waiting for most cases.

I'm the opposite, after turning on vpn it times out.

What do I need to pay attention to in terms of vpn settings?

TORAH TECH: In my case: Close down the torrent download application, which uses port #s. If SFTP works one moment and the next times out of the handshake and won't connect to remote server then: Check any programs that are simultaneously running that you know uses PORT # for services.
Hope this helps, Shalom!
Ben Yahceph

my problem is similar to yours.
In my case, on FileZilla it is working just when Encryption is set to: "Use explicit FTP over TLS is available".
I can't find, or I don't know the way to make it works.
Any idea?

my problem is similar to yours. In my case, on FileZilla it is working just when Encryption is set to: "Use explicit FTP over TLS is available".
I can't find, or I don't know the way to make it works.
Any idea?

I have not been able to solve the problem, and continue to pay attention to.
I'm having to switch vpn on and off very frequently to get it to barely work.

I've run into an issue where I have 2 hosts (nearly identical VMs) and this plugin works with one but not the other. I've compared the output of just connecting using ssh with debug3 and everything is the same. No idea why one host gets a handshake timeout while the other is just fine.

Actually, I found my issue. I use a ProxyCommand in the ssh config file to do a hop through a host. The server that worked with this plugin had it's config wrong and was not requiring the hop while the server that isn't working is properly configured to require the hop. So in the end, the bug I've run into is that this plugin does NOT respect configuration in the ~/.ssh/config file even if I specify it.
For reference, my config file:
Host *.domain.com
    User hostUserName
    ProxyCommand ssh proxyUserName@proxyHost nc %h %p


Add a paragraph describing our stance on Python typing

I think we should an official paragraph to the contributing docs regarding our stance on typing. I tried describing what we're doing currently since I think it makes sense, but I'm definitely open to changing this. I don't think we should open a big round of discussions on this though.

Do you think we should add something to address this concern? I totally agree with you but I have a hard time finding ways to describe this without referring to particular cases.

I don't know. It feels like it's a thing we need to commit to or not. Otherwise we end up with code like this, which I'd argue is adding code to please a configuration.
I think merging this PR is a step forward regardless.

OK let's do it step by step. Thank you!


Keep metrics on Koji xmlrpc calls if available

This depends on https://github.com/release-engineering/kojiji/pull/100

retest this please


fix: Resolve failing build issue due to case mismatch on TimePicker component

Description
This pull request fixes the failing build for PR #702 . The main cause for this issue is case mismatch for the component name.
Type of change

[x] Bug fix (non-breaking change which fixes an issue)

Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation

Can we merge this @m453h before I merge #725 ?

Can we merge this @m453h before I merge #725 ?

@kilemensi yes I am merging it to main


[Fix #4910] Add examples to Style/NegatedWhile

Added section with examples to Style/NegatedWhile cop documentation.

Before submitting the PR make sure the following are checked:

[x] Wrote good commit messages.
[x] Commit message starts with [Fix #issue-number] (if the related issue exists).
[x] Feature branch is up-to-date with master (if not - rebase it).
[x] Squashed related commits together.
[ ] Added tests.
[ ] Added an entry to the Changelog if the new code introduces user-observable changes. See changelog entry format.
[x] The PR relates to only one subject with a clear title
and description in grammatically correct, complete sentences.
[x] Run rake default or rake parallel. It executes all tests and RuboCop for itself, and generates the documentation.

This PR has been merged. Never mind 😅


Set Up Your SAP Cloud Platform Integration Tenant

I am trying to add capability 'Cloud Integration' to the Integration Suite. The status remains in progress and progress is 83%.
I tried a couple of times without success. What can I do?

Hi @PaulLwrs ,
Thanks for reaching out to SAP.
With reference to your concern, could you please check now? Ideally tenant provisioning might take sometime, not more than 20 mins.
If the same issue persisting, try creating new sub account or delete the existing one and recreate it to check the same.
Regards,
Vikram Kulkarni

Hi @PaulLwrs ,
Thanks for reaching out to SAP.
With reference to your concern, could you please check now? Ideally tenant provisioning might take sometime, not more than 20 mins.
If the same issue persisting, try creating new sub account or delete the existing one and recreate it to check the same.
Regards,
Vikram Kulkarni

Thank you for your feedback. This channel is for problems with tutorials only, so I am closing the issue.
If you you are experiencing product related issues, please open a bug ticket.

Thank you for your feedback. This channel is for problems with tutorials only, so I am closing the issue.
If you you are experiencing product related issues, please open a bug ticket.


Adding examples for Microsoft.Web/certificates, Microsoft.Web/Serverfarms, Microsoft.DomainRegistration/TopLevelDomains

This checklist is used to make sure that common issues in a pull request are addressed. This will expedite the process of getting your pull request merged and avoid extra work on your part to fix issues discovered during the review process.
PR information

[x] The title of the PR is clear and informative.
[x] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For information on cleaning up the commits in your pull request, see this page.
[x] Except for special cases involving multiple contributors, the PR is started from a fork of the main repository, not a branch.
[x] If applicable, the PR references the bug/issue that it fixes.
[x] Swagger files are correctly named (e.g. the api-version in the path should match the api-version in the spec).

Quality of Swagger

[x] I have read the contribution guidelines.
[x] My spec meets the review criteria:

[x] The spec conforms to the Swagger 2.0 specification.
[x] The spec follows the guidelines described in the Swagger checklist document.
[x] Validation tools were run on swagger spec(s) and have all been fixed in this PR.

@naveedaz Is this just splitting up and adding examples?

@fearthecowboy Yes. It is adding more examples and moving the response model for operations API to the common definitions.

You've added DomainRegistrationProvider and CertificateRegistrationProvider which changes the code generation:

I realize that the providers only have a single method, but this will change the SDK.

Simple enough changes; adding @ravbhatnagar  for ARM signoff on added operations APIs.

Looks good! Signing off!

@naveedaz -- You've still got some OAV issues; it looks like they are from before (and maybe some should just be suppressed)
https://travis-ci.org/Azure/azure-rest-api-specs/jobs/303725404#L774
Regardlesss, looks ok to me. Merging.

No modification for AutorestCI/azure-sdk-for-node

 https://github.com/Azure/azure-sdk-for-ruby/pull/1146

 https://github.com/Azure/azure-sdk-for-python/pull/1649


[virtual-wan]az network vpn-server-config: --auth-types allow multi value

This checklist is used to make sure that common guidelines for a pull request are followed.
https://github.com/Azure/azure-cli/issues/17158
General Guidelines

[ ] Have you run azdev style <YOUR_EXT> locally? (pip install azdev required)
[ ] Have you run python scripts/ci/test_index.py -q locally?

For new extensions:

[ ] My extension description/summary conforms to the Extension Summary Guidelines.

About Extension Publish
There is a pipeline to automatically build, upload and publish extension wheels.
Once your PR is merged into master branch, a new PR will be created to update src/index.json automatically.
The precondition is to put your code inside this repo and upgrade the version in the PR but do not modify src/index.json.

virtual-wan


Issues with variation selector-16 in emoji tags

What happened?
Dataview has trouble processing emoji tags with the variation selector-16 codepoint attached to them. For instance, for emojis A and B:
A: ℹ
B: ℹ
While these look the same, A has variation selector-16 while B does not.
A

B

When A is input into Dataview, a parsing error occurs. When B is input, there is no error. The native Windows emoji picker provides emoji A with the variation selector attached. There is no easy way to remove the variation selector.
DQL
TABLE
	tags,
FROM #ℹReference

JS
No response
Dataview Version
0.5.47
Obsidian Version
1.0.2
OS
Windows

Emojis make me very sad.

Thank you for the brilliant plug-in! I have also been troubled by this matter.
And also I am wondering if the tag parsing can be fitted with Obsidian's behaviour.
I made a patch so I hope you review it. I look forward to hearing from you.


View Create Title: Details about legal information missing

The dialog shows legal information (Impressum) as a select field without telling what it is and where it comes from.
(p. 54)

On Hold, because "Impressum" is unclear at the moment


Java Implementation

This contains a java implementation of the OLC - it is based heavily on the Javascript implementation and passes all the tests in the csv files provided there.
Just run mvn install  to test and release.
I've signed the CLA.

Hi Ian - there was another Java implementation pull request that has been merged in. Could you see if there's any merging that makes sense?

Ian's pom file would definitely be nice to have/keep

I'm not sure I like the fact the all the methods return an Object that I have to call .getCode() on - seems redundant to me.
I don't like the CodeArea constructor (x,y,w,h) rather than (x1,y1,x2,y2) as it isn't intuitive or geographically sound.
Finally I saw the comment about rounding error from using doubles but I haven't seen any evidence for this so it's possible the overhead of using BigDecimals is unnecessary.
Functionally the two versions are compatible - so I could move the existing code around to make it work in Maven and probably keep my test class which uses the csv files rather than hard coding the test values.

Now I've had a chance to look more closely, there are quite a lot of things I like about yours. The pom file will be useful because I want to set up build integration with travis-ci.org, so any pull request or push will trigger the tests. I also like your structure more (objects with static methods operating on them, rather than one big object).
I would ask that you use the existing test data files (in /test_data) if possible so tests can be added in one place if necessary.
But I'm ok if you do a fairly aggressive merge :-)

I'll have some more comments tomorrow.

Hi Ian,
I like the maven integration. To add some background - for the implementation, I used a different approach than you did - I wasn't looking at the JavaScript version and only followed the textual spec. I think this "double implementation" is good for catching possible bugs and not copying them over. I was actually able to catch inconsistencies between the test data and the spec.
I agree with your concern about the the intuitiveness of arguments of the CodeArea. These are just internal fields and "user" of the class doesn't see them and alway access them through the getters. But we can definitely change them to be the rectangle sides.
I like your idea of making the encode() methods return String directly in case this is what you want. Now they are there only to stick to the spec and just call the constructor.
However, I think the encapsulation in the OpenLocationCode is an advantage. If you only have Strings, you can never trust it and you always have to do the validity checks (which is an expensive operation). In my implementation the OpenLocationCode is actually just a glorified String, but guaranties to be a valid code, so you are sure all the operations pass on it.
Be careful about the statements about doubles, I run into this bug (the evidence) during implementation therefor I went for the BigDecimal. Floating points in java are tricky in this extend and they might not always add up correctly and in this case it matters if it's on the border of an rectangle. You can sometimes "hide" the problems on by shuffling the operant order but it is a time bomb. Your usage of the TOLERANCE constant suggest that you're just hiding the double problems. OLC doesn't limit the precision per spec, so this will hit you on some level.
For the tests, I also use the CSVs but I didn't want to copy/paste them for maintenance reasons, so I just refer to the files in test_data directory. Optimally, all the implementations should refer to the same golden test set.

My preference would be for Ian's version (sorry Jiri) due to it more closely matching the JS implementation. Jiri did mention a good point to me about the CodeArea object, that it is four arbitrary values and doesn't necessarily match an OLC box, but since the JS has the same issue I'm ok to live with it, and consider that issue as part of a new API at some later date.
Ian, could you please update when you're good to go (use the test_data directory files, remove the existing Java classes, use BigDecimal)?

Actually - Jiri and Ian - can you collaborate on this? I'm coming around to a more OO view of implementations, where the class initialiser can be called with the arguments of encode, decode, and recover_nearest so those methods don't actually need to be exposed.
Maybe work on a fork and then send it back as a pull request when you agree?

I'm going to close this request since the existing Java implementation works and nobody's responded on this for months.


issue with JSCS package

I am using JSCS to fix my javascript code styling. To my surprise whenever I beautify my code JSCS gives error to all line. Can you fix this?

JSCS has a lot of different options and supports various different style guides, which means we don't know which aspects of JSCS are failing.  Could you also provide a debug.md file so that we can see the code you are using and the beautifier you have selected?  If we cannot reproduce the problem we cannot fix it.


Hide explore repositories section

Please add an option to hide the explore repositories section on the home page (https://github.com/). It is very distracting

I don’t see a section named “Explore repositories”, can you take a screenshot?

Look on the right side

Indeed, I was looking on my phone.
I don't find it annoying and we can't make it an option, but you can hide it by pasting this CSS in the "Custom CSS" field in Refined GitHub’s options
[aria-label="Explore"] {
    display: none;
}

Thanks, I'll do that.


Create a convenience method to send a Clear Cookie directive on ServerResponse

It would be useful to have a easy way to set a HTTP Header which would send a directive to clear an existing cookie.
This can be done by setting a Set-Cookie header where:

the name and path match the cookie that needs to be cleared.
the expires and max age attributes are in the past.
the value should be empty

A convenience method (for example ServerResponse.headers().cookies().clear(....); ) would make this much easier.
Environment Details

Helidon Version: 2.2.0
Helidon SE
JDK version: 11.0
OS: (all)
Docker version (if applicable): n/a

Problem Description
This is not a problem, but a request for a qualirty of life improvement to the Heldion API
Steps to reproduce
No repro (see above)

PR #3037


Feat/remove zalando storageclass

Description of the change

Benefits

Possible drawbacks

Applicable issues

fixes #

Additional information

Checklist

[ ] Title of the PR starts with chart name (e.g. [home-assistant])
[ ] Chart version bumped in Chart.yaml according to semver.
[ ] Chart artifacthub.io/changes changelog annotation has been updated in Chart.yaml. See Artifact Hub documentation for more info.
[ ] Variables have been documented in the values.yaml file.

my apologies - meant to open this on my own fork


comment,like,search comments

This is the implementation of 3 functionalities (comment, like, search on comment) as described in the project description.

LGTM! Good job


AND (rb.nid = :db_condition_placeholder_?)
AND (rbf.fid NOT IN (:db_condition_placeholder_?, :db_condition_placeholder_?, :db_condition_placeholder_?, :db_condition_placeholder_?, :db_condition_placeholder_?, :db_condition_placeholder_?))
GROUP BY rbf.fid
ORDER BY rb.updated DESCLIMIT ? OFFSET ?

@weerd looks like the GROUP_BY and the ORDER_BY are the biggest offenders here

let's try routing these to the slave database

@sheyd I'm still seeing this in the slow query log in new relic
and I can't seem to tell if it is actually routing the query to the slave or not, and if that's helping performance? do you mind taking a look when you have a few?


Variables

[x] URL params controller
[x] Variable declaration

The current solution is more a constant declaration due the virtualizer.


[Rewrite] Add support for frame streaming, update dicomutil helper program

This adds support for frame channel based streaming to the rewrite. This also updates the dicomutil helper program to be more similar to the 1.* release program.

btw, query check of parse performance of a huge dicom is about the same for both old and new, a good sign (new, a teeny bit faster):
Old:
./build/dicomutil --extract-images-stream <REDACTED PATH>   23.58s user 2.47s system 178% cpu 14.611 total
New:
./dcm -path <REDACTED PATH>   22.86s user 2.29s system 186% cpu 13.510 total


Doesn't work as expected

Have tried different combinations of recursive/decrypted/sync/async, nothing worked, no errors, empty response.
aws-param-store 1.1.0
aws-sdk 2.202.0
node v8.8.1
Ended up using native aws sdk.
const AWS_SSM = require('aws-sdk/clients/ssm')

var ssm = new AWS_SSM({region: 'ca-central-1'})

ssm.getParameters({
  Names: [
    '/test',
  ]
}, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
})

Can you post your code that doesn't work? Thanks

It is pretty much as https://github.com/vandium-io/aws-param-store#getting-started

ok - so if you add a .catch(() block like:
const awsParamStore = require( 'aws-param-store' );

awsParamStore.newQuery( '/project1/service1/production', { region: 'us-east-1' } )
    .execute()
    .then( (parameters) => {

        // set env vars from here
    })
    .catch( (err) => {
         console.log( err );
    });

does it report an error? The execute() method returns a Promise that needs to get resolved to display a result or an error.  Let me know if this helps.

Can we close this issue or would you like some help troubleshooting it?

Also experiencing the same now, following the getting started in the npmjs site.
awsParamStore.getParametersByPath('/path/to/test', { region: 'ap-southeast-2' })
.then((params) => {
console.log(params);
}).catch(console.error);
params is an empty array. There's no indication as to what is going wrong. How do I get this to work?


Android and iOS: notification is not working.

Call kit notification is not working on the background and kill state.

Do you have properly configured the dolby.io dashboard & the iOS xcworkspace with background mode, audio, callkit in the capabilities ?

yes @codlab Everything looks good.


Translation mistake - "This is the start."

Affected page

https://www.freecodecamp.org/espanol/learn/javascript-algorithms-and-data-structures/basic-javascript/concatenating-strings-with-plus-operator
Your code

var myStr = "This is the start." + "This is the end."; // Cambia esta línea

Expected behavior

I think there is a translation mistake in the instruction where it says "This is the start." instead of "This is the start. ".
I think it could lead to errors when copying and pasting phrases from the instructions.
Screenshots

Spanish version

English version

System

Device: Desktop
OS: Ubuntu 18.04.5 LTS i686
Browser: Firefox
Version: 90.0.2 (32-bit)

Additional context

Have a nice day

Thank you for reporting this issue.
This is a standard message notifying you that this issue appears to be very similar to issue #42455, so we are closing it as a duplicate.
If you think we're wrong in closing this issue, please request for it to be reopened and add further clarification. Thank you and happy coding.


Add Omnibus to Tools section

Requesting to add the Omnibus entry, an IOC artifact management & OSINT collection application, to the Tools section.

https://github.com/InQuest/omnibus

Thank you!

Oh no, thank YOU! ;-)


call vs. fork and join

cross-posting from Stack Overflow:
In redux-saga, for what reasons might you favor using call vs. fork and join?
For example, when calling an HTTP API, what are the pros and cons of doing this:
    const result = yield call(apiWrapperFunction, arg1, arg2)

versus this:
    const task = yield fork(apiWrapperFunction, arg1, arg2)
    const result = yield join(task)

Just to add some more info. fork is useful when you do not want to block on the forked saga but to continue doing some work in the forking saga - you do not have to join the forked task (if you are not interested in its result), you can cancel it later (as mentioned) or just forget about it.
call will block your saga until the called saga resolves.
If you have any other questions or something is unclear about this - please ask :)

Ah, @Andarist, that is very helpful.  Given the (kinda) asynchronous nature of generators, I wasn't sure exactly what gets blocked when using call vs fork (whether it blocks all progress in your app vs. just blocking the forking task).  Sounds like it's the latter.  Thanks!

@Andarist! If I had 4 request which are forked. I want to cancel a reqest based on unchecking the check box. Here only that request which is unchecked should cancel and the remaining forked request should not have any effect i.e., the remaining request should return the response. How should I proced.

@VinayKumarAdepu This is not a Message Board for support, may I suggest to post on StackOverflow? Add a link to the question here so we can follow along


induction using variable lists

Whenever you write a list of variable names to be introduced into the context (e.g. intros a b c or induction x with a b c) in Coq there is a very useful notation to quickly perform case analysis on these new variables. For example, if the goal is (A ∨ (B ∧ C)) → H, you can use intro [a | [b c]] to immediately create two new subgoals a : A ⊢ H and b : B, c : C ⊢ H.
See section 8.3.2 in the Coq manual. Maybe we can implement something similar using the induction tactic?

It might be nice to have some support for this in assume as well, e.g.
example (A B : Prop) : A ∧ B → ... :=
  assume [(a : A) (b : B)],
  ...

instead of
example (A B : Prop) : A ∧ B → ... :=
  assume ab : A ∧ B,
  have a : A, from and.left ab,
  have b : B, from and.right ab,
  ...

We have obtain.
example (A B : Prop) (h : A ∧ B) :... :=
  obtain (a : A) (b : B), from h,
  ...

It can handle any datatype with a single constructor.
Examples:
https://github.com/leanprover/lean/search?utf8=✓&q=obtain

That is nice. For some reason I thought obtain only worked for exists. It still seems unfortunate to need to name the compound assumption before destructing it though.  And when there are multiple compound assumptions, each one will require a separate obtain line.

For some reason I thought obtain only worked for exists

The new obtain is very recent feature.

It still seems unfortunate to need to name the compound assumption before destructing it though.

It is feasible to create a assume+obtain hybrid.
Note that, it will not subsume the current obtain.
With the current obtain, we can write
https://github.com/leanprover/lean/blob/d28eb919f149ce64254b92218335eaa6315283b0/library/data/finset/card.lean#L79
It would be nice to use a different notation for the hybrid assume+obtain. In proof term mode, the [ ... ] may confuse Lean since it is a binder annotation.

BTW, one related issue. One thing that bothers me about the induction tactic is that the order of the minor premises matters. I think this produces incomprehensible proofs whenever we have many constructors. The same happens if we use the recursor/eliminator in proof term mode:
https://github.com/leanprover/lean/blob/master/library/logic/examples/propositional/soundness.lean#L113
At least in proof-term mode, we can use the definitional package and the differents cases can be provided in an arbitrary order.
https://github.com/leanprover/lean/blob/master/library/logic/examples/propositional/soundness.lean#L113
However, this is not a full solution since the definitional package does not support user-defined recursors.
In tactic mode, we could address this issue by providing a concise way of specifying which goal we want to discharge.
Another related issue: it would be really great to have a induction construct in proof-term-mode.
It would be a structured version of the induction tactic. Right now, if we want to use a user-defined recursor/eliminator in a convenient way, we have to switch to tactic mode.
Example:
https://github.com/leanprover/lean/blob/master/library/data/finset/card.lean#L69
A simple version would be:
induction H
|  vars := ...
...
|  vars := ...

This is not complicated to implement, but we would have to provide the different cases in the right order. Again, it would be nice to have a way to provide the different cases in an arbitrary order.

I agree that tactic proofs with induction tend to become unreadable. However, tactic proofs are unreadable most of the time anyway, since you only see one half of a dialogue between the user (providing the tactics) and Lean (providing the goals). But it can sometimes be useful to make them more readable.
For proof-term-mode, maybe we can have a syntax similar to match-with where all "induction hypotheses" are specified by a with-command.
induction n
| 0 := ...
| succ k with IH := ...

(all variables in the context should just have the name they had before, and should not be given, even if they depended on n).
For tactics maybe something like this is feasible:
induction n,
  case 0, { ... },
  case (succ k) with IH, { ... },

Here the semantics of the case tactic (which might need a better name) is that it moves the goal corresponding to that case to the top of the goal list and renames any "induction hypotheses" to the given variable name. This probably requires storing some extra information with the goals (such as to which case this goal corresponds and what are the "minor premises").

@fpvandoorn any ideas on how to cover user-defined recursors? What would be a reasonable syntax for your applications? It would be nice if we could cover all the user-defined recursors we can cover with the induction tactic.

Oh yes, I forgot about those. It's hard to specify the minor premises for user-defined recursors, especially non-dependent ones. The only thing I can think of is identifying the minor premises by the names specified by the user. So if the recursor is
definition circle.elim {P : Type} (Pbase : P) (Ploop : Pbase = Pbase) (x : circle) : P

then Pbase and Ploop refer to the different steps. But this is not very nice, and it doesn't work well for automatically generated induction principles.

While I am thinking of it, it would be nice to have cases handle nested constructors, so that instead of
    cases foo with [y Hy],
    cases Hy with [Hy1 Hy2],

we could write
  cases foo with [y [Hy1 Hy2]],

I'm planning to mark this feature as postponed and close it. Unless someone volunteers to implement it.
I will not work on it.

It would be nice to have prettier syntax for proof by induction and proof by cases, but it is not essential.
I think we should revisit it after we have some automation. Then we can think about how we want proofs to look.

That's too bad, but I understand.

This is one issue I'm sad to see go (particularly @avigad 's suggestion for cases handling nested constructors). I may take a shot at this if I have time -- it doesn't seem like it should be too tricky, although the cases tactic looks a little more complicated than I expected!

@rlewis1988 It doesn't have to go. I just said I will not do it in the near future.
Automation is consuming and will continue to consume all my cycles.
If you want to volunteer, we should reopen this issue.
I'm just trying to setup expectations, and close enhancements that nobody will work on in the foreseeable future.

I understand! As nice as it would be to see this implemented, more automation will be way better.
Let's leave the issue closed for now. I'll take a look soon and see what I can do.


Question: Is it thread safe?

Great library!
Are ReverseGeoCode and the other classes thread-safe?  I'd like to only create a single instance due to the time to read the dataset from disk, but I want to make sure it was intended for that kind of use.

It is. There's not a lot that can go wrong in that sense. The only shared state is the KD-Tree and that's only ever read from, never written to after initial creation.

That's what we thought, just figured I'd double check.  Thank you very much for the quick response.


Reverse Prefix in rules

Check ([ ] -> [x]) all that apply, then describe the issue below:

[x] I have searched the tracker for similar issues (including closed ones)
[x] I have provided a detailed example for how this feature should work
[x] I have provided a use case for this feature, e.g. short description/share link of a game you're making and how you'd use the feature in that game, other things you've tried, edge cases, etc. (if applicable)

There should be a feature to have a prefix in a rule to reverse the rule priority order where up to down and left to right rule application within one rule becomes down to up and right to left.
Example:
So lets say you want to move the Xs exactly one tile to the left with a rule without invoking movement directions, since it requires going through all the rules, it can be done easily like this:
once left [X|]->[|X]
?(?x)xxx?? ->?(x?)xxx??
?x(?x)xx?? ->?x(x?)xx??
?xx(?x)x??->?xx(x?)x??
?xxx(?x)??->?xxx(x?)??
??xxxx?? becomes ?xxxx???
however, making a similar rule
once right [X|]->[|X]
doesn't work, as the leftmost x gets applied first regardless of what happens, causing the other xs to be deleted
??(xx)xx?? ->??(?x)xx??
???(xx)x?? ->???(?x)x??
????(xx)??->????(?x)??
?????(x?)?->?????(?x)?
??xxxx?? becomes ??????x?
once right [X| no X]->[|X]
doesn't work either as it only runs the rightmost X once
??xxx(x?)?->??xxx(?x)?
??xxxx?? becomes ??xxx?x?
with a reverse prefix however, the rule runs the check from right to left and down to up
once reverse right [X| no X]->[|X]
??xxx(x?)? ->??xxx(?x)?
??xx(x?)x? -> ??xx(?x)x?
??x(x?)xx? -> ??x(?x)xx?
??(x?)xxx? -> ??(?x)xxx?
??xxxx?? becomes ???xxxx?
Reason to implement the feature:
As mentioned, it allows an easier way to move objects without directional actions that requires finishing the rules , and allows a solution for some cases where the order of applying 1 rule becomes an issue.

Not aware of this as a problem, need a repro case.
Is this during rule application, or movement phase?

during rule application

And the code that triggers it? Without a repro case there I don't know where to start.

https://puzzlescriptnext.polyomino.com/play.html?p=e539b37ef9508747b8ba8c9f948c4d2c
On Mon, Sep 16, 2024 at 8:24 AM david-pfx @.***> wrote:

And the code that triggers it? Without a repro case there I don't know
where to start.
—
Reply to this email directly, view it on GitHub
https://github.com/david-pfx/PuzzleScriptNext/issues/100#issuecomment-2351855556,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BKAS3CUHWKCALNUXO6QUKVTZWYQM5AVCNFSM6AAAAABNYJL6DKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNJRHA2TKNJVGY
.
You are receiving this because you modified the open/close state.Message
ID: @.***>

OK, I get it. If a rule applies in multiple places and those places overlap then the order of resolution of those overlaps is the cell scan order: left to right, top to bottom.
This is established PS behaviour. It also applies to movement phase: if moves conflict they are resolved in a similar way.
I found out how to do it. At engine.js@2610 just reverse the order of tuples. That just leaves the question of where and how to 'flip the switch'. And a whole bunch of testing, of course.
But is it really worth changing?

The idea is that there is a rule prefix to reverse the position priority of
the rules in a way that is advantageous, the reverse prefix can be named
anything to your liking.
EX: once *reverse *right [X| no X]->[|X]
And for "is it worth changing", it depends if the tradeoff of a more
complex system is worth dealing with some cases where cases of the priority
working against the user can be easily fixed by 1 prefix, rather than
needing a more complicated method to deal with such a problem.
On Sat, Oct 26, 2024 at 10:56 AM david-pfx @.***> wrote:

OK, I get it. If a rule applies in multiple places and those places
overlap then the order of resolution of those overlaps is the cell scan
order: left to right, top to bottom.
This is established PS behaviour. It also applies to movement phase: if
moves conflict they are resolved in a similar way.
I found out how to do it. At @.*** just reverse the order of
tuples. That just leaves the question of where and how to 'flip the
switch'. And a whole bunch of testing, of course.
But is it really worth changing?
—
Reply to this email directly, view it on GitHub
https://github.com/david-pfx/PuzzleScriptNext/issues/100#issuecomment-2439197807,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BKAS3CVDD5COBMJ2SW7XMUDZ5MAGNAVCNFSM6AAAAABNYJL6DKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMZZGE4TOOBQG4
.
You are receiving this because you modified the open/close state.Message
ID: @.***>


Energy consumption measuring support [INSPELNING]

Background
As of yesterday, IKEA launched the INSPELNING plug (in the United States, and also France) which is capable of turning its powering device(s) on/off but also measuring their energy consumption. It coincides with IKEA's earlier announcement to support end users with energy consumption readings through their own proprietary mobile apps.
Feature Request
Is it possible to add support for energy consumption readings originating from the INSPELNING, to allow for outputting said data to use it in other tools?
The outlet code might provide base support for controlling the state of plugged in devices, but the energy consumption readings need to be added in to fully support the new plug.
A quick scan of the documentation shows that I should be able to help debug/figure out an implementation of its messages by listening to the Update Events (feel free to correct me if I'm mistaken). Once I get my hands on some INSPELNING outlets, I would love to support regarding developing the support for them.

Ah that's fantastic, very eager to get my hands on them and help where possible once / if they arrive in the UK.

Hey, thank you for the request, this sounds interesting.
You could start by posting the json of that device using this:
all_devices = dirigera_hub.get("/devices")
print(all_devices)

It will print all devices registered in your hub. You can post just the part about the new plug, then we can start integrating.

Hey, thank you for the request, this sounds interesting. You could start by posting the json of that device using this:

Thanks for the instructions - once I get my hands on the plug I'll happily contribute the JSON data if no one has done it already by that point. 👍

Wanted to give a heads up: apparently the INSPELNING should be unofficially available in some countries through the physical stores, looking at https://github.com/Koenkk/zigbee2mqtt/issues/23961.
There's also some information, possibly usable for direct implementation.

Support is added in Release v1.2.0


fixed replace field

fixes #78

Ah so this is related to my comment in #78.  This was my initial idea for fixing the issues, but the ideal scenario would be to set the code up so that replace is simply deletion followed immediately by insertion.  This would remove any possibility for #78 to occur.

Yes, this actually harder than I thought.

It's strange that sometimes problems look easy when you start solving them, then you start writing code and it suddenly hits you that the problem is actually really hard :laughing:.  I spent a good while chatting with @shtanton over what the best way of fixing this was - because it's not impossible to patch up the existing code with even more complexity, but we both agreed that what would be ideal is if the replace code could just be a series of delete_child/insert_children (which would fix this problem, because the insertion would implicitly create a new field).  But that's currently insanely hard to do (because Json::Field stores its children in a way that you can't delete from), so I'm currently refactoring the ast module to make this possible.

Yes, this actually harder than I thought.

It's strange that sometimes problems look easy when you start solving them, then you start writing code and it suddenly hits you that the problem is actually really hard :laughing:.  I spent a good while chatting with @shtanton over what the best way of fixing this was - because it's not impossible to patch up the existing code with even more complexity, but we both agreed that what would be ideal is if the replace code could just be a series of delete_child/insert_children (which would fix this problem, because the insertion would implicitly create a new field).  But that's currently insanely hard to do (because Json::Field stores its children in a way that you can't delete from), so I'm currently refactoring the ast module to make this possible.


[wip] networking(windows): kernelspace proxy mode

see discussion details here https://github.com/kubernetes/website/pull/38243
this is WIP to document the specific inner details of the kernelspace mode for kube-proxy.

Great, this is a good starting point. Feel free to either amend the latest commit or to add another one - either is fine.

/sig windows
/sig network

How's this going @profnandaa ?

@sftim -- I've not been able to have much progress on it yet, give me one more week to report back.

@profnandaa Is this still on your radar?

Hello @profnandaa , thank you so much for taking up the initiative to document this. We sincerely appreciate your efforts.  However, since there has been a lack of activity on the PR from your side since February, I'll be closing off the PR. If you do find the bandwidth to work on this, please feel free to resume by issuing a /reopen command. We can pick this up right where you left it off.
/close

Noted, thanks. Sorry I couldn't get substantial information but will keep watching the issue and re-open in case I get the info.


New package: MathLink v0.1.0

Registering package: MathLink
Repository: https://github.com/JuliaInterop/MathLink.jl
Created by: @simonbyrne
Version: v0.1.0
Commit: cd771771b8050e2520dc031f9be1e3303589ef5c
Reviewed by: @simonbyrne
Reference: https://github.com/JuliaInterop/MathLink.jl/commit/cd771771b8050e2520dc031f9be1e3303589ef5c#commitcomment-35240037

Needs a [compat] section in Project.toml with at least an entry for julia itself, e.g.:
[compat]
julia = "1"

would mean that the package is compatible with Julia versions [1.0.0, 2.0.0).


Fix warnings

/Users/mikep/.gem/ruby/2.0.0/gems/celluloid-0.15.2/lib/celluloid/call_chain.rb:13: warning: mismatched indentations at 'end' with 'module' at 1
/Users/mikep/.gem/ruby/2.0.0/gems/celluloid-0.15.2/lib/celluloid/tasks.rb:76: warning: global variable `$CELLULOID_DEBUG' not initialized

Celluloid 0.16.0
D, [2015-03-18T02:26:51.673251 #25738] DEBUG -- : Terminating 3 actors...
/Users/Juan/.gem/ruby/2.2.1/gems/celluloid-0.16.0/lib/celluloid/tasks.rb:79: warning: global variable `$CELLULOID_DEBUG' not initialized
W, [2015-03-18T02:26:51.673602 #25738]  WARN -- : Terminating task: type=:finalizer, meta={:method_name=>:__shutdown__}, status=:receiving
	Celluloid::TaskFiber backtrace unavailable. Please try `Celluloid.task_class = Celluloid::TaskThread` if you need backtraces here.
/Users/Juan/.gem/ruby/2.2.1/gems/celluloid-0.16.0/lib/celluloid/tasks.rb:79: warning: global variable `$CELLULOID_DEBUG' not initialized
/Users/Juan/.gem/ruby/2.2.1/gems/celluloid-0.16.0/lib/celluloid/mailbox.rb:149: warning: global variable `$CELLULOID_DEBUG' not initialized
/Users/Juan/.gem/ruby/2.2.1/gems/celluloid-0.16.0/lib/celluloid/mailbox.rb:149: warning: global variable `$CELLULOID_DEBUG' not initialized
/Users/Juan/.gem/ruby/2.2.1/gems/celluloid-0.16.0/lib/celluloid/mailbox.rb:149: warning: global variable `$CELLULOID_DEBUG' not initialized
/Users/Juan/.gem/ruby/2.2.1/gems/celluloid-0.16.0/lib/celluloid/mailbox.rb:149: warning: global variable `$CELLULOID_DEBUG' not initialized

Yeah definitely, this is unfortunately some contributed code that should've probably been more thoroughly audited.

I believe this was resolved as of #518? There are new warnings, but the ones mentioned here are gone.

Yeah, this is fixed now.


[IOTDB-1294] Compaction mods for new mods structure

Behavior
Delete operation become invalid after compaction.
Reason

In append merge, the mods modify of chunkMetadata will not change the data of the chunk corresponding to it. However, we just merge the chunk data by BufferBytes and then delete the modification record.
As we change the structure of mods file in 0.12 (delete version and change it to tsfileOffset which means that only if the offset of the chunk <= tsfileOffset, then the modification record is valid). However, the position of chunk in tsfile may change after compaction.

Solution

Do not use mods file in append merge and keep the modification record.
Update the tsfileOffset of remain modification record to Long.MAX_VALUE, which means that it will be valid for the whole tsfile.

cherry pick to 0.12 by PR


:safety_vest: Fix: build

Description
Concise description of proposed changes
Testing
Explain the quality checks that have been done on the code changes
Additional Information

[ ] I read the contributing docs (if this is your first contribution)

Your ENS/address:

#1097  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @roninjin10 and the rest of your teammates on  Graphite


DefaultDragAdorner is not visible if multiple Items selected in DataGrid

Hallo dev,
i'm using your FrameWork and it works fine, but I miss the DefaultDragAdorner in Datagrid if i want to drag multiple selected Items.
For one selected Item it works fine.
Is there a Possibility for me to get a DragAdorner for multiple selected Items of a DataGrid like one selected Item???
Secondly:
I want to show the DragAdorner over all visible controls with using the EffectNoneAdorner instead of the Default MouseIcon.
Is this possible???
Greeting Jürgen

@juergschweigi Dragging multiple selected items should work. Do you set the SelectionMode to Extended? The second one is currently not available, but it's noticed.

Yes, i have Set the selectionmode in datagrid to extended. Do i have to Set a Property in drag&drop-framework?
Diese Nachricht wurde von meinem Android Mobiltelefon mit WEB.DE Mail gesendet.Am 11.10.16, 16:51, Jan Karger<EMAIL_ADDRESS>schrieb:
  @juergschweigi Dragging multiple selected items should work. Do you set the SelectionMode to Extended? The second one is currently not available, but it's noticed.

  —
  You are receiving this because you were mentioned.
  Reply to this email directly, view it on GitHub, or mute the thread.

@juergschweigi The DefaultDragAdorner is not used for multiple item selection. I will add a new property to allow setting a template which is used for multiple selection. -> https://github.com/punker76/gong-wpf-dragdrop/issues/228


Add service property to IBMBackend class

Summary
The service object which is an instance of QiskitRuntimeService
class can now be accessed from IBMBackend class using the service
property.
Ex:
backend = service.get_backend("ibmq_qasm_simulator")
backend.service  # QiskitRuntimeService instance used to instantiate the backend

Details and comments
Fixes #300

FYI @tmittal947

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

5 of 7 (71.43%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.02%) to 67.446%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

qiskit_ibm_runtime/ibm_backend.py
4
6
66.67%

Totals

Change from base Build<PHONE_NUMBER>:
0.02%

Covered Lines:
2625

Relevant Lines:
3892

💛  - Coveralls


CFFL

CFFL

Linter check found the following problems:
The following problems have been found:
ERROR: /tmp/abs_e465uhy0b_/clone/recipe/meta.yaml:18: pip_install_args: pip install should be run with --no-deps.
ERROR: /tmp/abs_e465uhy0b_/clone/recipe/meta.yaml:24: missing_wheel: For pypi packages, wheel should be present in the host section
ERROR: /tmp/abs_e465uhy0b_/clone/recipe/meta.yaml:42: missing_documentation: The recipe is missing a doc_url or doc_source_url
ERROR: /tmp/abs_e465uhy0b_/clone/recipe/meta.yaml:42: missing_dev_url: The recipe is missing a dev_url
WARNING: /tmp/abs_e465uhy0b_/clone/recipe/meta.yaml:42: missing_description: The recipe is missing a description
Errors were found


Failed Payment for IP2TOR Subscription w/ CLN

I am trying to purchase a IP2TOR subscription to open up LnBIts. but the payment keeps failing. here is the information.
my node is funded on base layer and has (1) channel open from LNBig for inbound approx 700k sats. Running CLN.
ERROR DETAIL FOR DEBUG
Error Short:
payment failed
Shop:
fulmo7x6yvgz6zs2b2ptduvzwevxmizhq23klkenslt5drxx2physlqd.onion
Bridge:
{'id': '32d1662a-a41c-4ccf-9f8f-87c5f47f0341', 'site': 'ip2tor.fulmo.org', 'created_at': '2022-01-14T17:24:54Z', 'modified_at': '2022-09-29T15:15:34Z', 'ip': '<IP_ADDRESS>', 'is_enabled': True, 'is_alive': True, 'name': 'nam-tor2', 'is_testnet': False, 'offers_tor_bridges': True, 'tor_bridge_duration': 86400, 'tor_bridge_price_initial': 30000, 'tor_bridge_price_extension': 20000, 'offers_rssh_tunnels': False, 'rssh_tunnel_price': 1000, 'terms_of_service': '-', 'terms_of_service_url': '-', 'ci_date': '2022-09-29T15:15:34Z', 'ci_message': '', 'ci_status': 0, 'owner': 6, 'tor_bridge_duration_hours': 24, 'tor_bridge_price_initial_sats': 30, 'tor_bridge_price_extension_sats': 20}
Error Detail:
{'invoice': 'lnbc300n1p3ntdc8pp52qm2kva6vmdgm2hvfphrjx0ndl39hzdjg7yjqlnnx3vcts39v0qqdzq2p8n5gp3vyerqdn9vsej6vehxvej6dph8ymj6cf48yej6c3sxgmkveryvvexycfscqzpgxqzuysp520ehj0243tuecjzc7pf9r8dlzqdtcjhd6xgfq4gz9x8034xgeqdq9qyyssqvedqac4kcq3lscstrh4ymt5ccwgru3unerm79lu9m2c206rysgsz2djt352rzfgv3atmd0w70unq9p48lytzvlw2y22wg5wzmvlvgfqpdjnl66', 'timestamp': '2022-09-29T15:17:32Z'}

I went and change LnBits funding source to CLN and tried IP2Tor again. Payment is still failing.

Not sure if IP2Tor will stay active in generel see:
https://github.com/rootzoll/raspiblitz/issues/3417#issuecomment-1310303480
If yes - check also payment with CLN. If not close issue with release.


Cauterize rework

About the PR
Cauterize is reworked. Heat damage no longer cauterizes your wounds, instead you can use a verb action.
Why / Balance
There is a difference between focused and unfocused heat. Cauterizing is not something you can do on accident; you have to specifically aim to do that, not just apply heat damage.
Also, lightbulb cauterizing is evil.
Technical details
CauterizerComponent handles everything related to cauterizing. If you need to make it work only when the item is active, it must have BOTH ItemToggle and ItemToggleHot.
Media
https://youtu.be/kPjwPL_MyO4 (please ignore the doubling audio)

[X] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Breaking changes
Changelog
:cl:

add: You can now cauterize your wounds with a verb action (right click on the person with the tool for cauterizing).
remove: Heat damage no longer cauterizes wounds.

can i cauterize just with left-clicking on a person?

can i cauterize just with left-clicking on a person?

no, should it be added?

okay, epic linter fail, got it

imo it would be a big qol, like you can heal with brutepacks/ointment just with clicking, and when you need to cauterize you need to right-click then wait for server and only then click

stealth esword buff, now it actually causes lasting bleeding
it's in need of a buff anyways

INSANE e-sword buff!!

the e-sword is getting the cauterization component, so unfortunately not

okay. i am not exactly sure how to do the click interaction, but everything else is done

okay. i am not exactly sure how to do the click interaction, but everything else is done

you can check HealingSystem

okay. i am not exactly sure how to do the click interaction, but everything else is done

you can check HealingSystem

it uses AfterInteractEvent, which does not seem to fire when I click people with a welder


add GlobalConfig for the time limits for shutting down and powering off an ECO

Looks like the 10/60 second hard coded defaults are insufficient resulting in disk corruption in the guest.
Adding knobs to be able to experiment.

Quick question @nordmark -- are these supposed to go away after you're done experimenting?

Quick question @nordmark -- are these supposed to go away after you're done experimenting?

For the case that the guest doesn't have tools which react to the shutdown we still need a way to wait.
And Raghu pointed out that if there is an auto update running in the guest, the poweroff might need to wait for 10-20 minutes.
So it definitely isn't a short-term experiment.

@nordmark -- I understand but that's exactly why I'm asking -- there's not really a good solution to this problem it seems, is there?
Or to put it another way -- I think it will be extremely dangerous to disclose this knob to customers at this point. And if we agree not to do that -- well then it is just a question of us finding an acceptable default.
I guess I'm missing what are supposed to do long-term with this knob, can you please let us know before we can merge this?

@rvs I would like to find a lot better defaults than the ones we have right now. But I don't think we have enough data to know what those default values should yet.
Could be that we send a Xen shutdown then wait for 10 minutes, and then send poweroff and wait for hours or forever. If the poweroff is ignored the user can force by a delete of the app instance which will be destructive in any case.
Note we haven't run with Windows much after https://github.com/lf-edge/eve/commit/49cb6a6b6ef04d072de25b17ef56c9b1fb482fdc, and that decreased from 10 minutes to 1 minute, which is clearly a regression when it comes to Windows disk corruption. We should at least bring it back up to 10 minutes, but that wouldn't aleays be sufficient when the domU is doing an update of Windows as part of the power off.

FWIW.. I think since we don't know the windows behavior completely, having this knob would be a lifesaver. Am wondering if it is worth making these App-Bundle attributes - where we can let users fiddle with these in an easier ways??


Refresh more frequently during pinch action

This is just a proof-of-concept @GuillaumeFavelier and I cooked up earlier today to make for a smoother pinch-zooming experience on macOS while keeping CPU utilization low.
We're refreshing at a higher frequency during the pinch action, and reset the update interval to the previous value as soon as the pinch action has ended.
We monitored CPU usage and indeed it returns to ~0 after the pinching is over.
cc @agramfort @larsoner, this makes for a much nicer experience with MNE plot_alignment() on the Mac.

Note that if pinching can't be simulated in unit testing, we need to `pragma: no cover this to make codecov happy.

My suggestion here is -- rather than change the timer, which seems a bit fragile and also requires auto_update=True -- is to just call Update directly in the handler (or maybe there is a .zoom(update=True)). Assuming VTK/pyvistaqt is somehow smart enough to allow this sort of "update pending" call (i.e., delay the actual rendering until it's possible, for example via paintEvent and/or the 60 Hz limitation, at least when vsync is on) then this should work better. It might require some testing to see if this makes sense and/or works, but I think it's a better solution than messing with a timer.

ZeroDivisionError: 0.0 cannot be raised to a negative power

This probably happens when auto_update=False.

I added some tests for coverage, I'll merge when the CIs return green

Thank you @hoechenberger !


GemStone live debugger

Add support for controlling the GemStone debugger, i.e. step over, step into, etc.

Basic debugger functionality is working.  Additional enhancements, fixes, etc. to be handled in separate issues.


Disable connection reuse for WebSocket connections in Apache

This is a temporary workaround for the issue described here:
https://bugzilla.redhat.com/show_bug.cgi?id=1404354
This can be reverted after httpd is updated to 2.4.25 or newer
@miq-bot add_label bug, fine/yes, euwe/yes
Replacement of: https://github.com/ManageIQ/manageiq-gems-pending/pull/217
cc @psav, @gtanzillo, @jrafanie, @carbonin

@bdunne We will also need to add this for containers here

Note, this will need @carbonin @bdunne help to backport since @skateman's first PR is probably what we'd need to backport. https://github.com/ManageIQ/manageiq-gems-pending/pull/217

@skateman As per the comment above, please create a separate PR for Fine.

Give me a few minutes :wink:

@simaishi are you sure about the separate PR for fine? As far as I remember the add_ports has been dropped earlier and we need my old gems-pending solution for euwe only. cc @jrafanie

Since manageiq-balancer-websocket.conf doesn't exist in Fine branch, I'd assume we need the gems-pending PR for Fine/Euwe.

@simaishi here you go: https://github.com/ManageIQ/manageiq-gems-pending/pull/219
And what about euwe?

Can I just backport https://github.com/ManageIQ/manageiq-gems-pending/pull/219 to Euwe?

Backported to Fine via https://github.com/ManageIQ/manageiq-gems-pending/pull/219

Backported https://github.com/ManageIQ/manageiq-gems-pending/pull/219 to Euwe.


poor performance (high lag & low frame-rate) on cheap MediaTek budget phone

Greetings.
I just tried scrcpy for the first time, and I really like the concept.
One thing that confuses me, however, is the many references to great performance, and lack of negative reports here on github, when my first & only convenient experience with it seemed to suffer greatly.
Is there anything I can do to help find, diagnose, or workaround this bottleneck?
Details:

Phone: BLU Studio X
CPU: MT6737
connected via USB 2.0 / 480Mbps
linux fedora 28
"very capable" pc hardware

Observations:

~simply launching scrcpy seems to interfere with my linux gui (window shadows become black boxes), but it is returned to normal once scrcpy exits~
there is a significant time-lag between when an image is displayed on the android screen, and it appears on the computer (I estimate at approx. 2 seconds)
there is a very low frame rate (I estimate somewhere in the 5-to-10 fps range)
If I just look at the Android screen, the input lag is nearly zero... silky-smooth!
the CPU usage on the android device seems to be quite low! (~3%)

What I have tried:

using the bandwidth limiter - results in poor image quality, but the same lag & frame-rate
mucking with the target frame & i-frame rates in the ScreenEncoder
setting MediaFormat.KEY_PRIORITY to 0 (real-time)
re-arranging the encoding loop to re-use the codec, rather than rebuilding it

Next I'll try a "real" phone :-) ... whenever I find the time.
Thanks for making this! & making it open-source!

Almost forgot! This was the only interesting logcat statement I could find (repeated, but not incessantly):
07-23 14:32:18.859  1760 19397 E GraphicBufferSource: mLatestBufferUseCount is already 0.

There were also some debug messages about audio codec latency tokens, but they didn't seem super-interesting:
07-23 14:32:18.860 19377 19392 D ACodec  : give LatencyToken 541, 175
07-23 14:32:18.860 19377 19392 D ACodec  : [OMX.MTK.VIDEO.ENCODER.AVC] onOutputBufferDrained ID 13

the CPU usage on the android device seems to be quite low! (~3%)

What about the CPU usage on the computer?

There is no noticeable increase in cpu load while scrcpy is running (about 2% of one core).

Does it work better if you record your device screen:
adb shell screenrecord /sdcard/file.mp4
adb pull /sdcard/file.mp4

?

Yes. With that method, the frame rate is perfect.
One thing I notice, is a peculiar assortment of resolutions in the diagnostic output...
scrcpy startup:

"INFO: Initial texture: 720x1280"

screenrecord startup:

"The max width/height supported by codec is 640x480"

Playing the screenrecord output file:

Video: h264 (Constrained Baseline) (avc1 / 0x31637661), yuv420p, 368x640, 634 kb/s, SAR 1:1 DAR 23:40, 9.67 fps, 90k tbr, 90k tbn, 180k tbc (default)

And with:
scrcpy -m640

?

Wow! It's suddenly quite usable! How did I overlook that? Thanks!!!"
Is there anything more to be gained by this ticket, or should it be closed?

Hello there developer. 1st thank you for the amazing product, 2nd I'm also experiencing hellish lagging with my galaxy A70. It's screen is broken (not sure if that's the issue), and the frame rate is maximum 11-12 fps. tried reducing resolution, bit rate, recorded screen, but to no avail. I hope you have any idea, as every other phone is working except that one, plus it used to work flawlessly in smart view (before breaking the screen), but not sure what's the issue.

Does it work better if you record your device screen:
adb shell screenrecord /sdcard/file.mp4
adb pull /sdcard/file.mp4

?

hello can i screenrecord but with audio?


Updates to  maintain-the-website.md

I have made some updates/clarifications to the guide:

Added information about the code examples  "other" property field
Added information about using the index.jpg image for the code example image, where appropriate
Added information about providing a link to the Preview page

This is great, thank you!


Do it support koa framework？

my node app was use koa framework,
i had used this agent in my app, and the result was :
can registered but was no enpoint data in dashboard

My project use koa2，the dashboard can show data.
But about 2 or 3 days later ，I have to restart app ， otherwise skyApm will not receive any data.


Why do we need RequestType.java and Status.java ?

The two classes (identical in JS and other SDKs) look strange. The classes are wrappers around protobuf classes that created by hand but do not provide any additional information. Can we please check if the classes are really needed? I assume the classes (enums) created by protobuf are already good enough and we do not need the additonal handmade classes.

Hi @hendrikebbers . It seems like Status could be removed, but I am not sure if there are not any users that are using the Status struct specifically for comparison.
RequestType would not be directly used, I think.

Yeah, but the question is the usage of RequestType can not be refactored to us the protobuf classes directly.

We could use the protobuf classes directly, but I cannot guarantee that someone is not using our own implementation, since they are public classes.
We could @Deprecate them and use the protobufs. After some time we could remove the 2 deprecated classes.


poetry2nix: fix override bootstrapped-pip

Description of changes
Fix override bootstrapped-pip.
The python2Packages.bootstrapped-pip package tries to use the default python3Packages.wheel package and the python2Packages.wheel package is needed.
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[x] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
23.05 Release Notes (or backporting 22.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Please rebase on master.

Rebased PR.

Should probably go upstream as well: https://github.com/nix-community/poetry2nix/blob/master/overrides/default.nix

python3.pkgs.override is found in one more place, but I can't tell if a fix is needed.
          # If "wheel" is built from source
          sourcePackage = ((
            pkgs.python3.pkgs.override {
              python = self.python;
            }
          ).wheel.override {
            inherit (self) buildPythonPackage bootstrapped-pip setuptools;
          }).overrideAttrs (old: {
            inherit (super.wheel) pname name version src;
          });

python3.pkgs.override is found in one more place, but I can't tell if a fix is needed.

Let's merge this anyway to unbreak nixops.

It's really not ideal to have to manage the source code in two places.

It is much more than not ideal, it creates extra work and friction for us that should really not be necessary.

It's really not ideal to have to manage the source code in two places.

Suggestion to move poetry2nix maintenance here: #219087


Add doc links to primitives.featurelabs.com

Add links to primitives.featurelabs.com
Added links in
-README.md
-Feature Primitives documentation page
-Primitives FAQ page
-Featuretools Enterprise page

Codecov Report

Merging #860 into master will not change coverage by %.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #860   +/-   ##
=======================================
  Coverage   98.14%   98.14%
=======================================
  Files         117      117
  Lines       10812    10812
=======================================
  Hits        10611    10611
  Misses        201      201

Continue to review full report at Codecov.

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


Rename flow to flows

This represents the default naming convention from angular-fullstack, and it makes more sense to me for these to be singular, as it represents a type of entity/resource in the API.  angular-fullstack:endpoint generator.
I recommend keeping it like it currently is, but just let me know if you still want to rename it.


Community meeting updates

[x] 2020 notes
[x] other notes

fix #402
--exclude

see also: https://github.com/ome/www.openmicroscopy.org/pull/286/files

Pushed a few WIP commits which allow rendering a repository of markdown files (https://github.com/joshmoore/meeting-minutes/tree/master/2020) similar to announcements/.

Wanted to build the ci for this, but seeing that https://ci.openmicroscopy.org/view/Mgmt/job/WWW-merge/ is currently disabled.  Any idea what the reason is ?

@pwalczysko This should be handled by snoopy.

Sorry, that's part of my backlog. I have decommissioned the CI master job in favor of https://merge-ci.openmicroscopy.org/jenkins/job/WEBSITE-push/ which is run daily but should achieve what you want i.e. deploy a staging website to https://github.com/ome/www.openmicroscopy.org/pull/403#issuecomment-700604202

@sbesson @manics thanks for the update. So I assume that the result of the build will still be deployed on https://snoopycrimecop.github.io/www.openmicroscopy.org/support/ ?
I guess the reason I do not see the changes there are the failed travis checks here (the build is recent enough)

@pwalczysko Yes. If necessary you can trigger a rebuild of the push job and override the parameters to disable the status check

Now green.

The PR is excluded, that is why the snoopy pages do not show it.
Built it locally instead.
The links work, and the new item in the "support" section makes sense. I have couple of reformulation suggestions, will put them into the diff text. On the "on-the-web" page itself, I guess the image next to the Community meeting minutes is too big iand does not bring much. Suggest either make it smaller or remove it completely. The image also disproportionately claims too much space for the meeting minutes on that page, and pushes the github links below it out of the page.

The PR is excluded, that is why the snoopy pages do not show it.

re-included.

the image ... is too big

Agreed! Especially as we start having more content on this page. I also wonder if "on-the-web" is the best location for this content.

One more comment - possibly it would be a good opportunity to change this here, although not changed in the present PR:

In the bioformats twitter link description, the above formulation sounds too unfriendly and unnecesarily technical/industrial. Maybe we could reformulate in the lines of  "See ... (this and that) ... to learn (or "for")... latest changes, updates etc."

@joshmoore

I also wonder if "on-the-web" is the best location for this content.

Actually, as it is named atm ("on-the-web", the meeting minutes are out of place, I agree. But I would suggest it would be enough to change the "on-the-web" wording for something like "OME Team presents itself in the outer world" (this suggestion of mine is of course too long, but maybe this could be cleverly shortened, and the minutes could easily accommodate with that

"outreach"? :wink:

"outreach"? 😉

:)
Maybe "Catch up with OME" (maybe longer version "Catch up with OME on..." ?

Will the website need to be tagged and deployed after every meeting? Or is this a one-off?

For the moment, yes. That deployment will need automating so that when dependabot updates the submodule the website is immediately released.

Currently looking for a way to skip link checking for this subdirectory since a) there are a bunch of misses and b) I don't think we want the burden long term.

NB: it occurs to me while fixing https://github.com/ome/www.openmicroscopy.org/pull/403/commits/af506728fcfc4bb040e92e31ceb982a3114cc381 that the collections concept would allow us to template the workshop events quite nicely.
cc @sbesson @pwalczysko @jburel

I could not find this staged and looking into the deployment, it looks like we are hitting https://docs.github.com/github/working-with-github-pages/troubleshooting-jekyll-build-errors-for-github-pages-sites#invalid-submodule.

The last commit updates the .gitmodules to use HTTP and comply with the requirements of GitHub Pages when submodules are involved. With it included, this PR is now staged e.g. at https://snoopycrimecop.github.io/www.openmicroscopy.org/minutes/ as expected.
Collections look really nice. In addition to the workshops, they might also offer the solution for allowing to group/filter our growing announcements list by component.

https://snoopycrimecop.github.io/www.openmicroscopy.org/minutes/2020/2020-09-29.html

The badge is broken
Regarding the deployment job, is anyone already working on it? If not could we sidestep the issue by hosting www.openmicroscopy.org on GitHub pages?

The badge is broken

Hmmm.... may be that we have to strip those on publication. cc: @will-moore

the link to "last meeting" goes to https://github.com/ome/meeting-minutes - not useful, I guess this will not be fixed in this PR, but maybe we could drop this link from the template or somesuch (not sure how it gets into the mix in frist place).
The minutes itself look nice, only thing - for externals, the "meeting minutes "Agenda template" as first item on the list is not helpful. Maybe we need to balance the usefulness for external reader with our own workflow need on this point (possibly it is very useful for ourselves to have the template there...)

I made suggestions in sense community meeting -> Team meeting but happy if we brand it differently now. If we go for community meeting, we need to change it in all places, e.g. see below

https://github.com/ome/www.openmicroscopy.org/pull/403/commits/3af5ae196525d8d81d93f7819f69351ed54de4fa renames the on-the-web to "Catch up with OME" in the icon and the button, and shortens the text there to keep formatting in check (too long text does nto fit with the other icons length above). imho, user can first click onto the meetings and there only get the info about how to join the zoom, the Support page is too high level to go into such details

https://github.com/ome/www.openmicroscopy.org/pull/403/commits/218e28a32d448488d917cfb93872f9652fbc654f is trying to align the "Old Resources" icon with the rest - it was too short, and without any circular logo. Added a key logo and made the text shorter, so that the lack of a button is not so obvious. The icon is still too short, btu it is much better. No idea how to perfectly match it with the "Catch up with OME"

https://github.com/ome/www.openmicroscopy.org/pull/403#issuecomment-701333504 the link to "last meeting" goes to https://github.com/ome/meeting-minutes - not useful, I guess this will not be fixed in this PR, but maybe we could drop this link from the template or somesuch (not sure how it gets into the mix in first place).

I leave that for discussion outside this PR. I assume the easiest thing will eventually arise. (Note: the previously link also went to the full directory)

The meetings image is still pretty large, but otherwise, all updates pushed, @pwalczysko

The meetings image is still pretty large,

I am on it now, ta

I am on it now, ta

I was wondering if we might not just go for something like https://fontawesome.com/icons/user-friends?style=solid
<i class="fas fa-user-friends"></i>

Whatever I tried, I could not make that work - it just did nothing as written, whether inside a class or outside of it, even addition to the file https://github.com/ome/www.openmicroscopy.org/blob/master/css/font-awesome.css and also to https://github.com/ome/www.openmicroscopy.org/blob/master/css/font-awesome.min.css , it still simply did not show any icon. Only the icons which are already in the https://github.com/ome/www.openmicroscopy.org/blob/master/css/font-awesome.css seem to work, the one @joshmoore suggests is not there and unfortunately I do not see how to add it successfully. Let me know if you know better.
Btw, https://github.com/ome/www.openmicroscopy.org/pull/403/commits/3d210b8fe281def306b330ad10ef15e2935652dd is a fairly decent try, even with the "single user in circle icon". The strange space between the icons and the text in the Github section of the on-the-web page is not introduced by my commit, but as the mega-image of the community meeting now vanished, it got a bit exposed - again, could not see how to get rid of it.

built on https://snoopycrimecop.github.io/www.openmicroscopy.org/on-the-web/

Looks good to me!

I'd argue that we likely have our logo on their more often than is strictly necessary, but let's deal with that elsewhere.
Shall we make a last call for comments?

Shall we make a last call for comments?

I would think so.


Question: TLS certificate

@rojer ,
I read https://github.com/cesanta/docker_auth/issues/3 . But still have some confusion.
How do you generate TLS certificate?
If it is via openssl genrsa and openssl req? I don't think so.
Because the certificate's content is not accepted by docker distribution.
Could you please provide some example certificate?
Thanks a lot!

Can you provide the config from your registry and the docker_auth? Both need the .pem file but only the docker_auth needs the .key.

@DarkDirk
I just use example config list in examples/reference.yml, as Distribution config.
auth:
    token:
          realm: "https://<IP_ADDRESS>:5001/auth"
          service: "Docker registry"
          issuer: "Acme auth server"
          rootcertbundle: "/path/to/server.pem"

And I didn't change and use original examples/simple.yml . It is OK?

Sorry if I ask, but do you have the correct path in the distribution config? Mine looks like this
version: 0.1
log:
  level: debug
  fields:
    service: registry
    environment: development
storage:
    cache:
        layerinfo: inmemory
    filesystem:
        rootdirectory: /data/registry/
    maintenance:
        uploadpurging:
            enabled: false
auth:
  token:
    realm: "https://localhost:5001/auth"
    service: "Docker registry"
    issuer: "Super auth server"
    rootcertbundle: "/go/src/github.com/docker/distribution/certs/server.pem"
http:
    addr: :5000
    secret: xxxxxxxxxx

My docker_auth config:
server:
  addr: ':5001'
  certificate: /ssl/server.pem
  key: /ssl/server.key
token:
  issuer: Super auth server
  expiration: 900
users:
  [....]
acl:
  [....]

Both server.pem are the same. Perhaps you can also find some more information here: https://docs.docker.com/registry/configuration/

So may I generate the certs via command?
openssl genrsa -out server.key 2048
openssl req -new -x509 -days 36500 -key server.key -out server.crt -subj "/C=CN/ST=Jiangsu/L=Yangzhou/O=Your Company Name/OU=localhost"
cat server.crt server.key > server.pem

Then, copy them to the correct folders.

By the way, is http config necessary?
http:
    addr: localhost:5000
    net: tcp
    prefix: /my/nested/registry/
    secret: asecretforlocaldevelopment
    tls:
        certificate: /path/to/x509/public
        key: /path/to/x509/private
    clientcas:
      - /path/to/ca.pem
      - /path/to/another/ca.pem
    debug:
        addr: localhost:5001

No. The cat step is wrong. (At least I don't have that step). HTTP config is not necessary for testing on localhost. In production you should have TLS (I think otherwise the docker daemon won't connect).
Perhaps you have a problem when the debug is listening on 5001 and you search for the index on the same port?
Send me a mail, then I'll send you a working example cert.

@DarkDirk Thanks so much. OK.

right, no need to glue cert and key together. here's how you can generate a self-signed cert:
openssl req -newkey rsa:2048 -nodes -keyout server.key -x509 -days 365 -out server.pem


Docs: Link to edit broken

Steps to reproduce:

Go to page: https://nuxt-speedkit.grabarzundpartner.dev/caveats
Click: Edit this page on GitHub
We get 404

Solution: add v2 to links
https://github.com/GrabarzUndPartner/nuxt-speedkit/edit/main/docs/content/v2/en/caveats.md

Thanks! Have fixed it 🙂


Make lasso peer dependency and remove lasso-marko as a dependency

We don't need index.js because marko-starter provides this functionality. The lasso-marko dependency will also be added to new marko-starter.
IMPORTANT: We should publish a new version of marko-starter that has lasso-marko before merging this PR.

Closing because this is very old


Improve server side

Coverage increased (+8.04%) to 92.291% when pulling e5e68ad4602733b33fc8ea2c42056491f7a6a262 on improveServerSide into 54093e595dca84c2eaf8772016bf0aa19fd2649f on develope.


For MacOS Mojave 10.14.6 additional installation

For MacOS Mojave 10.14.6 you need to install first
xcode-select install before Step number 1.3
brew tap wix/brew
brew install applesimutils

[ ] This is a small change
[ ] This change has been discussed in issue #<?> and the solution has been agreed upon with maintainers.

Description:

I don’t think this is necessary if you have Xcode installed and have run it at least once before installing.

I have been using Xcode for years and updated it to latest version and yet still got this problem. Yes it is necessary.


Clarify license.  ISC or MIT?

package.json lists the license as ISC and README.md contains the text of the ISC license in the License section, but the LICENSE file contains the text of the MIT License.  Could you please clarify which of these licenses applies to the project.  Thanks!

I removed the License file.  Really I don't care.  If you have a reason to be scared of ISC, I can grant you MIT.

Either works well for me.  Thanks for clarifying.


Release

@haoyk,
Thanks for your contribution.
To ensure that the project team has proper rights to use your work, please complete the Contribution License Agreement at https://cla2.dotnetfoundation.org.
It will cover your contributions to all .NET Foundation-managed open source projects.
Thanks,
.NET Foundation Pull Request Bot

@haoyk, thanks for signing the contribution license agreement. We will now validate the agreement and then the pull request.
Thanks, .NET Foundation Pull Request Bot

1

Thanks - but we do the release merging ourselves.


IAMManagedPolicyController too permissive

Our security team has flagged our kube-aws IAM policies as problematic, because all actions, on all resource, are permitted for ec2 and elastic load balancing. Is there an easy way to audit the calls made, so the actions can be scaled back to only those needed?
{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Action": "ec2:*",
            "Resource": "*",
            "Effect": "Allow"
        },
        {
            "Action": "elasticloadbalancing:*",
            "Resource": "*",
            "Effect": "Allow"
        },

/remove-lifecycle rotten


Changing initial squiggle string does not update cell value

Description:
Create a squiggle editor, change initial squiggle string, observe chart doesn't change
Steps to reproduce:

Go to Squiggle Editor in Storybook: https://develop--squiggle-components.netlify.app/?path=/story/squiggle-squigglechart--continuous-symbolic
Edit the initialSquiggleString prop under the graph
Observe that the string does not change

Could you be a bit more specific? Does it break with the components library?

We've transitioned to maybe-controlled components since; use defaultCode for uncontrolled components and code for controlled.
Related: https://github.com/quantified-uncertainty/squiggle/pull/759#issuecomment-1165442446