Android Demo build error

The error I saw is as follows, don't quit know how this permission error occurs
ERROR: /home/toxido/.cache/bazel/_bazel_root/e7444205eb7a78f2fb0f6da55e24d78b/external/androidsdk/BUILD:5:1: Executing genrule @androidsdk//:aapt_runner failed: linux-sandbox failed: error executing command /home/toxido/.cache/bazel/_bazel_root/e7444205eb7a78f2fb0f6da55e24d78b/execroot/tensorflow/_bin/linux-sandbox ... (remaining 5 argument(s) skipped).
src/main/tools/linux-sandbox-pid1.cc:233: "mount(/, /home/toxido/.cache/bazel/_bazel_root/e7444205eb7a78f2fb0f6da55e24d78b/bazel-sandbox/28d014be-3643-4295-b588-2ed7789511a4-1/tmp, NULL, MS_BIND | MS_REC, NULL)": Permission denied
Target //tensorflow/examples/android:tensorflow_demo failed to build
Use --verbose_failures to see the command lines of failed build steps.

@ToxidoLiu Please fill out the following information, which was the default template when you clicked on the green "New issue" button.  Also include the exact command-line that you ran, that causes the error.

What related GitHub issues or StackOverflow threads have you found by searching the web for your problem?
Environment info
Operating System:
Installed version of CUDA and cuDNN:
(please attach the output of ls -l /path/to/cuda/lib/libcud*):
If installed from binary pip package, provide:

A link to the pip package you installed:
The output from python -c "import tensorflow; print(tensorflow.__version__)".

If installed from source, provide

The commit hash (git rev-parse HEAD)
The output of bazel version

If possible, provide a minimal reproducible example (We usually don't have time to read hundreds of lines of your code)
What other attempted solutions have you tried?
Logs or other output that would be helpful
(If logs are large, please upload as attachment or provide link).

@tatatodd
OS & Environment : Ubuntu 16.04 LTS , Android Studio v2.2
tensorflow version : 0.8.0
bazel version: 0.3.2
Android SDK version: 24.0.3
NDK version: 13.0.3315539
The above error occured when I tried to do
'$ bazel build //tensorflow/examples/android:tensorflow_demo'
as instructed here:
https://github.com/tensorflow/tensorflow/tree/master/tensorflow/examples/android
Thanks!

@ToxidoLiu Please try the latest version of TensorFlow 0.11, since 0.8 is quite old at this point:
https://www.tensorflow.org/versions/r0.11/get_started/os_setup.html#download-and-setup

@toxidoliu Have you checked that relevant binaries all have the execute bit set? If you're still having issues after you upgrade TF can you paste the error log running with --verbose_failures?

Closing automatically due to lack of recent activity. Please reopen when further information becomes available. Thank you.


Crew and journey drop buffs timer/count down once synced on home page.

Along with the other timers would be nice.

Also, I'm wondering if I could send people your way from reddit and such. I've been working on some userscripts and I may post it soon, want to give you a shout-out.

Would be waiting on #32.

Also, I'm wondering if I could send people your way from reddit and such.

It's not my intent to advertise at this point but I don't mind if somebody wants to mention it, sure.


Investigate possible memory leaks

==13994== 6,000,000 bytes in 2,000 blocks are possibly lost in loss record 30,668 of 30,668
==13994==    at 0x4C3017F: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==13994==    by 0x51E7D206: _wrap_new_Hawkes__SWIG_0 (hawkes_simulation_module_wrap.cpp:11004)
==13994==    by 0x51E7DBC0: _wrap_new_Hawkes (hawkes_simulation_module_wrap.cpp:11105)

==9663== 4,241,888 (448 direct, 4,241,440 indirect) bytes in 28 blocks are definitely lost in loss record 16,055 of 16,055
==9663==    at 0x4C3017F: operator new(unsigned long) (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==9663==    by 0x4B6BFCFE: _p_std__shared_ptrT_ModelSCCS_tTo_p_std__shared_ptrT_TModelT_double_double_t_t (survival_module_wrap.cpp:11025)                                                                                |==9663==    by 0x4DC1A96F: SWIG_TypeCast (solver_module_wrap.cpp:501)
==9663==    by 0x4DC1D03B: SWIG_Python_ConvertPtrAndOwn (solver_module_wrap.cpp:2104)
==9663==    by 0x4DCE9C79: _wrap_StoSolverDouble_set_model (solver_module_wrap.cpp:47944)

it seems that https://github.com/X-DataInitiative/tick/blob/master/tick/base/base.py#L492
is interfering with SWIG destruction

while that was looking promising in a small test case, the issue may lie with SWIG
https://github.com/swig/swig/issues/1549

solved by https://github.com/X-DataInitiative/tick/pull/367


[WIP]Remove streaming-flume, streaming-mqtt, streaming-zeromq, streaming-akka, streaming-twitter to Spark packages

What changes were proposed in this pull request?
Just test if can pass Jenkins tests
How was this patch tested?
Jenkins tests

Test build #52978 has started for PR 11672 at commit a02d1e5.

Test build #52978 has finished for PR 11672 at commit a02d1e5.

This patch fails executing the dev/run-tests script.
This patch merges cleanly.
This patch adds no public classes.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/52978/
Test FAILed.

Merged build finished. Test FAILed.

Test build #52989 has started for PR 11672 at commit d6bd942.

Test build #52989 has finished for PR 11672 at commit d6bd942.

This patch fails to build.
This patch merges cleanly.
This patch adds no public classes.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/52989/
Test FAILed.

Merged build finished. Test FAILed.

Test build #52990 has started for PR 11672 at commit 29eeba1.

Test build #52990 has finished for PR 11672 at commit 29eeba1.

This patch fails PySpark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/52990/
Test FAILed.

Merged build finished. Test FAILed.

FWIW I think that's a grand idea. These are fairly ancillary packages and probably the overhead of maintaining them, running tests, patching failures doesn't justify keeping them in the core project. There might even be more packages for which this is true.

Test build #53010 has started for PR 11672 at commit 563614f.

Test build #53010 has finished for PR 11672 at commit 563614f.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/53010/
Test PASSed.

I would also like to see the Kafka modules removed in a similar way. We have had trouble balancing Spark's compatibility requirements and Kafka's every breaking client APIs. By having this clean separation, it makes it easier for user applications to just declare which Kafka client version they want to use.

retest this please

Test build #53017 has started for PR 11672 at commit 563614f.

Test build #53017 has finished for PR 11672 at commit 563614f.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/53017/
Test PASSed.

retest this please

cc @rxin @tdas @JoshRosen

@ksakellis Most of Streaming users use Kafka. It may affect a lot of people. I think it's better to discuss how to support Kafka 0.9 (SPARK-13252) before deciding whether moving Kafka out.

Test build #53023 has started for PR 11672 at commit 563614f.

Test build #53023 has finished for PR 11672 at commit 563614f.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/53023/
Test FAILed.

retest this please

Test build #53043 has started for PR 11672 at commit 563614f.

Test build #53043 has finished for PR 11672 at commit 563614f.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/53043/
Test PASSed.

Merged build finished. Test PASSed.

I agree with @ksakellis on this one. It would be great if we can pull Kafka out as well. I understand that there are a lot of users who might find it difficult, but if you think about it, most people use the plugins via mvn anyway (since we don't actually package them in our assembly). I am not sure what the policy is if we pull it into a different repo and if we can keep the same groupId and artifactId, but that could be an alternative and most likely will not break too many users.

Test build #53047 has started for PR 11672 at commit 97fcb46.

Test build #53047 has finished for PR 11672 at commit 97fcb46.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/53047/
Test PASSed.

Merged build finished. Test PASSed.

Test build #53078 has started for PR 11672 at commit 01dadc5.

Test build #53078 has finished for PR 11672 at commit 01dadc5.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/53078/
Test PASSed.

Merged build finished. Test PASSed.

Merge conflict is probably my fault (I modified a file that this PR deleted).

Test build #53095 has started for PR 11672 at commit 806dba8.

Test build #53095 has finished for PR 11672 at commit 806dba8.

This patch passes all tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
public class ShuffleServiceHeartbeat extends BlockTransferMessage

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/53095/
Test PASSed.

Merged build finished. Test PASSed.

@JoshRosen could you take a look at this PR?

Hi @zsxwing, I think the discussion on supporting Kafka 0.9 should happen if we decide to keep Kafka in Spark itself.
At this point, I think the piece that benefits the most out of moving out of Spark is the kafka integration - since that is the one where more of the API compatibility issues are.
I really think we should discuss moving Kafka out and come to an agreement on that as well.

Can we have a JIRA ticket to discuss that? I am not sure this github pr is the place to discuss moving kafka out.

Thanks @rxin. Opened SPARK-11806 to discuss this

OK apparently the recent mima failures on the master branch is caused by the mqtt dependency not being in maven. We can either fix that with some build hack, or just merge this pr.
Since these are the least contentious choices, I'm going to merge this pull request. We should discuss kafka/kinesis separately.

Merging in master.

FYI this has been merged but GitHub mirror is lagging; see https://git-wip-us.apache.org/repos/asf?p=spark.git. Until the GitHub merge goes through, I think that PR builds are going to continue to fail since the merge commits that we test are automatically generated by GitHub.

This didn't cut the relevant doc/streaming-*.md files BTW

This didn't cut the relevant doc/streaming-*.md files BTW

Thanks for reminding. I will submit a PR to remove them after I copy all of them to the new projects.


Question: How do I maximize WriteAsync()'s throughput?

My application occasionally needs to write a lot of data over BLE (e.g. firmware updates). I've been doing that by just sending 20B in a loop, "await"ing every WriteAsync(), like this:
while (size > 20) //divide msg into chunks of max MTU
{
	Array.Copy(msg, msg.Length - size, chunk, 0, 20);
	await writeBuf.WriteAsync(chunk);
	size -= 20;
}

but I only get ~200B/s with this approach.
Reads are an order of magnitude faster, so I know there isn't a limitation in either of the devices' stacks. Is there some way to use the API that I'm not aware of?
Configuration
Version: 1.1.0
Platform: Android 6.0
Device: Samsung Galaxy S7, prototype peripheral with a Nordic chip that I'm also programming

On Android the implementation of writeAsync writes the data and waits for the gatt callback method (onCharacteristicWrite) to be called indicating the result of the operation.
The characteristic write type does influence the transfer speeds. I.e. Best case is for  WriteWithoutResponse.
This is a great question. I had to deal with a similar issue in a previous project for exactly the same use case: firmware update. The best we got was similar to your results (unfortunately limited by the peripheral implementation where we had to wait for a notification after each package was written).
I still want to find some time to implement a ble "server" package and then extend the sample app to act as a peripherial and try to optimize and fine tune large data transfers.

Ah. I used a BLE sniffer, and indeed, I wasn't using WriteWithoutResponse, even though the peripheral supports it. For anyone else looking at this, after the characteristic has been gotten, use
myCharacteristic.WriteType = Plugin.BLE.Abstractions.CharacteristicWriteType.WithoutResponse;
For my device, throughput is now ~2kB/s


[ffmpeg] Warn/fail when selecting unsupported features.

Fixes #17136 #17139

Wow... what's wrong here?

Wow... what's wrong here?

Not sure what happened with x64_windows as that seems to have a whole pile of errors in ports not even touched by this PR. My only conclusion is that it must be something going funky on the CI. Hopefully if it just gets forced to re-run that might fix it.

It's okay now.

Is is not possible to set the supports field of a feature instead?

Ping @strega-nil for review and merge this PR.

Tagging with requires:discussion to ask whether having features that silently disable themselves when inapplicable is ok

Tagging with requires:discussion to ask whether having features that silently disable themselves when inapplicable is ok

I misread this and have feedback will be posted shortly.

vcpkg install a-port-wanting-fdk-aac:arm-windows ffmpeg[all]:arm-windows
succeeds "for some reason".

Ive updated this so that now all-gpl/all-nonfree are checked so that things like fdk will now fatal error in the "all" case. In the "all-nonfree" case it will emit a warning but it removes fdk from the feature list. Im not sure how else to signal to vcpkg that fdk is not in the feature list and that "a-port-wanting-fdk-aac" should fail.

There is a "feature ask" for the vcpkg tool itself to be able to mark features with supports expressions and warn users early if they picked something that won't work of course, which would be a good add to make that big "all" feature definition easier.

This would definitely be the better solution. And I see this PR being a stop gap until something like that is implemented.
In the meantime I can revert to having the feature checks back in the CONTROL file under "all" etc. and then have the standalone error checking in the portfile. I was just trying to avoid duplication and the potential for the 2 files to get out of sync. Let me know which is preferred.

Can you please resolve the file conflicts?
Thanks.

Waiting for https://github.com/microsoft/vcpkg/pull/18116 merge.

@strega-nil @strega-nil-ms can you please review again?
Thanks.

This seems like a good improvement to me, thanks for the PR!


List Paramters update dynamicly

I have a question, I would like  to update list items [{key: value}} based on some other information on site.
IS there some way to do this?

How about pane.addBinding(items[0], 'key')?


[rancher-cli] rancher login --skip-verify leads to FATA[0000] CACerts is not valid

What kind of request is this (question/bug/enhancement/feature request):
bug
Steps to reproduce (least amount of steps as possible):
# $ rancher login -h
Login to a Rancher server

Usage:
  rancher login [OPTIONS] [SERVERURL]

Options:
   --context value          Set the context during login
   --token value, -t value  Token from the Rancher UI
   --cacert value           Location of the CACerts to use
   --name value             Name of the Server
   --skip-verify            Skip verification of the CACerts presented by the Server

# rancher  login --skip-verify --token token-xxx:xxxx https://kubernetes.example.org:8443/v3

Result:
FATA[0000] CACerts is not valid

Tried to download the certs and store them in a file, not better (or does the file need to be json?) :
# rancher  login ---cacert ~/.rancher/cacerts -skip-verify --token token-xxx:xxxx https://kubernetes.example.org:8443/v3
FATA[0000] No cert was found

Other details that may be helpful:
Environment information
$ rancher --version
rancher version v2.2.0-rc5

The error message is from validation for the CA attribute of cacerts.
According to the manual,

A CA certificate must include the basicConstraints value with the CA field set to TRUE. An end user certificate must either set CA to FALSE or exclude the extension entirely. Some software may require the inclusion of basicConstraints with CA set to FALSE for end entity certificates.

Can you check if your CA certificate includes the basicConstraints extension with the CA field set?

I have the same Issue, my certificate extensions are like this :
X509v3 extensions:
X509v3 Basic Constraints:
CA:FALSE
X509v3 Key Usage:
Digital Signature, Non Repudiation, Key Encipherment, Data Encipherment

I'm also getting this with a rke + helm install of rancher
rancher login
FATA[0000] No cert was found

https://github.com/rancher/rancher/issues/25827

We also get the error Certificate chain is not complete in cattle-cluster-agent
NAMESPACE       NAME                      READY   UP-TO-DATE   AVAILABLE   AGE
cattle-system   cattle-cluster-agent      0/1     1            0           7m56s
cattle-system   rancher                   1/1     1            1           11m
cert-manager    cert-manager              1/1     1            1           12m
cert-manager    cert-manager-cainjector   1/1     1            1           12m
cert-manager    cert-manager-webhook      1/1     1            1           12m
ingress-nginx   default-http-backend      1/1     1            1           12m
kube-system     coredns                   1/1     1            1           12m
kube-system     coredns-autoscaler        1/1     1            1           12m
kube-system     metrics-server            1/1     1            1           12m

time="2020-05-20T04:47:44Z" level=info msg="Subject: CN=Fake LE Intermediate X1"
time="2020-05-20T04:47:44Z" level=info msg="Issuer: CN=Fake LE Root X1"
time="2020-05-20T04:47:44Z" level=info msg="IsCA: true"
time="2020-05-20T04:47:44Z" level=info msg="DNS Names: <none>"
time="2020-05-20T04:47:44Z" level=info msg="IPAddresses: <none>"
time="2020-05-20T04:47:44Z" level=info msg="NotBefore: 2016-05-23 22:07:59 +0000 UTC"
time="2020-05-20T04:47:44Z" level=info msg="NotAfter: 2036-05-23 22:07:59 +0000 UTC"
time="2020-05-20T04:47:44Z" level=info msg="SignatureAlgorithm: SHA256-RSA"
time="2020-05-20T04:47:44Z" level=info msg="PublicKeyAlgorithm: RSA"
time="2020-05-20T04:47:44Z" level=fatal msg="Certificate chain is not complete, please check if all needed intermediate certificates are included in the server certificate (in the correct order) and if the cacerts setting in Rancher either contains the correct CA certificate (in the case of using self signed certificates) or is empty (in the case of using a certificate signed by a recognized CA). Certificate information is displayed above. error: Get https://dream.n7sa.com: x509: certificate signed by unknown authority"

time="2020-05-20T04:47:44Z" level=fatal msg="Certificate chain is not complete, please check if all needed intermediate certificates are included in the server certificate (in the correct order) and if the cacerts setting in Rancher either contains the correct CA certificate (in the case of using self signed certificates) or is empty (in the case of using a certificate signed by a recognized CA). Certificate information is displayed above. error: Get https://dream.n7sa.com: x509: certificate signed by unknown authority"

I also get this error when I run
rancher login https://my.local.demo.cluster/v3 --name demo --token token-d9xp4:2gbfc87... --skip-verify

The SSL certificate is a letsencrypt staging certificate from Fake LE Intermediate X1.

rancher --version
rancher version v2.4.5
curl -vvv -k https://rancher.******.net/
*   Trying <IP_ADDRESS>:443...
* TCP_NODELAY set
* Connected to rancher.********.net (***.***.***.***) port 443 (#0)
* ALPN, offering h2
* ALPN, offering http/1.1
* successfully set certificate verify locations:
*   CAfile: /etc/ssl/certs/ca-certificates.crt
  CApath: /etc/ssl/certs
* TLSv1.3 (OUT), TLS handshake, Client hello (1):
* TLSv1.3 (IN), TLS handshake, Server hello (2):
* TLSv1.2 (IN), TLS handshake, Certificate (11):
* TLSv1.2 (IN), TLS handshake, Server key exchange (12):
* TLSv1.2 (IN), TLS handshake, Server finished (14):
* TLSv1.2 (OUT), TLS handshake, Client key exchange (16):
* TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1):
* TLSv1.2 (OUT), TLS handshake, Finished (20):
* TLSv1.2 (IN), TLS handshake, Finished (20):
* SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
* ALPN, server accepted to use h2
* Server certificate:
*  subject: CN=*.***********.net
*  start date: Mar 29 10:54:36 2021 GMT
*  expire date: Jun 27 10:54:36 2021 GMT
*  issuer: C=US; O=Let's Encrypt; CN=R3
*  SSL certificate verify result: certificate has expired (10), continuing anyway.
* Using HTTP2, server supports multi-use

rancher login https://rancher.*****.net/v3 --skip-verify --token token-cn6rn:********* --context c-8s27q:p-dzzsx
FATA[0000] Get https://rancher.*****.net/v3: x509: certificate has expired or is not yet valid

Although this was "closed" in 2021, this issue still exists in July 2023, encountered while trying to work through the Rancher Academy Intro to Rancher video tutorial. My error message is slightly different, but still is not skipping verification when --skip-verify is provided:
rancher login --token token-6z4h4:cn5x8gpfbjpv7m7vsglprqv5wnrshcv7jwd7k5gwpngkvs748qm54d --skip-verify https://rapture.<IP_ADDRESS>.sslip.io
FATA[0000] Get "https://rapture.<IP_ADDRESS>.sslip.io/v3": x509: certificate signed by unknown authority (possibly because of "x509: ECDSA verification failure" while trying to verify candidate authority certificate "dynamiclistener-ca@1690659182")


Merge staging to master

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.6 out of 7 committers have signed the CLA.:white_check_mark: algojack:white_check_mark: barnjamin:white_check_mark: onetechnical:white_check_mark: egieseke:white_check_mark: algolucky:white_check_mark: nullun:x: stefanofaYou have signed the CLA already but the status is still pending? Let us recheck it.

hey @stefanofa would you please sign the CLA?


Cache file can get stale

I ran Ghcide over HLint. It seemingly cached compiled .hi objects at C:\Users\ndmit_000\AppData\Local\ghcide. I then upgraded ghc-lib-parser-ex using cabal and after rerunning Ghcide got warnings about HsExtendedInstances not unifying with HsExtendedInstances, talking about the old version of ghc-lib-parser-ex vs the new version. (I copied the wrong error message, so lost the actual error!)
Should the .hi file cache be depending on the GHC package database? Or the hashes of the packages it pulls in? Having a stale disk cache runs the risk of becoming a support nightmare as people will get stuck and not know how to recover.

CC @pepeiborra

GHC already knows how to deal with this, so we must be doing something wrong or not performing the requisite staleness checks.

I thought the .hi rule just did is the modification time of the .hi file newer than the .hs or not? I don't see any other safety checking. A timestamp dependency on all the package db's in scope should be sufficient (but might over-invalidate).

ghcide delegates the safety checking to checkOldIface, which I believe invokes the glorious  recompilation checking in GHC.
https://github.com/digital-asset/ghcide/blob/0c9a0961abbeef851b4117e6408f15a6d46eb1f1/src/Development/IDE/Core/Compile.hs#L571

I thought the .hi rule just did is the modification time of the .hi file newer than the .hs or not? I don't see any other safety checking. A timestamp dependency on all the package db's in scope should be sufficient (but might over-invalidate).

Specially if the package database is not sandboxed :see_no_evil:

As per the recompilation checking notes, the interface file already tracks the package dependencies:
An interface file contains:

Various fingerprints:

The interface hash, which depends on the entire contents of the
interface file.  This is used to detect whether we should
update the interface on disk after recompiling the module.  If the
interface didn't change at all, then we don't want to touch the
on-disk version because that would cause make to perform more
compilations.

The ABI hash, which depends on everything that the module
exposes about its implementation: think of this as a hash of
export-list hash and decls.

The export-list hash, which depends on

The export list itself.  The export-list hash only depends on the names of the exports for the modules. The types of these exports are ignored in calculating the hash. Only a change of name or removal or addition of an export will change the hash. Not a type change of definition change.
the orphan hash, which depends on all the orphan instances/rules in the, and the orphan hashes of all orphan modules below this module in the dependency tree (see Orphans).
the package dependencies (see Package Version Changes).

So we must calling checkOldIface wrongly.

This maybe was fixed by #645, @ndmitchell have you hit it after that pr?

Haven't hit it, but then upgrading a package database underneath an open session isn't a common thing to do anyway. Let's optimistically say its closed and I can always reopen if it gets hit in future.


build: make pom more CI friendly by using Maven revision property

Description

This pull request makes the maven build more CI friendly and eases the effort when upgrading the BPDM app version.

include revision property in parent pom
child modules now refer to parent pom version by revision property
also clean pom dependencies

for more info visit https://maven.apache.org/maven-ci-friendly.html

Pre-review checks
Please ensure to do as many of the following checks as possible, before asking for committer review:

[x] DEPENDENCIES are up-to-date. Dash license tool. Committers can open IP issues for restricted libs.
[x] Copyright and license header are present on all affected files

Waiting for resolution of dependency licenses:
https://gitlab.eclipse.org/eclipsefdn/emo-team/iplab/-/issues/15239
https://gitlab.eclipse.org/eclipsefdn/emo-team/iplab/-/issues/15201

Issues Resolved


Ability to use an API with device without extending its own API

Is your feature request related to a problem? Please describe.
Recently a generic module appeared (onoff service) which fits into clock management (for limited devices) where multiple sources (clients) want to control state of the clock (service). However, currently there is no way to use that API on clock device without extending clock control API and community is reluctant to extend API's like that and expect to get mechanism which will allow to use device with external API.
Another, similar case appeared in SPI and I2C where new extension to the API which adds transaction support is discarded  (#22371) because "transaction manager should become a generic module". Yet still there is no mechanism to use it with a device.
Describe the solution you'd like
I would like to see an API which will allow user to use another API (but supported by given device) as it cannot be used directly:
struct device *dev = get_device_binding(DEV_NAME);
struct onoff_client cli;

err = onoff_request(???, cli);

Something like:
struct device *dev = get_device_binding(DEV_NAME);
struct onoff_client cli;
struct onoff_service *srv = device_get_onoff_service(dev); /* Missing part */
if (srv == NULL) {
    //onoff service not supported by the device
    return;
}
err = onoff_request(srv, cli);

Solution should:

take into consideration that multiple API's can be supported by a device
perfomance
memory constraints

To be checked it device specific API extensions (https://docs.zephyrproject.org/latest/reference/drivers/index.html#device-specific-api-extensions) could be used.
Alternative proposal #22409.

Here is an example: clock_control driver which support onoff service. In order to use onoff service a reference to that service associated with given device needs to be fetched from the driver data:
https://github.com/nordic-krch/zephyr/blob/1acf5c77f9e996f91725f1f3ad7b64ad49273e70/drivers/timer/nrf_rtc_timer.c#L93
shortened version:
   struct onoff_service *srv;
   struct device *clock;

   clock = device_get_binding(DT_INST_0_NORDIC_NRF_CLOCK_LABEL);
   srv = z_nrf_clock_control_get_onoff(CLOCK_CONTROL_NRF_SUBSYS_LF);

   err = onoff_request(srv, &cli);

In that case custom api is used to fetch that data: z_nrf_clock_control_get_onoff() and it's ok here because it's nordic specific code but ideally there should be a method to get that service from device in a generic way.

I think that example makes some assumptions that were not the assumptions under which the on-off service was designed.  The expectation was that the existing or reworked clock control API would provide a wrapper function like clock_control_on() that would invoke the on-off service underneath.
Similarly for power management, which should be done through the device_pm_* interface even if an on-off service provides the underlying implementation.
The on-off service is not intended for direct use by users to perform state changes on core infrastructure.  It does not incorporate syscall support and so probably can't be used from usermode.  It is, in fact, not a driver API: it's a generic data structure analogous to a C++ class (state plus behavior) with simulated virtual functions (the service-specific transitions).

well, i'm lost. I got the impression from @tbursztyka comment (https://github.com/zephyrproject-rtos/zephyr/pull/22371#issuecomment-580739301) that he does not go into direction where specific api's are extended and if i understand you correctly you expected to see clock_control_request which wraps on-off functionality. I thought that in case of clock control we stick to current (low level) api with asynchronous/blocking on and off functions. For many cases where there is only one clock owner that is enough, for cases where clock is shared, clock is accessed by on-off api. in the implementation i started, mixing onoff with direct acceess returns error.

@jukkar would you mind linking to the way the networking stack does this already?

here is no way to use that API on clock device without extending clock control API and community is reluctant to extend API's like that and expect to get mechanism which will allow to use device with external API.

After reading the description more carefully, I think my initial idea is not applicable here. We have some APIs in networking side, like network interface (include/net/net_if.h) and we extend that for Ethernet network interfaces (include/net/ethernet.h) that provides more functionality for the interface. But if that kind of extending is not wanted, then that idea cannot be used here.

API 2020-07-07: Moved from triage to in-progress; base issue for #22409 supporting #23371.  Close if outdated.

@nordic-krch Should we keep this one ?
If yes, it should be reassigned


Don't Merge! PR real time test for webhook case

Docs Build status updates of commit ff0291f:
:clock10: Pending: waiting for processors (7 builds ahead of you)
:warning: Docs Build is busy, currently there are 7 builds ahead of this one, for more information you can view the Build queue graph on the Docs Portal.

Docs Build status updates of commit ff0291f:
:clock10: Full build: the average full build time is 6 min(s) 4 sec(s), this is based on the last 515 build(s) for this repository.

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

File
Status
Preview URL
Details
Dependent Files

docs-ref-conceptual/testing.md
:white_check_mark:Succeeded
View (azure-cli-latest) View (azure-cli-2017-03-09-profile) View (azure-cli-2018-03-01-hybrid)

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


envoy-api fails to build

==> cilium-master: google/protobuf/wrappers.proto
==> cilium-master: :
==> cilium-master: File not found.
==> cilium-master: api/address.proto
==> cilium-master: :
==> cilium-master: Import "google/protobuf/wrappers.proto" was not found or had errors.
==> cilium-master: google/protobuf/any.proto
==> cilium-master: :
==> cilium-master: File not found.
==> cilium-master: google/protobuf/duration.proto
==> cilium-master: :
==> cilium-master: File not found.
==> cilium-master: google/protobuf/struct.proto
==> cilium-master: :
==> cilium-master: File not found.
==> cilium-master: api/base.proto
==> cilium-master: :
==> cilium-master: Import "api/address.proto" was not found or had errors.
==> cilium-master: api/base.proto
==> cilium-master: :
==> cilium-master: Import "google/protobuf/any.proto" was not found or had errors.
==> cilium-master: api/base.proto
==> cilium-master: :
==> cilium-master: Import "google/protobuf/duration.proto" was not found or had errors.
==> cilium-master: api/base.proto
==> cilium-master: :
==> cilium-master: Import "google/protobuf/struct.proto" was not found or had errors.
==> cilium-master: api/base.proto
==> cilium-master: :
==> cilium-master: Import "google/protobuf/wrappers.proto" was not found or had errors.
==> cilium-master: api/base.proto
==> cilium-master: :
==> cilium-master: 32
==> cilium-master: :
==> cilium-master: 3
==> cilium-master: :
==> cilium-master: "google.protobuf.Struct" is not defined.
==> cilium-master: api/base.proto
==> cilium-master: :
==> cilium-master: 40:3: "Address" is not defined.
==> cilium-master: api/base.proto: "google.protobuf.Struct" is not defined.
==> cilium-master: api/base.proto:118:3: "google.protobuf.BoolValue" is not defined.
==> cilium-master: api/base.proto:149:12: "google.protobuf.Any" is not defined.
==> cilium-master: api/base.proto:178:3: "google.protobuf.Duration" is not defined.
==> cilium-master: google/protobuf/timestamp.proto: File not found.
==> cilium-master: api/accesslog.proto: Import "api/base.proto" was not found or had errors.
==> cilium-master: api/accesslog.proto: Import "google/protobuf/duration.proto" was not found or had errors.
==> cilium-master: api/accesslog.proto: Import "google/protobuf/struct.proto" was not found or had errors.
==> cilium-master: api/accesslog.proto: Import "google/protobuf/timestamp.proto" was not found or had errors.
==> cilium-master: api/accesslog.proto: Import "google/protobuf/wrappers.proto" was not found or had errors.
==> cilium-master: api/accesslog.proto:14:3: "RequestMethod" is not defined.
==> cilium-master: api/accesslog.proto:17:3: "google.protobuf.Timestamp" is not defined.
==> cilium-master: api/accesslog.proto:75:3: "google.protobuf.UInt64Value" is not defined.
==> cilium-master: api/accesslog.proto:78:3: "google.protobuf.UInt64Value" is not defined.
==> cilium-master: api/accesslog.proto:81:3: "google.protobuf.UInt64Value" is not defined.
==> cilium-master: api/accesslog.proto:84:3: "google.protobuf.UInt64Value" is not defined.
==> cilium-master: api/accesslog.proto:87:3: "google.protobuf.BoolValue" is not defined.
==> cilium-master: api/accesslog.proto:90:3: "google.protobuf.BoolValue" is not defined.
==> cilium-master: api/accesslog.proto:93:3: "google.protobuf.UInt32Value" is not defined.
==> cilium-master: api/accesslog.proto:125:3: "google.protobuf.Duration" is not defined.
==> cilium-master: api/accesslog.proto:131:3: "google.protobuf.Duration" is not defined.
==> cilium-master: api/accesslog.proto:145:3: "google.protobuf.Struct" is not defined.
==> cilium-master: api/accesslog.proto:148:12: "HeaderValue" is not defined.
==> cilium-master: api/accesslog.proto:149:12: "HeaderValue" is not defined.
==> cilium-master: api/accesslog.proto:169:3: "google.protobuf.UInt32Value" is not defined.
==> cilium-master: Makefile:46: recipe for target '../pkg/envoy/api/*.pb.go' failed
==> cilium-master: make[1]: *** [../pkg/envoy/api/*.pb.go] Error 1

Nevermind, the Vagrantfile did not install  protobuf-compiler and  libprotobuf-dev


[chip-test, keymgr] chip_sw_keymgr_key_derivation

Test point name
chip_sw_keymgr_key_derivation
Host side component
Rust?
Opentitantool infrastructure implemented
Yes
Silicon Validation (SiVal)
Yes
Emulation targets

[ ] None
[ ] CW310
[ ] Hyperdebug + CW310

Contact person
Checklist
Please fill out this checklist as items are completed. Link to PRs and issues as appropriate.

[ ] Check if existing test covers most or all of this testpoint (if so, either extend said test to cover all points, or skip the next 3 checkboxes)
[ ] Device-side (C) component developed
[ ] Bazel build rules developed
[ ] Host-side component developed
[ ] Test added to dvsim nightly regression (and passing at time of checking)
[ ] For SiVal test cases, test is running relevant FPGA or silicon regression

Addressed in #24755.


Support multiple Databases/Stores

Would like one single app to be able to connect to RedisStore for say Database A, and also connect to LevelDown for say Database B. How do we go about doing this?
I see the singleton patttern here: https://github.com/ClickSimply/Nano-SQL/blob/094cab8484bfe98947f7018cdbf8eaf5b3d9d3be/lib/index.js#L1516

Got it.
const db1 = new NanoSQLInstance()
db1.config({})
db1.table('posts')

Got it.
const db1 = new NanoSQLInstance()
db1.config({})
db1.table('posts')


[vis tools] source selector

add source selector for vis tools

note: facet id is not remembered in the url hash because facet Ids can become stale

screen-recording - 2023-09-11T173921.005.webm
screen-recording - 2023-09-11T174046.492.webm
screen-recording - 2023-09-11T174208.924.webm

This is very cool! I would suggest adding one webdriver test for each tool, and make sure facets can be selected and charts can show up!

thanks for the review! I agree with adding webdriver tests, but maybe in a separate PR?


Add the ability to choose which files to ignore

[x] Enforce .pem and .git files filtering
[x] Customize (['*.crx'] by default)
[x] Bump to archiver@4
[x] Document the ignore option in the README

cc @kennynguyeenx
fixes #131

@kennynguyeenx is this a sufficient way to work around your initial request? Let us know.


Conflicts with Microsoft.Extensions.FileProviders.Embedded

Whenever I add Swashbuckle to my API I get the following errors from other projects in my solution:
  An assembly specified in the application dependencies manifest (xxx.Payment.Processor.deps.json) was not found:
    package: 'Microsoft.Extensions.FileProviders.Embedded', version: '1.0.1'
The target process exited without raising a CoreCLR started event. Ensure that the target process is configured to use .NET Core. This may be expected if the target process did not run on .NET Core.The program '[16] dotnet' has exited with code 140 (0x8c).
    path: 'lib/netstandard1.0/Microsoft.Extensions.FileProviders.Embedded.dll'```

Removing Swashbuckle makes it all work again

NetCore 2 - I’ll give your suggestion a try and report back.
Get Outlook for iOShttps://aka.ms/o0ukef

From: Richard Morris<EMAIL_ADDRESS>Sent: Thursday, April 12, 2018 6:23:58 PM
To: domaindrivendev/Swashbuckle.AspNetCore
Cc: Wayne Douglas; Author
Subject: Re: [domaindrivendev/Swashbuckle.AspNetCore] Conflicts with Microsoft.Extensions.FileProviders.Embedded (#681)
Which version of ASP.NET Core are you using? Swashbuckle will 'Microsoft.Extensions.FileProviders.Embedded' as a transitive dependency and it's possible the version it brings in is incompatible with your version of ASP.NET Core. If this is the case, you should be able to workaround by creating an explicit reference to Microsoft.Extensions.FileProviders.Embedded, with the up-to-date version, in your csproj.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/domaindrivendev/Swashbuckle.AspNetCore/issues/681#issuecomment-380882364, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AAK3jLZQrBgnTN_UFeFb4qUZbdqKTUWHks5tn42ugaJpZM4TRT2P.

Which version of ASP.NET Core are you using? Swashbuckle will bring in Microsoft.Extensions.FileProviders.Embedded as a transitive dependency and it's possible the version it brings in is incompatible with your version of ASP.NET Core. If this is the case, you should be able to workaround by creating an explicit reference to Microsoft.Extensions.FileProviders.Embedded, with the up-to-date version, in your csproj.

May i know the solution please. i am facing similar issue.


Tfx 0.14 reports to be 0.13

Tfx 0.14 reports its version number as 0.13 when running a command:
https://github.com/renovatebot/azure-devops-marketplace/actions/runs/4256923965/jobs/7406405898#step:3:7

Hi @jessehouwing, thank you for reporting. We'll take a look at this issue soon.


Incompatible with Quilt modloader

Minecraft version: 1.19.2
Quilt version: 0.18.1-beta52
Quilted Fabric API version: 4.0.0-beta26
Combat Enchantments version: 2.14.2
Crash Report
Latest Log
Quilt is a fork of the Fabric modloader which is automatically compatible with most mods (out of the 300 I use, only 1 other is incompatible due to a mixin.) Unfortunately, it seems Combat Enchantments has a similar issue, and results in a startup crash. A possible fix would be much appreciated.

I just ran my mod through the quilt mod loader and it worked fine(but I was using the fabric api not quilt). What files did you have in the mods folder at the time of running it?

I believe I was only using Combat Enchantments and Quilted Fabric API at the time. I usually make fresh instances for debugging crashes like this (and have since deleted that one) but the logs don't seem to show any other mods being present.

I just ran my mod through the quilt mod loader and it worked fine(but I was using the fabric api not quilt).
Yep, because it's incompatible with quilt api, not quilt itself.

Well it wasn't @Inject, but @ModifyVariable worked perfectly fine.
Replace your code with this
@ModifyVariable(at = @At("STORE"), method = "onStoppedUsing", ordinal = 0 )
    public float onStoppedUsing(float value, ItemStack stack, World world, LivingEntity user)
    {
        StatusEffectInstance barrageEffectInstance = user.getStatusEffect(CombatEnchants.BARRAGE_EFFECT);
        if(barrageEffectInstance != null)
        {
            if(barrageEffectInstance.getDuration() >= 20)
            {
                user.removeStatusEffect(CombatEnchants.BARRAGE_EFFECT);
                user.addStatusEffect(new StatusEffectInstance(CombatEnchants.BARRAGE_EFFECT, 20));
            }
            return 1;
        }
        return value;
    }

the result is this same, but doesn't crash with quilt api.
@dsfhdshdjtsb

Actually this isn't an end to the trouble. While the mod doesn't crash, no new enchants show up.

oh shoot didnt realize people were talking here. @SzczurekYT can you make a pull request with the new code?

I was too lazy to do that as it's just a simple copy paste, but if you want then sure.


Chinese translation：/content/help/faq/telemetry/controllering-what-th…

…e-sidecar-reports.md

/lgtm

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: rootsongjc
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

content_zh/OWNERS [rootsongjc]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


[feature request] 32-bit compilation

Would you be willing to support 32bit compilation? For ARM targets, this would be important.
FWIW, while trying to compile 32 bit I get this with vs2019:
D:\a\c4core\c4core\src\c4\ext\fast_float\include\fast_float\float_common.h(68,7): error C3861: '_BitScanReverse64': identifier not found [D:\a\c4core\c4core\build\static32\c4core.vcxproj]
D:\a\c4core\c4core\src\c4\ext\fast_float\include\fast_float\float_common.h(84,66): error C2169: 'fast_float::__emulu': intrinsic function, cannot be defined [D:\a\c4core\c4core\build\static32\c4core.vcxproj]
D:\a\c4core\c4core\src\c4\ext\fast_float\include\fast_float\float_common.h(89,17): error C2065: '__emulu': undeclared identifier [D:\a\c4core\c4core\build\static32\c4core.vcxproj]
D:\a\c4core\c4core\src\c4\ext\fast_float\include\fast_float\float_common.h(89): error C7552: 'fast_float::__emulu': purely intrinsic functions have no address [D:\a\c4core\c4core\build\static32\c4core.vcxproj]
D:\a\c4core\c4core\src\c4\ext\fast_float\include\fast_float\float_common.h(89,60): error C2440: 'initializing': cannot convert from 'unsigned __int64 (__cdecl *)(unsigned int,unsigned int)' to 'uint64_t' [D:\a\c4core\c4core\build\static32\c4core.vcxproj]
D:\a\c4core\c4core\src\c4\ext\fast_float\include\fast_float\float_common.h(89,15): message : There is no context in which this conversion is possible [D:\a\c4core\c4core\build\static32\c4core.vcxproj]
D:\a\c4core\c4core\src\c4\ext\fast_float\include\fast_float\float_common.h(90,17): error C2065: '__emulu': undeclared identifier [D:\a\c4core\c4core\build\static32\c4core.vcxproj]
D:\a\c4core\c4core\src\c4\ext\fast_float\include\fast_float\float_common.h(90): error C7552: 'fast_float::__emulu': purely intrinsic functions have no address [D:\a\c4core\c4core\build\static32\c4core.vcxproj]
D:\a\c4core\c4core\src\c4\ext\fast_float\include\fast_float\float_common.h(90,52): error C2440: 'initializing': cannot convert from 'unsigned __int64 (__cdecl *)(unsigned int,unsigned int)' to 'uint64_t' [D:\a\c4core\c4core\build\static32\c4core.vcxproj]
D:\a\c4core\c4core\src\c4\ext\fast_float\include\fast_float\float_common.h(90,15): message : There is no context in which this conversion is possible [D:\a\c4core\c4core\build\static32\c4core.vcxproj]
D:\a\c4core\c4core\src\c4\ext\fast_float\include\fast_float\float_common.h(91,24): error C2065: '__emulu': undeclared identifier [D:\a\c4core\c4core\build\static32\c4core.vcxproj]
D:\a\c4core\c4core\src\c4\ext\fast_float\include\fast_float\float_common.h(91,67): error C2568: '+': unable to resolve function overload [D:\a\c4core\c4core\build\static32\c4core.vcxproj]
D:\a\c4core\c4core\src\c4\ext\fast_float\include\fast_float\float_common.h(91,67): message : could be 'unsigned __int64 fast_float::__emulu(unsigned int,unsigned int)' [D:\a\c4core\c4core\build\static32\c4core.vcxproj]
D:\a\c4core\c4core\src\c4\ext\fast_float\include\fast_float\float_common.h(94,9): error C2065: '__emulu': undeclared identifier [D:\a\c4core\c4core\build\static32\c4core.vcxproj]
D:\a\c4core\c4core\src\c4\ext\fast_float\include\fast_float\float_common.h(94,76): error C2296: '+': illegal, left operand has type 'unsigned __int64 (__cdecl *)(unsigned int,unsigned int)' [D:\a\c4core\c4core\build\static32\c4core.vcxproj]

and on gcc, I get this:
[  3%] Building CXX object CMakeFiles/c4core.dir/src/c4/base64.cpp.o
[  3%] Building CXX object CMakeFiles/c4core.dir/src/c4/char_traits.cpp.o
[  5%] Building CXX object CMakeFiles/c4core.dir/src/c4/error.cpp.o
In file included from /home/runner/work/c4core/c4core/src/c4/ext/fast_float/include/fast_float/ascii_number.h:9:0,
                 from /home/runner/work/c4core/c4core/src/c4/ext/fast_float/include/fast_float/parse_number.h:3,
                 from /home/runner/work/c4core/c4core/src/c4/ext/fast_float/include/fast_float/fast_float.h:44,
                 from /home/runner/work/c4core/c4core/src/c4/charconv.hpp:21,
                 from /home/runner/work/c4core/c4core/src/c4/base64.hpp:9,
                 from /home/runner/work/c4core/c4core/src/c4/base64.cpp:1:
/home/runner/work/c4core/c4core/src/c4/ext/fast_float/include/fast_float/float_common.h: In function ‘fast_float::value128 fast_float::full_multiplication(uint64_t, uint64_t)’:
/home/runner/work/c4core/c4core/src/c4/ext/fast_float/include/fast_float/float_common.h:120:3: error: ‘__uint128_t’ was not declared in this scope
   __uint128_t r = ((__uint128_t)value1) * value2;
   ^~~~~~~~~~~
/home/runner/work/c4core/c4core/src/c4/ext/fast_float/include/fast_float/float_common.h:120:3: note: suggested alternative: ‘__uint32_t’
   __uint128_t r = ((__uint128_t)value1) * value2;
   ^~~~~~~~~~~
   __uint32_t
/home/runner/work/c4core/c4core/src/c4/ext/fast_float/include/fast_float/float_common.h:121:25: error: ‘r’ was not declared in this scope
   answer.low = uint64_t(r);
                         ^
/home/runner/work/c4core/c4core/src/c4/ext/fast_float/include/fast_float/float_common.h:117:63: error: unused parameter ‘value1’ [-Werror=unused-parameter]
 fastfloat_really_inline value128 full_multiplication(uint64_t value1,
                                                               ^~~~~~
/home/runner/work/c4core/c4core/src/c4/ext/fast_float/include/fast_float/float_common.h:118:63: error: unused parameter ‘value2’ [-Werror=unused-parameter]
                                                      uint64_t value2) {
                                                               ^~~~~~
[  7%] Building CXX object CMakeFiles/c4core.dir/src/c4/format.cpp.o
In file included from /home/runner/work/c4core/c4core/src/c4/ext/fast_float/include/fast_float/parse_number.h:3:0,
                 from /home/runner/work/c4core/c4core/src/c4/ext/fast_float/include/fast_float/fast_float.h:44,
                 from /home/runner/work/c4core/c4core/src/c4/charconv.hpp:21,
                 from /home/runner/work/c4core/c4core/src/c4/base64.hpp:9,
                 from /home/runner/work/c4core/c4core/src/c4/base64.cpp:1:
/home/runner/work/c4core/c4core/src/c4/ext/fast_float/include/fast_float/ascii_number.h: In function ‘fast_float::parsed_number_string fast_float::parse_number_string(const char*, const char*, fast_float::chars_format)’:
/home/runner/work/c4core/c4core/src/c4/ext/fast_float/include/fast_float/ascii_number.h:102:35: error: useless cast to type ‘int32_t {aka int}’ [-Werror=useless-cast]
       int32_t(p - start_digits - 1); // used later to guard against overflows
                                   ^
/home/runner/work/c4core/c4core/src/c4/ext/fast_float/include/fast_float/ascii_number.h:150:44: error: useless cast to type ‘int’ [-Werror=useless-cast]
     digit_count -= int(start - start_digits);
                                            ^
/home/runner/work/c4core/c4core/src/c4/ext/fast_float/include/fast_float/ascii_number.h: In function ‘fast_float::decimal fast_float::parse_decimal(const char*, const char*)’:
/home/runner/work/c4core/c4core/src/c4/ext/fast_float/include/fast_float/ascii_number.h:218:58: error: useless cast to type ‘int32_t {aka int}’ [-Werror=useless-cast]
     answer.decimal_point = int32_t(first_after_period - p);
                                                          ^
cc1plus: all warnings being treated as errors

Want to issue a pull request?

You are compiling with a much too agressive set of warnings as errors: "useless-cast", really?
It is not sensible to treat this...
int32_t x = 1;
int32_t y = int32_t(x);

as an error.

You are compiling with a much too agressive set of warnings as errors: "useless-cast", really?
I agree :-). But my code is a library, and I really want no warnings leaking out of it. To be clear, I don't care if useless-cast is triggered from fast_float, I can suppress it at will, so please ignore that.

What's important here (at least for me) are those references to __uint128_t,  _BitScanReverse64() et al.

Want to issue a pull request?
I will take a look, maybe that's a good first issue to look at.

I really want no warnings leaking out of it.

I submit to you the following. If a compiler maker, say  GNU, does not include a warning is the common set of warnings (e.g.,  -Wall -Wextra), then there may be a good reason for that: it is likely because they believe that the number of false positives is too high.

What's important here (at least for me) are those references to __uint128_t, _BitScanReverse64() et al.

Yes. This is real.
It is definitively the case that 32-bit support is lacking and we would welcome a fix for that.

Let's start with gcc and this:
// compute value1 * value2
fastfloat_really_inline value128 full_multiplication(uint64_t value1,
                                                     uint64_t value2) {
  value128 answer;
  __uint128_t r = ((__uint128_t)value1) * value2;
  answer.low = uint64_t(r);
  answer.high = uint64_t(r >> 64);
  return answer;
}

I confess I'm a bit at a loss here. How should we go about this?

See https://stackoverflow.com/questions/28868367/getting-the-high-part-of-64-bit-integer-multiplication


bundler: Node package resolution

Describe the bug
I seem to get some nasty internal errors when attempting to bundle a module that imports anything from an external dependency (such as ones obtained through npm).
I wanted to use swcpack for a large project currently built on rollup and babel, but encountered similar issues. I had a suspicion it was due to the many external dependencies we have, since the swc transpiler worked perfectly fine, and the below code sample proved my theory.
Input code
// index.js
import { concat } from 'lodash';

export const test = concat(0, 1, [2, 3]);

Config
// .swcrc
{
    "jsc": {
        "target": "es5",
        "parser": {
            "syntax": "ecmascript",
            "dynamicImport": true,
            "jsx": false
        }
    },
    "module": {
        "type": "commonjs"
    }
}

// spack.config.js
const { config } = require('@swc/core/spack');
const path = require('path');

module.exports = config({
    entry: {
        pfd: path.join(__dirname, '/index.js'),
    },
    output: {
        path: path.join(__dirname, '/dist'),
        name: 'index.js',
    },
});

Playground link
No response
Expected behavior
The bundler should emit a single bundle that contains the code from any external dependencies and the program code.
Actual behavior
Running yarn spack generates an error.
❯ yarn spack
yarn run v1.22.18
$ /Users/mike/Documents/Projects/swc-test/node_modules/.bin/spack
thread '<unnamed>' panicked at 'cannot access a scoped thread local variable without calling `set` first', /Users/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/scoped-tls-1.0.0/src/lib.rs:168:9
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
node:internal/process/promises:279
            triggerUncaughtException(err, true /* fromPromise */);
            ^

[Error: panic detected] { code: 'GenericFailure' }
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Version
1.3.7
Additional context
No response

I've managed to hunt down the source of the error. Seems like its something to do with the tree-shaking optimization.
https://github.com/swc-project/swc/blob/e46a192cb6b3281408d688b7bbf65c225ef6780e/crates/swc_bundler/src/bundler/optimize.rs#L23-L31

Got a debugger going and found that this call to ScopedKey::with leads to the panic being called from the better_scoped_tls library.
https://github.com/swc-project/swc/blob/1ed02032627f1611a9ed1de4b110b79b196d61cc/crates/swc_ecma_transforms_base/src/perf.rs#L55
Weirdly enough, I tried omitting the call to the handler all together and while the bundler did actually end up working, the tree shaking didn't seem to work. The final bundle included the entirety of the lodash library.

I could reproduce this in https://github.com/swc-project/swc/issues/6205

I can reproduce this as well - here's a pretty minimal repo:
// package.json
{
  "name": "example",
  "version": "1.0.0",
  "dependencies": {
    "@swc/cli": "^0.1.57",
    "@swc/core": "^1.3.11",
    "lodash": "^4.17.21"
  }
}

// spack.config.js
const { config } = require("@swc/core/spack");

module.exports = config({
  entry: {
    web: __dirname + "/src/web.js"
  },
  output: {
    path: __dirname + "/lib",
  },
});

// src/web.js
require('lodash/reduce');
require('lodash/set');

$ npx spack
thread '<unnamed>' panicked at 'cannot access a scoped thread local variable without calling `set` first', /usr/local/cargo/registry/src/github.com-1ecc6299db9ec823/scoped-tls-1.0.0/src/lib.rs:168:9
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
node:internal/process/promises:279
            triggerUncaughtException(err, true /* fromPromise */);
            ^

[Error: panic detected] { code: 'GenericFailure' }

In case it helps debugging - this seems to have broken in<EMAIL_ADDRESS><EMAIL_ADDRESS>does not exhibit the bug.

In case it helps debugging - this seems to have broken in<EMAIL_ADDRESS><EMAIL_ADDRESS>does not exhibit the bug.

Seems to be so, but it also doesn't perform the quite necessary tree-shaking step.

i got this problem in @swc/core 1.3.21

In:
"@swc/cli": "^0.1.57",
"@swc/core": "^1.3.24",

Same. Couldn't use swc cli at all. Panics and crashes on every project i tried, while rollup/webpack/esbuild work fine.

I'm hitting this same issue too, is spack/swcpack even supported anymore? I literally cannot get it to compile anything other than very basic vanilla JS. Even simple things like importing socket.io-client fails with a "failed to resolve" error, on top of that this whole issue with the scoped-tls library is causing massive headaches.
I think we all want to use spack/swcpack but in its current state it feels totally broken and unusable, especially compared to other alternatives like Webpack and Rollup. Does anyone know if any work is ongoing with spack/swcpack or if it's unofficially deprecated?

I'm hitting this same issue too, is spack/swcpack even supported anymore? I literally cannot get it to compile anything other than very basic vanilla JS. Even simple things like importing socket.io-client fails with a "failed to resolve" error, on top of that this whole issue with the scoped-tls library is causing massive headaches.
I think we all want to use spack/swcpack but in its current state it feels totally broken and unusable, especially compared to other alternatives like Webpack and Rollup. Does anyone know if any work is ongoing with spack/swcpack or if it's unofficially deprecated?

If you want to escape the painful grasp of Webpack/Rollup, check out esbuild. It's what I ended up going with after reaching this wall with swc and it seems to work pretty well and has a great plugin system.


Polish localization files added

Added Polish language localization files, package and bundle files.

@microsoft-github-policy-service agree

thanks for the contribution!


feat: use the 2002 catalogue in breakfast

Going to the store directly gets you nothing. Credits carry over between days. Visit in breakfast.
Also warn at gash if you have credits remaining.

Correct.
I feel like the coinmaster thing isn't that important -- after you've been to the shop through the item once, you have your daily credits, and can go there directly afterwards.
It also leads to a bit of complexity in that you can get there either through the actual catalogue or through the replica, and I think it's easier to avoid that and just do it through breakfast instead.

Considering my own use cases:

I never call breakfast in-run
In or out of run, I never visit Coinmasters in the Relay Browser.
In aftercore, I do run breakfast, so having the extra credits show up will be helpful.

I have no idea, yet, how I will use this item, either in-run or in aftercore.
I expect that some people will want a daily deed. Some will be happy with breakfast.
For myself, in-run, I want the CoinmastersFrame to update for me when I click visit so I can spend credits on whatever I eventually decide will be useful.
I'll do it myself, I guess.
That said, thanks for doing this. It's at least half what most people will want. A Daily Deed will satisfy the others. 😀

Hah, well I never considered people not running breakfast in-run! I use that to ensure I get my clovers each day.

Perhaps I need to rethink that claim. I certainly don't get breakfast on log in, and if/when I do run it, it is in the gCLI. I definitely don't remember to do it every day.
I finished my six ASoL runs and won't try my first (of six) LoL run for another nine days, at least, so I will have to remember how to ascend, again, as always happens after a hiatus.


aria-live should only wrap the number of search results, not the full list of all results

for the search app, we currently wrap a lot of page content with a div tag that has aria-live="polite". This causes screenreaders to read out updates to the content within the tag. So while we correctly are tagging content that can update and which will be of use to someone using a screenreader, the amount of content that will need to be read out for most searchers is very large with this.
Instead, we should wrap just the results count with aria-live="polite", and let the user tab through the results list to have course titles and so on be read out.

we should also set aria-atomic="true" (see https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-atomic)


Twitter - Could not parse guest token

Hi,
since today I am getting
Bridge returned error 500! (18451)
Could not parse guest token
So either there's a new problem with tokens or is it just on my end?

Having the same problem since 12h

I had the same problem earlier today and added a pull request (#1647)  which fixed it on my side

In my laptop twitter works without #1647.
In my public instance with or without #1647 patch it does not work. https://feed.eugenemolotov.ru/pr1647/?action=display&bridge=Twitter&context=By+username&u=___em92&format=Html
I don't know why

In my public instance with or without #1647 patch it does not work. https://feed.eugenemolotov.ru/pr1647/?action=display&bridge=Twitter&context=By+username&u=___em92&format=Html
I don't know why

Nevermind. With patch it works.

In my public instance with or without #1647 patch it does not work. https://feed.eugenemolotov.ru/pr1647/?action=display&bridge=Twitter&context=By+username&u=___em92&format=Html
I don't know why

Nevermind. With patch it works.

It does not work again :D

same problem. #1647 has worked for now.

Confirmed.  @sarnd 's updated 'TwitterBridge.php' in pull request (https://github.com/RSS-Bridge/rss-bridge/pull/1647) mentioned above works for me too to get f'n Twitter running again.
.

For the record, the problem is still present for people (like me) using the latest docker images (which is not updated yet).
Regards.

How long does updates take to propagate to the public bridges? Is it an entirely manual thing where hosts have to know to update? Sorry for the dumb questions, I'm working on trying to set one up myself.

Is it an entirely manual thing where hosts have to know to update?

Yes. But you can make it automatic with writing script and running cron.

Hi,
Thanks for the PR.
It fixed the issue for me

Hi,
the PR fix it, thanks !

The issues continue, even with the latest version :/

@Nono-m0le : the PR seems not to be include in the last version, you have to change your file like this https://github.com/RSS-Bridge/rss-bridge/pull/1647/files

@Nono-m0le : the PR seems not to be include in the last version, you have to change your file like this https://github.com/RSS-Bridge/rss-bridge/pull/1647/files

thanks but is there an easy to do this in docker ?

@Nono-m0le : the PR seems not to be include in the last version, you have to change your file like this https://github.com/RSS-Bridge/rss-bridge/pull/1647/files

thanks but is there an easy way to do this in docker ?

Easy ? No, but I edit directly inside the container (until the next image update) :

Go inside your container docker exec -ti <container_name> bash
There is no text editor so you need to install the one you want (vi, vim, nano, etc.) : apt-get update && apt-get install <editor> -y
Last step, you need to edit the file /app/bridges/TwitterBridge.php and apply modifications on https://github.com/RSS-Bridge/rss-bridge/pull/1647/files : <editor> /app/bridges/TwitterBridge.php

@Nono-m0le : the PR seems not to be include in the last version, you have to change your file like this https://github.com/RSS-Bridge/rss-bridge/pull/1647/files

I do have this version, and I confirm : I'm still having the issue (by cleaning the cache as well)

thanks but is there an easy way to do this in docker ?

curl -O https://raw.githubusercontent.com/RSS-Bridge/rss-bridge/ce967b493274f0cd8c8bfb696e16f799188c7840/bridges/TwitterBridge.php && docker cp TwitterBridge.php rss-bridge:/app/bridges/TwitterBridge.php

The bug still appears on my end (git.master.976445b)

The bug still appears on my end (git.master.976445b)

Yes, because the PR is not accepted yet on master. That's the pb since 2 weeks.

When do you plan to accept the PR and run a docker image build please ?

FYI
i updated my PR because Twitter has changed the URL scheme for the API.
From: https://abs.twimg.com/responsive-web/web/
To:  https://abs.twimg.com/responsive-web/web_legacy/

The change of URL works after a cache suppression, thanks :)
docker exec --user www-data rss-bridge /bin/sh -c "rm -fr /app/cache/*"
For the record, is this URL documented somewhere in the Twitter doc ?

I didn't search. I debugged the bridge, analyzed the requests and responses and tried to figure out, why the regex didn't matched

Works for me, too. Many thanks!

For me too, thanks !

@sarnd typed:
FYI
i updated my PR because Twitter has changed the URL scheme for the API.
...

Thanks for the heads up!  I hadn't realized you had updated your pull (https://github.com/RSS-Bridge/rss-bridge/pull/1647).  Possible that's why I recently started seeing 'Bridge returned error 0! (18466)' errors?  idk?
So thanks again for the work you're putting in to fix this issue.
.

Thanks for the heads up! I hadn't realized you had updated your pull (#1647). Possible that's why I recently started seeing 'Bridge returned error 0! (18466)' errors? idk?
So thanks again for the work you're putting in to fix this issue.
.

Same here.

Closing as https://github.com/RSS-Bridge/rss-bridge/pull/1647 is merged (finally)

This change now fixes the 'Bridge returned error 0! (18466)' error for me...
https://github.com/RSS-Bridge/rss-bridge/pull/1647/files

Hi guys, so I had the same problem and played around with the code. 1647 didn't fix it for me. Now, the error is just in plain text. It's also not a cache problem, imo. I tried having a cron job delete my cache every few minutes/seconds,  but the trick only works for like 10 minutes. I changed the settings in cache_timeout, tried a custom cache, etc..
So I reinstalled the program in a different directory and got the same error. This leads me to believe that the problem is my connection to Twimg where the website is limiting the number of connections I make or how much content I download. I was trying to download a lot of data in real-time (0 timeout).
Maybe the problem could be solved if we have a version of the script that lets you access data via a consumer key?

Hi, @kittykat125 !
About adding consumer key. There was a discussion https://github.com/RSS-Bridge/rss-bridge/issues/1170. But not sure, if twitter bridge should be rewritten if after implementing private keys support.
About twitter bridge. Checkout latest change with merged https://github.com/RSS-Bridge/rss-bridge/pull/1663. It reduces number of requests to twitter hosts.

Hi,
I still got "Could not parse guest token" on AWS EC2 instance.
On my MacBook, it works fine.
Any idea?
$ git log
commit 5be251a66e1c8423aecbc460e2fc0bf053610bc9 (HEAD -> master, origin/master, origin/HEAD)

Hi,
I still got "Could not parse guest token" on AWS EC2 instance.
On my MacBook, it works fine.
Any idea?

I have the same issue. My instance running on Amazon  returns : " error 500: Could not parse guest token` "
the instance running on a local VM has no issues . bizarre .


How to get prediction score

Similar question as this in this post #59.
That post uses __rank_slates to obtain predicted ranks for y but that doesn't seem to be correct to me. When you look at the function it just returns the original y vector after it has been re orderd (or reranked) but not the predicted ranks.
Is there a function that returns the predicted ranks? or get a predicted score and then generate the rank ourselves?

Another post #44 has mentioned the use of the score function, but I don't understand how to use this from the main script after a model has been trained.

Thank you so much for sharing this, I will go through this example!!


[Linux] Migrate to the new update semantics embedder API

The original update semantics embedder API was deprecated (see https://github.com/flutter/flutter/issues/114201) and replaced by a new update semantics embedder API. The Linux embedder should be migrated to the new embedder API.
The Windows and macOS embedders have already been migrated.
/cc @robert-ancell @jpnurmi

Was fixed in https://github.com/flutter/engine/pull/51030


Bits swapped in title

Hi! so I threw together a cart reader based on the circuit diagram and Im having a problem where some letters are swapped when reading data, Ive been unable to successfully dump a Rom and I'm guessing its related to this problem. Any chance there are any insights as to what might be the cause?
the games in the contained image for reference are Star Fox and Super Fire Pro Wrestling

Hello!
I have exactly the same problem. I double-checked the wires and continue the same way. I think it is something related to the Arduino clone I use. Unfortunately I have nowhere to buy an authentic one. I tried to reduce the baud rate, as indicated, but I don't know if I'm doing it correctly.
I also tested a starfox cartridge and indicated exactly the same problem as the image you posted. I would like some help if it is possible to use these arduinos on windows.
What operating system and shift register are you using? I'm using 74HC595D (smd). Have you made any progress?

UPDATE
ok so i found the problem. The diagram is wrong with respect to the firmware. Simply change the wires D0 and D1 and make the dump. I hope it helps.

@play134 Thank you for the feedback. I have updated the circuit diagram.


Fix varlen pool usage in secondary index scan

From callgrind result on cmu-db/peloton/master (9f1c88f55e979a124a05ea44fc0420d7dd839cea), the problem is the varlen pool allocate. By tracing the code I find that this line is allocating a temp varlen value for a tuple key from a per index varlen pool. It causes unnecessary contention over the index's varlen pool.
After switch to the executor context varlen pool, we get the performance back to normal level.
#426

.. It seems that I ran the wrong benchmark... with that fix tpc-c is still super slow...

Better than before... after the fix it can scale well...

Coverage decreased (-0.02%) to 63.75% when pulling bd1a9448dbe7d08c226e965f2cf9ec6f753d1598 on jessesleeping:master into 9f1c88f55e979a124a05ea44fc0420d7dd839cea on cmu-db:master.

Coverage decreased (-0.2%) to 63.591% when pulling bd1a9448dbe7d08c226e965f2cf9ec6f753d1598 on jessesleeping:master into 9f1c88f55e979a124a05ea44fc0420d7dd839cea on cmu-db:master.

Coverage decreased (-0.006%) to 63.762% when pulling bd1a9448dbe7d08c226e965f2cf9ec6f753d1598 on jessesleeping:master into 9f1c88f55e979a124a05ea44fc0420d7dd839cea on cmu-db:master.


[Bug]: Docker running with error Cannot read properties of undefined (reading 'user_id')

Version
1.0.2
Node version
16.18.0
Operating System type
Docker
Operating system version
Ubuntu 18.04.6 LTS
Describe the bug
looping error in container: TypeError  Cannot read properties of undefined (reading 'user_id')
To reproduce
Start the container
Screenshots & Logfiles
2022-11-09 18:36:15.273  INFO  Eufy Security server listening on host <IP_ADDRESS>, port 3000
2022-11-09 18:36:15.460  ERROR Generic Error:
 TypeError  Cannot read properties of undefined (reading 'user_id')
error stack:
• api.ts:289 login
    node_modules/eufy-security-client/src/http/api.ts:289:66
• task_queues:96 processTicksAndRejections
    node:internal/process/task_queues:96:5
• eufysecurity.ts:662 connect
    node_modules/eufy-security-client/src/eufysecurity.ts:662:9
• server.ts:496 start
    src/lib/server.ts:496:9
• server.ts:66 <anonymous>
    src/bin/server.ts:66:9
2022-11-09 18:36:53.329  ERROR Generic Error:
 TypeError  Cannot read properties of undefined (reading 'user_id')
error stack:
• api.ts:289 login
    node_modules/eufy-security-client/src/http/api.ts:289:66
• task_queues:96 processTicksAndRejections
    node:internal/process/task_queues:96:5
• eufysecurity.ts:662 connect
    node_modules/eufy-security-client/src/eufysecurity.ts:662:9
• message_handler.ts:80 handle
    src/lib/driver/message_handler.ts:80:21
• server.ts:126 receiveMessage
    src/lib/server.ts:126:21
2022-11-09 18:37:05.970  INFO  Client disconnected with ip: <IP_ADDRESS> port: 40300 code: 1000 reason: Normal Closure

Additional context
No response

Also having this issue. Was running perfectly for months, but then stopped working today.

Same issue, tried several different credentials to log in.

This fixed it for me
https://github.com/bropat/eufy-security-client/issues/242#issuecomment-1309377631

@lolouk44 The fix didn't work for me.  Can you share exactly what you updated?  Thanks

Fixed it for me as well. I'm running the docker image, and just added the environment variable "TRUSTED_DEVICE_NAME" to my docker run command, i.e:
docker run -e TRUSTED_DEVICE_NAME=anyRandomString

"trustedDeviceName?": "newclient",

You have a question Mark in your variable name

Information came just in time for me to fix as well - added TRUSTED_DEVICE_NAME environmental variable


Develop a mode to work with a group of objects

My actions before raising this issue

[x] Read/searched the docs
[x] Searched past issues

Expected Behaviour

There is a suggestion to develop a mode to work with a group of objects. Means that working in CVAT we can easily choose several objects on a frame or different frames and make some actions for a whole group of chosen objects. It can be: to change a label or attribute, copy/propagate, move, delete, hide, lock and so on. In general, almost all the actions we can do with 1 object.
This mode could increase the annotation performance in many type of tasks.
I found that there was such a kind of question before here
Current Behaviour

At the moment these is no such option to work with a group of objects
Possible Solution

Steps to Reproduce (for bugs)

Context

Your Environment

Git hash commit (git log -1):
Docker version docker version (e.g. Docker 17.0.05):
Are you using Docker Swarm or Kubernetes?
Operating System and version (e.g. Linux, Windows, MacOS):
Code example or link to GitHub repo or gist to reproduce problem:
Other diagnostic information / logs:
Logs from `cvat` container

Next steps
You may join our Gitter channel for community support.

Related with #3013
I am not sure we need a different mode to work with groups, just need to enhance some features by supporting groups.


Rant about transitionend

Classic Ivan :trollface: Per chat, this fun post would look better on Medium. We'll keep the Leaflet blog free of rants.


Critical & High Issues reported by NATIONAL VULNERABILITY DATABASE

Team,
I would like to bring this to your kind notice. Recently NVD has published 2 vulnerabilities as below.
https://nvd.nist.gov/vuln/detail/CVE-2022-2216
https://nvd.nist.gov/vuln/detail/CVE-2022-0722

This are fixed now — should wee keep this open? Thanks!

Great. Thanks, Good to close it in that case.

@IonicaBizau Can you confirm which versions have these fixes? Are they in 8.0.0 only?


CircularBItSet init from oldState with correct order

I found that CircularBitSet when construct with oldBitSet that size is less than current size will in a wrong state.
ex:
old=CircularBitSet({true, true, false, false})
new=CircularBitSet(size=2, oldState=old)
expected
CircularBitSet({false, false})
actual
CircularBitSet({true, true})

Coverage increased (+0.1%) to 85.992% when pulling 8fc04016fff84a020678655424b3ecf884f6ab3b on chhsiao90:bitset into efcd0a0f2f379282de71784dada73e2830dacd35 on jhalterman:master.

Good catch. Left a comment on the commit.

Coverage increased (+0.04%) to 85.924% when pulling 93ca9518de01cd57fc244eed3bc01f088f4c8484 on chhsiao90:bitset into efcd0a0f2f379282de71784dada73e2830dacd35 on jhalterman:master.

Looks good. Thanks!

Coverage increased (+0.04%) to 85.924% when pulling 83c0d0b1ade7b7c159b0d0ef42c83206492da5f8 on chhsiao90:bitset into efcd0a0f2f379282de71784dada73e2830dacd35 on jhalterman:master.


[Service Bus] Fix sample in the "how-to-use-queues" doc

Document - https://docs.microsoft.com/en-us/azure/service-bus-messaging/service-bus-nodejs-how-to-use-queues#send-messages-to-a-queue
@ramya-rao-a

@HarshaNalluru : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@HarshaNalluru : Thanks for your contribution! The author(s) have been notified to review your proposed change.

#sign-off

#sign-off

@HarshaNalluru The same change is needed for https://docs.microsoft.com/en-us/azure/service-bus-messaging/service-bus-nodejs-how-to-use-topics-subscriptions as well. Can you make a PR for that?

@HarshaNalluru The same change is needed for https://docs.microsoft.com/en-us/azure/service-bus-messaging/service-bus-nodejs-how-to-use-topics-subscriptions as well. Can you make a PR for that?

Sure, here it is https://github.com/MicrosoftDocs/azure-docs/pull/68829

Sure, here it is https://github.com/MicrosoftDocs/azure-docs/pull/68829

#sign-off

#sign-off


unable to install

I have a lot of error "not found" during yarn install   .
Jonathan

Could you please include an error log, or specify which packages can't be found?

Actually, I'm pretty sure it's a bunch of namespaced packages I've forgotten to make public. Have another go at installing it.

it works perfectly now !  thanks
continue your good works !
Jonathan
2017-04-05 16:55 GMT-04:00 George Czabania<EMAIL_ADDRESS>
Actually, I'm pretty sure it's a bunch of namespaced packages I've
forgotten to make public. Have another go at installing it.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/stayradiated/hifi.kitchen/issues/10#issuecomment-291994017,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ARDzeGxOEc1o_r7WxUsOi_56EqVAQITFks5rs__OgaJpZM4MzaPZ
.


EnderIO / Applied Energistics compatibility issue crashing minecraft

Issue Description:
When I try to load EnderIO together with Applied Energistic minecraft crashes at launch.
What happens:
Minecraft crashes at launch.
What you expected to happen:
Minecraft loading properly.
Steps to reproduce:

Put EnderCore, EnderIO and Applied Energistics in mods folder.
Launch Minecraft.

Affected Versions (Do not use "latest"):

EnderIO: v<IP_ADDRESS>_beta
EnderCore: v<IP_ADDRESS>-beta
Minecraft: 1.10.2
Forge: <IP_ADDRESS>5
Applied Energistics 2: v4_alpha_9

Your most recent log file where the issue was present:
http://pastebin.com/wpZ9MDr9
Extra Information:
As I am not sure which of the 2 mods is responsible I posted this in both githubs, the other ticket can be found here: https://github.com/AppliedEnergistics/Applied-Energistics-2/issues/2708

This is very weird, I tried it again and it still crashes. Also, I don't really know what logfile you are looking for as missing, because I did post a crashlog pastebin link above. If I know what you are missing I can provide it!

Screenshots of modlist with either just EnderIO or just AE2:

Tried to reinstall forge without mercurius as that seemed to be a major difference between your modlist and mine, but it still crashes.
Here is another crashlog: http://pastebin.com/u9E9Htuf

Closing this one, see EA2 ticket for status.

Just a little question, so I can make better reports in github in the future. This topic has "log missing" as a tag, what log other then the two crashlogs do I need to post that were missing now?

Those are crash reports you posted. I wanted to have a look at the normal logfile of that run. The one that shows up in the launcher window. Because there I can see what happened before it finally crashed, e.g. if some mod wrote a line like "not registering oredict entry because there's a full moon today" or if one of those cracked launchers was used that corrupt the game startup process, or ...

Ah, thats clear, I also asked that in a post above because I am more then happy to provide anything a mod author needs to find out what goes wrong! I will post both in future tickets, thanks for clarifying!

Funny thing is: Whenever a report contains a full log and everything, I can diagnose the problem with a look at the first line of the stack trace and don't need anything more. ;)


Fix loading libShimulator.dylib from wrong bundle in testAppCrashLogIsFetched test case

The test case was trying to load libShimulator.dylib from wrong bundle.
This PR resolves this issue.
Note that the test is still failing with error: Failed to find haystack log
Any idea for this?

🚢


Alternate table styling to vastly improve readability

As I was reading down the list for the 100th time a thought occurred to me, it could be much easier to read.
And by read I mean be able to compare browsers at a glance.
How? Well as a baseline, the site currently looks like this:

That's a whole lot of whitespace with a lot of small details that are incredibly hard to discern. I personally end up spending way too much time squinting at the massive grid of tiny checks and crosses before I can gain much useful insight.
I believe there are a few things that can help mitigate this:
Better row differentiation/contrast
This is not perfect and still has the problem of really small icons that are hard to discern, but at least comparing between browsers becomes much easier.

To do this all you have to do is change
table.comparison-table tr:nth-child(2n+1) td {
  background-color: #eee;
}

to
table.comparison-table tr:nth-child(2n+1) td {
  background-color: #c9c9c9;
}

Colored Cell Backgrounds
This one's a little harder to implement but makes judging the browsers as a whole much easier.
I took inspiration from Wikipedia's colored tables for this one.

Changed CSS (example image includes previous change as well):
.good {
  color: black;
  background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAwAAAAMCAYAAABWdVznAAAABHNCSVQICAgIfAhkiAAAAVNJREFUKFOd0b9Lw0AUB/Cm1yKEVBFLS5J26SIdLAXrFFfHjqLgYKF/QzeRIIJKhVIR587ZQkvmLJ06dbE4GDIle2Jj0vyo3xMRFfyBBy+Xd/d5L9yFpP4wWq1WplKpZGezWcz85oHT0+m0nSTJZi6Xu8j8VPCGj6MouoJbdV23kP6uQJZlBp2PgLsw6wiXYZh70mw2sxzHHYiimLcsy6QNKFZV9RC4hzRPMSHkpF6v3xCWZTvYuIzjeK9UKj3Ytv3oOM4+1vqABcQT8Cnw3WAwiEixWGwvl8tt2gkH2xUEgQfuIBcQc2C5XC7fKooSIU+RarWq+77P4r2B2ECxhHkN4QGfAfeHw2FIMR3ENM2gVquNPc9bAd7BGr25Z+BznKs3Go3e8WsBfRiGscCXxkEQZFG0Bdzlef5a07QF3f84Pv04SZK4MAwbuIiJruvzr/hf+QtVuY51J4y/oQAAAABJRU5ErkJggg==);
  background-color: #9f9;
}
.bad {
  color: black;
  background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAoAAAAKCAYAAACNMs+9AAAABHNCSVQICAgIfAhkiAAAASBJREFUGFdNkMtKw0AUhk0nyV5dJZLbQgUVLaVQpll20ZVP4FJ9AR9A3PgAFt14WfkkLpIIVummRcVdAgV9gyQkfiMJOHDg/Of/zpk5I8IwlJZlTVzXTbMsS1f+HSnl2Lbta8/zvgTQbVVVh3VddylMgZeKHXLKsryhLok1waRvkh5xQAyCIHhxHMctiuIBvaNp2pthGOda0y0x7jB2Md6pdci3yGemaZ5EUfT6BzbwAPgRYFNpoA+gIwUp3Wk4ZZTkVauVR5PRaqEStus1b9qj4ZP4AdpmyaHv+7OUowFJtptg9AHmPPxYTc/z/J5al3yh6/qZ4J+uKIwa6DSO42cGLNl+ysQ+3j6XrgtGp4gNui6SJHlq36Rg/nWOXsW7/AWfSJ2DwhlOMwAAAABJRU5ErkJggg==);
  background-color: #fbb;
}
.na {
    color: black;
    font-weight: bold;
    text-align: center;
    background-color: #ffb;
}

Some kind of divider between rows might be a good idea but I think it's fine as is (and is probably more visually pleasing in either case)
Bonus! - Ability to Hide Rows and Columns
This would be a great bonus feature to add regardless, but especially as there are more browsers added this will become necessary to properly compare browsers.

I do like how the colored boxes increase readability, but personally I believe it ends up making the website look tacky, idk if a less bright shade would look better, or another solution would work better, like making the icons bigger, but I definitely agree that readability is an area that can be improved on this website

Shade can always be changed, this is just a concept.
As for bigger icons, I think that would work if there weren't so many rows. Expanding that much information down even more wouldn't be a good thing.

Hi @RageGamerBoi -- thank you very much for the suggestions. I think you're making a very important point that I should think about how to improve readability. As @IronMaltese points out, I also think aesthetics are important, though I'm very aware of the limitations of my own design abilities.

Yes, please!

But the yellow color doesnt fit imho. Gray/White would be better

and account for color-blindness :)

seem great and simple to do .
in the page the dev can add a tick box in the header > in the where the legends for tick , x , - ,  is . jsut put box in the left or right with text "shadow"  .
so when one click to tick it the function activated should just add this code  that OP already gave . done


Linking react-scripts with the projects throws an error.

Description
When I try to link the react-scripts package with npm link ../create-react-app/packages/react-scripts and then try to build the project an error appears:

Environment
node v14.16.1
npm 6.14.12
P.S: Keep up the good work guys!!!

You need to import The package
probably try to recreate project and add component by component ?
If the project was made as library none of those issue would be possible

You need to import The package probably try to recreate project and add component by component ?
If the project was made as library none of those issue would be possible

Thank you for the response, but I don't understand what do you mean?

I can confirm that the current "main" branch of react-scripts is not working.


x/net/proxy: socks5 dialer results can no longer be cast to *net.TCPConn

Something recent (it appears to be this commit: https://github.com/golang/net/commit/61147c48b25b599e5b561d2e9c4f3e1ef489ca41#diff-431387eb7262e1cfc79b125eb8a67c60) has broken the cast to *net.TCPConn. I don't know if this is intentional or not. If it is then I'd appreciate any advice on how to accomplish what I'm trying to do without the cast.
What version of Go are you using (go version)?
go version go1.10.1 linux/amd64
Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (go env)?
GOARCH="amd64"
GOBIN=""
GOCACHE="/home/rhs/.cache/go-build"
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/home/rhs/go"
GORACE=""
GOROOT="/usr/local/go"
GOTMPDIR=""
GOTOOLDIR="/usr/local/go/pkg/tool/linux_amd64"
GCCGO="gccgo"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build051890453=/tmp/go-build -gno-record-gcc-switches"
What did you do?
This is slightly complicated to setup, so bear with me here. The reproducer program is available here: https://gist.github.com/rhs/7ed17d49dff7196c3539d2d1b01f6049
# the ssh will eat a terminal
ssh -D localhost:1080 -C -N -oExitOnForwardFailure=yes <host-you-have-ssh-access-to>

curl -o repro.go https://gist.githubusercontent.com/rhs/7ed17d49dff7196c3539d2d1b01f6049/raw/bacb83282856af91dc496b2864d0559c86371284/repro.go
# the go run will eat a terminal
go run repro.go

curl localhost:1234

What did you expect to see?
Until recently this worked fine and connections were proxied:
curl localhost:1234
<!DOCTYPE html>
	<html>
	  <head>
		<meta name="viewport" content="width=device-width, initial-scale=1">
		<meta charset="utf-8">
		<title>No such app</title>
		<style media="screen">
		  html,body,iframe {
			margin: 0;
			padding: 0;
		  }
		  html,body {
			height: 100%;
			overflow: hidden;
		  }
		  iframe {
			width: 100%;
			height: 100%;
			border: 0;
		  }
		</style>
	  </head>
	  <body>
		<iframe src="//www.herokucdn.com/error-pages/no-such-app.html"></iframe>
	  </body>
	</html>

What did you see instead?
Now the cast fails with a panic:
go run repro.go
2018/04/26 08:34:59 Listening...
2018/04/26 08:35:03 CONNECTING: [::1]:45440 to 0xc4200102f0
panic: interface conversion: net.Conn is *socks.Conn, not *net.TCPConn

goroutine 5 [running]:
main.handleConnection(0xc42000e040)
	/home/rhs/repro.go:54 +0x2fa
created by main.main
	/home/rhs/repro.go:30 +0x16b
exit status 2

I don't know if this is intentional or not.

There's no guarantee that the returned interface always contains a specific concrete type, as the package description says that "for a variety of protocols." Otherwise, we cannot implement a bit complicated stuff like SOCKSv6 over TLS 1.3 in near future.

how to accomplish what I'm trying to do without the cast.

A simple way would be using the 4th parameter of the SOCKS5 function like the following:
type sled struct { // or sledge
        tls *tls.Conn
        tcp *net.TCPConn
        udp *net.UDPConn
}

func (s *sled) Dial(network, address string) (net.Conn, error) { // satisfies proxy.Dialer interface
        switch network {
        case "tcp", "tcp4", "tcp6":
                c, err := net.Dial(network, address)
                if err != nil {
                        return nil, err
                }
                s.tcp = c.(*net.TCPConn)
                return c, nil
        }
        return nil, errors.New("not implemented yet")
}

var s sled
d, err := proxy.SOCKS5("tcp", "somewhere:1080", nil, &s)
if err != nil {
        // error handling
}
_, err = d.Dial(...)
if err != nil {
        // error handling
}
// Now you may use s.tcp safely.

PS: s/cast/type assertion/; the notation x.(T) is called a type assertion in the language specification. See https://golang.org/ref/spec#Type_assertions

Also, it's fine to add both Close{Read,Write} methods to socks.Conn to allow to assert the behavior of close-read and -write, for example,
type closeReadWriter interface {
        CloseRead() error
        CloseWrite() error
}

c, err = d.Dial(...)
if err != nil {
        // error handling
}
if cc, ok := c.(closeReadWriter); ok {
        cc.CloseRead()
        cc.CloseWrite()
}


Does dart have a judgment statement corresponding to when in kotlin?

Like this:
                    when (Build.VERSION.SDK_INT) {
                        Build.VERSION_CODES.P -> {
                            // do something
                        }
                        Build.VERSION_CODES.O -> {
                            // do something
                        }
                    }

and:
            when {
                x >= 0 -> {
                    // do something
                }
                y <= 1000 -> // do something
                else -> // do something
            }

I think you're looking for the switch statement
https://dart.dev/guides/language/language-tour#switch-and-case

For questions that are about Dart, rather than Flutter, see https://dart.dev/community


initial Genesis Fuzz Support  fuzz_target.py

Introducing foundational fuzzing support for Genesis to help identify and resolve potential issues.
Once merged, I will submit a pull request to the OSS-Fuzz repo to enable fuzzing for this library on Google infrastructure. Any identified bugs will be reported to the Genesis maintainers.
Kindly review the OSS-Fuzz documentation and Bug Disclosure Guidelines before proceeding with the merge.
Thanks

Hii @YilingQiao Could Team Review This PR as well as can I get maintainer list so I can Add them who get notified above Alerts
Thanks

Hi Shivam,
Thank you for your PR. I’m not sure if we need this workflow at the moment. Are there other similar repositories using it? Our current priority is to address some urgent bugs. Let me discuss this with others and get back to you. Thank you so much for your time!

Hii
Okay Thanks For Response
Yes You can discuss and let me know also I had created Above Fuzz Target py file also
Ultimately it will Improves the System and Get Alerts as you will Review Documentation of it
Thanks again

Introducing foundational fuzzing support for Genesis to help identify and resolve potential issues.
Once merged, I will submit a pull request to the OSS-Fuzz repo to enable fuzzing for this library on Google infrastructure. Any identified bugs will be reported to the Genesis maintainers.
Kindly review the OSS-Fuzz documentation and Bug Disclosure Guidelines before proceeding with the merge.
Thanks

Hii @YilingQiao Can I Proceed with this?

Reminder
Hii @ziyanx02  @YilingQiao @zhouxian Can I Proceed with this? If yes Could Team please Merge This PR to this Repo
So then I will make PR in ossfuzz to integrate Project
Thanks

Hi, @Shivam7-1 , can you elaborate further on why this is needed and why it is not yet a common practice for similar repositories (such as MuJoCo and Bullet3)? We are not entirely sure about the pros and cons of this additional workflow.

Hii @YilingQiao
Thanks For Response
The initial fuzz integration file is useful to ensure that we can identify potential issues early in the development process

Automated Testing and Early Bug Detection:
Fuzz testing automatically generates random, invalid, or unexpected inputs to test the system’s resilience. By integrating fuzzing into the project early, we can identify edge cases, vulnerabilities, and crashes that might otherwise be missed during manual testing. This significantly enhances the robustness of the system.

Improving Code Quality:
Fuzz testing helps detect flaws that could lead to security vulnerabilities, performance bottlenecks, or unexpected behavior. Integrating this into the Genesis project from the outset allows us to maintain high-quality, stable, and secure code as we move forward.

Efficiency:
Implementing fuzz testing early in the process can save both time and resources. Catching issues early in the development lifecycle helps avoid the higher costs of fixing bugs later in the process, especially when the system is more complex and harder to change.

For similiar Repo I am unaware about this but I think this would be better here to use or any project
Further you can also look into this  OSS-Fuzz documentation and Bug Disclosure Guidelines


Prevent submitting > 1 pending facility claim

Overview

update API to return a bad request error if a user attempts to claim a
facility for which that user already has a pending claim
update API to send back a lists of OAR IDs for which users have
pending and approved facility claims, both on sign in and also on
submitting a new claim
adjust the facility details UI to prevent a user from seeing claim a
facility links when a claim is pending
add facility details sidebar message indicating "You have a pending claim on this facility" when
appropriate

Connects #555
Demo

Testing Instructions

sign in as c8@example and try to submit more than one claim for the same facility
you cannot

Checklist

[ ] fixup! commits have been squashed
[ ] CI passes after rebase
[ ] CHANGELOG.md updated with summary of features or fixes, following Keep a Changelog guidelines

Looking at this now.

Thanks again for catching the trailing comma thing! I fixed it and am going to merge this.


[WB-5300] Lets exit(-1) when the backend crashes

https://wandb.atlassian.net/browse/WB-5300
Description

Fixes poll_exit to timeout every 5 seconds
communicate() now checks for internal process like publish does (it should have been there)
print a wandb.termerror() to the console when things go horribly wrong (internal process crashes)

Testing
Manually creating internal process crashes

Not clear to me how the change to _communicate_async will change our current behavior / cause sys.exit(-1), but trust your judgment on this.

All these changes were needed, before the poll_exit request was blocking (because it was inadvertently sending timeout=None), now it properly polls.  and if when it is polling it gets to the point where the internal process is dead, it will raise an exception,   sys.exit(-1) doesnt really do much from the internal process, i just left it.


Conveniently load strings with setView

I have found it useful to be able to render a template string directly with setView.
The current implementation only work with Backbone.Layout objects but very often u may want to just load a string in a section of a view.
Example:
var ParentView = Backbone.Layout.extend({
  views: {
    ".title": "Backbone LayoutManager", //here
    ".content": new DocView()
  }
});

var parent = new ParentView();
parent.render();

// somewhere later in the code
parent.setView(".title", "More Awesomeness"); // this fails currently

I patched setView to auto-create a Backbone.Layout object when passed a string as the view. The template render function just returns the string as is without any processing.
Any thoughts, can i go ahead and submit a pull request?

Closed, please open a PR to continue discussion.


Mark OIO based transports as deprecated as preparation for removal in…

… Netty 5.
Motivation:
We plan to remove the OIO based transports in Netty 5 so we should mark these as deprecated already.
Modifications:
Mark all OIO based transports as deprecated.
Result:
Give the user a heads-up for removal.

@rkapsi FYI

This is the preparation for https://github.com/netty/netty/issues/8510.