Error when attempting to parse Google Cloud feed: openai.error.RateLimitError

This is because their RSS is linking to anchor tags on the web page of all Items, so we try to ingest the entire page for each item.
The feed has a content on the item, so we should be using that instead.
FEED_URL=https://cloud.google.com/feeds/gcp-release-notes.xml
WEB PAGE: https://cloud.google.com/release-notes
EXAMPLE ITEM: https://cloud.google.com/release-notes#July_12_2023
raise self.handle_error_response(
openai.error.RateLimitError: Rate limit reached for default-text-embedding-ada-002 in organization org-5ZoAObhtzFyOjiy4eQoo4N61 on tokens per min. Limit: 1000000 / min. Current: 0 / min. Contact us through our help center at help.openai.com if you continue to have issues.

CDATA of content key in RSS item
Anthos Attached Clusters

Feature

Added support for managing Anthos attached clusters in the Google Cloud console. You can now use
    a user-friendly graphical interface to manage your Amazon Elastic Kubernetes Service (EKS) and
    Azure Kubernetes Service (AKS) clusters on the Anthos platform. Using the Google Cloud console,
    you can view cluster status, update attached cluster components, and detach clusters.

For more information, including instructions, see the following documentation:

        View
            the status of your EKS attached cluster

        Update
            your EKS attached cluster

        Detach
            your EKS attached cluster

        View
            the status of your AKS attached cluster

        Update
            your AKS attached cluster

        Detach
            your AKS attached cluster

Apigee X

Announcement

On July 12, 2023, we released an updated version of Apigee X.

Feature

Preview release of non-VPC peering option for Apigee provisioning Apigee now supports a
    provisioning option that does not require VPC peering. With this approach, you are not required
    to provide networks and IP ranges during the Apigee provisioning process. Instead, you use
    Private Service Connect (PSC) for routing northbound traffic to Apigee and southbound traffic to
    target services running in your Google Cloud projects.

Non-VPC peering is supported for command-line (CLI) provisioning steps only. You can perform
    non-VPC provisioning for
    subscription,
    Pay-as-you-go, and
    evaluation installations of Apigee.

To learn more, see Apigee
    networking options.

BigQuery

Feature

The following BigQuery ML feature preprocessing functionality is now generally available
    (GA).

You can
    export  models that use the
    TRANSFORM clause for feature preprocessing to
    the TensorFlow SavedModel format. There are 13 data
    types supported for TRANSFORM clause input, and 127 SQL
    functions supported for use within the TRANSFORM clause.

You can also now deploy a model trained with the TRANSFORM clause to Vertex AI and locally.

Use the following functions to perform feature preprocessing:

            ML.IMPUTER

            ML.LABEL_ENCODER

            ML.MAX_ABS_SCALER

            ML.MULTI_HOT_ENCODER

            ML.NORMALIZER

            ML.ONE_HOT_ENCODER

            ML.ROBUST_SCALER

Feature

Custom holiday modeling for time series forecasting is now in preview. This release
    offers the following features to improve the transparency, flexibility, and explainability of
    time series forecasting in BigQuery ML:

New CREATE
        MODEL syntax to specify custom
        holiday modeling for time series models.

The new ML.HOLIDAY_INFO
        function, which returns the list of holidays being modeled by an
        ARIMA_PLUS or
        ARIMA_PLUS_XREG time series forecasting model.

An updated ML.EXPLAIN_FORECAST
        function, which includes an explanation of the holiday effect for each holiday included
        in the model.

A new public table, bigquery-public-data.ml_datasets.holidays_and_events_for_forecasting,
    has also been added to provide easy look-up of the built-in holidays used in time series
    forecasting models.

Try these features with the Use
    custom holidays in a time-series forecasting model tutorial.

Chronicle

Changed

The following supported default parsers have changed. Each is listed by product name and
    ingestion label, if applicable.

Absolute Mobile Device Management (ABSOLUTE)

AWS Cloudtrail (AWS_CLOUDTRAIL)

AWS CloudWatch (AWS_CLOUDWATCH)

BIND (BIND_DNS)

Check Point (CHECKPOINT_FIREWALL)

Chrome Management (N/A)

Cisco Meraki (CISCO_MERAKI)

Cloud Audit Logs (N/A)

Cloud Load Balancing (GCP_LOADBALANCING)

Cloudflare Audit (CLOUDFLARE_AUDIT)

F5 ASM (F5_ASM)

Fortinet FortiEDR (FORTINET_FORTIEDR)

IBM Security Verify SaaS (IBM_SECURITY_VERIFY_SAAS)

IBM Security Verify SaaS (IBM_SECURITY_VERIFY_SAAS)

Imperva FlexProtect (IMPERVA_FLEXPROTECT)

Jamf Protect Telemetry (JAMF_TELEMETRY)

Juniper Software Defined Wide Area Network (JUNIPER_SDWAN)

Microsoft AD (WINDOWS_AD)

Microsoft Azure Resource (AZURE_RESOURCE_LOGS)

Microsoft CASB (MICROSOFT_CASB)

Microsoft Powershell (POWERSHELL)

Microsoft SQL Server (MICROSOFT_SQL)

MISP Threat Intelligence (MISP_IOC)

Netskope (NETSKOPE_ALERT)

Okta (OKTA)

SecureAuth (SECUREAUTH_SSO)

Security Command Center Threat (N/A)

SentinelOne EDR (SENTINEL_EDR)

Sierra Wireless (SIERRA_WIRELESS)

Sourcefire (SOURCEFIRE_IDS)

Stormshield Firewall (STORMSHIELD_FIREWALL)

Versa Firewall (VERSA_FIREWALL)

Windows Event (WINEVTLOG)

Workspace Activities (WORKSPACE_ACTIVITY)

For details about changes in each parser, see Supported
    default parsers.

Changed

Chronicle Curated
    Detections has been enhanced with new detection content for Linux
    threats. These new rule sets help identify threats in Linux environments using AuditD and
    Unix System logs.

Cloud CDN

Feature

The Cloud CDN private
    origin authentication capability for Amazon Simple Storage Service (Amazon S3) and
    compatible object stores is now Generally Available.

Cloud Composer

Announcement

Cloud Composer 2.3.4 release started on July 12, 2023. Get
    ready for upcoming changes and features as we roll out the new release to all regions. This
    release is in progress at the moment. Listed changes and features might not be available in some
    regions yet.

Feature

Airflow 2.5.3 is available in Cloud Composer images.

Fixed

Fixed the retrying of transient errors in Composer Agent when creating Cloud Composer 2
    environments.

Changed

(Available without upgrading) The default amount of memory available to the web server,
    schedulers, and workers is changed from 3.75 GB per CPU core to 4 GB per CPU core. This value is
    used only if you do not specify the amount of memory available to these environment components.

Changed

(Available without upgrading) Improved the performance of DAG UI in Private IP
    environments.

Changed

Cloud Composer 2.3.4 images
    are available:

composer-2.3.4-airflow-2.5.3 (default)

composer-2.3.4-airflow-2.5.1 (default)

composer-2.3.4-airflow-2.4.3

Deprecated

Cloud Composer versions 2.0.20 and 1.19.3 have reached their end
    of full support period.

Cloud SQL for MySQL

Feature

Cloud SQL now offers two editions of Cloud SQL to support your various business and application
    needs: Cloud SQL Enterprise Plus edition and Cloud SQL Enterprise
    edition. Each edition provides different performance and availability characteristics
    to meet the needs of your applications.

Cloud SQL Editions are only available for Cloud SQL for MySQL and Cloud SQL for PostgreSQL.

For more information about Cloud SQL editions, see Introduction to Cloud SQL editions
    .

Cloud SQL for PostgreSQL

Feature

Cloud SQL now offers two editions of Cloud SQL to support your various business and application
    needs: Cloud SQL Enterprise Plus edition and Cloud SQL Enterprise
    edition. Each edition provides different performance and availability characteristics
    to meet the needs of your applications.

Cloud SQL Editions are only available for Cloud SQL for MySQL and Cloud SQL for PostgreSQL.

For more information about Cloud SQL editions, see Introduction to Cloud SQL editions
    .

Compute Engine

Feature

Generally available: You can enable faster network
    packet processing by using the Data Plane Development Kit (DPDK). DPDK helps you to optimize
    VMs that run network-intensive workloads, such as video streaming or voice calls.

Google Cloud Deploy

Changed

Cloud Deploy now supports Skaffold version 2.6. The default
    Skaffold version remains 2.3.

Google Kubernetes Engine

Feature

GKE Dataplane V2 observability is now available in Public Preview starting in GKE versions
    1.26.4-gke.500 or later, or 1.27.1-gke.400 or later. You can now enable Dataplane V2 metrics and
    observability tools on your cluster. Dataplane V2 metrics are included in new Autopilot clusters
    and opt-in for new Standard clusters. You can opt-in to enable Dataplane V2 observability tools
    for Autopilot and Standard clusters. Existing clusters can also be updated to enable metrics and
    observability tooling.

For more information, check out GKE
    Dataplane V2 observability.

Feature

In GKE version 1.24 and later, new beta APIs are, by default, disabled in new clusters. Starting
    in version 1.27, which is the first new minor version since 1.24 where new beta APIs are
    introduced, you can enable new APIs on cluster creation or for an existing cluster.

For more information, see how to Use Kubernetes
    beta APIs with GKE clusters.

Changed

    Revision for the release note announced on June 26, 2023

Starting August 2023, Cloud DNS will become the default DNS provider for new GKE Autopilot
    clusters created with version 1.25.9-gke.400 or later, or version 1.26.4-gke.500 or later
    (effectively replacing kube-dns). The rollout will be gradual and expected to be completed by
    August 11, 2023. To learn more, see Cloud DNS for GKE
    .

Looker

Announcement

Looker 23.12 includes the following changes, features, and fixes.

Expected Looker (original) rollout start: Tuesday July 18, 2023

Expected Looker (original) final deployment and download available: Thursday July 27,
    2023

Expected Looker (Google Cloud core) deployment start: Monday July 31, 2023

Expected Looker (Google Cloud core) deployment end: Friday August 11, 2023

Announcement

The Looker API reference documentation is now available on the Looker documentation site at
    https://cloud.google.com/looker/docs/reference/looker-api/latest.

Announcement

Two new "cookbooks," or collections of instructions for common use cases, have been
    added to the Best Practices section of the Looker documentation site. The Getting
    the most out of Looker visualizations guide describes some common use cases for customizing
    visualizations, and the Maximizing
    code reusability with DRY LookML guide presents a series of use cases for applying DRY
    (don't repeat yourself) principles to your LookML development.

Breaking

Changes to the settings API: Users with the manage_embed_settings
    or manage_privatelabel permission will now have limited access to the API. Users
    with the manage_embed_settings permission can update the embed_cookieless_v2
    field, and users with the manage_privatelabel permission can update the
    whitelabel_configuration field.

Changed

For customer-hosted Looker instances, Looker now fails to start if an appropriate version of the
    git command line tool is unavailable.

Feature

The new Border Radius option for custom
    embed themes lets you adjust how rounded the corners in dashboard tiles will appear.

Feature

The Lexp expression matches_filter now supports the tier, location, and zip code
    LookML field types.

Feature

BigQuery OAuth access for a user's Drive is now read-only.

Feature

Looker (Google Cloud core) now supports the following regions:

us-east1 (South Carolina)

europe-north1 (Finland)

europe-west1 (Belgium)

Fixed

In Looker 23.12, Looker rendering supports Chrome versions up to and including Chrome 114. Looker
    versions earlier than Looker 23.10 support up to Chrome version 109.

Fixed

The documentation has been updated regarding the behavior of the order_by_fields
    parameter when a table is being downloaded.

Fixed

Incorrect alignment of error messages on dashboard visualizations has been fixed.

Fixed

Previously, a derived table could fail to pick up on a filter value declared on the Explore level
    in a view that referenced the derived table via ${SQL_TABLE_NAME}. This issue has
    been fixed.

Fixed

Previously, a query that used custom measures could fail to render data on dialects that support APPROXIMATE
    COUNT DISTINCT. This issue has been fixed.

Fixed

LookML that is generated from results will no longer double-quote labels that contain spaces.

Fixed

Looker access filters now work with bind-filters and bind_all_filters
    when used in an NDT.

Fixed

Looker Marketplace functionality has been restored for Looker (Google Cloud core).

Fixed

Failures during updates to Marketplace installations now show meaningful errors.

Network Connectivity Center

Feature

Connecting
    VPC networks by using Network Connectivity Center is now available in Preview.

This feature lets you connect two or more VPC networks, represented as spokes, to a hub in the
    same or a different project for full mesh connectivity.

VPC Service Controls

Issue

The Quota page displays only the default quota limits and doesn't include
    any additional quotas provided by Google.

For information about VPC Service Controls quotas, see Quotas and limits.


Improves performance by avoiding parse tree creation

This is an experimental commit that improves the performance of evaluating and parsing an expression at the same time by avoiding creation of a parse tree. Also some other steps were taken to avoid other object allocations.
Seeing good performance with these changes when running the benchmark. Comparing the following with numbers from #30, seeing an increase from 8.415 to 10.153 which is a 20% increase.  The perfomance numbers from #30 were run on the same hardware.
Benchmark                                               Mode  Cnt   Score   Error   Units
AccessExpressionBenchmark.measureEvaluationAndParsing  thrpt   12  10.153 ± 0.147  ops/us

Not sure how this change fits in with overall code which is why it a WIP. Need to determine how it fits in with the existing parse tree code. For example could creating an expression only validate it w/o creating a parse tree?  Also this code could be slower than creating a parse tree for the case of having multiple authorizations sets.
Another reason this is a WIP is that it could be improved to short circuit in "and" and "or" expression and switch to a validation mode when the result is known and avoid further set lookups.  This is something that is done in the parse tree and could give a further bump in performance.

Added shot circuiting in 79dacd4 and seeing good performance from that, however I do not like how its implemented.  Feels hacky and still does an operation that could be avoided.   This is now at a 47% increase in performance over #30.
Benchmark                                               Mode  Cnt   Score   Error   Units
AccessExpressionBenchmark.measureEvaluationAndParsing  thrpt   12  12.331 ± 1.462  ops/us

Accumulo uses column visibility in the following way.

On the client side for insertion a ColumnVisibility object must be created. Evaluation will never be done with this object.
On the server side an iterator will parse and evaluate column visibility byte arrays all at once.

So these changes are ideal for the Accumulo server side code.  For Accumulo client side code, it may be useful to offer the ability to validate an expression w/o parsing.  So maybe the direction this PR could take is the following.

Offer functionality to parse and evaluate string or byte[] access expressions all at once w/o any object allocation.
Offer functionality to validate a string or byte[] access expressions w/o any object allocation.
Offer functionality  to compile an access expression.

This PR currently implements 1 above.  For 2 above that could be implemented in this PR and could be used in the client side Accumulo code to make insertions faster.  For 3 above, this library already offers but it could be presented in a different way.
// static method to validate an access expression w/o creating a parse tree, thows an exception if its not valid
AccessExpression.validate("A|B")
// change the existing static methods named of to compile
vat compiledAccessExpression = AccessExpression.compile("A|B);

The following is the result of running the benchmark on commit 7ea7b4e from this PR.
Benchmark                                           Mode  Cnt   Score   Error   Units
AccessExpressionBenchmark.measureBytesValidation   thrpt   12  29.083 ± 1.099  ops/us
AccessExpressionBenchmark.measureEvaluation        thrpt   12  12.429 ± 0.280  ops/us
AccessExpressionBenchmark.measureStringValidation  thrpt   12  24.336 ± 1.423  ops/us

The following is the result of running the benchmark on 46b5b877c3eaf433b122812701f47ae5c65ff0c4 from main.
Benchmark                                               Mode  Cnt   Score   Error   Units
AccessExpressionBenchmark.measureBytesParsing          thrpt   12  12.597 ± 0.257  ops/us
AccessExpressionBenchmark.measureEvaluation            thrpt   12  20.407 ± 0.287  ops/us
AccessExpressionBenchmark.measureEvaluationAndParsing  thrpt   12   8.235 ± 0.068  ops/us
AccessExpressionBenchmark.measureStringParsing         thrpt   12  11.267 ± 0.285  ops/us

In main the measureBytesParsing is roughly equivalent to measureBytesValidation in this PR.  That goes from 12.597 to 29.083 which is a 2.31 times faster.  This will be really nice for creating column visibility objects which only need to validate.
In main measureEvaluation has no equivalent in this PR because that was testing using an existing parse tree, there is no longer a parse tree.  This was not a useful benchmark because pre-parsed expression would not be available when streaming through data.
In main measureEvaluationAndParsing is equivalent to measureEvaluation in this PR.  That goes from  8.235 to 12.429 which is 1.51 times faster.  This will be a nice speedup for evaluating visibility expressions on the server side in Accumulo.

Update https://github.com/apache/accumulo/pull/3746 to use the updated API in this PR.


How to delete uploaded file when user navigates to another page before submitting form?

Hello,
For my example, let's say a user uploads a file in step 1 of the Wizard, then goes to step 2 and navigates to another page without submitting the form.  What method can I use to detect this action so that I can delete the user's uploaded file and not have it junk up the file system?
I've gotten it so that the file is deleted on a reload but not if the user enters a URL into the browser and loads a new page.

In general, since the server has no clue that the user has gone away (or indeed might come back), I don't think there is any explicit trigger that one can rely on. What I do is that I ensure all file storage is kept in a well-known tree and run a daily "batch" job that clears the tree of files which have been there more than 2 days.

In general, since the server has no clue that the user has gone away (or indeed might come back), I don't think there is any explicit trigger that one can rely on. What I do is that I ensure all file storage is kept in a well-known tree and run a daily "batch" job that clears the tree of files which have been there more than 2 days.


Fix(eos_designs)!: Add 'vxlan-routing' TCAM profile to R3 devices

Related to SR546455. This change will be hitful, as the TCAM profile on R3 devices is changed and hence the forwarding agent is restarted.
Change Summary
The 'vxlan-routing' TCAM profile is required on Jericho2-based devices for proper handling of VXLAN IPv6 NS packets.
Related Issue(s)
Related to SR546455. No GitHub/AVD Issue opened for this.
Component(s) name
arista.avd.eos_designs
Proposed changes
Add TCAM profile 'vxlan-routing' to R3 devices (7280R3/7500R3/7800R3) to make it consistent with the configuration we see for R/R2 devices.
How to test
Checklist
User Checklist

N/A

Repository Checklist

[x] My code has been rebased from devel before I start
[x] I have read the CONTRIBUTING document.
[ ] My change requires a change to the documentation and documentation have been updated accordingly.
[x] I have updated molecule CI testing accordingly. (check the box if not applicable)

I am not sure I agree that we should add this in the defaults at this moment. It only solves a specific case for IPv6 and this would affect every customer already using AVD.


[SuperEditor] - Cannot linkify links that don't conform to the URL format, like app links

Currenlty if a user types an app link for Obsidian (e.g. obsidian://open?vault=98_Obsidian_NEW_2023&file=30-) followed by a space, it will not get linkified.
LinkifyReaction uses linkify to detect URLs in order to linkify text and it uses the 2 default linkifiers: UrlLinkifier and EmailLinkifier.
These do not cover the cases like app links to apps like Obsidian where the link does not conform to the URL format.

@miguelcmedeiros is the idea that we should identify any string that has a "://" that separates two pieces of text? Or do we expect the user to specify each application scheme that should be recognized?

@matthew-carroll

is the idea that we should identify any string that has a "://" that separates two pieces of text?

That makes sense, since it should parse the URL string into a URI.


Remove mention of private GitHub project from TrackerDash

Codecov Report

Merging #496 into master will not change coverage.
The diff coverage is 0%.

@@           Coverage Diff           @@
##           master     #496   +/-   ##
=======================================
  Coverage   46.24%   46.24%
=======================================
  Files          39       39
  Lines        1544     1544
=======================================
  Hits          714      714
  Misses        830      830

Impacted Files
Coverage Δ

components/TrackerDash/TopInfoBar.js
42.85% <0%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


[$500] Room-Receiver of room invite has enabled forced offline, but receiving room invite

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: 1.4.33-0
Reproducible in staging?: y
Reproducible in production?: y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: Applause internal team
Slack conversation:
Action Performed:

Go to https://staging.new.expensify.com/

2.In mweb, in room chat, from invite members page, invite a user to room
3.Invited user must be already logged in using Android app and must have enabled forced offline
4.In mweb, after inviting member who is already logged in and enabled forced offline, can see a notification on top after invited to room
4.Tap on that notification
Expected Result:
Receiver of room invite has enabled forced offline, so he must not receive room invitation message.
Actual Result:
User directed to room page, header showing skeleton and below invited message delivered in offline.
Receiver of room invite has enabled forced offline, but yet he receives room invitation message.
Workaround:
Can the user still use Expensify without this being fixed? Have you informed them of the workaround?
Platforms:

Which of our officially supported platforms is this issue occurring on?

[x] Android: Native
[x] Android: mWeb Chrome
[ ] iOS: Native
[ ] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[ ] MacOS: Desktop

Screenshots/Videos
Add any screenshot/video evidence
https://github.com/Expensify/App/assets/43996225/b0e56f84-2cdb-4f10-a2f2-0586a013d983

View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~012e3f7bcb5ccba474
Upwork Job ID:<PHONE_NUMBER>071841281
Last Price Increase: 2024-02-06

No proposals yet

This is also a pretty esoteric bug. I think it's more an issue with our internal tools more than anything.

I am not sure this is bug. Should we prevent showing push notification if enabled offline in the app?
🎀 👀 🎀 to confirm with engineer

Eeeh, yeah I guess technically it's ab ug but I agree with @JmillsExpensify - this is a pretty obscure bug to come across. I don't think it's really worth the investment to resolve. What do you think @JmillsExpensify?

Ya, force offline is a weird dev features, so if it's a little janky, I don't think it matters.  Let's focus on customer-affecting bugs.  Closing.


Android - WebView cannot display pdf

This is a known issue that was eventually resolved for iOS, but not Android.
I found a Stack Overflow question that offered a workaround – using a Google Drive link to display a PDF. This, however, works inconsistently (i.e. it was working a week ago, but this week it isn't, despite the RN version not being changed - 0.20.0). Working on Mac.
The iOS is working completely fine, as expected.
<WebView
   style={{ flex: 1, height: deviceHeight - 80 }
   ref="webViewAndroidSample"
   javaScriptEnabled={true}
   geolocationEnabled={false}
   builtInZoomControls={false}
   source={{ uri: "http://bit.ly/1Rl7Txr" }}
   scalesPageToFit={true} />

@esthersweon Are you up for sending a pull requests with a fix? We're a small team and rely on the community to fix bugs that don't affect fb apps.

@mkonicek I'm definitely looking into it this week, and will submit a PR if I come across a solution. Just wanted to log the issue, in case other RN users have insight/ their own solutions.

The Webview isn't very reliable (seems to work on emulator but not on a device) or performant. I end up using react-native-pdf-view instead.

@esthersweon :+1: Sounds good! Thanks for the tip with react-native-pdf-view @Anthonyzou. @esthersweon maybe you can use that if it works for you?

@Anthonyzou How did you supply the PDF file to react-native-pdf-view? I can't figure out how to load a PDF file that's bundled with my project on Android.  How did you find the absolute path to the PDF in your apk?
Could you provide an code snippet?

@bomalley The pdf view library isn't setup to take resources bundled with the app. My use case was downloading a pdf and displaying it. So, I made a module react-native-io-utils. Its not on npm at the moment.
class PDF extends Component {
  constructor(props, context){
    super(props, context)
    this.state = {
      path: null
    }
    IOUtils.download({url:this.props.url}, ()=>{})
    .then((results) => {
      this.setState({
        path : results.path,
      });
    })
    .done()
  }
  render() {
    if(!this.state.path){
      return null
    }
    return <PDFView
      ref={(pdf)=>{this.pdfView = pdf;}}
      src={this.state.path}
      style={styles.pdf}
    />
  }
}

Hey All, I just happened to recall coming across a solution to embedding local PDF's for Android on Stack Overflow. He essentially has to...

Pull the PDF out of the APK and save it to the file system
Use react-native-fs to access the file system.
Use react-native-pdf-view to load/view the PDF

Please have a look at this article... SOF: View a PDF in React Native
Hope you find this helpful

Thanks @geirman.  That was my questions on Stack Overflow.  And my answer. ;)
BTW, I also submitted a Pull Request last night to the react-native-pdf-view package to make it easier to load the PDF from the asset folder on Android.
I'm tempted to submit a pull request to the core React Native repo for a cross-platform PDF viewer. I think it's a substantial enough feature that is makes sense to be in the core.  If the mods agree I'll send it in.

Oh, ha! You use very different usernames, I didn't realize.
@mkonicek who makes the call on whether this functionality would be accepted in core?

@geirman @mkonicek Here's the challenge with supporting PDF display:
iOS is trivial.  UIWebView will display a PDF for you.  It's just a matter of passing it a URI that points to the PDF file.
Android, however, did not support native PDF rendering until Lollipop (5.0) as far as I can determine.  Since React Native support goes all the way back to Jellybean (4.1), that puts us in a gap.  We would either need to add a feature that's not supported in older versions of Android (hacky), or bundle in a 3rd party PDF renderer like android-pdfview (also hacky)
I would be more in favor of sticking with the native support in Lollipop+, but that may go against the ideals of the project team.

I cant get webview to show pdf in any version of Android.

var uri = {
  html:"
To Open the PDF
"
}

getInitialState: function() {
    return {
      url:uri
    }
}
...
<WebView
	ref={WEBVIEW_REF}
	automaticallyAdjustContentInsets={false}
	source={{uri: this.state.url}}
	javaScriptEnabled={true}
	domStorageEnabled={true}
	decelerationRate="normal"
	onNavigationStateChange={this.onNavigationStateChange}
	startInLoadingState={true}
	scalesPageToFit={this.state.scalesPageToFit}
/>
....
   onNavigationStateChange (navState) {
		  var wb_url=navState.url;
		  var lastPart = wb_url.substr(wb_url.lastIndexOf('.') + 1);
		  if (lastPart === "pdf") {
		    var DEFAULT_URL = {uri:'http://docs.google.com/gview?embedded=true&url='+wb_url};
		    this.setState({url:DEFAULT_URL})
         }
    }

The pdf file cant be viewed using native android. So we used google docs for viewing pdf. I tried the same for viewing pdf for web view. If this sounds to be ok, we will make a pull request.

Hi there! This issue is being closed because it has been inactive for a while.
But don't worry, it will live on with ProductPains! Check out its new home: https://productpains.com/post/react-native/android-webview-cannot-display-pdf-
Product Pains has been very useful in highlighting the top bugs and feature requests:
https://productpains.com/product/react-native?tab=top
Also, if this issue is a bug, please consider sending a pull request with a fix.

hi
how to upload pdf & word files
I'm using android web view
please help me out no answers in google

@immanenimohan That question doesn't have anything to do with this discussion. You'd probably be better off posting it on stackoverflow. Good luck.

I found a trick that will allow us to view pdf file on webview (android) by tweaking @sathyapriya31 solutions, simply pass the url with gdoc preview. For example:

direct pdf link: https://example.com/abc.pdf
previewable link on webview: http://docs.google.com/gview?embedded=true&url=https://example.com/abc.pdf

Hope it helps

hi guys, what if i want to view a pdf that is on the file system ?
I have a url like this :
"content://com.google.android.apps.docs.storage/document/acc%3D2%3Bdoc%3D148"

An alternative that worked for me was to use Expo's WebBrowser to display the PDF. On Android It opens a Chrome custom tab to display the PDF, with a convenient back button to let the user go back to your app.
onLoadEnd = () => {
    if (this.isPdf(this.state.url) && Platform.OS === "android") {
      WebBrowser.openBrowserAsync(this.state.url);
    }
};

onNavigationStateChange = (navState) => {
  this.setState({
    url: navState.url
  });
};

isPdf(url) {
  return url.toLowerCase().endsWith(".pdf");
}

@khanghoang I used your workaround and it's great but sometimes (1 in 5) the PDF does not load. Do you know of any limitations with cache or amount of times one can use the google doc viewer?

Hi,
I’m working on a solution to have a PDF offline viewer (android capable, using expo):
https://github.com/xcarpentier/rn-pdf-reader-js


Fix typo: a orchestration > an orchestration

Docs Build status updates of commit 4558d83:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

xml/Microsoft.Azure.WebJobs.Extensions.DurableTask/IDurableEntityContext.xml
:white_check_mark:Succeeded

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

Hey @donald93 .
Thank you for your contribution! Unfortunately the content in the xml folder is all autogenerated from packages available on Nuget. I have mirrored your contribution to the appropriate location.
Next time this package releases, your fix should be included. Thanks!

Oh I had no idea. Glad to see it go in!


[WIP] metrics and logs

What
This is a draft PR that adds some logging and metrics to paas-admin. It's intended to help with the discussion about what sort of UX we want for logging and metrics. Do we even want them inside paas-admin? I don't know.
Anyway, screenshots:

How to review
Don't
Who can review
Nobody

Closing this as there's lots of progress on prototypes happening on other branches.


[RFC] add pre-run simulation hook for cli.main

as far as i can tell, current simulation cli-based workflow for a module is the following:
module.py:
main(m, ...)

which gives control to cli.py:
https://github.com/nmigen/nmigen/blob/746886ca8ac3b9a8941b540a347452805acbbcf2/nmigen/cli.py#L68-L73
which sets up the simulation environment
this (again as far as could see) implies that one needs to have a separate python module that is to be invoked for simulation of module.py.
codegen for a module.py is invoked as module.py generate ..., while
sim for module.py is invoked as some_module.py simulate ...
suggested solution: pre-run simulation hook defined in module.py, invoked by simulate option in cli.main

pros: unified cli interface for both simulation and codegenration via the module.py cli arguments
cons: module code bloating as a module will have both hdl-relaed code and testbench-related code in a single file. this may be a problem as testbench code tends to be times larger then uut

For me, the fact that a single files contains all (code + test) was, among other things, a plus when exploring alternatives to VHDL/Verilog. However it is true that I am at a stage where codesize is very modest.
For the little bits of code I could write, coverage and simulation code seems to require setting up a top module. One could imagine to write a Test/Simulation/Whatever Suite that would look like (disclaimer, heavily inspired by JUnit) :
# imports
from ...

class mySuiteOfStuff:

    @formalVerification
    def shouldVerifyThis(context:VerificationContext): # at least a top module to setup assert/covers etc...
        # update the context

    @formalVerification
    def shouldVerifyThat(c:VerificationContext): # for more concise writing ; and one can have disjointed sets of verifications
        # update the context
        # of course, a new context is regenerated between each call

    @simulation
    def simulateThisCase(context:SimulationContext): # at least a simulator instance and a Module to setup
        # update the context

    @simulation
    def simulateThatCase(c: SimulationContext): # again, several simulation can be defined
        # update the context

    @BeforeAllVerification
    def setupGlobalVerification(...): # did I say that I am heavily inspired by JUnit ?
        # return something ? or update a provided context ?

    @BeforeEachVerification
    def setupOneVerification(...): # remainder the function name is free, the decorator is there to spot the function of interest
        # return something ? or update a provided context ?

    @AfterEachVerification
    def tearDownOneVerification(...) : #....
        #etc...

    @AfterAllVerification
    def tearDownAllVerifications(...) : #...
        # etc...

    # And the same for simulation, but it's so long
    # @{Before|After}{All|Each}Simulation

### Launcher ###
if __name__ == "__main__":
    main(..., suite=mySuiteOfStuff)

We have a more formal RFC process these days and this proposal would have to go through it to be accepted. In general, CLI improvements are desirable; I have a prototype for a new CLI in #904.


Is this repo unmaintained?

6 months without a commit... wondering ...
It still seems to me that this repo is the best asset management strategy in the nodejs platform.
Main reason to this is that I find dumb regenerating code on code change instead of when query happens, since the two events are not correlated:
Risks when the query occurs faster than file regeneration:

risks of the asset not to be ready when the query occurs, generating error
worse, risks that the process hasn't started yet and the older ressource is served, leading to even more confusion

Cases of useless compilations:

On the other hand it happens pretty often to make several file changes/saves before testing the whole thing. Each regeneration is a waste.

I'd be glad to dive further into this repo if assistance is needed.
Best

@aug-riedinger this issue really bummed me out to read this morning. You may want to consider the emotional impact of your issues before opening them in the future.
If this module works well for you, great!
If you’d like to see changes or you find bugs, pull requests are always welcome!

Not sure I understand your comment. By emotional impact, you mean on you the maintainer or on me the author?
The overall activity on a repo is a very important decision maker in deciding whether to use it or not and even further, whether to contribute on it.
I'm still amazed that the asset-pipeline-rails-way of thinking did not take over the webpack/browserify approach. If you tell me that even you, the main author of this repo, gave up on connect assets and now use webpack, I'll give up for sure. Otherwise I'll have some steps to suggest to the roadmap for sure. :smile:


ModuleNotFoundError: No module named 'numpy'

face_recognition version: latest
Python version: 3.6
Operating System: Debian Stretch

Description
I took the dockerfile and tried to install the repo on my Raspberry Pi 3, but i alwas get an error because of ModuleNotFoundError: No module named 'numpy' at setup.py.
What I Did
Downloaded the repo files and tried to install throught the dockerfile:
https://github.com/ageitgey/face_recognition/blob/master/Dockerfile
Running setup.py bdist_wheel for scipy: finished with status 'error'
[main]    Complete output from command /usr/local/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-1lmk6ekg/scipy/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" bdist_wheel -d /tmp/tmpndaspagjpip-wheel- --python-tag cp36:
[main]    Traceback (most recent call last):
[main]      File "<string>", line 1, in <module>
[main]      File "/tmp/pip-build-1lmk6ekg/scipy/setup.py", line 418, in <module>
[main]        setup_package()
[main]      File "/tmp/pip-build-1lmk6ekg/scipy/setup.py", line 398, in setup_package
[main]        from numpy.distutils.core import setup
[main]    ModuleNotFoundError: No module named 'numpy'
[main]    ----------------------------------------
[main]    Failed building wheel for scipy
[main]
[main]    Running setup.py clean for scipy
[main]    Complete output from command /usr/local/bin/python -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-1lmk6ekg/scipy/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" clean --all:
[main]    `setup.py clean` is not supported, use one of the following instead:
[main]      - `git clean -xdf` (cleans all files)
[main]      - `git clean -Xdf` (cleans all versioned files, doesn't touch
[main]                          files that aren't checked into the git repo)
[main]    Add `--force` to your command to use it anyway if you must (unsupported).
[main]    ----------------------------------------
[main]    Failed cleaning build dir for scipy
[main]
[main]  Successfully built face-recognition-models numpy Pillow
[main]  Failed to build scipy
[main]  Installing collected packages: face-recognition-models, Click, numpy, Pillow, scipy
[main]    Running setup.py install for scipy: started

Can you share the exact commands you ran?

@Sega01 Seeing the same error on Raspberry Pi 2.0. Did you find a fix?


TextBox updates

Fixed some alignments
Leaving to Curtis to merge his changes to this PR

@suissechris,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot


Tab Panel Transitions

Describe what feature you'd like. Pseudo-code, mockups, or screenshots of similar solutions are encouraged!
Like accordion was a special use case where it made a lot of sense to use a built in slide transition, I would like tab panel changes to be able to fade in/out and slide left/right (newly added built in svelte transition Slide Axis
What type of pull request would this be?
None
Any links to similar examples or other references we should review?
No response

I'm going to go ahead and fold this under a larger pending update to animations system wide in Skeleton. Please feel free to track progress here from this point forward:

https://github.com/skeletonlabs/skeleton/issues/1322#issuecomment-1535420780


Not process all characters pasted from clipboard

Description
If I run the sample code and try to paste the string test from the clipboard, not all characters are processed.
Current output
Press any key to display key code or press Q to exit:

t (84)

Exit.

Expected output
Press any key to display key code or press Q to exit:

t (84)
e (69)
s (83)
t (84)

Exit.

@ppastercik Does this problem occur on Windows, Linux or MacOS?

@andyduke
The problem was in Windows and the other problem with the clipboard was in Linux.
Both problems are fixed in the master branch. It works in Windows and Linux. I cannot test macOS.


[invite] Migrate module types to a type declaration file

Addresses #687

@estherkim I tried out the branch you had, but after rebasing and getting everything else working, there were still issues with actually running the code. I think it may be because imports of .d.ts files are ignored at runtime, but the enum type actually defines string values which are used at runtime. I've updated this PR to just drop the Knex alias for now, and the modules still import from src/types.ts

Closing this, as the relevant work was done in other linting/cleanup PRs.


Change WebView to Another View?

Hello!
Your app is really awesome.
But how to change web view to another viewcontroller?
Please help.
Thank you

@weuniq
Thank you for your interest in this library.
By specification, it can not replace the webView to another view.
For the purpose to popup your view, you may use the PTBalloonView, which you can embed your view.


Hide obsolete details

Can't believe we've never really thought about this before.
Quicksilver displays an object's name and details regardless of whether the two are the same.
This clutters up the interface with duplicate text.
Typically, it happens with URLs and text. The place where I saw it today and thought 'huh?!' was in the clipboard window. It looks so messy!
This small change only displays the details if they're different from the name. There are a few small discrepancies: sometimes details strings are clipped, so the start is the same as the name, but not the whole string (and my changes fail).
Also, it seems like the name string has the whitespace stripped out of it, whereas the details string doesn't.
Yay a tidy up! :)

P.S. the reverted commit is as I have now seen that Etienne has already made this change somewhere else and I don't want to interfere with that.

In attempting to fix #591, I may have stumbled upon a better fix for this.
 Did you know actions had details? Helpful details. Everything in QSAction.description.strings has been getting ignored.
Pull request coming, but I’m still trying to figure it all out.

Should we close this? The fix in #591 seems much simpler. :-)

Does #591 / #624 fix displaying the same thing twice? E.g. if you look at the clipboard (if there's text in it) you get duplicate text.
If it does, then I guess the localisable fix is the proper/correct way of doing things :-)
-- see my comments on your #624 pull request

Does #591 / #624 fix displaying the same thing twice?

Interesting. With my change merged in, duplicates were gone for most things, but text in the clipboard history was duplicated (when viewed as children of the clipboard). Merged in your change and now that’s fixed too.
I see now that I’m only checking for a match with the details stored in the object. There are other potential sources of details in that method.

I would have to add several string comparisons all over that method to catch all the possibilities.
Other parts of the code (or plug-ins) might have legitimate reasons to request the details from the object. It shouldn’t lie and say there are none.
Related to 2, whether or not the details should be displayed should be decided at the display level (where you implemented it). Not lower down.

For those reasons, I will take out my changes to the details method. The other changes in that pull request should be good though. You shouldn’t change anything. I’ll make my changes and test along-side this. If all looks good, I’ll merge this one.

Cool, so this is all good? :-)
See my comment over on the 'other' pull request!


No module named 'librealsense'

Before opening a new issue, we wanted to provide you with some useful suggestions (Click "Preview" above for a better view):

Consider checking out SDK examples.
Have you looked in our documentations?
Is you question a frequently asked one?
Try searching our GitHub Issues (open and closed) for a similar issue.

All users are welcomed to report bugs, ask questions, suggest or request enhancements and generally feel free to open new issue, even if they haven't followed any of the suggestions above :)

Required Info

Camera Model
{ D455 }

Firmware Version
(Open RealSense Viewer --> Click info)

Operating System & Version
{MacOS

Kernel Version (Linux Only)
(N/A)

Platform
PC

SDK Version
{ legacy / 2.53.1 }

Language
{python }

Segment
{others }

Issue Description
<when i import the pyrealsense2 and trying to use the api to capture the frames of the camera in Python. It works well on win, but when i use the script in mac, it will return:

ModuleNotFoundError                       Traceback (most recent call last)
Cell In[6], line 12
---> 12 import librealsense as rs
13 import numpy as np
14 from ultralytics import YOLO
ModuleNotFoundError: No module named 'librealsense'>
it seems it cannot find the camera, but i check the mac device info, the camera exists.

Hi @huyuaaaray  There is a pre-built version of pyrealsense2 for Mac at https://github.com/IntelRealSense/librealsense/issues/9687 but it has only been tested with MacOS Catalina and Big Sur.
At the time of writing this, the most recent MacOS version that has pyrealsense2 setup advice available for it is Monterey - see https://github.com/IntelRealSense/librealsense/issues/5275#issuecomment-1059876482
A RealSense user who recently tested pyrealsense2 with the current latest MacOS, Ventura, found that the camera was not detected.

Hi @huyuaaaray  Do you require further assistance with this case, please?  Thanks!

thanks， so is there any way to use the camera in Mac?
获取 Outlook for iOShttps://aka.ms/o0ukef

发件人: MartyG-RealSense @.>
发送时间: Tuesday, June 6, 2023 1:51:43 PM
收件人: IntelRealSense/librealsense @.>
抄送: Hu, Yu @.>; Mention @.>
主题: Re: [IntelRealSense/librealsense] No module named 'librealsense' (Issue #11848)
[External Email]
Hi @huyuaaarayhttps://github.com/huyuaaaray Do you require further assistance with this case, please? Thanks!
―
Reply to this email directly, view it on GitHubhttps://github.com/IntelRealSense/librealsense/issues/11848#issuecomment-1579209840, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AVMNJ62K6SXRRMEGTZRJMYLXJ5U27ANCNFSM6AAAAAAYSDDOGI.
You are receiving this because you were mentioned.Message ID: @.***>

The camera and the librealsense SDK can be used with MacOS Monterey and Apple Silicon M1 based Macs.  It can be installed with brew install librealsense or by using a detailed installation guide at the link below.
https://lightbuzz.com/realsense-macos/
The guide includes a link to an automated shell script for installing pyrealsense2 on MacOs.
https://github.com/cansik/pyrealsense2-macosx/blob/apple-silicon/librealsense-python-mac.ps1
At the time of writing this there is not much information about using RealSense with MacOS Ventura other than a recent case at https://github.com/IntelRealSense/librealsense/issues/11815

Hi Marty,
I do can install the pyrealsense on Mac. Like the description previously, how can I solve the problem that the system cannot detect the camera?
Thanks,
Yu Hu
获取 Outlook for iOShttps://aka.ms/o0ukef

发件人: MartyG-RealSense @.>
发送时间: Tuesday, June 6, 2023 2:09:02 PM
收件人: IntelRealSense/librealsense @.>
抄送: Hu, Yu @.>; Mention @.>
主题: Re: [IntelRealSense/librealsense] No module named 'librealsense' (Issue #11848)
[External Email]
The camera and the librealsense SDK can be used with MacOS Monterey and Apple Silicon M1 based Macs. It can be installed with brew install librealsense or by using a detailed installation guide at the link below.
https://lightbuzz.com/realsense-macos/
The guide includes a link to an automated shell script for installing pyrealsense2 on MacOs.
https://github.com/cansik/pyrealsense2-macosx/blob/apple-silicon/librealsense-python-mac.ps1
At the time of writing this there is not much information about using RealSense with MacOS Ventura other than a recent case at #11815https://github.com/IntelRealSense/librealsense/issues/11815
―
Reply to this email directly, view it on GitHubhttps://github.com/IntelRealSense/librealsense/issues/11848#issuecomment-1579233877, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AVMNJ64R5Z5NULV2K7QVL6LXJ5W35ANCNFSM6AAAAAAYSDDOGI.
You are receiving this because you were mentioned.Message ID: @.***>

I note that the instruction ** import librealsense as rs** is mentioned, producing the error ModuleNotFoundError: No module named 'librealsense'.
In a pyrealsense2 script, the instruction should be import pyrealsense2 as rs

Thanks, I do import the pyrealsense2, but it still cannot detect the device.

Is the realsense_config in the pipeline.start() brackets a cfg stream configuration name?
If it is then a custom configuration would not be written like this with the width, height and framerate inside the brackets.  It would usually look something like this when written in Python language:
pipeline = rs.pipeline()
realsense_config = rs.config()
realsense_config.enable_stream(rs.stream.depth, width. height, rs.format.z16, framerate)
realsense_config.enable_stream(rs.stream.color, width. height, rs.format.rgb8, framerate)
pipeline.start(realsense_config)

Thanks, here is my config. I notice the code you provide has a format of `width. height`, but it throws an error when i edit to that. When I use `width, height`, it still shows no device detected:

You are correct, there was a typo error in my provided code.  It should have been a comma beside width instead of a full stop.  My apologies, I have edited the comment above.
realsense_config.enable_stream(rs.stream.depth, width, height, rs.format.z16, framerate)
realsense_config.enable_stream(rs.stream.color, width, height, rs.format.rgb8, framerate)

I note that You still had No device detected error even after making the edit though, and that the problem only occurs on your Mac installation of pyrealsense2 but not the Windows one.
Have you tested other RealSense programs, such as realsense-viewer, to see whether they can detect the camera on Mac?

I have tried the realsense-viewer, it will automatically quit if i connect to the camera. But it won't quit the exe if i don't connect the camera.

Which MacOS version is your computer using, please?
Intel ceased updating RealSense Mac compatibility a long time ago after 2018's MacOS High Sierra version.  The RealSense SDK has continued working with subsequent MacOS versions since then.  But problems started to occur after the introduction of Apple Silicon M1 Macs and MacOS Monterey.
As new versions of MacOs are released, such as the current latest Ventura, incompatibility may increase further, unfortunately.  The community of RealSense Mac users are now the best source for solutions to problems that arise with RealSense MacOS installation problems.  Many of those users can be found at https://github.com/IntelRealSense/librealsense/issues/9916

It is Ventura, is there any way to solve this problem?
Is there any chance that intel will solve this problem, the compatibility of mac, later?
获取 Outlook for iOShttps://aka.ms/o0ukef

发件人: MartyG-RealSense @.>
发送时间: Friday, June 9, 2023 11:10:24 AM
收件人: IntelRealSense/librealsense @.>
抄送: Hu, Yu @.>; Mention @.>
主题: Re: [IntelRealSense/librealsense] No module named 'librealsense' (Issue #11848)
[External Email]
Which MacOS version is your computer using, please?
Intel ceased updating RealSense Mac compatibility a long time ago after 2018's MacOS High Sierra version. The RealSense SDK has continued working with subsequent MacOS versions since then. But problems started to occur after the introduction of Apple Silicon M1 Macs and MacOS Monterey.
As new versions of MacOs are released, such as the current latest Ventura, incompatibility may increase further, unfortunately. The community of RealSense Mac users are now the best source for solutions to problems that arise with RealSense MacOS installation problems. Many of those users can be found at #9916https://github.com/IntelRealSense/librealsense/issues/9916
―
Reply to this email directly, view it on GitHubhttps://github.com/IntelRealSense/librealsense/issues/11848#issuecomment-1584742243, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AVMNJ65VS5DFUCHZNBV32I3XKM4GBANCNFSM6AAAAAAYSDDOGI.
You are receiving this because you were mentioned.Message ID: @.***>

Intel no longer provide updates for Mac compatibility in the RealSense SDK.  Like with Monterey, a solution for Ventura will likely come from the community of RealSense users with Macs.  I recommend posting a comment on https://github.com/IntelRealSense/librealsense/issues/9916 to see whether somebody has a suggestion.

I appreciate that
获取 Outlook for iOShttps://aka.ms/o0ukef

发件人: MartyG-RealSense @.>
发送时间: Friday, June 9, 2023 11:30:29 AM
收件人: IntelRealSense/librealsense @.>
抄送: Hu, Yu @.>; Mention @.>
主题: Re: [IntelRealSense/librealsense] No module named 'librealsense' (Issue #11848)
[External Email]
Intel no longer provide updates for Mac compatibility in the RealSense SDK. Like with Monterey, a solution for Ventura will likely come from the community of RealSense users with Macs. I recommend posting a comment on #9916https://github.com/IntelRealSense/librealsense/issues/9916 to see whether somebody has a suggestion.
―
Reply to this email directly, view it on GitHubhttps://github.com/IntelRealSense/librealsense/issues/11848#issuecomment-1584771870, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AVMNJ66KVUEOJ53Q4JVOUXLXKM6RLANCNFSM6AAAAAAYSDDOGI.
You are receiving this because you were mentioned.Message ID: @.***>


how to maintain lists (of UUIDs for indicators, bg DBs etc.) in ASCII form and generate human-friendly representations

We want to maintain the lists of identifiers etc. in a git-friendly easy diffable fashion, while at the same time use them to generate HTML on GitHub Pages and XLS for download and developer package.
Probably CSV would be the preferred candidate as source format for tabular data, as it is easily editable and convertable.

ssconvert could be an interesting candidate to merge multiple CSVs (one per sheet) into a single XLSX: https://manpages.ubuntu.com/manpages/noble/en/man1/ssconvert.1.html
A pandoc filter is available for transforming CSV to MD: https://github.com/ickc/pantable
The tabular documents we want to convert to CSV (one CSV per worksheet, these will live in the git repo) are:

BackgroundDB_SourceDatasets.xlsx (latest version v1.11, ignore first sheet with explanations)
EN15804_indicators_with_A2.xlsx

bonus points: auto-adjust column widths in the generated XLSX to the size of the cell contents


handle retina/hidpi displays with metadata

This implements the handling of hidpi displays for PyPlot (#902) like IPython does. During display, it sends metadata with the PNG images that specify half-height and width, with these dimensions read from the PNG header. See the issue for links to how IPython does it.
To complete this feature, it might be nice to add a PyPlot.retina(true) command which doubles the inline DPI and sets IJulia.retina[].
Example Usage
using IJulia
IJulia.retina[] = true

using PyPlot
plt.plot( sin.(1:0.1:10) )

I don't understand why this can't be done by the front-end display.   It seems weird to do this in the kernel, because the kernel doesn't know anything about the display, and indeed the same kernel may be talking to multiple displays in theory.

Is there a Jupyter/Jupyterlab issue for this as a front-end feature?

Is there a Jupyter/Jupyterlab issue for this as a front-end feature?

I've made an issue at https://github.com/jupyterlab/jupyterlab/issues/9440 to see what people think. Maybe it's historical.

A short alternative, for if you only care about retina'ing PyPlot Figures, and don't mind that matplotlib's (figwidth, figheight) is not the exact same as the actual png's.
using IJulia

function IJulia.metadata(x::PyPlot.Figure)
    w, h = (x.get_figwidth(), x.get_figheight()) .* x.get_dpi()
    return Dict("image/png" => Dict("width" => w/2, "height" => h/2))
end


Fix typo in README

https://github.com/ibhagwan/fzf-lua/commit/d4c050e1017ddccd372cce1dec4146558dbb7c1e - merged along additional README updates, ty!


Added 'nginx_use_spdy' parameter to enable spdy in nginx

Addresses issue #30

Gem version 3.2.0 with this update is out.

Thanks. I've added info about this new parameter here: https://github.com/capistrano-plugins/capistrano-unicorn-nginx/wiki/Configuration.

Looks good!


feature request: connect to vLLM.

It would be great to be able to connect your fork of chatbot-UI to vLLM which supports an openai api like interface

any updates with this? It would be super cool to be able to connect to a local hosted model via a chatcompletions interface


Microsoft Edge Browser issue

I have a polymer app which has a sign in button that takes a user to the login page. The markup looks like the following below
Sign in
and it's route in my app-router element created within my index.html like this below:
<app-router mode="hashbang">     <app-route path="/login" import="/views/sign-in.html" element="sign-in"></app-route> </app-router>
This works beautifully in all browsers, except Microsoft Edge it seems. Just wanted to see if I was doing anything wrong.
Using Polymer 1.0 also.

I can confirm this issue.  Works in IE 11 but not Edge.

Thanks. Fixed in  b10db70


Not responding

Hi,
I have a running server on localhost:3000
I use this command: stunclient.exe --localport 3000 stun.stunprotocol.org to obtain a new ip address that will be accessible from outside the network.
That command returns something like this
Binding test: success
Local address: <IP_ADDRESS>:3000
Mapped address: <IP_ADDRESS>:3000

After running the command I type in the browser on another pc, which is not in my local network, this address <IP_ADDRESS>:3000 and is not respodning.
Could you let me know why?

I've answered a nearly identical version of this question before on Stack
Overflow.  You can can read my answer here:
https://stackoverflow.com/q/22712298/104458
If that answer doesn't make sense or if it doesn't apply to you, let me
know.  I'll see if I can clear up any confusion then.
On Mon, Feb 8, 2021 at 11:29 AM chrisooo3<EMAIL_ADDRESS>wrote:

Hi,
I have a running server on localhost:3000
I use this command: stunclient.exe --localport 3000 stun.stunprotocol.org
to obtain a new ip address that will be accessible from outside the network.
That command returns something like this
Binding test: success
Local address: <IP_ADDRESS>:57155
Mapped address: <IP_ADDRESS>:57155
After running the command I type in the browser on another pc, which is
not in my local network, this address <IP_ADDRESS>:57155 and is not respodning.
Could you let me know why?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/jselbie/stunserver/issues/39, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAHNSF5J4BRXXSASJTXMJMDS6A3QBANCNFSM4XJSOGKA
.

Hi @jselbie
Stackoverflow explanation is clear for me, but I have similar, but another question.
How does stun help with stabilizing the connection?
I mean every time I ping to a public server (ec2 instance with ip <IP_ADDRESS>) from local pc (with ip <IP_ADDRESS>) which isbehind nat, my port is diffrent, ip the same.
I have run tcpdump on ec2 instance to confirm that every time I try to ping ec2 instance, I am getting diffrent port:
15:33:25.121929 IP <IP_ADDRESS>.62164 > <IP_ADDRESS>.200: Flags [S], seq<PHONE_NUMBER>, win 64240, options [mss 1460,nop,wscale 8,nop,nop,sackOK], length 0
15:33:25.869227 IP <IP_ADDRESS>.62165 > <IP_ADDRESS>.200: Flags [S], seq 874881835, win 64240, options [mss 1460,nop,wscale 8,nop,nop,sackOK], length 0
15:33:26.412074 IP <IP_ADDRESS>.62166 > <IP_ADDRESS>.200: Flags [S], seq 874881835, win 64240, options [mss 1460,nop,wscale 8,nop,nop,sackOK], length 0

As you can see, on every request the port is different (62164, 62165, 62166).
So how to know to which port I should ping from the public server(<IP_ADDRESS>) to the local computer(<IP_ADDRESS>) behind NAT to stabilize the connection?

An instance of a STUN server doesn't really do much other than just echo
the IP and port back to the client.  That's all it really does.  In other
words, it helps clients learn their own external IP address and the "port
mapping" that the NAT creates.  Once the client negotiates a P2P connection
(ICE, WebRTC, or similar methodology), the STUN server isn't needed
anymore.  (Although ICE uses a variant of STUN messages between hosts to do
the hole punching step for keep-alive messages, but no server required).
I'm not sure what you mean by "ping an ec2 instance".  Those traces look
like TCP traffic.  Are you using the same socket and port for each
request?  EC2/AWS is a well behaved NAT, so I wouldn't expect the port
numbers to increment like that unless you were picking a different locl
socket/port each time.
stunclient.exe has a --localport option by which you can specify a specific
port to a server.  Type "stunclient --help" for more details.
You can read my writeup on the basics of the ICE methodology and on setting
up a P2P connection here: https://stackoverflow.com/a/8524609/104458
On Tue, Feb 9, 2021 at 7:41 AM chrisooo3<EMAIL_ADDRESS>wrote:

Hi @jselbie https://github.com/jselbie
Stackoverflow explanation is clear for me, but I have similar, but another
question.
How does stun help with stabilizing the connection?
I mean every time I ping to a public server (ec2 instance with ip <IP_ADDRESS>)
from local pc (with ip <IP_ADDRESS>) which isbehind nat, my port is diffrent,
ip the same.
I have run tcpdump on ec2 instance to confirm that every time I try to
ping ec2 instance, I am getting diffrent port:
15:33:25.121929 IP <IP_ADDRESS>.62164 > <IP_ADDRESS>.200: Flags [S], seq<PHONE_NUMBER>, win 64240, options [mss 1460,nop,wscale 8,nop,nop,sackOK], length 0
15:33:25.869227 IP <IP_ADDRESS>.62165 > <IP_ADDRESS>.200: Flags [S], seq 874881835, win 64240, options [mss 1460,nop,wscale 8,nop,nop,sackOK], length 0
15:33:26.412074 IP <IP_ADDRESS>.62166 > <IP_ADDRESS>.200: Flags [S], seq 874881835, win 64240, options [mss 1460,nop,wscale 8,nop,nop,sackOK], length 0
As you can see, on every request the port is different (62164, 62165,
62166).
So how to know to which port I should ping from the public server(<IP_ADDRESS>)
to the local computer(<IP_ADDRESS>) behind NAT to stabilize the connection?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/jselbie/stunserver/issues/39#issuecomment-776032645,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAHNSF3UO36WY3QUAQ3PQETS6FJTJANCNFSM4XJSOGKA
.

@jselbie ec2 instance ports stay unchanged (200) but ports from the local network are changing on every new request. And that is the problem because I cannot then connect to my local pc(<IP_ADDRESS>) because I do not know which port to use.

What protocol and program are you using to send packets back and forth
between the EC2 instance on port 200 and your local pc?
On Tue, Feb 9, 2021 at 12:29 PM chrisooo3<EMAIL_ADDRESS>wrote:

@jselbie https://github.com/jselbie ec2 instance ports stay unchanged
(200) but ports from the local network are changing on every new request.
And that is the problem because I cannot then connect to my local
pc(<IP_ADDRESS>) because I do not know which port to use.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/jselbie/stunserver/issues/39#issuecomment-776222365,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAHNSFYUD3BBA3JDTRTND7DS6GLJ3ANCNFSM4XJSOGKA
.

I am using nping —tcp or netcat.

On 9 Feb 2021, at 21:52, John Selbie<EMAIL_ADDRESS>wrote:

What protocol and program are you using to send packets back and forth
between the EC2 instance on port 200 and your local pc?
On Tue, Feb 9, 2021 at 12:29 PM chrisooo3<EMAIL_ADDRESS>wrote:

@jselbie https://github.com/jselbie ec2 instance ports stay unchanged
(200) but ports from the local network are changing on every new request.
And that is the problem because I cannot then connect to my local
pc(<IP_ADDRESS>) because I do not know which port to use.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/jselbie/stunserver/issues/39#issuecomment-776222365,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAHNSFYUD3BBA3JDTRTND7DS6GLJ3ANCNFSM4XJSOGKA
.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

It sounds like a seperate socket connection for each ping with a different
port.  For TCP, it's not usually recommended to re-use the same local port
for a subsequent outbound connection to the same ip:port.
Looks like nping has plenty of options for setting a local port:
selbie@IRONMAIDEN:~$ nping | grep -i port
-p, --dest-port      : Set destination port(s).
-g, --source-port   : Try to use a custom source port.
-g, --source-port   : Set source port.
-p, --dest-port      : Set destination port(s).
-g, --source-port   : Set source port.
-p, --dest-port      : Set destination port(s).
--echo-port                : Use custom  to listen or connect.
What are you really trying to do?
On Tue, Feb 9, 2021 at 12:57 PM chrisooo3<EMAIL_ADDRESS>wrote:

I am using nping —tcp or netcat.

On 9 Feb 2021, at 21:52, John Selbie<EMAIL_ADDRESS>wrote:

What protocol and program are you using to send packets back and forth
between the EC2 instance on port 200 and your local pc?
On Tue, Feb 9, 2021 at 12:29 PM chrisooo3<EMAIL_ADDRESS>wrote:

@jselbie https://github.com/jselbie ec2 instance ports stay
unchanged
(200) but ports from the local network are changing on every new
request.
And that is the problem because I cannot then connect to my local
pc(<IP_ADDRESS>) because I do not know which port to use.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<
https://github.com/jselbie/stunserver/issues/39#issuecomment-776222365>,
or unsubscribe
<
https://github.com/notifications/unsubscribe-auth/AAHNSFYUD3BBA3JDTRTND7DS6GLJ3ANCNFSM4XJSOGKA

.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/jselbie/stunserver/issues/39#issuecomment-776239299,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAHNSFZGS2A77UIFLMQ4243S6GOTLANCNFSM4XJSOGKA
.

I have it, I have added to the command which I am executing on client(1.2.34):
nping --tcp --source-port 200 <IP_ADDRESS> --dest-port 200

The result is:
15:33:25.121929 IP <IP_ADDRESS>.200 > <IP_ADDRESS>.200: Flags [S], seq<PHONE_NUMBER>, win 64240, options [mss 1460,nop,wscale 8,nop,nop,sackOK], length 0
15:33:25.869227 IP <IP_ADDRESS>.200 > <IP_ADDRESS>.200: Flags [S], seq 874881835, win 64240, options [mss 1460,nop,wscale 8,nop,nop,sackOK], length 0
15:33:26.412074 IP <IP_ADDRESS>.200 > <IP_ADDRESS>.200: Flags [S], seq 874881835, win 64240, options [mss 1460,nop,wscale 8,nop,nop,sackOK], length 0

So let's return to my original question:
How can I connect from ec2 instance(<IP_ADDRESS>) to my private pc(<IP_ADDRESS>) which is behind NAT?
Which port I have to use while connecting?

There's likely no simple solution that doesn't involve another service to
bootstrap the connection.  The PC needs a persistent connection to
something to tell it to exchange IP addresses and participate in the
hole-punching process to open a port on the NAT for the EC2 instance to
connect to.  Then you basically have both endpoints try to simultaneously
connect to each other.
P2P over TCP is hard.  But what are you really trying to do that can't be
done with either:

port forwarding on your NAT (I'm guessing you want this to be dynamic)
Just having the PC connect to the EC2 instance.

On Wed, Feb 10, 2021 at 12:22 AM chrisooo3<EMAIL_ADDRESS>wrote:

I have it, I have added to the command which I am executing on
client(1.2.34):
nping --tcp --source-port 200 <IP_ADDRESS> --dest-port 200
The result is:
15:33:25.121929 IP <IP_ADDRESS>.200 > <IP_ADDRESS>.200: Flags [S], seq<PHONE_NUMBER>, win 64240, options [mss 1460,nop,wscale 8,nop,nop,sackOK], length 0
15:33:25.869227 IP <IP_ADDRESS>.200 > <IP_ADDRESS>.200: Flags [S], seq 874881835, win 64240, options [mss 1460,nop,wscale 8,nop,nop,sackOK], length 0
15:33:26.412074 IP <IP_ADDRESS>.200 > <IP_ADDRESS>.200: Flags [S], seq 874881835, win 64240, options [mss 1460,nop,wscale 8,nop,nop,sackOK], length 0
So let's return to my original question:
How can I connect from ec2 instance(<IP_ADDRESS>) to my private pc(<IP_ADDRESS>)
which is behind NAT?
Which port I have to use while connecting?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/jselbie/stunserver/issues/39#issuecomment-776530650,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAHNSF7DZ45TWL6UKLV6WP3S6I65RANCNFSM4XJSOGKA
.

@jselbie
So how can I use the stun server to achieve this?

I'm trying to help.  But if you can't open up about what you are really trying to do (or answer my basic follow up questions), there's not much I can do.
You can read my writeup on the basics of the ICE methodology and on setting
up a P2P connection here: https://stackoverflow.com/a/8524609/104458

What are you really trying to do?
I try to make p2p chat in c# on a low level.
So we have client A(<IP_ADDRESS>, my pc, behind NAT) and client B(2.4,6,8, ec2 instance, publicly accessibly).
Now I am starting the server on A which will listen for connection. And from B I want to connect to A.
One way is to reverse ssh tunneling.
The second way is to do port forwarding on the router.
The third way is to use stun.
How to make it with stun?

How to make it with stun?
By using the ICE methodology or something near equivalent. Read the link to
the stackoverflow answer I've sent to you twice.  Here it is a third time:
https://stackoverflow.com/questions/8523330/programming-p2p-application/8524609#8524609
On Wed, Feb 10, 2021 at 2:44 AM chrisooo3<EMAIL_ADDRESS>wrote:

What are you really trying to do?
I try to make p2p chat in c# on a low level.
So we have client A(<IP_ADDRESS>, my pc, behind NAT) and client B(2.4,6,8, ec2
instance, publicly accessibly).
Now I am starting the server on A which will listen for connection. And
from B I want to connect to A.
One way is to reverse ssh tunneling.
The second way is to do port forwarding on the router.
The third way is to use stun.
How to make it with stun?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/jselbie/stunserver/issues/39#issuecomment-776618670,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAHNSF6IQO233ATTPZ2FLOTS6JPQRANCNFSM4XJSOGKA
.

Hi @jselbie
So I have to use ICE technology to gather all possible pairs(ip:port) that second client(agent) can connect me.
How should I ping/connect to ICE server and establish the connection?

There's technically no such thing as an "ICE Server". Any medium that you
can exchange address candidates will work.  IIRC, WebRTC generates an SDP
(collection of addresses and codec parameters), but doesn't specify a way
in which the SDP is delivered to the other side.  They leave it up to
implementers to build that web service.
For voice calling, SIP (Session Initiation Protocol) is a classic
rendezvous service.
On Wed, Feb 10, 2021 at 5:25 AM chrisooo3<EMAIL_ADDRESS>wrote:

Hi @jselbie https://github.com/jselbie
So I have to use ICE technology to gather all possible pairs(ip:port) that
second client(agent) can connect me.
How should I ping/connect to ICE server and establish the connection?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/jselbie/stunserver/issues/39#issuecomment-776703721,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAHNSFY4YQILEQWLV6YSNILS6KCMJANCNFSM4XJSOGKA
.

Do I really need stun server?
I want to connect from ec2(<IP_ADDRESS>) instance to my local pc (ip in LAN <IP_ADDRESS>, public router ip <IP_ADDRESS>) which is behind NAT.
What if first I send some sample data from my local pc to ec2 to make a mapping in the NAT table. And save incoming ip+port.
And then immediately send request from ec2 instance to ip + port that was saved.
Should it work?
In that case, do I really need stun server?

The STUN server exists so that a PC behind a NAT can discover its own IP
address (and get a port mapping discovered as well).
If you have port open on the EC2 instance that the PC can send to, then the
EC2 instance will self discover the PC's address anyway.  And you
technically wouldn't need STUN.
But it's a chicken or egg problem. If you want the EC2 instance to connect
to <IP_ADDRESS>, then the PC behind the NAT must be expecting the incoming
connection. How do you expect the PC to know when it's time to punch a hole
in the NAT so the EC2 instance can get through?  Otherwise, the NAT will
firewall off any traffic from the EC2.  You of course can manually go type
something or run a program on the PC to do this, but if you're going to do
that, you might as well just hardcode a port on the EC2 instance and let
the PC be the one that initiates the connection.
UDP is easier than TCP for nat traversal.  I can explain more on TCP if
you're going that route.
Can you open up about your scenario? I assume you're looking to have your
EC2 push something to your PC.  But if you're always going to be on the PC
to bootstrap the connection manually, or if the EC2 instance always knows
the PC's IP address, this might be a slightly easier problem than going the
STUN/ICE route.  Email me at jselbie at gmail dot com if you want to
discuss outside of this public forum.
jrs
On Wed, Feb 10, 2021 at 12:06 PM chrisooo3<EMAIL_ADDRESS>wrote:

Do I really need stun server?
I want to connect from ec2(<IP_ADDRESS>) instance to my local pc (ip in LAN
<IP_ADDRESS>, public router ip <IP_ADDRESS>) which is behind NAT.
What if first I send some sample data from my local pc to ec2 to make a
mapping in the NAT table. And save incoming ip+port.
And then immediately send request from ec2 instance to ip + port that was
saved.
Should it work?
In that case, do I really need stun server?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/jselbie/stunserver/issues/39#issuecomment-776986558,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAHNSF5JL5K73V3B2FJE5ETS6LRLFANCNFSM4XJSOGKA
.

Hi,
I have sent a message to your email, check it, please.


Support for Attachments/Files

Need special handling for Attachments and files.

@anandbn We would like to show in the timeline when a new "file" was uploaded to a case, but when using "ContentDocumentLink" as the child object, we dont get files to show up (only Notes...)
--> any chance we can connect with you to investigate how this can be achieved?
Contact me via<EMAIL_ADDRESS>

@milan751 you should be able to use ContentDocument for this AFAIK.


feat: i18n

Ref.: #675
This doesn't add translations for Explore view since it will be used as an external component. /cc @olizilla

So, I've started using react-i18next for this WebUI and I'm using namespaces to divide the translations into files so each page has its own translation file. It might be useful if we subdivide each part into a different web app.
@ipfs-shipyard/gui could you take a look before I keep going? Do you agree with this approach?

Well, the biggest file would be files.json and some, like peers and status would have barely ten lines. Maybe it's actually better to merge them. Opinions?

I'd say to keep it in separate files anyway. In the future it could explode translation-wise and that way we'll be ready 🙂

@fsdiogo yup, that could also happen! I'll keep them separate then 😄 It will also be easier to split the Web UI into multiple smaller web apps.

I think this is basically done. Doesn't seem to be any string left.

I think the layout is good: all namespaces are kept in public/locales/en which works well as a source for PR-based translations, and namespacing makes it easier for people to submit translations via PRs.
There is something to be aware when it comes to i18next: IIUC the project works out-of-the-box only with  their own translation website: https://github.com/i18next/react-i18next/issues/472#issuecomment-404186104.
I was unable to find native support for i18next translation format at Transifex (which I am leaning towards, here is why). People were successful with using Transifex+i18next-gettext-converter which has a  support for plurals for most of languages, but there are edge cases with known issues which may produce frustrating bugs.
The react-intl uses industry standard ICU format which does not require additional conversion step and is supported out of the box by Transifex and other  crowdsourcing websites.

@lidel @olizilla should I start working on moving this to ICU format already?

@hacdias what are your thoughts on @lidel's question:

did i18next made a big improvement over react-int for you as a dev?
If we consolidate translations under GUI of Transifex, then the "ugliness" of ICU format may not be that big of a deal – translators will not use it directly, and use of industry standard may save us some headache in the long run.

@lidel @olizilla just moved the formats to ICU. It was actually a simple migration since we didn't use much plurals. Take a look at the locales directory and see how they are.
I'm up to merging this PR. Feedback?
EXPLORE is not translated.
I'd like to do a PT translation after this is merged.

Thank you @hacdias !  It is :ok_hand:  and I managed to set up Transifex as well:  added the configuration file for Transifex  (.tx/config) and uploaded existing source files to the website: https://www.transifex.com/ipfs/ipfs-webui
If you want we can smoke-test translation process before we merge this.:

Start Translating

Create Transifex account
Go to https://www.transifex.com/ipfs/ipfs-webui/translate/#pt  and try translating some strings for PT locale

ping me if you don't have access to the team

Sync  Translations

Install and set up command-line client (tx) – see docs below
To download new translations from Transifex: tx pull -a

this should create/update files in public/locales/* that need to be commited
if a new language is created, remember to add it to src/i18n.js

(optional) upload updated source locale (en): tx push -s

(I already did that for this branch, so you can skip it)
This will be automated after revamp is moved to master, for now it is a manual step

Transifex 101

Installing the Transifex Client
Understanding .tx/config file
Manual sync via Transifex Client

Using Transifex with GitHub in Your Development Workflow

Syncing a local project to Transifex with the Transifex Client

💯 🌟


Add inventory item id

Add inventory item id.
Coming from a previous version you need to manually add the corresponding Binda::FieldSetting.
Binda::FieldSetting.create({
    name: 'Inventory Item id',
    slug: 'shopify-product-shopify-details-inventory-item-id',
    field_group_id: Binda::FieldGroup.where(slug: 'shopify-product-shopify-details').ids,
    field_type: 'string'
})

For newly created app the field setting should be already there. (@Marchino: honestly I haven't checked it yet)

I don't know if I like this.
We could just add a method to Binda::Shopify::Product that returns the inventory id instead.
That would be much more safe and it should just work without any other change!
What do you think?

I think this issue has been addressed here https://github.com/lacolonia/binda-shopify/commit/12b194218b33414b7ed9d229fda2bd2a61259a91


Running test from any of the enact samples shows error

Category

[x] CLI issue
[x] Other

Description
Cloning any of the projects from enactjs samples https://github.com/enactjs/samples and running script
"test", "test-json", "test-watch" we get an error in console
● Unrecognized CLI Parameters:

  Following options were not recognized:
  ["single-run", "browsers"]

  CLI Options Documentation:
  https://jestjs.io/docs/en/cli.html

Environment
node v14.15.0
npm v6.14.8
jest v26.6.3
Windows 10
browser chrome latest
Enact version:
enact 3.0.0
Reproduction Code
any of the samples here https://github.com/enactjs/samples
I used "pattern-routable-panels"

I'm sorry we missed this issue. We'll see what went wrong here. We'll update the progress later on. Thanks!

We'll fix this in https://github.com/enactjs/samples/pull/132. Thank you!


How do I make a Release note for Spring fox?

The spring fox release note is really well organized.

Is this automated and working?
If so, which tool do you use?

It is not automated, though I wish I could automate it. Its mostly a cut&paste and some vim magic that makes it semi automated.

@dilipkrish Hi I'm sorry I'm not used to English.
I'm working on it manually.
https://github.com/github-tools/github-release-notes
I have not used the link above. It is an alternative that looks good. If you use it, I will leave a review again. Thank you for your comment.


Span context is valid

Which problem is this PR solving?
Fixes #1414
Short description of the changes
Changes SpanContext interface to a class and adds an isValid method to it. This also updates every reference to SpanContext to instantiate the spanContext using new instead of an object literal matching the interface.
Started as draft in case this isn't what we had in mind since it ends up changing so many files. I had to go through so many files because the interfaces were being implemented with object literals.

The spec suggests adding a helper function. https://github.com/open-telemetry/opentelemetry-specification/pull/771#issuecomment-679865747
@srjames90 can you implement api.trace.isSpanContextValid(spanContext: SpanContext): boolean function?
Making changes to the ~30 callers is fine.

The spec suggests adding a helper function. open-telemetry/opentelemetry-specification#771 (comment)
@srjames90 can you implement api.trace.isSpanContextValid(spanContext: SpanContext): boolean function?
Making changes to the ~30 callers is fine.

Cool, sounds good. Sounds like the current changes are fine, and just have to rename the function. Thanks, will do it now.

Looks like @srjames90 put the function at api.isSpanContextValid instead of api.trace.isSpanContextValid. @obecny think we should have him move it or keep it there?

Looks like @srjames90 put the function at api.isSpanContextValid instead of api.trace.isSpanContextValid. @obecny think we should have him move it or keep it there?

@srjames90 pls move the function to api.trace.isSpanContextValid


Add support for placing builtin strings and objects into ROM (read only data section)

Add preliminary and experimental support for moving built-in strings and objects into ROM (read-only data section) which drops low memory startup RAM footprint from ~27kB to ~3kB.  For example with "ajduk":
[...]
Pool dump after heap creation
======= dump of 25 heap pools ======
heap[0] pool[8] unused
heap[0] pool[12] used=0 free=10 high-water=1 min-alloc=12 max-alloc=12
heap[0] pool[16] unused
heap[0] pool[20] used=3 free=397 high-water=3 min-alloc=20 max-alloc=20
heap[0] pool[24] unused
heap[0] pool[28] used=1 free=199 high-water=1 min-alloc=28 max-alloc=28
heap[0] pool[32] unused
heap[0] pool[40] unused
heap[0] pool[48] unused
heap[0] pool[52] unused
heap[0] pool[56] unused
heap[0] pool[60] unused
heap[0] pool[64] unused
heap[0] pool[128] used=1 free=79 high-water=1 min-alloc=80 max-alloc=80
heap[0] pool[256] unused
heap[0] pool[392] used=1 free=0 high-water=1 min-alloc=392 max-alloc=392
heap[0] pool[512] used=1 free=15 high-water=1 min-alloc=320 max-alloc=320
heap[0] pool[964] used=1 free=0 high-water=1 min-alloc=964 max-alloc=964
heap[0] pool[1024] used=1 free=5 high-water=1 min-alloc=1024 max-alloc=1024
heap[0] pool[1780] unused
heap[0] pool[2048] unused
heap[0] pool[4096] unused
heap[0] pool[8192] unused
heap[0] pool[16384] unused
heap[0] pool[32768] unused
======= heap hwm = 3120 use = 3108 waste = 240 ======

The initial 3kB breaks down roughly as follows:

Duktape heap (964 bytes) and initial thread (392 bytes), total about 1.3kB.
Initial value stack, 1kB.  The initial value stack will resize to 2kB (256 tagged values) quite quickly when you compile/run any code.
Writable global object (no own properties but inherits from a ROM global object), global environment record and its property table, other trivia, total about 0.6kB.

In addition to low memory targets the ROM object support may be useful for environments where a large number of Duktape heaps are used simultaneously: ROM objects can be used with and without pointer compression.  For example, x64 build without pointer compression or any other low memory options reports about 8kB startup memory usage (compared to ~110kB without ROM objects) using valgrind massif.
The pull also provides groundwork to later move user strings and objects into ROM to allow custom bindings to be free in terms of RAM usage.  This is already possible by editing the strings/objects YAML files directly, but later pulls will make it possible to provide custom bindings through separate YAML files.
Impact on ordinary (no ROM objects) build should be minimal, but there are very minor changes in the RAM built-in initialization format to support more flexible initialization in the future for RAM objects too.
More detailed changes:

Refactor genstrings.py and genbuiltins.py to read string and object data from YAML files.
Add support for ROM objects/strings into genbuiltins.py, which generates a set of static initializers for builtin objects/strings when --rom-support is enabled (this expands the size of duktape.c considerably so it's not enabled by default).  Also add --rom-support to make_dist.py which forwards the ROM support request to genbuiltins.py.
Also make RAM builtin initializer format more flexible to allow arbitrary strings to be encoded into the built-ins init data without needing explicit DUK_STRIDX_xxx values.
Add runtime support for ROM objects by adding a new duk_heaphdr flag (DUK_HEAPHDR_FLAG_READONLY) and avoid writing to objects which have this flag set.  Rework heap and thread initialization to support ROM and RAM builtins, depending on what defines are active.
Several small fixes and improvements.

The ROM support is still quite rough and may not work in all configurations. Limitations and future work: #560.
Tasks:

[ ] Assertion runs for non-ROM build
[ ] Performance test for non-ROM build
[ ] Releases

Code footprint impact on x64 default build (with ROM builtins disabled) is about +500 bytes which is mostly explained by an increase in the RAM init data size: strings not needing a runtime string index (stridx) will appear as literals and may appear multiple times. This is more than offset by the reduction in duk_heap struct size though.

Does this have any performance benefit?

It shouldn't, unless ROM memory accesses are faster than RAM. This is just about reducing RAM usage so that it's possible to run in smaller devices.

For what it's worth duplicate literals should have negligible effect on x86/x64 code size--and possibly other platforms--since many compilers can intern/pool strings.

These duplicates will be inside the opaque init data blob so the compiler can't really do anything about it. The duplication only affects code footprint: the strings in question will be interned into the Duktape heap stringtable and won't be duplicated there. So it's just about the init data size.


Does sream support transaction

Hi guys:
I have never use sream,but I want to have a try ,There is a problerm,Does sream support transaction?,when input reviceve a message and deal success,the output can get ack message? Is there any way to support transaction

Hi,
The acknowledgment of the incoming message is handled at the binder level (depending on the messaging system you use). For instance, you can set acknowledgeMode as a RabbitMQ consumer property and For Kafka, you can set autoCommitOffset  to control offsetting the consumed message. You can also refer this section: 14.3.4. Usage examples  in documentation here for manually handling acknowledgment.
You can track this to allow synchronization at the binder level using transaction manager.


I want to contribute to issue 11219, I need help from a mentor.

Question: Have you read the mentoring guide? Please only submit this request for general mentoring (not GSoC).
Answer: Yes I have read the mentoring guide.
What is your background? Any experience with Go, Kubernetes, React, Typescript, etc.?
Answer: I have previous experience in Java, Kotlin with Spring Boot, and some Go experience
Is there any particular issue you'd like to work on? You may want to check out the list of good first issues.
Answer: I would like to work with issue #11219
Do you want to work with your mentor async (i.e. by Slack messaging or issue comments), or sync (e.g. using Zoom video)? Please include your time-zone if you want to work sync.
Answer: (async). (Timezone - KST)

I already fix the issue but not sure if this change will affect to other codes.
I am lack of knowledge about testing changes.
So I left some mentoring request. Thanks.

Thanks, @caelan-io . I am trying to test the #11219 with go test, but it seems quite weird.
As the original case is using sleep, as below. It seems I have to wait until all workflow is finished.
apiVersion: argoproj.io/v1alpha1
kind: Workflow
metadata:
  generateName: example-steps-simple
  namespace: default
spec:
  entrypoint: main
  templates:
    - name: main
      steps:
        - - name: job-1
            template: sleep
            arguments:
              parameters:
                - name: sleep_duration
                  value: 5
          - name: job-2
            template: sleep
            arguments:
              parameters:
                - name: sleep_duration
                  value: 3

    - name: sleep
      synchronization:
        mutex:
          name: mutex-example-steps-simple
      inputs:
        parameters:
          - name: sleep_duration
      script:
        image: alpine:latest
        command: [/bin/sh]
        source: |
          echo "Sleeping for {{ inputs.parameters.sleep_duration }}"
          sleep {{ inputs.parameters.sleep_duration }}
      memoize:
        key: "memo-key-1"
        cache:
          configMap:
            name: cache-example-steps-simple

         // ...
         cancel, controller := newController(wf)
	defer cancel()

	ctx := context.Background()

	woc := newWorkflowOperationCtx(wf, controller)
	woc.operate(ctx)

	assert.Equal(t, wfv1.WorkflowRunning, woc.wf.Status.Phase)
	job1CacheHit, job2CacheHit := false, false
	for _, node := range woc.wf.Status.Nodes {
		switch node.DisplayName {
		case "job-1":
			fmt.Println(node)
			job1CacheHit = node.MemoizationStatus.Hit
		case "job-2":
			fmt.Println(node)
			job2CacheHit = node.MemoizationStatus.Hit
		default:
			fmt.Println(node.TemplateName)
		}
	}
	assert.False(t, job1CacheHit)
	assert.True(t, job2CacheHit)

Okay, can you link to a draft PR so I have full context?

@caelan-io, I found the concurrency test file with operator.go and make PR submit with similar test added. Link is here. Very helpful if you could review it. Thanks.

Hey @shmruin - apologies for my delay in replying here. I had my teammate joibel review your PR. Congrats and nice work! Now that you've got your first PR merged, we'll close this issue. Feel free to tag me on any future PRs if questions 👍


Make subtitle stretching in the second stage optional

So far the stretching only works for English. Make it optional so that the two-stage alignment can be truly language agnostic.

Done in https://github.com/baxtree/subaligner/pull/6.


build/pick_ik/tests/test-pick_ik: error while loading shared libraries: libboost_chrono.so.1.73.0: cannot open shared object file: No such file or directory

Hi there,
I meet problem while installing moveit2 with ros2 humble. Below is the error msg:
/home/ws_moveit2/build/pick_ik/tests/test-pick_ik: error while loading shared libraries: libboost_chrono.so.1.73.0: cannot open shared object file: No such file or directory
CMake Error at /home/ws_moveit2/build/pick_ik/_deps/catch2-src/extras/CatchAddTests.cmake:60 (message):
Error running test executable
'/home/wenda/ws_moveit2/build/pick_ik/tests/test-pick_ik':
Result: 127
Output:

Please help!

Hmm... Could you try install this seemingly missing package manually?
sudo apt-get install -y libboost-chrono-dev

As I checked, I have already installed the libboost-chrono-dev 1.73 version. Is this problem caused by using anaconda environment?

Confirmed in https://github.com/PickNikRobotics/pick_ik/issues/65 that this does get around the issue. Closing this.


Make task resource accept magic arns

Recent step function update introduces the following "magic arns".

DynamoDB arn:aws:states:::dynamodb:getItem https://docs.aws.amazon.com/step-functions/latest/dg/connectors-ddb.html
Batch arn:aws:states:::batch:submitJob.sync https://docs.aws.amazon.com/step-functions/latest/dg/connectors-batch.html

This PR makes Resource accept magic arns.

<EMAIL_ADDRESS>published

Thanks :smile:


kernel: dynamic: add missing assert argument

Repro: west build -p -b mps2_an385 -T tests/kernel/threads/dynamic_thread_stack/kernel.threads.dynamic_thread.stack.no_pool.alloc.no_user

Add a missing assert argument, fixes:
zephyrproject/zephyr/kernel/dynamic.c: In function 'dyn_cb': zephyrproject/zephyr/include/zephyr/sys/__assert.h:44:52: warning:
format '%p' expects a matching 'void *' argument [-Wformat=]
That started to break the build since:
d7846de548 assert: check format arguments for correctness

@fabiobaltieri - can you please also create an issue so that this can be backported?

@fabiobaltieri - can you please also create an issue so that this can be backported?

I did but this landed after v3.4.0 :-)
$ git describe 7b1b2576ac9a9ffa3dee03f137e6812c2edcbdbb
zephyr-v3.4.0-1078-g7b1b2576ac

@fabiobaltieri - can you please also create an issue so that this can be backported?

I did but this landed after v3.4.0 :-)
$ git describe 7b1b2576ac9a9ffa3dee03f137e6812c2edcbdbb
zephyr-v3.4.0-1078-g7b1b2576ac

Thanks! At least we'll get it into 3.4.1