[C++][Parquet] Tests fail due to not finding libboost_system.so

When building:

-- Boost version: 1.67.0
-- Found the following Boost libraries:
--   regex
-- Boost include dir: /home/antoine/miniconda3/envs/pyarrow/include
-- Boost libraries: /home/antoine/miniconda3/envs/pyarrow/lib/libboost_regex.so

Then:

$ ./build-debug/debug/memory-test
./build-debug/debug/memory-test: error while loading shared libraries:
libboost_system.so.1.67.0: cannot open shared object file: No such file or directory

$ ldd ./build-debug/debug/memory-test
	linux-vdso.so.1 (0x00007fffcbfed000)
	libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f64e2f07000)
	libarrow.so.11 => /home/antoine/miniconda3/envs/pyarrow/lib/libarrow.so.11 (0x00007f64e28ad000)
	libboost_regex.so.1.67.0 => /home/antoine/miniconda3/envs/pyarrow/lib/libboost_regex.so.1.67.0 (0x00007f64e25a9000)
	libstdc++.so.6 => /home/antoine/miniconda3/envs/pyarrow/lib/libstdc++.so.6 (0x00007f64e226a000)
	libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f64e1ecc000)
	libgcc_s.so.1 => /home/antoine/miniconda3/envs/pyarrow/lib/libgcc_s.so.1 (0x00007f64e1cb9000)
	libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f64e18c8000)
	/lib64/ld-linux-x86-64.so.2 (0x00007f64e3415000)
	libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f64e16c4000)
	libboost_system.so.1.67.0 => not found
	libboost_filesystem.so.1.67.0 => not found
	librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f64e14bc000)
	libicudata.so.58 => /home/antoine/miniconda3/envs/pyarrow/lib/./libicudata.so.58 (0x00007f64df9bc000)
	libicui18n.so.58 => /home/antoine/miniconda3/envs/pyarrow/lib/./libicui18n.so.58 (0x00007f64df547000)
	libicuuc.so.58 => /home/antoine/miniconda3/envs/pyarrow/lib/./libicuuc.so.58 (0x00007f64df199000)

It looks like our cmake build script doesn't link explicitly with the conda env's libboost_system.so.
Reporter: Antoine Pitrou / @pitrou
Assignee: Wes McKinney](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=wesm) / @wesm
Note: This issue was originally created as PARQUET-1395. Please see the migration documentation for further details.

Antoine Pitrou / @pitrou:
(note this is with gcc 7.3.0 on Ubuntu 18.04)

Antoine Pitrou / @pitrou:
Ok, I don't understand anything anymore. These are the two same files but:

$ ldd build-test/debug/libarrow.so.11
	linux-vdso.so.1 (0x00007ffe5fb81000)
	libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f5531444000)
	libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f5531225000)
	libboost_system.so.1.67.0 => /home/antoine/miniconda3/envs/pyarrow/lib/libboost_system.so.1.67.0 (0x00007f5531020000)
	libboost_filesystem.so.1.67.0 => /home/antoine/miniconda3/envs/pyarrow/lib/libboost_filesystem.so.1.67.0 (0x00007f5530e04000)
	libstdc++.so.6 => /home/antoine/miniconda3/envs/pyarrow/lib/libstdc++.so.6 (0x00007f5530ac5000)
	libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f5530727000)
	libgcc_s.so.1 => /home/antoine/miniconda3/envs/pyarrow/lib/libgcc_s.so.1 (0x00007f5530514000)
	libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f5530123000)
	/lib64/ld-linux-x86-64.so.2 (0x00007f5531ca2000)
	librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f552ff1b000)
$ ldd /home/antoine/miniconda3/envs/pyarrow/lib/libarrow.so.11
	linux-vdso.so.1 (0x00007ffeb71e3000)
	libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f795c737000)
	libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f795c518000)
	libboost_system.so.1.67.0 => not found
	libboost_filesystem.so.1.67.0 => not found
	libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f795c18a000)
	libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f795bdec000)
	libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f795bbd4000)
	libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f795b7e3000)
	/lib64/ld-linux-x86-64.so.2 (0x00007f795cf95000)

Note how the installed version doesn't manage to resolve the boost shared libraries...

Antoine Pitrou / @pitrou:
(also seems like we're using a different linking scheme in parquet-cpp and in Arrow? The former uses the full boost library path, the latter doesn't)

Antoine Pitrou / @pitrou:
Actually the problem here might be the transitive dependency through libarrow.so:

$ ldd /home/antoine/miniconda3/envs/pyarrow/lib/libarrow.so.11
	linux-vdso.so.1 (0x00007ffd67be7000)
	libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f1340113000)
	libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f133fef4000)
	libboost_system.so.1.67.0 => not found
	libboost_filesystem.so.1.67.0 => not found
	libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f133fb66000)
	libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f133f7c8000)
	libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f133f5b0000)
	libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f133f1bf000)
	/lib64/ld-linux-x86-64.so.2 (0x00007f1340971000)

@wesm @xhochy why would this be?

Antoine Pitrou / @pitrou:
Ok, so things seem to work if I pass -DCMAKE_INSTALL_RPATH_USE_LINK_PATH=on to cmake when building Arrow. But why is that needed? I find myself trying to turn all knobs at random...

Uwe Korn / @xhochy:
We should have a look at what conda is doing internally. I know that conda is adjusting the RPATH during installation to ensure that the correct libs are used. This is most likely a thing we also need to do when we install into a conda environment.
I'm still a bit confused as why this pops up now, this was working quite ok for a long time.

Antoine Pitrou / @pitrou:
Actually, not the same files.

$ sha1sum /home/antoine/miniconda3/envs/pyarrow/lib/libarrow.so.11
b7dd1e0fa645660289ecf46cd4a6f28b2a0c0de0  /home/antoine/miniconda3/envs/pyarrow/lib/libarrow.so.11
$ sha1sum build-test/debug/libarrow.so.11
a0252ac139ce3905d18db989ba74ce00f698c954  build-test/debug/libarrow.so.11

Which begs the question: what happens when installing that modifies .so files?

Uwe Korn / @xhochy:
@pitrou can you post the output of ?

% objdump -x ./release/memory-test | grep RPATH
  RPATH                /home/uwe/miniconda3/envs/pyarrow-dev/lib

Antoine Pitrou / @pitrou:
Also, looks like Arrow unittest are linked statically with libarrow.so (and all dependencies), while parquet-cpp unittests are linked dynamically with libarrow.so and libparquet.so (and boost). Why?
@cpcloud @majetideepak

Antoine Pitrou / @pitrou:
I upgraded to Ubuntu 18.04 this week-end. So this might be a side-effect of how the dynamic loader works or something.

Uwe Korn / @xhochy:
Ok, that is definitely the root of the problem.
In the cmake version I use locally, I have CMAKE_SKIP_INSTALL_RPATH=OFF and CMAKE_SKIP_RPATH=OFF. The CMAKE_INSTALL_RPATH_USE_LINK_PATH option was not set by cmake. I have cmake 3.10.0 from conda-forge installed.

Antoine Pitrou / @pitrou:
I have cmake 3.12.0 from Anaconda. cmake 3.10 from Ubuntu wouldn't work.

Antoine Pitrou / @pitrou:

$ objdump -x ./build-debug/debug/memory-test | grep RPATH
$

Wes McKinney / @wesm:
This should be resolved now with the monorepo merge

Antoine Pitrou / @pitrou:
The default (?) cmake options here are:

$ cmake -LA | \grep RPATH
[...]
ARROW_INSTALL_NAME_RPATH:BOOL=ON
ARROW_RPATH_ORIGIN:BOOL=OFF
CMAKE_SKIP_INSTALL_RPATH:BOOL=NO
CMAKE_SKIP_RPATH:BOOL=NO

(gotta love how some boolean options use ON/OFF and others YES/NO...)


menu entry swapper: Add Drakan's Medallion swaps

Adds the 3 teleport options as entry swaps (Ver Sinhaza/TOB, Darkmeyer and Slepe).

8944eb9be6d62ec8384e29484dab14c4c2858d9d was added to master, which sufficiently covers this use case.


Update Composer dependencies (2021-10-15-00-07)

Visual regression test passed!
View the visual regression test report


 Please be warned, this is not advised"
        level=info msg="Consuming Master Machines from target directory"
        level=info msg="Consuming Worker Machines from target directory"
        level=info msg="Consuming Openshift Manifests from target directory"
        level=info msg="Consuming OpenShift Install (Manifests) from target directory"
        level=info msg="Consuming Common Manifests from target directory"
        level=info msg="Ignition-Configs created in: . and auth"
        level=info msg="Credentials loaded from environment variable \"GOOGLE_CREDENTIALS\", file \"/.gcp/osServiceAccount.json\""
        level=info msg="Consuming Master Ignition Config from target directory"
        level=info msg="Consuming Worker Ignition Config from target directory"
        level=info msg="Consuming Bootstrap Ignition Config from target directory"
        level=fatal msg="failed to fetch Cluster: failed to fetch dependency of \"Cluster\": failed to generate asset \"Platform Quota Check\": error(MissingQuota): compute.googleapis.com/networks is not available in global because The required number of resources (1) is more than remaining quota of 0"
      reason: UnknownError
      status: "True"
      type: ProvisionFailed
    - lastProbeTime: "2021-10-13T21:38:58Z"
      lastTransitionTime: "2021-10-13T21:38:58Z"
      message: Platform credentials passed authentication check
      reason: PlatformAuthSuccess
      status: "False"
      type: AuthenticationFailure
    - lastProbeTime: "2021-10-13T21:39:13Z"
      lastTransitionTime: "2021-10-13T21:39:13Z"
      message: Images required for cluster deployment installations are resolved
      reason: ImagesResolved
      status: "False"
      type: InstallImagesNotResolved
    - lastProbeTime: "2021-10-13T21:39:36Z"
      lastTransitionTime: "2021-10-13T21:39:36Z"
      message: Successfully launched install pod
      reason: InstallLaunchSuccessful
      status: "False"
      type: InstallLaunchError
    - lastProbeTime: "2021-10-13T21:39:12Z"
      lastTransitionTime: "2021-10-13T21:39:12Z"
      message: InstallerImage is resolved.
      reason: InstallerImageResolved
      status: "False"
      type: InstallerImageResolutionFailed
    - lastProbeTime: "2021-10-13T21:39:13Z"
      lastTransitionTime: "2021-10-13T21:39:13Z"
      message: Provision is not stopped
      reason: ProvisionNotStopped
      status: "False"
      type: ProvisionStopped
    - lastProbeTime: "2021-10-13T21:38:58Z"
      lastTransitionTime: "2021-10-13T21:38:58Z"
      message: no ClusterRelocates match
      reason: NoMatchingRelocates
      status: "False"
      type: RelocationFailed
    - lastProbeTime: "2021-10-13T21:39:13Z"
      lastTransitionTime: "2021-10-13T21:39:13Z"
      message: All pre-provision requirements met
      reason: AllRequirementsMet
      status: "True"
      type: RequirementsMet
    - lastProbeTime: "2021-10-13T21:38:58Z"
      lastTransitionTime: "2021-10-13T21:38:58Z"
      message: Condition Initialized
      reason: Initialized
      status: Unknown
      type: AWSPrivateLinkFailed
    - lastProbeTime: "2021-10-13T21:38:58Z"
      lastTransitionTime: "2021-10-13T21:38:58Z"
      message: Condition Initialized
      reason: Initialized
      status: Unknown
      type: AWSPrivateLinkReady
    - lastProbeTime: "2021-10-13T21:38:58Z"
      lastTransitionTime: "2021-10-13T21:38:58Z"
      message: Condition Initialized
      reason: Initialized
      status: Unknown
      type: ActiveAPIURLOverride
    - lastProbeTime: "2021-10-13T21:38:58Z"
      lastTransitionTime: "2021-10-13T21:38:58Z"
      message: Condition Initialized
      reason: Initialized
      status: Unknown
      type: ClusterInstallCompleted
    - lastProbeTime: "2021-10-13T21:38:58Z"
      lastTransitionTime: "2021-10-13T21:38:58Z"
      message: Condition Initialized
      reason: Initialized
      status: Unknown
      type: ClusterInstallFailed
    - lastProbeTime: "2021-10-13T21:38:58Z"
      lastTransitionTime: "2021-10-13T21:38:58Z"
      message: Condition Initialized
      reason: Initialized
      status: Unknown
      type: ClusterInstallRequirementsMet
    - lastProbeTime: "2021-10-13T21:38:58Z"
      lastTransitionTime: "2021-10-13T21:38:58Z"
      message: Condition Initialized
      reason: Initialized
      status: Unknown
      type: ClusterInstallStopped
    - lastProbeTime: "2021-10-13T21:38:58Z"
      lastTransitionTime: "2021-10-13T21:38:58Z"
      message: Condition Initialized
      reason: Initialized
      status: Unknown
      type: ControlPlaneCertificateNotFound
    - lastProbeTime: "2021-10-13T21:38:58Z"
      lastTransitionTime: "2021-10-13T21:38:58Z"
      message: Condition Initialized
      reason: Initialized
      status: Unknown
      type: DNSNotReady
    - lastProbeTime: "2021-10-13T21:38:58Z"
      lastTransitionTime: "2021-10-13T21:38:58Z"
      message: Condition Initialized
      reason: Initialized
      status: Unknown
      type: DeprovisionLaunchError
    - lastProbeTime: "2021-10-13T21:38:58Z"
      lastTransitionTime: "2021-10-13T21:38:58Z"
      message: Condition Initialized
      reason: Initialized
      status: Unknown
      type: Hibernating
    - lastProbeTime: "2021-10-13T21:38:58Z"
      lastTransitionTime: "2021-10-13T21:38:58Z"
      message: Condition Initialized
      reason: Initialized
      status: Unknown
      type: IngressCertificateNotFound
    - lastProbeTime: "2021-10-13T21:38:58Z"
      lastTransitionTime: "2021-10-13T21:38:58Z"
      message: Condition Initialized
      reason: Initialized
      status: Unknown
      type: SyncSetFailed
    - lastProbeTime: "2021-10-13T21:38:58Z"
      lastTransitionTime: "2021-10-13T21:38:58Z"
      message: Condition Initialized
      reason: Initialized
      status: Unknown
      type: Unreachable
    installRestarts: 10
    installStartedTimestamp: "2021-10-13T21:39:13Z"
    installVersion: 4.6.40
    installerImage: quay.io/openshift-release-dev/ocp-v4.0-art-dev@sha256:5e9361c41a6ceb0e9e7a17ac4b11689cd13b03f9b6775f1f21d912c77006d362
    provisionRef:
      name: acmqe-232-24-pool-after-upgrade-zfv4w-10-j97sc
kind: List
metadata:
  resourceVersion: ""
  selfLink: ""


[release-0.23] Upgrade to latest dependencies

webhook fixes -dprotaso
/cc knative/serving-writers knative/eventing-writers
/assign knative/serving-writers knative/eventing-writers
Produced by: knative-sandbox/knobots/actions/update-deps
Details:
bumping knative.dev/hack 93ad912...509255f:
  > 509255f Do not print debug info when running release.sh (# 71)

noop


attach afterglow only in newest elements (infinitescroll)

How can I Call again afterglow, but only the newest elements. I using a infinite scroll but when I do afterglow.init(), the old elements are attached twice afterglow

Sadly, thats not so easy to do. It is of course possible, but you shouldn't need to do it.
Here is the relevant part of the things that happen, when you call afterglow.init(): https://github.com/moay/afterglow/blob/efc788e0ba070ad5208f5a631dda55f60a0bb9a0/src/js/afterglow/Afterglow.js#L68
Mimic this behaviour for just what you want to do, and voilà. Sadly I don't have the time to provide a proper solution right now, should be easily doable with something like afterglow.init('my-video-id'), but that nees to be setup.

Closed in favor of #63


Doesn't work with Android Studio 3.2.1

Its not working with
Android Studio 3.2.1
Build #AI-181.55<IP_ADDRESS>56338, built on October 9, 2018
JRE: 1.8.0_152-release-1136-b06 x86_64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
macOS 10.13.6

@abdullahumer thankyou for pointing this out. Will provide a solution to this ASAP.

@Manuhmutua I need some help with this issue

@makunomark I'll take a look. Thanks


[CHANGE ME] Re-generated to pick up changes from self.

This PR was generated using Autosynth. :rainbow:
Synth log will be available here:
https://source.cloud.google.com/results/invocations/d3078143-fb25-4ff5-8af7-37b5323fbe6f/targets

[ ] To automatically regenerate this PR, check this box.

This is incorrect. Its adding non-generated files to the generated files list.

assigning to @chingor13 for monday to take a look

Closing, if this is reopened I'll approve


How to enforce aws signature to v2?

I found some signature types in test file (https://github.com/elastic/elasticsearch-cloud-aws/blob/5390c01b1cb5f8c916050e3b1776aa86a91f9d1b/src/test/java/org/elasticsearch/cloud/aws/AWSSignersTest.java).
QueryStringSignerType
AWS3SignerType
AWS4SignerType
NoOpSignerType

My question is how to set signature to V2?

I guess you can not.

@charz We also run a S3-compatible service that requires http_aws2 (V2), and I found in testing (and after reading others posts about Ceph interoperability), that S3SignerType could be used. However, after testing this, I've been unsuccessful at getting this to function on my ES 1.5.2 clusters. It does, however, work on ES 1.6.0. This will log errors, though, such as:

wrong signer set for [cloud.aws.s3.signer] or [cloud.aws.signer]: [S3SignerType]

You can see the logic leveraged to prevent unwanted ciphers being called [here] (https://github.com/elastic/elasticsearch-cloud-aws/blob/5390c01b1cb5f8c916050e3b1776aa86a91f9d1b/src/main/java/org/elasticsearch/cloud/aws/AwsSigner.java#L50).
Please let us know your results. I've been bumping into an issue that prevents the S3SignerType from being used, and the plugin defaults to http_aws4.

It should be AWS3SignerType, right?

@dadoonet, I assumed so, based on your code, documentation, and the aws sdk. Then when I saw issue [155] (https://github.com/elastic/elasticsearch-cloud-aws/issues/155) opened by @armin-bauer, and @herviou's comments about leveraging S3SignerType to eliminate the regional configuration (which I'm not using), I gave it a shot.
I discovered on ES 1.5.2, I can actually PUT objects, but other operations fail:

Operation
Result

DELETE
operation will attempt to use http_aws4 (AWS4SignerType)

GET
operation will attempt to use http_aws4 (AWS4SignerType)

HEAD
operation will attempt to use http_aws4 (AWS4SignerType)

PUT
operation will attempt to use http_aws2 (S3SignerType)

So, when leveraging something like curator to perform the snapshot offloading to our object store, the process fails initially due to an inventory of snapshots that's run (queries [GET] /_snapshot/repo/_all). On our side, we throw a HTTP/403, because the signing method isn't what we're expecting. I'm still trying to find the RC, and will PR against your code if I figure it out.
@charz: apologies for hijacking the thread.

@conzetti That's fine. I think we have same issue. When I trigger snapshot with S3SignerType or AWS3SignerType, PUTs look good (operating with http_aws2), but GETs use http_aws4. That causes the snapshot failure, but you can see some data already upload to server.

Found while issue while searching for a solution to make aws-sdk-java work with an S3-compatible service that does not implement V4 signatures. To force aws-sdk-java to use V2 you have to use a recent SDK release and configure setSignerOverride("S3SignerType"). Without this, the sdk always uses V4 signatures for GetObjet.
        ClientConfiguration opts = new ClientConfiguration();
        opts.setSignerOverride("S3SignerType");  // NOT "AWS3SignerType"
        AmazonS3Client s3 = new AmazonS3Client(opts);
        s3.setEndpoint("https://storage.example.com");

See https://github.com/aws/aws-sdk-java/issues/372.

@jamshid Thank you. I think it makes sense.
So I basically need to change this https://github.com/elastic/elasticsearch-cloud-aws/blob/master/src/main/java/org/elasticsearch/cloud/aws/AwsSigner.java#L44-51 and the doc?

Close this via https://github.com/elastic/elasticsearch/pull/13360


can't deploy actions in a recursive composition by compose

Steps to reproduce the error:

REPL: compose comp5 -t @demos/try.js
EDITOR: click deploy button
comp5 was deployed but the action was not.

I looked at the debug info behind this issue for a while and I found that the deploy button actually triggered app udpate -r, and the problem seemed caused by a wrong require file path in edit-amd.ts.

superceded by #334


Keypress should not set the "touched" value

I believe that the fix for issue #27 introduced an error.
Whenever the user types in the field, "touched" is set to true. This is not standard behaviour, as far as I can tell.
For example, https://angular.io/guide/form-validation says

When the user changes the value in the watched field, the control is marked as "dirty".
When the user blurs the form control element, the control is marked as "touched".

I think that onKeyUp should not be calling onTouchedCb.

Hi @matthew-wilson-itv
I fixed this. Try version 0.7.0.


Logfix: adding logging and removing print statements

Added logging to the endpoints, removed the print statements from the endpoints, db and utils files.

Looks good, there are few changes for some of the log levels and some messaging format changes but I can deal with them since I know what the responses will be. Thanks for adding that and I will accept and merge it into dev since other are not avail


Hyperlink reference pages

When clicking links inside the site, some of them still use old github pages address. We need them all to reference ifc-tech.org site.

duplicate #21


Add support for parsing LF delimited data. #29

Thanks for the PR. They're always appreciated.
Can you tell me what device/service is sending data with only LF? I haven't seen that before. A quick check of the RFC seems to indicate the CRLF is the correct terminator and LF on it's own is not. If the device isn't updateable, then I guess I should merge this to ensure compatbility with non-compliant devices, but if it's possible to update whatever is sending these packets that would seem like a better idea.
From RFC 2616
"HTTP/1.1 defines the sequence CR LF as the end-of-line marker for all
protocol elements except the entity-body (see appendix 19.3 for
tolerant applications). The end-of-line marker within an entity-body
is defined by its associated media type, as described in section 3.7.
   CRLF           = CR LF

"
https://tools.ietf.org/html/rfc2616

Interesting!
I'll see if I can find out wherever I was whilst I was testing, and grab the responses.

Thanks, I'll probably merge the change anyway but my development pc died today for the second time in a week and it will be Monday before I can start trying to reinstall it. Might be a while.

Ok. I can't recreate now- wish I'd taken a snapshot of the response.
Your call on merging. I can see how easily a project might send a LF - especially if they use file encoding to add carriage returns in their source code, like you are.
Great project BTW. I've used many SSDP implementations in the past- and this has been the most reliable.

The PR looks good and I'd rather the lib worked in practice than adhered strictly to spec, so I will merge this when I'm able. Thanks for checking for the source, and for the PR.

Thanks also for the kind words about the library :)

Great! No worries.


Doc question: Can protobuf extension be used with "index_parallel"?

The Protobuf extension documentation demonstrates use of the extension to decode Kafka events.
Can the protobuf extension also be used to decode files, or it is only suitable for streaming input?
I tried make an example "index_parallel" task definition that uses protobuf but it gets rejected,
{"error":"Cannot construct instance of `org.apache.druid.indexing.common.task.batch.parallel.ParallelIndexIngestionSpec`,
  problem: Cannot use parser and inputSource together. Try using inputFormat instead of parser.
 at [Source: (org.eclipse.jetty.server.HttpInputOverHTTP); line: 77, column: 1]
(through reference chain: org.apache.druid.indexing.common.task.batch.parallel.ParallelIndexSupervisorTask[\"spec\"])"
}

Task definition:
curl -v http://localhost:8888/druid/indexer/v1/task -H 'Content-Type: application/json' -d '
{
  "type": "index_parallel",
  "spec": {
    "ioConfig": {
      "type": "index_parallel",
      "inputSource": {
        "type": "local",
        "filter": "metrics.bin",
        "baseDir": "./"
      }
    },
    "tuningConfig": {
      "type": "index_parallel",
      "partitionsSpec": {
        "type": "dynamic"
      }
    },
    "dataSchema": {
      "dataSource": "metrics",
      "parser": {
        "type": "protobuf",
        "descriptor": "file:///tmp/metrics.desc",
        "protoMessageType": "Metrics",
        "parseSpec": {
          "format": "json",
          "timestampSpec": {
            "column": "timestamp",
            "format": "auto"
          },
          "dimensionsSpec": {
            "dimensions": [
              "unit",
              "http_method",
              "http_code",
              "page",
              "metricType",
              "server"
            ],
            "dimensionExclusions": [
              "timestamp",
              "value"
            ]
          }
        }
      },
      "metricsSpec": [
        {
          "name": "count",
          "type": "count"
        },
        {
          "name": "value_sum",
          "fieldName": "value",
          "type": "doubleSum"
        },
        {
          "name": "value_min",
          "fieldName": "value",
          "type": "doubleMin"
        },
        {
          "name": "value_max",
          "fieldName": "value",
          "type": "doubleMax"
        }
      ],
      "granularitySpec": {
        "type": "uniform",
        "segmentGranularity": "HOUR",
        "queryGranularity": "NONE"
      }
  }
}
'

I suspect the answer is "No, protobuf cannot be used to parse file contents", based on this comment,
https://github.com/apache/druid/pull/10839#issuecomment-790505170

If you are interested in doing a follow-up PR or two, the protobuf extension is one of the few ingestion formats that has not been ported to the newer InputFormat interface which has replaced parsers. There are a handful of implementations that could be used as reference (JSON, Avro though it is missing an InputFormat for streaming support and using schema registry itself, and many others). I think this should be relatively straight-forward with the protobuf extension since most of the work is being done in the decoder implementations, which could also be re-used by the InputFormat implementation.

I am not familiar enough with protobuf encoded files to know if this will work, but the error you are seeing is related to trying to use inputSource with a parser. You need to use the older 'parser' based ingestion spec to not see this error, see https://druid.apache.org/docs/latest/ingestion/index.html#parser-deprecated. (no inputSource or inputFormat on parser based specs, instead "firehoses" are used in place of input source iirc)
The protobuf parser depends on getting byte chunks of encoded proto messages, so any file reader would need to read out individual message binary blobs from the underlying file to feed to the parser, which is the part that makes me unsure that protobuf files with batch would work correctly. For example the CSV parser is fed single lines from an underlying text file, where the line is expected to be a CSV row. A protobuf file parser would need something to do something similar with the binary message blobs from the file, and i'm not sure if just having the message schema is enough for that to work.
I think if the inputFormat did exist, it might still have this issue, a file based protobuf decoder might be a specialized InputFormat implementation that is separate from a streaming individual message processor format (again I'm not familiar with the file side of things much).


Investigate ways of generating _locales based on translation files

No, I meant... For someone who's not using vue-i18n and only relies on browser.i18n he'd be defining a mess in public/_locales because the syntax is too verbose.
But if someone wanted to use vue-i18n they'd be defining only extension name and description within the context of browser.i18n and the rest can all live inside vue-i18n locale dir.
Am I right? If not, I'd be trying to figure out the way to use only vue-i18n and somehow at the build-time generate locales needed for parts that browser.i18n can access, such as manifest.json file property values.

Originally posted by @dvlden in https://github.com/wxt-dev/wxt/issues/187#issuecomment-1799136362

@dvlden Yes, that is an option, that could be a simple Vite plugin. I need to research other patterns before committing to adding that logic to WXT directly. I don't want to add something that only works for one framework's one library.

Originally posted by @aklinker1  in https://github.com/wxt-dev/wxt/issues/187#issuecomment-1799301604
Goal here is to provide some kind of vite plugin or config option to generate the _locales directory from another localization file. This would also need to integrate with the type augmentation for browser.runtime.getMessage.
You shouldn't have to manage translation files in multiple directories.

Interesting tool, I hadn't heard about it before. I don't think it is the solution to combining manifest translations and other translation files though...
https://github.com/lokalise/i18n-ally/wiki/Custom-Framework seems relevant, at least for adding editor support.

Yes, supporting this tool will greatly simplify the checking and editing of i18n files (it likely already support Chrome i18n and vue-i18n).

Also, I have reviewed the i18n and vue-i18n wxt-examples and have gained a basic understanding of the situation. The current official structure, as per Google Chrome's standards, is:
public/_locales/en/messages.json
public/_locales/ko/messages.json

For vue-i18n, WXT needs an official solution for the manifest, and a *.json solution for other files:
assets/locales/en.json
assets/locales/ko.json

The objective is to utilize assets/locales/*.json for all i18n tasks (including manifest) across all frameworks, aiming to make this a built-in feature for WXT, possibly supporting the Google Chrome official solution simultaneously.
Additionally, WXT requires a feature similar to useI18n to ensure type safety by verifying message keys exist.
Is my understanding correct?

Correct, but it also needs to support react, Svelte, and any other i18n libraries.
This is why I mentioned a custom vite plugin rather than something built into WXT - supporting every i18n library in core would not be a good approach.

If type safety is not a concern, then actually, a plugin might not be necessary.
Because the process of converting from assets/locales/<lang>.json to public/_locales/<lang>/messages.json is independent of the framework.

True, but features like placeholders, re-using strings, and pluralization are different between most libraries.
So just reading JSON from one place won't always work.

You shouldn't have to manage translation files in multiple directories.

Initially, it was a bit confusing because I thought solving the problem mentioned above merely required a pure JavaScript implementation that should be independent of any framework, as it only needs to move the file.
With the i18next example, I now understand what you mean:
i18next.init({
  lng: 'en',
  resources: {
    en: {
      translation: {
        itemCount: "{{count}} item",
        itemCount_plural: "{{count}} items"
      }
    }
  }
});

i18next.t('itemCount', { count: 1 }); // 1 item
i18next.t('itemCount', { count: 5 }); // 5 items

In this case, it does require a framework-specific approach.

At the moment, I am opting out entirely of Vue i18n and using browser built-in i18n for all translation messages.
It is disaster to maintain, but I wouldn't want to use i18n dependency inside of injection script or background / worker.

@dvlden
I've really given i18n-ally a try in my project and figured out how to configure it.
First, install i18n-ally.
Then, add the following to your .vscode/settings.json:
  "i18n-ally.enabledFrameworks": [
    "chrome-ext"
  ],
  "i18n-ally.localesPaths": [
    "your/path/to/_locales"
  ]

After that, you should see something like this:

Hope this is helpful

Ok, I'm convinced that WXT can't provide a solution for all localization frameworks, but it should be able to improve the existing i18n APIs and localization files.
Here's what I propose:

Create a new folder called locales/ recognized by WXT
Place any files with translations directly in it (support YAML, JSON 5, and regular JSON)
Improve the format of the localization files themselves (nested keys, optionally use a simple string instead of an object with a message, etc)

I'll share a complete example of what I'm thinking in a bit.

For example, my GitHub Better Line Counts extension. It's not localized, but if I were to localize it, it would look something like this:
src/
  locales/
    en.yml
    ...

# src/locales/en.yml
name: GitHub Better Line Counts
description: Remove generated files from GitHub line counts
diffs:
  additionsText:
    1: $count$ addition
    n: $count$ additions
  deletionsText:
    1: $count$ deletion
    n: $count$ deletions
  generatedText:
    1: $count$ generated line.
    n: $count$ generated lines.
  additionsSymbol: +$count$
  deletionsSymbol: −$count$
  generatedSymbol: ⌁$count$
options:
  privateRepos:
    title: Access Private Repos
    description1: "Optional:"
    description2: To recalculate the diff on private repos, the extension needs a GitHub PAT to authenticate API requests.
    description3: Click here
    description4: to create one.
    invalidToken: Token is invalid
    validToken: Token is valid
    checking: Checking token...
    username: "Username: {username}"
  enabled:
    title: Show Generated Line Counts
    description1: Along with
    description2: +additions
    description3: and
    description4: −deletions
    description5: ", show a third number for"
    description6: ⌁generated
    description7: lines.
  customLists:
    title: Custom Lists
    description1: Use
    description1: minimatch
    description1: glob patterns to mark files as generated accross all repos.
    allRepos: All Repos
    customRepoPlaceholder: |
      Enter glob patterns:
      *.lock
      **/vendor/**

Some comments:

You don't need to use the { message: ..., description?: ..., placeholders?: ... } form the Chrome extensions require. If you just set a string value for a key, WXT will convert to it the form chrome extensions expect. You can still use the longer form if you want.
Chrome doesn't have a built-in solution for pluralization. They recommend using "plural neutral forms" (Additions: $count$ instead of $count$ additions), which IMO doesn't always work. I plan on supporting plural forms, see diffs.*Text for an example.

Closing this issue, will continue conversation on #327 if you have comments or suggestions about the API I've decided on.


BYTETracker with another detector result

when im trying to use
from yolox.tracker.byte_tracker import BYTETracker
tracker = BYTETracker(args)
for image in images:
dets = detector(image)
online_targets = tracker.update(dets, info_imgs, img_size)
with detection result from another detector i get following error
'list' object has no attribute 'track_thresh'
i was wondering how can i resolve this

my suggest you need to adopt your output of detector to input of tracker.update like:
output of detector : [box1, box2, ....] box form [x, y, w, h]
and input tracker.update take : [Object1, Object2, ..]
then you need to convert you output of detector to same input of tracker.update. you need to transfrom from box1 is list to Object Object1 which is instance of class whatever, which contains some another variables llike your case track_thresh, ...

my suggest you need to adopt your output of detector to input of tracker.update like: output of detector : [box1, box2, ....] box form [x, y, w, h] and input tracker.update take : [Object1, Object2, ..] then you need to convert you output of detector to same input of tracker.update. you need to transfrom from box1 is list to Object Object1 which is instance of class whatever, which contains some another variables llike your case track_thresh, ...

I didnt understand your answer, would you mind to give numeric example?

I also have this "problem".


How to change install drive

Is it possible to change the drive it's installed on if I'm installing without admin privledges? It wants to install on my M drive but that only has 1 GB of storage so I'd prefer to change it to my C drive.
|--------------------------- ECOASSIST INSTALLATION ---------------------------|
It seems like you don't have admin rights. Do you want to proceed to install for all users and enter an admin password, or install EcoAssist only for you (no admin rights required)?
Enter [O]nly me or [P]roceed as admin: O
Proceeding to install in userfolder...
Proceeding to install...
Install script is located on drive:    'C:'
EcoAssist will be installed on drive:  'M:'
Changed drive to:                      'M:'
Prefix:                                'M:'
Location:                              'M:\EcoAssist_files'
Created empty dir:                     'M:\EcoAssist_files'

Yes, it is possible to install it at a custom location. There is a built-in option to choose a custom location, but the user is only prompted with this if their homefolder is not accessible. Since your homefolder is accessible, (but just not preferred), we can trick the script in to thinking that your homefolder is not accessible.

Open your install.bat file with a text editor like NotePad or Visual Studio Code;
Find this line and add some random text to the path. For example: "%homedrive%%homepath%\blahblahblah\" Make sure you leave the indenting and the rest as it was.
Save, close and execute the file again.

If you choose to install EcoAssist [O]nly for your user, you should get the option to choose a custom location. You can enter for example C:\some\desired\path\.


How to configure 3d models in Python hand tracking CPU and GPU?  I want more accurate z coordinates, okay?

How to configure 3d models in Python hand tracking CPU and GPU?  I want more accurate z coordinates, okay?

Please refer https://google.github.io/mediapipe/solutions/hands#multi_hand_world_landmarks in python for Hands solutions


Code example from README.MD not working

Please fix your code example in README.MD because it does not work. I currently fail to use your component.
You advise to import Tab from 'vue-swipe-tab'; but you are actually using a custom element <tabs> in your template. Please show working code.
In your demo code you are instead using
import { Tabs, Tab }  from './Tab';
and then in the components property:
components: { Tabs, Tab }
both of which are commented out in your demo code (why?).

This is how I tried to make it work:
import { Tabs, Tab } from 'vue-swipe-tab';
components: { Tabs, Tab }
methods: {              tabChange(idx) {                 console.log(idx);             }
<Tabs @changePage="tabChange" indexTab="friend">
                            <TabPanel
                                label="好友榜"
                                hash="friend"
                                fontsize="36"
                                tabheight="90"
                                color="red">

1

                            </TabPanel>
                            <TabPanel
                                label="全省榜"
                                hash="convince"
                                fontsize="36"
                                tabheight="90"
                                color="red">

2

                            </TabPanel>
                            <TabPanel
                                label="全国榜"
                                hash="country"
                                fontsize="36"
                                tabheight="90"
                                color="red">

3

                            </TabPanel>
                        </Tabs>

but that just gives me
[Vue warn]: Unknown custom element: <Tabs> - did you register the component correctly? For recursive components, make sure to provide the "name" option.
and
[Vue warn]: Unknown custom element: <TabPanel> - did you register the component correctly? For recursive components, make sure to provide the "name" option.

2nd try:
import Tabs from 'vue-swipe-tab'; import Tab from 'vue-swipe-tab';
and then
<Tabs @changePage="tabChange" indexTab="friend">
                            <Tab
                                label="好友榜"
                                hash="friend"
                                fontsize="36"
                                tabheight="90"
                                color="red">

1

                            </Tab>
                            <Tab
                                label="全省榜"
                                hash="convince"
                                fontsize="36"
                                tabheight="90"
                                color="red">

2

                            </Tab>
                            <Tab
                                label="全国榜"
                                hash="country"
                                fontsize="36"
                                tabheight="90"
                                color="red">

3

                            </Tab>
                        </Tabs>

gives me
[Vue warn]: Failed to mount component: template or render function not defined.
twice in the console.

@franktopel which version you are using? please use the version at 2.0.2.
vue-swipe-tab is a vue plugin, so you don't need to register components' name in the component options.
so you just need to use it like it in app.js(app entry):
import Tab from 'vue-swipe-tab';
Vue.use(Tab);

and then, you can write it everywhere in your vue component without register it in component options:

<template>

        <Tabs indexTab="convince">
            <TabPanel label="好友榜" hash="friend" fontsize="36" tabheight="90" color="red">

            </TabPanel>
            <TabPanel label="全省榜" hash="convince" fontsize="36" tabheight="90" color="red">

            </TabPanel>
            <TabPanel label="全国榜" hash="country" fontsize="36" tabheight="90" color="red">

            </TabPanel>
        </Tabs>

</template>

I am using version 2.0.2 along with vue 2. I added the code you suggested to my main.js and removed the import and the component declaration in my vue component.
That gives me
Vue warn]: Failed to mount component: template or render function not defined.

found in

---> <Tabs>
       <DetailBase> at src/components/sections/detail/DetailBase.vue
         <PageTemplate> at src/components/templates/PageBase.vue
           <Detail> at src/components/templates/Detail.vue
             <App> at src/App.vue
               <Root>

twice.

@franktopel can you show me the code that using vue-swipe-tab?
this problem seem like cause by vue or webpack, are you using webpack to build you project and import vue.js by using

@franktopel  in vue issuse https://github.com/vuejs/vue-router/issues/713

I am using vue-webpack template. This is already a very big Vue application and my current task is to add a swipeable tab to one of the views.
This is my main.js:
import Vue from 'vue';
import App from './App';

import { sync } from 'vuex-router-sync';
import i18n from './utils/i18n';
import { router } from './router';
import store from './store';
import Tab from 'vue-swipe-tab';

Vue.use(Tab);

sync(store, router);

import './setup';
import './plugins';

// global components
import './components/common';
import './components/modules';
import './components/templates';

import * as filters from './utils/filters';
import * as directives from './utils/directives';

// register global filters
Object.keys(filters).forEach(key => {
    Vue.filter(key, filters[key]);
});

// register global directives
Object.keys(directives).forEach(key => {
    Vue.directive(key, directives[key]);
});

// disable production tip in dev tools
Vue.config.productionTip = false;

new Vue({
    components: { App },

    el: '#app',

    router,
    store,
    i18n,

    template: '<App/>',

    created() {
        this.$i18n.locale = this.$store.getters['language/current'] || 'de';

        this.$store.dispatch('initApp');
    }
});

@franktopel edit webpack config seem can solve this problem: like this
module.exports = {
  // ... other options
  resolve: {
    extensions: ['.js', '.vue'],
    alias: {
      'vue$': 'vue/dist/vue.common.js'
    }
  },
  // ... other options
}

@franktopel  maybe https://stackoverflow.com/questions/39890005/vue-js-migration-to-2-0-failed-to-mount-component-template-or-render-function can help you to fixed the bug

I tried that, did not change the outcome though. Also, vue.common.js should be for CommonJS imports, not for ES6 imports.

@franktopel try vue.esm.js?

vue.esm.js was what was set before I started investigating. Neither vue.esm.js nor vue.common.js change anything about the problem.

@franktopel can you console the plugin information?
import Tab from 'vue-swipe-tab';
console.log(Tab);

@franktopel import this plugin success, show me the way you use this plugin: is it like that ?
 <Tabs indexTab="convince">
            <TabPanel label="好友榜" hash="friend" fontsize="36" tabheight="90" color="red">

            </TabPanel>
            <TabPanel label="全省榜" hash="convince" fontsize="36" tabheight="90" color="red">

            </TabPanel>
            <TabPanel label="全国榜" hash="country" fontsize="36" tabheight="90" color="red">

            </TabPanel>
        </Tabs>

<Tabs @changePage="tabChange" indexTab="friend">                             <TabPanel                                 label="好友榜"                                 hash="friend"                                 fontsize="36"                                 tabheight="90"                                 color="red">
1
                             </TabPanel>                             <TabPanel                                 label="全省榜"                                 hash="convince"                                 fontsize="36"                                 tabheight="90"                                 color="red">
2
                             </TabPanel>                             <TabPanel                                 label="全国榜"                                 hash="country"                                 fontsize="36"                                 tabheight="90"                                 color="red">
3
                             </TabPanel>                         </Tabs>

@franktopel I cannot reappear this problem in my code。please show me your demo on https://jsfiddle.net/chrisvfritz/50wL7mdz/

Have you ever tested your plugin in the standard vue-webpack template environment?

I just set up a fresh project using the vue-webpack template and followed your instructions.
[Vue warn]: Failed to mount component: template or render function not defined.

found in

---> <Tabs>
       <App> at src/App.vue
         <Root>

It seems your plugin does not work in the vue standard environment.

The repository is now set up and the latest commit includes your implementation instructions.

As soon as I try to import Tab from ' vue-swipe-tab' I get the following compile error:
ERROR in ./node_modules/vue-swipe-tab/lib/index.vue Module not found: Error: Can't resolve 'sass-loader' in '/Volumes/Data/Sites/vue-swipe-tab-test/node_modules/vue-swipe-tab/lib' @ ./node_modules/vue-swipe-tab/lib/index.vue 4:2-315 @ ./node_modules/vue-swipe-tab/index.js @ ./src/main.js @ multi ./build/dev-client ./src/main.js

Is your package.json lacking dependencies? I'm using the latest npm 5.5.1 along with node 6.11.1.

Now I manually installed sass-loader and node-sass packages which makes the compile error go away. Now we're back to

Just checked. The package.json in ./node_modules/vue-swipe-tab does not contain any dependencies whatsoever.

Is your live demo still based on the current version of your code?

I have sent you an invite to collaborate on https://github.com/franktopel/vue-swipe-tab-test

Are you still on this?

@franktopel  I clone https://github.com/franktopel/vue-swipe-tab-test and test my plugin(vue-swipe-tab),
it occurred a Error: Failed to mount component: template or render function not defined.
but it is not caused by my plugin, it seem like a problem in vue-loader. I test my plugin in this way:
<template>

    <Tabs indexTab="friend">
      <TabPanel
        label="好友榜"
        hash="friend"
        fontsize="36"
        tabheight="90"
        color="red">

1

      </TabPanel>
      <TabPanel
        label="全省榜"
        hash="convince"
        fontsize="36"
        tabheight="90"
        color="red">

2

      </TabPanel>
      <TabPanel
        label="全国榜"
        hash="country"
        fontsize="36"
        tabheight="90"
        color="red">

3

      </TabPanel>
    </Tabs>

</template>

it work! But when I use Vue.use() API to register the two component, the Error occurred again:
import Tab from 'vue-swipe-tab'
Vue.use(Tab)

I spend all day to find vue-loader' bug, but still not solve this error, Many people had same problem in Vue2, vue-loader, webpack.
maybe you can find the answers in Vue-loader's issues. https://stackoverflow.com/questions/41983767/vue-template-or-render-function-not-defined-yet-i-am-using-neither

Thanks alot for your effort, I appreciate it! Yet I do not agree that you are closing this issue because it is still not resolved. The link you gave does not address this problem as far as I understand.

I suggest you commit a working implementation in the repository I created and link to that in your README.MD.


Add missing license header to Python files.

Whoops, thanks!
On Wed, Dec 12, 2018 at 8:45 AM Peter Hawkins<EMAIL_ADDRESS>wrote:

Merged #86 https://github.com/google/jax/pull/86 into master.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/google/jax/pull/86#event-2021522234, or mute the
thread
https://github.com/notifications/unsubscribe-auth/AAJ4jzJQq2dYqWcnm5fA00zFFNso2cjgks5u4QhkgaJpZM4ZPd6i
.


[7.x] Only replace methodName prefix if would be empty

So ML integration tests are failing in this PR for reasons I can't figure out without more knowledge on debugging Go CI, however most of the API integration tests (specifically the ones we're adding here) are running and passing so I'm going to merge this now to get a valid 7.11 branch going.


Move wiki page about app compat to user docs

Provide a description of requested docs changes
Move https://github.com/microsoft/PowerToys/wiki/Application-Compatibility to ms docs

@crutkas Ok when I open a pr n the docs repo?

I’m mixed on this one since it is easier for us to control this list.

I’m mixed on this one since it is easier for us to control this list.

@crutkas I don't really see your point here. It's just open a pr in the docs repository and merge it.

Different spot that I don’t pay attention to versus a locked down wiki

So, does that mean no?

So, does that mean no?

So, does this mean no?

as of now, i think that is correct.


ceph: CEPH_HOST not IPv6 friendly

Author Name: Laurent Grawet (Laurent Grawet)
Original Redmine Issue: 3929, https://dev.opennebula.org/issues/3929
Original Date: 2015-08-07

Hi,
CEPH_HOST datastore variable doesn't like IPv6 addresses, even enclosed in brackets. The address is splitted at first ":" assuming the second section is a port number in the resulting libvirt xml deployment file.
See commit b559b325, LibVirtDriverKVM.cc, line 380
Thanks,
Laurent

Original Redmine Comment
Author Name: Stefan Kooman (Stefan Kooman)
Original Date: 2015-08-14T14:14:12Z

Hmm, I about to launch a ceph cluster in a week from now based completely on IPv6. Is there a workaround for now? Ceph can't be run in a "dual-stack" mode ...

Original Redmine Comment
Author Name: Ruben S. Montero (@rsmontero)
Original Date: 2015-08-14T14:47:14Z

Yes you can use the hosts names as in /etc/hosts, this problem arises when you try to use the IPv6. The solution is to use getaddrinfo in oned and not the :-split.


Getting unusual result from given starting coordinates for last configuration

When using the initial positions provided by the professor for structure 7, I end up with a plot like this

Has anyone else had this issue? This is not the form of in the paper and it needs some additional tuning correct?

@WildJimmy have you done the seventh configuration ? I have obtained different result then yours. I guess it depends on the initial position coordinates we have chosen.

Yeah, this was from the professor's initial positions (though I assume I messed something up somewhere). I ended up changing from 7 since it was proving to be quite annoying

This is interesting and somewhat useful


error G21C97077: The non-abstract class 'RustWire' is missing implementations for these members: [D:\quicktag\build\windows\flutter\flutter_assemble.vcxproj]

When I try to run my app with this package, I get this error:
/C:/Users/mikwee/flutter/.pub-cache/hosted/pub.dartlang.org/metadata_god-0.3.1/lib/src/bridge_generated.dart(360,7): error G21C97077: The non-abstract class 'RustWire' is missing implementations for these members: [D:\quicktag\build\windows\flutter\flutter_assemble.vcxproj]
Building Windows application...
Exception: Build process failed.

Why is that?
Thank you.

Should be fixed in the v0.3.2

Thank you, I'll try


Update relay-token-python.md

Fix broken code examples

@rahulva-msft

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

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

#sign-off

@Jak-MS Please close this ticket


All CPU scheduling Algorithms

Fixes: #917
This pull request introduces implementations for all fundamental CPU scheduling algorithms:

First-Come, First-Served (FCFS) Scheduling
Shortest Job Next (SJN) / Shortest Job First (SJF) Scheduling
Priority Scheduling
Round Robin (RR) Scheduling
Shortest Remaining Time (SRT) Scheduling
Multilevel Queue Scheduling
Longest Job First (LJF) Scheduling
Longest Remaining Time First (LRTF) Scheduling
Earliest Deadline First (EDF) Scheduling
Rate Monotonic Scheduling (RMS)

Each algorithm has been implemented in C, and accompanying concise README files have been created to provide clear documentation on their definitions, problem statements, overviews, time complexities, and space complexities.
@pankaj-bind please review and accept the pull request. Let me know if any changes are to be made.

Also please add the level2 label under gssoc-extd because this is more than one algorithm I've implemented.


Fix flaky spec and spec ordering

Fixes a commonly-failing flaky spec - example. The issue being an Array comparison sometimes failing due to the ordering of the array members, which is not important.
Also fixed the affected spec being in the wrong context block and a couple of minor syntax corrections.

Codecov Report

Merging #1598 (d4cd1d5) into master (5ac68a4) will decrease coverage by 62.99%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##           master    #1598       +/-   ##
===========================================
- Coverage   89.73%   26.74%   -63.00%
===========================================
  Files         388      388
  Lines        8323    10244     +1921
  Branches     1218      697      -521
===========================================
- Hits         7469     2740     -4729
- Misses        679     7393     +6714
+ Partials      175      111       -64

Impacted Files
Coverage Δ

app/models/incident.rb
0.00% <0.00%> (-100.00%)
:arrow_down:

app/forms/alert_form.rb
0.00% <0.00%> (-100.00%)
:arrow_down:

app/forms/comment_form.rb
0.00% <0.00%> (-100.00%)
:arrow_down:

app/forms/sign_in_form.rb
0.00% <0.00%> (-100.00%)
:arrow_down:

app/jobs/send_alert_job.rb
0.00% <0.00%> (-100.00%)
:arrow_down:

app/policies/team_policy.rb
0.00% <0.00%> (-100.00%)
:arrow_down:

app/helpers/search_params.rb
0.00% <0.00%> (-100.00%)
:arrow_down:

app/forms/remove_product_form.rb
0.00% <0.00%> (-100.00%)
:arrow_down:

app/forms/reset_password_form.rb
0.00% <0.00%> (-100.00%)
:arrow_down:

app/forms/remove_business_form.rb
0.00% <0.00%> (-100.00%)
:arrow_down:

... and 275 more

Continue to review full report at Codecov.

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


"Learn More" link about Partial Mode uses a faulty anchor fragment

Issue Type: Bug
It goes to https://aka.ms/vscode/jsts/partial-mode which redirects to https://code.visualstudio.com/docs/nodejs/working-with-javascript#partial-intellisense-mode
However the right section is actually at https://code.visualstudio.com/docs/nodejs/working-with-javascript#_partial-intellisense-mode
(Note the leading underscore needed on the anchor)
Extension version: 0.0.42
VS Code version: Code 1.62.2 (3a6960b964327f0e3882ce18fcebd07ed191b316, 2021-11-11T20:56:38.428Z)
OS version: Windows_NT x64 10.0.19043
Restricted Mode: No

Thanks for noticing this. Should be fixed now (just a service side update to the link so no code changes required)


Samsung Dex mod compiled

Magisk, haven't heard that in years, this only works on rooted android devices?
Is there a compiled version somewhere?
Thanks

Hi Wilson,
this only works on rooted devices, you should have either kernelsu or magisk for it to work.
You should check "How to root (insert your phone here)" or "How to install magisk on (insert phone here)" and then you can just download the zip and install directly.
So you need to find out:

how to root
how to install magisk or kernelsu
download this module
install it using your chosen app.

Important notice, rooting your phone might brick it or result in other types issues.
This reply is purely informational, there are no warranties explicit or implied.
If you mess up your phone while doing so you're on your own.
This question is not related to the module in itself so i'm closing this issue.
Have a great weekend


Improve the look of the scrollbar

The scrollbar doesn't look very good at the moment.

It might be a good idea to improve the look of it.

Im not a fan of scrollbar theming and would like to keep the style of the browser, sorry.


Update Angular 2 README.md

I wasn't sure how complete of a picture we wanted to put in the readme. Seems this should get people going in the right direction but would need to look at the example app for a full working application.

These instructions will also only work for rc.5+....should I leave both examples up there for now?

@andyrue I left one comment. Other than that, I think this looks good!

Done!

Thanks!


Not able to run a golang file that includes C library imports on windows 10

What version of Go are you using (go version)?
go version go1.10 windows/amd64### Does this issue reproduce with the latest release?
What operating system and processor architecture are you using (go env)?
GOARCH=amd64
GOHOSTARCH=amd64
GOHOSTOS=windows
GOOS=windows
What did you do?
package main
// #cgo windows pkg-config: ABC
// #cgo windows CFLAGS: -DWIN32_LEAN_AND_MEAN
/*
#include <ABC.h>
*/
import "C"
import "fmt"
import "unsafe"
func main(){
inputK  := []byte("abcdefghijklmnopabcdefghijklmnop")
inputT := []byte("1234567890123456")
instr := []byte("123-12-1234")
var cinputKptr *C.uchar = (*C.uchar)(unsafe.Pointer(&inputK[0]))
var cinputTptr *C.uchar = (*C.uchar)(unsafe.Pointer(&inputT[0]))
var cinstrptr *C.uchar = (*C.uchar)(unsafe.Pointer(&instr[0]))
var outputtext1, outputtext2 *C.uchar
outputtext1 = C.generateOutput1(cinputKptr, C.int(len(cinputKptr)), cinstrptr, C.int(len(cinstrptr)), cinputTptr, C.int(len(cinputTptr)), 0)
unsafeoutputtext1 := unsafe.Pointer(outputtext1)
outputtext1go := C.GoString((*C.char)(unsafeoutputtext1))
fmt.Println("outputtext1go : ", outputtext1go)
outputtext2 = C.readOutput1(cinputKptr, C.int(len(cinputKptr)), outputtext1, C.int(len(outputtext1go)), cinputTptr, C.int(len(cinputTptr)), 0)
fmt.Println("outputtext2go: ", C.GoString((*C.char)(unsafe.Pointer(outputtext2))))
}
<ABC.h> contains below:
unsigned char* __stdcall generateOutput1(unsigned char* XX, int XX, unsigned char* XX, int XX, unsigned char* XX, int XX, int XX);
unsigned char* __stdcall readOutput1(unsigned char* XX, int XX, unsigned char* XX, int XX, unsigned  char* XX, int XX, int XX);
What did you expect to see?
outputtext1go : Some value
outputtext2go : Some value
What did you see instead?
exit status<PHONE_NUMBER>
Note: The same code works fine on Windows 7 with same versions of Go, pkg-config and mingw packages, but doesn't work on Windows 10.

I'm assuming "ABC" is a .dll, have you completely ruled out issues finding the .dll by making sure it is in the same folder as the executable?
If so then please provide a self contained and minimal reproducer which includes the sources for "ABC" and the pkg-config file, directory layout and exact commands used to build both "ABC" and the go program.


Different workers created for different environments

🐛 Bug report
Describe the bug
Wrangler is adding the environment name to the worker while publishing, which creates separate workers for each environment.
For example, I have a worker named "foo". wrangler publish --env production creates a new worker foo-production and wrangler publish --env staging  creates a new worker foo-staging.
Reproduce the bug
A list of steps to reproduce the bug.

Create a new project wrangler generate foo.
Add production and staging environments to wrangler.toml (as below).
Run wrangler publish --env production.
Run wrangler publish --env staging.
Notice the newly created workers "foo-production" and "foo-staging" both with the production environment.

Expected behavior
Only a single worker will be created named "foo" with two environments "production" and "staging". Instead, it's creating two workers with both of them having a production environment.
Environment and versions
Fill out the following information about your environment.

operating system: MacOS 12.3.1
output of wrangler -V: 1.19.12
output of node -v: v16.14.2
content of wrangler.toml:

name = "foo"
type = "javascript"

account_id = ""
workers_dev = true
route = ""
zone_id = ""
compatibility_date = "2022-05-07"

[env.production]
route = "*/*"

[env.staging]
route = "*/*"

Closing this since we discussed it on https://github.com/cloudflare/wrangler2/issues/921


Change Heatmap Orientation

Is Changing the orientation of the heatmap possible ??

Currently only in landscape :)
What would be a good use case for a portrait orientation?

Integrating it with Cross Platform Mobile Applications

That is an interesting challenge. I must admit I haven't thought about this in much detail yet.
But I suspect this would require a major redesign as the interface would become cluttered by just switching the orientation. Maybe we should consider a separate module for something like that :)

yeah that would be great i will also work on it and try to contribute :D

Sounds good. I could make some designs ported to mobile in my spare time :)
Do you have any preconceptions about the designs and/or framework you work with on mobile?

Changed the orientation 💃  :P

Did you manage to get a working version of this? 👍
Looks good, although I would argue that there is a little bit too much unused space :) Also, how does mouseover interactivity work in this case? I mean if this is on mobile you touch the circles for more information on that day, is that correct?

Currently I have managed to get the working version of year view. On mobile I had to replace the mouseover event with click event ... mouseover doesnt work on mobiles and yes there is allot of unused space how can i remove it ??

Cool, glad it worked out :)
Removing space depends on what you would like to achieve, you can make the circles bigger (which makes the list bigger) or change them to rectangles that are wider.


Chinese character not display

when download as pdf, the chinese character not display, so i add a local font to the css file.
But when I run the project in the local environment, the pdf display chinese correctly, but when I build the docker, the problem exists.

Hey good point, happy to any contribution to resolve it.


Roll Flutter Engine from e9ca7b2c457b to 1e1a0c9090bc (4 revisions)

https://github.com/flutter/engine/compare/e9ca7b2c457b...1e1a0c9090bc
2023-03-10<EMAIL_ADDRESS>Use no_goma for the web framework tests. (flutter/engine#40197)
2023-03-10<EMAIL_ADDRESS>Roll Skia from bd14d5f42db9 to af3cd5046449 (1 revision) (flutter/engine#40205)
2023-03-10<EMAIL_ADDRESS>Roll Dart SDK from 7240b35cc401 to c522cbe4fb12 (5 revisions) (flutter/engine#40203)
2023-03-10<EMAIL_ADDRESS>Add platform channel System.exitApplication and System.requestAppExit support (flutter/engine#40033)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC jimgraham@google.com,rmistry<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Commit queue failed; closing this roll.


Added doxygen comments to earth code in main.c for issue #11, updated .gitignore closes #35

Thanks for making those changes, everything looks good now!


Making datasourcename mandatory during executequeryasync for multi-db scenario.

Why make this change?
In the setup for read only columns, in multi-db scenario, the query executor must execute the query against the datasourceName of the db that is hosting the information of the metadataprovider. If this is not specified, currently we execute the query against the default db (this was done to maintain backward compatibility for single source scenarios). In this change, we make it mandatory to specify the datasource name during a call to executequeryAsync. String.Empty can be sent if query is to be executed against default db.
What is this change?
Specifying the datasourceName during call of the queryExecutor. If this is specified as empty (to maintain backward compatibility), query will be executed against the default metadatasource provider.
How was this tested?

Existing test cases are updated to account for mandatory passing of the datasourceName.
Integration test done.

/azp run

/azp run

/azp run

/azp run


cookie generated by session could not be removed with middleware or hook

1. What version of Go and system type/arch are you using?
1.15.2

2. What version of GoFrame are you using?
1.13.7

4. What did you do?
use middleware or hook remove cookie generated by session,  like
s.BindHookHandlerByMap("/auth", map[string]ghttp.HandlerFunc{
ghttp.HOOK_BEFORE_OUTPUT: func(r *ghttp.Request) {
r.Cookie.Remove("mall-token")
},
})

5. What did you expect to see?
cookie is removed
6. What did you see instead?
cookie still send to client

@dhunter13 Update and use the master branch of gf, there added a configuration SessionCookieOutput for ghttp.Server which is used for controlling whether outputting session id to cookie.


fix: fix scala-steward configuration

Would have prevented #176 and #175

link validator failure is a datastax page that seems fine to me, filed #178, do we understand what's going on there?


[GEOMESA-3200] Make filter bounds union and intersection produce non overlapping bounds

GeoTools filters were transformed to ranges of values when running queries on indexed attributes. When value ranges overlap with each other, running the query would yield duplicated results.
For example, the CQL query a < 1 OR a < 2 will be transformed to attribute value ranges [(-inf, 1), (-inf, 2)]. These value ranges would be transformed into index key ranges, thus leading to a redundant range scan on the index table.
This patch prevents overlapping attribute value ranges from being populated, thus preventing queries from generating duplicated results.

thanks for the fix!


Discord Avatar Spoofing does not work

Describe the bug
Even with setting AutoWebhooks=true no Discord Avatars will be spoofed.
To Reproduce
I have Rocket Chat bridged to Discord.
I have the exact same username on Rocket Chat as discord.
I have set RemoteNickFormat="{NICK}" so that the name will appear exactly as it does on Rocket Chat which is the same as myself on Discord.
Expected behavior
The Bot should spoof my avatar
Screenshots/debug logs

Environment (please complete the following information):

OS: Ubuntu Server 18.04
Matterbridge version: version: 1.21.0 cf13fff7

Additional context
[discord.mydiscord]
Token="realtoken"
Server="realserver"
RemoteNickFormat="{NICK}"
AutoWebhooks=true

[rocketchat.myrocketchat]
Server="https://RealRocketchatserver.com"
<EMAIL_ADDRESS>Password="xxxxxxx"
PrefixMessagesWithNick=false
RemoteNickFormat="[{PROTOCOL}] {NICK} "

[[gateway]]
name="general"
enable=true

[[gateway.inout]]
account="discord.mydiscord"
channel="ID:realchannelid"
AutoWebhooks=true

[[gateway.inout]]
account="rocketchat.myrocketchat"
channel="#general"

Did this work in a previous version of matterbridge?
Your config is missing UseLocalAvatar, and afaik that settings is required for the functionality you're describing:
https://github.com/42wim/matterbridge/blob/16fde6935c83c21987a3cb4d65a2608ca14d0341/matterbridge.toml.sample#L849-L854
Nevertheless, this config comment mentions WebhookURL, so it's likely that it now checks for a setting that can never be set, and needs to be fixed. Caused by #1523.

Did this work in a previous version of matterbridge?
Your config is missing UseLocalAvatar, and afaik that settings is required for the functionality you're describing:
https://github.com/42wim/matterbridge/blob/16fde6935c83c21987a3cb4d65a2608ca14d0341/matterbridge.toml.sample#L849-L854
Nevertheless, this config comment mentions WebhookURL, so it's likely that it now checks for a setting that can never be set, and needs to be fixed. Caused by #1523.

I've just checked the code — "This only works if WebhookURL is set" really means "This only works for messages sent by webhooks".
I don't see any obvious issue — please can you check whether it works when you set the UseLocalAvatar setting?
[discord.mydiscord]
Token="realtoken"
Server="realserver"
RemoteNickFormat="{NICK}"
AutoWebhooks=true
UseLocalAvatar=["rocketchat"]

I've just checked the code — "This only works if WebhookURL is set" really means "This only works for messages sent by webhooks".
I don't see any obvious issue — please can you check whether it works when you set the UseLocalAvatar setting?
[discord.mydiscord]
Token="realtoken"
Server="realserver"
RemoteNickFormat="{NICK}"
AutoWebhooks=true
UseLocalAvatar=["rocketchat"]

I don't see any obvious issue — please can you check whether it works when you set the UseLocalAvatar setting on the Discord account configuration?

Setting UseLocalAvatar as you described did in fact fix it! I also removed the unnecessary AutoWebhooks
I initially used this page on the wiki which doesn't yet mention the new method of using webhooks and  UseLocalAvatar https://github.com/42wim/matterbridge/wiki/Section-Discord-(basic)#usernameavatar-spoofing

I don't see any obvious issue — please can you check whether it works when you set the UseLocalAvatar setting on the Discord account configuration?

Setting UseLocalAvatar as you described did in fact fix it! I also removed the unnecessary AutoWebhooks
I initially used this page on the wiki which doesn't yet mention the new method of using webhooks and  UseLocalAvatar https://github.com/42wim/matterbridge/wiki/Section-Discord-(basic)#usernameavatar-spoofing

Setting UseLocalAvatar as you described did in fact fix it! I also removed the unnecessary AutoWebhooks

Nice!

I initially used this page on the wiki which doesn't yet mention the new method of using webhooks and UseLocalAvatar 42wim/matterbridge/wiki/Section-Discord-(basic)#usernameavatar-spoofing

I've updated the docs on that page to include the new AutoWebhooks setting, and to clarify the avatar stuff.
Let me know if it's helpful, if there's anything that needs clearing up, (and feel free to edit it if you can think of any improvements).
And please close this issue if you think your problem is resolved :D

Setting UseLocalAvatar as you described did in fact fix it! I also removed the unnecessary AutoWebhooks

Nice!

I initially used this page on the wiki which doesn't yet mention the new method of using webhooks and UseLocalAvatar 42wim/matterbridge/wiki/Section-Discord-(basic)#usernameavatar-spoofing

I've updated the docs on that page to include the new AutoWebhooks setting, and to clarify the avatar stuff.
Let me know if it's helpful, if there's anything that needs clearing up, (and feel free to edit it if you can think of any improvements).
And please close this issue if you think your problem is resolved :D

Thank you very much. I appreciate this project a lot.

Thank you very much. I appreciate this project a lot.


Gatekeeper security with -no-redirects=true

Hi!
Recentrly we've switched over from GK for front to native Keycloak JS adapter, which is quite simple to develop and deploy, but we didn't take out GK which is a guard for our backend (written on php).
Here is a small diagram:

And again I split my questions into two parts.

I've noticed that there is no need to create a client inside the Keycloak if I set GK for guarding backend with the following config:

  gatekeeper-1:
    container_name: gatekeeper-backend-app-1
    image: ${DOCKER_REGISTRY_MIRROR}gatekeeper:${GK_VERSION}
    command:
      - "--enable-logging=true"
      - "--verbose=false"
      - "--enable-json-logging=false"
      - "--client-id=${app1_id}"
      - "--discovery-url=http://localhost:${KC_PORT}/realms/SSO-test/.well-known/openid-configuration"
      - "--listen=:20000"
      - "--upstream-url=http://localhost:${app1_backend_port}"
      - "--enable-default-deny=true"
      - "--enable-authorization-header=true"
      - "--no-redirects=true"
      - "--skip-access-token-clientid-check=true"
      - "--skip-access-token-issuer-check=true"
      - "--enable-idp-session-check=false"
      - "--resources=uri=/web/version*|white-listed=true"
      - "--upstream-timeout=3600s"
      - "--upstream-response-header-timeout=3600s"
      - "--upstream-expect-continue-timeout=3600s"
      - "--server-read-timeout=3600s"
      - "--server-write-timeout=3600s"
    ports:
      - ${gk1_port}:20000
    volumes:
      - /etc/localtime:/etc/localtime:ro
    restart: unless-stopped
    networks:
      - net
    depends_on:
      keycloak:
        condition: service_healthy
    extra_hosts:
      - "localhost:${LOCAL_IP}"

But for Gatekeeper it's crucial to have client-id parameter, otherwise it won't start. Maybe GK should contain the client-id if only it suppose to work by Authorization Code flow and/or + PKCE ? The main flag responsible for starting this flow is - "--no-redirects=true", so, if it's false, maybe there is no need for client-id ?

The second part concerns the recent message:

SECURITY NOTICE:
Unaffected - if you use one of these options, you are not susceptible to this attack:
--enable-encrypted-token=true
--store-url=
--enable-idp-session-check=true
We're passing the token from frontend to backend for retrieving users' roles from /userinfo. Just want to be sure that in this case the notice is not touching this case, and also get to know whether it has any sense to have - "--enable-idp-session-check=true" ?

Hi,

you always need client-id, question is if you need password or not (depending if your client is public or private)
if you already verified token with keycloak-js-adapter (assuming it does not have security issues) and sending to backend then of course it should be secure but if you are exposing your backend also to outside you should upgrade or at least (as temporary measure) enable at least one of those options (guessing enable-encrypted-token would be problem for keycloak js adapter)
--enable-idp-session-check=true is primarily focused on Authorization code flow but can be left enabled as additional check (in behind it verifies also token) also for --no-redirects=true, but only in case where you have one token issuer (one keycloak deployment), otherwise it needs to be disabled because of mandatory issuer check during idp session check

@p53 hi,
I see, thanks.

The point is that in my case with --no-redirects=true, wanna to underlie it - I am not creating the client in Keycloak for GK, it works anyway, assuming that it gets only a public key from KC endpoint kc.domain/realm/{name_of_realm} for verifying tokens in request and that's it. Right?
Yes, backend is exposed. But If I enable --enable-idp-session-check=true it is going to check user session going to /userinfo with every user's request from the front, which is not acceptable. My assumption is maybe this security notice doesn't affect this particular case, cuz I'm not creating a client for GK in Keycloak or I'm wrong? Can you provide more info about that risk?
Get it.

@hillout

it works because you have       - "--skip-access-token-clientid-check=true" otherwise it would fail without client id+client id is required also with other functionality, which you don't have enabled, so yes it could be a little more specific about checking client-id is present
yes it affects also this particular case, issue is not related to clientID's...

@p53 is the release 2.9.4 affected too ?

Yeah, but we need to use either of these flags:
--enable-encrypted-token=true
--store-url=<redis-url>
--enable-idp-session-check=true

@hillout no you don't need to use any of those parameters, those are just recommendations for enhancing security e.g. using encrypted token lowers the chances of anybody misusing token even if he will be able to get it somehow

@p53 I see, thanks for the explanation.


Fix german translation as they were strangely translated

Short description and why it's useful
Some of the translations felt strange as they seemed to only be automatically translated. They were translated in a way that was completely out of context.
Which environment this relates to
Check your case. In case of any doubts please read about Release Cycle

[x] Test version (https://test.storefrontcloud.io) - this is a new feature or improvement for Vue Storefront. I've created branch from develop branch and want to merge it back to develop
[ ] RC version (https://next.storefrontcloud.io) - this is a stabilisation fix for Release Candidate of Vue Storefront. I've created branch from release branch and want to merge it back to release
[ ] Stable version (https://demo.storefrontcloud.io) - this is an important fix for current stable version. I've created branch from hotfix or master branch and want to merge it back to hotfix

Upgrade Notes and Changelog

[x] No upgrade steps required (100% backward compatibility and no breaking changes)
[ ] I've updated the Upgrade notes and Changelog on how to port existing VS sites with this new feature

Contribution and currently important rules acceptance

[x] I read and followed contribution rules
[ ] I read the TypeScript Action Plan and adjusted my PR according to it
[x] I read about Vue Storefront Modules and I am aware that every new feature should be a module

thanks! :)


Refactor uses of react-native Text to ExpensifyText

Details

We recently updated our custom Text component to be called ExpensifyText to more clearly distinguish it from the react-native component with the same name. We also added a new rule to our ESLint config preventing the import of the default Text component from react-native. This is because we want people to use our custom component instead.
There were a handful of instances of the default react-native component being used in our code-base. This PR updates those to use our custom component instead. The only file that still imports Text from react-native is our ExpensifyText component, which is built on top of the react-native one.
cc @madmax330 since you reviewed the ESLint PR.
Fixed Issues

https://github.com/Expensify/App/issues/6585
Tests

Open the page for each component that was changed and ensured the text looks the same/normal.
QA Steps

Check each component to make sure the text looks normal. Here's how to get to each component.
CurrentWalletBalance and PaymentMethodList:

log into an account that has no payment methods added
tap the profile icon
Tap payments
Make sure the wallet balance (the big $ amount) and the rest of the text on the page look normal

ExpensiPicker:

log into any account
tap the profile icon
tap profile
make sure the text in the "preferred pronounces" dropdown looks normal

InlineCodeBlock and PressableWithSecondaryInteraction:

Send someone a message that includes a url (i.e. www.expensify.com)
Make sure the text looks normal
Make sure you're able to long-press the text and have the "copy link to clipboard" menu show up
Send someone a message that includes a code block by wrapping the text in "`" characters.
Make sure the text looks normal

MarkerBadge:

Navigate to a chat that has more messages in the history than what shows on the screen
Scroll to the top
From another window, send a message from the other account that is in that chat
Notice the "1 new message" indicator now showing in the original account
Make sure the text in that indicator looks normal

Tested On

[x] Web
[x] Mobile Web
[x] Desktop
[x] iOS
[x] Android

Screenshots

Web

CurrentWalletBalance and PaymentMethodList:

ExpensiPicker:

InlineCodeBlock and PressableWithSecondaryInteraction:

MarkerBadge:

Mobile Web

CurrentWalletBalance and PaymentMethodList:

ExpensiPicker:

InlineCodeBlock and PressableWithSecondaryInteraction:

MarkerBadge:

Desktop

CurrentWalletBalance and PaymentMethodList:

ExpensiPicker:

InlineCodeBlock and PressableWithSecondaryInteraction:

MarkerBadge:

iOS

CurrentWalletBalance and PaymentMethodList:

ExpensiPicker:

InlineCodeBlock and PressableWithSecondaryInteraction:

MarkerBadge:

Android

CurrentWalletBalance and PaymentMethodList:

ExpensiPicker:

InlineCodeBlock and PressableWithSecondaryInteraction:

MarkerBadge:

I updated the ESLint config so that it'll throw an error if anyone uses react-native Text. We can definitely update the documentation as well. I don't see any obvious place to do that though. Anywhere in particular you recommend?

@MonilBhavsar I removed the comment from src/components/ExpensifyText.js. Let me know if you're good with everything else!

I updated the ESLint config so that it'll throw an error if anyone uses react-native Text

That's great! Can you please link that PR.

I don't see any obvious place to do that though. Anywhere in particular you recommend?

I don't see anywhere in documentation where we list components we use. So, all good! I was looking if we can update STYLE.MD for any occurrences of Text, But I saw you already updated it here. Thanks! 😄

Yep, here you go: https://github.com/Expensify/eslint-config-expensify/pull/38

:hand: This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.

🚀 Deployed to staging by @MonilBhavsar in version: 1.1.20-3 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
failure ❌

🕸 web 🕸
success ✅

🚀 Deployed to production by @Julesssss in version: 1.1.21-1 🚀

platform
result

🤖 android 🤖
failure ❌

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅


Compatibility with Alamofire5 branch

What did you do?
My pod file contains this:
pod 'Alamofire', :git => 'https://github.com/Alamofire/Alamofire.git', :branch => 'alamofire5'
pod 'AlamofireImage', '~> 3.4'

What did you expect to happen?
I know Alamofire5 milestone is not closed, but I just want to know if is there some tricks to make AlamofireImage work in conjuction with Alamofire5 branch.
What happened instead?
I run pod install and got:
[!] CocoaPods could not find compatible versions for pod "Alamofire":
  In snapshot (Podfile.lock):
    Alamofire (from `https://github.com/Alamofire/Alamofire.git`, branch `alamofire5`)

  In Podfile:
    Alamofire (from `https://github.com/Alamofire/Alamofire.git`, branch `alamofire5`)

    AlamofireImage (~> 3.4) was resolved to 3.4.1, which depends on
      Alamofire (~> 4.7)

Alamofire Environment
Alamofire version: branch alamofire5
Xcode version: Version 10.1 (10B61)
Swift version: 9.0
Platform(s) running AlamofireImage: iOS
macOS version running Xcode: Version 10.14.1 (18B75)

AlamofireImage 4 is now in beta, and is compatible with Alamofire 5.


[BUG] Segmentation Fault during solver.solve in Python run

While running a simple Python script, the solver crashes with a segmentation fault. It happens using the teaserpp_example.py and teaser_python_ply.py too. At installation, all ctest passed successfully. Reinstalling from the develop branch did not solve the problem, and running the script with OMP_NUM_THREADS=12 (or even 1) still produces a segmentation fault at the solver.solve step.
The Python script is run with Python3 on Ubuntu 22.04.5 from a virtual environment with numpy==2.1.1, open3d==0.18.0, teaserpp_python==1.0.0. The machine has 24 cores and 135 GB RAM, so memory overload should not be the issue. An example of command that produces a segmentation fault is (run from the folder /TEASER-plusplus-develop/python/teaserpp_python/): OMP_NUM_THREADS="12" python3 ./teaserpp_example.py

I would appreciate it if you could give me an idea of what could go wrong and how to solve this issue.
Edit:
After further debugging, I found that in the example teaser_python_3dsmooth.py, the segmentation fault was triggered at the line 267: frag1.data = frag1_desc.T
The problem here might be writing to the o3d.pipelines.registration.Feature()? With Python3.10.12, it happens with open3d0.18.0, open3d0.17.0 and open3d0.16.0. I could not downgrade open3d further. Did someone find a solution for this?

I would suggest try cloning the data and write it to frag1.data


fix null type in result set will be cast to tinyint

run buildall

run buildall

run p0

run external

run p0


Display error number/cause/description when rendering red screen/widget

If the framework encounters an error, it renders solid red. It might help us, and our developers, if we also displayed some hints as to what the error was.
The request is to display some sort of error number (which we can look up in the code), or if we have more space, display the cause of the error, on top of the red.
Then, users can report this error number or error message in bug reports.
Thanks!

cc @Hixie


Adds documentation about the --ignore-override option

For PR https://github.com/docker/compose/pull/4543
When option --ignore-override is provided the docker-compose.override.yml
file, if it exists, will not be considered for any command. This option
has no effect when the -f option is used as that explicitly lists the
set of files to be considered.
Signed-off-by: Dennis Gove<EMAIL_ADDRESS>
Proposed changes

Unreleased project version (optional)

Related issues (optional)

Thanks! I just want to be totally upfront here, the PR this documentation change is for has not yet been accepted - https://github.com/docker/compose/pull/4543.

Ugh. OK, keep me posted. We can revert the commit if necessary.

So far there haven't been any additional comments from accepters in https://github.com/docker/compose/pull/4543

@shin- any update on this?

As I pointed out in https://github.com/docker/compose/pull/4543#issuecomment-283456247, this feature already exists. The argument for it ("There's a way to do this already, but it's too verbose so let's add another flag that does exactly the same thing for an equivalent amount of verbosity") seems tenuous at best. I'd recommend reverting this as it's unlikely this will make it into the project.

Thank you @shin-.
@mstanleyjones, please revert this commit. I'm very sorry for the inconvenience.


Change language without modifying AppDelegate.m

Ask your Question

Hi,
first off all, awesome library! Thanks for that.
Is there a possibility to change the language without modify the AppDelegate.m file? Because I'm using Expo and, as far as I know, there is no possibility to change the AppDelegate.m?
Any help would be appreciated!
Cheers,
Janik

👋 @JaWoGit , unfortunately this component just uses the original React-Native DatePicker under the hood, so you might wanna ask this question on StackOverflow or in the Expo forums since we're not in control of the native iOS component... and I'm not aware of any way to do without playing with the AppDelegate.m 🤔


Fix build issue for node v0.10 to address issue #123

@mranney Can you please confirm if the latest socketwatcher from my repo and this change work for you?
I tested with node v0.10.36, v0.11.13 and iojs v1.1.0.
Let me know if you still experience issues.

This has fixed the build on my machines, thanks.


Pre-commit hooks

Proposed Changes

Added Pre-commit to the project
Added yamllint, ansible-lint, shellcheck and requirements.txt sorter
Updated the PULL_REQUEST_TEMPLATE to ask about pre-commit
Updated GitHub Actions lint job to run pre-commit

I would've removed the GitHub Action lint job altogether in favor of pre-commit.ci but there is a bug there where ansible galaxy fails to install the requirements.yml here
I did not run all the checks because these are minor changes that do not affect the current k3s setup and I'm on my laptop in at the university now. If someone wants to volunteer and try to run the site.yml and reset.yml would be cool. The molecule tests are passing on my fork.
Checklist

[ ] Tested locally
[ ] Ran site.yml playbook
[ ] Ran reset.yml playbook
[x] Did not add any unnecessary changes
[x] 🚀

should solve this issue


dd.from_delayed forwards divisions kwarg

Fixes regression where dd.from_delayed wouldn't forward divisions
kwarg. Also moved tests to io, to match where the implementation of
from_delayed is. Fixes #1897.

Thanks for handling this @jcrist


alephone-infinity: 20190331 -> 20200904

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/marathon-infinity/versions.
meta.description for alephone-infinity is: "Third chapter of the Marathon trilogy"
meta.homepage for alephone-infinity is: "https://alephone.lhowon.org/games/infinity.html"
meta.changelog for alephone-infinity is: ""
Updates performed

Version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS

The tests defined in passthru.tests, if any, passed

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 20200904 with grep in /nix/store/33gqhy1chzgrdafi2flsv5k369a9yvkx-marathon-infinity-20200904

directory tree listing: https://gist.github.com/5833350bbc5d18477f498f11a5a7dd62

du listing: https://gist.github.com/42bdd79907f4f8f78753a6612818a7b5

Rebuild report (if merged into master) (click to expand)

1187 total rebuild path(s)

395 package rebuild(s)

283 x86_64-linux rebuild(s)
240 i686-linux rebuild(s)
277 x86_64-darwin rebuild(s)
387 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
amsn
apache-airflow
azure-cli
cassandra
cassandra_3_11
compcert
cq-editor
csvs-to-sqlite
flexget
knot-resolver
kubectl
kubernetes
mlflow-server
python37Packages.Quandl
python37Packages.WSME
python37Packages.acoustics
python37Packages.alerta
python37Packages.altair
python37Packages.aniso8601
python37Packages.apache-airflow
python37Packages.aplpy
python37Packages.apptools
python37Packages.arviz
python37Packages.atomman
python37Packages.awkward
python37Packages.azure-batch
python37Packages.azure-mgmt-network
python37Packages.batchgenerators
python37Packages.bkcharts
python37Packages.caffe
python37Packages.cirq
python37Packages.clifford
python37Packages.cnvkit
python37Packages.cocotb
python37Packages.colorcet
python37Packages.csvs-to-sqlite
python37Packages.cufflinks
python37Packages.dask
python37Packages.dask-gateway
python37Packages.dask-glm
python37Packages.dask-image
python37Packages.dask-jobqueue
python37Packages.dask-ml
python37Packages.dask-mpi
python37Packages.dask-xgboost
python37Packages.datasets
python37Packages.datashader
python37Packages.dependency-injector
python37Packages.dftfit
python37Packages.distributed

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/33gqhy1chzgrdafi2flsv5k369a9yvkx-marathon-infinity-20200904 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A alephone-infinity https://github.com/r-ryantm/nixpkgs/archive/10386d1d757272e79730b71167ff9d1dc2c6cf70.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/33gqhy1chzgrdafi2flsv5k369a9yvkx-marathon-infinity-20200904
ls -la /nix/store/33gqhy1chzgrdafi2flsv5k369a9yvkx-marathon-infinity-20200904/bin

Pre-merge build results
NixPkgs review skipped

Maintainer pings
cc @ehmry for testing.

Staging?

Staging?

Hmmph. Seems like sometimes r-ryantm gets the # of rebuilds wrong.


incorrect handling of the @container at-rule

The (first) selector inside the at-rule together with the opening {  of the rule-block and the first property-value pair is removed. (treated as an invalid property name).
input:
@container item (min-width: 400px) {
  .item_inner {
    display: flex;
    flex-direction: row;
    align-items: center;
  }
}

output:
@container item (min-width: 400px){flex-direction:row;align-items:center}

.item_inner { display: flex;  is removed, treated as an invalid peoperty name
Testedon macOS 12 with clean-css-cli 5.6.1  and reproduced  on the clean-css website.

BTW - the new @layer at-rule suffers from the same issue.
Basic example(s) on the MDN page.

Both are fixed in clean-css-cli 5.6.2.


[npm] Missing PR description

Is there an existing issue for this?

[X] I have searched the existing issues

Package ecosystem
npm
Package manager version
bun (versioning-strategy: 'increase')
Language version
not specified
Manifest location and content before the Dependabot update
https://github.com/Araxeus/vendorfiles/blob/e297a22ece7ac2608c5e5ab2a0f742a3f5244643/package.json
dependabot.yml content
https://github.com/Araxeus/vendorfiles/blob/e297a22ece7ac2608c5e5ab2a0f742a3f5244643/.github/dependabot.yml
Updated dependency
   "devDependencies": {
     "@biomejs/biome": "^1.8.3",
     "@types/make-fetch-happen": "^10.0.4",
-    "@types/node": "^22.1.0",
+    "@types/node": "^22.2.0",
     "@types/parse-json": "^4.0.2",
     "cpy-cli": "^5.0.0",
     "del-cli": "^5.1.0",
-    "type-fest": "^4.23.0",
+    "type-fest": "^4.24.0",
     "typescript": "^5.5.4"
   },

What you expected to see, versus what you actually saw
expected: a description + changelog in the PR description
got:

Images of the diff or a link to the PR, issue, or logs
Here is the PR discussed in this issue: https://github.com/Araxeus/vendorfiles/pull/86
here is the workflow that triggered this PR: https://github.com/Araxeus/vendorfiles/actions/runs/10358579887/job/28673109563
Smallest manifest that reproduces the issue
I don't even know how this happened - last week it worked fine, see https://github.com/Araxeus/vendorfiles/pull/85

There seems to be a bug with your tagging action - it added a L:go:modules tag to this issue after I edited the issue and wrote the wrote got


site.url is missing in the generated search index

The search functionality stopped working for me since 0.7.1. It looks like the site.url which I set in the antora-playbook.yml isn't passed to the search module. Here is my test: Antora Demo Site. I built the site with DOCSEARCH_ENABLED=true DOCSEARCH_ENGINE=lunr DOCSEARCH_INDEX_VERSION=latest NODE_PATH="$(npm -g root)" antora --generator antora-site-generator-lunr antora-playbook.yml. When I search for a word and click on one of the variants it gives me a URL like this: file:///component-b/2.0/module-one/overview.html -- i.e. without the site.url part which I set in the playbook to file:///Users/pavela/tmp/docs-site/build/site.
I'm running the latest versions of everything:
npm ls -g --depth 0
/Users/pavela/.nvm/versions/node/v12.17.0/lib
├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>└──<EMAIL_ADDRESS>Last time it worked properly was about a month ago (I didn't test since then). My suspicion is that it might be caused by this commit: https://github.com/Mogztter/antora-lunr/commit/364a957b5abd8892841a08bda7aca8b376d2560e
Appreciate your help.

Please read https://github.com/Mogztter/antora-lunr/pull/59 and https://github.com/Mogztter/antora-lunr/releases/tag/v0.7.0
tl;dr; you need to update the UI.

That helped! Thank you, Guillaume!

Awesome! :+1:

Hi Guillaume, just an idea to think about: it would be very helpful to be able to preserve customization I did in the supplemental_ui. In my case, I've added a logo instead of the title and removed the "Services" menu. But when I updated it, my changes were gone. Maybe I should've looked at the diff first and added only the changes instead of blindly updating the whole supplemental_ui. Or maybe there is a better way. Thanks!

Hi Pavel, as far as I know this is currently the "best workaround". Alternatively, we could describe each changes to be done in the README but that would be tedious.
Another idea, would be to provide git diff/patchs but again not ideal if the patch produces conflicts.
I believe that the next major release of Antora will introduce an extension mechanism and maybe a better way to extend the base UI.


Let's add underlining of the unused aliases

For example, if I don't use list and have +alias org.eolang.collections.list it would be great to make it underlined.
@yegor256 @yasamprom

@potatmen I think it's only possible if we start analyzing the AST. Now we don't do this. @yasamprom please, try to implement this


impl Copy for simple config enums

Change Summary
Quick cleanup inspired by reviewing #1307
Related issue number
N/A
Checklist

[ ] Unit tests for the changes exist
[ ] Documentation reflects the changes where applicable
[ ] Pydantic tests pass with this pydantic-core (except for expected changes)
[ ] My PR is ready to review, please add a comment including the phrase "please review" to assign reviewers

Will just merge as trivial.


Experimental Component - Content Switcher - Design

Design
Create final design specifications that are ready for production. Functionality and variations should match as is Carbon components.

[ ] confirm Security design matches duo intent
[ ] confirm Sketch file sizing/spacing specs
[ ] screen grab sizing guidance and add to GitHub issue

Sketch File: https://ibm.box.com/s/osmvf7zqm6c3vxmv5euhqqmwvbf46fsx

Omitted radius rounded edges of component.
Changed focus border to inside instead of center (I think it was a mistake in duo file)
Made specs for Icon variation for future release.

Ready for dev ✅ @IBM/carbon-developers
Dev issue: #1294