[GST Plugin] Audio is garbled with WebRTC

I'm working on using the gstreamer + kvsplugin as a way to ingest some video streams into KVS for real-time monitoring. The gstreamer pipeline runs successfully, but if I preview the audio in the AWS web console or via the browser example, the audio is coming out scrambled/garbled.

I think the underlying cause is codec incompatibility between the kvsplugin sinks and the underlying KVS WebRTC service. No matter which format that is given to kvsplugin (audio/mpeg, audio/x-mulaw, or audio/x-alaw), the plugin always reports it's codec as audio/opus. So the end result is the browser is decoding AAC encoded audio using the opus decoder.
It feels if the GST plugin is meant to support both KVS Video Streams and WebRTC, then it should handle some codec conforming, so that a single audio/video input can be routed to both a Video Stream or Signaling channel. If kvsplugin is meant to support both WebRTC and VideoStreams but not in the same pipeline then it may make sense to add an audio sink that accepts audio/x-opus. What's the best path forward here?

Thank you for bringing this to our attention.  It appears we have hardcoded opus here, we are working on the change properly declare support for opus/mulaw/alaw.   We do not support AAC in WebRTC.  We'll use the gstreamer parameter that's passed in to select which of opus/mulaw/alaw to send.  You can find our supported audio/video codecs here:
https://github.com/awslabs/amazon-kinesis-video-streams-webrtc-sdk-c/tree/master/src/source/Rtp/Codecs

@adamthesax ,
I have PR out to fix the issue? Would you like to give it a try?

@adamthesax ,
the changes are merged. Feel free to reach out if you face any issues.

Thanks for putting in a fix and sorry for the delay in getting back to you. I'm still having a tough time getting audio working cleanly. With your latest changes, I can send mulaw or alaw audio, which KVS recognizes as such (audio/PCMU), but playback is still distorted (my test tone sounds like it has shifted down in frequency). Maybe it is something with my pipeline, but it's pretty straight forward.

Also there isn't a declared sink on kvsplugin for audio/x-opus so even though internally the plugin is detecting if we are sending opus, alaw or mulaw, there is no way to pipe opus audio into the plugin.
Thanks again for the help!

@adamthesax ,
I tested with the pipeline you provided previously, juts replacing with mulaw/alaw and the allow sample rate (8000 or 12000)
Yes, audio/x-opus was removed in previous PR since WebRTC supports opus but not producer. Will need to look into it.
In the meantime, can you try this pipeline? You raudio sample rate is 48000 which mulawenc or alawenc does not support.  Moving to 8000 sample rate does fix this problem, but the audio quality isn't great. From my understanding of the link you sent, mulawenc supports a range from 8000 to 192000. Consider this pipeline:
gst-launch-1.0 audiotestsrc is-live=TRUE ! queue ! audioconvert ! audioresample ! mulawenc ! audio/x-mulaw,rate=48000 ! decodebin ! autoaudiosink

mulawenc is happy to encode at various sample rates between 8kHz and 192kHz, but kvsplugin is expecting it to be at 8kHz. I looks like 8 kHz is baked into the webrtc-sdk but it's a bit unclear from the WebRTC spec if 8kHz is a hard requirements for PCM audio.
From WebRTC Audio Codec and Processing Requirements

For all cases where the endpoint is able to process audio at a sampling rate higher than 8 kHz, it is RECOMMENDED that Opus be offered before PCMA/PCMU.

I recognize the long term solution here may be to move to Opus for better quality at a lower bitrate (recognizing that there's still work to integrate opus support into kvsplugin), but in the short term, do you know if the 8kHz is an KVS/SDK limitation or an actual limitation of the WebRTC spec?

@adamthesax ,
I do notice that the audio is not clear at a sampling rate higher than 8KHz. And yes, we hardcode the audio sample rate in the WebRTC C SDK. And I am assuming the limit was set based on the recommendation. It would be best to proceed with Opus for now.
I have a PR sitting to include Opus. Can you try it out?

@disa6302 Yes happy to test out Opus support, just point me at the PR

https://github.com/aws-samples/amazon-kinesis-video-streams-demos/pull/162

Alright I checked out your branch and built it. I think the big problem right now in terms fo Opus support is there is not declared sink for audio/x-opus so GST can't build a pipeline from opusenc to kvsplugin. At a minimum I think we need to declare that kvsplugin accepts audio/x-opus here but when I add that, I get:
2021-03-29 19:59:13 ERROR   gst_kvs_plugin_change_state(): Failed to initialize track with 0x00000002
ERROR: from element /GstPipeline:pipeline0/GstKvsPlugin:kvs: Could not initialize supporting library.
Additional debug info:
/Users/211351/code/thirdparty/amazon-kinesis-video-streams-demos/gst/gst-kvs-plugin/src/GstPlugin.c(1296): gst_kvs_plugin_change_state (): /GstPipeline:pipeline0/GstKvsPlugin:kvs:
Failed to initialize with 0x00000002

I thus I think we also need to support opus in initTrackData()

I think that is where the problem is. The code needs some refactoring. The issue is, the KVS producer does not support OPUS and the initTrackData uses producer to initialize. I am going to make some changes to outsource this to the plugin and then reference in WebRTC. Stay tuned...

@adamthesax ,
Can you test the PR?
I tested with a-law, mu-law and opus and it works. Would like o get it verified from you as well.

🙌  Yes! Opus is working for me. Ran into one little missing ;:
GstPlugin.c:1372:59: error: expected ';' after expression
```
After I patched that up opus is working and sounding great!

@adamthesax ,
PR is merged. Feel free to open a new issue if you have any questions.


Synchrotron: Add linking device logic

As stated in the README, the Synchrotron device is just a collection of unconnected simualted iocs. The topup, currrent, countdowns etc all have behavior that can be simulated and linked with the inputs & output busses.

As stated in issue #3 , the goal was a minimum working device. It would be ideal to now have the device behave slighlty more naturally and implement the topup gating behaviour of the records
Required:
Include internal logic to link the top-up timers and the current (See high level apps confluence for Top UP gating).

For testing Artemis it would be useful to have a backdoor for this (https://github.com/dls-controls/tickit/issues/83 is the best way to do this but in the meantime we can just have a PV that we can write to from ophyd)

Something else that would be nice for this ticket : Changing the PV names to all be prefixed with S03-SIM (or something similar)  instead of BL03S, since BL03S  is a beamline prefix and the synchrotron is beamline agnostic.

I think the machine PVs within 'synchrotron' should stay as close to the 'real' PVs as possible, but with some kind of designation of simulation in there.  eg SR-CS-FILL-01:ENDCOUNTDN could become SR-SIM-FILL-01:ENDCOUNTDN, and CS-CS-MSTAT-01:MODE could become CS-SIM-MSTAT-01:MODE

@evalott100 is this finished? Please may you check over it and close it if so.


GDScript: Allow void functions to return calls to other void functions

Closes #71169

Rebased to fix conflicts.

Thanks!


Update the tool ourselves ?

Would it be possible for us to understand how to actually update the tool ourselves ? From what i've seen changes are just being made on memory.hpp, changing a line but i dont know anything about code so i really dont know what these number means...
I'd love to be able to update the tool myself instead of waiting for it to work and being uploaded.
Love the work though, thank you :)

As a web developer, I'm curious too. What specializations must I learn to understand them?

It's hard to explain in just a couple of sentences. I've made the source code public, so if you're interested, you can learn it yourself.

Please update version 14.18, bro

It doesnt need an update, it still works with the 14.17 version, i was just asking for next updates


grant 70000 on the same scopes

Library

[ ]<EMAIL_ADDRESS>or<EMAIL_ADDRESS>[ ]<EMAIL_ADDRESS>[X]<EMAIL_ADDRESS>[ ]<EMAIL_ADDRESS>[ ]<EMAIL_ADDRESS>[ ]<EMAIL_ADDRESS>[ ]<EMAIL_ADDRESS>[ ]<EMAIL_ADDRESS>
Framework

[ ] Angular
[X] React
[ ] Other

Description
Error Message
AADSTS70000: The request was denied because one or more scopes requested are unauthorized or expired. The user must first sign in and grant the client application access to the requested scope.
MSAL Configuration
// Provide configuration values here.
// For Azure B2C issues, please include your policies.

Frontend scopes:
Mail.Send%20Mail.Read%20offline_access
Backend scopes:
["Mail.Send", "Mail.Read", "offline_access"]
Reproduction steps
Code to run in frontend (react in my case):
window.open(https://login.microsoftonline.com/common/oauth2/v2.0/authorize?client_id=${clientId}&response_mode=query&response_type=code&redirect_uri=${redirectUri}&scope=Mail.Send%20Mail.Read%20offline_access, "Popup","toolbar=no, location=no, statusbar=no, menubar=no, scrollbars=1, resizable=0, width=580, height=600, top=30")}>
Code to run in backend (node in my case):
const redirectUri = ${process.env.BASE_URL}/api/users/callback/microsoft
const tokenRequest = {
code: req.query.code,
scopes: ["Mail.Send", "Mail.Read", "offline_access"],
redirectUri: redirectUri,
};
cca.acquireTokenByCode(tokenRequest).then((response) => {
console.log("\nResponse: \n:", response);
res.send(" ")
}).catch((error) => {
console.log(error);
res.send(" ")
});
// Provide relevant code snippets here.
// For Azure B2C issues, please include your policies.

Expected behavior
Oauth2 should receive access token and refresh token using the code
Identity Provider

[X] Azure AD
[ ] Azure B2C Basic Policy
[ ] Azure B2C Custom Policy
[ ] ADFS
[ ] Other

Browsers/Environment

[X] Chrome
[ ] Firefox
[ ] Edge
[ ] Safari
[ ] IE
[ ] Other (Please add browser name here)

Regression

[ ] Did this behavior work before?
Version:

Security

[ ] Is this issue security related?

Source

[ ] Internal (Microsoft)
[ ] Customer request

Isn't this the same as #3304 ? Please confirm and let me know, will close this

Yes, it is.
On Fri, Mar 26, 2021 at 6:36 AM Sameera Gajjarapu @.***>
wrote:

Isn't this the same as #3304
https://github.com/AzureAD/microsoft-authentication-library-for-js/issues/3304
? Please confirm and let me know, will close this
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/AzureAD/microsoft-authentication-library-for-js/issues/3303#issuecomment-807911788,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAEKPQC2MTFH7WLRAORUYGDTFP6MDANCNFSM4ZZRVVUQ
.

--
[image: linkedin] https://www.linkedin.com/company/tigon-recruiter
Daniel Gorlovetsky
CEO
Tigon Recruiter
+972-50-749-6556
www.tigon-recruiter.com


Add CustomNPCs to loadbefore

This pr loads the plugin before my plugin, CustomNPCs,  which prevents issues with NPC initialization. This seems like it is working around the solution, when the plugin should load on startup, not post world. This can be achieved by putting load: STARTUP in the plugin.yml. This would probably take some testing with other dependencies, to ensure seamless integration.

I believe load: STARTUP caused other problems, either related to the default worlds not having been initialized yet, or stuff related to load order because it yanks BKCommonLib to load before all this, too. Your fix looks alright. Typically what i find is people adding a softdepends of My_Worlds along with Multiverse but this works too.


Clarify the use of [SEP] tokens in HotpotQA

In HotPotQa, there are "[SEP]" tokens after "[TLE]" tokens, I assume(?) there were added by the organizers. For example, qid eaf089c068d2433f88f8f6b70d9946a9 from hotpotqa dev starts with the text "[PAR] [TLE] York [SEP] York () is a...."
However, the use of [SEP] tokens is not documented, and as far as I can tell, in other datasets [TLE] tokens are followed by [PAR] tokens not [SEP] tokens.
Was this intentional? If so, can you clarify how [SEP] tokens are used?

Hi Chris,
Sorry for the confusion and that this was not documented. This is a special case for HotpotQA. Here paragraphs are associated with a title (rather than full documents). The convention we chose was [PAR] [TLE] <The Title> [SEP] <The content.> [PAR] [TLE] <The Next Title> [SEP] <The next content.>.
For full documents, we chose [DOC] [TLE] <The Document Title> [PAR] <The first paragraph.> [PAR] <The second paragraph.>.


请问0.2.x如果要使用nacos配置中心需要配置两次能解决么

dubbo.registry.address=nacos://<IP_ADDRESS>:8848
spring.cloud.nacos.config.server-addr=<IP_ADDRESS>:8848
请问这种情况下可以合并么

Good idea, It will be resolved in Dubbo Spring Cloud that releases soon.

Please reference to Dubbo Spring Cloud, this feature has been supported:
https://github.com/spring-cloud-incubator/spring-cloud-alibaba/tree/master/spring-cloud-alibaba-examples/spring-cloud-alibaba-dubbo-examples


[FEATURE]: [OpenNode] Use connector_request_reference_id as reference to the connector

:memo: Feature Description

We transmit our reference id from Hyperswitch to the connector, enabling merchants to subsequently locate the payment within the connector dashboard.
Presently, there is a lack of uniformity in this process, as some implementations employ payment_id while others utilize attempt_id.
This inconsistency arises from the fact that payment_id and attempt_id correspond to two distinct entities within our system.

:hammer: Possible Implementation

To mitigate this confusion, we've introduced a new field called connector_request_reference_id in our RouterData.
This id should replace them as a reference id to the connector for payment request.
One might need to have exposure to api docs of the connector for which it is being implemented.
You can check this PR for further reference https://github.com/juspay/hyperswitch/pull/2052

:bookmark: Note : All the changes needed should be contained within hyperswitch/crates/router/src/connector/
:package: Have you spent some time checking if this feature request has been raised before?

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

:package: Have you read the Contributing Guidelines?

[X] I have read the Contributing Guidelines

:sparkles: Are you willing to submit a PR?

Hi there,
I hope you're doing well! I came across this issue and I'm excited about the opportunity to contribute to Hacktoberfest. It looks like a great fit for my skills and interests.
I would love to work on this issue and make a meaningful contribution to the project. Could you please assign it to me, or provide guidance on how I can get started? I'm eager to collaborate with the team and ensure the issue is resolved effectively.
Thank you for your time, and I'm looking forward to being part of this project!
Best regards,
Mohd Shakeel

Hey @shakeel-3 , sure! I've assigned this to you.
In case you have any queries, you can ask them on this issue thread, or on our discord server, or on slack whichever you are comfortable with

Hey @shakeel-3  ,
Let us know if you face any issues. Happy to help! : )


[postmortem][devicelab] Add redundancy for every test bed config

There are a few devicelab test bed configs that have a single test bed. We need add redundancy at least two test beds per config.
This is to avoid situations when a single failing test bed prevents the validation of PRs per days.

Currently we have 4 configs that needs redundancy, do we want to cover all of them?

Yes, ideally we should have at least two of each combination.

Closing as obsolete.


Unexpected token, expected {

Hello everybody!
I am trying to code with node on Atom, using script package.
Here is the simple example:
var mysql = require('mysql');
var connection = mysql.createConnection({
host     : 'localhost',
user     : 'root',  //your root username (leave as root)
database : 'users',   //the name of your db (create this if you haven't already)
password : process.env.password   //your root user's password
});
var q = 'SELECT * FROM users';
connection.query(q, function (err, results, fields) ({
if (err) throw err;
console.log(results);
});
connection.end();
I saved it but when I ran the code I do receive feedback :
SyntaxError: C:/Users/.atom/packages/script/node_modules/.bin/babel: Unexpected token, expected { (12:52)
10 | var q = 'SELECT * FROM users';
11 |

12 | connection.query(q, function (err, results, fields) ({
|                                                     ^
13 |   if (err) throw err;
14 |   console.log(results);
15 | });
[Finished in 1.772s]

I did check into previous issues but none of them could help, anyone has idea how to solve that issue?
Thanks for any help!

This issue in your code:
connection.query(q, function (err, results, fields) { // <-- remove '('
...

Thanks a lot, I am blind after hours of coding
cheers!


⚠ Bofrost.at has degraded performance

In d34927d, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1270 ms

Resolved: Bofrost.at performance has improved in 7be5d95 after 6 minutes.


Meson does not set rpath for non-pkg-config dependencies

When a dependency is found using compiler.find_library, meson will not add it to the rpath.
Upstream issue
Affected packages

[x] pulseeffects

Fortunately, we have a hook that solves that for us by filling the rpath anyway.

I think https://github.com/mesonbuild/meson/pull/7103 may fix this?


MWPW-139968: Catalog Marquee

Introduces a Catalog Marquee variant which includes a list of product mnemonics and titles for catalog page.

Resolves: MWPW-139968
Xd: https://xd.adobe.com/view/432e3b75-3e56-4ea2-bc4b-b5e13c9ee2cd-167d/screen/83d63683-6649-47d4-951d-444ef03bff12/specs/

Test URLs:

Before: https://main--cc--adobecom.hlx.page/products/catalog?martech=off
After: https://main--cc--adobecom.hlx.page/products/catalog?milolibs=MWPW-139968--milo--axelcureno&martech=off

URL for testing:

https://main--cc--adobecom.hlx.page/products/catalog?milolibs=MWPW-139968--milo--axelcureno&martech=off

shouldn't that CSS at least be in CC css? or could we somehow inherit that marquee in CC in a special catalog-marquee? i find it a bit cumbersome to add all that code to all pages using marquee (which is a fair number)

shouldn't that CSS at least be in CC css? or could we somehow inherit that marquee in CC in a special catalog-marquee? i find it a bit cumbersome to add all that code to all pages using marquee (which is a fair number)

While reviewing the PR, I agree with @npeltier : ideally, we should not add catalog specific marquee features to the generic marquee block in milo. How about starting a discussion and involve other consumers to see if there is a need outside of the catalog page and cc?

IMO, marquee should know nothing about catalogs and any other blocks and I'd rather make catalog block responsible in enhancing any marquee related to it. Because catalog needs this enhancement and knows how to do it best.

@Axelcureno we should move the css and js logic in separate files in the marquee folder and load them only if it is marquee with an include section.
There should be no reference to catalog, but it should look and be generic.

@Axelcureno we should move the css and js logic in separate files in the marquee folder and load them only if it is marquee with an include section. There should be no reference to catalog, but it should look and be generic.

I'd move new files to catalog folder, not marquee

@vladen

I'd move new files to catalog folder, not marquee

The includes section is not necessarily specific to catalog. We can keep it generic.
I would call it includes.js and includes.css


destroy() doesn't work

If I use
var stickySidebar = new StickySidebar('#sidebar-container');
stickySidebar.destroy();
I get this error on browser console
Uncaught TypeError: this.removeEventListener is not a function
at StickySidebar.destroy (sticky-sidebar.js:722)
at theme.js:1288
at dispatch (jquery-1.11.1.min.js:3)
at r.handle (jquery-1.11.1.min.js:3)
Could you please check? Thanks!

I fixed that in version 3.2.0, check it out. Thanks 👍


Unbound listen issues

In order to have unbound listen on virtual IPs, it's not sufficient to select "ALL". Instead, each vip has to be selected individually.
The interfaces list misses localhost, so to have unbound listen on localhost again, I had to add interface: <IP_ADDRESS> in the custom section

7127524124a79246175eb7b887731d7539e28ab4 should fix your issue:
# opnsense-patch 712752412

closing unless something came up. included in 16.7.9 tomorrow


Alternate output formats

It might be nice to support some alternate formats for the tool's output, primarily CSV to make it easy to import into spreadsheets, airtable, etc. With CSV it may be helpful to add a secondary option to enable or disable the header row.
Secondarily maybe JSON would make sense to make it easier to leverage output in other tools? Not sure how this would make sense to output yet (eg. grouped by month with a breakdown of services or grouped by service and broken down by month).
Example of expected use:
Default (existing)
aws-cct --start 2020-08-01 --end 2020-09-01 --service "Amazon Elastic Compute Cloud - Compute"

+---------------------------+------------+------------+----------+
| SERVICE                   | 2020-08-01 | 2020-09-01 | DELTA    |
+---------------------------+------------+------------+----------+
| BoxUsage:m4.large         | $33.65     | $32.56     | -$1.09   |
| HeavyUsage:t3.nano        | $0.00      | $0.00      | $0.00    |
| USE1-APS2-AWS-In-Bytes    | $0.00      | $0.00      | $0.00    |
| USE1-USE2-AWS-In-Bytes    | $0.00      | $0.00      | $0.00    |
| HeavyUsage:m4.large       | $0.00      | $0.00      | $0.00    |
...

CSV
aws-cct --start 2020-08-01 --end 2020-09-01 --service "Amazon Elastic Compute Cloud - Compute" --output csv

SERVICE,2020-08-01,2020-09-01,DELTA
BoxUsage:m4.large,$33.65,$32.56,-$1.09
HeavyUsage:t3.nano,$0.00,$0.00,$0.00
...

CSV (no header)
aws-cct --start 2020-08-01 --end 2020-09-01 --service "Amazon Elastic Compute Cloud - Compute" --output csv --no-header

BoxUsage:m4.large,$33.65,$32.56,-$1.09
HeavyUsage:t3.nano,$0.00,$0.00,$0.00
...

This is something that was already on my mind actually 😄
CSVs are useful for reports, so I'm all for getting this up in the near future.
Thanks for providing detail on how would you want it. I appreciate that.

I think there's definitely some value in providing alternative output formats, particularly to allow other tools to process the output. For example, you could pipe this to grep to pull out some line items and do something with the results.
CSV or maybe pipe-separated values might be a good candidate for this as most text processing tools could handle those.
A related feature might be to leave out output formatting, like dollar signs and commas. This could make parsing and math operations easier.


Changes (4 of 4) related to Power BI going from preview to GA.

Number 4 of 4 breaking out PR108486 into multiple PRs. PR108486 has already been approved and signed off.
Per prior arrangement, if this PR also needs approval, only @eriklindeman should be notified. Thanks.

@deniseatmicrosoft

Can you review this PR?
IMPORTANT: When this content is ready to merge, you must add #sign-off in a comment or the approval may get overlooked.

cc: @eriklindeman
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

#sign-off

@eriklindeman - These commits should be moved into the private repo for staging and automated checks.

This PR is staged in https://github.com/MicrosoftDocs/azure-docs-pr/pull/239169

It looks like @eriklindeman intends to sign off https://github.com/MicrosoftDocs/azure-docs-pr/pull/239168. After it's reviewed and merged, this PR should be closed.


Better handling of AsdfInFits

Issue #182 proposed more intelligent handling of FITS files with ASDF extensions. This branch allows AsdfInFile.open to handle URIs, open file handles, and HDULists, whereas previously it only handled HDULists. Also, AsdfFile.open now attempts to handle FITS files with ASDF extensions if the given file-like object is not obviously ASDF. Comments on implementation, code style, documentation, etc. welcome.

Whoops, looks like I pushed this a little prematurely since it definitely broke some tests. It's not yet obvious to me what the issue is but it appears to be related to changes to AsdfFile.open. I will resolve on Monday.

Coverage increased (+0.03%) to 93.83% when pulling c900d6934d26cdf2d7eb6284f0d5d4b606a683e5 on asdf-in-fits into 4a43822e12020642280f7ee8cfa78fb29dfaf256 on master.

Looks reasonable to me.

@drdavella This needs a change log entry.

Coverage increased (+0.03%) to 93.83% when pulling c342eed72892b9ff72f8ea1f1fb1219206330809 on asdf-in-fits into 4a43822e12020642280f7ee8cfa78fb29dfaf256 on master.

@drdavella I forgot to mention that we have adopted the convention to use the pull request number in CHANGES.rst, not the issue number.
Could you add a test case and perhaps an example in the docs. I am currently getting an error trying this with a fits file but my setup may be the problem.

I added an issue (#246) to address the bug you were seeing with missing extensions.

Coverage decreased (-0.01%) to 93.792% when pulling f4519f24bf447238a644e2b409ef734e3257f3c1 on asdf-in-fits into 4a43822e12020642280f7ee8cfa78fb29dfaf256 on master.

Coverage increased (+0.2%) to 94.032% when pulling dd933521353ad0a5d81c26de0bd0066ff98f5a40 on asdf-in-fits into 4a43822e12020642280f7ee8cfa78fb29dfaf256 on master.


Improve min stake detection

If tx reverts due to min stake, automatically restake immediately

Arbius has a $250 AIUS bounty for this issue!
Please read carefully:
To begin work on a bounty, reply by saying “I claim this bounty” - you will have 48 hours to submit your PR before someone else may attempt to claim this bounty.
To complete the bounty, within 48 hours of claiming, reply with a link to your PR referencing this issue and an Ethereum address. You must comply with reviewers comments and have the PR merged to receive the bounty reward. Please be sure to focus on quality submissions to minimize the amount of time reviewers must take.

from web3 import Web3
from web3.exceptions import TransactionNotFound
Initialize Web3 provider
web3 = Web3(Web3.HTTPProvider('https://mainnet.infura.io/v3/YOUR_INFURA_PROJECT_ID'))
Address of the account submitting transactions
account_address = 'YOUR_ACCOUNT_ADDRESS'
private_key = 'YOUR_PRIVATE_KEY'
Function to resubmit a transaction with increased stake
def resubmit_transaction(tx_hash, new_stake):
try:
# Get the failed transaction details
tx = web3.eth.get_transaction(tx_hash)
    # Increase the stake amount
    tx['value'] = new_stake

    # Resign the transaction
    signed_tx = web3.eth.account.sign_transaction(tx, private_key)

    # Send the transaction
    tx_receipt = web3.eth.send_raw_transaction(signed_tx.rawTransaction)

    print(f"Transaction resubmitted: {tx_receipt.hex()}")

except TransactionNotFound:
    print("Transaction not found.")

Function to monitor for reverted transactions
def monitor_transactions():
# Get all transactions sent by the account
transactions = web3.eth.get_transaction_count(account_address)
for nonce in range(transactions):
    try:
        # Get transaction details
        tx = web3.eth.get_transaction(account_address, nonce=nonce)

        # Check if the transaction reverted
        if tx['blockHash'] is None:
            # Resubmit transaction with increased stake
            new_stake = web3.eth.get_balance(account_address) // 10  # Increase stake by 10%
            resubmit_transaction(tx['hash'], new_stake)

    except TransactionNotFound:
        continue

Main loop to continuously monitor transactions
while True:
monitor_transactions()

I claim this bounty


Basic Question: What is this?

Title is self explanatory. But what is this and what is it for? Personal Project or work related?

Yea it's work related got a new job fam
On Jun 8, 2016 1:50 PM, "Chinedum Ukejianya"<EMAIL_ADDRESS>wrote:

Title is self explanatory. But what is this and what is it for? Personal
Project or work related?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/jace45/twu-biblioteca-jamesS/issues/1, or mute the
thread
https://github.com/notifications/unsubscribe/AGaLmYoepiEbBrPFlT0CMngkLniRmxe3ks5qJwDNgaJpZM4IxOX2
.

I heard. Im going to text you. So I dont spam your repo


maxDropWidth for MultiSelect

Hello,
Well, I have so many items with small length (each 10 characters at most) , but the width of the input element is 800px. As I see currently the drop-down menu is getting initialized with same width as input which is not good.
Could we have MaxDropWidth parameter just like MaxDropHeight ?!
Thanks,

Added maxDropWidth

Thank you!


Implementation of addTask Storage (Do not merge yet)

Work in progress, created a PR for the team to view code and comment on code updates,
Done so far:

Created JsonAdaptedTask

Codecov Report

Merging #65 (7e6ede6) into master (757455a) will decrease coverage by 0.51%.
The diff coverage is 0.00%.

@@             Coverage Diff              @@
##             master      #65      +/-   ##
============================================
- Coverage     71.40%   70.89%   -0.52%
  Complexity      399      399
============================================
  Files            71       72       +1
  Lines          1245     1254       +9
  Branches        125      125
============================================
  Hits            889      889
- Misses          324      333       +9
  Partials         32       32

Impacted Files
Coverage Δ

.../main/java/manageezpz/storage/JsonAdaptedTask.java
0.00% <0.00%> (ø)

Continue to review full report at Codecov.

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

Defunct PR, will create a new PR


[BUG]: test, ignore

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

Step 1 ...
Step 2 ...
Step 3 ...
...
n. Step n See error

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Logs
If applicable, submit logs or stack traces from the affected services
System Information (please complete the following information):

OS/Version: [e.g. RHEL 7.6]
Kubernetes Version [e.g. 1.18]
Additional Information...

Additional context
Add any other context about the problem here.

@ioeicicdsvc: Thank you for submitting this issue!
The issue is currently awaiting triage. Please make sure you have given us as much context as possible.
If the maintainers determine this is a relevant issue, they will remove the needs-triage label and assign an appropriate priority label.

We want your feedback! If you have any questions or suggestions regarding our contributing process/workflow, please reach out to us at<EMAIL_ADDRESS>


Support validate all command

This PR enables validation of cni, connections, deployment, k8s-version and
kube-proxy-mode using a single "validate all" command.
Signed-Off-by: Sridhar Gaddam<EMAIL_ADDRESS>

As we were talking on slack, the "all" .go file is missing %)

You were quicker than me @sridhargaddam ! :D

Thanks for reviewing @mangelajo @Jaanki
I will merge this PR and work on a new PR to include even firewall validations along with any other changes.


feat: Integrated native ACVM

Please read contributing guidelines and remove this line.

Benchmark results
Metrics with a significant change:

batch_insert_into_append_only_tree_16_depth_ms (8): 19.0 (+49%)
batch_insert_into_append_only_tree_16_depth_hash_ms (8): 0.805 (+52%)
circuit_simulation_time_in_ms (private-kernel-init): 341 (+36%)
circuit_simulation_time_in_ms (private-kernel-ordering): 216 (+21%)
circuit_simulation_time_in_ms (base-rollup): 99,301 (+7628%)
circuit_simulation_time_in_ms (private-kernel-inner): 452 (+44%)
circuit_simulation_time_in_ms (public-kernel-app-logic): 247 (+29%)
circuit_simulation_time_in_ms (merge-rollup): 112 (+1803%)
tx_pxe_processing_time_ms (0): 3,181 (+20%)
tx_sequencer_processing_time_ms (1): 666 (+42%)
node_history_sync_time_in_ms (5): 17,150 (+20%)
node_history_sync_time_in_ms (10): 32,513 (+16%)
note_history_trial_decrypting_time_in_ms (5): 161 (+129%)
l2_block_building_time_in_ms (8): 21,522 (+35%)
l2_block_building_time_in_ms (32): 85,385 (+34%)
l2_block_rollup_simulation_time_in_ms (8): 16,050 (+33%)
l2_block_rollup_simulation_time_in_ms (32): 64,002 (+32%)
l2_block_public_tx_process_time_in_ms (8): 5,438 (+42%)
l2_block_public_tx_process_time_in_ms (32): 21,277 (+39%)
l1_rollup_calldata_gas (8): 259,772 (+293%)
l1_rollup_calldata_gas (32): 1,019,684 (+327%)
l1_rollup_calldata_size_in_bytes (8): 54,212 (+851%)
l1_rollup_calldata_size_in_bytes (32): 214,436 (+1036%)
l1_rollup_execution_gas (8): 353,958 (+82%)
l1_rollup_execution_gas (32): 1,139,132 (+128%)
note_trial_decrypting_time_in_ms (8): 42.8 (+124%)

Detailed results
All benchmarks are run on txs on the Benchmarking contract on the repository. Each tx consists of a batch call  to create_note and increment_balance, which guarantees that each tx has a private call, a nested private call, a public call, and a nested public call, as well as an emitted private note, an unencrypted log, and public storage read and write.
This benchmark source data is available in JSON format on S3 here.
Values are compared against data from master at commit c909966a and shown if the difference exceeds 1%.
L2 block published to L1
Each column represents the number of txs on an L2 block published to L1.

Metric
8 txs
32 txs
128 txs

l1_rollup_calldata_size_in_bytes
:warning: 54,212 (+851%)
:warning: 214,436 (+1036%)
855,332

l1_rollup_calldata_gas
:warning: 259,772 (+293%)
:warning: 1,019,684 (+327%)
4,060,148

l1_rollup_execution_gas
:warning: 353,958 (+82%)
:warning: 1,139,132 (+128%)
4,281,549

l2_block_processing_time_in_ms
1,331 (+8%)
4,986 (+9%)
19,711

note_successful_decrypting_time_in_ms
223 (+8%)
605 (+4%)
2,177

note_trial_decrypting_time_in_ms
:warning: 42.8 (+124%)
44.9 (-58%)
182

l2_block_building_time_in_ms
:warning: 21,522 (+35%)
:warning: 85,385 (+34%)
345,912

l2_block_rollup_simulation_time_in_ms
:warning: 16,050 (+33%)
:warning: 64,002 (+32%)
260,478

l2_block_public_tx_process_time_in_ms
:warning: 5,438 (+42%)
:warning: 21,277 (+39%)
85,170

L2 chain processing
Each column represents the number of blocks on the L2 chain where each block has 16 txs.

Metric
5 blocks
10 blocks

node_history_sync_time_in_ms
:warning: 17,150 (+20%)
:warning: 32,513 (+16%)

note_history_successful_decrypting_time_in_ms
1,396 (+14%)
2,730 (+12%)

note_history_trial_decrypting_time_in_ms
:warning: 161 (+129%)
214 (+39%)

node_database_size_in_bytes
19,173,456 (+2%)
36,589,648 (+3%)

pxe_database_size_in_bytes
29,923
59,478

Circuits stats
Stats on running time and I/O sizes collected for every circuit run across all benchmarks.

Circuit
circuit_simulation_time_in_ms
circuit_input_size_in_bytes
circuit_output_size_in_bytes

private-kernel-init
:warning: 341 (+36%)
44,664
27,457 (-2%)

private-kernel-ordering
:warning: 216 (+21%)
45,777 (-13%)
14,627

base-rollup
:warning: 99,301 (+7628%)
175,344 (-1%)
933

root-rollup
74.2 (+4%)
4,192
825

private-kernel-inner
:warning: 452 (+44%)
73,099 (-1%)
27,457 (-2%)

public-kernel-app-logic
:warning: 247 (+29%)
32,254
25,379

merge-rollup
:warning: 112 (+1803%)
2,712
933

Tree insertion stats
The duration to insert a fixed batch of leaves into each tree type.

Metric
0 deployed contracts
1 deployed contracts

tx_size_in_bytes
18,472 (-4%)
34,605

Transaction processing duration by data writes.

Metric
0 new note hashes
1 new note hashes

tx_pxe_processing_time_ms
:warning: 3,181 (+20%)
1,519 (+11%)

Metric
0 public data writes
1 public data writes

tx_sequencer_processing_time_ms
0.0299 (-16%)
:warning: 666 (+42%)


Trapping Rain Water - LeetCode (Hard)

Aim
Want to add a solution of "Trapping Rain Water"
Kindly assign me this problem. I would like to add my solution to this problem in C++ in an easy and efficient way.
Link to the problem: https://leetcode.com/problems/trapping-rain-water/
Details
Given n non-negative integers representing an elevation map where the width of each bar is 1, compute how much water it can trap after raining.
Example 1:
Input: height = [0,1,0,2,1,0,1,3,2,1,2,1]
Output: 6
Example 2:
Input: height = [4,2,0,3,2,5]
Output: 9
Programming language

[ ] C
[ ] C++
[ ] Java
[ ] Python

Please assign me this issue under LGMSOC'21

please assign me this issue under LGMSOC'21 i will like to do this in java with minimum time complexity @Ayush7614 @Amit366


Email Notifications

⚠ Please verify that this feature request has NOT been suggested before.

[X] I checked and didn't find similar feature request

🏷 Feature Request Type
UI Feature
🔖 Feature description
Can you please enhance the email notification option to allow customizing the body of the email?
Would it be possible to add a variable for email addresses for each monitor and to send a notification to the email addresses in the variable? This way I won't need to configure a notification type for each email address I would like to send to and it can instead send the email automatically to the listed email addresses in the local variable of the monitored entity.
✔ Solution
add a customization field for the body
add variable to each monitor and allow the variable to be used for the monitor's notifications
❓ Alternatives
No response
📝 Additional Context
No response

Hello, great feature :)
hope it is implemented

@evdev
Customising the body of mails is tracked in #1529, please don't post duplicate issues, as this makes issue management harder.
Handling emails like this would be very messy. Not everybody wants email notifications.
=> I don't think Uptime Kuma should modify the Notification system like this.
If you really need this feature, you could achieve this with other email filtering tools like Sieve.
Please go into detail about your intended use case, if you really need this.

@prohand
Please refrain from posting +1 / requests for updates things on issues, as this makes issue-management harder.
Issues are for discussing what needs to be done how by whom.
We use 👍🏻 on issues to prioritise work.


Recipe with bad name as output gives useless error output

Intro:
Issue Description:
Using an undefined name in a recipe output gives a mess of numbers and punctuation which is not at
all helpful in figuring out what's wrong.
What happens:
When the output of a recipe uses a variable that's not defined or is based on an unresolved item,
the "error message" consists of apparently dumping the offending recipe with all items in numeric format.  (Looking at the log, the data appears, described as the "Stackmap Table".)  There seems to be no sign of the offending filename or number. though the amount of input might be scrolling it offscreen.
What you expected to happen:
A message to the general effect of 'File ma-v-plants-bugged.zs,  Line 29: Recipe output "flowers" is not a recognized item'.
Script used (Please Pastebin or gist your script, posting an unpasted or ungist'd script will automatically close this issue):
ma-v-plants-bugged.zs
Minetweaker.log file (Please Pastebin or gist your file, posting an unpasted or ungist'd file will automatically close this issue):
ma-v-plants-bugged-minetweaker.log

Affected Versions (Do not use "latest"):

Minecraft:  MC 1.11.2
Forge:       <IP_ADDRESS>8
Crafttweaker:  3.0.24

Your most recent log file where the issue was present:
Given above

Nothing can be done about the logging, the log file tells you what line is messed, you should be able to figure it out from there

Actually, I was complaining that the error in chat is useless.  But since you mentioned the logfile, I went back and looked at it again -- and no, the logfile does not even give a line number, nor does it indicate the ID which triggered the error.

Line 177
[SERVER_ABOUT_TO_START][SERVER][ERROR] ma-v-plants-bugged.zs:29 > No such static member in minetweaker.item.IItemStack: flowers

Shows line 29, and then it shows the ID which triggered the error "flowers"

OK, I missed that line.  Any reason that line couldn't have gone to chat instead of dumping the whole Stackmap Table to chat?

Because it dumps all the errors to chat, you can't just say "dump this line, but not the rest"


ConstraintViolationException when processing a pipeline where the stream appender has a feed of None

Seen in v6.0-beta.42-46
Set the feed property in the pipeline's stream appender to None and process the pipeline.  The stream will produce a fatal error with a constraint violation error.  There is no more detail to the exception but I suspect it is the lack of a feed.  The stream appender should really spot the missing feed before it tries to write the stream.

It is in fact that the UI allows you to pick the None doc ref in the document picker. This should be interpreted in the UI as a null selection.


How do you run a Stacker container?

Suppose, the dependency on brtfs is met, how do we run an image generated with stacker build -f first.yaml? runc? docker?
BTW, is that ಅನುವು or అనువు ?

You should be able to use any runtime that's OCI compliant as the
result is an OCI image (with multiple tags, one for each target that
has been built).
I'm not sure about the name, @rchamarthy can probably elaborate :)
On Fri, Sep 11, 2020 at 09:41:31AM -0700, mrchainhead wrote:

Suppose, the dependency on brtfs is met, how do we run an image generated with stacker build -f first.yaml? runc? docker?
BTW, is that ಅನುವು or అనువు ?
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/anuvu/stacker/issues/99

Suppose, the dependency on brtfs is met, how do we run an image generated with stacker build -f first.yaml? runc? docker?
BTW, is that ಅನುವು or అనువు ?

Its అణువు - means atom :)


aimationName error

When a token is moved on a scene that isn't being viewed, this error pops up in the console. This is likely cause from the token object not existing when the scene on the update isn't the same one as the viewed scene.

Just noticed this is a duplicate of https://github.com/krbz999/templatemacro/issues/10


As a user, I want to use the Primary Contact field on Opportunity for non-Household Account gifts

POU thread: https://powerofus.force.com/0D58000002M0Os2

**lurch: add

Tracking W-008578


Deploying behind a reverse proxy

I got an issue when I tried to deploy STS.Identity to Nginx. After research I got the same issue  Deploying behind a reverse proxy.
So it's better to add IdentityServerBaseUrl options for STS.Identity project so that developer can specified it when deploying the project under reverse proxy such as Nginx.
If  agree with that, I can make a PR.

Please, check this PR from @aiscrim  - #510 - Is this PR cover your issue?
Thanks.

yes, it is.


Add customHeight in cell options

Adds a new option in cell options if you want a custom height for the row. Check #42.

I will analyze performance.


Timer Easing Not Working

Hi, the timer animation is not showing, instead the entire background fills once 40% of the designated time is reached. I tried the examples provided and made various changes without success.

Hi, the timer animation is not showing, instead the entire background fills once 40% of the designated time is reached. I tried the examples provided and made various changes without success.

I am also facing the same issue

me too...

Same here

The Same Problem((

Just add a key for View. then work smoothly.
CircularTimer.js
    return (
      <View style={{ ...style, ...__styles.container, ...fullCircle, backgroundColor: borderBackgroundColor }}>
        <View
        ...

    return (
      <View key={elapsedTime} style={{ ...style, ...__styles.container, ...fullCircle, backgroundColor: borderBackgroundColor }}>
        <View
        ...


Error when compiling InstRecLib

Hi, I want to use your project but I face some problems now, and I really need help. :(

Before compiling DynSLAM project, I compile InstRecLib and get these errors:

/home/imlab-slam/DynSLAM-master/src/DynSLAM/InstRecLib/InstanceReconstructor.cpp: In member function ‘void instreclib::reconstruction::InstanceReconstructor::SaveObjectToMesh(int, const string&)’:
/home/imlab-slam/DynSLAM-master/src/DynSLAM/InstRecLib/InstanceReconstructor.cpp:750:30: error: expected type-specifier before ‘ITMMeshingEngine_CUDA’
auto *meshing_engine = new ITMMeshingEngine_CUDA<ITMVoxel, ITMVoxelIndex> (
^
/home/imlab-slam/DynSLAM-master/src/DynSLAM/InstRecLib/InstanceReconstructor.cpp:763:10: error: type ‘’ argument given to ‘delete’, expected pointer
delete meshing_engine;
^
make[2]: *** [CMakeFiles/InstRecLib.dir/InstanceReconstructor.cpp.o] Error 1
make[1]: *** [CMakeFiles/InstRecLib.dir/all] Error 2
make: *** [all] Error 2
I think the problem is that in InstanceReconstructor.cpp, there is no include related to ITMMeshingEngine_CUDA, so I just include it like this:
#include ITMMeshingEngine_CUDA.h

After include ITMMeshingEngine_CUDA.h file, I got another errors:
/home/imlab-slam/DynSLAM-master/src/DynSLAM/InstRecLib/../../InfiniTAM/InfiniTAM/ITMLib/Engine/DeviceSpecific/CUDA/ITMMeshingEngine_CUDA.h:48:9: error: ‘__ global __’ does not name a type
__ global __ void findAllocatedBlocks(Vector4s *visibleBlockGlobalPos,

and I also search for the solution... and found that terms related to CUDA(e.g. __ globlal __ in ITMMeshingEngine_CUDA.h) are not allowed in .cpp files, which is a compiler issue.
Because I am a beginner of CUDA, I really don't know how to solve this problem.
Can anyone help me please? really thanks!

Hi wj4y78308, and thanks for checking out the project!
I believe that the reason you are seeing the second error is because you are including a CUDA-specific implementation in a cpp file which should be platform-agnostic.
The first error looks like a compiler version mismatch. What version of g++ are you using, and what operating system are you on?

Thank you for replying me!
I alreadly solved this problem :)

That's great to hear! Can you describe your solution briefly, in case someone else experiences a similar problem in the future? Thank you!


Include OAuth 2.0 support on the page

[Please specify OAuth 2.0 supportability too. Customers are afraid that we might not support OAuth 2.0]

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

ID: 99171a71-5bc9-731e-fbd2-2234bc0c68c5
Version Independent ID: 3a0b7200-97ba-9467-97b7-bac6ca16e9fa
Content: Configure ServiceNow for Teams Rooms - Microsoft Teams
Content Source: Teams/rooms/microsoft-teams-rooms-configure-servicenow.md
Service: msteams
Sub-service: itpro-rooms
GitHub Login: @altsou
Microsoft Alias: altsou

yes, I am
On Tue, 16 May 2023 at 22:07, Andres Mariano Gorzelany <
@.***> wrote:

Hello @andreeandr3 https://github.com/andreeandr3
I'm working on this.

Thanks
—
Reply to this email directly, view it on GitHub
https://github.com/MicrosoftDocs/OfficeDocs-SkypeForBusiness/issues/9897#issuecomment-1550291109,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACSBXUS7SJG6WNGUSS67LM3XGPM65ANCNFSM6AAAAAAWRGV7YE
.
You are receiving this because you were mentioned.Message ID:
@.***
com>

--
*Andreea Tîrnăcop *

To make it easier for you to submit feedback on articles on learn.microsoft.com, we're transitioning our feedback system from GitHub Issues to a new experience.
As part of the transition, this GitHub Issue will be moved to a private repository. We're moving Issues to another repository so we can continue working on Issues that were open at the time of the transition. When this Issue is moved, you'll no longer be able to access it.
If you want to provide additional information before this Issue is moved, please update this Issue before December 15th, 2023.
With the new experience, you no longer need to sign in to GitHub to enter and submit your feedback. Instead, you can choose directly on each article's page whether the article was helpful. Then you can then choose one or more reasons for your feedback and optionally provide additional context before you select Submit.
Here's what the new experience looks like.
Note: The new experience is being rolled out across learn.microsoft.com in phases. If you don't see the new experience on an article, please check back later.
First, select whether the article was helpful:

Then, choose at least one reason for your feedback and optionally provide additional details about your feedback:

Article was helpful
Article was unhelpful

Finally, select Submit and you're done!


fix: widen mocha peerDependencies Entry

mocha release mocha@10 to drop Node 12
https://github.com/mochajs/mocha/releases/tag/v10.0.0

Thanks for submitting this PR @carboneater!
I took the liberty to also update the installed versions of mocha. That way we also do a propper e2e test

@carboneater this wider peer dependency range is merged, now we're waiting for a release (today / tomorrow)


Get youtube channel name - react native

Hi,
I was using react-native-link-preview before. I've one use case where I want the name of the youtube channel. So, i forked the lib and got the channel id using the below line...
channel_id = doc('button[class="yt-uix-button yt-uix-button-size-default yt-uix-button-subscribe-branded yt-uix-button-has-icon no-icon-markup yt-uix-subscription-button yt-can-buffer yt-uix-servicelink vve-check"]').attr('data-channel-external-id');
But after the library update, there's some issue with the channel id...
Can anyone plz help?
Thanks!

https://github.com/ospfranco/link-preview-js/issues/78
You can try to change the user-agent, but this is not a problem with the library itself

https://github.com/ospfranco/link-preview-js/issues/78
You can try to change the user-agent, but this is not a problem with the library itself

@ospfranco i'm getting the video details(title, image, desc...) but I also want the channel name. Is there any way so that, I can get the channel name?

@ospfranco i'm getting the video details(title, image, desc...) but I also want the channel name. Is there any way so that, I can get the channel name?

No idea, sorry

No idea, sorry


fail2ban config/filter

Hey!
I think it would be helpful to document a fail2ban config/filter so umurmur users can harden their installs.
Cheers!

This would be very useful! I've recently started to harden my server (focusing on sshd) with fail2ban, which has massively reduced the amount of spam in my journal, so I'm now noticing other suspicious activity, such as:
Feb 28 00:08:26 alarm umurmurd[365]: WARN: SSL error: error:00000001:lib(0):func(0):reason(1)
Feb 28 00:08:26 alarm umurmurd[365]: WARN: SSL negotiation failed with <IP_ADDRESS> on port 35758
Feb 28 00:08:32 alarm umurmurd[365]: INFO: Connection closed by peer - [1] @<IP_ADDRESS>:38102
Feb 28 00:08:33 alarm umurmurd[365]: WARN: Msg_networkToMessage: Unsupported message 12420

repeated for many similar IPs and ports for about half an hour every couple of days.


Right click .ogg file causes jamming

Hello, I found a bug.
Right-clicking on .ogg files causes jamming, and
this issue is triggered steadily.

debug.txt

Cound you show the windows explorer's context menu for .ogg files?


Fix query cache dbver issue with concurrent ddl

During a query compilation, if the schema is changed, the server was caching the compiled query under a wrong dbver, causing future queries to fail. See the test for issue reproduction.
@msullivan, I think you mentioned adding a similar compiler sleep hook for testing, but I can't find it. Please let me know if there's a better way than the sleep sentinel I added here in the query string.

@msullivan, I think you mentioned adding a similar compiler sleep hook for testing, but I can't find it. Please let me know if there's a better way than the sleep sentinel I added here in the query string.

I don't know if there is really any good way to do such things. (I did a different bad way, and then didn't merge it.)

Maybe a better (I guess?) way would be to add some testmode function, and then have a compiler function hook using simple_special_case that sleeps. Downside there though is that it is tough to pass in the sleep amount, since constants will be extracted. (You could have it wait for the the length of an array, or something silly like that)


GitHub API spike

Let's see if it is possible to perform the following tasks using the GitHub API:

create a new branch on an existing repository (or maybe create a new repository all together)
upload files to the new branch (or repository)
create a pull request for that branch (or repository)
fetch comments from the pull request

For example, one could upload the solution as a pull request with the command below:
$ curl -X POST \
  --form file=@/path/to/zipfile \
  http://localhost:4000/reviews

pull request created: http://github.com/path/to/pull/request

And then generate a report with the comments found in the pull request:
$ curl -X GET http://localhost:4000/reviews/{id}/comments

---
comment 1 (author)

comment 2 (author)

> code code code code
> code code code code
comment 3 (author)
  reply to comment 3 (author)

> code code code code
> code code code code
comment 4 (author)
---

Or something like that. The format is not important.
Docs:

working with comments

The API does not provide a way to group comments of the same thread.
My question to the GitHub support team:

Hi,
Regarding the pull request review comments API (https://developer.github.com/v3/pulls/comments), I am able to fetch the comments, however I could not figure out how to group the comments of the same thread.
Does the API provide that in any way? Is that even possible given the current API?
Thanks.

The answer:

Hi
Thiago,
No, that's not possible via the API currently -- the new review-related features haven't made their way to the API yet. The team is working on adding support for that, but I can't promise when it will happen.
Thanks,
Ivan


No farming after 24 hours after joining the mining pool

No farming after 24 hours after joining the mining pool

What makes you think it's pool-reference at fault here? You should contact migpool, not post on this github

Please try a different pool.
Also are you plotting with 1.2.0+ plotter or with madmax?
Plotting with old version of plotter will NOT work.

Closing.


Full-width timeline graph -> horizontal text alignment

Hi,
thanks for the awesome widget!
I've tried to make a full-width timeline graph where more information can be displayed per event.
The container (svg) has already the fulll size (4 segments - 1500px x 900px) but the text is still placed the same as it would only be the with of one segment instead of 4 (centered in the middle).
Is there an easy way to define that the text will be aligned according to the width of the svg-container?
Thanks for the help!

The same issue here. Have you able to solve ?

Sorry for delayed response guys, haven't worked on this in a while.
Code currently does not support full-width and text is somewhat hardcoded to use a constant margin parameter.  Although it shouldn't be hard to replace that to accomodate width, this is the line that sets the text x position which is where you should start:
https://github.com/aysark/dashing-timeline/blob/master/assets/javascripts/timeknots.js#L191


ProductCatactlogSampleData does not build

Following step by step, the ProductCatalogSampleData in Ex1\Assets\ProductCatalogSampleData does not build. Hitting build does not trigger the download of all the nuget packages
You can even see if the packages.json file it only refs DocumentDB, JSON.NET, Azure Cofiguration Manager.
The project also needs a bunch of other references that cant be resolved
ServiceBus
Storage
Microsoft Extensions Configuration & DependencyInjection & Primitives etc. etc. see attached.

Will have a look at it Ryan. Thanks for highlighting this.
Tara
Get Outlook for Androidhttps://aka.ms/ghei36
From: Ryan CrawCour
Sent: Thursday, May 12, 7:40 PM
Subject: [Microsoft-Build-2016/CodeLabs-Data] ProductCatactlogSampleData does not build (#3)
To: Microsoft-Build-2016/CodeLabs-Data
Following step by step, the ProductCatalogSampleData in Ex1\Assets\ProductCatalogSampleData does not build. Hitting build does not trigger the download of all the nuget packages
You can even see if the packages.json file it only refs DocumentDB, JSON.NET, Azure Cofiguration Manager.
The project also needs a bunch of other references that cant be resolved
ServiceBus
Storage
Microsoft Extensions Configuration & DependencyInjection & Primitives etc. etc. see attached.

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHubhttps://github.com/Microsoft-Build-2016/CodeLabs-Data/issues/3


Overlapping object properties in allOf generates duplicate fields.

Description:
When there are overlapping properties of objects referred to under allOf has to override the incoming property. Here instead duplicate fields are generated.
Steps to reproduce:
Check this example:
components:
  schemas:
    Cat:
      allOf:
        - type: object
          properties:
            name:
              type: string
            age:
              type: integer
        - type: object
          properties:
            hunts:
              type: boolean
            age:
              type: integer

for the above OAS(not a complete), the below record is gettings generated,
public type Cat record {
    string name?;
    int age?;
    boolean hunts?;
    int age?;
};

instead of,
public type Cat record {
    string name?;
    int age?;
    boolean hunts?;
};

Affected Versions:
OS, DB, other environment details and versions:
Related Issues (optional):

Suggested Labels (optional):

Suggested Assignees (optional):

Reference issue: https://github.com/OAI/OpenAPI-Specification/issues/3428

We will be closing this issue since the tool generates the code according to the OAS provided and if there is any inconsistency behaviour which not aligned with the language it will expected to have a compilation error


What should happen if sending the report webhook from Jenkins fails?

As per #3, Jenkins will attempt to make an HTTP request to DeployDB to report success/failure.
DeployDB may be unreachable, the tubes may be clogged, the network cable may be unplugged etc.
What to do in this case? Log an error? Persist to disk and retry X times?

I suggest logging a error to disk and failing the build if possible.
I think the plugin should make a reasonable attempt, i.e. a couple retries, to contact DeployDB though


Request for a Non-Locking PID Version of DuckDB

My current setup involves synchronizing MySQL on the host machine to DuckDB. However, when operating with Metabase, Metabase creates a PID lock that prevents MySQL from writing to DuckDB.
I hope for a version or configuration option in new that would avoid this PID locking issue, allowing MySQL to write to DuckDB seamlessly.

Writing to the same DuckDB file and reading from it simultaneously from a different process is not possible (see DuckDB docs).
If your requirement is to both write and read at the same time, you might consider using MotherDuck, which is a Cloud based data warehouse based on DuckDB instead.


Chaning the version of DistributedAvailabilityGroups  API for Azure CLI development

Readme Tag: package-composite-v5
Followed this TSG to get a private package for Azure CLI development purposes: https://github.com/Azure/azure-sdk-for-python/blob/main/doc/dev/private_package/get_private_package.md
Choose a PR Template
Switch to "Preview" on this description then select one of the choices below.
Click here to open a PR for a Data Plane API.
Click here to open a PR for a Control Plane (ARM) API.

I need only private package for now, after I finish development I will confirm that it is okay to publish this so that it can be used by Azure CLI publicly.

I need to update tooling to use this. As this is a breaking change the tooling release date is Ignite release date.
When I request SDK release how can I be sure that everything will be on time? And do I need to create SDK release ASAP or to wait for November?

/pr RequestMerge


Fix checksum in Fork.app 1.0.58

After making all changes to the cask:

[x] brew cask audit --download {{cask_file}} is error-free.
[x] brew cask style --fix {{cask_file}} reports no offenses.
[x] The commit message includes the cask’s name and version.

https://www.virustotal.com/#/file/5be85ff34445be9d192c607ec0cca5a0b0870e0035549bf17f080118923b136c/details

Thanks for the PR!


Update coming soon page

Address comments in #642  Adds stylistic updates to the Coming Soon page:

Makes "No results" message on explore search more explicitly direct to coming soon page
Adds coming soon page link to footer
Adds page layout to Coming Soon page

Ready for review @wille


add set function to PrimitiveArray

Note: migrated from original JIRA: https://issues.apache.org/jira/browse/ARROW-9826
For in-place value replacement in Array, a set() function (maybe unsafe?) would be required.

Comment from Neville Dipale(nevi_me) @ 2020-08-25T03:59:35.414+0000:
Once arrays are built, they're meant to be immutable. Wouldn't this better belong in ArrayBuilder?
Comment from Francesco Gadaleta(frag) @ 2020-08-26T13:05:41.441+0000:
Yes, it makes sense to me.

Generally speaking if arrays are immutable, there are some operations that should directly modify elements at specific index.

How are you going about that?

Comment from Paddy Horan(paddyhoran) @ 2020-09-07T02:50:04.369+0000:
Essentially, we are not addressing that.  I don't believe any of the other implementations support this.  It's kind of against the general principles of Arrow.

However, there is nothing stopping you adding this for yourself in your application.  You have access to underlying buffers.  We are trailing behind the C++ impl in terms of what we support in Rust so we will likely focus on "catching up" for now.
Comment from Jorge Leitão(jorgecarleitao) @ 2020-09-08T04:16:41.818+0000:
> Generally speaking if arrays are immutable, there are some operations that should directly modify elements at specific index.

if arrays as immutable, there should be _no_ operations that modify its elements, right?

I also understood that arrays are immutable. Some general reasons is that this allows to pass slices of data by reference, both within a thread and across threads, without the need to worry about data races or threads waiting around. It is a whole computational model.

In rust, it allow us to use {{Arc}} to safely share arrays across threads, as otherwise we would need a Mutex or other mechanism.

To "modify" elements, we create a new array with the modified elements (see e.g. {{src/compute}}).

Comment from Francesco Gadaleta(frag) @ 2020-09-08T07:13:00.133+0000:
But that can be extremely inefficient. If one needs to change a dozen values in a column of millions of elements, that can become prohibitive.
In-place value changes are quite a common operation in data science.

Closing in favour of #1981


Layout Mode Missing

What's the Problem?
List layout mode missing..
Solution/Idea
Add List Layout Mode..
Alternatives
None
Priorities

Capability
Priority

This proposal will allow developers to accomplish W
Must

This proposal will allow end users to accomplish X
Should

This proposal will allow developers to accomplish Y
Could

This proposal will allow end users to accomplish Z
Won't

Files Version
Version: <IP_ADDRESS>
Windows Version
Edition	Windows 11 Pro Version	21H2 Installed on	Dec 19 Sun 2021 OS build	22000.434 Experience	Windows Feature Experience Pack 1000.22000.434.0
Comments
No response

Tracked in #2509


Change to zephir_camelize omits delimiter

This change breaks backwards compatibility by omitting a delimiter. The change is about adding a parameter + the docbloc still mentions both delimiters, which is why I believe the change in behaviour was not intentional.
Since cphalcon already has this change tagged, and it breaks projects relying on camelize in phalcon 2.0.11 it would be great to find a speedy solution (fast-track, or alternatively pin cphalcon on a previous version of zephir)

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/34060328-change-to-zephir_camelize-omits-delimiter?utm_campaign=plugin&utm_content=tracker%2F280146&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F280146&utm_medium=issues&utm_source=github).

@sergeyklay


defineCommand still function after sentinel failover

After a sentinel failover (from a master to slave/replica), will the customCommand once defined (via defineCommand) on master still automatically work on the replica?

Hey @wenq1 👋
Sorry for the late response. It won't but if you define the commands with the scripts option introduced in v5.0.0, they should work after a failover.
Merged to #1081.

Thanks


Budget Manager

Budget Manager  #200
Budget Manager: Context Menu, Badges, Notification, etc.

Options Page
Notifications
Background v/s Event Pages
Context menus
Badges

@aka9ksha its good 🚀
Kindly add a video implementation of extension also in readme file

@aka9ksha ?

@aka9ksha kindly respond and update

@aka9ksha ^^


less: Update source package hash

Upstream less seems to have changed the distribution package slightly.
This is the diff (got the former package from http://mirror.pistoncloud.com/source/less-475.tar.gz):
diff --git old/less-475/README new/less-475/README
index 2d25c85..ed2bfb1 100644
--- old/less-475/README
+++ new/less-475/README
@@ -1,7 +1,7 @@

                             Less, version 475

-    This is the distribution of less, version 475, released 05 Mar 2015.
+    This is the distribution of less, version 475, released 02 May 2015.
     This program is part of the GNU project (http://www.gnu.org).

     This program is free software.  You may redistribute it and/or
diff --git old/less-475/filename.c new/less-475/filename.c
index 290ba23..7e95d83 100644
--- old/less-475/filename.c
+++ new/less-475/filename.c
@@ -979,7 +979,7 @@ close_altfile(altfilename, filename, pipefd)
 	     	return;
 	if (num_pct_s(lessclose) > 2)
 	{
-		error("Invalid LESSCLOSE variable");
+		error("Invalid LESSCLOSE variable", NULL_PARG);
 		return;
 	}
 	len = (int) (strlen(lessclose) + strlen(filename) + strlen(altfilename) + 2);
diff --git old/less-475/less.man new/less-475/less.man
index 8c1430a..998c6b1 100644
--- old/less-475/less.man
+++ new/less-475/less.man
@@ -1632,4 +1632,4 @@ LESS(1)                     General Commands Manual                    LESS(1)

-                           Version 475: 05 Mar 2015                    LESS(1)
+                           Version 475: 02 May 2015                    LESS(1)
diff --git old/less-475/less.nro new/less-475/less.nro
index 2a703c8..7b00158 100644
--- old/less-475/less.nro
+++ new/less-475/less.nro
@@ -1,4 +1,4 @@
-.TH LESS 1 "Version 475: 05 Mar 2015"
+.TH LESS 1 "Version 475: 02 May 2015"
 .SH NAME
 less \- opposite of more
 .SH SYNOPSIS
diff --git old/less-475/lessecho.man new/less-475/lessecho.man
index a5bd9cd..b3a002e 100644
--- old/less-475/lessecho.man
+++ new/less-475/lessecho.man
@@ -51,4 +51,4 @@ LESSECHO(1)                 General Commands Manual                LESSECHO(1)

-                           Version 475: 05 Mar 2015                LESSECHO(1)
+                           Version 475: 02 May 2015                LESSECHO(1)
diff --git old/less-475/lessecho.nro new/less-475/lessecho.nro
index 75285df..04b0656 100644
--- old/less-475/lessecho.nro
+++ new/less-475/lessecho.nro
@@ -1,4 +1,4 @@
-.TH LESSECHO 1 "Version 475: 05 Mar 2015"
+.TH LESSECHO 1 "Version 475: 02 May 2015"
 .SH NAME
 lessecho \- expand metacharacters
 .SH SYNOPSIS
diff --git old/less-475/lesskey.man new/less-475/lesskey.man
index 76e1fe9..865367b 100644
--- old/less-475/lesskey.man
+++ new/less-475/lesskey.man
@@ -355,4 +355,4 @@ LESSKEY(1)                  General Commands Manual                 LESSKEY(1)

-                           Version 475: 05 Mar 2015                 LESSKEY(1)
+                           Version 475: 02 May 2015                 LESSKEY(1)
diff --git old/less-475/lesskey.nro new/less-475/lesskey.nro
index fb62e8d..0f28994 100644
--- old/less-475/lesskey.nro
+++ new/less-475/lesskey.nro
@@ -1,4 +1,4 @@
-.TH LESSKEY 1 "Version 475: 05 Mar 2015"
+.TH LESSKEY 1 "Version 475: 02 May 2015"
 .SH NAME
 lesskey \- specify key bindings for less
 .SH SYNOPSIS

Fixed via 901849ec


Overview: old study programs > present students add "custom population for all"

Currently user can view partial groups of active students in old study programs. Add ability to choose them all & view that population.

released in v1.5.16


Source files are duplicated in bundle for every import

The tool currently outputs each scss file into the bundle every time it is encountered. The bundle would end up significantly smaller if each scss file were only emitted the first time it is encountered.
To reproduce

Clone https://github.com/angular/material2
./node_modules/.bin/scss-bundle -e ./src/lib/core/theming/_all-theme.scss -d /tmp/out.scss

Note that the content of, for example, _palette.scss is included 40+ times in the output.

Good catch! 👏
It is a fairly easy solution to emit the content of duplicate @import only once, but it might have unexpected results in some cases, though.
Consider a variable being set in the import such as your mentioned _palette.scss:
$my-var: red;

Then, it is overridden later in the stack as such:
$my-var: blue;

And the _palette.scss is imported again, which should reset the $my-var to red again, wouldn't it?
But if we omit the output of the second @import, the value of $my-var is going to stay blue.
Of course, a proper usage of @import and variables would be with !default  suffix and compilation would work as expected in both cases. But it's easy to miss one !default and the rest of the day is going to be spent on debugging.
Possible solutions would be:

Checking if all variables have !default suffix or are not used later on in the stack
Adding a mode for duplicate imports and stating in README that developer MUST use !default suffix  to have expected results

The first solution would make this package enormously more complex and would require some kind of AST analysis of the whole SCSS stack.
The second one would be error prone, even if we warn developers of possible consequences, especially for the project of material2 size.
Example for duplicate imports
I've added an example with duplicate imports here.
Files b and c import file a, which has a variable $my-var without !default suffix.
File main.scss has imports done like this:
b.scss
a.scss
c.scss
a.scss

And I've added import of file duplicate after each import for an easy visual output when compiling into css.
The output of main.scss file after scss-bundle is this (I removed unnecessary empty lines):
$my-var: red;
.b {
    color: darken($my-var, 15);
}
$my-var: blue;
.b:hover {
    color: darken($my-var, 15);
}
._____{
    color: $my-var;
}
$my-var: red;
._____{
    color: $my-var;
}
$my-var: red;
.c {
    color: darken($my-var, 15);
}
$my-var: green;

.c:hover {
    color: darken($my-var, 15);
}
._____{
    color: $my-var;
}
$my-var: red;
._____{
    color: $my-var;
}

And if we import a.scss only once, on first occurance:
$my-var: red;
.b {
    color: darken($my-var, 15);
}
$my-var: blue;
.b:hover {
    color: darken($my-var, 15);
}
._____{
    color: $my-var;
}
/* omitted red */
._____{
    color: $my-var;
}
/* omitted red */
.c {
    color: darken($my-var, 15);
}
$my-var: green;

.c:hover {
    color: darken($my-var, 15);
}
._____{
    color: $my-var;
}
/* omitted red */
._____{
    color: $my-var;
}

You should be able to see that the outputs are going to be different, even without compilation, but for the sake of completeness..

Here is the first result compiled into CSS (I removed the comments):
.b {
  color: #b30000; }

.b:hover {
  color: #0000b3; }

._____ {
  color: blue; }

._____ {
  color: red; }

.c {
  color: #b30000; }

.c:hover {
  color: #003400; }

._____ {
  color: green; }

._____ {
  color: red; }

And the second one
.b {
  color: #b30000; }

.b:hover {
  color: #0000b3; }

._____ {
  color: blue; }

._____ {
  color: blue; }

.c {
  color: #0000b3; }

.c:hover {
  color: #003400; }

._____ {
  color: green; }

._____ {
  color: green; }

Correct me if my thinking is wrong, but if it's not, then the problem is more complex than simply emitting once, as you can see.

@jelbourn, I looked at what you have in _palette.scss and most probably, including it only once wouldn't crash things up.
Maybe adding an option for list of imports to de-dupe would be a good compromise?
This way you could control which files are being de-duped and make sure things do not break.
What do you think?

Adding an option works for me.
In general, I see the purpose of a scss bundler as a tool for a library authors (as opposed to application authors) to flatten sources so that its consumers have a single entry-point. Through this lens, I'd consider having multiple files that define the same symbols as an anti-pattern.
For application authors, overriding a non !default variable is risky, as there's no explicit contract from the library author that such a variable constitutes a public API.

Done: https://github.com/SimplrJS/scss-bundle/commit/20edbb4e77f66441750efa17f585bbe1c02e840c
@jelbourn, try running:
"node_modules/.bin/scss-bundle" -e ./src/lib/core/theming/_all-theme.scss -d /tmp/out.scss --dedupe src/lib/core/theming/**/_palette.scss
Also, it's way easier to use non-CLI API now with TypeScript. We will update the README soon.

Oh, and install yarn add scss-bundle@beta for the moment. I want to test it first, write the README and the publish as @latest.

Why do you bundle all those things together? Why not keep them in separate files.
For example we do not use any of the palettes, we created our own. I don't see the reason why I would put my sass framework to load those variables (even on compile time) as know I never gonna use them.

I'm closing this issue because no more issues were raised in almost 2 months. Cheers!


Pinned tab doesn't show unsaved changes

VS Code version: 1.46.0
Repro:

pin a tab in VS Code editor
make any changes inside the pinned tab

Expected behaviour: The pinned tab header should show a dot or something to indicate that there are unsaved changes in it.
Current behaviour: There is no any indicator that shows that the pinned tab has unsaved changes.

I think this was a design decision. To mitigate it you can set "workbench.editor.highlightModifiedTabs": true


"Identified 0 task(s)" when creating a new campaign

Describe the bug
Attempting to create a new campaign outside of the given Examples fails as 0 tasks are identified during build (so the campaign can't be started).
To Reproduce

Follow installation and setup steps as in INSTALL.md
Create a minimal failing example:

mkdir BadExample
paste the following contents into BadExample/manifest.json:

{
    "CAMPAIGN_URL": "http://<IP_ADDRESS>:8000/dashboard/sso/",
    "CAMPAIGN_NAME": "badc",
    "CAMPAIGN_KEY": "badc",
    "CAMPAIGN_NO": 33,
    "REDUNDANCY": 1,

    "TASKS_TO_ANNOTATORS": [
        ["eng", "deu", "uniform", 10, 10]
    ],

    "TASK_TYPE": "Direct",
    "TASK_OPTIONS": "SQM"
}

paste the following into BadExample/batches.json:

[
    {
        "items": [
            {
                "_block": 0,
                "_item": 0,
                "itemID": 0,
                "itemType": "BASE",
                "sourceID": "human_eval/test.batch1.de",
                "sourceText": "Ihnen ist klar, daß diese Sache mich meinen Job kosten kann.",
                "targetID": "human_eval/baseline.batch1.de",
                "targetText": "Dir ist klar, dass mich diese Entscheidung meinen Job kosten könnte."
            },
            {
                "_block": 0,
                "_item": 2,
                "itemID": 1,
                "itemType": "BASE",
                "sourceID": "human_eval/test.batch1.de",
                "sourceText": "Übrigens, bekommt ihr keine Angst, hier draußen zu leben?",
                "targetID": "human_eval/baseline.batch1.de",
                "targetText": "Übrigens, hast du keine Angst, hier draußen zu leben?"
            },
            {
                "_block": 0,
                "_item": 4,
                "itemID": 2,
                "itemType": "BASE",
                "sourceID": "human_eval/test.batch1.de",
                "sourceText": "Du stehst da, als würdest du dich nicht trauen, mir ein Geheimnis zu verraten.",
                "targetID": "human_eval/baseline.batch1.de",
                "targetText": "Du stehst da, als würdest du mir ein Geheimnis verraten, aber das tust du nicht."
            },
            {
                "_block": 0,
                "_item": 6,
                "itemID": 3,
                "itemType": "BASE",
                "sourceID": "human_eval/test.batch1.de",
                "sourceText": "Du lebst unter uns als ein ruhiger Farmjunge.",
                "targetID": "human_eval/baseline.batch1.de",
                "targetText": "Siehst du, du lebst unter uns als milder Bauernjunge."
            },
            {
                "_block": 0,
                "_item": 8,
                "itemID": 4,
                "itemType": "BASE",
                "sourceID": "human_eval/test.batch1.de",
                "sourceText": "Wasch sie im Brunnen, du wirst den Geruch der Klamotten lieben.",
                "targetID": "human_eval/baseline.batch1.de",
                "targetText": "Benutz den Springbrunnen, du wirst den Geruch der Kleider lieben."
            },
            {
                "_block": 0,
                "_item": 10,
                "itemID": 5,
                "itemType": "BASE",
                "sourceID": "human_eval/test.batch1.de",
                "sourceText": "Ja, ja, wichtig war nur, daß ich die Energie rechtzeitig abschalten konnte.",
                "targetID": "human_eval/baseline.batch1.de",
                "targetText": "Ja, ja, hör zu, wichtig ist, dass ich rechtzeitig den Strom abschalten konnte."
            }
        ],
        "task": {
            "batchNo": 1,
            "batchSize": 5,
            "randomSeed": 42,
            "requiredAnnotations": 1,
            "sourceLanguage": "eng",
            "targetLanguage": "deu"
        }
    }
]

Create campaign python manage.py StartNewCampaign BadExample/manifest.json     --batches-json BadExample/batches.json     --csv-output BadExample/output.csv gives:

Expected behavior
Something akin to what happens with Examples:

Desktop (please complete the following information):
I'm running python 3.10 on Ubuntu.
Thanks for any help. As a side question, what is the relationship between REDUNDANCY, NUMBER_OF_TASKS and NUMBER_OF_ANNOTATORS? What are the correct values for a campaign with 10 human annotators, where each one is given the full test set (task?) to annotate exactly once?

Quick note without having run this locally: you set batchSize to 5 but have
6 items in your JSON?
On Tue, Feb 28, 2023 at 10:10 AM Sebastian Vincent @.***>
wrote:

Describe the bug
Attempting to create a new campaign outside of the given Examples fails as
0 tasks are identified during build (so the campaign can't be started).
To Reproduce

Follow installation and setup steps as in INSTALL.md
Create a minimal failing example:

mkdir BadExample
paste the following contents into BadExample/manifest.json:

{
"CAMPAIGN_URL": "http://<IP_ADDRESS>:8000/dashboard/sso/",

"CAMPAIGN_NAME": "badc",

"CAMPAIGN_KEY": "badc",

"CAMPAIGN_NO": 33,

"REDUNDANCY": 1,

"TASKS_TO_ANNOTATORS": [

    ["eng", "deu", "uniform", 10, 10]

],

"TASK_TYPE": "Direct",

"TASK_OPTIONS": "SQM"

}

paste the following into BadExample/batches.json:

[
{

    "items": [

        {

            "_block": 0,

            "_item": 0,

            "itemID": 0,

            "itemType": "BASE",

            "sourceID": "human_eval/test.batch1.de",

            "sourceText": "Ihnen ist klar, daß diese Sache mich meinen Job kosten kann.",

            "targetID": "human_eval/baseline.batch1.de",

            "targetText": "Dir ist klar, dass mich diese Entscheidung meinen Job kosten könnte."

        },

        {

            "_block": 0,

            "_item": 2,

            "itemID": 1,

            "itemType": "BASE",

            "sourceID": "human_eval/test.batch1.de",

            "sourceText": "Übrigens, bekommt ihr keine Angst, hier draußen zu leben?",

            "targetID": "human_eval/baseline.batch1.de",

            "targetText": "Übrigens, hast du keine Angst, hier draußen zu leben?"

        },

        {

            "_block": 0,

            "_item": 4,

            "itemID": 2,

            "itemType": "BASE",

            "sourceID": "human_eval/test.batch1.de",

            "sourceText": "Du stehst da, als würdest du dich nicht trauen, mir ein Geheimnis zu verraten.",

            "targetID": "human_eval/baseline.batch1.de",

            "targetText": "Du stehst da, als würdest du mir ein Geheimnis verraten, aber das tust du nicht."

        },

        {

            "_block": 0,

            "_item": 6,

            "itemID": 3,

            "itemType": "BASE",

            "sourceID": "human_eval/test.batch1.de",

            "sourceText": "Du lebst unter uns als ein ruhiger Farmjunge.",

            "targetID": "human_eval/baseline.batch1.de",

            "targetText": "Siehst du, du lebst unter uns als milder Bauernjunge."

        },

        {

            "_block": 0,

            "_item": 8,

            "itemID": 4,

            "itemType": "BASE",

            "sourceID": "human_eval/test.batch1.de",

            "sourceText": "Wasch sie im Brunnen, du wirst den Geruch der Klamotten lieben.",

            "targetID": "human_eval/baseline.batch1.de",

            "targetText": "Benutz den Springbrunnen, du wirst den Geruch der Kleider lieben."

        },

        {

            "_block": 0,

            "_item": 10,

            "itemID": 5,

            "itemType": "BASE",

            "sourceID": "human_eval/test.batch1.de",

            "sourceText": "Ja, ja, wichtig war nur, daß ich die Energie rechtzeitig abschalten konnte.",

            "targetID": "human_eval/baseline.batch1.de",

            "targetText": "Ja, ja, hör zu, wichtig ist, dass ich rechtzeitig den Strom abschalten konnte."

        }

    ],

    "task": {

        "batchNo": 1,

        "batchSize": 5,

        "randomSeed": 42,

        "requiredAnnotations": 1,

        "sourceLanguage": "eng",

        "targetLanguage": "deu"

    }

}

]

Create campaign python manage.py StartNewCampaign
BadExample/manifest.json --batches-json BadExample/batches.json
--csv-output BadExample/output.csv gives:
[image: image]
https://user-images.githubusercontent.com/19303946/221805444-8b911275-0416-4920-84c4-3f8a27f90036.png

Expected behavior
Something akin to what happens with Examples:
[image: image]
https://user-images.githubusercontent.com/19303946/221805154-007e977b-05e8-4564-9b98-12ef510b9db6.png
Desktop (please complete the following information):
I'm running python 3.10 on Ubuntu.
Thanks for any help. As a side question, what is the relationship between
REDUNDANCY, NUMBER_OF_TASKS and NUMBER_OF_ANNOTATORS? What are the correct
values for a campaign with 10 human annotators, where each one is given the
full test set (task?) to annotate exactly once?
—
Reply to this email directly, view it on GitHub
https://github.com/AppraiseDev/Appraise/issues/107, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AACSH2C27XMU2U53XUP3QRLWZW6HBANCNFSM6AAAAAAVKOIJIA
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Hi Christian,
Well spotted - I was editing down the manifest/batches files to form a minimal example, and made a mistake. With 5 items in the JSON the same error remains

I'll look into this towards the end of the week.
On Tue, Feb 28, 2023, 6:21 PM Sebastian Vincent @.***>
wrote:

Hi Christian,
Well spotted - I was editing down the manifest/batches files to form a
minimal example, and made a mistake. With 5 items in the JSON the same
error remains
—
Reply to this email directly, view it on GitHub
https://github.com/AppraiseDev/Appraise/issues/107#issuecomment-1448572123,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AACSH2AE7BHQL6G7B45MS2DWZYX2JANCNFSM6AAAAAAVKOIJIA
.
You are receiving this because you commented.Message ID:
@.***>

No, not yet, sorry. Busy with a new language release.
I will try to get back to you by the end of Friday…
On Thu, Mar 9, 2023 at 8:58 AM Sebastian Vincent @.***>
wrote:

Hi @cfedermann https://github.com/cfedermann , have you had the chance
to look into this yet?
—
Reply to this email directly, view it on GitHub
https://github.com/AppraiseDev/Appraise/issues/107#issuecomment-1461510418,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AACSH2COL6UI3UBPNSZTF23W3GEQ3ANCNFSM6AAAAAAVKOIJIA
.
You are receiving this because you were mentioned.Message ID:
@.***>

Hi, I think this is just a misunderstanding of the requirements for batches.json and very likely a lack of documentation on our side :)
A single batch must consists of 100 items. Please ignore batchSize for now, it may be there for some historical reasons. Take a look at https://github.com/AppraiseDev/Appraise/blob/main/Examples/Direct/batches.json for an example for the Direct/SQM task.
With a single batch (i.e. 100 items), you then want ["eng", "deu", "uniform",  1, 1] in manifest.json.

If a single batch must consist of 100 items, then for a test set of e.g. 400 items do I need to make the batch list in batches.json a list of 4*100 items?

Just use 4 batches for your test set, each with 100 items.

For an evaluation campaign where each sample gets annotated 10 times, given that my test set is 400 items (4 batches) now, with your further instructions, is this a correct understanding of the numbers?

Yes. "REDUNDANCY": 1, "TASKS_TO_ANNOTATORS": [["eng", "deu", "uniform", 1, 4]], will create you 1 account with all 4 batches. If you repeat that 10 times, you will have 10 identical accounts.

Will this guarantee that each user sees all 400 samples rather than a subset of randomly picked with replacement 400 samples from the entire test set?

Yes. Appraise does not modify batches, it does not do sampling and it always preserves the ordering of items within a batch.

Thanks!
Unfortunately, this is still not working for me. I'm attaching two batches/manifest pairs:

Single batch
Four batches

Neither set compiles correctly (same error as before) though I corrected the earlier batch size mistake; unfortunately, I can't debug this by myself as there's no error messages!
Could you please check if you can compile these in your build?
bad_example_single.tar.gz
bad_example.tar.gz

Both examples you provided worked for me. Can you setup a fresh DB (if you use the built-in DB, remove db.sqlite3 and follow instructions from INSTALL.md), try again resetting campaign IDs in manifest.jsons, and provide the full output here? Thanks.
For the sake of completeness, I used Python 3.8.10, branch 'release', WSL Ubuntu 20.04, but I don't think any of this should matter much.

Great, looks like it was indeed some sort of DB cache giving me this error. After cloning the repo & running installs from scratch it worked for me too.
Thank you so much for your help & patience! It could be very useful for the future if the information about obligatory batch size of 100 was included somewhere in the documentation/examples!

Hi @snukky
I have the same issue when creating a campaign for a human evaluation study for text-to-pose sign language translation. Concretely, I forked from what was done for WMT-SLT here:
https://github.com/J22Melody/iict-eval/tree/text2pose/human_evaluation/batches_text2pose
and then run:
python manage.py StartNewCampaign ~/iict-eval/human_evaluation/batches_text2pose/text2poseSignsuisse.deu-sgg.manifest.json --batches-json  ~/iict-eval/human_evaluation/batches_text2pose/batches.text2pose.signsuisse.deu-sgg.ref.json  --csv-output ~/iict-eval/human_evaluation/batches_text2pose/output.csv
I guess it is caused by some errors in the json files but there is no clear error message for me to investigate further. Could you spot anything suspicious when you eyeball the manifest and batches or try to run it in Appraise?
Our plan is similar: run 500 examples translations from German to DSGS in the Signsuisse test set, so I make 5 batches of 100 examples and in each batch 10 documents of 10 examples. I do not actually need document since the examples in Signsuisse are independent sentences, but I just followed what we did in WMT-SLT.


CFP: parse VXLAN headers into Hubble flows

Cilium Feature Proposal
Describe the feature you'd like
VXLAN is used in the context of egress gateway (possibly in other contexts as well but I'm not aware of that). If Hubble included some info from VXLAN headers into a flow, we would be able to distinguish between egress gateway traffic and other VXLAN traffic.
(Optional) Describe your proposed solution
I don't think Cilium currently emits VXLAN packets today. If it doesn't, then the initial step to take is to add VXLAN headers to monitor events. The next step is to implement a VXLAN header parser in Hubble. At a minimum, we probably want to extract the VNI and the outer IP header.

Thanks for creating the issue. A few additional pointers regarding a potential implementation:

VXLAN is also used in tunnel mode, so that is probably an easy way to get started and observe traffic. In particular, I'd recommend checking WireShark/TCPDump output too for a comparision
It's not clear yet if the datapath actually sends down the VXLAN header in the trace notify payload. If not, datapath changes will be needed.
Events for VXLAN traffic currently might not be emitted in all monitoring aggregation modes, or maybe not at all. Particularly for observation into egress gateway traffic however, it would be useful to emit at least some events if monitor aggregation is enabled.


Add Docker instructions to README

Provides the instructions for using the Dockerfile to run the code, as discussed in #419. Feedback welcome; hope this is helpful.

Absolutely! I'm currently training a models at around the 1B parameter mark (e.g., from large.yml) on roughly 150GB of data on a single node with 8 RTX8000 GPUs. At that scale, I'm seeing about 45 TFLOPS per GPU, which translates into ~18 sequences of 2,048 tokens per second on the full node. With better memory utilization, I can push the latter to about 25. That about echoes the realistic maximum these cards output and near-ideal node-level parallelism (about 7x the per-GPU performance); utilization is at a steady 100%.
I am planning to venture into the few-billion parameter territory after this, but realistically I need more than one server to train at that level. In my own benchmarking, I can get a throughput of about 7 sequences per second on the 2-7B model, so (with gradient-accumulation to accomodate larger batch sizes) that means training about 3x slower (makes sense; it's 3x the parameters). I'm already not getting through much more than 5GB of data per day, so training a larger model once on 150GB would take many months.
In terms of configuration, I tried a number of sweeps on the large configuration to calibrate. The results is that I am not currently using the model or pipeline parallelism -- the former slowed training down dramatically (maybe because no NVLink) and the latter was about even, though worse for larger batch sizes (probably because this is all intra-node). I do always enable the two flags for softmax and gelu fusion; they tend to add neglible setup time and boosted performance by a pretty significant amount in a few ad-hoc experiments. The stage-1 ZeRO optimizations seem to help as well; higher stages don't really seem to pay off, but maybe they will yet. And 1-bit Adam had no discernible impact whatsoever, which again makes some sense for single-node training. Oh and sparse training did speed things up a good bit, but led to errors when using in text-generation mode, some of which I could fix with padding and others that seemed more fundamental. I'm deferring on that one for a while.
I think that captures all my experiments. Hope this helps!


Request for maintaining a Changelog!

Request for maintaining a changelog!
I'm checking this repository after a long time. I had last used v0.7.0, I would like to know what new functionalities have been added!

@KingYapster We actually do keep a changelog in the "releases" section of our Github project: https://github.com/google/model-viewer/releases
Please let me know if that's what you were hoping to find!

Thanks! @cdata