Add int64 type multiples support for TileGrad.

This fix is a follow up of #13884 to add int64 type of multiples support for TileGrad for completeness.
/cc @vrv
Signed-off-by: Yong Tang<EMAIL_ADDRESS>

@tensorflow-jenkins test this please

@tensorflow-jenkins test this please

All tests passed except MacOS Contrib. I couldn't see the log but assume that is a CI or network error?


Unable to import libraries in Google Colab

Dear Pablo,
I am Wanjoo from Korea. I found your github's making-it-rain and Cloud-Bind codes very useful to me. I could try making-it-rain notebooks in Google Colab.
However, I could not run the GNINA and GNINA+MD notebooks in Google Colab. I am unable to install libraries. Would you please take a look and make them run in Google Colab?
I hope I could try your codes in my research.
Best,
wanjoo
<EMAIL_ADDRESS>

Hi @wanjoochun,
I'm updating the notebooks, I will let you know when it is done.
Thank you.
Best,
Pablo

Hi @wanjoochun
I've updated all the notebooks. Now we have a new notebook, where you can evaluate ligand pose stability using metadynamics (OpenBPMD).
Please, let me know if you have any issues.
Thank you.
Pablo

Hi Pablo,
I really appreciate your prompt update on your work. I will study your
notebooks and try to apply them to my work.
I have been doing MD simulations using Gromacs in a local Linux
environment. Your work opens a new window for me.
Thanks again for your response and help.
Best,
Wanjoo
On Mon, Jun 12, 2023 at 7:37 AM Pablo Ricardo Arantes <
@.***> wrote:

Hi @wanjoochun https://github.com/wanjoochun
I've updated all the notebooks. Now we have a new notebook, where you can
evaluate ligand pose stability using metadynamics (OpenBPMD).
Please, let me know if you have any issues.
Thank you.
Pablo
—
Reply to this email directly, view it on GitHub
https://github.com/pablo-arantes/Cloud-Bind/issues/1#issuecomment-1586362610,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ALEAUX7ZESIUY2VEKDUAZKTXKZCBTANCNFSM6AAAAAAY62JHHA
.
You are receiving this because you were mentioned.Message ID:
@.***>


Week 6 and 7

Project
Auto generates questions in QuML.
Changes
Week 6 and 7 updates.
Notes
If there are any further notes.

Can you please check it again, I have done everything correctly


update names of dune10kt 1x2x6 to be backward compatible as before v10 of larsoft

Most of the Name blocks got carried over with the new PR, but the 1x2x6 FD-HD blocks didn't.  Rectifying this so the automatic Name-maker doesn't just use the GDML name, which causes a GeometryConfigurationWriter conflict

Whoops, I missed a few.  Converting temporarily to draft.

Okay, I fixed some missing Name blocks in 1x2x2 and also the VD DriftY

trigger build with DUNE/dunecore#118

:heavy_check_mark: CI build for LArSoft Succeeded on slf7 for c14:prof -- details available through the CI dashboard

:x: CI build for DUNE Failed at phase ci_tests DUNE on slf7 for c14:prof -- details available through the CI dashboard
:rotating_light: For more details about the failed phase, check the ci_tests DUNE phase logs
parent CI build details are available through the CI dashboard

:x: CI build for DUNE Failed at phase ci_tests DUNE on slf7 for e26:prof -- details available through the CI dashboard
:rotating_light: For more details about the failed phase, check the ci_tests DUNE phase logs
parent CI build details are available through the CI dashboard

@knoepfel Thanks for the suggestion!  I followed it, and found also that on a similar line you point out, I had put in v5 when I had meant v6.  I also chased a bug causing the ProtoDUNE-VD detsim CI stage to fail -- it was loading the ProtoDUNE-SP v7 GDML as its auxdet geometry.  I had to propagate this through to protodunevd_minimal_simulation_services.

And I fixed a copy-paste error of mine.

trigger build with #118

:heavy_check_mark: CI build for LArSoft Succeeded on slf7 for c14:prof -- details available through the CI dashboard

:heavy_check_mark: CI build for LArSoft Succeeded on slf7 for e26:prof -- details available through the CI dashboard

:x: CI build for DUNE Failed at phase ci_tests DUNE on slf7 for c14:prof -- details available through the CI dashboard
:rotating_light: For more details about the failed phase, check the ci_tests DUNE phase logs
parent CI build details are available through the CI dashboard

:x: CI build for DUNE Failed at phase ci_tests DUNE on slf7 for e26:prof -- details available through the CI dashboard
:rotating_light: For more details about the failed phase, check the ci_tests DUNE phase logs
parent CI build details are available through the CI dashboard

Looks almost there...  PDVD reco regression test is loading PDSP geo -- I probably forgot an instance of something somewhere, and a PDDP test is still failing.  That, and the lack of Pandora anab::T0's in the PDSP reco test is bothering.  Marking as draft for now so I can work on it.

trigger build with https://github.com/DUNE/dunecore/pull/118

:heavy_check_mark: CI build for LArSoft Succeeded on slf7 for e26:prof -- details available through the CI dashboard

:heavy_check_mark: CI build for LArSoft Succeeded on slf7 for c14:prof -- details available through the CI dashboard

:x: CI build for DUNE Failed at phase ci_tests DUNE on slf7 for c14:prof - ignored warnings for build -- details available through the CI dashboard
:rotating_light: For more details about the failed phase, check the ci_tests DUNE phase logs
parent CI build details are available through the CI dashboard

:x: CI build for DUNE Failed at phase ci_tests DUNE on slf7 for e26:prof - ignored warnings for build -- details available through the CI dashboard
:rotating_light: For more details about the failed phase, check the ci_tests DUNE phase logs
parent CI build details are available through the CI dashboard

The tests are being triggered in jenkins.
Tested with other pull request(s) LArSoft/larreco#73,LArSoft/larpandora#41

+LArSoft tests OK on slf7 for e26:prof
for details see
https://lar-ci-history.fnal.gov/LarCI/app/ns:LArSoft/view_builds/index?offset=0&builds=lar_ci/23851&builds=
for details of the parent CI build see
https://lar-ci-history.fnal.gov/LarCI/app/view_builds/index?offset=0&builds=&builds=

-SBND tests failed on slf7 for e26:prof
for details see
https://lar-ci-history.fnal.gov/LarCI/app/ns:SBND/view_builds/index?offset=0&builds=sbnd_ci/15108&builds=
for details of the parent CI build see
https://lar-ci-history.fnal.gov/LarCI/app/view_builds/index?offset=0&builds=lar_ci/23851&builds=

-ICARUS tests failed on slf7 for e26:prof
for details see
https://lar-ci-history.fnal.gov/LarCI/app/ns:ICARUS/view_builds/index?offset=0&builds=icarus_ci/10724&builds=
for details of the parent CI build see
https://lar-ci-history.fnal.gov/LarCI/app/view_builds/index?offset=0&builds=lar_ci/23851&builds=

+LArSoft tests OK on slf7 for c14:prof
for details see
https://lar-ci-history.fnal.gov/LarCI/app/ns:LArSoft/view_builds/index?offset=0&builds=lar_ci/23852&builds=
for details of the parent CI build see
https://lar-ci-history.fnal.gov/LarCI/app/view_builds/index?offset=0&builds=&builds=

-uBooNE tests failed on slf7 for e26:prof
for details see
https://lar-ci-history.fnal.gov/LarCI/app/ns:uBooNE/view_builds/index?offset=0&builds=uboone_ci/11233&builds=
for details of the parent CI build see
https://lar-ci-history.fnal.gov/LarCI/app/view_builds/index?offset=0&builds=lar_ci/23851&builds=

-DUNE tests warning, with build warning,, with ignored warning for build, on slf7 for e26:prof
for details see
https://lar-ci-history.fnal.gov/LarCI/app/ns:DUNE/view_builds/index?offset=0&builds=dune_ci/17954&builds=
for details of the parent CI build see
https://lar-ci-history.fnal.gov/LarCI/app/view_builds/index?offset=0&builds=lar_ci/23851&builds=

un-drafting this

The PDDP CI success depends on
https://github.com/LArSoft/larreco/pull/73
and
https://github.com/LArSoft/larpandora/pull/41
which got merged today.


How to skip rsync ?

I just want to execute ssh command on remote ssh server. So I omitted SOURCE and TARGET. But seems rsync still executed.

@abcfy2 Show us your yml file.

  deploy:
    runs-on: ubuntu-latest
    needs:
      - docker-build
    if: ${{ contains(
      fromJson('["push", "workflow_dispatch"]'),
      github.event_name) &&
      contains(
      fromJson('["main"]'),
      github.ref_name)
      }}
    steps:
      - name: Deploy to EC2
        uses: easingthemes/ssh-deploy@v4
        with:
          SSH_PRIVATE_KEY: ${{ secrets.SSH_PRIVATE_KEY }}
          REMOTE_HOST: ${{ secrets.REMOTE_HOST }}
          REMOTE_USER: ${{ secrets.REMOTE_USER }}
          SCRIPT_AFTER: |
            echo hello

@abcfy2 What are you planning to use ssh-deploy for?
Because it's a GitHub Action wrapping rsync via ssh. Hence, it's not intended to perform non-rsync deployments.
If you just want to ssh into a virtual machine, it's best to use something intended for this purpose, such as ssh-action.

Oh Thanks. Because it's named ssh-deploy. So I expect this could execute ssh only actions 😆  . Thanks.


[UT] Test Trino parser without relation alias name

What type of PR is this：

[ ] BugFix
[ ] Feature
[ ] Enhancement
[ ] Refactor
[x] UT
[ ] Doc
[ ] Tool

Which issues of this PR fixes ：

#14825
Problem Summary(Required) ：

test trino parser support query without subquery alias name
Checklist:

[ ] I have added test cases for my bug fix or my new feature
[ ] This pr will affect users' behaviors
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

Bugfix cherry-pick branch check:

[ ] I have checked the version labels which the pr will be auto backported to target branch

[ ] 2.5
[ ] 2.4
[ ] 2.3
[ ] 2.2

[FE PR Coverage Check]
:disappointed: fail : 1 / 2 (50.00%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/sql/parser/SqlParser.java
1
2
50.00%
[59]

run starrocks_admit_test


[Question/Request] Windows widgets or on-demand showing of UI example

So I was just looking through the examples, and it looks really nice with nice layouts, hot-reloading of themes and such. Very sweet!
But I found all ui:s to be using the entire window basically, and was wondering what would be a recommended way to create "windows" or "on-demand" UI elements.
Ill say what my usecase is to clarify what I am trying to ask for.
I have a 3D scene, with entities with meshes, and materials etc.. When selecting an object using bevy_mod_picking (for example) I want to pop up a color picker ( like the one in your example) and size slider. And have that widget only be visible when an object is selected, then removed when unselected.
I might be mixing features/concepts, like that the window is actually a widget, and hiding and showing it is a matter of spawning/despawning that widget?
But was a bit curious if there is a planned/best practice way of doing this :)

There are no windows/popups out-of-the-box widgets yet, but is is already possible to do the stuff you requested. I'll provide example in short.

I have worked on an a modified example tabview that add a tab on demand.
I can add it to the the examples or put code here if the admin like it.
The idea is to use push_children from bevy this way you can compose a UI using multiple systems

https://github.com/bekraoui/belly_examples/blob/dev/examples/tabview-plus.rs

It took some time to prepare internals for proper example  @TotalKrill have asked about. There is one. There is also section in README about modifying UI.
Also, you've noticed you would like to react to third-party events, like PickingEvent from bevy_mod_picking. It was not possible in previous versions of belly, but for now, after rewriting connections systems it could be easily implemented, see Connections readme sections.

Wow. That's amazing. Thank you for the hard work

Wow. That's amazing. Thank you for the hard work

My pleasure!


Support for Raspberry Pi 3

For my Raspberry Pi 3 it doesn't detect the right version number in Pi->getVersion(). It returns 0 instead of 4. Therefore I can't use certain pins without it complaining. I would have made a pull request if I could but I don't know how to convert the revision numbers (http://www.raspberrypi-spy.co.uk/2012/09/checking-your-raspberry-pi-board-version/)

Hey, I've just tested a couple of things on my Pi and seems to be ok.  Can you attach the contents of your /proc/cpuinfo?

Of course...
processor       : 0
model name      : ARMv7 Processor rev 4 (v7l)
BogoMIPS        : 38.40
Features        : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
CPU implementer : 0x41
CPU architecture: 7
CPU variant     : 0x0
CPU part        : 0xd03
CPU revision    : 4

processor       : 1
model name      : ARMv7 Processor rev 4 (v7l)
BogoMIPS        : 38.40
Features        : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
CPU implementer : 0x41
CPU architecture: 7
CPU variant     : 0x0
CPU part        : 0xd03
CPU revision    : 4

processor       : 2
model name      : ARMv7 Processor rev 4 (v7l)
BogoMIPS        : 38.40
Features        : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
CPU implementer : 0x41
CPU architecture: 7
CPU variant     : 0x0
CPU part        : 0xd03
CPU revision    : 4

processor       : 3
model name      : ARMv7 Processor rev 4 (v7l)
BogoMIPS        : 38.40
Features        : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
CPU implementer : 0x41
CPU architecture: 7
CPU variant     : 0x0
CPU part        : 0xd03
CPU revision    : 4

Hardware        : BCM2709
Revision        : a22082
Serial          :<PHONE_NUMBER>d29c51

The Pi 3 by the way also has quite an extra number of GPIO pins: 5, 6, 12, 13, 16, 19, 20, 21, 26 (source: http://raspi.tv/wp-content/uploads/2014/07/Raspberry-Pi-GPIO-pinouts-1024x703.png)

Bad news for you is, I've tested with that cpu info file and I get 10625154 from ->getVersion().  Meaningless, but it should be working for you.
I'm not the maintainer of this library - I was just going to make the PR for you.
If you get desperate, you could try my one in the meantime.

I have the same issue as @winternet-studio . On a RasPi running Raspbian Jessie, version detection is failing. Works fine when I manually edit the pins array. Maybe we can make the $pins property public so we can do an array_push on it as fallback? Here's my /proc/cpuinfo
`processor       : 0
model name      : ARMv7 Processor rev 4 (v7l)
BogoMIPS        : 76.80
Features        : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
CPU implementer : 0x41
CPU architecture: 7
CPU variant     : 0x0
CPU part        : 0xd03
CPU revision    : 4
processor       : 1
model name      : ARMv7 Processor rev 4 (v7l)
BogoMIPS        : 76.80
Features        : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
CPU implementer : 0x41
CPU architecture: 7
CPU variant     : 0x0
CPU part        : 0xd03
CPU revision    : 4
processor       : 2
model name      : ARMv7 Processor rev 4 (v7l)
BogoMIPS        : 76.80
Features        : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
CPU implementer : 0x41
CPU architecture: 7
CPU variant     : 0x0
CPU part        : 0xd03
CPU revision    : 4
processor       : 3
model name      : ARMv7 Processor rev 4 (v7l)
BogoMIPS        : 76.80
Features        : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm crc32
CPU implementer : 0x41
CPU architecture: 7
CPU variant     : 0x0
CPU part        : 0xd03
CPU revision    : 4
Hardware        : BCM2709
Revision        : a22082
Serial          :<PHONE_NUMBER>867659`

Sorry, not time left nor budget to try this so far,
Please feel free to share a PR here


Allow changing the filter class being used on the Repository

The repository right now accepts only Guava Predicates for filtering the data. Change it so the class being used can be changed.
For example, a class containing a SQL query and parameters for it may be used.

Done. Now the filter is part of the class' template.


When share the code?

hello, @hehefan   thanks for your paper, i'm interested in the implementation  ``EMD``` loss , so when do you share your code?

sorry for repeated submissions, because the  Network response is too slow.


Can't install vapor on macOS Sierra

When I try to run vapor help, I get the following:
$ vapor help
/usr/local/bin/vapor:48:14: error: 'popen' is unavailable in Swift: Use posix_spawn APIs or NSTask instead.
    let fp = popen(command, "r")
             ^~~~~
Darwin.popen:2:13: note: 'popen' has been explicitly marked unavailable here
public func popen(_: UnsafePointer<Int8>!, _: UnsafePointer<Int8>!) -> UnsafeMutablePointer<FILE>!
            ^
/usr/local/bin/vapor:70:18: error: 'system' is unavailable in Swift: Use posix_spawn APIs or NSTask instead.
    let result = system(command)
                 ^~~~~~
Darwin.system:3:13: note: 'system' has been explicitly marked unavailable here
public func system(_: UnsafePointer<Int8>!) -> Int32
            ^
/usr/local/bin/vapor:80:12: error: 'system' is unavailable in Swift: Use posix_spawn APIs or NSTask instead.
    return system(command) == 0
           ^~~~~~
Darwin.system:3:13: note: 'system' has been explicitly marked unavailable here
public func system(_: UnsafePointer<Int8>!) -> Int32
            ^
/usr/local/bin/vapor:88:12: error: 'system' is unavailable in Swift: Use posix_spawn APIs or NSTask instead.
    return system("hash \(command) 2>/dev/null") == 0
           ^~~~~~
Darwin.system:3:13: note: 'system' has been explicitly marked unavailable here
public func system(_: UnsafePointer<Int8>!) -> Int32
            ^
/usr/local/bin/vapor:92:12: error: 'system' is unavailable in Swift: Use posix_spawn APIs or NSTask instead.
    return system("ls \(fileName) > /dev/null 2>&1") == 0
           ^~~~~~
Darwin.system:3:13: note: 'system' has been explicitly marked unavailable here
public func system(_: UnsafePointer<Int8>!) -> Int32
            ^
/usr/local/bin/vapor:96:12: error: 'system' is unavailable in Swift: Use posix_spawn APIs or NSTask instead.
    return system("test -z \"$(git status --porcelain)\" || exit 1") == 0
           ^~~~~~
Darwin.system:3:13: note: 'system' has been explicitly marked unavailable here
public func system(_: UnsafePointer<Int8>!) -> Int32
            ^
/usr/local/bin/vapor:51:9: error: 'pclose' is unavailable in Swift: Use posix_spawn APIs or NSTask instead.
        pclose(fp)
        ^~~~~~
Darwin.pclose:2:13: note: 'pclose' has been explicitly marked unavailable here
public func pclose(_: UnsafeMutablePointer<FILE>!) -> Int32
            ^
/usr/local/bin/vapor:51:9: warning: result of call to 'pclose' is unused
        pclose(fp)
        ^     ~~~~
/usr/local/bin/vapor:590:17: error: 'system' is unavailable in Swift: Use posix_spawn APIs or NSTask instead.
                system("git init \(escapedName)")
                ^~~~~~
Darwin.system:3:13: note: 'system' has been explicitly marked unavailable here
public func system(_: UnsafePointer<Int8>!) -> Int32
            ^
/usr/local/bin/vapor:590:17: warning: result of call to 'system' is unused
                system("git init \(escapedName)")
                ^     ~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/bin/vapor:591:17: error: 'system' is unavailable in Swift: Use posix_spawn APIs or NSTask instead.
                system("cd \(escapedName) && git add . && git commit -m \"initial vapor project setup\"")
                ^~~~~~
Darwin.system:3:13: note: 'system' has been explicitly marked unavailable here
public func system(_: UnsafePointer<Int8>!) -> Int32
            ^
/usr/local/bin/vapor:591:17: warning: result of call to 'system' is unused
                system("cd \(escapedName) && git add . && git commit -m \"initial vapor project setup\"")
                ^     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/bin/vapor:605:17: error: 'system' is unavailable in Swift: Use posix_spawn APIs or NSTask instead.
                system("open \(escapedName)/*.xcodeproj")
                ^~~~~~
Darwin.system:3:13: note: 'system' has been explicitly marked unavailable here
public func system(_: UnsafePointer<Int8>!) -> Int32
            ^
/usr/local/bin/vapor:605:17: warning: result of call to 'system' is unused
                system("open \(escapedName)/*.xcodeproj")
                ^     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/bin/vapor:783:16: error: 'system' is unavailable in Swift: Use posix_spawn APIs or NSTask instead.
        return system(cmd) != 0
               ^~~~~~
Darwin.system:3:13: note: 'system' has been explicitly marked unavailable here
public func system(_: UnsafePointer<Int8>!) -> Int32
            ^
/usr/local/bin/vapor:940:13: error: 'system' is unavailable in Swift: Use posix_spawn APIs or NSTask instead.
            system("git add .")
            ^~~~~~
Darwin.system:3:13: note: 'system' has been explicitly marked unavailable here
public func system(_: UnsafePointer<Int8>!) -> Int32
            ^
/usr/local/bin/vapor:940:13: warning: result of call to 'system' is unused
            system("git add .")
            ^     ~~~~~~~~~~~~~
/usr/local/bin/vapor:941:13: error: 'system' is unavailable in Swift: Use posix_spawn APIs or NSTask instead.
            system("git commit -m \"setting up heroku\"")
            ^~~~~~
Darwin.system:3:13: note: 'system' has been explicitly marked unavailable here
public func system(_: UnsafePointer<Int8>!) -> Int32
            ^
/usr/local/bin/vapor:941:13: warning: result of call to 'system' is unused
            system("git commit -m \"setting up heroku\"")
            ^     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/bin/vapor:942:13: error: 'system' is unavailable in Swift: Use posix_spawn APIs or NSTask instead.
            system("git push heroku master")
            ^~~~~~
Darwin.system:3:13: note: 'system' has been explicitly marked unavailable here
public func system(_: UnsafePointer<Int8>!) -> Int32
            ^
/usr/local/bin/vapor:942:13: warning: result of call to 'system' is unused
            system("git push heroku master")
            ^     ~~~~~~~~~~~~~~~~~~~~~~~~~~

I'm running macOS Sierra (10.12) with Swift 3.0 (also tried with DEVELOPMENT-SNAPSHOT-2016-06-06-a, same output).

Check your Command Line Tool settings and use Xcode 7.3.1.

Indeed, I thought I had tried with CLT 7.3.1 but I was mistaken. It works now.
Thanks @culturedlabs!


[header] add algorithm

required for std::max

Any chance you can remove the whitespace-only changes?

Actually no. The changes are related to encoding, and I can't edit files without turning them into UTF-8.

I don't actually need this change; as such, closing.

I am confused, I made similar changes, should I just merge mine?


batcher: support maxBatchSize option

Allows to set a maxBatchSize option that will trigger a new batcher
singleton when the size option is hit.

@nodkz i think this is ready for your review. This fixes the issue i mentioned in #40 and implements maxBatchSize option.

Uhhhh. Just finished. Bumped 2.0.0.
Please try it in your project.
@brad-decker many thanks for your help!


Adjust GaussianCDFEncoding and related stuff for new encoding API

I have now adjusted the codebase so that GaussianCDFEncoding obeys the encoding API. This addresses another point in #190.

Previously, GaussianCDFEncoding was only applicable to vector-valued input, meaning that we had to encode an entire timeseries in bulk. By adjusting the type from GaussianCDFEncoding(; c::Int = 3) to GaussianCDFEncoding(; μ, σ, c::Int = 3), we now require the user to explicitly specify the mean and standard deviation of the desired normal CDF. Thus, encode and decode now both handle scalar-valued inputs (i.e. no need for entire timeseries, because μ and σ must be pre-computed).
In  the Dispersion struct, instead of explicitly constructing an encoding (i.e. GaussianCDFEncoding), we just use c::Int, which dictates how many bins to divide the range of the CDF into. However, we add a field encoding, which specifies a type of encoding, and can be any encoding type that accepts the keyword c. The default is GaussianCDFEncoding. It is now trivial to replace GaussianCDFEncoding with WhateverCDFEncoding, by just doing e.g. Dispersion(; encoding = WhateverCDFEncoding, c = 5). Internally, this will instantiate a WhateverCDFEncoding(; c = 5) in the relevant location in the code. However, the encoding field is not yet part of the public API. I don't think it should be public yet either, because I have an idea to make this even more generic.
Empirical mean and standard deviation computations for Dispersion are delegated to symbolize_for_dispersion, which also instantiates the encoding.
I let the linear mapping from the (0, 1) range of the CDF to the integers 1, 2, ..., c to just use an equidistant binning. This is essentially a FixedRectangularBinning(0, 1, c) (but without explicitly constructing a `RectangularBinEncoding, since it would have to be constructed once per encoding, which is expensive). This differs slightly from the original paper, but makes much more sense. This choice is now well documented, and makes much more intuitive sense than the previous mapping.

The alternative to this entire approach would be to extend the encoding API to be defined for vector-valued inputs, which I don't want to do, because it complicates things unnecessarily. I think the approach here is more elegant anyways, because it is now trivial to user some other encoding by just specifying the encoding keyword to Dispersion (again, this is not in the public API atm).
Other stuff:

Fixed some more NaiveKernel tests.

[x] Test pass.

[x] Documentation generation is successful.

@datseris I will merge this immediately when CI is done, so I can finish up #126 (which depends on this stuff). If you have any comments, just leave them here (or open issues if necessary), and I will address them while working on #126.

it's okay, I have planned that we have to do a full review of the entire code base before publish anyways. I just haven't told you about this plan yet xD xD xD

I figured as much 🤖


Update Ubuntu, Python, and Node versions

We could also do ubuntu-latest instead of choosing a specific Ubuntu version. I think that might be relatively safe?
I haven't tested the impact of Node v16 -> v18 or Python v3.10 -> v3.11 on our scripts, but I think it'll be fine.

We could also use 3.x for python and lts/* for Node. Given how we generally operate, of just fixing build errors as soon as they come up, maybe that's fine.


Editing a case/ method/ org should only show quick sub fields

(@dethe let me know if this was what you had in mind when we discussed this this morning)
When a user clicks on the edit button on any case/method/org, they'll see just quick sub fields. Below that will be two buttons: "Save" & "Edit Full Version"
If "Edit full version" is clicked, the rest of the fields are revealed, with "Save" below that.
*RELATED QUESTIONS: do the forms auto save? and what is the status of version control?

Related:
https://github.com/participedia/usersnaps/issues/75

@jesicarson For your related questions: no, forms do not currently auto-save, except where the browser does this for us. Version control is not 100% implemented, but basic version control is maybe 70% done.

@dethe Thanks! More questions:
Is allowing users to save their entries as drafts something that is very complex? This was proposed early on, but got dropped along the way.
Is there any visual design required for version control from ui perspective? Do you need mockups?

Saving entries as drafts shouldn't be complex, unless I am missing something. We already have a published flag that we set automatically when they submit, it would just be a matter of not setting it, not showing unpublished items by default, and the UI for handling it all.
Some questions (we should probably promote this to its own issue):

Can an item be retracted to draft state again once it has been published?
Are further edits to a published item automatically published as well?
I'm assuming only the author can see draft items, but do we need any further roles/workflow like editors who can see all (even draft) items? Keeping in mind that the more roles and states, the more complicated everything gets.
Likewise, I'm assuming only the author can publish a draft item (or retract to draft state, if we allow that), but is that the case?
There was something else, but I've forgotten it now.

For versioning, yes, will need mockups, but also rules.

If there are five versions and the user reverts to version 3, what happens to versions 4 and 5? Can they be reverted to, or are they discarded and we just move forward from version 3? I'm assuming we'd keep them and be able to revert to them, but for users used to undo that may be different from what they expect.
How much detail do we need to provide to show what has changed between versions?
Can anyone revert a change or only a subset of users?
I won't even start on the localization issues just now…
Right now we're only prepared to version title and body, not metadata. If versioning all changes is required this becomes a much more complicated issue.

Great questions @dethe. I think @plscully should weigh in here also (on the original issue, as well as these follow up issues). I'm going to add this to the agenda for next week's call.

@jesicarson @dethe .  Re: "Saving entries as drafts" please see my responses below.
My recollection is that some folks want this feature primarily so that they can work on the narrative/article section w/out having to complete it before posting. They don't want other users to think that a draft reflects their polished work.
The simplest overall solution is probably to remind users that it's best to write their content with their preferred word processor and then paste the final copy into PPedia.  Or perhaps we should borrow from Wikipedia and provide a sandbox where users can develop the narrative section and then copy/paste or export it into a case that also includes the other data fields.

Can an item be retracted to draft state again once it has been published?

Seems like a low priority and overly complex if the originating contributor sees revisions from another user he doesn't like and decides to retract to a draft state.  If a user publishes by mistake they would have to bite the bullet and use our editing tools. If something goes horribly wrong, they could write to us and ask us to delete the case so that they can start over.

Are further edits to a published item automatically published as well?

Yes, I would leave this function as it now is. Again, perhaps some of this would be more manageable if we used the Wikipedia set of options: save changes, show preview, show changes

I'm assuming only the author can see draft items, but do we need any further roles/workflow like editors who can see all (even draft) items? Keeping in mind that the more roles and states, the more complicated everything gets.

Probably good for a small # of admin/editors to see draft items IF we are concerned that we could end up with lots of "ghost" drafts abandoned by users. Admins could then turn them into stubs. But if there is a work-around that can do this just as well, then lets do that.

Likewise, I'm assuming only the author can publish a draft item (or retract to draft state, if we allow that), but is that the case?

Per 3 above, if we allow admin/editors to see and publish abandoned drafts, Scott and I will develop guidelines re: which parts of the draft are published (under an official "anonymous" user account) so that the originating user isn't upset that we published something they never wanted the world to see.

@jesicarson @dethe RE: questions about Versioning rules. Please see my bulleted replies below.

f there are five versions and the user reverts to version 3, what happens to versions 4 and 5? Can they be reverted to, or are they discarded and we just move forward from version 3? I'm assuming we'd keep them and be able to revert to them, but for users used to undo that may be different from what they expect.

I agree that "versions 4 & 5" should be kept. As far as I know, we haven't received negative feedback about this aspect of the current site.

How much detail do we need to provide to show what has changed between versions?

I don't know enough about how this usually works to have an informed opinion. However, one of the things we wanted on the current site that I don't think we ever achieved was to also show changes in the data fields. As far as I know, now we can only view changes in the article body.

Can anyone revert a change or only a subset of users?

As it is now, anyone can revert a change. This has worked well, although it seems as though we need someway to identify/track users who make reversions. Perhaps set it so that only someone who has made at least a small edit to the entry can revert a change.

I won't even start on the localization issues just now…

Right now we're only prepared to version title and body, not metadata. If versioning all changes is required this becomes a much more complicated issue.

I don't know enough to understand the implications of this. Does this refer to the issue I addressed in 2 about making it possible to view changes in all the data fields. If so, and if this is a huge problem, we can put it off until a later update.

@dethe @andreadelrio,
RE: The original issue 549... After chatting with @plscully today, we decided to default to show only the quick submit fields when a user clicks edit on a case, method or org.
As per above:

When a user clicks on the edit button on any case/method/org, they'll see just quick sub fields. Below that will be two buttons: "Save" & "Edit Full Version"
If "Edit full version" is clicked, the rest of the fields are revealed, with "Save" below that.

related: #592

I forgot to mention also that we'd like to create some expert user tricks to default to the full entry form.

in user settings, have a toggle for this
create a keyboard shortcut (ie: shift + click edit = full form loads)

Hey folks, just going to give my two cents to this: I agree with everything that's been said about versions and drafts - one thing I'd just request is for an admin to be notified when a user reverts an entry to a previous version. I don't see this happening very often but where I do see it happening is when someone closely related to a project/organization etc. has written an entry and doesn't want any additions (eg. 'negative' aspects added to the Analysis section). I'd also suggest building in something to the back end that allows admins to disable edits or version revisions on certain entries - that way we won't get into the 'editing wars' I've watched unfold on Wikipedia.

Good idea!
From: Scott Fletcher<EMAIL_ADDRESS>Sent: Monday, November 6, 2017 3:22 PM
To: participedia/frontend<EMAIL_ADDRESS>Cc: Patrick Scully<EMAIL_ADDRESS>Mention <
<EMAIL_ADDRESS>Subject: Re: [participedia/frontend] Editing a case/ method/ org should
only show quick sub fields (#549)
Hey folks, just going to give my two cents to this: I agree with everything
that's been said about versions and drafts - one thing I'd just request is
for an admin to be notified when a user reverts an entry to a previous
version. I don't see this happening very often but where I do see it
happening is when someone closely related to a project/organization etc.
has written an entry and doesn't want any additions (eg. 'negative' aspects
added to the Analysis section). I'd also suggest building in something to
the back end that allows admins to disable edits or version revisions on
certain entries - that way we won't get into the 'editing wars' I've
watched unfold on Wikipedia.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/participedia/frontend/issues/549#issuecomment-342274174,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AcJT0dotPe_JVmOsvusc-mJnBb_NlGVUks5sz2pagaJpZM4OyriT
.

Thanks @scottofletcher. Ive added your comment above to the changes from .net doc under "admin tools", which Dethe and I will be reviewing in the next couple of weeks in order to define admin roles. You could revisit that doc and see if there's anything you want to add.
Basically we want to end up with a list of tasks that admins are able to do for this issue: https://github.com/participedia/frontend/issues/672


Inactive button continue on Setup Phrase

Problem
Button "Continue" is inactive on Setup Phrase on BetaNet Wallet

Expected Behavior
Button is active.
Steps to reproduce

Create new account on BetaNet already having an account
Choose Seed Phrase
For some reason "Continue" is inactive

This is not happening all the time, but have happened.
Refresh helped.

Possibly related? https://github.com/near/near-wallet/pull/1265#issuecomment-742827036


Request and Feedback

Right now it works but feels very basic. Just bring back some functions that's already in chromium, and I'll be happy.

Setting download folder.
Bookmarks
Task manager (The ctrl+esc window)
Cookie black/whitelist (from URL bar and security settings.)
Open in new tab/open in current tab/Copy link in right-click menu
Cache flushing (for cases where the browser has been running for a long time)
"about://version" would be helpful even if it's rarely used.
Extensions.
Elements,Source,Console and Network, just these 4 tools in DevTools.  If it's too much work, just Network and maybe a "Disable JS" check box would suffice. (I somtimes use it for resource sniffing.) Truthfully, having used Chrome for about 10 years I've never used any other tools there, I don't even fully understand what they do. It's very obvious they stayed there because the Chrome developers like it, not because it's in common use.)

That's all I can think of right now. Any other stuff like autofill, sync, reader mode, tab search, gestures, translate... are just bloat (to me at least).
============================
As I'm typing this, I noticed Multizen eagerly unloads tab when switching. To a point where I'm just clicking to another tab and back and it has to reload. It's too much.
Best of luck with this project.

Adding to this list, I think it would also be nice to be able to name each session


BibUpload: configurable DOI tag

Originally on 2013-02-12
In fc4e5a42e3210fd00c727b2505764b801403a50b resulted from #1160, a new facility to verify DOI uniqueness during upload was merged.  However, the DOI field there is hard-coded to be 0247_.  The DOI field location should be made configurable via techniques similar to CFG_BIBUPLOAD_EXTERNAL_OAIID_TAG.

The issue seems to be stalled for 3 years. Check https://github.com/inveniosoftware/invenio-pidstore for DOIs management.
cc @inveniosoftware/triagers


Resizing layer meets division by zero crash with jax backend

As shown in this colab, Resizing meets a 'division by zero' crash with jax backend.
This is triggered when 'height' is large and crop_to_aspect_ratio=True.
According to the error message, it seems that after the preprocessing in Keras, jax receives an image whose dimension list contains a zero, which is directly used as a divisor in jax.
Currently the output is:

where we can observe that the API can execute successfully when  crop_to_aspect_ratio=False or 'height' is small, while meets a crash in the third time.

The symptom looks similar to issue #19723, but I'm not sure whether the reasons behind are same too.
Besides, I also found this problem in RandomCrop layer.
Please let me know if you need a code snippet to reproduce the crash in RandomCrop.

Hi @AGFACBNNR
Thanks for reporting the issue. I have tested the code snippet and reproduces the reported behaviour. Attached gist file for reference.
We will look into the issue and update you the same.

This issue is now fixed with the above linked PR and here is the working Gist in the keras-nightly version


Add engine API to anvil

Component
Anvil
Describe the feature you would like
The Engine API is currently in RETH but not supported in anvil. Adding the engine API to anvil would be generally useful. For example, it would allow Anvil to work seamlessly within a multichain OP-chain devnet running on top of anvil. Without the engine api this must be hacked around.
Additional context
Some links about OP node and engine api:

https://github.com/ethereum/execution-apis/blob/main/src/engine/README.md

Adding the engine API to anvil would be generally useful. For example, it would allow Anvil to work seamlessly within a multichain OP-chain devnet running on top of anvil.

you want support for this in anvil so you have a node and still have all the cheat endpoints?
otherwise op-reth would be an option
I think we can add this as an opt-in feature, I can see how this could be useful.

Agree here with mattsse—this could be useful, we just need to scope it properly.

@mattsse exactly! We want to be able to do everything anvil does like cheat endpoints and state dumps within a multichain devnet. We also are looking to contribute helping add this.
Link to issue: https://github.com/ethereum-optimism/mocktimism/issues/5
Link to product document and eng doc: https://github.com/ethereum-optimism/mocktimism/issues/1

okay, actually I think this shouldn't be too complex,
basically new_payload buffers received blocks
FCU then executes the block(s) and updates the state
there are def some limitations when it comes to full validation etc, but getting the newpayload and fcu endpoints working (optimistically without full validation) should be doable.

Could this be used / would this be necessary, to run a forked network including a forked beacon chain?


DRILL-6864: Upgrade the git-commit-id plugin to 2.2.5

The latest version of the git-commit-id seems to work OK (passed all the Jenkins tests; even though the maven repository shows dependency on jackson.databind version 2.9.6, while we use 2.9.5 ; see https://mvnrepository.com/artifact/pl.project13.maven/git-commit-id-plugin/2.2.5 )
Performance on Jenkins build seems the same, but on my Mac a full clean build is nearly 2 minutes faster. And when adding the new option to skip this plugin ( -Dmaven.gitcommitid.skip=true ) , the clean build is 3-4 minutes faster.

+1 LGTM
jackson.databind is specified in dependencyManagement block, therefore 2.9.5 version is used. It can be updated in future, if it will be necessary.


Fix for malfunctioning exponential backoff retry mechanism

There is an epic bug in the retry mechanism of requests, which causes it not to work, it just makes one request and returns final error to anyone using this function.
There has been a mixup in the scopes of the variable MAX_RETRIES, which this pull request solves.
If you merge this in, please make a new release for this library and the iron_mq_node library (v2 branch).

Thanks!


 I was wondering how I could retrieve gif data from the gif images saved on the user's camera roll?

Any update on this? I also want to select GIF from photo library but it's not working. please fix this.

@s4cha  what about this? do you consider enabling support for GIFs picking from photos gallery?

how do you tell if a UIImage returned from the picker is a GIF?


[BUG] -accessory_view_payload "Time left: %@"  not working with  -accessory_view_type html

Describe the bug
im trying to get the -accessory_view_payload "Time left: %@" working with a popup using -accessory_view_type html to show the count down timer. Is this possible? the timeout does work it just doesn't show the time left
To Reproduce
Steps to reproduce the behavior:
"/usr/local/bin/IBM Notifier.app/Contents/MacOS/IBM Notifier" -type popup -bar_title "bar title" -always_on_top -silent -accessory_view_type timer -accessory_view_payload "Time left: %@" -timeout "20" -main_button_label "I Understand" -accessory_view_type html -accessory_view_payload "
Heading title
Important Notes - Must Read

line 1

line 2
line 3
line 4
line 5
line 6
line 7

line 8
line 9
line 10"
Expected behaviour
the countdown timer to show
Screenshots

Desktop (please complete the following information):

OS: [e.g. macOS 13.3.1]
Project version 2.9.1

Additional context
working on a workflow which requires a reboot so it is essential.

Hi @mrmte you can use a maximum of two accessory views for popup dialog leveraging -accessory_view_type/payload and -secondary_accessory_view_type/payload. So your example should look like:
"/usr/local/bin/IBM Notifier.app/Contents/MacOS/IBM Notifier" -type popup -bar_title "bar title" -always_on_top -silent -accessory_view_type timer -accessory_view_payload "Time left: %@" -timeout "20" -main_button_label "I Understand" -secondary_accessory_view_type html -secondary_accessory_view_payload "
Heading title
Important Notes - Must Read

line 1

line 2
line 3
line 4
line 5
line 6
line 7

line 8
line 9
line 10"

Brilliant! Thanks very much :)


[Enh] producer update or producer prepare command

How about a producer update command? when executed

updates year in license.
updates generated phpDoc
updates CHANGES file by reading all commits that start with [Enh], [Bug], [BC], [Fix] and add them.
compiles binaries
Shows you the diff and allows you to configure a commit.
if commit cancelled the changes are kept but not committed. This allow you to edit something before commit manually or execute producer release
if commit is approved it allows you to choose if tag as release.

Your library projects need to compile binaries for releases?

not mine.... maybe compile is not the proper word, i mean for what you write on the bin/ folder

i mean for what you write on the bin/ folder

In theory, composer should be moving stuff to the bin/ folder.
Some background: I do not think Producer should be making changes to the project. It should validating the project as-it-is, and let you know when it thinks something is wrong. That means "generating phpdoc files" would be out, as would changing the LICENSE file. Producer is not a "build" too, per se; it is a "check before releasing" tool.
Now, having said that, I can see where a "producer changes" (as in, "changes since last release") might be good; the user can then pipe that output to CHANGES.md if they like. That would not be an automated modification; the user gets to apply it, or not, as they see fit.
Do you see where I'm coming from here?

I do see where you come from.
How about a producer publish command then? this one will be the equivalent to producer validate then allow the user to configure extra commands in .producer/config, then execute producer changes  and producer release?
producer will not do the moficiations itself, it will allow the user to configure any command required for a publication.

That might be do-able. One step at a time, though. If you want to put together a PR for producer changes as a starting point, I can review it.
Also, thanks for your interest and assistance!

ok let me add a new issue for producer changes and will work on it on weekend. I will base it on producer issues command

Good deal. You might not need issues so much as just the local log (whether Git or Hg).

Closing this, as its result appears to be #9 . Let me know if it need to be re-opened.


!!! This project will retire! Please start using Xamarin.Essentials !!!

Xamarin.Essentials now has a FilePicker based on this one. Therefore, this project will retire. Please see if that FilePicker does what you need or open issues/feature requests there.
Thank you for all your support throughout the years and using our solution!

Xamarin.Essentials v1.6 and higher

Thanks @JTOne123 ! Totally right. Added that :)


Build issue error[E0277]: can't compare

Commit: 5331a2758a29e29e97a3cd7191eba3330f0126e1
File: src/lib.rs
Line: 1479
if hdr.dcid.as_ref() != self.scid  ^^ no implementation for &[u8] == std::vec::Vec<u8>

I don't have same issue rust 1.46.0 and rust 1.47.0. If you use older version of rust, please try with newer rustc.

ubuntu 20.04 is shipped with rustc version 1.43 and that is failing, after removing rustc/cargo, and than installing with:
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

it is now compiling without error

Glad to hear your problem is fixed! Given that we already document the minimum Rust version required in README.md I don't think there's anything else to do here, so closing.


Export action exports multiple products

When I export a product with the sku 'Eurostar', it exports a CSV with two products; the 'Eurostar' product and the 'Eurostar Sense' product. It seems the filtering used is a 'contains' or maybe a 'starts with' filter, instead of an exact match.

We also can't, for example, (temporarily) override public static function getAttributeFilterType because it's static. Hmmm.


perf: exclude big size images on generate

Thank you for your contribution to the Koda - Generative Art Marketplace.
👇 __ Let's make a quick check before the contribution.
PR Type

[ ] Bugfix
[ ] Feature
[x] Refactoring

Context

[x] minor changes to exclude big images on generate

It would be great if there is a bundle size comparison after exclude the image. It's not that flexible when we want to change images.

Regarding images, it aligns with our old issue here: https://github.com/kodadot/nft-gallery/pull/6707

before
after

276K	./.nuxt/dist/server/client.manifest.mjs
272K    ./.nuxt/dist/server/client.manifest.mjs

For now, we probably don't see major performance gains; it's just incremental PRs. However, based on my test here: https://github.com/kodadot/nft-gallery/pull/11260, once we can replace all SCSS-related parts and include these changes, it can reduce our build times by about 40-60 seconds

Tests are failing cc @preschian

Tests are failing cc @preschian

not related with this pr, same error on main branch https://github.com/kodadot/nft-gallery/actions/workflows/playwright.yml?query=branch%3Amain
afaik error since yesterday

Tests are failing cc @preschian

not related with this pr, same error on main branch https://github.com/kodadot/nft-gallery/actions/workflows/playwright.yml?query=branch%3Amain
afaik error since yesterday

Can you pls fix?

Tests are failing cc @preschian

not related with this pr, same error on main branch kodadot/nft-gallery/actions/workflows/playwright.yml?query=branch%3Amain
afaik error since yesterday

Can you pls fix?

let's try with this https://github.com/kodadot/nft-gallery/pull/11283


Rebase all tket1 operations to H-series

Following on from #490
Eldarion and downwards expect quantum operations to be in H-series gateset (phasedX, ZZMax, ZZPhase, Rz, TK2). Currently you can program in guppy in this set and everything works. Users will want to use more familiar gates, so ideally we should allow them to program using all the standard gates from TKET1.

[ ] For all tket1 ops, ask tket1 to rebase to CX, TK1 (maybe TK2, TK1). If unparametrised, convert to HUGR and store.
[ ] If parametrised, attempt to convert resulting symbolic expressions (automatically or by hand if simple enough).
[ ] Any where conversion wasn't possible, mark as unsupported.
[ ] Add lowering HUGRs from standard gates (CX, TK1) to H-series gate set.
[ ] Use hard coded circuits + standard set lowering to do multi-stage rebasing by replacing ops.

Closed by #490

Closed by #490


Copyright

Hi @brazitech
You've got no right to change the copyright information as you did it in this particular commit:
https://github.com/BraziDev/ticketit/blob/e659cb1dc9af45c7ba40dac557ffee023c25a0b5/LICENSE.txt#L3
from Ahmed M. Kordy to Ahmed M. Brazidev . Unless you're the same person as @thekordy but then why use two names?
So please either delete this repo or change the copyright info back.

From the MIT license:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

What you're doing is a violation of this paragraph.
You can however hold copyright for the changes you made, but not for the whole package. The MIT license has very few limitations, this is one of them.

No, this is not me. Please @brazitech change the copyright info back, as @balping wrote, you don't have the right to change the copyright.


eWallet internal exchange mechanism

Simple Summary
Enables an eWallet server to perform exchanges and transfers from/to different minted tokens within its own eWallet environment.
Abstract
This RFC describes the standard endpoints, flows, request/response formats, error codes needed to allow an eWallet server to perform cross-token exchanges within its own eWallet environment.
It is expected that there will be following RFCs for exchanges across eWallet environments and across the OMG network.
Motivation
Prior to this RFC, the eWallet server is able to transfer values between accounts and/or users, if and only if the from and to are of the same minted token.
One of the main purposes of the eWallet is to enable exchanges of different minted tokens. Since, different mechanisms could be used and potentially impact future integrations with centralized & decentralized exchanges, it is important for this mechanism to be put up as an RFC and discussed before implementing.
Specification
Definitions

Internal exchange: An exchange transaction that happens within the same eWallet environment.

External exchange: An exchange transaction that involves a third-party, e.g. exchanging with a centralized or decentralized exchange services. The external exchange is out of scope of this RFC.

Exchange pair: A pair of minted tokens that are allowed to be exchanged.

Same-token transfer: A transaction whose its from_address and to_address are different, but from_token_uuid and to_token_uuid are the same.

Exchange transaction: A transaction whose its from_address and to_address are the same, but the from_token_uuid and to_token_uuid are different.

Exchange transfer: A transaction whose its from_address and to_address are different, and the from_token_uuid and to_token_uuid are also different.

Data schemas
EWalletDB.ExchangePair: Contains the data about a pair of minted tokens that are allowed to be exchanged.

from_minted_token (string)
to_minted_token (string)
rate (float)
reversible (boolean)
effective_at (datetime) - so the exchange rate can be set in advance

EWalletDB.Transfer: Contains the data about each transaction that happened.

To add:

from_amount (integer)
from_token_uuid (uuid)
to_amount (integer)
to_token_uuid (uuid)
metadata.exchange_rate (float, containing the exchange rate used for the transfer)

To migrate:

from_amount <- amount
from_token_uuid <- token_uuid
to_amount <- amount
to_token_uuid <- token_uuid

To remove:

amount (use from_amount and to_amount instead)
token_uuid (use from_token_uuid and to_token_uuid instead)

LocalLedgerDB.Transaction: A logical group of ledger entries that represents a single business event (e.g. a same-token transfer, an exchange transaction, an exchange transfer).
Each EWalletDB.Transfer item is one LocalLedgerDB.Transaction. One LocalLedgerDB.Transaction for an exchange has at least 4 LocalLedgerDB.Entry. For example:

transaction.type = “exchange”
transaction.metadata

exchange_pair_id
exchange_rate
exchange_reversed

transaction.entry[0], e.g. credit user 10 OMG
transaction.entry[1], e.g. debit exchange account 10 OMG
transaction.entry[2], e.g. credit exchange account 1 ETH
transaction.entry[3], e.g. debit user 1 ETH

Mechanisms
For internal exchanges, the operation happens at the DB's transaction level so it should be seamlessly handled within the eWallet server as long as the exchange operations are wrapped inside a single DB transaction.
At the API level, this can be represented as a typical /transfer endpoint, where the only difference is that for exchanges, the from_token_id and to_token_id have different values.
Same-token transfers (existing feature)

Alice has 100 AAA
Alice wants to send 10 AAA to Bob
Alice sends 10 AAA to Bob
Bob receives the 10 AAA from Alice

Example:
(Assuming subunit_to_unit = 1 for simplicity)

# EWalletDB.Transfer
{
  "id": "tfr_1234567890",
  "type": "internal",
  "from": "bal_alice_1111",
  "from_amount": 10,
  "from_token_id": "tok_AAA_1234",
  "to": "bal_bob_2222",
  "to_amount": 10,
  "to_token_id": "tok_AAA_1234"
}

# LocalLedgerDB.Transaction
{
  "uuid": "44d7fc38-b250-4456-a4e8-0d23dc52f310"
}

# LocalLedgerDB.Entry
[
  {
    "transaction_uuid": "44d7fc38-b250-4456-a4e8-0d23dc52f310",
    "type": "debit",
    "amount": 10,
    "wallet_address": "bal_alice_1111",
    "token_id": "tok_AAA_1234"
  },
  {
    "transaction_uuid": "44d7fc38-b250-4456-a4e8-0d23dc52f310",
    "type": "credit",
    "amount": 10,
    "wallet_address": "bal_bob_2222",
    "token_id": "tok_AAA_1234"
  }
]

Exchange transaction (proposed by this RFC)
This is when a user wants to exchange a token for another, where the sender and the receiver is the same address.

Alice has 100 AAA
Alice wants to exchange 10 AAA for 1 BBB with ExchangeAccount
Alice sends 10 AAA to ExchangeAccount
ExchangeAccount sends 1 BBB to Alice
If 3. or 4. fails, the transaction is reverted

Example:
(Assuming subunit_to_unit = 1 for simplicity)

# EWalletDB.Transfer
{
  "id": "tfr_1234567890",
  "type": "exchange",
  "from": "bal_alice_1111",
  "from_amount": 10,
  "from_token_id": "tok_AAA_1234",
  "to": "bal_alice_1111",
  "to_amount": 1,
  "to_token_id": "tok_BBB_1234"
}

# LocalLedgerDB.Transaction
{
  "uuid": "44d7fc38-b250-4456-a4e8-0d23dc52f310"
}

# LocalLedgerDB.Entry
[
  {
    "transaction_uuid": "44d7fc38-b250-4456-a4e8-0d23dc52f310",
    "type": "debit",
    "amount": 10,
    "wallet_address": "bal_alice_1111",
    "token_id": "tok_AAA_1234"
  },
  {
    "transaction_uuid": "44d7fc38-b250-4456-a4e8-0d23dc52f310",
    "type": "credit",
    "amount": 10,
    "wallet_address": "bal_exchange_2222",
    "token_id": "tok_AAA_1234"
  },
  {
    "transaction_uuid": "44d7fc38-b250-4456-a4e8-0d23dc52f310",
    "type": "debit",
    "amount": 1,
    "wallet_address": "bal_exchange_2222",
    "token_id": "tok_BBB_1234"
  },
  {
    "transaction_uuid": "44d7fc38-b250-4456-a4e8-0d23dc52f310",
    "type": "credit",
    "amount": 1,
    "wallet_address": "bal_alice_1111",
    "token_id": "tok_BBB_1234"
  }
]

Exchange transfers (proposed by this RFC)
This is when a sender wants to transfer a token and expects the receiver at a different address to receive a different token.

Alice has 100 AAA
Alice wants to send 1 BBB to Bob using his/her funds of 100 AAA via ExchangeAccount that has liquidity
Bob receives the 10 OMG from Alice (via ExchangeAccount)

Example:
(Assuming subunit_to_unit = 1 for simplicity)

# EWalletDB.Transfer
{
  "id": "tfr_1234567890",
  "type": "exchange_transfer",
  "from": "bal_alice_1111",
  "from_amount": 10,
  "from_token_id": "tok_AAA_1234",
  "to": "bal_bob_2222",
  "to_amount": 1,
  "to_token_id": "tok_BBB_1234"
}

# LocalLedgerDB.Transaction
{
  "uuid": "44d7fc38-b250-4456-a4e8-0d23dc52f310"
}

# LocalLedgerDB.Entry
[
  {
    "transaction_uuid": "44d7fc38-b250-4456-a4e8-0d23dc52f310",
    "type": "debit",
    "amount": 10,
    "wallet_address": "bal_alice_1111",
    "token_id": "tok_AAA_1234"
  },
  {
    "transaction_uuid": "44d7fc38-b250-4456-a4e8-0d23dc52f310",
    "type": "credit",
    "amount": 10,
    "wallet_address": "bal_exchange_3333",
    "token_id": "tok_AAA_1234"
  },
  {
    "transaction_uuid": "44d7fc38-b250-4456-a4e8-0d23dc52f310",
    "type": "debit",
    "amount": 1,
    "wallet_address": "bal_exchange_3333",
    "token_id": "tok_BBB_1234"
  },
  {
    "transaction_uuid": "44d7fc38-b250-4456-a4e8-0d23dc52f310",
    "type": "credit",
    "amount": 1,
    "wallet_address": "bal_bob_2222",
    "token_id": "tok_BBB_1234"
  }
]

Rounding method
The rounding method to use is "Round half to even", or the banker's rounding.
Exchange rates
Transactions are always made with the exchange amounts, not the rate. Although an exchange transaction is based on the exchange rate, the parties agree on the exchanging amounts, not the rate. This is important because the division remainders and the rounding will almost always cause the exchanging parties to get more or less tokens depending on the rounding method used.
Consequently, the UI must display the exchanging amounts and asks user to confirm the amount, not the rate. The rate can be displayed as a complimenting information.
/exchange.calculate endpoint
Calculate the amount of minted tokens to be exchanged, used for confirming the exact amount with the user before executing the actual exchange.

Use this endpoint to avoid discrepancies between how endpoint consumer and the server calculates the exchange amount.
Errors are returned if it is anticipated to happen in an actual transfer.

Request
Fields

from_amount (integer, optional)
from_token_id (string, required)
to_amount (integer, optional)
to_token_id (string, required)

Conditions

If from_amount is provided, to_amount will be calculated based on the exchange rate and rounding method.
If to_amount is provided, from_amount will be calculated based on the exchange rate and rounding method.
If both from_amount and to_amount are provided, and the amounts are the same as the server's calculation, a successful response is returned.
If both from_amount and to_amount are provided, but the amounts are different from the server's calculation, an exchange:invalid_rate response is returned.

Example
{
  "from_amount": 100,
  "from_token_id": "tok_AAA_1234",
  "to_amount": 100,
  "to_token_id": "tok_BBB_1234"
}

Response
{
  "version": "1",
  "success": true,
  "data": {
    "object": "exchange_calculation",
    "from_amount": 100,
    "from_token_id": "tok_AAA_1234",
    "to_amount": 100,
    "to_token_id": "tok_BBB_1234",
    "exchange_pair": "exg_AAA_BBB_123456",
    "exchange_rate": "1.00",
    "exchange_reversed": false
  }
}

/transfer endpoint
Exchange a certain amount of minted tokens between two addresses.
Request
Fields

from_amount (integer, optional)
from_token_id (string, required)
from_address (string, required)
to_amount (integer, optional)
to_token_id (string, required)
to_address (string, required)
exchange_account_id (string, optional)

The request may be sent without from_amount or to_amount and subjects to the same conditions as /exchange.calculate.
If the exchange_account_id is not provided, the exchange will be performed with the master account.
Example
{
  "from_token_id": "tok_AAA_1234",
  "from_address": "81e75f46-ee14-4e4c-a1e5-cddcb26dce9c",
  "to_amount": 100,
  "to_token_id": "tok_BBB_1234",
  "to_address": "4aa07691-2f99-4cb1-b36c-50763e2d2ba8",
  "exchange_account_id": "acc_01ca2p8jqans5aty5gj5etmjcf",
  "metadata": {},
  "encrypted_metadata": {}
}

Response
Use the current response format (returns a list of affected wallets).
Error codes

transaction:insufficient_funds - when requestor does not have enough funds to exchange.
exchange:insufficient_funds - when the counterparty does not have enough funds to exchange back. It is important to distinguish between the user and the counterparty so that user-friendly error message can be displayed, and the user knows if its the counterparty's funds or theirs that is insufficient.
exchange:pair_not_found - when request requires an exchange pair that does not exist.
exchange:pair_not_reversible - when request requires an exchange pair that exists, but the pair does not allow to be exchanged in the opposite direction.
exchange:invalid_rate - when the provided exchange amounts or the exchange rate is invalid.

Rationale

Round-half-to-even or banker's rounding is used as it is commonly used in financial systems. It is also the default rounding mode for IEEE 754 (IEEE Standard for Floating-Point Arithmetic).

The exchange account defaults to the master account (the top-level account) for ease of use. However, for larger use cases, it's expected that an exchange_account_id is provided as it's probably not ideal for all exchange transactions to go through the master account (for separation of concerns and accountability). This exchange_account_id would also allow for more use cases, e.g. dedicate an account as the exchange account and put funds in there. It is then possible to limit the amount of tokens that can be exchanged by limiting the funds that the account has.

This RFC chose to reuse the /transfer endpoint because of its similarities to an exchange transaction and exchange transfer. An exchange transaction is basically a transfer of different tokens to the same address, while an exchange transfer can be represented by a transfer that has different from/to tokens.

There could be a discrepancy between the time /exchange.calculate is made and when /transfer happens. Given that this is an internal exchange and exchange rates are fixed, unchanged for most of the time. The discrepancy will be very rare to occur.

References
Mostly from internal discussions. Any suggestions for the references (either for or against this RFC) is appreciated.

Question about exchange_account_id:
Let's say we have accounts a1, a2, a3 and master.  a1 want to do Exchange transaction or Exchange transfer with a2. The question is how does a1 know which account has sufficient fund to make the exchange successful? Is it required to call list_wallets first?
I also wonder that should a1 interest about which account is going to act as an Exchange?
If a1 doesn't have any reason to interest, then is it possible to remove an exchange_account_id and the eWallet will automatically pick some account that has sufficient fund with some priority mechanism to make the exchange successful? When the API cannot find an account which has enough fund, then return some error.

I have two scenarios while designing this:
Scenario 1: Enterprises - Large entities that need multiple accounts.

master account
a1 for branch1
a2 for branch2
a3 as a dedicated exchange account
a4 for a "June 8 - June 30 Summer Sale Point Exchange" program

Having these accounts enable the entities to control budget & funds for their logical groups easily.
I anticipate these entities will want exchanges to happen with a specific account in order to manage their funds accurately. The system should not simply exchange with an account that has sufficient fund and hence exchange_account_id is needed.
Scenario 2: SMEs - Entities that need only one or relatively few accounts.
But not all ewallet providers will need a complex account setup, and having master as their exchange account is sufficient enough. Hence the Rationale #2 for defaulting to master account.
Although I'm not so sure if defaulting to master account is a good enough idea since this means not providing exchange_account_id in the Enterprise scenario will default to master account which might not be desirable.

Actually since now /user.credit_wallet and /user.credit_wallet also requires the account_id input (ref), it's probably good to be explicit about the exchange_account_id as well.
I'm inclined to remove an exchange_account_id default value out of this RFC unless anyone disagrees.

I agree, let's make the exchange_account_id mandatory since we've started doing that everywhere. Other than that, looks good to me! I have some doubts about the exchange being made by an account on behalf of a user instead of the user getting the exchanged value and that value being transferred to the other user afterwards... but I guess it removes a transaction in the user's logs that they don't really care about.

Let's not use metadata to store internal values, we can add more columns if needed.
The type for the Transfer should probably be internal_exchange if we really want to have a type for that. Thoughts?

Shouldn't OIP documents be a PR and we revise per comments, then we have team member approve it if it's OK with majority? Even though GitHub now show edits I don't think it's very useful for documenting…


Remove duplicated code

What does this PR do?
Isolates common code for Python 2 and 3 in the class __AgentCheck and let specialized base classes __AgentCheckPy3 and __AgentCheckPy2 derive from that instead of object.
Motivation
Having duplicated code in the base class has proved error prone multiple times, time to get rid of it. I stumble (again) upon this duplication problem while adding docstrings to the base class.
Review checklist (to be filled by reviewers)

[ ] PR title must be written as a CHANGELOG entry (see why)
[ ] Files changes must correspond to the primary purpose of the PR as described in the title (small unrelated changes should have their own PR)
[ ] PR must have changelog/ and integration/ labels attached
[ ] Feature or bugfix must have tests
[ ] Git history must be clean
[ ] If PR adds a configuration option, it must be added to the configuration file.

@olivielpeau -> As mentioned I'd like you to give green light

To be merged after the repo is branched off to release 6.12.


OSError: [Errno 20] Not a directory

While running the dmstacks commands given in this repo. I encountered this error while running the command
processCcd.py input/ --id filename=trial0.fits --config isr.noise=5 --configfile processCcdConfig.py --clobber-config --output output

It runs for a while and after some time it spits out the error.
processCcd FATAL: Failed on dataId=DataId(initialdata={'filename': 'trial07.fits'}, tag=set([])): [Errno 20] Not a directory
Traceback (most recent call last):
1.  File "/opt/lsst/software/stack/Linux64/pipe_base/13.0/python/lsst/pipe/base/cmdLineTask.py", line 347, in __call__
    result = task.run(dataRef, **kwargs)
2.  File "/opt/lsst/software/stack/Linux64/pipe_base/13.0/python/lsst/pipe/base/timer.py", line 121, in wrapper
    res = func(self, *args, **keyArgs)
3.  File "/opt/lsst/software/stack/Linux64/pipe_tasks/13.0/python/lsst/pipe/tasks/processCcd.py", line 186, in run
    doUnpersist=False,
4.  File "/opt/lsst/software/stack/Linux64/pipe_base/13.0/python/lsst/pipe/base/timer.py", line 121, in wrapper
    res = func(self, *args, **keyArgs)
5.  File "/opt/lsst/software/stack/Linux64/pipe_tasks/13.0/python/lsst/pipe/tasks/characterizeImage.py", line 374, in run
    dataRef.put(charRes.exposure, "icExp")
6.  File "/opt/lsst/software/stack/Linux64/daf_persistence/13.0/python/lsst/daf/persistence/butlerSubset.py", line 216, in put
    self.butlerSubset.butler.put(obj, datasetType, self.dataId, doBackup=doBackup, **rest)
7.  File "/opt/lsst/software/stack/Linux64/daf_persistence/13.0/python/lsst/daf/persistence/butler.py", line 784, in put
    location.getRepository().write(location, obj)
8.  File "/opt/lsst/software/stack/Linux64/daf_persistence/13.0/python/lsst/daf/persistence/repository.py", line 144, in write
    return self._storage.write(butlerLocation, obj)
9.  File "/opt/lsst/software/stack/Linux64/daf_persistence/13.0/python/lsst/daf/persistence/posixStorage.py", line 229, in write
    self.persistence.persist(obj, storageList, additionalData)
10.  File "/opt/lsst/software/stack/Linux64/miniconda2/4.2.12.lsst1/lib/python2.7/contextlib.py", line 24, in __exit__
    self.gen.next()
11.  File "/opt/lsst/software/stack/Linux64/daf_persistence/13.0/python/lsst/daf/persistence/safeFileIo.py", line 126, in SafeFilename
    os.rename(tempName, name)
OSError: [Errno 20] Not a directory

It says NOT A DIRECTORY, but I checked all the files given above and they are there. Nothing is missing.

I was using wrong version of checkout from Simon Kruff github repo.
Wrong
git clone https://github.com/SimonKrughoff/obs_file
cd obs_file
git checkout tickets/DM-6924

Correct
git clone https://github.com/SimonKrughoff/obs_file
cd obs_file
git checkout 21fd0d51806c43bf335300a0bc97e409ed9c703e


nonewlines should support non-unix line breaks

windows CRLF and just the CR should also be supported. Right now only LF is supported.

for some reason it seems that tokens2pos and tokens2counts output CRLF, but text2words outputs LF.
One uses output() which calls click.echo(), the other uses csv.writer()

closed by @Fil !


⚠ Bofrost.at has degraded performance

In a285bcf, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1027 ms

Resolved: Bofrost.at performance has improved in 343ca2f after 21 minutes.


CAT-1795 Deletions and clean-up of Data Hub Catalog documents

Still to do:

add search API details to search page
edit registration page so it's clear the token can be used for any API
remove sections 2 and 6 from the APIs page, maybe more

Finished the to-dos, this is ready for review.

Thanks @ezagroba for the updates.


Fixes broken links mentioned in issue #192

Fixes broken links mentioned in issue #192 by referring to files with respect to the directory they're in (instead of absolute URLs).

Thanks @ykhan21


Update config not available for a specific class

I am using weaviate to store documents. A class is created with its auto-schema feature. Now, I want to update few configurations of the class schema.
I want to update ModuleConfig to use the generative-openai module and I want to use MultiTenancyConfig which is by default not enabled.
Initial class :
{     "class": "Testing",     "moduleConfig": {         "text2vec-openai": {             "model": "ada",             "modelVersion": "002",             "type": "text",             "vectorizeClassName": true         }     },     "multiTenancyConfig": {         "enabled": false     },     "vectorizer": "text2vec-openai" }
I want to update the above class as follows:
{     "class": "Testing",     "moduleConfig": {         "text2vec-openai": {             "model": "ada",             "modelVersion": "002",             "type": "text",             "vectorizeClassName": true         },         "generative-openai": {             "model": "gpt-3.5-turbo"         }     }     "multiTenancyConfig": {         "enabled": True     }, "vectorizer": "text2vec-openai" }
Question
How can I achieve this? What may be alternate options?

You need to recreate the class, enabling multitenantcy afterwards is not possible (not sure if you can change ModuleConfig, but you need to recreate anyways)


[NEW ALGORITHM]  Addition of more Traversal algorithm

Description:
Morris Algorithm, Reverse Level Order Traversal, Spiral Order Traversal, Boundary Traversal, Vertical Order Traversal, Bottom View Traversal.
@pankaj-bind kindly assign me, I'll add these algorithms
Checklist:

[x] Contributor in GSSoC-ext
[x] Want to work on it

@SatyaJaiss you can start.


Fixed typo

There was a t missing in JavaScript (also camel cased it).

Coverage remained the same at 100.0% when pulling 3aa7bdf44f206ddd99bfa29c1ea47694d0ba3498 on felipenmoura:patch-1 into b4ccbaf9fd394a8f20673b3ae2f3b0492047c211 on selaux:master.


HOSTEDCP-2018: Reorder Nodepool conditions

What this PR does / why we need it:
Which issue(s) this PR fixes (optional, use fixes #<issue_number>(, fixes #<issue_number>, ...) format, where issue_number might be a GitHub issue, or a Jira story:
Fixes #
Checklist

[ ] Subject and description added to both, commit and PR.
[ ] Relevant issues have been referenced.
[ ] This change includes docs.
[ ] This change includes unit tests.

/hold a bit

eventually.go:379: observed invalid **v1beta1.NodePool state after 10m0s
eventually.go:396:  - observed **v1beta1.NodePool e2e-clusters-blx2m/example-cvjf7-test-ntoperformanceprofile invalid: condition performance.operator.openshift.io/Available is not present

/retest

/test e2e-aws

/retest

/retest

/hold cancel


How to save api_id and api_hash on client securely?

I'm currently working on a electron application and I don't know how to save my key that nobody can access it. Maybe I have to write a backend that's run on my server and handle all requests there.
But is there any way to do it directly from the client?

Unfortunately (as far as I know) electron doesn't have source code protection.
Have you heard about NW.js? If you want to secure your sources it will definitely help.
NW.js code protection mechanism.

Oh thanks, I will take a look at this. I think that will solve my problem.

@VladimirEfstafiev NW.js will not work. Because I'm currently developing a widget for something. So I think I have to develop a own backend for that.

@Mondei1
Hello, did you logged in to telegram API?
Could you please help me with it?

@adavidof Yeah, I was logged in. It's not that hard. Sorry for this late response, forget this here a little bit.

@Mondei1, @zerobias
I use these versions:
"mtproto-storage-fs": "^0.3.1",
"telegram-mtproto": "2.2.2"

but on the node server(heroku) I got this error:
Error 401 AUTH_KEY_UNREGISTERED 2 1

with the same auth keys
what I missed?


Changed equation reference customization example to include a link

In the documentation of the reference function, there is an example to customize the equation reference style. However, the example code removes the clickable link. I added the link again.

Thanks!


Added exporting autoscaling metrics in Heapster config

Addresses #11748
@vishh

LGTM. @piosz we should consider adding an e2e test to ensure that the GCM backend works and has the necessary data.

There is already implemented (not yet enabled since this PR is prerequisite for it) autoscaling e2e test #11685 which indirectly test those metrics. Also once #11570 is done @socaa can implement it.

@k8s-bot test this [testing build queue, sorry for the noise]

Don't you need to update the version of the addon when you change its config so the addon-controller will pick up the change on upgrade?

@alex-mohr good point. Will change the version to make sure #12098 can be updated.


Fix title and subtitle tag for Dialog2 and ConfirmationDialog

Fixes https://github.com/primer/react/issues/1753
title should use h1 and subtitle should use h2 instead of div
Merge checklist

NA Added/updated tests
NA Added/updated documentation
[x] Tested in Chrome
[x] Tested in Firefox
[x] Tested in Safari
[x] Tested in Edge

LGTM. Why the margin overrides though?

Why the margin overrides though?

h1 and h2 have default margins in the browser's stylesheet, so we we override it with the margin we want.


Uncaught TypeError: Cannot read property 'path' of undefined

[Enter steps to reproduce below:]

...
...

Atom Version: 1.0.6
System: Mac OS X 10.10.4
Thrown From: omnisharp-atom package, v0.23.2
Stack Trace
Uncaught TypeError: Cannot read property 'path' of undefined
At /Users/ykurnosov/.atom/packages/omnisharp-atom/node_modules/rx/dist/rx.js:579

TypeError: Cannot read property 'path' of undefined
    at /Users/ykurnosov/.atom/packages/omnisharp-atom/lib/omni-sharp-server/view-model.js:219:74
    at tryCatcher (/Users/ykurnosov/.atom/packages/omnisharp-atom/node_modules/rx/dist/rx.js:567:29)
    at InnerObserver.onNext (/Users/ykurnosov/.atom/packages/omnisharp-atom/node_modules/rx/dist/rx.js:5147:49)
    at Subject.Rx.Subject.addProperties.onNext (/Users/ykurnosov/.atom/packages/omnisharp-atom/node_modules/rx/dist/rx.js:5394:19)
    at /Users/ykurnosov/.atom/packages/omnisharp-atom/lib/omni-sharp-server/view-model.js:267:43
    at Array.map (native)
    at AnonymousObserver._onNext (/Users/ykurnosov/.atom/packages/omnisharp-atom/lib/omni-sharp-server/view-model.js:263:18)
    at AnonymousObserver.Rx.AnonymousObserver.AnonymousObserver.next (/Users/ykurnosov/.atom/packages/omnisharp-atom/node_modules/rx/dist/rx.js:1778:12)
    at AnonymousObserver.Rx.internals.AbstractObserver.AbstractObserver.onNext (/Users/ykurnosov/.atom/packages/omnisharp-atom/node_modules/rx/dist/rx.js:1710:35)
    at AnonymousObserver.tryCatcher (/Users/ykurnosov/.atom/packages/omnisharp-atom/node_modules/rx/dist/rx.js:567:29)
    at AutoDetachObserverPrototype.next (/Users/ykurnosov/.atom/packages/omnisharp-atom/node_modules/rx/dist/rx.js:5274:51)
    at AutoDetachObserver.Rx.internals.AbstractObserver.AbstractObserver.onNext (/Users/ykurnosov/.atom/packages/omnisharp-atom/node_modules/rx/dist/rx.js:1710:35)
    at InnerObserver.onNext (/Users/ykurnosov/.atom/packages/omnisharp-atom/node_modules/rx/dist/rx.js:4810:14)
    at InnerObserver.tryCatcher (/Users/ykurnosov/.atom/packages/omnisharp-atom/node_modules/rx/dist/rx.js:567:29)
    at AutoDetachObserverPrototype.next (/Users/ykurnosov/.atom/packages/omnisharp-atom/node_modules/rx/dist/rx.js:5274:51)
    at AutoDetachObserver.Rx.internals.AbstractObserver.AbstractObserver.onNext (/Users/ykurnosov/.atom/packages/omnisharp-atom/node_modules/rx/dist/rx.js:1710:35)
    at InnerObserver.onNext (/Users/ykurnosov/.atom/packages/omnisharp-atom/node_modules/rx/dist/rx.js:5151:29)

Commands

Config
{
  "core": {
    "ignoredNames": [
      "*.meta"
    ]
  },
  "omnisharp-atom": {}
}

Installed Packages
# User
atom-perforce, v1.5.3
atom-yeoman, v0.3.12
json-schema, v0.1.11
linter, v1.3.4
minimap, v4.12.2
omnisharp-atom, v0.23.2
pretty-json, v0.4.1

# Dev
No dev packages

I've been able to replicate this when trying to open a folder with an .sln file (MVC5 project). ASP.NET 5 apps don't produce the issue.

I get this against the Unity3D project I'm working on with 0.23.2. I installed 0.23.1 and everything is fine again, so I'll stick with that until this is closed.

If your project is open source I will add it to the tests suite
-----Original Message-----
From: "tmunro"<EMAIL_ADDRESS>Sent: 8/12/2015 4:03 PM
To: "OmniSharp/omnisharp-atom"<EMAIL_ADDRESS>Subject: Re: [omnisharp-atom] Uncaught TypeError: Cannot read property 'path'of undefined (#463)
I get this against the Unity3D project I'm working on with 0.23.2. I installed 0.23.1 and everything is fine again, so I'll stick with that until this is closed.
—
Reply to this email directly or view it on GitHub.

@david-driscoll I can repo it on both Windows and OS X with this small test project. https://github.com/willl/DualSolutions

I started work on this last night, I'm going to include tests for https://github.com/willl/DualSolutions and https://github.com/stormtek/unity-rts-demo
At the beginning it will only be a few tests, but my hope is that we can add a full suite over time that will exercise all functionality against a real (at albeit small) example set of applications.

Closing this as it should be fixed now.  I still have the outstanding PR for adding these external solutions... I'll try and get back to that sometime soon.


[policy] az policy assignment create update parameter descriptions to clarify usage

Related command

az policy
Description

Update to descriptions to clarify parameter usage.
Testing Guide

Validate that web documentation gets updated as expected.
History Notes

[Component Name 1] BREAKING CHANGE: az command a: Make some customer-facing breaking change
[Component Name 2] az command b: Add some customer-facing feature

This checklist is used to make sure that common guidelines for a pull request are followed.

[X] The PR title and description has followed the guideline in Submitting Pull Requests.

[X] I adhere to the Command Guidelines.

[X] I adhere to the Error Handling Guidelines.

policy


Core typings

Improving Typings for azure-core. Maybe even to the point of enabling pyright. Fix some Python 2 at the same time.

API change check
APIView has identified API level changes in this PR and created following API reviews.
azure-core

/azp run python - identity - ci


Redundant scroll bar in header nav under Documentation tab

This is a...

[ ] Feature Request
[x] Bug Report

Problem:

Navigate from the home page of the website to Documentation which will land you over here.

Checked this with some Chrome, Mozilla browsers. It is seen that some of the browsers displays a scrollbar for the navigation tabs seems to be needless.  Refer the below screenshot.

Proposed Solution:

Scroll bar from Navbar padding (Home tab) must be hidden. Preferably using -webkit- CSS. Refer below screenshot.

Pages to Update:
https://kubernetes.io/docs/home/

/priority backlog


fixed a typo in ARG query

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

@EldertGrootenboer
Can you review the proposed changes? IMPORTANT: When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"

#sign-off


Add basic-auth proxy

WHY
Proxy with Basic-Authentication for publishing private godoc.
WHAT
Use nginx-basic-auth-proxy.

You don't have to prepare new Deployment for proxy. basic-auth-proxy container can be included in the same Pod as godoc server.
Please see https://github.com/wantedly/aws-es-auth-proxy/blob/master/kubernetes/deployment.yaml which has basic-auth-proxy and aws-sign-proxy in the same Pod.

Fixed https://github.com/wantedly/godoc/pull/4#issuecomment-284951827 and changed port for basic-auth proxy.

LGTM 👍


Add Dash-Qt.app v<IP_ADDRESS>

renamed to "dash-dash"

Thank you for the contribution. It was merged directly as 7c164f5a983be092d5646bca9237b3ca1161ce07 to keep commit history cleaner. Your contribution is still credited to you.


HWKAPM-575 | Instance table display problem when long property field

https://issues.jboss.org/browse/HWKAPM-575

Review note: it the text in property span is too long it would still overflow

:+1: Great, and thanks to Karel for the help!

Possible improvement: I can cut the property text and show only what fits in the column and create a jira for showing a tooltip with the whole text.

Could you create an image to show an example of what you are thinking?

Problem with the current approach is that if the property text is longer than the column width it overflows.

Agree with making the change :) Although will need some thought, as the properties are also currently subject to the text filter - if the full value is not provided, that will affect the filtering. But that could be investigated in the associated jira.

There will be full text provided, but only part of it will be shown (what fits in the column width). The full text will be shown when a user puts a cursor at the property.

:+1: great

I think it is fixed:

:+1:

Jira for tooltip: https://issues.jboss.org/browse/HWKAPM-580

@pavolloffay LGTM, feel free to merge.
@ammendonca FYI

@objectiser thanks!


how to  use SSL/TLS

Would you mind use my project? I frok mqttkit and support tls/ssl. I will help you to fix if you got problem.


init.lua fails in NeoVim 0.8 with ^M error

I have a fresh NeoVim install with nothing in init.vim or init.lua.
NVIM v0.8.0
Build type: Release
LuaJIT 2.1.0-beta3
Compiled by<EMAIL_ADDRESS>
Features: +acl +iconv +tui
See ":help feature-compile"

   system vimrc file: "$VIM/sysinit.vim"
  fall-back for $VIM: "/opt/homebrew/Cellar/neovim/0.8.0/share/nvim"

When I copy the kickstart init.lua to my machine and restart nvim, I get errors.
This is the Packer report. Some of them failed.
               packer.nvim - finished in 11.848s
 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
 ✓ Installed nvim-lualine/lualine.nvim
 ✗ Failed to install lukas-reineke/indent-blankline.nvim
 ✗ Failed to install tpope/vim-sleuth
 ✓ Installed nvim-telescope/telescope-fzf-native.nvim
 ✗ Failed to install tpope/vim-fugitive
 ✗ Failed to install tpope/vim-rhubarb
 ✓ Installed lewis6991/gitsigns.nvim
 ✗ Failed to install nvim-lua/plenary.nvim
 ✓ Installed numToStr/Comment.nvim
 ✓ Installed nvim-treesitter/nvim-treesitter
 ✓ Installed nvim-treesitter/nvim-treesitter-textobjects
 ✓ Installed nvim-telescope/telescope.nvim/0.1.x
 ✓ Installed neovim/nvim-lspconfig
 ✓ Installed williamboman/mason.nvim
 ✓ Installed williamboman/mason-lspconfig.nvim
 ✓ Installed hrsh7th/nvim-cmp
 ✓ Installed hrsh7th/cmp-nvim-lsp
 ✗ Failed to install L3MON4D3/LuaSnip
 ✓ Installed saadparwaiz1/cmp_luasnip
 ✓ Installed mjlbach/onedark.nvim

 Press 'q' to quit
 Press '<CR>' to show more info
 Press 'd' to show the diff
 Press 'r' to revert an update
 Press 'R' to retry failed operations

The following error message is reported down the bottom, about five times over:
[packer.nvim] [ERROR 16:40:53] async.lua:20: Error in coroutine: ...ack/packer/start/packer.nvim/lua/packer/plugin_utils.lua:204: Vim:E492: Not an editor command: ^M

Please excuse me. This was caused by a faulty core.autocrlf setting on my computer. I doubt there is anything for this project to do about that, so please close the issue at your convenience.

Cool thanks for trying it out :)


Problem with renaming deleted_at column inside model

If you use useSoftDelete and Dateformate as php timestamps inside a model a errornous sql will be  created. I  created  an integer column with default value 0. The created sql from a find request  to get the rows from the model  is   select * from users  where <> is null, which results in a empty array.

It looks to me like it is actually choking on escaping your $deletedField. Can you paste or PasteBin the top of your model file?

   Here it is:

    protected $DBGroup       = 'default';
    protected $table       = 'users';
    protected $primaryKey = 'id';
    protected $returnType = 'array';
    protected $useSoftDeletes = true;

    protected $allowedFields = [

'name',
'email',
'country'
];
    protected $useTimestamps = true;
    protected $dateFormat           = 'int';
    protected $createdField   = 'created_at';
    protected $updatedField   = 'updated_at';
    protected $deletedField   = 'deleted_at';

    protected $validationRules  = [

'name' =>'required|min_length[5]|max_length[32]',
'email'=>'required|valid_email|is_unique[users.email]',
'country'=>'required|alpha|exact_length[2]'
];
protected $validationMessages = [];
protected $skipValidation     = false;
thank you
Marco
Op di 24 sep. 2019 om 16:34 schreef MGatner<EMAIL_ADDRESS>
It looks to me like it is actually choking on escaping your $deletedField.
Can you paste or PasteBin the top of your model file?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/codeigniter4/CodeIgniter4/issues/2248?email_source=notifications&email_token=AIN2TH3URGZ5U572UQ2TQTLQLIQQLA5CNFSM4IY6SKQKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD7OSS5I#issuecomment-534587765,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AIN2THZEQOXI2Q6JY3ARAALQLIQQLANCNFSM4IY6SKQA
.

I created an integer column with default value 0

The default value for this field supposed to be NULL not 0.
When useSoftDeletes option is enabled the actual query we're using is something like:
SELECT * FROM `table` WHERE `table`.`deleted_at` IS NULL

Maybe we could consider introducing a strictDeleteMode or something? When enabled it would search for 0 for timestamp, or for an appropriate value (0000-00-00 00:00:00 etc) for the date field.
The truth is it could be beneficial for some people with big data sets since it would use less data and index space.
But I don't have a strong opinion about this potential change.

I hesitate to add yet another setting. I think unless we see this becoming a bigger problem we roll with it the way it currently is, where it checks for null.


packaging: try noarch repo if arch repo doesn't exist

There has some cases we need to specify the particalur option to
override the one parsed from the remote os.
Signed-off-by: Xiubo Li<EMAIL_ADDRESS>

https://github.com/ceph/ceph/pull/37138, we need to override the remote's arch with noarch for the ceph-iscsi package.

ok to test

I am not sure I understand which cases this change is needed for.
This is kinda new functionality and it requires to be documented.

I am not sure I understand which cases this change is needed for.
This is kinda new functionality and it requires to be documented.

For ceph-iscsi, the package was in the noarch/ directory, likes:
https://shaman.ceph.com/api/search/?status=ready&project=ceph-iscsi&flavor=default&distros=centos%2F8%2Fnoarch&sha1=latest
While the shaman will parse the self.arch from the remote os, which will be x86_64 instead, likes::
https://pulpito.ceph.com/xiubli-2020-10-28_05:55:13-rbd:iscsi:-wip-ceph-iscsi-qa-20201026-1259-distro-basic-smithi/5566982/
So we need one we to tell the Shaman class to use the noarch instead to search the repo uri.

@lxbsz still it is not clear why this should replace remote architecture values, maybe we should look into changing shaman module instead of workaround the core features?
Alternatively, instead of overriding the remote arch the could check existence of both remote arch and noarch distro, and use one of them or both.

@lxbsz still it is not clear why this should replace remote architecture values, maybe we should look into changing shaman module instead of workaround the core features?
Alternatively, instead of overriding the remote arch the could check existence of both remote arch and noarch distro, and use one of them or both.

Yeah, this alternative approach also sounds good.

@lxbsz still it is not clear why this should replace remote architecture values, maybe we should look into changing shaman module instead of workaround the core features?
Alternatively, instead of overriding the remote arch the could check existence of both remote arch and noarch distro, and use one of them or both.

Yeah, this sounds reasonable and better. Let me try this. Thanks.

@susebot run deploy

@tchaikov How about this change ? Thanks.

@susebot run deploy

Any last minute objections to this PR or can I merge it?

Any last minute objections to this PR or can I merge it?

weld it


Letting the user choose the description of a group remote would avoid pagination issues

This would limit pagination issues.

Or you could remove the description entirely and save a few bytes.
There is another connected issue: a maximum of 8 shutters show up in the "link shade" section of the group tab. But it's fairly common to have more that 8 in a house and to require a general remote that opens and closes all shutters at once.

Thanks for that it appears I have mis-calculated the line height for the group names and it should have truncated.   I also may just change this to instead of listing the names in the group to just report the number of shades in the group.   Now that rooms can be defined it really isn't as critical to call out each shade.

There is another connected issue: a maximum of 8 shutters show up in the "link shade" section of the group tab.

On the list on the shades you have found a bug where the ESPSomfy RTS was truncating the list for the display.  This should support 32 potential shades per group.  I will have a fix in 2.4.2

Thanks for that it appears I have mis-calculated the line height for the group names and it should have truncated.

I think it did that with 2.4.0

I also may just change this to instead of listing the names in the group to just report the number of shades in the group. Now that rooms can be defined it really isn't as critical to call out each shade.

Again, I think the cleaner solution would be no description (the name of the remote should be descriptive) or custom description (which would be left blank by those you feel the name of the remote is descriptive enough)

I think it did that with 2.4.0

The addition of rooms in 2.3.1 pushed the panel height so it no longer truncates in the proper place and required some changes to the css.

Again, I think the cleaner solution would be no description (the name of the remote should be descriptive) or custom description (which would be left blank by those you feel the name of the remote is descriptive enough)

I will try this out to see how it pans out.   Adding a custom string description is probably not in the cards given that I would then need to store an push it through the interface.  Now that you can put these in a room it is so much easier to identify them.

@Nickduino I posted the 2.4.2 pre-release that now only indicates the number of members in the group.  This should be cleaner and doesn't require the type of CSS tricks needed to get the flex columns to act like I want.

v2.4.2 has an official release please update to this release and you will see that only the member count now displays for groups.


[DOCS] Missing the default value for prometheus.cluster.settings

Add info about what the default value for prometheus.cluster.settings plugin config is.

@spapadop Go for it!

There you go https://github.com/Aiven-Open/prometheus-exporter-plugin-for-opensearch/pull/318


Sort order should not change in By Name view after symbol lookup

Steps to reproduce

Switch to By Name tab
Set grouping to [no grouping]
Set sort order to Inc (descending)
Right click on any run and click Lookup Symbols

Expected result
Sort order remains as Inc (descending).
Actual result
Sort order switches to Exc (descending).

This should be easy.   If anyone wants to tackle it and needs some guidance I will tell you what I know.


Consistency in geo_value or state_abb or group

The data reading functions alternating between calling the geographic groups geo_value, state_abb, or simply group.
We need to pick one name and use it consistently. This change will also have the convenient side effect of allowing us to write a good definition once and @ inheritParams it.
@kgostic @natemcintosh any preferences here?

What does this mean?

How's that?

This is good and I have the same issue further up. I think geo_value is better. The "US" is not a state abbreviation.

Agreed that geo_value is my preferred answer

Agreed on geo_value

Sounds to me like we are agreed.