Possibility to align text within free text

I have added combobox under text field. It allows to select from four options: Left, Center, Right, Justify. With "Justify" there is available one more numer field for blocking text canvas width (needed from obvious reasons).
Example of "Center"

Example of "Justify"

Great, nicely done and well organized.
How do you feel about the "Alignment" being inside the "Layout" or "Font"?

Great, nicely done and well organized.
How do you feel about the "Alignment" being inside the "Layout" or "Font"?

Alignment doesn't seem as Font property IMO but hej! It yours project so you decide. Move it to top of Layout group or at bottom?

Alignment doesn't seem as Font property IMO but hej! It yours project so you decide. Move it to top of Layout group or at bottom?

Bottom, I think.

Bottom, I think.

Perfect, thanks!

Perfect, thanks!


Assignment 1

What changes are you trying to make? (e.g. Adding or removing code, refactoring existing code, adding reports)
Merging code in two different versions of the same file.
What did you learn from the changes you have made?
The fact that merging does involve a manual component since I had to check for errors in the code of the file (with changes) made by the coworker.
Was there another approach you were thinking about making? If so, what approach(es) were you thinking of?
Initially I thought merging would be completely automated without my checking for errors in the file (with changes) made by the coworker
Were there any challenges? If so, what issue(s) did you face? How did you overcome it?
No particular challenges
How were these changes tested?
By running the file (with changes) made by the collaborator on the bash terminal.
A reference to a related issue in your repository (if applicable)
Not applicable
Checklist

[ Yes] I can confirm that my changes are working as intended

You did a great job here!
A few things to notice:

Please keep the pull request open during the marking process, and then you can close or merge the request after the assignment gets marked.
The branch name should be assignment not assignment-1.
So please go ahead and do the modification and then let me know. Thanks!

Hi Pedram, thank you for your comments. I have renamed the branch to assignment.

The assignment.sh file in 'main' branch should not have any of your code changes. Please change that well. Thanks! For help follow: https://uoft-dsi-certificates.slack.com/archives/C07VC7M4PTL/p1732596801781119

Hi Anjali, I've fixed the main branch now. Thank you.

Thank you Anjali.


update notifier endpoint to app.airbrake.io

This is in order to deal with upcoming changes to routing in airbrake. Internally airbrake is changing it's routing for notifiers to app.airbrake.io.

@fazibear please take a look when you have a chance. Simple change.


[BUG] split_naming logic for files with one part

related to PR https://github.com/mne-tools/mne-python/pull/5470, I just realized now that this split naming solution works only if the file will be split into multiple parts.
I noticed that the way that we decide if the raw file is to be split happens at https://github.com/mne-tools/mne-python/blob/master/mne/io/base.py#L2326. this is fine for neuromag-style naming convention where there is no suffix appended to the first file, but for BIDS, part- is appended only if there is at least a second part.
@larsoner, what do you suggest in terms of including this logic. we would essentially need to add
if pos >= split_size - this_buff_size_bytes - next_file_buffer and \
                first + buffer_size < stop:

before https://github.com/mne-tools/mne-python/blob/master/mne/io/base.py#L2218 but those variables aren't defined until later

I don't see a clean solution because we can't easily know the sizes ahead of time (need to write meas info, full buffers, blank buffers, etc.).
How about for BIDS, whenever writing you:

ensure that the unsplit-name and split-name are both available before writing, if they aren't, raise an error (unless overwrite=True)
if the file needs to be split, os.rename the first file to have the _part stuff, possible after an os.remove if overwrite=True.

oh ok, so this will work fine if the user

use the mne-bids for saving bids files. the naming split won't auto generate the correct bids filename, just the extension name attached.
we can introspect the files to know if the split naming is necessary so it would skirt the issue above.

I will patch this in mne-bids

closing. bug fix in https://github.com/mne-tools/mne-python/pull/5570 and implemented in https://github.com/mne-tools/mne-bids/pull/102


Third-Party Cryptographic Implementations

For implementing RSA support, which will not be landing in the main library as discussed, we'll need to support external implementations for at least public-private keys. I'd also recommend looking into the same for the symmetric encryption as seen in #48

I think a good idea here is to try to throw together a few implementations and see what the common API surface needs to be, and then to offer that as an extension point. We have some time to workshop APIs here.

@gwynne this seems like something you'd find fun!


🐛 Bug Report: Requires yarn v1, but running npx @backstage/create-app@latest upgrades yarn to v3

📜 Description
While running npx @backstage/create-app@latest it upgrades yarn, and then fails the yarn version check
👍 Expected behavior
Yarn should not be upgraded if not needed
👎 Actual Behavior with Screenshots
end result of the command is:
 Installing dependencies:
  determining   yarn version ✖

Error: @backstage/create-app requires Yarn v1, found '3.2.3'. You can migrate the project to Yarn 3 after creation using https://backstage.io/docs/tutorials/yarn-migration

It seems that something went wrong when creating the app 🤔

🔥  Failed to create app!

👟 Reproduction steps
> git clone https://github.com/backstage/backstage.git
> git log --oneline -n 5
d1797f0e91d (HEAD -> master, origin/master, origin/HEAD) Merge pull request #17586 from backstage/renovate/webpack-dev-server-4.x-lockfile
6594ca3c8f4 fix(deps): update dependency webpack-dev-server to v4.13.3
4ff9bd69cf3 Merge pull request #17585 from backstage/renovate/swagger-ui-react-4.x-lockfile
1170924aafe Merge pull request #17584 from backstage/renovate/react-window-1.x-lockfile
af247024b60 fix(deps): update dependency swagger-ui-react to v4.18.3
> docker run --user 1000:1000 -v $(pwd):/app -it --rm node:16 /bin/bash
> node@9ce649e91cda:/$ yarn -v
1.22.19
>node@9ce649e91cda:/$ cd /app
>node@377f65fcbc39:/app$ npx @backstage/create-app@latest
Need to install the following packages:
<EMAIL_ADDRESS>Ok to proceed? (y)
? Enter a name for the app [required] backstage
Creating the app...

  You can migrate the project to Yarn 3 after creation using https://backstage.io/docs/tutorials/yarn-migration

It seems that something went wrong when creating the app 🤔

🔥  Failed to create app!

npm notice
npm notice New major version of npm available! 8.19.4 -> 9.6.5
npm notice Changelog: https://github.com/npm/cli/releases/tag/v9.6.5
npm notice Run npm install -g<EMAIL_ADDRESS>to update!
npm notice

> node@377f65fcbc39:/app$ yarn -v
3.2.3

📃 Provide the context for the Bug.
No response
🖥 Your Environment
docker inspect --format='{{index .RepoDigests 0}}' node:16
node@sha256:241f152c0dc9d3efcbd6a4426f52dc50fa78f3a63cff55b2419dc2bf48efe705
👀 Have you spent some time to check if this bug has been raised before?

[X] I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

[X] I have read the Code of Conduct

Are you willing to submit PR?
Yes I am willing to submit a PR!

Hi @bok11, thanks for reporting this. Can you include details as to where you are seeing the Yarn upgrading being done? I don't see it in the output and based on this PR https://github.com/backstage/backstage/pull/16039 upgrading Yarn wasn't something being done yet as there are still some issues with Yarn 3 to be resolved

I dont see the yarn upgrade specifically being done, but I see that I have yarn v 1.22.19, then i run npx @backstage/create-app@latest and I have yarn v 3.2.3 afterwards.
Though it turns out I had misunderstood the step, as I clones the repository and ran npx @backstage/create-app@latest in the cloned repo.
I tried going to an empty folder and running npx @backstage/create-app@latest, this succeded for me and i was able to build the docker image
I will close this now, as it seemed to be me who misunderstood the step


Create private repo to manage application requests

The application requests need to be managed within the smaller Application and Oversight teams. To ensure that the teams can see the progress of each application, we will create a private repo where an issue is created for each request.
The ID of this issue becomes the Unique ID for each application and must be quoted in all future correspondence between fossreposnders and the applicant.
We will create a Kanban board to monitor progress and a series of issue tags to show which applications have been awarded etc

We'll need to tag @RichardLitt in for this one, I don't have sufficient rights.

We'd have to upgrade to paid. I'll email Devon Zeugel and see if we can get private repositories for free. If not, I'm happy to submit expenses to FOSS Responders.

@rachellawson Added you as a team member for now. @DuaneOBrien You're now an owner, too.

@RichardLitt if Devon can't set us up with Teams for free, let me know and I'll pay out of pocket to upgrade is today while we sort it out.

This was done! Good work, all.


Cloud deployment

This issue aggregates all ideas on cloud deployment of Fablo, and research must be done to decide which one will be the first.
Propositions are:

BAF (Blockchain Automation Framework  )
https://github.com/kfsoftware/hlf-operator

Without knowing this issue I am developing exactly a deployment script that uses fablo along with hlf-operator. I will inform you when it is complete if you want to use it or integrate it in your tools.

Awesome @ZappaBoy thanks !!! :-)
We've been pretty busy recently so it's great that you're pushing the work forward.
Let as know! :)
Ps. If you will need something let us know. We can explain via text or jump into a quick call.

Awesome @ZappaBoy thanks !!! :-) We've been pretty busy recently so it's great that you're pushing the work forward. Let as know! :)
Ps. If you will need something let us know. We can explain via text or jump into a quick call.

Thanks a lot @Hejwo. I'll be in touch in case i need help.

Hello @ZappaBoy  how you doing with that script?. I'm trying to deploy to the Cloud too and i saw the new project Hyperledger Bevel. Looks interestant.

Hello @SRiera98, unfortunately I don't have much time to devote to the script and honestly the work is enough. I'm trying to integrate fablo with hlf-operator (that will be in a few days migrated inside hyperledger-labs) even if I'm very far from a complete integration. At the moment I'd be happy with even a partial integration of the functionality but seeing Hyperledger Bevel (which looks really interesting) I guess it's better to invest my time in trying to contribute to Bevel rather than reinventing the wheel.
The main reason in my opinion is that Fablo does a really good job regarding the docker environment but there is no direct link between the docker-compose.yaml generated by fablo and kubernetes. I had thought about something like kompose but in such a context it can't work.


Does maskrcnn benchmark support half precision inference?

❓ Questions and Help
Does maskrcnn benchmark support half precision inference? If not, what should I add?

yes, it does

yes, it does
EDIT: not sure about inference, but it definitely supports training

Yes, I notice the DTYPE option. Hope that half-precision inference can also be supported.


Why are the mismatched lines also green now, and how can I change this property

Why are the mismatched lines also green now, and how can I change this property

How can I restore the color of the matching lines to how they were last time? Thank you very much for your help.

Have you updated and can you provide a version from a few months ago? Thank you very much

See more information here: https://github.com/Vincentqyw/image-matching-webui/issues/35#issuecomment-2393871218


[BUG]: [SOL-DEV | Done signature through E-sign and is successful, but on the screen it is not reflecting and localisations missing]

Describe the bug
Done signature through E-sign and is successful, but on the screen it is not reflecting and localisations missing
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
Done signature through E-sign and is successful, but on the screen it should reflect.
Screenshots
https://jam.dev/c/35705f2b-cf60-488d-96e3-47c2313863d3

hi @iknoorkaur issue resolved, pls check
cc :  @Ramu-kandimalla, @rajeshcherukumalli

Hi @utpalBeehyv , there is one css issue in the text (optional), kindly change the colour of that.


added UDF support to SparkSession

Current coverage is 81.01% (diff: 98.36%)

Merging #608 into master will increase coverage by 0.13%

@@             master       #608   diff @@
==========================================
  Files            79         80     +1
  Lines          8008       8069    +61
  Methods        1333       1346    +13
  Messages          0          0
  Branches        991        991
==========================================
+ Hits           6477       6537    +60
- Misses         1169       1170     +1
  Partials        362        362

Powered by Codecov. Last update b95520e...a1b74ad


Add a user guide page dedicated to setup OpenHandas to work with local models (Ollama/LiteLLM/etc)

What problem or use case are you trying to solve?
Add a user guide page dedicated to setup OpenHandas to work with local models (Ollama/LiteLLM/etc)
Describe the UX of the solution you'd like
A new page on documentation describing how to setup OpenHands to work with local models + some troubleshooting for common errors
Do you have thoughts on the technical implementation?
--
Describe alternatives you've considered
--
Additional context
--

Please take a look here: https://docs.all-hands.dev/modules/usage/llms/local-llms
If you have suggestions or improvements, a PR is welcome!

Thanks! That's what I was looking for!


SVG render bug in gauge

Version
4.8.0
Steps to reproduce
when using svg render,  it seems some  properties of series.gauge.detail dont working anymore， forexample， i set the detail below：
detail:{
    backgroundColor: 'rgba(30,144,255,0.8)',
    borderWidth: 1,
    borderColor: '#fff',
    shadowColor: '#fff',
    shadowBlur: 5,
    offsetCenter: [0, '50%'],
    textStyle: {
        fontWeight: 'bolder',
        color: '#eee'
    }
}

it is working in canvas but not in svg
What is expected?

What is actually happening?

it doesnt working  in svg, but good in canvas

when using svg render,  it seems some of series.detail properties dont working

Currently, some of rich label text properties are not supported by svg renderer.


vcmeta.dll and incremental builds in .NET MAUI projects

This is somewhat related to this older issue.
We found installing the .NET MAUI workload in Visual Studio, incremental builds always hit time spent in:

But if you install this workload:

Then the problem goes away:

Debugging what is happening, I found the presence of:
VCInstallPath32 = C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.34.31933\bin\HostX64\x86\vcmeta.dll
VCInstallPath64 = C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Tools\MSVC\14.34.31933\bin\HostX64\x64\vcmeta.dll

When these exist, incremental builds are able to skip extra work. When they are missing, you see:
Xaml Compiler Marker: 2:31:45 PM: 887 perfXC_FingerprintCheck, Local Assembly FingerPrint Changed
Xaml Compiler Marker: 2:31:45 PM: 887 perfXC_FingerprintCheck, Reference Assemblies Fingerprint Changed

Ask: Can we avoid vcmeta.dll usage? or ship this file as part of the Windows App SDK?
Details on how we are addressing this for now here. It unfortunately will add ~290MB to .NET MAUI's install footprint.

Is it possible to add the (hopefully) few bits to the https://www.nuget.org/packages/Microsoft.Windows.SDK.BuildTools NuGet so dotnet build also works well when there is no VS installed?
BuildTools is great because it allows for a much smaller dev install and also removes the requirement of VS to build on CI.

I see in the WASDK targets Microsoft.UI.Xaml.Markup.Compiler.interop.targets:
    <Target Name="GetVCInstallPath" Condition="'$(VCInstallPath32)' == '' and '$(VCInstallPath64)' == ''">
      <GetLatestMSVCVersion MSVCDirectoryPath="$(VsInstallRoot)\VC\Tools\MSVC" Condition="'$(VCToolsInstallDir)' == '' and '$(VsInstallRoot)' != ''">
        <Output TaskParameter="LatestMSVCVersion" PropertyName="LatestMSVCVersion"/>
      </GetLatestMSVCVersion>
      <PropertyGroup Condition="'$(VCToolsInstallDir)' == '' and '$(VsInstallRoot)' != ''">
        <VCToolsInstallDir Condition="'$(VCToolsInstallDir)' == ''">$(VsInstallRoot)\VC\Tools\MSVC\$(LatestMSVCVersion)\</VCToolsInstallDir>
      </PropertyGroup>
      <PropertyGroup Condition="'$(VCToolsInstallDir)' != ''">
        <_VCInstallPathHostArchitecture Condition="'$(PROCESSOR_ARCHITECTURE)' == 'x86'">X86</_VCInstallPathHostArchitecture>
        <_VCInstallPathHostArchitecture Condition="'$(PROCESSOR_ARCHITECTURE)' != 'x86'">X64</_VCInstallPathHostArchitecture>
        <VCInstallPath32>$(VCToolsInstallDir)bin\Host$(_VCInstallPathHostArchitecture)\x86\vcmeta.dll</VCInstallPath32>
        <VCInstallPath64>$(VCToolsInstallDir)bin\Host$(_VCInstallPathHostArchitecture)\x64\vcmeta.dll</VCInstallPath64>
      </PropertyGroup>
    </Target>

Looking at this, it appears if the BuildTools NuGet could set the $(VCInstallPath32) and $(VCInstallPath64) paths, then this should be skipped?

Looking at the binlog for dotnet build, it does not actually follow the same path:

Task "CompileXaml" skipped, due to false condition; ('$(UseXamlCompilerExecutable)' != 'true') was evaluated as ('true' != 'true').

Instead it uses an executable - but that also takes a long time:
Exec = 4.7s
    Assembly = Microsoft.Build.Tasks.Core, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
    Parameters
        Command = "C:\Users\mattl\.nuget\packages\microsoft.windowsappsdk\1.1.5\buildTransitive\..\tools\net5.0\..\net472\XamlCompiler.exe" "obj\Debug\net7.0-windows10.0.19041.0\win10-x64\\input.json" "obj\Debug\net7.0-windows10.0.19041.0\win10-x64\\output.json"
    CommandLineArguments = "C:\Users\mattl\.nuget\packages\microsoft.windowsappsdk\1.1.5\buildTransitive\..\tools\net5.0\..\net472\XamlCompiler.exe" "obj\Debug\net7.0-windows10.0.19041.0\win10-x64\\input.json" "obj\Debug\net7.0-windows10.0.19041.0\win10-x64\\output.json"

Tagging @mikebattista to comment on the feasibility of adding vcmeta.dll (from VC++ tools) to the Microsoft.Windows.SDK.BuildTools Nuget package; WinUI uses one of its exported functions to compare two assemblies/winmds and determine whether or not they have the same public APi surface.

This is completed by: https://microsoft.visualstudio.com/WinUI/_git/microsoft-ui-xaml-lift/pullrequest/8128511
We ported vcmeta.dll usage to C# using System.Reflection.Metadata.


why the feed msg in home page is not as good as profile page

profile page has much higher chance to load a complete msg feed while home page failed to do so. there must have some bugs.

with

https://github.com/digi-monkey/flycat-web/pull/254
the time line should stay on the same performance


[SPARK-36333][PYTHON] Reuse isnull where the null check is needed

What changes were proposed in this pull request?
Reuse IndexOpsMixin.isnull() where the null check is needed.
Why are the changes needed?
There are some places where we can reuse IndexOpsMixin.isnull() instead of directly using Spark Column.
Does this PR introduce any user-facing change?
No.
How was this patch tested?
Existing tests.

cc @xinrong-databricks @HyukjinKwon @itholic

Test build #141793 has started for PR 33562 at commit 21708a0.

Test build #141793 has finished for PR 33562 at commit 21708a0.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/46306/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/141793/

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/46306/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/46306/

Test build #141857 has started for PR 33562 at commit 3ea75f4.

Test build #141857 has finished for PR 33562 at commit 3ea75f4.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/46368/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/141857/

Thanks! merging to master/3.2

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/46368/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/46368/


readme needed to introduce what this repo is about?

I agree. For example, people might wonder: is this the "official" Lean 4 port of mathlib, or just a sandbox?

Readme has been added.


ImMesh

ImMesh was released! time to try it out: https://github.com/hku-mars/ImMesh

@satyajitghana Wow. Thank you for letting me know!
Let me try tonight or tomorrow night :)

I had some mixed results, it sort of works really well if there's no drift. If there is, then the mesh looks really bad. Want to see how it works out for your dataset.


Add 3D viewer to VEP results and it includes other minor display upda…

…tes and improvements for the others 3D viewer pages (Transcript and Variation).

Add buttons, module and configuration for the new 3D viewer page from the VEP results
Some changes in the 3D viewer display
Some changes in the 3D viewer JS code (to integrate the VEP results and also some general optimisation).

Example of 3D viewer button in the VEP results table
Column Domains:
http://ves-hx2-76.ebi.ac.uk:5060/Homo_sapiens/Tools/VEP/Results?tl=HHzqSVdPXIKhTiMh-526
Example of 3D viewer from VEP results:

rs334
stop_gained

@ens-lgil these changes are quite big, i think its better we have a code review to discuss this if thats ok with you

@ens-ma7 yes sure!

what about next wednesday at 11?

Had code review and suggested a few improvement which @ens-lgil is going to do and then create another pull request. @ens-lgil please close this PR if its not needed.

Will send a new PR


result.csv contains extra lines of old environment

We tried to run the perf test too to test some openshift environment. It seems the results.csv's detailed section contains environment that we used a couple of years ago.
In order to remove these "ghost" lines, we switched to new openshift environment and also tried to delete the existing storage-perf project , delete all the .csv and .log from the github directory, but these ghost lines seem to persist there.
From the following output, the wisc-ocp4-dev is the old environment but the results seem to show up in Detailed Measurement section. The existence of these ghost lines would cause confusion that seqrd is being performed, which is disabled in params.yaml.
Cluster Name,PVC,Storage Type,Environment,Test Name,Thread Count,write Mb/s,Requirement
wisc-rd2,pvc-sysbench-rwo,ocs,vmware,rndwr_4k_8,8,1.2,Recommended to meet the requirement of 11 Mb/s or higher
wisc-rd2,pvc-sysbench-rwx,ocs,vmware,seqwr_1g_2,2,168.0,Recommended to meet the requirement of 128 Mb/s or higher
wisc-rd2,pvc-sysbench-rwo,ocs,vmware,seqwr_1g_2,2,129.8,Recommended to meet the requirement of 128 Mb/s or higher
wisc-rd2,pvc-sysbench-rwx,ocs,vmware,rndwr_4k_8,8,1.2,Recommended to meet the requirement of 11 Mb/s or higher
,,,,,,,,,,,,,,
,,,,,,,,,,,,,,
Detailed Measurements,,,,,,,,,,,,,,
Cluster Name,PVC,Storage Type,Environment,Test Name,Thread Count,write Mb/s,Writes/s,read Mb/s,Reads/s,Total Time,Latency Min,Latency Avg,Latency Max,Latency 95th
wisc-rd2,pvc-sysbench-rwo,ocs,vmware,rndwr_4k_8,8,1.2,310.1,0.0,0.0,10.2,6.7,24.6,250.5,50.4
wisc-ocp4-dev,pvc-sysbench-rwx,ocs,vmware,seqrd_1g_48,48,0.0,0.0,15151.9,177.6,10.1,37.1,283.1,2942.4,1057.2
wisc-ocp4-dev,pvc-sysbench-rwo,ocs,vmware,rndrd_4k_48,48,0.0,0.0,4779.4,1223538.5,10.0,0.0,0.0,71.9,0.1
wisc-rd2,pvc-sysbench-rwx,ocs,vmware,seqwr_1g_2,2,168.0,0.2,0.0,0.0,12.2,11578.8,11906.4,12233.9,12188.5
wisc-rd2,pvc-sysbench-rwo,ocs,vmware,seqwr_1g_2,2,129.8,0.1,0.0,0.0,16.1,16130.8,16130.8,16130.8,16107.5
wisc-rd2,pvc-sysbench-rwx,ocs,vmware,rndwr_4k_8,8,1.2,321.3,0.0,0.0,10.0,0.0,23.9,216.4,47.6
wisc-ocp4-dev,pvc-sysbench-rwo,ocs,vmware,seqrd_1g_48,48,0.0,0.0,15498.8,181.6,10.1,46.0,285.3,2944.0,1068.6
wisc-ocp4-dev,pvc-sysbench-rwx,ocs,vmware,rndrd_4k_48,48,0.0,0.0,4399.4,1126240.7,10.0,0.0,0.0,204.3,0.0
result.csv (END)

This is the command we used to run the performance test.
ansible-playbook main.yml --extra-vars<EMAIL_ADDRESS>| tee output.log

Here is the params_rd2.yaml we used. Please note I removed the 4 lines about ocp credentials and url.
storageClass_ReadWriteMany: "ocs-storagecluster-cephfs"

run_storage_perf: true

arch: amd64  # amd64, ppc64le

############################ STORAGE PERFORMANCE PARAMETERS START #######################
# vars file for roles/storage-perf-test
storage_perf_namespace: storageperf  # openshift namespace/project where jobs will be executed, it will be created by playbook if not already existing.
logfolder: '.logs'
imageurl: quay.io/ibm-cp4d-public/xsysbench:1.1

cluster_infrastructure: vmware # optional labels eg ibmcloud, aws, azure, vmware
cluster_name: wisc-rd2 # optional labels
storage_type: ocs # optional label eg portworx, ocs, <storage vendor>

# To run the performace jobs on a dedicated compute nodes, set the node label which meet the criteria.
# The idea is to gather performance data when the jobs are running remotely from a storage node.
# A cluster administrator can label a node by running this query with appropriate label key/value:
# oc label node <node name> "<label_key>=<label_value>" --overwrite
dedicated_compute_node:
   label_key: "<optional>"
   label_value: "<optional>"

rwx_storagesize: 10Gi
rwo_storagesize: 10Gi

#sysbench random read
sysbench_random_read: false
rread_threads: 8            # 1,4,8,16
rread_fileTotalSize: 128m
rread_fileNum: 128
rread_fileBlockSize: 4k     # 4k,8k,16k

#sysbench random write
sysbench_random_write: true
rwrite_threads: 8           # 1,4,8,16
rwrite_fileTotalSize: 4096m
rwrite_fileNum: 4
rwrite_fileBlockSize: 4k    # 4k,8k,16k

#sysbench sequential read
sysbench_sequential_read: false
sread_threads: 2            # 1,2
sread_fileTotalSize: 4096m
sread_fileNum: 4
sread_fileBlockSize: 1g     # 512m,1g

#sysbench sequential write
sysbench_sequential_write: true
swrite_threads: 2           # 1,2
swrite_fileTotalSize: 4096m
swrite_fileNum: 4
swrite_fileBlockSize: 1g    # 512m,1g

############################ STORAGE PERFORMANCE PARAMETERS END #########################

The result.csv is generated based on all the json files under the directory .logs inside the project folder.  So can you check the contents of those json files to see if they contain any lines for wisc-ocp4-dev? Does not seem to be possible if you had cleaned up all the old stuffs. Thanks.

Could not reproduce this issue. Close it. Reopen it if there is any more info.


how can i rxbluetoothkit in background mode?

how can i rxbluetoothkit in background mode?
please help me..
please give me some example code.
thanks

Hello.
The one think you should do is to add background bluetooth mode to Info.plist.
Then, when requested for example characteristic monitoring - you should get callback while your app is in background and be able to make some light operations for limited time.

No.
listenOnRestoredState is not working..
this is my code
1.scan
2.listenOnRestoredState
3.connect a device.
4.kill signal ( kill(getpid(), SIGKILL);)
5.Debug->Attach ...
6.off ble and on ble
7.below code is run..
but listenOnRestoredState callback is not working.
 func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {

manager.listenOnRestoredState()
            .subscribe(onNext: { (restoredState) in
                print("test")
            },onError: {error in
                print(error)
            },onCompleted:{
                print("asdf")
            },onDisposed:{
                 print("monitorDisconnection onDisposed" )
            }).disposed(by: self.disposeBag)

Hello @choiks14
Could you show me how are you creating your BluetoothManager and show me more of your code?
Regards,
Kacper

class MainViewController: UIViewController {
class BleService{
    static let shared:BleService = BleService()

    let manager = BluetoothManager(queue:.main,options: [CBCentralManagerOptionRestoreIdentifierKey:"SMARTPLUS" as AnyObject])
    //let manager = BluetoothManager(queue:DispatchQueue.global(qos: .background),options: [CBCentralManagerOptionRestoreIdentifierKey:"SMARTPLUS" as AnyObject])
}

MainViewController.swift
class MainViewController: UIViewController {
    override func viewDidLoad() {
        super.viewDidLoad()

        self.listen()

    }

    func listen(){
        manager.listenOnRestoredState()
            .subscribe(onNext: { (restoredState) in
                print("test")
            },onError: {error in
                print(error)
            },onCompleted:{
                print("asdf")
            },onDisposed:{
                print("monitorDisconnection onDisposed" )
            }).disposed(by: self.disposeBag)
    }
}

listen not working..

please help me.........

Hello @choiks14
Please check documentation: https://developer.apple.com/library/content/documentation/NetworkingInternetWeb/Conceptual/CoreBluetooth_concepts/CoreBluetoothBackgroundProcessingForIOSApps/PerformingTasksWhileYourAppIsInTheBackground.html#//apple_ref/doc/uid/TP40013257-CH7-SW1
Especially section on recreating your BluetoothManager. You should do this and call listenOnRestoredState if you have identifiers in launchOptions UIApplicationDelegate method.
Please write if you need further help

no..
native CBCentralManager is called.
but rxbluetoothkit is not called
 func centralManager(_ central: CBCentralManager, willRestoreState dict: [String : Any]) {
   //is called by system..
}

 manager.listenOnRestoredState()
            .subscribe(onNext: { (restoredState) in
                // is never called.
            },onError: {error in
                print(error)
            },onCompleted:{
                print("asdf")
            },onDisposed:{
                print("monitorDisconnection onDisposed" )
            }).disposed(by: self.disposeBag)

Hello,
How do you know whether willRestore state from CoreBluetooth is called? Are you setting breakpoints in RxCBCentralManager or maybe in some other way?
Could you set breakpoints in this file:
https://github.com/Polidea/RxBluetoothKit/blob/master/Source/RxCBCentralManager.swift
In lines 60 and 93 and check which one is called first?
Regards,

RxCBCentralManager is not called.
My code is another project.
1.scan
2.connect
3.kill
4.attach
5. willRestoreState  was called by system

Are you using code in exactly the same places?(I mean code that is creating managers and listening on restored state).
Our lib is basically wrapper on CoreBluetooth stuff, so this should work as intended when used in appropriate way.

Could you give me a listenOnRestoredState sample code?

I woke up AppDelegate.
but below code not called.
_ = self.manager.listenOnRestoredState()
            .subscribe(onNext: { (restoredState) in
                print(restoredState.bluetoothManager)
                print("test")
            },onError: {error in
                print(error)
            },onCompleted:{
                print("asdf")
            },onDisposed:{
                print("monitorDisconnection onDisposed" )
            })

Could you show me whole project or send me some sample project in which this issue happens?
What is launchOptions[UIApplicationLaunchOptionsKey.bluetoothCentrals] returning?

https://github.com/choiks14/Test
this is my code
1.build
2.scan
3.kill
4.debug attach
5.some ble change
not working....
please help me..

Hello,
As I said - have you read the documentation I sent to you?
You have a function initListen in your VC. You're calling it in viewDidLoad of your UIViewController which is probably too late.
The things you need to do:

Place the code that reads identifiers of restored CBCentralManager objects from launchOptions in your AppDelegate(now it's empty).
Check there whether this list contents your "SMARTPLUS" identifier
If yes - recreate your BluetoothManager and start subscribing to listenOnRestoredState method.

Could you please follow these three steps?

I don't know if you mean killing the app by double click on home button and swipe up the app from background application (Closed by the user), If this what you mean, the CoreBluetooth Framework will never begin the app in background (Works only with "iBeacon").
It only should works if your app in the background and the iOS kill it for some reason (memory, etc...) then when you register for scanning and you work with central background mode. It'll work.
if you need to simulate to run the app in the background, you should work with fetch background mode and edit your schema to launch the app in background fetch.

Hello @choiks14,
Any progress on this?

I am having the same issue. What I do currently:

Start app
When view has loaded, start scanning
When app is about to be sent to the background/terminated, I subscribe to listenOnRestoredState()

I tried subscribing to listenOnRestoredState in the app delegate, but my view is called before applicationDidFinishLaunching.
Also tried subscribing to listenOnRestoredState() before subscribing to rx_state to start scanning. Again no scanning while the app was in the background.
I have no idea what to try anymore. If anyone has some suggestions, then that would be great.

Little update from my side. Appearently there is bluetooth scanning happening in the background from an earlier version of my app, but it doesn't show in the debug cpu process at all.
This is expected behaviour from Apple if I read their docs correctly, since my btManager it's lifecycle is the same as the app's lifecycle.
(Don't know if I need to create a seperate issue for this)
I have one question for listenOnRestoreState though, how do I debug this? I do not know when the subscribe method is being called and I do not see any of the onNext etc. print messages I placed in the console.

I'm having the same issue.
I tried subscribing to listenOnRestoredState as soon as possible in AppDelegate, but the subscriber couldn't always get .Next because willRestoreStateSubject emit .Next event before listenOnRestoredState is subscribed.
I resolved this issue by applying patches in RxCBCentralManager.swift.

Changed InternalDelegate.willRestoreStateSubject to BehaviorSubject from PublishSubject
Edited RxCBCentralManager.rx_willRestoreState for the change.

class RxCBCentralManager: RxCentralManagerType {

    ...

    @objc private class InternalDelegate: NSObject, CBCentralManagerDelegate {

        ...

        let willRestoreStateSubject = BehaviorSubject<[String: AnyObject]?>(value: nil)

        ...

    }

    ...

    /// Observable which infroms when central manager is about to restore its state
    var rx_willRestoreState: Observable<[String: AnyObject]> {
        return internalDelegate.willRestoreStateSubject.flatMap { state -> Observable<[String: AnyObject]> in
          guard let state = state else { return Observable.empty() }
          return Observable.just(state)
        }
    }

    ....

}

Hi @HAKASHUN,
You're right, many thanks! Could you make a pull request to the library with your changes?
If not - I will reimplement it right away and release a new version.
Best Regards,
Kacper

Thanks for your reply!
I'll make a pull request as soon as possible.

I think that should resolve all of the race conditions in our code. Thanks @HAKASHUN! :)


Need Help with Rows and columns

Hello,
I'm trying to set up a simple page with three divs.
Unresponsive would look like this
Div A
Div B
Div C
where Div B spans 2 rows A and C
When collapsed, I want them all 100%
but in the vertica sequence
Div A
Div B
Div C
Can anyone help me with that?

Maybe an ascii / drawing would help?

Maybe an ascii / drawing would help?

The spaces in my ascii drawing were collapsed. I'll try again.

That should be clearer

The spaces in my ascii drawing were collapsed. I'll try again.

That should be clearer

You could probably do something using the ascii inspired css grid template areas without  even using Skeleton's float based "grid".  As far as I know you can't do the vertical spanning you suggest.
Here's a codepen.
https://codepen.io/badcat/pen/BaLebRe

You could probably do something using the ascii inspired css grid template areas without  even using Skeleton's float based "grid".  As far as I know you can't do the vertical spanning you suggest.
Here's a codepen.
https://codepen.io/badcat/pen/BaLebRe


Use a download action that supports cross-workflow

Since the official actions/download-artifact only works within the same workflow
This Action should be able to download the artifact from a different workflow

I don't really trust me, but merging is the only way of finding out if it works)


Section 4: Finish ChatEntity

This PR reworks previous section 4a, "Creating ChatEntity", into section 4, "ChatEntity Conversations". Section 4 will now describe how to expand upon the ChatEntity and ChatAI scripts that were created in section 2, "Simple Chat NPCs".

@defreez This PR should be ready for review.
Would you be able to look particularly at the text for the ChatDescr property for Gralk? I wasn't sure if this is what we should use at this point, since we haven't set up the guess evaluation yet.

I think it is fine to use the full Gralk ChatDescr at this point. Without the guess evaluation at this point Gralk cannot move out of the way automatically, but that is expected and we have the ALT key workaround.


Not starting with status "connecting" when refreshing page and MetaMask has a pending request to connect

First, I want to say how easy it was to plug and play metamask-react. Excellent library to hide the implementation details of interacting with MetaMask. Thank you! 🙌
Summary
When MetaMask has a pending request to connect and the user refreshes the page, metamask-react doesn't start with "connecting" status but with "notConnected", and calling connect() fails.
Detailed steps
Testing different edge cases, I came up with one that I'm not sure that it's accounted for. For context, I'm making a demo project to learn with a test token called "KikiriCoin" (repo). Given a page that offers the user a button "Connect" that, when clicked, executes the connect function of useMetaMask:

Screenshot showing web interface with connect button

As a user, open the web page and click Connect. Don't perform any action on the MetaMask popup, leave the request unresolved.

Screenshot of meta mask connect request

Refresh the web page. The MetaMask extension continues having the unresolved request.

Expected (ideally): the status given by useMetaMask is connecting.
Actual: the status given by useMetaMask is notConnected.

Screenshot of web interface after refreshing

Screenshot of metamask extension icon, with its pending request
When the user clicks the "Connect" button again, an error is thrown "Request of type 'wallet_requestPermissions' already pending for origin http://localhost:3000. Please wait." with code -32002. At this point, the user is blocked from connecting unless they click the MetaMask extension icon in the browser to approve/cancel the request, or restart the browser.

Screenshot of console log error
Solutions
Fortunately, though, if the user opens the MetaMask extension, accepts the connection request, and refreshes the web page, the status returned by useMetaMask will be connected and things will work seamlessly.
I'm not sure if anything can be done from code to check if there's a pending request, in order to avoid this situation and inform the user appropriately. Ideally, we'd be able to call a function in window.ethereum to check if there was a pending request, and if that was the case, update the status to "connecting".
If not, it isn't the end of the world. I would just inform users to check their MetaMask extension for a pending connection request if I receive the error code -32002. Does that sound like the right approach?

Hey @guillermodlpa! Thanks a ton for this issue and all the details 🙏
I checked what the window.ethereum could offer but unfortunately it does not seem to have an exposed state for pending requests :(.
I think we can distinguish the two problems

connect throws while it should (probably) not, I would say idempotency would be expected,
status is not properly synced to connecting.

I don't have very strong solutions but here what I think we could do,
Solution 1 - minimal solution: calling connect will not throw if there is a pending connection request but make the state transition to connecting (technically speaking, we catch the error at the connect and if this is this exact one, we don't bubble up the error and go to connecting status). The sync problem will not be solved in this solution
Solution 2 - more agressive solution: we use the local storage to store connection requests and we check at synchronisation if there are any. We can additionally implement solution 1. Problem with this one is that we are introducing local storage usage which may lead to strange situations if the user is playing with it.
I would say the solution 1 is enough because as you said, it is some kind of edge case and I would expect future developments from MetaMask to get properly one day this state 🤔. What do you think about it? :)

Hi @VGLoic! Good analysis of the problem. Solution 1 makes sense to me. I'll fork the repo later today, experiment, and prepare a proposal!

I've been playing a bit with it today. I think a small solution along these lines achieves the result: guillermodlpa/metamask-react https://github.com/guillermodlpa/metamask-react/commit/46a614661290c725eeb7c0c5060f3932a7a7d30c
The missing piece
Unfortunately, I confirmed that events don't get triggered when subscribing from the reloaded tab and the request had already started. So the sync won't work:
// the listener set up after page refresh won't fire when approving the request :/
// Too bad, this would make all the flow work seamlessly!
ethereum.on('accountsChanged', () => {})

However, after approving, re-triggering the request eth_requestAccounts will work and metamask-react will change its status to connected. You can see that in action in the "after" demo below.
Before
So I've had time to record a video of what the issue looks like, before the fix:
https://user-images.githubusercontent.com/1557348/147974248-6343bd26-2911-4d67-bf61-e45400f09292.mov
After
Now a video showing the experience with the fix applied. These are the steps I took:

Open the test web page.
Trigger connect
Ignore the MetaMask popup, leaving the request pending.
Reload the web page.
Trigger connect. After the changes, it leaves the status to connecting. The button in the UI reflects that.
Open the MetaMask popup, log in and approve the request.
At this point, nothing happens. We couldn't add a listener to this request's completion :/
Trigger connect once more. It works because MetaMask is connected, accounts are retrieved, and the status transitions to connected.

https://user-images.githubusercontent.com/1557348/147974336-da80b51d-5476-40d8-a84e-44a8f4ca7fb3.mov
Context: I recorded that video on the kikiricoin-website project I mentioned, using metamask-react with the commit https://github.com/guillermodlpa/metamask-react/commit/46a614661290c725eeb7c0c5060f3932a7a7d30c  (paired with https://github.com/guillermodlpa/kikiricoin-website/commit/b83538a48c07b7cb0a7c0e6133f00c0646c17a43) and using test accounts in MetaMask, connected to Polygon Mumbai. Apologies for the low quality 😅
The problem with connect's return value
With the solution I prepared (https://github.com/guillermodlpa/metamask-react/commit/46a614661290c725eeb7c0c5060f3932a7a7d30c), the method requestAccounts, and consequentially connect, don't return the array of accounts in this scenario. The only clean way I can think of managing this is making these methods return void in all cases, but that would change the library's interface.
What do you think? 🤔  Mmm, I think if we need to make connect return sometimes connected accounts and sometimes not, it might not be worth it. As you said, probably future developments of MetaMask would address this, and enable event listeners to be triggered for requests started on a prior page load.

Thanks a lot for taking the time to make all this work! :)
I would be a bit sad to have this double connect click.
There is a way to keep the signature and the functionality of the connect as it is now, it is not the prettiest but it might be ok. So in the requestAccounts function, we use the rpc request to request the accounts and consider it successful when it comes back. As you pointed out, in this particular situation of pending authorisation, it's not properly working because we return before the user really approved.
It happens that after the user connects, an event accountsChanged is immediately emitted with the connected account.
What we could do is, instead of saying success is when the rpc request comes back, we say success is when we receive this first accountsChanged event. Technically speaking, we would need, before firing the request, to listen to the first accountsChanged event then fire the request and finally resolve (the resolve would need to be passed in the callback of the listener) when the event has been received. What do you think about it? :) I usually don't like too much this pattern because assuming an event is coming at some time is a bit tricky but it might be a solution at our problem 🤔

Interesting, I'd like to try the approach. I'll let you know once I have tested it! Probably in a few days.
However, I'm not positive that it's gonna work. Subscribing with ethereum.on('accountsChanged', ...) didn't seem to work to listen to a pending request that started before page load (what I mentioned in my last comment in the section "The missing piece"). I'll make it just in case!
I'll also look more into https://github.com/MetaMask/metamask-extension and their community forums to see if this behavior is intentional or can be improved 👍

I am not sure I was really clear in my previous message, what I though was something along these lines
function requestAccounts(
  dispatch: (action: Action) => void
): Promise<string[]> {
  const ethereum = (window as WindowInstanceWithEthereum).ethereum;

  dispatch({ type: "metaMaskConnecting" });

  return new Promise((resolve, reject) => {
    // Subscribe to next accounts changed event
    ethereum.once("accountsChanged", (accounts: string[]) => {
      dispatch({ type: "metaMaskConnected", payload: { accounts } });
      resolve(accounts);
    });

    // Trigger the request
    // If the user has not any pending request or has a pending request, it will not throw and we wait for the event accountsChanged to be triggered once the user has accepted on MetaMask
    ethereum.request({
      method: "eth_requestAccounts",
    }).catch(err => {
      const requestAlreadyPending = false; // Need to be replaced
      if (requestAlreadyPending) return;
      dispatch({ type: "metaMaskPermissionRejected" });
      reject(err)
    });

  });
}

I can probably test that this week-end :)

Hey @guillermodlpa ! I understood only now what you meant with the missing piece 😱. Sorry my handling of this issue has been a disaster :(
I finally integrated a direct polling on eth_accounts additionally to the handling of the error you made, it will handle pending request when using the connect. I'm not a big fan of the solution but I hope this will only be temporary 😅
The PR is https://github.com/VGLoic/metamask-react/pull/15
Please don't hesitate to tell me you think about it!
Oh and also, I'm happy to push the changes on your branch if you want to be part of the contributors here since you did most of the work :)

Hi @VGLoic. This is great, thanks for looking into it and proposing this solution! Like you explained in the comments, it's a complex solution to handle this edge case that hopefully would be addressed by MetaMask directly. I'll spend some time later today manually verifying those changes in my test application, and I'll confirm it's all good then.
Thanks for suggesting to push the changes in my branch! No worries, I'll find another way to contribute :) Love this project!


Create objects for Message.Timeout, Message.Type and Message.Text in io-package.json

2024-06-09 13:00:44.139  - warn: enigma2.0 (103210) State "enigma2.0.Message.Timeout" has no existing object, this might lead to an error in future versions
2024-06-09 13:00:44.139  - debug: enigma2.0 (103210) enigma2 command Message Type: 1
2024-06-09 13:00:44.140  - warn: enigma2.0 (103210) State "enigma2.0.Message.Type" has no existing object, this might lead to an error in future versions
2024-06-09 13:00:44.181  - debug: enigma2.0 (103210) enigma2 message Text: text
2024-06-09 13:00:44.182  - warn: enigma2.0 (103210) State "enigma2.0.Message.Text" has no existing object, this might lead to an error in future versions

https://github.com/iobroker-community-adapters/ioBroker.enigma2/blob/1ebf0b2e76d26e807933032a55ad44a16cb275e8/main.js#L95-L108

fixed 2.2.0


Saving twice in create-funding-source is confusing

To my mind, having to click save twice is confusing in
http://localhost:8000/en/funding/create-funding-source/
A more conventional approach would be for the form to redirect to the info page for the resource, and for the status message to be displayed on the info page.
Alternatively a popup would also work, but seems to me this adds complexity without much benefit.

A more conventional approach would be for the form to redirect to the info page for the resource, and for the status message to be displayed on the info page.

Until the user hits Save the first time, Cogs doesn't know whether the email will be sent to the user or to someone else. The intent of the second Save is to get the user to confirm that they are OK with an email being sent to the grant PI requesting attribution. In principle this could also be done with Javascript, but that obviously wouldn't work with JS disabled.

You're right, my approach wouldn't currently work. What about a message about the PI field with something like:
"Note that the PI will be notified by email and asked to attribute the funds to SCW."
Then we can only submit once and redirect to an info page that gives the rest of the info?

I think my secondary thinking was that having to confirm twice guarded against hitting "enter" too early and accidentally submitting a half-complete form, and giving a chance to check the data before doing something irrevocable. However, I think that a better way to do that (and a version I've seen elsewhere) would be to show a read-only version of the form, with the option to go "back" and correct it or to "submit". I think it's best to go with your solution for now and then open a new issue for the confirmation screen to be on the back burner.

Resolved by M4rkD/cogs3#11


"Enforce Row-Level Security" Lab - Duplicate Task Numbering

Last task in the lab should be numbered sequentially, as 3, not 2.

Update has been made.


dolfin-like plotting for vector fields

Hi Marco,
Is there an example somewhere that illustrates plotting deformed meshes (with contours) when supplied with a meshio.Mesh object (or even otherwise)?
In short, I am trying to plot a vector field u (stored as meshio.Mesh.point_data) as done in the Hyperelasticity demo via the following
disps = meshio.xdmf.read("disps.xdmf")
# disps.points, disps.cells, disps.point_data

# I tried
from vedo import Mesh, show
show(Mesh([
    disps.points, np.vstack((
        cell.data for cell in disps.cells if cell.type == "tetra"
        )),
    disps.point_data["u"]
    ]))

I will take a look at vedo.dolfin.py to understand how the plotting is done there. The slightly odd workaround I have for now is to interpolate the point_data into a dolfin.Function and then use vedo.dolfin.plot  as-is
Thanks

Hi Bhavesh! That actually looks a clever way of doing it, if your disps.point_data["u"] are displacement vectors you can use warpByVectors , eg:
pip install -U git+https://github.com/marcomusy/vedo.git
from vedo import *

b = load(datadir+'dodecahedron.vtk') # whatever vedo.Mesh

pts = b.points()*1.2+[2,3,4] # displacements numpy array

d = b.clone().warpByVectors(pts) # make a clone copy and warp it
d.lw(1).c('tomato')

a = Arrows(b.points(), d.points(), s=0.1, c='coolwarm')
a.addScalarBar3D(c='k', title='displacement in μm', titleFont='BPmonoItalics')

# or just
#a = Lines(b.points(), d.points())

show(b, d, a, axes=True)

Thanks Marco. This works perfectly.


[C++] Decimal64/32 support?

Describe the enhancement requested
Currently, the Arrow supports only decimal 128. When the Arrow is connected to an engine such as duckdb, the conversion is copied. Is there any plan to support 64/32?
Component(s)
C++

Could you start a discussion on<EMAIL_ADDRESS>with a concrete example/use-case?
See also:

General mailing list information: https://arrow.apache.org/community/#mailing-lists
<EMAIL_ADDRESS>archive<EMAIL_ADDRESS>

The discussion thread on<EMAIL_ADDRESS>https://lists.apache.org/thread/87h5l9n81qtw9qd04s3pw7vbxxqkhnck


Experiment:  Store "knownKeys" on ProxyMapping instead of defining keys explicitly

ObjectGraphHandler.prototype.fixOwnProperties explicitly defines properties, but this is probably bad.  It would be better to cache the list of "known keys" on the ProxyMapping so that we don't require certain properties be defined (particularly since defining properties can sometimes be done only once, per proxy constraints).

This was surprisingly easy to do.


Fix naming issue (#1)

Due to a file and directory name issue, this plugin could not be used for android.
This PR changes the directory name swipe_button to slide_button as well as the kotlin class name SwipeButtonPlugin to SlideButtonPlugin fixing the build.

Hey! Thanks! Sorry for the delay!


Question - predict.py default time period

This is a fascinating project, nice work.  I have managed to get everything to run but have a couple of questions?  Do you have a recommended time for training the data (for the first time)?  Secondly can you provide a bit more information about the best time to run the model, presumably at the start of the day to predict the remainder of the day?  Following on from this is there any way to run the predict.py with something longer than the default day?  I have tried changing this but cannot get anything to run.
Hope my questions make some sort of sense.  Thanks for a great project and any additional info.

Just realised that my default training was for the period of "day", thus all my _zoo files contain run-params for "day".  This part makes a bit more sense now.

If you have the resources I would suggest you run and predict the price
constantly. You can make the move when the model is most certain about the
next price.


Update README.md

Fixed example configuration to match sensor integration
https://github.com/home-assistant/core/blob/dev/homeassistant/components/sensor/manifest.json

Thank you for your help :)


tweepy-self

How about using my tweepy-self library?
https://github.com/alenkimov/tweepy-self

@alenkimov give me one good reason to use it?

Also you have over done it, and you have a lot of uneeded stuff.


Replace componentWillReceiveProps with componentDidUpdate

Tested this locally in my project, but not extensively.
Fixes #22

Hi @backmeupplz , the error from this library itself should be gone in the latest update.
The same lifecycle method deprecation warning also appears in my case from react-native's own components like TouchableOpacity etc.
Those will only be gone once react-native updates them.


[Usage]: Does VLLM support starting multiple cards using mpirun? Want to bind different CPUs to each card.

Your current environment
Does VLLM support starting multiple cards using mpirun? Want to bind different CPUs to each card.
When testing performance, use mpirun to bind different CPUs to different cards.
How would you like to use vllm
Does VLLM support starting multiple cards using mpirun? Want to bind different CPUs to each card.
When testing performance, use mpirun to bind different CPUs to different cards.
Before submitting a new issue...

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

vllm does not support mpirun. please check out https://docs.vllm.ai/en/latest/serving/distributed_serving.html for how to use multiple gpus.


Update road kind for whitewater=portage_way

Connects to https://github.com/mapzen/vector-datasource/issues/599
@nvkelso, @zerebubuth could you review please?

LGTM

:+1:


Add gain to ASAPTdtRecordingInterface

Add gain as a required property to ASAPTdtRecordingInterface:
Previously, the  gain_to_uV SI extractor property was 1e6 which resulted in an incorrect conversion factor of 1.
See #6 , also https://github.com/NeuralEnsemble/python-neo/issues/1369
Here we set the gain to 1.0, so the conversion factor of the raw and processed ElectricalSeries data will be 0.000001.

The file stub_Gaia_I_160624_2.nwb should contain the correct conversion factor for the raw and filtered traces


Java examples for graph sdk….

As we roll out graphsdk to external providers we want some Java examples of using the SDK in detail in a list of scenarios:

[x] Add a new Graph Key
[x] Public Follow and Unfollow
[x] Private Follow and Unfollow
[x] Make / Break Private Connection (double opt-in)
[x] Rotate Key
[x] Get List of Graph Keys
[ ] Other?

examples are provided in https://github.com/AmplicaLabs/saas-frequency-client/pull/56 PR


Kubearmor does not enforce anything on pod's entrypoint or execs to kubernetes pods

Bug Report

General Information

Environment description
kind k8s
Kernel version

Linux *** 6.5.0-27-generic #28~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Mar 15 10:51:06 UTC 2 x86_64 x86_64 x86_64 GNU/Linux

Orchestration system version in use

Client Version: v1.28.2
Kustomize Version: v5.0.4-0.20230601165947-6ce0bf390ce3
Server Version: v1.29.2

To Reproduce

Apply policy

apiVersion: security.kubearmor.com/v1
kind: KubeArmorPolicy
metadata:
  name: allow-exec-binaries
  namespace: default
spec:
  action: Allow
  file:
    matchDirectories:
    - dir: /
      recursive: true
  process:
    matchPaths:
    - path: /usr/bin/sleep
    - path: /usr/sbin/nginx
  selector:
    matchLabels:
      app: nginx

Create nginx deployment

kubectl create deployment nginx --image=nginx

Exec to running pod

kubectl exec -ti $(kubectl get pod -l app=nginx -o name) -- bash

Expected behavior
Permission denied for bash or at least more clear documentation for how k8s exec commands and apparmor profiles are inter-related. Scrolling though code, I couldn't easily find what's happening either.
 Is kubearmor somewhat different in that regard? Maybe someone can at least point to the code where this logic that skips enforcement of commands lives.

Hey @alexeysofin, we tried this scenario ourselves and we found that the behaviour is the same of the apparmor profiles irrespective of the kubearmor presence.
I've tried out this same profile and in the absence of kubearmor, kubectl exec is not blocked, this is the expected behaviour.
PTAL https://github.com/kubearmor/KubeArmor/wiki/Enforcer-Feature-Parity


[Test] Do not mind

QA for https://github.com/Expensify/Web-Expensify/pull/34551

Wohooo, this works 🎉 Please do not mind this issue!


Create a Command to add a new field (Notes)

Objective
Create a new command to add some notes as a field in the contact list. The field name will be 'Notes'.
Context
Every candidate is different. Apart from their qualifications, every candidate's personality and characteristics are different. From the recruiter's and HR professionals' point of view, there is a need to add a small note to differentiate candidates from one another. Hence, it is important to have them as a field in the contact list.

LGTM


This needs updated

I ran into several errors trying to compile the sample code on this page.

StorageRequestFailedException  does not exist. RequestFailedException exists but requires an additional "using Azure;" statement.
A number of the parameters have been renamed.  (SignedStartsOn, SignedExpiresOn, SignedObjectId,  SignedTenantId, etc...)
Permissions = "r", causes build error CS0200. I had to comment it out. How is this supposed to work?

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

ID: 356fbbd8-db87-fb87-2c0d-d50c8657e9e3
Version Independent ID: 00553689-e763-af48-ff03-da6eb8deb274
Content: Create a user delegation SAS for a container or blob with .NET (preview) - Azure Storage
Content Source: articles/storage/blobs/storage-blob-user-delegation-sas-create-dotnet.md
Service: storage
Sub-service: blobs
GitHub Login: @tamram
Microsoft Alias: tamram

@FuntimeMS - Can you please tell me which version of the .NET client library you are using?

I'm running the sample in VS 2017, the Target Framework is .Net 4.6.1. I also tried the sample in VS 2019 with the same results.
Or are you referring to the Azure NuGet packages?
PM> get-package
Id                                  Versions                                 ProjectName

Azure.Core                          {1.0.0}                                  AZURE-.NET-console1
Azure.Identity                      {1.0.0}                                  AZURE-.NET-console1
Microsoft.Azure.ConfigurationMan... {4.0.0}                                  AZURE-.NET-console1
Microsoft.Azure.KeyVault.Core       {3.0.4}                                  AZURE-.NET-console1
Microsoft.Azure.Storage.Blob        {11.1.0}                                 AZURE-.NET-console1
Microsoft.Azure.Storage.Common      {11.1.0}                                 AZURE-.NET-console1
Microsoft.Bcl.AsyncInterfaces       {1.0.0}                                  AZURE-.NET-console1
Microsoft.Identity.Client           {4.1.0}                                  AZURE-.NET-console1
Microsoft.Rest.ClientRuntime        {2.3.20}                                 AZURE-.NET-console1
Microsoft.Rest.ClientRuntime.Azure  {3.3.19}                                 AZURE-.NET-console1
Newtonsoft.Json                     {12.0.2}                                 AZURE-.NET-console1
System.Buffers                      {4.5.0}                                  AZURE-.NET-console1
System.Diagnostics.DiagnosticSource {4.6.0}                                  AZURE-.NET-console1
System.Memory                       {4.5.3}                                  AZURE-.NET-console1
System.Numerics.Vectors             {4.5.0}                                  AZURE-.NET-console1
System.Runtime.CompilerServices.... {4.6.0}                                  AZURE-.NET-console1
System.Security.Cryptography.Pro... {4.5.0}                                  AZURE-.NET-console1
System.Text.Encodings.Web           {4.6.0}                                  AZURE-.NET-console1
System.Text.Json                    {4.6.0}                                  AZURE-.NET-console1
System.Threading.Tasks.Extensions   {4.5.2}                                  AZURE-.NET-console1
System.ValueTuple                   {4.5.0}                                  AZURE-.NET-console1
WindowsAzure.Storage                {9.3.3}                                  AZURE-.NET-console1
Microsoft.Azure.ConfigurationMan... {4.0.0}                                  AZURE.NET-test1
Microsoft.Azure.KeyVault.Core       {3.0.4}                                  AZURE.NET-test1
Microsoft.Azure.Storage.Blob        {11.1.0}                                 AZURE.NET-test1
Microsoft.Azure.Storage.Common      {11.1.0}                                 AZURE.NET-test1
Microsoft.Rest.ClientRuntime        {2.3.20}                                 AZURE.NET-test1
Microsoft.Rest.ClientRuntime.Azure  {3.3.19}                                 AZURE.NET-test1
Newtonsoft.Json                     {12.0.2}                                 AZURE.NET-test1
Azure.Core                          {1.0.0}                                  Azure-UserDeletagionSAS-test2
Azure.Identity                      {1.0.0}                                  Azure-UserDeletagionSAS-test2
Azure.Storage.Blobs                 {12.0.0}                                 Azure-UserDeletagionSAS-test2
Azure.Storage.Common                {12.0.0}                                 Azure-UserDeletagionSAS-test2
Microsoft.Bcl.AsyncInterfaces       {1.0.0}                                  Azure-UserDeletagionSAS-test2
Microsoft.Identity.Client           {4.7.0}                                  Azure-UserDeletagionSAS-test2
System.Buffers                      {4.5.0}                                  Azure-UserDeletagionSAS-test2
System.Diagnostics.DiagnosticSource {4.6.0}                                  Azure-UserDeletagionSAS-test2
System.Memory                       {4.5.3}                                  Azure-UserDeletagionSAS-test2
System.Numerics.Vectors             {4.5.0}                                  Azure-UserDeletagionSAS-test2
System.Runtime.CompilerServices.... {4.6.0}                                  Azure-UserDeletagionSAS-test2
System.Security.Cryptography.Pro... {4.6.0}                                  Azure-UserDeletagionSAS-test2
System.Text.Encodings.Web           {4.6.0}                                  Azure-UserDeletagionSAS-test2
System.Text.Json                    {4.6.0}                                  Azure-UserDeletagionSAS-test2
System.Threading.Tasks.Extensions   {4.5.3}                                  Azure-UserDeletagionSAS-test2
System.ValueTuple                   {4.5.0}                                  Azure-UserDeletagionSAS-test2

@tamram I'm having problems with this as well.  Trying not to have to save a SAS token in the config file, I was trying to use this method to create a temp SAS token.  This is currently holding me up because it doesn't work.

@FuntimeMS @kpball - Thanks for pointing out this issue. There were breaking changes between the preview and release versions of the Azure Storage client library for .NET. I've updated the sample code so that it works. I've also removed the preview moniker from the client libraries.
These changes should go live in the next couple of hours.

The article updates are now live.
#please-close


add parent/child relationships to VmOrTemplate

Parent / Child relationships need to be accessible via the API without interfering with existing functionality in RelationshipMixin as mentioned here.
With these relationships exposed through the API, the user will be able to edit the parent/child relationships
@miq-bot add_label enhancement
@miq-bot assign @gtanzillo
cc: @abellotti

👍   Thanks @jntullo for the update.


Appstudio update mvp-test-component

Pipelines as Code configuration proposal

Pipelines as Code CI/mvp-test-component-on-pull-request has successfully validated your commit.

StatusDurationName

✅ Succeeded
6 seconds
init

✅ Succeeded
14 seconds
clone-repository

✅ Succeeded
1 minute
build-container

✅ Succeeded
15 seconds
deprecated-base-image-check

✅ Succeeded
15 seconds
inspect-image

✅ Succeeded
1 minute
clamav-scan

✅ Succeeded
31 seconds
clair-scan

✅ Succeeded
14 seconds
sbom-json-check

✅ Succeeded
10 seconds
label-check

✅ Succeeded
10 seconds
optional-label-check

✅ Succeeded
8 seconds
show-sbom

✅ Succeeded
9 seconds
show-summary


BugFix

Found and fixed several issues:

broken link
typos
broken image

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

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

VBA/Access-VBA/articles/5-database-engine-driver-2-of-2.md
:white_check_mark:Succeeded

VBA/Access-VBA/articles/accessobject-isloaded-property-access.md
:white_check_mark:Succeeded

VBA/Access-VBA/articles/allforms-object-access.md
:white_check_mark:Succeeded

VBA/Access-VBA/articles/combobox-notinlist-event-access.md
:white_check_mark:Succeeded

VBA/Access-VBA/articles/combobox-object-access.md
:white_check_mark:Succeeded

VBA/Access-VBA/articles/currentproject-istrusted-property-access.md
:white_check_mark:Succeeded

VBA/Access-VBA/articles/docmd-openform-method-access.md
:white_check_mark:Succeeded

VBA/Access-VBA/articles/docmd-sendobject-method-access.md
:white_check_mark:Succeeded

VBA/Access-VBA/articles/docmd-transfertext-method-access.md
:white_check_mark:Succeeded

VBA/Access-VBA/articles/form-beforeupdate-event-access.md
:white_check_mark:Succeeded

VBA/Access-VBA/articles/form-object-access.md
:white_check_mark:Succeeded

VBA/Access-VBA/articles/form-openargs-property-access.md
:white_check_mark:Succeeded

VBA/Access-VBA/articles/image-object-access.md
:white_check_mark:Succeeded

VBA/Access-VBA/articles/report-nodata-event-access.md
:white_check_mark:Succeeded

VBA/Access-VBA/articles/report-object-access.md
:white_check_mark:Succeeded

VBA/Access-VBA/articles/report-open-event-access.md
:white_check_mark:Succeeded

VBA/Access-VBA/articles/report-page-event-access.md
:white_check_mark:Succeeded

VBA/Access-VBA/articles/report-recordsource-property-access.md
:white_check_mark:Succeeded

VBA/Access-VBA/articles/section-paint-event-access.md
:white_check_mark:Succeeded

VBA/Access-VBA/articles/subform-object-access.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

VBA/Access-VBA/articles/5-database-engine-driver-2-of-2.md
:white_check_mark:Succeeded

VBA/Access-VBA/articles/accessobject-isloaded-property-access.md
:white_check_mark:Succeeded

VBA/Access-VBA/articles/allforms-object-access.md
:white_check_mark:Succeeded

VBA/Access-VBA/articles/combobox-notinlist-event-access.md
:white_check_mark:Succeeded

VBA/Access-VBA/articles/combobox-object-access.md
:white_check_mark:Succeeded

VBA/Access-VBA/articles/currentproject-istrusted-property-access.md
:white_check_mark:Succeeded

VBA/Access-VBA/articles/docmd-openform-method-access.md
:white_check_mark:Succeeded

VBA/Access-VBA/articles/docmd-sendobject-method-access.md
:white_check_mark:Succeeded

VBA/Access-VBA/articles/docmd-transfertext-method-access.md
:white_check_mark:Succeeded

VBA/Access-VBA/articles/form-beforeupdate-event-access.md
:white_check_mark:Succeeded

VBA/Access-VBA/articles/form-object-access.md
:white_check_mark:Succeeded

VBA/Access-VBA/articles/form-openargs-property-access.md
:white_check_mark:Succeeded

VBA/Access-VBA/articles/image-object-access.md
:white_check_mark:Succeeded

VBA/Access-VBA/articles/report-nodata-event-access.md
:white_check_mark:Succeeded

VBA/Access-VBA/articles/report-object-access.md
:white_check_mark:Succeeded

VBA/Access-VBA/articles/report-open-event-access.md
:white_check_mark:Succeeded

VBA/Access-VBA/articles/report-page-event-access.md
:white_check_mark:Succeeded

VBA/Access-VBA/articles/report-recordsource-property-access.md
:white_check_mark:Succeeded

VBA/Access-VBA/articles/section-paint-event-access.md
:white_check_mark:Succeeded

VBA/Access-VBA/articles/subform-object-access.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Scraping more than 1 year causes error - StockQuoteConnector_final.html

The example WDC works for retrieving Yahoo Finance data for a single stock, for 1 year back.
Modifying line 44 to start back either -2 or -3 years causes the script to fail, with error "no result found for ticker symbol: xxx".
Any ideas why this is so?  The Yahoo finance API appears to support multi-year queries.

It seems there is some sort of limit on the API side.  For example, go to the developer console here: https://developer.yahoo.com/yql/console/?q=show tables&env=store://datatables.org/alltableswithkeys#h=select+*+from+yahoo.finance.historicaldata+where+symbol+%3D+"YHOO"+and+startDate+%3D+"2015-04-01"+and+endDate+%3D+"2016-04-01"
The query string select * from yahoo.finance.historicaldata where symbol = "YHOO" and startDate = "2015-04-01" and endDate = "2016-04-01" returns results, but the query string select * from yahoo.finance.historicaldata where symbol = "YHOO" and startDate = "2014-04-01" and endDate = "2016-04-01" returns no results.
I have also seen that specific error ("no result found for ticker symbol: xxx") show up whenever their API is down - which, unfortunately, happens every now and then it seems.

Thanks for looking into this, I'll try Google finance and see if that can
do it...
On 5 Apr 2016 3:57 am, "Brendan Lee"<EMAIL_ADDRESS>wrote:

It seems there is some sort of limit on the API side. For example, go to
the developer console here:
https://developer.yahoo.com/yql/console/?q=show tables&env=store://datatables.org/alltableswithkeys#h=select+*+from+yahoo.finance.historicaldata+where+symbol+%3D+"YHOO"+and+startDate+%3D+"2015-04-01"+and+endDate+%3D+"2016-04-01"
The query string select * from yahoo.finance.historicaldata where symbol =
"YHOO" and startDate = "2015-04-01" and endDate = "2016-04-01" returns
results, but the query string select * from yahoo.finance.historicaldata
where symbol = "YHOO" and startDate = "2014-04-01" and endDate =
"2016-04-01" returns no results.
I have also seen that specific error ("no result found for ticker symbol:
xxx") show up whenever their API is down - which, unfortunately, happens
every now and then it seems.
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
https://github.com/tableau/webdataconnector/issues/28#issuecomment-205418436

Closing this issue as it appears to be a Yahoo issue as noted above.


feat: user-managed output buffer

To handle arbitrary data, the library should simply accept as input a buffer of which it can then fill according to the operation desired. This PR integrates such a buffer and changes the way the library produces output

this was a terrible idea I dont know why I even tried


AUTH-323: pki: remove root-ca from the client CA bundle

This is a continuation of the client-cert trust split.
/assign @csrwng
/cc @ibihim

/test e2e-aws
I am not exactly sure how the client in theTestUpgradeControlPlane/EnsureNodeCountMatchesNodePoolReplicas is constructed or which client it is.
Trying to retest if this was a random failure.

Since the combined-ca CM is still present in the NS with the cluster being upgraded it would seem that we're still upgrading from a version that did not contain the signer changes, and therefore the former client cert is signed by the root CA.
Based on the above, it makes sense that the pre-upgrade client cannot be used post-upgrade. I am not sure if re-retrieving the client after the upgrade would make things work as I would suspect that the kubeconfig the test is using will be the same.

I noticed that the same guest client was used before and after the upgrade. Fixed that in the last commit, let's see if the situation improves.

The previous issue is now fixed. The test only fails because there were some restarting pods - these restarted because they could no longer authenticate, but they managed to recover to become working in their last revision.

@stlaz my only concern is that servicemonitors/podmonitors will once again be broken because we still have some metrics serving certs signed by root-ca. I had switched them to the total-client-ca here: https://github.com/openshift/hypershift/pull/1896. For this not to break them, we'd need a separate bundle that includes the root-ca (for now) just for the servicemonitors

@csrwng from my understanding of https://github.com/prometheus-operator/prometheus-operator/blob/main/Documentation/api.md#monitoring.coreos.com/v1.TLSConfig, https://github.com/openshift/hypershift/pull/1896 has likely broken metrics scraping.
Metrics serving certs should remain being signed by the root-ca. In your PR, you are setting the TLSConfig.CA to the Client-CA, but the documentation states that this configuration is used to verify the serving certs of the probed endpoint. This should've stayed RootCA.
The client certificate in the meantime is signed by the client-CA, and so these should remain in the configs.

/retest-required

The "TestUpgradeControlPlane/EnsureNoCrashingPods" test will not pass until the "upgraded-from" version has the services signed by the new signers.
Note that the upgraded pods are actually not crashing, just restarting to get the correct certificates.

/retest-required

/retest-required

/retest-required
flakes


GPL padding cause increase in reported DU

Describe the bug
Hello,
I have an issue when trying to increase the target design utilization. Whenever I increase it to or above 70%, GPL reports a DU that is way above what I am aiming for or even in this case superior to 100%, which causes the tool to stop.
The issue comes from the padding in GPL. Whenever I set it to 0 (set global_place_pad 2 & set detail_place_pad 1 in asap7_bottom.vars) then the proper DU is reported, I don't know if this is the intended behavior, but I feel like space padding present existing to facilitate routing should not influence the DU... There is also nothing about the -pad_right and -pad_left argument of the global_placement function, or the units of those arguments
Expected Behavior
Maybe some space padding, but no influence on the reported design utilization value
Environment
[WARNING] Your current OpenROAD version is outdated.
It is recommened to pull the latest changes.
If problem persists, file a github issue with the re-producible test case.
kernel: Linux 6.1.0-11-amd64
os: Ubuntu 22.04.3 LTS (Jammy Jellyfish)
cmake version 3.24.2
-- The CXX compiler identification is GNU 11.4.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- OpenROAD version: v2.0-11117-g6061c4892
-- System name: Linux
-- Compiler: GNU 11.4.0
-- Build type: RELEASE
-- Install prefix: /usr/local
-- C++ Standard: 17
-- C++ Standard Required: ON
-- C++ Extensions: OFF
-- The C compiler identification is GNU 11.4.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Found Python: /usr/bin/python3.10 (found version "3.10.12") found components: Interpreter
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Performing Test C_COMPILER_SUPPORTS__-Wall
-- Performing Test C_COMPILER_SUPPORTS__-Wall - Success
-- Performing Test CXX_COMPILER_SUPPORTS__-Wall
-- Performing Test CXX_COMPILER_SUPPORTS__-Wall - Success
-- Performing Test C_COMPILER_SUPPORTS__-Wno-array-bounds
-- Performing Test C_COMPILER_SUPPORTS__-Wno-array-bounds - Success
-- Performing Test CXX_COMPILER_SUPPORTS__-Wno-array-bounds
-- Performing Test CXX_COMPILER_SUPPORTS__-Wno-array-bounds - Success
-- Performing Test C_COMPILER_SUPPORTS__-Wno-nonnull
-- Performing Test C_COMPILER_SUPPORTS__-Wno-nonnull - Success
-- Performing Test CXX_COMPILER_SUPPORTS__-Wno-nonnull
-- Performing Test CXX_COMPILER_SUPPORTS__-Wno-nonnull - Success
-- Performing Test C_COMPILER_SUPPORTS__-Wno-maybe-uninitialized
-- Performing Test C_COMPILER_SUPPORTS__-Wno-maybe-uninitialized - Success
-- Performing Test CXX_COMPILER_SUPPORTS__-Wno-maybe-uninitialized
-- Performing Test CXX_COMPILER_SUPPORTS__-Wno-maybe-uninitialized - Success
-- Performing Test C_COMPILER_SUPPORTS__-Wno-format-overflow
-- Performing Test C_COMPILER_SUPPORTS__-Wno-format-overflow - Success
-- Performing Test CXX_COMPILER_SUPPORTS__-Wno-format-overflow
-- Performing Test CXX_COMPILER_SUPPORTS__-Wno-format-overflow - Success
-- Performing Test C_COMPILER_SUPPORTS__-Wno-unused-variable
-- Performing Test C_COMPILER_SUPPORTS__-Wno-unused-variable - Success
-- Performing Test CXX_COMPILER_SUPPORTS__-Wno-unused-variable
-- Performing Test CXX_COMPILER_SUPPORTS__-Wno-unused-variable - Success
-- Performing Test C_COMPILER_SUPPORTS__-Wno-unused-function
-- Performing Test C_COMPILER_SUPPORTS__-Wno-unused-function - Success
-- Performing Test CXX_COMPILER_SUPPORTS__-Wno-unused-function
-- Performing Test CXX_COMPILER_SUPPORTS__-Wno-unused-function - Success
-- Performing Test C_COMPILER_SUPPORTS__-Wno-write-strings
-- Performing Test C_COMPILER_SUPPORTS__-Wno-write-strings - Success
-- Performing Test CXX_COMPILER_SUPPORTS__-Wno-write-strings
-- Performing Test CXX_COMPILER_SUPPORTS__-Wno-write-strings - Success
-- Performing Test C_COMPILER_SUPPORTS__-Wno-sign-compare
-- Performing Test C_COMPILER_SUPPORTS__-Wno-sign-compare - Success
-- Performing Test CXX_COMPILER_SUPPORTS__-Wno-sign-compare
-- Performing Test CXX_COMPILER_SUPPORTS__-Wno-sign-compare - Success
-- Performing Test C_COMPILER_SUPPORTS__-Wno-deprecated
-- Performing Test C_COMPILER_SUPPORTS__-Wno-deprecated - Success
-- Performing Test CXX_COMPILER_SUPPORTS__-Wno-deprecated
-- Performing Test CXX_COMPILER_SUPPORTS__-Wno-deprecated - Success
-- Performing Test C_COMPILER_SUPPORTS__-Wno-c++11-narrowing
-- Performing Test C_COMPILER_SUPPORTS__-Wno-c++11-narrowing - Failed
-- Performing Test CXX_COMPILER_SUPPORTS__-Wno-c++11-narrowing
-- Performing Test CXX_COMPILER_SUPPORTS__-Wno-c++11-narrowing - Failed
-- Performing Test C_COMPILER_SUPPORTS__-Wno-register
-- Performing Test C_COMPILER_SUPPORTS__-Wno-register - Failed
-- Performing Test CXX_COMPILER_SUPPORTS__-Wno-register
-- Performing Test CXX_COMPILER_SUPPORTS__-Wno-register - Success
-- Performing Test C_COMPILER_SUPPORTS__-Wno-format
-- Performing Test C_COMPILER_SUPPORTS__-Wno-format - Success
-- Performing Test CXX_COMPILER_SUPPORTS__-Wno-format
-- Performing Test CXX_COMPILER_SUPPORTS__-Wno-format - Success
-- Performing Test C_COMPILER_SUPPORTS__-Wno-reserved-user-defined-literal
-- Performing Test C_COMPILER_SUPPORTS__-Wno-reserved-user-defined-literal - Failed
-- Performing Test CXX_COMPILER_SUPPORTS__-Wno-reserved-user-defined-literal
-- Performing Test CXX_COMPILER_SUPPORTS__-Wno-reserved-user-defined-literal - Failed
-- Performing Test C_COMPILER_SUPPORTS__-fpermissive
-- Performing Test C_COMPILER_SUPPORTS__-fpermissive - Failed
-- Performing Test CXX_COMPILER_SUPPORTS__-fpermissive
-- Performing Test CXX_COMPILER_SUPPORTS__-fpermissive - Success
-- Performing Test C_COMPILER_SUPPORTS__-x
-- Performing Test C_COMPILER_SUPPORTS__-x - Failed
-- Performing Test CXX_COMPILER_SUPPORTS__-x
-- Performing Test CXX_COMPILER_SUPPORTS__-x - Failed
-- Performing Test C_COMPILER_SUPPORTS__c++
-- Performing Test C_COMPILER_SUPPORTS__c++ - Failed
-- Performing Test CXX_COMPILER_SUPPORTS__c++
-- Performing Test CXX_COMPILER_SUPPORTS__c++ - Failed
-- Performing Test C_COMPILER_SUPPORTS__-Wno-unused-but-set-variable
-- Performing Test C_COMPILER_SUPPORTS__-Wno-unused-but-set-variable - Success
-- Performing Test CXX_COMPILER_SUPPORTS__-Wno-unused-but-set-variable
-- Performing Test CXX_COMPILER_SUPPORTS__-Wno-unused-but-set-variable - Success
-- TCL library: /usr/lib/x86_64-linux-gnu/libtcl.so
-- TCL header: /usr/include/tcl/tcl.h
-- TCL readline library: /usr/lib/x86_64-linux-gnu/libtclreadline.so
-- TCL readline header: /usr/include/x86_64-linux-gnu
-- Found SWIG: /usr/local/bin/swig (found suitable version "4.1.0", minimum required is "3.0")
-- Using SWIG >= 4.1.0 -flatstaticmethod flag for python
-- Found Boost: /usr/local/lib/cmake/Boost-1.80.0/BoostConfig.cmake (found version "1.80.0")
-- boost: 1.80.0
-- Found Python3: /usr/include/python3.10 (found version "3.10.12") found components: Development Development.Module Development.Embed
-- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.2.11")
-- spdlog: 1.8.1
-- Found BISON: /usr/bin/bison (found version "3.8.2")
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
-- STA version: 2.4.0
-- STA git sha: 3e2295adfd5ffb7053aa6bb68f31b0eae8f2986f
-- System name: Linux
-- Compiler: GNU 11.4.0
-- Build type: RELEASE
-- Build CXX_FLAGS: -O3 -DNDEBUG
-- Install prefix: /usr/local
-- Found FLEX: /usr/bin/flex (found version "2.6.4")
-- TCL library: /usr/lib/x86_64-linux-gnu/libtcl.so
-- TCL header: /usr/include/tcl/tcl.h
-- SSTA: 0
-- STA executable: /home/lucas/OpenROAD-flow-scripts/tools/OpenROAD/src/sta/app/sta
-- Found re2: /opt/or-tools/lib/cmake/re2/re2Config.cmake (found version "9.0.0")
-- Found Clp: /opt/or-tools/lib/cmake/Clp/ClpConfig.cmake (found version "1.17.7")
-- Found Cbc: /opt/or-tools/lib/cmake/Cbc/CbcConfig.cmake (found version "2.10.7")
-- Found SCIP: /opt/or-tools/lib/cmake/scip/scip-config.cmake (found version "8.0.1")
-- Found OpenMP_CXX: -fopenmp (found version "4.5")
-- Found OpenMP: TRUE (found version "4.5")
-- GPU is not enabled
-- TCL library: /usr/lib/x86_64-linux-gnu/libtcl.so
-- TCL header: /usr/include/tcl/tcl.h
-- Found Eigen3: /usr/local/share/eigen3/cmake/Eigen3Config.cmake (found version "3.4.1")
-- GUI is enabled
-- Charts widget is not enabled
-- Found Boost: /usr/local/lib/cmake/Boost-1.80.0/BoostConfig.cmake (found version "1.80.0") found components: serialization
-- Could NOT find VTune (missing: VTune_LIBRARIES VTune_INCLUDE_DIRS)
-- Found Boost: /usr/local/lib/cmake/Boost-1.80.0/BoostConfig.cmake (found suitable version "1.80.0", minimum required is "1.78")
-- TCL library: /usr/lib/x86_64-linux-gnu/libtcl.so
-- TCL header: /usr/include/tcl/tcl.h
-- Found Boost: /usr/local/lib/cmake/Boost-1.80.0/BoostConfig.cmake (found version "1.80.0") found components: serialization system thread
-- TCL readline enabled
-- Tcl Extended disabled
-- Python3 enabled
-- Configuring done
-- Generating done
-- Build files have been written to: /tmp/tmp.N0C0Gj9QSZ

To Reproduce
TestCase.zip
Unzip this directory inside OpenROAD-flow-scripts/tools/OpenROAD/test (make sure that everything is inside the TestCase directory), and use bash run_ibex_cst_pd.sh. The script should start.
Relevant log output
With set global_place_pad 2, and a target design utilization of 70% :
#--------------------------------------------------------------------#
PLACEMENT
#--------------------------------------------------------------------#
Step 1 : Global placement without placed IO, timing driven and routability driven
#-----------------------------------------------
global_placement -skip_io -density $place_density -pad_left $global_place_pad
-pad_right $global_place_pad
[INFO GPL-0002] DBU: 1000
[INFO GPL-0003] SiteSize: 54 270
[INFO GPL-0004] CoreAreaLxLy: 1026 1080
[INFO GPL-0005] CoreAreaUxUy: 30348 30240
[INFO GPL-0006] NumInstances: 5555
[INFO GPL-0007] NumPlaceInstances: 5284
[INFO GPL-0008] NumFixedInstances: 271
[INFO GPL-0009] NumDummyInstances: 0
[INFO GPL-0010] NumNets: 8865
[INFO GPL-0011] NumPins: 18746
[INFO GPL-0012] DieAreaLxLy: 0 0
[INFO GPL-0013] DieAreaUxUy: 31356 31356
[INFO GPL-0014] CoreAreaLxLy: 1026 1080
[INFO GPL-0015] CoreAreaUxUy: 30348 30240
[INFO GPL-0016] CoreArea: 855029520
[INFO GPL-0017] NonPlaceInstsArea: 7902360
[INFO GPL-0018] PlaceInstsArea: 909966960
[INFO GPL-0019] Util(%): 107.42
[INFO GPL-0020] StdInstsArea: 909966960
[INFO GPL-0021] MacroInstsArea: 0
[ERROR GPL-0301] Utilization exceeds 100%.
Error: BottomDie.tcl, 81 GPL-0301
Screenshots
No response
Additional Context
No response

@rovinski But wouldn't that reduce the maximum design utilization possible for a design ? Especially since OpenROAD want to be automatic, GPL will stop everything if it sees a DU >100% even if it could be possible to achieve a reasonable DU with an equivalent padding ?
I encountered this "issue" when trying to aim for a DU of 70% on the ASAP7 PDK which should be possible and reasonable for any design

But wouldn't that reduce the maximum design utilization possible for a design ?

Yes, that's exactly the point. If you don't want padding in your design, then you should reduce it or turn it off. But be forewarned that padding is usually necessary to achieve a cleanly routed design. If you want to optimize for very high density designs, I believe you can also set padding on a master-by-master basis so that only the most difficult cells are padded. That would take some trial and error.

when trying to aim for a DU of 70%

Is this the core utilization after synthesis? Because after timing optimization the utilization can also increase dramatically due to gate resizing and buffer insertion.

By after synthesis do you mean after the synthesis step in Yosys, or after the PnR step ?
To me the synthesis step only convert the verilog code into a gate netlist mapped to the target pdk, it gets no information about design utilization yet ? But yes after PnR I target 70%, and GPL (with cell padding) reports a DU above 100%. I am perfectly fine with having a DU a bit above or below that value, as long as it is around it.

If you are using ORFS, the CORE_UTILIZATION (which is what I assume you are referring to) is actually not that well defined and usually isn't an indicator of the utilization you end up with.
After Yosys (synthesis) runs, you have a gate-level netlist. During floorplanning, the design area from this unmodified netlist is used to calculate how big the die and core sizes should be (design area / CORE_UTILIZATION = CORE_AREA). After it does that, the die and core areas are fixed.
The utilization will immediately go down because ORFS removes all buffers inserted by Yosys. The utilization will then go up again, usually by a lot, because OpenROAD does rebuffering and gate resizing in order to meet timing constraints. Timing constraints are critical and the algorithm does not factor in utilization targets at all. You could easily start with a design at 70% utilization during the initialization step, and then go up to 90% because of optimization. Once you add padding during GPL, utilization can exceed 100%.
Why aren't the tools smarter? Why doesn't it account for this area increase due to timing optimization? Well because you have to do the entire timing optimization to figure out how much area it will take up. Trying to estimate this is an active area of research.
Everything is a trial and error process. If for some reason you specifically need a 70% utilization, then I would suggest you extremely relax your timing constraints so that the optimizer doesn't need to add much. Otherwise, you should simply start with a lower utilization, allow timing optimization to do its thing, and then finish with approximately whatever target utilization you're after.

So, if I understood correctly the timing optimizations done by the synthesis tool are "discarded" as the buffers are removed, then replaced during PnR where the DU is also influenced by the timing constraints ?
So, for instance, if I have a design for which the detailed placement fails for a few instances, if I relax my timing constraints it may result in a successful placement ?

the timing optimizations done by the synthesis tool are "discarded" as the buffers are removed

Yes. We have found that OpenROAD optimizes better when the buffers from Yosys are removed, because Yosys does not do physical synthesis.

if I have a design for which the detailed placement fails for a few instances, if I relax my timing constraints it may result in a successful placement ?

Yes. Relaxed timing constraints usually translates to less buffer insertion and smaller design area.

Thanks for your help ! I do have another question, does this means that there no need to re-synthesize with different timing constraint with Yosys ? Or does it also use different/bigger non-buffer cells that also need to be resized ?

You may get a different result with different timing constraints as gates may be sized, not only buffers.

To add, historically we have not seen much change in the output of Yosys based on the timing constraints provided, but the results aren't necessarily identical.

Ok, I understand what is happening a bit better, I'll close this issue. Thank you very much for your explanations @rovinski !


AudioDevice sampling rate

The documentation for AudioDevice says the device is 44.1khz (as does the source!), but a call to newAudioDevice allows the user to specify the sampling rate.
Should an implementation of the AudioDevice use a sampling rate provided by the user or ignore and default to 44.1khz? (I would hope you you will allow configuration, as I'm at least one person writing an application that requires the use of audio in different sampling rates.)
Also, I can see that at least the Android implementation does take the specified sampling rate into account when initializing a new AudioTrack, but I think the docs should reflect this if it holds over all platforms.

The Android and LWJGL backends (the only two which currently support AudioDevice) both honor the provided samplingRate. The javadoc on AudioDevice should be updated.


Cannot find bearerTokenApp variable

After importing the API definitions, I could not find the bearerTokenApp variable anywere.

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

ID: d1da44e3-f517-ea26-bd9f-a03ae71de051
Version Independent ID: 229bd065-2835-d407-4959-5b3c6cc83aec
Content: Tutorial - Use the REST API to manage an application - Azure IoT Central
Content Source: articles/iot-central/core/tutorial-use-rest-api.md
Service: iot-central
GitHub Login: @dominicbetts
Microsoft Alias: dobett

@gknayzeh Thanks for the feedback! We are currently investigating and will update you shortly.

Hi @gknayzeh - it looks like the article contains a link to the wrong Postman file - it should be this one: https://raw.githubusercontent.com/Azure-Samples/iot-central-docs-samples/main/postman-collection/IoT Central REST tutorial.postman_collection.json
I'll update the article with the correct link shortly.

Hi @gknayzeh - it looks like the article contains a link to the wrong Postman file - it should be this one: https://raw.githubusercontent.com/Azure-Samples/iot-central-docs-samples/main/postman-collection/IoT Central REST tutorial.postman_collection.json
I'll update the article with the correct link shortly.

@dominicbetts That looks more promising. At least the collection name matches. I will go through the tutorial using the link you sent. Thank you for the quick reply.

The link is now updated in the article.
#please-close


fix: view summary on O2

Codecov Report

Merging #694 (91df801) into master (cd277b8) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #694   +/-   ##
=======================================
  Coverage   57.14%   57.14%
=======================================
  Files           1        1
  Lines          70       70
  Branches       15       15
=======================================
  Hits           40       40
  Misses         30       30

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 cd277b8...91df801. Read the comment docs.


[BUG] New package.json has invalid unity property

[Package Manager Window] Error adding package: https://github.com/psydack/uimgui.git.
Unable to add package [https://github.com/psydack/uimgui.git]:
  Manifest<EMAIL_ADDRESS>is invalid:
    '2021.0' is not a valid `unity` property value. Expected '<year>.<version>'.

Since the last commit Unity does not let me import this in Unity 2021 LTS or 2022 LTS versions (at least)
In the interim it is possible to use the previous commit by using the package URL *
https://github.com/psydack/uimgui.git#24efc5be254c10a34850bea0fcffaecccdcb5dee
*if you remove ImGuizmo as it causes a native crash in this commit it appears

Ty