Not possible to pay in SGD.

Expected behavior
Payments should be possible when SGD selected.
Check this link:
https://docs.mollie.com/payments/multicurrency
Actual behavior
Mollie payment option not shown when SGD selected.
Steps to reproduce the behavior
Try to pay with SGD.
Environment

PrestaShop version: <IP_ADDRESS>
Mollie module version: 4.2.2
PHP version: 7.2.34

Hey @BricksDirect Thank you for reporting the issue!
We will check this further, and I will let you know if more information is needed!
--
Best regards,
Invertus Support team

Hello @BricksDirect ,
Just wanted to inform you that we've found the issue, currently we've implemented a fix, and are testing it, and I will keep you updated regarding this matter!
--
Best regards,
Invertus Support team

Hello Invertus team,
That's great!
I will wait on your solution.
Best regards,
Niels Roest
BricksDirect

Hello,
Thank you for your patience, could you also clarify if you click on refresh currency values button in Mollie BO, does it help?
Looking forward to your reply!
--
Best regards,
Invertus Support team

Hello,
No, it doesn't make a difference.
It is still not possible to pay in SGD.
Best regards,
Niels Roest
BricksDirect

Hey @BricksDirect ,
Just to double check, you've reset the currency values here, correct?

Cleared your cache afterwords, and it still did not help, right?
Looking forward to your reply!
--
Best regards,
Invertus Support team

Hello,
Yes I have already refreshed by clicking on that button.
The mollie payment option is still not shown when SGD selected.
Best regards,
Niels Roest
BricksDirect

@BricksDirect ,
And could you clarify if there are no country/currency restrictions in this section here?

Looking forward to your reply!
--
Best regards,
Invertus Support team

Hello,
I already checked that.
There are no restrictions in these settings.
Best regards,
Niels Roest
BricksDirect

@BricksDirect ,
In that case, could you maybe send your back office/FTP credentials to -<EMAIL_ADDRESS>for further investigation?
Looking forward to your reply!
--
Best regards,
Invertus Support team

Hello,
At the moment we are testing the implemented fix for the issue, and included it in the 4.2.3 release which is coming out really soon, I will notify you once it's released!
--
Best regards,
Invertus Support team

Dear Invertus team,
That's great.
Thank you.
Best regards,
Niels Roest
BricksDirect

Hello @BricksDirect ,
Did you have time to install the 4.2.3 version and give it a try? Is everything working as it should? Do you need further assistance?
Let us know!
--
Best regards,
Invertus Support team

Hello Invertus Support team,
It works fine now.
The bug has been solved.
Thank you for your assistance.
Best regards,
Niels Roest
BricksDirect

Thank you for the clarification @BricksDirect ,
Closing the issue now, have a nice day!
--
Best regards,
Invertus Support team


Setting sync can not ever complete (LocalTooManyRequests)

Does this issue occur when all extensions are disabled?: Yes/No yes

Version: 1.89.0-insider
Commit: 50a6f4f200c5a33f47997eb6a8966e50cf219e21
Date: 2024-04-12T05:51:02.558Z
Electron: 28.2.8
ElectronBuildId: 27744544
Chromium: 120.0.6099.291
Node.js: 18.18.2
V8: 12.0.267.19-electron.0
OS: Darwin arm64 23.5.0

Steps to Reproduce:
Help->Show all commands-> Settings Sync: Backup and Sync Settings
select either stable or insiders (BOTH fail the same)
Sync starts, and after a few seconds ends with:
024-04-15 09:12:15.009 [info] Request failed https://vscode-sync.trafficmanager.net/v1/collection/aaa-bbb-ccc-dd/resource/extensions/latest
2024-04-15 09:12:15.010 [error] LocalTooManyRequests (UserDataSyncError) syncResource:unknown operationId:unknown: Too many requests. Only 100 requests allowed in 5 minutes.
    at E.request (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/code/node/sharedProcess/sharedProcessMain.js:113:131123)
    at C.D (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/code/node/sharedProcess/sharedProcessMain.js:113:127340)
    at async C.readResource (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/code/node/sharedProcess/sharedProcessMain.js:113:124404)
2024-04-15 09:12:15.067 [info] Did reset the local sync state.

(Note: I did obfuscate the collection id)
Previously sync had worked at some point, but I think since then I have more profiles (about 20) and extensions across these profiles.
The issue occurs both with vscode-insider & vscode.
Unfortunately it doesn't seem possible to get past this. it looks like a partial sync or slowed down sync is needed to get past the rate limits

May be related - https://github.com/microsoft/vscode/issues/109764
Note that I have tried restarting vscode, it happens every time as it's still trying to get past the first sync

I tried to both github & microsoft
However I found a workaround
When turning on sync, only select some categories initially, then go back and modify the configuration to add another category, sync, and repeat.
This presumably keeps the limit under the threshold which causes a problem, at least in my case

/duplicate
https://github.com/microsoft/vscode/issues/172920

Thanks for creating this issue! We figured it's covering the same as another one we already have. Thus, we closed this one as a duplicate. You can search for similar existing issues. See also our issue reporting guidelines.
Happy Coding!


KAFKA-4223: RocksDBStore should close all open iterators on close

Keep track of open Rocks DB iterators. When a store is closed, close all open iterators.

@guozhangwang as mentioned over chat. One thing i'm not 100% sure on is what to do if hasNext or next are called on the iterator post close. At the moment it behaves as if there is no next value, so hasNext will return false and next would throw NoSuchElementException.  Are we ok with this? Or should we throw an InvalidStateStoreException, or similar, if the iterator has been closed?
Also, has to make the RocksDBIterator methods synchronized as close can be called from the StreamThread
@enothereska @mjsax

I think raising a different exception if a closed iterator is used might be a good idea. For example, after a rebalanced, user might want to issues new "key discovery" and start over -- if we just return false or raise NoSuchElementException it is not clear that not all keys got returned and thus user might only get part of the stuff done they actually wanted to do.

Thanks @mjsax - i agree with throwing an exception. Change pushed

LGTM

@guozhangwang - we have observed in our tests that this is an issue, i.e, not closing the iterators was causing the number of open files to increase for ever. I've verified that this is not the case with this patch.

@dguy I agree throwing an InvalidStateStoreException to indicate users to re-discover is better.

@guozhang I pushed that change already

Merging to trunk and 0.10.1 as @guozhangwang has reviewed it and his only minor comment was addressed by @dguy.


wip: Update Keycloak with PATCH User only when necessary

Ensure PATCH of  contextInformation in Users API does not call Keycloak.
Compare old/new values and decide if keycloak needs to be updated
Conditionally call keycloak only if any of the keycloak related user properties change.

fixes #1256

replaced by https://github.com/almighty/almighty-core/issues/1256


modify FindPythonPackage to use Python found

Add find_package(PythonInter...) to the beginning of the file
(outside of the macro) so that cmake finds the Python interpreter
and uses it when checking for existence of a module.

@r-rojo nice change, although I wanted to ask about something.
According to my knowledge, it doesn't change anything. Is it required for virtualenv to work? Would it be worth to add check for Python2.7? At least one of tools is pinpointed to this version: https://github.com/OPAE/opae-sdk/blob/master/tools/packager/packager.py#L43
(In the future, I would like to port it over to py3)

@dasm virtualenv should work with both Python 2.7 and 3 although it might be a good idea to require 2.7 in our build system since I'm not aware of any requirements within our codebase for Python 3.


How to read Citizen ID Card?

const startReading = () => {
NfcPassportReader.startReading({
mrz: 'IDKEA0880214428231099031553<<08804346M2404343KEA<<<<<<<<<<<7KA<<EM<AN<<<<<<<<<<<<<<<<<<<',
includeImages: false,
})
.then((res) => {
setTagDiscovered(false);
setResult(res);
})
.catch((e) => {
setTagDiscovered(false);
console.error(e.message);
});
};
catch:  [Error: File not found, CAPDU = 00A4020C02010B, RAPDU = 6A82 (SW = 0x6A82: FILE NOT FOUND)]
How to read Citizen ID Card? :(

Hello,
Thank you for reaching out and providing the details of your issue.
We have primarily tested the library with Turkish Republic Identity Cards. To better assist you, could you please let us know which country your identity card is from? This information will help us check the specific files and ensure compatibility.
Thank you for your understanding and cooperation. Looking forward to your response.
Best regards,
Batuhan Öztürk


[docs] numeric constants signs are not displayed

https://pixijs.download/dev/docs/PIXI.html#UPDATE_PRIORITY

Can you clarify? I'm not sure what you mean.

actual values are -25 for low and -50 for utility

Oh, got it! Thanks for pointing this out.

@SukantPal docs look correct. Is this a webdoc bug?

Yeah, I guess.

You can add quotes around as a quick fix, and probably need to transfer this issue to webdoc-js/webdoc.

This was fixed in https://github.com/webdoc-js/webdoc/pull/48!


Institut Spécialisé de Technologie appliquée El Hank

@mohamed-ali-agourram I am sorry, the domain ofppt-edu.ma is removed from our trusted domains list because it was abused in the past. If you are the student of this school, please enroll to GitHub Student Developer Program. Then apply for JetBrains educational subscription with your GitHub account (GitHub tab at https://www.jetbrains.com/shop/eform/students).


Adding a Temperature Converter app

Project title
Temperature Converter
Project Description
The app will convert the temperature to celsius or fahrenheit scale depending upon the user's choice.
To add more fun it will also display a suitable emoji depending upon the temperature.
Stack:

[x] Html
[x] CSS
[x] JavaScript

I am GsSOC'22 contributor.

/assign


Fixes/totp and UI

what will happen if the totp secret is an invalid string fixed
after credential is added the env fields are not refreshed - fixed
need to show message that name is not given when i try to add env - fixed
unable to see totop field by default -fixed
there is some other svg error popping up now - fixed


Update: EclipseAdoptium.Temurin.8.JRE version 8.0.345.1

- [X] Have you signed the Contributor License Agreement?

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

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

Microsoft Reviewers: Open in CodeFlow

@wingetbot run


How can you use searchByImage with eBay-node-client?

Ebay is giving API access on searchbyimage. Can this be used with your library? I want to search ebay for items with only image.

Added in #31

It has been released in https://github.com/bhushankumarl/eBay-node-client/releases/tag/v0.0.10 version. Please upgrade your ebay-node-client version to the latest.


Unable to upload metadata

The tutorial says to upload the metadata for the SAML SSO. However, the button is not active although I'm global admin. What's missing? How do I proceed?

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: ccaf7a87-3d5a-521e-5fd3-39967ba6a233
Version Independent ID: e2bca7c3-f330-8e1f-518e-cc17415f0338
Content: Tutorial: Tutorial: Azure Active Directory Single sign-on (SSO) integration with SAP NetWeaver
Content Source: articles/active-directory/saas-apps/sap-netweaver-tutorial.md
Service: active-directory
Sub-service: saas-app-tutorial
GitHub Login: @jeevansd
Microsoft Alias: jeedes

I figured it out. It does not work with the Azure AD "Default Directory". You have to create a new tenant, switch to it, and then configure the Enterprise Application "SAP NetWeaver".

@mbtools It should not be like that. You should able to use this in your default directory also. If you are not using the default directory then you might not find all these users in another directory. Also the verified domains are different in each tenant. So I dont think this is the correct way to solve this issue. Please feel free to raise the support ticket and our engineer can help you out.

Thanks for the comment. We are just starting out, so there's no history of users to deal with. The setup with a new directory works ok


FINCN-165 Perepare docker compose scripts using official images

This looks good to me.
Will wait till the end of the day so others can also review it.
Then I'll merge it.


Breaking Change: Get Object ACL

I have recently upgraded the minio-go package from version v7.0.10 to v7.0.16 and the GetObjectACL method does not work anymore failing with error: "expected element type  but have ".
Anyone knows a solution to this problem?
Thanks in advance.

@danielsf97 You you add a bit more context to the error?
Which Go version are you using?

I have recently upgraded the minio-go package from version v7.0.10 to v7.0.16 and the GetObjectACL method does not work anymore failing with error: "expected element type but have ".

GetObjectACL implementation has not changed in years - closing this as there is no relevant reproducer present in the issue description.

@danielsf97 You you add a bit more context to the error?
Also, which Go version are you using?

I'm using version 1.15.  Updated the issue.

@vadmeste Could you check if this is a regression from #1538

I think this makes it embedded:
type accessControlPolicy struct {
	Owner
	AccessControlList
}

Maybe it should be:
type accessControlPolicy struct {
Owner Owner xml:"Owner"
AccessControlList AccessControlList xml:"AccessControlList"
}

@klauspost I will check.

This is fixed in latest release v7.0.18


build: upgrade to Go 1.13 and Debian 10

See: https://golang.org/doc/go1.13

Codecov Report

Merging #125 into master will decrease coverage by 1.44%.
The diff coverage is n/a.


Bluetooth: Rename num_complete_pool -> sync_evt_pool

Refactor only. The surrounding ifdefs are intentionally not changed in this patch. They will be in the near future.
Rename the pool and generalize the documentation to allow using this pool for other events that fit the same criteria. This pool can be used for any buffer that is processed synchronously, without negatively affecting 'num complete' messages. E.g. 'cmd complete/status' can be put in this pool already.
We will be working towards making the host process all event buffers synchronously. This is because events have no dedicated flow control, and discarding events in the driver without informing the host creates problems. Discarding should instead happen in the host higher layers when unavoidable.

We will be working towards making the host process all event buffers synchronously.

Can you elaborate on this?

We will be working towards making the host process all event buffers synchronously.

Can you elaborate on this?

The idea is that the 'generic event buffer' is processed synchronously. That way, it's illegal for any event handler to be special, delay the buffer de-allocation, and stall event handling.
If a handler is special, then it needs to have special buffers. If the data for the special handler comes in a generic buffer, the special handler will need to memcpy it out to keep it. Ideally, handler don't need to memcopy into other net_bufs, but rather are able to summarize the data into fixed-size memory locations. E.g. The disconnect event handler can store the disconnect reason in bt_conn.err and schedule a work to invoke callbacks later.
If the driver puts special data in special buffers (for zero-copy reasons), and we are out of special buffers, the driver will take the generic buffer instead. When the special handler gets the generic buffer, it is obliged to act like a generic handler and free the buffer, e.g. by discarding the data.
E.g. advertising data can go in the discardable pool. But if that pool is full, the data goes in the generic pool. When the advertiser handler gets the generic buffer, it can note down in static memory that a discard has occurred, but it must free the buffer before returning.
A generic handler is not allowed to invoke any functions that block on HCI RX or TX, since this forms a potential deadlock. This means invoking arbitrary application callbacks is not allowed. Invoking the callbacks has to be offloaded off the bt_recv context. Isr-ok-marked callbacks may be invoked, but this is bad for other reasons like the stack size problem.

The idea is that the 'generic event buffer' is processed synchronously. That way, it's illegal for any event handler to be special, delay the buffer de-allocation, and stall event handling.

Does that involve getting rid of bt_hci_cmd_send_sync in the future, or what's the plan? Not sure I fully understand it yet

The idea is that the 'generic event buffer' is processed synchronously. That way, it's illegal for any event handler to be special, delay the buffer de-allocation, and stall event handling.

Does that involve getting rid of bt_hci_cmd_send_sync in the future, or what's the plan? Not sure I fully understand it yet

This plan shifts the problem away from bt_hci_cmd_send_sync existing to acknowledging that it's not isr-safe, so it shall not be called from a generic event handler.
It then becomes an orthogonal problem: So long as the special handler finds a way to offload the callbacks that end up in bt_hci_cmd_send_sync away from the bt_recv context to somewhere legal, you can keep on using bt_hci_cmd_send_sync if you want. But note that the system work queue is not an ok place to call blocking functions from. So the special handler will need to offload it to some other thread.
The 'plan' is to gradually 'formalize' the interfaces in the host with expectations around blocking. We do this by starting with the core hci and pushing the legacy cruft out to the edges of 'the nice garden'.
So I don't have a concrete design in UML to show you :P. But I have ideas about principles that should resolve our issues if we apply them repeatedly.

The idea is that the 'generic event buffer' is processed synchronously. That way, it's illegal for any event handler to be special, delay the buffer de-allocation, and stall event handling.

Does that involve getting rid of bt_hci_cmd_send_sync in the future, or what's the plan? Not sure I fully understand it yet

This plan shifts the problem away from bt_hci_cmd_send_sync existing to acknowledging that it's not isr-safe, so it shall not be called from a generic event handler.
It then becomes an orthogonal problem: So long as the special handler finds a way to offload the callbacks that end up in bt_hci_cmd_send_sync away from the bt_recv context to somewhere legal, you can keep on using bt_hci_cmd_send_sync if you want. But note that the system work queue is not an ok place to call blocking functions from. So the special handler will need to offload it to some other thread.
The 'plan' is to gradually 'formalize' the interfaces in the host with expectations around blocking. We do this by starting with the core hci and pushing the legacy cruft out to the edges of 'the nice garden'.
So I don't have a concrete design in UML to show you :P. But I have ideas about principles that should resolve our issues if we apply them repeatedly.

Thanks for the explanation, then I understand the path and the goal :) And thanks for doing this in smaller steps than a huge PR


Remove dependency on ostruct

The ostruct library is being repackaged as a gem and removed from Ruby's standard library (stdlib). Replace OpenStruct with an internal implementation to avoid this whole mess. The custom class should be named Asciidoctor::PDF::ThemeData since the only use of OpenStruct in Asciidoctor PDF is for the theme data. This also gives us the opportunity to optimize this object for more efficient access in the future.

As part of this fix, json 2.7.2 also has to be installed (since json 2.7.1 uses ostruct). Normally, it gets added by rubocop. However, if lint is not enabled, it needs to be installed for simplecov/deep-cover. So if Ruby is > 3.3.4, add json as a coverage dependency. logger is also being removed from stdlib, so for now, it needs to be declared as a dependency in the Gemfile if Ruby > 3.3.4.

To be clear, this doesn't solve the entire probably being introduced by Ruby's continued gemfication of APIs previously in stdlib. But it at least solves the direct dependency that Asciidoctor PDF has on the APIs being removed.


Merge v1 before static methods

Merges 1.x -> master up to the 0cddfcbdb4e0a078adf1794f68de79a57f4fb352 commit on 1.x, and also cherry-picks in 25f7f893f0b52b7b14e244a16679d72b1f0088de. After this PR is merged and so is https://github.com/guzzle/psr7/pull/370, then master should be green. I will then tackle merging the rest of the changes from 1.x into master.

The fix for phpstan is included in https://github.com/guzzle/psr7/pull/370.

The diff is super small

Yes. This only merges things before the static method changes. I'll handle that after this PR and the other is merged.


BLOXROUTE: Replace Quicknode with Bloxroute endpoints

Migrate all Quicknode endpoint references here: https://github.com/search?q=org%3AVolumeFi serene-divine-crater.quiknode.pro&type=code
back to Bloxroute:

See ticket: https://github.com/VolumeFi/palomabot/pull/309 that was done in December, but we are back on Quicknode.
RE-enable custom RPC endpoint.

Fixed with https://github.com/VolumeFi/palomabot/pull/360

Done by https://github.com/VolumeFi/palomabot/pull/360


User Profile js File error

Refernce:    https://www.twilio.com/blog/build-single-page-application-php-codeigniter-react
When I am going with webpack  bind the code, then its shows Error in Unexpected token, expected ",  user/profile.js

Please do the needful

const UserProfile = () => { const user = loadUser();
return (
user.name
)
};


Evaluation result mismatch

I tried to run the 0-shot evaluation on winograd for the MPT-7b model. This is the result that I got:
Eval metrics/winograd/0-shot/InContextLearningMultipleChoiceAccuracy: 0.5055
This is the script that I use:
python eval/eval.py
eval/yamls/hf_eval.yaml
icl_tasks=eval/yamls/winograd.yaml
model_name_or_path=mosaicml/mpt-7b
The reported number for 0-shot winograd for MPT-7b is 0.878. Is there anything missing here?

I just had success running composer eval/eval.p YAML_NAME.yaml
with the following YAML:
seed: 1
  max_seq_len: 1024
  device_eval_batch_size: 4

  fsdp_config:
    mixed_precision: PURE
    sharding_strategy: FULL_SHARD
  icl_tasks:
    -
      label: winograd
      dataset_uri: eval/local_data/winograd_wsc.jsonl # ADD YOUR OWN DATASET URI
      num_fewshot: [0, 1, 5, 10]
      icl_task_type: schema

  model:
      device: cpu
      name: hf_causal_lm
      pretrained: true
      pretrained_model_name_or_path: mosaicml/mpt-7b
      use_auth_token: false

  tokenizer:
      kwargs:
        model_max_length: ${max_seq_len}
      name: mosaicml/mpt-7b

Can you try this and let men now how it goes?

Got similar results right now:
Eval metrics/winograd/0-shot/InContextLearningMultipleChoiceAccuracy: 0.8679
The config has some space issues, a fixed version is provided here:
seed: 1
max_seq_len: 1024
device_eval_batch_size: 4
fsdp_config:
mixed_precision: PURE
sharding_strategy: FULL_SHARD
icl_tasks:
label: winograd
dataset_uri: eval/local_data/winograd_wsc.jsonl # ADD YOUR OWN DATASET URI
num_fewshot: [0]
icl_task_type: schema
model:
device: cpu
name: hf_causal_lm
pretrained: true
pretrained_model_name_or_path: mosaicml/mpt-7b
use_auth_token: false
tokenizer:
name: mosaicml/mpt-7b
kwargs:
model_max_length: ${max_seq_len}

Do you have any idea why the results from "python eval/eval.py" and "composer eval/eval.py" have such a large gap?

What setup are you using? is it multi-gpu?
composer SCRIPT will launch the script across multiple GPUs; composer SCRIPT will not, but if there are multiple gpus in your setup the script will assume you have launched on multiple GPUs and something might break.
If you are using a multi-gpu setup that might be part of the difference.
(I'm not sure, I'm just throwing out idea's)

I tried both multi-gpu and single-gpu for "python eval.py". The issue is the same. So it should not due to the setup of using multi-gpu.

Hi @congyingxia, in order to do evaluation in a data parallel manner, the dataset size is padded to be divisible by the world size, which results in duplicating a small number of samples. For most datasets, the difference from this should be very small, because the number of duplicated samples is very small relative to the full dataset size. Winograd is a very small dataset and so may see a larger difference. We ran all of our evals on 32 gpus for fair comparison between models, and are also fixing this duplication issue in composer (https://github.com/mosaicml/composer/pull/2218). cc @bmosaicml

@congyingxia Yes that is my understanding. In the current v0.1.1 codebase, prior to the fixes coming in https://github.com/mosaicml/composer/pull/2218, using multiple GPUs for eval with any dataset (streaming or HF or a standard map-style dataset), will duplicate 0 <= K < WORLD_SIZE samples to maintain the same number of samples per-GPU.

Got it, thanks!


Get-CsOnlineDialOutPolicy: The term 'Get-CsOnlineDialOutPolicy' is not recognized as the name of a cmdlet

I have MicrosoftTeams 2.6.0 version installed. While running ' Get-CsOnlineDialOutPolicy' it throws following error:
Get-CsOnlineDialOutPolicy: The term 'Get-CsOnlineDialOutPolicy' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.

Hi @sanjeev40084, thank you for your feedback.
I have tested this cmdlet on version 2.6.0 and it's still there. Do you have Global Admin or Teams Administrator roles assigned to your account?
Thank you!

@dariomws sorry for the confusion. what i mean by earlier reply is. the command Get-CsOnlineDialOutPolicy doesn't work but command Grant-CsDialoutPolicy with my same credential. Not sure why one works and the other don't. I will try to submit MSFT ticket to get help with this issue.

@dariomws  Thank you very much for the contribution and sharing this explanation. @sanjeev40084 Hope this comment is helpful for you. Considering the nature of the issue, as advised, please open a service ticket in your tenant and follow with them for the resolution. We proceed to close it as here we are limited to documentation fixes and improvements only.
We will be very happy if you can share the outcome or resolution with us if you see documentation update is required. We will certainly update this documentation with that valuable information. Thanks again, for taking out some time to open the issue. Appreciate and encourage you to do the same in future also.


npm package

transpile the project with ?babel ?parcel-bundler ? let's see
versioning (semantic-release)
publish on npm using github hooks

npm i form-one


dvl-a50: mavlink2resthelper: fix incorrect IDs

system_id set to match the vehicle ID, since they should be part of the same system
component_id set to 197 (MAV_COMP_ID_VISUAL_INERTIAL_ODOMETRY)

⚠ if this field is meant to specify the intended recipient then it should be 1 instead, since it should be sent to the autopilot, but if that's the case I'm not sure how or where we're supposed to set the source ID

Fixes #30
Untested, so probably good if someone can try it before it gets merged.

@ES-Alexander I will work on testing this in-water over the next few weeks.

@clydemcqueen did you ever get around to testing this? :-)

@ES-Alexander Sadly, we did not. I'll see if I can schedule some test time w/ a DVL-rigged ROV.

@ES-Alexander -- sorry, testing this (and PR 34) is just not making it to the top of the queue. We have limited time to run these sorts of tests on real hardware, and the test process is cumbersome (creating a docker image per PR, installing them, etc.)
Are there plans to create BETA and DEV tracks for extensions? We always run the latest ArduSub BETA on production dives (to get surftrak and other nifty features). I think it would be straightforward to switch to the BETA track of this extension, if such a thing existed.

I was prepping for a test dive later today, and I can't get this PR to run on my bench Pi running BlueOS. I'm getting errors like this:
2024-10-11 17:41:25.082 | WARNING  | dvl:load_settings:92 - Settings file not found, using default.
 * Serving Flask app "main" (lazy loading)
2024-10-11 17:41:25.087 | WARNING  | blueoshelper:request:13 - Error in request: http://<IP_ADDRESS>/cable-guy/v1.0/ethernet: <urlopen error [Errno 111] Connection refused>
2024-10-11 17:41:25.087 | DEBUG    | dvl:report_status:75 - waiting for cable-guy to come online...
 * Environment: production
   WARNING: This is a development server. Do not use it in a production deployment.
   Use a production WSGI server instead.
 * Debug mode: off
 * Running on http://<IP_ADDRESS>:9001/ (Press CTRL+C to quit)
2024-10-11 17:41:26.090 | WARNING  | blueoshelper:request:13 - Error in request: http://<IP_ADDRESS>/cable-guy/v1.0/ethernet: <urlopen error [Errno 111] Connection refused>
2024-10-11 17:41:26.091 | DEBUG    | dvl:report_status:75 - waiting for cable-guy to come online...
2024-10-11 17:41:27.094 | WARNING  | blueoshelper:request:13 - Error in request: http://<IP_ADDRESS>/cable-guy/v1.0/ethernet: <urlopen error [Errno 111] Connection refused>
2024-10-11 17:41:27.095 | DEBUG    | dvl:report_status:75 - waiting for cable-guy to come online...
<IP_ADDRESS> - - [11/Oct/2024 17:41:28] "GET / HTTP/1.1" 200 -
2024-10-11 17:41:28.098 | WARNING  | blueoshelper:request:13 - Error in request: http://<IP_ADDRESS>/cable-guy/v1.0/ethernet: <urlopen error [Errno 111] Connection refused>
2024-10-11 17:41:28.099 | DEBUG    | dvl:report_status:75 - waiting for cable-guy to come online...
<IP_ADDRESS> - - [11/Oct/2024 17:41:28] "GET /register_service HTTP/1.1" 200 -
<IP_ADDRESS> - - [11/Oct/2024 17:41:28] "GET /docs HTTP/1.1" 404 -
<IP_ADDRESS> - - [11/Oct/2024 17:41:28] "GET /v1.0/ui/ HTTP/1.1" 404 -
2024-10-11 17:41:29.102 | WARNING  | blueoshelper:request:13 - Error in request: http://<IP_ADDRESS>/cable-guy/v1.0/ethernet: <urlopen error [Errno 111] Connection refused>
2024-10-11 17:41:29.103 | DEBUG    | dvl:report_status:75 - waiting for cable-guy to come online...
2024-10-11 17:41:30.106 | WARNING  | blueoshelper:request:13 - Error in request: http://<IP_ADDRESS>/cable-guy/v1.0/ethernet: <urlopen error [Errno 111] Connection refused>
...

Does this PR need to be rebased?

Ping... any interest in this? We are doing some testing December 3-5 and could test this if you are interested.

Does this PR need to be rebased?

I rebased and it doesn't seem to have that issue when I tried running it, so hopefully able to be tested now :-)

Ping... any interest in this?

Thanks for the ping. I think it's worth testing if it's not a hassle to do so, but given the lack of comments on your original issue I don't expect this is a high priority for many people - mostly just a potential correctness thing, and a matter of convenience for log analysis.

I don't expect this is a high priority for many people

Haha, clearly not. But thanks anyway! We have 3 days on the water next week (if the weather holds), so hopefully I am able to get some of these tests done.


Chroma does not format "Makefile", requires "makefile"

Hugo Static Site Generator v0.31.1 darwin/amd64 BuildDate: 2017-12-23T14:37:55-06:00
When building markdown files with Makefile code blocks if the language tag is "Makefile" it will not add the additional markup to the output, however changing that to "makefile" will. This appears to work correctly when running the last couple versions of chroma standalone.
(not processed)
```Makefile
.PHONY: lint
lint: lint-python lint-components lint-js lint-css

<div class="highlight"><pre class="chroma"><code class="language-Makefile" data-lang="Makefile">.PHONY: lint
lint: lint-python lint-components lint-js lint-css</code></pre></div>

(processed)
```makefile
.PHONY: lint
lint: lint-python lint-components lint-js lint-css

.PHONY: lint
lint: lint-python lint-components lint-js lint-css

```

Yes, in Hugo you need "makefile".

I don't think we do any case fiddling with the language tag before we pass this on to Chroma, but if someone wants to check, I will keep this issue open for a little.
But:

Chroma issues should be raised on the Chroma issue tracker.
If you still think it is a Hugo issue, you should compare it with the same Chroma version as Hugo uses.

@bep I had attempted to reproduce this with v2 and v1.1 of Chroma CLI and was not able to outside of Hugo.


a-logo.svg in header should be loaded from CDN

Describe the bug
The Header component specifies that the a-logo svg image is loaded from github.io:
https://a-ui.github.io/core_branding_scss/images/a-logo.svg
This should be published on cdn.antwerpen.be instead. (@TriangleJuice can assist with getting this published.)

http://cdn.antwerpen.be/core_branding_scss/3.1.0/assets/images/a-logo.svg 😉


Suggestion/highlights on componentDidUpdate()

VSCode Version:October 2020 (version 1.51)
OS Version:

Steps to Reproduce:
1.When I try to get help from suggestion is shows like that for componentDidUpdate()
componentDidUpdate(prevState: any, prevProps: any, snapshot: any) but on React docs it is like that componentDidUpdate(prevProps, prevState, snapshot) which leads to error please look this issue.

Does this issue occur when all extensions are disabled?: Yes

Please share steps to reproduce this issue and describe the expected behavior in more detail

Closing as it's not clear to me what the expected behavior is


opencl: Move declaration of MORPH_BC from .h to .cpp file

It is only used locally in opencl/openclwrapper.cpp.
For all other files which include openclwrapper.h, the compiler
complained about an unused static variable:
opencl/openclwrapper.h:175:16: warning:
‘MORPH_BC’ defined but not used [-Wunused-variable]
Signed-off-by: Stefan Weil<EMAIL_ADDRESS>

It is still not clear for me why that variable MORPH_BC is needed at all.

AFAIK this should be initial support for OpenCL. Unfortunately it was not extended until this time.


generate resource: support dry-run - 1937

[Auto generated]
Number: [#1937]

openshift-python-wrapper[pull_request][4a9c-11ef-83c1-61488d58d99e][PR 1937]: Closing issue for PR: generate resource: support dry-run.
PR was closed.


TEP-0700 New PHY vs Old PHY

Hello,
We have a wide range of TEP-0700 systems with some of them using the old PHY and, of course, a bunch with the new PHY.
During testing, we noticed that systems with the new PHY do not work properly (no network). The same image works correctly on older systems.
Any idea why that would append?

@JeanPhilippeLebel
I don't know the details of the product you got and the version of the software you used. This is the software migration instructions page, where you can check if the kernel you are using has the relevant patches.
https://developer.technexion.com/docs/software-migration-for-products-with-realtek-phy
By the way, if you have any questions about the product, please contact TechNexion FAE or Sales.
BR,
Ray

Ok, I'm back with this.
The document suggested is for the older kernel versions.
I've tested with imx-6.1.55-2.2.0 (https://github.com/TechNexion/tn-imx-yocto-manifest/blob/mickledore_6.1.y-stable/imx-6.1.55-2.2.0.xml), without any modifications.
Using a TEP-0700 with the older PHY, I can get a network connection. With the newer PHY (realtek), I can't get an IP using DHCP. The PHY does detect if the cable is connected, or not, but nothing more.
I've compared the code of drivers/net/phy/realtek.c (between t n-imx_5.15.71_2.2.0 and tn-imx_5.10.72_2.2.0-stable) it seems some code was left out. The missing code was introduced by this commit https://github.com/TechNexion/linux-tn-imx/commit/131ea068cefa25dbebf4e3fea0fd546867d4e66a
Thanks

A fix was pushed by Technexion to https://github.com/TechNexion/linux-tn-imx/commits/tn-imx_6.1.55_2.2.0-next/, commit 37bccca56dcc9968db0f95bcd68cf13973fef94e that fixes that issue.


begin switching to new dependent lcf version

One (understandable) consequence of correcting the monad multiplication operator in Dependent LCF is that things like "repeat" don't quite do what you might naïvely expect them to...
Recall that running repeat { t } will repetitively sequence t with itself on each subgoal. Now, this is not the same as sequencing t with itself on each subgoal repeatedly. The latter is the behavior that a user might expect, but it is not immediately clear how to get it under the new paradigm.
I think the right approach is to add recursion to the multitactics. I believe that this would allow the desired behavior. I will defer that to future work though...


Collapsible error messages

When working in Jupyter notebooks, long error messages can often be intrusive and add a lot of visual clutter to notebooks.
A couple of extensions ([classic notebook nbextensions/skip-traceback(https://github.com/ipython-contrib/jupyter_contrib_nbextensions/tree/master/src/jupyter_contrib_nbextensions/nbextensions/skip-traceback) and jupyterlab-skip-traceback) both collapse the traceback under the error header, but I note that the friendly extension breaks at least the classic notebook extension.
For the Jupyter layout, it would be useful to return errors using the skip-traceback style folded display (perhaps with a setting to override a by-default collapsed view with an expanded view).

Thanks for this suggestion.  I do not use Jupyter notebooks - except for testing with friendly - and was not aware of these extensions. I will look into implementing this after I finish preparing a talk for PyConAu.

I take this as different than what I propose in #5. Here, I consider finding a way to make the output of friendly compatible with the existing extensions. From what I have read, this means "packaging" the information compiled by friendly in a different way, rather than simply printing it.
I think that an iPywidget like suggested in #5 would be more user-friendly, but want to give the option for people to keep the existing ones (especially if they do not control what is installed by default and want to use friendly).

I think there are three possible approaches.
Either:

make your extension work with the other extensions;
make the other extensions work with your extension;
provide a collapsible heading with your extension that replicates the functionality of the other extensions even if it breaks them.

Closing this issue as I have decided that implementing my own version should suffice.


Question: Does ImagePipeline.Shared.RemoveImageFromCacheFor(url) work?

I'm having some issues with using ImagePipeline.Shared.RemoveImageFromCacheFor(url)
I have Nuke Proxy working fine in a .net-ios project on .net8.0 - images are all loading fine using NSUrls (I'm using file path based ones so they are all file:// style urls, no remote web urls).
Sometimes, an image can change based on the users interactions and so I want to clear the cache just for that one image, the above function seems the right one, but it never seems to clear it. All subsequent calls to load the image for the url still load the previous (old) image.
I can call ImagePipeline.Shared.RemoveAllCaches(); to do a hard clear on the whole cache, and that does work - but obviously its quite destructive.
I'm wondering if my usage of RemoveImageFromCacheFor is wrong or its an issue with file:// based urls?

Hopefully it is fixed in #22

Hi @Cheesebaron  - is this fix expected to be in 3.0.1?
I've updated to that but ImagePipeline.Shared.RemoveImageFromCacheFor(url) still doesn't appear to be clearing the cache for the path I pass in.
I'm using local file paths, so file://var/mobile/Containers/Data/Application/xxx/Documents/SomeImageFile.png for example..... (created from a NSUrl.FromFileName call)

It should be. However, does it make sense to cache local images when they are on disk already?

So our use case is having thumbnail images for files that have been created within the app - and we have a files/folders style view.
So the thumbnails are stored locally yes, but we have a nice scrolling table view with cells showing the images and with (I assumed tbh) in memory caching of those thumbnails.
The issue though, is if the user makes a change to a file and resaves it, this regenerates the thumbnail but Nuke Proxy doesn't appear to invalidate the cache for the given key - we're having to invalidate the whole cache to get the new thumbnail to load in.

Reopened this. Will have a look to see what can be done to fix this or find a workaround.


Support webpack 3 in peerDependencies

I was able to use karma-webpack with webpack 3 and had no issues. I haven't looked much at the source but it appears to be compatible, the number of breaking changes from 2 to 3 was small.
Thanks!

I'm submitting a feature request
Webpack version:
3.0.0
Webpack Karma version:
2.0.3
Please tell us about your environment:
macOS
Browser: Chrome latest
Current behavior:

warning<EMAIL_ADDRESS>has incorrect peer dependency<EMAIL_ADDRESS>|| ^2 || ^2.1.0-beta.0 || ^2.2.0-rc.0"

Expected/desired behavior:
Silent install

Even if it works, we cannot use npm shrinkwrap --dev until this is updated.
npm shrinkwrap --dev
npm ERR! Problems were encountered
npm ERR! Please correct and try again.
npm ERR! peer invalid<EMAIL_ADDRESS>|| ^2 || ^2.1.0-beta.0 || ^2.2.0-rc.0, required by<EMAIL_ADDRESS>npm ERR! peer invalid: webpack@1 || ^2.1.0-beta || ^2.2.0-rc.0, required by<EMAIL_ADDRESS>

<EMAIL_ADDRESS>is out on npm

@d3viant0ne Thank you very much!

webpack-dev-middleware "^1.0.11" is still a dependency for karma-webpack v2.0.4 . Is there any plan on updating it to v1.11.0 to avoid this warning ?
Thanks for your work guys 👍


feat: New parameter add (Step feature)

What feature?
Under GSSOC'23

As I visited the site I noticed there is not a parameter of Steps in the code which definitely confuses the user. So I wanted to add the feature of steps.
And also the color color looks too bright which doesn't follow the Standards of WCAG so I wanted to change the font color.

Factors affecting due to contrasting text color:
i. Readability:  Dark text on a light background or light text on a dark background is generally preferred for readability.
ii. Consistency: Consistency in font colors throughout the website helps create a cohesive user experience.

Add screenshots
Before Changes:

After Changes:

Record

[X] I have checked the existing issues
[X] I have read the Contributing Guidelines
[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSoC'23 contributor
[X] I want to work on this issue

we already have created an issue related to docs so the contributor will add there https://github.com/priyankarpal/ProjectsHut/issues/1661

But still you haven't assigned it to anyone so please assign it to me because i have the code ready for that problem.

As you've have mentioned the previous issue was about the addition of guide in the documentation part not in the code ?

But still you (@priyankarpal ) haven't assigned it to anyone so please assign it to me because i have the code ready for that feature.

Check I have assigned

is it suzy or parul?

Is it suzy or parul? @priyankarpal And my work is to add a feature in it of steps in the projectshut.vercel.app/docs section so that is reason.

suzy

okay No problem!


how to write a  deleted_at sql 如何写一条查询被软删除数据了的sql[QUESTION]

Before you submit this issue, you has been search all existed issues and search the documentation

[] I've been search all existed issues
[] I've been read all documentation

Describe your question
因为查询的sql里面都自带deleted_at is null ,我试着参考laravel的查询方法
$flights = App\Flight::withTrashed()
                ->where('account_id', 1)
                ->get();

但是没有找到对应的方法,我应该怎么写呢

use 对应的trait 没有


[Bug] “The character encoding was not declared”

Follow-up for #6:
Steps to reproduce

Locally validate the following HTML

(Settings:)
{
  "$schema": "https://raw.githubusercontent.com/theoludwig/html-w3c-validator/master/schema/html-w3c-validatorrc-schema.json",
  "files": ["./index.html"],
  "severities": ["info", "warning", "error"]
}

The current behavior

error   │ The character encoding was not declared. Proceeding using “windows-1252”.

The expected behavior

No errors

As mentioned in #6:
The document in question uses UTF-8, which is also defined by HTTP header.
HTML uses UTF-8 as the default encoding.
There is no requirement to declare the encoding in the file itself.
As such this shouldn’t be an error, and the fallback should probably be UTF-8.

This error is returned from the "Nu Html Checker", so it's not an issue from this tool, it's basically doing an API call, and format in a nice way for CLI usage.
https://github.com/theoludwig/html-w3c-validator/blob/fbe3830db7522056a425d22aeb8cfe0d274812bb/src/validateHTML.ts#L23

I’d like to kindly challenge that, in the light of making html-w3c-validator better.
For a rationale why that error is bogus, see the original issue report. The error makes no sense, neither from a declaration standpoint (the encoding is declared) nor from a fallback standpoint (which should be UTF-8).
Then, the issue is not being reported in the web-based validator.
I can imagine there’s little appetite to fix something wrong somewhere in the Nu validator implementation. But as this only surfaces in html-w3c-validator, this may be good to either make sure is being fixed on the Nu validator end, or is being caught with html-w3c-validator.

Then, the issue is not being reported in the web-based validator.

Exact, in the web based version, the error is not reported. Is there any reason? I would say if we find a reason, and we find it compeling, we might effectively do the same thing, ignore this error.
I'm not strongly against ignoring it, but IMO, this error can be easily resolved by adding <meta charset="UTF-8" /> in the HTML (I can understand that with the HTTP Header and all that, it can be fixed, but still, I still feel like adding <meta charset="UTF-8" />  is not too much, and fix the issue as well).


feat: Peerism API built with Truffle, Node.js, Express.js, Solidity, Ethereum TestRPC

cURL is used to simulate a HTTP POST request from the Peerism React Native app to a Peerism API endpoint.
The API routes uses an Express.js Middleware Chain to trigger compiling of the Peerism Smart Contract using the Solidity Compiler (Solc) and Ether Pudding, and then deploys it to the Ethereum TestRPC network and responds with the contract address. Efforts were made to incorporate Truffle.

@ax3cubed thanks!


XCode Failed to load webpage with error: Could not connect to the server.

Hello,
When i try to use cordova with satellizer i get the output as title above in xcode. This happens after i log in to facebook so the popup works fine.
Cordova is loaded. I checked by: console.log(!!window.cordova);
I did set the settings:
$authProvider.cordova = true;
commonConfig.redirectUri = 'http://localhost/';
And i made sure to use cors() on the backend.
I tried to change the code to see if this had anything to do with it.

The only logs i receive is those that state that the event handler has been attached. No other events are ever executed.
This can be seen here:

Plugins

EDIT: I just added inAppBrowser and then it work. Do i HAVE to have it?

#586. I am currently working on switching to system browser instead (Safari for iOS, Chrome for Android), but may need some help on that.
The problem arises because of a more complex app <----> browser communication. Once Safari gets the code, how do you tell it to close the window and go back to the native app?

I will try to look at it. However i might think that the solution will be that inappbrowser is required and that some code could be added to "log out" of the social provider in the inappbrowser plugin.

The documentation states that it will be possible to change the opening of the popup window to this:
var options = {clearsessioncache: 'yes', clearcache: 'yes'};
var ref = cordova.InAppBrowser.open(url, target, options);

This will only work for iOS and Android tho. NOT windows phone. But i guess it will be supported by them later.


extract create modal actions

Method names like getCancelModalAction() aren't appropriate for traits like this, as there are many cancel actions on the class. Prefix each method name with getCreateAction, so getCreateActionCancelModalAction() or similar. Also, do you need to do the same for CanAttachRecords?

Method names like getCancelModalAction() aren't appropriate for traits like this, as there are many cancel actions on the class. Prefix each method name with getCreateAction, so getCreateActionCancelModalAction() or similar. Also, do you need to do the same for CanAttachRecords?

Will look into both.
Actually the purpose of extracting is I want to remove createAndCreateAnother. Do you think it would be better to:

a config to disable createAndCreateAnother globally
Add prepend/append form actions method (if not available yet)

Prefix each method name with getCreateAction,

this will result to
$this->getCreateActionCreateModalAction(),
$this->getCreateActionCreateAndCreateAnotherModalAction(),
$this->getCreateActionCancelModalAction(),

is that ok?

Prefix each method name with getCreateAction,

this will result to
$this->getCreateActionCreateModalAction(),
$this->getCreateActionCreateAndCreateAnotherModalAction(),
$this->getCreateActionCancelModalAction(),

is that ok?

Yup that's fine

Prefix each method name with getCreateAction,

this will result to
$this->getCreateActionCreateModalAction(),
$this->getCreateActionCreateAndCreateAnotherModalAction(),
$this->getCreateActionCancelModalAction(),

is that ok?

Yup that's fine

the PR is ready, it's now is more than just extracting modal actions 😅  but it's to make resource actions consistent with RM.
one part I'm not sure is it the best to set the static property globally with FilamentManager and RelationManager


Improve/fix fetcher lockout while lever on stack

Right now useOffset locks out fetcher commands, but there are a few issues:

It causes all commands during useOffset to be discarded, not just delayed.
It applies to raising from ground height, when there is no stack.
It only applies until horizontal, not until the cone is clear of the stack.
It doesn't care whether the grabber is open or closed.

We can fix all of these by adding a new flag in scorer, "pauseFetcher", and two new variables, "unpauseFetcherAngle" and "pausedFetcherCommand".
-[ ] pauseFetcher(stackHeight) will set fetcherPaused to true, set pausedFetcherCommand to fetcher.extensionSetPoint, and unpauseFetcherAngle to the required STACK_X_CLEAR preset angle.

[ ] unpauseFetcher() will clear fetcherPaused, set fetcher.extensionSetPoint to pausedFetcherCommand, and set unpauseFetcherAngle to +pi.
[ ] pauseFetcher(stackHeight) should be called by leverToggleHome and leverGoHome when starting in a stack1,2,3,4 high and going inside IF the grabber is closed.
[ ] unpauseFetcher() should be called by any other lever command.
[ ] In scorer.act, when lever servo position is greater than unpauseFetcherAngle, also call unpauseFetcher().
[ ] In controlFetcher, discard each command of fetcherPaused is true.
[ ] In fetcherGoToPreset and setFetcherPosition (NOT controlFetcher):

IF fetcherPaused is false, send the new command straight to fetcher.
IF fetcherPaused is true, AND the new command value is LESS than the current command value, then the new command should be stored in pausedFetcherCommand.

Implementing this ticket will prevent Auto from knocking over the stack during the giveUp(tm) sequence.

Looks ready to test!

Something is going on and it's not pausing like it should when the grabber is closed.  It's possible that it's only pausing when the grabber is open.

Okay, the offset is taking place very briefly and the fetcher is slow to respond, so it does almost nothing.  But at the same time, the Auto seems to be able to pick up cone #4 just fine?  So it might be doing its job.


Add transition period for continuity

Proposed elections flow:

@gershido I haven't dug into the code in more detail than a cursory review, but overall this approach looks good to me. The diagram is helpful.
Only thing I'd consider is adding an option to set a new transition period as an arg in reelection.

Added the following changes:

ElectionResultsPulled event. Currently there's no emitted event when the pullElectionResults is successfully called. Adding the event will help indexing the module.
Added a condition for the reelectionAllowed function, for the case in which we're in a transition period, the next contest was set but then for some reason was cancelled.

Added:

New isTie param in the ElectionResultsPulled event, and emitting the event for the tie scenario also
Event tests

Following last week's discussion about the election flow, changed the implementation to allow setting up the next term even before the current term has ended. The main implication on the implementation side was that it requires to keep the full set of details for the next term (contest, term end, top K and transition period). Here are the main changes:

Terms are saved as indexed TermDetails structs. There's a currentTermIndex variable. The next term will be always saved in currentTermIndex + 1.
Name changes: reelection function changed to setNextTerm, pullElectionResults changed to startNextTerm
Mapping of eligible wearers was changed from eligibleWearesPerContest to eligibleWearersPerTerm


PJS002 - Correct elements related to project (IVS-5)

https://github.com/buildingSMART/ifc-gherkin-rules/issues/111
Checking correct elements in both the IfcRelDeclares relationship as well as IfcRelAggregates

NOTE The actual object occurrences used within the context of a project, such as walls, beams, air outlets, are assigned to a spatial hierarchy that is linked to the project using the aggregation hierarchy. See concept Spatial Decomposition for linking a spatial structure to the project.
https://ifc43-docs.standards.buildingsmart.org/IFC/RELEASE/IFC4x3/HTML/concepts/Project_Context/Project_Declaration/content.html

☝
(source: https://github.com/IfcOpenShell/IfcOpenShell/commit/2557580500042b115d97b422928abca9e3b116cd#commitcomment-132712129)

IVS-5

Yes, this was also the source of another error. I mistakenly thought that the relationship decomposes - isDecomposedBy is reversed from what it actually is. This correction is included in https://github.com/buildingSMART/ifc-gherkin-rules/commit/70b22720a833008d2a1dc2510cf859d72433598f.


Async tasks no delete

Pull Request Checklist:

[ ] Positive Test Case Written by Dev

[ ] Automated Testing

[ ] Sufficient User and Developer Documentation

[ ] Passing Jenkins Build

[ ] Peer Code review and approval

Positive Test Case

[Enter positive test case here]

METRIC
VALUE

NEW BUGS
4

NEW VULNERABILITIES
0

NEW SECURITY HOTSPOTS
0

NEW DUPLICATED LINES DENSITY
0.375234521575985

NEW CODE SMELLS
6

https://sonarqube.cuahsi-workstation.com:9000/dashboard?id=hydroshare-3971

@sblack-usu @task_postrun.connect does not appear to work in my local development environment, so task status is never updated but stay in progress status forever even though the task has completed successfully. Does this branch work in your local development environment?

@hyi - the changes for anonymous download works, thanks for getting that sorted out.  I noticed an issue with zipped downloads (not bags).  Getting a 500 when trying to download a file/folder zipped.  Taking a look now.

I'm also seeing this in the logs when requesting a zipped download.

postgis            | ERROR:  duplicate key value violates unique constraint "hs_core_tasknotification_task_id_key"
postgis            | DETAIL:  Key (task_id)=(0c83fe52-b5e8-4978-b9e4-95f1bb57526d) already exists.
postgis            | STATEMENT:  INSERT INTO "hs_core_tasknotification" ("username", "task_id", "name", "payload", "status") VALUES ('', '0c83fe52-b5e8-4978-b9e4-

It appears to be an issue with capital letters in the name used for the zip name.  Just checked to see if this exists in production, and downloads worked fine in production.

@sblack-usu Just approved the PR. Glad you found and fixed the issue with zipped file download with capital letters. Looking forward to having this finished up also!


fix: post watcher not triggered (fix #12664)

What kind of change does this PR introduce? (check at least one)

[x] Bugfix
[ ] Feature
[ ] Code style update
[ ] Refactor
[ ] Build-related changes
[ ] Other, please describe:

Does this PR introduce a breaking change? (check one)

[ ] Yes
[x] No

If yes, please describe the impact and migration path for existing applications:
The PR fulfills these requirements:

[ ] It's submitted to the dev branch for v2.x (or to a previous version branch), not the master branch
[x] When resolving a specific issue, it's referenced in the PR's title (e.g. fix #xxx[,#xxx], where "xxx" is the issue number)
[x] All tests are passing: https://github.com/vuejs/vue/blob/dev/.github/CONTRIBUTING.md#development-setup
[x] New/updated tests are included

If adding a new feature, the PR's description includes:

[ ] A convincing reason for adding this feature (to avoid wasting your time, it's best to open a suggestion issue first and wait for approval before working on it)

Other information:
Fix #12664

Thanks for the PR. After looking at the original issue, I think a better fix is to avoid using Infinity as id. See 25ffdb62


SPIKE: Test selection of modules against containerised solutions

Test the following commands with the following modules against the 3 containerised PoCs:

[ ] bundle install against puppetlabs-acl
[ ] bundle exec rake spec against puppetlabs-acl
[ ] bundle install against puppetlabs-iis
[ ] bundle exec rake spec against puppetlabs-iis
[ ] bundle install against puppetlabs-apache
[ ] bundle exec rake spec against puppetlabs-apache
[ ] bundle install against puppetlabs-firewall
[ ] bundle exec rake spec against puppetlabs-firewall

Ran the above commands (via pdk test unit) using the Docker container built in #163

Ran the above commands (via pdk test unit) using the Docker container built in #164:

:white_check_mark: bundle installagainstpuppetlabs-acl`
:white_check_mark: bundle exec rake spec against puppetlabs-acl
:white_check_mark: bundle install against puppetlabs-iis
:white_check_mark:  bundle exec rake spec against puppetlabs-iis
:white_check_mark: bundle install against puppetlabs-apache
:white_check_mark: bundle exec rake spec against puppetlabs-apache
:white_check_mark: bundle install against puppetlabs-firewall
:white_check_mark: bundle exec rake spec against puppetlabs-firewall


Add page visit metrics for cluster, grc & app

Related issue: https://issues.redhat.com/browse/ACM-7492

/lgtm


Unable to modify control values on EV Charger

Have installed the homeassistant-solax-http module and configures to suit my EV Charger. All entities are populated every 15 seconds ok. However if I try to write a value back using the controls (ie select.solax_api_charger_use_mode change from 'Stop' to 'ECO') it doesn't get written to the actual charger and the value reverts to the original 'Stop'
A trace from Home assistant shows the following 👍
2024-07-23 21:45:32.601 WARNING (MainThread) [homeassistant.helpers.service] Referenced entities select.solax_api_charger_use_mode are missing or not currently available
Am I missing some setting somewhere or is the module unable to write back values to the Charger, only read what they are set to ?

My error, yes the application does write to the Charger, except the "Charger Mode" value whilst in stop mode and with Firmware version 1.10. This is similar to problem previously reported by Phillip-X1 where he had to upgrade his charger to v1.12 to enable new field Solax_EV Control Command to enable this functionality. Currently I can write other values to the Charger ok.


OWASP Waf for J8a

Is your feature request related to a problem? Please describe.
Web application firewall principles: https://github.com/0xInfection/Awesome-WAF
AWS has WAF on ALB: https://aws.amazon.com/about-aws/whats-new/2016/12/AWS-WAF-now-available-on-Application-Load-Balancer/#:~:text=With this launch customers can,CloudFront and Application Load Balancer.&text=Use AWS WAF to block,such as the IP addresses.
Apache, Nginx have WAF implementations for OWASP with modsecurity: https://owasp.org/www-project-modsecurity-core-rule-set/ (doesn't appear to be ported to golang).
Describe the solution you'd like
While a whole WAF is too heavyweight for Jabba and does not apply to the type of back-ends we support (API vs. HTML), there is a subset of features available for REST: https://cheatsheetseries.owasp.org/cheatsheets/REST_Security_Cheat_Sheet.html

not feasible in single server instance, won't fix


Add special case for retry step

Summary
Add special case for retry step.
Fixes #76
Additional Details
N/A
Checklist
Testing
(Remove this checklist and replace it with "N/A - no code changes" if this PR does not modify source code)

[X] I have manually verified that my code changes do the right thing.
[X] I have run the tests and verified that my changes do not introduce any regressions.
[X] I have written unit tests to verify that my code changes do the right thing and to protect my code against regressions

Documentation
(Remove this checklist and replace it with "N/A - no code changes" if this PR does not modify source code)

[X] I have updated the "Unreleased" section of CHANGELOG.md with a brief description of my changes.
[X] I have updated code comments - both GroovyDoc/JavaDoc-style comments and inline comments - where appropriate.
[X] I have read CONTRIBUTING.md and have followed its guidance.

@awittha could you please review this when you have a chance?

I am not sold on this idea. In general I do not want to special-case any pipeline steps unless

It's very difficult or complex for end-users to mock up the correct behavior in their own test-suites
The correct special-case behavior is unambiguous.

parallel() is a good example - it's hard to mock up correctly, and I feel confident that everyone will want the parallel streams to try to execute so that they can be tested.
retry() is not so cut-and-dried.
My main objection is running the retry loop the maximum amount of times. This will only happen "in real life" if the code inside the retry loop consistently fails. This does not mimic a situation where there are no problems (and retry only runs once), or where there's an intermittent problem and retry completes before reaching the maximum and allowing the failure to bubble up.
There are three possible correct quantities to run a retry(N) loop:

1 time
1 < x < N times
N times

Because of this, I can't say with confidence what the one right behavior to bake into the special case actually is. So, I don't want to ship one behavior that will be wrong for 2/3 of the test situations!

Why wouldn't folks just choose the right behavior and mock up retry() themselves? e.g.
def "all attempts fail"() {
	setup:
		getPipelineMock("retry")(_ as int, _ as Closure) >> { _args ->
			def arguments = _args[0]
			def max = arguments[0]
			def body = arguments[1]

			for(int i = 0; i < max; i++) {
				body()
			}

			// simulate failure
			throw new IDontExactlyRememberTheRightException()
		}
	when:
		someScript.run()
		// has a retry(3)
	then:
		3 * getPipelineMock("someStepInsideTheRetry")()
}

def "intermittent failure overcome by retry"() {
	setup:
		getPipelineMock("retry")(_ as int, _ as Closure) >> { _args ->
			def arguments = _args[0]
			def max = arguments[0]
			def body = arguments[1]

			for(int i = 0; i < max - 1; i++) {
				body()
			}
		}
	when:
		someScript.run()
		// has a retry(3)
	then:
		2 * getPipelineMock("someStepInsideTheRetry")()
}

def "no problems in retry"() {
	setup:
		getPipelineMock("retry")(_ as int, _ as Closure) >> { _args ->
			def arguments = _args[0]
			def body = arguments[1]

			body()
		}
	when:
		someScript.run()
		// has a retry(3)
	then:
		1 * getPipelineMock("someStepInsideTheRetry")()
}

Well, they can't right now, because jenkins-spock already special-cases any step whose last argument is a Closure, to run that closure exactly once.
So, you can test the "retry runs w/out any problem" case, but it's much more confusing to wire up a "intermittent failure eventually is overcome" situation, and it is impossible (I think) to test the "all retry attempts failed" case.
I think that jenkins-spock should change so that the set of steps that get special-casing of "execute the trailing closure" is configurable. Additionally, a real Documentation site (not just hosted GroovyDoc) is needed to lay out examples like this. There isn't really a single "right" answer for retry() that can be baked into the framework, but common patterns can at least be documented somewhere for folks to pull from.
(withCredentials and withEnv also would benefit from such added flexibility, as the hardcoded special case blocks test authors from actually setting any environment variables inside the body block of those steps)
As it stands, I do not think that adding a special case to always run the body of retry() the maximum number of times without throwing an exception at the end, is a sensible, universal default behavior.

In summary:
There is not one single correct behavior for retry(N) { ... } in every case, so hardcoding a single special case in jenkins-spock will always be wrong for someone
jenkins-spock's existing blanket special-case for steps that take body blocks, prevents test authors from solving the problem in their own code
the implementation in this PR would allow retry() to succeed even if the Plugin it came from wasn't added to the project
I believe Jenkins-Spock needs a different solution for retry(), and to "steps that take body blocks" in general.

There is not one single correct behavior for retry(N) { ... } in every case, so hardcoding a single special case in jenkins-spock will always be wrong for someone.

I don't agree with this. The only correct behaviour is to retry the body up to N times if it fails. Other the retry step is just being ignored by jenkins-spock.

the implementation in this PR would allow retry() to succeed even if the Plugin it came from wasn't added to the project.

I don't understand what you mean by this. Are you referring to user implemented retry steps via pipeline global variables? Or are you concerned that someone could use the retry in their code under test without having a dependency on the workflow-basic-step plugin? That scenario seems unlikely to me.
I am happy with the ability to mock up the right behaviour for retry() on my own. I tried to do just that before creating this PR and ran into the same obstacle you've described.


(maint) Fix Solaris SMF service for mcollective for AIO

Prior to this commit, mcollective service startup
with the Solaris AIO puppet-agent fails because the
SMF manifest is using the non-AIO path to mcollectived.
This commit updates the Solaris SMF service manifest
to use the correct AIO path to mcollectived.

:+1:

:+1:
While we're poking at wrong paths, https://github.com/puppetlabs/marionette-collective/blob/master/ext/aio/redhat/mcollective.sysconfig#L4-L7 is wrong as well. I don't know if this could result in any breakage since it's all commented out (but perhaps something uses it as a template and uncomments things?).


Attribute enum is not compatible with PHP 8

In PHP 8, Attribute is a reserved class name due to the introduction of attributes.
When the Attribute enum is compiled to PHP, an Attribute PHP class is generated, resulting in this error at runtime:
PHP Fatal error:  Uncaught Error: Call to undefined method Attribute::Off() in [...]\ANSI.php:598

So the Attribute enum should be renamed. Or better this library should be put in a package instead of the root namespace.

See https://github.com/HaxeFoundation/haxe/issues/10207


pb_decode return status 1 but message was not decoded correcly

I try to use pb_decode() to decode my input Byte Array in Arduino. The input byte array under the name Data[] is created from a HexString under the Name HexData[] by the function hexCharacterStringToBytes(Data, HexData);
const int MaxByteArraySize = 200;
byte Data[MaxByteArraySize] = {0};
//ResponseGetAvailableChannels
//char HexData[] = "0a7e0a17080010031a0973656e736f7269723120012a04434f32200a18080210021a0a73656e736f726361743120032a04636834200a17080410011a0973656e736f7265633120022a04434f20200a17080610011a0973656e736f7265633320022a044e4f32200a17080810011a0973656e736f7265633520022a04534f3220";
//ResponseMeasurement
char HexData[] = "1289010A1908001801255D8FC23D280330AAF7F3EE053A04434F322040030A19080218032500000000280030AAF7F3EE053A046368342040030A1908041802250000803F280030AAF7F3EE053A04434F202040030A19080618022500000000280230AAF7F3EE053A044E4F322040030A19080818022500000000280130AAF7F3EE053A04534F322040031800";
bool status;
void setup(){
  Serial.begin(115200);
  hexCharacterStringToBytes(Data, HexData);
  dumpByteArray(Data, MaxByteArraySize);
  size_t message_length = sizeof(HexData)/2;
  ResponseBluetooth message = ResponseBluetooth_init_zero;
  pb_istream_t stream = pb_istream_from_buffer(Data, message_length);
  status = pb_decode(&stream, ResponseBluetooth_fields, &message);
  Serial.print("status: ");Serial.println(status);
  if (!status){
            Serial.print("Decoding failed: "); Serial.print(PB_GET_ERROR(&stream)); return 1;
        }
  printMessageMeas(message);
}

My ResponseBluetooth meassage has the following structure. Hier is a part of the generate C Code after running nanopb.exe.
typedef struct _ResponseBluetooth {
    pb_size_t which_response;
    union {
        ResponseGetAvailableChannels channels;
        ResponseMeasurement measurement;
        ResponseBluetoothGetTimestamp timestamp;
    } response;
} ResponseBluetooth;

when I tried to decode the first HexData[] //ResponseGetAvailableChannels, I got the right value of the structure ResponseGetAvailableChannels back.
But when I tried to decode the second HexData[] //ResponseMeasurement the Status-Code of the the pb_decode() function is 1 but the variables in ResponseMeasurement structure either are equal zero or have strange values. The same Thing happend when I tried to run the Code in C with my Computer.
Does that means, that the function pb_decode() doesn't work correctly? I would greatly appreciate for any help

Did you check the value of which_response? Is it ResponseBluetooth_measurement_tag?
The message hex data looks ok when decoded with https://protogen.marcgravell.com/decode
Can you send the .proto file you are using?

hi, thank you for answering. We find out that the problem was that I use the wrong version of pb and pb_decode file. When I use other pb_decode file it works.


Fill water level gaps

Fill internal water level data gaps using linear interpolation, as discussed in issue #58 . Leading and trialing nans are ignored when applying butterworth filter. Inputs and outputs are the same as before, but with no missing data

I can push the data to S3 once we approve this pull request


feat(bedrock): prompt flows

Fixes #647
Draft version

[x] Interfaces
[ ] Testing
[ ] Doc Updates

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the project license.

Overall it looks good to me so far, great job @aws-rafams ! Comments:

We can let the user provide his own role (see comment above)
Maybe we could (in the future, not blocking) add addNode method(s) to Flows so it builds the FlowDefinition as you build your app, and you don't need to load them all through .fromNodes([...]) at the end


npm run clean:install gives me Access is denied even with an admin command prompt

Note: for support questions, please use one of these channels: Chat: AngularClass.slack or Twitter: @AngularClass

I'm submitting a ...
[x ] bug report
[ ] feature request
[ ] question about the decisions made in the repository

Do you want to request a feature or report a bug?

What is the current behavior?
Running npm run clean:install gives me this:

> npm cache clean --force && npm run rimraf -- node_modules doc coverage dist compiled dll

npm WARN using --force I sure hope you know what you are doing.

><EMAIL_ADDRESS>rimraf C:\Source\BBEEWT\iamm.web.site.easervicemanager\EaServiceManager.WebUI
> rimraf "node_modules" "doc" "coverage" "dist" "compiled" "dll"

Access is denied.

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem via
https://plnkr.co or similar (you can use this template as a starting point: http://plnkr.co/edit/tpl:AvJOMERrnz94ekVua0u5).

What is the expected behavior?

What is the motivation / use case for changing the behavior?

Please tell us about your environment:
Windows 10, 64bit, admin command prompt

Angular version: 2.0.0-beta.X
Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]

Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. stackoverflow, gitter, etc)

Experienced similar behaviour. The reason being that rimraf (located in node_modules) will try to delete & unlink itself. This is a Windows issue as Unix filesystems do not have this limitation.
I found this rimraf issue useful.


Added support for constexpr for primitives in header files

The problem here is that if you have a record of const ints, for example a record of error codes, you can not switch case them as the values are not set in the header. This PR adds constexpr support for const primitives in header files so that this is doable. It also fixes const enum values in Objective C, which appeared to never have been working.
It excludes optional primitives as they might not support constexpr (if using things like boost optional)
(It is based off PR https://github.com/dropbox/djinni/pull/282 which appears to have been abandoned)

Got a basic version of constexpr in headers working

got enum values to work as well

can't do enums because interface headers forward declare so you can't set it there. So only primitives allowed

fixing const enums in obj-c, which apparently never worked to begin with

Hi, Alan:
I noticed you haven't signed the CLA yet, could you please sign it here: https://opensource.dropbox.com/cla/
Thanks a lot!

I think I just signed it so we should be good to go now :-)


App seems to stop transmitting at some point

I just started testing room-assistant, and it will happen quite often that I have the iPhone next to me and the room is tracked correctly, then after a while it'll show up as not_home until I use the phone again.
I have some rudimentary Swift / iOS experience and can try to help debug if possible.

The latest build of the room-assistant app writes some logs for tracking advertisement starts and stops, but some stuff (like when the system decides to stop advertising) can't be caught by the app I think. You should be able to get the logs by connecting your phone to a Mac and running (replace start date with a couple minutes before it went down):
sudo log collect --device --start '2021-04-10 1:00:00' --output room-assistant-companion.logarchive

You can filter the logs down to subsystem com.heikorothe.room-assistant-companion to get the application logs. bluetoothd logs might also be interesting.
A few things that would be interesting for me:

Do you use the auto toggling advertisement feature?
Is your phone in battery saver mode?
Is Bluetooth disabled in control center? Or is it in use when this happens?
Does opening the room-assistant app fix the issue?


cloud run: typescript pulumi missing timeoutSeconds parameter

Spec example from cloud run YAML section should contain timeoutSeconds parameter.
spec:
  traffic:
  - percent: 100
    latestRevision: true
  template:
    metadata:
      name: XXXXXXXXXXXXXXXXXXXXXXXXXXXX
      annotations:
        run.googleapis.com/client-name: cloud-console
        run.googleapis.com/cloudsql-instances: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
        autoscaling.knative.dev/maxScale: '9'
    spec:
      timeoutSeconds: 4
      serviceAccountName: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
      containerConcurrency: 30
      containers:
      - image: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
        ports:
        - containerPort: 8080
        env:

    interface ServiceTemplateSpec {
        /**
         * ContainerConcurrency specifies the maximum allowed in-flight (concurrent)
         * requests per container of the Revision. Values are:
         * - `0` thread-safe, the system should manage the max concurrency. This is
         * the default value.
         * - `1` not-thread-safe. Single concurrency
         * - `2-N` thread-safe, max concurrency of N
         */
        containerConcurrency?: pulumi.Input<number>;
        /**
         * Container defines the unit of execution for this Revision.
         * In the context of a Revision, we disallow a number of the fields of
         * this Container, including: name, ports, and volumeMounts.
         * The runtime contract is documented here:
         * https://github.com/knative/serving/blob/master/docs/runtime-contract.md  Structure is documented below.
         */
        containers?: pulumi.Input<pulumi.Input<inputs.cloudrun.ServiceTemplateSpecContainer>[]>;
        /**
         * Email address of the IAM service account associated with the revision of the
         * service. The service account represents the identity of the running revision,
         * and determines what permissions the revision has. If not provided, the revision
         * will use the project's default service account.
         */
        serviceAccountName?: pulumi.Input<string>;
        /**
         * -
         * ServingState holds a value describing the state the resources
         * are in for this Revision.
         * It is expected
         * that the system will manipulate this based on routability and load.
         */
        servingState?: pulumi.Input<string>;
    }

Hi @ernestas-poskus
It looks like this has now been added :)
Please let me know if this is not the case
Paul


Errors on Debian 10 - malformed-request

OS: Debian 10
Kernel: 4.19.0-12-amd64
Go: na
Xmpp-webhook: 0.3
XMPP Client: Prosody v0.11.2
I get this error below as I try to start the systemd service:
Feb 04 15:43:43 box.andrasmedia.org xmpp-webhook[19658]: panic: malformed-request
Feb 04 15:43:43 box.andrasmedia.org xmpp-webhook[19658]: goroutine 1 [running]:
Feb 04 15:43:43 box.andrasmedia.org xmpp-webhook[19658]: main.panicOnErr(...)
Feb 04 15:43:43 box.andrasmedia.org xmpp-webhook[19658]:         /home/thomas/projects/xmpp-webhook/main.go:23
Feb 04 15:43:43 box.andrasmedia.org xmpp-webhook[19658]: main.main()
Feb 04 15:43:43 box.andrasmedia.org xmpp-webhook[19658]:         /home/thomas/projects/xmpp-webhook/main.go:88 +0x6b6

I'm currently trying to run this on the same machine Prosody is running. I've created the bot users, and tested it before running the script.
I have also tried the script on the machine that runs Grafana where the webhook would be coming from and I get the same errors. That machine runs Ubuntu 20.04 LTS.
Should I try building from source rather than using the binary?

What do you mean with "script"? The webhook binary or the Systemd service?
Are you able to connect to Prosody using any other Jabber client (There are also CLI-based ones if you are running headless - e.g. https://profanity-im.github.io/) using the same hostname and protocol?
Feel free to debug/compile the webhook on your own, but there is no need IMO - this seems like a configuration/connection issue.

I apologize, I meant to say the xmpp-webhook binary.
I'm able to connect to Prosody using Profanity and Coversations with OMEMO working.
Sometime this week I will try and check the configuration for this and see what else may have gone wrong and update this issue accordingly.

Hey @MaterialFuture, please use https://github.com/tmsmr/xmpp-webhook/releases/tag/v0.4.0 for your tests. v0.4.0 contains mellium/xmpp v0.18.0, which should improve the verbosity of errors.

Since there is no feedback, i'm closing the issue.

Would you mind sharing your Prosody-Config? You are the third one who reported that but i were not able to reproduce the issue yet.

Not a problem, put it up as a gist:
https://gist.github.com/XeonSquared/86d74b770f10e7b9affe2c92bc2bdacd
And yup, tried 0.4.0 and 0.3 at various points with the same result.
Additionally, here's the output of prosodyctl about
Prosody 0.11.2

# Prosody directories
Data directory:     /var/lib/prosody
Config directory:   /etc/prosody
Source directory:   /usr/lib/prosody
Plugin directories:
  /usr/lib/prosody/modules/
  /usr/local/lib/prosody/modules - prosody-modules rev: dc35d2932d3e
  /usr/lib/prosody/modules/

# Lua environment
Lua version:             	Lua 5.2

Lua module search paths:
  /usr/lib/prosody/?.lua
  /usr/local/share/lua/5.2/?.lua
  /usr/local/share/lua/5.2/?/init.lua
  /usr/local/lib/lua/5.2/?.lua
  /usr/local/lib/lua/5.2/?/init.lua
  /usr/share/lua/5.2/?.lua
  /usr/share/lua/5.2/?/init.lua

Lua C module search paths:
  /usr/lib/prosody/?.so
  /usr/local/lib/lua/5.2/?.so
  /usr/lib/x86_64-linux-gnu/lua/5.2/?.so
  /usr/lib/lua/5.2/?.so
  /usr/local/lib/lua/5.2/loadall.so

LuaRocks:        	Not installed

# Lua module versions
lfs:     	LuaFileSystem 1.6.3
libevent:	2.1.8-stable
luaevent:	0.4.6
lxp:     	LuaExpat 1.3.0
socket:  	LuaSocket 3.0-rc1
ssl:     	0.7

@XeonSquared Thanks for the infos.
I am able to reproduce the issue now! I'm on it...


In the page params dialog box, link the docs page

Summary 💡

Shaping

Replace the text with

Page parameters allow you to pass external data into the Toolpad page state via the URL query. Read more in the docs.

In between the text and the parameters list, add a live preview for how it's to be used in a toolpad url. e.g. when the user added variables foo and bar. Show:

Usage preview:
?foo=&bar=

Hey @Kirera-Wainaina, Thanks for checking it out. Allow me a few days to get back on this one. I need to internally check about linking which docs make the most sense.

@Kirera-Wainaina We groomed this issue yesterday, feel free to pick it up.

I'll work on it.


Can I use go2-webrtc with a unitree go2 pro?

I have an unitree go2 pro. Can I use go2-webrtc too?

Yes! I use it with my Pro.

yes, you can, however currently version 1.1.1 is not supported (but it is in progress)


fix(ffi): shared processing of body

The logic of processing the body within the pactffi_with_body was not consistent across the various interaction types. This refactors the logic out into a separate process_body function.
Note that as a result of this change, the behaviour of the FFI may change.

Fixed the issue with the failing tests. Reason being that the Content-Type header was not being set if header were None. The new behaviour is:

If headers is None, create a HashMap and populate it
If the headers is Some(hm), then insert the new Content-Type header only if it does not exist already. This means that if someone has explicitly set the content type header, this function will not override it.

Docstring has been updated. @rholshausen, I'll leave you do a last check before merging 👍

I believe this change has possibly caused a regression in the pact-php compat and test suite, see mentioned PR.
Changes also consumed in following PR's.

pact-go
pact-js-core

There are xml tests in pact-js but they are only consumable on release of pact-js-core (unless locally tested)

Hmm, I was worried this change may have unintended repercussions, though was relieved to see the test suite to pass... Evidently an edge case was not covered.
I'll have a look at the PR that uncovered this unintended change, though given neither Pact Go or Pact JS picked up this issue, I'm wondering whether Tien may have unintentionally baked in the broken behaviour into a test?
Once I've figured out exactly the extent of the change, I'll update the changelog to highlight this change in behaviour in case it impacts anyone else in the future.

Ahh so I don't believe pact-js-core or pact-go covered it.
I think the detect content type from string is saying its application/json and it isn't being transformed into xml
I think its this bit of code
https://github.com/pact-foundation/pact-reference/pull/456/files#diff-d2ed99251aebcb3c325d1e2650a83cec3b1a8d470d9b524784b0797073b47fbdL1751-L1758
And I believe that we need to check if its actually xml, when intermediate json is detected
https://github.com/pact-foundation/pact-reference/pull/456/files#diff-d2ed99251aebcb3c325d1e2650a83cec3b1a8d470d9b524784b0797073b47fbdR1696

The logic should be fine.
There's two content types set at the start of that function:

detected_type which is taken from the body string, and
content_type which is taken from the function argument, with a series of fallbacks.

https://github.com/pact-foundation/pact-reference/blob/111a18cd4ef93b0a9337f5a3c31d22b5949fa6a3/rust/pact_ffi/src/mock_server/handles.rs#L1682-L1687
The main matching is done on the content_type:
https://github.com/pact-foundation/pact-reference/blob/111a18cd4ef93b0a9337f5a3c31d22b5949fa6a3/rust/pact_ffi/src/mock_server/handles.rs#L1694
Then if that is XML, it checks if the body is JSON, and fallbacks to raw body parsing:
https://github.com/pact-foundation/pact-reference/blob/111a18cd4ef93b0a9337f5a3c31d22b5949fa6a3/rust/pact_ffi/src/mock_server/handles.rs#L1707-L1729
I would need to enable trace-level logging and run the Pact PHP tests to properly understand that is going on.


Add support for etherscan-verify on new avalanche snowtrace

It was announced today that a version of etherscan is now launching on Avalanche. It would be very helpful for verification if ethercan-verify supported this and the testnet.
Avalanche C-Chain: 43114, https://snowtrace.io/
Avalanch Fuji: 43113: https://testnet.snowtrace.io/

merged here https://github.com/wighawag/hardhat-deploy/pull/218 and here https://github.com/wighawag/hardhat-deploy/pull/226


Adds auto generation of plots for a full paper_config

resolves se-passau/VaRA#534

 Here is an overview of what got changed by this pull request:

Complexity increasing per file
==============================
- varats/plots/blame_interaction_degree.py  1

See the complete overview on Codacy

 Here is an overview of what got changed by this pull request:

Complexity increasing per file
==============================
- varats/plots/blame_interaction_degree.py  1

See the complete overview on Codacy


Include "to wit chapter" in NOIPM referral letters

Blocked by #271
Business Context:
As a New Orleans referral letter
I want to include the "to wit chapter"
So that I can throw more shade on the conduct of the given officer than before
In Scope

Make sure we have the latest referral letter template (pull from production database) since Christian now has the ability to tweak it
Tweak letter to include to wit chapter (@jordanngtw give us some text, plz)

Text examples:
For allegations with Rule and Chapter:
"Rule 2: Moral Conduct: Par. 6 Unauthorized Force"
For allegations with Rule, Chapter, and to wit:
"Rule 2: Moral Conduct: Par. 6 Unauthorized Force: to wit NOPD Ch. 1.3 Use of Force"
For allegations with Rule, Chapter, to wit, and Moral Conduct Violation:
"Rule 2: Moral Conduct: Par. 6 Unauthorized Force: to wit NOPD Ch. 1.3 Use of Force, Par. 1-5"
Out of Scope

Open Questions

Acceptance Criteria

Scenario:
Given
When
Then

Scenario:
Given
When
Then

Mockups
Checklist (should be reviewed before grooming as the BA or Pair are writing the card—NOT reviewed for the first time at grooming)

[ ] Ensure to include all necessary mockups to this card.
[ ] Discuss what success/failure user feedback messages would be present, if any occur (front end/back end).
[ ] Discuss Feature Flag: Where could a development flag go to flag off incomplete work? Do we want to keep the flag long-term?
[ ] If this card is part of a sequence of cards, discuss if this card should be blocked until the testing of previous cards in the sequence have been finished.
[ ] Have we added edge cases as ACs that we're considered from a QA perspective
[ ] Should the new functionalities be offered only to users with certain permissions?
[ ] How should this functionality differ between different orgs, and if it does differ, what is the hingepoint we should use for that functionality?

Notes:

the line should then be {rule} followed by {paragraph} followed by {chapter} followed by {directive} leaving out any that don't exist

Old:

New:


Best way to use Meta with a component library

🤓 Question
Hi, I making a PoC of a Meta project, basicly I have 3 repos and all of them uses our private components library which is in another repo, what would be the best way to link my repos with the library repos using Meta ? I tried to search for some article or documentation about it but was unnable to find something.
Thanks in advance.

You'll want meta npm link
@mateodelnorte are there docs on that somewhere?

Yup. Right in the readme: https://www.npmjs.com/package/meta#want-to-help-develop-meta-locally

My bad, I just read the Header of the section and assumed that wasn't what I was looking for.

people ask about linking a lot - readme could probably be more clear, as the title does seem to be a specific use case - happy to accept a PR to the README if you're trying it out @gfsd3v and want to document it better?

Also in the cmd help for meta npm. https://github.com/mateodelnorte/meta-npm

This is assuming you're using npm and node. For other platforms, you can create a Makefile target that uses loop to perform linking operations using whatever tool you need.

Overall, what I'd really love is a way to have the README files of each of the plugins by dynamically stitched into consolidated documentation for meta. That would be great.

@patrickleet sure thing, I'll try it out as soon as I get home, I'll probably need a couple of days to try it out and write a documentation about it.


fhir-bulkimportexport-webapp is not in the fhir-install dependency tree

#214
Signed-off-by: Paul Bastide<EMAIL_ADDRESS>

ah, sorry, my mistake!


Set non-confirmed/no-geocoding results error

Overview
For list items for which no geocoding results have been created and
all proposed matches have been rejected, set the status to
ERROR_MATCHING and do not attempt to create a new facility on rejecting
the last remaining potential match
Connects #410
Notes
In the demo example, I did not see any error messages listed. Presumably these will be set via the geocoding error -- but if not, I can add a commit to push a new error result into the processing_results array.
Testing Instructions

serve this branch
try to recreate the bug via the instructions on #410
verify that the IntegrityError does not occur

Checklist

[x] fixup! commits have been squashed
[x] CI passes after rebase
[x] CHANGELOG.md updated with summary of features or fixes, following Keep a Changelog guidelines

Looking at this now

consider adding a new ProcessingAction.CONFIRM constant and setting that as the action on a new processing_results entry, being sure to also set error: True

Good suggestion. This was done in 96ad1659336f0965c5ac86196db28caf5f8a542e and now rejecting the last potential match for a non-geocoded facility list item leads to this error message in the UI:

@jwalgran this is ready for another look!

Looking at this now

Rebased on develop.

Thanks for your help with this!


Ability to update content of pages on the site that aren't the map

With the site built in Next.js, content of "About GGP", "Democracy in MA - Overview" is in HTML, and harder to edit for non-technical maintainers.
How to accommodate?

Can drop this for now


Possible fix for issue #746

This took a while to find but the number of handlers grows into the thousands when using Entry.Text bound to a string. This seems to have fixed the issue and greatly speeds up ReactiveUI.
See comments on the issue thread.

Issue #746, for those who are interested.

@nsainaney Thanks!

It'd be awesome if we could get this patch available on Nuget so I can include it in my projects without including binaries in the repositories. Any chance of a minor version release?


Wire up Configuration object in Web SDK CacheClient

The Configuration interface for the Web SDK CacheClient only supports getLoggerFactory() at the moment. We need to finish implementing the configuration system to support transport strategy, retry strategy, and middlewares. When that is done, we can migrate the client-timeout.test.ts tests in the client-sdk-nodejs package to the common integration tests and run them against both nodejs and web packages.

We may start with just timeouts and not solve retry/middleware right away.


Generic data prims EngineSyncController

Describe the feature
In EngineSyncController type definition, replace BeaconConsensusEngineEvent with BeaconConsensusEngineEvent<N::Primitives>, and OrderedSealedBlock with OrderedSealedBlock<reth_node_types::HeaderTy<N>, reth_node_types::BodyTy<N>>. Update the impl body accordingly.
https://github.com/paradigmxyz/reth/blob/6695d07c656e7461efeb8cd5e76d54628b1cce20/crates/consensus/beacon/src/engine/sync.rs#L27-L344
blocked by https://github.com/paradigmxyz/reth/issues/12824, https://github.com/paradigmxyz/reth/issues/12823 and https://github.com/paradigmxyz/reth/issues/12822
Additional context
No response

Can I get this?

🙋♂

Hey @emhane  , would like to work on this task - can you assign me that. Could you clarify the remaining tasks for this issue? Any additional context would be appreciated. Thanks!

FCFS

Can I try solving this issue?


feat: immediate accept

Fixes https://github.com/microsoft/botframework-sdk/issues/6005
This PR introduces a new BotFrameworkAdapter option for immediateAccept. This feature, while useful, is potentially dangerous as it can lead to silent errors and unpredictable behavior in shared hosting environments. That said, it may be useful for certain users that leverage middleware chains or bot logic that takes a long time to execute.
The immediateAccept setting can be either a simple boolean flag or a function that is passed an activity and must return a boolean value. Under certain special scenarios, this setting is entirely ignored.
Note: This PR also introduces some refactoring to the code that simplifies middleware execution and better leverages newer Javascript features and Typescript type inference.

please notify @scheyal  when ready to share bits with customers. Thank you :)

Pull Request Test Coverage Report for Build 367159326

9 of 13 (69.23%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.02%) to 84.789%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

libraries/botbuilder/src/botFrameworkAdapter.ts
9
13
69.23%

Totals

Change from base Build 367020635:
-0.02%

Covered Lines:
17306

Relevant Lines:
19491

💛  - Coveralls


Event fallback to native events

What package has an issue
@svelteuidev/core
A clear and concise description of what the bug is
<Button
...props
on:keydown={(event) => {
  if (event.key === 'Enter') {
    handleButtonClick();
  }
}}

will not work as svelteui is forcing CustomEvent on the event, which does not have .key. It should be a KeyboardEvent. Events should be falling back to native. Keydown for example is important in accessibility.
Currently you can mitigate this via
const castKeyboardEvent = <T = KeyboardEvent>(event: any): T => event;
...

<Button
...props
on:keydown={(event) => {
  if (castKeyboardEvent(event).key === 'Enter') {
    handleButtonClick();
  }
}}

This was not newly introduced in 0.9
In which browser(s) did the problem occur?
No response
Steps To Reproduce

Use svelteui component like Box
Use on:keydown
Change Box to div and see that it works

Do you know how to fix the issue
Yes
Are you willing to participate in fixing this issue and create a pull request with the fix
No
Relevant Assets
No response

Thank you, that is a valid problem. I identified this problem when developing the solution for the typings of the component props. I was gonna tackle this next, still thinking of a good approach that does not involve listing all the possible DOM events in the component type file.
From what I read, all events from a component are assumed to be custom events by the compiler. I'm thinking of using the the DOMAttributes class from svelte/elements, but I'm not sure it will work. If anyone has any idea, I would greatly appreciate

still thinking of a good approach that does not involve listing all the possible DOM events in the component type file

This is still a decent alternative in the interim.


Apple spawns in snake

Sometimes the apple will spawn inside the snake, and the snake must move away before the apple appears. This is not ideal behavior.

Solution to fix could not be found easily, and the error is pretty small. Maybe will be fixed in the future.