roleAssignments on subnet for AKS network contributer

Bicep version
Bicep CLI version 0.3.1 (d0f5c9b164)
Describe the bug
I am not able to create a  role assignment for the  scope subnet. I want to assigned my servicePrincipal the  role  'Network Contributer' as part of the AKS deployment.
resource roleAssignment 'Microsoft.Authorization/roleAssignments@2020-04-01-preview' = {
  name: guid(resourceId('Microsoft.Network/virtualNetworks/subnets', virtualNetwork.name, aksDefaultPoolSubnetName), 'Network Contributor')
  //scope:  << CANT GET  THE  SUBNET RESOURCES  OUT  OF THE VIRTUAL  NETWORK RESOURCE
  properties: {
    principalId: aksServicePrincipalObjectId
    roleDefinitionId: '4d97b98b-1d4f-4787-a291-c67834d212e7'
  }
  dependsOn: [
    virtualNetwork
    userAssignedIdentities
  ]
}

To Reproduce

Create a virtual network  with a subnet inside for  the AKS  agentpool subnet
Create  an AKS  Cluster

Additional context
If I try to declare a resource of the type subnet i get an error when re-applying  the deployment. The deployment tries to recrearte the subnet, which is attached to the  VMSS of the AKS cluster

Here's how you could rewrite it using the existing keyword to get a symbolic reference to the subnets resource without actually triggering a deployment for a subnet:
resource aksDefaultPoolSubnet 'Microsoft.Network/virtualNetworks/subnets@2020-08-01' existing = {
  parent: virtualNetwork
  name: aksDefaultPoolSubnetName
}

resource roleAssignment 'Microsoft.Authorization/roleAssignments@2020-04-01-preview' = {
  scope: aksDefaultPoolSubnet
  name: guid(aksDefaultPoolSubnet.id, 'Network Contributor')
  properties: {
    principalId: aksServicePrincipalObjectId
    roleDefinitionId: '4d97b98b-1d4f-4787-a291-c67834d212e7'
  }
  dependsOn: [
    virtualNetwork
    userAssignedIdentities
  ]
}

hi @anthony-c-martin, works like a charm. Somehow i forgot to  set the parent tag. It was not clear from  the getting started docs. :(


Graphical glitches on when moving around

Happens on 1x and 4x zoom. Disappears on 1x zoom after zooming in our out once

ive seen it before but not sure the cause. do you have more instructions on how to reproduce it?

It just happened when I launched the editor and opened up the gmap

Nope, that didn't fix it:

It fixes and unfixes itself when I scroll. It feels like the squares of tiles get offset somehow

And when I zoom in, to 2x then back to 1x, the problem is gone.

On line 205 of EditorTabWidget.cpp when you change the fill colour does it also change the colour of the lines?

I can reproduce the error 100% by using the screenshot tool and setting zoom factor to 1.2 so at least now i've got something to work with

Enabling anti-aliasing fixes it...

In EditorTabWidget::renderScene can you change it to this:
void EditorTabWidget::renderScene(QPainter * painter, const QRectF & rect)
{
	Rectangle viewRect(rect.x(), rect.y(), rect.width(), rect.height());

	auto transform = painter->transform();
	QTransform newTransform(transform.m11(), transform.m12(), transform.m21(), transform.m22(), (qreal)int(transform.dx()), (qreal)int(transform.dy()));
	painter->setTransform(newTransform);

	auto mousePos = m_graphicsView->mapToScene(m_graphicsView->mapFromGlobal(QCursor::pos()));

and see what happens?


xcube version config

The hub is now using XCUBE_REPO and XCUBE_TAG allowing to configure xcube's version tag separately from its repo

Codecov Report

Merging #10 (d0556fc) into master (48e6897) will not change coverage.
The diff coverage is 100.00%.

:exclamation: Current head d0556fc differs from pull request most recent head cfc4b26. Consider uploading reports for the commit cfc4b26 to get more accurate results

@@           Coverage Diff           @@
##           master      #10   +/-   ##
=======================================
  Coverage   89.15%   89.15%
=======================================
  Files          72       72
  Lines        4114     4114
=======================================
  Hits         3668     3668
  Misses        446      446

Impacted Files
Coverage Δ

xcube_hub/core/validations.py
100.00% <ø> (ø)

test/core/test_cubegens.py
96.11% <100.00%> (ø)

xcube_hub/core/cubegens.py
99.39% <100.00%> (ø)

Continue to review full report at Codecov.

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


Getting an error when trying to connect (First attempt at this)

I set the credential and add the autotaskapiauth and that goes through.
Retrieving webservices URI based on username
Setting AutotaskBaseURI to https://webservices15.autotask.net/ATServicesRest/ using version V1.0
Setting API resource parameters. This may take a moment.
When I try and run
Get-AutotaskAPIResource -resource Companies -SimpleSearch "isactive eq $true"
I get the following.
ConvertFrom-Json : Invalid JSON primitive: .
At C:\Program Files\WindowsPowerShell\Modules\AutoTaskAPI\0.9.9\AutoTaskAPI.psm1:234 char:52

        $ErrResp = $streamReader.ReadToEnd() | ConvertFrom-Json

                                               ~~~~~~~~~~~~~~~~

CategoryInfo          : NotSpecified: (:) [ConvertFrom-Json], ArgumentException
FullyQualifiedErrorId : System.ArgumentException,Microsoft.PowerShell.Commands.ConvertFromJsonCommand

Hi!
The https://webservices15.autotask.net/ server has not yet been updated to 2020.2. This means the REST API isn't available yet. add-Autotaskapiauth works because authentication is done in a central autotask zone, and not on your server specifically.
The good news is that on the 30th of june you should be updated, and you'll be able to use the module after that.
Would you like me to keep the bug report open until after release, so we can follow-up?

Sure, thanks for that info.  I will try again on the 30th.

I believe webservices15 is now upgraded. Can you try again? :)

Working Great thanks Kelvin excellent work, hope to contribute!

Thanks!


Someone fell asleep on their keyboard

English translation file: 1234XXXXTX -> TX

Lol thanks. I was actually detecting what strings werent translated lol. When I fall asleep on my keyboard it's more like dssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssssss... 😊


Revert the name change

See https://github.com/Neoteroi/BlackSheep/discussions/299

Codecov Report
Base: 98.12% // Head: 98.04% // Decreases project coverage by -0.07% :warning:

Coverage data is based on head (83d381b) compared to base (9fd845c).
Patch coverage: 99.63% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #300      +/-   ##
==========================================
- Coverage   98.12%   98.04%   -0.08%
==========================================
  Files          61       61
  Lines        5641     5629      -12
==========================================
- Hits         5535     5519      -16
- Misses        106      110       +4

Impacted Files
Coverage Δ

blacksheep/client/__init__.py
100.00% <ø> (ø)

blacksheep/common/files/info.py
100.00% <ø> (ø)

blacksheep/common/files/pathsutils.py
100.00% <ø> (ø)

blacksheep/normalization.py
100.00% <ø> (ø)

blacksheep/ranges.py
100.00% <ø> (ø)

blacksheep/server/__init__.py
100.00% <ø> (ø)

blacksheep/server/openapi/docstrings.py
99.60% <ø> (ø)

blacksheep/server/openapi/exceptions.py
100.00% <ø> (ø)

blacksheep/server/rendering/abc.py
100.00% <ø> (ø)

blacksheep/server/rendering/models.py
100.00% <ø> (ø)

... and 65 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


client.Write method is not working for me

I have created a console application where I'm using client.Write method to write new value to required node but no change in value and getting status code "2155085824" in response.

This error corresponds to the enum for BadTypeMismatch. Might need unsigned int, long, a float or a double depending on the type of the node. Check the data type for the node on the server.
Closing, not a library issue.

I have created another node of type int and just to assign 6, but still not writing value to node, where as when tried with OPC UA client then it is writing the value
uint[] respStatuses;
//client.SetPublishingMode(true);
client.Write(new WriteValue[]
{
new WriteValue(
new NodeId(2, "SiemensPLCs.PLC1500.HMI.Station_Status[2]"), NodeAttribute.Value,
null, new DataValue(6, StatusCode.GoodClamped, DateTime.Now))
}, out respStatuses);
This is the code snippet

This error corresponds to the enum for BadTypeMismatch. Might need unsigned int, long, a float or a double depending on the type of the node. Check the data type for the node on the server.
Closing, not a library issue.

Hello Nauful, thank you for the response.
I have double verified the data type and value assigned but still facing issue. please check my comment with more details

The UA data type is Word, which in C# is ushort. Sending 6 as a constant is an int (Int32 for UA) Try declaring a variable with that type specified:
ushort value = 6u;
... new DataValue(value, ...)

Try StatusCode.Good instead of StatusCode.GoodClamped. If that doesn't work, I need more info:
With an unencrypted connection (security None or Sign but not SignAndEncrypt), can you take a Wireshark capture of writing the value from your OPC client, then of writing your value from this test app?

I have tried with security none, but in this case I'm event not able to read the value as well. But when I'm trying with SignAndEncrypt, I'm able to read the value but can't write. When I checked the status code returned by "write" method then it says
BadWriteNotSupported = 0x80730000, // The server not does support writing the combination of value
But I'm passing the correct

Sounds good. Your server may have been rejecting the additional parameters.


Configure a full hostname for Speech service containers

Feature Request
Is your feature request related to a problem? Please describe.
I'm unable to configure a hostname for a Speech service containers.
Describe the suggestion or request in detail
I have a Docker container running TTS service. The exposed URL for this container is something like http://<IP_ADDRESS>:5001. Following the documentation, I found that I can modify speechSynthesisHostname. As my docker container is running locally, I need to use http://, but in the code, https:// is hardcoded, so there is no way to build the URL I need.
Describe alternatives you have considered
To keep current behaviour as a non breaking change, we could default to https and have another property or flag to specify either a full URL or force the usage of http.

[Enhancement]

Hardcoding HTTPS seems reasonable for us, although I see how that would cause you a problem.
Can you create a self-signed cert, or get a localhost cert via LetsEncrypt or similar? Seems the quickest way to work around the issue.

Yes! Both approaches are valid. I already found a solution around with the self-signed certificate. If you don't think this enhancement would help other situations, we may close the ticket.

@palancana Can you point us to documentation on configuring speech containers?

Just adding a few more potential workarounds (not related to enhancement);

Cloning, modifying and building your own webchat
Using something like Ngrok or Service Bus (not likely a worthwhile production solution).

@palancana Can you point us to documentation on configuring speech containers?

Here is the link.

Cloning, modifying and building your own webchat
Using something like Ngrok or Service Bus (not likely a worthwhile production solution).

That's another approach, yes. Thanks for contributing!

JJ will take a look into this one

@compulim Is this something you want to take as an enhancement/DCR? Seems like there are more than a few workarounds. Can you please close if not (I don't currently have perms to do so).

@compulim could you please evaluate Dana's suggestion on whether we should close this issue and / or take as an enhancement?


question. Why safe toasts?

Why sample app has this safe Toasts.java class. Are toast unsafe or something?
Is it common practice in big projects to have one?
thx in advance =)

Maybe of the context.

@Rainer-Lang can you provide some example or be a little more specific?
I allways used Toasts and they never crashed. and i wasn't able to find information on this subject.

Huh, I don't remember precisely, I guess there was a case in our practice when Toast would not work with particular Context.
@nikitin-da maybe you remember something? :)

I don't remember such cases=)
I guess all types of context are acceptable and we should just check context for null
(not to swallow NotFoundException if stringRes is incorrect or RuntimeException if we will call it from worker thread)

@nikitin-da I don't know am I correct but maybe this save toasts were added because of potential 'race condition' when AndroidSchedulers.mainThread() is used.

No, if you unsubscribe correctly there won't be a race condition
On 28 Sep 2016 4:25 pm, "Krzysztof Skrzynecki"<EMAIL_ADDRESS>wrote:

@nikitin-da https://github.com/nikitin-da I don't know am I correct but
maybe this save toasts were added because of potential 'race condition'
when AndroidSchedulers.mainThread() is used
http://blog.bradcampbell.nz/keep-your-main-thread-synchronous/.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/pushtorefresh/storio/issues/680#issuecomment-250288772,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA7B3AhOZkPR_lojfzybvk0looyuYO_hks5qus0fgaJpZM4JwluV
.


The TPM2 provider erroneously claims to be able to export private keys

There are several reports of problems using tpm2-provider that boil down to the provider "successfully" returning a structure containing just a public key when asked to export a full key including the private part, see https://github.com/openssl/openssl/issues/20747#issuecomment-1511471281 or https://github.com/openssl/openssl/issues/21500 or #80.
This seems to fix those:
From cc023e84c67a1fe8409ae9512e659d88efce3a52 Mon Sep 17 00:00:00 2001
From: Florian Hars<EMAIL_ADDRESS>Date: Fri, 21 Jul 2023 09:26:03 +0200
Subject: [PATCH] fix key export logic

---
 src/tpm2-provider-keymgmt-ec.c  | 3 +++
 src/tpm2-provider-keymgmt-rsa.c | 3 +++
 2 files changed, 6 insertions(+)

diff --git a/src/tpm2-provider-keymgmt-ec.c b/src/tpm2-provider-keymgmt-ec.c
index 164ae74..0cc12af 100644
--- a/src/tpm2-provider-keymgmt-ec.c
+++ b/src/tpm2-provider-keymgmt-ec.c
@@ -606,6 +606,9 @@ tpm2_ec_keymgmt_export(void *keydata, int selection,
     if (pkey == NULL)
         return 0;

+    if ((selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0)
+        return 0;
+
     curve_nid = tpm2_ecc_curve_to_nid(TPM2_PKEY_EC_CURVE(pkey));

     pubsize = tpm2_ecc_point_to_uncompressed(
diff --git a/src/tpm2-provider-keymgmt-rsa.c b/src/tpm2-provider-keymgmt-rsa.c
index 5e07192..f8654e5 100644
--- a/src/tpm2-provider-keymgmt-rsa.c
+++ b/src/tpm2-provider-keymgmt-rsa.c
@@ -557,6 +557,9 @@ tpm2_rsa_keymgmt_export(void *keydata, int selection,
     if (pkey == NULL)
         return 0;

+    if ((selection & OSSL_KEYMGMT_SELECT_PRIVATE_KEY) != 0)
+        return 0;
+
     OSSL_PARAM params[3], *p = params;
 #if !defined(WORDS_BIGENDIAN)
     unsigned char *n = NULL;
--
2.25.1

Thank you for debugging this! I applied your patch in 5ec8a44.


Download Button does not work on mobile

Duplicates

[X] I have searched the existing issues

Latest version

[X] I have tested the latest version

Current behavior 😯
When clicking on a button to download a file on mobile, instead of downloading the file, it downloads an html file (with the name of the actual file it is supposed to download and .html at the end), but the file download notification on Android says "No file". On iOS, it tries to go tho the html page that gets downloaded on Android.
Here is how I defined the button:
<Button
	color="inherit"
	aria-label="download resume"
	href="../../public/Stefani_Moore_Resume.pdf"
	float="left"
	component={Link}
	download="Stefani_Moore_Resume.pdf"
	startIcon={<FileDownloadIcon />}
>
	Resume
</Button>

Expected behavior 🤔
it should download the file on mobile as well.
Steps to reproduce 🕹
Steps:

Create a button that downloads a file:

<Button
	color="inherit"
	aria-label="download file"
	href="[path to file to download]"
	float="left"
	component={Link}
	download="[File to download name]"
	startIcon={<FileDownloadIcon />}
>
	Download File
</Button>

Click the button from a mobile device using any browser (I used Edge on Android, and Safari on iOS)
Notice that on iOS, it tries to go to an html page, while on Android it downloads the html file.

Context 🔦
I am creating a professional portfolio website and a crucial button I need is to download my resume.
Your environment 🌎

npx @mui/envinfo
  System:
    OS: macOS 12.5.1
  Binaries:
    Node: 16.17.0 - /usr/local/bin/node
    Yarn: 1.22.19 - /usr/local/bin/yarn
    npm: 8.15.0 - /usr/local/bin/npm
  Browsers:
    Chrome: Not Found
    Edge: Not Found
    Firefox: Not Found
    Safari: 15.6.1
  npmPackages:
    @emotion/react: ^11.10.4 => 11.10.4
    @emotion/styled: ^11.10.4 => 11.10.4
    @mui/base:  5.0.0-alpha.96
    @mui/core-downloads-tracker:  5.10.4
    @mui/icons-material: ^5.10.3 => 5.10.3
    @mui/lab: ^5.0.0-alpha.98 => 5.0.0-alpha.98
    @mui/material: ^5.10.4 => 5.10.4
    @mui/private-theming:  5.10.3
    @mui/styled-engine:  5.10.4
    @mui/system:  5.10.4
    @mui/types:  7.2.0
    @mui/utils:  5.10.3
    @types/react:  18.0.19
    react: ^18.2.0 => 18.2.0
    react-dom: ^18.2.0 => 18.2.0
    typescript:  4.8.3

We don't have any custom logic for the download attribute in Material UI components, so likely this isn't a bug in our project.
What is this Link component you pass into the component prop? Could you try using it directly and checking if the problem still exists?
<Link
  href="[path to file to download]"
  download="[File to download name]">...

@stmoor
There might be the issue in the path of your file,
Try with normal HTML button to download the file, If that works then it should work with MUI Button as well


The app never auto-loads external subtitles

Issue
The first time I long press the file icon, I did not get any option to auto load external subtitles in the future.
So every time after choosing a movie, I have to long press the file icon, and navigate to the movie folder to pick an external subtitle file.
Question
Why can't the app automatically detect subtitles in the same folder of the movie, and add it to the subtitles list?

The first time I long press the file icon, I did not get any option to auto load external subtitles in the future.

You should see a dialog "To automatically load external subtitles...". Try clearing app data and doing that again. If that doesn't work, share some adb logs.

Why can't the app automatically detect subtitles in the same folder of the movie, and add it to the subtitles list?

Just Player doesn't want to implement its own file picker so it uses system (SAF) file chooser. Because of that, it doesn't have access to any other files than the one user selects.

I am experiencing the same issue on a Philips TV with Google TV (Android 12). I have been looking for a player that plays everything out of the box as a default external player for Jellyfin. This player seems to just work and play everything (so far)!
Jellyfin sends a streamable url to the player, including all available subtitles which I can pick. There is however no option available to set a default language for subtitles (there is for audio) so it loads this automatically. It also doesn't seem to remember the last picked subtitles when restarting the same video again.
When should this dialog to "To automatically load external subtitles..." appear? Maybe it would be an option to just add this to the settings like the default audio track option?

This seems solved in 0.179 version?

+1 for adding a setting to enable auto loading external subtitles.


Audit the project under the light of SOLID principles

https://www.digitalocean.com/community/conceptual_articles/s-o-l-i-d-the-first-five-principles-of-object-oriented-design

Here is a quick and dirty review of solid for the session, entities in general and verbs in general. There is place for improvement but also for excess of optimization.
I think the most constructive analysis we can conduct here is about dependencies:

exactly which classes depend on which others?
for what does the client class use its dependency?
If it uses it for more than one thing, those functions should be performed by different clases instead of only one?

If not, should we create different interfaces that the same class can implement, so that the client class depends on those interfaces independently instead of the class that implement them all?

the dependency itself makes sense? It could make more sense if it were any other way?

After some more consideration I think that while the architecture of the project may not be what my teachers called perfect, it is enough functional, practical and easy to understand. Now I know some of its flaws, and that's good, but we definitely don't need a mayor refactoring.


[CI] Remove template injection vulnerable bits from DevX Infra GHA Workflows

What does this PR do?
This PR removes the template injection vulnerable bits from DevX Infra GHA Workflows.
Motivation
TL; DR: From this remediation security post from Gitlab:
The best practice to avoid code and command injection vulnerabilities in GitHub workflows is to set the untrusted input value of the expression to an intermediate environment variable:
- name: print title
  env:
    TITLE: ${{ github.event.issue.title }}
  run: echo "$TITLE"

This way, the value of the ${{ github.event.issue.title }} expression is stored in memory and used as variable instead of influencing the generation of script. As a side note, it is a good idea to double quote shell variables to avoid word splitting, but this is one of many general recommendations for writing shell scripts, not specific to GitHub Actions.
Describe how to test/QA your changes
Possible Drawbacks / Trade-offs
Additional Notes

/merge


fix: Don't limit the Windows MTU

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 93.33%. Comparing base (4a24b89) to head (3bf2864).

Additional details and impacted files
@@            Coverage Diff             @@
##             main       #1      +/-   ##
==========================================
- Coverage   94.85%   93.33%   -1.52%
==========================================
  Files           1        1
  Lines         136      120      -16
==========================================
- Hits          129      112      -17
- Misses          7        8       +1

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


CSS files should be loaded in

CSS files need to be loaded in <head>.
We could load everything in the head, but that breaks anybody who wants to access document.body during a script loading (eg. Angular scenario runner does that).

I think this is still happening - can it be reopened please?


Setting tree root for new tree as well

Closes #1612

LGTM however we should add test - how about https://github.com/teemtee/tmt/compare/atomasov-fix-1612...lukaszachy:tmt:atomasov-fix-1612 ?

Thanks for the fix, looks good, and thanks @lukaszachy for the test!
Just to clarify what caused the problem: When the tree root was not set for the whole tree, the metadata root would not be correctly stored into run.yaml during Run.save():
root:
plans:
  - /plans/default
steps:
  - discover
environment: {}
remove: false
__class__:
    module: tmt.base
    name: RunData

LGTM however we should add test - how about atomasov-fix-1612...lukaszachy:tmt:atomasov-fix-1612 ?

Looks good. Tried and merged.


chore: remove greenkeeper.json

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Communication problem between frontend and backend in K8S Clúster

Hi.
We are experiencing a issue in a deployment on a K8S clúster following the guide SC4NSMP-GUI
The pods are running fine without problems, but after access to the application through the browser, after a few seconds, a communication issue is displayed in the screen:

Also it's impossible to save any configuration, no action appears to have effect through the GUI.
The SC4SNMP GUI it's deployed in a K8S Clúster:

Environments:

Test on differents K8S Clústers with same problem
SC4SNMP Version: 1.11.0
UI Config:

UI:
  enable: true
  frontEnd:
    NodePort: 30001
    pullPolicy: "Always"
  backEnd:
    NodePort: 30002
    pullPolicy: "Always"
  valuesFileDirectory: "/opt/sc4snmp/gui"
  valuesFileName: ""
  keepSectionFiles: true

There're not detected issues:
Logs ui-backend-deployment:
Defaulted container "ui-backend" out of: ui-backend, patch-log-dirs (init)
[2024-09-16 07:42:24 +0000] [7] [INFO] Starting gunicorn 22.0.0
[2024-09-16 07:42:24 +0000] [7] [INFO] Listening at: http://<IP_ADDRESS>:5000 (7)
[2024-09-16 07:42:24 +0000] [7] [INFO] Using worker: sync
[2024-09-16 07:42:24 +0000] [8] [INFO] Booting worker with pid: 8

Logs ui-backend-worker-deployment:
 -------------- celery@ui-backend-worker-deployment-58cb744585-8hx94 v5.2.7 (dawn-chorus)
--- ***** -----
-- ******* ---- Linux-4.18.0-553.16.1.el8_10.x86_64-x86_64-with-glibc2.36 2024-09-16 07:42:16
- *** --- * ---
- ** ---------- [config]
- ** ---------- .> app:         SC4SNMP_UI_backend:0x7f19d47a05e0
- ** ---------- .> transport:   redis://snmp-redis-headless:6379/2
- ** ---------- .> results:     disabled://
- *** --- * --- .> concurrency: 2 (prefork)
-- ******* ---- .> task events: OFF (enable -E to monitor tasks in this worker)
--- ***** -----
 -------------- [queues]
                .> apply_changes    exchange=apply_changes(direct) key=apply_changes

[tasks]
  . SC4SNMP_UI_backend.apply_changes.tasks.run_job

[2024-09-16 07:42:17,556: INFO/MainProcess] Connected to redis://snmp-redis-headless:6379/2
[2024-09-16 07:42:17,720: INFO/MainProcess] mingle: searching for neighbors
[2024-09-16 07:42:18,821: INFO/MainProcess] mingle: sync with 1 nodes
[2024-09-16 07:42:18,821: INFO/MainProcess] mingle: sync complete
[2024-09-16 07:42:18,852: INFO/MainProcess] celery@ui-backend-worker-deployment-58cb744585-8hx94 ready.
[2024-09-16 07:42:48,844: INFO/MainProcess] missed heartbeat from celery@ui-backend-worker-deployment-5cc48f5c54-mm4jp

Logs ui-frontend-deployment:
yarn run v1.22.19
$ webpack-dev-server --config demo/webpack.standalone.config.js --port ${DEMO_PORT-8080} --host <IP_ADDRESS>
<i> [webpack-dev-server] Project is running at:
<i> [webpack-dev-server] Loopback: http://localhost:30001/
<i> [webpack-dev-server] On Your Network (IPv4): http://<IP_ADDRESS>:30001/
<i> [webpack-dev-server] Content not from webpack is served from '/frontend/packages/manager/public' directory
(node:28) [DEP_WEBPACK_COMPILATION_ASSETS] DeprecationWarning: Compilation.assets will be frozen in future, all modifications are deprecated.
BREAKING CHANGE: No more changes should happen to Compilation.assets after sealing the Compilation.
        Do changes to assets earlier, e. g. in Compilation.hooks.processAssets.
        Make sure to select an appropriate stage from Compilation.PROCESS_ASSETS_STAGE_*.
(Use `node --trace-deprecation ...` to show where the warning was created)
assets by path *.otf 370 KiB
  asset 62d4d7d369292a9bf23762465ec6d704.otf 94.4 KiB [emitted] (auxiliary name: main)
  asset b4f9eb8ce027016ab9b9860817451d07.otf 93.7 KiB [emitted] (auxiliary name: main)
  asset 410504d49238e955ba7dc23a7f963021.otf 92.4 KiB [emitted] (auxiliary name: main)
  asset 6a386899746222073dd64c5f74d1a69d.otf 89.8 KiB [emitted] (auxiliary name: main)
asset main.js?7eac4df873559deeb723 12.4 MiB [emitted] [immutable] (name: main)
asset index.html 427 bytes [emitted]
runtime modules 27.5 KiB 14 modules
orphan modules 681 bytes [orphan] 1 module
modules by path ../../node_modules/ 4.07 MiB 550 modules
modules by path ./ 277 KiB
  modules by path ./src/ 249 KiB 43 modules
  modules by path ./node_modules/qs/lib/*.js 26.2 KiB
    ./node_modules/qs/lib/index.js 211 bytes [built] [code generated]
    ./node_modules/qs/lib/stringify.js 9.72 KiB [built] [code generated]
    ./node_modules/qs/lib/formats.js 476 bytes [built] [code generated]
    ./node_modules/qs/lib/parse.js 9.18 KiB [built] [code generated]
    ./node_modules/qs/lib/utils.js 6.66 KiB [built] [code generated]
  ./demo/demo.jsx 1.14 KiB [built] [code generated]
  ./util.inspect (ignored) 15 bytes [built] [code generated]
webpack 5.87.0 compiled successfully in 10136 ms
assets by status 370 KiB [cached] 4 assets
assets by status 12.4 MiB [emitted]
  assets by path *.js 12.4 MiB
    asset main.js?c25e383efe5ec4ddbffa 12.4 MiB [emitted] [immutable] (name: main)
    asset main.6c418420d48e2d666e73.hot-update.js 851 bytes [emitted] [immutable] [hmr] (name: main)
  asset index.html 427 bytes [emitted]
  asset main.6c418420d48e2d666e73.hot-update.json 28 bytes [emitted] [immutable] [hmr]
Entrypoint main 12.4 MiB (370 KiB) = main.js?c25e383efe5ec4ddbffa 12.4 MiB main.6c418420d48e2d666e73.hot-update.js 851 bytes 4 auxiliary assets
cached modules 4.34 MiB [cached] 601 modules
runtime modules 27.5 KiB 14 modules
webpack 5.87.0 compiled successfully in 279 ms

Thanks.

Hello, @ivanfr90 !
Can we make a call regarding this issue? I have some questions. I will available this Friday 14:00-20:00 CET. Please send me invite on<EMAIL_ADDRESS>

On call we discussed thing that we need to do:

On browser go to inspector -> network and show what HTTP request is failling and get response of this request
Enable OTel to see logs in Splunk, because we haven't direct access on servers with SC4SNMP.
Attach files that has been created in /opt/sc4snmp/gui by SC4SNMP-UI:

UI:
 enable: true
 frontEnd:
   NodePort: 30001
   pullPolicy: "Always"
 backEnd:
   NodePort: 30002
   pullPolicy: "Always"
 valuesFileDirectory: "/opt/sc4snmp/gui"
 valuesFileName: ""
 keepSectionFiles: true

Schedule call on next week to finalise this issue

@ivanfr90 after that you will collect this info, please schedule the call on Thu/Fri

@ivanfr90 please let me know, can you provide this details We need it to reproduce problem, after that we can schedule meet to troubleshoot it :)

Hi @ikheifets-splunk.
After follow your recomendations we could determinate that the problem was a network configuration issue in the K8S environment. After apply the needed changes, now it's working fine. I'm very grateful for your help and support.
You can mark this has resolved, thanks!!

@ivanfr90 thans, closing


netavark_cache_groom.sh: fix wrong branch

As this download from the netavark repo is should use the NETAVARK_BRANCH env.
Porting from https://github.com/containers/aardvark-dns/pull/507, not failing on main as both branches are set to main here anyway but in case we have a async branch setup in the future again we need this

@mheon @baude PTAL

LGTM

/lgtm


Are the checkpoints missing?

Hey there. I am not that sure, how to load the model for inference. Is it possible that the model checkpoints are missing?
Greetings from Germany! :D

Hey, I'll be adding the model checkpoints at Huggingface in a day or two. This repo is WIP. But I should be done in 2-3 days max.

Ok. Cool :) Thanks for the reply!

The model checkpoints are uploaded to huggingface. You can use any one of them w.r.t your use case. Let me know if any other issue persists.
Best,
Kevin


Docketeer v17.0

Added Features:
Revamped Images tab to show a summary of all image vulnerabilities. Images are scanned using Grype, an open source image scanning tool. (see https://github.com/anchore/grype). Image scan time depends on a number of factors, refer to KnownIssues.md for more info.
Added Redis on the backend to implement query caching for the scanned image vulnerabilities to reduce latency on image tab.
Cleared technical debt by refactoring and eliminating redundant code
Implemented cohesive and responsive styling throughout the application

Merge Docketeer-Extension v. 17.0


notification + target seems to not be working

works:
NSNotificationCenter.defaultCenter().addObserverForName(NSPopoverWillCloseNotification, object: self.popover, queue: nil, usingBlock: { _ in
  self.statusItemView.highlighted = false
})

don't work:
Notification(NSPopoverWillCloseNotification).on(self.popover, { data in
  self.statusItemView.highlighted = false
})

am I doing something wrong?

// In the class declaration:
//
var listeners = [Listener]()

// In one of the class's methods:
//
self.listeners += Notification(NSPopoverWillCloseNotification).on(self.popover) {
  [unowned self] data in
  self.statusItemView.highlighted = false
}

If you don't retain the returned Listener, it will deinit before it can "hear" the emitted NSNotification.
Also, notice the [unowned self] that I added. This prevents a memory leak, but there's a catch. You must make sure the returned Listener deinits before self does. Otherwise, your program will crash when trying to access self after hearing the emitted NSNotification.
Hope that all makes sense. Cheers!


New line using docile?

I am trying to get a new line in my documentation without adding an empty line in between.
'\n' works but it adds an extra empty line in between the two lines - I don't want that
I tried 2 spaces followed by the return key (treating the documentation as markdown) -> puts the two lines on the same line
Example - note that scomponents(A).number is followed by 2 spaces:
cc = scomponents(A)\n
scomponents(A).number
scomponents(A).sizes

From julia, output looks like the following:
help?> scomponents
  cc = scomponents(A)

  scomponents(A).number    scomponents(A).sizes

The markdown parser is targeting the CommonMark spec so I assume that this feature would be http://spec.commonmark.org/0.22/#hard-line-breaks.
From what I can tell it's not been implemented in Base.Markdown just yet and from a quick search of the main Julia issues list it's not been brought up either.
Could you open an issue for this at https://github.com/JuliaLang/julia/issues rather since the parser is part of base Julia from 0.4 onwards.
That said, if you are just wanting verbatim text such as for code examples, https://github.com/nassarhuda/MatrixNetworks.jl/commit/2dc0a1c2975aca23030bc22de9e15835a03b267b#diff-74356ff377b83988beae83bda7dd16ecL43, then you can just use a fenced code block delineated by backticks or indented with 4 spaces.


AttributeError: 'LSTM' object has no attribute 'all_weights'

Failed on pytorch 0.2.0_1
python3.6 main.py --batch_size 20 --data data/penn --dropouti 0.4 --seed 28 --epoch 300 --save PTB.pt
[LSTM(400, 1150, dropout=0.3), LSTM(1150, 1150, dropout=0.3), LSTM(1150, 400, dropout=0.3)]
Applying weight drop of 0.5 to weight_hh_l0
Applying weight drop of 0.5 to weight_hh_l0
Applying weight drop of 0.5 to weight_hh_l0
Traceback (most recent call last):
  File "main.py", line 94, in <module>
    model.cuda()
  File "/data1/XXXX/.local/lib/python3.6/site-packages/torch/nn/modules/module.py", line 147, in cuda
    return self._apply(lambda t: t.cuda(device_id))
  File "/data1/XXXX/.local/lib/python3.6/site-packages/torch/nn/modules/module.py", line 118, in _apply
    module._apply(fn)
  File "/data1/XXXX/.local/lib/python3.6/site-packages/torch/nn/modules/module.py", line 118, in _apply
    module._apply(fn)
  File "/data1/XXXX/.local/lib/python3.6/site-packages/torch/nn/modules/module.py", line 118, in _apply
    module._apply(fn)
  File "/data1/XXXX/.local/lib/python3.6/site-packages/torch/nn/modules/rnn.py", line 116, in _apply
    self.flatten_parameters()
  File "/data1/XXXX/.local/lib/python3.6/site-packages/torch/nn/modules/rnn.py", line 104, in flatten_parameters
    all_weights = [[p.data for p in l] for l in self.all_weights]
  File "/data1/XXXX/.local/lib/python3.6/site-packages/torch/nn/modules/module.py", line 262, in __getattr__
    type(self).__name__, name))
AttributeError: 'LSTM' object has no attribute 'all_weights'

As noted in the README under system requirements:
This codebase requires Python 3 and PyTorch 0.1.12_2.
If you wish to submit fixes to allow it to work with PyTorch 0.2 or higher, they'd be welcomed, but for now it's required to use PyTorch 0.1.12_2.


Fix Python 3 compatibility

iteritems() doesn't exist in py3, six.iteritems() needs to be used instead (as it is in other places in the same file).
As this completely breaks py3 use, a new release to PyPI would be appreciated — installing from git is possible, but non-trivial due to the unfortunate .pth magic that you're doing (.pth doesn't get installed by pip in that case).

Deployed version 0.35.1 pypi.


Searches are case sensitive (when I don't think they need to be)

A search in the Person node for "zaffos" does not show up, but "Zaffos" does.

There are two ways to implement case-insensitive property comparison.

Use the toLower() function on both sides of the comparison
Use case-insensitive regular expressions (https://neo4j.com/docs/cypher-manual/current/clauses/where/#case-insensitive-regular-expressions)

(1) is more performant, as (2) does not use indexes.
This is not a difficult change, but implementation will require a review of all text searches.

Concurring that this should be implemented. I almost entered a person already in PBot because my search with a non-capital came up empty.

We decided to make this change for most text-searches. We'll want to make sure it is implemented everywhere. When @NoisyFlowers pushes a commit in relation to this issues, the PBOT team should help test and look for missed ones before we close.

This is more involved than I first thought. My previous comment was regarding how to implement case-insensitive search in cypher. I had forgotten that we aren't generating this cypher. neo4j-graphql-js is. We write the graphql that it uses to do that.
Consequently, we must use the method neo4j-graphql-js provides to do this (https://github.com/neo4j-graphql/neo4j-graphql-js/blob/master/docs/graphql-filtering.md#regular-expressions-regexp). This requires surgery in our graphql strings for each field we want to search in a case-insensitive manner.
For instance, the following graphql to search Person nodes:
    const gQL = gql`
            query ($pbotID: ID, $given: String, $surname: String, $email: String, $orcid: String, $groups: [ID!], $excludeList: [ID!]) {
                Person (pbotID: $pbotID, given: $given, surname: $surname, email: $email, orcid: $orcid, filter:{AND: [{memberOf_some: {pbotID_in: $groups}}, {pbotID_not_in: $excludeList}]}) {
                    pbotID
                    given
                    middle
                    surname
                    email
                    orcid
                    bio
                }
            }
        `;

must be changed as follows to do a case-insensitive search on given and surname:
    const gQL = gql`
            query ($pbotID: ID, $given: String, $surname: String, $email: String, $orcid: String, $groups: [ID!], $excludeList: [ID!]) {
                Person (pbotID: $pbotID, email: $email, orcid: $orcid, filter:{AND: [
                    {surname_regexp: $surname},
                    {given_regexp: $given},
                    {memberOf_some: {pbotID_in: $groups}},
                    {pbotID_not_in: $excludeList}
                ]}) {
                    pbotID
                    given
                    middle
                    surname
                    email
                    orcid
                    bio
                }
            }
        `;

The strings are passed to this code through the Person component and must be modified there to include the relevant cypher regexp elements. From this:
        <Persons
            filters={{
                pbotID: queryParams.personID || null,
                given: queryParams.given || null,
                surname: queryParams.surname || null,
                email: queryParams.email || null,
                orcid: queryParams.orcid || null,
                groups: queryParams.groups.length === 0 ? [global.publicGroupID] : queryParams.groups,
            }}
            select={select}
            handleSelect={handleSelect}
            exclude={exclude}
        />

to this:
        <Persons
            filters={{
                pbotID: queryParams.personID || null,
                given: queryParams.given ? `(?i)${queryParams.given}` : null,
                surname: queryParams.surname ? `(?i)${queryParams.surname}` : null,
                email: queryParams.email || null,
                orcid: queryParams.orcid || null,
                groups: queryParams.groups.length === 0 ? [global.publicGroupID] : queryParams.groups,
            }}
            select={select}
            handleSelect={handleSelect}
            exclude={exclude}
        />
    );

This is a fair amount of work. Also, given that this results in the cypher doing regexp queries, which do not use indexes, performance of the api server will suffer if we do this for every string field.
We need to be very deliberate about what fields we do this for. I suggest we discuss and make a list in this issue to document.

Where did we actually land on this? I feel like we DID implement something for this?


When parsing OpenRC file, variable redacted/excluded password is populated in password field

Problem: when parsing an OpenRC file with export OS_PASSWORD=$OS_PASSWORD_INPUT, the Password field is actually populated with "$OS_PASSWORD_INPUT". It should instead be left blank and the user somehow "hinted at" to type a password into the field before clicking the "Log in" button.

As a request of the changes made in #85, the "Password" will no longer "match" via the (new) defined regex in processOpenRc.


Recipe app

In this pull request the following tasks were implemented :

A navigation menu

A login page.

A registration page.

A recipes list page

A recipe detail page

A list of all public recipes page

Unit and integration test on pages related to recipes

[ ] NB : Student Success have permitted me to continue solo this week. If you have any questions please reach out to Marco Lizza via the Code Reviewers Slack workspace.

Hi @rloterh, @bobb-Rob
thank you for the review, much appreciated.


dynamic upstream load balancer

Am wondering how can I do dynamic upstream load balancer with this amazing tool.
I'm trying to find a way to roundrobin request to my services based on an Id in my request header.
For example, all premium users can be routed to a different upstream servers and regular users routed to another servers.
Any ideas ?

Hi @mavencode01
You want to route request based on headers?

@emilevauge correct...any idea how to do this ?

You can use Headers rule to route your traffic for example: http://docs.traefik.io/basics/#frontends

I'll close this issue, because I think the question is answered, but feel free to continue the conversation.


Das_Geek: Blacklist +91–9643055299

Das_Geek requests the blacklist of the number +91–9643055299. See the MS search here and the Stack Exchange search here.

The metasmoke search only produces a single hit. This is not eligible for blacklisting. (I'll watch it though.)


Can I train HTC without stuffthingmaps dataset?

And how can I create my own stuffthingmaps dataset?

@hellock plz help


Add the read_pixels function to glow

It takes a u8 slice and writes the pixel data to it
Resolves #62

bors r+


Data table breaks down with large ordinate parameter to translate3d

I noticed the issue whilst investigating issue #247.
When the data table is rendering a large number of rows, like in JSON Data Example, the email links stop being clickable after the ordinate pararameter to translate3d paramter exceeds 16777200px.
The rows stop being rendered altogether when the parameter exceeds 33554450px (at least on my machine).

Yep, we're seeing this too:

+1, still happening.

FYI this is a browser limitation. You'll see different limitations on Firefox than on Chrome for example. (Chrome seems to top out around 33.5M whereas Firefox tops out around 17.8M.)
Without reimplementing scrolling (and losing a lot of advantages provided by browsers WRT off-UI-thread scrolling animations) there's not much that can be done about this.


CronJobService service change proposals

Hi there,
I cannot open a new PR for security reasons, but I had taken gratefully this code base and combined it with previous lessons learned. You may find them useful.
I have addressed the following points:

The service CronJobService was blocking the hosting pipeline. Based on this MS article, the cron scheduler has been put into an executing task.
The service is using recursive calls to schedule and wait for next. This can result in StackOverflowExcetions especially in quickly timed, long living servers. In such case, the application just shuts down without error (i.e. potentially difficult to find, 'it just stopped')
This has been replaced with SemaphoreSlim.
The DoWork method was not handling exceptions. In case an exception occurs, the entire scheduler would fall down. This is typically not what we want as in the error could be easily intermittent (i.e. network failure)
CancellationTokens do have a method ThrowIfCancellationRequested which throws OperationCanceledException representing a stop signal. Added a catch here to not log it as error.
I think, Stop is not correctly implemented because all it does is to stop the timer. However, the Scheduler code is recursively replacing the timer as long as GetNextReoccurrence has a value. Also, the service completes Stop while it is actually still executing user code.
Added a CancellationTokenSource to signal (user) code to stop.
Flavoured: Added the logger to the base layer to ensure critical logs appear in the same way; the logs can be searched by a prefix (i.e. one can prepare filters easily).

public abstract class CronJobService {
private readonly SemaphoreSlim schedulerCycleEvent = new SemaphoreSlim(0);
private readonly CronExpression expression;
private readonly TimeZoneInfo timeZoneInfo;
private readonly ILogger logger;

protected readonly string LoggerName;

private CancellationTokenSource? localCancelationSource;
private Task? executingTask;
private Timer? timer;

public CronJob(string cronExpression, TimeZoneInfo timeZoneInfo, ILogger logger)
{
    this.expression = CronExpression.Parse(cronExpression);
    this.timeZoneInfo = timeZoneInfo;
    this.logger = logger;
    this.LoggerName = $"Cron job {GetType().Name} ";
}

public virtual Task StartAsync(CancellationToken cancellationToken)
{
    logger.LogInformation($"{LoggerName}: started with expression {expression}.");

    localCancelationSource = CancellationTokenSource.CreateLinkedTokenSource(cancellationToken);
    executingTask = ScheduleJob(localCancelationSource.Token);

    if (executingTask.IsCompleted)
    {
        return executingTask;
    }
    else
    {
        return Task.CompletedTask;
    }
}

protected async Task ScheduleJob(CancellationToken cancellationToken)
{
    try
    {
        while (cancellationToken.IsCancellationRequested == false)
        {
            var next = expression.GetNextOccurrence(DateTimeOffset.Now, timeZoneInfo);

            if (next.HasValue)
            {
                logger.LogInformation($"{LoggerName}: scheduled next run at {next.ToString()}");

                var delay = next.Value - DateTimeOffset.Now;
                if (delay.TotalMilliseconds <= 0)   // non-positive values somewhat indicate that between get next occurence and he we crossed the line.
                {
                    logger.LogWarning($"{LoggerName}: scheduled next run is in the past. Moving to next.");
                    continue;
                }

                timer = new Timer(delay.TotalMilliseconds);
                timer.Elapsed += async (_, _) =>
                {
                    try
                    {
                        timer.Dispose();  // this timer has served well, the next cycle wil use a new one.
                        timer = null;
                        if (cancellationToken.IsCancellationRequested == false)
                        {
                            await DoWork(cancellationToken);
                        }
                    }
                    catch (OperationCanceledException)
                    {
                        logger.LogInformation($"{LoggerName}: job received cancellation signal, stopping.");
                    }
                    catch (Exception e)
                    {
                        logger.LogError(e, $"{LoggerName}: an error happened during execution of the job: {e.Message}");
                    }
                    finally
                    {
                        // We let the outer loop now that the timer has been processed and the next occurrence can be calculated.
                        schedulerCycleEvent.Release();
                    }
                };

                timer.Start();
                await schedulerCycleEvent.WaitAsync(); // Wait nicely for any timer result.
            }
            else
            {
                logger.LogWarning($"{LoggerName}: next runtime returned no value. Something is fishy in the scheduler or the cron expression parser");
            }
        }
    }
    catch (OperationCanceledException)
    {
        logger.LogInformation($"{LoggerName}: job received cancellation signal, stopping.");
    }

    await Task.CompletedTask;
}

public abstract Task DoWork(CancellationToken cancellationToken);

public virtual async Task StopAsync(CancellationToken cancellationToken)
{
    logger.LogInformation($"{LoggerName}: stopping.");
    timer?.Stop();
    timer?.Dispose();

    if (localCancelationToken is not null)
    {
        await localCancelationToken.CancelAsync();
    }

    logger.LogInformation($"{LoggerName}: stopped.");

    await Task.CompletedTask;
}

public virtual void Dispose()
{
    timer?.Dispose();
    executingTask?.Dispose();
    schedulerCycleEvent?.Dispose();
    localCancelationToken?.Dispose();

    GC.SuppressFinalize(this);
}
}

Hi @Manthazar
I've updated the code according to your suggestions. Could you take a look? Thank you.

Sorry, was on holidays. Looks good to me, but don't hesitate to drop me a note in case you encounter trouble

close it for now. Thank you.


Keep specific items

I'd like to have some checkbox next to the items, so that it will stay in the clipboard after other 10 items have been copied/cut.
Like I got two items in the clipboard which I need multiple times but meanwhile I copy and paste other stuff and the two items I need all the times are then wiped out of the clipboard.
So some feature that is able to "stick" the items in the clipboard would be awesome.

Afaik, there is no way to add a checkbox in vscode palette.
If you update to version 0.1.0, you have two new options:

@TimMensch has added a new feature to Merge-Copy into the same item. Hopefully this should help reduce the item used.

Otherwise, you can now configure the maximum number of item to keep in the multiclip buffer (see README.md)


Integration Test - Release - 2018/07/25 17:39:16

Auto create for integration test. AnotherAuthorUpdatedArticleFlow

@PRMergerTest2 : Thanks for your contribution! The author, @v-caxian, has been notified to review your proposed change.


Maximum number of Clients (viewers) for Text editor

Hey there!
before i go for empherical testing, could you please indicate what is the maximum thinkable number of attendents to an editor? I am investigating the options to have let us say 1000+ viewers and 2 editors for the same text document at a time.
What would i need to do to support at least 1000 viewers on the same document without adding too much latency in receiving the latest modifications to the document, just add lots of cpu and ram to the host and modify the java vm options accordingly? :-)

...if nobody wants to write any answer i close this topic, assuming that a maximum of 10 users or so can be supported using swellrt and turn to other technologies spreading my text (e.g. video transmission)...
any last comments?

Hi, sorry for answering so late,
First, from  SwellRT's server perspective there is no differences whether
the client reads only or write to the document, each client will open a
websocket and write metadata* under the hood.
So, first thing to consider is how many websockets connections will support
Jetty.
Secondly, for each connection, the server will handle views of the
considered documents (in Wave terms, wavelets views). So it would be
necessary to meause how much heap memory takes each connection's views.
Finally, to support high concurrecy level, server's thread settings should
be tweak.
*for this particular case, we could avoid to send any metadata to the
server for the only read clients, it could relieve servers load.
2018-06-11 22:05 GMT+02:00 haraldjordan78<EMAIL_ADDRESS>
...if nobody wants to write any answer i close this topic, assuming that a
maximum of 10 users or so can be supported using swellrt and turn to other
technologies spreading my text (e.g. video transmission)...
any last comments?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/P2Pvalue/swellrt/issues/238#issuecomment-396369138,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEP6D8-SC-n4mmO0xOU-v_Ga4vBdjKorks5t7s2AgaJpZM4UOiXH
.

Hey Pablo,
thanks for your reply :-)
Sure i already had a think about how to avoid to send any metadata from the client, but even if i am already able to work on the source code and build new versions, currently i don't stand any chance to get out how this could possibly be done.
What would be your first try? :-)
cheers,
Harald

Problem is too fuzzy to grep yet, working on server stability in https://github.com/P2Pvalue/swellrt/issues/243


Flutter app is not working on 13.4

I am getting the below error when running the app on XCode 13.4. The app is working fine on 13.2.
Flutter Doctor
[✓] Flutter (Channel stable, 3.0.1, on macOS 12.4 21F79 darwin-arm, locale
    en-LK)
[✓] Android toolchain - develop for Android devices (Android SDK version
    32.1.0-rc1)
[✓] Xcode - develop for iOS and macOS (Xcode 13.4)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2021.2)
[✓] VS Code (version 1.67.2)
[✓] Connected device (2 available)
[✓] HTTP Host Availability

I attached error log file here
Build target Runner_2022-06-02T10-26-46 AM.txt

@bhanuka96
Did you try to clean pub cache? "flutter pub cache clean"
Did you try to clean Derived data from Xcode?
Let me know it's works for you or not?

@Nitingadhiya Yes, I ran the app on new pc too.

@bhanuka96
From the verbose log you shared, below are the warnings due to which it could be failing:
`../../../../development/flutter/.pub-cache/hosted/pub.dartlang.org/emoji_picker_flutter-1.2.1/lib/src/emoji_picker.dart:164:35: Warning: Operand of null-aware operation '!' has type 'WidgetsBinding' which excludes null.
 - 'WidgetsBinding' is from 'package:flutter/src/widgets/binding.dart' ('../../../../development/flutter/packages/flutter/lib/src/widgets/binding.dart').
        (value) => WidgetsBinding.instance!.addPostFrameCallback((_) {
                                  ^
../../../../development/flutter/.pub-cache/hosted/pub.dartlang.org/google_maps_place_picker-2.1.0-nullsafety.3/lib/src/autocomplete_search.dart:74:22: Warning: Operand of null-aware operation '!' has type 'WidgetsBinding' which excludes null.
 - 'WidgetsBinding' is from 'package:flutter/src/widgets/binding.dart' ('../../../../development/flutter/packages/flutter/lib/src/widgets/binding.dart').
      WidgetsBinding.instance!.addPostFrameCallback((_) {
                     ^
../../../../development/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_math_fork-0.6.2/lib/src/widgets/selectable.dart:459:24: Warning: Operand of null-aware operation '!' has type 'SchedulerBinding' which excludes null.
 - 'SchedulerBinding' is from 'package:flutter/src/scheduler/binding.dart' ('../../../../development/flutter/packages/flutter/lib/src/scheduler/binding.dart').
      SchedulerBinding.instance!.addPostFrameCallback((_) {
                       ^
../../../../development/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_math_fork-0.6.2/lib/src/widgets/selection/overlay_manager.dart:138:28: Warning: Operand of null-aware operation '!' has type 'SchedulerBinding' which excludes null.
 - 'SchedulerBinding' is from 'package:flutter/src/scheduler/binding.dart' ('../../../../development/flutter/packages/flutter/lib/src/scheduler/binding.dart').
      if (SchedulerBinding.instance!.schedulerPhase ==
                           ^
../../../../development/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_math_fork-0.6.2/lib/src/widgets/selection/overlay_manager.dart:140:26: Warning: Operand of null-aware operation '!' has type 'SchedulerBinding' which excludes null.
 - 'SchedulerBinding' is from 'package:flutter/src/scheduler/binding.dart' ('../../../../development/flutter/packages/flutter/lib/src/scheduler/binding.dart').
        SchedulerBinding.instance!
                         ^
../../../../development/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_math_fork-0.6.2/lib/src/widgets/selection/web_selection_manager.dart:119:24: Warning: Operand of null-aware operation '!' has type 'SchedulerBinding' which excludes null.
 - 'SchedulerBinding' is from 'package:flutter/src/scheduler/binding.dart' ('../../../../development/flutter/packages/flutter/lib/src/scheduler/binding.dart').
      SchedulerBinding.instance!
                       ^
../../../../development/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_math_fork-0.6.2/lib/src/widgets/selection/overlay.dart:141:26: Warning: Operand of null-aware operation '!' has type 'SchedulerBinding' which excludes null.
 - 'SchedulerBinding' is from 'package:flutter/src/scheduler/binding.dart' ('../../../../development/flutter/packages/flutter/lib/src/scheduler/binding.dart').
    if (SchedulerBinding.instance!.schedulerPhase ==
                         ^
../../../../development/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_math_fork-0.6.2/lib/src/widgets/selection/overlay.dart:143:24: Warning: Operand of null-aware operation '!' has type 'SchedulerBinding' which excludes null.
 - 'SchedulerBinding' is from 'package:flutter/src/scheduler/binding.dart' ('../../../../development/flutter/packages/flutter/lib/src/scheduler/binding.dart').
      SchedulerBinding.instance!.addPostFrameCallback(_markNeedsBuild);
                       ^
../../../../development/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_math_fork-0.6.2/lib/src/widgets/selection/overlay.dart:193:26: Warning: Operand of null-aware operation '!' has type 'SchedulerBinding' which excludes null.
 - 'SchedulerBinding' is from 'package:flutter/src/scheduler/binding.dart' ('../../../../development/flutter/packages/flutter/lib/src/scheduler/binding.dart').
    if (SchedulerBinding.instance!.schedulerPhase ==
                         ^
../../../../development/flutter/.pub-cache/hosted/pub.dartlang.org/flutter_math_fork-0.6.2/lib/src/widgets/selection/overlay.dart:195:24: Warning: Operand of null-aware operation '!' has type 'SchedulerBinding' which excludes null.
 - 'SchedulerBinding' is from 'package:flutter/src/scheduler/binding.dart' ('../../../../development/flutter/packages/flutter/lib/src/scheduler/binding.dart').
      SchedulerBinding.instance!.addPostFrameCallback(_markNeedsBuild);
                       ^
Failed to package /Users/bhanukaisuru/Documents/REBORN/YELLO/user-app.
Command PhaseScriptExecution failed with a nonzero exit code
`

And all above warnings are pointing to third party plugins, flutter_math_fork, google_maps_place_picker, emoji_picker_flutter.
This could be related recent changes in Flutter 3.0. See below links and check if solutions mentioned in it solves your issue or not:
https://docs.flutter.dev/development/tools/sdk/release-notes/release-notes-3.0.0#if-you-see-warnings-about-bindings
https://docs.flutter.dev/development/tools/sdk/release-notes/release-notes-3.0.0#dependencies

@darshankawar I don't think so. Because now there is no warning from plugins.
Build target Runner_2022-06-12T10-20-17 AM.txt

@darshankawar it's working fine when run on terminal using flutter run command

Hi @bhanuka96, do you experience this issue with the default flutter app as well?


UI: Reporting - BlazorTables - Fix filtering

need to add new feature to BlazorTables in order to allow for functions other than properties to be used

[ ] column fields need to be correctly filled (as displayed) when using Templates
[ ] define functions to avoid code duplication

@NilsPur  - just hide filtering option for now and tackle this issue in phase 2? Yes

see #1044


[Tabs extended - with media] React: new component in sync with Web Component version Prod QA testing

This work is a follow-on to the development work done to create / change the same Web Component version. The Web Component development was managed under epic (#5305 )

User Story

As a [user role below]:
developer using the ibm.com Library ?component name?

I need to:
have a version of the pattern or component that has been tested for accessibility compliance as well as on multiple browsers and platforms

so that I can:
be confident that my ibm.com web site users will have a good experience

Additional information

Browser Stack link
Browser Standard
Browser versions to be tested:  Tier 1 browsers will be tested with defects created as Sev 1 or Sev 2.  Tier 2 browser defects will be created as Sev 3 defects.
Platforms to be tested, by priority:  1)  Desktop  2)  Mobile
Mobile iOS versions: 13.1, 13.3 and 14
Mobile Android versions: 9.0 and 10
Browsers to be tested:  Desktop: Chrome, Firefox, Safari, Edge, Mobile: Chrome, Safari, Samsung Internet, UC Browser, QQ Browser
Accessibility testing guidance
Accessibility Checklist
Creating a QA bug
See the Epic for the Design and Functional specs information
React Dev issue (#5395 )
** Once development is finished the updated code is available on the 1) WC Wrapper test env URL or the React canary environment for testing.**

Acceptance criteria

[ ] Accessibility testing is complete.  Component is compliant.
[ ] All browser versions are tested
[ ] All operating systems are tested
[ ] All devices are tested
[ ] Defects are recorded

@Praveen-sr this component is ready to be tested.
cc: @ariellalgilmore


make maxWorkingThreads configurable

Tests:
example, GUI, CLI

Codecov Report

Merging #943 into dev will not change coverage.
The diff coverage is 0%.

@@           Coverage Diff           @@
##              dev     #943   +/-   ##
=======================================
  Coverage   53.63%   53.63%
=======================================
  Files         565      565
  Lines       11820    11820
  Branches     1869     1869
=======================================
  Hits         6340     6340
  Misses       5116     5116
  Partials      364      364

Impacted Files
Coverage Δ

...sphere/core/yaml/proxy/YamlProxyConfiguration.java
0% <ø> (ø)
:arrow_up:

...a/io/shardingsphere/proxy/config/RuleRegistry.java
0% <0%> (ø)
:arrow_up:

...ce/OrchestrationShardingDataSourceFactoryBean.java
66.66% <0%> (-11.12%)
:arrow_down:

...OrchestrationMasterSlaveDataSourceFactoryBean.java
77.77% <0%> (+11.11%)
:arrow_up:

Continue to review full report at Codecov.

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


Feat/254 record project sensitivity when project is created

Resolves #254
Create page

Project page
Managers are asked to set the confidentiality

Non managers are just informed

Edit indicator on hover

Admin dashboard

Light mode

First off, this is great work.  I haven't gotten into the code review, but here are some thoughts I have from just reviewing the screenshots (thanks!):

I like the severity of the language used to describe confidential projects: "The safety of project members is a security concern".  That should help people decide if their project really is confidential and also discourage people from marking it as such in cases where "I'd prefer to keep it private".  If we had a paid tier, I'd make the "I'd prefer to keep it private" a paid feature :)

I wonder if we could use the caution icon

to represent "confidential projects" instead of the "crossed out eye" icon.  You are already using it in the "consider using an alias" note.  The caution icon indicates appropriate severity whereas the "crossed out eye" icon kind of says "I'd prefer this not to be seen".  That's my opinion.
In the screenshot below there is an explicit indicator that the project is not confidential.  How about we just don't show any indicator at all for these projects?  These are normal projects, and I'd rather not draw attention to the confidential option for projects that have already specified they are normal projects.

@megahirt what do you think about using this icon? I'd love to find something appropriate that also has a bit more "class" than the caution icon. But the caution icon would be fine too 😄.

great work Tim! This was a lot bigger than it looked originally. I like the shield with a key icon, and I agree with not showing the sensitivity if it's public, no need to draw attention.
I'm wondering if we want to send a screenshot to Ken & Ann to get their feedback about this feature.

Yup, shield with lock is a nice icon.  I would go with that.  Also good to get Ken and Ann's input as well.

I asked 3 AI this question:

What's the best term for describing an online project that should be kept secret, because the safety of project members could be a security concern (e.g. Christian workers in an extreme Islamic context). "Confidential", "Classified", "Censored", "Private", "Sensitive", something else?

And here is how Llama 3 summarized the 3 answers I got:

Answer 1 (Llama 3): Recommends using "Highly Sensitive" or "Confidential" to describe the online project, as they imply that the information is not intended for public knowledge and should only be shared with authorized individuals. Other alternatives suggested include "Secure Project", "Protected Initiative", "Restricted Access", and "Need-to-Know Basis".
Answer 2 (Chat GPT4): Suggests that "Confidential" or "Sensitive" are the most appropriate terms for an online project that needs to be kept secret for the safety of its members. These terms imply that the information is restricted and should be protected due to potential risks associated with exposure.
Answer 3 (Claude 3): Recommends using the term "Sensitive" to describe the project, as it implies that the project deals with potentially sensitive or confidential information that could pose risks if disclosed to unauthorized individuals or entities. This term conveys the need for extra care and security measures without explicitly stating the specific nature of the risks involved.
All three answers agree that "Confidential" and "Sensitive" are strong contenders for describing an online project that requires secrecy due to security concerns.

It really is a hard choice.
Claude emphasized how "Sensitive" more clearly commuicated the risk involved.
"Highly Sensitive" is also kind of refreshing.
But. I'm going to opt for sticking with Confidential unless someone tries to argue a different term:

I think it's a term that ESL speakers would be more likely to know
There's a bit of value in sharing the terminology with Paratext.
We emphasize the risk involved in the description
No one has expressed dissatisfaction with it so far 😉. I just didn't want to go ahead and rename everything to confidential without thinking it through a bit more.

Updated screenshots
I added a button in more settings (and finally gave the buttons down there a bit of structure).
So that I could remove the badge if a project is not confidential. (The button is always available)

Now using the shield-lock icon:

I'm still willing to rename to "Sensitive" or "Highly Sensitive" if someone wants to try to argue that. AI thinks that's the only other really good option. Of course AI has a lot of blind spots.

I think when in doubt follow the design paratext used wrt naming things.

@myieye naming things is hard!  Agree to move forward with confidential for the reasons mentioned above.


Upmerging from 0.13

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Let's resolve the conflicts and upmerge? There are some useful fixes in 0.13.


fix(ui): DOI linkout

Changelog

update anchor element to actually link out instead of going back to home (due to #)
link will not be displayed if there is no DOI

Preview

doi is not yet part of the data model, so we are still using a mockDOI variable, which is currently set to 09.1937/09219137.  This will link out to an error page (as shown in the screen capture).  For the private preview, should we continue with this behavior or should we instead have DOI be empty?

@vpchung What is your preference?

@tschaffter I much rather leave it empty if we can't find a real DOI.  But I also know you want to showcase what we could do, so.... ¯_(ツ)_/¯

I much rather leave it empty if we can't find a real DOI

You are right. What we should avoid are behaviors that the users may think are bugs or use incorrect data, unless they can reasonably look like placeholder such as 12345....
We can either:

leave the field empty for now (showing the key DOI will be enough to let users know that these value will be available at some point) and come back to this feature later.
update the backend to support the DOI (update API description, update SQL files, update challenge service, update API client for angular) and close this feature.

I can modify the challenge service to support this feature. Could you update the SQL file(s)?

Could you update the SQL file(s)?

Yes, I can add that.

@tschaffter updated!

@vpchung I updated the API description and the challenge service. Do you want to give a try to updating the API client for Angular (nx openapi-generate openchallenges-api-client-angular) and updating the app to use the new property of the Challenge object?


feat: add ability to use blockHash with eth_getLogs

Implements the ability to use blockHash with eth_getLogs. This closes https://github.com/trufflesuite/ganache-core/issues/136
See EIP 234

Coverage increased (+0.05%) to 82.749% when pulling b5c21156807c51566b48efdf68cee9f5b872c88e on ethereum-optimism:eth_getLogs-blockhash into 53f653ea4356fa558ecb0c2d6338278d8d7285cc on trufflesuite:develop.

Coverage increased (+0.05%) to 82.749% when pulling b5c21156807c51566b48efdf68cee9f5b872c88e on ethereum-optimism:eth_getLogs-blockhash into 53f653ea4356fa558ecb0c2d6338278d8d7285cc on trufflesuite:develop.

Any feedback on this PR or ideas on when it can be merged? In the meantime, we published it at @eth-optimism/ganache-core for usage in our testing. We are publishing a docker image ethereumoptimism/ganache-cli on Dockerhub that uses the eth-optimism fork

I didn't noticed you changed the package name since I last looked at it and accidentally merged it with that extra commit. Reverted.

Sorry about that extra commit, I didn't mean to push that here. Will reopen without that commit. Meant to push that to my local fork.


AZ CLI: az bot publish does not include referenced class libraries in solution

Tool
Name: AZ CLI botservice
Version: AZ CLI: 2.0.59
OS: Windows 10
Describe the bug
Referenced class libraries are not included in the deployment when using az bot publish command as generated by msbot clone
To Reproduce
Steps to reproduce the behavior:

msbot clone to setup up resources
Create class library and reference from bot
Run generated publish.cmd
Deployment fails:

{
"log_time": "2019-03-05T10:12:02.5513332Z",
"id": "",
"message": "Command: "D:\home\site\deployments\tools\deploy.cmd"",
"type": 0,
"details_url": null
},
{
"log_time": "2019-03-05T10:12:04.1342578Z",
"id": "",
"message": "Handling ASP.NET Core Web Application deployment.",
"type": 0,
"details_url": null
},
{
"log_time": "2019-03-05T10:12:07.3952989Z",
"id": "",
"message": "  Skipping project "D:\local\Temp\zipdeploy\{solution name}\{class library}.csproj" because it was not found.",
"type": 0,
"details_url": null
},

Expected behavior
Publishing a bot should include class libraries as required
[bug]

@joetossell29  I'm taking a look.

@joetossell29 I am unable to reproduce the failure. I'm not sure what I'm doing different. How are you referencing the class library? Are you just referencing the project using Dependencies->Add Reference-> Solution?

@joetossell29, do you still require assistance? You haven't followed up on this in 16 days.

Closing due to no action on this. If still an issue, please reopen.


Add prometheus generic integration + kube proxy based on it

What does this PR do?

Add a generic prometheus integration (for custom metrics)
Add an official kube-proxy integration based on the generic check with hardcoded default instance
Rework of the PrometheusCheck with a mixin to introduce a PrometheusScrapper for the generic prometheus check (by @masci)

Motivation
Have a configuration-only way to collect simply metrics from a prometheus endpoint
Versioning

[x] Bumped the version check in manifest.json
[x] Updated CHANGELOG.md. Please use Unreleased as the date in the title
for the new section.

🎉


After creating a new connection in redis connector user is navigated to the overview page

Description:
After creating a new connection in redis connector and click add, user is navigated to the overview page.
It is better if the user can stay on the connector operation view.

Verified as fixed


nan loss when training

Training and validation loss is nan (using commit e21800a6):
$ python3 preprocess.py -train_src data/multi30k/train.en -train_tgt data/multi30k/train.de -valid_src data/multi30k/val.en -valid_tgt data/multi30k/val.de -output data/multi30k/data.pt
$ python3 train.py -data data/multi30k/data.pt -save_model trained -save_model best
[ Epoch 0 ]
  - (Training)   loss:      nan, accuracy: 3.7 %
  - (Validation) loss:      nan, accuracy: 10.0 %
    - [Info] The checkpoint file has been updated.
[ Epoch 1 ]
  - (Training)   loss:      nan, accuracy: 9.09 %
  - (Validation) loss:      nan, accuracy: 9.87 %
[ Epoch 2 ]
  - (Training)   loss:      nan, accuracy: 9.09 %
  - (Validation) loss:      nan, accuracy: 9.83 %
[ Epoch 3 ]
  - (Training)   loss:      nan, accuracy: 9.1 %
  - (Validation) loss:      nan, accuracy: 9.92 %
[ Epoch 4 ]
  - (Training)   loss:      nan, accuracy: 9.09 %
  - (Validation) loss:      nan, accuracy: 9.91 %

Hi @sliedes ,
Thanks for report. I am also facing the same problem.
Once I fix it, I will update the info here.
Any further inspection about it will be appreciated!

While I understand neither the code or the theory fully yet, I think the problem is in ScaledDotProductAttention.forward(). It sets the masked values to -Inf before passing them to nn.SoftMax. I think nn.SoftMax does not deal well with -Inf. Indeed, while I got nan loss most of the time already during the first epoch, when I modify ScaledDotProductAttention.forward() to set the masked values to -100.0 instead of -Inf, I have now trained for five epochs without seeing nans.

Hi @sliedes ,
Sorry for the late update!
You are right. The wrong part is about the softmax function, but it is not because of the -Inf value.
I misplace the k/q pair in the attention mask calculation routine. (see 94aae68)
Please pull the newest commit to fix this bug. Thanks you!

I think this fix will eliminate the NaN error, and I am sorry for the confusion so far.
Let me close this issue now.
However, if there emerges other fatal NaN error, feel free to open another issue.

Hi, it seems that the problem still exist when using the solution above.


docs: nix-darwin builder workaround no longer necessary

See discussion in https://github.com/gytis-ivaskevicius/flake-utils-plus/issues/113#issuecomment-1065546703

On the other hand, it's possible that the upstream change is not yet available in the pinned input version in flake.lock?

Thank you!


Scratch 3

I tried to run a scratch project in phosphorus but it gave an error as soon as I tried. This might be because of Scratch 3 but I want to run projects faster and have links to these seperate from Scratch.
Project: http://scratch.mit.edu/projects/278280745
Webpage Link: http://phosphorus.github.io/#278280745
Error: HTTP 404:
    at XMLHttpRequest.xhr.onload (https://phosphorus.github.io/phosphorus.js:224:23)

Hello. It's frustrating not having the ability to use SB3 files on Phosphorus. So, update that...pls. I guess.


Pre-rendering code block

Hi, thanks for the Markdown rendering library you have made.
I'm trying to use it to develop openai GPT chatter.
When I use streaming, the API returns the content word by word, like this:

There is a problem in this image, as you can see, when the OpenAI API generates code, it gives the block prefix ``` first, then the block content, and then the block suffix ```.
This causes a problem where the code is not rendered as a code block until the code block suffix is generated, otherwise it is rendered as plain text.
My current solution is to use a regular expression to detect the block prefix and then add the temporary suffix to the block and render it again, but this does not seem to be a good solution.
Is there a way to make the Markdown renderer pre-render the code block as soon as the block prefix is generated?

Edit: Here are two optional questions:

Is it possible to make code block rendering automatically determine the code type?
Is it possible to make the text displayed throughout the Markdown renderer copyable?

Apologies for the long delay.
Markdown.Avalonia 11.0.0 has been released.
This has ChatAISetup plugin for codeblock pre-rendering.
<!-- xmlns:md="https://github.com/whistyun/Markdown.Avalonia" -->
<md:MarkdownScrollViewer>
      <md:MarkdownScrollViewer.Plugins>
        <md:MdAvPlugins>
          <mdt:ChatAISetup/>
        </md:MdAvPlugins>
      </md:MarkdownScrollViewer.Plugins>
</md:MarkdownScrollViewer>

As for the question of options, neither is possible for now.


Unable to locate a common ancestor between production_migration and HEAD

Is there an existing issue for this?

[X] I have searched the existing issues

Does this issue exist in the latest version?

[X] I'm using the latest release

Describe the bug?
My github workflow triggered using PR creation event. Once the workflow triggered the action throws below error and workflow failed.
Error: Unable to locate a common ancestor between production_migration and HEAD
Error: Process completed with exit code 1.
I am using checkout action v3 with depth 0 and tj-actions/changed-files@v34
To Reproduce
I Encouter this issue now only and not able to reproduce but it may occur sometime later.
What OS are you seeing the problem on?
ubuntu-latest or ubuntu-20.04
Expected behavior?
tj-actions/changed-files@v34 action needs to complete the execution and provide the putout as files in PR.
Relevant log output
changed-files-diff-sha
  Verifying git version...
  Valid git version found: (2.38.1)
  Running on a pull request event...
  Fetching remote refs...
  remote: Total 0 (delta 0), reused 0 (delta 0), pack-reused 0
  branch 'production_migration' set up to track 'origin/production_migration'.
  From https://github.com/org1/dataeng-enterprise
   * branch            production_migration -> FETCH_HEAD
   * branch            HEAD       -> FETCH_HEAD
  From https://github.com/org1/dataeng-enterprise
   * branch            production_migration -> FETCH_HEAD
   * branch            HEAD       -> FETCH_HEAD
  From https://github.com/org1/dataeng-enterprise
   * branch            production_migration -> FETCH_HEAD
   * branch            HEAD       -> FETCH_HEAD
  From https://github.com/org1/dataeng-enterprise
   * branch            production_migration -> FETCH_HEAD
   * branch            HEAD       -> FETCH_HEAD
  From https://github.com/org1/dataeng-enterprise
   * branch            production_migration -> FETCH_HEAD
   * branch            HEAD       -> FETCH_HEAD
  From https://github.com/org1/dataeng-enterprise
   * branch            production_migration -> FETCH_HEAD
   * branch            HEAD       -> FETCH_HEAD
  From https://github.com/org1/dataeng-enterprise
   * branch            production_migration -> FETCH_HEAD
   * branch            HEAD       -> FETCH_HEAD
  From https://github.com/org1/dataeng-enterprise
   * branch            production_migration -> FETCH_HEAD
   * branch            HEAD       -> FETCH_HEAD
  From https://github.com/org1/dataeng-enterprise
   * branch            production_migration -> FETCH_HEAD
   * branch            HEAD       -> FETCH_HEAD
  From https://github.com/org1/dataeng-enterprise
   * branch            production_migration -> FETCH_HEAD
   * branch            HEAD       -> FETCH_HEAD
  From https://github.com/org1/dataeng-enterprise
   * branch            production_migration -> FETCH_HEAD
   * branch            HEAD       -> FETCH_HEAD
  From https://github.com/org1/dataeng-enterprise
   * branch            production_migration -> FETCH_HEAD
   * branch            HEAD       -> FETCH_HEAD
  From https://github.com/org1/dataeng-enterprise
   * branch            production_migration -> FETCH_HEAD
   * branch            HEAD       -> FETCH_HEAD
  From https://github.com/org1/dataeng-enterprise
   * branch            production_migration -> FETCH_HEAD
   * branch            HEAD       -> FETCH_HEAD
  From https://github.com/org1/dataeng-enterprise
   * branch            production_migration -> FETCH_HEAD
   * branch            HEAD       -> FETCH_HEAD
  From https://github.com/org1/dataeng-enterprise
   * branch            production_migration -> FETCH_HEAD
   * branch            HEAD       -> FETCH_HEAD
  From https://github.com/org1/dataeng-enterprise
   * branch            production_migration -> FETCH_HEAD
   * branch            HEAD       -> FETCH_HEAD
  Error: Unable to locate a common ancestor between production_migration and HEAD
  Error: Process completed with exit code 1.

Anything else?
No response
Code of Conduct

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

I'm also running into this issue, here's a snippet of the workflow:
- uses: actions/checkout@v3
  with:
    fetch-depth: 0
    ref: ${{ github.event.pull_request.head.sha }}
- id: files
  uses<EMAIL_ADDRESS>  with:
    separator: ","
    base_sha: ${{ github.event.pull_request.base.sha }}
    sha: ${{ github.event.pull_request.head.sha }}

Hi, @jarojasm95 have you tried upgrading? I believe the change was introduced in v34.4.0

I get a similar issue using v34 (which is v34.4.0 right now). tj-actions/changed-files runs for ~15min (apparently fetching lots of git objects) and then fails with Unable to locate a common ancestor between master and HEAD

I get a similar issue using v34 (which is v34.4.0 right now). tj-actions/changed-files runs for ~15min (apparently fetching lots of git objects) and then fails with Unable to locate a common ancestor between master and HEAD

Hi @stof I am facing the same issue and opened a similar case.
It seems to be working if you use the actions/checkout@v3 with fetch-depth: 0.
Can you try this too?

Hi
I am using actions/checkout@v3 with fetch depth:0.
What change do I need to do in the action "tj-actions/changed-files" to avoid this error?

Hi,
eh, same issue with 34.4.0.
We use it as part of reusable workflow. This part looks like:
    steps:
      - name: "Checkout for Push event (full history)"
        uses: actions/checkout@v3
        with:
          fetch-depth: 0

      - name: Get changed dirs
        id: get_changes
        uses: tj-actions/changed-files@94e6fba8d802f0fa80db51937e8752e9c165ee26 # tag v34.4.0
        with:
          dir_names: ${{ inputs.dir_names }}
          files_ignore: ${{ inputs.excluded_folders }}
          files: ${{ inputs.included_folders }}

Didn't face the issue with 34.1.1.

High-level description: This bug occurs when the fork point and the last commit of the base branch have changed, resulting in errors finding the merge-base as the checkout action merges the tip of the target branch to the PR branch.
To prevent this error going forward a pre-check to determine the validity of merge-base would be used falling back to the last commit of the target branch where necessary.


Update dependencies and clean-up code

use rumqttc v0.11, sysinfo v0.23 and fix cippy suggestions

DId we test these changes. As a separate task, we should have an integration test with simulator

DId we test these changes
Yes, I had run cargo test and cargo run -- .. with bytebeam platform using an "update_firmware" Action.

As a separate task, we should have an integration test with simulator
I agree


ARROW-8779: [R] Implement conversion to List

library(arrow)
#>
#> Attaching package: 'arrow'
#> The following object is masked from 'package:utils':
#>
#>     timestamp
Array$create(list(data.frame(a = 1:3, b = 11:13)))
#> ListArray
#> <list<item: struct<a: int32, b: int32>>>
#> [
#>   -- is_valid: all not null
#>   -- child 0 type: int32
#>     [
#>       1,
#>       2,
#>       3
#>     ]
#>   -- child 1 type: int32
#>     [
#>       11,
#>       12,
#>       13
#>     ]
#> ]

Created on 2020-06-15 by the reprex package (v0.3.0)
However does not yet deal with the original issue:
library(arrow)
#>
#> Attaching package: 'arrow'
#> The following object is masked from 'package:utils':
#>
#>     timestamp

nrows <- 1:3
df <- tibble::tibble(
    id = 1L,
    data =
      list(
        tibble::tibble(
          a = letters[nrows],
          b = as.integer(nrows),
          c = as.factor(a),
          d = b/2
        )
      )
  )
Table$create(df)
#> Error in Table__from_dots(dots, schema): NotImplemented: Converting vector to arrow type dictionary<values=string, indices=int8, ordered=0> not implemented

Created on 2020-06-15 by the reprex package (v0.3.0)

@github-actions autotune everything

I also updated ARROW-7798 with comments to avoid builder in the conversion.

I need to add tests for this:
library(arrow, warn.conflicts = FALSE)

nrows <- 1:3
df <- tibble::tibble(
  id = 1L,
  data =
    list(
      tibble::tibble(
        a = letters[nrows],
        b = as.integer(nrows),
        c = as.factor(a),
        d = b/2
      )
    )
)
tab <- Table$create(df)
tab$schema
#> Schema
#> id: int32
#> data: list<item: struct<a: string, b: int32, c: dictionary<values=string, indices=int8>, d: double>>
as.data.frame(tab)
#> # A tibble: 1 x 2
#>      id data
#>   <int> <list>
#> 1     1 <tibble [3 × 4]>
as.data.frame(tab)$data
#> [[1]]
#> # A tibble: 3 x 4
#>   a         b c         d
#>   <chr> <int> <fct> <dbl>
#> 1 a         1 a       0.5
#> 2 b         2 b       1
#> 3 c         3 c       1.5

Created on 2020-06-16 by the reprex package (v0.3.0)

also added VectorToArrayConverter::Visit for dictionaries to that we can handle things like list(factor()), the implementation is simpler than the original MakeFactorArray as it leverages StringDictionaryBuilder, but it looks like that does not respect the "ordered" property.
library(arrow, warn.conflicts = FALSE)

o <- ordered(c("b", "a"), levels = c("a", "b", "c"))

# this goes trough MakeFactorArray
Array$create(o)$type
#> DictionaryType
#> dictionary<values=string, indices=int8, ordered>

# this goes through VectorToArrayConverter::Visit >> MakeBuilder() ...
Array$create(list(o))$type$value_type
#> DictionaryType
#> dictionary<values=string, indices=int8>

Created on 2020-06-16 by the reprex package (v0.3.0)

thanks @romainfrancois!


Object.assign not polyfilled in create-field.js

The Problem
Object.assign in create-field.js is not polyfilled.
Steps to Reproduce
Open any rrf project in internet explorer of whichever flavor you like
The error occurs at  line 58 that uses Object.assign.  I am wondering if there is an exclude on the "utils" directory somewhere for babel in the project as I see all other files getting transpiled correctly and create-field.js is only file in utils directory with an Object.assign call in it.
Expected Behavior
polyfill is used
Actual Behavior
internet explorer errs and then none of the react page is shown

@davidkpiano wow that was fast!


Space after directives with laravel Pint

Hi,
I'm running into a problem with formatting blade directives (space after), when using config "useLaravelPint": true,. If I run prettier on a single file it works, but if I run it for an entire folder it doesn't.
My .prettierrc config
{
    "singleQuote": true,
    "printWidth": 120,
    "tabWidth": 4,
    "plugins": ["prettier-plugin-blade", "prettier-plugin-tailwindcss"],
    "overrides": [
        {
            "files": ["*.blade.php"],
            "options": {
                "parser": "blade"
            }
        }
    ]
}

My .blade.format.json config
{
    "useLaravelPint": true,
    "spacesAfterDirective": 1,
    "spacesAfterControlDirective": 1,
    "phpOptions": {
        "singleQuote": true,
        "phpVersion": "8.2"
    },
    "attributeJsOptions": {
        "semi": true,
        "printWidth": 120
    }
}

My pint.json config
{
    "preset": "laravel",
    "rules": {
        "method_argument_space": true,
        "concat_space": {
            "spacing": "one"
        },
        "single_trait_insert_per_statement": true,
        "types_spaces": {
            "space": "single"
        }
    }
}

I have a test.blade.php file that looks like this:
@isset ($error)

{{ $error }}

@endisset

I want to keep the space after my blade directives.
Now when I run prettier on only the file: npx prettier resources/views/compontents/input/test.blade.php the space is there.
When I run prettier on the folder: npx prettier resources/views/components/input --write the space is removed.
When I set "useLaravelPint": false, the space is there when running prettier on either the file or the folder.
So the problem seems to be Laravel Pint removing the space, but only when running prettier on multiple files at once.

Very interesting! I'll dig in later this week and see what I can find out 🤔


ng-file-select: no input element on custom element

I'm using the wonderful Angular Material project for the styling of a webpage. It lets you use directives and services to apply the Material Design principles on a web page. One of these directives is the md-button, which can be used to create a button element that is styled conform these principles.
I have tried to use md-button in combination with the ng-file-select attribute. However, it seems that these two don't mix. When I use a regular button element, everything seems to work fine. See the following plnkr.
As you can see in the demo the button element has an input child and the md-button has not. In the angular-file-upload code I can see the input element being added. Unfortunately, in the end it is not there as child of the md-button.
I think the md-button directive might have replaced or removed the input element, but I am not sure. Maybe it has something to do with the order in which both directives are executing?
As a solution I tried to change the .append(fileElem) in .after(fileElem) and that works. Appending the fileElem to the document body also works, but then one would need to destroy the corresponding input when removing the element.

For now you can just use <input type="file"...> instead of button.

@Frank3K I changed the way the input file is being added to the dom so it should fixes those issues since version 2.2.2.
@fcbenoit that was a separate issue which is fixed in the latest.
@timsmiths
the first 3 should work now, ng-if still doesn't work since angular will not reattach event listener and will just clone the elements. So the change event listeners on the file input will be removed. I believe ng-if would break any directive that binds events to the dom elements.

Can confirm this is working. Thanks!

As of version 4.2.1 of this directive and Angular Material version 0.10.1, I had this working without issue, when I updated to ng-file-upload version 9.0.13 it is broken (no change the the angular-material version, just this directive).  I'm trying to figure out why it's broken.  It's interesting that the <md-menu> directive appends it's menu to the DOM, I would expect this to break functionality for a directive like this (which is appending a separate file <input> element to the DOM).  But for some reason, it works in version 4.2.1 and is broken in 9.0.13.  Any thoughts about this @danialfarid ?

What is broken? any errors?

Make sure to read the release notes, there have been non backwards compatible changes since version 4.

Thanks @danialfarid for getting back to me, I did study the release notes carefully and I think I've updated everything properly.  There are no errors, but it appears a watcher on the ng-model fires at the time the button is clicked rather than waiting until after I select a file from the browser's file selection modal.  Previously the ngModel would not fire a change event until after selection was complete.
Ugh.  Unfortunately in the process of creating an example of the problem, I proved that it's something else I've not accounted for.  This example shows that it does work (disproving my earlier comment).  I will add a further update if I can track down the problem with my implementation of it.
Thanks for being so quick to respond, here's the working demo:
http://codepen.io/brianfeister/pen/MarYdQ

Actually, @danialfarid forget what I said before, the demo does in fact show the error. File upload from within the dropdown works, while the one outside of it does not... I managed to reproduce it after all :)
http://codepen.io/brianfeister/pen/MarYdQ

Here is an example of the same code working correctly with version 4.2.1 http://codepen.io/brianfeister/pen/mepJKW

@brianfeister  Fixed at version 9.0.15

Awesome! Thanks @danialfarid

@danialfarid  is this working with angular 1.5.5? I'm using ng-file-upload v12.0.4 but when i select files, files are not bound to ng-model.

@andreipot yes try it on the demo page. You can change the angular version on top right corner.


Adds default and typesVersions to package.json

Adding typesVersions since this is what older versions of typescripts use to find types
With this, you can now do import Core from @quicknode/sdk/core for tree-shaking and it will correctly type the object with older versions of typescript
Also, this adds the default to exports, which allows typescript to pick up on const Core = require("@quicknode/sdk").Core and correctly type Core

coverage: 99.719%. remained the same when pulling cb68b8224d417f80d017204e56362f73e42b3537 on core_types_treeshaking into b9e15c3e939faa00845672e6d552b6f970c4d152 on main.


[Compound] Improve UI/UX

What it solves
Resolves #224
How this PR fixes it
By adding a Tabs component to the Compound UI and allowing to supply or withdraw with the same button showing the user the necessary enable/disable statuses and colors for making the UX better
How to test it

Open Compound app
Select supply tab, enter a quantity and click the button for start the supply process
Select withdraw, enter a quantity  and click the button for start the withdrawal process
Verify in the Compound app all is working as expected
Use max button both for supply and withdraw

This branch was created from https://github.com/gnosis/safe-react-apps/tree/feature/add-compound-collect-support that introduces a lot of changes.  Before that branch being merged the code review comparison should be made against that branch for seeing the real changes

@JagoFigueroa remember https://github.com/gnosis/safe-react-apps/pull/252 should be tested as well within this PR

testing for this task will be completed in https://github.com/gnosis/safe-react-apps/pull/266 as that PR includes all of the latest changes ;)


Api extension

Description
Jira Ticket: SARAALERT-###
Extends the SaraAlert API to include additional fields for Patients.
(Feature) Demo/Screenshots
This change is used by Florida Atlantic University to import users into SaraAlert and control the values of the attributes. This is an example of our import tool.

Important Changes
Please list important files (meaning substantial or integral to the PR) along with a list of the general changes that should be highlighted for reviewers.
'patient_helper.rb'
Addition of extension methods converting between SaraAlert and FHIR.
'patient.rb'
Addition of the above mentioned extension methods to the FHIR from_fhir and to_fhir methods.
Testing
This fix was tested on the following browsers (submitter must check all those that apply):
FHIR for Java.
Please describe the tests needed to verify your changes. Provide instructions for reproducing these tests. List any relevant details for your test configuration.
We have the tests in our API client test routines, but in general, each method needs to be verified that it corrected decodes and encode the extension values.

Hi @Sepiidae. Sorry we haven't had a chance to get to this until now. I've just opened another PR https://github.com/SaraAlert/SaraAlert/pull/521, which adds support for a handful of new fields in the API, and it looks like there are three that overlap with your PR: Jurisdiction, Monitoring Plan, and Assigned User. If you are still interested in adding support for the rest of the fields you've implemented here, I think it would make the most sense to bring your code back up to date once #521 is merged, and then account for any differences in approach. Let me know if you are still interested in doing this, and if not we can just close this out.


Generator: Update SDK /services/serverbackup

Generated from GitHub run<PHONE_NUMBER>6

https://github.com/stackitcloud/stackit-sdk-go/pull/999
There is a newer pr with same changes


Windows - Library name should not be versioned

On Windows, the library name (when compiling a dynamic library) is versioned when it should not.
Please refer to have some extra details OIIO #3048

That's a candidate for 2.0.2

I would argue that changing library name conventions is a fine 2.0 -> 2.1 kind of change, but I wouldn't incorporate it into a patch of an existing release where people think they know how things will be named.

@lgritz Good point.


Add fidelityFX, blue noise, ash, windows-rs

Added GPUOpen fidelity fx shader resources.
Added blue noise sampling in rust.
Added ash vulkan bindings in rust.
Added windows bindings in rust.

Do you have some more resources like articles or blogs? I just noticed that we do not have any thing for rust ....

Do you have some more resources like articles or blogs? I just noticed that we do not have any thing for rust ....

I'll take a look at what articles might be useful for this list.