Use Java-level double type results

Why do we need to call JS to convert the result here? Wouldn't it be better to just keep the double semantics at the Java level?

E.g.
> 1.01.toString()
'1.01'
> 1e21.toString()
'1e+21'
> 1000.1.toString()
'1000.1'
> 1.23e20
123000000000000000000
> 1.23e21
1.23e+21
> 1.23e-21.toString()
'1.23e-21'

I want to keep it directly so that it can be used in the Java layer. Because the Double in the Java layer will also be like this, I am not sure what it will affect

Please use getValue().toString() instead.

ok


Add-ons' release notes text not visible

Latest stable Firefox 68 for Windows, in the Add-ons Manager page, extensions' Release Notes are not displaying text in visble color, I have to Ctrl-A to select all text in box to see it.

Same here in Linux.

The issue is worse than you said.
Even the options text is unreadable, and it cannot be selected.
See the screenshot here attached. The same happens for many other addons.

Is there a workaround for this? I can't seem to get it working even if I change this variable in userChrome/userContent

Just tried using the installer 2.20 again.
Without shadowfox everything works fine.

Removing ShadowFox as the project looks like it is abandoned.

Hi,
you can easily fix this in the latest versions of Firefox by visiting "about:config" and setting "browser.in-content.dark-mode" to true. Just restart the browser after you've done it.

Hi,
you can easily fix this in the latest versions of Firefox by visiting "about:config" and setting "browser.in-content.dark-mode" to true. Just restart the browser after you've done it.

This did not work for me. I'm on Firefox 69.0.1 W7

I'm also on v69.0.1, Windows 10 though. Plus ShadowFox v2.2.0.
Did you restart the browser after changing the setting?
Example Add-Ons Manager
Example Store

I'm also on v69.0.1, Windows 10 though. Plus ShadowFox v2.2.0.
Did you restart the browser after changing the setting?
Example Add-Ons Manager
Example Store

I got it to work by adding a new integer preference in about:config called ui.systemUsesDarkTheme and setting the integer to 1

browser.in-content.dark-mode true and browser.in-content.dark-mode 1 is working for me. Thanks !


Fix Mac install of latest grype +  Add Support for Arm64

Looking at latest https://github.com/anchore/grype/releases the zip file for mac has been removed

Hi @timpur thank you for considering a PR to this repo!
It was the right amount of activation energy to go ahead and make this repo base on the ASDF plugin template, which I am currently testing at https://github.com/poikilotherm/asdf-test. It already contains the necessary changes to support the new  download URLs and should work with MacOS out of the box.
(As soon as I can figure out why the downloaded file is deleted before installation, this repo will repo will be updated with the content from there.)
Thanks again for living the open source idea!


Update utils and content versions

This is everything needed to overcome the breaking change to utils version 18.

:+1:


Enabling new hostpath-storage for portainer

Thank you for making MicroK8s better
Please reference the issue this PR is fixing, or provide a description of the problem addressed.
Also verify you have:

[ ] Read the contributions page.
[ ] Submitted the CLA form, if you are a first time contributor.

Hi @balasu thank you for this PR. As we discussed this change has been incorporated into a different PR so you do not need to do anything for the hostpath-storage. Thank you for being on top of things.


kubernetes + cri-containerd + containerd installer

This commit contains ansible playbooks to install kubernetes, cri-containerd and containerd components as well as supporting configurations and dependencies to facilitate the usage of the kubernetes cluster with containerd.
With this change users can bring up k8 cluster in 2 steps

Run the ansible playbook to install the necessary components
Run kubeadm init to initialize the cluster and subsequently run kubeadm join on remaining nodes
I will follow up with another PR that will have detailed set of step by step guide to install kubernetes.
There is a lot of scope for improvements and optimization. This is first cut and will gradually update the playbooks and install methods subsequently.
This has been tested on ubuntu clusters. Though the centos playbooks are attached I havent gotten a change to test it out. I believe the centos playbook is pretty similar to ubuntu dependencies but for few extra configurations which are addressed.
The goal will be to eventually cover all the supported and tested platforms RHEL, Fedora, Sles, Linuxkit images etc.

Signed-off-by: Abhinandan Prativadi<EMAIL_ADDRESS>

Will review this at the weekend.

BTW, we also need this
https://github.com/kubernetes-incubator/cri-containerd/blob/master/hack/test-e2e-node.sh#L43-L52.
At least add TODO for it.

I will work on the TODO itself now.

Don't know why, I could not reply to your comment directly. Something wrong with github. Send my reply here.

I saw that in our readme so I added this here. Let me know if we need to add a different package

We need them because we need to build the binaries. For actually running the binary, I don't think we need the -dev packages. Please at least add TODO to figure out what we need and what not.

@Random-Liu done. PTAL

Will take another look tomorrow.

/lgtm


Adaptive Icons

an xml file is returned as icon, not an image file - what to do?
See PR #454

the xml file that is returnes looks actually to be correct
but it will probably confuse the user if an xml file is returned and not an image file

Could use https://gitlab.com/Hyperion777/VectorDrawable2Svg

For F-Droid we'd be interested in having a way to get the fallback png icon. A good testcase for why this is sometimes complicated is K-9 mail as documented here: https://gitlab.com/fdroid/fdroidserver/issues/744#note_295316246


syntax: Allow // comments

A lot of ST programming environments allow using // to start a comment until the end of the line.  Properly highlight such comments.

Thank you!


1.0.0 was released as universal

FYI: https://pypi.org/project/PyWavefront/#files
The current wheel is named:
PyWavefront-1.0.0-py2.py3-none-any.whl

This will cause issues for python 2 users.

oh... have to not use --universal, right? So build command becomes
python setup.py bdist_wheel
Is that correct?

oh... have to not use --universal, right?

Correct. When not using --universal the wheel will only be built for the python version it was created in.

You cannot update release on pypi, but you can delete them afaik.

If I do 1.0.1 instead of trying to fix 1.0.0, will that be OK?

I think you need to delete 1.0.0 and release 1.0.1 yup

Also, from personal experience it will always be easier to build a version in a python 3.6+ env. If you install 3.4 from scratch for this purpuse you'll bump into way too many issues with pip and setuptools not being up to date.

Right; I'm updating the RELEASE.md file to reflect this

1.0.0 deleted from pypi

Upload/release complete. Verified it's py3 only. Still waiting for pypi.org to update, but verified 1.0.1 is visible, and 1.0.0 is deleted via the admin back-end.

Success!
With python 2.7.15
$ pip install PyWavefront
Collecting PyWavefront
  Downloading https://files.pythonhosted.org/packages/f0/a3/6ca004f861af7775dd666ea1fc537a1ce90f2ae5afeac5525eb7e43a29d9/PyWavefront-0.4.2-py2.py3-none-any.whl
Installing collected packages: PyWavefront
Successfully installed PyWavefront-0.4.2

With python 3.7
$ pip install PyWavefront
Collecting PyWavefront
  Downloading https://files.pythonhosted.org/packages/cc/d0/39dad65336b592ea70530ae79b03ed7e4dea622aa7771d3b41a92953d94b/PyWavefront-1.0.1-py3-none-any.whl
Installing collected packages: PyWavefront
Successfully installed PyWavefront-1.0.1


Dart 2 support

Dart 2 compatibility for flutter support

Aqueduct 3.0 will support Dart 2.0. There are some blocking issues in Dart 2 that prevent Aqueduct from running.  I will resolve this issue when those issues are resolved.

[ ] Update template pubspecs Dart SDK version to ^2.0.0
[ ] Update/verify dependency packages to release versions
[ ] Set package SDK constraint ^2.0.0
[ ] Revert travis.yml to Dart stable when available
[ ] Add code coverage back to travis.yml when available

dart-lang/sdk#33207 is solved?

33207 has not yet reached the dev channel, but will soon.

A beta has been deployed to pub and Dart 2 support is complete. This issue will remain open until Dart 2 is in the stable channel and the remaining version constraint tasks can be completed.

Dependency checklist:

[ ] isolate_executor ^2.0.0
[ ] open_api ^2.0.0
[ ] password_hash ^2.0.0
[ ] postgres ^1.0.0
[ ] safe_config ^2.0.0
[ ] aqueduct_test ^1.0.0
[ ] codable ^1.0.0


Adopt Node 18 & standardise on fnm for Node version management

Resolves https://github.com/wagtail/wagtail/issues/8499
Node 18 is close to LTS and will be the LTS once the next release goes out https://nodejs.org/en/about/releases/
Recommending one Node version manager is simpler fnm and it also works better for Windows

@thibaudcolas  getting this error on the CI - does this require someone to log in to approve the Node update? Or do you think I need to specify an exact version?
https://circleci.com/developer/images/image/cimg/node
Build-agent version 1.0.137422-1ab6f72e (2022-09-02T14:10:21+0000)
System information:
 Server Version: 20.10.16
 Storage Driver: overlay2
  Backing Filesystem: xfs
 Cgroup Driver: cgroupfs
 Cgroup Version: 1
 Kernel Version: 5.13.0-1023-aws
 Operating System: Ubuntu 20.04.4 LTS
 OSType: linux
 Architecture: x86_64

Starting container circleci/node:18
Warning: No authentication provided, using CircleCI credentials for pulls from Docker Hub.
  image cache not found on this host, downloading circleci/node:18

Error response from daemon: manifest for circleci/node:18 not found: manifest unknown: manifest unknown
``

ok - I was able to fix this - the circle CI images naming convention has changed.
https://circleci.com/developer/images/image/cimg/node

Thanks @Scotchester  I have rebased and will merge this in once CI runs again, I also changed to 18.12 not 18.10 (as that's officially when the LTS started).


Feature/refactoring experiment

This module, parses the source code to collect data for ProtoBuff, which will further be utilized for analysis.

@ameyaKetkar, I can't speak for the Error Prone team, but it's not clear to me what this PR is aiming to do... :thinking:
Can you clarify things for me?

@jbduncan I am attempting to develop a refactoring tool using error prone to specialise usage of functional interfaces with @eaftan and @amesbah . This is some experimental code to check feasibility.

Oh, that sounds cool! Thanks for the clarification. :)


Add workaround for rc: -13

I've commonly hit this when configuring prometheus:
TASK [prometheus : Get container facts] *************************************************************************************************************************************
Monday 24 June 2024  11:09:37 +0000 (0:00:08.528)       0:01:31.707 ***********
fatal: [will-compute-01]: FAILED! => changed=false
  module_stderr: ''
  module_stdout: ''
  msg: |-
    MODULE FAILURE
    See stdout/stderr for the exact error
  rc: -13
fatal: [will-compute-02]: FAILED! => changed=false
  module_stderr: ''
  module_stdout: ''
  msg: |-
    MODULE FAILURE
    See stdout/stderr for the exact error
  rc: -13

The ControlPersist  workaround is documented in these bug reports:

https://github.com/ansible/ansible/issues/78344
https://github.com/ansible/ansible/issues/81777

From the comments, It seems like this does not completely resolve the issue, but does decrease the frequency that you hit this.
The Prometheus tasks seem particuarly susceptible as they run on every host.

Worth noting that the other related settings have sensible defaults: https://docs.ansible.com/ansible/latest/collections/ansible/builtin/ssh_connection.html#parameter-control_path

How well tested is this change? Is it safer to bring it in with Caracal?

How well tested is this change? Is it safer to bring it in with Caracal?

Currently testing with multinode. I will mark as draft for now as I still haven't reached the end of a multinode deployment due to various unrelated issues :D

This seems to have made my multinode deployments more reliable -  I've completed several runs end to end now.

Still hitting this issue when trying to deploy multinode on :
ansible [core 2.14.11]
  config file = None
  configured module search path = ['/home/cloud-user/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
  ansible python module location = /home/cloud-user/venvs/kayobe/lib64/python3.9/site-packages/ansible
  ansible collection location = /home/cloud-user/.ansible/collections:/usr/share/ansible/collections
  executable location = /home/cloud-user/venvs/kayobe/bin/ansible
  python version = 3.9.18 (main, May 16 2024, 00:00:00) [GCC 11.4.1 20231218 (Red Hat 11.4.1-3)] (/home/cloud-user/venvs/kayobe/bin/python3)
  jinja version = 3.1.4
  libyaml = True```

   Is it worth bumping even more ? I am testing with 2h now

Just hit this in the Groningen Habrok Antelope upgrade


Idea - Show documentation from docblock.

Hello
This is more of an idea, but since docblocks are already parsed, it would be neat if the description (short and/or long summary) from the docblock could be shown when selecting an item in the autocompletion list. I believe atom-ternjs [1] also does this for JavaScript methods. Optionally the docblocks of the parameters could also be shown in the description (e.g. by making the parameter names bold and placing the description behind them in the popup).
For methods without a docblock, the docblock from the parent class or interface should probably be selected (but I think the same already applies for the current code).
Thanks in advance
[1] https://github.com/tststs/atom-ternjs

Hello,
In fact, it's that hard and I would like to do it since the functionality appears in autocomplete + plugin. But I prefered till now, to focus on bigger autocompletion functionalities (because I'm using this plugin at work).
I'll see, I can't say when (perhaps very soon because you asked it ?), but I really want to have the doc too.

Thanks for your response. Feel free to take your time with this, it is not something I desperately need but more of a suggestion on the longer term (or farther along the roadmap).

I think that I'll try on it after #28
But if you want, you can also try to implement this functionality ;) Every contribution is welcome !

Hello
The short description is now shown (no inheritance, just the short description on the given method of the given class for the moment)

Thanks, it's very handy already even without the inheritance.

Can probably be closed as well, you already had the summary working and the (long) description is now shown in the tooltip, with support for inheriting it from parent classes.

I will add tomorrow, a command to show the tooltip under the cursor. I'll close this issue once it's done.

If someone know how to get an element under the cursor, it would be great (see https://discuss.atom.io/t/get-dom-element-under-cursor/20840).

Can you perhaps use pixelPositionForBufferPosition with the cursor position and then elementFromPoint on the shadowRoot with the detected position? Note also that if the cursor is outside the view, you probably can't get the element as the only elements in the HTML are the ones that are currently visible, I think.

Also, perhaps it's a good idea to split the remaining work off into a separate ticket, to have a better ticket title and get rid of the comments that no longer apply.

I've split this off into #182 so this can be closed (the title is confusing ;-).


get_car_data() / get_telemetry errors

Having an issue pulling the car data:
race = ff1.get_session(2021, 9, 'R')
laps = race.load_laps()
ver = laps.pick_driver('VER').pick_fastest()
ver_car = ver.get_car_data()

As result I get the output below
Traceback (most recent call last):
  File "graphing.py", line 29, in <module>
    ver_car = ver.get_car_data()
  File "/Users/.../Library/Python/3.8/lib/python/site-packages/fastf1/core.py", line 1919, in get_car_data
    car_data = self.session.car_data[self['DriverNumber']].slice_by_lap(self, **kwargs).reset_index(drop=True)
KeyError: '33'

Same when trying to get telemetry data instead of only car data:
race = ff1.get_session(2021, 9, 'R')
laps = race.load_laps()
ver = laps.pick_driver('VER').pick_fastest()
ver_car = ver.get_telemetry()

As result I get the output below
Traceback (most recent call last):
  File "graphing.py", line 29, in <module>
    ver_car = ver.get_telemetry()
  File "/Users/.../Library/Python/3.8/lib/python/site-packages/fastf1/core.py", line 1891, in get_telemetry
    pos_data = self.get_pos_data(pad=1, pad_side='both')
  File "/Users/.../Library/Python/3.8/lib/python/site-packages/fastf1/core.py", line 1933, in get_pos_data
    pos_data = self.session.pos_data[self['DriverNumber']].slice_by_lap(self, **kwargs).reset_index(drop=True)
KeyError: '33'

Is this also related to the DriverNumber != drv_num issue?

Forgot with_telemetry=True in load_laps()
Solved.


Openssl should not have runtime dependency on perl

According to this commit, openssl should not have runtime dependency on perl
https://github.com/NixOS/nixpkgs/commit/3f05ed581fb203987fb31733422e0490cedef5ec#diff-d6435511b194efc1d3b6e3276b7f4bdfR39
Yet, when I build
with import <nixpkgs> {};

buildEnv {
  name = "openssl";
  paths = [ openssl ];
}

It results the following graph with nix-store -q result --graph | dot -Tpng

That causes the closure for openssl to be pretty much bigger than necessary.

In case that I've understood something wrong and openssl must depend on perl, I'd be interested in learning, how to override it to not depend.

Perhaps related to https://github.com/NixOS/nixpkgs/issues/5895?

It installs perl scripts:
$ nix-build -Q -A openssl
/nix/store/g2x8nb50bj0ysf7k3kxzm9axgx4hyk4j-openssl-1.0.1l
$ nix-store -q --references ./result
/nix/store/7yvf54nxwmaslcgyqfghqsqr1dwmr8ld-glibc-2.20
/nix/store/c8phpzx00hrfpbjwih1czsag0zgxrs51-bash-4.3-p33
/nix/store/py2az85s8vfbi26pc9mxcp2q2686gkiv-perl-5.20.1
/nix/store/g2x8nb50bj0ysf7k3kxzm9axgx4hyk4j-openssl-1.0.1l
$ grep py2az85s8vfbi26pc9mxcp2q2686gkiv -Rl ./result
./result/bin/c_rehash
./result/etc/ssl/misc/CA.pl
./result/etc/ssl/misc/tsget

After splitting into multiple outputs, probably only libs should be in the default one, so that would get rid of the perl runtime dependency.

Remember openssl has a cool openssl executable :)
On Thu, Mar 12, 2015 at 10:03 PM, Vladimír Čunát<EMAIL_ADDRESS>wrote:

It installs perl scripts:
$ nix-build -Q -A openssl
/nix/store/g2x8nb50bj0ysf7k3kxzm9axgx4hyk4j-openssl-1.0.1l
$ nix-store -q --references ./result
/nix/store/7yvf54nxwmaslcgyqfghqsqr1dwmr8ld-glibc-2.20
/nix/store/c8phpzx00hrfpbjwih1czsag0zgxrs51-bash-4.3-p33
/nix/store/py2az85s8vfbi26pc9mxcp2q2686gkiv-perl-5.20.1
/nix/store/g2x8nb50bj0ysf7k3kxzm9axgx4hyk4j-openssl-1.0.1l
$ grep py2az85s8vfbi26pc9mxcp2q2686gkiv -Rl ./result
./result/bin/c_rehash
./result/etc/ssl/misc/CA.pl
./result/etc/ssl/misc/tsget
After splitting into multiple outputs, probably only libs should be in the
default one, so that would get rid of the perl runtime dependency.
—
Reply to this email directly or view it on GitHub
https://github.com/NixOS/nixpkgs/issues/6763#issuecomment-78616167.

--
NixOS Linux http://nixos.org

@vcunat In some conditions the current packaging has post_install to remove those scripts, but I'm not familiar enough with nixpkgs conventions to understand, what those conditions are (and why remote them only sometimes).

@copumpkin Agreed. I feel that gcc is always a shady runtime dependency.

Fixed in a5fb18473e4178221e6a7a2264308678bd8234e3 and 283164779b9671517cfa9155abf57492129c95ad.

Yup, looks good now
$ nix-store -qR /nix/store/3pp90k06zpfv52yn1k2w1yffg93rn8m1-openssl-1.0.1p
/nix/store/3f16d9vkd4bg9d8jfd7n73znm6v6j1d1-linux-headers-3.12.32
/nix/store/npfsi1d9ka8zwnxzn3sr08hbwvpapyk7-glibc-2.21
/nix/store/3pp90k06zpfv52yn1k2w1yffg93rn8m1-openssl-1.0.1p

Very nice :)

@domenkozar: amazing how many open issues have been solved long ago :+1:


Update template to support watch namespace

As the controller runtime supports watching namespaces, we would need to add a support to watch namespaces other than where the controller is deployed. This is a common use case for multi-tenant K8s environments. This PR introduces a watchNamespace flag which lets user define the namespaces to be watched by the controller. If left blank, it would take the release namespace.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

/ok-to-test


List gists for authenticated user

Adds a command to list gists. Closes #2.
(Also contains a version bump in package-lock.json, corresponding to this: https://github.com/vsls-contrib/gist-fs/commit/509071f55d9a0c4fc1f713c5e93af9283be92344#diff-b9cfc7f2cdf78a7f4b91a753d10865a2)

LGTM!


Mrtk dev2017.2 master merge sync

Syncing up the Dev branch with master changes.

I was waiting to do this @keveleigh

It's all good. We're just going to get another in 5 min


Non-resolving URL in 0.8.0-beta/battery: import from https://raw.githubusercontent.com/BIG-MAP/BattINFO/master/battinfo.ttl

Hi everybody,
we are using an version of battInfo at TIB Terminology service from https://raw.githubusercontent.com/BIG-MAP/BattINFO/master/battinfo.ttl
This document imports a 0.8.0-beta/battery : https://w3id.org/emmo/domain/battery/0.8.0-beta/battery. This URL is not working any longer and giving (404).
Could you please check?
Thanks,
Deepan A

Hi Deepan,
thank you for highlighting this issue. We are working on a fix and will push it over the weekend.

The URL should now reserve to the turtle file. You can also get the latest version at: https://w3id.org/emmo/domain/battery/0.10.0-beta/battery. We are preparing the 1.0.0 release to coincide with the release of EMMO 1.0.0


Final touches on filter Classes

Which issue(s) are closed by this pull request?
Closes #36 , #102 and #204
Changes proposed in this pull request:

Implement the saving of filter states for filter objects
rename filter.shape to filter.n_channels
add __repr__ strings
improve documentation and add separate concepts for Filters
make helper functions private

Regarding the new introduction of concepts in the docs, I'd suggest to change the structure a little. Instead of having the files pyfar.classes_...rst and pyfar.concepts_....rst we can add subfolders classes and concepts to the docs folder. The files can be imported into the corresponding files classes.rst and concepts.rst, e.g, via classes/filter.rst.

I realized it gets a little messy when introducing the concepts in this pull request due to the large number of file changes. Therefore, I opened a different pull request #243 for that, so we can focus on the improvement w.r.t. the filter functionality in this pull.


Adds the Chocolatey package as a way to install ComicTagger

Hi @ComicTagger_devs,
I have created this Pull Request because I have resolved this request for a Chocolatey package and now, we can install comictagger using Chocolatey.
For now, only the 2 versions 1.4.4 and 1.4.5 are available on Chocolatey. The version 1.4.6 is currently following the validation process. When new versions will be released, they will, then, be added to the Chocolatey package for users to enjoy. :slightly_smiling_face:

Would you mind putting a note in that you package it for chocolatey?


#703 fix issue when running tests via mvn

Not sure if I am fixing the issue or hiding it somehow. If I use the option true it fails, so I disable it.
add the 1C as 1C means to use all CPUs available.

Seems something related to my local setup. Closing PR.


add eclip to neutron assetlist

PR seems abandoned and I cannot update this branch. I can recreated myself if needed.


Expose lag metrics when consuming from kafka

Expose lag metrics when consuming from kafka, this could be sum across all partitions of (approx offset at broker - latest offset consumed) which would be very accurate but should be a close enough approximation.

Relevant links

https://twitter.com/KishoreBytes/status/1250557828500090880
https://github.com/lightbend/kafka-lag-exporter
https://github.com/linkedin/Burrow/wiki

All existing methods are flawed in one way or the other. Setting alerts on them will trigger false alarms in edge cases.
The right solution is to some
@pradeepgv42 offsets might not be comparable across different implementations. Maybe, we can ask each implementation to provide the lag metric.
At a high level, there are two things

kafka offset
event time

purely comparing offset will not during bootstrap time but is a good start

(Sorry, just noticed this, missed your reply earlier)
I can definitely monitor it outside of Pinot, querying timestamp
of the latest entry or based on consumer offsets as you mentioned.
Something approximate should work for us for now atleast.
Thanks for the resources, I was not aware of Burrow & kafka-lag-exporter.
I was thinking if Pinot already provided these I could avoid adding the extra layer,
but given these systems help me monitor all the consumers it will definitely be
worthwhile to go with them.
I will keep this issue open, incase you folks want to keep it in the feature list
for future sometime or otherwise I am fine with closing it too.


Tenant cli improvement

CLI should promote name to a first class citizen of the cli.
vmdkops_admin.py tenant create <tenant>
vs
vmdkops_admin.py tenant create --name <tenant>

This is also applicable to rm
cc @lipingxue @msterin

we are currently trying to be consistent  with docker volume create --name and related 'docker volume rm ' an IMO should stay such

Wokie..

We should then make create and rm symmetric
[root@localhost:~]  /usr/lib/vmware/vmdkops/bin/vmdkops_admin.py tenant rm -h
usage: vmdkops_admin.py tenant rm [-h] [--remove-volumes REMOVE_VOLUMES] name

positional arguments:
  name                  The name of the tenant

optional arguments:
  -h, --help            show this help message and exit
  --remove-volumes REMOVE_VOLUMES
                        BE CAREFUL: Removes this tenant volumes when removing
                        a tenant

Pls add similar docker volume command to the issue , and let's make it consistent


Upgrade go version to 1.19

Description:
I upgrade  go version to 1.19.
I executed go mod tidy -go=1.19.
Checklist:

[x] Does your PR pass tests?
[ ] Have you written new tests for your changes?
[x] Have you lint your code locally prior to submission?

@nnnkkk7 Thanks for the PR, I've been meaning to upgrade. This is a big help

When I try to install gitleaks from the source I am getting an error
See
https://github.com/zricethezav/gitleaks/issues/1057


SSL verification false or set alternative path

Is your feature request related to a problem? Please describe.

tried this command in terminal
sphobjinv suggest https://docs.sqlalchemy.org/ 'cascade' -su 50

returns
urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1129)>

certifi was installed in the environment
Describe the solution you'd like

sphobjinv suggest https://docs.sqlalchemy.org/ 'cascade' -su 50 --verify false

returns suggestion results.
Describe alternatives you've considered

sphobjinv find https://docs.sqlalchemy.org/

returns the link where the objects.inv is located and let the user download it manually.
Then they can use the sphobjinv locally.
Additional context

Thanks for the problem report & request!
First: so I know, what Python version are you using?
Second, can you provide the output of pip list?

Starting at the bottom first:

returns the link where the objects.inv is located and let the user download it manually.

If your SSL certificate verification is broken, then a different sphobjinv subcommand will break in the same way as sphobjinv suggest for any HTTPS URL. So, this doesn't help your situation.

sphobjinv suggest https://docs.sqlalchemy.org/ 'cascade' -su 50 --verify false

Can you try the following code in a REPL launched from the environment where sphobjinv is installed, to make sure that a --no-cert-verify option would actually solve your problem?
>>> import sphobjinv as soi
>>> import ssl
>>> soi.Inventory._sslcontext.check_hostname = False
>>> soi.Inventory._sslcontext.verify_mode = ssl.VerifyMode.CERT_NONE
>>> soi.Inventory(url="https://docs.sqlalchemy.org/objects.inv")
Inventory(project='SQLAlchemy', version='1.4', source_type=<SourceTypes.URL: 'url'>)

Thanks again!

Given that this has been idle for over a year, I'm going to close it.
If this is still an active problem, please attempt the test commands I provided at the end of my prior comment and report how it goes. I'll gladly reopen.


chore: Update to Go 1.20, kserve v0.11.2

Motivation
Trying to prepare for the v0.12 release, but stuck sticking with kserve v0.11.2 for the time being since kserve v0.12.0-rc0 requires Go 1.21 which requires much more extensive changes (i.e. no available UBI image for Go 1.21, ...)
Modifications
Updated versions:

Go: 1.19 -> 1.20
UBI: 8.7 -> 8.9
OCP: 4.9 -> 4.12
kserve: v0.11.1 -> v0.11.2
K8s: 1.23 -> 1.26

Result
TBD

Thanks Christian, think this is fine even as a step towards 1.21 while we figure out more details about the UBI image for it.

For cases where we don't yet have a UBI image for it, we probably can use the minimal/micro and install go manually.


Delta streaming support

It would be nice to have support for streaming delta updates via the Nylas API. I know this is not a simple feature to add since RestClient does not have support for long polling.
I have taken a stab at implementing this in my fork, and I will be creating a pull request with the changes.

Hi Adam,
Thanks for the pull request! I'll review it and get back to you quickly.
Karim


fix endpoint deprecation and switch to api.track.toggl.com

Deprecation Notice. Toggl Track API wont be available in this domain after June 2021. Check https://github.com/toggl/toggl_api_docs.

any chance to get this merged in? or is this repo dead?


Include WI and WII time evolution MPO constructor in ITensorMPS

Hi,
I've created an implementation of the WI and WII MPO time evolution methods [1] in ITensor, compatible with OpSum Hamiltonians.
The current source code [2] is based on the opsum_to_mpo functionality in without qn conservation.
Is this some functionality that could be included with ITensorMPS.jl?
I'd be willing to spend some time to write an example and relevant unit tests.
Kind regards,
Tim
[1] See, e.g., https://tensornetwork.org/mps/algorithms/timeevo/mpo.html or the paper https://journals.aps.org/prb/abstract/10.1103/PhysRevB.91.165112.
[2] https://gist.github.com/tipfom/89ed4a8acae722466fab2a1b4548e984

Very nice! I think it is better to design it as a separate Julia package built on top of ITensorMPS.jl, analogous to https://github.com/ITensor/ITensorMPOConstruction.jl, and then we could consider moving it into ITensorMPS.jl once it is more developed, tested, etc. We definitely wouldn't incorporate it into ITensorMPS.jl without it having support for QNs.

Ok, that makes perfect sense! I'll be having a look at the qn conserving construction in https://github.com/ITensor/ITensorMPS.jl/blob/main/src/opsum_to_mpo/opsum_to_mpo_qn.jl and see if I can adjust my code.
If I find the time, I can also setup a Julia package.
Should I close the issue?

Note that we are working on a package: https://github.com/ITensor/ITensorPkgSkeleton.jl to make it easier to set up Julia packages living in the ITensor ecosystem. You should be able to call ITensorPkgSkeleton.generate("ITensorExpMPO.jl") (or whatever you want to call it) to generate a starting point for your package (though note that we just wrote it and are still developing it, but maybe it can still be helpful to you).

Thanks @mtfishman!
I've gotten it working and created https://github.com/tipfom/ITensorExpMPO.jl.
The code now supports QN conservation, altough I've only tested it for spin systems so far.
I'll clean up the code in the near future and test fermionic systems as well.


Unit tests are broken

Expected Behavior
Unit tests pass in CI and in (nightly) releases.
Actual Behavior
Unit tests pass in CI but fail in releases:
2019-11-27T02:02:43.168Z	ERROR	TestReconcile_InvalidPipelineRuns/invalid-pipeline-run-params-dont-exist-shd-stop-reconciling	pipelinerun/controller.go:61	Failed to create pipelinerun metrics recorder running_pipelineruns_count: cannot register view "running_pipelineruns_count"; a different view with the same name is already registered
github.com/tektoncd/pipeline/pkg/reconciler/pipelinerun.NewController.func1
	/workspace/src/github.com/tektoncd/pipeline/pkg/reconciler/pipelinerun/controller.go:61
github.com/tektoncd/pipeline/pkg/reconciler/pipelinerun.getPipelineRunController
	/workspace/src/github.com/tektoncd/pipeline/pkg/reconciler/pipelinerun/pipelinerun_test.go:73
github.com/tektoncd/pipeline/pkg/reconciler/pipelinerun.TestReconcile_InvalidPipelineRuns.func1
	/workspace/src/github.com/tektoncd/pipeline/pkg/reconciler/pipelinerun/pipelinerun_test.go:373
testing.tRunner
	/usr/local/go/src/testing/testing.go:865

Steps to Reproduce the Problem

Run the unit tests task used by the release pipeline

Additional Info

/assign @hrishin

This fix hopefully should resolve failing tests for https://github.com/tektoncd/pipeline/pull/1709


proxy support

This addresses to #55
isomorphic-fetch does not support proxy either.
I changed isomorphic-fetch to omni-fetch which is a wrapper of isomorphic-fetch to support proxy.

From what I understand Coveralls API token wrong. @fgimenez  can you look and check? I don't have admin permissions for armlet

Pull Request Test Coverage Report for Build 266

1 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 81.395%

Totals

Change from base Build 258:
0.0%

Covered Lines:
217

Relevant Lines:
265

💛  - Coveralls

@daniyarchambylov sure, should be fixed now.

Thanks @fgimenez !


[incubator/elasticsearch] Readme update to reflect latest default values.

What this PR does / why we need it:
To reflect latest default chart values
Which issue this PR fixes
Update to https://github.com/kubernetes/charts/pull/5663
@simonswine @icereval @rendhalver

@kooba Thanks for this. Looks good.
Please sign the Linux foundation CLA so we can accept the PR.

@rendhalver CLA signed.

/ok-to-test


update channel for helm operators

What this PR does / why we need it:
update channel for helm operators
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #
Special notes for your reviewer:

Please confirm that if this PR changes any image versions, then that's the sole change this PR makes.

Release note:

@cheewaio all these operators don’t upload to quay.io. Could you upload them ASAP?


Nested workflows using tower modules

This is related to Issue #649
Hi, the fix is not working in the ansible module tower_workflow_template. Any suggestions ?
Details:
"Tower CLI 3.3.2",
"API v2",
"AWX 2.1.2-35-gc5d1ea886",
"Ansible 2.7.8"

AWX Task
- name: Create AWX Workflows
  tower_workflow_template:
    name: "{{item.name}}"
    description: "{{item.description}}"
    organization: "{{item.organization}}"
    schema: "{{item.node_network | to_nice_yaml}}"
    allow_simultaneous: "{{item.allow_simultaneous}}"
    tower_verify_ssl: "{{awx_verify_ssl_enabled}}"
    state: "present"

Stacktrace:
"module_stderr": "Traceback (most recent call last):\n  File \"/root/.ansible/tmp/ansible-tmp-1551478645.0038295-169619328035719/AnsiballZ_tower_workflow_template.py\", line 113, in <module>\n    _ansiballz_main()\n  File \"/root/.ansible/tmp/ansible-tmp-1551478645.0038295-169619328035719/AnsiballZ_tower_workflow_template.py\", line 105, in _ansiballz_main\n    invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS)\n  File \"/root/.ansible/tmp/ansible-tmp-1551478645.0038295-169619328035719/AnsiballZ_tower_workflow_template.py\", line 48, in invoke_module\n    imp.load_module('__main__', mod, module, MOD_DESC)\n  File \"/usr/lib64/python3.6/imp.py\", line 235, in load_module\n    return load_source(name, filename, file)\n  File \"/usr/lib64/python3.6/imp.py\", line 170, in load_source\n    module = _exec(spec, sys.modules[name])\n  File \"<frozen importlib._bootstrap>\", line 618, in _exec\n  File \"<frozen importlib._bootstrap_external>\", line 678, in exec_module\n  File \"<frozen importlib._bootstrap>\", line 219, in _call_with_frames_removed\n  File \"/tmp/ansible_tower_workflow_template_payload__lnjwga7/__main__.py\", line 191, in <module>\n  File \"/tmp/ansible_tower_workflow_template_payload__lnjwga7/__main__.py\", line 178, in main\n  File \"/usr/local/lib/python3.6/site-packages/tower_cli/resources/workflow.py\", line 279, in schema\n    existing_network = self._get_schema(wfjt)\n  File \"/usr/local/lib/python3.6/site-packages/tower_cli/resources/workflow.py\", line 254, in _get_schema\n    return self._workflow_node_structure(node_results)\n  File \"/usr/local/lib/python3.6/site-packages/tower_cli/resources/workflow.py\", line 243, in _workflow_node_structure\n    schema_dict.append(branch_schema(root_node_id))\n  File \"/usr/local/lib/python3.6/site-packages/tower_cli/resources/workflow.py\", line 226, in branch_schema\n    ujt_key = JOB_TYPES[job_type]\nKeyError: 'workflow_job'\n", "module_stdout": "", "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error", "rc": 1}

It would help to know what is being used in schema: "{{item.node_network | to_nice_yaml}}". I can't find any indication in the prior issue https://github.com/ansible/tower-cli/issues/649


63 verify calculation robustness in high contention scenarios

Ideally we would have a dedicated stress-testing benchmark. I think the JMH benchmarks could be adapted for this.


April meetup

Tuesday April 18th.

[ ] Speaker: @markedwardsims
[ ] Sponsor:
[ ] Venue: will confirm at the beginning of April

Hey guys, can you tell me a little bit about sponsorship? Maybe I can get p202 to sponsor the April meetup.

For sure, I'll follow up over email, thanks!

Hey guys! We're getting closer, so I just wanted to make sure everything is square for Tuesday April 18th. If you're good with it, my company would like to promote it through social media. Looking forward to it!

Yep, we're still locked in to have you speak, thanks for confirming!

Do we have a venue booked? I've got my travel arrangements made, but need to know where to go. Also, what time would you like me there? Thanks!


fix: Clean up ckeditor4 vendor files

Fixes #38 by reorganizing the ckeditor4 assets systematically.
Also, update to ckeditor 4.22.1, the last OSS release, and disable version warning.
@sveetch Can you give this a test run?

Ok i've installed it from branch repo then built the frontend and it works without any errors.
By the way you have a console warning log emitted from here:
https://github.com/django-cms/djangocms-text/blob/main/private/js/cms.ckeditor4.js#L112


[TCGC] - SourceModel for anonymous models

Clear and concise description of the problem
There are scenarios where tracking the source model of anonymous models is beneficial. For instance, in TypeScript code generation, this feature would enable us to map serializer/deserializer types between RLC (Rest Level Client) and Modular. This functionality is crucial for bridging gaps between RLC and Modular types.
Example
Consider the following TypeSpec model:
model Foo {
   bar: {
      baz: string;
   }
}

With the ability to track the source model, we could implement the following TypeScript code:
declare function deserializeFooBar(input: FooRest["bar"]): BarModel;

Here, BarModel is generated from TCGC, but there is no equivalent interface in RLC as it doesn't generate anonymous models.
Checklist

[X] Follow our Code of Conduct
[X] Check that this issue is about the Azure libraries for typespec. For feature request in the typespec language or core libraries file it in the TypeSpec repo
[X] Read the docs.
[X] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.

could you clarify the source meaning? for example, if anonymous model is in parameter, what should the source model be? other cases are model property, return type, etc.

@ArcturusZhang has the following comment:
For this typespec:
model Bar {}
model Baz {}
op foo(...Bar): Baz;

the TCGC result gives us a FooRequest as the model of body parameter. Since it is speading model Bar, could we get back the model Bar as the body parameter in this case?
This help us reduce the size of the generated assembly.
We agree that there are cases that returning the original model is not possible, such as an operation with spread of two different models, in those cases, we could still do the FooRequest as body because it is combining the two models.
But we would like to get the model back if the model is there.

@ArcturusZhang has the following comment:
For this typespec:
model Bar {}
model Baz {}
op foo(...Bar): Baz;

the TCGC result gives us a FooRequest as the model of body parameter. Since it is speading model Bar, could we get back the model Bar as the body parameter in this case? This help us reduce the size of the generated assembly.
We agree that there are cases that returning the original model is not possible, such as an operation with spread of two different models, in those cases, we could still do the FooRequest as body because it is combining the two models. But we would like to get the model back if the model is there.

@joheredi could you confirm if it is enough for js?

Yes I think this would be good enough


Remove implicit exclusion of files starting with “.git”

I'm opening this request as both a suggestion and a question as to why you're unconditionally removing all files starting with .git even with --no-exclude flag?  One of our customers complained that this was happening, and we found that he was correct that this behavior deviates from git archive.
This PR is to remove the unconditional exclusion of .git* files and allow the user to keep or remove these files manually via .gitattributes.  This behavior will closer match git archive.

@rykov git archive does not include files that start with .git in absence of .gitattributes.

@rykov I cannot recall any particular reason for that. That originated in the initial commit. Probably it just mimicked the behavior I have seen elsewhere.

Thanks for the quick turnaround.  I just double-checked git archive and git-archive-all on this repo and got the same results.  🍻


add eip 1271 support to v4

I believe this does similar work to aa0edea (#70) , so they may want to be combined.

Thanks, Ari! Will release this today

Just doing some quick testing and will cut a new version :)

Released in 0.31
https://github.com/trader-xyz/nft-swap-sdk/releases/tag/v0.31.0


fix(trusted claim issuers): compare claim types as well as DIDs on set

:tada: This PR is included in version 3.0.0-alpha.8 :tada:
The release is available on:

npm package (@alpha dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 3.0.0-beta.1 :tada:
The release is available on:

npm package (@beta dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 3.0.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Xamarin iOS build failing on hosted mac agent

Describe the bug
This same issue from last year has started popping up for us after we started targeting AndroidX.
https://github.com/microsoft/azure-pipelines-image-generation/issues/1377
Getting this error when trying to build xamarin.ios on azure pipelines.
"error XA0000: Could not determine API level for $(TargetFrameworkVersion) of 'v10.0'."
I have tried all of the suggestions including using this:
- bash: |
    SYMLINK="6_4_0"
    # Set Xamarin.Android 10.0
    sudo $AGENT_HOMEDIRECTORY/scripts/select-xamarin-sdk.sh $SYMLINK
    # Set Mono 6.4.0
    echo "##vso[task.setvariable variable=PATH;]/Library/Frameworks/Mono.framework/Versions/$SYMLINK/bin:$PATH"
  displayName: Select Xamarin and Mono Version

Virtual environments affected

[x] macOS 10.15
[ ] Ubuntu 16.04 LTS
[ ] Ubuntu 18.04 LTS
[ ] Ubuntu 20.04 LTS
[ ] Windows Server 2016 R2
[ ] Windows Server 2019

Actual behavior
https://identitydivision.visualstudio.com/IDDP/_build/results?buildId=560796&view=logs&j=e2947180-533e-5bfa-20d8-0fd436232f61&t=b9a75ac3-3cd5-54dc-2819-e3dc78712474
Yaml:
https://github.com/AzureAD/microsoft-authentication-library-for-dotnet/blob/152af23f37b631567a08f68a1bdea99b4894566c/build/pipeline-uiautomation.yaml#L44
https://github.com/AzureAD/microsoft-authentication-library-for-dotnet/blob/master/build/template-build-ios-automation.yaml
How can I go about resolving this?

Hi @trwalke!
Could you try changing your pool to the following?
pool:
  name: Azure Pipelines
  vmImage: internal-macos-10.15

Looks like your builds are being run on pretty old High Sierra VM image.

@trwalke could you please try changing the pool?

Hi @miketimofeev changing the pool has resolved this for us. But questions though
Why does the macos-10.15 not work for us but internal-macos-10.15 seems to work? what is the difference between internal and not internal.

Discussed with @trwalke off-line.
The issue can be closed.


.NET runtime process resource attributes

Fixes https://github.com/open-telemetry/opentelemetry-dotnet/issues/1281
Changes
Defines what values should be set to process.runtime.* attributes for .NET.
Implementation can be found in https://github.com/open-telemetry/opentelemetry-dotnet-contrib/pull/1449
Merge requirement checklist

[x] CONTRIBUTING.md guidelines followed.
[x] CHANGELOG.md updated for non-trivial changes.
[ ] schema-next.yaml updated with changes to existing conventions. N/A?

/cc @noahfalk could you please take a look?

Implementation PR is merged, nuget package released as  OpenTelemetry.ResourceDetectors.ProcessRuntime.
Changes in semantic convention reflects implementation. If you are fine with wording it is ready to be merged.


[BUG] Getting a dependency error on onnxruntime when I run crewai install

Description
Just getting started with the project, so I'm not sure if I missed anything. I installed crewai as per the documentation and tried the quickstart project. The crewai install command is failing with the following error.
Distribution `onnxruntime==1.20.0 @ registry+https://pypi.org/simple` can't be installed because it doesn't have a source distribution or wheel for the current platform
An error occurred while running the crew: Command '['uv', 'sync']' returned non-zero exit status 2.

Tried older versions as well, but didn't work. Can someone please help me on this?
Steps to Reproduce
Ran the following commands...

pip install crewai
crewai create crew latest-ai-development
cd latest-ai-development
crewai install

Expected behavior
Install process should complete and I should be able to run crew run command.
Screenshots/Code snippets

Operating System
macOS Monterey
Python Version
3.12
crewAI Version
0.79.4
crewAI Tools Version
0.14.0
Virtual Environment
Conda
Evidence

Possible Solution

Additional context

@mjgradright if you are using macos make sure that the os version is above 13.0
https://pypi.org/project/onnxruntime/#files

Thanks @jkcg-learning . I'm using 12.7.6 (Montery). Will try with an older version of CrewAI or figure out a docker setup with compatible linux.

Still getting the same error when we run it for MacOS 14.4

This issue wasnt present friday. Not sure if anything was released from crewai post Friday IST

Also debugging this issue on macOS 13.7.1... @keerthishekar did you end up solving it?

Nope. I tried removal of onnx still didnt work. One thing that worked was i ended up creating a new user on my Mac and it worked there. No issues with Onnx. Will try to remove python and re add it. Conda and venv are always all over the place.

I am having the same issue. I think it's caused by a bug in uv https://github.com/astral-sh/uv/issues/9228. I tried using different versions python, downgrading uv, downgrading onnxruntime but nothing seems to work. I guess using a pre-uv older version of crewAI is a short term solution

I tried running 0.79.4 and 0.79.0 version of crewai as well. The issue still persists.

@ciaranbaselmans , I created the ticket and closed it as my query was answered. Although I did not try the proposed solution as I don't have a mac that supports newer OS. Will try older CrewAI versions. Currently working with a different tech stack to continue with the project.


Adding a title breaks syntax highlighting

Syntax highlighting breaks if I add a title (the code block gets monochrome).
Everything else woks alright.

I also see this problem.

I am facing this as well. I guess there is a workaround as you mentioned by using callouts, but are there any plans to fix this in the future?

@v-shenoy
I thought maybe one of the updates would come back, but it's not. I'll try to fix it

OK, guys, I solved the problem and it should work now

Still losing syntax highlight of codeblock when title is appended to language declaration.
Example code piece:
print("hw")

In preview block it loses syntax hight, in editor mode it's fine.
Code block with language declaration but without a title is fine.
Using: Obsidian v0.14.15 (legacy editor mode) + Better Codeblock v1.0.6


Can't charge dark steel equipment with wired charger

Issue Description:
Wired Charger doesn't charge dark steel equipment
What happens:
Wired Charger doesn't charge dark steel equipment
What you expected to happen:
Dark steel equipment charges
Steps to reproduce:

Build "wired" charger
Wait
Nothing
...

Affected Versions (Do not use "latest"):

EnderIO: 1.12.2-5.0.20.jar
EnderCore: 1.12.2-0.5.18
Minecraft: 1.12.2
Forge: 1.12.2-<IP_ADDRESS>54-universal

Please update enderio, update ender core and downgrade forge (that version of forge is broken). Also, please actually provide a way to recreate this or screenshots.

Cannot Reproduce https://gyazo.com/716cd191f606f5c74172048d7d7946f3
Also how are you using the wired charger as EnderIO: 1.12.2-5.0.20.jar Wouldn't let you open the gui without crashing the game

I'm currently playing on the "All the mods 3" pack with friends on a server
I'm not a minecraft techy so I don't know all the stuff I probably should.
But here are some screenshots of the situation
Mod folder: https://gyazo.com/dc75e1c5b1c543d7603a9c5c162ae7b4
In front of the machine: https://gyazo.com/0e71a4ec8031a7ee7694f52c110545e6
Open it up: https://gyazo.com/f54ce3441af2ae08116d1f0d34e32c39
More details: https://gyazo.com/b077d108c09285411bdc824bd40be022
(I've had to use the wireless charger to get some power in it, a bypass of sorts)

Is it only the dark pick?

Just tested it with the dark helm no success
https://gyazo.com/a30fbc0a2c0426e53677cb4bfd42e9cf

Please empower it so it can accept power

It is empowered, just brand new since I used cheat mode to create one real quick


Provide this indigration by a Package Manager

Just a feature idea: Add support for the VenusOS package manager from https://github.com/kwindrem/SetupHelper. This would provide automatic reinstallation and updates after every VenusOS upgrade.

Good idea. Thanks. Please provide a pull request if possible.


Simplify profile configuration structure

The profile.js is quite confusing and overly complex.  Try to simplify it for easier customization.

I copied over two examples into this factory instead. One tailored towards DBPedia, one towards MarkLogic. You can grab them as a default, and tweak them to your needs by only touching what needs touching. Can help keep code a little cleaner..
https://github.com/grtjn/ml-lodlive-ng/blob/master/src/ml-lodlive-profile-factory.js
But a +1 on simplifying them nonetheless.. ;-)

Some additional comments would be useful in the 2 example factories on what each property does would be useful.   In particular, explanations on how to use nodeHover and docInfo functions or what the titleProperty/titleName/className properties do.
Also helpful would be to have an all-inclusive example that shows all the options/properties or list out the additional options that aren't available in the DBPedia or ML profile.


webaudioapi : cannot connect an AudioNode to an AudioParam

TypeScript Version:  2.2.1
The connect prototype for AudioNode interface in lib.dom.d.ts should be
    connect(destination: AudioNode|AudioParam, output?: number, input?: number): void;

instead of
connect(destination: AudioNode, output?: number, input?: number): void;

see this

PRs welcomed. You can find more information about contributing lib.d.ts fixes at https://github.com/Microsoft/TypeScript/blob/master/CONTRIBUTING.md#contributing-libdts-fixes.

Microsoft/TSJS-lib-generator#206 should fix this.


quick accent for inverting question mark and exclamation points

Description of the new feature / enhancement
? and ! characters have this  "Quick Accent" feature
ps thank you for quick accent
Scenario when this would be used?
typing spanish requires this punctuation
Supporting information
No response

I think this is already implemented: ¿ and ¡ can be found on the , key (this is on a UK keyboard).

PY
Thank you but I am trying alt/,  ctl/, sfht/alt,  etc   No joy.
On Sat, Dec 31, 2022 at 6:44 AM PY Rivaille @.***>
wrote:

I think this is already implemented: ¿ and ¡ can be found on the , key
(this is on a UK keyboard).
—
Reply to this email directly, view it on GitHub
https://github.com/microsoft/PowerToys/issues/22442#issuecomment-1368204937,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AR3QLOWMFO24CTCMSOXPMFTWQAMBFANCNFSM6AAAAAASTGUM6U
.
You are receiving this because you authored the thread.Message ID:
@.***>

/dup #20618


The query editor zoom levels were reset after the latest update and I need to ajust it everytime I open a new query tab.

Description
I have some eye sight issues so I like to keep my zoom very high while writing queries.
I updated my DBeaver Community Edition yesterday to the <IP_ADDRESS>401211839 version and my previously set zoom was reset. Now after I open a new tab on the query editor I need to manually go to the "Window > Editor > Zoom In" option to increase the zoom to the levels I like. Also the shortcut Ctrl ++ is not working anymore.
Weirdly enough the cursor maintained it's original size after the update:

DBeaver Version
<IP_ADDRESS>401211839
Operating System
Windows 11 x64 23H2
Database and driver
PostgreSQL 11.9

Steps to reproduce
Open DBeaver > Open a new query editor  TAB > Set the zoom > Open a new query editor TAB and the new tab zoom is reset except for the blinking cursor.
Additional context
No response

@marcelodmc3
As a workaround you could try changing fonts here

Please let me know if it helps.

We've made some fixes. You could try Early Access version https://dbeaver.io/files/ea/

Verified


Inputs not sent to device (RuntimeError on Apple Silicon)

FYI on Apple Silicon (MPS) device I am getting RuntimeError: Placeholder storage has not been allocated on MPS device! error in multiple places in the first notebook.
This can be fixed by sending the model inputs to the device.

We have fixed these device issue in the latest commits.


After file upload, file is not existed in local file storage

After file upload is finished, it shows such messages in console.

So there is no file saved in storage.
Does anyone face this problem before?
My version is<EMAIL_ADDRESS>&<EMAIL_ADDRESS>

Hello @seniordev555 ,
Thank you for reporting this. We need more info, please follow our issue template:

Could you update to the latest release?
Are you using http or ddp upload protocol?
What are you using for storagePath option?
Where this issue appears? OS (Mac/Win/Linux)? Browser name and its version?
Post Client and/or Server logs with enabled debug option, you can enable "debug" mode in Constructor

@seniordev555 for the no.5 we would like to see screenshot or copy/pasted text from server and client logs (console)

This is the model class:
`const fileSchema = {
...FilesCollection.schema,
verified: {
type: Boolean,
defaultValue: false
}
};
const File = new FilesCollection({
collectionName: 'files',
schema: fileSchema,
storagePath: process.env.UPLOAD_FILES_PATH || '/uploads/files',
allowClientCode: true,
debug: true,
downloadCallback(fileObj) {
if (this.params.query.download == 'true') {
// Increment downloads counter
File.update(fileObj._id, {$inc: {'meta.downloads': 1}});
}
// Must return true to continue download
return true;
},
onAfterUpload(fileObj) {
if (fileObj.meta && fileObj.meta.crypto) {
Meteor.call('file.encrypt', fileObj.path);
}
return true;

}
});`
This is the console when file is uploaded:

As you can see, after file is uploaded, it is automatically removed and said removeUnfinishedUpload.
So file is not saved in local storage.

@seniordev555 please try to upload file without using Schema.

Is the /uploads/files path exists? What permissions does it have?

process.env.UPLOAD_FILES_PATH has own value for file path.
/Volumes/Data/Work/project/files
This folder exists.

Is it writable? What permissions does it have?

Try with setting 777:
sudo chmod -R 777 /Volumes/Data/Work/project/files

This is the updated file permission:

Still removed:

@seniordev555 please update to the latest release v1.9.10. This release may solve your issue.

Let me try.

Hmm, I think 1.9.10 is suitable for meteor <IP_ADDRESS>
But my meteor project is <IP_ADDRESS> and it shouldn't upgrade due to some reason.

@seniordev555 so what version you're on now?
Latest and current version are for<EMAIL_ADDRESS>and newer.

My meteor version is <IP_ADDRESS>
And ostrio:files version is 1.5.6.
For some reason, I am not able to upgrade my meteor version.

I can upgrade to v 1.9.4.
But still have same issue

The problem is that I've used same code in other project and it is working well.
Only in this project, I'm not able to save uploaded files.
Very strange behavior.

Have you tried?:
meteor reset
meteor npm update --save
meteor update --all-packages
meteor npm remove meteor-node-stubs && meteor npm install meteor-node-stubs
meteor npm install core-js<EMAIL_ADDRESS>

@seniordev555

Why is file deleted after finish uploading?

for the some reason it has no special flag which gives a signal what file is fully written to FS (e.g. uploaded).

@seniordev555 have you found a way to update to the latest Meteor and package release?

for the some reason it has no special flag which gives a signal what file is fully written to FS (e.g. uploaded).

Could we catch the error with try-catch block? So if there is no error, it doesn't call such method like removed or removedUnfinishedUpload event or something else.

Could we catch the error with try-catch block?

No everything is asynchronous. I believe something wrong with your setup. Try to omit storagePath and let to the package manage it, let's see if it upload will work this way. Also, have you tried to use ddp for upload transport? I recommend to try different options.

Due to [_preCollectionCursor.observe] [removed] and [_preCollectionCursor.observe] [removeUnfinishedUpload], the file is not saved.
DDP and HTTP are not working.

Hello @seniordev555 any news on this one? Have you found a solution?
Have you upgraded to the latest release?

Closed due to silence at issue owner end.
Feel free to reopen it in case if the issue still persists on your end.

i have the same problem.
i start 2 apps on 1 mongo. i had a different storagePath  for same collection.
in app A: path/to/folder
in app B: /path/to/folder <- upload file in this app
fix storagePath in app A resolve issue.

Hello @aspirinchaos,
Yes, as stated in our FAQ, - we've always recommend to use absolute path, as in your B server example


Helpful error should be reported when sensitive.properties file is missing

When an atlas is checked out from source repository, it usually lacks the config/sensitive.properties file. Running update on an atlas in that state return a NPE.
There is probably a more informative way to handle this situation.

Just tested this, and can confirm this is still an issue. CLI outputs "Error: null" when attempting to either update or run nunaliit in atlas dir


How to nest menus?

Hi guys, I've followed the readme but it's not clear how to nest menus.
Could you please elaborate on the frontmatter I have to use in order to nest a menu?
Thanks in advance!

Hi @richardrobberse,
To create parent-child relationships between menus, you need add identifier property to a menu item which you want to be a parent menu, and then use the value of that identifier as the menu name of child item.
---
title: Foo
menus:
  main:
    identifier: sub_menu # identifier for this menu item to be used by child menu item
    title: Go to Foo
    weight: 1
---

---
title: Bar
menus:
  sub_menu: # the identifier of the parent menu
    title: Go to Bar
    weight: 1
---

Thanks a lot @smnh, I think I've tried something like this but I'll give it another try somewhere today.
I think this would be a valuable addition to the docs.


ValueError: could not convert string to float: 'Error: specify Meteor stats'

I used Python3.5 and Pytorch0.4 in ubuntu, I got this errors:
init COCO-EVAL scorer
Traceback (most recent call last):
  File "eval.py", line 122, in <module>
    main(opt)
  File "eval.py", line 91, in main
    test(model, crit, dataset, dataset.get_vocab(), opt)
  File "eval.py", line 57, in test
    valid_score = scorer.score(gts, samples, samples.keys())
  File "/host/xxx/video_caption/video_caption_pytorch/misc/cocoeval.py", line 88, in score
    score, scores = scorer.compute_score(gts, res)
  File "coco-caption/pycocoevalcap/meteor/meteor.py", line 44, in compute_score
    score = float(self.meteor_p.stdout.readline().decode().strip())
ValueError: could not convert string to float: 'Error: specify Meteor stats'

How to deal with it?

I has faced the same problem as you. I found the data loader was empty when running eval.py because it was empty in [test] of my info.json. My steps to solve this problem are as follows:

Download the three json files from baiduyun.
Rerun prepro_vocab.py.
Retrain model.

@zhjohnchan Thank you！

@zhjohnchan   Hello, I encountered the same error, but now only two json files can be downloaded. What is the third json file?


Feature/number formatting

Test displayMonetaryAmount cases (regression test)
issue_page.confirmations
toHuman -> returning number
displayMonetaryAmountInUSDFormat
safeRoundTwoDecimals cases
%


small GUI problem on login page

I have my browser zoomed out in all JATOS pages, because I like smaller text and more screen surface. In the login page, the top bar doesn't scale with the rest of the page, like in the image below.
Once I log in, then there are no problems and the top bar doesn't block anything else and scales fine

Yes, I'll look into it (who ever zooms out to make the screen even
smaller???).
On 15 Jul 2015 6:03 pm, "elisafilevich"<EMAIL_ADDRESS>wrote:

I have my browser zoomed out in all JATOS pages, because I like smaller
text and more screen surface. In the login page, the top bar doesn't scale
with the rest of the page, like in the image below.
Once I log in, then there are no problems and the top bar doesn't block
anything else and scales fine
[image: screenshot 2015-07-15 18 01 12]
https://cloud.githubusercontent.com/assets/8653947/8703097/c0767ec2-2b1b-11e5-82dd-7b88c34192ac.png
—
Reply to this email directly or view it on GitHub
https://github.com/JATOS/JATOS/issues/100.

Solved!


Gramatical fixes

Updated  Us to Use in Slug Menace - Requested by @Slimmerik#6062
Adjusted Jungle Potion Changed volcania moss to Volencia Moss and Changed Fairy Tail to Fairy Tale - Requested by @jim#6969

Originally In https://github.com/Zoinkwiz/quest-helper/pull/404 - Which i closed because i fucked up the commit.


Pre/Post Filtering Controller

These filters are very valuable and can be used for things such as:
Prefilter:

additional authentication
validation of request type (for api's)
more dynamic routes

Postfilter:

Change of return type (json/html/xml)

I like the idea of filters very much. Can you please apply to a current version of the code base and re-submit a pull request? We are interested in adding filters and hooks to make wp-mvc more extensible in general.


Audio/Sound toggle Feature in Site Setting!

There isn't audio/sound toggle in site setting like in Google Chrome!

This repository is specific to DevTools. DevTools is a developer feature in Edge unrelated to the browser settings.
Can you please send your feedback again by using the browser's feedback mechanism? Here's how:

Click Settings and more (the ... button in the top-right corner of the browser).
Click Help and feedback.
Click Send feedback.

Thank you for your understanding.


Fix: Use Form viewTech for the JsfAgnosticFormDemo demo

does that have any impact?

does that have any impact?

Yes otherwise it is not in the forms list ;)!
So this list was empty: https://neo.demo.ivyteam.io/neo/forms


Run a subset of tests across Linux, MacOS & Windows

Description

Refactor test workflows to enable running unit(ish) tests on Linux, MacOS & Windows
Properly regenerate certs & keys and add script for doing it.
Fix or exclude a handful of tests when running on MacOS as it's more strict around cert trust.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Codecov Report

Merging #129 (3a5fe47) into main (96e6c27) will decrease coverage by 6.15%.
The diff coverage is n/a.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@            Coverage Diff             @@
##             main     #129      +/-   ##
==========================================
- Coverage   65.11%   58.96%   -6.15%
==========================================
  Files         312      253      -59
  Lines       51771    46281    -5490
==========================================
- Hits        33711    27290    -6421
- Misses      18060    18991     +931

Flag
Coverage Δ

integration
58.96% <ø> (-6.15%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

 Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@Xtansia for general knowledge

Fix or exclude a handful of tests when running on MacOS as it's more strict around cert trust.

Could you please share the issue here? (my apologies, no MacOS box at the moment available).


Add secondary eclipse model

Ref: https://github.com/exoplanet-dev/exoplanet/blob/main/src/exoplanet/light_curves/secondary_eclipse.py

See #223


Write real tests!

Atleast one test per function!

Also add lint and coverage badges and artifacts to readme!


Remove calls to profile model_forward

Proposed refactor
Remove these two calls to profile model_forward:
https://github.com/PyTorchLightning/pytorch-lightning/blob/d902b5988601a21db04ffe6316a012581fe152ec/pytorch_lightning/loops/optimization/optimizer_loop.py#L417
https://github.com/PyTorchLightning/pytorch-lightning/blob/d902b5988601a21db04ffe6316a012581fe152ec/pytorch_lightning/loops/optimization/manual_loop.py#L110
Motivation
We profile training_step a few lines after we profile model_forward:
https://github.com/PyTorchLightning/pytorch-lightning/blob/d902b5988601a21db04ffe6316a012581fe152ec/pytorch_lightning/loops/optimization/optimizer_loop.py#L417-L424
https://github.com/PyTorchLightning/pytorch-lightning/blob/d902b5988601a21db04ffe6316a012581fe152ec/pytorch_lightning/loops/optimization/manual_loop.py#L110-L117
There is a lot of overlap between model_forward and training_step, with training_step taking up the majority of model_forward's time.
see lines 11-12 in this example profiler output: https://gist.github.com/daniellepintz/7b37ab4807fab345248bf60c72e46ae8
Additional Context
Discussed in https://github.com/PyTorchLightning/pytorch-lightning/discussions/12015
cc @carmocca @kaushikb11 @ninginthecloud @rohitgr7

Nice. These have been carried over from refactor to refactor since a long time ago.
It's good to finally remove them. Less framework overhead.

Cool! Let me know if you see any more optimizations we can do in https://github.com/PyTorchLightning/pytorch-lightning/discussions/12015


Saving user response and prompt into different tables based on the feedback

I am trying to built a chatbot where I would like to save the response to two different tables good_response and bad_response based on which thumb icon is pressed. I see that I can use on_submit parameter of streamlit_feedback but I am only able to write to one of the tables
def good_response(conn, input, response):
    cur = conn.cursor()
    cur.execute("INSERT INTO good_responses (question, response) VALUES (%s, %s)", (input, response))
    conn.commit()
    cur.close()

def bad_response(conn, input, response):
    cur = conn.cursor()
    cur.execute("INSERT INTO bad_responses (question, response) VALUES (%s, %s)", (input, response))
    conn.commit()
    cur.close()

with st.expander("Conversation", expanded=True):
    for i in range(len(st.session_state['generated'])-1, -1, -1):
        st.info(st.session_state["past"][i], icon="🧐")
        st.code(st.session_state["generated"][i])
        feedback = streamlit_feedback(feedback_type=f"thumbs", on_submit=good_response(conn, user_input, answer), key=f"feedback_{i}", optional_text_label="Please type the answer here if the given answer in not correct")
        feedback
        #st.button("👍", on_click=good_response, type='primary', key=f"thumbs_up_{i}", args=(conn, user_input, answer))
        #st.button("👎", on_click=bad_response, type='primary', key=f"thumbs_down_{i}", args=(conn, user_input, answer))
        st.header('Follow up questions:')

A couple of solutions,

The most likely one is to revise your data model. These values probably should be in the same table
If you want two tables, parameterise your query to either write to good_responses or bad_responses depending on the input

Irrespective of whether I write to one table or two I should be able to differentiate between a thumbs up press and a thumbs down press. How do I do that?
For e.g. in the below code using streamlit, I can perform two different based on which button was pressed
st.button("👍", on_click=good_response, type='primary', key=f"thumbs_up_{i}", args=(conn, user_input, answer))
st.button("👎", on_click=bad_response, type='primary', key=f"thumbs_down_{i}", args=(conn, user_input, answer))

I want to save the good responses from the chatbot as it is and give a text field to let the user enter correct response in case the response form OpenAI was not good enough and save it in a table.

@lpdg-pgadkari you can create a map score to differentiate between a thumbs up press and a thumbs down press.
example:
def _submit_feedback(feedback, scores, user_input, answer, cache_db):
    score = scores.get(feedback["score"])
    if score is not None:
        if score == 0:
            # insert to negative db
        elif score == 1:
            # insert to positive db

score_mappings = {"👍": 1, "👎": 0}
feedback = streamlit_feedback(feedback_type="thumbs",
                                                      on_submit=_submit_feedback,
                                                      key=f"feedback_{i}",
                                                     optional_text_label="Please type the answer here if the given answer in not correct",
                                                     kwargs={
                                                         'scores': score_mappings,
                                                         'user_input': user_input,
                                                         'answer': answer,
                                                         'cache_db': conn
                                                         })


Add ability to deal with enum fields

That likely requires a STRSELECT Field to be added.
That means adding HTML files and procs converting enums to STRSELECT Field-Data

Done


Python Tools for Visual Studio (September 2016) failed to install

I've tried on a couple of different computers to execute the suggested update for the Python Tools within Visual Studio 2015 (with most recent VS updates on Windows 7 - 64-bit) without luck. I get a message stating: "The selected Visual Studio item 'Python Tools for Visual Studio (September 2016)' failed to install. Check the %Temp% directory for VS install logs."
When reviewing the Windows\Temp directory there are no logs indicating any recent install failure.
What might I try to get the installation to work?

I'm not really sure, but our resident expert @zooba is out at a conference, so I'll see what I can do.
Can you try installing and running this?
https://www.microsoft.com/en-us/download/details.aspx?id=12493
"The log collection tool creates a compressed cabinet of all the Visual Studio, .NET Framework, and SQL Server setup logs and other supporting logs at %TEMP%\vslogs.cab"
If it creates a .cab file, please send it over to us at ptvshelp at microsoft.com
I suppose you could try to install directly from the msi at https://github.com/Microsoft/PTVS/releases/tag/v2.2.5post1
You could uninstall the old version first, that might help.
You can have it log by running from a command prompt with msiexec "PTVS 2.2.5 VS 2015.msi" /l*v ptvs.log

The logs are going to be in C:\Users\You\AppData\Local\Temp, since that is where %TEMP% generally refers (rather than C:\Windows\Temp, which is only used for a few admin-only service accounts and not for real users anymore).
The collection tool is a good way to make sure you get all the right information though.

Thank you for your replies! As you know, work can push you down many paths and I will need to come back to this in short order and let you know what happens. I'm thinking that my best course of action will likely be to uninstall and attempt to reinstall the components within Visual Studio.


Fix SCIM Pagination default parameters in the Go SDK

Changes
This PR sets default parameters for the SCIM pagination APIs, specifically setting StartIndex to 1 (as specified in the SCIM RFC, startindex is 1-based index) and Count to 100 to ensure that we paginate requests to the REST API. This should help reduce load on the SCIM APIs by decreasing the size of response bodies for users of this SDK.
This change supersedes https://github.com/databricks/databricks-sdk-go/pull/693.
Tests

[ ] make test passing
[ ] make fmt applied
[ ] relevant integration tests applied

Codecov Report
Attention: 18 lines in your changes are missing coverage. Please review.

Comparison is base (516bf04) 16.86% compared to head (580f78a) 16.84%.

Files
Patch %
Lines

service/iam/api.go
0.00%
18 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #717      +/-   ##
==========================================
- Coverage   16.86%   16.84%   -0.03%
==========================================
  Files         103      103
  Lines       14089    14107      +18
==========================================
  Hits         2376     2376
- Misses      11507    11525      +18
  Partials      206      206

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Mutable default argument not detected when it is a constant (by B006 and others)

Hi
I found a case where my expectations does not meet the results reported by ruff. But first, let's start with the issue basics:

Keywords searched: "B006", "mutable default"
Ruff version: ruff 0.4.0
Command invoked: ruff check case.py --select ALL --ignore D,FA --isolated

Where my case.py contains the following lines:
DEFAULT_ENTRIES = [1, 2, 3]

def append_one(entries: list[int] = DEFAULT_ENTRIES) -> None:
    entries.append(1)

I would have hoped that this would be detected by rule B006 (or any other rule), but sadly it is not.
However, the rule detects the issue if instead of DEFAULT_ENTRIES we use [].
Thanks for checking!

I feel like we could catch this via the type annotation though?

Yeah, it should be doable

Just confirming that as of ruff 0.6.6 it still doesn't catch the constant via type annotations:
TEST = [1, 2, 3]

def test(l: list[int] = [1, 2, 3]):
    pass

def test2(l: list[int] = TEST):
    pass

Does https://github.com/astral-sh/ruff/pull/11122 need more work? Anything that we could help with?


How do you shutdown an actor?

Is there a way to self shutdown an actor?

In puppet's design actors run until all mailboxes for it have been dropped. This is mostly for simplicity and also prevents actors shutting down while other things require them.

Fair enough.
Right, I am trying to see if I can adapt puppets to my use-case where I have a work coordinator and a worker which is pulling data from an external stream.
The coordinator checks to see if there are workers for the given workers, and invokes the worker actor. It would be great if there was a way to hook into lifecycles of the actor, i.e on_start, so you could launch a task whose lifetime is tied to the lifecycle of the actor itself.

The coordinator checks to see if there are workers for the given workers, and invokes the worker actor. It would be great if there was a way to hook into the lifecycles of the actor, i.e on_start, so you could launch a task whose lifetime is tied to the lifecycle of the actor itself.

This should be possible if you manually launch the actor task via actor.run_actor(rx).await this basically leaves creating the message channel up to you and spawning the task itself. That's what we do here
If you want to go a step further you can also just use the derived message handler for the actor by managing the message receiving yourself and just calling message.__run(&mut actor).await; to handle the messages themselves.


conv2d_transpose crashing, "NotFoundError: No algorithm worked!", only with batch size >=2^16

I'm getting a crash running a simple autoencoder network, stack trace below. Interestingly if I trim the batch size of the input (validate_vecs_normed) to 65535, everything is fine. E.g.
validate_vecs_normed.shape (65536, 75) crashes, validate_vecs_normed.shape (65536, 75) does not. The size of input is less than 20 MB so should be plenty of room with a 12GB card.
Traceback (most recent call last):
  [...snip...]
    recon, batch_cost = sess.run([decoded, cost], feed_dict={x_in_unrav: validate_vecs_normed})
  File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/client/session.py", line 895, in run
    run_metadata_ptr)
  File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/client/session.py", line 1124, in _run
    feed_dict_tensor, options, run_metadata)
  File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/client/session.py", line 1321, in _do_run
    options, run_metadata)
  File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/client/session.py", line 1340, in _do_call
    raise type(e)(node_def, op, message)
tensorflow.python.framework.errors_impl.NotFoundError: No algorithm worked!
	 [[Node: conv2d_transpose = Conv2DBackpropInput[T=DT_FLOAT, data_format="NHWC", padding="VALID", strides=[1, 2, 2, 1], use_cudnn_on_gpu=true, _device="/job:localhost/replica:0/task:0/gpu:0"](stack, W_0/read, enc_output_0)]]
	 [[Node: cost/_25 = _Recv[client_terminated=false, recv_device="/job:localhost/replica:0/task:0/cpu:0", send_device="/job:localhost/replica:0/task:0/gpu:0", send_device_incarnation=1, tensor_name="edge_47_cost", tensor_type=DT_FLOAT, _device="/job:localhost/replica:0/task:0/cpu:0"]()]]

Caused by op u'conv2d_transpose', defined at:
  [...snip...]
    saver = tf.train.import_meta_graph(os.path.join(model_dir, model_meta_format.format(fold_ind)))
  File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/training/saver.py", line 1698, in import_meta_graph
    **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/meta_graph.py", line 656, in import_scoped_meta_graph
    producer_op_list=producer_op_list)
  File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/importer.py", line 313, in import_graph_def
    op_def=op_def)
  File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/ops.py", line 2630, in create_op
    original_op=self._default_original_op, op_def=op_def)
  File "/usr/local/lib/python2.7/dist-packages/tensorflow/python/framework/ops.py", line 1204, in __init__
    self._traceback = self._graph._extract_stack()  # pylint: disable=protected-access

NotFoundError (see above for traceback): No algorithm worked!
	 [[Node: conv2d_transpose = Conv2DBackpropInput[T=DT_FLOAT, data_format="NHWC", padding="VALID", strides=[1, 2, 2, 1], use_cudnn_on_gpu=true, _device="/job:localhost/replica:0/task:0/gpu:0"](stack, W_0/read, enc_output_0)]]
	 [[Node: cost/_25 = _Recv[client_terminated=false, recv_device="/job:localhost/replica:0/task:0/cpu:0", send_device="/job:localhost/replica:0/task:0/gpu:0", send_device_incarnation=1, tensor_name="edge_47_cost", tensor_type=DT_FLOAT, _device="/job:localhost/replica:0/task:0/cpu:0"]()]]

Possibly related to #11327 or #9576 but not sure. One other thing, when running same code on tensorflow 1.0.1, there was no crash, but the return value "decoded" was all zeros when running a large batch size, and normal with smaller. I'm not sure if it's the same 65535/65536 threshold, I hadn't found it at that point.
Just for fun I ran with TF_USE_CUDNN=0 but that crashes with UnimplementedError (see above for traceback): Conv2D for GPU is not currently supported without cudnn
OS: Ubuntu 16.04.
Running docker image based on tensorflow/tensorflow:1.3.0-devel-gpu (so python 2.7.12, CUDA v8.0, cuDNN v6.0), with nvidia-docker 17.05.0-ce.
Docker image tensorflow/tensorflow:1.0.1-gpu returns all zeros instead of crashing.
GPUs: 2x Titan X (Pascal).

@rmlarsen do you know about issues there perhaps?

From cudnn 7.0.1 release notes:
Fixed bug that produced a silent computation error for when a batch size was larger
than 65536 for CUDNN_CONVOLUTION_FWD_ALGO_IMPLICIT_PRECOMP_GEMM .

Although the release notes didn't say whether it works or fails in 7.0.1. Maybe it still fails but not silently (see https://github.com/Theano/Theano/issues/6318 as well)

Currently cudnn 7 works with tf, but only if built from source, right?

@sullivak yup

https://github.com/tensorflow/tensorflow/issues/12052#issuecomment-335357372
https://github.com/tensorflow/tensorflow/issues/12052#issuecomment-337555746

Does anyone know about a publicly available (docker hub) image for this? I found this by @chu-hung, which looks promising. I also asked at https://github.com/tensorflow/tensorflow/pull/14102#issuecomment-341579981

Hi all,
I've run into this issue, also doing an autoencoder type task. I've reduced it to a simple case, below.
This does not seem just about the batch count. In this example filter_width < 4 and filter_stride < 1 will still work.
import tensorflow as tf
import numpy as np

input_width = 1000
in_channels = 1
out_channels = 1
filter_width = 5
filter_stride = 2
n_samples = 65536

x = tf.placeholder(tf.float32, [None, input_width, in_channels])

x_2d = tf.reshape(x, [tf.shape(x)[0], 1, input_width, in_channels])

l1 = tf.layers.conv2d(
    x_2d,
    out_channels,
    [1, filter_width],
    [1, filter_stride],
    padding='same'
)

codings = tf.reshape(l1, [tf.shape(l1)[0], -1])

codings_2d = tf.reshape(codings, [tf.shape(l1)[0], 1, -1, 1])

l2 = tf.layers.conv2d_transpose(
    codings_2d,
    in_channels,
    [1, filter_width],
    [1, filter_stride],
    padding='same'
)

y = tf.reshape(l2, [tf.shape(l2)[0], -1, in_channels])

x_samples = np.random.randn(n_samples, input_width, 1)

minimise = tf.train.AdamOptimizer().minimize(tf.reduce_sum(tf.square(x - y)))

with tf.Session() as session:
    session.run(tf.global_variables_initializer())
    session.run(minimise, feed_dict={x: x_samples})

I met the same problem for cudnn 7.3.1, cuda 10.0. When using batch size > 65535, the outputs after 65535 is incorrect. Moreover, there is no problem for fully-connected neural network, but this problems occur for some neural network structure.


Adding a non open source project ? (TextSynth Server)

In my search for easy LLM inference on PC, I stumbled on TextSynth Server, distributed as shareware for CPU inference. It provides easy inference with a webgui on Linux and Windows, supporting a bunch of models, some of them quantized.
So far, it's the easiest way I found to run an LLM locally, but since it's not open source, I don't know if it can be added.

Yes I will add it because it is Fabrice Bellard.
Let me think a bit on whether I need a new section or notation.

Added and thanks!


Footnotes and References

Hello there, I wonder if this project is still maintained... I just installed jekyll-pandoc successfully, using Pandoc 2.1 and modifying the _config.yam accordingly. I then build the site all all seems fine, but footnotes nor citepro references are not rendering at all in html.
What do you think might be the problem?
Best!
d

Have you set up the bibtex source address correctly in your configure file? Like
markdown: Pandoc
pandoc:
  extensions:
    - bibliography: bibliography.bib

Hi! Yes, I have the .bib path in place (not in a local folder, though). The funny thing is that the footnotes in standard Pandoc markdown are not working either.

Good to hear you have figured it out! Two things I can suggest:

Compile the site in your local machine and then commit the generated files to the gh-pages branch on Github.

Use Travic-CI to compile the site for you with plugin supports, which is what I do for my site.

Bests,
Qi

Thanks so much for the tips! That's exactly what I needed!
One last thing. I did find that citepro references are still not rendering, even though I have the right path in the _config file. Should I keep a .bib file locally? Or what could be the issue?

Your .bib file should be in the directory you defined. The rendered static site should have the html included in your pages, and hence don't require a local file there. I don't know if this is the solution, but make sure you have both pandoc and pandoc-citeproc installed on your system. On Ubuntu, for example, you might want to try
sudo apt-get install pandoc pandoc-citeproc

Before 2014, pandoc-citeproc is not a separated package, but now it's required.
If this is no the issue, maybe others can step in and help you in solving the problem.

@mfenner

When using Pandoc locally, I've never invoked pandoc-citeproc, I just specify a .bib and csl file. Should it be different here?

I think they should always be the same. I am not sure what's happening in your case...

Issue fix. The problem was with indentation in extensions, ups!


Dev

Describe your feature

[ ] this PR was checked by golangci-linter
[ ] new code did not break current interfaces
[ ] all comments were written on american english language
[ ] all commit messages are spiced up with emojis, which wa defined in CG and in .gitmessage

This PR improve...
Main purpose

Possible issues

@quenbyako, please add these labels: label1,label2,label3

Wait, this pr is not related to me explicitly, how did github send notification to me?


Disconnect containers

Based on #6369 but I used a default scope to prevent deleted entities from appearing in the UI
Please review @simon3z @moolitayer @Fryguy @matthewd

@miq-bot add_label providers/containers

@Fryguy @matthewd in VMs when you select "Instances by Provider" all the VMs are displayed (also the archived/orphaned ones).

Then when you select a provider you obviously get only the vms that are still attached (as they're selected based on the ems_id).
When you select "Archived" / "Orphaned" then you activate the filters ARCHIVED_CONDITIONS and ORPHANED_CONDITIONS defined here
For us at the moment is unacceptable to show by default all the pods in the UI (which is the real difference with VMs), which means that we'll have to actively filter them out (in the controller).
I agree that default_scope is too much invasive. I also think we can find a nice way to filter pods without having duplicated code or duplicated where calls.
@zeari @moolitayer please double check everything and let me know if I am missing something here.

Update:

default_scope removed
relationships severed: projects are disconnected from pods that are disconnected from containers
I am assuming it isnt necessary to keep events for deleted entities(since project name is essential to query events)
UI: show_list pages only get a where clause so deleted items dont show.

@zeari for chargeback we probably need to keep the project entities as well.

@simon3z Technically, we can have a deleted_on field just for container definition. We will know that a container was deleted if its definition was deleted.

@zeari in the chargeback report we should make sure not to miss projects that were deleted.
Safest implementation is probably to list all the pods (active and deleted), and then consolidate them per projects.
Anyway we'll have to think carefully those queries (both correctness and performance).

@zeari in the chargeback report we should make sure not to miss projects that were deleted.
Safest implementation is probably to list all the pods (active and deleted), and then consolidate them per projects.
Anyway we'll have to think carefully those queries (both correctness and performance).

So if projects have their own metrics, why do we need to save pods at all?
Cant we collect chargeback data just from that?

So if projects have their own metrics, why do we need to save pods at all?
Cant we collect chargeback data just from that?

The idea was that then at chargeback time you can pick also other strategies (tags, etc.)

The idea was that then at chargeback time you can pick also other strategies (tags, etc.)

ok, so how deep does this go? can there be strategies by containers tags?
This means we have to keep the pod-project relationship. we can do this either by tags as @moolitayer suggested or by having old_project_id as a field in the db.
we can just turn old_ems_id on pods to old_project_id and get the old_ems_id relationship through projects

@zeari let's go over that on the chargeback devel sync.

@zeari @moolitayer please double check everything and let me know if I am missing something here.

That seems correct.
@zeari another needed item here:
Purging deleted entities after a configurable time frame.

@Fryguy @matthewd Any reason for this PR not to be merged?

Any reason for this PR not to be merged?

Because it doesn't follow the path we set out on in the meeting?  I thought we discussed that it should follow the pattern of the Archived in VMs and Templates, and scope by ems for the rest, so you don't have to carry the special logic.

For us at the moment is unacceptable to show by default all the pods in the UI

I really don't understand this statement.  How is it any different than other things we show?

Because it doesn't follow the path we set out on in the meeting? I thought we discussed that it should follow the pattern of the Archived in VMs and Templates, and scope by ems for the rest, so you don't have to carry the special logic.

@Fryguy what was agreed on the meeting was to drop the default_scope.
Where's the special logic?

Because it doesn't follow the path we set out on in the meeting? I thought we discussed that it should follow the pattern of the Archived in VMs and Templates, and scope by ems for the rest, so you don't have to carry the special logic.

You mean in the UI? The Vm UI is an explorer view and pods\groups are templated summary views.
converting those views to explorer views is a whole lot of work.

@Fryguy what was agreed on the meeting was to drop the default_scope.

OK, then I guess was conflating the conditionals in the process_show_list as the same thing...that is, there shouldn't be a need for it.  On that note, why are those conditionals on deleted_on?  I would have expected .where(:ems_id => nil).

OK, then I guess was conflating the conditionals in the process_show_list as the same thing...that is, there shouldn't be a need for it. On that note, why are those conditionals on deleted_on? I would have expected .where(:ems_id => nil).

felt more generic as all delete-able entities have deleted_on but not ems_id.
I can make that change for projects and groups.

that is, there shouldn't be a need for it.

@Fryguy I mentioned why we need it in a previous comment. There I also explained how it works for VMs today.
Currently in the VMs interface they always show all the VMs (including the archived ones).

For us at the moment is unacceptable to show by default all the pods in the UI (which is the real difference with VMs)

@simon3z Can you explain this a little more...why is it unacceptable, or perhaps instead, what makes it so different?

@simon3z Can you explain this a little more...why is it unacceptable, or perhaps instead, what makes it so different?

@Fryguy the difference is:

the turnover of pods is much higher than VMs

the fact that currently VMs UI (as shown in a previous comment) is extremely different from the Pods one: in fact VMs are using an explorer to show the VMs per-provider

I want to keep the current behavior in the Pods UI where only the active pods are shown

I don't want to start rediscussing the UI now because I am more concerned about the backend implications of this PR and I believe that we all should start having this in our environment (merged) so that we can catch unexpected issues early

@zeari please rebase

Ping @Fryguy @chessbyte

@matthewd @Fryguy what is your concern with this PR?  is it the :where_clause being passed to process_show_list or is it something else?

@simon3z @zeari merging this PR with the caveat that this PR is diverging from standard code patterns (e.g. deleted_on IS NULL vs ems_id IS NULL).  I will create a meeting so that we can review the technical debt and plan a course of action to address it.

@kbrock bringing your attention to the SQL-ish where_clause specified in multiple places in this PR as you are looking at improving performance throughout our product

@chessbyte thanks


http://www.iis.ee.ic.ac.uk/ unreachable？

Hello, I think the website "http://www.iis.ee.ic.ac.uk/" is unreachable, can you post a new website which can offer the .t7 model for me?  Thank you very much!

Hi, yes I am currently updating the repo, will be ready in a couple of days.
Will keep this open until it's done

Hi @Hansry

Hi @vbalnt -- sorry to bother you about this again. I'm trying to reach http://www.iis.ee.ic.ac.uk/aleksander.html but the link is not working; like Hansry said before it seems the whole website http://www.iis.ee.ic.ac.uk/ is unreachable.
Do you know how to access http://www.iis.ee.ic.ac.uk/aleksander.html or otherwise contact Professor Aleksander? (https://www.imperial.ac.uk/people/i.aleksander)
I emailed you about this as well. Thank you!


Check juju and openstack command exist

If the commands are not exist, install before run the script.
Signed-off-by: Xiyue Wang<EMAIL_ADDRESS>

Closing for the reasons mentioned above, thanks!


Minor bugfix in s1_min_channels

The number of channels requirement needed a >=, not a >. If this fix is implemented, if the setting for s1_min_channels is, say, 3, then an S1 with exactly 3 channels will pass the cut (which I think it should).

Thanks Erik!


UserName and minor fixups for ChatSample

@anurse @davidfowl @moozzyk

Hi @BrennanConroy, I'm your friendly neighborhood .NET Foundation Pull Request Bot (You can call me DNFBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!
The agreement was validated by .NET Foundation and real humans are currently evaluating your PR.
TTYL, DNFBOT;

:ship::it:


Add a scroll up button

Add a scroll up button at the bottom of the page that sends you to the top of the page.

@akshitadixit Can you assign this issue to me?


Errors when restarting rollup node

Steps to reproduce it
To reproduce this behavior, you will start a consensus validator and DA bridge using local-celestia-devnet and start the gm rollup on top of it.

Clone rollkit/gm
Navigate to the docker directory
Change the version of ghcr.io/rollkit/local-celestia-devnet to v0.8.2 in the docker-compose.yaml file (Never versions throw other errors)
Start local-celestia-devnet in the background with docker compose up celestia -d
Build the rollup with docker compose build --no-cache
Start the rollup node with docker compose up gm
Let the rollup produce 1-2 blocks
Stop the rollup by pressing CTRL+C in the rollup terminal
Restart the rollup node with docker compose up gm (This will reuse the previous container so that it will get started with data from the previous run)
Wait until you see the error in the shell
To clean up, you can use docker compose up down

Expected result
No errors.
Actual result
Sometimes I can see the error
ERR DA layer submission failed error="rpc error: code = Unknown desc = failed to subscribe to tx: already subscribed" attempt=1 module=BlockManager

and always this error
ERR failed to write block header to header store error="header/store: non-adjacent: head 1, attempted 3" module=HeaderExchangeService

Will be covered by https://github.com/rollkit/rollkit/issues/1431.


watchEvent - Deleted

If you use only watchEvent - Deleted and kind deployment, then delete events are ignored, if add Added, then everything is ok

Did some tests, Deleted is fixed by https://github.com/flant/shell-operator/pull/66. I hope we merge a pile of PRs soon and a fix will become available in the latest image.

:tada: latest is updated.


preserve azure rule priority on rule update

Description
Currently when rules are updated on Azure, the priorities of rules are recomputed instead of preserving the previous priority. This PR resolves this problem by checking if rule already exists on Azure rule update and skips priority computation if it already exists.
Changes

Implement function to compare Azure security rules based on fields Nephe uses.
Change update rule priority logic to skip existing rules and skip used priorities when computing new rules. New rules will take the first available priority starting from Nephe priority range 2000.
Change rule update logic to use addRules and rmRules to perform delta update on existing rules. addRules will be passed into rule priority update logic to compute priority.
Remove allRules from UpdateSecurityGroupRules func parameter as Azure no longer uses it. Now AWS and Azure are consistent.
Update corresponding unit tests.

Closes
#206

/nephe-test-e2e-kind