Python Package of this project doesn't work well with pipenv.

❯ pipenv install cdk8s-argoworkflow-resources
Creating a virtualenv for this project...
Pipfile: /home/nick/develop/argo/deploy-workflows/src/Pipfile
Using /usr/bin/python3 (3.10.5) to create virtualenv...
⠧ Creating virtual environment...created virtual environment CPython3.10.5.final.0-64 in 785ms
  creator CPython3Posix(dest=/home/nick/.local/share/virtualenvs/src-r5fIajqi, clear=False, no_vcs_ignore=False, global=False)
  seeder FromAppData(download=False, pip=bundle, setuptools=bundle, wheel=bundle, via=copy, app_data_dir=/home/nick/.local/share/virtualenv)
    added seed packages: pip==22.1.2, setuptools==62.3.3, wheel==0.37.1
  activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator

✔ Successfully created virtual environment!
Virtualenv location: /home/nick/.local/share/virtualenvs/src-r5fIajqi
Installing cdk8s-argoworkflow-resources...
Adding cdk8s-argoworkflow-resources to Pipfile's [packages]...
✔ Installation Succeeded
Pipfile.lock not found, creating...
Locking [dev-packages] dependencies...
Locking [packages] dependencies...
Building requirements...
Resolving dependencies...
✘ Locking Failed!

CRITICAL:pipenv.patched.notpip._internal.resolution.resolvelib.factory:Cannot install -r /tmp/pipenvbv4axwlbrequirements/pipenv-rcqmnh7a-constraints.txt (line 3) and cdk8s==2.3.27 because these package versions have conflicting dependencies.
[ResolutionFailure]:   File "/home/nick/.local/lib/python3.10/site-packages/pipenv/resolver.py", line 822, in _main
[ResolutionFailure]:       resolve_packages(
[ResolutionFailure]:   File "/home/nick/.local/lib/python3.10/site-packages/pipenv/resolver.py", line 771, in resolve_packages
[ResolutionFailure]:       results, resolver = resolve(
[ResolutionFailure]:   File "/home/nick/.local/lib/python3.10/site-packages/pipenv/resolver.py", line 751, in resolve
[ResolutionFailure]:       return resolve_deps(
[ResolutionFailure]:   File "/home/nick/.local/lib/python3.10/site-packages/pipenv/utils/resolver.py", line 1068, in resolve_deps
[ResolutionFailure]:       results, hashes, markers_lookup, resolver, skipped = actually_resolve_deps(
[ResolutionFailure]:   File "/home/nick/.local/lib/python3.10/site-packages/pipenv/utils/resolver.py", line 862, in actually_resolve_deps
[ResolutionFailure]:       resolver.resolve()
[ResolutionFailure]:   File "/home/nick/.local/lib/python3.10/site-packages/pipenv/utils/resolver.py", line 663, in resolve
[ResolutionFailure]:       raise ResolutionFailure(message=str(e))
[pipenv.exceptions.ResolutionFailure]: Warning: Your dependencies could not be resolved. You likely have a mismatch in your sub-dependencies.
  You can use $ pipenv install --skip-lock to bypass this mechanism, then run $ pipenv graph to inspect the situation.
  Hint: try $ pipenv lock --pre if it is a pre-release dependency.
ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts

It would appear that the package dependancies for this package don't line up with the rest of the CDK8s packages

/home/hunter/.local/bin/pipenv install cdk8s-argoworkflow-resources
/usr/lib/python3.10/site-packages/pkg_resources/__init__.py:116: PkgResourcesDeprecationWarning: 2.0.5-build-libtorrent-rasterbar-src-libtorrent-rasterbar-2.0.5-bindings-python is an invalid version and will not be supported in a future release
  warnings.warn(
Creating a virtualenv for this project...
Pipfile: /tmp/asd/Pipfile
Using /usr/bin/python3 (3.10.2) to create virtualenv...
⠼ Creating virtual environment...created virtual environment CPython3.10.2.final.0-64 in 240ms
  creator CPython3Posix(dest=/home/hunter/.local/share/virtualenvs/asd-XMgG0HE-, clear=False, no_vcs_ignore=False, global=False)
  seeder FromAppData(download=False, pip=bundle, setuptools=bundle, wheel=bundle, via=copy, app_data_dir=/home/hunter/.local/share/virtualenv)
    added seed packages: pip==22.0.4, setuptools==62.1.0, wheel==0.37.1
  activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator

✔ Successfully created virtual environment!
Virtualenv location: /home/hunter/.local/share/virtualenvs/asd-XMgG0HE-
Creating a Pipfile for this project...
Installing cdk8s-argoworkflow-resources...
Adding cdk8s-argoworkflow-resources to Pipfile's [packages]...
✔ Installation Succeeded
Pipfile.lock not found, creating...
Locking [dev-packages] dependencies...
Locking [packages] dependencies...
Building requirements...
Resolving dependencies...
✔ Success!
Updated Pipfile.lock (01ce91)!
Installing dependencies from Pipfile.lock (01ce91)...
  🐍   ▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉ 0/0 — 00:00:00
To activate this project's virtualenv, run pipenv shell.
Alternatively, run a command inside the virtualenv with pipenv run.

Thats odd, it works for me.

Weird. I even deleted the virtualenv, and deleted the ckd8s project dir recreated it using cdk8s init python-app then ran pipenv install cdk8s-argoworkflow-resources

Here's a really really long paste... sorry... BUT what I did is created a new test dir and started from scratch...
~/tmp
❯ mkdir testdir

~/tmp
❯ cd testdir/

~/tmp/testdir
❯ cdk8s init python-app
Initializing a project from the python-app template
Creating a virtualenv for this project...
Pipfile: /home/nick/tmp/testdir/Pipfile
Using /usr/bin/python3 (3.10.5) to create virtualenv...
⠏ Creating virtual environment...created virtual environment CPython3.10.5.final.0-64 in 874ms
  creator CPython3Posix(dest=/home/nick/.local/share/virtualenvs/testdir-9Zta-7EK, clear=False, no_vcs_ignore=False, global=False)
  seeder FromAppData(download=False, pip=bundle, setuptools=bundle, wheel=bundle, via=copy, app_data_dir=/home/nick/.local/share/virtualenv)
    added seed packages: pip==22.1.2, setuptools==62.3.3, wheel==0.37.1
  activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator

✔ Successfully created virtual environment!
Virtualenv location: /home/nick/.local/share/virtualenvs/testdir-9Zta-7EK
Locking [dev-packages] dependencies...
Locking [packages] dependencies...
Building requirements...
Resolving dependencies...
⠏ Locking..✔ Success!
Updated Pipfile.lock (7d9d18)!
Installing dependencies from Pipfile.lock (7d9d18)...
  🐍   ▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉ 9/9 — 00:00:03
To activate this project's virtualenv, run pipenv shell.
Alternatively, run a command inside the virtualenv with pipenv run.
Installing cdk8s~=2.3.29...
Adding cdk8s to Pipfile's [packages]...
✔ Installation Succeeded
Pipfile.lock (7d9d18) out of date, updating to (02ac37)...
Locking [dev-packages] dependencies...
Locking [packages] dependencies...
Building requirements...
Resolving dependencies...
✔ Success!
Updated Pipfile.lock (02ac37)!
Installing dependencies from Pipfile.lock (02ac37)...
  🐍   ▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉ 0/0 — 00:00:00
To activate this project's virtualenv, run pipenv shell.
Alternatively, run a command inside the virtualenv with pipenv run.
Installing cdk8s-plus-22~=2.0.0.rc20...
Adding cdk8s-plus-22 to Pipfile's [packages]...
✔ Installation Succeeded
Pipfile.lock (02ac37) out of date, updating to (ca8b8a)...
Locking [dev-packages] dependencies...
Locking [packages] dependencies...
Building requirements...
Resolving dependencies...
✔ Success!
Updated Pipfile.lock (ca8b8a)!
Installing dependencies from Pipfile.lock (ca8b8a)...
  🐍   ▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉ 0/0 — 00:00:00
To activate this project's virtualenv, run pipenv shell.
Alternatively, run a command inside the virtualenv with pipenv run.
Importing k8s v1.22.0...
Importing resources, this may take a few moments...
========================================================================================================

 Your cdk8s Python project is ready!

   cat help      Prints this message
   cdk8s synth   Synthesize k8s manifests to dist/
   cdk8s import  Imports k8s API objects to "imports/k8s"

  Deploy:
   kubectl apply -f dist/

========================================================================================================

~/tmp/testdir via 🐍 v3.10.5 took 57s
❯ pipenv install cdk8s-argoworkflow-resources
Installing cdk8s-argoworkflow-resources...
Adding cdk8s-argoworkflow-resources to Pipfile's [packages]...
✔ Installation Succeeded
Pipfile.lock (ca8b8a) out of date, updating to (484736)...
Locking [dev-packages] dependencies...
Locking [packages] dependencies...
Building requirements...
Resolving dependencies...
✘ Locking Failed!

CRITICAL:pipenv.patched.notpip._internal.resolution.resolvelib.factory:Cannot install -r /tmp/pipenvinrd1qc2requirements/pipenv-6c7t50d8-constraints.txt (line 3), -r /tmp/pipenvinrd1qc2requirements/pipenv-6c7t50d8-constraints.txt (line 4) and constructs~=10.1.42 because these package versions have conflicting dependencies.
[ResolutionFailure]:   File "/home/nick/.local/lib/python3.10/site-packages/pipenv/resolver.py", line 822, in _main
[ResolutionFailure]:       resolve_packages(
[ResolutionFailure]:   File "/home/nick/.local/lib/python3.10/site-packages/pipenv/resolver.py", line 771, in resolve_packages
[ResolutionFailure]:       results, resolver = resolve(
[ResolutionFailure]:   File "/home/nick/.local/lib/python3.10/site-packages/pipenv/resolver.py", line 751, in resolve
[ResolutionFailure]:       return resolve_deps(
[ResolutionFailure]:   File "/home/nick/.local/lib/python3.10/site-packages/pipenv/utils/resolver.py", line 1068, in resolve_deps
[ResolutionFailure]:       results, hashes, markers_lookup, resolver, skipped = actually_resolve_deps(
[ResolutionFailure]:   File "/home/nick/.local/lib/python3.10/site-packages/pipenv/utils/resolver.py", line 862, in actually_resolve_deps
[ResolutionFailure]:       resolver.resolve()
[ResolutionFailure]:   File "/home/nick/.local/lib/python3.10/site-packages/pipenv/utils/resolver.py", line 663, in resolve
[ResolutionFailure]:       raise ResolutionFailure(message=str(e))
[pipenv.exceptions.ResolutionFailure]: Warning: Your dependencies could not be resolved. You likely have a mismatch in your sub-dependencies.
  You can use $ pipenv install --skip-lock to bypass this mechanism, then run $ pipenv graph to inspect the situation.
  Hint: try $ pipenv lock --pre if it is a pre-release dependency.
ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts

oh here's something else I noticed when I run pipenv graph
cdk8s-plus-22==2.0.0rc20
  - cdk8s [required: >=2.3.29,<3.0.0, installed: 1.6.29]

cdk8s-argoworkflow-resources==0.0.2
  - cdk8s [required: >=1.0.0.b11,<2.0.0, installed: 1.6.29]

❯ pipenv graph
    - constructs [required: >=3.4.38,<4.0.0, installed: 3.4.39]
      - jsii [required: >=1.60.1,<2.0.0, installed: 1.61.0]
        - attrs [required: ~=21.2, installed: 21.4.0]
        - cattrs [required: >=1.8,<22.2, installed: 22.1.0]
          - attrs [required: >=20, installed: 21.4.0]
          - exceptiongroup [required: Any, installed: 1.0.0rc8]
        - python-dateutil [required: Any, installed: 2.8.2]
          - six [required: >=1.5, installed: 1.16.0]
        - typing-extensions [required: >=3.7,<5.0, installed: 4.2.0]
      - publication [required: >=0.0.3, installed: 0.0.3]
    - jsii [required: >=1.60.1,<2.0.0, installed: 1.61.0]
      - attrs [required: ~=21.2, installed: 21.4.0]
      - cattrs [required: >=1.8,<22.2, installed: 22.1.0]
        - attrs [required: >=20, installed: 21.4.0]
        - exceptiongroup [required: Any, installed: 1.0.0rc8]
      - python-dateutil [required: Any, installed: 2.8.2]
        - six [required: >=1.5, installed: 1.16.0]
      - typing-extensions [required: >=3.7,<5.0, installed: 4.2.0]
    - publication [required: >=0.0.3, installed: 0.0.3]
  - constructs [required: >=3.3.196,<4.0.0, installed: 3.4.39]
    - jsii [required: >=1.60.1,<2.0.0, installed: 1.61.0]
      - attrs [required: ~=21.2, installed: 21.4.0]
      - cattrs [required: >=1.8,<22.2, installed: 22.1.0]
        - attrs [required: >=20, installed: 21.4.0]
        - exceptiongroup [required: Any, installed: 1.0.0rc8]
      - python-dateutil [required: Any, installed: 2.8.2]
        - six [required: >=1.5, installed: 1.16.0]
      - typing-extensions [required: >=3.7,<5.0, installed: 4.2.0]
    - publication [required: >=0.0.3, installed: 0.0.3]
  - jsii [required: >=1.61.0,<2.0.0, installed: 1.61.0]
    - attrs [required: ~=21.2, installed: 21.4.0]
    - cattrs [required: >=1.8,<22.2, installed: 22.1.0]
      - attrs [required: >=20, installed: 21.4.0]
      - exceptiongroup [required: Any, installed: 1.0.0rc8]
    - python-dateutil [required: Any, installed: 2.8.2]
      - six [required: >=1.5, installed: 1.16.0]
    - typing-extensions [required: >=3.7,<5.0, installed: 4.2.0]
  - publication [required: >=0.0.3, installed: 0.0.3]
cdk8s-plus-22==2.0.0rc20
  - cdk8s [required: >=2.3.29,<3.0.0, installed: 1.6.29]
    - constructs [required: >=3.4.38,<4.0.0, installed: 3.4.39]
      - jsii [required: >=1.60.1,<2.0.0, installed: 1.61.0]
        - attrs [required: ~=21.2, installed: 21.4.0]
        - cattrs [required: >=1.8,<22.2, installed: 22.1.0]
          - attrs [required: >=20, installed: 21.4.0]
          - exceptiongroup [required: Any, installed: 1.0.0rc8]
        - python-dateutil [required: Any, installed: 2.8.2]
          - six [required: >=1.5, installed: 1.16.0]
        - typing-extensions [required: >=3.7,<5.0, installed: 4.2.0]
      - publication [required: >=0.0.3, installed: 0.0.3]
    - jsii [required: >=1.60.1,<2.0.0, installed: 1.61.0]
      - attrs [required: ~=21.2, installed: 21.4.0]
      - cattrs [required: >=1.8,<22.2, installed: 22.1.0]
        - attrs [required: >=20, installed: 21.4.0]
        - exceptiongroup [required: Any, installed: 1.0.0rc8]
      - python-dateutil [required: Any, installed: 2.8.2]
        - six [required: >=1.5, installed: 1.16.0]
      - typing-extensions [required: >=3.7,<5.0, installed: 4.2.0]
    - publication [required: >=0.0.3, installed: 0.0.3]
  - constructs [required: >=10.1.42,<11.0.0, installed: 3.4.39]
    - jsii [required: >=1.60.1,<2.0.0, installed: 1.61.0]
      - attrs [required: ~=21.2, installed: 21.4.0]
      - cattrs [required: >=1.8,<22.2, installed: 22.1.0]
        - attrs [required: >=20, installed: 21.4.0]
        - exceptiongroup [required: Any, installed: 1.0.0rc8]
      - python-dateutil [required: Any, installed: 2.8.2]
        - six [required: >=1.5, installed: 1.16.0]
      - typing-extensions [required: >=3.7,<5.0, installed: 4.2.0]
    - publication [required: >=0.0.3, installed: 0.0.3]
  - jsii [required: >=1.60.1,<2.0.0, installed: 1.61.0]
    - attrs [required: ~=21.2, installed: 21.4.0]
    - cattrs [required: >=1.8,<22.2, installed: 22.1.0]
      - attrs [required: >=20, installed: 21.4.0]
      - exceptiongroup [required: Any, installed: 1.0.0rc8]
    - python-dateutil [required: Any, installed: 2.8.2]
      - six [required: >=1.5, installed: 1.16.0]
    - typing-extensions [required: >=3.7,<5.0, installed: 4.2.0]
  - publication [required: >=0.0.3, installed: 0.0.3]

@fxdgear this library uses cdk8s v1.
https://github.com/opencdk8s/cdk8s-argoworkflow/blob/f842b1824111b2753d53d08becd63389c47cd3c8/.projenrc.js#L6
I think that is the problem here.

Any chance you can upgrade it?
Is there a way to make it more obvious what the compatabities are?
I didn’t know where to look till your comment.

And another question now that I've slept on it... what's the dependency on v1? I tried searching the code in github for a comment or something that would indicate the dependency, but unfortunately I'm still pretty new to the way these cdk8s repos are structured and assembled that I don't know what to look for :(

The deps are super mangled at times.

cdk8s-cli depends on cdk8s, and cdk8s-plus
cdk8s depends on constructs (diff for v1 and v2)

I will upgrade this library to cdk8s v2.
Meanwhile, if you want to see the peer dependencies for this library, have a look here:
https://github.com/opencdk8s/cdk8s-argoworkflow/blob/f842b1824111b2753d53d08becd63389c47cd3c8/package.json#L61-L64

@Hunter-Thompson Thank you :)
I totally understand that cdk8s is still a young and rapidly growing and developing project. I am very excited about this project. So I appriciate you taking the time to point me to the project layout so I can get a better understanding on "how the sausage is made".
It makes me want to migrate my nemesis project to CDK. But right now it's all done in Python by hand :( I need better access to the resource definitions in ES to dynamically create the constructs.

@fxdgear No problem!
I suggest having a look at the following links to get a better understand on constructs, and the difference between v1, and v2.
https://cdk8s.io/docs/latest/migrating-from-1.x/
https://cdk8s.io/docs/latest/ecosystem-interoperability/

Thanks for the links I'll be checking them out :)

I suggest having a look at the following links to get a better understand on constructs, and the difference between v1, and v2.


[Template picker] Add more filtering capabilities

We are currently collecting the list of requirements. Here is the list (WIP):

[ ] "Most remixed" Vs. "Newest" (define what it means and what is the corresponding API filter)
[ ] Animated Vs. Still
[ ] Languages of the templates (locale)
[ ] Free Vs. Premium

Some screenshots of the existing solution:

@kptdobe @rofe Ideally it'd also be very helpful for the authoring team to be able to see the size, dimensions , or something to indicate aspect ratio for each template in the template picker on Helix. That way the authoring team could more easily choose the templates that are the most appropriate and be more consistent with sizing, versus currently the team is just eye-balling it from the template picker. Could even be helpful to have sizing as an additional filter
This suggestion is inspired by Katie on the CCX content design team who noticed some templates on our pages aren't exactly the size for the use-case described on the page. I believe the Content System API has info related to the size for each template. For example, this template has an aspect ratio of 9:16 (1080 x 1920):


Top level constant conflicts

I believe this current implementation, which uses Gateway and Configuration, as top level constants, is flawed, because any apps which currently have these classes defined... Will fail out...
I think the init of this  api client should be as simple as this
client = PaymentRails.new('YOUR-API-KEY', 'YOUR-SECRET-KEY')
Only one top level constant exposed, PaymentRails
I believe a gem structure like https://github.com/hvssle/onfido would be better suited for something like this.

As a non-ruby person.  Having our API take over the global Gateway and Configuration names is really a bad idea.  @fronugget can you take a look

Since this now appears resolved(https://github.com/PaymentRails/ruby-sdk/pull/11), are there plans to cut a new release soon?

@fronugget - Can you make sure the GEM gets updated

Closed in https://github.com/PaymentRails/ruby-sdk/commit/ed554c0d2802724d5775c108378d60b9a706d62c

@koblas And it appears we are not out of the water here yet. I just began using the newly released gem version containing these changes, and it appears constant usage is still mixed up. We have an AR model in our system called Recipient...and when I use pr.recipient.search...my class gets returned..not a PR class.

@koblas are there plans to release a new version remedying this issue soon?

@snkashis there is actually a pull request readdressing the issue, basically closely mirroring the architecture and module usage of the gem repo you mentioned. Should be merged in soon but take a look if you want incase you see anything funky

@fronugget just tried pulling this branch in locally and your Recipient class is getting properly used now. Looks good to me


RFC-0623: Redis Service

Signed-off-by: ClSlaid<EMAIL_ADDRESS>I hereby agree to the terms of the CLA available at: https://databend.rs/dev/policies/cla/
Summary
This PR submits an RFC proposing a new backend, running on Redis.
related: #382

I think all is done now, @Xuanwo thanks for your patience and instruction!


Install Whisper for Audio/Video Transcription.

I try to upload an audio/video mp3 or mp4, but i am getting the following error:
Error
Please install OpenAI whisper model 'pip install git+https://github.com/openai/whisper.git' to use the model
I try to install Whisper:
pip install git+https://github.com/openai/whisper.git
pip install -U openai-whisper
but nothing seem to work.
Running Ubuntu 22.06 and i also try running on WSL2 (Windows)

To add new dependencies, you will need to use poetry tool. You can check more here


Importing External Files using Webpack Loaders: The Beginners Guide

Created the Tutorial article Importing External Files Using Webpack Loaders: The Beginners Guide including the images used in the article in the images folder and finally the author details in an index.md file in the authors' folder and the avatar image.
Importing External Files using Webpack loaders is a tutorial article that addresses how to use Webpack and Webpack loaders for total beginners, so the contents in this tutorial are very concise and other supporting learning docs have been linked in the article, to further the learning process.
This fixes #3629

plagiarism check done ✅

@Favour-dgreat
Are the changes done?
Looks like there are way too many commits. From the next time, it is advised that you group all the major changes, and commit them together.
It's not a good practice to commit for every minor change. It makes debugging and reverting changes even harder.

Hi. I am quite new and I just kept on pushing new changes. I am very sorry
for that. I am done with the changes. What is next?
On Wed, Sep 15, 2021 at 6:23 PM Srishilesh P S @.***>
wrote:

@Favour-dgreat https://github.com/Favour-dgreat
Are the changes done?
Looks like there are way too many commits. From the next time, it is
advised that you group all the major changes, and commit them together.
It's not a good practice to commit for every minor change. It makes
debugging and reverting changes even harder.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/section-engineering-education/engineering-education/pull/3825#issuecomment-920217996,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AMUQ2T62AVZUQCNSJWKTIMTUCDJBVANCNFSM5D6UH2ZA
.

@Favour-dgreat  Thanks for the changes. Will start my next round of review ASAP

I'll complete my next round of review by tomorrow

@Favour-dgreat
I've been trying to push my changes to this branch. For some reason, it's not allowing me to push the edits.
I would suggest you to create a new PR and tag me there. And, make sure you use a different branch name other than master.
And, just make them as a single commit.
Also, make sure to add back the package.json file that you created.
Ping me in the new PR. Closing this
Thanks.


Parse from latex

I am really impressed with this project.
I'm in need of a way of parsing latex, to the string format used here. It's already possible to parse to latex, so I'm not sure if the other way is possible too. I looked at Jison and stuff, but I'm in way over my head here.

The string parsing in algebra.js is split into 2 steps:

The lexical analysis of the input string, generating a token stream representing the input:
"2 + 2" is transformed to {type:'Number', value: 2, pos:0},{type:'Operator', value: 'PLUS', pos:2},{type:'Number', value: 2, pos:4}
The syntactic analysis (the parser) of the token stream, generating Equations, Expressions, etc..
{type:'Number', value: 2, pos:0},{type:'Operator', value: 'PLUS', pos:2},{type:'Number', value: 2, pos:4} is transformed to new Expression(2).add(2)

The parser is independent of the used input format, as it operates on the generated token stream.
Therefore, for the support of a new input format e.g. LaTeX, the existing lexer has to be modified or an additional lexer has to be written.
In general, I don't think LaTeX is the best input format as it's purpose is to encode how the input is displayed and not what it represents.
For example: In LaTex the multiplication of two elements can be written in various ways
x \cdot 2, x * 2, x \times 2, 2x.
Also, how would you treat annotated characters like \hat{a}, \dot{a}, \grave{a} ?
To write a lexer that accepts basic LaTeX as input is not too difficult. You could give it a try with the existing lexer as a template or I could write one if others also see a use for it ;)
TL;DR: I think LaTeX is not an appropriate input format but a lexer for it would be not too hard to write.

Thanks for that elaborate reply.
I agree that latex probably isn't the best input format, but I'm getting latex formatted formulas returned from some handwriting recognition service I'm using.
If you could make an example file I could look and and expand, that would be nice.

I made a package that can parse latex to algebra.js link.

Woah awesome @viktorstrate !!! Will get this added to the docs.

Cool 🎉 Thank you ^^

that would be amazing and thank you @viktorstrate


Naming of args

Hi - this looks like a cool package so just installed to play around with it.
I noticed that the following (dumb / trivial) example does not work for the 2nd pair of print statements (where I supply names for the args). Is there a design reason for this? I like always supplying these so others can understand what my code is doing (i.e. in the example which number is the numerator and which is the denominator, without having to click thru to the function def).
Thanks!

Hey @reidGP! :)
First of all, I'm very sorry for the super slow reponse.
You are right that keyword arguments might not work as expected. This is described here.
The reason for this design choice is that, fundamentally, multiple dispatch to identifies arguments by their position. This is contrary to keyword arguments, which identifies arguments by names. Note that it also works this way in the Julia programming language.

OK I got it, thanks. Not sure if I missed that in the documentation (if so sorry!) or if it is new but thanks for the clarification

Absolutely no problem. :) That’s what issues are for! Closing this now, but please open another issue if anything else is unclear.

I faced this same issue - good that I've read this issue. Else I could be blamed for missing the documentation as well as the previously reported issue 👍

@cmukesh19 Happy to answer additional questions, should you have any :)


When Encoding: Can messageHeaderVersion != Car::sbeSchemaVersion()  ?

This wiki page
https://github.com/real-logic/simple-binary-encoding/wiki/Cpp-User-Guide
there is:
// Encode the header
hdr.wrap(buffer, offset, messageHeaderVersion, bufferLength)
I want to understand: Could messageHeaderVersion have other value than Car::sbeSchemaVersion() when we want to encode?
I understand that we can have different Message Schema version when decoding (chapter 5 of the specification), but can a normal well formed program have messageHeaderVersion different than Car::sbeSchemaVersion() at Encoding?

You should encode with the current version of the generated codec and then when decoding you read the version it has been encoded with and that becomes the acting version when decoding. Time and versions can separate the encoding and decoding.


dialog components have wrong code

the source code for these dialog two components provided on the website is not right i guess they belong to the first 'EB27, Edouard Wilfrid Buquet' component

please update them on production

fixed!


How to test?

I don't understand the testing instructions:
If running the proxy on your local machine with the above example, point your proxy to; localhost 8000
Test access to a HTTP only webpage such as; http://neverssl.com
What commands are used to "point your proxy" ???

@nethomas1968
You need to run proxy server on one machine. On otter machine you will have to connect proxy server by setting up your OS or browser.
Then in that other machine you can open any HTTP website and it OS/Browser (whatever you configured to use proxy) will pass all your data to your proxy server


Release taskcat [0.9.7]

7eb7e31 Bump Version - Creating a new minor version
a002cf8 add pip to requirements
cf7fc5e add pip and raw lambda package methods

Codecov Report

Merging #409 into master will decrease coverage by 0.03%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #409      +/-   ##
==========================================
- Coverage   72.97%   72.93%   -0.04%
==========================================
  Files          30       30
  Lines        2760     2760
  Branches      466      466
==========================================
- Hits         2014     2013       -1
  Misses        638      638
- Partials      108      109       +1

Impacted Files
Coverage Δ

taskcat/_lambda_build.py
60.82% <0%> (-1.04%)
:arrow_down:

Continue to review full report at Codecov.

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

/do-e2e-tests


$translate.instant not working on page refresh

var PLEASESELECT = $translate.instant('PLEASESELECT');
I have written this in the controller. It works fine during the first load but when i refresh the page the output is showing PLEASESELECT and not its translation . I think the problem is with the aysncronisation of the instant method.

Yeah, you are right.
Please have a look at our documentation, especially our guide at https://angular-translate.github.io/docs/#/guide
In that case I recommend also https://angular-translate.github.io/docs/#/guide/04_using-translate-filter


[1.0.0alpha] "draw-size-bubbles" is not functional

Several issues here:

Setting 'draw-size-bubbles' in options throws exceptions because of references to non-existent this.phylotree.node_bubble_size

There is no way to set node_bubble_size in the rendered object.

Dear @spond,
Thank you. Some render options, such as draw-size-bubbles, hasn't been ported over quite yet.
Best,
Steven

Dear @stevenweaver,
That's to be expected. I can use ugly hacks to get them working now, but would be nice to have all render features working at some point soon.
Best,
Sergei


X (clear) button not clickable if select input width is smaller than option text

Reproducible in: http://jsfiddle.net/jEADR/2169/
Scenario:

Select Alabama from input
Click the X (clear) button
Verify it works. Good!
Now select Long from input
Try clicking the X (clear) button
Verify it does not work.

This is a duplicate of https://github.com/select2/select2/issues/3306.


Use our own protobuf contract

I would like to have our own protobufs without depending on the Cloudstate protocol, I think certain things will have to evolve without this dependence on Cloudstate.
Obviously I appreciate the compatibility with the Cloudstate protocol, after all I invested a lot of time in it. But I think we can guarantee this as a compatibility mode in the proxy, that is, if the client chooses to use the Cloudstate protocol, then the proxy could select the adapter for this protocol but that was not our default mode, opting primarily for our protocol itself instead.
Just for reference as a little has been discussed here https://github.com/eigr/massa/issues/14

I agree, its time. Lets create a repository called functions-protocol, place the CS prptobufs there and sync it with bufs github-action to the buf repository. Buf provides a workflow that wraps protoc, we can use that too.
As soon as we switch, we need at least one of the SDK to be in sync with the protocol, personally I'd go with the Go SDK, but Javascript would also be a good candidate.

I've added https://github.com/eigr/eigr-functions-protocol and put inside right the current proto files we have from massa: /eigr/massa/apps/cloudstate_protocol/priv/protos
I'll setup a sync to the buf repository now.
@sleipnir we can progress from here, re-org protos if needed, also continue with the original work we've started on the cloudstate project back in the time: https://github.com/cloudstateio/cloudstate/issues/518
Also, we can start to use our very own extension range we've registered earlier Extension: 1110-1114 / https://github.com/protocolbuffers/protobuf/commit/01ac995c942d9b7371ea8f5fa4c6f3eeadd6dcbf
But first, start with what already works for now.

Awesome Marcel, for this to work in the Massa project I need the cloudstate protobufs frozen in the version they are today. And then I need to locate them separately from our own protocol, which will probably rename certain things, like cloudstate being replaced by function for example. But we can do this separation by .proto files and create only one buf repository instead of two. I leave that to your decision.
In Massa's project I have an app called cloudstate_protocol, my idea is to create another one called functions-protocol to reflect this change in the project, so in Massa's dependencies I would add the two dependencies of both cloudstate and functions


The Toast Issue has not been fixed

Toasts still occupy space after being hidden

This issue will be fixed in the next minor release


BQMT e2e fix

The PR contains fix for the Bigquery Multitable e2e failures on github actions.

All checks passed, LGTM, merging !


Expect to see channel closings in chain-receives

Version:
10.12.0
When I run $ bos accounting chain-receives I would expect to see all transactions that increase my on-chain balance. However, I cannot see any returning funds from channel closures. According to your guide this should be displayed. Is that correct?

It was adjusted recently to omit funds moving out from yourself to yourself
There are some limits to what it can do because there is currently no API to determine if an address is owned by the backing LND wallet
The funds that are meant to appear from channel closures should really be ones where you are really receiving funds in the close not just changing the output constriction of funds you already had

I understand. So the accounting should give an overall view of the node and not report transactions which are happening between on- and off-chain (of the same wallet), is that right? Should then not the same rules apply for chain-sends? There the funding of channels is also displayed.

Yeah I think in chain sends the channel funding should be removed, provided there is no push amount

I like this approach. Specially as from an accounting point of view it really does not matter whether the funds are sitting on-chain or in a channel. It might be tricky to apply this strictly with loop ins/outs.


[Key Request] Table Item Journal Line

Hello,
we would like to have a new key on the table Item Journal Line.
Key: "Journal Template Name","Journal Batch Name","Location Code","Bin Code"

Do you need "Item No." and "Variant Code" too?

Make sense!


useTransition does not apply animation when items are sorted

🐛 Bug Report
Hello, I'm trying to apply a fade-in animation on a list of items when they're displayed and when they're being sorted.
To do that, I'm using the useTransition hook and it seems to be working just fine the very first time the list of items is displayed. However, whenever the list is sorted, the animation is just not triggered at all.
Am I doing something wrong?
Is this the expected behavior?
if so, how could I trigger the animation when sorting changes?
To Reproduce
Sort the items list by either number, title, date or type
https://codesandbox.io/s/late-mountain-iesd2
Expected behavior
Fade-in animation to be applied when items are changed (e.g sorted)
Link to repro (highly encouraged)
https://codesandbox.io/s/late-mountain-iesd2
Environment

react-spring v8.0.23
react 16.8.6

There's an demo for list reordering: https://github.com/react-spring/react-spring-examples/blob/111bd7eb6308b95213e963712660a0441e3a4bd2/demos/hooks/list-reordering/index.js#L15-L25

Any simple way of doing this for variable height elements? In the demo, height is passed explicitly for each element which is kinda cheating 😜


bcache-tools: Fix the cross compilation

Fix #90726.

Build log

these derivations will be built:
  /nix/store/q6zsrp2l2fmq0lc1950yz0mszdxj0cvq-bcache-tools-1.0.7-aarch64-unknown-linux-gnu.drv
building '/nix/store/q6zsrp2l2fmq0lc1950yz0mszdxj0cvq-bcache-tools-1.0.7-aarch64-unknown-linux-gnu.drv'...
unpacking sources
unpacking source archive /nix/store/rgwm01hfhmbba4nbfbayimb81v9wqrnb-bcache-tools-1.0.7.tar.gz
source root is bcache-tools-1.0.7
setting SOURCE_DATE_EPOCH to timestamp<PHONE_NUMBER> of file bcache-tools-1.0.7/probe-bcache.c
patching sources
applying patch /nix/store/2q3z7587yhlz0i2xvfvvap42zk5carlv-bcache-udev-modern.patch
patching file 69-bcache.rules
patching file Makefile
Hunk #1 succeeded at 9 with fuzz 1.
patching file bcache-register
applying patch /nix/store/03sl46khd8gmjpsad7223m32ma965vy9-fix-static.patch
patching file bcache.c
updateAutotoolsGnuConfigScriptsPhase
configuring
no configure script, doing nothing
building
build flags: SHELL=/nix/store/n313xks5ym0s0a5v8a5285rmnmvy6ms9-bash-4.4-p23/bin/bash PREFIX=/nix/store/p8s4q80cysn4cjcn2b7ad7yr8wm84sy0-bcache-tools-1.0.7-aarch64-unknown-linux-gnu UDEVLIBDIR=/nix/store/p8s4q80cysn4cjcn2b7ad7yr8wm84sy0-bcache-tools-1.0.7-aarch64-unknown-linux-gnu/lib/udev/
aarch64-unknown-linux-gnu-gcc -O2 -Wall -g `aarch64-unknown-linux-gnu-pkg-config --cflags uuid blkid`   -c -o bcache.o bcache.c
aarch64-unknown-linux-gnu-gcc -O2 -Wall -g `aarch64-unknown-linux-gnu-pkg-config --cflags uuid blkid`    make-bcache.c bcache.o  `aarch64-unknown-linux-gnu-pkg-config --libs uuid blkid` -o make-bcache
aarch64-unknown-linux-gnu-gcc -O2 -Wall -g `aarch64-unknown-linux-gnu-pkg-config --cflags uuid blkid`    probe-bcache.c  `aarch64-unknown-linux-gnu-pkg-config --libs uuid blkid` -o probe-bcache
aarch64-unknown-linux-gnu-gcc -O2 -Wall -g -std=gnu99    bcache-super-show.c bcache.o  `aarch64-unknown-linux-gnu-pkg-config --libs uuid` -o bcache-super-show
installing
install flags: SHELL=/nix/store/n313xks5ym0s0a5v8a5285rmnmvy6ms9-bash-4.4-p23/bin/bash PREFIX=/nix/store/p8s4q80cysn4cjcn2b7ad7yr8wm84sy0-bcache-tools-1.0.7-aarch64-unknown-linux-gnu UDEVLIBDIR=/nix/store/p8s4q80cysn4cjcn2b7ad7yr8wm84sy0-bcache-tools-1.0.7-aarch64-unknown-linux-gnu/lib/udev/ install
install -m0755 make-bcache bcache-super-show    /nix/store/p8s4q80cysn4cjcn2b7ad7yr8wm84sy0-bcache-tools-1.0.7-aarch64-unknown-linux-gnu/sbin/
install -m0644 69-bcache.rules  /nix/store/p8s4q80cysn4cjcn2b7ad7yr8wm84sy0-bcache-tools-1.0.7-aarch64-unknown-linux-gnu/lib/udev//rules.d/
install -m0644 -- *.8 /nix/store/p8s4q80cysn4cjcn2b7ad7yr8wm84sy0-bcache-tools-1.0.7-aarch64-unknown-linux-gnu/share/man/man8/
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/p8s4q80cysn4cjcn2b7ad7yr8wm84sy0-bcache-tools-1.0.7-aarch64-unknown-linux-gnu
shrinking /nix/store/p8s4q80cysn4cjcn2b7ad7yr8wm84sy0-bcache-tools-1.0.7-aarch64-unknown-linux-gnu/sbin/bcache-super-show
shrinking /nix/store/p8s4q80cysn4cjcn2b7ad7yr8wm84sy0-bcache-tools-1.0.7-aarch64-unknown-linux-gnu/sbin/make-bcache
gzipping man pages under /nix/store/p8s4q80cysn4cjcn2b7ad7yr8wm84sy0-bcache-tools-1.0.7-aarch64-unknown-linux-gnu/share/man/
aarch64-unknown-linux-gnu-strip is /nix/store/5yman7cwrilchfs2npckj1zchnj1ss0f-aarch64-unknown-linux-gnu-binutils-2.31.1/bin/aarch64-unknown-linux-gnu-strip
stripping (with command aarch64-unknown-linux-gnu-strip and flags -S) in /nix/store/p8s4q80cysn4cjcn2b7ad7yr8wm84sy0-bcache-tools-1.0.7-aarch64-unknown-linux-gnu/lib  /nix/store/p8s4q80cysn4cjcn2b7ad7yr8wm84sy0-bcache-tools-1.0.7-aarch64-unknown-linux-gnu/sbin
patching script interpreter paths in /nix/store/p8s4q80cysn4cjcn2b7ad7yr8wm84sy0-bcache-tools-1.0.7-aarch64-unknown-linux-gnu
checking for references to /build/ in /nix/store/p8s4q80cysn4cjcn2b7ad7yr8wm84sy0-bcache-tools-1.0.7-aarch64-unknown-linux-gnu...
moving /nix/store/p8s4q80cysn4cjcn2b7ad7yr8wm84sy0-bcache-tools-1.0.7-aarch64-unknown-linux-gnu/sbin/* to /nix/store/p8s4q80cysn4cjcn2b7ad7yr8wm84sy0-bcache-tools-1.0.7-aarch64-unknown-linux-gnu/bin
/nix/store/p8s4q80cysn4cjcn2b7ad7yr8wm84sy0-bcache-tools-1.0.7-aarch64-unknown-linux-gnu

Motivation for this change
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

Submitted an upstream PR in https://github.com/g2p/bcache-tools/pull/33


proxy

chromedriver installed but noting result
i updated the chromedriver.exe to chromedriver(linux) #5
Ubuntu WSL2
desktop env is Xrdp
google chrome (non chromium) working

if i run on real windows os
same result

Hello @TukangM, just to start off simply,
The proxy script is running perfectly on Windows.
To clarify on the problem, you might have to check that you have Chrome installed, and the webdriver should be exactly for the same version as that of your browser version.
Typical issues along with important prerequisites on using these scripts are mentioned in #5

Oh ok

I try later. I use Ms edge fir daily browsing


support reading/writing atom props from SD files

This still needs documentation in the "RDKit Book", but the basic idea is to allow automatic extraction of atomic property values from SDF data fields.
Here's a sample SDF showing the format:
test-mol
     RDKit  2D

  3  3  0  0  0  0  0  0  0  0999 V2000
    0.8660    0.0000    0.0000 C   0  0  0  0  0  0  0  0  0  0  0  0
   -0.4330    0.7500    0.0000 N   0  0  0  0  0  0  0  0  0  0  0  0
   -0.4330   -0.7500    0.0000 C   0  0  0  0  0  0  0  0  0  0  0  0
  1  2  1  0
  2  3  1  0
  3  1  1  0
M  END
>  <atom.dprop.PartialCharge>  (1)
0.008 -0.314 0.008

>  <atom.iprop.NumHeavyNeighbors>  (1)
2 2 2

>  <atom.prop.AtomLabel>  (1)
C1 N2 C3

>  <atom.bprop.IsCarbon>  (1)
1 0 1

>  <atom.prop.PartiallyMissing>  (1)
one n/a three

>  <atom.iprop.PartiallyMissingInt>  (1)
[?] 2 2 ?
$$$$

This does not happen by default when processing SDFs; you have to call supp.SetProcessPropertyLists(True) in order to have it go.

@greglandrum I added my comments, I think a few things need to be resolved, but it mostly looks god.


deis run cannot handle large output

I need to get a large generated text file from deis. I do the following
deis run -- cat foo
If foo is large enough, in my case is (7468 lines   26438 words  186989 bytes) , then deis run hangs and no output gets displayed.
Running deis logs afterwards shows the full output of the cat command in the logs.
If I run deis run -- "cat foo | head -n 20" everything works OK.

I can reproduce this using Deis master and vagrant, although my numbers are different.  That looks like the only reasonable way to ensure we always clean up the fleet unit.
However, worker_abort is never called in deis-controller. Although it works as advertised from a sample gunicorn app I created. Something in the container environment or in our controller code seems to be short-circuiting the normal signal handling. (I've also tried many variations on except SystemExit and atexit.register: no joy.)

Update: it is the signal handling code in deis-controller that interferes with some gunicorn server hooks. Commenting out the signal hander in boot allows a worker_abort function to be called in this case.
But frankly I'm not sure it's going to be reasonable to clean up an orphaned fleet unit in this case--the server hook code lives at the WSGI level and really shouldn't be importing the Django world just to call a cleanup method.

Note that #3084 and #3127 have fixed the fleet cleanup issue I mentioned here, so #3403 should actually close this.


Update CA5379 doc

Summary
Rename rule title, note that the rule fires when it can't determine the algorithm, note .NET version may need to be upgraded
Fixes https://github.com/dotnet/roslyn-analyzers/issues/4110

Thank you @gewarren !


Concatenate adjacent string literals in JSX

This takes the fix for #668 one step further by concatenating adjacent string literals, resulting in a single DOM node as it works in Facebook's transpiler.
JSX

  foo
  bar

Before
React.createElement(
  "div",
  null,
  "foo ",
  "bar"
);

which renders as

foo bar

After
React.createElement(
  "div",
  null,
  "foo bar"
);

which renders as

foo bar

Fewer DOM nodes is better for perf and easier to read!

Great, thanks!

:fireworks:

Found a couple of issues.
var x =

  foo
  {'bar'}
  baz

;

should turn into
var x = React.createElement("div", null,
  "foo",
  'bar',
  "baz"
);

But with this patch it outputs:
var x = React.createElement("div", null,
  "foo bar baz"
);

Note the spaces where there shouldn't.

Yea it looks like Facebook smashes those together. I see you changed it which makes sense for consistency :+1:


add single configuration section in documentation

As the config file format, this could be consolidated into one single entry in README.md.

implemented in #36


Implement CalibrationAnalysis

Calibration is whether a system's confidence is well-correlated with whether the system got the answer right or not. It would be nice if we could do analyses related to calibration, such as calculating expected calibration error: https://arxiv.org/abs/1706.04599
I think this should probably be implemented as an additional variety of analysis, which would be simple and self-contained: https://github.com/neulab/ExplainaBoard/blob/main/explainaboard/analysis/analyses.py#L45

@neubig, this is also one feature I have been expecting.  The only complicated thing is we need probability as an additional feature.
We probably can have some rules like this: if a system output file from a classification task contains the feature of probability, then the processor will conduct calibration adaptively, (kinda similar to training set dependent features)

At the moment, if an analysis is not applicable it returns None, so we could do a similar thing here.

Yes, I noticed that. But this also will result in potential bugs when deploying the web platforms, which I have debugged for a pretty long time.
It's a potential schema validation bug that will happen here: https://github.com/neulab/explainaboard_web/blob/c711cf8277c4f19d0c12e18b008b7ec2b8779d00/backend/src/impl/default_controllers_impl.py#L447

I don't think returning None is necessarily a bad thing if we know it's expected behavior. But we could definitely discuss ways to rectify this if it's a problem.

I just created #418 around the topic of None.
Basically I think None is not informative as it provides no fine-grained information, and users have no control in case of invalid operations. I prefer either:

raising appropriate exceptions to inform appropriate information outside the process.
Using the Result semantics (adopted in some other languages, such as Rust). the result type have either the data or error as data.

I think it is better that None is used to inform only no information. If there are some information that are useful to inform externally, it is good to adopt either way described above.

Here are some draft ideas of implementing calibration analysis:

When to perform calibration analysis: (1) classification tasks: text_classification, text_pair_classification, aspect_based_sentiment_classification, tabular_classification; (2) users provide both predicted labels and confidence values in the output file. Check that users provide confidence values in range [0, 1], not logits.
Divide the samples into K bins where K is a hyper-parameter. We can either divide confidence range [0, 1] into K bins, or divide samples evenly into K bins. For now we choose to divide the confidence range.
Calculate the accuracy and average confidence of each bin, and calculate ECE and MCE according to formula (3) and (5) in this paper

One comment: we may want to view a CalibrationAnalysisResult as either a subclass of a BucketAnalysisResult, or a BucketAnalysisResult with some auxiliary information (namely ECE and MCE). That would make it easy to, for example, display the calibration diagram using (nearly) the same code that we normally use for displaying buckets.

@neubig Subclassing should be used when they satisfy the is-a relationship. If we need only the same functionality, implementing separate code is better to organize the whole thing.

This issue was resolved.


#120 Fix translation

PR Checklist
Please check if your PR fulfills the following requirements:

[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

PR Type
What kind of change does this PR introduce?

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting)
[x] Refactoring (no functional changes)
[ ] Documentation content changes

Other information

Issue Number: #120

Thanks @fargito!


jdk18 [windows64]: test failed [Unexpected exit from test [exit code: 1] with There is insufficient memory for the Java Runtime Environment to continue

java/util/regex/NegativeArraySize.java
16:56:48  ACTION: testng -- Failed. Unexpected exit from test [exit code: 1]
16:56:48  REASON: User specified action: run testng/othervm -Xms5G -Xmx5G NegativeArraySize
16:56:48  TIME:   0.078 seconds
16:56:48  messages:
16:56:48  command: testng -Xms5G -Xmx5G NegativeArraySize
16:56:48  reason: User specified action: run testng/othervm -Xms5G -Xmx5G NegativeArraySize
16:56:48  Mode: othervm [/othervm specified]
16:56:48  elapsed time (seconds): 0.078
16:56:48  configuration:
16:56:48  STDOUT:
16:56:48  #
16:56:48  # There is insufficient memory for the Java Runtime Environment to continue.
16:56:48  # Native memory allocation (mmap) failed to map<PHONE_NUMBER> bytes for G1 virtual space
16:56:48  # An error report file with more information is saved as:
16:56:48  # E:\workspace\Test_openjdk18_hs_sanity.openjdk_x86-64_windows\aqa-tests\TKG\output_16479812973657\jdk_util_0\work\scratch\1\hs_err_pid17752.log
16:56:48  STDERR:
16:56:48  OpenJDK 64-Bit Server VM warning: INFO: os::commit_memory(0x00000006c0000000,<PHONE_NUMBER>, 0) failed; error='The paging file is too small for this operation to complete' (DOS error/errno=1455)

https://ci.adoptopenjdk.net/job/Test_openjdk18_hs_sanity.openjdk_x86-64_windows/85/consoleFull
Tests has been updated to @requires os.maxMemory >= 5g & vm.bits == 64
https://bugs.openjdk.java.net/browse/JDK-8273169

Same error with java/nio/channels/FileChannel/LargeGatheringWrite.java.LargeGatheringWrite
https://ci.adoptopenjdk.net/job/Test_openjdk18_hs_extended.openjdk_x86-64_windows_testList_2/27/
Stacktrace
Unexpected exit from test [exit code: 1]
Standard Output
Seed from RandomFactory =<PHONE_NUMBER>934277067L
Writing<PHONE_NUMBER> bytes of data...
Wrote<PHONE_NUMBER> bytes
Total of<PHONE_NUMBER> bytes written
Checking length<PHONE_NUMBER>
#
# There is insufficient memory for the Java Runtime Environment to continue.
# Native memory allocation (mmap) failed to map<PHONE_NUMBER> bytes for G1 virtual space
# An error report file with more information is saved as:
# E:\workspace\Test_openjdk18_hs_extended.openjdk_x86-64_windows_testList_2\aqa-tests\TKG\output_16479892684575\jdk_nio_0\work\scratch\0\hs_err_pid29116.log

The console log mentions
16:32:57  Total memory (bytes) : 134217728
16:32:57  Free memory (bytes) : 131147576
That's less than 1 gb?

Passed on https://ci.adoptopenjdk.net/view/Test_openjdk/job/Test_openjdk18_hs_sanity.openjdk_x86-64_windows/86/.
The console log is misleading, which is actually the info of  java process org.openj9.envInfo.EnvDetector

Issue opened https://github.com/adoptium/TKG/issues/302

Reran https://ci.adoptopenjdk.net/view/Test_grinder/job/Grinder/3935/console
https://ci.adoptopenjdk.net/view/Test_grinder/job/Grinder/3936/console
Passed. And update the console output to printout proper information

Close it as can not be reproduced. Guess the machine's in corner unhealthy status.


Disable update notifications and fix icon

Component
web-ui
Describe the bug
Followup to https://github.com/woodpecker-ci/woodpecker/pull/2722
The Icon is broken in the light mode and there should be an option to disable notifications.
System Info
latest

Additional context
No response
Validations

[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Checked that the bug isn't fixed in the next version already [https://woodpecker-ci.org/faq#which-version-of-woodpecker-should-i-use]
[X] Check that this is a concrete bug. For Q&A join our Discord Chat Server or the Matrix room.

duplicate of #2748
Why should it be disabled? It's a security feature to push admins towards an up-to-date system.


security_monkey should easily allow selecting which auditor checks to run

Here at Yelp, we secure our AWS deployments differently than Netflix does. Makes sense that we'll want different auditor checks. There's no easy way to do that today.
Maybe the solution is some UI that lets us enable/disable auditor checks.

@ivanlei fixed this issue long ago with the Auditor Settings tab.
Closing issue.


feature: Support for forceful termination when second CTRL+C detected.

Motivation and Context

fixes #54
Description

How Has This Been Tested?

Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Performance enhancement (non-breaking change which improves efficiency)
[ ] Code cleanup (non-breaking change which makes code smaller or more readable)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Documentation (a change to man pages or other documentation)

Checklist:

[ ] I have updated the documentation accordingly.
[ ] I have added tests to cover my changes.

Thanks for this! It LGTM (I very appreciated the addition of the LifeStatus enum!), let's get the other PR merged first and then after a rebase / merge from master I think we can merge this as well.


⚠ Bofrost.es has degraded performance

In 6f44434, Bofrost.es (https://www.bofrost.es) experienced degraded performance:

HTTP code: 200
Response time: 1738 ms

Resolved: Bofrost.es performance has improved in f1f1770 after 10 minutes.


API Request hangs forever if zabbix server is unavailable for a while

I'm submitting a ...

[x] Bug report
[ ] Feature request
[x] Question / Support request

For bug report please include this information:

What Grafana version are you using?
3.1.1
What Zabbix version are you using?
2.4.6
What zabbix plugin version are you using?
3.0.0
What OS are you running grafana on?
Centos 7
What did you do?
I'm using grafana dashboard with multiple singlestat panels in 'kiosk mode' that query zabbix datasource. Dashboard is set to be automatically updated every 5 mins using Grafana controls.
What was the expected result?
Dashboard singlestat panels on dashboard shall be updated automatically. If zabbix server is currently unavailable - some kind of timeout shall be issued and stats shall switch to show N/A value. New update retry shall be according to schedule (ie. next 5 mins)
What happened instead?
If zabbix server is unavailable then panels update just hangs. Rotating circle is shown for each single stat and never goes away. No update is possible even if zabbix server is back online. Only full page refresh F5 solves the problem.

P.S. Thanks for this REALLY AWESOME integration that you have made

Thanks! Try to update to latest version. This problem was fixed.

Upgraded to grafana-zabbix 3.2.0 and yes that solves the issue.
Thanks


Break out readme into wiki pages

Per discussion at a hacknight in December with @lomky and @Kevin-Wei : Our readme is great but it's too long. We should break stuff like setup etc into individual pieces in the wiki.

Another approach is to use a docs folder and link to the files within it from the readme. I personally like that approach because it keeps the documentation with the project; I feel like wikis are more likely to drift apart from the code since you can't update the wiki as part of your feature branch.

Agree with @stvnrlly here, I mostly see Wiki's used for Roadmap, etc... and Docs living in the code base (impetus to update them, review them, etc...)


Issue with multidex or multi-level library projects

We are using the latest ButterKnife 8.2.1 in BaseLibrary project and compile as AAR . In the mean time, we have SubModuleLibrary project which depends on that BaseLibrary AAR. There is a sample project in SubModuleLibrary project and it works well when it compile that SubModuleLibrary as library project.
However when we tried to import this SubModuleLibrary as AAR library into FinalProject, there is one field can not be found.
Caused by: java.lang.IllegalStateException: Required view 'rl_content' with ID<PHONE_NUMBER> for field 'rlContent' was not found. If this view is optional add '@Nullable' (fields) or '@Optional' (methods) annotation.
The wired part is there is one another View in that layout and it has been found .
The differences between FinalProject and that sample project in SubModuleLibrary are FinalProject is multidexed since it is over method limit and FinalProject is using that with AAR format.
The project is not minified. I checked that R.class generated and there is "rl_content" with id<PHONE_NUMBER>
Any idea ? Thanks a lot.

sorry. found the reason. That layout has been replaced by layout file with same name in main project.


Broken types for selectPeers selector

Using the latest version of<EMAIL_ADDRESS>and following along with the React tutorial I get type errors when using selectPeers
const peers= useHMSStore(selectPeers); results in:
Argument of type 'OutputSelector<HMSStore, HMSPeer[], (res1: HMSRoom, res2: Record<string, HMSPeer>) => HMSPeer[], never>' is not assignable to parameter of type 'StateSelector<HMSStore, HMSPeer[]>'.
  Types of parameters 'state' and 'state' are incompatible.
    Type 'HMSStore' is not assignable to type 'never'.ts(2345)

In order to get around this I'm having to add explicit typecasts and any which isn't ideal
const peers: HMSPeer[] = useHMSStore(selectPeers as any);

@triptu Awesome! Thank you for the quick reply, I had a feeling it was an upstream dependency causing the issue as I was seeing the same issue with a bunch of different selectors


GitHub repo creation unit tests

Added the following unit tests:

Please update the README with test information:

How to run tests
How to add a test


scan_partitioner is not working as expected.

Parallel algorithms using the scan partitioner are spuriously failing when
the continuation in dataflow is executed asynchronously.
It seems that when passing hpx::launch::sync to the dataflow invocation works around that issue.
A fix needs to be found such that it works with (async) executors again.

How is it progressed now?
Because of this issue, parallel algorithms that use scan_partitioner are very slow.
What problem does it occurs in detail to use policy.executor() instead of hpx::launch::sync?
I want to try to resolve this issue.

What problem does it occurs in detail to use  policy.executor()  instead of  hpx::launch::sync ?

We see random segfaults in this case. Apparently things are going out of scope too early.

I want to try to resolve this issue.

Sure, go ahead - please be our guest.

@hkaiser Can I get more informations about this issue?
I couldn't find the problem with looking the code.
Can you tell when the problem is happening? (ex, which parallel algorithms is executing when the segfault occurs?)

@sithhell: do you have any recollection of how to reproduce the original problem?

One suspicion:
https://github.com/STEllAR-GROUP/hpx/blob/ed3066225e72c9f751bc9ea9e85939e23759e0ff/hpx/parallel/util/scan_partitioner.hpp#L107-L121
Is there no possibility about dangling reference to prev and curr?
If prev or curr is passed by reference to f2 or f3, dangling reference problem can be occurred as I think.

@taeguk, @heller: has this been resolved now?

@hkaiser I don't know. I have no test code which reproduces original problem. So I can't try to resolve this issue. Can I get the code which reproduces the problem?

@taeguk, @sithhell Let's close this for now. We can always reopen it, if needed.

Reopening again. The issue hasn't been worked ok. The partitioner still doesn't use the passed executors.

Reopen because of #3136

Reopen because of #3136


MIGraphX incorrect results in develop branch

Latest weekly build (23124b0) gives incorrect results for resnet50i1.onnx imagenet:
50000 top1: 43 top5: 253
Overall - top1: 0.00086 top5: 0.00506

It does have expected answers for imageneti1.onnx
50000 top1: 38823 top5: 46883
Overall - top1: 0.77646 top5: 0.93766

When run for TF resnet50v2 or for TF mobilenet it dumps core
terminate called after throwing an instance of 'std::bad_alloc'
  what():  std::bad_alloc
Aborted (core dumped)

Accuracy issues also appear with 756c5908c3de37e8560010872b875b1f818e2b83 checking results of 5f2767aad173b20d820421a8d2549172c4e6a66c now...

This comes from the fusion of the conv+conv. I am looking into why it fails verification. You can run resnet 50 with --trim 161 to reproduce the issue with a smaller operations.

It works with 5f2767aad173b20d820421a8d2549172c4e6a66c confirms was introduced with fusion of conv+conv


DataDigger V11 25.2 Value does not fit in long DLL datatype while scrolling down/up in the column browse

Fixed when downloading the sources and recompile


Add Brest, FR elevation data sources

Opening this ticket to start a conversation.
My urban community (https://en.wikipedia.org/wiki/Brest_Métropole) have elevation data as contour data exposed in their open data portal: https://geo.brest-metropole.fr/arcgis/rest/services/public/GPB_REF/MapServer/2210001
I used pyesridump to "scrape" all of it as GeoJSON. I temporarily hosted the file for 30 days in https://transfert.free.fr/NhszRPT
For the datasources.json file:
I'm thinking something like:
{
	"name": "Brest 50cm contours",
	"url": "TBD",
	"filename": "brest_contours.geojson",
	"crs": "ESRI:102110",
	"bbox": [-4.552179, 48.355777, -4.434689727004813, 48.44768660963146],
	"download_method": "http",
	"lookup_method": "contour_lines",
	"lookup_field": "ELEVATION",
	"units": "meters",
	"recheck_interval_days": null
},

url:

Where can I host that ~1Gb file long term?
Could "elevation_lookups" use "pyesridump" to download data from the arcgis server directly (it takes some time, especially at it pauses for 10s between each queries, I guess to not overload the server)?

crs: the page says "Spatial Reference: 102110  (2154)", https://spatialreference.org/ref/esri/102110/
bbox: later on we can probably enlage the box to include the whole metro area, unless you think it's better to do it now.

Let me know what you think,
Thanks

Where can I host that ~1Gb file long term?

Happy to use the A/B Street S3 bucket; we do it for other large files with similar hosting / reproducibility problems. I'll upload a copy hopefully tonight when I'm in a spot with a faster connection and post the URL here

Thank you, both!
@dabreegster much appreciated on the storage.
@XioNoX :

I think incorporating pyesridump or something like it is a great idea, because I can imagine many situations in which temporary storage for one region at a time is easy to arrange, but long term storage for everywhere is cost-prohibitive.  I don't think I'll have the time to do that in the near future, but if you do then I would love a PR for it.  And if not, then I'm happy to write an issue and see if anyone else comes forward.
For the CRS, I think PROJ supports the ESRI: namespace so it should work.  I suggest testing it empirically: if that reference gets you sensible results then keep it, and if not then it may be worth trying EPSG:2154 or EPSG:102110 to see if either of those do.
The bounding box for this one is a bit of a difficult call!  The trouble is that if we use the extent of the whole file, we'll get weird results in the NW and NE corners, where the script should be falling back to SRTM data but won't know that so it will either return zeroes or whatever the nearest contour happens to be.  So I think for general use, the ideal bbox for now is the largest rectangle that fits within the dataset + the sea / estuary.  Unfortunately that would ignore some of the real data, so for Brest-specific uses it may make sense to use a larger one.

In the long run, between this and https://github.com/eldang/elevation_lookups/pull/31#discussion_r1014166244 I am seeing a need to add the ability to use a real dataset boundary instead of a bbox as appropriate.

https://play.abstreet.org/dev/data/input/shared/elevation/brest.geojson.gz only 200MB compressed, FWIW

Thanks for your feedback. I made a tentative with the linked PR but I'm a bit lost on what are the next steps to have it show up in ABStreet (my goal eventually :) ).
I don't have time to incorporate pyesridump (even though it doesn't seem too hard). Opening a separate task about it makes sens to me.
For the CRS, noted. Let's see if that one works as expected.

I noticed that my city's public ESRI can't be reached from outside of France. They're looking at removing that restriction but it makes the "pyesridump" option less straightforward.


Fix indentation for array items

Fixes https://github.com/Microsoft/TypeScript/issues/7503

@vladima any concerns?

:+1:


backpack shake

In order to improve the robustness of the platform motion， what are the measures taken in cartographer?

Cartographer only uses IMU and LIDAR to estimate motion. In 2D, we assume the backpack is kept relatively level and project the LIDAR into the ground plane. In 3D, arbitrary motion is allowed and no assumptions are made.


Augument messagestatus_senzingapi.go with Senzing engine errors

The current version of messagestatus_senzingapi.go is a little shy on return code returned from the Senzing Engine.
https://github.com/Senzing/go-logging/blob/1c5672c559a721e533c2b8b39fda365c9b382be3/messagestatus/messagestatus_senzingapi.go#L54-L62
This issue is to add more Senzing Error Codes.


Remove or revise diagram for services and labels

This is a followup for #25169.
Diagram on https://kubernetes.io/docs/tutorials/kubernetes-basics/expose/expose-intro/
The problem is that the diagram is misleading. It is not correctly depicting the relationship between a Deployment and a Node, i.e. a Deployment can span multiple Node. The diagram is also "overloaded", i.e. trying to deliver too much information in a single view.
Maybe we should remove it, or better yet, revise it for clarity.

Many newcomers start from the tutorials and they tend to overwhelm by a lot of new concepts. Diagrams help the users to understand new concepts so I think it's preferable to replace better diagrams rather than remove them completely.

It has not been long since I learned Kubernetes and I agree with @shuuji3 that diagrams play an important role in making the tools accessible. I'll happily work on a new diagram; it will be my first contribution to Kubernetes...

:+1: for revise

/triage accepted
If revising, and even if the revised diagram looks different from other tutorials, I recommend using icons from https://github.com/kubernetes/community/tree/master/icons
See https://kubernetes.io/docs/concepts/overview/components/ for an example of visual style (it renders pretty much anywhere but IMO looks best in Chrome / Chromium).

Made a replacement for the diagrams on https://kubernetes.io/docs/tutorials/kubernetes-basics/expose/expose-intro/ . There is two very similar diagrams on the page and the only difference between the two is that the second one has labels. This might act as a replacement for both. Any suggestions and comments are greatly appreciated...

I'd use the blue color everywhere for the icons, but feel free to use a different color for the labels. The Pod labelled app=B should be blue not purple. I would make the label for B be purpl;e.
aside The Kubernetes fonts are Open Sans for main text and Ubuntu for the logotype
I'm not sure what that diagram is showing. It looks like there's a Deployment with 3 Pods (the ReplicaSet is not shown) and a bare Pod, and all 4 match the selector for the Service. There is also a bare Pod for app B. I don't see any Endpoints object, that might be useful to illustrate.
for the Service, the selector is app=A but it's not clear that that's a selector. How about changing the labels for the Pods and for the Deployment to be app: A / app: B, that way the selector stands out? I would also label the selector with the text “selector” or add a key to the diagram.
in the Deployment, it's relevant that its Pods are labelled as app A. The label on the deployment is not relevant.

That's quite a lot of feedback - feel free to ask for more detail on any point @mehmetefeumit.

@sftim Thank you for the feedback. I got rid of the purple pod and made the contrast between the labels and the selector more distinct. I added the ReplicaSet to make the diagram more accurate, and moved the label from the deployment to the pods. The latest version is below:

The only part I am uncertain about is adding the endpoints. The main purpose of the text is to explain how selectors and labels are used to assign pods to services. Wouldn't adding endpoints make the diagram more complex than necessary?

That looks good - would you be willing to send in a pull request @mehmetefeumit ?

The rest of this feedback describes future work.
As well (maybe a second PR?) I think I'd like to see a diagram that shows the packet flow, so this would include a load balancer and the 4 selected Pods. Probably not nodes, unless we think that's needed. We could make a more complex version of that diagram that also shows Endpoints / EndpointSlice objects, and add the complex diagram to https://k8s.io/docs/concepts/services-networking/service/
The ideal outcome for me is that someone looking at this tutorial sees a hyperlink to a related page, and the reader can go from the tutorial page to another page that expands on the explanation without being overwhelming.

I'd love to send in a PR, but I have not been able to get Hugo working to test the dimensions of the image before committing. It keeps producing errors when I try to build the website in a container. I have all the dependencies installed and have no idea why this is happening.
Error: Error building site: "/src/content/vi/blog/_index.md:1:1": timed out initializing value. You may have a circular loop in a shortcode, or your site may have resources that take longer to build than the `timeout` limit in your Hugo config file.
make: *** [container-serve] Error 255

@mehmetefeumit Awesome! Thank you for creating a new diagram. I think it's much better than the current one.
Here's some feedback:

How about using the Labeled icons instead of Unlabeled ones from community/icons? I think adding hints is better especially for the Pod icons. It's difficult for readers who see the Kubernetes icon for the first time, to understand the meaning of icons without labels.
I feel the label color (for example "Deployment") is a bit too light and the contrast is low. Maybe the current color is #999999? How about changing it to #666666? It's conformant with the accessibility standard. You can check the color contrast with WebAIM: Contrast Checker.

For the container build error, did you try to follow the instructions on the README.md?

Thank you for the feedback. I applied your suggestions and fixed a couple of inconsistencies with the font coloring etc. The most recent is below:

I will try to solve the container build error today.

Thank you for the feedback. I applied your suggestions and fixed some consistency errors with coloring, positioning etc. The latest version is below:

I will try to fix the container build error today. Yes, I followed the instructions on the README.md (a couple of times) but no luck. Regardless, I'll send an update.

It looks good to me. Thank you @mehmetefeumit!
That's unfortunate...😢 But if you open a PR against the master branch on this repository, the preview build will be triggered by Netlify. So we can check what looks like the change of the page and diagram.

This diagram looks good to me. One improvement I can think of is to change the service IP to a different subnet.


CPKAFKA-1582: Improve metrics thread shutdown resiliency

Depends on https://github.com/confluentinc/support-metrics-common/pull/45

Thanks for the review! The wait on join() is until the metrics thread exits - this behavior has not changed and we can take it up in a follow-on PR if it continues to be a problem.
Merging to 4.0.x and up.


Update minimal schema to remove specific information

 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.EC2 Default User seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


Tests: improve PHP 8.4 deprecation work-around

Follow-up on PR #159.
This commit builds on the earlier change, but instead of making the whole AssertObjectEqualsTest class have a PHP 7.1 minimum requirement, it now limits that requirement to just the one affected test.
The affected test now uses a separate test fixture to allow the bulk of the tests to run on PHP 7.0 (which was the previous minimum requirement for these tests).

coverage: 96.408% (+0.1%) from 96.264%
when pulling 5c585709a49ad5b4f1de1f32b0383d4c6e10491d on feature/improve-php-8.4-workaround-implicitly-nullable
into 3abb63e25e01331806547754bc01a90dd77c01e2 on 1.x.


Commands must be sorted

Right now, commands aren't sorted, so they're listed out of order on both the overview list, as well as the main content.
See https://github.com/stellar/stellar-cli/blob/806cb398c3b9887e5e67f3b63016ec4cb2132636/FULL_HELP_DOCS.md for an example.

I would like them to appear in the same order that clap outputs them, respecting display_order() and grouped by help_heading(). Perhaps alphabetical sorting could be an option?


Make GOOGLE_SHEETS_TEMPLATE_FILE_ID a Heroku environment Config Var

Currently, the Google Sheets template is hardcoded in settings.py. We should make it a environment variable (Heroku Config Var).

Fixed in aa921d0de9d5bd5bfecfc49ef3876eb306152d59.


Add TRIPS: TRIPS

[x] I understand that token listing is not required to use the Polygon Wallet with a token.

Please provide the following information for your token.
Token Name: TRIPS
Token Symbol: TRIPS
Decimals: 18
Polygon Address: 0x77F0F7d657f362C4b703417B800B83B989a288a2
Ethereum Address:  0x1350fbe8ce27762ec19134bf8fc405a427fe9bf1
Logo URI: https://gateway.pinata.cloud/ipfs/QmVxZCAvxab8bUhaScwqw6NWABmqz4jmjJ3qnYUbdKweEf
Project Name: Trips Community
Project Summary: Open Protocol for Web3 in Travel
Project Contact<EMAIL_ADDRESS>Project Website: https://www.tripscommunity.com/
Mainnet/Testnet: Mainnet
Additonal Notes: mapped via https://mapper.polygon.technology

Included in AllTokens v1.2.0.


typo: protc is not found

This PR is to fix a typo in a message in configure.
The WARNING sounds weak and looks not enough as protoc is required to build tkrzw-rpc from source, by the way.

Thanks for the fix.
I agree that WARNING sound weak.  Stopping the configure on the spot is a feasible option.
The reason I do this currently is that stopping by one issue prevents us from listing up all issues at once.
And for some people, fixing the problem by editing Makefile manually is easier than setting proper environment variables for configure.
So, let us keep this structure until we find a better solution.


List: Nested lists should be supported in Figma

It should be possible to create a nested list in Figma, like you can do in code.

[x] Added nested and ordered list to Figma component. Branch

Works well in Figma


As a novice user of BeHere, I want a detailed, interactive, and visually appealing map so that I could find events I could be interested near my location

As a novice user of BeHere, I want a detailed, interactive, and visually appealing map so that I could find events I could be interested near my location.
Acceptance Criteria

The map should be navigable either by search or dragging.
The map should center on the current location of the user.
I should have at least one sample event to click on and show data about.

Resources:
https://angular-maps.com/
https://w3c.github.io/geolocation-api/#get-current-position


[ImgBot] optimizes images

Hey there. I've just optimized all of your images. They are the same dimensions and quality as before, only they take up less space now.
\tensorflow\examples\android\res\drawable-xxhdpi\ic_launcher.png (16.04%))
\tensorflow\contrib\factorization\g3doc\gmm.png (61.79%))
\tensorflow\core\profiler\g3doc\profiler_ui.jpg (12.02%))
\tensorflow\contrib\pi_examples\label_image\data\grace_hopper.jpg (4.83%))
\tensorflow\contrib\factorization\g3doc\kmeans.png (61.21%))
\tensorflow\contrib\factorization\g3doc\wals.png (3.51%))
\tensorflow\core\profiler\g3doc\code_timeline.png (39.87%))
\tensorflow\contrib\kernel_methods\g3doc\acc_vs_outdim.png (13.7%))
\tensorflow\core\lib\png\testdata\lena_rgba.png (5.21%))
\tensorflow\contrib\kernel_methods\g3doc\acc-vs-trn_time.png (14.03%))
\tensorflow\contrib\kernel_methods\g3doc\kernel_mapping.png (2.08%))
\tensorflow\contrib\linear_optimizer\kernels\g3doc\newton.png (38.51%))
\tensorflow\core\lib\jpeg\testdata\medium.jpg (7.52%))
\tensorflow\core\profiler\g3doc\graph_timeline.png (0.3%))
\tensorflow\contrib\learn\python\learn\estimators\g3doc\svm.png (57.3%))
\tensorflow\core\lib\jpeg\testdata\small.jpg (26.06%))
\tensorflow\core\profiler\g3doc\scope_timeline.png (45.94%))
\tensorflow\examples\android\res\drawable-hdpi\ic_action_info.png (23.61%))
\tensorflow\examples\ios\benchmark\data\grace_hopper.jpg (11.77%))
\tensorflow\examples\label_image\data\grace_hopper.jpg (4.83%))
\tensorflow\contrib\linear_optimizer\kernels\g3doc\mod_newton.png (34.1%))
\tensorflow\examples\android\res\drawable-mdpi\ic_launcher.png (8.74%))
\tensorflow\examples\android\res\drawable-hdpi\ic_launcher.png (10.83%))
\tensorflow\examples\ios\camera\data\grace_hopper.jpg (11.77%))
\tensorflow\examples\android\res\drawable-xhdpi\ic_action_info.png (23.69%))
\tensorflow\examples\multibox_detector\data\surfers.jpg (8.2%))
\tensorflow\examples\android\res\drawable-hdpi\tile.9.png (30.1%))
\tensorflow\examples\android\res\drawable-xhdpi\ic_launcher.png (12.39%))
\tensorflow\contrib\linear_optimizer\kernels\g3doc\newton_compare_experiment.png (35.35%))
\tensorflow\examples\android\res\drawable-mdpi\ic_action_info.png (23.61%))
\tensorflow\examples\tutorials\deepdream\pilatus800.jpg (35.75%))
\tensorflow\contrib\verbs\design_diagram.png (44.22%))
\tensorflow\examples\ios\simple\data\grace_hopper.jpg (11.77%))
\tensorflow\examples\android\res\drawable-xxhdpi\ic_action_info.png (25.65%))
\tensorflow\core\lib\png\testdata\lena_gray.png (24.95%))

Can one of the admins verify this patch?

Thanks! Since these are binaries, for security reasons we'll probably want to run the optimizer ourselves. How did compress them?

ImgBot uses Imagemagick - https://github.com/dlemstra/Magick.NET - utilizing the LosslessCompress routine
see
https://github.com/dabutvin/ImgBot/blob/78efe1179df81acb9990bbba52cee072e6ac42d9/ImgBot.Function/CompressImages.cs#L64-L89
This bot is designed as a GitHub app that you can install into a GitHub repo.
https://github.com/apps/ImgBot

@drpngx what should be the next steps here?

Thank you @dabutvin sorry it dropped off my list.
@MarkDaoust @mhyttsten Any suggestions here?

I can recompress the images, but I'm not sure about the value of doing this, on github.
Git stores the history, so while looking at an image will be more efficient, doesn't this just add bloat for anyone doing a git clone (without using the --depth flag)?
Isn't the right solution to move these to tensorflow.org and compress them there?

Technically, no images >20k should be in the repo. We once had a presubmit for that, but not sure it's doing its job. Especially the images in various g3doc subfolders seem very suspect.
Those should probably be deleted (the folders) -- they don't belong on github at all, docs_srcs should be it.

I will close this PR -- I do like the bot though, it's very cool!


⚠ Bofrost.de has degraded performance

In 1f6da4b, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1200 ms

Resolved: Bofrost.de performance has improved in 8bbfd33 after 8 minutes.


Make configuration v0.12 compatible

These changes (intentionally) keep the configuration still 0.11 compatible.
I reckon when 0.12 final is out the configuration can be upgraded using the upgrade guide and 0.12upgrade command.

Thanks for the PR. I've upgraded myself. The modules will be 0.12 from here now.


[RFC][WIP] Speed up CI by using cache more effectively

Mothballing this PR for now as the given approach results in targets not included in tests not being built, which could easily cause us to miss compile errors unless we identify any targets that are not dependencies of a test and may still be important to us. Note that the approach described in the code comments has been replaced with the --build_tests_only flag, which results pretty much in the same behavior without needing this complex justification.

Obsoleted by #2331, which achieves the original objectives of this using --remote_download_toplevel, which has been fixed as of Bazel 7.2.1.


Uri list view sorting incomplete / buggy

The default table for Uris (/apis/apis_metainfo.uri/) is not sortable by either Entity Type or the first column (labelled Desc) which shows the Uri itself:

and sorting by related Entity results in an error:
FieldError at /apis/apis_metainfo.uri/

Cannot resolve keyword 'entity' into field. Choices are: domain, id, loaded, loaded_time, rdf_link, root_object, root_object_id, uri

A workaround for the default column not being sortable seems to be to add  Uri from the additional columns dropdown on the left (values look identical?):

only those fields represented in SQL tables (the queryset) are sortable. Desc is created by the str() function on the instance.
we clean up the table and make the entity type sortable.

remove Desc from URI table and add Uri column to default view.


how to set item width

how to set item width

You cannot directly give width, but you can specify aspectRatio and wrap the widget with SizedBox and give it height value. I will consider your request in future.


preview: remove .cloudapps.digital routes from apis

https://trello.com/c/H53K45It
I guess this is the next logical step...

:g-cloud-11:


[ Fixing the Position and Improving Navbar Design ]

What's the style idea?
Position Fixing :
Set the navbar's position to fixed to keep it at the top of the page when scrolling.
Adjust the z-index if needed to ensure the navbar appears above other elements
Design Enhancements :
Add padding or margin to create space between navbar items for a clean layout.
Consider hover effects or animations for interactive elements.
please assign me solve this  thnku
Checklist

[X] I have checked the existing issues.
[X] I follow Contributing Guidelines of this project.
[X] I am a GSSoC'24 contributor.

Code of Conduct

[X] I agree to follow this project's "Code of Conduct".

@SAURABHVERMA00 Use CSS only and make sure to check in mobile view also make clear comments what you changed and while making PR add images of o/p also in different views

ok thanku

@SAURABHVERMA00 @souravgope This is an Open source project anyone can work and make PR's the one who make an efficient code and cool UI. That will be selected for merging while merging we'll add the labels

hey, can you assign me this issue if issue is still not solved? This is my first time in open source and I really want to showcase my skills.


SQLiteMC native library support for Mac M1 (aarch64)

May I have know that there would be any way to support for Mac m1(aarch64) please?
thanks!

Mac M1 support is planned, but not yet ready (not ETA yet). The only blocking thing is the cross-compilation of the native library included.
You should be able to build the native library yourself on a M1 if really needed. I have to check if the necessary tooling to cross-compile the SQLiteMC library is available or not.

Mac M1 support is planned, but not yet ready (not ETA yet). The only blocking thing is the cross-compilation of the native library included.
You should be able to build the native library yourself on a M1 if really needed. I have to check if the necessary tooling to cross-compile the SQLiteMC library is available or not.

OK.  thanks

@Willena I'm also interested in this as well

@Willena Soon this will quickly become a blocking issue for me. Is there any  ETA on this?

@Willena Hey - any update on this? I have access to an m1 mac mini if that helps you in any way.

@ScottPierce I'm sorry, I'm very busy these days and I've not a lot of time left that I can spend on other projects.

@ScottPierce I'm sorry, I'm very busy these days and I've not a lot of time left that I can spend on other projects.

What needs to be done to complete this effort?

Hi !
Sorry for the late reply,
The Makefile should already contain part of the required configuration for a macOS aarch64 build (https://github.com/Willena/sqlite-jdbc-crypt/blob/f27db642675fc03e1a30813378776dc6aaf03f94/Makefile.common#L197).
It should work if the machine used is a M1 Mac when issuing the make jni-header native OS_NAME=Mac OS_ARCH=aarch64 command, then mvn package to generate the final jar (only compatible with M1 mac). If you have docker installed, you can try cross compiling all other targets.
Specifically for the project, here what I need to do:

Build the macOS aarch64 binary automatically (like other platforms) (have compiler, libs and docker image ready for the architecture)
Make sure the library (SQLiteMC) itself works on M1
Make sure all tests (and maybe more) still works

Any help on that subject would very be appreciated 😄

Seem support was added recently for xerial

Release <IP_ADDRESS> now includes Mac aarch64 library


feat: add a new range date field component

I think that focus should be stand on the first left item in case of click on the right side of the control
https://github.com/gravity-ui/date-components/assets/26501073/de502601-67f8-4d73-bc90-12ecb98f2d61


How to visualise with 3D graspping pose?

Hi Doug,
thanks for your amazing work, I managed to run your project and get some results (Figure1) from cornell dataset and Jacquard dataset.
My question is how to get the visualisation as shown in your paper (Figure2) ?
thanks
Figure 1

Figure 2

Hey there,
The second visualisation is from RViz (the visualisation tool from ROS).  You can see an example of how it's published here.  But converting the GG-CNN output to a 6D Pose requires the camera intrinsics (see here), so it may not be possible just from the Cornell or Jacquard datasets.  Hope that helps.