Contribute this ASA template to ttp_templates?

Hello @consentfactory
Are you interested in or open to this template becoming part of ttp_templates?
I updated some ttp_templates readme content to link to this repo. That PR resulted in communication with Denis where it was mentioned that it could be good for that template to become part of the ttp_templates repo.
Your license is MIT and so is Denis' for ttp_templates but I didn't just want to move it over there -- especially if you and @showipintbri are primarily developing against this repo.
Please think about it an let me know your thoughts.
Thank you!

Go for it! No issues here.

Jimmy Taylor (he, him, dude)
Network Systems Engineer

From: Michael Bear @.>
Sent: Sunday, December 8, 2024 6:54 PM
To: consentfactory/ttp-cisco-asa-template @.>
Cc: Jimmy Taylor @.>; Mention @.>
Subject: [consentfactory/ttp-cisco-asa-template] Contribute this template to ttp_templates? (Issue #3)
Hello @consentfactoryhttps://github.com/consentfactory
Are you interested in or open to this template becoming part of ttp_templateshttps://github.com/dmulyalin/ttp_templates?
I updated some ttp_templates readme content to link to this repo. That PR resulted in communication with Denis where it was mentioned that it could be good for that template to become part of the ttp_templates repo.
Your license is MIT and so is Denis' for ttp_templates but I didn't just want to move it over there -- especially if you and @showipintbrihttps://github.com/showipintbri are primarily developing against this repo.
Please think about it an let me know your thoughts.
Thank you!
—
Reply to this email directly, view it on GitHubhttps://github.com/consentfactory/ttp-cisco-asa-template/issues/3, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ACXIJ6UXK7FYM6QGJUXMPAT2ETZ4FAVCNFSM6AAAAABTHZ63SWVHI2DSMVQWIX3LMV43ASLTON2WKOZSG4ZDKNZUGY4DCOA.
You are receiving this because you were mentioned.Message ID: @.***>

Go for it! No issues here.
…
--- Jimmy Taylor (he, him, dude) Network Systems Engineer

Nice!
Thank you!


[owned-phiweb-elimination] Add an "ApplySite" like wrapper for OwnershipIntroducingValues and add utilities for finding them.

An OwnershipIntroducingValue is a value with owned ownership that is not a result of forwarding ownership from some other value. It is similar to the notion of "rc identity" that we talk about in the low level ARC optimizer.
I am adding this support so given a specific value, we can walk up the def-use graph and find all of the ownership introducing values (what one would call in the low level ARC optimizer an "rc identity set"). As an example, consider the following SIL:
%0 = @owned $(Klass, Int)
%1 = @owned $Klass
(%2, _) = destructure_tuple %0
%3 = tuple(%1, %2)

In this case, the set of ownership introducing values for %3 would be (%0, %1).
In order to implement phi elimination, I need to be able to ascertain all of the owned value introducers for a specific incoming value so I can see if I can convert all of the LiveRanges associated with the incoming value could be converted to guaranteed if we could flip the phi argument.

This isn't used anywhere now. But I am going to use it in a forthcoming commit that implements the actual mechanism here.

@swift-ci smoke test and merge


Make output 'bold' to aid legibility

No thanks. I'm not going to change something just because your color scheme is bad. Fix your color scheme instead ;)


url 400 or 412

https://gaokao.chsi.com.cn/sch/schoolInfoMain--schId-1.dhtml

@hesen2006cn I don't know what do you mean. Please fill the issue template.


Several Improvements and Bug Fixes for the ROS2 Branch

This Pull Request provides several improvements for the ROS2 Branch. It was tested with ROS2 Humble.

Added some bug fixes from the current master branch
Fixed some dependencies
Fixed the NavSatFix message with the correct latitude and filled all fields of the message
Added publisher for a sensor_msgs/Imu message
Added a launch file with parameters for IP, port, topics and frames
Renamed typos and fixed data types in the message definition

Thank you for your contribution =)


feat: add pagination and searching to atmos docs command

what

Add pagination helper function to utils
Add pagination setting to Doc struct
Update website documentation to incorporate new CLI settings

why

Enhance the user experience by making it possible to paginate and search component documentation

references

Paging Output Implementation Reference

Summary by CodeRabbit
Release Notes

New Features

Introduced pagination options for displaying component documentation.
Added a new docs section in the atmos.yaml configuration file for enhanced documentation settings.

Bug Fixes

Improved error handling in the documentation display process.

Documentation

Updated documentation for the atmos.yaml configuration file, including detailed descriptions of new settings and merge strategies.

Chores

Minor formatting adjustments made for improved readability.

@RoseSecurity thanks for the PR!
We have a task interally to implement the same pager and search as in glow (using the underlying go modules).

I suppose we can take this PR as a short-term workaround. I think the UI glow beats less.
I guess this current implementation would work if PAGER=glow, but we're trying to avoid requiring a lot of other utilities getting installed.

Or maybe we can support both, a custom pager, and a nice built-in one.

@aknysh let's merge this after you're 👍 review


Using with VTO SIP server

I couldn't use it with Dahua VTO1220A SIP server.
can you advise how to use it? what is expected websocket ?

Hi there.  I am a freelancer  and I need  assistance with this plugin.
I have been provided with the websocket uri,  sipURI,  password  and sorts. And when I use it then there is no connection,
Could  you perhaps show or at least tell me what I should expect in the debug output if it had connected or not

Hello ,
I need to use it with VTO1220A but I can't, Can you help?
There is no websocket for Dahua VTO1220A
On Tue, Jun 29, 2021 at 9:43 AM Millimeter @.***> wrote:

Hi there. I am a freelancer and I need assistance with this plugin.
I have been provided with the websocket uri, sipURI, password and sorts.
And when I use it then there is no connection,
Could you perhaps show or at least tell me what I should expect in the
debug output if it had connected or not
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/flutter-webrtc/dart-sip-ua/issues/211#issuecomment-870356448,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AD4GLHLVT776ATJAWALA5JDTVF2SPANCNFSM47M3QBSQ
.


PQ parameter bit_compression appears to have been deprecated and should be removed

Internal slack discussion link: https://weaviate-org.slack.com/archives/C05BP2NKDGC/p1708988751392019?thread_ts=1708949377.560409&cid=C05BP2NKDGC

THis is deprecated and will be removed in the future


[Bug] What happened to version 1.5.7?

Expected Behavior
On PyPi there is version 1.5.7 of this package, but the releases on GitHub has the latest at 1.5.6. Did something go amiss here?

It was semi-intentional. When I released 1.5.7 I was re-evaluating whether or not it made sense to continue to publish the python package as both a GitHub Release and a PyPI release. You can find both the tag as well as the Changelog below. Question back to you then - what do you gain out of a GitHub Release over the latest PyPI release? I haven't done it yet, but was contemplating removing the Releases section on the sidebar as well to prevent further confusion in this area. I'm very open to your thoughts on this.

git tag: https://github.com/mitre-attack/mitreattack-python/releases/tag/v1.5.7
Changelog: https://github.com/mitre-attack/mitreattack-python/blob/master/CHANGELOG.md

Well, my question can from a concern over a change in behaviour - seeing an anomaly between here (and past behaviour), and a later release on PyPi sent my mind to a place of "I wonder if the PyPi credentials have been compromised and 1.5.7 on there is a malicious release). So, that's where the question came from.
Personally, I do find the presence of the git tag for each release valuable (I presume that would remain whatever your decision), and the associated quick way to ask "what changed". I am not sure what your release process is, but my primary concern is security. But, you know a thing or two about that :).

Roger that. Yes, the git tags will continue to be published for each release, but I think this very conversation has pushed me towards removing the GitHub Releases from the sidebar while continuing to keep the Changelog up to date.
Thanks again for the conversation!


Release of pretrained weights

Will the author kindly release pretrained weights for the Imagenet64?

Hi @yankeesrules
During the training weights were always overwritten with the weights from the last iteration (to make it possible to recover the training process from the last saved point)
We observe that for big models (k=5) with our regularization after the last learning rate drop model starts to overfit.
In the report we put results after 31 training epochs for each setting.
If you are interested, I uploaded weights after 40 epochs of training:
https://drive.google.com/drive/folders/1SuTz4MZqEeU2U21pscQWvy45eTjusiWR?usp=sharing
Hope it will help, in case it is not compatible with the current github code write me back

Hi @yankeesrules
Does it work?


Set up AWS eth node for 721 compatibility

https://us-east-1.console.aws.amazon.com/cloudformation/home?region=us-east-1#/stacks/create/review?templateURL=https:%2F%2Faws-blockchain-templates-us-east-1.s3.us-east-1.amazonaws.com%2Fethereum%2Ftemplates%2Flatest%2Fethereum-network.template.yaml

Will use quiknode instead


hz: The term 'hz' is not recognized

windows安装hertz之后，hz命令无法识别
PS D:\work\go-work\src\userdemo> go install github.com/cloudwego/hertz/cmd/hz@latest
PS D:\work\go-work\src\userdemo> hz -v
hz: The term 'hz' is not recognized as a name of a cmdlet, function, script file, or executable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.

https://www.cloudwego.io/zh/docs/hertz/tutorials/toolkit/usage/cautions/#使用-windows-操作系统时的注意事项


feat: add enum support to instrumentation base

Hello, and thank you for your contribution!
We recently split Ruby instrumentation out into the opentelemetry-ruby-contrib repo.
This PR is related to instrumentation, so we'll need you to re-open it against opentelemetry-ruby-contrib. Sorry for the inconvenience!
To do that, you can:

Create a fork of opentelemetry-ruby-contrib and copy the git url
In your opentelemetry-ruby repo, run git remote add tmp-contrib <your-fork-git-url>
git push tmp-contrib your-branch-name
Open a new PR in contrib (feel free to just copy/paste your original PR description there)
Close your open PR in this repo with a comment that links to your new PR in contrib
Delete your tmp-contrib remote from opentelemetry-ruby (git remote rm tmp-contrib)
git clone your opentelemetry-ruby-contrib fork, check out your branch, and make all changes in that repo from now on!

Sorry again for the inconvenience, and thank you for contributing!

Hi, @robertlaurin! Based on a recent SIG conversation, I'm closing PRs related to instrumentation in this repo. If you think this would still be helpful, please reopen in the opentelemetry-ruby-contrib repo. Thank you!


Could not update the attribute as it was not found from the endpoint id. (CON-696)

Trying to update temperature and humidity measurements read from the sensor, there is an error saying it cannot be found, but the endpoint exists and the attribute should too...
This is the initialization:
` temperature_sensor::config_t tempSensorConfig;
endpoint_t* tempSensorEndpoint = temperature_sensor::create(node, &tempSensorConfig, ENDPOINT_FLAG_NONE, NULL); // TODO: necesitamos el AC si no vamos a invocarle nada?
if (tempSensorEndpoint) {
    ESP_LOGI(TAG_MATTER, "Created temp endpoint");
}
humidity_sensor::config_t humiditySensorConfig;
endpoint_t* humiditySensorEndpoint = humidity_sensor::create(node, &humiditySensorConfig, ENDPOINT_FLAG_NONE, NULL); // TODO: necesitamos el AC si no vamos a invocarle nada?

if (humiditySensorEndpoint) {
    ESP_LOGI(TAG_MATTER, "Created humidity endpoint");
}`

They are correctly created because they are shown on the iOS home app. However when trying to update it doesn't work with the errors shown:

`

I (123044) ACMatterDriver: TEMP: esp_matter_attr_val_t value is 29.500000
I (123044) ACMatterDriver: HUM: esp_matter_attr_val_t value is 30.400000
I (123054) ACMatterDriver: Updating climate measurement
I (123054) esp_matter_attribute: ********** W : Endpoint 0x0002's Cluster 0x00000402's Attribute 0x00000001 is <invalid type: 0> **********
I (123064) ACMatterDriver: Could not update the attribute as it was not found from the endpoint id.
E (123084) esp_matter_attribute: Error updating Endpoint 0x0002's Cluster 0x00000402's Attribute 0x00000001 to matter: 0x1
I (123094) esp_matter_attribute: ********** W : Endpoint 0x0003's Cluster 0x00000405's Attribute 0x00000001 is <invalid type: 0> **********
I (123104) ACMatterDriver: Could not update the attribute as it was not found from the endpoint id.
E (123124) esp_matter_attribute: Error updating Endpoint 0x0003's Cluster 0x00000405's Attribute 0x00000001 to matter: 0x1
`
And here's the code used for update:
`
esp_matter_attr_val_t temp;
temp.type = ESP_MATTER_VAL_TYPE_FLOAT;
temp.val.f = *temperature;
ESP_LOGI(TAG_MATTER, "TEMP: esp_matter_attr_val_t value is %f", temp.val.f);
esp_matter_attr_val_t hum;
hum.type = ESP_MATTER_VAL_TYPE_FLOAT;
hum.val.f = *humidity;

ESP_LOGI(TAG_MATTER, "HUM: esp_matter_attr_val_t value is %f", hum.val.f);

ESP_LOGI(TAG_MATTER, "Updating climate measurement");
//update values.
esp_matter::attribute::update(tempSensorEndpointId, TemperatureMeasurement::Id, TemperatureMeasurement::Attributes::MeasuredValue::Id, &temp);
esp_matter::attribute::update(humiditySensorEndpointId, RelativeHumidityMeasurement::Id, RelativeHumidityMeasurement::Attributes::MeasuredValue::Id, &hum);`

As you can see on the output, the esp_matter_attr_val_t structs are properly initialised as the values are there (overriding possible pointer issues).
What am I doing wrong?

TemperatureMeasurement cluster's MeasuredValue attribute is of type nullable int16_t.
RelativeHumidityMeasurement's, MeasuredValue attribute is of type nullable uint16_t.
You shall use the type as, .type = ESP_MATTER_VAL_TYPE_NULLABLE_INT16 and .type = ESP_MATTER_VAL_TYPE_NULLABLE_UINT16 respectively. For storing value, temp.val.i16 and temp.val.u16.

Adapted code as suggested but still getting the same error:
esp_matter_attr_val_t temp;
temp.type = ESP_MATTER_VAL_TYPE_NULLABLE_INT16;
temp.val.u16 = static_cast<int>(*temperature + 0.5); // add 0.5 for rounding
ESP_LOGI(TAG_MATTER, "TEMP: esp_matter_attr_val_t value is %i", temp.val.u16);
esp_matter_attr_val_t hum;
hum.type = ESP_MATTER_VAL_TYPE_NULLABLE_INT16;
hum.val.u16 = static_cast<int>(*humidity + 0.5); // add 0.5 for rounding

ESP_LOGI(TAG_MATTER, "HUM: esp_matter_attr_val_t value is %i", hum.val.u16);

ESP_LOGI(TAG_MATTER, "Updating climate measurement");
//update values.
esp_matter::attribute::update(tempSensorEndpointId, TemperatureMeasurement::Id, TemperatureMeasurement::Attributes::MeasuredValue::Id, &temp);
esp_matter::attribute::update(humiditySensorEndpointId, RelativeHumidityMeasurement::Id, RelativeHumidityMeasurement::Attributes::MeasuredValue::Id, &hum);

`
I (243174) main:: Hum: 31.6 Tmp: 28.3
I (243184) ACMatterDriver: TEMP: esp_matter_attr_val_t value is 28
I (243184) ACMatterDriver: HUM: esp_matter_attr_val_t value is 32
I (243194) ACMatterDriver: Updating climate measurement
I (243194) esp_matter_attribute: ********** W : Endpoint 0x0002's Cluster 0x00000402's Attribute 0x00000000 is 28 **********
I (243204) ACMatterDriver: Could not update the attribute as it was not found from the endpoint id.
E (243214) esp_matter_attribute: Error updating Endpoint 0x0002's Cluster 0x00000402's Attribute 0x00000000 to matter: 0x1
I (243234) esp_matter_attribute: ********** W : Endpoint 0x0003's Cluster 0x00000405's Attribute 0x00000000 is 32 **********
I (243244) ACMatterDriver: Could not update the attribute as it was not found from the endpoint id.
E (243254) esp_matter_attribute: Error updating Endpoint 0x0003's Cluster 0x00000405's Attribute 0x00000000 to matter: 0x1`

Ok, turns out this error was actually my own code on the callback for handling updates. Since I'm not using those values not he program for anything it defaults to the error. Switching to the report API and fixing values worked.


Add PDF export

Connects Notify app with PDF export library. Also adds column formatting for CSV downloads.

@MikeTschudi yay! Nice work...so happy to see this come in! Will go ahead and do another publish to npm and get the Notify app updated to use this.

@jmhauck, thanks!


rook: add logCollector in storageCluster and update to rook v1.9.9

upgrade to rook v1.9.9
rook: add logCollector in storageCluster
adding logCollector in storageCluster which will have
fields like enabled to enable/disable logCollector,
periodicity interval after which logs will be rotated
and maxLogSize time after which logs will be rotated.
If both periodicity and maxLogSize what every comes
first will rotate the logs.

/hold for https://github.com/rook/rook/pull/10751

spec:
  logCollector:
    enabled: true
    #maxLogSize: 1G
    #periodicity: 1d

cat /etc/logrotate.d/ceph
/var/log/ceph/ceph-mon.a.log {
    rotate 7
    daily
    maxsize 500M
    compress
    sharedscripts
    postrotate
        killall -q -1 ceph-mon ceph-mgr ceph-mds ceph-osd ceph-fuse radosgw rbd-mirror cephfs-mirror || pkill -1 -x "ceph-mon|ceph-mgr|ceph-mds|ceph-osd|ceph-fuse|radosgw|rbd-mirror|cephfs-mirror" || true
    endscript
    missingok
    notifempty
    su root ceph
}

logCollector:
    enabled: true
    #maxLogSize: 1G
    periodicity: 1h

cat /etc/logrotate.d/ceph
/var/log/ceph/ceph-mon.b.log {
    rotate 7
    hourly
    maxsize 500M
    compress
    sharedscripts
    postrotate
        killall -q -1 ceph-mon ceph-mgr ceph-mds ceph-osd ceph-fuse radosgw rbd-mirror cephfs-mirror || pkill -1 -x "ceph-mon|ceph-mgr|ceph-mds|ceph-osd|ceph-fuse|radosgw|rbd-mirror|cephfs-mirror" || true
    endscript
    missingok
    notifempty
    su root ceph
}

logCollector:
    enabled: true
    maxLogSize: 1G
    periodicity: daily

cat /etc/logrotate.d/ceph p
/var/log/ceph/ceph-mon.a.log {
    rotate 7
    daily
    maxsize 1G
    compress
    sharedscripts
    postrotate
        killall -q -1 ceph-mon ceph-mgr ceph-mds ceph-osd ceph-fuse radosgw rbd-mirror cephfs-mirror || pkill -1 -x "ceph-mon|ceph-mgr|ceph-mds|ceph-osd|ceph-fuse|radosgw|rbd-mirror|cephfs-mirror" || true
    endscript
    missingok
    notifempty
    su root ceph
}

logCollector:
    enabled: true
    maxLogSize: 700Mi
    periodicity: weekly

cat /etc/logrotate.d/ceph
/var/log/ceph/ceph-mon.c.log {
    rotate 7
    weekly
    maxsize 734M
    compress
    sharedscriptscat /etc/logrotate.d/ceph
/var/log/ceph/ceph-mon.c.log {
    rotate 7
    weekly
    maxsize 734M
    compress
    sharedscripts

logCollector:
    enabled: true
    maxLogSize: 1Gi
    periodicity: monthly

 cat /etc/logrotate.d/ceph
/var/log/ceph/ceph-mon.b.log {
    rotate 7
    monthly
    maxsize 1073M
    compress
    sharedscripts
    postrotate
        killall -q -1 ceph-mon ceph-mgr ceph-mds ceph-osd ceph-fuse radosgw rbd-mirror cephfs-mirror || pkill -1 -x "ceph-mon|ceph-mgr|ceph-mds|ceph-osd|ceph-fuse|radosgw|rbd-mirror|cephfs-mirror" || true
    endscript
    missingok
    notifempty
    su root ceph
}

logCollector:
    enabled: true
    maxLogSize: 800M
    periodicity: hourly

cat /etc/logrotate.d/ceph
/var/log/ceph/ceph-mon.b.log {
    rotate 7
    hourly
    maxsize 800M
    compress
    sharedscripts
    postrotate
        killall -q -1 ceph-mon ceph-mgr ceph-mds ceph-osd ceph-fuse radosgw rbd-mirror cephfs-mirror || pkill -1 -x "ceph-mon|ceph-mgr|ceph-mds|ceph-osd|ceph-fuse|radosgw|rbd-mirror|cephfs-mirror" || true
    endscript
    missingok
    notifempty
    su root ceph
}

/assign @travisn

Also, I have kept hold label since I would like to test again once rook downstream pr is merged(upstream is already merged) just to double sure.

/lgtm

/cherry-pick release-4.10

@subhamkrai this is required for release-4.11 as well, right?

/cherry-pick release-4.11

@subhamkrai this is required for release-4.11 as well, right?

right, thanks for reminding.

/hold cancel

keeping /hold since rook backport is not merged yet

/hold

/hold cancel
rook bp are merged.

/approve

/retest


32bit client

Hello, is there 32bit client for Windows 7 or Windows 10?
Thank you
Sascha

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

ID: 524e47b0-1295-7d07-0cbc-86e6daaa1358
Version Independent ID: 1cb3a5d8-4f16-583c-ad85-325f7638a873
Content: Connect to Windows Virtual Desktop Preview from Windows 10 or Windows 7 - Azure
Content Source: articles/virtual-desktop/connect-windows-7-and-10.md
Service: virtual-desktop
GitHub Login: @Heidilohr
Microsoft Alias: helohr

@saschastops Thanks for your query. I am checking on this with the team on this.

@ChristianMontoya and @Heidilohr Can you please add your comments on the 32 bit client availability.

Hi @saschastops, thank you for the feedback. Support for 32 bit devices is something we are working on and plan to have available at the latest by November, maybe sooner.

Thank you.
Holen Sie sich Outlook für Androidhttps://aka.ms/ghei36

From: David Bélanger<EMAIL_ADDRESS>Sent: Monday, August 5, 2019 8:30:41 PM
To: MicrosoftDocs/azure-docs<EMAIL_ADDRESS>Cc: saschastops<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [MicrosoftDocs/azure-docs] 32bit client (#36480)
Hi @saschastopshttps://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fsaschastops&data=02|01||0c28e1b7da8a479407be08d719d30628|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637006266432540978&sdata=%2BUnP4Ykv4J9T9TIqGJiXgP6vXXSgc3ju15OAfJEeW8A%3D&reserved=0, thank you for the feedback. Support for 32 bit devices is something we are working on and plan to have available at the latest by November, maybe sooner.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fazure-docs%2Fissues%2F36480%3Femail_source%3Dnotifications%26email_token%3DAEIZARPO6ONP23LSYPADKP3QDBWVDA5CNFSM4IJJABSKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD3SVT4Q%23issuecomment-518347250&data=02|01||0c28e1b7da8a479407be08d719d30628|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637006266432560988&sdata=CFFwk4%2FFOHxVDYWK2RktmI3aViasbUyFPM9M6ZJJzdc%3D&reserved=0, or mute the threadhttps://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAEIZARKNSMZCQNLY3TC2CJTQDBWVDANCNFSM4IJJABSA&data=02|01||0c28e1b7da8a479407be08d719d30628|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|637006266432570999&sdata=kC11RhIZv%2FpArNjR0PHwXo5Mde61Vm0GUFGMB7IgZec%3D&reserved=0.

@saschastops I am closing the issue for now as the product team has replied on the tentative date of 32 bit client availability.
Thank You.


Out of the box, good-looking charts for time series

Description
Description
Users require a simple and efficient way to visualize time series data. By providing out-of-the-box, good-looking time series charts, we can enhance the user experience and enable users to better analyze and understand their data. These charts should be easily customizable and require minimal configuration to get started.
Examples

Grafana
https://github.com/grafana/grafana/tree/main/public/app/plugins/panel/xychart

Have you provided an initial effort estimate for this issue?
None

…with the ability to zoom in and pan the chart, and an easier way to toggle visibility of multiple time series than the current version.

FYI - @joepavitt

an easier way to toggle visibility of multiple time series than the current version.

just checking, this would be the idea of sending in a msg.<something-here> to the chart node that could control that visibility?

No, I meant purely from a UX perspective. Limiting series views in the chart node can be done easily enough by just omitting them from the rendered dataset, although I suppose that what you suggest would also be useful.
Right now, the biggest gripes I (personally) have with the current dashboard are that it is really hard to interact with complex charts as a user. It's geared towards very simple, almost completely passive dashboards and efforts essentially zero abilities to explore data beyond a few hundred datapoints as a user.
Everything else (data model, flow-side development, and especially the layout integration inside Node-RED, with the dashboard layout previews) work just fine. I get that we need to get rid of Angular 1.x and revamp the development lifecycle, but if that doesn't afford a better exploration and interactivity UX (which is 90% of the use for dashboards), folk like me will stick to embedding D3.js and Vega :)

Great feedback @rcarmo appreciate it. We are still very early on at the moment, just re-building out existing functionality in Dashboard 2.0 found in the existing Dashboard, but this will absolutely be a priority for us. Thanks

There is chartjs plugin that may handle most of this for us: https://www.chartjs.org/chartjs-plugin-zoom/
We'll likely need to add the "reset" option somewhere so that users can easily restore the default state, but it does provide the desired interaction.

Tracked in: https://github.com/FlowFuse/node-red-dashboard/issues/65


[Feature] HMAC Authentication for Bonsai API

Feature
Currently, the Bonsai API uses a single API key. This is the only secret. The authentication is done by including this key in the HTTPS request. Since it is HTTPS and the request has to be initiated from the machine who has the secret, this is secure.
However, if I want to have the user/frontend to be the one that handles the conversation (as well as waiting) with the Bonsai API server, an ideal solution is to let the backend "sign"/"endorse" the request and let the client do the talking. This simplifies the backend design. But then I must change the API key design because it would not work as well.
An example is from Azure, where there is an access key ID and a signature (the signature is HMAC-SHA256, no fancy crypto).
https://learn.microsoft.com/en-us/azure/azure-app-configuration/rest-api-authentication-hmac
Authorization: HMAC-SHA256 Credential={Access Key ID}&SignedHeaders=x-ms-date;host;x-ms-content-sha256&Signature={Signature}

This is about the request. We can also be creative about the response.
We can make this one step further. When the client finishes the conversation with the Bonsai API server, we let the Bonsai API server pass the response (specifically, the journal) with a signature, so that the frontend can pass the response to the backend, and backend can verify that it indeed comes from the Bonsai API server (trusting, for example, that this is a valid proof, or that the Bonsai has already pooled the proof to be submitted to the blockchain).
Motivation
This simplifies the backend logic and can enables lightweight applications that delegate the logic to RISC0.
Implementation
Alternative key formats and authentication on the REST API server.

It also makes a lot of sense to have a ticketing model. Think about most dApps. The users are the ones that pay for the fee. The logic would be simplified if the end user is the one who makes a micropayment on-chain, buys a "ticket" (directly or indirectly) from RISC Zero for the Bonsai API service, talks to Bonsai to do the proof generation, and later has Bonsai to trigger the responsible smart contracts to finish the entire dApp action.
In this case, the transaction ID of an on-chain payment becomes the "one-time API key". People usually use Alchemy to do this (https://docs.alchemy.com/reference/notify-api-quickstart) so that the ticketing system would be notified when it gets paid.


Annotate images to train a shape detector?

I need to extend shape_predictor_68_face_landmarks.dat with some extra images, adding face types that it has trouble with (wide open, shouting, etc).
Based on this:
http://dlib.net/train_shape_predictor_ex.cpp.html
I need to pass the path to the images folder, plus the xml that contains the coordinates of the bounding box, AND landmarks for each face.  My question is, do I need to manually add the bounding boxes to every image, using imglab? And if so, how do I get the landmark positions to add to the xml?
Thank you.

I would use the face detector to get the bounding boxes.

Also, if there were an automatic way to get the landmark positions you wouldn't need to do this in the first place.

Thank you! I suspected as much. One more quick thing... I am trying to run imglab with the --parts flag, like this:
imglab.exe --parts "1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 161 17 18 19 20 21 22 23 24 25 26
 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 5
3 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68" mouthxml.xml

I hold shift and draw the box on the image, but right click seems to do nothing. Am i missing a step? thank you again.

Read the about text in the GUI, it tells you how to use it.
Also, I would use the existing landmarking model to add the landmarks to
the faces, then use the GUI to adjust them.  That will involve a lot less
clicking in the GUI and therefore take less time.


install dependencies from package.json

Is there a way to use this module  to install dependencies on a package.json file?

exec { 'install deps for my wintersmith blog'
  command => 'npm install',
  cwd     => '/srv/web/blog',
  creates => 'node_modules',
  path    => [ '/bin', '/usr/bin', '/usr/local/bin' ],
}

@igalic thanks

Also see #154 for a short discussion on this.


Schema DDL: port checkVersionsConsistency from igluctl

Useful for multiple applications including Server.

Migrated to https://github.com/snowplow-incubator/schema-ddl/issues/11


How to get it work with picturefill for better optimize responsive image

Hi , thanks for hard work , so how can i config to get it work together with picturefill for better responsive image reason !
picturefill github
https://github.com/scottjehl/picturefill
issue in picturerfill
https://github.com/scottjehl/picturefill/issues/408

So, the srcset attribute prevents the image from being found. I will do a quick fix first, implement the real deal later. Thanks for letting me know.

Moved to #118


Retrieve multiple aws secrete in spring boot app that have same keys

Type: Bug
label:"component: secrets-manager"
** also did put on stack overflow - https://stackoverflow.com/questions/72264774/retrieve-multiple-aws-secrete-in-spring-boot-app-that-have-same-keys
Have a spring boot app (with starter parent at 2.4.8).
The app is connecting to multiple data sources, and the automated Jenkins job being used to create secrets across company does it such a way that although secrets names are different(per app/source) but they all have same value underneath - 'username' and 'password' text.
For example:

First secret would be '/secret/rds/dev/foo/foo_app_user' with value:
username : user1
password: pass1

second secret would be '/secret/snowflake/dev/hoo/hoo_app_user' with value:
username : user2
password: pass2

Trying to figure out how can they both be imported using spring config import, while still being able to be used distinctively in properties/yaml file
`
spring:
config:
import: aws secretsmanager:/secret/rds/dev/foo/foo_app_user,/secret/snowflake/dev/hoo/hoo_app_user
...
system:
cache:
username: ${username}
password: ${password}
....
snowflake:
datasource:
username: ${username}
password: ${password}
`

Closing in favor of #388


Migrating code to work on tensorflow 2.0 and adding running on directory

Migrating code to work on tensorflow 2.0 and adding running on directory

Thanks for your contribution and interest for this work, a command line script is indeed a good addition to this repo. I've commented several little thing on your proposed script.


Errors after deleting attached before unattaching

I created a macro to attach a template to a token (basically an aura that follows the token)
const templates = await canvas.scene.createEmbeddedDocuments(
    "MeasuredTemplate",
    [{
        t: "circle",
        user: game.user.id,
        x: token.x + canvas.grid.size/2,
        y: token.y + canvas.grid.size/2,
        direction: 0,
        distance: 30,
        borderColor: "#FF0000",
        //fillColor: "#FF3366",
    }]);

tokenAttacher.attachElementToToken(templates[0], token, suppresNotification=true);

I move the token around and that's fine, it works as expected.
I go to the Measurement Controls and delete the template (note I did not unattach it first via TA). Now every time I move the token I get this error.
token-attacher.js:576 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'data')
[Detected 3 packages: token-attacher, lib-wrapper, drag-ruler]
    at token-attacher.js:576
    at Array.map (<anonymous>)
    at Function._UpdateAttachedOfBase (token-attacher.js:576)
    at Function.UpdateAttachedOfToken (token-attacher.js:556)
    at token-attacher.js:213
    at Function._call (eval at <anonymous> (listeners.js:91), <anonymous>:4:14)
    at Function.callAll (foundry.js:153)
    at ClientDatabaseBackend.callback (foundry.js:8976)
    at foundry.js:8946
    at Array.map (<anonymous>)
    at ClientDatabaseBackend._handleUpdateEmbeddedDocuments (foundry.js:8946)
    at ClientDatabaseBackend._updateEmbeddedDocuments (foundry.js:8835)
    at async Function.updateDocuments (document.mjs:366)
    at async DragRulerRuler.animateEntities (foundry_imports.js:90)
    at async DragRulerRuler.moveEntities (foundry_imports.js:41)

If I open the TA menu and hit Delete all elements then I get this error.
collection.mjs:106 Uncaught (in promise) Error: The key zruPSxurVImmZTQx does not exist in the EmbeddedCollection Collection
[No packages detected]
    at Map.get (collection.mjs:106)
    at ClientDatabaseBackend._preUpdateDocumentArray (foundry.js:8851)
    at ClientDatabaseBackend._updateEmbeddedDocuments (foundry.js:8824)
    at ClientDatabaseBackend.update (backend.mjs:153)
    at async Function.updateDocuments (document.mjs:366)

I had some logging in the macro, and can verify that the key it's looking for when I hit delete all is the id of the template that was created.
p.s. This is probably reproducible by  manually creating, attaching, and deleting a template, but I didn't go through those steps to verify

Sweet. Glad you were able to get it sorted out


Can link with libsodium in same project?

Hi, thanks for this project, it looks great.
I am trying to link against my project which is already using libsodium. However, I'm getting many multiple reference errors in the linker:
$ make
clang -o substrate_test src/utils/ss58.o src/utils/crypto.o src/address.o -Wall --static -fPIC -Isrc -Ilibs/deps/include -Llibs/deps -Llibs/deps/lib -lbase58 -lfastpbkdf2 -lsr25519_donna_static -lsodium -lbc-bip39 -lbc-crypto-base  -lssl -lcrypto -pthread
/mnt/c/Users/matth/Desktop/polkadot/libs/libsodium-stable/src/libsodium/sodium/core.c:188: multiple definition of `sodium_misuse'; libs/deps/lib/libsr25519_donna_static.a(core.c.o):core.c:(.text+0x20): first defined here
/usr/bin/ld: libs/deps/lib/libsodium.a(libsodium_la-ed25519_ref10.o): in function `ge25519_scalarmult':
/mnt/c/Users/matth/Desktop/polkadot/libs/libsodium-stable/src/libsodium/crypto_core/ed25519/ref10/ed25519_ref10.c:813: multiple definition of `ge25519_scalarmult'; libs/deps/lib/libsr25519_donna_static.a(ristretto255.c.o):ristretto255.c:(.text+0xe7e0): first defined here

And it continues with some other functions that have been redefined.

I'm trying to add libsodium in the example and #include <sodium.h> ,  it seems can build.

According to this question (https://stackoverflow.com/questions/40567041/multiple-definitions-of-linker-error), you can check whether you #include a .c file or .h file in your project.

I've changed part of the names you mentioned, can you check if the errors disappear?

I linked successfully, thank you.


Allow array argument in 'loop'

Coverage decreased (-1.6%) to 82.524% when pulling f4b7f2af9666819acab3675780414e1491e9dea3 on chezwicker:master into 5897e85ba4a2e36afa8e08c3dd2150bf7799d916 on coderhaoxin:master.

can you add a test case? Thanks.


cmd/cue: vet-c fails to error when checking (empty) non-CUE files

What version of CUE are you using (cue version)?

$ cue version
cue version v0.6.0-alpha.1

go version go1.20.3
      -buildmode exe
       -compiler gc
       -trimpath true
     CGO_ENABLED 0
          GOARCH amd64
            GOOS linux
         GOAMD64 v1

Does this issue reproduce with the latest stable release?
Yes, 0.5.0.
What did you do?
I cue-vet-c'd a non-concrete package. It failed, as expected.
I added an empty file (.json) to the command line, which caused the vet-c to succeed.
# empty.json exists
exec test -e empty.json
# empty.json is not a non-empty file
! exec test -s empty.json
# vet-c on a non-concrete package fails
! exec cue vet -c .:p
# vet-c on a non-concrete package unified with an empty JSON file fails
! exec cue vet -c .:p json: empty.json

-- non-concrete-package.cue --
package p

field: _
-- empty.json --

What did you expect to see?
I'm aware that cue vet has 2 modes: CUE validation, and non-CUE-validating-each-file-against-CUE. And by including the empty file on the end of the CLI invocation, I triggered the 2nd of those modes. And that this 2nd mode wants to complain only if any non-CUE file fails to unify with each CUE package mentioned.
I expected to see cue vet -c fail, because the result of unifying the empty non-CUE file and the CUE package was very much non-concrete.
What did you see instead?
# empty.json exists (0.001s)
# empty.json is not a non-empty file (0.001s)
# vet-c on a non-concrete package fails (0.115s)
# vet-c on a non-concrete package unified with an empty JSON file fails (0.085s)
> ! exec cue vet -c .:p json: empty.json
FAIL: /tmp/testscript2801760134/test.txtar/script.txtar:8: unexpected command success

Need to triage to work out if this is a regression or not.


Certified variables on the Candid layer?

Certified variables
The system will provide a form of certified variables. Very roughly the system interface will be:

In update methods, the canister can pass a short blob (typically the root hash of a merkle tree that the canister maintains) to the system.
In query methods, the canister can get an opaque certificate (“signature”) from the system, and pass it to the caller.

The Problem
If we don't do anything to help them, I expect that none of our target audience developers will be able to use this functionality (or worse, use it insecurely). I wrote up what this would entail for developers if you are curious.
So we (as the platform) need to do something. And because this is a question of interoperability, it cannot be solved just within one of the langauges, but has to be solved on the Candid layer or below. Under the assumption that the (rough) system interface is what I outlined above (and not, say, proper certified queries, which would be transparent to upper layers, at the expense of being slower, more expensive and more work to provide), the Candid layer is the only layer left to solve this in.
I am discussing this here, and not in the candid repo, because some of this might be secret sauce.
The high level goal
Consider a serivce with interface
service {
  getBalance(user_name : String) : Nat query;
}

As it stands right now, this would be an uncertified query. Bad for a tamper proof platform.
The goal should be that the developer changes the signature to, say
service {
  getBalance(user_name : String) : Nat certified query ;
}

and adding that qualifier is all that’s necessary for clients of this service to use this method in a certified way.
A possible interface
The goal is now to map the query method name and its parameters onto the tree of the state tree.
The certified qualifier has the following restrictions and effect:

The method must be a query

All parameters of the method have primitive type
(Can be relaxed to: have a type with canonical hash value function)

The underlying methods interface can be explained by the following desugaring:
meth(t1,… tn) : tr certified query
==
meth(t1,… tn) : { content : ?blob; certificate : ?blob, witness : ?blob } query

The content is the Candid-encoded response of type tr.
(This nesting of Candid in Candid is necessary to pre-compute the hash of the return value.)

When run in replicated state, certificate and witness are null.

Otherwise, certificate is the opaque blob returned by the system, which certified the canister’s cetified state variables tree root hash.

The witness connects the hash of the content blob` to the tree root hash via a path of the form
/certified_variables/<meth>/<H(a1)>/…/<H(an)>

where H(ai) is the (canonical) hash of the i-th argument to the method.
(Variant: The path in the witness may be allowed to be shorter; this way parameter width subtyping still works.)

When no value is available for the given arguments, content is null, and the witness is a negative witness that proves
the absence of that value.

Rejections are not certified

See https://docs.dfinity.systems/public/#certification for more on certification (what’s called “witness” here is the “hashtree” there).
Effect on clients
The Candid-and-IC-handling client library (userlib.js, the rust agent, rust canisters, the Motoko RTS) has now all the information to verify the witness, and transparently to the application return a trustworthy reply, or report failure. This is nice.
Effect on services
This is more severe. Some options are:

Canisters just have to implement the above interface by hand. Not nice.

Environments like Motoko auto-generate these certified queries. Shower-thought-level design:
actor {
  certified var time : Nat;
  certified var balance : HashMap<Text, Nat>;
}

would yield an interface like that
service {
  time() : Nat certified query;
  balance(Text) : Nat certified query;
}

Assigning to such a certified var will update the hash tree, prepare the responses etc. under the hood.
This would be somewhat nicer if Motoko had built-in dictionaries.
Or maybe we need a somewhat magical CertifiedMap type.
The actual time() and balance() query methods would be generated automatically by the compiler.

A variant of that might allow a canister to hook into the generated queries, to do access control (dynamic responses are of course not possible)

Alternative: Just a convention
In this alternatived design, the certified qualifier does not become part of Candid. Instead, certifying queries relies on the convention that certifiable queries have type
   meth : (t1,… tn) -> { content : ?tr; certificate : ?blob, witness : ?blob }

where tr is a primitive Candid value (so that it can be hashed).
This variant requires less components to change, can be used implemented more quickly, but is less convenient for developers.
Improvements: Canonical Candid
If we could define a “canonical hash” for Candid values, we’d have to apply less restrictions to values being primitive.
Conclusion
Is this feasiable? Desireable? Do we have an alternative (besides doing nothing)?

Can we know more about this Universal Query Certificates and what the timeline is?  We're trying to figure this out over at https://forum.dfinity.org/t/recommended-usage-of-certifieddata/4370/13 and it doesn't seem very easy to do in Motoko right now.

Can we know more about this Universal Query Certificates

I don’t have access to that file any more, since it is an internal google doc.

and what the timeline is?

None, this was just a crazy idea (and probably not a good one).


Add current-mock-calls

Closes #74.

Coverage remained the same at 100.0% when pulling 68db53854e698cb259c979529515548a4121fdfc on 74-current-calls into 00bd511c0b3829153714e90f58f6b2383f4d9fc7 on master.

Coverage remained the same at 100.0% when pulling 68db53854e698cb259c979529515548a4121fdfc on 74-current-calls into 00bd511c0b3829153714e90f58f6b2383f4d9fc7 on master.

Coverage remained the same at 100.0% when pulling 9bc367af735b9976dcd8346c863fbfa7890283ef on 74-current-calls into 00bd511c0b3829153714e90f58f6b2383f4d9fc7 on master.


Configurable viewer origins

Closes #16.
I've changed the implementation to a solution that doesn't involve editing the viewer.js file.
The HOSTED_VIEWER_ORIGINS can now be configured in an initialiser:
PdfjsViewer.hosted_viewer_origins = ["http://somehost", "https://somehost"]

Thinking about it more, the file parameter is a security risk for content spoofing when HOSTED_VIEWER_ORIGINS is configured to let the viewer load any remote URL. Consider the case where pdfjs_viewer-rails is hosted on open-to-attack.com and HOSTED_VIEWER_ORIGINS is set to ["http://open-to-attack.com"], a malicious person could send a link to another person, such as http://open-to-attack.com/pdfjs/file=, with file set to any remote pdf url. The HOSTED_VIEWER_ORIGINS doesn't protect against this, nor does CORS which is only concerned with the requested URLs headers.
Maybe pdf.js needs another check against what URLs it'll load from, or pdfjs_viewer-rails shouldn't  expose the file parameter on the viewer, loading PDFs in a different way perhaps.

The Content-Security-Policy header could be used to protect sites from loading any remote URL. A configuration option could be made available to set that header on requests for any of pdfjs_viewer-rails views?

@MattFenelon since the request from the viewer is always going to be a GET maybe it's not critical. I think it's something that should be left to the PDF.js project. If possible this gem should do as little as necessary to bundle that library. Otherwise updating with the latest PDF.js version will get very painful.

@MattFenelon I still don't quite understand why PDF.js chose to implement the check that way. Why would a hosted viewer be good to load all remote urls but one on the same host not. Somehow these things feel unrelated except that a hosted viewer might be very likely to load remote PDFs.

@senny there's a FAQ entry about it, as far as I can tell it's purpose is to avoid opening a security hole on your site inadvertently, if you change the code to remove the check you've at least had to accept the risk of doing so. There's also some details in https://github.com/mozilla/pdf.js/pull/6916.
We could add a warning to the README about changing the PdfjsViewer.hosted_viewer_origins setting, and potentially mention using CSP to protect against loading any old remote PDF, what do you think? Or are you against this PR altogether?

What's the latest on this?


[RFC] Untar directly into root

We can untar directly into the root of the filesystem, so no path modification nor rsync. I think it's slightly more elegant.
https://github.com/swizzlr/docker-swift/blob/master/Dockerfile#L9

@swizzlr I guess i'm worried that files folders that exist in /usr don't get overwritten and that we're merely merging the swift related stuff in /usr

Well, if swift vendors a patched version of anything, we want that in the path, at the very least. With rsync Swift may end up linking to the unpatched version, right? Shall we give it a try and see how it turns out, or should we just dump it all in a private folder and add it to the $PATH?

(i'm more in favour of installing to root because then you can easily write /usr/bin/swift(

@swizzlr ok lets do this. You have me convinced :)

@swizzlr i'll submit PR

go 4 it

Also while your doing that, if you combine the commands into one via && and then follow them with && rm -rf ... you don't have a bloated intermediate layer. The cleanup here is nice, but since it happens in a layer further down it's a little bit too little too late.

@akatz checkout #14 which reduces layers count. Its been merged into master already. Feel free to open a new issue to suggest more cleanup :). Also nice to see you here buddy :)


Provide a callback for link press

Currently links open in another window, but at times rich text might link to another page. If we can expose a onLinkPress(url, target) style callback we can intercept the call to open a browser and supply our own behaviour.
What do you think?

Yes, it could be a good improvement. @tkodev  Could you develop this feature, and open a new pull request please? Then I will create a new version


Feature/stateless validation rules

Description of the Change
Introduces stateless validation rules and updates corresponding tests tests.

domain_id
RFC1035, RFC1123 (disallows the root white space)

address
IP address of added peer

peer_key
Public-key of added peer

asset_name
[a-z_0-9]{1,32}

asset_id
<asset_name>#<domain_id>

account_name
[a-z_0-9]{1,32}

account_id
<account_name>@<domain_id>

role_id
[a-z_0-9]{1,32}

permissions
See 5.2 Permission

key
Key of set account detail  [A-Za-z0-9_]{1,64}

detail
≤ 4096

quorum
Number, 0 < quorum ≤ public-key set up to account ≤ 128

public_key
Public-key, 32 digits

hash
Hash value of sha3, 32 digits

created_time
UNIX epoch time, 13 digits in milliseconds, ≤ 24 hours including current time

amount
amount,≥ 0

Benefits
We have clarified stateless validation rules and updated iroha correspondingly
Possible Drawbacks
None

there is one thing we should also limit -- this is a message in transfer asset. there should be a decent limit for it, like 4096 is enough.

disclaimer: I haven't look at the patch, only the pr-post, so I'm considering its up-to-date
address: domain name might be useful
detail: why is that small? e.g consider storing additional keys, like rsa; it might be more than 4K
created_time: number that can be represented in 32 bits, there is quite a difference
amount: why can be equal to 0


Add documentation

help?> gaussjacobi
search: gaussjacobi

  No documentation found.

  FastGaussQuadrature.gaussjacobi is a Function.

  # 2 methods for generic function "gaussjacobi":
  [1] gaussjacobi(n::Integer, a::Float64, b::Float64) in FastGaussQuadrature at /Users/solver/.julia/packages/FastGaussQuadrature/G3Izs/src/gaussjacobi.jl:7
  [2] gaussjacobi(n::Number, a::Number, b::Number) in FastGaussQuadrature at /Users/solver/.julia/packages/FastGaussQuadrature/G3Izs/src/gaussjacobi.jl:1

Can I make a document with Documenter.jl?

Can I make a document with Documenter.jl?

To add help documentation you just add a string before the function definition: if in a file I write
# foo.jl
"""
foo(x) does nothing
"""
foo(x) = nothing

Then I get:
help?> foo
search: foo floor pointer_from_objref OverflowError RoundFromZero unsafe_copyto!

  foo(x) does nothing

To add help documentation you just add a string before the function definition: if in a file I write
# foo.jl
"""
foo(x) does nothing
"""
foo(x) = nothing

Then I get:
help?> foo
search: foo floor pointer_from_objref OverflowError RoundFromZero unsafe_copyto!

  foo(x) does nothing

Ah, I know that.
I was planning to add jldoctest for clarity. To check the tests, we need Documenter.jl. I thought this is a goot oppotunity to add more documents, but my concern was that adding Documenter.jl could be bigger change.

Ah, I know that.
I was planning to add jldoctest for clarity. To check the tests, we need Documenter.jl. I thought this is a goot oppotunity to add more documents, but my concern was that adding Documenter.jl could be bigger change.

I strongly support adding Documenter.jl so will happily help

I strongly support adding Documenter.jl so will happily help

Okay, I'll make a pull request!

Okay, I'll make a pull request!

The github pages works fine, so I'll close this issue.
https://juliaapproximation.github.io/FastGaussQuadrature.jl/dev/

The github pages works fine, so I'll close this issue.
https://juliaapproximation.github.io/FastGaussQuadrature.jl/dev/

Awesome!! Thank so much for this

Awesome!! Thank so much for this


Remove Supply>Renewable electricity>Biomass plants slide

This slide (Supply>Renewable electricity>Biomass plants slide) seems to be redundant, since there is a new sidebar item for Biomass in BETA. I think I'm not authorized to delete the slide in the admin of ETModel. @antw, could you remove the slide?

could you remove the slide?

Done.


Detected that custom integration 'octopus_energy' registers an entity service with a non entity service schema which will stop working in HA Core 2025.9

Describe the bug
Detected that custom integration 'octopus_energy' registers an entity service with a non entity service schema which will stop working in HA Core 2025.9 at custom_components/octopus_energy/event.py, line 36: platform.async_register_entity_service(, please create a bug report at https://github.com/BottlecapDave/HomeAssistant-OctopusEnergy/issues
Detected that custom integration 'octopus_energy' registers an entity service with a non entity service schema which will stop working in HA Core 2025.9 at custom_components/octopus_energy/sensor.py, line 128: platform.async_register_entity_service(, please create a bug report at https://github.com/BottlecapDave/HomeAssistant-OctopusEnergy/issues
Detected that custom integration 'octopus_energy' registers an entity service with a non entity service schema which will stop working in HA Core 2025.9 at custom_components/octopus_energy/sensor.py, line 141: platform.async_register_entity_service(, please create a bug report at https://github.com/BottlecapDave/HomeAssistant-OctopusEnergy/issues
Detected that custom integration 'octopus_energy' registers an entity service with a non entity service schema which will stop working in HA Core 2025.9 at custom_components/octopus_energy/sensor.py, line 157: platform.async_register_entity_service(, please create a bug report at https://github.com/BottlecapDave/HomeAssistant-OctopusEnergy/issues
Reproduction steps
Upgrade to latest HomeAssistant docker
Expected behaviour
None of these logs :)
Tariff Code
?
Integration Version
Latest
Home Assistant Version
2024.9.0
Fresh Install?
After upgrading
Home Assistant Logs
See above
Confirmation

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

same here

Same here :-(

Sorry for the late response, I've been away for a couple of weeks. I'll aim to fix this warning for the next release.

nice! thank you

The fix for this issue is now available in v13.0.0.


Correct watch command in readme

This PR fixes the README to reflect implementation -- It also adds a newline to the end of the final line.

Thanks!


Are transactions supported?

Are transactions supported? I tried a few ways to make a transaction, including raw queries, but none was successful.

Hi @MoridinBG – It looks like documentation is still pending (https://github.com/vapor/docs/issues/531), though (if using Fluent) you can see the basic concepts of creating, nesting and testing whether you're within one in https://github.com/vapor/fluent-kit/blob/master/Sources/FluentBenchmark/Tests/TransactionTests.swift

Hi @grundoon I am using postgres-kit directly. The fluent-kit example is just what I needed! I finally have working transactions!
The nested simpleQueries did it. I was trying to make it work with execute which didn't work.
It would be really nice if transaction support ends up in sql-kit or postgres-kit at least. Fluent can then build on top of that, while non-fluent clients can use transactions too.

U can take a connect from the pool and do whatever you want with it.


Cant upgrade from 8.1 to 8.2.1

I followed the manual steps:

Download the latest core from http://www.concrete5.org/download
Unzip the file. Remove all contents except the concrete directory.
At this point you should have a folder named something like concrete5.7.x.x, with only a "concrete" directory inside it.
Move the concrete5.7.x.x folder into your updates/ directory.
Head to Dashboard > System and Settings > Update Concrete5. The update should be listed, and you can click through to update to the latest version.

And then, I got this:
Class 'Symfony\Component\Form\AbstractTypeExtension' not found in application/src/Form/Extension/HelpTextExtension.php13
Any idea?

We do it by replacing the concrete directory. You may try this way.
Just replace your project concrete directory with the updated one and visit your website and then check environment.

I did this, but know I have a new error:
Class 'IPLib\Factory' not found /src/Permission/IPService.php98

@sev-signal Are you sure you copied the whole /concrete directory? It seems that you are missing some files from the /concrete/vendor directory...

Yes, I have just started again from scratch.
I removed the old concrete folder and replaced it by the new one.
Same error...
I'm working with the version of concrete available here: http://www.concrete5.org/download

Do you have the /concrete/vendor/mlocati/ip-lib/src/Factory.php file?

No I only have mlocati/concrete5-translation-library/src
I have this in my conposer.json file:
"mlocati/concrete5-translation-library": "1.5.*",
and this in my composer.lock
{             "name": "mlocati/concrete5-translation-library",             "version": "1.5.9",             "source": {                 "type": "git",                 "url": "https://github.com/mlocati/concrete5-translation-library.git",                 "reference": "8e8cbbf67718b9ae12b2a0038ed71df5b18658cf"             },             "dist": {                 "type": "zip",                 "url": "https://api.github.com/repos/mlocati/concrete5-translation-library/zipball/8e8cbbf67718b9ae12b2a0038ed71df5b18658cf",                 "reference": "8e8cbbf67718b9ae12b2a0038ed71df5b18658cf",                 "shasum": ""             },             "require": {                 "gettext/gettext": "~3.5.9",                 "php": ">=5.3.0"             },             "type": "library",             "autoload": {                 "psr-4": {                     "C5TL\\": "src/"                 }             },             "notification-url": "https://packagist.org/downloads/",             "license": [                 "MIT"             ],             "authors": [                 {                     "name": "Michele Locati",                     "email"<EMAIL_ADDRESS>                    "homepage": "https://github.com/mlocati",                     "role": "developer"                 }             ],             "description": "Library to handle concrete5 core and package translations",             "homepage": "https://github.com/mlocati/concrete5-translation-library",             "keywords": [                 "concrete5",                 "i18n",                 "internationalization",                 "l10n",                 "localization",                 "packages",                 "translate",                 "translation"             ],             "time": "2017-06-29T20:54:30+00:00"         },

The /concrete/vendor/mlocati/ip-lib directory is included in the file you download from http://www.concrete5.org/download ...

ow yes I can see it in the archive. Actually it has been deleted when I launched composer install.
Shall I grab the composer.json and composer.lock from the archive as well?

I guess so

:( it's not written in the upgrade documentation: https://documentation.concrete5.org/developers/installation/upgrading-concrete5
I will have a look at these file and will let you know. Thank you for you help

I just edited that documentation page by specifying that also the composer.json and composer.lock files should be replaced (you have to wait until the core team approves my changes).
Updating the documentation is an easy operation that everyone can do; you ave just to

go to https://documentation.concrete5.org
click the Sign In link and login
click the Edit Page you find bottom right

@aembler What about showing the Edit Page button even for guests? That way, everyone can know they can contribute (like the Translate button you can find at https://translate.concrete5.org/translate/package/concrete5: if clicked when you are not logged in, concrete5 will automatically bring you to the login page - but I guess you already know how it works :wink:)

Thank you @mlocati
Actually I'm not sure we need to update these files. the composer file at the root includes a composer.json which is inside the concrete folder. I don't know why mine is different, legacy? specific work from a dev? I'll do some cleaning so it works as it should

Shouldn't we merge composer.json. What if there's a tutorial saying that can run composer require to install a package? If we then override the existing composer.json we'll remove the package at some point.

I guess you are right, @Remo.
I think that the composer.* files need to be updated only if coming from a version up to 8.1.0: since version 8.2.* users could keep their composer.* files in the root (see composer.json for 8.1.0 vs composer.json for 8.2.0').
But please note that I've never used composer to install concrete5, so I'm not 100% sure about what I'm talking about 😆

Actually this composer.json  file inside the concrete folder is a new thing. Concrete5 team should explain how to migrate it

Now, when I'm running composer update I come across this error new error:
Class 'Symfony\Component\ClassLoader\Psr4ClassLoader' not found in /concrete/src/Foundation/Psr4ClassLoader.php on line 6
If I edit a file using the ClassLoader, I get this warning: 'undefined namespace ClassLoader'

I did some refactoring inside my composer files and managed to fix it.


output NAN when 2 is chosen and the cell is empty

if the cell is empty, what ever the chosen format style, just output dash (-)


llvmPackages: Reinstate overriding across whole package set

Description of changes
Pull #320261 introduced the possibility to consistently override
dependencies within an llvm package set. I think #325175 accidentally
dropped this, so reinstate it.
Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[x] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

I'm going to give this a bit of testing and report back if it works for me. When I'm happy I'll mark it ready for review.

I ran nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD" which successfully dropped me into a shell, and I've tested this works for my purposes.
/cc other reviewers of #325175 who may me interested: @paparodeo @reckenrode @alyssais

Shall we merge?


feat: fees.all tx type support

Overview
This PR introduces fees by transaction type.
Until now, we only had one fee model for all transaction types. This PR updates the way fees are stored and processed to allow us to define one fee model per transaction type.
Changes

Updated the json fee file format to have an upper level corresponding to the transaction type
Updated the fee parser to support the new top level that will be stored in ets
Updated the API endpoint fees.all to render the fees for each transaction type. Also introduced a new filter param for this endpoint tx_types which is an array of integer that can be passed to filter the result.
The json returned is now:

{
    "data": {
        "1": [
            {
                "amount": 0,
                "currency": "0x0000000000000000000000000000000000000000",
                "pegged_amount": 4,
                "pegged_currency": "USD",
                "pegged_subunit_to_unit": 100,
                "subunit_to_unit":<PHONE_NUMBER>000000000,
                "updated_at": "2019-01-01T10:10:00Z"
            }
        ]
    },
    "service_name": "child_chain",
    "success": true,
    "version": "0.3.0+6100faf"
}

Testing

Run tests
Test endpoint with CURL:

curl --location --request POST 'http://localhost:9656/fees.all' \
--header 'Content-Type: application/json' \
--header 'Accept: application/json' \
--data-raw '{
	"currencies": [],
	"tx_types": []
}'

Coverage remained the same at ?% when pulling 40a6d8276711d70943f113f910290037a9b34b85 on fees.all-tx-type-support into 40f899bc32797bc1ff3f286aef2b4c11f586af5c on master.

Decide if you want to validate your swagger schema changes with whitebread tests in elixir-omg.
There's also a pattern of with statements and case statements that we should try and unify. For example, I use with when when there's multiple clauses I need to match intermediary results, otherwise I would try to use a case and match all clauses (so that dialyzer can help me validate my assumptions).


How to use stream with function call

Confirm this is a feature request for the Node library and not the underlying OpenAI API.

[X] This is a feature request for the Node library

Describe the feature or improvement you're requesting
I'm using the openai.chat.completions.create call to send messages with functions like this:
const response = await openai.chat.completions.create({   model: "gpt-4-1106-preview",   messages: messages,   tools: tools,   tool_choice: "auto",   stream: true }); console.log(response)
If I set stream: false then the function call works but regular messages no longer stream back.
If I set stream: true then I get this error:
Stream {   iterator: [AsyncGeneratorFunction: iterator],   controller: AbortController { signal: AbortSignal { aborted: false } } }
How can I ensure that message streaming function still works but function calls also work as well?

I'm not sure what the issue or fix was here, but using the runTools helper (documented in the readme) works well with stream: true and may prove useful to you.


InventoryClickEvent click types

Is there a way to handle all inventory click event click types inside the SGButton withListener?
The event will allow only LEFT and RIGHT click types here but i want to also handle SHIFT_LEFT or SHIFT_RIGHT.
I tried to override the SGMenuListener onInventoryClick but it was firing both events

How did you do the override?
I had a look at the linked class and it seems a bit difficult to configure so I may update it to provide more customization options.

I pasted the whole class here: https://gist.github.com/xap3y/1249939421c0ff89bb12f237907cbfc8


Project/File View scrollbar ignores mouse click

[Similar to Issue #277]
The Project/File View's scrollbar ignores mouse clicks.

Click and drag of thumb does nothing
Click on empty area of scrollbar does nothing

Mouse wheel events do affect the scrollbar, however.

Verified fixed.


Not working since support for nodejs8.10 is removed by AWS

If possible could you please fix it?
Also while deploying manually AWS SAM CLI, facing following error:

npm run bd

<EMAIL_ADDRESS>bd C:\Users\saurabh\Downloads\amazon-cognito-facial-recognition-auth-master
npm run check-env && npm run package && npm run deploy

<EMAIL_ADDRESS>check-env C:\Users\saurabh\Downloads\amazon-cognito-facial-recognition-auth-master
if [ -e ${S3_BUCKET_NAME} ] || [ -e ${USER_POOL_NAME} ] || [ -e ${STACK_NAME} ] || [ -e ${SES_FROM_ADDRESS} ]; then exit 1; fi

-e was unexpected at this time.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>check-env: if [ -e ${S3_BUCKET_NAME} ] || [ -e ${USER_POOL_NAME} ] || [ -e ${STACK_NAME} ] || [ -e ${SES_FROM_ADDRESS} ]; then exit 1; fi
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>check-env script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR!       Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>bd script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR!      C:\Users\saurabh\AppData\Roaming\npm-cache_logs\2020-01-08T04_59_37_977Z-debug.log

Could someone please reply?

 Closing this issue for now :)

I got the same error


feat(prettier): add infra for need_parens

Current dependencies on/for this PR:

main

PR #1450   👈

This stack of pull requests is managed by Graphite.

Merge activity

Nov 20, 4:18 AM: @Boshen merged this pull request with Graphite.


Moving Dev => Staging

Moving 1.1.0 code to staging
This PR is for build no 78

Would reopen with new changes


restore component state in data grid when switching tabs

Order ID or Support key 💳 (optional)
66023
Duplicates

[X] I have searched the existing issues

Latest version

[X] I have tested the latest version

The problem in depth 🔍
If I use a TabPanel component that has a DataGridPro component as a child, then the state is not preserved when I switch tabs.
If the user changes a column width, this tweak is lost when they switch tabs.  I believe that I can do save and restore state using the API, but I would expect a simpler way of managing this, perhaps by keeping the TabPanel mounted even if it is not showing ?
Your environment 🌎

`npx @mui/envinfo`
  System:
    OS: Linux 6.2 Fedora Linux 36 (Thirty Six)
  Binaries:
    Node: 18.14.0 - /run/user/1001/fnm_multishells/173521_1689808956027/bin/node
    Yarn: 1.22.19 - /run/user/1001/fnm_multishells/173521_1689808956027/bin/yarn
    npm: 9.3.1 - /run/user/1001/fnm_multishells/173521_1689808956027/bin/npm
  Browsers:
    Chrome: Version 114.0.5735.199 (Official Build) (64-bit)

Isn't this a duplicate of #38178?

Running into this problem as well. I have data grid autosizing options turned on but switching tabs removes all the formatting. So switching back to a previously opened tab shrinks all the columns. I'm also not quite sure about the use of display: "none". Doing so seems to hide the entire panel content.


Internal DAC and ADC support for Classic Bluetooth Handsfree Example (IDFGH-14283)

Is your feature request related to a problem?
I am trying to turn an esp32 into a bluetooth handsfree device and use a 3.5mm trrs headphone with mic. I dont want to use an external dac or adc. I would just connect the pin 25 26 to the tip and ring, and the ring2 to the adc (35).
I have been able to play audio via internal dac after configuring the a2dp sink example, but there is no way to configure the hfp_hf example. Kindly add this config or help us achieve this.
Describe the solution you'd like.
A simple config to choose internal dac, and the pins for tip ring ring sleeve.
Describe alternatives you've considered.
No response
Additional context.
No response

Hi,  there are two types of audio datapath in the hfp_hf example: PCM and HCI. In PCM datapath, the internal DAC cannot be configured due to some limitations. But in vHCI datapath, the internal DAC can be configured (currently no configuration). So which datapath are you using?

@esp-qing thanks for your response, as per your suggestion I have configured it to use HCI data path, and made all DAC related configs. Still no sound from the headphone (I do get audio playback via headphone and internal dac with the a2dp example). Any guidance would be really helpful.


⚠ PrivateHD has degraded performance

In 9ffd605, PrivateHD ($PHD) experienced degraded performance:

HTTP code: 200
Response time: 1291 ms

Resolved: PrivateHD performance has improved in dbc1afe.


Fix ArcTo for iOS and Android platforms (with few tests)

ArcTo didn't work correctly.
I've added a few tests and updated iOS and Android implementations.
You can see, that ErulisseuiinSpaceshipPack.svg test result is now better for iOS, though there is no improvement for Android (which is also good - it isn't worse).
There is no built-in method to draw elliptical arcs on iOS, so ErulisseuiinSpaceshipPack.svg result is not the same as a source file. I've not implemented any fix for this case, but the following workaround can help for the one who decides to fix it http://stackoverflow.com/questions/11365775/how-to-draw-an-elliptical-arc-with-coregraphics.

You deserve more than a thumbs up for this! Thank you so much for figuring it out - the arc stuff kills my brain.
And thanks for the tests! Those spaceships are getting close!

@praeclarum I'll try to take a look into this stuff further during the next weeks. This part is pretty interesting for my brain :)
The library is awesome! I'm heavily relying on it in one of the projects. So there is more stress-testing coming ;)

Thanks. I just ran into these issues displaying a gauge-like control on iOS.
With these fixes it works perfectly. Perfect timing too ;)

@SeeD-Seifer Any explanation of how arc drawing actually works, as in how to figure out what to pass as parameters? I'm trying to port some SkiaSharp code to NGraphics as an experiment, and I can't for the life of me figure out how to port my arc calls.
Consider this code:
            renderContext
                .Canvas
                .DrawPath(
                    p =>
                    {
                        p.MoveTo(100, 150);
                        p.ArcTo(
                            radius: new Size(150, 200),
                            largeArc: false,
                            sweepClockwise: true,
                            point: new Point(200, 200));
                    },
                    pen: Pens.Black);
            renderContext
                .Canvas
                .DrawPath(
                    p =>
                    {
                        p.MoveTo(100, 150);
                        p.LineTo(new Point(200, 200));
                    },
                    pen: Pens.Green);
            renderContext
                .Canvas
                .DrawEllipse(
                    100,
                    150,
                    150,
                    200,
                    brush: new SolidBrush(Colors.Red.WithAlpha(0.5)));

Here's the render of this on Android:

Why doesn't the arc start and end at the same points as the line?

Interestingly, it only seems to function as expected when the radius of the arc is circular, not elliptical.

@kentcb I didn't need to use ellipses so I didn't test it.
This line looks like a reason of the issue: https://github.com/praeclarum/NGraphics/blob/master/Platforms/NGraphics.Android/AndroidPlatform.cs#L340

Yeah, have been playing around with that line and more. I can see that the bounding rectangle is moving down as the x radius of the arc increases. Just not sure I understand why yet, or what to do about it.

I believe the problem is actually these lines. That is, xd and yd are the wrong way around. Certainly that looks to be the case from my testing, but I'll try it out more before submitting a PR.


Spy on jasmine function from an Angular library is not working

I have an Angular library containing functions like "export function myFunction".
The project with the error have this library as a dependency and when I want to spy on the function, the error below is display:
myFunction is not declared writable or has no setter

Now the real world example:
A simple function from the library:
export function isNotEmptyString(value: any): value is string {
  return _.isString(value) && !_.isEmpty(value);
}

The dts of this function once packaged:
export declare function isNotEmptyString(value: any): value is string;

To spy on the function, I must have an object at some point.
So I use a custom module import to achieve this.
The spy on error:
import * as MyLibfrom 'my-lib';

const isNotEmptyStringSpy = spyOn(MyLib, 'isNotEmptyString').and.returnValue(false);

And the error is:
isNotEmptyString is not declared writable or has no setter

Now, if I use a spyOnPropety:
import * as MyLibfrom 'my-lib';

const isNotEmptyStringSpy = spyOnProperty(MyLib, 'isNotEmptyString').and.returnValue(() => false);

And the new error is:
isNotEmptyString is not declared configurable

I also tried to use differents module inside the tsconfig.json compiler options.
Like commonjs, CommonJS, ES2015 and ESNext.
There is no difference.
tsconfig.json
"compilerOptions": {
  "module": "commonjs"
}

Does anyone have a suggestion?
I am stuck with this :/
Thanks !
Environment:
"karma": "4.4.1"
"jasmine-core": "3.5.0"
"@angular/core": "9.0.5"

I'm sorry, but this issue is not caused by Angular CLI.
Please see the following Jasmine issue: https://github.com/jasmine/jasmine/issues/1414

Hi, I'm a Jasmine developer. I was able to reproduce this. It looks like the property descriptors that Angular 9 generates for module exports are marked read-only. Specifically, they have a getter but no setter and have configurable: false. As a result, it's not possible to overwrite the property with a spy.
I don't think there's anything Jasmine can do to fix this. We can only play by the rules of the language, and if the rules say that a property can't be set then we can't set it.
@C0ZEN Your best bet is probably to use dependency injection for anything that you want to spy on, rather than trying to spy on module exports.

@sgravrock thank you for your time and sharing this information.
Do you think that Angular could provide a way to generate configurable: true or  should I just take that other path and refactor all my tests ?

Do you think that Angular could provide a way to generate configurable: true or should I just take that other path and refactor all my tests?

These are actually not emitted by the Angular compiler but rather TypeScript and Rollup. Also, in this case it wouldn't be correct to change the the module exports definition to be configurable, because that shouldn't change.
I do agree with @sgravrock, that you should use DI if you want to spyOn.

@alan-agius4 ok, fine, so I must find a way with the dependencies as they are.
Nonetheless, are you talking about Angular's DI ?
Because pure functions, as well as I am aware of, have nothing to do with the DI since there is no decorator to make them available as tokens.

I am having the same problem. We basically have a utility package that has pure functions and we can't spy on them. We can't complete the coverage because of this.
@C0ZEN , have you found a solution?

@Skullpluggery I have found a workaround (which I do not like but I had to move forward with ng9, so no choice here).
I changed my way to test.
I removed all the spies on pure functions coming from the library.
So basically, instead of writing unit tests with a bunch of spies to control the behavior, I removed them and let the real behavior of the library be itself.
Hear me out, this is good thing for most of the cases, but sometimes I prefer to use a spy and now this is no longer possible.

For an Angular CLI built application, construction of the namespace object is performed by Webpack within its runtime.
A module namespace object is considered an exotic object by the ES standard and has very specific behavior (each of the internal methods are customized).   The relevant section is found here: http://www.ecma-international.org/ecma-262/6.0/#sec-module-namespace-exotic-objects
Of note in that section is that each export property should be writable.  The generated Webpack namespace object appears to create accessor property descriptors instead of data property descriptors (ref: http://www.ecma-international.org/ecma-262/6.0/#sec-module-namespace-exotic-objects-getownproperty-p). However, even if this were changed, namespace objects are not intended to be mutated and other bundlers (such as rollup) also do not allow this behavior.  Some type of import mocking setup could also be an option for this scenario.

Adding "module": "commonjs" in tsconfig.spec.json lets you spyOn exported functions in angular.
1.abc.spec.ts
import * as MyLibfrom 'my-lib';
const isNotEmptyStringSpy = spyOn(MyLib, 'isNotEmptyString').and.returnValue(false);

tsconfig.spec.json
"compilerOptions": {
"outDir": "../out-tsc/spec",
"module": "commonjs",
"target": "es5",
"types": ["jasmine", "node"]
}

Note that you need to add module in tsconfig.spec.json not in tsconfig.json.

@C0ZEN if the function is pure you are ok.
But how would you control a random() function for example?
And what if you want to test how many times a function was called or the params it was called with?
I also had @shwetasingh237 solution and works great for testing.

@shwetasingh237 @gkamperis either Angular/jasmine has changed (highly improbable) and the problem is gone or you are just not using a good reproduction of the problem.
Just a quick reminder of the problem:

Create a library with pure functions and packaged by ng-packagr
Consume the library in an Angular application
Spy a pure function from the lib

Changing the module to commonjs is a good solution INSIDE a library nevertheless this is no longer working OUTSIDE of the library.
Please @shwetasingh237, could you confirm that you are testing in this context because if this is true, then a "good" workaround is now possible and this would be awesome.

@C0ZEN I don't understand why the setup is important.
I had the same issue going to ng9 with tests that used jasmine.spyOn() on a local module function and on other 3rd party package functions (is purity is important in this case?).
Also what is the difference between you own module function and an external ng-packagr packaged function? spyOn works the same.

@gkamperis well I am just the dude reporting the issue. I can not tell you more than this is not working for me and it seems that it will stays that way.
If you read above the comments you will figure out that Angular add the configurable: false and this seems the right thing to do.
Jasmine is then not able to Spy the function and here we are with a breaking change on the tests with ng9 and the only smart thing to do is find a workaround or change the way to test.

@C0ZEN understood.
But the compilation result is dependent on the way the "module" property works and setting it to commonjs for testing is a workaround that does allow to use spyOn().

@gkamperis as I said, this is not working anymore with ng9.
This is explained within the issue itself.

I also tried to use differents module inside the tsconfig.json compiler options.
Like commonjs, CommonJS, ES2015 and ESNext.
There is no difference.

@C0ZEN it is working for me.
I think you need to read again @shwetasingh237 's comment.
You have two different tsconfigs. One for app building and one for specs.
The module property is different in each.

@gkamperis I do have a different target between my tsconfig files and I am obviously speaking about the spec one.
I have a reproduction (updated to ng 9.1.x) with commonjs module and es5 target and this is still not working.
Like
Error: <spyOn> : isNotEmptyString is not declared writable or has no setter
Usage: spyOn(<object>, <methodName>)

With
import * as MyModule from 'my-lib';
spyOn(MyModule, 'isNotEmptyString').and.returnValue(false);


Flash not working

I am having issues getting the flash to work on the latest build. When I set  flashEnabled = true , it does nothing. Any idea why this doesnt work?
EDIT: This ended up being something on my end. Sorry about that! Flash is working just as expected.

Ok sounds good! The behaviour of the flash has changed with the new update to be more similar to Snapchat. Let me know if you are having more problems
Andrew


Easing was renamed to easing node in reanimated 2.

Describe the bug
Renamed methods:

interpolate renamed to interpolateNode#
When using interpolate imported directly from react-native-reanimated v1, in v2 you should use interpolateNode instead. If you were using a class member method AnimatedValue.interpolate, no change is necessary.

Easing renamed to EasingNode#
When using Easing imported from react-native-reanimated v1, in v2 you should use EasingNode instead.

+1


⚠ Bofrost.at has degraded performance

In dc60a10, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 914 ms

Resolved: Bofrost.at performance has improved in a96344d after 304 days, 9 hours, 47 minutes.


Feature request:  add FragmentPluginBinding or FragmentAware

Use case
Why don't we have FragmentPluginBinding or FragmentAware?
When we develop a plugin, we can get some engine information through various callback in XXXPlugin , such as the attached activity, but Fragment is also one of the hosts of the engine, why can't we get it?
Proposal
Provide some way so that we can get the host of the current engine (activity/fragment/others) in the upper layer.

Related issue:
https://stackoverflow.com/questions/72434138/flutterfragment-with-flutterplugin-how-to-get-a-reference
https://9to5answer.com/how-to-use-android-fragment-in-flutter-plugin


Preferred cleanup workflow?

When making a large amount of changes, would the maintainers rather see a PR for every change, or a batch of some size? I was bored and wrote a script to check if the repos here were archived and what their last commit date was. Of the first ~100 there are 8 archived and another 19 that haven't been committed to in 2024. Thanks!

Hi that's great, both are fine, what's easier for you! Bonus points if you can somehow shoehorn it into the link checker CI task: https://github.com/rockerBOO/awesome-neovim/blob/main/.github/workflows/links.yml


Extend length limit of alias name

Proposed changes
This PR extend the length limit of an alias name.
Types of changes
What types of changes does your code introduce to the project: Put an x in the boxes that apply

[ ] Bugfix (non-breaking change which fixes an issue)
[X] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Update only documentation, not any source code.

Checklist
Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of
them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before
merging your code.

[X] I have read the CONTRIBUTING doc
[ ] I have signed the CLA
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] I have added necessary documentation (if appropriate)
[ ] Any dependent changes have been merged and published in downstream modules

Further comments
N/A

Coverage remained the same at 100.0% when pulling 59bcf661128cdb74e6c89ef67cc43225b965608b on fisuda:hardening/alias_name into db1ec78ae204a5f7e5af1a2d714a21df7a8b767f on lets-fiware:main.


causal judgment answer keys with acceptable rationales?

Hi @suzgunmirac, thanks for sharing the prompts and datasets for BBH.
I'm exploring reasoning capabilities in smaller models (< 20B parameters).
Instead of comparing "answers," I'd like to compare rationales to use as a benchmark on how well they perform.
As such, have you an answer key for the causal judgment dataset with acceptable rationales for the target answer to share?
It seems some of the questions in the dataset can plausibly take both yes or no as an answer since the answer is more of a judgment call, even as the target specifies just one possibility...
Some examples below:

Questions from the causal_judgement.json (0 index)
Answers + rationales from a model.

Question #1:

Did John's job cause his premature death?

yes because: John's job caused his lung cancer which caused his premature death
no because: John's job caused his lung cancer, but not his death.

Question #18:

Did the plastic division's relocation cause John's premature death?

yes because: asbestos is carcinogenic
no because: John's death was the result of a combination of factors, not just one.

Question #27:

Did Jim turning on his lamp at 8 PM cause the circuit breaker to fail?

yes because: Jim is the first person to turn on a lamp.
no because: it is not just jim's lamp

Question #44:

Did long-term exposure to asbestos cause John's premature death?

yes because: asbestos is known to cause lung cancer
no because: Lung cancer is not the only illness caused by asbestos.

Hi @i-am-neo,
Thank you very much for your interest in BIG-Bench Hard (BBH), and please excuse me for my belated response. Exploring the reasoning capabilities of smaller language models seems quite exciting and interesting, and please keep me updated on your research.

To address your question regarding the ground-truth rationales for the "Casual Judgement" task, I regret to inform you that we do not possess any such data at present. When curating the BBH dataset, we only drafted rationales for the few-shot examples used in our prompt examples, and none for the other examples in the evaluation suites. However, if you think it would be useful to compare the rationales generated by your models with those produced by the Codex model (code-davinci-002), please feel free to do so, however.

I agree with your observation regarding the ambiguity of the "Causal Judgement" task. Some of the questions in this task may have multiple plausible answers as the answer depends on one's subjective judgment. When we conducted our experiments and wrote our paper, we had internal discussions about this issue as well. We found that despite using CoT prompting, we did not observe any improvements in the "Causal Judgement" task. However, we reported our findings accurately and transparently, leaving further investigation of this task for future work.

Hope this response helps; please let me know if you have any further questions or comments.

@suzgunmirac Hello again, thanks for your suggestion on comparing rationales with that from code-davinci-002.
Given that it looks like text-davinci-002 performed at ~63.6% both on Direct and CoT (compared with codex at 63.6/56.7), might you have the cot results for text-davinci-002 available? If so, we'd be interested in comparing the rationales we have against that.
(The numbers from the Flan paper), page 41.
Thank you.


fix(932100): update data list

Signed-off-by: Felipe Zipitria<EMAIL_ADDRESS>Updated data list based on unix-shell.data.
I've also added some regexes for programming languages with versions.
Fixes #2673 .

Added more tests
Changed test titles to match our generic naming

Sorry, I haven't had time to look at this one either, yet. It, also, is still on my todo list.

I think the following items would profit from @.
ash
bridge
bundler ...
column
dd
docker
finger
genie
gimp
install
latex

Addressed comments, and added more bare English words with @. Also, removed some repeated ones.

Oops, sorry: I didn't follow up my earlier comment. After looking at this more closely, the same as with #2677: I don't think there are concerns about adding in anti-evasion patterns as there isn't a specific suffix being searched for, so it's fine (e.g. lua5"".4 won't work as an evasion as it will still match on lua.)

In summary: adding the numbers won't give us added value in this case, so I'm reverting them back to their original positions in the file and removing the specific cases.

Tests are failing now, but that could be due to a temporary problem with our pipeline that should be solved now. Re-running jobs.

Two test failures persist:
running 932100-28: 💥 failed in 4.404215ms - POST data: arg=;gcc10.1
running 932100-29: 💥 failed in 4.240415ms - POST data: arg=;irb31

That happens after the last update from @RedXanadu. I've removed the suffix search. But looks like now we are not matching anymore.

Note that this issue is affected by the same thing as #2677. We need to figure out how we ignore python but still catch python3. I've suggested adding an additional symbol for an adjusted anti-evasion pattern in the other PR.

Updated:

irb -> irb~
gcc -> gcc~

🤔 Looks like they fail when using ~... but didn't failed previously. Let's try removing that.

I might be stating the obvious but you'll need to change gcc to gcc~ in the data file for the new test to work (same for irb).

Thanks for the tips. Looks like working now. Following approval, let's merge then.


Simple functions that don't need passing around handles, only filenames or file contents

The withTempFile functions are useful for serious work with file handles, but this is awkward if all you want to do is dump some data and be sure you don't overwrite anything. writeTempFile now does just that.
Furthermore: not always can you actually generate a file from within Haskell, like openTempFile prepares for us.  Sometimes, the actual file must be generated by an external library- or even process call, which can't use handles but just needs a target file name. I added a function which only uses the functionality to generate such unique-new file names, but doesn't actually generate any files, relegating this to a supplied action.
(Actually the implementation is a bit more hackish: it generates a temporary file with openTempFile, immediately deletes it and uses the file name for whatever the user needs it to.

Is there any chance this PR is going to make it yet?

Sorry, yes. It looks perfectly reasonable to me. withSystemTempFileName is obviously inherently racy but it's up to the programmer to only use it contexts where that is OK.

Hmm, maybe you should submit this to https://github.com/feuerbach/temporary instead? Looks like those guys have uploaded new packages to my hackage location.


Problem: Can't reliably link events to the commands that created them

This is an issue with tracking events through the system, to get proper metrics and to make replaying/testing the system easier.
Solution: Events get an extra field which is the id of the command that created them

Working fine, tests look good. It is a large amount of code just to add one value, this might be a sign that our code needs to be refactored to make it cleaner.

Looking at this code the next day, it's actually fine, all the concepts are where they belong. Happy to close this issue.


Error in the console

Description
This error shows up in the console now and then: https://pastebin.com/062yFdpw
Environment details

Server type/version: Tuinity running version 1.16.4 build ed9e0c4
LuckPerms version: LuckPerms (5.2.32)

I suggest you send your full startup log, instead of just a few line. And also good to update https://luckperms.net/download and test with only luckperms installed.

I'll try updating, this error has been around for a few months though on older versions as well. This error does not occur on startup, but randomly when the server is running. Startup: https://pastebin.com/DEt3p3tz

Thanks, should be fixed by the above commit :)


How I can save and load custom property, that user not must to see and change?

Hello.
I working on drag and drop columns in pivot table 2.
I realized functionality drag and drop, but, after reloading page order drops. I need to save that order in chart form Data.
My pivot table 2 files
![
I initializing columnsOrder variable in transoformProps.ts, and passing it to Pivot Table Chart.tsx
![
And in TableRenderer.jsx, in this.props I getting my initialized variable for saving and using order.
How do I save my columns Order to chart, and use it after refresh page or in dashboard?

I'm going to covert this to a discussion as it's just Q&A and not actually an issue with superset


Disable final dots

It could be an option to allowed disable the final dots?
I can make a PR with it

+1 @h2non, have you been able to post a PR for this issue ?

+1
Really useful!

+1 PR yet?

+1


Make imas2tofu more robust

versus:

geom=True and data=False (define chans) in load_Diag()
user providing ids or dids or (shot, user....) => implement methods in objects using utils
use same names of diagnostics as IMAS

Solved by PR #127


As a dev, I want to migrate the GET /health route from Flask to FastAPI

Description
Context
Migrate the GET /health route from Flask to FastAPI.
Acceptance Criteria

Implement GET /health route in FastAPI.
Ensure Swagger documentation is working properly after migration.
Write tests to verify the route functions correctly.

Closing as done in #191