Mercury density

Dear @CalebBell,
from thermo import Chemical
Hg = Chemical('Hg')
Hg.rho
12737.02  kg/m3                <->    13.534 g/cm3
thermo.version
'0.2.23'
Its' only 7% but its important in pressure units for instance.
Best regards, Filipe Gama Freire

Hi @gamafreire, it seems experimental data is in thermo but the source only has data starting at 600 K and up so the extrapolation to room temperature is off. I try to avoid adding data for specific chemicals in favor of compilations of chemical properties. Do you know a good source with many temperature-dependent metal densities? Mercury is a rough one to get wrong, though.
You can manually add the data from e.g. the CRC table as follows:
from thermo import *

from chemicals import rho_to_Vm
CRC_mercury_rho_Ts = [253.15, 254.15, 255.15, 256.15, 257.15, 258.15, 259.15, 260.15, 261.15, 262.15, 263.15, 264.15, 265.15, 266.15, 267.15, 268.15, 269.15, 270.15, 271.15, 272.15, 273.15, 274.15, 275.15, 276.15, 277.15, 278.15, 279.15, 280.15, 281.15, 282.15, 283.15, 284.15, 285.15, 286.15, 287.15, 288.15, 289.15, 290.15, 291.15, 292.15, 293.15, 294.15, 295.15, 296.15, 297.15, 298.15, 299.15, 300.15, 301.15, 302.15, 303.15, 304.15, 305.15, 306.15, 307.15, 308.15, 309.15, 310.15, 311.15, 312.15, 313.15, 314.15, 315.15, 316.15, 317.15, 318.15, 319.15, 320.15, 321.15, 322.15, 323.15, 324.15, 325.15, 326.15, 327.15, 328.15, 329.15, 330.15, 331.15, 332.15, 333.15, 334.15, 335.15, 336.15, 337.15, 338.15, 339.15, 340.15, 341.15, 342.15, 343.15, 344.15, 345.15, 346.15, 347.15, 348.15, 349.15, 350.15, 351.15, 352.15, 353.15, 354.15, 355.15, 356.15, 357.15, 358.15, 359.15, 360.15, 361.15, 362.15, 363.15, 364.15, 365.15, 366.15, 367.15, 368.15, 369.15, 370.15, 371.15, 372.15, 373.15, 383.15, 393.15, 403.15, 413.15, 423.15, 433.15, 443.15, 453.15, 463.15, 473.15, 483.15, 493.15, 503.15, 513.15, 523.15, 533.15, 543.15, 553.15, 563.15, 573.15, ]
CRC_mercury_rho_rhos = [13644.61, 13642.12, 13639.64, 13637.16, 13634.68, 13632.2, 13629.72, 13627.24, 13624.76, 13622.28, 13619.81, 13617.33, 13614.85, 13612.38, 13609.91, 13607.43, 13604.96, 13602.49, 13600.02, 13597.55, 13595.08, 13592.61, 13590.14, 13587.68, 13585.21, 13582.75, 13580.28, 13577.82, 13575.35, 13572.89, 13570.43, 13567.97, 13565.51, 13563.05, 13560.59, 13558.13, 13555.67, 13553.22, 13550.76, 13548.31, 13545.85, 13543.4, 13540.94, 13538.49, 13536.04, 13533.59, 13531.14, 13528.69, 13526.24, 13523.79, 13521.34, 13518.89, 13516.45, 13514, 13511.56, 13509.11, 13506.67, 13504.22, 13501.78, 13499.34, 13496.9, 13494.46, 13492.02, 13489.58, 13487.14, 13484.7, 13482.26, 13479.82, 13477.39, 13474.95, 13472.51, 13470.08, 13467.65, 13465.21, 13462.78, 13460.35, 13457.91, 13455.48, 13453.05, 13450.62, 13448.19, 13445.76, 13443.33, 13440.9, 13438.48, 13436.05, 13433.62, 13431.2, 13428.77, 13426.35, 13423.92, 13421.5, 13419.08, 13416.65, 13414.23, 13411.81, 13409.39, 13406.97, 13404.55, 13402.13, 13399.71, 13397.29, 13394.87, 13392.45, 13390.03, 13387.62, 13385.2, 13382.78, 13380.37, 13377.95, 13375.54, 13373.13, 13370.71, 13368.3, 13365.89, 13363.47, 13361.06, 13358.65, 13356.24, 13353.83, 13351.42, 13327.3, 13303.3, 13279.3, 13255.3, 13231.4, 13207.5, 13183.6, 13159.7, 13135.9, 13112, 13088.2, 13064.4, 13040.6, 13016.7, 12992.9, 12969.1, 12945.3, 12921.4, 12897.5, 12873.6, ]
mercury = Chemical('mercury')
MW = mercury.MW
CRC_mercury_Vms = [rho_to_Vm(rho=rho, MW=MW) for rho in CRC_mercury_rho_rhos]
mercury.VolumeLiquid.add_tabular_data(Ts=CRC_mercury_rho_Ts, properties=CRC_mercury_Vms, name='CRC 90E')
mercury.rho

@CalebBell,
Thank you very much,
I will try for open source.
f

Hi gamafreire,
I am experimenting with ways to add data for specific chemicals. In the past I could only add compilations, but now I am trying to develop a workflow that lets data for specific chemicals be added. So far I explored a few elements. I have included the data I showed above in the latest release of thermo==0.2.25.
I hope you find this useful,
Caleb


Will you release the code for Semantic Segmentation?

Will you release the code for Semantic Segmentation?  I am interested in the downstream tasks.

We used the mmsegmentation library (https://github.com/open-mmlab/mmsegmentation).
We've used an older version of the library (pre-1.0), so we are working on modifying our code to fit a newer version and ensuring it runs without issues.
We will release the configs and trained weights once the transition to the newer version is complete.

Hey, the MMSegmentation related code was released, the models will be uploaded next, sorry for the delay :)


Merge prTesting_201907021218 branch to master branch

Docs Build status updates of commit 8637d53:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details
Dependent Files

split/updateTestCon.md
:white_check_mark:Succeeded

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


Log but don't throw if agent isn't running

We're experimenting with a development flow that involves:

Every PR deploying to the GitHub author's personal deployment (or even
a branch-specific deployment)
The developer (or reviewer) then optionally spinning up a Docker Agent
locally to interact with the changes

With this workflow, it's expected that an agent often won't be running
when the CI/CD action runs. So instead of throwing on:
Error: dagster.core.errors.DagsterUserCodeUnreachableError:
Could not send request to agent since no agents have recently heartbeated

We'll log it instead.

We're going to take a different approach to supporting this workflow.


Scale.update return type

In Chart.js 3.0.0-rc.3, Scale.update's implementation returns void, but its TypeScript type definition inherits from LayoutItem, which says that update should return a number.
I ran into this while creating a custom scale type that extends LinearScale; it started raising type errors when I upgraded from 3.0.0-beta.7 to 3.0.0-rc.3.

Good catch! I checked the calls to update() in the layout system, and none expect a return type. Additionally, the legend and title plugins do not return anything.

Thanks!


vscode crash and logout on ubuntu when starting devcontainer

VS Code Version: 1.54.1
OS Version: Ubuntu Budgie 20.04

vscde crashes and Ubuntu user session gets terminated (log out) when starting a devcontainer. Devcontainers are working in vscode version 1.53.2. It looks to me that something changed which causes the issue.
Steps to Reproduce:

Start VSCode
Open project folder
Run "Remote-Containers: Reopen in Container"

Does this issue occur when all extensions are disabled?: No, but without remote container extension I can't start the devcontainer

(Experimental duplicate detection)
Thanks for submitting this issue. Please also check if it is already covered by an existing one, like:
* [Ctrl+click on `file:` link in Debug Console in devcontainer opens host filesystem instead (#111143)](https://www.github.com/microsoft/vscode/issues/111143)

No, haven't found a similar issue.

I just tested it with code-insiders. Same issue, crash of vscode and direct ubuntu logout. It works with versions < 1.54

I did some more testing, since I was using podman to run the containers. I now switched back to docker. But still VSCode crashes and my user session gets terminated. Tried with the latest insider build. No luck either. VSCode version 1.53.2 is working though.

strangely enough vscode stops crashing after setting the "crash-report-directory" with code --crash-reporter-directory ./debug/

Is there a sane way to troubleshoot this issue?

Upgraded to 1.55. Still same issue.

Insider 1.56. Still same issue.

I now tried disabling the gpu with --disable-gpu. Seams to work now, but will test further.

no luck with ---disable-gpu either. Interestingly it worked one time. The next time I launched vscode it crashed again.
I will run further tests with other options disabled.

I think I'm getting closer. For some weird reason, at least from my perspective, vscode crashes when I have the "Ubuntu Budgie Global Menu" enabled. https://github.com/rilian-la-te/vala-panel-appmenu. It worked with VSCode up until version 1.53.2  and started crashing with version 1.54.

Does it only crash with Remote-Containers or also with other features?
Did it stop crashing for good when you disabled that Global Menu of Ubuntu Budgie?

"crash and logout" sounds like one of the parent processes terminated.
/cc @deepak1556

I no longer see crashes with the disabled "Global Menu". I just did a short test without working in remote-containers with the global menu enabled. After re-enabling the global menu it crashes again. Also I noticed a screen flickering with the global menu enabled. It looks like a rendering issue. First I see the VSCode Menu bar in VSCode, then the screen "flickers" and the menu bar gets moved to the top. I don't see that with other programs. Maybe an Electron issue?

I see the exact same thing and when I click on "Close folder" in File menu, log in screen appears. I am using Ubuntu Budgie 20.04 and the same "Global menu". Maybe it is indeed an Electron issue.


Destructuring improvements

Makes the collection parsing code much cleaner and more robust
Adds support for nested destructuring
Fixes #1338
Fixes #1342
Fixes #1351
Fixes #3014
Fixes #3144

THANK YOU! As I am writing the VM, destructuring was such a mess to implement (because it uses Expr) and I see you have solved it 🎉


[Enhancement] a complement to code optimization for the eventmesh-examples module

Search before asking

[X] I had searched in the issues and found no similar issues.

Enhancement Request
In the eventmesh-examples module,http and grpc are not code optimized
Describe the solution you'd like
We suggest that such constants be placed in a constant class and the constant class be placed in the eventmesh-examples/src/main/java/org/apache/eventmesh/common package

delete invalid code.
located in eventmesh-examples/src/main/java/org/apache/eventmesh/tcp/demo/sub/eventmeshmessage/AsyncSubscribe.java

Are you willing to submit PR?

[ ] Yes I am willing to submit a PR!

I'm willing to do it.


infinite request loop in developer tools when opening a .carto imported map with anlyses

STR

all the components are updated as per master
imported paradas_metro_madrid
paradas_metro_madrid (on 2016-06-02 at 15.26.52).carto.zip
open resulting map

expected behavior

perform analysis
no infinite request loop

actual behaviour

edit: Windshaft+SQL API up-to-date, so not same error as the previous one #7523 ([analysis] use case multiple fail )

@alonsogarciapablo related to https://github.com/CartoDB/cartodb.js/issues/1283 ?

Windshaft+SQL API up-to-date, so not same error as the previous one

I can't reproduce it, but get another error instead: Request to Maps API failed: Missing required param "query" on the editor. And if I open the embed I get yet another error: Request to Maps API failed: column "fid" does not exist. @rochoa related to what we talked about last night? Have Windshaft up-to-date as of this morning.

Windshaft+SQL API up-to-date, so not same error as the previous one #7523 ([analysis] use case multiple fail )

^^^ wasn't completely true, was missing a make clean all to have the latest dependencies installed. So that resolves the infinite loop, but with latest changes https://github.com/CartoDB/Windshaft-cartodb/commit/050d33ff140aaf9b1b4975f0ac0bbc650dd04a4a there is another error instead: common_editor3.js:49060 Request to Maps API failed: Missing required param "query"

it fails because there is an analysis without query praram, indeed

as you @javisantana are reproducing the analyses, can you replicate this again?it looks like the following paradas de metro .carto file is borked
paradas_metro_madrid (on 2016-06-02 at 15.26.52).carto.zip
thanks!

map already working, but there is a JS error and I've just fixed so 💃


trying to compare with twistlock results

Hi,
we are at the moment using both Dependency check and Twistlock for scanning the build and container image respectively.
The tools tend to provide different results. I gathered the following data, after checking appropriate info at NIST.

detectedBy
CVE
CVE Version
Severity score

DepCheck
CVE-2016-1000338
2
5

DepCheck
CVE-2016-1000338
3
7.5

DepCheck
CVE-2016-1000344
2
5

DepCheck
CVE-2016-1000344
3
7.5

DepCheck
CVE-2018-1000180
2
5

DepCheck
CVE-2018-1000180
3
7.5

DepCheck
CVE-2016-1000352
2
5

DepCheck
CVE-2016-1000352
3
7.5

DepCheck
CVE-2016-1000340
2
5

DepCheck
CVE-2016-1000340
3
7.5

DepCheck
CVE-2018-1000613
2
5

DepCheck
CVE-2018-1000613
3
7.5

DepCheck
CVE-2016-1000343
2
5

DepCheck
CVE-2016-1000343
3
7.5

DepCheck
CVE-2016-1000342
2
5

DepCheck
CVE-2016-1000342
3
7.5

DepCheck
CVE-2019-17571
2
5

DepCheck
CVE-2019-17571
3
7.5

DepCheck
CVE-2007-1652
2
5

DepCheck
CVE-2007-1652
3
7.5

DepCheck
CVE-2020-5411
2
5

DepCheck
CVE-2020-5411
3
7.5

DepCheck
CVE-2018-1258
2
5

DepCheck
CVE-2018-1258
3
7.5

Twistlock
CVE-2018-10237
2
5

Twistlock
CVE-2018-10237
3
7.5

I was wondering if one of the tools were using CVSS Version2 and the other 3, but still there is some conflict in understanding. So trying to figure why twistlock showed only one CVE where as dependency check, a lot. FYI, We have configured dependency check to only fail those with CVSS >= 7.

I think this is quite difficult to answer without the actual Image that you are scanning and the Vulnerability Rule that you've set up in Prisma Cloud (formerly known as Twistlock) for this image. Are any of the findings of Dependency-Check false-positives? This question would probably be better directed at Palo Alto Networks Support anyways.
From my personal experience Prisma Cloud tends to find fewer CVEs for Java as Dependency-Check but on a positive note comes with fewer false-postives as well. But that is a trade-off decision that every tool handles differently.

Sorry I think the sheet was not quite accrate. I just updated the sheet on the previous comment with correct ..
Seems Dependency check found everything...

need to check in the Prisma cloud side (may be some config, or plugin version etc.) to try and understand why it was not picking the ones that Dependency Check was able to...


Add macOS compatibility for set_quilt_vars.sh

(Please ensure you have read SUPPORT.md and docs/contributing.md before submitting the Pull Request)

The macOS repo already has its own set_quilt_vars.sh file. Why do we need to note this here?

The macOS repo already has its own set_quilt_vars.sh file. Why do we need to note this here?

You are right, there is no need. I did not see the repository for macOS.


Compatible products

Compatible products eml327 odb2 bluetooth?

Yes. I am using them.

I actually never used this library outside of obdsim, but it seemed to work there.

diagram fluxe use?


improvement(peerTracker): peerTracker hardening

The current implementation of peerTracker has some edge cases that I'd like to bring to your attention. Additionally, I'd like to propose some ideas I have.

As @renaynay  mentioned #130 our scoring system is too aggressive. I believe, in the scope of this task, we should create an XLS table with different arithmetic methods (like EWMA) and then decide on the approach to adopt.
The second idea relates to collecting a specific number, 'n', of peers, calculating their rate, and building a queue from them. All peers are stored in the PeerStore, and we also have a libp2p component managing connections with these peers. Instead of redundantly collecting peers in the peer tracker, could we retrieve them from the peerStore? Also, rather than storing scores within the peer tracker, could we store them within the connection manager under a specific tag?

The proposed flow for the session would be:
Retrieve peers from the peer store.
Gather peer scores from the connection manager and build the queue.
Update the tag with the new respective value after the request finishes.
The primary advantage here is that by utilizing the connection manager, we can remove our custom gc and can handle garbage collection of slow connections and manage peer trimming.

closed in favour of https://github.com/celestiaorg/go-header/issues/160


Open-Data Sweden

Find out if addresses delivered by Swedish kommuns is (or how to make them) Open Data. There is no what so ever information that the data Swedish kommuns is providing this project over services or other media is Open Data and may be used for openaddresses.
BTW According to Malmö kommun they do not have any Open.
Please help use solve this problem, Benny Jonsson Lunds Kommun.

Lantmäteriets data is now open so should be fine to use.

This looks like a duplicate of https://github.com/openaddresses/openaddresses/issues/2422, closing this one.


lables not updating? not sure if its a bug, or im just stupid

Expected behavior
i would want this to change according to the dataset
Current behavior
showing top level labels only
when you see the graph, the labels represents the bars,
once clicked on a bar,
the labels should change no?
but it doesnt?
Reproducible sample
https://codepen.io/safal_stha/pen/dyeRewz
Optional extra steps/info to reproduce
No response
Possible solution
No response
Context
No response
chart.js version
3.9.1
Browser name and version
edge, latest
Link to your project
No response

The labels are changing in your linked code?

Hi,
What I mean is, I have a eventwhenclicked. This changes the data.
My secondary data has the same data structure as the primary however, the
legend isn't showing up correctly.
Not sure of this is normal or not.
On Tue, 20 Sept 2022, 19:35 Jacco van den Berg, @.***>
wrote:

The labels are changing in your linked code?
—
Reply to this email directly, view it on GitHub
https://github.com/chartjs/Chart.js/issues/10682#issuecomment-1252758733,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AUXIQAPCVTHEXK7FIYPFPJDV7H7VJANCNFSM6AAAAAAQRHNIKY
.
You are receiving this because you authored the thread.Message ID:
@.***>

This is working as designed.
For Line, bar, radar, scatter and bubble charts the legend in constructed using the data.datasets[di].label of the dataset. The only chart types that use the data.labels array are doughnut, pie and polarArea.
So if you want the legend to have the same elements as the labels on the axis you will need to write a custom generateLabels function with possible a custom onClick if you also want them to be able to hide bars

Ahh I see,
I didn't knew that's the case. Thanks.
I got another question can you answer in this email or I need to raise
another ticket?
On Tue, 20 Sept 2022, 21:06 Jacco van den Berg, @.***>
wrote:

This is working as designed.
For Line, bar, radar, scatter and bubble charts the legend in constructed
using the data.datasets[di].label of the dataset. The only chart types
that use the data.labels array are doughnut, pie and polarArea.
So if you want the legend to have the same elements as the labels on the
axis you will need to write a custom generateLabels
https://www.chartjs.org/docs/3.9.1/configuration/legend.html#legend-label-configuration
function with possible a custom onClick if you also want them to be able to
hide bars
—
Reply to this email directly, view it on GitHub
https://github.com/chartjs/Chart.js/issues/10682#issuecomment-1252851764,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AUXIQAPE4BGAICGB64IEDZLV7IKMVANCNFSM6AAAAAAQRHNIKY
.
You are receiving this because you authored the thread.Message ID:
@.***>

For questions please head over to stack overflow


Issue while polling targets

Hi,
I get the following error when using the sdk :

This is the call to sampling rules in case its needed:

Before I got this error :

and I applied a patch directly in dateutils like here :
https://stackoverflow.com/a/43688152/2470346

It seems like a compatibility issue on botocore and your OS at first and after applying the patch it triggers another issue in X-Ray SDK.
Do you mind providing which python version are you using, is it 32bit or 64bit and what is your timezone offset in your OS so I can take a further look?

I tried with Python 2.7 64bit and python 3.7 64bit - same issue. Timezone is UTC+01 (Amsterdam, Berlin)

I also get this error (Python 3.7 64bit)

This is a bug on the SDK support with Windows platform. The SDK currently uses strftime and the character %s for conversion from datetime to Unix epoch. You can see from http://man7.org/linux/man-pages/man3/strftime.3.html. However, this character doesn't work cross-platform and it is unix specific. The characters work cross-platform can be found here http://strftime.org and %s is not one of those.
The SDK needs to choose an implementation of converting datetime to POSIX epoch that works cross platforms. We will look into a fix as soon as possible. Sorry for the inconvenience.

This issue should be fixed in the latest release 2.2.0. If you still have issues, feel free to request for re-open.


[Vim Plugin] [Improvement] Add comment Support

created a issue in plugin-vim repo - https://github.com/ballerinalang/plugin-vim/issues/8


Text editor

Hi,
I am looking for a text editor which offers MS word like features. Currently we are using Telerik RichTextBox, however since silverlight is not actively supported I am thinking of switching to another editor. Below link works only in IE.
http://demos.telerik.com/silverlight/#RichTextBox/TelerikEditor
The text editor should offer features like Rtf support ability, formatting options, customization.
Could you please suggest if there is another angular text editor control that offers word like features.

I'm submitting a ...

[ ] bug report
[x] feature request
[ ] other (Please do not submit support requests here (see above))

Angular version: 1.3

Browser: [all | Chrome (latest) | Firefox XX | Edge XX | IE 11 | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]

Anything else:

Hey, your issue reads like a support question. This github repo is only for bug reports and feature requests. Please try one of the listed Support Channels. Thanks!

@frederikprijck is right.
There are many RTE out there, and my advice is not to look speficfically at AngularJS editors, because text editors are usually so "close to the metal" that a specific AngularJS implementation is not useful.


Added Set Variables (take 2)

Reviewer checklist

[ ] Test coverage: stack test --coverage
[ ] Public API documentation: stack haddock
[ ] Style conformance: stylish-haskell

@ttuegel I think I've addressed your concerns.


get_aps() is a misleading method name

The get_aps() is a misleading name. This method is returning all devices the controller knows about for the site, not just the APs.
I suggestion a name like get_devices() instead
(Apologies for two issues back to back)

I am opposed to changing this considering I suspect many people have code that already references the original function name.  I will make a change to the code comments though on the function.  I will change it to read "all devices."


raw2iso MODE1_RAW RW does not produce a valid ISO image

The following works:
cdrdao read-cd --read-raw --read-subchan rw_raw --device /dev/cdrom data.toc
raw2iso MODE1_RAW RW_RAW < data.bin > data.iso

The following doesn't:
cdrdao read-cd --read-raw --read-subchan rw --device /dev/cdrom data.toc
raw2iso MODE1_RAW RW < data.bin > data.iso

In that latter case, the iso image is not valid (eg. error using isoinfo or mount).

Thanks for filing. I'll investigate when I find the time. According to the code, raw2iso treats RW and RW_RAW equivalently.

... and thanks for this little piece of code. It was extremely useful to me for archiving old DVD's I had (trying to go full digital), and making sure the ripping was correct, etc.

Cannot reproduce here. Using an old, pressed game CD-ROM and the stock Fedora cdrdao 1.2.4, both methods yield identical results:
[not-a-user@not-a-box scratch]$ raw2iso
Convert raw optical disk images to iso files.

Usage: raw2iso <track-mode> [<sub-channel-mode>] < INPUT.BIN > OUTPUT.ISO

<track-mode>: MODE1_RAW | MODE1 | MODE2_RAW | MODE2_FORM1 | MODE2_FORM2 | MODE2_FORM_MIX
<sub-channel-mode>: RW | RW_RAW

(See cdrdao(1) -> TOC FILES -> Track Specification -> TRACK.)

Note: Error correction/detection data is not checked (try
https://github.com/claunia/edccchk) and errors are not corrected.

raw2iso 0.0.2 - https://github.com/not-a-user/raw2iso
[not-a-user@not-a-box scratch]$ cd raw2iso
[not-a-user@not-a-box raw2iso]$ cdrdao read-cd --read-raw --read-subchan rw_raw --device /dev/sr0 --datafile rw_raw.bin rw_raw.toc
Cdrdao version 1.2.4 - (C) Andreas Mueller<EMAIL_ADDRESS>/dev/sr0: TS8XDVDR Transcend	Rev: 1.66
Using driver: Generic SCSI-3/MMC - Version 2.0 (options 0x0000)

Reading toc and track data...

Track   Mode    Flags  Start                Length
------------------------------------------------------------
 1      DATA    4      00:00:00(     0)     48:13:14(216989)
Leadout AUDIO   0      48:13:14(216989)

PQ sub-channel reading (data track) is supported, data format is BCD.
Raw P-W sub-channel reading (data track) is supported.
Cooked R-W sub-channel reading (data track) is supported.
Copying data track 1 (MODE1_RAW): start 00:00:00, length 48:13:14 to "rw_raw.bin"...
Reading of toc and track data finished successfully.
[not-a-user@not-a-box raw2iso]$ ls
rw_raw.bin  rw_raw.toc
[not-a-user@not-a-box raw2iso]$ cdrdao read-cd --read-raw --read-subchan rw --device /dev/sr0 --datafile rw.bin rw.toc
Cdrdao version 1.2.4 - (C) Andreas Mueller<EMAIL_ADDRESS>/dev/sr0: TS8XDVDR Transcend	Rev: 1.66
Using driver: Generic SCSI-3/MMC - Version 2.0 (options 0x0000)

Reading toc and track data...

Track   Mode    Flags  Start                Length
------------------------------------------------------------
 1      DATA    4      00:00:00(     0)     48:13:14(216989)
Leadout AUDIO   0      48:13:14(216989)

PQ sub-channel reading (data track) is supported, data format is BCD.
Raw P-W sub-channel reading (data track) is supported.
Cooked R-W sub-channel reading (data track) is supported.
Copying data track 1 (MODE1_RAW): start 00:00:00, length 48:13:14 to "rw.bin"...
Reading of toc and track data finished successfully.
[not-a-user@not-a-box raw2iso]$ sha256sum *.bin
db0e8fa3bcb7038e37d1b6ce684ec7edce1e642875ef92e82e1855c68322b97b  rw.bin
dd2c3fbbbf099b2b1e67a64cdf673a5681fed88f97f7571bd741407e6447ba23  rw_raw.bin
[not-a-user@not-a-box raw2iso]$ raw2iso MODE1_RAW RW < rw.bin > rw.iso
converted 216989 sectors
[not-a-user@not-a-box raw2iso]$ raw2iso MODE1_RAW RW_RAW < rw_raw.bin > rw_raw.iso
converted 216989 sectors
[not-a-user@not-a-box raw2iso]$ sha256sum *.iso
b23c8613322d9980d4391a849d279a2e706aa50d6b175c0d47f2354870f47b92  rw.iso
b23c8613322d9980d4391a849d279a2e706aa50d6b175c0d47f2354870f47b92  rw_raw.iso

Which software, hardware and media are you using?
@xeyownt And I thought DVDs already where all digital.


Update command-line tools doc for v2.3.1

Motivation
Update docs of version 2.3.1 as PR #4116.
Modifications
Add some missing subcommands and other updates.

run java8 tests


Make AppImage installable

It'll be useful to have a proper “.desktop” file using https://github.com/TheAssassin/AppImageLauncher, for instance.

While this would be great, I was under the impression that the "official" way to add new AppImages to your system menu is by using https://github.com/AppImage/appimaged ?


Support fractional stoichiometric coefficients for reactants

During #593, the oregonator and e5 analytical tests were converted to pure reactions so that they could be tested on the GPU.
The equations for HIRES were also derived and placed into the comments for that test. However, it requires fractional coefficients on the reactant side which we don't yet support. Support them.
Acceptance criteria

The HIRES test is build from the set of equations and runs on CPU (Jit and regular), and GPU

Ideas

Well, that was completely inaccurate. All of the fractional yields are on the right.


Disable MilestonesEditor features while loading

Any buttons that open a modal are disabled while versions are patched in MilestonesEditor.

Loading cursor is applied to the whole milestone and expandable task list

Found a few things, otherwise this is looking great.
The cursor currently shows default when hovering over delete and settings icons while loading. It could be changed to loading as well. Same thing with the Add new milestone button.
I also noticed that you can change page and come back to milestones editor and then you can move things around and cursor doesn't indicate loading even though it's still loading in the back. That can cause situations where you have same task in multiple milestones (reloading doesn't fix it but moving tasks in milestones will). Seems like that it even counts towards the task values in every milestones where it is.

Thanks for the review Patric!

The cursor currently shows default when hovering over delete and settings icons while loading

This is already fixed

Same thing with the Add new milestone button

Added a fix for this

I also noticed that you can change page and come back to milestones editor and then you can move things around and cursor doesn't indicate loading even though it's still loading in the back. That can cause situations where you have same task in multiple milestones (reloading doesn't fix it but moving tasks in milestones will). Seems like that it even counts towards the task values in every milestones where it is.

I'll add a card about this to Trello, since the problem is applicable to task map as well and should be done in a separate pr.

Just remove the undefined (unless I'm mistaken) css-class

Removed. Should be finally in merge-condition


Update Board.h reference

PR Summary
Small PR - Commit fc7883476c0f0447c49885e614c2c127d7cc7ef4 moved the types Board.h file. This PR adjusts sources to changes.

Good finding, thanks. Would you mind to create a pull-request to the Development branch? The master branch contains always only the latest released version. The Development branch is close to be realeased.

@BlueAndi thank you for the review. I updated the target branch to be Development and updated my own branch with Development changes.

Thanks!


📦 Poetry Build and Dependency Tool

Trying to integrate Poetry with STGraph as a better build tool and easier package management.

Shall not be using Poetry, instead might look into CMake and pip-tools for building and dependency management respectively.


Fix:SQS Receive Message (MessageAttributes) in response

Fix:SQS Receive Message (MessageAttributes) in response
https://github.com/localstack/localstack/issues/2965

Hi @usmangani1, looks like the tests are failing: https://travis-ci.org/github/spulec/moto/builds/725852437
Can we keep the tests untouched? It should be fine to call receive_message without the new param, and the existing tests already cover that.
This just need additional tests to verify that the functionality of the new param

@bblommers  modified existing tests a bit as we are asserting the attributes to be present in the result.After this change we will receive the message attributes in the response only when explicitly requested hence we had to modify the existing tests.

Coverage decreased (-0.3%) to 94.118% when pulling 77d23fb45bb8d4068c780158f1b81931ab74d8f3 on usmangani1:ISSUE2965 into<PHONE_NUMBER>a9f30294f316b81502b545c805fc32 on spulec:master.

This is now part of moto >= 1.3.16.dev47


Z-index issue with drop down menu for MDX components

MDX components hide the menu when multiple components are close to each other.

Hey, all. I'm aware this issue is somewhat old, but I'd like to take a shot at fixing this. Also, that'll help me get acquainted with the codebase.

Seems like it's been fixed?


published extension layers should set "Compatible architectures"

Currently our publishing of extension layers do not specify the compatible architecture. That looks like this in the AWS console:

The result is that one can accidentally select an incompatible ARN from the releases table and the suggested "Verify" in the AWS Console won't help.  This causes a somewhat obvious error when attempting to run or test the function directly, you get this response:
{
  "errorMessage": "RequestId: 2770acd9-e8b3-4043-b246-d68fbeb94f02 Error: fork/exec /opt/extensions/apm-lambda-extension: exec format error",
  "errorType": "Extension.LaunchError"
}

and a similar error message in the logs.
However, if the function is being invoked by some trigger, e.g. API Gateway, it is less obvious what is wrong:
% curl -i https://REDACTED.execute-api.us-west-2.amazonaws.com/defaulttrentstage/trentm-play-fn1
HTTP/2 500
date: Sat, 05 Mar 2022 00:11:57 GMT
content-type: application/json
content-length: 35
apigw-requestid: Oe-gHhxsvHcESMg=

{"message":"Internal Server Error"}

Adding this should just mean adding --compatible-architectures "$(ARCHITECTURE)" to the aws lambda publish-layer-version call here: https://github.com/elastic/apm-aws-lambda/blob/eb3f0417ad9a37cff9abbafd429003fc2d082dbe/apm-lambda-extension/Makefile#L59-L67

This requires at least v2.2.43 of the aws-cli: https://github.com/aws/aws-cli/blob/v2/CHANGELOG.rst#L670

api-change:lambda: Adds support for Lambda functions powered by AWS Graviton2 processors. Customers can now select the CPU architecture for their functions.

I forgot that we removed this in https://github.com/elastic/apm-aws-lambda/pull/112 as some regions are not compatible with some architectures :/
see https://apm-ci.elastic.co/blue/organizations/jenkins/library%2Fapm-aws-lambda-mbp/detail/v0.0.4/1/pipeline/


Add additionalMatchLabels to helm chart.

Description
Adds additionalMatchLabels to the helm values to allow customization of the StatefulSets matchLabels. This configuration will allow for a safe upgrade from chart version 0.2.3 -> 0.2.5 as-is, but also allow for safe upgrades from 0.2.4 -> 0.2.5 with the addition of a additionalMatchLabels option.
Resolves issue: https://github.com/apache/incubator-pinot/issues/7176
Upgrade Notes
Does this PR prevent a zero down-time upgrade? (Assume upgrade order: Controller, Broker, Server, Minion)

[x] Yes (Please label as backward-incompat, and complete the section below on Release Notes)

Does this PR fix a zero-downtime upgrade introduced earlier?

[x] Yes (Please label this as backward-incompat, and complete the section below on Release Notes)

Does this PR otherwise need attention when creating release notes? Things to consider:

New configuration options
Deprecation of configurations
Signature changes to public methods/interfaces
New plugins added or old plugins removed

[ ] Yes (Please label this PR as release-notes and complete the section on Release Notes)

Release Notes
This PR adds a additionalMatchLabels option to customize the StatefulSet match labels. This can be used to maintain multiple StatefulSets within the same kubernetes namespace or to simply maintain tighter control over the  associated match labels. Special consideration should be taken when using the additionalMatchLabels option as is can break backwards compatibility.
If upgrading from chart version <0.2.3 then no additional configuration is needed.
If upgrading from chart verion 0.2.4 then the following option needs to be added to values.yaml to upgrade with zero-downtime.
additionalMatchLabels:
  chart: pinot-0.2.4

Documentation

Codecov Report

Merging #7177 (ba5e555) into master (6d0ab91) will decrease coverage by 8.23%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master    #7177      +/-   ##
============================================
- Coverage     73.49%   65.26%   -8.24%
  Complexity       92       92
============================================
  Files          1500     1500
  Lines         73758    73758
  Branches      10637    10637
============================================
- Hits          54209    48137    -6072
- Misses        16005    22215    +6210
+ Partials       3544     3406     -138

Flag
Coverage Δ

integration
?

unittests
65.26% <ø> (-0.01%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

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


for..of is not IE11 compatible

https://kangax.github.io/compat-table/es6/#ie11
While I appreciate the desire to write modern JavaScript, IE11 is going to have to be "modern" through something like 2020 thanks to the Microsoft support cycle. Transpilers work pretty hard to prevent altering node modules, so the following statement is a lot more complex for most of us than it reads.

Chai as Promised requires Node v4+ or a browser with equivalent support for modern JavaScript syntax. If your browser doesn't support modern JavaScript syntax, you'll need to transpile it down using a tool like Babel.

Would you be will to produce a browser bundle with support for current browsers?

No; please feel free to use whatever tools are appropriate for your project and environment, but that's specific to you, and won't be a part of this library.


[fix] Disable meta http-equiv in static amp

Fixes invalid meta http-equiv tags in static amp docs: https://github.com/sveltejs/kit/issues/4074
Please don't delete this checklist! Before submitting the PR, please make sure you do the following:

[x] It's really useful if your PR references an issue where it is discussed ahead of time. In many cases, features are absent for a reason. For large changes, please create an RFC: https://github.com/sveltejs/kit/issues/4074
[x] This message body should clearly illustrate what problems it solves.
[ ] Ideally, include a test that fails without this PR but passes with it.

Tests

[x] Run the tests with pnpm test and lint the project with pnpm lint and pnpm check

Changesets

[x] If your PR makes a change that should be noted in one or more packages' changelogs, generate a changeset by running pnpx changeset and following the prompts. All changesets should be patch until SvelteKit 1.0

Thank you!


Support multiple configurations

Support two or more aws configuration or specify configuration for model

Could you describe a case when this feature is needed?

Could you describe a case when this feature is needed?

Thank you, for example, in the same rails project, you need to connect two Amazon's DynamoDB, different access_key, secret_key, region

I see. Will add this feature request for the next minor release in 3-4 months.
So actually there are two options:

to specify config options per model statically
to specify it dynamically

Let's consider both options. I am still not sure whether we need only one of them or both.
Option #1
Let's consider an example:
class User
  include Dynamoid::Document

  configure do |config|
    config.access_key = 'REPLACE_WITH_ACCESS_KEY_ID'
    config.secret_key = 'REPLACE_WITH_SECRET_ACCESS_KEY'
    config.region = 'us-west-2'
  end
end

Option #2
Consider another example:
class User
  include Dynamoid::Document
end

Dynamoid.configure(access_key: '', secret_key: '', region: '') do
  User.count
end

I see. Will add this feature request for the next minor release in 3-4 months.
So actually there are two options:

to specify config options per model statically
to specify it dynamically

Let's consider both options. I am still not sure whether we need only one of them or both.
Option #1
Let's consider an example:
class User
  include Dynamoid::Document

  configure do |config|
    config.access_key = 'REPLACE_WITH_ACCESS_KEY_ID'
    config.secret_key = 'REPLACE_WITH_SECRET_ACCESS_KEY'
    config.region = 'us-west-2'
  end
end

Option #2
Consider another example:
class User
  include Dynamoid::Document
end

Dynamoid.configure(access_key: '', secret_key: '', region: '') do
  User.count
end

thank you very much！
Specifying configuration options for the model is more flexible，
If no configuration is specified, the default configuration is used.
This is my humble opinion

I agree, option 1 seems preferable.

It would be very helpful, in my case I'm trying to use a different namespace for one model and it's not possible.

I'd love to see a per-model configuration as well. This helps when needing to deal with data that's sourced from multiple regions (and the source applications can't be housed in a single region).

Will prioritize this task 👍 .

@andrykonchin any updates on this?

@andrykonchin any updates?

No, it isn't implemented yet. I am going to include it into the next release.


BUG: antsRegistration should validate command-line inputs before running

Right now, it's possible to make a mistake such as defining a multi-stage registration with a typo on the last stage, having ants do a bunch of work and then fail. If the inputs were validated before run, this wouldn't happen.

You need to provide more details.  We already do quite a bit of checking.

It would be really great if you provide a patch with the changes that you would like incorporated. That is the most efficient and effective mechanism for inducing the changes you want.
Hans
From:  Nick Tustison<EMAIL_ADDRESS>Reply-To:  stnava/ANTs<EMAIL_ADDRESS>Date:  Wednesday, May 11, 2016 at 9:06 AM
To:  stnava/ANTs<EMAIL_ADDRESS>Subject:  Re: [stnava/ANTs] BUG: antsRegistration should validate command-line inputs before running (#318)
You need to provide more details.  We already do quite a bit of checking.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub

Thanks @hjmjohnson, I try my best to provide PRs when I can, but I'm still learning C++, this is my attempt to at least make you aware of an issue.
@ntustison
I ran into an issue like this:
Buggy antsRegistration call, because typo:
antsRegistration --dimensionality 3 --float 0 --collapse-output-transforms 1 --minc --write-composite-transform --verbose \
    --output [antsRegistration,antsRegistration.mnc] \
    --winsorize-image-intensities [0.01,0.99] --use-histogram-matching 1 \
    --initial-moving-transform [$mnimodel,OAS1_0094_MR1.clean_and_center.n4correct.mnc,1] \
    --transform Rigid[0.1] --metric Mattes[$mnimodel,OAS1_0094_MR1.clean_and_center.n4correct.mnc,1] --convergence [2000,1e-6,10] --shrink-factors 8 --smoothing-sigmas 6.794mm --masks [NULL,NULL] \
    --transform Similarity[0.1] --metric Mattes[$mnimodel,OAS1_0094_MR1.clean_and_center.n4correct.mnc,1] --convergence [2000,1e-6,10] --shrink-factors 4 --smoothing-sigmas 3.397mm --masks [NULL,NULL] \
    --transform Affine[0.1] --metric Mattes[$mnimodel,OAS1_0094_MR1.clean_and_center.n4correct.mnc,1] --convergence [2000x2000x2000,1e-6,10] --shrink-factors 4x4x2 --smoothing-sigmas 3.397x1.698x0.849mm --masks [NULL,NULL] \
    --transform Affine[0.1] --metric Mattes[$mnimodel,OAS1_0094_MR1.clean_and_center.n4correct.mnc,1] --convergence [2000x20002000x,1e-6,10] --shrink-factors 2x2x1 --smoothing-sigmas 0.849x0.424x0mm --masks [$mnimask,NULL]

Note the typo on the convergence specification.
Running this command, antsRegistration ran fine until:
<CLIP>
 2DIAGNOSTIC,    29, -7.805528650576e-01, 1.093195416961e-06, 6.1108e+01, 1.3468e+00,
 2DIAGNOSTIC,    30, -7.805528413733e-01, 1.056290322834e-06, 6.2472e+01, 1.3639e+00,
 2DIAGNOSTIC,    31, -7.805528871201e-01, 1.022430240749e-06, 6.3817e+01, 1.3454e+00,
  Elapsed time (stage 2): 6.5396e+01

Stage 3
  iterations = 2000x20002000
  convergence threshold = 1.0000e-06
  convergence window size = 10
  number of levels = 2
  using the Mattes MI metric (number of bins = 32, weight = 1.0000e+00)
  preprocessing:  winsorizing the image intensities
  preprocessing:  histogram matching the images

ERROR:  The number of shrink factors does not match the number of levels.
Shrink Factors: 3
Number Of Levels: 2

Okay, that's a reasonable request.


Stop setting attributes on class bodies

This behavior has been deprecated since 16.1 and can now be removed in
accordance with our backward-compatibility policy.
Interestingly, this simplified a lot of our code and might even improve performance of class creation.

Yas! I will look at this over the weekend.

Huh, I haven't checked but it's possible this PR will also fix the PyPy incompatibility described here: https://github.com/python-attrs/attrs/issues/174#issuecomment-333335667

I plopped this branch into my work code base, all tests still pass! :D

I think it would be a nice touch to get the ball rolling on slots-style creation and I’d like to have it in the same release as this but it’s a different PR.


Split off async package

Make azure.identity.aio a separate distribution containing all async credentials. Remove Async prefixes from class names.

Closing this as premature--we haven't decided to do it, so it doesn't belong on the backlog.


Video won't play in an adaptive card

I'm testing adaptive card functionality for a to determine if it can be used across Microsoft Help and training. Right now, the blocking issue is I can't get video to play in the card.
{
"type": "Media",
"poster": "https://adaptivecards.io/content/poster-video.png",
"sources": [
{
"mimeType": "video/mp4",
"url": "https://youtu.be/qKG8r1NERl4"
}
Ideally I would like the following video syntax supported:
For Office and Doc videos, we used this syntax: https://www.microsoft.com/videoplayer/embed/RE42hMy
I've also tried adding a YouTube vide with this syntax, but it doesn't work either: https://youtu.be/qKG8r1NERl4

URL: https://adaptivecards.io/blog/

@peterjkrebs - we don't currently support YouTube links for card media and it is not currently in our scope to enable


Adding login_hint parameter in authorizationUrl

This PR enforces redirection to UAA authentication server during dashboard rendering flow.

Pull Request Test Coverage Report for Build 2097

1 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage decreased (-0.02%) to 89.125%

Files with Coverage Reduction
New Missed Lines
%

broker/lib/fabrik/DBManager.js
1
98.88%

Totals

Change from base Build 2061:
-0.02%

Covered Lines:
8293

Relevant Lines:
9003

💛  - Coveralls


[tool_crash] FileSystemException: Cannot create file, OS Error: The data area passed to a system call is too small., errno = 122

Command

@Mkhalide
Can you provide flutter doctor -v and command you ran that throws this error ?


Improve auto-mode-alist configuration

autoload cookie affects only one s-expression. So original code should be written as bellow.
;;;###autoload
(progn
  (add-to-list 'auto-mode-alist '("\\.re\\'" . reason-mode))
  (add-to-list 'auto-mode-alist '("\\.rei\\'" . reason-mode)))

However this is enough to improve regular expression of file extension.

Didn't know that. Thanks for fixing!


tryk8s link not working

Website get "DNS_PROBE_FINISHED_NXDOMAIN" error.

Thanks for reporting this.. I will check and create a separate category, we should report that back to that team

@akiffeyzioglu I've created an issue linked to this to see if we can resolve this. Let's wait a couple of days before removing tryk8s from the list.

Ok. Thanks.

@salaboy it's still not working.

@ShubhamTatvamasi fair enough let's remove it

removed


-d (--debug) does not add debuggable=true to AndroidManifest.xml

Information

Apktool Version (apktool -version) - 2.4.1
Operating System (Mac, Linux, Windows) - elementary OS 5.1.5
APK From? (Playstore, ROM, Other) - Other

Stacktrace/Logcat
$ java -jar /home/surendra/.apklab/apktool_2.4.1.jar b /home/surendra/test --debug
SmaliDebugging has been removed in 2.1.0 onward. Please see: https://github.com/iBotPeaches/Apktool/issues/1061
I: Using Apktool 2.4.1
I: Checking whether sources has changed...
I: Checking whether resources has changed...
I: Building apk file...
I: Copying unknown files/dir...
I: Built apk...
$

Steps to Reproduce

apktool b /decoded/source/dir/ -d or apktool b /decoded/source/dir/ --debug

Frameworks
If this APK is from an OEM ROM (Samsung, HTC, LG). Please attach framework files
(.apks that live in /system/framework or /system/priv-app) NA
APK
If this APK can be freely shared, please upload/attach a link to it.
Questions to ask before submission

Have you tried apktool d, apktool b without changing anything? YES
If you are trying to install a modified apk, did you resign it? NA
Are you using the latest apktool version? YES

By support, I mean adding debuggable=true to AndroidManifest.xml is quite a handy feature and it'll be useful to be kept, which is not working now.

This option was removed in apktool 2.1.0:

SmaliDebugging has been removed in 2.1.0 onward. Please see: https://github.com/iBotPeaches/Apktool/issues/1061

The option is still mentioned in the online documentation but, looking at the link mentioned in the error text, it was removed from the code years ago.

@Ticklefish Yes. I'm aware of that and the original title of my issue was Support -d (--debug) or Remove it from Apktool Documentation but the reason I'm saying it doesn't work is that even though smali debugging is gone, adding debuggable=true to the Manifest, as in documentation, is quite a useful feature and I'd to have it in Apktool.

Hmm, I see what you mean. It looks like that part of the documentation is out of date. Something for @iBotPeaches to look at when they get a chance, perhaps.
The option has definitely gone, there's another reference to this here: https://github.com/OWASP/owasp-mstg/pull/1579
Adding that attribute to the XML is very easy though. Have you tried doing it manually?

@Ticklefish Yes I do it almost always and because it's a frequent task (decode -> make debuggable -> build) I want to have it in apktool.
I'm also developing https://github.com/Surendrajat/APKLab on top of apktool, It will be nice if I can rely on apktool for this.

Yeah so the -d parameter wasn't handled the best. It was of course deprecated then removed because SmaliDebugging was useless in comparison to smali-idea.
However, a few alert users noticed that -d also automatically set the debug property during recompilation which was then no longer possible. So during the deprecation process and thus removal, I kept that feature. Then aapt2 came along and since it was deprecated (technically removed at that point) - I just forgot about it.
It seems at this point the command should just be re-labeled to "debug mode" that sets debuggable and double checking if it indeed works on aapt2/aapt1.

aapt2
➜  debug git:(master) ✗ apktool d app-debug.apk -f
I: Using Apktool 2.4.2-f545c2-SNAPSHOT on app-debug.apk
I: Loading resource table...
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: /home/ibotpeaches/.local/share/apktool/framework/1.apk
I: Regular manifest package...
I: Decoding file-resources...
I: Decoding values */* XMLs...
I: Baksmaling classes.dex...
I: Baksmaling classes2.dex...
I: Copying assets and libs...
I: Copying unknown files...
I: Copying original files...
➜  debug git:(master) ✗ apktool b app-debug -b --use-aapt2
I: Using Apktool 2.4.2-f545c2-SNAPSHOT
I: Checking whether sources has changed...
I: Smaling smali folder into classes.dex...
I: Checking whether sources has changed...
I: Smaling smali_classes2 folder into classes2.dex...
I: Checking whether resources has changed...
I: Building resources...
I: Copying libs... (/kotlin)
I: Building apk file...
I: Copying unknown files/dir...

I: Smaling smali_classes2 folder into classes2.dex...
I: Building resources...
I: Copying libs... (/kotlin)
I: Building apk file...
I: Copying unknown files/dir...

Thanks a lot. But I see -b in the logs you posted. So is it -d or -b now? :)
Expecting a new release soon :crossed_fingers:

Good catch.
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: /home/ibotpeaches/.local/share/apktool/framework/1.apk
I: Regular manifest package...
I: Decoding file-resources...
I: Decoding values */* XMLs...
I: Baksmaling classes.dex...
I: Copying assets and libs...
I: Copying unknown files...
I: Copying original files...

Rebuilt with aapt1 + debug
➜  debug git:(master) ✗ apktool b app-debug -d
I: Using Apktool 2.4.2-f545c2-SNAPSHOT
I: Checking whether sources has changed...
I: Smaling smali folder into classes.dex...
I: Checking whether resources has changed...
I: Building resources...
I: Copying libs... (/kotlin)
I: Building apk file...
I: Copying unknown files/dir...
I: Built apk...
➜  debug git:(master) ✗

➜  dist git:(master) ✗ aapt d xmltree app-debug.apk AndroidManifest.xml | grep 'debuggable'
      A: android:debuggable(0x0101000f)=(type 0x12)0xffffffff
➜  dist git:(master) ✗

Confirmed aapt1. Now force aapt2 rebuild
➜  debug git:(master) ✗ apktool b app-debug -d -f --use-aapt2
I: Using Apktool 2.4.2-f545c2-SNAPSHOT
I: Smaling smali folder into classes.dex...
I: Building resources...
I: Using aapt2 - setting 'debuggable' attribute to 'true' in AndroidManifest.xml
I: Copying libs... (/kotlin)
I: Building apk file...
I: Copying unknown files/dir...
I: Built apk...
➜  debug git:(master) ✗

➜  dist git:(master) ✗ aapt d xmltree app-debug.apk AndroidManifest.xml | grep 'debuggable'
      A: android:debuggable(0x0101000f)=(type 0x12)0xffffffff
➜  dist git:(master) ✗

Will update docs to fix this confusion.

Tool warning removed about smali-debugging mode - https://github.com/iBotPeaches/Apktool/commit/590f9c1392d6752048624cd0facc8a9de816f2d5

Updated docs. Closing again. All looks okay - https://github.com/iBotPeaches/Apktool/commit/fc6c418f938ba513b693dfd918ea84fa7a9ecbdd

Super. Was waiting to add this feature to https://github.com/Surendrajat/APKLab. Thanks again!


addTelemetryProcessor no longer exported by AzureMonitorTraceExporter

Package Name:
@microsoft/opentelemetry-exporter-azure-monitor
Package Version:
#master

Describe the bug
addTelemetryProcessor is no longer available as indicated in the documentation.
azureMonitorExporter.addTelemetryProcessor((envelope) => {
                       ^
TypeError: azureMonitorExporter.addTelemetryProcessor is not a function

To Reproduce
Steps to reproduce the behavior:

Hand build a .tgz from the master branch
Install the .tgz

Expected behavior
addTelemetryProcessor is still exported, as it was the only exposed method to adjust outgoing telemetry and to set the rolename (which was hardcoded to Node.js) -- preview customers were instructed to use this hook and it has been removed.

This feature was deprecated and removed at the request of the monitor team.

This is unacceptable and makes this entirely unusable. The documentation
and everyone in the preview team chat was told to use this to set their
role name and customize outgoing data. What's the replacement mechanism for
this?
Can someone from the monitor team please reach out, I've been trying to
ship this for months and it feels like every step you guys take is a step
backwards. Nobody appears to be advocating for the basic needs
consumers/customers.
On Thu, Dec 10, 2020, 10:41 PM Jeff Fisher<EMAIL_ADDRESS>wrote:

This feature was deprecated and removed at the request of the monitor team.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/Azure/azure-sdk-for-js/issues/12856#issuecomment-742947046,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAIEMKB3EGDRQNJWAIPF5JLSUGIF3ANCNFSM4UVQ3O3Q
.

To provide a small update: I am talking to the service team about this issue to better understand what needs to be done here. Clearly, there has been some miscommunication. I will update again once it is clear what needs to be done to fix this scenario.

My understanding is that this feature is being replaced by the work specified in #12880, but I'll let @hectorhdzg confirm.

We are updating ApplicationInsights role properties logic to align with OpenTelemetry specification, the exporter would read service resource to populate this field and will not be adding "Node.js" anymore, more info regarding OpenTelemetry resources here
If resource is not provided roleName and roleInstance would be empty by default.

We are not adding support for telemetry processors in Azure Monitor Exporter, this is out of scope of the exporter and similar functionalities could be achieved using Resources SDK https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/resource/sdk.md and SpanProcessors https://github.com/open-telemetry/opentelemetry-specification/blob/main/specification/trace/sdk.md#span-processor, let us know if some scenario is not covered so we can address it in OpenTelemetry SDK side.


Split r container?

@grongierisc what do you about splitting r into 2 containers:

rserve container https://github.com/stevenpollack/docker-rserve
JGW container <- JRE based

Current build time for me [+] Building 1053.8s (12/12) FINISHED
I think this change would considerable lower build time and possibly space used (due to the lack of compilation/installation etc).

I was not able to split Rserve and the JG because of "com.intersystems.rgateway.Helper".
This helper seems to be only capable to connect to localhost Rserver.
If you manage to make it work a PR is welcome.

Separated containers, please check PR.

Thx


fix: button doesn't function properly

Describe the bug
The arrow button in the team section only works on clicking the arrow in the button (which is on a minute area)
Expected behaviour
The button should work on clicking anywhere on the button.
Screenshots

Additional context
No response
Code of Conduct

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

can u assign this issuen to mee

Will you work on this @Viveksati5143 ?

Will you work on this @Viveksati5143 ?

Yes!

Will you work on this @Viveksati5143 ?

Assign it to me


Improve documentation

Add a link to paket docs
Explicit the need to include Bulma by linking to Bulma docs

Is Fulma adding Bulma to devDependencies? If so we need to run yarn add bulma before adding Fulma or we get warning "bulma" is already in "devDependencies". Please remove existing entry first before adding it to "dependencies".

Fulma is not touching your pakcage.json
If you have this warning this is because you already included Bulma in your package.json file.

fable-elmish-react is intended to allow user to play with Elmish.
What you are asking is a template dedicated to Fulma: #82

Just for info, we now have a template for Fulma
https://mangelmaxime.github.io/Fulma/#template

Either both home page or both getting started page I think.
Both solution have their problem at least user will be inform he need to check the projects and look at their documentation.

I'll have a look tomorrow and come up with something


Sort dropdown flashes when loading issue/pr list

Description
When viewing the issue or pr list, there is a short flash of the sort dropdown content.

Can you reproduce the bug on the Gitea demo site?
Yes

1.19 is not affected, so this is a very recent regression.

I guess it's related to

https://github.com/go-gitea/gitea/pull/23806

the initial purpose is for:

#23625

let me see

Removing the "left" style of the "menu" resolves the flash. If you don't mind, I will make the fix in #23856 together, to save time.

Don't mind, but there might be more similar cases, should grep for them.

Actually, I do mind a bit as there is no relation, so separate PR might be good :)

Don't mind, but there might be more similar cases, should grep for them.

Nope, there won't. The whole story is:
Since the popup position calculation is not stable, so I think it's good to make the "Sort" menu always have the "left" position. However, the "left" style have "display: flex", it should be used with "hidden" together. I didn't find the flash because my window is not large enough during my test. To make things simple, remove the "left" style.
So, it's a simple fix. I just pushed ... and I will update the description.


[enhancement]: enable re-entry to images created with img2img

Is there an existing issue for this?

[X] I have searched the existing issues

Contact Details
<EMAIL_ADDRESS>What should this feature add?

Alternatives
I imported a photo of mine by dragging it from File Explorer into the txt2img window.
I then "shared" it to img2img and used img2img to generate a subsequent image.
Now, a few days later, I want to reload that generated image with all the settings that I used to generate it so that I can continue working on it.
When I do reload the PNG from the gallery, both the "</>" metadata and the "*" (use all) buttons are greyed out and the UI reports "No metadata available"  So, there appears to be no way I can recover the UI settings that were in place on that image after I moved on to other images.
"invoke.chat" users report that this is normal behaviour.  No metadata is available for img2img created files. I do see metadata in the file invoke_log.txt that lives in my outdir, but it is very large and attempts to manually enter the metadata into the UI failed.
Is there no way I can re-open an img2img-generated file with all the UI settings restored?
Aditional Content
No response

The generated images usually have the seed in the filename, like id.hash.seed.png. If you have the seed, you can search invoke_log.txt for it. cat invoke_log.txt | grep seed.

Thanks, Simon.  I did find the image's metadata in invoke_log.txt, but
failed at re-entering it back into the UI.  Some of the parameters are
difficult to identify for this newbie.
Having this metadata easily recoverable would be a great help in future
releases.
Again, thanks.  InvokeAI continues to astound this landscape photographer.
all the best
Peter
On Wed, 8 Mar 2023 at 21:26, Simon Fuhrmann @.***>
wrote:

The generated images usually have the seed in the filename, like
id.hash.seed.png. If you have the seed, you can search invoke_log.txt for
it. cat invoke_log.txt | grep seed.
—
Reply to this email directly, view it on GitHub
https://github.com/invoke-ai/InvokeAI/issues/2887#issuecomment-1461260613,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A6CIDDYE6F4GKZKVXIHDDODW3FLYRANCNFSM6AAAAAAVS5T52I
.
You are receiving this because you authored the thread.Message ID:
@.***>

Hi Peter, you definitely should be able to do this (I do it all the time). Do you mind sharing the generated image whose metadata you want to recall? Please drag and drop it into a reply to this issue.

psychedelicious:
A user named "void" just gave me the answer to the question "where did my
metadata go?"  '
My use of the Unified Canvas in the editing process was the common
denominator.
I haven't tested this yet, but that definitely maps to my workflow in
those cases.
SD is the best thing to happen to my photography since I retired as a
Hollywood cinematographer over 20 years ago.
THANK YOU, DEVS!  :)
Peter
On Sun, 12 Mar 2023 at 05:27, psychedelicious @.***>
wrote:

Hi Peter, you definitely should be able to do this (I do it all the time).
Do you mind sharing the generated image whose metadata you want to recall?
Please drag and drop it into a reply to this issue.
—
Reply to this email directly, view it on GitHub
https://github.com/invoke-ai/InvokeAI/issues/2887#issuecomment-1465183471,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A6CIDD35T7ME3JE3V6KUAJ3W3W6LTANCNFSM6AAAAAAVS5T52I
.
You are receiving this because you authored the thread.Message ID:
@.***>

It would still be useful to have the original generation parameters, even though the edits and such are lost. This is because often, for organizational/space purposes, you remove the pre-edit image (this may be less of a problem once we have more robust gallery management), which can lead to losing the parameters. The log file is insufficient in this case since, if you have deleted the original file, you won't know what to look for.
Perhaps add an 'edited' flag in the metadata so the system can pop 'this image was edited' warning while still allowing you to get not lose the parameters.

I was actually just searching for this. I have a similar workflow to @Void2258 It would be amazing if the images I edit on canvas could keep there original metadata.

The more I work with img2img and InvokeIA, the more I wish for the ability to re-enter previously processed img2img images.
In the fever of my early (delighted) experiences with IIA I didn't record what source images were used for gens.  Now, if I wish to try again IIA'ing an existing processed image with new knowledge and  skills, I can't.  I don't need all the brush strokes from the Unified Canvas, all I need is EXIF data in the gen that gives me the ID of the original source file and the adjustment parameters I used for that image.
Even though it's completely taken over my life, I'm still absolutely in love with this tool.  Can't wait for Version 3 and I can't wait to start paying so I can support your awesomeness.

It is possible to copy the generation data from the Console into the "File Info" area of the generated image while working in Photoshop.  If you also manually input the source filename, it may be possible to re-enter a previously-created image and continue working.  Testing underway.


How to convert a trained model to onnx

Thank you for your kind release of the codes, I have successfully applied it to my own data and got good performace. But may I ask how to export a trained model to onnx format? In tools/export.py, you gave an example but missing "forward_test" function. I tried to write one, but when I run torch.onnx.export() function, it meets an error like "RuntimeError: Tracer cannot infer type of [{'boxes_3d': LiDARInstance3DBoxes", could you give me some clues on how to solve this issue? Thank you so much!

I got the same error, can anyone give some solution? thanks

We currently do not support exporting the model to ONNX, but it is under consideration for future updates.


Unable to use after updating to v1.2.1

Unable to use after updating to v1.2.1

Please provide more context


Update partition-data.md

Trying to keep it short. In this document we are explaining the concept so lets leave  the code out of this document. Creating some more emphasis on certain things which i see users often forget or overlook. Remove some implementation detail about hashing etc. No need to bring it up.
Made the file shorter. Removed the code from this file, the code should go to a new file and a link be provided for the code.

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

@mimig1  - Lets discuss.

@rsarosh : Thanks for your contribution to the Azure documentation! The author, @arramac, has been notified to review your proposed change.

@rafats - If possible, can you close this PR and move it to the private repo?


Navigating from a Global Badge to a Cross Project Skill is broken

If a Global Badge has skills from more than one project, when the user goes to the Global Badge's page and clicks on the name of one of the cross project skills to view the skill page, there's instead an error like so:
Invalid token - proxyingSystemId [proj1] does not match resource projectId [proj2]

PR: #1743

:+1:


StationSampler module

Description
This PR intends to solve

https://github.com/GEOS-ESM/MAPL/issues/1994

MAPL_StationSamplerMod.F90 is added to read in obs. station data (e.g., aeronet), then write out 2D and 3D interpolated values in netCDF form specified by HISTORY.rc file, such as output frequency and duration.
Related Issue

https://github.com/GEOS-ESM/MAPL/issues/1994
https://github.com/GEOS-ESM/MAPL/issues/567
https://github.com/GEOS-ESM/MAPL/pull/1993

Motivation and Context

How Has This Been Tested?

test with ExtDataDriver.x
test interpolation results again analytic functions
test with multiple MPI ranks
test via multiple-day HISTORY runs, generating multiple nc files

Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Trivial change (affects only documentation or cleanup)

Checklist:

[ ] I have tested this change with a run of GEOSgcm (if non-trivial)
[x] I have added one of the required labels (0 diff, 0 diff trivial, 0 diff structural, non 0-diff)
[ ] I have updated the CHANGELOG.md accordingly following the style of Keep a Changelog

Continue working offline


Redirect to connections after signup

After creating a new account, the connections overview is displayed. Since new accounts don't have any needs, the create-need view should be shown instead.

i think this issue will become obsolete once we implement the quick need card to overview

create view is integrated in the connections view now -> issue will be closed


improve username logic for running non-sudo tasks on mac

this avoids us hard-coding the username on macOS

No it’s just that some of the Mac’s have an admin account and others have administrator, using this var allows us to auto detect it

Possibly a silly question but where is the auto-detection. I see
        - "ansible_user: {{ ansible_user | default('***Undefined***') }}"

Is it really autodetected somewhere or something we will set as a parameter for each machine?

ansible_user is a built-in ansible variable :)

So the answer is "It's hard coded in the inventory file and taken from there" right?

No it’s got nothing to do with the inventory file, it’s essentially the equivalent of ansible running whoami. On the username that’s used to ssh to the machine before elevating to root


Load balanced RestTemplate should be created LAZY

When auto configuration is enabled, a load balanced RestTemplate is always created even if not required by any other components in the application context. When used together with spring-cloud-netflix for instance, it pulls other dependencies as well...
Why not marking LoadBalancerAutoConfiguration.loadBalancedRestTemplate() @LAZY?
For instance, RestTemplate is not used in a Feign/Ribbon/Eureka scenario.

I'm not keen on doing this.  Only one RestTemplate is created, not one for each client like the problem with RestClient.  What other dependencies are a problem?  I may consider disabling creation of the RestTemplate bean based on configuration.  Pull requests welcome.


Adapt to EDC v0.0.1-milestone-9

Will have to put this PR on hold until DSP Protocol samples are released.

Merging with v0.1.3 compatibility


IndexError: tuple index out of range

Steps to Recreate
Do the necessary Imports
# useful additional packages
import matplotlib.pyplot as plt
import numpy as np
import networkx as nx

from qiskit.tools.visualization import plot_histogram
from qiskit.circuit.library import TwoLocal
from qiskit_optimization.applications import Maxcut, Tsp
from qiskit_algorithms import SamplingVQE, NumPyMinimumEigensolver
from qiskit_algorithms.optimizers import SPSA
from qiskit_algorithms.utils import algorithm_globals
from qiskit.primitives import Sampler
from qiskit_optimization.algorithms import MinimumEigenOptimizer
from qiskit import QuantumCircuit, ClassicalRegister, QuantumRegister
from qiskit import Aer, execute
from qiskit.circuit import Parameter
# General imports
import numpy as np
import warnings
warnings.filterwarnings("ignore")

# Pre-defined ansatz circuit, operator class and visualization tools
from qiskit.circuit.library import QAOAAnsatz
from qiskit.quantum_info import SparsePauliOp
from qiskit.visualization import plot_distribution

# Qiskit Runtime
from qiskit_ibm_runtime import QiskitRuntimeService
from qiskit_ibm_runtime import Estimator, Sampler, Session, Options

# SciPy minimizer routine
from scipy.optimize import minimize

# rustworkx graph library
import rustworkx as rx
from rustworkx.visualization import mpl_draw

Create an QAOA ansatz with the help of a simple max cut instance:
# Generating a graph of 4 nodes

seed = 1
num_nodes = 8
G = nx.random_regular_graph(d=3, n=num_nodes, seed=seed)
nx.draw(G, with_labels=True, pos=nx.spring_layout(G, seed=seed))

maxcut = Maxcut(G)
problem = maxcut.to_quadratic_program()
print(problem.prettyprint())

Made Ising Hamiltonian
qubitOp, offset = problem.to_ising()
print("Offset:", offset)
print("Ising Hamiltonian:")
print(str(qubitOp))

Make a QAOA Ansatz out of it
# QAOA ansatz circuit
ansatz = QAOAAnsatz(qubitOp, reps=1)

# the reps in decompose means, the number of times the circuit should be decomposed
# for example reps = 2 means circuit.decompise().decompose()
ansatz.decompose(reps=3).draw(output="mpl", style="iqp",fold=-1)

Transpile it and then look for best cuts
circuit_basis = transpile(ansatz, basis_gates=['u3', 'cx'], optimization_level=3)
from circuit_knitting.cutting import partition_problem
from circuit_knitting.cutting.cut_finding.cco_utils import qc_to_cco_circuit
circuit_ckt = qc_to_cco_circuit(circuit_basis)

import numpy as np
from circuit_knitting.cutting.cut_finding.circuit_interface import SimpleGateList
from circuit_knitting.cutting.cut_finding.lo_cuts_optimizer import LOCutsOptimizer
from circuit_knitting.cutting.cut_finding.optimization_settings import (
    OptimizationSettings,
)
from circuit_knitting.cutting.cut_finding.quantum_device_constraints import (
    DeviceConstraints,
)

settings = OptimizationSettings(rand_seed=12345)

settings.set_engine_selection("CutOptimization", "BestFirst")

qubits_per_QPU = 6
num_QPUs = 3

for num_qpus in range(num_QPUs, 1, -1):
    for qpu_qubits in range(qubits_per_QPU, 1, -1):
        print(f"\n\n---------- {qpu_qubits} Qubits per QPU, {num_qpus} QPUs ----------")

        constraint_obj = DeviceConstraints(qubits_per_QPU=qpu_qubits, num_QPUs=num_QPUs)

        interface = SimpleGateList(circuit_ckt)

        op = LOCutsOptimizer(interface, settings, constraint_obj)

        out = op.optimize()

        print(
            " Gamma =",
            None if (out is None) else out.upper_bound_gamma(),
            ", Min_gamma_reached =",
            op.minimum_reached(),
        )
        if out is not None:
            out.print(simple=True)
        else:
            print(out)

        print(
            "Subcircuits:",
            interface.export_subcircuits_as_string(name_mapping="default"),
            "\n",
        )

The top two results from these are :
---------- 6 Qubits per QPU, 3 QPUs ----------  Gamma = 64.0 , Min_gamma_reached = True [OneWireCutIdentifier(cut_action='CutLeftWire', wire_cut_location=WireCutLocation(instruction_id=22, gate_name='cx', input=1)), OneWireCutIdentifier(cut_action='CutLeftWire', wire_cut_location=WireCutLocation(instruction_id=30, gate_name='cx', input=1)), OneWireCutIdentifier(cut_action='CutRightWire', wire_cut_location=WireCutLocation(instruction_id=47, gate_name='cx', input=2))] Subcircuits: AAABAABBBAB
and
---------- 5 Qubits per QPU, 3 QPUs ----------  Gamma = 144.0 , Min_gamma_reached = True [CutIdentifier(cut_action='CutTwoQubitGate', gate_cut_location=GateCutLocation(instruction_id=10, gate_name='cx')), CutIdentifier(cut_action='CutTwoQubitGate', gate_cut_location=GateCutLocation(instruction_id=12, gate_name='cx')), OneWireCutIdentifier(cut_action='CutLeftWire', wire_cut_location=WireCutLocation(instruction_id=30, gate_name='cx', input=1)), OneWireCutIdentifier(cut_action='CutRightWire', wire_cut_location=WireCutLocation(instruction_id=47, gate_name='cx', input=2))] Subcircuits: AABAABBBAB
But then I make use of the following code:
from circuit_knitting.cutting import find_cuts

# Specify settings for the cut-finding optimizer
optimization_settings = {"rand_seed": 1157}

# Specify the size and number of the QPUs available
device_constraints = {"qubits_per_QPU": 5, "num_QPUs": 3}

cut_circuit, metadata = find_cuts(circuit_basis, optimization_settings, device_constraints)
print(
    f'Found solution using {len(metadata["cuts"])} cuts with a sampling '
    f'overhead of {metadata["sampling_overhead"]}.'
)

It gives the following Error:
IndexError: tuple index out of range
It works fine for (6,3) case, but always shows error on the (5,3) case. Given the cut is possible, why is it still not giving the resultant circuit.
I also tried the latest verison of the code, i.e
from circuit_knitting.cutting import (
    OptimizationParameters,
    DeviceConstraints,
    find_cuts,
)

# Specify settings for the cut-finding optimizer
optimization_settings = OptimizationParameters(seed=111)

# Specify the size of the QPUs available
device_constraints = DeviceConstraints(qubits_per_qpu=5)

cut_circuit, metadata = find_cuts(circuit_basis, optimization_settings, device_constraints)
print(
    f'Found solution using {len(metadata["cuts"])} cuts with a sampling '
    f'overhead of {metadata["sampling_overhead"]}.'
)
for cut in metadata["cuts"]:
    print(f"{cut[0]} at index {cut[1]}")
cut_circuit.draw("mpl", scale=0.8, fold=-1)

It still gives the same error for qubits_per_qpu=5. It works fine for other numbers. My Quantum Circuit is an 8 qubit one, given the (5,3) format adds extra qubit, do I have to manually add extra qubits before passing it on the code?

Thank you for the report.
It appears you are using the branch of PR #471 -- is that correct?
Ultimately, I expect we will expose only find_cuts as a public API.

Yes, I am using that. In one of my earlier reported issues, I mentioned another problem with the same code as well.
Now as I'm implementing a QAOA, I'm getting this error.
This was the previous error.

Trying to reproduce this, I'm assuming networkx is imported as nx?  Also, where is Maxcut imported from?

I updated my code to show that detail.
On Thu, Mar 21, 2024 at 11:46 PM Ibrahim Shehzad @.***>
wrote:

Trying to reproduce this, I'm assuming networkx is imported as nx? Also,
where is Maxcut imported from?
—
Reply to this email directly, view it on GitHub
https://github.com/Qiskit-Extensions/circuit-knitting-toolbox/issues/508#issuecomment-2012719354,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/APBYKUSA6M7B3UC2BT5YNODYZL6GVAVCNFSM6AAAAABFA5EAPWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMJSG4YTSMZVGQ
.
You are receiving this because you authored the thread.Message ID:
@.***
com>

Thank you.  After the latest push, (with commits 3305225  and 0c5d50f) this bug should now be fixed. Please follow up if it persists. Note also that this tutorial  will eventually be deprecated and only the one here will be kept.

Hi, it does work, but in the code of DeviceConstraint, we can only set the qubits_per_qpu, is the functionality where we can also provide number of qpu's as an argument deprecated?
class DeviceConstraints:
    """Specify the constraints (qubits per QPU) that must be respected."""

    qubits_per_qpu: int

    def __post_init__(self):
        """Post-init method for data class."""
        if self.qubits_per_qpu < 1:
            raise ValueError("qubits_per_QPU must be a positive definite integer.")

    def get_qpu_width(self) -> int:
        """Return the number of qubits supported on each individual QPU."""
        return self.qubits_per_qpu

That was helpful, since we can get even less overhead sampling if we can divide it into three different subcircuits!

Follow up: this attribute has now been renamed to qubits_per_subcircuit to avoid confusion.

Thanks @Ibrahim-Shehzad , that helped clear a lot of confusion.


Remove Joshy's face from Seminar Page

Over the past few months, the seminar has transitioned from being my thing to more of a DevHub Team thing. I think this is a good direction for the seminar to continue heading in. To that end, my face should be removed from the Seminar page.

#666 ftw lol


Requests for 2.0 listening

We've been working a bit on our own deeptream fork modifying it for our specific needs. In particular we are using CouchDB as our storage and conflict resolution framework. However, we would still like to stay as close as possible to deepstream server and if possible maintain some compatibility with the official javascript client. I would like to at least highlight the changes here for future consideration.

We've added the concept that all records exists virtually as {}. There is no such thing as whether a record exists or not and "deleting" a record is essentially the same as setting it to {}. This greatly simplifies a lot of things and allows us to remove the CREATEORREAD, CREATE, DELETE, HAS and SNAPSHOT actions. In particular it resolves some asynchronous races client side.
PATCH and UPDATE messages take a fourth argument which specifies the parent (previous) version. This allows us to implement master-master setups with server merges where versions for PATCH and UPDATE are not guaranteed to be monotonic. If the client receives a PATCH which is out of order he has to issue a READ to receive a complete record. This also allows us to recover from network partitions (#384).
versions are no longer an integer but a string with the following format: ${version}-${uuid}. This is to allow conflicts to be merged even after a network partition.

Using these scheme it would be rather easy to implement offline support in clients using e.g. https://pouchdb.com.

We are also considering adding another argument to PATCH and UPDATE to give the server a hint whether this specific version of the record needs to be persisted or not. This is useful for certain records that are updated a lot but only the first and last state is critical (e.g. progress/status for a task).

We've added the concept that all records exists virtually as {}.

Isn't this essentially the purpose anonymous records serve?

Anonymous records are a client thing. Not sure how that is related?

Not really, anonymous records are useful to change records on the client side while keeping the bindings intact (more about this here).
Records are implicitly created when calling ds.record.getRecord( someName ) however you can check if a record exists using ds.record.has( someName, exists => {})

Closing this as things have diverged quite a bit.


Update License.txt line width to display correctly in Windows setup

This file was mismerged in the 0.24 refresh.  Merging to fix line breaks in setup exe.


fix(cmd): use list instead of find in cli

long-running ask from @sanderson :)
Change all places in the CLI where we have find to use list. We inconsistently use the two in our CLI, so this adds more consistency in the UX.
Also adds find (to make this non-breaking) and ls (to be more unixy) as aliases for the command.

@rawkode good call

we're going to want to update the tests as well to verify it hits the list endpoint, we may also want to run these same tests for the find cmd to maintain that backweards compatibility in our testing. Example here:
https://github.com/influxdata/influxdb/blob/master/cmd/influx/organization_test.go#L78


Add Task + Bookmark commands and JMESPath option to adoc

@aaschaer This seemed like the nicest way to get our changes merged together prior to going into the main repo. I'll see if I can do another chunk of commands later.
My formatting may have differed slightly from yours here and there, but I think that's okay -- we can resolve later if necessary.

Sounds good, merging.


error installing dependencies

i get this error when running
sudo -H pip3.5 install --upgrade -r requirements.txt
on my pi
Collecting discord.py[voice]~=0.12.0 (from -r requirements.txt (line 1))
  Using cached discord.py-0.12.0.zip
Collecting youtube_dl (from -r requirements.txt (line 2))
  Using cached youtube_dl-2017.2.14-py2.py3-none-any.whl
Requirement already up-to-date: pip in /usr/local/lib/python3.5/site-packages (from -r requirements.txt (line 3))
Collecting aiohttp<1.1.0,>=1.0.0 (from discord.py[voice]~=0.12.0->-r requirements.txt (line 1))
  Using cached aiohttp-1.0.5.tar.gz
Collecting websockets<4.0,>=3.1 (from discord.py[voice]~=0.12.0->-r requirements.txt (line 1))
  Using cached websockets-3.2-py33.py34.py35-none-any.whl
Collecting PyNaCl==1.0.1 (from discord.py[voice]~=0.12.0->-r requirements.txt (line 1))
  Using cached PyNaCl-1.0.1.tar.gz
    Complete output from command python setup.py egg_info:
    Package libffi was not found in the pkg-config search path.
    Perhaps you should add the directory containing `libffi.pc'
    to the PKG_CONFIG_PATH environment variable
    No package 'libffi' found
    Package libffi was not found in the pkg-config search path.
    Perhaps you should add the directory containing `libffi.pc'
    to the PKG_CONFIG_PATH environment variable
    No package 'libffi' found
    Package libffi was not found in the pkg-config search path.
    Perhaps you should add the directory containing `libffi.pc'
    to the PKG_CONFIG_PATH environment variable
    No package 'libffi' found
    Package libffi was not found in the pkg-config search path.
    Perhaps you should add the directory containing `libffi.pc'
    to the PKG_CONFIG_PATH environment variable
    No package 'libffi' found
    Package libffi was not found in the pkg-config search path.
    Perhaps you should add the directory containing `libffi.pc'
    to the PKG_CONFIG_PATH environment variable
    No package 'libffi' found
    c/_cffi_backend.c:15:17: fatal error: ffi.h: No such file or directory
    compilation terminated.
    Traceback (most recent call last):
      File "/usr/local/lib/python3.5/distutils/unixccompiler.py", line 116, in _compile
        extra_postargs)
      File "/usr/local/lib/python3.5/distutils/ccompiler.py", line 909, in spawn
        spawn(cmd, dry_run=self.dry_run)
      File "/usr/local/lib/python3.5/distutils/spawn.py", line 36, in spawn
        _spawn_posix(cmd, search_path, dry_run=dry_run)
      File "/usr/local/lib/python3.5/distutils/spawn.py", line 159, in _spawn_posix
        % (cmd, exit_status))
    distutils.errors.DistutilsExecError: command 'gcc' failed with exit status 1

    During handling of the above exception, another exception occurred:

    Traceback (most recent call last):
      File "/usr/local/lib/python3.5/distutils/core.py", line 148, in setup
        dist.run_commands()
      File "/usr/local/lib/python3.5/distutils/dist.py", line 955, in run_commands
        self.run_command(cmd)
      File "/usr/local/lib/python3.5/distutils/dist.py", line 974, in run_command
        cmd_obj.run()
      File "/usr/local/lib/python3.5/site-packages/setuptools/command/bdist_egg.py", line 161, in run
        cmd = self.call_command('install_lib', warn_dir=0)
      File "/usr/local/lib/python3.5/site-packages/setuptools/command/bdist_egg.py", line 147, in call_command
        self.run_command(cmdname)
      File "/usr/local/lib/python3.5/distutils/cmd.py", line 313, in run_command
        self.distribution.run_command(command)
      File "/usr/local/lib/python3.5/distutils/dist.py", line 974, in run_command
        cmd_obj.run()
      File "/usr/local/lib/python3.5/site-packages/setuptools/command/install_lib.py", line 11, in run
        self.build()
      File "/usr/local/lib/python3.5/distutils/command/install_lib.py", line 107, in build
        self.run_command('build_ext')
      File "/usr/local/lib/python3.5/distutils/cmd.py", line 313, in run_command
        self.distribution.run_command(command)
      File "/usr/local/lib/python3.5/distutils/dist.py", line 974, in run_command
        cmd_obj.run()
      File "/usr/local/lib/python3.5/site-packages/setuptools/command/build_ext.py", line 75, in run
        _build_ext.run(self)
      File "/usr/local/lib/python3.5/distutils/command/build_ext.py", line 338, in run
        self.build_extensions()
      File "/usr/local/lib/python3.5/distutils/command/build_ext.py", line 447, in build_extensions
        self._build_extensions_serial()
      File "/usr/local/lib/python3.5/distutils/command/build_ext.py", line 472, in _build_extensions_serial
        self.build_extension(ext)
      File "/usr/local/lib/python3.5/site-packages/setuptools/command/build_ext.py", line 196, in build_extension
        _build_ext.build_extension(self, ext)
      File "/usr/local/lib/python3.5/distutils/command/build_ext.py", line 532, in build_extension
        depends=ext.depends)
      File "/usr/local/lib/python3.5/distutils/ccompiler.py", line 574, in compile
        self._compile(obj, src, ext, cc_args, extra_postargs, pp_opts)
      File "/usr/local/lib/python3.5/distutils/unixccompiler.py", line 118, in _compile
        raise CompileError(msg)
    distutils.errors.CompileError: command 'gcc' failed with exit status 1

    During handling of the above exception, another exception occurred:

    Traceback (most recent call last):
      File "/usr/local/lib/python3.5/site-packages/setuptools/sandbox.py", line 157, in save_modules
        yield saved
      File "/usr/local/lib/python3.5/site-packages/setuptools/sandbox.py", line 198, in setup_context
        yield
      File "/usr/local/lib/python3.5/site-packages/setuptools/sandbox.py", line 255, in run_setup
        DirectorySandbox(setup_dir).run(runner)
      File "/usr/local/lib/python3.5/site-packages/setuptools/sandbox.py", line 285, in run
        return func()
      File "/usr/local/lib/python3.5/site-packages/setuptools/sandbox.py", line 253, in runner
        _execfile(setup_script, ns)
      File "/usr/local/lib/python3.5/site-packages/setuptools/sandbox.py", line 47, in _execfile
        exec(code, globals, locals)
      File "/tmp/easy_install-2xitgbh0/cffi-1.9.1/setup.py", line 202, in <module>
        if self.distribution.has_c_libraries():
      File "/usr/local/lib/python3.5/distutils/core.py", line 163, in setup
        raise SystemExit("error: " + str(msg))
    SystemExit: error: command 'gcc' failed with exit status 1

    During handling of the above exception, another exception occurred:

    Traceback (most recent call last):
      File "/usr/local/lib/python3.5/site-packages/setuptools/command/easy_install.py", line 1106, in run_setup
        run_setup(setup_script, args)
      File "/usr/local/lib/python3.5/site-packages/setuptools/sandbox.py", line 258, in run_setup
        raise
      File "/usr/local/lib/python3.5/contextlib.py", line 77, in __exit__
        self.gen.throw(type, value, traceback)
      File "/usr/local/lib/python3.5/site-packages/setuptools/sandbox.py", line 198, in setup_context
        yield
      File "/usr/local/lib/python3.5/contextlib.py", line 77, in __exit__
        self.gen.throw(type, value, traceback)
      File "/usr/local/lib/python3.5/site-packages/setuptools/sandbox.py", line 169, in save_modules
        saved_exc.resume()
      File "/usr/local/lib/python3.5/site-packages/setuptools/sandbox.py", line 144, in resume
        six.reraise(type, exc, self._tb)
      File "/usr/local/lib/python3.5/site-packages/six.py", line 685, in reraise
        raise value.with_traceback(tb)
      File "/usr/local/lib/python3.5/site-packages/setuptools/sandbox.py", line 157, in save_modules
        yield saved
      File "/usr/local/lib/python3.5/site-packages/setuptools/sandbox.py", line 198, in setup_context
        yield
      File "/usr/local/lib/python3.5/site-packages/setuptools/sandbox.py", line 255, in run_setup
        DirectorySandbox(setup_dir).run(runner)
      File "/usr/local/lib/python3.5/site-packages/setuptools/sandbox.py", line 285, in run
        return func()
      File "/usr/local/lib/python3.5/site-packages/setuptools/sandbox.py", line 253, in runner
        _execfile(setup_script, ns)
      File "/usr/local/lib/python3.5/site-packages/setuptools/sandbox.py", line 47, in _execfile
        exec(code, globals, locals)
      File "/tmp/easy_install-2xitgbh0/cffi-1.9.1/setup.py", line 202, in <module>
        if self.distribution.has_c_libraries():
      File "/usr/local/lib/python3.5/distutils/core.py", line 163, in setup
        raise SystemExit("error: " + str(msg))
    SystemExit: error: command 'gcc' failed with exit status 1

    During handling of the above exception, another exception occurred:

    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-build-9vfynp3l/PyNaCl/setup.py", line 259, in <module>
        "Programming Language :: Python :: 3.5",
      File "/usr/local/lib/python3.5/distutils/core.py", line 108, in setup
        _setup_distribution = dist = klass(attrs)
      File "/usr/local/lib/python3.5/site-packages/setuptools/dist.py", line 317, in __init__
        self.fetch_build_eggs(attrs['setup_requires'])
      File "/usr/local/lib/python3.5/site-packages/setuptools/dist.py", line 372, in fetch_build_eggs
        replace_conflicting=True,
      File "/usr/local/lib/python3.5/site-packages/pkg_resources/__init__.py", line 851, in resolve
        dist = best[req.key] = env.best_match(req, ws, installer)
      File "/usr/local/lib/python3.5/site-packages/pkg_resources/__init__.py", line 1123, in best_match
        return self.obtain(req, installer)
      File "/usr/local/lib/python3.5/site-packages/pkg_resources/__init__.py", line 1135, in obtain
        return installer(requirement)
      File "/usr/local/lib/python3.5/site-packages/setuptools/dist.py", line 440, in fetch_build_egg
        return cmd.easy_install(req)
      File "/usr/local/lib/python3.5/site-packages/setuptools/command/easy_install.py", line 674, in easy_install
        return self.install_item(spec, dist.location, tmpdir, deps)
      File "/usr/local/lib/python3.5/site-packages/setuptools/command/easy_install.py", line 700, in install_item
        dists = self.install_eggs(spec, download, tmpdir)
      File "/usr/local/lib/python3.5/site-packages/setuptools/command/easy_install.py", line 881, in install_eggs
        return self.build_and_install(setup_script, setup_base)
      File "/usr/local/lib/python3.5/site-packages/setuptools/command/easy_install.py", line 1120, in build_and_install
        self.run_setup(setup_script, setup_base, args)
      File "/usr/local/lib/python3.5/site-packages/setuptools/command/easy_install.py", line 1108, in run_setup
        raise DistutilsError("Setup script exited with %s" % (v.args[0],))
    distutils.errors.DistutilsError: Setup script exited with error: command 'gcc' failed with exit status 1

    ----------------------------------------

Command "python setup.py egg_info" failed with error code 1 in /tmp/pip-build-9vfynp3l/PyNaCl/

i have installed everything else according to the instructions however when running
sudo apt-get install libopus-dev libffi-dev libsodium-dev
i get
E: Unable to locate package libsodium-dev
even though ive run
sudo add-apt-repository ppa:chris-lea/libsodium -y

welp, i managed to fix the problem. turns out libsodium dev wasnt needed, but since i ran the command
sudo apt-get install libopus-dev libffi-dev libsodium-dev
it didn't install libopus or libffi since it couldn't find libsodium, so installing them separately fixed the issue
sudo apt-get install libopus-dev
sudo apt-get install libffi-dev

I had the exact same problem on my Pi and it took me a while to find thispost. A change to the wiki would be really helpful.


Add Inputs config documentation to the HostConfig page

Microsoft Reviewers: Open in CodeFlow

Docs Build status updates of commit 53f9c18:
:warning: Validation status: warnings

File
Status
Preview URL
Details

AdaptiveCards/rendering-cards/host-config.md
:warning:Warning

Details

AdaptiveCards/rendering-cards/host-config.md

Line 27, Column 6: [Warning-bookmark-not-found] Cannot find bookmark '#schema-inputsconfig' in 'rendering-cards/host-config.md', did you mean '#schema-inputlabelconfig'?

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel

Docs Build status updates of commit d37ef11:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

AdaptiveCards/rendering-cards/host-config.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel

Docs Build status updates of commit dba9232:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

AdaptiveCards/authoring-cards/input-validation.md
:white_check_mark:Succeeded

AdaptiveCards/rendering-cards/host-config.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel

Docs Build status updates of commit df6a34e:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

AdaptiveCards/authoring-cards/input-validation.md
:white_check_mark:Succeeded

AdaptiveCards/rendering-cards/host-config.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching in the Docs contributor and Admin GuideSee the frequently asked questionsPost your question in the Docs support channel


Updated change-log for EVE plugin

Description
Updating the docs (wiki) change-log to include EVE plugin.
Use case
EVE plugin needed to be added into 107, but that had already branched, so the docs submodule needed to be updated.
Benefits
Updated wiki
Possible Drawbacks
None
Testing
note to submitters and reviewers: documentation-only changes may reflect
changes in other repos that can result in new or different output from
REST endpoints. In turn, these may require new tests or changes to existing tests.
Have you added/modified unit tests to test the changes?
If so, do the tests pass/fail?
Have you run the entire test suite and no regression was detected?
Changelog
Are you changing the functionality of an endpoint? If so, please give a one line summary for the public facing changelog.
eg. [/xenobiology/orthologs] Added the ability to look up orthologs and paralogs from klingons and andorians

Coverage remained the same at 44.32% when pulling eb14c180528ca9763823fce00baf978ecc5f8e8c on 107/wiki_update_main into 3e7c80ae0ab5098cc83ff8948d1011779091d4e2 on main.