server to client ble coms: two characteristics with notifications failing to notify the right characteristics at the client

Simple setup:
/* service org.openfencing.sensor uuid128=0xbf202546424fdc143d352c45a683b90c*/
struct bt_uuid_128 bt_uuid_org_openfencing_sensor = BT_UUID_INIT_128(0xBF, 0x20, 0x25, 0x46, 0x42, 0x4F, 0xDC, 0x14, 0x3D, 0x35, 0x2C, 0x45, 0xA6, 0x83, 0xB9, 0x0C);
/* characteristic org.openfencing.sensor.start uuid128=0xadd90206e4042b8a3969db3101180322*/
struct bt_uuid_128 bt_uuid_org_openfencing_sensor_start = BT_UUID_INIT_128(0xAD, 0xD9, 0x02, 0x06, 0xE4, 0x04, 0x2B, 0x8A, 0x39, 0x69, 0xDB, 0x31, 0x01, 0x18, 0x03, 0x22);
/* characteristic org.openfencing.sensor.event uuid128=0x06d9f3f2cad165cfd866be3cf42bb728*/
struct bt_uuid_128 bt_uuid_org_openfencing_sensor_event = BT_UUID_INIT_128(0x06, 0xD9, 0xF3, 0xF2, 0xCA, 0xD1, 0x65, 0xCF, 0xD8, 0x66, 0xBE, 0x3C, 0xF4, 0x2B, 0xB7, 0x28);
/* characteristic org.openfencing.sensor.status uuid128=0x7ee17ac4458eb593195a2e9f2a30d0d5*/
struct bt_uuid_128 bt_uuid_org_openfencing_sensor_status = BT_UUID_INIT_128(0x7E, 0xE1, 0x7A, 0xC4, 0x45, 0x8E, 0xB5, 0x93, 0x19, 0x5A, 0x2E, 0x9F, 0x2A, 0x30, 0xD0, 0xD5);

static u8_t fs_gatt_start[FS_CHAR_SIZE_START];
static u8_t fs_gatt_status[FS_CHAR_SIZE_STATUS];
static u8_t fs_gatt_event[FS_CHAR_SIZE_EVENT];

enum fs_gatt_attrb_indxs {
	fs_gatt_attrb_indx_primServ = 0,
	fs_gatt_attrb_indx_start = 1,
	fs_gatt_attrb_indx_event = 2,
	fs_gatt_attrb_indx_event_ccc = 3,
	fs_gatt_attrb_indx_status = 4,
	fs_gatt_attrb_indx_status_ccc = 5,
};

/* fencing service */
BT_GATT_SERVICE_DEFINE(fs_cvs,
	BT_GATT_PRIMARY_SERVICE(&bt_uuid_org_openfencing_sensor),

	BT_GATT_CHARACTERISTIC(&bt_uuid_org_openfencing_sensor_start.uuid,
			BT_GATT_CHRC_WRITE,
			BT_GATT_PERM_WRITE,
			NULL, write_fs_start, fs_gatt_start),

	BT_GATT_CHARACTERISTIC(&bt_uuid_org_openfencing_sensor_event.uuid,
			BT_GATT_CHRC_READ | BT_GATT_CHRC_NOTIFY,
			BT_GATT_PERM_READ,
			read_fs_event, NULL, NULL),
	BT_GATT_CCC(event_ccc_event_changed, BT_GATT_PERM_READ | BT_GATT_PERM_WRITE),

	BT_GATT_CHARACTERISTIC(&bt_uuid_org_openfencing_sensor_status.uuid,
			BT_GATT_CHRC_READ | BT_GATT_CHRC_NOTIFY,
			BT_GATT_PERM_READ,
			read_fs_currentStatus, NULL, NULL),
	BT_GATT_CCC(event_ccc_currentStatus_changed, BT_GATT_PERM_READ | BT_GATT_PERM_WRITE),
);

void myTest1(void) {
fs_gatt_status[0] = 0x2;
bt_gatt_notify(NULL, &fs_cvs.attrs[fs_gatt_attrb_indx_status], fs_gatt_status, sizeof(fs_gatt_status));
}

void myTest2(void) {
bt_gatt_notify(NULL, &fs_cvs.attrs[fs_gatt_attrb_indx_event], fs_gatt_event, sizeof(fs_gatt_event));
}

no program crashes errors while running test 1 or test 2
If I am checking the client gatt db via (nrf connect and own ble python script) I see that the status is written to the event gatt db characteristic. for me looks like that the characteristic handle/index is wrongly calculated.
my hardware setup: nRF52840 + nRF52840 Dongle

The BT_GATT_CHARACTERISTIC() macro expands into two attributes, so my first guess is that your indices are wrong.

Count 2 per characteristic.
So that would explain why start notify, turns into event notify.
enum fs_gatt_attrb_indxs {
	fs_gatt_attrb_indx_primServ = 0,
        /* decl  1 */
	fs_gatt_attrb_indx_start = 2,
        /* decl  3 */
	fs_gatt_attrb_indx_event = 4,
	fs_gatt_attrb_indx_event_ccc = 5,
        /* decl  6 */
	fs_gatt_attrb_indx_status = 7,
	fs_gatt_attrb_indx_status_ccc = 8,
};

thx to @jhedberg and @joerchan the enum values were wrong
Maybe put some note on the gatt database generation into GATT API to avoid others tapping into that trap
As well all samples(so far) only having one characteristic per service that offers notifications/indications. p.e cts service

The BT_GATT_CHARACTERISTIC() macro expands into two attributes, so my first guess is that your indices are wrong.

OMG, those "helper macros" are already weird in general but how would anyone know this?

OMG, those "helper macros" are already weird in general but how would anyone know this?

100% agree, CC: @alwa-nordic @jori-nordic This is a common gotcha that creates problems for many users of the API. This could be improved in documentation, which is very sparse when it comes to how to create and handle a GATT database. The samples only demonstrate simple ones.

For now, please use bt_gatt_find_by_uuid for locating the attribute in less fragile manner.


Helm install  edgemesh-gateway error

What happened:
Installation failed according to official documentation

What you expected to happen:
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
I looked at the source code and when I added the -- set nodeName=masternode parameter, the installation succeeded. But I don't understand why there is a nodeName, and we still need to configure relayNodes. What is the use of relayNodes in the gateway?
Environment:

EdgeMesh version:

Kubernetes version (use kubectl version):

KubeEdge version(e.g. cloudcore --version and edgecore --version):

Cloud nodes Environment:

Hardware configuration (e.g. lscpu):
OS (e.g. cat /etc/os-release):
Kernel (e.g. uname -a):
Go version (e.g. go version):
Others:

Edge nodes Environment:

edgecore version (e.g. edgecore --version):
Hardware configuration (e.g. lscpu):
OS (e.g. cat /etc/os-release):
Kernel (e.g. uname -a):
Go version (e.g. go version):
Others:

The nodeName parameter is only used to specify the k8s node deployed by edgemesh-gateway.


Updated file to TinyCLROS 1.0 - NUCLEO-F411RE

Update File to TinyCLR OS 1.0 - master branch

Thanks a lot for the update!


ImageImport_drop_rhel_6_e2e_test

As agreed, we will keep supporting RHEL-6 but dropping it's e2e test.
/cc yswe
/assign yswe

/lgtm


improvement(StructuredEvent.svelte): Add known_issue field

This commit adds a new field for Structured event. If known_issue
field is found, a link to it is generated and added to the Event element
Fixes scylladb/qa-tasks#1730

@juliayakovlev would love to see this one goes in


Failing testcase with empty string valued path parameter.

This one is unclear. With one last empty string parameter it's fine, but what if it's not last? What if there are two empty strings? It would become ambiguous. I think a better approach would be to use optional path segment with a default value.

If it is not last then I would expect it to produce the string for ie. /user//foo. Two empty: /user//. Maybe I havent thought this through but it seems very weird that the string <-> location mapping is not one to one. Generating hrefs that cannot roundtrip into the equivalent location seems very unsound. What other criteria do you weigh higher ?

If the problem is still happening, please file a new issue


docs: Add description about "plugins" section of stylelint configs

Related: #113

:tada: This PR is included in version 1.0.9 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Unable to refocus when switching back to split using keyboard

When using the window:focus-pane-above (cmd-k cmd-up) or similar I can not refocus an already running terminal pane.

same problem.

Dup of #6


⚠ Samsung has degraded performance

In b83e32b, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 2477 ms

Resolved: Samsung performance has improved in cf4473c.


Tooltip is not formatted - TimeSeries panel - 9.3.X+

Hi @Slach ,
Description:
After upgrading to Grafana 9.3.X, with the latest version of plugin (2.5.3), on TimeSeries panel, the tooltip information is not formated as the legend:

It happens when the user tries to change the timerange or the series changes due to variables/templating.
I have tried to debug a bit and test other Datasources and the problems seems to the way that the Dataframe is built and the current  Grafana version is not able to format it...
Apologies for opening this issue here instead of Grafana, but wanted to share with you, as I'm not sure that the Draframe is being built as it should
Tested with:

plugin version: 2.5.3
grafana 9.3.0 (KO), 9.3.7(KO), 9.4.7 (KO), main[pre 9.5] (KO)

Note:

grafana 9.2.15 (OK)

Repro case:

Create a Dashboard with altinity-grafana as DS and use some query like the following:

  SELECT
      $timeSeries as t,
      count(<field>) as field,
      <group_column>
  FROM $table
  WHERE $timeFilter

  GROUP BY t, <group_column>
  ORDER BY t, <group_column>

Validate that when the user changes the timeRange the tooltip differs from legend and it takes format as:

{name="<group_column_value>"}

Extract the Dataframe

Create new panel using TestDB as Datasource, select RAW Frame and paste the extracted Dataframe:

Validate that the problem is directly related with the current Dataframe spec

Example:
The following Dataframe has been extracted from CH query and modified in order to let you to reproduce the case:
group_column_value = {"serie A"|"serie B"}
[
  {
    "schema": {
      "name": "serie A",
      "fields": [
        {
          "name": "Time",
          "type": "time",
          "config": {}
        },
        {
          "name": "Value",
          "type": "number",
          "config": {}
        }
      ]
    },
    "data": {
      "values": [
        [
<PHONE_NUMBER>000
        ],
        [
          1
        ]
      ]
    }
  },
  {
    "schema": {
      "name": "serie B",
      "fields": [
        {
          "name": "Time",
          "type": "time",
          "config": {}
        },
        {
          "name": "Value",
          "type": "number",
          "config": {}
        }
      ]
    },
    "data": {
      "values": [
        [
<PHONE_NUMBER>000
        ],
        [
          1
        ]
      ]
    }
  }
]

Hi @Slach , to add more info, I found that on the following Grafana dashboard there is the same behaviour, as the legend values is different than the shown tooltip
https://play.grafana.org/d/data-frame-scenarios-timeseries-panel/data-frame-scenarios-timeseries-panel?orgId=1&var-scenario=multi-frame&var-resultState=success&var-generator=frontend
Note that if you edit the panel and you add a "dummy" transformation like Join by fields -> OUTER Time and then you disable it again, the tooltip is well formatted. For some reason its the first time that it renders the panel...

My experience has been that the tooltips are correctly formatted on first load, but any change after that causes this issue to occur.
That includes an automatic reload of the data on the page...

@Slach , @cjw296 as I supposed, it was a Grafana problem.
The following PR https://github.com/grafana/grafana/pull/69289 fixes it (tested locally with docker :main) and working fine.
Note the related issue, as some other DS plugin owner reported it to Grafana
@Slach , as it is suggested, a legacy format (Time/Value) is being used, it would be convenient to adapt to the recommended dataframe format
Closing this issue.
Thanks,
Regards

@sbengo thanks for sharing your feedback

Hi @Slach , we have upgraded Grafana to 10.0.3 and I was wrong: the issue has been fixed when the user changes the variables, but for some reason, when the user changes the range time, the panel renders with bad format, as explained on this issue.
I think that Grafana team missed that case, as I reproduced it on the play.grafana dashboard:
https://play.grafana.org/d/data-frame-scenarios-timeseries-panel/data-frame-scenarios-timeseries-panel?orgId=1&var-scenario=multi-frame&var-resultState=success&var-generator=frontend

@Slach , I have already asked on the original issue: https://github.com/grafana/grafana/issues/69207#issuecomment-1700392085

@sbengo let's wait when https://github.com/grafana/grafana/issues/74281 will resolve

@lunaticusgreen could you check
SELECT
  $timeSeries AS t, sum(too_big_value), service_name
FROM default.test_grafana GROUP BY t, service_name ORDER BY t, service_name

tooltip the same with legend
if yes then close issue


Some quest completions not being saved?

Shouldn't be possible to have both Daily Sortie 1 and 2 selected.  Daily Sortie 1 didn't disappear when I went through the tabs of the Quest menu either.

ah yes, i noticed it too, but as @dragonjet said, in this post
http://kancolle.wikia.com/wiki/User_blog_comment:Dragonjet/KC3改/@comment-Fleux-20150710135142/@comment-Dragonjet-20150710141327?action=history

hi, if this was after the quest reset today, you'll need to click on the appropriate reset buttons to clear the statuses and revisit the quest page after that to refill what quests are really active.


What do the digits in the "Activity" page mean?

There are many digits in the "Activity" page. What do those digits mean?

The "Activity" tab displays commit statistics at various levels:

32-week view: Shows the commit count for each of the past 32 weeks.
Hourly statistics: Shows the commit count for each hour of the day.
Weekly statistics: Shows the commit count for each day of the week.
Monthly statistics: Shows the commit count for each month of the year.
Yearly statistics: Shows the total commit count for the entire year.

OK, it's all about commit count. Thanks.


Improve sizeof for pd.MultiIndex

[ ] Closes #xxxx
[ ] Tests added / passed
[x] Passes pre-commit run --all-files

This is significantly closer to sys.getsizeof when the MultiIndex gets larger. Every MultiIndex level is a new Index itself.
cc @crusaderky

You are not alone. My guess is that it was necessary to make the test pass? No clue, the new implementation is significantly more accurate when the Index gets larger

Explanation:
The current implementation assumes that every level has object dtype, which is rarely correct
The new implementation provides an accurate results for every non-object level and estimates object levels, which is better than just assuming every level is object
So in all-object cases it’s the same result while it should be closer to the truth for every other case


Fix naming issue in stress_test

(via<EMAIL_ADDRESS>Under some configurations gRPC includes google3 base headers.  google3
has a namespace "thread" which mixes poorly with unqualified use of the
type std::thread; adding that namespace to various google3 headers
breaks this test.

LGTM. I will merge once the other checks pass.


v1.2.3 (or 4?) - --api unrecognized

I have followed the instructions in the README for installing this locally, including adding the --api to the COMMANDLINE_ARGS in webui-user.bat, however when SD starts up it doesn't seem to pick up on that.

Everything seems to be running smoothly until I get into PS, then I get the "You forgot to add --api" popup and nothing ever loads.
Not sure about the version number, b/c I installed 1.2.3 from the releases section, but in the plugin window it's showing 1.2.4 in the upper right.

There are multiple issues here:

Your Auto1111 is not mounting the API. You can’t use the plugin until you solve this issue. This could be caused by an outdated Auto1111 webui version.
Version 1.2.4 is only available to the public through method 3 (the UXP method) or through early access via Patreon, where patrons have access to the .ccx and .zip files of v1.2.4.


[add] ss/thumb_file locales

Coverage remained the same at 82.783% when pulling 3058d9c22d0a0ff0e0d307fade58fbd331b7e695 on sunny4381:features/ss_thumb_file-locales into 26b5fba66ba5321f76c23da4730d30e78bd98367 on shirasagi:master.


Add Angola, fix Portugal holidays, All Souls' Day

refs #276

Adds Angola holidays

For information, read and make sure you're okay with the CONTRIBUTING document.

[x] Tests with a significant number of years to be tested for your calendar.
[x] Docstrings for the Calendar class and specific methods.
[x] Calendar country / label added to the README.rst file,
[x] Changelog amended with a mention like: "Added <country> by @pseudo (#)"

Restores Portugal holidays that were of by 2013 to 2015. wikipedia pt wikipedia en

Fixes Portugal holidays as carnival in not a national holiday (in some regions and some companies, and public workers sometimes get a break);

Adds All Souls' Day to common wikipedia

[x] Tests with a significant number of years to be tested for your calendar.

[x] Changelog amended with a mention describing your changes.

This closes #276 , closes #275 , closes #274 .

Your changes are now part of https://pypi.org/project/workalendar/2.6.0/
Enjoy!


Set a Gate time delay above 48 hours

I would like to be able to set a time delay of 94 hours (four days) for a post approval Gate. Is there a reason this delay is capped at 48 hours?

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

ID: 16b27fd8-df35-5e98-8c6e-2924f541a504
Version Independent ID: 4c6e6300-2354-a9ec-0cf3-7f935ea268ce
Content: Understand approvals and gates - Azure Pipelines
Content Source: docs/pipelines/release/approvals/index.md
Product: devops
Technology: devops-cicd
GitHub Login: @RoopeshNair
Microsoft Alias: ronai

Can you help me with the scenario?
Delay before evaluation is meant to be the time samples from the gates might be unreliable. During this time, samples are collected for reference purpose.
If you need to delay start of gates overall, it is recommended to use a delay task in the deployment process.

@edgariscoding Thank you for your feedback. The updated article will go live shortly.


Removing reference to InstructorCourse

Replaced InstructorCourse reference with CourseAssignment.

Hi @JonJam, I'm your friendly neighborhood .NET Foundation Pull Request Bot (You can call me DNFBOT). Thanks for your contribution!

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. Real humans will now evaluate your PR.

TTYL, DNFBOT;

@tdykstra  please review

@JonJam Thanks!

@tdykstra No problem, happy to help.


firefox extension

pack the files in firefox into a .zip file, and use firefox URL "about:debugging" to temporarily load the extension. however it come up an error: "TypeError: NetworkError when attempting to fetch resource.    tf.min.js:17:185424"

pack the files in firefox into a .zip file, and use firefox URL "about:debugging" to temporarily load the extension. however it come up an error: "TypeError: NetworkError when attempting to fetch resource. tf.min.js:17:185424"

How to fix that error?

i found that it's the problem of CORS (https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS).
add the code below into manifest.js can solve the problem
"permissions": [ 		"https://ernestchu.github.io/nsysu-captcha-solver/assets/model_tfjs/model.json" 	],

LGTM. Thanks.


Add AppInsights resource

Stealing from https://github.com/Azure-Samples/eShopOnAzure/tree/main/src/AzureServices
Part 1 of https://github.com/dotnet/aspire/issues/1867
Microsoft Reviewers: Open in CodeFlow

Add support for provisioning?

azp up works according the Matt Ellis. Or is there more to the provisioning story?

This is good enough to merge.


fixcast string literal to date like type should not be an implict cast

Proposed changes

cast string literal to date like type should not be an implict cast
the string representation of float like type should not be scientific notation
the data type of like function's regex expr should be string type even if it's a null literal
add -Xss4m in fe.conf to prevent stack overflow in some case

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

run buildall

run buildall


Update the label in the availability.json in the item level

In the item level, the label in the availability.json should pull the value from the holding_location.label which is the external_name value in alma.
Example with a temp location: mms_id:<PHONE_NUMBER>506421, holding_id:<PHONE_NUMBER>0006421.

closed by #1428


TypeError: setCoordinates() takes 3 positional arguments but 4 were given

If I update the FontTools dependency of https://github.com/arrowtype/recursive-code-config from fonttools==4.17.0 to fonttools[lxml,ufo,unicode]>=4.26.1 (as is suggested by pip when I install ttfautohint-py, I suddenly run into the following error:
Traceback (most recent call last):
  File "/Users/stephennixon/type-repos/recursive-code-config/scripts/instantiate-code-fonts.py", line 240, in <module>
    splitFont()
  File "/Users/stephennixon/type-repos/recursive-code-config/scripts/instantiate-code-fonts.py", line 157, in splitFont
    dlig2calt(outputPath, inplace=True)
  File "/Users/stephennixon/type-repos/recursive-code-config/scripts/dlig2calt.py", line 71, in dlig2calt
    font['glyf'].setCoordinates(glyphName, newCoords, font)
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/fontTools/misc/loggingTools.py", line 529, in wrapper
    return func(*args, **kwargs)
TypeError: setCoordinates() takes 3 positional arguments but 4 were given

If I re-install the older version, that works fine.
I don’t think I’m giving 4 args to setCoordinates(), but I’m probably misunderstanding something basic. It’s probably not super necessary for me to update FontTools in that project, as the older version is working fine, but I’d like to learn about it if I’m missing something obvious, or if there is a bug, I wanted to maybe help point to it.
Any insights appreciated! Thanks so much.

Hm, it seems the deprecated-but-should-be-bw-compatible method is wrong: it doesn't even take a coords argument.
https://github.com/fonttools/fonttools/blob/3e0caa881e58ad9d3685725f198ef4f196ab2536/Lib/fontTools/ttLib/tables/_g_l_y_f.py#L483-L489
You should probably use _setCoordinates instead as the comment suggests (which has a different signature):
https://github.com/fonttools/fonttools/blob/3e0caa881e58ad9d3685725f198ef4f196ab2536/Lib/fontTools/ttLib/tables/_g_l_y_f.py#L391-L404


Silverado displays engagement messages prior to engaging

Alerts normally only shown when engaged or attempting to engage are displayed on vehicle start

Parking brake engaged and Gear shifter not in D alerts are shown right after vehicle startup


Handle edge cases of failure for RETR command

From crypto, by D. J. Bernstein
Normally the server responds with a mark using code 150. It then stops accepting new connections, attempts to send the contents of the file over the data connection, and closes the data connection. Finally it

accepts the RETR request with code 226 if the entire file was successfully written to the server's TCP buffers;
rejects the RETR request with code 425 if no TCP connection was established;
rejects the RETR request with code 426 if the TCP connection was established but then broken by the client or by network failure; or
rejects the RETR request with code 451 or 551 if the server had trouble reading the file from disk.

The server is obliged to close the data connection in each of these cases. The client is not expected to look for a response from the server until the client sees that the data connection is closed.
The server may reject the RETR request without first responding with a mark. In this case the server does not touch the data connection. RFC 959 allows code 550 for file-does-not-exist, permission-denied, etc., and code 450 for out-of-memory, disk-failure, etc.
The client needs to be prepared for many different ways that RETR can fail:

After sending the RETR request, the client reads one response from the server. If this response is anything but a mark (for example, the server can't find the file, or doesn't have permission to open it, or is temporarily out of memory, or the server crashes and the connection is closed without a response, or the server is overloaded and the client times out before receiving a response), the client stops and reports temporary failure.
After sending the RETR request and reading a mark, the client reads data from the data connection until FIN (end of file), or a TCP error (for example, TCP reset or network unreachable), or timeout. The client saves the data, remembers whether there was a FIN, and closes the data connection.
After sending the RETR request, reading a mark, reading data from the data connection, and closing the data connection, the client reads another response from the server. If this response is acceptance and the data connection ended with FIN, the client knows that it has received the entire file from the server. Otherwise the client reports temporary failure; the file has (probably) been truncated.

Note that code 226 from the server does not guarantee that the client has received, or will receive, the entire file. The client must check for TCP errors on the data connection.
Some clients do not close the data connection until they receive the 226 response from the server. This behavior is permitted by RFC 959. However, I recommend that clients close the data connection immediately after seeing the end of data.

Added to the bucket list. We will pick this up as and when we have free time. Comment on this issue if you want us to prioritize it. Thanks!


3D-mobilestereonet can not reach the test results of kitti2015，why？thanks

I used the MSNet3D_SF.ckpt you provided.We fine-tuned 400 rounds on kitti2015 and submitted the parallax map to the kitti website, but the results were very different from those in the paper. In the paper, it is 1.75 3.87 2.10 1.61 3.50 1.92, but what I measured is 2.01 4.40 2.40 1.85 3.88 2.18, is it the wrong way for me to fine-tune, or is it for some other reason? Please help me.

And why is 3D-mobilestereonet 's result on kitti2015 benchmark so similar to that of gwcnet?


alueError: Dimension 0 in both shapes must be equal, but are 1048576 and 4194304. Shapes are [1048576] and [4194304].

I am getting this error when I am using mIOU as a metric for the the model
[
ValueError: in user code:
File "/usr/local/lib/python3.7/dist-packages/keras/engine/training.py", line 1021, in train_function  *
    return step_function(self, iterator)
File "/usr/local/lib/python3.7/dist-packages/keras/engine/training.py", line 1010, in step_function  **
    outputs = model.distribute_strategy.run(run_step, args=(data,))
File "/usr/local/lib/python3.7/dist-packages/keras/engine/training.py", line 1000, in run_step  **
    outputs = model.train_step(data)
File "/usr/local/lib/python3.7/dist-packages/keras/engine/training.py", line 864, in train_step
    return self.compute_metrics(x, y, y_pred, sample_weight)
File "/usr/local/lib/python3.7/dist-packages/keras/engine/training.py", line 957, in compute_metrics
    self.compiled_metrics.update_state(y, y_pred, sample_weight)
File "/usr/local/lib/python3.7/dist-packages/keras/engine/compile_utils.py", line 459, in update_state
    metric_obj.update_state(y_t, y_p, sample_weight=mask)
File "/usr/local/lib/python3.7/dist-packages/keras/utils/metrics_utils.py", line 70, in decorated
    update_op = update_state_fn(*args, **kwargs)
File "/usr/local/lib/python3.7/dist-packages/keras/metrics.py", line 178, in update_state_fn
    return ag_update_state(*args, **kwargs)
File "/usr/local/lib/python3.7/dist-packages/keras/metrics.py", line 3076, in update_state  **
    dtype=self._dtype)

ValueError: Dimension 0 in both shapes must be equal, but are 1048576 and 4194304. Shapes are [1048576] and [4194304].
	From merging shape 0 with other shapes. for '{{node confusion_matrix/stack_1}} = Pack[N=2, T=DT_INT64, axis=1](confusion_matrix/control_dependency_2, confusion_matrix/control_dependency_3)' with input shapes: [1048576], [4194304].](url)

Hi @Saharsh1005, thanks for reaching out. The issue backlog is not the best place for support requests. Can you repost this to one of the forums below? That way your question will have more visibility.

TensorFlow forum
Keras mailing list.

Thanks!


Move geometric sort for semantics to the framework side.

This adds geometric sort ordering back in for semantics nodes that don't have a sort order defined.
With this change, widgets that either have no sort order, or have an equivalent sort order, will be compared geometrically. The comparison is between the two starting corners, so it is TextDirection-aware: parent nodes that are set to have LTR text will compare upper left corners of their children, and upper right when set to RTL.
Also fixed a bug in the Transform widget that didn't mark modified nodes as needing a semantics update.


Document the migrate-database command

Added an initial outline of the use of the migrate-database command.
It might be a little informal ETC. but hopefully it covers the main idea of the command, and is a good starting point.
Pull request checklist
Use the following list to make sure your PR fits the Teku doc quality standard.
Before creating the pull request
Make sure that:

[X] you have read the contribution guidelines.
[X] you have tested your changes locally before submitting them to the community for review.

After creating your pull request and tests finished
Make sure that:

[ ] you have fixed all the issues raised by the tests, if any.
[ ] you have verified the rendering of your changes on
ReadTheDocs.org PR preview
and updated the testing link (see Testing).

Describe the change

Issue fixed

Impacted parts
For content changes

[ ] Doc content
[ ] Doc pages organisation

For tools changes

[ ] CircleCI workflow
[ ] Build and QA tools (lint, vale,…)
[ ] MkDocs templates
[ ] MkDocs configuration
[ ] Python dependencies
[ ] Node dependencies and JavaScript
[ ] ReadTheDocs configuration
[ ] GitHub integration

Testing

Screenshots / recording

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Fix not found bug

Pull Request Details
Description
[Provide a brief overview of the changes introduced by this pull request.]
Fixes
#890
Type of PR

[ ] Bug fix

Summary
Added not found for contests, challenges and hackathons
Screenshots (if applicable)

Checklist

[x] I have read and followed the Pull Requests and Issues guidelines.
[ ] The code has been properly linted and formatted using npm run lint:fix and npm run format:fix.
[ ] I have tested the changes thoroughly before submitting this pull request.
[ ] I have provided relevant issue numbers, snapshots, and videos after making the changes.
[ ] I have not borrowed code without disclosing it, if applicable.
[ ] This pull request is not a Work In Progress (WIP), and only completed and tested changes are included.
[ ] I have tested these changes locally.
[ ] My code follows the project's style guidelines.
[ ] I have updated the documentation accordingly.
[ ] This PR has a corresponding issue in the issue tracker.

@saadman-galib, how about using some svg design too? Example:
Goto: https://digitomize.com/jobs

You can use the same svg or get a new svg with same color theme

Check pls. which one is good

https://www.freepik.com/free-vector/flat-design-no-data-illustration_47718912.htm#query=no data&position=4&from_view=keyword&track=ais_user&uuid=a91154ba-4b35-4b69-8ec9-a4df81d55575
https://www.freepik.com/free-vector/hand-drawn-no-data-concept_55024598.htm#query=no data&position=2&from_view=keyword&track=ais_user&uuid=a91154ba-4b35-4b69-8ec9-a4df81d55575
https://www.freepik.com/free-vector/data-monetization-abstract-concept-vector-illustration-data-business-strategy-information-monetization-monetizing-data-services-selling-database-source-analysis-abstract-metaphor_11669386.htm#fromView=search&page=5&position=22&uuid=f56d9a7a-cfd6-41b1-b424-cd51bd6a7af0
https://www.freepik.com/free-vector/oops-404-error-with-broken-robot-concept-illustration_8030430.htm#fromView=search&page=1&position=29&uuid=f56d9a7a-cfd6-41b1-b424-cd51bd6a7af0
https://www.freepik.com/free-vector/error-404-concept-landing-page_5155989.htm#fromView=search&page=1&position=4&uuid=f56d9a7a-cfd6-41b1-b424-cd51bd6a7af0

Can you re-color those?

Is it okay?

looks good

🚀 Congratulations on the successful PR merge! 🌟
Thank you for your valuable contribution! 🎉
Let's continue to make waves in open source. Share your achievement on social media and tag Digitomize to help spread the word.
Thank you for your dedication!
@all-contributors please add @saadman-galib for code
@holopin-bot @saadman-galib c-ch


Incorrect crontab generated when using "days after/before"

Chronic correctly parses the following:
> Chronic.parse('4 days after start of month at 1pm')
=> 2021-10-05 13:00:00 +0200

However, the crontab the following generates:
every 1.month, at: '4 days after start of month at 1pm' do
  rake "execute_some_task"
end

Is incorrect:
0 13 1 * * /bin/bash -l -c 'cd /home/path/to/project && RAILS_ENV=development bundle exec rake execute_some_task --silent'

As it schedules the job for the 1st day of every month instead.

This example is just to simplify the issue for illustrative purposes, in reality I'm attempting to have the job run 4 days before the end of the month, but that comes with its own nuances.

We've had incorrect crontab generated when using active support.
We fixed it by changing 1.day to :day. Maybe if you change 1.month to :month, it will fix things for you too.


feat: congruence homeomorphisms for ContinuousMap

In other places, e.g. LinearEquiv.arrowCongr we do this as a single equiv. Do you think we should do that here as well?

I don't really have an opinion on this. I feel like in most cases it would only get more cumbersome. On the other hand Mathlib seems to agree with you in general, so since it doesn't change the defeqs I think I'm going to do what you suggest.

Done. I'm not quite sure about the naming though.

bors d+

bors merge


incorrect online status of members

bot returns incorrect online status of members

This issue has been resolved in the newest version


Suggestion: Add an option to restrict scope of API in application settings.

In open source applications that use oAuth, such as a dAmn chat bot or client, the scope could be changed by the end user and could be abused.  If an option to restrict the scope is added to the application settings and enforced, it could prevent this. I talked with a couple others about the subject and got mixed reviews, but I thought I would bring it up here.

I am not sure I see the chance for abuse here, if a user wants to to change their scopes they can. The idea of a scope is that its a permission given by the user to the application. So they have to approve the scope access anyway so should always be aware of what access the app has to their account. If you have a more specific example of a way to abuse the scope please let me know.


Adding subscription feature for API scoped subscriptions

Please describe the feature.
One of the main issue our team have encountered with the tool is that we can't import/export our APIs subscription keys across environments.
We are exclusively using API' scoped subscription keys to protect all our APIs and wish to remove as much API related configuration out of our bicep templates as possible.
With the current state of the tool, managing subscriptions mean adding many modules / resources to your IaC tool of choice to create new subscriptions or modify them whenever there is a change in the source environment.
This is why I believe it would be good to add subscription support to the tool.

@Gabriel123N - thanks for the feedback. I believe this request fits within the scope of our tool. We'll discuss feasibility and add it to our backlog.


dynamically change the label

how to dynamically change the label according to a variable defined in a child component of a page without reloading the page and causing an infinite loop?
const [label, setLabel] = useState('nice');
<TabScreen label={label} icon="beaker-check">
   <component />
</TabScreen>

I'm running into this problem as well. Were you able to solve it? Thanks


IECoreArnoldPreview : Renderer - aspect_ratio passed using AiNodeSetFlt

This was causing a warning that prevented builds on some gcc versions.  I assume it wasn't working either, since this value clearly needs to be a float.

I feel like I must be on crazy pills or something, but isn't this the same change that was already merged here: https://github.com/ImageEngine/gaffer/pull/1741/commits/d9f664327e2072f9eaf599ce47a1dd95a16e7d7d ? The line numbers are showing differently, but when I search the file as it exists on master, the only reference to aspect_ratio is already using AiNodeSetFlt

Oops, I wasn't up to date with master.  Sorry for the noise.


Enable preview for reference docs

We use the xref syntax to link in reference docs. For example: xref:Microsoft.Xrm.Sdk.Metadata.EntityMetadata.IsOneNoteIntegrationEnabled
In the preview, there is nothing but white space where this is used.
Would be fine if the preview included just the raw text as a short term solution. It would be better than white space.
Long term, of course it would be best to display the links as they will appear in the docs.

Thanks @JimDaly, it's truly a problem. We'll investigate the solution and update you here.

@qinezh I would call this a bug rather than an enhancement.

@JimDaly For the long term solution, it would be more like a feature request, as we need to integrate with xref service, which is not in our previous scope for docs-preview.
What do you think about it?

The fact that blank space is being displayed when an xref is a valid item to include in a topic is a bug. Mitigation strategy s/b to show the raw xref.
Agree that integrating a an actual preview of the xref could be a feature request. But I'd be happy to see the bug fixed in the short term rather than wait for the long term ideal solution. It is confusing to see all the xref only as empty spaces. This damages the experience. I'd be happy to see the  tag content in the preview as a placeholder if that can be achieved faster.

Thanks @JimDaly
I agree the short term fix is much better than a blank!
Created this feature: https://ceapex.visualstudio.com/Engineering/_workitems/edit/28713
@qinezh

@jamarw Could you let me know the process to release a new version of docs-preview? I'd like to fix this issue in the new version.

This is still a problem. Can we just do like VS Code preview does and just render the API link as-is? It's better than dropping the text altogether.

@mairaw
That is the plan.
@qinezh @jamarw can we have an update on this?

@mairaw The user story to track for the as-is rendering is here:
https://ceapex.visualstudio.com/Engineering/_workitems/edit/29436

Sorry for the late response, new version of docs-preview to support raw xref syntax preview has been released, feel free to have a try. Next step we'll integrate with xref service to render the xref as a link.

Please have a try with latest version of docs-preview, it now can render xref syntax as a link.


Support additional environment variables in Helm chart.

Overview of feature request
The Radius helm chart should support setting additional/arbitrary environment variables.

If we add support for arbitrary env-vars to the Helm chart then users can configure whatever they need for their scenario.
Acceptance criteria
Users can specify env-vars for rad install kubernetes or our helm chart.
These env-vars apply to all of the Radius control-plane pods.
Additional context
Originally reported via discord here: https://discord.com/channels/1113519723347456110/1179077937614561351/1179077937614561351
AB#10585

Hey @rynowak, this is awesome, thank you for the reactivity !
(It's Asura)

Thanks @tdeheurles - let us know if you're interested in working on this. Otherwise, we'll get to it sometime soon.

For extra context
From Discord:

My question lack of details probably. Here are some additionals:
The 7 standard recipes seems present.
The issue is when I try to add the database in the getting started tutorial.
error message is "err failed to fetch repository from ... lookupghcr.io in <IP_ADDRESS>:53: no such host
It's a typical error of proxy
my local machine is behind proxy all the time and I usually fix by configuring theough https_proxy variables
I'm going to go for the 2 links and try to apply

The user is behind a proxy so the call to pull the repository fails.
If I understand correctly, some details are unknown to me ATM...
Allowing Rad to implement ENV may allow Rad services to pull repositories whilst honnoring the Proxy Settings. This was done by

Use kubectl edit to update Radius' deployment objects in Kubernetes. This is a pretty low-level way of hacking things, hence the issue to make things better.

http_proxy
https_proxy
no_proxy

https://github.com/radius-project/radius/blob/1145be169a90b8698d032556e21fb98f32335380/pkg/rp/util/registry.go#L52
If this is correct, I am assuming that when you install Rad into K8s, Rad also need to provide Proxy Settings to K8s?

If this is correct, I am assuming that when you install Rad into K8s, Rad also need to provide Proxy Settings to K8s?

When you're behind a forwarding proxy every outgoing client needs to know the proxy settings.
The distro of Kubernetes you're using will provide it's own way of injecting settings. Example here for Minikube. These settings will be used Kubernetes internal functionality needs to talk to the internet - the most obvious example is pulling a container image. This isn't something Radius can do for you, it's specific to your Kubernetes distro.
Radius's functionality running inside Kubernetes needs to know the proxy setting too. These will be used for communication with cloud APIs as well as pulling recipes. This is the improvement tracked by this issue.
I hope that helps, let me know if you were asking something different.

I have been testing this today on a number of systems.

Windows 11 - minikube - Hyperv
WSL Ubuntu - K3s / Kind
NAS / QNAP / Squid Proxy

If I have my local ENV set within the Docker Machine and Cluster Nodes, everything works perfectly. ORAS supports the ENVs listed above and I am able to run the demo without issue.
I am unable to reproduce the error.


feat: add configurable AWS route creation and deletion timeouts

what

Adds configurable timeouts for AWS route creation and deletion

why

Route creation and deletion can take longer than the provider defaults of 2m (creation) and 5m (deletion)

references

Default timeouts set as they are in the provider, see https://registry.terraform.io/providers/hashicorp/aws/3.69.0/docs/resources/route#timeouts.
Already implemented for terraform-aws-dynamic-subnets, this PR does the same for this module.

/test all

/test all

I used the default 5m timeout for create, removed the null provider, and hopefully copying versions.tf into examples/complete will fix the tests.

Thanks @morremeyer !


Resolved issues with the following STIGs

V_63931
V_63851
V_63863
V_63843
V_63647
V_63703

I approve. We will refactor later


Updated contact us

@devp299 please put all your contribution in one PR.
your PR #91 is conflicting with this PR.

Sorry, I will solve first issue #91.


Critical error: accept tcp <IP_ADDRESS>:9980: accept: too many open files in system

Loading...
(0/6) Loading siad...
(1/6) Loading gateway...
(2/6) Loading consensus...
(3/6) Loading transaction pool...
(4/6) Loading wallet...
(5/6) Loading host...
(6/6) Loading renter...
Finished loading in 0.011216364 seconds
goroutine 1 [running]:
runtime/debug.Stack(0x1043947, 0x0, 0xc4201cd5c0)
/usr/local/go/src/runtime/debug/stack.go:24 +0x79
runtime/debug.PrintStack()
/usr/local/go/src/runtime/debug/stack.go:16 +0x22
github.com/NebulousLabs/Sia/build.Critical(0xc4201cd930, 0x1, 0x1)
/home/luke/go/src/github.com/NebulousLabs/Sia/build/critical.go:16 +0xa7
main.startDaemon(0x0, 0x0, 0x7fff5fbffcbc, 0xe, 0x7fff5fbffce8, 0x5, 0x7fff5fbffcd7, 0x5, 0x0, 0x7fff5fbffd3f, ...)
/home/luke/go/src/github.com/NebulousLabs/Sia/siad/daemon.go:311 +0xaa9
main.startDaemonCmd(0xc420081200, 0xc4200194f0, 0x0, 0x5)
/home/luke/go/src/github.com/NebulousLabs/Sia/siad/daemon.go:335 +0x162
github.com/spf13/cobra.(*Command).execute(0xc420081200, 0xc42000e0d0, 0x5, 0x5, 0xc420081200, 0xc42000e0d0)
/home/luke/go/src/github.com/spf13/cobra/command.go:653 +0x299
github.com/spf13/cobra.(*Command).ExecuteC(0xc420081200, 0x16fce88, 0x3b, 0xc420150a00)
/home/luke/go/src/github.com/spf13/cobra/command.go:728 +0x339
github.com/spf13/cobra.(*Command).Execute(0xc420081200, 0x1aefba0, 0x16e58f7)
/home/luke/go/src/github.com/spf13/cobra/command.go:687 +0x2b
main.main()
/home/luke/go/src/github.com/NebulousLabs/Sia/siad/main.go:174 +0x7aa
Critical error: accept tcp <IP_ADDRESS>:9980: accept: too many open files in system
Please submit a bug report here: https://github.com/NebulousLabs/Sia/issues
Closing renter...
Closing host...
Closing wallet...
Closing transaction pool...
Closing consensus...
Closing gateway...
Shutdown complete.

too many open files, https://stackoverflow.com/a/923369

Loading...
(0/6) Loading siad...
(1/6) Loading gateway...
(2/6) Loading consensus...
(3/6) Loading transaction pool...
(4/6) Loading wallet...
(5/6) Loading host...
(6/6) Loading renter...
Finished loading in 1.750097829 seconds
Wallet: scanned to height 118238...
Wallet: scanned to height 118748...
Done!
goroutine 1 [running]:
runtime/debug.Stack(0x1043857, 0x0, 0xc420a195f8)
/usr/local/go/src/runtime/debug/stack.go:24 +0x79
runtime/debug.PrintStack()
/usr/local/go/src/runtime/debug/stack.go:16 +0x22
github.com/NebulousLabs/Sia/build.Critical(0xc420a19948, 0x1, 0x1)
/home/jrh/go/src/github.com/NebulousLabs/Sia/build/critical.go:16 +0xa7
main.startDaemon(0x0, 0x0, 0x7fff5fbffca7, 0xe, 0x7fff5fbffcd3, 0x5, 0x7fff5fbffcc2, 0x5, 0x0, 0x7fff5fbffd2e, ...)
/home/jrh/go/src/github.com/NebulousLabs/Sia/siad/daemon.go:295 +0xaa9
main.startDaemonCmd(0xc420079200, 0xc4200153b0, 0x0, 0x5)
/home/jrh/go/src/github.com/NebulousLabs/Sia/siad/daemon.go:309 +0x6d
github.com/spf13/cobra.(*Command).execute(0xc420079200, 0xc42000e0d0, 0x5, 0x5, 0xc420079200, 0xc42000e0d0)
/home/jrh/go/src/github.com/spf13/cobra/command.go:651 +0x23a
github.com/spf13/cobra.(*Command).ExecuteC(0xc420079200, 0x16c7c0f, 0x3b, 0xc420148b40)
/home/jrh/go/src/github.com/spf13/cobra/command.go:726 +0x339
github.com/spf13/cobra.(*Command).Execute(0xc420079200, 0x1aa6520, 0x16b10c0)
/home/jrh/go/src/github.com/spf13/cobra/command.go:685 +0x2b
main.main()
/home/jrh/go/src/github.com/NebulousLabs/Sia/siad/main.go:174 +0x79d
Critical error: accept tcp <IP_ADDRESS>:9980: accept: too many open files in system
Please submit a bug report here: https://github.com/NebulousLabs/Sia/issues
Closing renter...
Closing host...

Please try the latest release, v1.3.0, which addresses this issue along with a few others: https://github.com/NebulousLabs/Sia-UI/releases/tag/v1.3.0

@avahowell Thank you. I will update and attempt to host again.

@Wlinc Any update?  Can you close this issue if it's resolved?  You might also try asking for help on the Sia Discord https://discord.gg/sia

@tbenz9 I don't recall if it was resolved by updating or not. I realized that I am short on time to play around with hosting and that I can't offer the uptime needed, so I gave up essentially.


Card editing uses a lot of browser memory and does not release it

While editing the following card:
type: horizontal-stack
cards:
  - direction: right
    height: 30px
    max: '-100'
    min: '0'
    positions:
      icon: 'off'
      indicator: inside
      title: 'off'
      minmax: 'off'
      value: outside
    severity:
      - color: '#e45e65'
        from: '-100'
        to: '-80'
      - color: '#e0b400'
        from: '-80'
        to: '-68'
      - color: '#0da035'
        from: '-67'
        to: '0'
    style: |
      ha-card {
        border: solid 2px var(--primary-color);
      }
      bar-card-value {
        margin-right: auto;
      }
    type: 'custom:bar-card'
    unit_of_measurement: dBm
    value_style:
      color: var(--primary-text-color)
      text-shadow: none
    entities:
      - entity: sensor.bar_fridge_wifi_signal
        name: Bar Fridge
      - entity: sensor.bathroom_dht_wifi_signal
        name: Bathroom DHT
      - entity: sensor.cinema_av_wifi_signal
        name: Cinema AV
      - entity: sensor.cinema_subwoofer_wifi_signal
        name: Cinema Subwof
      - entity: sensor.comms_cupboard_dht_wifi_signal
        name: Comms Cbd
      - entity: sensor.comms_rack_wifi_signal
        name: Comms Rack
      - entity: sensor.dining_heater_north_wifi_signal
        name: Dining Heater N
      - entity: sensor.dining_heater_west_wifi_signal
        name: Dining Heater W
      - entity: sensor.dining_room_dht_wifi_signal
        name: Dining DHT
      - entity: sensor.dishwasher_wifi_signal
        name: Dishwasher
      - entity: sensor.doorbell_downstairs_wifi_signal
        name: Doorbell DN
      - entity: sensor.doorbell_upstairs_wifi_signal
        name: Doorbell UP
      - entity: sensor.ensuite_dht_wifi_signal
        name: Ensuite DHT
      - entity: sensor.fireplace_wifi_signal
        name: Fireplace
      - entity: sensor.fridge_wifi_signal
        nam: Fridge
      - entity: sensor.irrigation_wifi_signal
        name: Irrigation
      - entity: sensor.kitchen_leak_wifi_signal
        name: Kitchen Leak
      - entity: sensor.lane_gate_last_wifi
        name: Lane Gate
      - entity: sensor.laundry_leak_wifi_signal
        name: Laundry Leak
      - entity: sensor.led_table_wifi_signal
        name: LED Table
      - entity: sensor.lounge_av_wifi_signal
        name: Lounge AV
      - entity: sensor.lounge_chair_wifi_signal
        name: Lounge Chairr
    title: Wifi Signal Level
    target: '-67'
    animation:
      state: 'off'
  - direction: right
    height: 30px
    max: '-100'
    min: '0'
    positions:
      icon: 'off'
      indicator: inside
      title: 'off'
      minmax: 'off'
      value: outside
    severity:
      - color: '#e45e65'
        from: '-100'
        to: '-80'
      - color: '#e0b400'
        from: '-80'
        to: '-68'
      - color: '#0da035'
        from: '-67'
        to: '0'
    style: |
      ha-card {
        border: solid 2px var(--primary-color);
      }
      bar-card-value {
        margin-right: auto;
      }
    type: 'custom:bar-card'
    unit_of_measurement: dBm
    value_style:
      color: var(--primary-text-color)
      text-shadow: none
    entities:
      - entity: sensor.lounge_dehumidifier_wifi_signal
        name: Lounge Dehumid
      - entity: sensor.lounge_room_dht_wifi_signal
        name: Lounge DHT
      - entity: sensor.master_bed_sensor_wifi_signal
        name: Mstr Bed  Sensor
      - entity: sensor.master_bedroom_dht_wifi_signal
        name: MstrBed DHT
      - entity: sensor.mailbox_last_wifi
        name: Mailbox
      - entity: sensor.moisture_sensor_rssi
        name: Lawn Moisture
      - entity: sensor.outside_light_level_wifi_signal
        name: Outside Light LVL
      - entity: sensor.pc_monitor_wifi_signal
        name: PC Monitor
      - entity: sensor.rack_fan_wifi_signal
        name: Rack Fan
      - entity: sensor.roof_space_dht_wifi_signal
        name: Roof DHT
      - entity: sensor.rumpus_dehumidifier_wifi_signal
        name: Rumpus Dehumid
      - entity: sensor.rumpus_room_dht_wifi_signal
        name: Rumpus DHT
      - entity: sensor.spare_bed_sensor_wifi_signal
        name: Spr Bed Sensor
      - entity: sensor.spare_bedroom_dht_wifi_signal
        name: Spr Bed DHT
      - entity: sensor.spare_bedroom_heater_wifi_signal
        name: Spr Bed Heater
      - entity: sensor.spb_electric_blanket_wifi_signal
        name: Spr Bed Blanket
      - entity: sensor.washing_machine_wifi_signal
        name: Washing Machn
      - entity: sensor.workshop_critical_power_wifi_signal
        name: Workshop Pwr
      - entity: sensor.xmas_tree_lights_wifi_signal
        name: Xmas Lights
    title: Wifi Signal Level
    target: '-67'
    animation:
      state: 'off'

Firefox took 20 seconds to load the edit window and popped up "slow web page" warnings. After opening and closing the edit card dialogue a few times I noticed that firefox was using 10GB of memory. The only way to get it to release this memory was to close firefox completely (not just the HA tab) and restart it.

I think this might be caused by the new visual editor. I'll see if I can figure out what's causing it.

Please try using 3.1.3 and let me know if this fixes the issue. I removed some elements from the visual editor which should improve performance.

Yes! Lightning fast to open the edit window now and no significant drain on resources.
Thank you.


I can not run zephir build on windows

Hi,
with :
os version : Windows 10
php version : 7.3.9
zephir version : 0.12.12
I cannot compile my first extension
Here are the commands I launched:

** Visual Studio 2017 Developer Command Prompt v15.0
** Copyright (c) 2017 Microsoft Corporation

C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools>cd /var/www/html/phpext
C:\var\www\html\phpext>C:\php-sdk\bin\phpsdk_setvars
C:\var\www\html\phpext>zephir init Utils
C:\var\www\html\phpext>cd utils
C:\var\www\html\phpext\utils>zephir build
! [NOTE] Installation is not implemented for Windows yet. Aborting.
C:\var\www\html\phpext\utils>zephir compile
Preparing for PHP compilation...
Preparing configuration file...
Compiling...
C:\var\www\html\phpext\utils>zephir install
! [NOTE] Installation is not implemented for Windows yet. Aborting.
C:\var\www\html\phpext\utils>cd ext
C:\var\www\html\phpext\utils\ext>configure

Saving configure options to config.nice.bat
Checking for cl.exe ...
Detected compiler MSVC15 (Visual C++ 2017)
Detected 32-bit compiler
Checking for link.exe ...  <in default path>
Checking for nmake.exe ...  <iin default path>
Checking for lib.exe ...  <iin default path>
Checking for bison.exe ...  <iin default path>
Detected bison version 3.3.2
Checking for sed.exe ...  <iin default path>
Checking for re2c.exe ...  <iin default path>
Detected re2c version 1.1.1
Checking for zip.exe ...  <iin default path>
Checking for lemon.exe ...  <iin default path>
Checking for 7za.exe ...  <iin default path>
Checking for mc.exe ...  C:\Program Files (x86)\Windows Kits\10\bin\10.0.18362.0\x86
Checking for mt.exe ...  C:\Program Files (x86)\Windows Kits\10\bin\10.0.18362.0\x86
Build dir: C:\var\www\html\phpext\utils\ext\Release_TS
PHP Core:  php7ts.dll and php7ts.lib
Creating build dirs...
Generating files...
Generating Makefile
Generating main/config.pickle.h
Generating pickle deps
Done.
Enabled extensions:
+-----------+-------+
| Extension  | Mode |
+------------------+-----------------------------+
|                             |                                            |
+------------------+-----------------------------+
| Build type           | Release                                |
| Thread Safety     | Yes                                       |
| Compiler            | MSVC15 (Visual C++ 2017) |
| Architecture       | x86                                       |
| Optimization      | PGO disabled                       |
| Native intrinsics | SSE2                                      |
| Static analyzer   | disabled                                |
Type 'nmake' to build PHP

C:\var\www\html\phpext\utils\ext>nmake
Microsoft (R) Program Maintenance Utility Version 14.16.27026.1
Copyright (C) Microsoft Corporation. Tous droits réservés.
C:\var\www\html\phpext\utils\ext>
What's wrong ?
Thanks for your help
Best regards

@eureka2 There should be log file. Could you please attach this file to the issue?

Thank you for your reply,
here are the log files:
compile.log
compile-errors.log

Looks like it is linking issue related to incorrectly configured environment. Do you use standard PHP setup?

FYI: There is AppVeyor setup to build test extension. Fill free to borrow any part of it:
https://github.com/phalcon/zephir/blob/development/appveyor.yml

Hi @sergeyklay,
I found !
The DOS shell  must be started as an administrator
However 'zephir buid' does not work on Windows!
We must successively execute::
zephir init Utils
cd utils
zephir compile
cd ext
./configure
nmake
Thanks for your help
This issue can be closed
Best regards


Common test runner code.

Each coin type had some lengthy code for running test cases, some slightly different, some with bugs.  E.g. it did not handle well the cases when there was no error expected but there was error, or when there was error expected but there was no error (in this case it used the nil err value!).
Test usage is unified now.
Drawback: each unit test call goes to the common codec dispatcher code, not directly to the coin-specific handler method.
Further improvement:  extract all test calls into a large data-only json file.  Could be even factored out into an own, language-independent repo.

Hmm, code coverage decreased, I think because I have removed a lot of duplicated test runner code, hence the basis LOC has been decreased...  Real coverage has not decreased, as I kept all the existing test cases.

Coverage improved.


[e2e]: delegator-lowperms tag main default slsa3

Repo: https://github.com/slsa-framework/example-package/tree/v47.0.362
Run: https://github.com/slsa-framework/example-package/actions/runs/9896293505
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.delegator-lowperms.tag.main.default.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.delegator-lowperms.tag.main.default.slsa3.yml
Trigger: push
Branch: v47.0.362
Date: Thu Jul 11 18:07:05 UTC 2024

Repo: https://github.com/slsa-framework/example-package/tree/v47.0.362
Run: https://github.com/slsa-framework/example-package/actions/runs/9896293505
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.delegator-lowperms.tag.main.default.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.delegator-lowperms.tag.main.default.slsa3.yml
Trigger: push
Branch: v47.0.362
Date: Thu Jul 11 19:26:30 UTC 2024

Repo: https://github.com/slsa-framework/example-package/tree/v47.0.363
Run: https://github.com/slsa-framework/example-package/actions/runs/9910899837
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.delegator-lowperms.tag.main.default.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.delegator-lowperms.tag.main.default.slsa3.yml
Trigger: push
Branch: v47.0.363
Date: Fri Jul 12 16:49:28 UTC 2024
Tests are passing now. Closing this issue.

Fixed in https://github.com/slsa-framework/example-package/pull/376


update api-version for Azure.ResourceManager.Monitor

Contributing to the Azure SDK
Please see our CONTRIBUTING.md if you are not familiar with contributing to this repository or have questions.
For specific information about pull request etiquette and best practices, see this section.

API change check
APIView has identified API level changes in this PR and created following API reviews.
Azure.ResourceManager.Monitor


add reference to civilframe:angular-jade

thanks @pbastowski

@pbastowski  what's your Twitter handle (for the new version announcement)?

It's pbastowski.

I got the update just now, thanks, and it works like a charm :)


The model to consider.
https://huggingface.co/BAAI/bge-m3
The closest model vllm already supports.
No response
What's your difficulty of supporting the model you want?
No response
Before submitting a new issue...

[X] Make sure you already searched for relevant issues, and asked the chatbot living at the bottom right corner of the documentation page, which can answer lots of frequently asked questions.

+1
This model works well with portuguese language, would be great to have it under the openai API.


[Store 5] Add Market foundation

A Market is a composition of stores and systems. A Store interacts with one data source, or a Persister.
A ConflictResolver settles discrepancies among remote and local storages.
A market always has one conflict resolution strategy. However, Market is flexible and unopinionated on implementation. An application can have N markets. And a market can have N stores and execute operations in any order.
Typical applications have one market following a singleton pattern. Most of the time a market has two stores: a memory
store bound to a memory cache then a disk store bound to a database.

[ ] Migrate Store 4 tests


fix syntax error such that dry is compilable for go1.3.3 linux/arm

Resolves the following syntax errors on make install.
$ make install
go install github.com/moncho/dry
Press ENTER or type command to continue
github.com/moncho/dry/app
app/dry.go:371: syntax error: unexpected range, expecting {
app/dry.go:377: syntax error: unexpected range, expecting {
Makefile:26: recipe for target 'install' failed
make: *** [install] Error 2

Thanks for the fix :)
Just out of curiosity, why are you using go.1.3.3 on linux ARM?

Running hypriotos on a raspberry pi 2. I haven't got round to compiling a more recent version of the go compiler, hense this pr for go1.3.3. Fantastic tool, thanks for all your efforts! :+1:

Running hypriotos on a raspberry pi 2. I haven't got round to compiling a more recent version of the go compiler, hense this pr for go1.3.3. Fantastic tool, thanks for all your efforts! :+1:


datastore module not compiled and it is part of CI/CD

datastore is not part of main pom.xml
Its role that way not clear..

We can have a separate ci/cd yaml if this were to be compiled separately.
datastore was failing to compile with error
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.8.1:testCompile (default-testCompile) on project datastore: Compilation failure
[ERROR] /G:/DWork/opensource/jug/sc/sqlcomponents/datastore/src/test/java/org/example/store/AzaguRajaTest.java:[140,17] method update in class org.example.store.ConnectionStore cannot be applied to given types;
[ERROR]   required: org.example.model.Connection
[ERROR]   found:    no arguments
[ERROR]   reason: actual and formal argument lists differ in length
[ERROR]
[ERROR] -> [Help 1]

fixed the code diffs are
`Index: datastore/src/test/java/org/example/store/AzaguRajaTest.java
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
diff --git a/datastore/src/test/java/org/example/store/AzaguRajaTest.java b/datastore/src/test/java/org/example/store/AzaguRajaTest.java
--- a/datastore/src/test/java/org/example/store/AzaguRajaTest.java
+++ b/datastore/src/test/java/org/example/store/AzaguRajaTest.java	(date<PHONE_NUMBER>325)
@@ -136,10 +136,7 @@
.insert().values(this.connectionsToTest.get(0)).returning();
connection.setName("Changed");
Integer noOfUpdatedRajaRefs

           = this.connectionStore

           .update()

           .set(connection)

           .execute();

  = this.connectionStore.update(connection);

Assertions.assertEquals(1, noOfUpdatedRajaRefs, "Single Update Execution");
}
}
\ No newline at end of file
`


Will this work with xgboost 0.82?

I'm trying to work with a feature made available in 0.82. I tried replacing -b 0.81 with -b 0.82 but ran into compile errors:
Makefile:31: MAKE [make] - checked OK
g++ -DDMLC_LOG_CUSTOMIZE=1 -std=c++11 -Wall -Wno-unknown-pragmas -Iinclude   -Idmlc-core/include -Irabit/include -I/include -O3 -funroll-loops -msse2 -fPIC -fopenmp -MM -MT build/learner.o src/learner.cc >build/learner.d
g++ -DDMLC_LOG_CUSTOMIZE=1 -std=c++11 -Wall -Wno-unknown-pragmas -Iinclude   -Idmlc-core/include -Irabit/include -I/include -O3 -funroll-loops -msse2 -fPIC -fopenmp -MM -MT build/logging.o src/logging.cc >build/logging.d
g++ -DDMLC_LOG_CUSTOMIZE=1 -std=c++11 -Wall -Wno-unknown-pragmas -Iinclude   -Idmlc-core/include -Irabit/include -I/include -O3 -funroll-loops -msse2 -fPIC -fopenmp -MM -MT build/objective/regression_obj.o src/objective/regression_obj.cc >build/objective/regression_obj.d
g++ -DDMLC_LOG_CUSTOMIZE=1 -std=c++11 -Wall -Wno-unknown-pragmas -Iinclude   -Idmlc-core/include -Irabit/include -I/include -O3 -funroll-loops -msse2 -fPIC -fopenmp -MM -MT build/objective/rank_obj.o src/objective/rank_obj.cc >build/objective/rank_obj.d
In file included from dmlc-core/include/dmlc/./serializer.h:22:0,
from dmlc-core/include/dmlc/io.h:445,
from src/learner.cc:7:
dmlc-core/include/dmlc/././endian.h:24:6: error: #error "Unable to determine endianness of your machine; use CMake to compile"
#error "Unable to determine endianness of your machine; use CMake to compile"
^~~~~
In file included from dmlc-core/include/dmlc/./serializer.h:22:0,
from dmlc-core/include/dmlc/io.h:445,
from rabit/include/rabit/./internal/../serializable.h:12,
from rabit/include/rabit/./internal/engine.h:10,
from rabit/include/rabit/rabit.h:32,
from src/logging.cc:7:
dmlc-core/include/dmlc/././endian.h:24:6: error: #error "Unable to determine endianness of your machine; use CMake to compile"
#error "Unable to determine endianness of your machine; use CMake to compile"
^~~~~
make: *** [Makefile:142: build/logging.o] Error 1
make: *** Waiting for unfinished jobs....
In file included from dmlc-core/include/dmlc/././serializer.h:22:0,
from dmlc-core/include/dmlc/./io.h:445,
from dmlc-core/include/dmlc/data.h:14,
from include/xgboost/./data.h:11,
from include/xgboost/objective.h:15,
from src/objective/regression_obj.cu:10,
from src/objective/regression_obj.cc:17:
dmlc-core/include/dmlc/./././endian.h:24:6: error: #error "Unable to determine endianness of your machine; use CMake to compile"
#error "Unable to determine endianness of your machine; use CMake to compile"
^~~~~
In file included from dmlc-core/include/dmlc/././serializer.h:22:0,
from dmlc-core/include/dmlc/./io.h:445,
from dmlc-core/include/dmlc/data.h:14,
from include/xgboost/./data.h:11,
from include/xgboost/objective.h:15,
from src/objective/rank_obj.cc:9:
dmlc-core/include/dmlc/./././endian.h:24:6: error: #error "Unable to determine endianness of your machine; use CMake to compile"
#error "Unable to determine endianness of your machine; use CMake to compile"
^~~~~
make: *** [Makefile:142: build/objective/regression_obj.o] Error 1
make: *** [Makefile:142: build/objective/rank_obj.o] Error 1
make: *** [Makefile:142: build/learner.o] Error 1

I fix this for 0.82 by updating dmlc-core, because the backtrace logic detection is fixed after 0.82.
And I have to use cmake instead of make
https://github.com/dmlc/dmlc-core/pull/487
RUN apk add --update --no-cache \
    --virtual=.build-dependencies \
    git make gfortran g++ cmake \
    && mkdir /src \
    && cd /src \
    && git clone --depth 1 --recursive -b v$XGBOOST_VERSION https://github.com/dmlc/xgboost \
    && ln -s locale.h /usr/include/xlocale.h \
    # update dmlc-core to have better backtrace detection logic
    # so that musl in alpine can work
    # https://github.com/dmlc/dmlc-core/pull/487
    && cd /src/xgboost/dmlc-core; git checkout master && git pull \
    && cd /src/xgboost; mkdir build; cd build; cmake ..; make -j4 \
    && cd /src/xgboost/python-package \
    && pip install numpy~=1.15.4 \
    && pip install scipy~=1.2.0 \
    && pip install pandas~=0.23.4 \
    && pip install scikit-learn~=0.20.2 \
    && python3 setup.py install \
    && rm /usr/include/xlocale.h \
    && rm -r /root/.cache \
    && rm -rf /src \
    apk del .build-dependencies

Tried running this
Cloning into 'xgboost'... warning: Could not find remote branch v to clone. fatal: Remote branch v not found in upstream origin fatal: not a git repository (or any of the parent directories): .git CMake Error: The source directory "/src" does not appear to contain CMakeLists.txt. Specify --help for usage, or press the help button on the CMake GUI. make: *** No targets specified and no makefile found.  Stop. The command '/bin/sh -c apk add --update --no-cache     --virtual=.build-dependencies     git make gfortran g++ cmake     && mkdir /src     && cd /src     && git clone --depth 1 --recursive -b v$XGBOOST_VERSION https://github.com/dmlc/xgboost     && ln -s locale.h /usr/include/xlocale.h     && cd /src/xgboost/dmlc-core; git checkout master && git pull     && cd /src/xgboost; mkdir build; cd build; cmake ..; make -j4     && cd /src/xgboost/python-package     && pip install numpy~=1.15.4     && pip install scipy~=1.2.0     && pip install pandas~=0.23.4     && pip install scikit-learn~=0.20.2     && python3 setup.py install     && rm /usr/include/xlocale.h     && rm -r /root/.cache     && rm -rf /src     apk del .build-dependencies' returned a non-zero code: 2


domainName value for services should be propagated to metadata.

Server version - Build from master - Oct 30
With support for domainName field for services with exposed ports , we should be able to query for service's domain name field from  metadata.

Tested with build from master - Nov 11
Metadata now exposed fqdn field for service.


Set travis postgres to 9.5

Isn’t supported in containerized builds yet: https://docs.travis-ci.com/user/database-setup


[Spike] Investigate Skipped Stacks in Registry Nightly Run

Which area/kind this issue is related to?

/area registry
Issue Description
We have a bunch of stacks that are currently being skipped during our nightly run tests on the Registry because they are not cooperating/failing. A list of these skipped stacks can be found here. Changes were made to the layout of the nightly run and the allocation of resources and this may have enabled certain skipped stacks to function properly.
For each stack the following needs to be done:

Test it against odov2 and odov3 to see if it passes
If it passes remove it from being skipped
If it fails open an issue for fixing the stack

Acceptance Criteria

[ ] All skipped stacks tested
[ ] Passing stacks are no longer skipped
[ ] Failing stacks have issues opened for resolution

Issue that would fall under this investigation opened here: https://github.com/devfile/api/issues/1533

Issue that would fall under this investigation opened here: #1533

And #1514

While testing for https://github.com/devfile/registry/pull/366, I discovered why these checks might be currently failing. The odo v3 check reports that it fails on redhat-product starter project and when using it I get:

This starter project appears to be using /hello as the index endpoint to the odo dev deployment rather than root /, there will need to be an investigation into how to work around this for this starter project.

Also blocking https://github.com/devfile/api/issues/1554


Maniacal monkey as killable monster instead, introduce chinning variable
Changes:
Maniacal monkey as killable monster instead, introduce chinning variable
Other checks:

[x] I have tested all my changes thoroughly.

I'm assuming you got the xp/hr rates balanced. Aside from that, my only concern I think is the loot. Its true in the bot, we let minions keep all the loot, but how much loot do you get from a chinning trip in this?


Im compiling my friends mod, and this happens.

Describe your bug here.
Whenever i type the command "lime test windows", it always says source/flixel/system/FlxSound.hx:3: characters 20-26 : Unexpected import, i have searched it up and have found nothing on it. Can anyone help?
Command Prompt/Terminal logs (if existing)
source/flixel/system/FlxSound.hx:3: characters 20-26 : Unexpected import

Are you modding a build from source or with Lua?
Source
What is your build target?
Windows
Did you edit anything in this build? If so, mention or summarize your changes.
No.

If you're on the newest version of flixel, delete flixel/system/FlxSound.hx and flixel/sound/FlxSound.hx, Psych used to override them because flixel didn't had a pitch changer at the time.
When you go back to this post and it resolved your problem, close the issue please.


Unintuitive Default for leap in v0.7

https://github.com/NotAShelf/nvf/blob/ef413736e91e690d4a224f70251633a15d736f3b/modules/plugins/utility/motion/leap/leap.nix#L22C1-L22C15
I think remapping x (a commonly used default) is likely to be more confusing than useful. I understand that x is a very ergonomic binding for leap, but x is such a basic command that I don't think changing it is a good idea (it's literally lesson 1.3 in Vimtutor. It's pretty much guaranteed that most people who learn vim motions use it frequently as intended).
@n3oney I noticed that you picked this default, could you explain the thought process behind it? I might simply be missing it :)
If it's just a matter of personal preference, I'd lean towards leaving established default behavior of NeoVim unaltered as much as possible, so that new users can actually work with the default settings as much as possible, and only change what they expect and are used to having to change (as presumably, if they also have altered the default behavior in the past, they expect to have to do it with new systems as well, and if they didn't, an unprompted altering in behavior  is likely to turn them and make their life harder)

I'd personally recommend hiding it behind  (there's only so many keys on a keyboard, and there's already the s, f and t bindings for most uses), for example with f and F.  Mostly because I can't think of what key I'd override to make the change work. There's an argument to be made that those specific commands might override f and F, but I'd argue against it, because f and F allow for slightly faster movement.
I'd also argue against the current binds from an ergonomic perspective, as a lot of the use of the current binding of x and X is satisfied by f, F, t, T, s and S. Meanwhile, x is part of some pretty useful quick combinations, such as xp, that are commonly used in the day-to-day for a lot of users.

Feel free to open a PR, those are likely the defaults, because the author of the module used them. None of us use leap, so we never thought to change them.

Be free to change any defaults I've created, I haven't used this project in a long long time. The settings were probably inspired by some other framework I used at the time.


Add an admin access only page that can load any wikipedia page in our frontend framework, for indepth debug inspection

For example, the red link issue occurred on a very specific wikipedia page. We should be able to just directly load any page by title in some admin page so we don't have to try and get to that page via the game

This will be handled by the refactoring of play.js I'm doing


Create es-ES

Thanks @Leon-O! Please move this file to https://github.com/truckingsim/Ajax-Bootstrap-Select/tree/master/src/js/ajaxSelectPicker.locale instead though. The dist folder is automatically generated when the grunt task is ran.

Since @Leon-O hasn't added this himself I'm doing it so we can get the locale added.


HSEARCH-2286 Allow to sort by distance in reverse order

https://hibernate.atlassian.net/browse/HSEARCH-2286
This one has to be merged after https://github.com/hibernate/hibernate-search/pull/1112 .

Rebased. Tests should be fixed now that #1112 has been merged.

thanks, great!


Options to disable the remind me later and skip this version

Hello, I would like it to be possible to leave these skip version buttons and remember them later disabled or invisible, the software I am developing is something that will not be used and every version released must be updated, I saw that in the winSparkle repository there was a change about Is there any way to do this currently or is there any plan for this to be implemented?

+1
I'm also looking for this, I must be sure they upgrade because I need to sync the compatibility with the back end server ;-)


How to run app via nvm in upstart script

I have a little nodejs application that I want to run via upstart. I've found the following script:
description "node.js server"
author      "joe"

start on startup
stop on shutdown

script
   export HOME="/root"

   echo $$ > /var/run/yourprogram.pid
   exec sudo -u username /usr/local/bin/node /var/www/nodeapp/server.js >> /var/log/nodeapp.sys.log 2>&1
end script

But now I want to use nvm, so how should I construct exec command to use nvm?

@creationix Thanks for these detailed instructions. Still super helpful 4 years later.


授权: concepts/authorization.md

This article is waiting to be claimed. concepts/authorization.md

目录调整，该章节合并，详情见 #251


Color arithmetic operator inconsistencies in core

Godot version: master
Issue description:
https://github.com/godotengine/godot/blob/master/core/math/color.cpp#L592
There are a few inconsistencies with Color's operators.

The /= real_t code has a check for if the value is zero, but not for / real_t (no =). This inconsistency should be fixed eventually, but which behavior should be kept?

All of the operators should also be changed from real_t to float because Color never has a need for more precision than float (using double is useless for Color).

There is no float * Color in GDScript, only Color * float, but there is float * Vector2 etc.

I think all of these can be fixed at the same time, but the first point requires discussion.

* The `/= real_t` code has a check for if the value is zero, but not for `/ real_t` (no `=`). This inconsistency should be fixed eventually, but which behavior should be kept?

Generally speaking it should be fine that / (real_t)0 has no special handling and gives NaN, however here for Color this might have been done for the renderer's sake? So I'm not sure which behavior should be kept, probably needs input from @reduz.

* The `/= real_t` code has a check for if the value is zero, but not for `/ real_t` (no `=`). This inconsistency should be fixed eventually, but which behavior should be kept?

Generally speaking it should be fine that / (real_t)0 has no special handling and gives NaN, however here for Color this might have been done for the renderer's sake? So I'm not sure which behavior should be kept, probably needs input from @reduz.

The rule is float /=0 should not check, int /=0 should check and throw error. I guess this needs to be changed.

The rule is float /=0 should not check, int /=0 should check and throw error. I guess this needs to be changed.


Support rust demangling

https://github.com/rust-lang/rustc-demangle has a nice C API we could use. I don't know if there's an easy way to detect if a symbol is rust vs. C++ vs. C, but I'd like to avoid forcing the user to specify, if possible.

Prior art: https://github.com/torvalds/linux/blob/5bfc75d92efd494db37f5c4c173d3639d4772966/tools/perf/util/demangle-rust.c

More prior art: https://github.com/llvm/llvm-project/blob/main/llvm/lib/Demangle/RustDemangle.cpp


Added a build

Here's the PR for #4
I took the liberty of adding a package-lock.json.
I set up .browserslistrc to handle every browser supporting webauth according to caniuse, which leads to the final dist being 42KB. The list of polyfills is as follows:
useLogin.js:

es.promise { "edge":"18", "firefox":"60" }

src\useRegistration.js:

es.promise { "edge":"18", "firefox":"60" }

src\common.js:

es.promise { "edge":"18", "firefox":"60" }
es.string.replace { "edge":"18", "firefox":"60", "safari":"13" }
es.typed-array.uint8-array { "safari":"13" }
es.typed-array.from { "safari":"13" }
es.typed-array.to-locale-string { "edge":"18" }
web.dom-collections.iterator { "edge":"18", "safari":"13" }

Thank you!
Let’s build and deploy using Github Actions

Do you want me to make a PR for the build or would you rather do it?


Add Composite Index to the documentation

I found the Composite Index when reading about Index, but it is not in the list on the github page or in the readme.

Hello @svnv. This is actually quite simple: the documentation for the CompositeIndex is already written but the code is not. I should probably hide it and remove the link for now until the code is written.

Done. It should be hidden now :)


Slack Sensor Instability

The messages coming through Slack's RTM API seem to be quite varied and may or may not contain certain data. For example, #174 addresses some of the variations in profile data. However, I have also seen some quirkiness with data not containing a channel key as well (I haven't dug in to find what these messages are yet, but that's weird - maybe private groups?). Here's a stacktrace from such an occurance:
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/st2reactor/container/sensor_wrapper.py", line 336, in run
    self._sensor_instance.run()
  File "/usr/lib/python2.7/dist-packages/st2reactor/sensor/base.py", line 92, in run
    self.poll()
  File "/data/st2contrib/packs/slack/sensors/slack_sensor.py", line 45, in poll
    self._handle_result(result=result)
  File "/data/st2contrib/packs/slack/sensors/slack_sensor.py", line 75, in _handle_result
    handler_func(data=item)
  File "/data/st2contrib/packs/slack/sensors/slack_sensor.py", line 87, in _handle_message
    channel_info = self._get_channel_info(channel_id=data['channel'])
  File "/data/st2contrib/packs/slack/sensors/slack_sensor.py", line 122, in _get_channel_info
    channel=channel_id)['channel']
KeyError: 'channel'

Note: Line numbers may be off as I was poking around on this file a bit...
Ideally, I would like for the sensor to keep on trucking despite running into issues with a particular message. Would it be appropriate to wrap self._handle_result(result=result) in the poll function in a try/except block? On error, it could log the event, but keep the sensor running.
Thoughts?

Will look into it tomorrow, but in short, I also pushed a did for missing user and channel key in #173

Alright - as noted above, my change in #173 fixes the deleted user / channel issue, but I also agree that wrapping handle_result in try / catch and (logging and) continuing on exception is an acceptable thing to do here.
In general, you want to propagate all the fatal exceptions and not swallow and quietly ignore them, but in this case is acceptable - invalid API key or some other fatal exception will still be propagated since we are only wrapping _handle_result.

@ryandub In short - feel free to open a PR with the try / except change. Just make sure you still log the exception in the except clause though :)


adding duckplayer telemetry events

Task/Issue URL:
Description
Steps to test this PR
Feature 1

[ ]
[ ]

UI changes

Before
After

!(Upload before screenshot)
(Upload after screenshot)

#5201  👈
develop

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

Join @shakyShane and the rest of your teammates on  Graphite


Update continue links and Chapter 6.1 - Prerequisites

Update continue reading links:

Chapter 4.2
Chapter 4.3
Chapter 5.1

Moved Chapter 6.1 - Getting Started to Chapter 6.2 - Getting Started
Added Chapter 6.1 - Prerequisites to include npm modules from bug report #9

Thanks - will take a look at this tonight.


2fa fixes

[x] Change 2FA expiry time from 5 minutes to 15 (consistent with Notify OTP)
[x] Change template to add 15 min expiry time (consistent with Notify OTP)
[x] Change OTP code length from 6 to 5 (consistent with Notify OTP)
[x] Require 2FA on every sign in
[x] Show errors when invalid or no OTP code is entered

When 2FA code is not entered:

When 2FA code is incorrect:

@kosiakkatrina possibly but I think that's out of scope here for now


make the logseq filter config an enum

import all my articles
import just highlights
advanced

[custom query if advanced is selected]
cc: @jacksonh

#38 @jacksonh

Closed as added in https://github.com/omnivore-app/logseq-omnivore/releases/tag/v1.6.0


apiAvailabilityMetrics.update need reset consecutiveFailedProbes when availability is true

What happened:
https://github.com/kubernetes/perf-tests/blob/277b8658acc36883fd1efe5e68b3d7a9f252bcc9/clusterloader2/pkg/measurement/common/api_availability_metrics.go#L41-L51
should we set a.consecutiveFailedProbes = 0 when availability is true ?
What you expected to happen:
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
Environment:

Kubernetes version (use kubectl version):
Cloud provider or hardware configuration:
OS (e.g: cat /etc/os-release):
Kernel (e.g. uname -a):
Install tools:
Network plugin and version (if this is a network-related bug):
Others:

yup, seems like it's a bug
/assign @tosi3k
/remove-lifecycle rotten


Implement Async S3PrefixSensor

Add Operator, Hook and Trigger for Async S3PrefixSensor
Part of #66

Is this still work in progress? or ready for final review?

There were a lot of conflicts here, I suggest using rebase instead of merge commits


What version of gpt does it use

What happened?
.
How can we reproduce this?
.
sgpt version
.

Search

[X] I did search for other open and closed issues before opening this

Project

[X] I have verified that I am using the Go implementation of SGPT (this project) and that it is not another project

Code of Conduct

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

Additional context
.

Hi,
the program uses the GPT version that you specify on the command line. If you have any further questions, please use the Discussions, as your question is not a bug or feature request.
Have a nice weekend.


Add metadata for RubyGems

Thanks for the improved metadata content. Added one comment, dunno if it makes sense to be that specific...

Thank you for the contribution. Highly appreciated 👍


Create a new release

There were 44 commits to master since the last release

Created release v1.0.0


Features/add project argument

Add argument project to functionality to run xnatdcat for only a specific project

Hi Katinka,
I’ll merge this in some time next week. The command line interface will get a big revamp in “click” which will make commands like this a lot nicer to implement cleanly. I’m expecting to receive that PR this week and then will add your feature.
Thanks for the collaboration!

Oke cool!
Van: Mark @.>
Verzonden: woensdag 17 januari 2024 10:03
Aan: Health-RI/xnatdcat @.>
CC: Rus, K.H. (Katinka) @.>; Author @.>
Onderwerp: Re: [Health-RI/xnatdcat] Features/add project argument (PR #8)
Hi Katinka,
I'll merge this in some time next week. The command line interface will get a big revamp in "click" which will make commands like this a lot nicer to implement cleanly. I'm expecting to receive that PR this week and then will add your feature.
Thanks for the collaboration!

Reply to this email directly, view it on GitHubhttps://github.com/Health-RI/xnatdcat/pull/8#issuecomment-1895374756, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BBCWMMBWG3J3JH2WKOTU5KLYO6HVFAVCNFSM6AAAAAA7BGL4P6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQOJVGM3TINZVGY.
You are receiving this because you authored the thread.Message ID: @.***>

AmsterdamUMC disclaimer : www.amsterdamumc.org/disclaimers


[FEATURE]-ZoomRooms bridge needs to be updated to support existing functionality

Is your feature request related to a problem? Please describe.
User is unable to enter a password when a Meeting requires a password.
Describe the solution you'd like
Let a user enter a password either before or after connecting to a Meeting (incoming or outgoing).  Support re-try password entry.
Provide Digital "toSIMPL" when a Meeting is requiring a Password is true. (clear on false or successful/abandoned connection)
Provide Digital "toSIMPL" when WrongAndRetry is true.
Provide a Serial "fromSIMPL" string for password text entry.
Provide a Digital "fromSIMPL" to re-send Dial command with entered password (outoging) or send command required by incoming call
Describe alternatives you've considered
Might be required that ZoomRoom keeps direct control over UI popup page visibility rather than more raw feedback described above.
Additional context
https://marketplace.zoom.us/docs/guides/zoom-rooms/zoom-rooms-cli/zEvents#zevent-meetingneedspassword
https://marketplace.zoom.us/docs/guides/zoom-rooms/zoom-rooms-cli/zEvents#zevent-incomingcallindication
@jkdevito

The ZoomRoom class supports this and it is already supported for stand-alone Essentials rooms. The ZoomRoom join map just needs the functionality added  to map the joins over to SIMPL.

Updated the issue title to accurately reflect the issue beyond just the password functionality.
The following features will require LinkToApi updates to bridge into SIMPL:

Show password prompt
Password incorrect feedback
Need to wait for host feedback
Start meeting now trigger
Start share only meeting trigger
Share only meeting feedback
Is host feedback
Password entry input
Password prompt message
Meeting ID feedback
Meeting Host feedback
Meeting password feedback


German 3.0 and 2.0 legal code down

The German versions of the legal code for at least v3 and v2.0 are down: https://creativecommons.org/licenses/by-nd/2.0/de/legalcode.de. This is the link given in the Deeds (see e.g.: https://creativecommons.org/licenses/by-nd/2.0/de/deed.de) so the connection between the license notice, the Deed and the legal code is broken.

Hi!
The links are wrong. The correct links:
https://creativecommons.org/licenses/by-nd/2.0/deed.de - the deed
https://creativecommons.org/licenses/by-nd/2.0/legalcode.de - the license
https://creativecommons.org/licenses/by-nd/3.0/deed.de - the deed
https://creativecommons.org/licenses/by-nd/3.0/legalcode.de - the license
Where did you find these linked from?
On the other hand, why don't you use the 4.0 translations?
https://creativecommons.org/licenses/by-nd/4.0/deed.de
https://creativecommons.org/licenses/by-nd/4.0/legalcode.de

This issues seems to have fixed itself.
https://creativecommons.org/licenses/by-nd/2.0/de/ has a working link to the license
https://creativecommons.org/licenses/by-nd/3.0/de/ has a working link to the license
https://creativecommons.org/licenses/by-nd/4.0/deed.de has a working link to the license, albeit it to the english legal code.
The links that @georgehari refers to are incorrect imo, as the unported 2.0 and 3.0 should not have a german translation. right @peterspdx ?
Can be closed in my opinion.


Fixes typos in ci scripts until we can remove them

#153 removes these, but this tidies up meanwhile

I also renamed the to-be-deleted ci scripts directory to match $GOOS (darwin, not macos) as this being different has bit me a couple times so far


Use scpPrettify() for envelopes

Fixes #1092

@bpfkorea/core green.

Sorry I didn't push again after the rebase. Should be fixed now.


[question]:Is onesignal dot net dead?

How can we help?
Hi
One signal seems to be one of the leading provider in the field , however when it comes to .net , there is hardly any support.
Is this nuget dead? iOS does not work at all and questions there seems to be just forgotten.
Hey - onesignal are you there?
Code of Conduct

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

We are still supporting the OneSignal-DotNet-SDK
What issues are you seeing on iOS?
We published a new 5.0.2 release to fix iOS builds, let us know if you're still having issues

@shepherd-l thanks for the update.I will try the latest build.we are evaluating Onesignal for our Maui priojects but we are concerned by the lack of response or very delayed responses on people questions. Does paid version get a different response time?

We try our best to respond to everyone promptly and are urgently working through issues with the 5.0.0 version.
Any issues raised on GitHub across all SDKs are handled by the SDK team.
We have a customer support team and dedicated services available. You can contact the support team on our website: https://onesignal.com/contact
Customer Support plans are listed here under “Customer Support”

@shepherd-l  the point I was making is that for 3 or more weeks there was total radio silence on issues that are showstoppers, and as a business is worrying , if something goes wrong , we need acknowledgment and feedback -
I hope you understand where I am coming from .  Regarding support if I am on a paid plan will this issue be looked at immediately as opposed to a free plan?

@TedMobile We do understand your frustration and are working to respond to Github issues promptly. The level of support plan does not affect the speed that we address these issues on Github.


dist folder is now generated at build time, updated dependencies

Your PR motivated me to update some things. Thanks!


Cant select different themes for different post

Information:

Prism version: [latest from the download page, etc.]
Plugins: [codesyntax]
Environment: [Browser]

Description
There is a bug as I cannot use different themes for different posts. The theme changes globally and also only 1 theme is compitablr for highlighting. If I use other dark themes highlighting will stop as shown below. You can see how bad it will show up if I use dark themes in Wordpress site

Example
Currently I have changed it to light theme and modify css manually and itseems working reference site Itsmycode, where you can check by modifying styles.

Prism only supports one theme per page at one time.
If you want to have 2 code blocks with different themes on the same page at the same time, then you have to use iframes, scoped styles, or a shadow DOM.
If you want to implement something like a light-mode-dark-mode switch, then the easiest solution is to remove the <link>/<style> of the unwanted theme and add the wanted theme.

If I use other dark themes highlighting will stop as shown below.

It seems like you are having 2 themes loaded at the same time. Prism does not support this.
I think this is a problem with your site's setup and not with Prism.

Ok let me give it a try, I will add the custom styles to my theme and see if I can override the default behaviour and make it work.

Since there haven't been any follow-up questions, I'll assume the issue has been resolved.


Provide default UI schema if no UI schema has been supplied

If no UI schema can be obtained, for instance, becasue no such schema has been registered, we should generatea default layout, e.g. a vertical layout that renders all widgets in a vertical manner.

Implemented with PR #53


Use internal link for sample map

As the Discord link no longer works due to changes on Discord's side.

Sorta related https://github.com/R2Northstar/ModdingDocs/pull/196#discussion_r1375280857


Fix the different typos in the doc

I'm currently experimenting with Finch (having a great time btw, so thanks for that).
So, naturally, I went through the doc (which are also great :smile: ) and found a few typos.
This PR aims to fix those I found.

[Current coverage][cc-pull] is 74.70%

Merging [#605][cc-pull] into [master][cc-base-branch] will not change coverage

Powered by Codecov. Last updated by [da23a68...5781adf][cc-compare]
[cc-base-branch]: https://codecov.io/gh/finagle/finch/branch/master?src=pr
[cc-compare]: https://codecov.io/gh/finagle/finch/compare/da23a6836a680c0860d2804e4ed7b0c86d41715d...5781adfe4cf92926f05e4227a81a6c1fa313afb4
[cc-pull]: https://codecov.io/gh/finagle/finch/pull/605?src=pr

This looks fantastic! Thanks a ton @BenFradet!

Glad I could help.


Server taking very long to load

*Description of issue:
I just upgraded from 4.15.5 to 4.15.6, and everytime I start the server loading gets stuck a few minutes on this :
>.... [22:26:31 INFO]: [Jobs] Started database save task.
>.... [22:26:31 INFO]: [Jobs] Started buffered payment thread.

It's actually taking 4 minutes when it was taking a few seconds on 4.15.5. I didn't make any change in the configs.
I'm considering going back to 4.15.5.
Server Type (Spigot/Paperspigot/etc):
PaperSpigot
Server Version (using /ver):
Paper Version 155

https://github.com/Zrips/Jobs/issues/720


Plugin UI seems to have a missing font

Describe the bug
The fonts used in the UI seem to be off.
To Reproduce
Launch the plugin
Screenshots

Desktop (please complete the following information):
macOS Big Sur

same thing happening on my windows 10 machine

Can you test with the latest build? I think I was able to resolve the issue with the font import.

I was able to find the issue but it should be resolved now! Please reopen if it is still happening to you


Packager does not detect changes when index.android.js is a symlink

Description
I replaced the default index.android.js with a symlink of the same name pointing to src/index.js.  I expected changes made to src/index.js to be detected by the packager (when prompted to rebuild) and that it would rebuild accordingly. Instead, when changes are made to src/index.js and I double-tap R in the Android emulator to rebuild, the packager outputs:
Bundling `index.android.js`
  No module changed.

indicating it did not detect any changes and thus did not rebuild. Thus, the emulator continues to render the app according to the old file state and does not render the changes.
Reproduction
Replace index.android.js with a symlink to another file. Make changes to the file and observe that the packager does not detect the changes when prompted to rebuild.
Solution
The packager needs to follow symlinks when checking for changes to index.android.js.
Additional Information

React Native version: 0.41.0
Platform: Android (but probably iOS too)
Operating System: macOS

The packager does not support symlinks because Watchman does not support symlinks :(


feat(Sonarr-Anime): Update French Anime guide

Pull Request
Purpose
Initial draft of the new french anime guide
Requirements

[x] These changes meet the standards for contributing.
[x] I have read the code of conduct.

TODO / Done

[x] (fix) Error to retrieved VOSTFR scoring
[x] (fix) missing sonarr french scoring for streaming services
[x] Add repack for sonarr anime
[x] Update anime table to match the new version of NiceTSY
[x] Add TIP for those who prefer fansub to official translations

@NiceTSY I'll let you do a review, but for me it's all good


Reorder task inputs in create_ome_zarr, create_ome_zarr_multiplexing

Most tasks have the required arguments at the top. For some reason, the Create OME-Zarr and its multiplexing version do not. Let's reorder that unless there is a strong reason for having Image Extension & Image Glob Patterns above?
For Create OME-Zarr, 2 arguments with defaults come first:

For cellpose, the 2 required ones are at the top:

I'll review all tasks quickly & would make a PR, unless you disagree @tcompa ?

Go on, thanks!

Closed with #451


Add 8 regions, Replace deprecated datetime methods

Fix #2004, fix #2009: Add 8 regions: ApSouth2, ApSoutheast4, EuCentral2, EuSouth2, IlCentral1, MeCentral1, UsGovEast2, UsGovWest2

@sohang3112 note that this crate is no longer maintained. You should consider switching to the official SDK: https://docs.aws.amazon.com/sdk-for-rust/latest/dg/getting-started.html.

this crate is no longer maintained

@davidbarsky Thanks for informing me. So should I close this PR or let it remain open?

Closing this PR, since @davidbarsky mentioned that this repo is no longer maintained.