Full compatibility with Segment Anything

I have not found any equivalent request
Feature description
Addition of support for necessary operators to utilize the vit_b SAM Model which can be found here:
Direct download
I have inspected the model using Netron and compared the nodes to the support list here
Below is the list of operators in the network that are partially or fully missing from the support list
Operator (missing support)

Mul (Import)
MatMul (Import)
Sin (Import)
Shape (Import)
Expand (Import)
Not (Import)
ReduceMean (Import)
ConstantOfShape (Full)
Where (Import)
Slice (Import)
OneHot (Import)
Tile (Import)
LayerNormalization (Import)
Gemm (Import)
ReduceMax (Import)
Floor (Full)

Feature motivation
I am currently trying to load and run an onnx model segment-anything inside an image editing app in an effort to provide a masking experience similar to the demo available here. I am integrating it into an existing rust codebase using wgpu that compiles to wasm and runs in the browser.
Before I can select burn as the ml library to support this workflow, I need to be sure that it supports the operators specified in the model.

Thanks for filing this. This is helpful as we prioritize ONNX ops. If you have a direct link to the ONNX file, can you also link this?

Updating Expand to Import, since we just added this op. I need to update the docs.

Submitted a PR to fix the supported OPs document: https://github.com/tracel-ai/burn/pull/1547

This is the model download link provided by the SAM repo

I think it might be faster to implement the model manually in Burn and load the pth weights file, which we now support.
You can check out an existing model to see how it's done: https://github.com/tracel-ai/models/tree/main/resnet-burn
We also have a YOLOX object detection PR in the works: https://github.com/tracel-ai/models/pull/24
@laggui has written a great tutorial on this subject: https://dev.to/laggui/transitioning-from-pytorch-to-burn-45m
Recently, we made tons of enhancements to the PyTorchFileRecorder: https://discord.com/channels/1038839012602941528/1144670451763785769/1216788417984335872

@laggui, @nathanielsimard, @ashdtu, would this be worth implementing ourselves? Should we move this ticket to the models repo?

The community is always one step ahead 😄
We've actually discussed adding SAM to our models and this was in the plans following the release.
We still haven't decided whether we want to reimplement it and use the PyTorch file recorder to import the weights or use the ONNX import.

@laggui, if we decide to work on this, I am more inclined to adding ONNX OPs. It will be biggest bang for the buck instead of spending time to come up with the model by hand (although I am not sure how complex it is).

Btw, not sure if anyone has delved into the SAM code for ONNX export but it doesn't include all the operations to actually run the model for an input image. The encoder part is totally left out of the ONNX export and the exported ONNX model expects image embeddings as input.
In their example they still use their pytorch implementation to provide the embeddings to the ONNX runtime.
So even if we support the missing operations in this issue, SAM support will still not be complete. Is this what you expected @astnmsn?

@laggui Thanks for asking, and yes that is expected. We plan to run the first half of the model to generate the embeddings on the backend using pytorch. Only the second half, which produces the masks from the embeddings and the cursor/click positions, will be run on the client

Regarding Tile Op. We need to rename our current repeat op to repeat_dim and implement a proper repeat for all dimensions at once.

Resolving this ticket will resolve https://github.com/tracel-ai/burn/issues/1560 as well.


Large Repository Size

The repository size is 2G because of a large .pack file in .git/objects/pack/ causing sluggish clones and VSCode's inability to watch for file changes by default. Possible cause is the inclusion of notebook outputs in old commits.

Deleting unnecessary branches has fixed the issue.


Unable to import package.json

⚠ IMPORTANT ⚠ Please check the following list before proceeding. If you ignore this issue template, your issue will be directly closed.

[x] Read the docs.
[x] Use Vite >=2.0. (1.x is no longer supported)
[ ] If the issue is related to 1.x -> 2.0 upgrade, read the Migration Guide first.

Describe the bug
Using type module disallow to import package.json and some other packages to vite.config.ts.
On import the following error is thrown: TypeError [ERR_INVALID_URL]: Invalid URL: ./package.json
The same issue is happening on importing library convict.
Reproduction

Set package's type to module.
Create vite.config.ts and put there:

import packageJson from "./package.json"
export default {
  define: {
    __VERSION__: packageJson.version
  }
}

Run vite or vite build

System Info

vite version: vite/2.0.0-beta.30 linux-x64 node-v14.15.4
Operating System: WSL
Node version: 14.15.4
Package manager (npm/yarn/pnpm) and version: yarn 1.22.10

Logs (Optional if provided reproduction)
failed to load config from $WORKSPACE$/vite.config.ts
error when starting dev server:
TypeError [ERR_INVALID_URL]: Invalid URL: ./package.json
    at onParseError (internal/url.js:259:9)
    at new URL (internal/url.js:335:5)
    at Loader.defaultResolve [as _resolve] (internal/modules/esm/resolve.js:790:5)
    at Loader.resolve (internal/modules/esm/loader.js:86:40)
    at Loader.getModuleJob (internal/modules/esm/loader.js:230:28)
    at ModuleWrap.<anonymous> (internal/modules/esm/module_job.js:56:40)
    at link (internal/modules/esm/module_job.js:55:36)
    at processTicksAndRejections (internal/process/task_queues.js:93:5)

https://nodejs.org/api/esm.html#esm_no_json_module_loading

https://nodejs.org/api/esm.html#esm_no_json_module_loading

Resolved in #1560

Resolved in #1560


Replace configuraiton by configuration in router/middleware/remote.go

:art:

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.

should I assume that the frowny face means you won't be signing the CLI? If so let me know and I will close this pull request. Like it or not, this is the policy

@bradrydzewski Nope, I might sign it but not today (22:30 in France) as I have to ask for an explicit agreement to my superiors before.
I used the confused reaction because, although I understand and respect your policy, this requirement looked too strong regarding of how trivial was this PR.
However, considering:

how easy it would be for you to make the change by yourself
how long it would take for me to get an explicit agreement
the fact that there actually is a typo issue

could you please edit the file by yourself and close this PR instead?

the request to sign a CLA is automated for every new pull request. We do however support the obvious fix rule which is defined as the following:

HOWEVER, very small contributions such as fixing spelling errors, where the content is small enough to not be considered intellectual property, can be submitted by a contributor as a patch, without a CLA. If you submit an obvious fix without first signing a contributor license agreement, then you are agreeing that your submission is not independently copyrightable. The purpose of this exception is to lower the barrier for new contributors to make contributions while retaining the integrity of the project and our community.

We can accept this change under the obvious fix rule if you include the words obvious fix in the commit message.
------------------------------------------------------------------------
commit 370adb3f82d55d912b0cf9c1d1e99b132a8ed3b5
Date:   Wed Sep 18 11:44:40 2013 -0700

  Fix typo in config file docs.

  Obvious fix.
------------------------------------------------------------------------

I hope that helps. If this is too much trouble for a simple spelling fix let me know, and I can close the pull request and make the change myself. Thanks!

We can accept this change under the obvious fix rule if you include the words obvious fix in the commit message.

:+1: I will make the change by myself. Thank you for pointing out such feature!


Updates and replaces fail silently on bulk write

I have tried to use the bulk write method for collections, but writemodels of variant replaceone and updateone are silently failing while insertone works. I checked my mongod log files and there is no evidence of an error. I am using rustc 1.26.2 and mongodb 3.6.4.

I'm not completely familiar with the crate, but after some inspection of the source code, I found snippets of code that seem suspect and may relate to this issue.
On lines 606-608 of coll/mod.rs: https://github.com/mongodb-labs/mongo-rust-driver-prototype/blob/5b9807e8b1e54cb89d318f42de8c45264da55e5e/src/coll/mod.rs#L606-L608
Shouldn't this be:
        if !exception.unprocessed_requests.is_empty() {
If the unprocessed_requests vector is empty, wouldn't that mean no unprocessed requests?
On lines 539-543 of coll/mod.rs: https://github.com/mongodb-labs/mongo-rust-driver-prototype/blob/5b9807e8b1e54cb89d318f42de8c45264da55e5e/src/coll/mod.rs#L539-L543
These lines seem to be copied from execute_delete_batch and it's strange to me that they are in a function called execute_update_batch. Is this a typo or is there an ulterior motive?
I cloned the repo and changed the lines above and re-ran my app, but the update operations still do not go through. However, the BulkWriteException now is correctly returned as Some and my updates are present in the unprocessed requests vector.

Closed by #258.


Notification shows pop-up instead of integrating with notify

My Setup

My OS name and version:  Ubuntu 16.03
My current app version: 1.3.1
[x ] I have tested with the latest application version
[x ] I can simulate the issue easily

Description
Desktop notifications show up as Pop-Up windows instead of integrating with Unity notify osd
Current Behavior
Pop-Up windows with "Cancel"/"OK" pops up

Expected Behavior
Expect notification bubble ala;

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

Same thing happening on Ubuntu 16.04LTS

I had the same issue on Ubuntu 16.04.
This fixed it for me:
$ sudo touch /usr/lib/libunity-electron_notification_fix

source
You can also do export ELECTRON_USE_UBUNTU_NOTIFIER=1
source

@alfredbez Thanks a lot! The first solution fixed this annoying bug :)

Thanks!
export ELECTRON_USE_UBUNTU_NOTIFIER=1
... fixed it for me

This did not work for me on ubuntu 16

@cbajohr where did you put the export in your .bashrc / .zshrc file?

@krisleech right at the bottom of the file(s)

Guys, can you please try again with the version 2.2.0?

Confirmed it is fixed with the latest version, v2.2.0.


osm: Get XDS Certificate Validity Period from ConfigMap

This PR makes the validity of the certificate issued to Envoy proxies for connectivity to the XDS Control Plane controlable via ConfigMap.
The configurator gets GetGetControlPlaneCertValidityPeriod, which convert the ConfigMap's control_plane_cert_validity_period_minutes into time.Duration

(partially) Addressed with https://github.com/openservicemesh/osm/pull/1799


Fix base64 decoding of UTF-8 test in Basic Auth

Because JavaScript uses UTF-16 for it's strings, and base64 operates on 8-bit values, plainly decoding results in broken output.
Here's a bit more info, although I fixed it differently from how they did it.
https://www.base64decoder.io/javascript/

Thanks~!


Futility prunning

https://www.chessprogramming.org/Futility_Pruning
When:

Enabled by settings
We are not in forced mode
And depth == target depth - 1
And there are no captures or promotions possible from this position
And, in current position, opposite side has no possible captures nor promotions
And evalBoard board is within reasonable limits, e.g. [-10; 10]
And evalBoard board <= current best + 1

Then:

Do not consider opponent moves - just return evalBoard board.

This is actually required for "large" rules, such as canadian, turkish and armenian.

Done without setting for now, does not seem to reduce quality anyhow


use standard adam parameters

With the current Adam parameters it is almost impossible to train a model.
I suggest using the "standard" Adam parameters as recommended by the original paper.
See http://arxiv.org/pdf/1412.6980.pdf
I have tested them on session 2 with success.

@bastings thanks for making the PR! Can you provide a bit more details on how this change improved your training?

With the current values cost does not go down from about 44, using the attention-based enc-dec of session 2. With the values in the PR cost goes down. Was there any reason to not use the default adam hyperparameters?

@bastings Would it be possible to test over several data sets or language pairs?
From this I think maybe it'd be good to put a table in the README for training/testing metrics, for us self-learners?

Maybe that would be overdoing it a bit, but what about I post the loss on a small validation set comparing the 2 Adam initialisations?
Still, besides this, I think it would be good practice to have the recommended (and widely used) Adam parameters as standard. A stronger case is needed to keep the (current) alternative ones, especially since they do not seem to work well.

@bastings that'll be awesome (the loss on a small validation set.)
I believe the current Adam parameters are from the earlier version of the paper on arXiv. There's been a number of updates to the paper, but I haven't bothered to follow up on it.

Here we go (BTEC spoken corpus, 44k training sentences, 1k dev set)
6 epochs using old Adam parameters (validation after every epoch):
Valid loss:  43.5281
Valid loss:  43.4839
Valid loss:  43.4748
Valid loss:  43.4692
Valid loss:  43.4664
Valid loss:  43.4649
6 epochs Using new Adam parameters:
Valid loss:  35.0617
Valid loss:  29.2072
Valid loss:  25.3714
Valid loss:  23.5589
Valid loss:  22.5608
Valid loss:  21.8455
However, I noticed later that in the latest Adam paper b1 and b2 are used inverted from how they are in the code. The code can be updated like this to reflect it:
    m_t = (b1 * m) + ((1. - b1) * g)
    v_t = (b2 * v) + ((1. - b2) * tensor.sqr(g))

This also means that my second run was using the same parameters as the first (because it was using b1 and b2 inverted), except for the learning rate.
It might be good to update the code to reflect the latest Adam version, so that the parameters work as intended. But as for the default parameters, now I am less sure.

Hey @bastings, we actually have the latest implementation of adam (bias-corrected - 8th version of the paper) here, but of course, i agree we should put this latest version here in the tutorial as well. Would you mind changing the PR, or i can make another one. Thanks a lot for the effort and the numbers btw.

Nice @orhanf , I'll change the PR with this.
Are the ups and no_gshared features necessary to have for this tutorial?

@bastings, ups and no_gshared are not necessary for the tutorial, thanks a bunch.

Hi @orhanf it looks like that is an implementation of the slower version (Algorithm 1) of Adam, but using the learning rate calculation of the more efficient version (last paragraph before par 2.1), i.e. you don't need to calculate:
m_t_hat = m_t / (1 - fix1)
v_t_hat = v_t / (1 - fix2)

if you use     lr_t = lr * (tensor.sqrt(1 - fix2) / (1 - fix1))
Do you agree?

@orhanf @kyunghyuncho shall I close this and make a new PR with the corrected Adam code?
Would be great if you could confirm the above before I do so.

Hi @bastings, sorry for the latency.
I think its better to keep both versions (slower and fast), but specifying a flag to chose between them.
And thanks again for the effort.

@orhanf the 'slow' version is presented in the Adam paper just for clarity, why would anyone want to use that? Every library I know implements the optimised version.

okay, fast one only then :)

@orhanf cheers, coming up in a new PR :-)


Implement the baseline glove_solution.py

The lab on text classification will be only after a few weeks. Therefore, it would be good to

See the lecture from the previous year from Martin
Find the lab task
Implement the lab task
Apply the knowledge obtained to write the glove_template.py file

Glove paper: https://nlp.stanford.edu/pubs/glove.pdf
Short description: https://nlp.stanford.edu/projects/glove/

Can reuse code from ex10 (movie recommendations)

Already done on lab, solution provided by TAs


embeddings creation is single threaded?

eh?

yes, Based on the following two points:

The embeddings API supports batching; for example, text-embedding-3-large can handle a batch size of 100.
The embeddings API has a rate limit.


Add asyncTransfer in PullPayment

🎉 Description

[x] 📈 This is a feature request.

📝 Details
Is it possible to add asyncTransfer method to allow payment transfer between payees?
    function asyncTransfer(address _from, address _to, uint256 amount) internal {
        payments[_from] = payments[_from].sub(amount);
        payments[_to] = payments[_to].add(amount);
    }

Hi @wanglingsong! Thank you for the suggestion.
We are working on a fix for #901 to make PullPayment more trustless, and unfortunately I don't think this feature will make sense after this fix.


Update CLI reference docs with latest changes from 19.03 branch

thought there were more changes, but looks like it's quite limited; opening a PR anyway 😂

@StefanScherer ptal


Remove odd conditional in run-filter

The check doesn't work, and what it's supposed to handle is handled in handle-filter.js.
You might want to review this PR using whitespace-ignoring mode

Which is clearer now that the conditional became easier to read. LGTM


Doc fix to include ipex references

Added ipex reference in the installation.mdx alongside openvino and neural compressor and also in the hardware partner box
https://huggingface.co/docs/optimum/main/en/index
@jiqing-feng @echarlaix

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.


⚠ Fortnite has degraded performance

In 602a348, Fortnite (https://fortnite.com) experienced degraded performance:

HTTP code: 200
Response time: 1541 ms

Resolved: Fortnite performance has improved in e82b82f.


Old Jenkins version

could you update to the latest jenkins version, please?

ideally if you could a small script to have jenkins automatically update itself

Any update on this?

I do not believe that I'll get back to this project in the nearest future as I'm not using it now, but I can check and merge contributions.


doc: add documentation for gpio

The important information here is that if the user call
sol_gpio_open() more than once for the same pin, the
behaviour will be undefined per platform.
Signed-off-by: Ricardo de Almeida Gonzaga<EMAIL_ADDRESS>

merged following the comments, thanks!


GRPC V2 : Init

Purpose
Add support for GRPC V2 / GetAnonymityRevoker
Changes
Added new Client to support GRPC V2
Checklist

[x] My code follows the style of this project.
[x] The code compiles without warnings.
[x] I have performed a self-review of the changes.
[x] I have documented my code, in particular the intent of the
hard-to-understand areas.
[] (If necessary) I have updated the CHANGELOG.

CLA acceptance
By submitting the contribution I accept the terms and conditions of the
Contributor License Agreement v1.0

link: https://developers.concordium.com/CLAs/Contributor-License-Agreement-v1.0.pdf

[x] I accept the above linked CLA.

Also the build failure must be fixed before merging.

Also the build failure must be fixed before merging.

the build passes now


outdated codes in databricks data pipelines page

[Enter feedback here]
A couple of outdated codes on this page, https://docs.microsoft.com/en-us/azure/databricks/dev-tools/data-pipelines.

bash code airflow initdb should be airflow db init.
bash code airflow list_dags should be airflow dags list.

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

ID: a8b5b7c1-8b46-d5e8-2a5a-e87fc1e9c40e
Version Independent ID: 1a3c1ee9-7e1f-177f-15f5-6f6a61e80ecc
Content: Managing dependencies in data pipelines - Azure Databricks - Workspace
Content Source: databricks/dev-tools/data-pipelines.md
Service: azure-databricks
GitHub Login: @mssaperla
Microsoft Alias: saperla

@youcc
Thanks for the feedback! We have assigned the issue to the content author to investigate this and update the document as appropriate.

@youcc
Thanks for the feedback! We have assigned the issue to the content author to investigate this and update the document as appropriate.

@mssaperla Could you please have a look at this and do the helpful needed. Thanks

@mssaperla Could you please have a look at this and do the helpful needed. Thanks

Thanks for providing feedback that helps improve our documentation. This issue has been resolved and we are closing the issue.
#please-close

#please-close


Update readme

Coverage increased (+0.008%) to 99.855% when pulling 4bc2bdbf9d432ae300c8e660720adf46ff2fa07e on docs into 2f567d3290a8110469e390badbb4fe800a879ed9 on master.

Coverage increased (+0.008%) to 99.855% when pulling 4bc2bdbf9d432ae300c8e660720adf46ff2fa07e on docs into 2f567d3290a8110469e390badbb4fe800a879ed9 on master.

Coverage increased (+0.008%) to 99.855% when pulling 4bc2bdbf9d432ae300c8e660720adf46ff2fa07e on docs into 2f567d3290a8110469e390badbb4fe800a879ed9 on master.

Coverage increased (+0.008%) to 99.855% when pulling 4bc2bdbf9d432ae300c8e660720adf46ff2fa07e on docs into 2f567d3290a8110469e390badbb4fe800a879ed9 on master.

Coverage increased (+0.008%) to 99.855% when pulling 0f1ed3beaeaf880ee459d9aa80fd75ab726e66ae on docs into 2f567d3290a8110469e390badbb4fe800a879ed9 on master.

Coverage increased (+0.008%) to 99.855% when pulling 29e52867fc2563fbac87c2600ac7f16e2e44fa97 on docs into 2f567d3290a8110469e390badbb4fe800a879ed9 on master.


Fix --data-path command line option and remove redundant path objects/methods from Platform::

Description

Restores/Implements --data-path command line option to support running from an arbitrary working directory
Removes rendundant path objects/methods from Platform:: - these were confusing and are no longer needed

Fixes #1056
General Checklist:
Please ensure the following points are checked:

[x] My code follows the coding style
[x] I have reviewed file licenses
[x] I have commented any added functions (in line with Doxygen)
[x] I have commented any code that could be hard to understand
[x] My changes do not add any new compiler warnings
[x] My changes do not add any new validation layer errors or warnings
[x] I have used existing framework/helper functions where possible
[x] My changes do not add any regressions
[x] I have tested every sample to ensure everything runs correctly
[x] This PR describes the scope and expected impact of the changes I am making

Note: The Samples CI runs a number of checks including:

[x] I have updated the header Copyright to reflect the current year (CI build will fail if Copyright is out of date)
[x] My changes build on Windows, Linux, macOS and Android. Otherwise I have documented any exceptions

Can't test on Android.
If this PR contains framework changes:

[x] I did a full batch run using the batch command line argument to make sure all samples still work properly

Sample Checklist
Not applicable

I am not able to add/request reviews via GitHub, so I would like to ask @tomadamatkinson and @asuessenbach to also review this.  Thanks.


Permission denied issue that was reportedly fixed in previous update still exists

Java HotSpot(TM) 64-Bit Server VM warning: You have loaded library /opt/jruby-1.6.7/lib/native/i386-Linux/libjffi-1.0.so which might have disabled stack guard. The VM will try to fix the stack guard now.
It's highly recommended that you fix the library with 'execstack -c ', or link it with '-z noexecstack'.
--- ERROR REPORT TEMPLATE -------------------------------------------------------
Error Report
Questions
Please fill out answers to these questions, it'll help us figure out
why things are going wrong.

What did you do?
I ran the command /home/nifi/.rvm/gems/jruby-<IP_ADDRESS>/bin/bundle

What did you expect to happen?
I expected Bundler to build and install the gems in the directory I was in, which works for at least one co-worker and has worked in the past in a different environment

What happened instead?
Instead, what happened was the error below.

Have you tried any solutions posted on similar issues in our issue tracker, stack overflow, or google?
I tried looking through the Issues on GitHub which indicate that issues like mine were fixed in the version of bundler that I'm on

Have you read our issues document, https://github.com/bundler/bundler/blob/master/doc/contributing/ISSUES.md?
...

Backtrace
Errno::EACCES: Permission denied - /tmp/bundler-compact-index-20170315-4211-1i69fq8/.
  org/jruby/RubyFile.java:443:in `initialize'
  org/jruby/RubyIO.java:1135:in `open'
  /opt/jruby-1.6.7//lib/ruby/1.8/fileutils.rb:699:in `remove_entry_secure'
  /opt/jruby-1.6.7//lib/ruby/1.8/tmpdir.rb:131:in `mktmpdir'
  /home/nifi/.rvm/gems/jruby-<IP_ADDRESS>/gems/bundler-1.14.6/lib/bundler/compact_index_client/updater.rb:30:in `update'
  /home/nifi/.rvm/gems/jruby-<IP_ADDRESS>/gems/bundler-1.14.6/lib/bundler/compact_index_client.rb:81:in `update'
  /home/nifi/.rvm/gems/jruby-<IP_ADDRESS>/gems/bundler-1.14.6/lib/bundler/compact_index_client.rb:68:in `update_and_parse_checksums!'
  /home/nifi/.rvm/gems/jruby-<IP_ADDRESS>/gems/bundler-1.14.6/lib/bundler/fetcher/compact_index.rb:68:in `available?'
  org/jruby/RubyMethod.java:117:in `call'
  /home/nifi/.rvm/gems/jruby-<IP_ADDRESS>/gems/bundler-1.14.6/lib/bundler/fetcher/compact_index.rb:15:in `available?'
  org/jruby/RubyProc.java:270:in `call'
  /home/nifi/.rvm/gems/jruby-<IP_ADDRESS>/gems/bundler-1.14.6/lib/bundler/fetcher.rb:157:in `use_api'
  /home/nifi/.rvm/gems/jruby-<IP_ADDRESS>/gems/bundler-1.14.6/lib/bundler/source/rubygems.rb:341:in `api_fetchers'
  org/jruby/RubyArray.java:2395:in `select'
  /home/nifi/.rvm/gems/jruby-<IP_ADDRESS>/gems/bundler-1.14.6/lib/bundler/source/rubygems.rb:341:in `api_fetchers'
  /home/nifi/.rvm/gems/jruby-<IP_ADDRESS>/gems/bundler-1.14.6/lib/bundler/source/rubygems.rb:346:in `remote_specs'
  /home/nifi/.rvm/gems/jruby-<IP_ADDRESS>/gems/bundler-1.14.6/lib/bundler/index.rb:10:in `build'
  /home/nifi/.rvm/gems/jruby-<IP_ADDRESS>/gems/bundler-1.14.6/lib/bundler/source/rubygems.rb:345:in `remote_specs'
  /home/nifi/.rvm/gems/jruby-<IP_ADDRESS>/gems/bundler-1.14.6/lib/bundler/source/rubygems.rb:82:in `specs'
  /home/nifi/.rvm/gems/jruby-<IP_ADDRESS>/gems/bundler-1.14.6/lib/bundler/definition.rb:263:in `index'
  org/jruby/RubyArray.java:1615:in `each'
  /home/nifi/.rvm/gems/jruby-<IP_ADDRESS>/gems/bundler-1.14.6/lib/bundler/definition.rb:261:in `index'
  /home/nifi/.rvm/gems/jruby-<IP_ADDRESS>/gems/bundler-1.14.6/lib/bundler/index.rb:10:in `build'
  /home/nifi/.rvm/gems/jruby-<IP_ADDRESS>/gems/bundler-1.14.6/lib/bundler/definition.rb:258:in `index'
  /home/nifi/.rvm/gems/jruby-<IP_ADDRESS>/gems/bundler-1.14.6/lib/bundler/definition.rb:252:in `resolve'
  /home/nifi/.rvm/gems/jruby-<IP_ADDRESS>/gems/bundler-1.14.6/lib/bundler/definition.rb:176:in `specs'
  /home/nifi/.rvm/gems/jruby-<IP_ADDRESS>/gems/bundler-1.14.6/lib/bundler/definition.rb:164:in `resolve_remotely!'
  /home/nifi/.rvm/gems/jruby-<IP_ADDRESS>/gems/bundler-1.14.6/lib/bundler/installer.rb:226:in `resolve_if_need'
  /home/nifi/.rvm/gems/jruby-<IP_ADDRESS>/gems/bundler-1.14.6/lib/bundler/installer.rb:78:in `run'
  /home/nifi/.rvm/gems/jruby-<IP_ADDRESS>/gems/bundler-1.14.6/lib/bundler/installer.rb:24:in `install'
  /home/nifi/.rvm/gems/jruby-<IP_ADDRESS>/gems/bundler-1.14.6/lib/bundler/cli/install.rb:70:in `run'
  /home/nifi/.rvm/gems/jruby-<IP_ADDRESS>/gems/bundler-1.14.6/lib/bundler/cli.rb:181:in `install'
  /home/nifi/.rvm/gems/jruby-<IP_ADDRESS>/gems/bundler-1.14.6/lib/bundler/settings.rb:99:in `temporary'
  /home/nifi/.rvm/gems/jruby-<IP_ADDRESS>/gems/bundler-1.14.6/lib/bundler/cli.rb:180:in `install'
  org/jruby/RubyKernel.java:2076:in `send'
  /home/nifi/.rvm/gems/jruby-<IP_ADDRESS>/gems/bundler-1.14.6/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
  /home/nifi/.rvm/gems/jruby-<IP_ADDRESS>/gems/bundler-1.14.6/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'
  /home/nifi/.rvm/gems/jruby-<IP_ADDRESS>/gems/bundler-1.14.6/lib/bundler/vendor/thor/lib/thor.rb:359:in `dispatch'
  /home/nifi/.rvm/gems/jruby-<IP_ADDRESS>/gems/bundler-1.14.6/lib/bundler/cli.rb:20:in `dispatch'
  /home/nifi/.rvm/gems/jruby-<IP_ADDRESS>/gems/bundler-1.14.6/lib/bundler/vendor/thor/lib/thor/base.rb:440:in `start'
  /home/nifi/.rvm/gems/jruby-<IP_ADDRESS>/gems/bundler-1.14.6/lib/bundler/cli.rb:11:in `start'
  /home/nifi/.rvm/gems/jruby-<IP_ADDRESS>/gems/bundler-1.14.6/exe/bundle:32:in `(root)'
  /home/nifi/.rvm/gems/jruby-<IP_ADDRESS>/gems/bundler-1.14.6/lib/bundler/friendly_errors.rb:121:in `with_friendly_errors'
  /home/nifi/.rvm/gems/jruby-<IP_ADDRESS>/gems/bundler-1.14.6/exe/bundle:24:in `(root)'
  org/jruby/RubyKernel.java:1058:in `load'
  /home/nifi/.rvm/gems/jruby-<IP_ADDRESS>/gems/bundler-1.14.6/exe/bundle:19:in `'
  org/jruby/RubyKernel.java:1083:in `eval'
  /home/nifi/.rvm/gems/jruby-<IP_ADDRESS>/bin/jruby_executable_hooks:15:in `(root)'

Environment
Bundler   1.14.6
Rubygems  1.8.15
Ruby      1.8.7 (2012-02-22 patchlevel 357) [java]
GEM_HOME  /home/nifi/.rvm/gems/jruby-<IP_ADDRESS>
GEM_PATH  /home/nifi/.rvm/gems/jruby-<IP_ADDRESS>:/home/nifi/.rvm/gems/jruby-<IP_ADDRESS>@global
RVM       1.29.1 (latest)
Git       not installed
Platform  universal-java-1.8
OpenSSL   JRuby-OpenSSL 0.9.20
rubygems-bundler (1.4.4)

--- TEMPLATE END ----------------------------------------------------------------

Unfortunately, an unexpected error occurred, and Bundler cannot continue.

First, try this link to see if there are any existing issue reports for this error:
https://github.com/bundler/bundler/search?q=Permission+denied+-+%2Ftmp%2Fbundler-compact-index-20170315-4211-1i69fq8%2F.&type=Issues

If there aren't any reports for this error yet, please create copy and paste the report template above into a new issue. Don't forget to anonymize any private data! The new issue form is located at:
https://github.com/bundler/bundler/issues/new

Does the user/group that is running bundle have access to read/write to /tmp/bundler-compact-index-20170315-4211-1i69fq8/.?

Thanks for providing the error. Bundler really should be presenting an error to the user when Bundler cannot write to either $HOME or the tmp dir. I can work on this.

I have one user called nifi. I have not installed anything as root. nifi owns the ~/.bundle directory. Also, the /tmp/bundler-compact-index-20170315-4211-1i69fq8/ file is created dynamically during bundle install, and nifi DOES have access. It is also empty when I check the contents after running bundle install. Also, I've tried running this as root and I get the same error.
My suspicion is that the error is because some file doesn't exist that the bundle install expects. I don't think it's a permission error, I think it's a file-doesn't-exist error that is masquerading as a permission error. But that's just a hunch I can't really prove.

Also, a co-worker has installed everything and his seems to work. We can't figure out what we've done differently in our setup. We aren't using a scripted provisioning yet but plan to later.
Running CentOS 6.8 in VirtualBox.

@colby-swandale I'd like to work on this, but I'm not 100% sure what the ask is. Does bundler just need to return an error message if it doesn't have permissions on $HOME or /tmp?

Pretty much, there are similar errors for when the disk was full as well. We already handle these situations in Bundler but the client index  is not, see https://github.com/bundler/bundler/blob/master/lib/bundler/shared_helpers.rb#L112

Thanks for the info. I will get started and put up a PR in the next week or so.

#5786 is fixing a different problem relating to permissions in the bundler directory. I'm not sure what i meant when i said $HOME before.

Sounds good. it looks like creation of the temp dir needs to be wrapped in the block passed to filesystem_access, and filesystem_access needs to rescue whatever exception is thrown if the effective user of the bundler process doesn't have sufficient permissions to create the temp dir.
I should be able to put up a PR this weekend.

-------- Original Message --------
Subject: Re: [bundler/bundler] Permission denied issue that was reportedly fixed in previous update still exists (#5518)
Local Time: August 15, 2017 7:49 PM
UTC Time: August 15, 2017 11:49 PM
From<EMAIL_ADDRESS>To: bundler/bundler<EMAIL_ADDRESS>Adam Wanninger<EMAIL_ADDRESS>Comment<EMAIL_ADDRESS>#5786 is fixing a different problem relating to permissions in the bundler directory. I'm not sure what i meant when i said $HOME before.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

Excellent, thanks!


Bluetooth connection state messes up apps

The console was moved permanently onto Bluetooth, but I moved it back to 'auto' (so it goes to the screen if BT is disconnected) recently as it seemed good for debugging (so any errors get shown to the user).
But this means that BT connection state scrolls the screen and messes stuff up.
So we could:

Add a 'debug' option that, when false (default) moves the console to Bluetooth. When true you get the scrolling, but as you're developing you put up with it :)
Add an option to Espruino to disable the Connection State messages
Change apps/widgets to clear their backgrounds all the time, so scrolling was less of a big deal
Leave the console on Bluetooth permanently - but then you don't see app erros

That connection state message is so annoying when you are not in dev mode. Ditto any console type errors/messages. We've held off from sending watches to a few of our new employees as the immediate GPS error message on the watchface just makes it look like it's broken.
So I'd be a fan of option 1. When I'm not in dev mode, I never want to see any messages on the watch screen, including JS errors etc.

Thanks - option 1 is an easy fix at least, but it does make it more likely that apps will get included that have errors in them :)

Yeah true! We just need a CI/CD pipeline on the emulator and machine vision to interpret the error messages ;-)

Fixed with https://github.com/espruino/BangleApps/commit/9a76d6d8003e1ab98835ff6eccc7c7a5df51710e


sdk/state: ingest transactions and update state with seq num changes

The channel needs some way of having its internal state updated by transactions that can be seen on the network.
If the state package sees a transaction that alters the sequence number of the initiator escrow account it should be a signal that the channel is closing. This should automatically trigger things like #186 so that the participant can no longer transact.
If the sequence number seen is not the sequence number of the latest authorized agreement the participant should have some way of knowing they need to initiate their own close process.
Related to #202 #214 #218

See #204 for the code to build on.


TemplateDoesNotExist: cannlytics_website/pages/account/sign-up.html

Template not found when user navigating to login pages:
django.template.exceptions.TemplateDoesNotExist: cannlytics_website/pages/account/sign-up.html, cannlytics_website/pages/account.html, cannlytics_website/pages/account/account.html, cannlytics_website/pages/general/account.html
at select_template (/usr/local/lib/python3.8/site-packages/django/template/loader.py:47)
at resolve_template (/usr/local/lib/python3.8/site-packages/django/template/response.py:63)
at rendered_content (/usr/local/lib/python3.8/site-packages/django/template/response.py:81)
at render (/usr/local/lib/python3.8/site-packages/django/template/response.py:105)
at _get_response (/usr/local/lib/python3.8/site-packages/django/core/handlers/base.py:143)
at _get_response (/usr/local/lib/python3.8/site-packages/django/core/handlers/base.py:145)
at inner (/usr/local/lib/python3.8/site-packages/django/core/handlers/exception.py:34)

Sign up has been moved to https://console.cannlytics.com/account/sign-up.


How to import new gym environment into spyder

I am very new to the gym environment and python; however, I have years of experience in programming.
I have been trying to set up a new environment for myself by following https://github.com/openai/gym/tree/master/gym/envs#how-to-create-new-environments-for-gym
The environment that I created is currently blank.
But I thought I would test it anyway by using gym-pull to pull it into my Spyder in Anaconda.
After installing gym-pull using pip and import gym-pull as shown below, I got an error message.
import os
import numpy as np
import gym
from gym import wrappers
import gym_pull
gym_pull.pull('github.com/stewegg/gym-foo')

Paste Traceback/Error Below (if applicable)

Traceback (most recent call last):

  File "<ipython-input-20-2337cf17fd1e>", line 5, in <module>
    import gym_pull

  File "C:\ProgramData\Anaconda3\lib\site-packages\gym_pull\__init__.py", line 6, in <module>
    from gym.configuration import logger_setup, undo_logger_setup

ModuleNotFoundError: No module named 'gym.configuration'

Versions

Spyder version: 3.3.1
Python version: 3.7.0
Qt version: 5.9.6
PyQt version: 5.9.2
Operating System name/version: Windows

Dependencies

IPython >=4.0     :  6.5.0 (OK)
cython >=0.21     :  0.28.5 (OK)
jedi >=0.9.0      :  0.12.1 (OK)
matplotlib >=2.0.0:  2.2.3 (OK)
nbconvert >=4.0   :  5.4.0 (OK)
numpy >=1.7       :  1.15.1 (OK)
pandas >=0.13.1   :  0.23.4 (OK)
pycodestyle >=2.3 :  2.4.0 (OK)
pyflakes >=0.6.0  :  2.0.0 (OK)
pygments >=2.0    :  2.2.0 (OK)
pylint >=0.25     :  2.1.1 (OK)
qtconsole >=4.2.0 :  4.4.1 (OK)
rope >=0.9.4      :  0.11.0 (OK)
sphinx >=0.6.6    :  1.7.9 (OK)
sympy >=0.7.3     :  1.1.1 (OK)

I must have miss something.
Any help would be greatly appreciated!
Thank you very much

What does this have to do with Spyder? I don't get it...

What does this have to do with Spyder? I don't get it...

I am sorry. As I am new to this. Could you please point me to the correct place about this issue?

I'd say on the gym repo:
https://github.com/openai/gym/issues


Versions synced on Central are not consistant with or without the mvnpm repo for a given pom.xml

Because of this, a build which passes with mvnpm repo enabled (and the synced with central done) doesn't work on CI (without mvnpm repo).
This is due to the fact that mvnpm repo sees more (all) versions, this resolve to a path of versions in the global tree which gets synced on central.
The path of versions that is resolved from Central only is different (on some occasion at least) and can be broken (missing versions).

Still I wonder why when removing the mvnpm profile I got this log:
ERROR] Failed to execute goal on project quarkus-react: Could not resolve dependencies for project org.acme:quarkus-react:jar:1.0.0-SNAPSHOT: Failed to collect dependencies at org.mvnpm:react:jar:18.2.0 -> org.mvnpm:loose-envify:jar:1.1.0 -> org.mvnpm:js-tokens:jar:[1.0.1,2): No versions available for org.mvnpm:js-tokens:jar:[1.0.1,2) within specified range -> [Help 1]

While with the mvnpm profile on loose-envify was 1.4.0.
This exact case is not reproducible as it is now synced.

ok I think I've got it, it's not problem of versions path, but that Maven wants all the different combination to be "available", having one working path is not enough, even if this is the right working path.

so our job to fix this is to, when syncing a given jar, to also sync all the latest version of all the ranges in its dependencies (and so on).

At the momentwe sync the matched on in a range as requested, and it a later one exists, that will also be synced later. That is enough for central, but I assume the sync of the matched range failed. I will check and revert

Closing in favor of https://github.com/mvnpm/mvnpm/issues/4614


Virtual scroll does the exact opposite. Makes everything lag

The issue
We have a large tree with a couple of thousand nodes total. Some are nested like crazy (like my example), but some also have a root node with 1000+ child nodes (with no children). However, for some reason, it seems like virtual scroll is making everything lag like crazy. Try opening this and scroll up/down in the box:
https://angular-9v2d7m.stackblitz.io/ (source code can be found here)
In the example, I have 10 root nodes, where each has 30 child nodes total (child -> child -> child -> child, and so on).
Temporary fix
Setting useVirtualScroll: false makes it work "great" again. It's still a bit laggy, but it's definitely better than with virtual scroll
My stuff

Latest version of Chrome
Angular 6.0.0
angular-tree-component 8.0.0

Other notes
Edge and Firefox works kind of. The scrolling appears to be very good, compared to Chrome, but not all elements are rendered. Sometimes I can barely see more than 1 or 2 root jobs (and sometimes they're number 6 and number 7 for example). Chrome seems to work perfectly compared to that.

I never tested the tree with 30 node levels. It might be an edge case where it makes sense not to use virtualScroll, but I didn't investigate it thoroughly

The problem occurs when setting the fixed height to a tree wrapper div. Even in your demo if I set the height from current '800px' to 'auto', it works smooth without any lag at all. This should be taken a look at.


What sort of technology required to customize superset

Hi, i want to customize superset. But I have knowledge around javascript, angular, java, HTML ,CSS .
I am exploring python.
What sort of technology required to customize superset.
Like removing the credential page, bookmarking dashboard page so directly can be rendered, and removing user role option.
Last but not the least  Adding custom visualization.
I want to integrate superset in one of my product. Which actually running on Angular2 and Node.js.
Please respond, And any threads available for my requirement please add in you reply so i can refer.

Look at the setup.py and package.json files to see all of the python and js libs that we use.


RNLocalize.getTimezone is not a function.

Bug

Environment info
React Native 0.61.1
React Native localize: 1.3.0

React native info output:
LOG  Error in refreshing data  [TypeError: RNLocalize.getTimezone is not a function. (In 'RNLocalize.getTimezone()', 'RNLocalize.getTimezone' is undefined)]
 // paste it here

Library version: 1.3.0
Steps To Reproduce

a project on RN 0.61.1
$yarn add react-native-localize
Start android emulator
Check the value of RNlocalize.getTimezone()
...

Describe what you expected to happen:

Reproducible sample code

import * as RNLocalize from "react-native-localize";
const tz = RNLocalize.getTimezone();

@emclab Do you link the library with a pod install?


Star glyph not rendering correctly

Gitea version (or commit ref): 32f2559
Operating system: (whatever try.gitea.io runs on)
Can you reproduce the bug at https://try.gitea.io:

[x] Yes https://try.gitea.io/Arrow/TestRepo/issues/1
[ ] No
[ ] Not relevant

Log gist:

Description
The glyph icon for "Star" renders incorrectly on all browsers I tried. I am assuming it has something to do with unicode, as I have seen this issue before related to that. It is possible this affects other glyphs around the gui, but can't say for sure.
Screenshots

This is because you don't have a font installed with the necessary glyph in it.

It does render right on my private gitea instance but it is broken on the try.gitea instance.

I was under the impression that these were font awesome webfont glyphs (not requiring locally installed fonts). Which font would I be missing? Client OS is Windows 10 Build 1803.

@Wqrld could you provide different page where it differ ?

If you refer to the repo listing it use the octicon octicon-star and not icon fa-star-o

I tested a little and only the star is not displayed. Every other content seems to work.
.fa-star-o:before {
    content: "\f006";
}

Strangely, the vendor folder doesn't seems to be touched since 11 month.
https://github.com/go-gitea/gitea/tree/master/public/vendor/assets/font-awesome

@sapk it works on my instance, https://git.feroxmc.ga/Wqrld/Bungee for example (not sure if you can see it)

Your commit seems pretty old (d94472e  is  from May 21st. try.gitea.io is at commit be4ec0c. Mine is flush with latest, at a847d16. If you are brave, I'd suggest upgrading.

It was grabbed from docker a couple days ago, that's weird. but okay.

@bkraul at least we know now that it worked at d94472e. We will have to dissect what happen in between.

Same issue here (Docker setup, latest as of now), anybody knows how the iconfont was built? It doesn't seem to be a "stock" FontAwesome integration (or maybe they just renamed it to "Icons"?)...also had a look at the CSS and same experience here, other "content" values work...

I tried your approach but it seems it breaks the fonts on the startup page (what says "Gitea, git with a cup of tea". I applied as:
i.icon.fa-star-o.icon {
  font-family: "FontAwesome" !important;
}

And that worked to solve the specific problem.

Something else weird that happens by using that override is that the system lags quite a bit while waiting for googlefonts api. I wonder why. Font-awesome is bundled with the gitea install. Maybe the font name for the local webfont import is different?

@bkraul yeah, can imagine that stuff breaks with an !important...not the way to go anyways, but have to dig deeper into the codebase before I can be of any real use =)...just discovered gitea^^...

That's why I don't like semantic UI as it uses ! important in quite some places..

Other work around is just renaming the icon from fa-star-o to fa-start and it works fine.

This fixed for me without further problems. I am using it in my CSS override I wrote, so I am not touching gitea source:
i.icon {
  font-family: FontAwesome;
}

As @lafriks and @exside there seem to be problems with the !important  overrides. I am fortunate that this approach works without it:

I suppose I will leave this open until it is properly resolved.


The cursor style should be the pointer when hovering over the line

The cursor style should be the pointer when hovering over the line.
Add the CSS cursor: pointer when hovering over the slider (not only the circle button).
It will enhance the UX feedback.

@NightCatSama #670


Remove mkdocs-section-plugin as redundant

The feature this plugin provides is already provided by Material for MkDocs and is also enabled by this PR.

Whoops! Looks like the feature is implemented differently by the plugin and we need it for the breadcrumbs after all!


Sleigh documentation is not clear around "pseudo instructions"

Describe the bug
I consider this flaw in the documentation to be serious enough to qualify as a bug rather than a feature request.
About 15 of the Processors included with Ghidra have a "pseudo instructions" section (6502, 8048, 8085, CR16C, Dalvik, HCS_HC, HCS_HC12, XGATE, JVM, m8c, 6805, MCS96, PIC24, PPC, and Z80). But this is a term that is used only once in the Sleigh docs, and seems to not be used the same way.
In the processors it seems to cover constructors that start with an identifier followed by a colon. From 6502:
################################################################
# Pseudo Instructions
################################################################

define pcodeop readIRQ;

################################################################
REL: reloc		is rel	[ reloc = inst_next + rel; ] { export *:2 reloc; }

# Immediate
OP1: "#"imm8    is bbb=2; imm8			{ tmp:1 = imm8; export tmp; }
# Zero Page
OP1: imm8       is bbb=1; imm8			{ export *:1 imm8; }

As opposed to "normal"? instructions that begin with a colon followed by an identifier:
# Instructions

:ADC OP1     is (cc=1 & aaa=3) ... & OP1
{

The one place in the docs uses this example: "... the disassembler should print a pseudo-instruction clr":
:xor r1,r2 is opcode=0xcd & r1 & r2 { r1 = r1 ^ r2; }
:clr r1    is opcode=0xcd & r1 & r1=r2 { r1 = 0; }

But the clr here uses the "mnemonic" field, unlike how "pseudo instruction" seems to be used in the sleigh files.
In fact I was and still am confused about these two kinds of constructors, and I feel this is also not well explained in the docs.
It seems that the optional identifier to the left of the colon and the colon itself are part of the "table header". No more specific term than "identifier" appears to be used. So I suppose "table identifier". The optional identifier to the right of the colon is then part of the "display section" does have a specific term "mnemonic".
I'm not sure if it's meaningful to omit both the optional table identifier and the optional mnemonic. On the other hand it is meaningful to use both, but it's only used six times, in JVM and SparcV9.
I think more people would be writing more sleigh processor definitions if these things were easier to follow for a beginner. I know it's hard to write documentation that's easy for beginners to follow on a topic you understand deeply.
For instance, here's a few things I'd like to do in my sleigh files, but actually I still don't understand well enough to know if they are possible:

Many processors have large groups of instructions with the same syntax, addressing modes, and binary representation, expect the mnemonics differ. I realize this mostly only applies to disassembly and not decompiling. I'm only doing disassembly yet but I can't figure out how to do this using pseudo instructions.
My processor has 17 ways of encoding an operand type it calls 'gdest'. There are several combining patterns it uses such as an FF means the operand will be the following 16 bits rather than the usual 8 bits occupied by the FF, and three 1-bit fields that indicate to use an index or to use indirect vs direct. So far I write out all 17. Also, instructions may have one, two or three 'gdest' fields. So I actually write all 17 out three times (gdestb, gdestc). I don't know if I can reduce either of these types redundancy using pseudo instructions.
I'd like to add an extra layer in addresses where they get replaced by a standard symbol if they have a specific value. I tried several ways to introduce an "Address" pseudo instruction but couldn't get it to work.

At least several of these seems like they should be doable with a proper understanding of pseudoinstructions. A couple I'm less sure.
If the documentation was clearer and matched the terminology in the included sleigh files it might be easier to know which kinds of things are not possible as well as how to implement the things which are possible, but hard to figure out.

They are pseudo pcode operations not instructions. See section "4.6. User-Defined Operations" of the sleigh manual.
... is not related to this at all. See section "<IP_ADDRESS>. The '...' Operator" of the sleigh manual.

They are pseudo pcode operations not instructions. See section "4.6. User-Defined Operations" of the sleigh manual.

Hmm okay. There's a fair bit there I haven't fully understood yet either, but I'll give it another go.

... is not related to this at all. See section "<IP_ADDRESS>. The '...' Operator" of the sleigh manual.

Same with this. I've read that section many times and so far I haven't needed the ellipsis operator even when I thought I was dealing with variable length instructions.
I'm glad some people find it easy to follow.

I'm closing this now that I see that pseudo instructions are about p-code. I'll keep trying to understand what I don't get yet.


Unable to scroll on mobile devices

If the content is long, I am unable to scroll the content on mobile devices and able to see the scroll on desktop. Please let me know the fix for this. You can reproduce the issue here, try from mobile device: https://ung6zf.csb.app/

it has a super simple way to fix it. just create a scroll container inside of the Sheet.Content.
then you can maybe easliy solve it

@Temzasse As I understand the question it is: "How does the sheet know that swiping down is used to scroll a list or it is done with the purpose to close the modal sheet?" I tried it with a basic configuration and with a list on mobile it seems to be an issue.

Right, this question has been asked a few time in various issues and I'm not sure there is a bullet proof way to make scrolling play nicely with the drag gesture. They are by nature similar gestures and conflict with each other. Native apps have solved this somehow but I'm not sure if browsers have the built-in primitives to achieve the same thing 🤔
If there is a way to do that with Framer Motion I'm definitely open to implementing it in to the library 😄

I fixed it by disabling drag on the Sheet.Content, note that you will lose the ability of drag to close.

There is now a new Sheet.Scroller component introduced in v2. You can read more about how it is used here.
It's probably not a perfect solution for all kinds of scrolling problems but I hope it helps with the most common use cases 🙂
I'll keep this issue open for a while so that people can comment on how Sheet.Scroller is working for them.

Sheet.Scroller has been released for a while so closing this one.


Fix .hashtags and .mentions API bugs

Either a bug or an unwanted behaviour depending on your perspective.
If I add a hierarchical hashtag #company/contact/bob then the note.hashtag call will return three items:

company
company/contact
company/contact/bob

I have to workaround this in the Summaries plugin.
The same goes for .mentions as well.
(First reported 2021-09-04.)

Today @dwertheimer observed the following on Discord, which I think are close enough to live here, as further bugs that need sorting.

The note.hashtags array often holds a single empty value for both mentions and hashtags
.mentions = [""]
this should always be
.mentions = [] (if it's empty)
seems to be true in some, but not all of Calendar notes (I have not seen it in Project Notes).
Also, I'm seeing sometimes the .hashtags array includes an entry that is just "#" with no text behind it.

The problem is that all three are valid hashtags in NotePlan, it splits them up, so they can all be shown in the sidebar. That's why it returns them all. So it was originally a "feature", not a bug 😆. But what to do about it now? It would have to do the reverse now, delete "higher order" tags.

Thanks. As you have a use for it as it stands, could you add another getter that returns the longer single hashtag rather than the multiple 'parts'?

Maybe improve documentation on how to deal with it properly

@EduardMe there's a new sub-issue on this that @dwertheimer and I have spotted.
When someone has @repeat(1/7) this gets returned by .mentions as [@repeat(1/7), @repeat(1]. Which stuffs up something in Summaries plugin.
I can work around it, but it will others that use .mentions in time.


Face Detection

Goal(s)

Detect faces in a photo or video and distinguish them from other objects

Input(s)

Photo or video

Output(s)

Bounding box around faces

Objective Function(s)

TBD

I've cleaned the code of one of the SOTA detector implementations (RetinaFace) https://github.com/hcl14/retinaface-pytorch-inference


I can not use SCSS

I am trying to integrate SCSS but I do not understand how it is added in the webpack, can you help me?
Thank you

Have you tried this branch? https://github.com/ctrlplusb/react-universally/tree/feature/postcss-sass

It works perfect! Thank you so much


Pattern panics non-Unicode bytes::Regex

I am using rustc version 1.14.0 and regex version 0.2.1. I found a pattern that panics a non-Unicode bytes::Regex:
thread 'main' panicked at 'called `Option::unwrap()` on a `None` value', src/libcore/option.rs:323

This program demonstrates the panic:
extern crate regex;
fn main() {
    let _ = regex::bytes::Regex::new(r"(?-u).[.]\S\w\x00\x02\x03\x05\x06\x08\x0c\x0e\x10\x12\x14\x16\x17\x19\x1a\x1c\x1e\x21\x23\x25\x27\x28\x2a\x2c\x31\x33\x35\x36\x38\x3b\x3d\x3e\x40\x42\x44\x46\x48\x4a\x4c\x4d\x4f\x50\x52\x53\x55\x56\x58\x59\x5b\x5d\x61\x63\x65\x67\x69\x6a\x6c\x6e\x6f\x70\x72\x74\x76\x77\x79\x7c\x7e\x81\x82\x84\x86\x88\x89\x8b\x8c\x8e\x91\x93\x95\x97\x99\x9b\x9d\x9e\xa1\xa3\xa5\xa6\xa8\xaa\xac\xad\xaf\xb0\xb2\xb4\xb5\xb7\xb9\xbb\xbd\xbe\xc0\xc3\xc5\xc7\xc9\xcb\xcc\xce\xcf\xd1\xd3\xd4\xd6\xd7\xd9\xdb\xdc\xde\xe2\xe3\xe5\xe6\xe8\xe9\xeb\xee\xf1\xf3\xf5\xf7\xf9\xfb\xfc\xfe");
}

The pattern consists of 136 unique literal byte values, plus the sub-patterns ., [.], \S, and \w. Here is what I have been able to find out:

The pattern is close to minimal. Removing any of the 136 literal bytes, or any of the four sub-patterns, avoids the panic. You can add to the pattern anywhere and it still panics.
Order doesn't matter. I constructed the pattern by starting with a much larger bytes::RegexSetBuilder that panicked, removing as much as I could while still having it panic, and sorting.
The panic isn't related to backslash escapes. I.e., you can replace \x44 with a literal D and it still panics.
Some modifications avoid the panic and some do not. For example, changing \x00 to \x01 still panics, but changing \xde to \xdf does not. Changing \w to \b still panics, but changing \w to \d does not.
Non-Unicode is necessary. If you omit the (?-u) (or unicode(false) when using a RegexBuilder or RegexSetBuilder), then it does not panic.

The same thing happens with bytes::RegexBuilder, bytes::RegexSet, and bytes::RegexSetBuilder. The 140 necessary elements can be distributed across multiple patterns when using a builder. Here is an example of a bytes::RegexSetBuilder that panics:
extern crate regex;
fn main() {
    let mut rsb = regex::bytes::RegexSetBuilder::new([
        r"\xa3\xd7\x40\x95\x59\xd4\x2a\x86\x93\xaf",
        r"\x16\xa1\x14\x19\x00\x2c\x27\xcc\x10\xcb\xee\xf5\xeb\xfb\xb5\xd9\x46\x25\x23\x38\x36\x35\x56\x31\x4a\x44\x4c\x99\xc7\x9d\x3d\w\xc0\x9b\x3b\x12\xdb\x89",
        r"\x84",
        r"\xcf\x8c",
        r"\x7c\xbd\x97\xfc\x3e\x6c\x79\x7e\xc3\x9e\x5b\x42\xf3\x17\x06\x08\xc5\xac\x05\x53\xe9",
        r"\xdc\xc9\x8b\x1a\x02\x1c\x76\x6a\xd3\xb4\x91\x0c\x1e\x03\x70\x77\x55\x52\x0e",
        r"\xde\xb2\xad.\x8e\x88\xd6\x81\xf9\xb7\xfe\xce\xf7\xb0\xe6",
        r"\xd1\x4d\x72\x6f\x74\x63\x61\x6e\x67\x65\x50\x4f\x33\xe2\xe5\xf1\xe8[.]\xe3",
        r"\xa6\xbe\xb9\xaa\xbb\x28\x69\xa5\x48\xa8",
        r"\S\x5d\x21\x58\x82",
    ].iter());
    rsb.unicode(false);
    match rsb.build() {
        Ok(_) => println!("ok"),
        Err(e) => println!("error {}", e),
    };
}

Here are all 140 elements of the pattern in order:
.
[.]
 A "minimal" (or perhaps, more straight forward) reproduction is the following:
extern crate regex;

fn main() {
    let mut pat = "(?-u)".to_string();
    for i in 0..256 {
        let hexbyte = format!(r"\x{:02x}", i);
        pat.push_str(&hexbyte);
    }
    let _ = regex::bytes::Regex::new(&pat);
}

The underlying cause of this was the "byte class optimization." In particular, the optimization computes equivalence classes of bytes that are used to transition the DFA, since there is typically a much smaller number of equivalence classes than 256, which means the transition table in memory is much smaller. However, the part of the compiler that computed the equivalence classes tripped over a bug when the number of equivalence classes reached its maximum (256):
        let mut byte_classes = vec![0; 256];
        let mut class = 0u8;
        for i in 0..256 {
            byte_classes[i] = class as u8;
            if self.0[i] {
                class = class.checked_add(1).unwrap();
            }
        }
        byte_classes

In this case, on the last iteration of the loop, the class = class.checked_add(1).unwrap() would uselessly execute and overflow class (which is a u8), and is therefore what caused the panic.
I have a fix for this in #368. Thanks for the report!


fix(autoware_lidar_centerpoint): fix clang-diagnostic-delete-abstract-non-virtual-dtor

Description
This is a fix based on clang-tidy clang-diagnostic-delete-abstract-non-virtual-dtor error.
/usr/include/c++/11/bits/unique_ptr.h:85:2: error: delete called on 'autoware::lidar_centerpoint::VoxelGeneratorTemplate' that is abstract but has non-virtual destructor [clang-diagnostic-delete-abstract-non-virtual-dtor]
        delete __ptr;
        ^
/usr/include/c++/11/bits/unique_ptr.h:361:4: note: in instantiation of member function 'std::default_delete<autoware::lidar_centerpoint::VoxelGeneratorTemplate>::operator()' requested here
          get_deleter()(std::move(__ptr));
          ^
/home/emb4/autoware/autoware/src/universe/autoware.universe/perception/autoware_lidar_centerpoint/lib/centerpoint_trt.cpp:34:17: note: in instantiation of member function 'std::unique_ptr<autoware::lidar_centerpoint::VoxelGeneratorTemplate>::~unique_ptr' requested here
CenterPointTRT::CenterPointTRT(
                ^
/usr/include/c++/11/bits/unique_ptr.h:85:2: error: delete called on non-final 'autoware::lidar_centerpoint::VoxelGenerator' that has virtual functions but non-virtual destructor [clang-diagnostic-delete-non-abstract-non-virtual-dtor]
        delete __ptr;
        ^
/usr/include/c++/11/bits/unique_ptr.h:361:4: note: in instantiation of member function 'std::default_delete<autoware::lidar_centerpoint::VoxelGenerator>::operator()' requested here
          get_deleter()(std::move(__ptr));
          ^
/home/emb4/autoware/autoware/src/universe/autoware.universe/perception/autoware_lidar_centerpoint/lib/centerpoint_trt.cpp:39:13: note: in instantiation of member function 'std::unique_ptr<autoware::lidar_centerpoint::VoxelGenerator>::~unique_ptr' requested here
  vg_ptr_ = std::make_unique<VoxelGenerator>(densification_param, config_);
            ^

Related links
Parent Issue:

Link

How was this PR tested?
Notes for reviewers
None.
Interface changes
None.

Effects on system behavior
None.

The remaining clang-tidy errors in the CI will be fixed at https://github.com/autowarefoundation/autoware.universe/pull/9468.


Tikv aa control on

What is changed and how it works?

Issue Number: Close #xxx
What's Changed:

Related changes

PR to update pingcap/docs/pingcap/docs-cn:
Need to cherry-pick to the release branch

Check List
Tests

Unit test
Integration test
Manual test (add detailed scripts or steps below)
No code

Side effects

Performance regression

Consumes more CPU
Consumes more MEM

Breaking backward compatibility

Release note
Please add a release note.

Please refer to [Release Notes Language Style Guide](https://pingcap.github.io/tidb-dev-guide/contribute-to-tidb/release-notes-style-guide.html) to write a quality release note.

If you don't think this PR needs a release note then fill it with None.
If this PR will be picked to release branch, then a release note is probably required.

duplicated with https://github.com/tikv/tikv/pull/12679, close it

duplicated with #12679, close it

This pr is only for test purpose. I made a build image to make a tpcc test from benchbot.


Different adaptors detected in paired reads

Hi, may I ask if it is normal (correct) to detect different adaptors sequence in the paired reads? (attached a picture with the example)
Thanks for your help!
fastp.pdf

If they're paired reads off an Illumina machine, then yes, that's correct.

Yes they are. Thank you very much!


Consider changing code samples, constants, and others

Clarify Code samples. Delete "including keywords and variables" from the element description, because Keywords and Variables have their own rows. Maybe change the element description to only Code samples and the convention to "Monospace, both within text and as separate paragraphs, including the keywords, variables, and user-defined program elements in the code samples."
Change Constants to Constants and enumerations.
Add a row for Objects with "Bold. Capitalization varies." as the convention and Application and Selection as the examples.
Change Parameters to Arguments and parameters and move the row to the top. Add "Named arguments can be italic and bold." to the conventions. Add object.Add item, key, before, after to the examples.
Add Set to the examples for Statements, or another example that isn't all caps.

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

ID: 548ee875-6179-9f2d-7e1d-6af87a7d3a2f
Version Independent ID: f6df8d87-ab99-c35e-9d67-29ca979c10f5
Content: Formatting developer text elements - Microsoft Style Guide
Content Source: styleguide/developer-content/formatting-developer-text-elements.md
Product: non-product-specific
GitHub Login: @pallep
Microsoft Alias: pallep

Thanks, these are great suggestions! We're in the process of revising this topic, so I'll add your comments to the other revisions being considered.
From: Jay Martin<EMAIL_ADDRESS>Sent: Thursday, August 30, 2018 7:02 PM
To: MicrosoftDocs/microsoft-style-guide<EMAIL_ADDRESS>Cc: Subscribed<EMAIL_ADDRESS>Subject: [MicrosoftDocs/microsoft-style-guide] Consider changing code samples, constants, and others (#11)
•	Clarify Code samples. Delete "including keywords and variables" from the element description, because Keywords and Variables have their own rows. Maybe change the element description to only Code samples and the convention to "Monospace, both within text and as separate paragraphs, including the keywords, variables, and user-defined program elements in the code samples."
•	Change Constants to Constants and enumerations.
•	Add a row for Objects with "Bold. Capitalization varies." as the convention and Application and Selection as the examples.
•	Change Parameters to Arguments and parameters and move the row to the top. Add "Named arguments can be italic and bold." to the conventions. Add object.Add item, key, before, after to the examples.
•	Add Set to the examples for Statements, or another example that isn't all caps.


fix: Issue#812 fixed

Title and Issue number

Title : navbar made uniform in the main page and the rate us page
Issue No. : #812
Code Stack : HTML, CSS and Javascript
Close #812

Description

I have removed the previous PR and made this new PR to avoid merge conflicts.
Video/Screenshots (mandatory)

Type of PR

[x] Bug fix
[x] Feature enhancement

Checklist:

[x] I have performed a self-review of my code.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] I have tested the changes thoroughly before submitting this pull request.
[x] I have provided relevant issue numbers, screenshots, and videos after making the changes.
[x] I have gone through the  contributing.md file before contributing

Additional context:

##Are you contributing under any Open-source programme?

[x] I am contributing under GSSOC'24
[ ] I am contributing under VSOC'24

@apu52 there are no more branch conflicts. Please check


[TRANSLATIONS] - Simplified Chinese

[x] Base README.md
[ ] Quizzes
[x] Introduction base README

[ ] Defining Data Science README
[ ] Defining Data Science assignment
[ ] Ethics README
[ ] Ethics assignment
[ ] Defining Data README
[ ] Defining Data assignment
[ ] Stats and Probability README
[ ] Stats and Probability assignment

[x] Working with Data base README

[ ] Relational Databases README
[ ] Relational Databases assignment
[ ] Non-Relational Data README
[ ] Non-Relational Data assignment
[ ] Python README
[ ] Python assignment
[ ] Data Preparation README
[ ] Data Preparation assignment

[x] Vizualization base README

[ ] Quantities README
[ ] Quantities assignment
[ ] Distributions README
[ ] Distributions assignment
[ ] Proportions README
[x] Proportions assignment
[ ] Relationships README
[ ] Relationships assignment
[ ] Meaningful Visualizations README
[ ] Meaningful Visualization assignment

[x] Data Science Lifecycle base README

[ ] Introduction README
[ ] Introduction assignment
[ ] Analyzing README
[ ] Analyzing assignment
[ ] Communication README
[ ] Communication assignment

[ ] Data Science in the Cloud base README

[ ] Intro README
[ ] Intro assignment
[ ] Low Code README
[ ] Low Code  assignment
[ ] Azure README
[ ] Azure  assignment

[x] Data Science in the Wild base README

[ ] Real World Examples README
[ ] Real World Examples assignment

Base README #142

Introduction base README #149

Data Science in the Wild base README #150

@jlooper @paladique

[x] Introduction base README #149
[x] Data Science in the Wild base README #150

Remember to tick them! thanks :heart:

@ChungZH do you want me to remove the list and you recreate it so you can manage it?

Uh-huh. I'm afraid I don't have enough time to manage this work 😂 I only have time when in holidays

Proportions assignment
#158

remember to check off the list

remember to check off the list

Hey, @ycechungAI   there is a bug in your pr.
All the paths are relative, so some changes are needed.

if you look at the code before I merged, the links are like that before.  I did not touch the paths. You can create another issue for it.

Yes, and the fact is that you should change the path, because your README file is in the different directory from the original one.

ill make a pr for it.

计划什么时候翻译好呢？英语渣渣饥渴难耐了~

计划什么时候翻译好呢？英语渣渣饥渴难耐了~

我计划一边跟着看一边翻译一下，可能比较慢🤣

Let me know if any of you would like to be assigned this issue 🙂

I can help with translations

@paladique Please let me know if you still need someone to help with the issue management. 🐯

Yes
On Fri, Apr 1, 2022, 5:36 PM Hao Ren @.***> wrote:

@paladique https://github.com/paladique Please let me know if you still
need someone to help with the issue management. 🐯
—
Reply to this email directly, view it on GitHub
https://github.com/microsoft/Data-Science-For-Beginners/issues/135#issuecomment-1085817334,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AYP45ME3IQWEA3NZZTB3ZE3VC3RGBANCNFSM5FDSWVRA
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***
com>

Yes
…
On Fri, Apr 1, 2022, 5:36 PM Hao Ren @.> wrote: @paladique https://github.com/paladique Please let me know if you still need someone to help with the issue management. 🐯 — Reply to this email directly, view it on GitHub <#135 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AYP45ME3IQWEA3NZZTB3ZE3VC3RGBANCNFSM5FDSWVRA . You are receiving this because you are subscribed to this thread.Message ID: @. com>

Aha?

@paladique Please let me know if you still need someone to help with the issue management. 🐯

Thank you! I added you as an assignee to this issue!

#369

[x]  Base README.md
[ ]  Quizzes
[x]  Introduction base README

[ ]  Defining Data Science README
[ ]  Defining Data Science assignment
[ ]  Ethics README
[ ]  Ethics assignment
[ ]  Defining Data README
[ ]  Defining Data assignment
[ ]  Stats and Probability README
[ ]  Stats and Probability assignment

[x]  Working with Data base README

[ ]  Relational Databases README
[ ]  Relational Databases assignment
[ ]  Non-Relational Data README
[ ]  Non-Relational Data assignment
[ ]  Python README
[ ]  Python assignment
[ ]  Data Preparation README
[ ]  Data Preparation assignment

[x]  Vizualization base README

[ ]  Quantities README
[ ]  Quantities assignment
[ ]  Distributions README
[ ]  Distributions assignment
[ ]  Proportions README
[x]  Proportions assignment
[ ]  Relationships README
[ ]  Relationships assignment
[ ]  Meaningful Visualizations README
[ ]  Meaningful Visualization assignment

[x]  Data Science Lifecycle base README

[ ]  Introduction README
[ ]  Introduction assignment
[ ]  Analyzing README
[ ]  Analyzing assignment
[ ]  Communication README
[ ]  Communication assignment

[x]  Data Science in the Cloud base README

[ ]  Intro README
[ ]  Intro assignment
[ ]  Low Code README
[ ]  Low Code  assignment
[ ]  Azure README
[ ]  Azure  assignment

[x]  Data Science in the Wild base README

[ ]  Real World Examples README
[ ]  Real World Examples assignment

WIP “Defining Data Science README”

WIP “Defining Data Science README”

Thank you! I have update the chapter as "WIP", Please tag the issue or the pull request after you finished, that would be easier for maintainer to merge it.

completed "Defining Data Science README" translation work. And created pull request #508.

#508

Please check the pull request #508, Thanks.


DEPRECATION WARNING: alias_method_chain is deprecated. Rails 5

I am using devise_token_auth gem for a rails 5 JSON API but i'm getting this error when i run rake db:migrate after generating the user model and defining routes.
DEPRECATION WARNING: alias_method_chain is deprecated. Please, use Module#prepend instead.

That's because of the Devise gem, needed by devise_token_auth.
For now, you can force the master branch of Devise, which fixes the problem. In your Gemfile:
gem "devise", :github => 'plataformatec/devise', :branch => 'master'
gem "omniauth"

I still have these warnings on app start and on testing. any reason why?

I don't think it has anything to do with Devise Gem.
I don't have Devise and I am getting it too -- it started happening with adding "hairtrigger" gem.
So there must be another underlying cause.

Hi @satishchhibba in fact, you do have the Devise gem but it is implicitly included in your project. It is a dependency of devise_token_auth
(see the line s.add_dependency "devise", "> 3.5.2", "<= 4.2" in devise_token_auth.gemspec)


How to cancel filtering?

This isn't immediately obvious to me, ESC, CTRL+C, etc don't work. Maybe those should work.
Edit: Seems to also eat CTRL+Z so I can't bg it and kill it... hmm.
Edit2: Oh, found it, hitting Enter saves the filter.

Good point, should allow esc to clear the filter + possibly add a subtext to the filter box noting this

<esc> keybinding and other visual tweaks have been added to filter window and will be included in the next major release.


258: Embed videos

Short description
With this feature media via iframe like vimeo videos (and youtube if source is enabled) can be embedded
Proposed changes

add allowedIframe sources via buildConfig
enable these resources to load on request
remove iframes from the dom that are not allowed

Side effects

hopefully none, please test properly all links and features of the webview we are using
hardcoded the allowedIframeSources for native webview because the passing of variables is not working -> created issue #2587

Resolved issues

Fixes: #1218

Tested on android, works fine. Good job!
I can't open any links anymore though (neither deeplinks nor internal ones), without the check it still works
if (event.navigationType === 'click') {

Also, we should take care of what @svenseeberg said here:

Just a note: we need an active opt in of users before content from Vimeo or other services can be loaded.

Alright gonna check that. The problem here is that iframe src will also be handled which shouldn't since they are no click event and will be opened in external browser which shouldn't happen.

There is a few changes for native here, will you wait for native to merge this? Should we review those changes here? I think it would be better to actually split them.

Yes your are right sorry for the confusion. I'm gonna create two separate branches and pr and integrate your suggestions


Removing community references from README.md

Motivation
Removing community references from README.md
Have you read the Contributing Guidelines on pull requests?
Yes
Test Plan
N/A
Related PRs
N/A

/canary

:sunny: Canary successful


Organize project structure for tests

Separate tests into multiple folders.

Discarded for now

@renkelvin  testspec's is likely the way to go for this. See the in progress #1864

@paulb777 Yeah looks nice, thanks!


Heroku servers aren't connecting to the github, any work around?

I have transferred the issue to this repository as it is an issue with the API and not with the plugin.

Have you followed the instructions in the ReadMe file of this repository?
Could you please elaborate what you mean by "servers aren't connecting"?

Hey, thanks for getting back to me so soon.
I am following the ReadMe file on the repository and have got as far as
step 3, where I am struggling to deploy the file with my GitHub account,
when I click 'connect to github' it says 'Item could not be retrieved:
Internal Server Error'. I'm not very advanced with github so if you could
help me fix this that'd be great. I am also unsure if the error is coming
from the github account i'm connecting with or if it is just the Heroku
servers.
Thanks,
Francis.
On Fri, 29 Apr 2022 at 12:50, TiboDeMunck @.***> wrote:

I have transferred the issue to this repository as it is an issue with the
API and not with the plugin.

Have you followed the instructions in the ReadMe file of this
repository?
Could you please elaborate what you mean by "servers aren't
connecting"?

—
Reply to this email directly, view it on GitHub
https://github.com/TiboDeMunck/runelite-live-friend-locations-api/issues/3#issuecomment-1113211065,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AMMX2OHOMNKG2YH7EEGPLRDVHPEHDANCNFSM5UVWXCPA
.
You are receiving this because you authored the thread.Message ID:
@.***
.com>

Ah yeah thanks for letting me know it is a temporary issue, I tried to
install Heroku CLI but it wasn't loading the app for some weird reason.
I'll wait till hopefully the Heroku servers are back.
Thanks for your help.
On Fri, 29 Apr 2022, 13:15 TiboDeMunck, @.***> wrote:

Seems to be a temporary issue: https://status.heroku.com/incidents/2413
Easiest "work around" is: https://devcenter.heroku.com/articles/git
—
Reply to this email directly, view it on GitHub
https://github.com/TiboDeMunck/runelite-live-friend-locations-api/issues/3#issuecomment-1113243512,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AMMX2OBYB4E4WQO646J5ATTVHPHGFANCNFSM5UVWXCPA
.
You are receiving this because you authored the thread.Message ID:
@.***
.com>


Build fails when building library which contains a library with pipes

🐞 Bug report
Command (mark with an x)

- [ ] new
- [x] build
- [ ] serve
- [ ] test
- [ ] e2e
- [ ] generate
- [ ] add
- [ ] update
- [ ] lint
- [ ] xi18n
- [ ] run
- [ ] config
- [ ] help
- [ ] version
- [ ] doc

Is this a regression?
I don't think so.
Description
When building a library that contains another library which is paced in yarn workspaces(symlinks to dist folder) the build fails.
There are no errors if the other library is different than pipe (component, directive, etc).
🔬 Minimal Reproduction
I've created a repository with very simple libraries to reproduce the problem. It has the reproduction steps in readme file. https://github.com/Jonnyprof/libraryPipes
I've published @example-libs libraries in npmjs repository to help with the process.

🔥 Exception or Error

BUILD ERROR
Cannot read property 'type' of null
TypeError: Cannot read property 'type' of null
    at /media/john/Mes/Webs/proves/libraryPipes/node_modules/@angular/compiler/bundles/compiler.umd.js:21259:31
    at Array.forEach ()
    at removeSummaryDuplicates (/media/john/Mes/Webs/proves/libraryPipes/node_modules/@angular/compiler/bundles/compiler.umd.js:21258:15)
    at TemplateParser.tryParseHtml (/media/john/Mes/Webs/proves/libraryPipes/node_modules/@angular/compiler/bundles/compiler.umd.js:20675:33)
    at TemplateParser.tryParse (/media/john/Mes/Webs/proves/libraryPipes/node_modules/@angular/compiler/bundles/compiler.umd.js:20667:25)
    at TemplateParser.parse (/media/john/Mes/Webs/proves/libraryPipes/node_modules/@angular/compiler/bundles/compiler.umd.js:20648:31)
    at AotCompiler._parseTemplate (/media/john/Mes/Webs/proves/libraryPipes/node_modules/@angular/compiler/bundles/compiler.umd.js:24135:47)
    at AotCompiler._createTypeCheckBlock (/media/john/Mes/Webs/proves/libraryPipes/node_modules/@angular/compiler/bundles/compiler.umd.js:23882:27)
    at /media/john/Mes/Webs/proves/libraryPipes/node_modules/@angular/compiler/bundles/compiler.umd.js:23850:31
    at Array.forEach ()
    at /media/john/Mes/Webs/proves/libraryPipes/node_modules/@angular/compiler/bundles/compiler.umd.js:23844:53
    at Array.forEach ()
    at AotCompiler._createNgFactoryStub (/media/john/Mes/Webs/proves/libraryPipes/node_modules/@angular/compiler/bundles/compiler.umd.js:23823:28)
    at AotCompiler.emitTypeCheckStub (/media/john/Mes/Webs/proves/libraryPipes/node_modules/@angular/compiler/bundles/compiler.umd.js:23791:22)
    at /media/john/Mes/Webs/proves/libraryPipes/node_modules/@angular/compiler-cli/src/transformers/program.js:656:54
    at Array.forEach ()

🌍 Your Environment

Angular CLI: 7.3.0
Node: 11.5.0
OS: linux x64
Angular: 7.2.3
... animations, common, compiler, compiler-cli, core, forms
... language-service, platform-browser, platform-browser-dynamic
... router

Package                            Version
------------------------------------------------------------
@angular-devkit/architect          0.13.0
@angular-devkit/build-angular      0.13.0
@angular-devkit/build-ng-packagr   0.13.0
@angular-devkit/build-optimizer    0.13.0
@angular-devkit/build-webpack      0.13.0
@angular-devkit/core               7.3.0
@angular-devkit/schematics         7.3.0
@angular/cli                       7.3.0
@ngtools/json-schema               1.1.0
@ngtools/webpack                   7.3.0
@schematics/angular                7.3.0
@schematics/update                 0.13.0
ng-packagr                         4.7.0
rxjs                               6.3.3
typescript                         3.2.4
webpack                            4.29.0

Anything else relevant?
I've spent a lot of time debugging but I have only guesses. I think that the error is related with getting summary from summaryCache, because sometimes it looks for node_modules/@example-lib/uppercase-pipe and other for dist/libs/uppercase-pipe.
Sorry for my english! :P

Hi, my 2 cents would be that you need to enable preserveSymlinks in the root tsconfig.
Can you give it a shot?

@alan-agius4 I owe you 2 cents, it worked, thanks!
I've tried preverveSymlinks before, but it seems that in the wrong way. I don't understand, I remember that the error changed but it not work.
I use yarn workspaces to test my libraries before publish, there is no problem with local development.
Thanks a lot!


Bubble Sort Readme Code Issue

Bubble Sort Readme Code Issue
The sample code in the Bubble Sort Readme.md file has error.
Code
Code in the readme file:
	if array[j] < array[i] {
		let tmp = array[i]
		array[i] = array[j]
		array[j] = tmp
	}

The source code doesn't have the error:
	if array[j] < array[j - 1] {
		let tmp = array[j - 1]
		array[j - 1] = array[j]
		array[j] = tmp
	}

Thank you for flagging this!

Fi


Sudden drop in test accuracy

❓ Questions & Help
Hi Matthias, Great work on the library!
I have been trying to run faust.py in the examples folder and came across a problem where the test accuracy suddenly drops and the training loss explodes to a large value. Is this something which you have observed happening before and could you help resolve it?
Thanks!

Yes, I sadly noticed that myself. I tried various things to identify the error without any luck. I believe there may be a numerical instability in the SplineConv implementation.

Hi, faced same issue with faust.py example. Running the example with reduced learning rate seems to be working for all epochs (i used initial lr= 0.001, from epoch 61 onwards used lr=0.0001).

Hi, I met the same issue that the test accuracy suddencly dropped after a few epochs and the critical timing varies from time to time. Is there any suggestion on how to better implement the SplineConv layer?
Many thanks!

grad_norm seems to help in this regard.

Hi,
I'm experiencing the same behavior with GATConv. A sudden drop in accuracy, precision, and recall.
I'm using adam, weighted x-entropy loss, init learning rate of 1e-3 with 5% decay every 30 epochs.


Does not play audio, only the answers

Hi!
I have 4 of these devices, all working as Voice Assistant. However, I can't play media (mp3, wav) on any of them.
I have tried many times, but it only reads the reply messages.
As a media player, it's like it doesn't even work. I tried to send everything over to it with services, TTS, but I couldn't even click on the media player entity in ESPHome integration and select a file to play audio with it.
Any ideas?
Thanks:
István Pintér

First disable Wake Word Detection,  use media_player , re-enable wwd.

First disable Wake Word Detection, use media_player , re-enable wwd.

Thank you. Of course I started with this. I've tried it a million times. I've been developing for more than 20 years, I think I've tried everything there is to try

It took me a lot of work before I could describe the problem well.
So I have tried 3 ways to play sound, 2 of which don't work.
1: Basic, the way HomeAssistant sends the audio, using its own domain Cloudflare.
https://MYDOMAIN.HU/local/audio/event_start.wav
(No HA error log entry)
Device log:
[07:41:28][D][media_player:059]: 'None' - Setting
[07:41:28][D][media_player:066]:   Media URL: https://MYDOMAIN/local/audio/event_start.wav?authSig=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiI5MmI4OGE0OWRmNGE0ZjM0YWU5NThlZTE0YjIyYTllNiIsInBhdGgiOiIvbG9jYWwvYXVkaW8vZXZlbnRfc3RhcnQud2F2IiwicGFyYW1zIjpbXSwiaWF0IjoxNzExMDg5Njg4LCJleHAiOjE3MTExNzYwODh9.d0Bbwq1xUrEf0oYWX9lcep_vXJdIXF4rxj56L4GuEwo
[07:41:29][W][component:232]: Component i2s_audio.media_player took a long time for an operation (521 ms).
[07:41:29][W][component:233]: Components should block for at most 30 ms.
[07:41:29][D][media_player:059]: 'None' - Setting
[07:41:29][D][media_player:066]:   Media URL: https://MYDOMAIN/local/audio/event_start.wav?authSig=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiI5MmI4OGE0OWRmNGE0ZjM0YWU5NThlZTE0YjIyYTllNiIsInBhdGgiOiIvbG9jYWwvYXVkaW8vZXZlbnRfc3RhcnQud2F2IiwicGFyYW1zIjpbXSwiaWF0IjoxNzExMDg5Njg4LCJleHAiOjE3MTExNzYwODh9.d0Bbwq1xUrEf0oYWX9lcep_vXJdIXF4rxj56L4GuEwo
[07:41:30][W][component:232]: Component api took a long time for an operation (510 ms).
[07:41:30][W][component:233]: Components should block for at most 30 ms.
[07:41:30][W][component:232]: Component i2s_audio.media_player took a long time for an operation (507 ms).
[07:41:30][W][component:233]: Components should block for at most 30 ms.

2: mDNS based - Doesn't work and the device reboots every time.
https://homeassistant.local:8123/local/audio/event_start.wav
HA log entry:
Napló: aioesphomeapi.connection
Forrás: runner.py:188
Először fordult elő: 07:44:48 (1 Események)
Utoljára naplózott: 07:44:48

onju-voice-dfbacc @ <IP_ADDRESS>: Connection error occurred: [Errno 104] Connection reset by peer

Napló: homeassistant.components.cast.media_player
Forrás: components/cast/media_player.py:379
integráció: Google Cast (dokumentáció, problémák)
Először fordult elő: 07:44:25 (2 Események)
Utoljára naplózott: 07:44:25

Failed to cast media https://homeassistant.local:8123/local/audio/event_start.wav. Please make sure the URL is: Reachable from the cast device and either a publicly resolvable hostname or an IP address

The URL works, I can play the audio from my browser
Device log:
[07:44:25][D][media_player:059]: 'None' - Setting
[07:44:25][D][media_player:066]:   Media URL: https://homeassistant.local:8123/local/audio/event_start.wav

3: Based on HA IP - Works, plays the audio (only with https url, http is not correct).
https://<IP_ADDRESS>:8123/local/audio/event_start.wav
Device log:
[07:51:03][D][media_player:059]: 'None' - Setting
[07:51:03][D][media_player:066]:   Media URL: https://<IP_ADDRESS>:8123/local/audio/event_start.wav
[07:51:05][W][component:232]: Component i2s_audio.media_player took a long time for an operation (1439 ms).
[07:51:05][W][component:233]: Components should block for at most 30 ms.
[07:51:07][W][component:232]: Component i2s_audio.media_player took a long time for an operation (61 ms).
[07:51:07][W][component:233]: Components should block for at most 30 ms.
[07:51:07][W][component:232]: Component i2s_audio.media_player took a long time for an operation (185 ms).
[07:51:07][W][component:233]: Components should block for at most 30 ms.

If the IP-based URL works, this sounds more like an issue with your networking than the actual firmware.
However, let me check. Please paste your full config and specify the versions of HA and ESPHome you are using.

Did you ever get this figured out?
I'm running into a similar issue except mine wont play any audio at all...
[16:40:08][D][voice_assistant:416]: State changed from STOPPING_MICROPHONE to AWAITING_RESPONSE [16:40:11][D][voice_assistant:523]: Event Type: 4 [16:40:11][D][voice_assistant:551]: Speech recognised as: " What time is it?" [16:40:11][D][voice_assistant:523]: Event Type: 5 [16:40:11][D][voice_assistant:556]: Intent started [16:40:11][D][voice_assistant:523]: Event Type: 6 [16:40:11][D][voice_assistant:523]: Event Type: 7 [16:40:11][D][voice_assistant:579]: Response: "Sorry, I couldn't understand that" [16:40:11][D][voice_assistant:523]: Event Type: 8 [16:40:11][D][voice_assistant:599]: Response URL: "https://homeassistant.my.domain/api/tts_proxy/dae2cdcb27a1d1c3b07ba2c7db91480f9d4bfd8f_en-us_7238ee98e6_marytts.mp3" [16:40:11][D][voice_assistant:416]: State changed from AWAITING_RESPONSE to STREAMING_RESPONSE [16:40:11][D][voice_assistant:422]: Desired state set to STREAMING_RESPONSE [16:40:11][D][media_player:059]: 'Office Onju 2a44d8' - Setting [16:40:11][D][media_player:066]:   Media URL: https://homeassistant.my.domain/api/tts_proxy/dae2cdcb27a1d1c3b07ba2c7db91480f9d4bfd8f_en-us_7238ee98e6_marytts.mp3 [16:40:11][D][media_player:059]: 'Office Onju 2a44d8' - Setting [16:40:11][D][media_player:066]:   Media URL: https://homeassistant.my.domain/api/tts_proxy/dae2cdcb27a1d1c3b07ba2c7db91480f9d4bfd8f_en-us_7238ee98e6_marytts.mp3 [16:40:11][D][light:036]: 'top_led' Setting: [16:40:11][D][light:059]:   Red: 20%, Green: 100%, Blue: 0% [16:40:11][D][light:109]:   Effect: 'speaking' [16:40:11][D][voice_assistant:523]: Event Type: 2 [16:40:11][D][voice_assistant:613]: Assist Pipeline ended [16:40:11][D][light:036]: 'top_led' Setting: [16:40:11][D][light:109]:   Effect: 'show_volume' [16:40:11][W][component:232]: Component i2s_audio.media_player took a long time for an operation (525 ms). [16:40:11][W][component:233]: Components should block for at most 30 ms. [16:40:12][W][component:232]: Component i2s_audio.media_player took a long time for an operation (501 ms). [16:40:12][W][component:233]: Components should block for at most 30 ms. [16:40:12][D][light:036]: 'top_led' Setting: [16:40:12][D][light:051]:   Brightness: 60% [16:40:12][D][light:059]:   Red: 100%, Green: 0%, Blue: 100% [16:40:12][D][light:109]:   Effect: 'listening_ww' [16:40:12][D][light:036]: 'top_led' Setting: [16:40:12][D][light:051]:   Brightness: 60% [16:40:12][D][light:059]:   Red: 100%, Green: 0%, Blue: 100% [16:40:12][D][light:085]:   Transition length: 0.1s
I confirmed that the URLs for the mp3s are accessible via other devices on the same network... I'm also not really having issues with my esp32 s3 box

It's not complaining about not being able to access the URLs, so that's not the issue.
Also, it's not the same issue as the original one, as OP complained about streaming all other audio apart from voice responses, whereas you say yours doesn't even play those. I'd suggest opening up a different issue.

#34 sounds like exactly the same issue. Check out https://github.com/tetele/onju-voice-satellite/issues/34#issuecomment-2061703927

Hi! I have 4 of these devices, all working as Voice Assistant. However, I can't play media (mp3, wav) on any of them. I have tried many times, but it only reads the reply messages. As a media player, it's like it doesn't even work. I tried to send everything over to it with services, TTS, but I couldn't even click on the media player entity in ESPHome integration and select a file to play audio with it.
Any ideas? Thanks: István Pintér

So I just figured this out. I noticed that while speaking to the assistant I would get responses but if I attempted to playback an MP3 or TTS via media it would not work.
You have to turn off the Wake Word switch and then you can playback stuff.
If you have an automation that playback specific TTS or mp3s, you can set an action to turn off the wake word switch ->delay 1 seond -> playback tts/mp3 -> delay for the length of the audio played -> turn on the switch


brew update should use HOMEBREW_GITHUB_API_TOKEN

Verification

[X] This issue's title and/or description do not reference a single formula e.g. brew install wget. If they do, open an issue at https://github.com/Homebrew/homebrew-core/issues/new/choose instead.

Provide a detailed description of the proposed feature
Many homebrew commands use HOMEBREW_GITHUB_API_TOKEN so that they are not unnecessarily rate-limited by Github.
However, update.sh does not use HOMEBREW_GITHUB_API_TOKEN when checking the upstream SHAs: https://github.com/Homebrew/brew/blob/34979a33d32f4074b34cab9113e4bd04ccdbe299/Library/Homebrew/cmd/update.sh#L626
I propose that curl pass the HOMEBREW_GITHUB_API_TOKEN in the authorization header if it has been set.
What is the motivation for the feature?
Although update does not commonly hit the rate limit, it can hit the rate limit in environments where multiple users are behind a single egress IP, just as other homebrew commands.
How will the feature be relevant to at least 90% of Homebrew users?
Update is used by all homebrew users
What alternatives to the feature have been considered?
Perhaps the output of curl could be parsed to check for the rate limit, and provide error messaging to try again later.

Have you personally hit the rate limit here?

Yes, we hit it this morning, although I forgot to save the charles log.

This is a great suggestion. I am in a company which uses a proxy cluster so this issue occurs intermittently when I am on an exit node which has hit the rate limit. Like this morning I was completely unable to brew update and got this message:
$ brew update
error: RPC failed; HTTP 403 curl 22 The requested URL returned error: 403
fatal: expected flush after ref listing
Error: Fetching /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core failed!
Updated 1 tap (homebrew/cask).

A few hours later and everything works fine, oddly enough.


install via conda

Hi, are you planning to make the package available for installation via conda?
That would be great, thanks!

Sorry we don't have any plan to do this, as we don't have deployment experts. In most cases, pip and conda are compatible.


Error asm while building ibazel

At the current HEAD, bazel build ibazel breaks:
ERROR: /home/thomas/.cache/bazel/_bazel_thomas/ab22553f6e662f61e6ff0f9adcaf6149/external/io_bazel_rules_go/go/tools/builders/BUILD.bazel:22:1: in go_tool_binary rule @io_bazel_rules_go//go/tools/builders:asm:

The following files have no generating action:
external/io_bazel_rules_go/go/tools/builders/asm
.
ERROR: Analysis of target '//ibazel:ibazel' failed; build aborted: Analysis of target '@io_bazel_rules_go//go/tools/builders:asm' failed; build aborted.

What version of Bazel are you running bazel version should print that out

FWIW @tadeegan, I had the same error on bazel 0.7. Upgraded to latest (0.8.1), and that fixed it.

Please reopen this if upgrading doesn't fix your issue


Provide instructions on how to remove XGBoost Python package after build and installation from source

I have built and installed the Python package as per instructions,  except I run this command for installation (because the provided one stops with an error):
python setup.py install --user
I am unable to remove the package with pip3, as I get:
-> pip3 uninstall  xgboost
Not uninstalling xgboost at /home/fanta/.local/lib/python3.5/site-packages/xgboost-0.7-py3.5.egg, outside environment /home/fanta/.local/python3.5

Please consider adding to the Installation Guide  instructions to uninstall, and to update, the Python package, after build and installation from source.

Try running python -m pip uninstall xgboost.


Help for Keyboard shortcuts appear behind search popup after closing Keyboard shorts previously

Press ?to show Keyboard shortcuts help
Press ESC
Press /

Expected:
Search bar pop up
Observed:
Search bar pop up and the Keyboard shortcuts help appear below it
Reproducible:

macOS Safari 16.6
both dev and prod

Hmm tried this on macOS Safari 17.1.2 (196<IP_ADDRESS>.12), unable to reproduce 🤔

Strange. I realized that step 3 can be any key:

Press ? to show Keyboard shortcuts help
Press ESC
Press /

For example It can be ESC (again), j
Old Safari maybe?


Keep compatibility with go1.6

Although f282f80e243cc2bf8f6410c30d821b93b794e168 removes 1.6 from travis builds, it's not clear if the intent is to completely drop support to 1.6.
Compatibility with go1.6 can be kept by simply using golang.org/x/net/context rather than context.

@juniorz The problem with changing it back to golang.org/x/net/context is that it would break anyone running 1.7 or 1.8 since context would is not equivalent to golang.org/x/net/context. In go 1.9 that is fixed with the introduction of type aliases. If you upgrade to go 1.9 you won't need to make your code use the new context since they're now considered equivalent.

I'm confused about how it would break since the tests worked. Are you saying the API is expected to use a context.Context in everything but 1.6 (where the API is expected to use golang.org/x/net/context.Context)?
What about using build tags to achieve this?

We want to use the (now) std lib context package. If you want to use go 1.6 you'll have to maintain your own fork. This has come up before: AppEngine seems stuck in the past.
So we can't merge this.


chore: bump version to 9.2.0-next.0 w/ changelog

yeah, I've just been fixing them manually for now - done


requirements.txt Installation command does not work

The readme suggests running the following command to install the project dependencies
pip install requirements.txt

But doing that only returns the following error:
$ pip install requirements.txt
Collecting requirements.txt
  Could not find a version that satisfies the requirement requirements.txt (from versions: )
No matching distribution found for requirements.txt

A solution I found for this was changing the command to the following
pip install `cat requirements.txt`

And then it worked fine, perhaps the readme should be updated?

Typing to be able to come back


https://discord.gg/nCrByrr8cX

https://discord.gg/nCrByrr8cX  Unable to join

it's available

Joined successfully, thank you boss