Improving later-binding subscription editor (and oscd-filtered-list)

Is your feature request related to a problem? Please describe.
We recently had a "loose discussion" about improving the later binding plugins and their filtered lists at a recent standup.
We weren't especially clear about the problem (at least I wasn't), but I gathered that there was a general uneasiness, perhaps a feeling that the user interface wasn't in the state of perfection that we aspire to.
We discussed whether the oscd-filtered-list needed more options and improvements or whether a new tree view might be better.
I've contemplated this for a few days and concluded that "yes, there is a problem" (!)
The problem (I speculate) is this:

We have extensively used filtered lists, and sometimes the items within the list may run to tens or hundreds of items.
As a result, the filtered lists are unusable without filtering.
This results in two further problems:

The user interface requires keyboard input (which is, admittedly, very powerful with wildcard filtering and quickly allows narrowing down).
That's annoying but what really grinds the user's gears is that it requires prior knowledge of the user. They can't readily explore or see any context to help them out (e.g. if I knew the IED name, I'd have the information to do the next step for example, because I might see a list of IED names and the order of these confers useful information).
Mobile/tablet users are disadvantaged because it is "clumsy" to enter text on a mobile platform and they have no alternative options.

I suspect that part of the reason we have done this is that filtered lists are very powerful, and they are a straightforward component to implement for many use cases and don't require advanced CSS or a very different UI for mobile vs. desktop.

However, I don't think the situation is impossible... and I think we can improve it without massive changes.
Describe the solution you'd like
I'd like the filtered list to allow a drop-down menu of filters which would (optionally) be available in the component. In the later-binding plugin, I think it would generally be appropriate for these to be IEDs, for example.
Requirements
Ability to add top-level filter buttons to the filtered-list from a drop-down menu to enhance usability for touch and mouse-only interactions.
Here's a sketch with my idea as it came to me :stuck_out_tongue_winking_eye::
https://excalidraw.com/#json=Z2Ipn6RK8Za6h4Gj-jQK7,club1nPD7tVt5_rtiu9gJA

(And for the record, I am little the :smiling_imp: devil's advocate :smiling_imp: here, what we have is quite usable for me but I wanted to discern a little more what the issue was and what our options might be).

Perhaps to demonstrate the benefit of the stale actions we should let this one go?
It seems the performance improvements to the later binding in https://github.com/danyill/oscd-subscriber-later-binding have resulted in this being unnecessary -- at least for smaller SCL files and it's not obvious this is the only or best solution.
However maybe we should keep it open, in general if the filtered list is there to support very large lists some form of subdividing items and UI to show them may be required.
There is still some kind of UI issue with have to filter as ones first action (and by keyboard).
About now I'd suggest moving this issue to https://github.com/openscd/oscd-filtered-list but I'm not sure whether that is going back into a monorepo so if someone else knows that could be done :wink:


[FIXABLE] Atom's CPU usage increases steadily when scrolling

Prerequisites

[x] Can you reproduce the problem in safe mode?
[x] Are you running the latest version of Atom?
[x] Did you check the debugging guide?
[x] Did you check the FAQs on Discuss?
[x] Are you reporting to the correct repository?
[x] Did you perform a cursory search to see if your bug or enhancement is already reported?

For more information on how to write a good bug report or enhancement request, see the CONTRIBUTING guide.
Description
May be related to #10987.
On Win10, when scrolling in some smooth scrolling containers, such as in the settings, Atom's CPU usage steadily rises.
Steps to Reproduce
You really need a mouse with a stepped scrollwheel for this, and it will hurt your finger a bit…

Open Task Manager and for best results, snap Atom to one side and Task Manager to the other.
Open the Install tab of the settings
Scroll back and forth, quickly without stopping.
Watch the CPU usage in the Atom subprocesses in Task Manager.

Expected behavior: [What you expected to happen]
CPU usage remains steady. About 25% CPU usage max.
Actual behavior: [What actually happened]
Atom's CPU usage begins to rise to about 50% (for me). Compared to 0% idle.
Potential Fix
In the element inspector, pressing ⋮ > More tools > Rendering settings and checking "Show scrolling perf issues" will highlight the scroll container that settings is in as "Repaints on scroll".
I Googled it and found this fix: In any container where overflow: auto or overflow: scroll is (such as .settings-view .panels .panels-item, this container), also place will-change: transform;. This tells it to use the compositor.
Adding this in the element inspector makes it so it only rises to ~15%. Hell of a lot better.
However, if we do that, text rendering gets a bit thicker, so I found it works to decrease the font-weight by 100. So font-weight: normal; becomes font-weight: 300, and font-weight: bold; becomes font-weight: 600;
I don't have the time to clone Atom, find and fix each and every occurrence of the overflow container at the moment.
Versions
C:\> atom --version

Atom    : 1.11.1
Electron: 0.37.8
Chrome  : 49.0.2623.75
Node    : 5.10.0

Win10 Home Anniversary (x86)
Dell Precision T3400
Core 2 Duo E7400 @ 2.8GHz
ATI FirePro V4800
1920x1080 LCD @ 60Hz via VGA
4GB RAM (3.25 usable)

I can confirm this on 1.8.0 on El Capitan. I am updating to 1.11.0 right now, but my WiFi's slow. I will edit this later.

I have found out where some offending items are and I am trying to fix them.
I will make a few pulls soon for the correct repos.


Stuck on search animation when going back to startpage

How to reproduce:

Make a Search.
Return to startpage using the browser back buttton

Info:

Browser: Mozilla Firefox 110.0.1
OS: 6.2.1-arch1-1

Video:
https://user-images.githubusercontent.com/66690593/222881004-a542b3a7-fcc3-45bf-97dc-c04eb1bed6b0.mp4

I think the issue is caused by react keeping the old state for some reason or some kind of firefox caching mechanism.
I tried to solve the problem in the ff6b658 commit but I can't be sure if this bug is fixed or not because I can't reproduce the bug, even though I have the same version of firefox on Windows, so I need your confirmation.

Nope, The issue still persists.

Firefox and Edge Side by Side:
https://user-images.githubusercontent.com/66690593/222954140-4a9036c3-48ef-42ca-ab95-3965fd1a1836.mp4

for the owner here is hint how to fix it: after some link opens, make sure right after to close the animation and move the user to the default page

I had to intall Arch to reproduce the bug 😅
It turned out that firefox doesn't "destroy" pages immediately and keeps them in memory for some time after user redirected away from them
The bug is fixed in the f81dd24 commit


Fix issue with kibana.keystore and uptaind built-in passwords on cluster start

This PR fixes two issues:

In #359, the function to check if a built-in user password has been applied was fixed to check the HTTP response status code, as it should have been doing. This change surfaced an issue related to concurrent updates to the built-in user passwords from multiple node VMs whereby a response of

{
  "error": {
    "root_cause": [{
      "type": "status_exception",
      "reason": "Cluster state has not been recovered yet, cannot write to the [null] index"
    }],
    "type": "status_exception",
    "reason": "Cluster state has not been recovered yet, cannot write to the [null] index"
  },
  "status": 503
}

can be returned when the security index is not ready. This is now handled by waiting for the security index to be green before continuing to update built-in user passwords.

In Kibana 7.9.0, the default location of the kibana.keystore is now /etc/kibana/kibana.keystore, and requires permissions to create there that the kibana user does not have. For 7.9.0, this PR now checks  /etc/kibana/kibana.keystore for the presence of an existing keystore, and uses root with --allow-root to interact with the keystore CLI.

tested on 6.8.12, 7.5.2 and 7.9.0. Merging in


Padding is broken

Encoding and decoding works fine, except for the padding. 1-2 extra bytes are appended to the output file when decoded in-place.

The wrong padding bits seem to be used
Selected Padding Character: '$': 1100 0111 0010 1001 0110
Input:         000  1101 0000  0011 0100  0___ ____
Decoded: 0111 1000  1101 0000  0011 0100  0010 0011
Expected Padding:                          1100 011
Actual Padding:                            010 0011

I think part of the problem is this:
ios::eof:

Note that the value returned by this function depends on the last operation performed on the stream (and not on the next).

This means the last byte is duplicated for both encoding and decoding, and explains where the off-by-one error for bytesRead is coming from.

Yup, that was it:
File encoded. In: 5053475 bytes, Out: 3074885 bytes. Ratio: 0.608469 Time: 10761329ms initialization, 356358532ms encode
File decoded. In: 3074885 bytes, Out: 5053475 bytes, 33208142ms
C:\Users\Nathan\Projects\EECS2510\x64\Debug [master +0 ~3 -0]> Get-FileHash ".\Shakespeare.txt",".\Shakespeare.hz.txt" -Algorithm sha256

Algorithm       Hash                                                                   Path
---------       ----                                                                   ----
SHA256          F3D607A3BB724DD2C820AB3DBC4DADB53D4D97DF01784A7B54E887DFC4BEEFB8       C:\Users\Nathan\Projects\EECS2510\x64\Debu...
SHA256          F3D607A3BB724DD2C820AB3DBC4DADB53D4D97DF01784A7B54E887DFC4BEEFB8       C:\Users\Nathan\Projects\EECS2510\x64\Debu...


DigitalOcean flow orchestration

The code for DigitalOcean interaction needs to be integrated into activiti orchestration.
We have two options:

We map the existing flow for cloudstack to be used for DigitalOcean also.
In this way, gateway 14 need to be updated to support both cloudstack (cloudId == 1) and DigitalOcean (cloudId == 4)
We create a new subprocess for DigitalOcean, and integrate it into to main orchestration process.

A the moment there are 2 subprocesses one for Azure and onother for vmware we need to add another for digital ocean and place there all the steps needed.
Parts for CloudStack cannot be touched

@cpopsa @ildave @ciprianpavel @guidospadotto-profesia Please coordinate in order to solve this issue and to integrate it with the activiti BPMN.
Contact @gioppoluca if help needed.

Maybe @ildave was not clear enough: we have never touched the Orchestration
Process since its very start, so we do not know how it works and how to
change it. @LucaGioppo knows it.
2016-07-15 10:41 GMT+02:00 Xavier Cases Camats<EMAIL_ADDRESS>
@cpopsa https://github.com/cpopsa @ildave https://github.com/ildave
@ciprianpavel https://github.com/ciprianpavel @guidospadotto-profesia
https://github.com/guidospadotto-profesia Please coordinate in order to
solve this issue and to integrate it with the activiti BPMN.
Contact @gioppoluca https://github.com/gioppoluca if help needed.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/CloudOpting/cloudopting-manager/issues/386#issuecomment-232895498,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ALnoZix63IpClos4lEE3atUUXS9uhQToks5qV0ewgaJpZM4JDFYD
.

Noone from Profesia was on the meeting today, so you do not know, but you should know as we changed responsibility from Activiti long ago. Luca is doing other stuff, so we stated again that if you have doubts or need for help, ask Luca, but all related issues to Activiti are Profesia's responsibility. Not meaning that Teamnet cannot colaborate, but you have to coordinate.

I see, I missed this information.
Thank you Xavier
2016-07-15 11:37 GMT+02:00 Xavier Cases Camats<EMAIL_ADDRESS>
Noone from Profesia was on the meeting today, so you do not know, but you
should know as we changed responsibility from Activiti long ago. Luca is
doing other stuff, so we stated again that if you have doubts or need for
help, ask Luca, but all related issues to Activiti are Profesia's
responsibility. Not meaning that Teamnet cannot colaborate, but you have to
coordinate.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/CloudOpting/cloudopting-manager/issues/386#issuecomment-232906919,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ALnoZkkBSVO-9oa09TuRJ4JiymwvRPjRks5qV1TtgaJpZM4JDFYD
.

DigitalOcean subprocess task's:

Generate DigitalOcean VM (like DeployGenerateVm)

Input variables:

String customizationId (id of customization)
Long cloudAccountId (id of cloudaccount)

Output variables:

String vmId (id of VM droplet)

Check DigitalOcean VM created (like DeployGenerateVm)

Input variables:

String vmId (id of VM droplet filled in step 1)
Long cloudAccountId (id of cloudaccount)

Output variables:

boolean vmCreated (if vm is created or not)

Get DigitalOcean VM IP (like DeployCheckAcquireIp)

Input variables:

String vmId (id of VM droplet filled in step 1)
Long cloudAccountId (id of cloudaccount)

Output variables:

String ip (VM droplet IP)

Order of execution:
- Step 1 -> Step 2 (possible executed more than once until variable vmCreated == true) -> Step 3
Subprocess entrypoint in the main process:
- exclusiveGateway with id="exclusivegateway14" (see azure subprocess)
Subprocess exitpoint in the main process:
- exclusiveGateway with id="exclusivegateway15" (see azure subprocess)

@ildave Could you give an update of the status of this task?

@cpopsa @ildave Could you give an update of the status of this task?

@ildave - Please let me know if you need some other info

I was able to start the deploy on DigitalOcean, but I get an exception when executing the DigitaloceaProvion.provisionVM() method:
Caused by: java.lang.RuntimeException: Ssh Key not found for fingerprint<PHONE_NUMBER>ffe7513d52957a68a090ac453f0ff66bf1f2edfa4d736c97f9c0b2
	at eu.cloudopting.provision.digitalocean.DigitaloceanProvision.provisionVM(DigitaloceanProvision.java:42) ~[cloud-component-1.0-SNAPSHOT.jar:1.0-SNAPSHOT]

The error is triggered by this line:
Key sshKey = api.keyApi().get(request.getIdentity());
The jclouds library tries to call this URL:
[DEBUG] jclouds.headers - >> GET https://api.digitalocean.com/v2/account/keys/1990101366ffe7513d52957a68a090ac453f0ff66bf1f2edfa4d736c97f9c0b2 HTTP/1.1
but it receives 404:
[DEBUG] org.jclouds.http.internal.JavaUrlHttpCommandExecutorService - Receiving response -306271885: HTTP/1.1 404 Not Found
[DEBUG] jclouds.headers - << HTTP/1.1 404 Not Found
[DEBUG] jclouds.headers - << Status: 404 Not Found

I have configured a new cloud account for digital ocean using the token I received from Xicota as api_key and secret_key, and using https://api.digitalocean.com/v2/ ad the endpoint
@ciprianpavel and @cpopsa, is this configuration correct? You should provide us the precise informations to how to correctly configure the DigitalOcean account in order to be able to go on with the process.

Please bring this talk by mail if writing credentials in clear

I made some changes, it should work now. I also modified DigitalOcean record in cloud_accouns.
Please let me know if you still have problems.

In DigitaloceanProvisionTests.java you will find some examples of how to invoke the api for DigitalOcean provision.

I have tried again with the modified code, and this time I get a different error:
[DEBUG] jclouds.headers - >> POST https://api.digitalocean.com/v2/droplets HTTP/1.1
[DEBUG] jclouds.headers - >> Accept: application/json
[DEBUG] jclouds.headers - >> Authorization: Bearer XXXX
[DEBUG] jclouds.headers - >> Content-Type: application/json
[DEBUG] jclouds.headers - >> Content-Length: 738
[TRACE] sun.net.www.protocol.http.HttpURLConnection - KeepAlive stream retrieved from the cache, sun.net.www.protocol.https.HttpsClient(https://api.digitalocean.com/v2/images?type=distribution)
[DEBUG] sun.net.www.protocol.http.HttpURLConnection - sun.net.www.MessageHeader@5f40e5f08 pairs: {POST /v2/droplets HTTP/1.1: null}{Accept: application/json}{Authorization: Bearer XXXX}{User-Agent: jclouds/1.9.2 java/1.8.0_51}{Content-Type: application/json}{Host: api.digitalocean.com}{Connection: keep-alive}{Content-Length: 738}
[DEBUG] sun.net.www.protocol.http.HttpURLConnection - sun.net.www.MessageHeader@6826f4a318 pairs: {null: HTTP/1.1 403 Forbidden}{Date: Wed, 05 Oct 2016 15:35:17 GMT}{Content-Type: application/json; charset=utf-8}{Transfer-Encoding: chunked}{Connection: keep-alive}{Set-Cookie: __cfduid=de1c0c2167b22625cffd8f21cb73cfb081475681716; expires=Thu, 05-Oct-17 15:35:16 GMT; path=/; domain=.digitalocean.com; HttpOnly}{Status: 403 Forbidden}{X-Frame-Options: SAMEORIGIN}{X-XSS-Protection: 1; mode=block}{X-Content-Type-Options: nosniff}{RateLimit-Limit: 5000}{RateLimit-Remaining: 4880}{RateLimit-Reset:<PHONE_NUMBER>}{Cache-Control: no-cache}{X-Request-Id: 43d2719f-f39f-4304-b686-b934bd048af1}{X-Runtime: 0.067079}{Server: cloudflare-nginx}{CF-RAY: 2ed1f14b3aea0e4e-MXP}
[DEBUG] org.jclouds.http.internal.JavaUrlHttpCommandExecutorService - Receiving response 548275143: HTTP/1.1 403 Forbidden
[DEBUG] jclouds.headers - << HTTP/1.1 403 Forbidden
[DEBUG] jclouds.headers - << Status: 403 Forbidden
[DEBUG] jclouds.headers - << Transfer-Encoding: chunked
[DEBUG] jclouds.headers - << CF-RAY: 2ed1f14b3aea0e4e-MXP
[DEBUG] jclouds.headers - << Server: cloudflare-nginx
[DEBUG] jclouds.headers - << RateLimit-Reset:<PHONE_NUMBER>
[DEBUG] jclouds.headers - << X-Request-Id: 43d2719f-f39f-4304-b686-b934bd048af1
[DEBUG] jclouds.headers - << X-Runtime: 0.067079
[DEBUG] jclouds.headers - << X-Content-Type-Options: nosniff
[DEBUG] jclouds.headers - << Connection: keep-alive
[DEBUG] jclouds.headers - << RateLimit-Limit: 5000
[DEBUG] jclouds.headers - << Date: Wed, 05 Oct 2016 15:35:17 GMT
[DEBUG] jclouds.headers - << X-Frame-Options: SAMEORIGIN
[DEBUG] jclouds.headers - << RateLimit-Remaining: 4880
[DEBUG] jclouds.headers - << Cache-Control: no-cache
[DEBUG] jclouds.headers - << Set-Cookie: __cfduid=de1c0c2167b22625cffd8f21cb73cfb081475681716; expires=Thu, 05-Oct-17 15:35:16 GMT; path=/; domain=.digitalocean.com; HttpOnly
[DEBUG] jclouds.headers - << X-XSS-Protection: 1; mode=block
[DEBUG] jclouds.headers - << Content-Type: application/json; charset=utf-8
[DEBUG] jclouds.wire - << "{"id":"forbidden","message":"You have reached your droplet limit."}"

[ERROR] org.activiti.engine.impl.jobexecutor.ExecuteJobsRunnable - exception during job execution: Job 107556 failed
org.activiti.engine.ActivitiException: Job 107556 failed
[...]
at eu.cloudopting.provision.digitalocean.DigitaloceanProvision.provisionVM(DigitaloceanProvision.java:62) ~[cloud-component-1.0-SNAPSHOT.jar:1.0-SNAPSHOT]
[... more stack trace below...]

Also, at the moment I cannot see what really happens on the Digital Ocean platform: is it possible to have access to the DO console to check if the VMs are starting?

The error is [DEBUG] jclouds.wire - << "{"id":"forbidden","message":"You have reached your droplet limit."}".
Apparently the DigitalOcean account has a constraint on number of created droplets. I runned the listAllDroplets() method from DigitaloceanProvisionTests, and find out that currently there are 25 vm's running, 24 of these were created in just one minute (18:34) :)
Maybe you tried something and didn't work as you expected.  If you want I can delete them for you.
Unfortunately I don't have the credentials for accessing DigitalOcean web console, but maybe listAllDroplets() method would help you.

I get an exception in the DigitaloceanProvision call, calling  this line of code:
Key sshKey = api.keyApi().get(request.getIdentity());
[DEBUG] org.jclouds.rest.internal.InvokeHttpMethod - >> invoking key:get
[DEBUG] org.jclouds.http.internal.JavaUrlHttpCommandExecutorService - Sending request<PHONE_NUMBER>: GET https://api.digitalocean.com/v2/account/keys/%20 HTTP/1.1
[DEBUG] jclouds.headers - >> GET https://api.digitalocean.com/v2/account/keys/%20 HTTP/1.1
[DEBUG] jclouds.headers - >> Accept: application/json
[DEBUG] jclouds.headers - >> Authorization: Bearer<PHONE_NUMBER>ffe7513d52957a68a090ac453f0ff66bf1f2edfa4d736c97f9c0b2
[TRACE] sun.net.www.protocol.http.HttpURLConnection - KeepAlive stream retrieved from the cache, sun.net.www.protocol.https.HttpsClient(https://api.digitalocean.com/v2/images?type=distribution)
[DEBUG] sun.net.www.protocol.http.HttpURLConnection - sun.net.www.MessageHeader@1146dcf86 pairs: {GET /v2/account/keys/%20 HTTP/1.1: null}{Accept: application/json}{Authorization: Bearer<PHONE_NUMBER>ffe7513d52957a68a090ac453f0ff66bf1f2edfa4d736c97f9c0b2}{User-Agent: jclouds/1.9.2 java/1.8.0_51}{Host: api.digitalocean.com}{Connection: keep-alive}
[DEBUG] sun.net.www.protocol.http.HttpURLConnection - sun.net.www.MessageHeader@d35c4e419 pairs: {null: HTTP/1.1 404 Not Found}{Date: Tue, 18 Oct 2016 14:25:44 GMT}{Content-Type: application/json; charset=utf-8}{Transfer-Encoding: chunked}{Connection: keep-alive}{Set-Cookie: __cfduid=d86ba6fd6874f360972566d7314a02cb91476800744; expires=Wed, 18-Oct-17 14:25:44 GMT; path=/; domain=.digitalocean.com; HttpOnly}{Cache-Control: no-cache}{Ratelimit-Limit: 5000}{Ratelimit-Remaining: 4976}{Ratelimit-Reset:<PHONE_NUMBER>}{Status: 404 Not Found}{X-Content-Type-Options: nosniff}{X-Frame-Options: SAMEORIGIN}{X-Gateway: Edge Gateway}{X-Request-Id: 90e2ae54-898c-44f0-90c1-6fe3cb8a7613}{X-Runtime: 0.021637}{X-Xss-Protection: 1; mode=block}{Server: cloudflare-nginx}{CF-RAY: 2f3ca94c5cfe3d89-MXP}
[DEBUG] org.jclouds.http.internal.JavaUrlHttpCommandExecutorService - Receiving response<PHONE_NUMBER>: HTTP/1.1 404 Not Found
[DEBUG] jclouds.headers - << HTTP/1.1 404 Not Found
[DEBUG] jclouds.headers - << Status: 404 Not Found
[DEBUG] jclouds.headers - << Transfer-Encoding: chunked
[DEBUG] jclouds.headers - << X-Gateway: Edge Gateway
[DEBUG] jclouds.headers - << CF-RAY: 2f3ca94c5cfe3d89-MXP
[DEBUG] jclouds.headers - << Server: cloudflare-nginx
[DEBUG] jclouds.headers - << X-Request-Id: 90e2ae54-898c-44f0-90c1-6fe3cb8a7613
[DEBUG] jclouds.headers - << X-Runtime: 0.021637
[DEBUG] jclouds.headers - << X-Content-Type-Options: nosniff
[DEBUG] jclouds.headers - << Ratelimit-Remaining: 4976
[DEBUG] jclouds.headers - << Connection: keep-alive
[DEBUG] jclouds.headers - << Ratelimit-Reset:<PHONE_NUMBER>
[DEBUG] jclouds.headers - << Date: Tue, 18 Oct 2016 14:25:44 GMT
[DEBUG] jclouds.headers - << X-Frame-Options: SAMEORIGIN
[DEBUG] jclouds.headers - << Ratelimit-Limit: 5000
[DEBUG] jclouds.headers - << Cache-Control: no-cache
[DEBUG] jclouds.headers - << X-Xss-Protection: 1; mode=block
[DEBUG] jclouds.headers - << Set-Cookie: __cfduid=d86ba6fd6874f360972566d7314a02cb91476800744; expires=Wed, 18-Oct-17 14:25:44 GMT; path=/; domain=.digitalocean.com; HttpOnly
[DEBUG] jclouds.headers - << Content-Type: application/json; charset=utf-8
[DEBUG] jclouds.wire - << "{"id":"not_found","message":"The resource you were accessing could not be found."}"
[ERROR] org.activiti.engine.impl.jobexecutor.ExecuteJobsRunnable - exception during job execution: Job 172610 failed
org.activiti.engine.ActivitiException: Job 172610 failed
	at org.activiti.engine.impl.cmd.ExecuteJobsCmd.execute(ExecuteJobsCmd.java:110) ~[activiti-engine-<IP_ADDRESS>.jar:<IP_ADDRESS>]
	at org.activiti.engine.impl.interceptor.CommandInvoker.execute(CommandInvoker.java:24) ~[activiti-engine-<IP_ADDRESS>.jar:<IP_ADDRESS>]

The exception causes the process to get stuck and to restart, creating more and more VM.
@cpopsa , can you check?

The line Key sshKey = api.keyApi().get(request.getIdentity()); was removed in 05.10.2016 commit (message: Fix DigitalOcean provision). Apparently you have some problems in your local project. If you work in a different branch, you should merge from master.

Yes, I had something wrong in my project.
I fixed it and I will do some more tests later.
Thanks

Ok, I run in another exception:
[ERROR] org.activiti.engine.impl.jobexecutor.ExecuteJobsRunnable - exception during job execution: Job 202550 failed
org.activiti.engine.ActivitiException: Job 202550 failed
	at org.activiti.engine.impl.cmd.ExecuteJobsCmd.execute(ExecuteJobsCmd.java:110) ~[activiti-engine-<IP_ADDRESS>.jar:<IP_ADDRESS>]
	at org.activiti.engine.impl.interceptor.CommandInvoker.execute(CommandInvoker.java:24) ~[activiti-engine-<IP_ADDRESS>.jar:<IP_ADDRESS>]
	at org.activiti.engine.impl.interceptor.CommandContextInterceptor.execute(CommandContextInterceptor.java:57) ~[activiti-engine-<IP_ADDRESS>.jar:<IP_ADDRESS>]
	at org.activiti.spring.SpringTransactionInterceptor$1.doInTransaction(SpringTransactionInterceptor.java:47) ~[activiti-spring-<IP_ADDRESS>.jar:<IP_ADDRESS>]
	at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:133) ~[spring-tx-4.2.4.RELEASE.jar:4.2.4.RELEASE]
	at org.activiti.spring.SpringTransactionInterceptor.execute(SpringTransactionInterceptor.java:45) ~[activiti-spring-<IP_ADDRESS>.jar:<IP_ADDRESS>]
	at org.activiti.engine.impl.interceptor.LogInterceptor.execute(LogInterceptor.java:31) ~[activiti-engine-<IP_ADDRESS>.jar:<IP_ADDRESS>]
	at org.activiti.engine.impl.cfg.CommandExecutorImpl.execute(CommandExecutorImpl.java:40) ~[activiti-engine-<IP_ADDRESS>.jar:<IP_ADDRESS>]
	at org.activiti.engine.impl.cfg.CommandExecutorImpl.execute(CommandExecutorImpl.java:35) ~[activiti-engine-<IP_ADDRESS>.jar:<IP_ADDRESS>]
	at org.activiti.engine.impl.jobexecutor.ExecuteJobsRunnable.handleMultipleJobs(ExecuteJobsRunnable.java:94) [activiti-engine-<IP_ADDRESS>.jar:<IP_ADDRESS>]
	at org.activiti.engine.impl.jobexecutor.ExecuteJobsRunnable.run(ExecuteJobsRunnable.java:49) [activiti-engine-<IP_ADDRESS>.jar:<IP_ADDRESS>]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) [na:1.8.0_51]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) [na:1.8.0_51]
	at java.lang.Thread.run(Thread.java:745) [na:1.8.0_51]
Caused by: java.lang.NullPointerException: null
	at eu.cloudopting.provision.digitalocean.DigitaloceanProvision.provisionVM(DigitaloceanProvision.java:50) ~[cloud-component-1.0-SNAPSHOT.jar:1.0-SNAPSHOT]
	at eu.cloudopting.provision.digitalocean.DigitaloceanProvision.provisionVM(DigitaloceanProvision.java:30) ~[cloud-component-1.0-SNAPSHOT.jar:1.0-SNAPSHOT]
	at eu.cloudopting.cloud.CloudService.createVM(CloudService.java:134) ~[cloud-component-1.0-SNAPSHOT.jar:1.0-SNAPSHOT]
	at eu.cloudopting.bpmn.tasks.deploy.DeployGenerateDoVm.execute(DeployGenerateDoVm.java:45) ~[bpmn-component-1.0-SNAPSHOT.jar:1.0-SNAPSHOT]
	at org.activiti.engine.impl.delegate.JavaDelegateInvocation.invoke(JavaDelegateInvocation.java:34) ~[activiti-engine-<IP_ADDRESS>.jar:<IP_ADDRESS>]
	at org.activiti.engine.impl.delegate.DelegateInvocation.proceed(DelegateInvocation.java:37) ~[activiti-engine-<IP_ADDRESS>.jar:<IP_ADDRESS>]
	at org.activiti.engine.impl.delegate.DefaultDelegateInterceptor.handleInvocation(DefaultDelegateInterceptor.java:25) ~[activiti-engine-<IP_ADDRESS>.jar:<IP_ADDRESS>]
[...more stuff...]

The issue seems to be in this call in the provisionVM() method of the DigitaloceanProvision class:
Image image = getImage(api, region);
that returns null.
@cpopsa can you please check?

Fixed, please update your local project.

I was able to go further in the process but now I get a NullPointerException when getting the IP address of the VM:
java.lang.NullPointerException: null
	at eu.cloudopting.bpmn.tasks.deploy.DeployDoVmIp.execute(DeployDoVmIp.java:45)

The null object comes from this line in the DeployDoVmIp class:
JSONObject result = cloudService.getAssociatedIpinfo(cloudParams);
that in the end calls the getAcquiredIpinfo() method of the DigitaloceanProvision class.
Can you check this @cpopsa ?
Thanks!

Hello, any update on this?

You call getAssociatedIpinfo with param cloudAccountId = -1 which does not exists.
A similar problem is in DeployDoVmCheck.java. You call cloudService.checkVM(4l, cloudtask). I don't think that the cloudAccountId should be hardcoded, please check. cloudService.checkVM(cloudAccountId, cloudtask) should be used instead.


Generate symbol packages

@Raviuppa (I hope I have the right github username) was asking me about managed debug information for the binaries source-build produces and it made me realize that source-build does not produce symbol packages (*.symbol.nupkg) in a way that can be published along with the cli built by source-build.
Is this something that can be easily fixed?
cc @davemulford

On the other hand, unmanaged (native) debug info seems like it is present in all binaries generated by source-build, so no issues there.

What would make them publishable along with the source-built CLI/SDK? We currently have a bunch of symbol packages in bin/obj/x64/Release/blob-feed/assets. (Not sure if every single project makes them, but the list looks substantial.) Copying them to something like bin/x64/Release/symbols/?

What would make them publishable along with the source-built CLI/SDK?

Sorry, I dont know enough about how tools expect to consume them. I am wondering if it would be enough to copy the *.symbol.nupkg files to some well-known location on disk. Perhaps then tools can find what they need. I am looking into this.

Not sure if every single project makes them, but the list looks substantial.

That's my major concern. I see coreclr in there, but much of corefx is missing. For example:
$ find -iname '*coreclr*symbol*nupkg'
./dotnet-2.1.4/bin/obj/x64/Release/blob-feed/assets/Microsoft.NETCore.Runtime.CoreCLR.2.1.3.symbols.nupkg
./dotnet-2.1.4/bin/obj/x64/Release/blob-feed/assets/runtime.fedora.28-x64.Microsoft.NETCore.Runtime.CoreCLR.2.1.3.symbols.nupkg
$ find -iname '*linq*symbol*nupkg'
$ find -iname '*nongeneric*symbol*nupkg'
$ find -iname '*collect*symbol*nupkg'
$ find -iname '*socket*nupkg'

Am I looking for the wrong file names?

Most of CoreFX was consolidated into runtime.*.Microsoft.Private.CoreFx.NETCoreApp, which ships through runtime.*.Microsoft.NETCore.App. You can find stuff like System.Linq.Parallel.pdb and System.Collections.Concurrent.pdb through that package's symbol package.
What definitely is missing are symbols for DLLs that aren't packaged during every CoreFX build: stuff like System.Data.SqlClient. I expect https://github.com/dotnet/source-build/pull/653 and work like that to start closing that gap.
Symbol packages are just a delivery mechanism, so I wouldn't be surprised if you'd have to extract them all into a directory and arrange them to match how the lookup mechanism expects them. The Microsoft build symbol consumption scenario relies heavily on the idea of symbol servers and on-demand lookup, and this is all I'm familiar with, unfortunately.
@mikem8361 is there a better approach to this scenario you're aware of?

Ahh! That's great. I can see this on my builds too:
$ unzip -l ./dotnet-2.1.4/bin/obj/x64/Release/blob-feed/assets/runtime.fedora.28-x64.Microsoft.Private.CoreFx.NETCoreApp.4.5.0-servicing-26814-02.symbols.nupkg | grep pdb | wc -l
135

So I guess other than the strange version of this package, I just need to extract things to the right locations, or figure out how the tools discover these symbols.nupkg file.

@omajid I suggest using just runtime.*.Microsoft.NETCore.App: it groups together CoreCLR and CoreFX, and has stabilized versioning. (The Private package from CoreFX is always built unstable because they are never published to the NuGet Gallery, and their Major.Minor.Patch is on a different version train.)
@mikem8361 the symbol downloader requires a symbol server to work, though, right? For context, this is source-build, where the assets aren't built by Microsoft and don't go to symbol servers.
That reminds me, though, about https://github.com/dotnet/symstore/tree/master/src/NugetSymbolServer. In theory you could run this on a set of symbol packages locally, then download symbols from that, right? That doesn't sound like a great way to actually embed in the product, but seems like what we have now....

That symbol server would probably work, but it was something just hacked up for testing.  It may need some a little work to be usable.

@dagood Thanks for the pointers. I feel like we need to do something to tell all the consumers of source-build about which symbols.nupkg files should be made available (on disk, symbols server, etc) and which should not be.

@dseefeld I think we need an issue tracking this in https://github.com/dotnet/source-build/issues/751 "Build Fedora packages from source-build that meets packaging guidelines".
I found these describing symbols are expected to be packaged for more info (followed links from the main docs we have linked in the readme):

https://fedoraproject.org/wiki/Packaging:Debuginfo
https://www.debian.org/doc/manuals/maint-guide/advanced.en.html

As far as I understand, dealing with unmanaged (native) symbols is quite easy. All we need to do is compile with -g and not strip binaries (executibles and shared libraries) after they are built. At least on Fedora, the rpm build system takes care of the rest. This is already true for source-build. I don't know if anything else needs to be done for unmanaged symbols.
On the other hand, I dont know what to do about managed symbols. I am not sure which files need to be shipped and how.

Agreed, to be clear, I was linking those as a reference for how symbols in general are normally packaged up, to hopefully help find how to make managed symbols work in a similar way.
The other angle is determining what is acceptable for a distro package:

Require the package maintainer to host a symbol server?
Require the developer/user to stand up their own machine-local symbol server to access symbols? (Or stand up one for their (firewalled?) organization to share?)

Better for offline experience--the .symbol.nupkg files would be already downloaded with the debuginfo package, I imagine.

Ship a debuginfo package that includes the managed symbols, and the SOS lldb plugin knows where to find them by default?

To me (with no experience debugging a distro package, only some reading) the first two seem unusual. For for the third, I don't know how managed symbols are discovered when trying to debug them. I see https://github.com/dotnet/coreclr/blob/master/Documentation/building/debugging-instructions.md#debugging-core-dumps-with-lldb, but I'm not sure how PDBs are discovered.
@omajid, what do you think about those approaches?
@mikem8361, do you know more about the managed PDB loading?

SOS under lldb currently only loads managed PDBs next to their assembly.  There isn’t even a settable search path (yet).  I do have a work item to add symbol server support (which won’t help here) to SOS/lldb and could add some else too if it is simple (like a search path).  Currently, the recommended way to get PDBs is to use the “dotnet-symbol” tool on Linux to download them (and put them side-by-side with the assemblies).

Hmm, that makes me rethink something... I've been assuming the symbols have to install to a different location, but I don't know any reason PDBs couldn't be installed into the SDK's shared/Microsoft.NETCore.App/{version}/ directory alongside the DLLs.
Also, I've been talking about the runtime symbol package, but there is another artifact bin/obj/x64/Release/blob-feed/assets/dotnet-runtime-symbols-2.1.4-{RID}.tar.gz that has the runtime's managed symbol files flat in the root. Maybe it's as simple as extracting that into .../shared/Microsoft.NETCore.App/{version}/ for the debuginfo package? (We could start copying it somewhere in bin/x64/Release to indicate it's relevant, if that works.)
Something similar could be done for the .../sdk/{version}/ dir too, I'd think, for debugging managed SDK tooling.

Another approach I thought of is making dotnet-symbol able to search a directory of symbol packages, rather than only talk to symbol servers. Then the symbol packages could simply be placed on the system and dotnet-symbol pointed to it. Then everyone could use that recommended flow.
(If we do that, we should make sure dotnet-symbol can build from source.)

Maybe this doesn't apply here but you need to be supervisor to write the symbol files side-by-side with the assemblies if the runtime is installed in /usr/share/dotnet/shared/Microsoft.NETCore/{version}.
dotnet-symbol defaults to side-by-side installation but the symbol files would need to be download in a tmp dir and copied to the above dir.
It would be simple to add directory or share support to dotnet-symbol.  It is already uses RoslynTools.RepoToolsSet so it should be fairly easy to convert to Arcade and make it part of the source build.

Resurrecting this discussion.

Also, I've been talking about the runtime symbol package, but there is another artifact bin/obj/x64/Release/blob-feed/assets/dotnet-runtime-symbols-2.1.4-{RID}.tar.gz that has the runtime's managed symbol files flat in the root. Maybe it's as simple as extracting that into .../shared/Microsoft.NETCore.App/{version}/ for the debuginfo package? (We could start copying it somewhere in bin/x64/Release to indicate it's relevant, if that works.)

@dagood does this still apply? That sounds like something we can make work.
@omajid wdyt?

Maybe this doesn't apply here but you need to be supervisor to write the symbol files side-by-side with the assemblies if the runtime is installed in /usr/share/dotnet/shared/Microsoft.NETCore/{version}.

That is an ok limitation. On Linux system, installing debug symbols requires root typically.

dotnet-symbol defaults to side-by-side installation but the symbol files would need to be download in a tmp dir and copied to the above dir.

Symbols should come via the OS package manager (like other debuginfo).

Yep. So, the whole plan, without dotnet-symbol:

For native symbols, have Core-Setup not strip them during source-build. dotnet-runtime-...tar.gz will be extracted and repacked as two RPMs: the bits and the debuginfo package.
Make sure CoreCLR and CoreFX also don't strip native symbols during source-build. The native bits produced there are redistributed by Core-Setup with debug info included in the so, and go through the same RPM packaging process.
Extract the Core-Setup managed symbols tar.gz and include its contents in the right dir in the debuginfo package.

Using dotnet-symbol, on the other hand, would make source-build more like the Microsoft build, and avoid a dependency on the symbol tar.gz in Core-Setup. dotnet-symbol could be used at packaging time: at the end of the build, use dotnet-symbol to gather up the debuginfo artifacts from the source-built symbol packages and put them in the debuginfo RPM. The plan this way:

Get dotnet-symbol source-built.
Use dotnet-symbol to search the .symbols.nupkg files for symbols for each runtime file that will be in the RPM, and put them in the right dir in the debuginfo package.
For native symbols, we can choose to either have the repos not strip them, or use dotnet-symbol's native symbol support to gather them up for the debuginfo package. Not stripping means more source-build-specific infra, but it does sound like it fits better into the typical RPM packaging flow.

I prefer the second because it unifies symbol flow in source-build with the Microsoft build. However, it requires some source-build work. The artifacts already exist for the first plan, so it seems to me like what will have to happen for now.

@dagood Am I correct in understand that either approach (with dotnet-symbol or without) will be transparent to the user? They just have to dnf|apt install <package> for things to work? Any changes will just be the responsibility of the individual building and packaging source-build?
If that's the case, then I am happy to use either approach.

For native symbols, we can choose to either have the repos not strip them, or use dotnet-symbol's native symbol support to gather them up for the debuginfo package. Not stripping means more source-build-specific infra, but it does sound like it fits better into the typical RPM packaging flow.

I think we are already using the first approach on source-build side: https://github.com/dotnet/source-build/pull/272. At least we were with 2.x. And you are right, not stripping native debug info in the first place fits in better with the packaging workflow. The (native) debug packages are mostly auto-generated. Debian uses dh_strip, for example, which takes care of stripping the debug info and putting it in the right place on the file system and packaging it up: https://wiki.debian.org/AutomaticDebugPackages. If we were to strip the debug info, we would have to figure out how to do everything that the tooling already does.

Am I correct in understand that either approach (with dotnet-symbol or without) will be transparent to the user? They just have to dnf|apt install <package> for things to work? Any changes will just be the responsibility of the individual building and packaging source-build?

That's right, for either of those plans I consider that the core goal.

I think we are already using the first approach on source-build side

Yeah, the first approach is the status quo. We just have to make sure not stripping symbols keeps working and the symbol tar.gz keeps working, or anyone using source-build will have to adapt. This is overhead, but requires the least change from the dotnet repos. That's why I think it's what's going to happen. The second plan gets rid of the overhead by reducing source-build-specific native build configuration, but requires investigation to figure out all the new infra.

I looked at dll files vs pdb files in a 3.0 Preview 6 build (using source-build) and noticed that pdb files exist for all shared framwork dll files except:
Microsoft.Win32.Registry.dll
SOS.NETCore.dll
System.IO.FileSystem.AccessControl.dll
System.IO.Pipes.AccessControl.dll
System.Private.CoreLib.dll
System.Private.DataContractSerialization.dll
System.Private.Uri.dll
System.Private.Xml.dll
System.Private.Xml.Linq.dll
System.Runtime.WindowsRuntime.dll
System.Runtime.WindowsRuntime.UI.Xaml.dll
System.Security.AccessControl.dll
System.Security.Cryptography.Cng.dll
System.Security.Cryptography.OpenSsl.dll
System.Security.Principal.Windows.dll

Is this expected?
My test script is available here: https://gist.github.com/omajid/bd283b8f284247512329a15ae59ce6fc

SOS.NETCore.dll is from CoreCLR, but isn't shipping in the runtime anymore with 3.0 (https://github.com/dotnet/coreclr/pull/25220) so I'm not concerned about that one.
The rest are CoreFX, and I wouldn't expect them missing--filed https://github.com/dotnet/core-setup/issues/7147.


Disable AsmConv1x1U for gfx8 to resolve #135

This should resolve #135

@daniellowell CI tests passed!


Update idealstate when replication is changed for a table.

When we change the replication for a table, we need to update the idealstate as well,
so that helix sends the right number of messages to the serving instances. Also,
a subsequent rebalance will do the right thing with the number of replicas per partition

Codecov Report

Merging #1381 into master will increase coverage by 0.1%.
The diff coverage is 37.5%.

@@           Coverage Diff            @@
##           master   #1381     +/-   ##
========================================
+ Coverage    66.9%     67%   +0.1%
========================================
  Files         781     781
  Lines       38228   38235      +7
  Branches     5022    5023      +1
========================================
+ Hits        25576   25619     +43
+ Misses      10973   10946     -27
+ Partials     1679    1670      -9

Impacted Files
Coverage Δ

...roller/helix/core/PinotTableIdealStateBuilder.java
61.11% <0%> (-0.49%)
:arrow_down:

...ntroller/helix/core/PinotHelixResourceManager.java
57.05% <42.85%> (-0.16%)
:arrow_down:

...e/impl/dictionary/LongOnHeapMutableDictionary.java
88.88% <0%> (-6.67%)
:arrow_down:

...impl/dictionary/DoubleOnHeapMutableDictionary.java
75.55% <0%> (-6.67%)
:arrow_down:

...ot/core/query/pruner/ColumnValueSegmentPruner.java
84.48% <0%> (-3.45%)
:arrow_down:

...filter/SortedInvertedIndexBasedFilterOperator.java
78.37% <0%> (-1.36%)
:arrow_down:

.../pinot/core/segment/index/SegmentMetadataImpl.java
78.41% <0%> (-0.64%)
:arrow_down:

...com/linkedin/pinot/core/common/DataBlockCache.java
77.18% <0%> (+0.67%)
:arrow_up:

...lter/predicate/NotInPredicateEvaluatorFactory.java
82.69% <0%> (+0.96%)
:arrow_up:

...ata/manager/realtime/RealtimeTableDataManager.java
53% <0%> (+1%)
:arrow_up:

... and 16 more

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 1656b64...6bccaae. Read the comment docs.


Fields of type "select" are not translated into other languages

I created a new field of the "select" type and checked the "translate field?" option.

But I get only the "ru" (for example) translation option.

How to get translated fields of type "select"?

any ideas?


Ability to revoke a certificate with acme_tiny

acme_tiny is a great simple tool to generate Let's Encrypt certificates.
It would be nice to be able to revoke a certificate as easily as generating one.

Dupe of #82 .

I don't plan on being able to do this due to the 200 line constraint. My other project, acme-nosudo, does have a revoke option, and you're free to use that.


Add support for width attribute to text inputs

👋 Consider this a bit of a test PR based on our discussion earlier @leeky and @marianayovcheva. Wanted to have a go contributing a new option to one of the inputs and thought adding the width to text inputs would be a good candidate.

Looks good to me! Will leave to @leeky to approve the approach though 🙂

Looks good to me! Will leave to @leeky to approve the approach though 🙂

Cheers! Feel free to reject this too if you want to handle this separately, mostly using this to get a feel for how the library works 🙂. I like the strategy of rendering sample components!


self defined snippets don't work

{
"snippets":{
        "html": {
            "abbreviations": {
                "script": "<script type=\"text/javascript\"></script>",
                "bb":"<aa>${class}</aa>",
                "style":"<style type=\"text/css\"></style>"
            }
        },
        "javascript":{
            "abbreviations": {
                "getvar": "var v='a variable';"
            }
        }
    }
}

i have set some snippets in the user config file
the abbreviations in html file work well
but the abbreviations in js files don't work
what is wrong?

i have solved it

i made an mistake to set this issue to closed

i have the same problem width you, the second problem. Now do you know why it happened?

,,,,,

it works just now. i am careless...


where is documentation

No docs with examples

https://github.com/titpetric/minitpl/tree/master/documentation


fix: autogen.AssistantAgent at https://microsoft.github.io/autogen/blog/2023/10/18/RetrieveChat/

Why are these changes needed?
this could raise an import error for the developer following the tutorial.
Related issue number

Checks

[x] I've included any doc changes needed for https://microsoft.github.io/autogen/. See https://microsoft.github.io/autogen/docs/Contribute#documentation to build and test documentation locally.
[ ] I've added tests (if relevant) corresponding to the changes introduced in this PR.
[x] I've made sure all auto checks have passed.

Given this failure: https://github.com/microsoft/autogen/actions/runs/8827299528/job/24234359966?pr=2504
Let's remove py3.8 from CI.

Given this failure: https://github.com/microsoft/autogen/actions/runs/8827299528/job/24234359966?pr=2504 Let's remove py3.8 from CI.

shall we wait for that PR to be merged?

sure, ill update that.


Slicer values are not responsive of selections made by other filters.

For the sake of understanding the problems let's say you have a Slicer with a Slider with numeric inputs for 4 ID numbers. (1001 - 9999). Okay. Now lets say each 1000 numbers belong to a particular department. (IT -> 2001 -2999 ; HR -> 1001 - 1999; and so on) .
If we have a 'Group' description slicer in the form of list values, along with the Slider slicer, the values in the slider slicer don't seem to change upon selection of that particular group.
For example if User select HR, then the slicer slider should automatically convert from full range to the Group's range (i.e from 1001 - 9999 --> to 1001 - 1999) . For some reason this simple thing does not work in the August 2019 update at least.
So i guess the end goal of this bug/issue or the fix to it would be to make the values in the Slicer Slider responsive as well.
Thanks.

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

ID: 4bc558f3-8a74-7154-c048-2dd74ad4eb8a
Version Independent ID: f84aa1a5-4bab-6f6d-a0ba-5040c0f5defb
Content: Use the numeric range slicer in Power BI Desktop - Power BI
Content Source: powerbi-docs/desktop-slicer-numeric-range.md
Service: powerbi
Sub-service: powerbi-desktop
GitHub Login: @davidiseminger
Microsoft Alias: davidi

Thanks for your comment, @dhruvinushah. This looks like product feedback, rather than documentation feedback. You can submit product feedback or feature ideas by going to Power BI Ideas. You can also engage with the Power BI engineering team by being active in the Power BI Community.


Board::at() is returns PieceType::PAWN instead of PieceType::NONE on empty squares.

Normally, when you run Board::at() with a Square() such as a1 or h8, you expect the Piece that is returned to have the type of the piece at that square. The problem is that this function now returns pawns on empty squares. Here is a code to test this:
Board board("8/1Q6/8/8/8/8/8/3k3K w - - 0 1");
for(int i = 0; i < 64; i++) {
std::cout << board.at(Square(i)).type() << std::endl;
}
Considering that fen string, we expect most squares to be empty as there are only three pieces on the board, but we get mostly pawns being printed.

@fqhd which version are you on? I can't replicate this.
    Board board("8/1Q6/8/8/8/8/8/3k3K w - - 0 1");

    for (int i = 0; i < 64; i++) {
        std::cout << board.at(Square(i)).type();
    }

yields
   k   k                                         q              %

I am on version 0.6.31.
On my machine, that code yields
pppkpppkpppppppppppppppppppppppppppppppppppppppppqpppppppppppppp%
It might be a version issue. Let me try again with the latest version.


Fix broken changelog body extraction in workflow

I replaced the step with extracting the changelog into a separate file and then pointing the action to it instead of using env var. Let's see if this works

works!


Adopt shared header in Form submissions listing

Addresses #8539 and may supersede #8857.
I've adopted shared header template for form submissions page.
Put filters into a separate column like in report workflows.

Before

After

Thanks @zerolab!

The other thing we will need to consider is long tables. May need to add a scrolling container to the table outer div.

Well done on this @PaarthAgarwal - thanks for trying a whole bunch of ways to improve this.


Update private key documentation for dbt-snowflake

Contributions

[X] I am a PM or subject matter expert at dbt who is responsible for this feature.

Where does this content belong?
See: second paragraph of Snowflake docs
We just need to add that we support PEM in addition to DER private key formats for dbt versions >= 1.6
Link to source material
Current:
Starting from dbt v1.5.0, you have the option to use a private_key string instead of a private_key_path. The private_key string should be in Base64-encoded DER format, representing the key bytes. Refer to Snowflake documentation for more info on how they generate the key.
Proposed:
Starting from dbt v1.5.0, you have the option to use a private_key string instead of a private_key_path. The private_key string should be in Base64-encoded DER or PEM format, representing the key bytes. Refer to Snowflake documentation for more info on how they generate the key.

Closing in favor of #3786


Remove Rebecca Dodd

@nicksnyder Is there anyone that teammates can @ mention to make sure their submission is counted?


Changing modes crashes the python client

Changing modes crashes the python client in version 0.0.37:
Traceback (most recent call last):
  File "/home/oni-link/pythonmodules/neovim/ui/ui_bridge.py", line 91, in apply_updates
    handler = getattr(self._ui, '_nvim_' + update[0])
AttributeError: 'GtkUI' object has no attribute '_nvim_mode_change'

Related to https://github.com/neovim/neovim/pull/2660

Yes, all clients must be updated. After 0.1 I will present a "deprecation policy" so that this goes more smoothly. In the meantime this is a useful experiment to see how painful (or not) it is for clients to adapt to API breakage.


⚠ Turnos 24x7 has degraded performance

In 96dcd91, Turnos 24x7 (https://reservas-dev.alternativasinteligentes.com/) experienced degraded performance:

HTTP code: 200
Response time: 897 ms

Resolved: Turnos 24x7 performance has improved in 36c1dcc.


Git dependencies fetch strategy

Hi team,
Thanks for the great work on uv!
I have several git dependencies in one of my existing projects; I tried running
uv pip compile pyproject.toml -o requirements.txt  but it fails with
Updating ssh://git (github.mycompany.com/toto/abcd.git)

error: Failed to download and build: abcd<EMAIL_ADDRESS>  Caused by: Git operation failed
  Caused by: failed to fetch into: /myhomedir/.cache/uv/git-v0/db/f81ed0a494f1ba1c
  Caused by: failed to authenticate when downloading repository

* attempted ssh-agent authentication, but no usernames succeeded: `myusername`, `git`
  Caused by: no authentication methods succeeded

Note that cloning repos works fine from git cli (or even using pdm, though I'm not sure what's the underlying method used).
Looking into https://github.com/astral-sh/uv/pull/283, I noticed from @charliermarsh comment that this is unfortunately a common problem with ssh deps with Cargo;
looking into the PR it seems that the Cli fetching strategy is handled (which might potentially solve my problem?), but it is unclear to me if this is somehow exposed to us (as end user), through the uv cli?

I'm encountering the same issue


cppflow2: potential memory leak

The current implementation in raw_ops.h would leak TFE_Op (variable op) if TFE_OpAddInput or TFE_Execute failed and status_check() threw. One possible solution is to wrap TFE_Op with unique_ptr.

Yes, you are right, thanks for spotting it!
I will fix it

I added the unique_ptr


Backmerge: #2266 Atom click on Functional Groups/Salts and Solvents doesn't replace them it forms a scattering of atoms

Backmerge of https://github.com/epam/ketcher/pull/2283

This is a backmerge of: https://github.com/epam/ketcher/pull/2283


Support for vision models?

I am getting an error that image_url in the content is not supported. Is there perhaps another way to use multimodal models?

I had the same problem. How did you solve it.


Rename Javadoc issues

The javadoc of rename should explain the difference between rename and move and should list that it will throw a UnsupportedOperationException if adaptor does not support it.
My attempt:
	/**
	 * Rename an existing source path to a non-existing target path (optional operation).
	 *

	 *
	 * This method only implements a rename operation, not a move operation.
	 * Hence, this method will not copy files and should return (almost) instantaneously.
	 *
	 * The parent of the target path (e.g. target.getParent) must exist.
	 *
	 * If the target is equal to the source this method has no effect.
	 *
	 * If the source is a link, the link itself will be renamed, not the path to which it refers.
	 *
	 * If the source is a directory, it will be renamed to the target. This implies that a moving a directory between physical
	 * locations may fail.
	 *

	 * @param source
	 *            the existing source path.
	 * @param target
	 *            the non existing target path.
	 * @throws UnsupportedOperationException
	 * 				If the adapter does not support renaming.
	 * @throws NoSuchPathException
	 *             If the source file does not exist or the target parent directory does not exist.
	 * @throws PathAlreadyExistsException
	 *             If the target file already exists.
	 * @throws NotConnectedException
	 *             If file system is closed.
	 * @throws XenonException
	 *             If the move failed.
	 */

Solved already


could you tell me your model's F1, percision, recall value?

Added paper link to our repo: https://arxiv.org/abs/2210.08423

Thank you for you answer, I get your paper, but no these value from fl-drones dataset, could you please show me it? thanks！

Hi Chriszxk, it doesn't improve upon the precision and recall as compared to the previous baseline but it does improve the mAP.
We believe the primary reason being the FL-drone dataset is very small & prone to overfitting, thus we fit the smaller version of our model.


PlotlyEditor handleUpdate mutates inputs instead of following unidirectional data flow

Due to the way the editor is wired to depend on the graphDiv DOM element from react-plotly.js, handleUpdate is mutating the data/layout, and then uses onUpdate as a "something changed" flag. So, it's essentially just bypassing the React render loop altogether by flowing some data mutations directly back to the embedded Plotly inside react-plotly.js.
What it should be doing is using something like immutability-helper to create an updated immutable copy of data/layout, and then send back those changes out as values to the onUpdate callback. The callback would then update the higher state, and those new changes would flow back down into the data & layout props of both the Plot and PlotlyEditor components.

Your point is well-taken, and we do share your enthusiasm for the React/unidirectional dataflow pattern! That said, the architecture of plotly.js was laid down before the current vogue for immutable data structures, and so it's taking us some time to evolve things towards a state where this kind of thing is possible. The recent advent of the Plotly.react method is one part of this, and the proposed configuration flag for an immutable mode in plotly.js is another. In the meantime, this component does "cheat", as you've called it in another thread, and uses revision numbers as a fig-leaf.
I should note that it may not always be possible or desirable to make copies of everything, as some arrays in data or layout can be arbitrarily large, so there will likely always be this kind of revision-number escape hatch. If you have an array with a million entries and you want to repeatedly append one and rerender, it will not be performant to copy a million entries each time :)

@nicolaskruchten You're not going to have to "copy a million entries" if all you're doing is appending, even in an arbitrarily-large example like that. Immutability just means calling .slice() before that .push() and returning the duplicated array. You're only copying the container. It still contains all one million references to the original unmodified entries, plus one more. It may not be exactly the same performance due to the Array clone, but please don't dismiss immutability out of hand like that on some untested performance boogeyman.

I'm definitely not dismissing immutability, I'm working hard to promote it and we're making changes to plotly.js to use it! :)
That said, copying large arrays is much slower than "not exactly the same" ... Per https://jsperf.com/copy-large-array/1 for me the slice-and-push operation runs at ~60 ops/sec and the push-only runs at ~30,000,000 ops/sec.

@nicolaskruchten But that's just one part of the whole system necessary to actually fetch, render, and process user interaction events when dealing with data sets, even large ones.
Your performance test ignores:

The render loop. e.g. DOM manipulations, and deciding which ones to do by diffing the data, mutated or not. Immutable can be shallow compared nice and quickly… but how long exactly does it take for mutated data to be diffed for rendering…?
HTTP requests (where else is this large data set coming from, after all?)
User interaction events (in the scenario that this data is generated or recalculated by the user)

Is there an actual real-world scenario where the time difference between immutable vs mutations actually makes an impact compared to all the much slower and more visibly-slow timing of fetching data and the render loop?
The only scenario I can think of where there's going to be many operations that quickly on a large ("millions") array of data is fetching real-time data via sockets. In which case, the network request turnaround and the render loop are both going to be much slower than any array manipulation code.
Performance tests and time-based optimisations are great, but prematurely optimising without taking the entire system into consideration will cause more problems than the optimisation solves.

I agree with everything you're saying, and with the changes we're making to plotly.js you will be able to build applications which use immutability to do shallow equality checks and so on. I'm also saying that we'll leave a mutability/revision-number escape hatch in case there are others who want to do things differently :)

Once #384 settles down, it will be easier to resolve this (and #212, which was already intended to do this!) as per https://github.com/plotly/react-chart-editor/pull/384#discussion_r172730087


DSFDropView-shared issue

Hi,
Great Lib!
I've had an issue trying to install the package the latest.
No such file or directory: /PackageFrameworks/DSFDropFilesView-shared.framework/Versions/A/DSFDropFilesView-shared

No such file or directory: /PackageFrameworks/DSFDropFilesViewDynamic.framework/Versions/A/DSFDropFilesViewDynamic

If anyone else had similar issues loading package, Version 3.0 works great!

Hi @stevenanthonyrevo,
The name of the dynamic library was changed from 'DSFDropFileDynamic' to 'DSFDropFilesView-shared' in order to bring the naming in line with the other projects I have.
Make sure that when you upgrade you change the Frameworks, Libraries and Embedded Content to contain the new dynamic library DSFDropFilesView-shared instead.

Let me know how you go

@dagronf Thanks for getting back to me so quickly!
I did load the library withembed & signand tried to load version 4.0 but wasn't able to get past the missing directory even with those changes.
The only setup that works for me is include local package version 3.0 and including the DropFilesView.

@stevenanthonyrevo Can you please create a simple Xcode project that shows the issue?  I don't have enough information to reproduce your issue here.

Here's a new macOS project, brand new, I added DSFDropFilesView version 4.1.0. Can you try opening the project and see if it works on your machine?

dropfilesviewtest.zip

Hi @dagronf
I tried opening the test but got an different error.

I then tried to just start a fresh Xcode project named Sample.
DSFDropView-MacOS-Sample.zip
I added in the code to utilize the library and I see the error.

No such file or directory: '/Library/Developer/Xcode/DerivedData/sample/Build/Intermediates.noindex/Previews/sample/Products/Debug/PackageFrameworks/DSFDropFilesView-shared.framework/Versions/A/DSFDropFilesView-shared'

Try out the Sample zip folder to see if I'm missing something?
I'm glad.. I did get it working with an earlier version, As soon as I try the latest version I get stuck on the same compile error.

Here's the version of Xcode I'm using Version 15.2 and another image for how I'm implementing into the content view.

I added DSFDropFilesView to your project and ran it fine

Here's the updated project.
DSFDropView-MacOS-Sample 2.zip

Awesome! I just installed the updated project and it works. May I ask what is different?

Here's the version of Xcode I'm using Version 15.2 and another image for how I'm implementing into the content view.

This is a derived data issue. You might just need to clean the build projects. Menu > Project > Clean Build Folder...

Awesome, Thanks so much!

Awesome! I just installed the updated project and it works. May I ask what is different?

All I did was add DSFDropFilesView to the project as described above. I am using Xcode 16 tho 🤔

You only need to add one in the 'Frameworks, Libraries and Embedded Content' section or else you'll get weirdness.
DSFDropFilesView -> static library
DSFDropFilesView-shared -> dynamic library
DSFDropFilesView-static -> static library (same as the first one, just renamed)
All of these are the SAME library just in different forms.  Some folks want to use Dynamic libraries (which can be shared between multiple targets to reduce code size) and others want a static library which simplifies things but makes the overall app size bigger in some situations.
As a result, you only need to add ONE of these.  If you're not sure which one you want, choose DSFDropFilesView.,

I'm finally able to use latest version of DSFDropFilesView  library for macOS development. That makes sense now, thank you for the explanation and assistance!


Support pub packages

@devoncarew has started this
https://github.com/dart-lang/dartpad_server/pull/40
We need to consider:
-> Ensure that it can't be used as a DOS vector by triggering on the expensive package resolutions
-> Ensure that it plays nicely with intermittent failures of pub storage

Blocked on https://github.com/dart-lang/dart-pad/issues/1128

In the meantime, is it possible to fork dart-services, hardcode a custom set of pub imports for local use, and self-host it for others to use? If so, where do the imports need to be done?

Currently most of dart-services doesn’t know how to use packages, so there is no centralised place to whitelist packages.

Even if generic imports are not supported it would be helpful if 'package:test/test.dart' was implicitly imported by default, so that unit tests could be written directly in dartpad.

Is there any plan to support this now that we have flutter support?
It'd be lovely to be able to write codelabs for 3rd party packages.
We could maintain a gist that concatenates all the files of a library - but that's not very easy to do for larger packages.

Everything seems to have fallen in place for this to be resolved soon, looking forward to it.

Would be great, I just got stuck when I tried to use vector_math

Since dartpad launch and flutter interact, is there any plan for supporting external packages and multi file support?

The new Dartpad with Flutter support is great!
But I'd like to use provider in Dartpad, as it's an essential tool even included in the Flutter docs.
For starters, could "favorite" packages be whitelisted/allowed? https://flutter.dev/docs/development/packages-and-plugins/favorites
@RedBrogdon

Need import package of pub.dev. Without it DartPad is useless.

As a side-note, code-generators support would be great too.
I wonder if we could have a build_runner running on the client

@rrousselGit what do I need to do to enable code generators? I'm guessing we need to enable editing files other than main.dart.

If we have the ability to write a pubspec.yaml, it should be feasible to detect if there's a dependency on build_runner, and then run pub run build_runner build

Updates?

This will probably be on my plate for next couple of quarters. First I have to land moving compilation from AppEngine Flex to Cloud Run, both for security and scalability concerns.

Anything yet? Without packages, I find myself all the time creating packages on the fly so I can help people with their Flutter projects, packages like provider, http, bloc/cubit, shared_preferences, etc. It isn't practical and it's time consuming. Thank you!

Updates?

i'd really hope they'd just whitelist a few packages like provider. maybe flutter favourites? i really like dartpad to be able to try some things while im on my phone commuting, but some essential packages are just missing...
ps: the http package to access https://jsonplaceholder.typicode.com would be nice too

So could you latest know how could we add this feature to dart pad or any brainstorming map. You know it will be great for the next people was going to work on it.

Wow, nothing yet!?

@Chetan11-dev i guess the same way you can import material.dart? or have some copies of the whitelisted packages on the server and provide a way to import them as if they were some local packages

It will be interesting to know the source code of the server side implementation and see how could we add this feature. It seems to be a game changer feature you know.

Hey flutter team, if you don't have time to add this main thing to the dartpad, You should hire more developers.
And I'm here. ;-)

Hey flutter team, if you don't have time to add this main thing to the dartpad, You should hire more developers.
And I'm here. ;-)

Nothing yet!?

Nothing yet. But stay tuned.

I just want to let you know that I'm still waiting for this.

this issue has been open for 6 years, would love to see this feature implemented sometime soon 👍

I think this feature is very much needed in dartpad.
I was trying to implement package:intl and it just wouldn't work. Waiting to see a solution to this!

I'm waiting for it 👀

Me too  👀

I stopped using Dartpad. I can't wait for pub packages import feature to be added or at least the most used packages like http, provider/riverpod, flutter_bloc, shared_preferences, path, uuid, rxdart, getX,
image_picker, firebase,  etc.
So I now have a Flutter/Dart workspace in VSCode prepared to do quick projects on the fly, and that debugs in Chrome.
Had the dartpad devs made a statement about this kindly, at least, I would have waited more. But it's like they are ignoring us.

@angelhdz, in the Dart team's defense, DartPad seems like more of a sandbox or demonstration environment, not one where you actually work on real projects. Having a workspace in a proper IDE is probably a good thing here, even if it's for "quick" projects

@angelhdz, in the Dart team's defense, DartPad seems like more of a sandbox or demonstration environment, not one where you actually work on real projects. Having a workspace in a proper IDE is probably a good thing here, even if it's for "quick" projects

Silly me believing Dartpad was what codepen is for my JavaScript or what repl.it is for my Python. 🤷♂
So, yeah, I will continue working offline.🤷♂

@angelhdz, in the Dart team's defense, DartPad seems like more of a sandbox or demonstration environment, not one where you actually work on real projects. Having a workspace in a proper IDE is probably a good thing here, even if it's for "quick" projects

But still, if one wants to experiment, Dartpad could be the first choice. Not working on real projects, but working on issues and ideas. Not being able to import packages severely limits its use.

Hey, everybody. There's clearly a bunch of interest in this issue, so let me give y'all an update.
As you can see, we've had package support on our feature wish list for a while now, and over the last few months we've finally been able to allocate resources to implementing it. This isn't an easy process, since package support brings with it a number of concerns (security being one noteworthy example). As a result, it's something we have to be very careful about rolling out correctly.
That said, we're making good progress, and over the next couple months, we plan to deploy support for Dart and Flutter packages. This will start with a few Firebase services as well as packages created by the team at Google, then expand to include popular packages from the wider community. An allowlist will be used to gate which ones are available, and you can expect things to move on and off of that list over time as packages rise and fall in usage.
While I'm here, this seems like a great time to remind everybody of the three main tenets of Dart's code of conduct:

Respect people, their identities, their culture, and their work.
Be kind. Be courteous. Be welcoming.
Listen. Consider and acknowledge people's points before responding.

This is an open source project, which means its success depends on our ability to work together. Those three things are a big part of how we do that. 😄

Thanks, @RedBrogdon as some of us plan to use dartpad in our workflows to teach dart and flutter programming and it's a bit easier to teach cross-platform if I can import Flutter Programming Widgets library as it makes it somewhat easier

Thanks you for this update @RedBrogdon ! (Love you flutter youtube content btw :smile:)
I wanted to know if you could tell us more about the mechanism used for the allow-list.
Will the package author have to apply or will it be based on pub points (or pub popularity)? Or something else?
I figure you might not know yet but just wanted to tell you that when you do it would be great to know (especially as a package author)!
Thanks again for the sneak peek into the flutter team work, I'm thrilled by the news and I hope to be able to use DartPad for interactive examples in the documentation of my package !

Great news, also a expo go like client will make it a complete experience as browser is yet to catch up with what mobile apps can do

@RedBrogdon
This is great news, I would if possible to see the "mongo_dart" package as one of the first supported packages.

Great, thank you so much, I believe this project will be one of must-known
flutter tool

Any ETA?

Nothing yet. But stay tuned.

Hey, everybody. There's clearly a bunch of interest in this issue, so let me give y'all an update.
As you can see, we've had package support on our feature wish list for a while now, and over the last few months we've finally been able to allocate resources to implementing it. This isn't an easy process, since package support brings with it a number of concerns (security being one noteworthy example). As a result, it's something we have to be very careful about rolling out correctly.
That said, we're making good progress, and over the next couple months, we plan to deploy support for Dart and Flutter packages. This will start with a few Firebase services as well as packages created by the team at Google, then expand to include popular packages from the wider community. An allowlist will be used to gate which ones are available, and you can expect things to move on and off of that list over time as packages rise and fall in usage.
While I'm here, this seems like a great time to remind everybody of the three main tenets of Dart's code of conduct:

Respect people, their identities, their culture, and their work.
Be kind. Be courteous. Be welcoming.
Listen. Consider and acknowledge people's points before responding.

This is an open source project, which means its success depends on our ability to work together. Those three things are a big part of how we do that. 😄

Thanks man, Yes we know this isn't an easy process, We are all programmers but you are the Google you should be able to do this. We will wait for that to make it as Google as possible as before.

Well no official announcement yet but it looks like this has been implemented! Thanks!

And clicking the little info button in the bottom corner gives this menu

Clicking on one of the packages takes you to its pub.dev page, and clicking on the version number goes to that version on pub.dev

I see the http package has already listed on the menu which @Levi-Lesches was metioned above, but still it prompts error when I'm trying to import it:
Unsupported import(s): (package:http/http.dart)
Did I miss something?

This is not really launched yet, so the list of packages currently only reflects what has been resolved by the server's pub get. I think a small sampling of the visible list is directly importable, but I won't claim its sensical. :) Just soft-launched. I think the plan is to make everything in that list (and more) directly importable.

please add rxdart

Launched. Quick turnaround on this one. 😀

@hoc081098 please see https://github.com/dart-lang/dart-pad/wiki/Adding-support-for-a-new-package

please add "dart:isolate";

@Faiizii Dart doesn't support isolates when cross compiling to JavaScript, which is how DartPad works.

Please add stacked

Please add stacked

Please create a new issue. Commenting on a closed issue is just going to get lost in the mix.


Fixes 76: Add fetchGpgKey API

https://issues.redhat.com/browse/HMSCONTENT-66

this should be "Fixes 76", 66 is the story

https://issues.redhat.com/browse/HMSCONTENT-76

Suggestions for a meaningful test for this without actually calling an external URL?

here's some examples:
http://yum.theforeman.org/RPM-GPG-KEY-foreman
http://yum.theforeman.org/releases/1.21/RPM-GPG-KEY-foreman
https://packages.microsoft.com/keys/microsoft.asc

small wording comment, otherwise looks good!

I wonder why this didn't get marked "Ready for QE"?


Hack around electron-packager bugs

See https://github.com/mixmaxhq/electron-packager/commit/0cfb197f263db94abc55d45b07d0b33e3648b9fc
and https://github.com/mixmaxhq/electron-packager/commit/f511e2680efa39c014d8bedca872168e585f8daf.

This is temporary; see #28.


Question: what if matrix2d?

Haven't checked (n00b me)... what if I invoke this to a result of computed style (properly parsed to this code's requirements), but the matrix is not matrix3d, but matrix. What would happen? Would it return false or try to decompose?
Thank you

Bad things will happen. :stuck_out_tongue_closed_eyes:
It only supports 4x4 matrices, i.e. a flat 16-element array.

However you can treat a matrix() as a matrix3d() (4x4) like I do here:
https://www.npmjs.com/package/mat4-css-parse
var parse = require('mat4-css-parse')
var decompose = require('mat4-decompose')

var style = window.getComputedStyle(element, null)
var matrix = parse(style.tranfsorm)
decompose(matrix, translation, scale, ...etc)

Thanks for reply. Excellent work in everything you do :)

One more quick question: I need something to compose matrix from my objects:
transform : {
   translate : {
      translateX : {value: 250, unit: 'px'},
      translateY : {value: 0, unit: 'px'},
      translateZ : {value: 0, unit: 'px'},
   },
   skew : {}, // same as above
   rotate: {} // same
}

I am sorry for asking this kind of totally n00b questions, but I have no clue and I need something like this, and by the way, I ask you because this seems to me to be the best code.

I don't have anything exactly like that but this is pretty close:
https://github.com/mattdesl/css-mat4
Sent from my iPhone

On Jul 5, 2015, at 3:19 PM, thednp<EMAIL_ADDRESS>wrote:
One more quick question: I need something to compose matrix from my objects:
transform : {
translate : {
translateX : {value: 250, unit: 'px'},
translateY : {value: 0, unit: 'px'},
translateZ : {value: 0, unit: 'px'},
},
skew : {}, // same as above
rotate: {} // same
}
I am sorry for asking this kind of totally n00b questions, but I have no clue and I need something like this, and by the way, I ask you because this seems to me to be the best code.
—
Reply to this email directly or view it on GitHub.

Thanks again, I missed that, now starred it :)


Forbidden error on preview

QA bug test event
wrangler 1.4.0-rc.1
on wrangler preview
Installing wasm-pack...
✨  Built successfully, built project size is 4 KiB.
Error: https://api.cloudflare.com/client/v4/accounts/53fca4dfa7dd414760ab7e84ff167297/workers/scripts/testSite/preview: Client Error: 403 Forbidden

I think we talked about this one being due to an invalid wrangler config - I'm going to close this, but if I mischaracterized the issue, please re-open it and we can further discuss!


coprocessor/dag/expr: add some un-pushed builtin UDFs(Greatest/LeastInt, Greatest/LeastReal, Greatest/LeastDecimal, Greatest/LeastString)

What have you changed? (mandatory)
add some un-pushed builtin UDFs(Greatest/LeastInt, Greatest/LeastReal, Greatest/LeastDecimal, Greatest/LeastString)
This is for #3275
What are the type of the changes? (mandatory)

Improvement (non-breaking change which is an improvement to an existing feature)

How has this PR been tested? (mandatory)
Unittest
Does this PR affect documentation (docs/docs-cn) update? (mandatory)
No
Does this PR affect tidb-ansible update? (mandatory)
N0
Refer to a related PR or issue link (optional)
#3275
#3113
Benchmark result if necessary (optional)
Add a few positive/negative examples (optional)

 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.xyfeng seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

We are sorry to tell you that we already have #3113 , Maybe you could help to review it?


Using MoveFileAsync causes FullPath to be neither DownloadIncompleteFullPath nor DownloadCompleteFullPath

Using MoveFileAsync to move a torrent file changes its ITorrentManagerFile.FullPath, but not DownloadIncompleteFullPath nor DownloadCompleteFullPath. After the download finishes, the file is moved to DownloadCompleteFullPath while FullPath stays as whatever was used in MoveFileAsync
The documentation states: If the file is currently being downloaded, this will be the same as <see cref="DownloadIncompleteFullPath"/>. Otherwise it will be <see cref="DownloadCompleteFullPath"/>
The below is what I get after using MoveFileAsync to move the file to a temporary path, then waiting for the torrent to finish downloading and stopping it.
DownloadIncompleteFullPath=F:\.....\test.bin
DownloadCompleteFullPath=F:\.....\test.bin
FullPath=F:\temp\pk0h5mbi.mbu

Tested on 3.0.0-beta.rev0106
Edit: It looks like two copies of the file exist right at the end of a download, one in FullPath and one in DownloadCompleteFullPath.

Could you let me know if the changes in that branch ( https://github.com/alanmcgovern/monotorrent/pull/608 ) fix the issue for you?
There were tests ensuring the right thing happened when toggling UsePartialFiles on/off, but there were no tests ensuring things were in sync after MoveFilesAsync was invoked... and, well, that's why it flat out didn't work!
This tests those cases now, and it also ensures that the on-disk files are also in the correct place.

The issue appears to be fixed in that branch, thanks!


prereq change to  llvm build for OMP from PR 1233

Signed-off-by: Kevin O'Brien<EMAIL_ADDRESS>

@gongsu832 the Z build fails because:CMake Error at /workdir/llvm-project/openmp/runtime/cmake/LibompUtils.cmake:26 (message):
LIBOMP: libomp_check_variable(): LIBOMP_ARCH = UnknownArchitecture is
unknown
Do you have any suggestions on how to fix that?

@gongsu832 the Z build fails because:�[91mCMake Error at /workdir/llvm-project/openmp/runtime/cmake/LibompUtils.cmake:26 (message): LIBOMP: libomp_check_variable(): LIBOMP_ARCH = UnknownArchitecture is unknown
Do you have any suggestions on how to fix that?

@gongsu832 seems OpenMP is not supported on Z. How would we turn it off in that CI for the present?

PR https://github.com/onnx/onnx-mlir/pull/1526 enables OpenMP on x86 and power but not on s390x.


Gem install error on ruby 2.1.5

Hi,
My ruby version is 2.1.5. When I install this gem using command:
gem install tzinfo -v '0.3.44'

I got this error:
ERROR:  Error installing tzinfo:
	invalid gem: package is corrupt, exception while verifying: undefined method `size' for nil:NilClass (NoMethodError) in /Users/josisusan/.rvm/gems/ruby-2.1.5/cache/tzinfo-0.3.44.gem

Sorry, I didn't notice the cache folder. Deleted the cached .gem file, and re-installed with the same command. It is working fine now.


Updated Home Image inside the #SILKLIFE

You can change the picture without closing this commit.

Okay, Remy. I will do it after my break.

@Remy-Reveltek, Now check.


ENH: Update NCBITaxonomyDirFmt to accomodate data-version file

About this repo

q2-types-genomics is a qiime2 plugin that defines semantic types for other plugins.
The current PR updates an already existing directory format by adding a new file, adding the corresponding file format for the new file, as well as validation, and tests for it.

What's new

Closes #72
NCBITaxonomyDirFmt now contains 4 files instead of 3.

nodes.dmp
names.dmp
prot.accession2taxid.gz
new -> version.tsv

Why is this useful? There is a need to add information about the version of the first three files since it might impact downstream results. By adding a version.tsv file this information is effectively recorded in the provenance of downstream artifacts.

Set up an environment
# For linux:
# export MY_OS="linux"
# For mac:
export MY_OS="osx"
wget "https://data.qiime2.org/distro/shotgun/qiime2-shotgun-2023.9-py38-"$MY_OS"-conda.yml"
conda env create -n q2-shotgun --file qiime2-shotgun-2023.9-py38-osx-conda.yml
rm "qiime2-shotgun-2023.9-py38-"$MY_OS"-conda.yml"

Run it locally

First, clone the repo and checkout the PR branch:

# Remove q2-types-genomics so you can install your local version.
conda activate q2-shotgun
conda remove q2-types-genomics

git clone git@github.com:bokulich-lab/q2-types-genomics.git
cd q2-types-genomics
gh pr checkout 73
pip install -e .

Let's get you some data to play with:

cd wherever_you_want_to_download_the_data_to

The next commands will download ~15 Gb of data

# Download *.dmp
wget ftp://ftp.ncbi.nlm.nih.gov/pub/taxonomy/taxdmp.zip
unzip -j taxdmp.zip names.dmp nodes.dmp -d ncbi_tax_data
rm taxdmp.zip

# Download prot.accession2taxid.gz
wget ftp://ftp.ncbi.nlm.nih.gov/pub/taxonomy/accession2taxid/prot.accession2taxid.gz -P ncbi_tax_data

# Make the version.tsv file
echo -e "file_name\tdate\ttime" > ncbi_tax_data/version.tsv
ls -l -D "%d/%m/%Y %H:%M:%S" ncbi_tax_data | awk '{print $8, $6, $7}' | grep -E '(nodes\.dmp|names\.dmp|prot\.accession2taxid\.gz)' | tr ' ' '\t' >> ncbi_tax_data/version.tsv

Test it out!

qiime tools import --input-path ncbi_tax_data --output-path ncbi_tax_data.qza --type "ReferenceDB[TaxonomyNCBI]"

Running the tests
pytest -W ignore -vv --pyargs q2_types_genomics

Hey @VinzentRisch, can you give this one a review? Cheers!

@VinzentRisch

I just had some problems with getting the right env. You added some new formats to q2-types and those formats are not in the 2023.9 distribution of QIIME2 so I had to install q2-types directly from GitHub.
And there is a typo in your import command. It should be ReferenceDB[NCBITaxonomy] and not ReferenceDB[TaxonomyNCBI].

Crap! Thank you for checking and thanks for the review :)

@misialq do you want to take a quick look before I SQUASH-megre it?

Yup, thanks, I'll check it out and ping you 🙌

We have decided not to go forward with this extension of the semantic type because the files (names and nodes.dmp) are updated very frequently and the last-modified-date information is already contained in the artifact without explicitly making a new file for it.
However, this branch will be pushed upstream just in case we wish to recycle some of the code further on.


Add support for Fitbit

Current coverage is 80.21%

Merging #424 into master will increase coverage by +0.07% as of c0de149

@@            master    #424   diff @@
======================================
  Files          123     126     +3
  Stmts         2972    3003    +31
  Branches         0       0
  Methods
======================================
+ Hit           2382    2409    +27
  Partial          0       0
- Missed         590     594     +4

Review entire Coverage Diff as of c0de149

Powered by Codecov. Updated on successful CI builds.


How to display ppt and document in angular Like I uploaded presentation in firebase storage and now I am trying to display file using download url, Is that possible

How to display ppt and document in angular
Like I uploaded presentation in firebase storage and now I am trying to display file using download url, Is that possible

Probably your easiest way is to use storage; and then use a live viewer.  There are other ways as well - however in your case you could just literally create a variable called site-to-ppt, or something similar.  Be careful though storage can get expensive.

https://products.office.com/en-GB/office-online/view-office-documents-online?legRedir=true&CorrelationId=b28c7173-79a2-4fb7-a1eb-9e75651fd1a1


[KOGITO-5863] Async process execution

Missing some IT to be included in kogito-apps for integration with job-service.

assembly
https://github.com/kiegroup/kogito-apps/pull/1057
https://github.com/kiegroup/kogito-examples/pull/927
https://github.com/kiegroup/kogito-runtimes/pull/1639
Many thanks for submitting your Pull Request :heart:!
Please make sure that your PR meets the following requirements:

[ ] You have read the contributors guide
[ ] Your code is properly formatted according to this configuration
[ ] Pull Request title is properly formatted: KOGITO-XYZ Subject
[ ] Pull Request title contains the target branch if not targeting main: [0.9.x] KOGITO-XYZ Subject
[ ] Pull Request contains link to the JIRA issue
[ ] Pull Request contains link to any dependent or related Pull Request
[ ] Pull Request contains description of the issue
[ ] Pull Request does not include fixes for issues other than the main ticket

How to retest this PR or trigger a specific build:

Run all builds
Please add comment: Jenkins retest this

Run (or rerun) specific test(s)
Please add comment: Jenkins (re)run [runtimes|optaplanner|apps|examples] tests

Quarkus LTS checks
Please add comment: Jenkins run LTS

Run (or rerun) LTS specific test(s)
Please add comment: Jenkins (re)run [runtimes|optaplanner|apps|examples] LTS

Native checks
Please add comment: Jenkins run native

Run (or rerun) native specific test(s)
Please add comment: Jenkins (re)run [runtimes|optaplanner|apps|examples] native

Full Kogito testing (with cloud images and operator BDD testing)
Please add comment: Jenkins run BDD
This check should be used only if a big change is done as it takes time to run, need resources and one full BDD tests check can be done at a time ...

The (build) Optaplanner check has failed. Please check the logs.

The (build) Apps check has failed. Please check the logs.

The (build) Examples check has failed. Please check the logs.

The (build) Runtimes check has failed. Please check the logs.

The (build) Examples check has failed. Please check the logs.

The (build) Apps check has failed. Please check the logs.

jenkins retest this

The (build) Optaplanner check has failed. Please check the logs.

The (build) Apps check has failed. Please check the logs.

The (build) kogito-examples check has failed. Please check the logs.

The (build) kogito-examples check has failed. Please check the logs.

The (build) optaweb-employee-rostering check has failed. Please check the logs.

@cristianonicolai @MarianMacik can you take a look at this one
Thanks.

@MarianMacik can you prioritize this one? the PR is sitting for a long time.
@cristianonicolai I applied/replied to your comments, anything to add?
Thanks!!

@MarianMacik applied your comments, can you take another look.
Thanks.


chore(consensus): OpTxType Conversion

Description
Upstreams a small OpTxType conversion to alloy_primitives::U8 from reth.

📚 $\text{Stack Overview}$
Pulls submitted in this stack:

#283 👈
#282
main

This comment was automatically generated by st.

sorry messed up stacked pr


peerConnection status stuck on "gathering" if I use 4g connection

Hello,
I really appreciate your work and it has helped me a lot studying WebRTC tech in iOS.
I understand that this problem is not connected with your demo App, problem is on WebRTC side, but I hope that you can give me some advice with troubleshooting.
If I try to make a call (send offer from one device + receive answer to that device) with Wi-Fi connection everything works fine, peer connection status changing stable -> checking -> gathering -> connected. (I attached screenshot with logs)
But if I try to make the same call with 4g connection on special provider peer connection statuses changing stable -> checking -> gathering. (I attached screenshot with logs)
If I try to make the same call with 4g connection on different provider everything works fine.

this is good situation

this is bad situation

Hi, sorry for the late response.
I'm happy that this demo project helped you learning about WebRTC :)
Unfortunately I'm not an expert on WebRTC myself but the reason can be that the device cannot reach the other device. If you are on 4g, you should use a TURN server to relay all network between devices in different networks (wifi <--> 4g)

@stasel I added turn server to config with url, username and credential and now I am able to call with 4g and wi-fi, thank you)


Allow extending Product Attribute Type with updateCMSFields

Thanks for contributing! One little thing - it looks like you've got spaces instead of tabs there. Would you mind fixing that so we can keep the codebase tidy? You'll need to squash commits down to a single one (https://ariejan.net/2011/07/05/git-squash-your-latests-commits-into-one/) and then do a force push to this branch.

My bad, still had it on psr format, will resubmit

Ok, should be cleaned up now


About lua-nginx-module version

Question
Hi, does tengine support lua-nginx-module v0.10.15? this version of module has improved a lot with lua performance, could you give some suggestions or problems? Thanks a lot.

Yes, we'll update lua-nginx-module continually.
However, next version tengine (v2.3.2) wont include new upgrading of lua-nginx-module v0.10.15. It will be upgraded in v2.3.3+.