fix whatsnew problems

From @cedricleroy comment here.

I think f892664 did overwrite a couple of previous things in v0.5.2.rst
There is a "0" here: f892664#diff-2df8cbc501f75a90135963ace8a28f63R1
And the text here has been removed: f892664#diff-2df8cbc501f75a90135963ace8a28f63L15

Since f892664 was my pull request and it's merged, I should make a new pull request to add those lines back, correct?

That would be great!
On Wed, May 9, 2018 at 8:45 AM Cliff Hansen<EMAIL_ADDRESS>wrote:

Since f892664
https://github.com/pvlib/pvlib-python/commit/f892664b255dc382b9e87f3340ff768ef31ba0ee
was my pull request and it's merged, I should make a new pull request to
add those lines back, correct?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/pvlib/pvlib-python/issues/454#issuecomment-387784060,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AELiR5lZGgwBaU9IfaJ9Q8PnmZQ-9IfWks5tww8IgaJpZM4T4gK4
.


[FEATURE REQUEST] Details Tab with

Would be great to see the amount of points, as i am optimizing and splitting for unreal in supersplat to avoid a 2-million-points-limit.


Feature: set already selected dates

Would be amazing to be able to, like daysHighlight, pass an array of already selected dates (using daysSelected for example.
I now do it as follows:
var cal
cal = new HelloWeek({
    lang: 'en',
    langFolder: '/js/cdn/langs/',
    multiplePick: true,
    disablePastDays: true,
    format: 'YYYY-MM-DD',
    nav: ['◀', '▶'],
})
cal.daysSelected = [ (new Date("2019-02-22")).getTime() ]

Hi @luckylwk I go check this.  Thanks for you suggestion.

Hi again @luckylwk this feature have been added in HelloWeek calendar, in version 2.1.0.
Demo.
Thanks for you suggestion 👍.


Managed client clean session support

Hi, I just would like to understand the rational behind the fact that the Managed client does not support Clean Session. Even if I implement my own managed client, because I need to recover the session I wonder if I'm missing something there.
Regards.

Hi,
the problem is that it requires some more complex subscription handling.
Lets say you just pass true via connecting. Then the managed client will still subscribe to all topics automatically (like at the moment). But then he will get all retained messages for that topic. If the session exists the subscriptions also exist at the server. So there is no need from the client to do this. But if the client ignores this fact he subscribes and then receives all retained messages.
This is not a problem in general but some users may don't want this. Other may accept it. So it should be configurable in my opinion or supported out of the box. So this means the subscriptions must be handled including a flag saying "this subscription is approved by the server". It has to be set only after a successful SubAck. Then after a reconnect the client must inspect the ConnectAck if the session is really existing. If the session is still new all subscriptions must be invalidated and subscribed again.
But if this flow works well it can happen that a client ID is used twice (by accident). If the second client creates a new session with other subscriptions the original client may find another session after taking over the connection and thinks that the session exists (and thus is his one). So the client will keep a broken set of subscriptions.
I hope this gives you a quick overview about the reasons which causes the not supported existing sesions (yet).
Best regards
Christian

Do have any clue when this will be supported?

At the moment this is on low priority. I am mostly busy with MQTT v5 support.
After this is done I will prepare some other tasks. But it is still possible to use the core Client and build a managed client with the exact required features.

Hi, this is exactly what I need. Nevertheless, for me it's ok to just set cleansession to false, I don't use retain messages on the same topic. So subscribing again will not result in unwanted behaviour I think. I'll try that.

Is this still a valid feature request?

I downloaded the managed client and modified a little bit to support clean session false, and it have been working perfectly in a small prod server.
It would be great if the feature could be included in the nugget package but in the mean time if you need a workaround that's what you can do.

I also have this topic on my list but had no time to start it. So please be patient and wait some more time :smile:

@chkr1011
I'd like to use ManagedMqttClient with persisted sessions. I see that this PR has been merged already. Unfortunately 3.0.9-rc1 does not have it.
Would it be possible to publish an rc2 package?

I will release 3.0.9-rc2 soon. Hopefully this weekend.

@chkr1011 This is already done, isn't it?


ElasticsearchIllegalArgumentException[Failed to decode scrollId]

Context
In order to help us troubleshoot issues with this project, you must provide the following details:

ElasticDump version 6.96.0

Elasticsearch version 1.5

Node.js version (note that nodejs v10+ is required for this tool)

./elasticdump --input https://test-es-aws-jn7j77vczxbykzsj7dckd3iasy.us-east-1.es.amazonaws.com --output https://test-opensearch-6odtzoc2sug7bfwhhjt6zwvgda.us-east-1.es.amazonaws.com --output-index alerts-index --searchBody "{"query":{"match":{"typeCode": "test"}}}" --awsAccessKeyId test --awsSecretAccessKey test

starting dump
Wed, 25 Jan 2023 22:56:21 GMT | got 100 objects from source elasticsearch (offset: 0)
Wed, 25 Jan 2023 22:56:22 GMT | sent 100 objects to destination elasticsearch, wrote 100
Wed, 25 Jan 2023 22:56:22 GMT | Error Emitted => {"error":"ElasticsearchIllegalArgumentException[Failed to decode scrollId]; nested: IOException[Bad Base64 input character decimal 123 in array position 0]; ","status":400}
Wed, 25 Jan 2023 22:56:22 GMT | Error Emitted => {"error":"ElasticsearchIllegalArgumentException[Failed to decode scrollId]; nested: IOException[Bad Base64 input character decimal 123 in array position 0]; ","status":400}
Wed, 25 Jan 2023 22:56:22 GMT | Total Writes: 0
Wed, 25 Jan 2023 22:56:22 GMT | dump ended with error (get phase) => BAD_REQUEST: {"error":"ElasticsearchIllegalArgumentException[Failed to decode scrollId]; nested: IOException[Bad Base64 input character decimal 123 in array position 0]; ","status":400}

Describe the bug
Getting error when trying to migrate data from aws hosted es 1.5 to open search 2.3
proccess is writing only 100 records and exiting

fix on es-aws-1.5 branch should resolve your issue

related to https://github.com/elasticsearch-dump/elasticsearch-dump/issues/385


Add reflect_type argument for symmetric and reflect modes in padding

Related #5010

Running a more comprehensive set of tests is revealing errors for the bool dtype; for example:
LaxBackedNumpyTests.testPadSymmetricAndReflect_shape=bool[1,4]_mode=symmetric_pad_width=((1, 2),)_reflect_type=odd

Traceback (most recent call last):
  File "/build/work/5af997c0288660df34bdcf33f52a84c4f9b3/google3/runfiles/google3/third_party/py/absl/testing/parameterized.py", line 299, in bound_param_test
    return test_method(self, **testcase_params)
  File "/build/work/5af997c0288660df34bdcf33f52a84c4f9b3/google3/runfiles/google3/third_party/py/jax/tests/lax_numpy_test.py", line 1418, in testPadSymmetricAndReflect
    tol={np.float32: 1e-3, np.complex64: 1e-3})
  File "/build/work/5af997c0288660df34bdcf33f52a84c4f9b3/google3/runfiles/google3/third_party/py/jax/test_util.py", line 900, in _CheckAgainstNumpy
    canonicalize_dtypes=canonicalize_dtypes)
  File "/build/work/5af997c0288660df34bdcf33f52a84c4f9b3/google3/runfiles/google3/third_party/py/jax/test_util.py", line 827, in assertAllClose
    self.assertDtypesMatch(x, y, canonicalize_dtypes=canonicalize_dtypes)
  File "/build/work/5af997c0288660df34bdcf33f52a84c4f9b3/google3/runfiles/google3/third_party/py/jax/test_util.py", line 807, in assertDtypesMatch
    self.assertEqual(_dtype(x), _dtype(y))
AssertionError: dtype('int64') != dtype('bool')

I think it's probably reasonable to test this over number_dtypes rather than all_dtypes

Thanks for the testing :)
I removed bool type only whenreflect_type=odd since I believe it is OK to use bool whenreflect_type=even.
Also, removed type conversion code that was for bool types.
PTAL!

Thanks! I'll trigger another run of the expanded test suite

Thanks for the contribution!


[CMR] Domains landing

Description
Please start the pull request title with the jira ticket corresponding to the work if applicable. Please include a short summary of the feature added, the change, or issue fixed.
Type of Change

Bug fix ('fix', 'repair', 'bug')
Non breaking change ('update', 'change')
Breaking change ('break', 'deprecate')

If the any above types of change apply to this pull request, please ensure to include one of the listed keywords in the pull request title.
Applicable E2E Tests
To run relevant E2E tests, run these commands in 3 separate terminals:

yarn && yarn start
yarn selenium
yarn e2e --spec=COMMA_SEPARATED_LIST_OF_SPECS_HERE --browser=headlessChrome

Note to Reviewers
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration.

Closing since these commits were included in #6614 . Will open a follow-on to continue Domains work.


AuthenticatedRouteMixin is not doing it's job

My setup:
ember.debug.js:6440DEBUG: -------------------------------
ember.debug.js:6440DEBUG: Ember             : 2.5.1
ember.debug.js:6440DEBUG: Ember Data        : 2.5.3
ember.debug.js:6440DEBUG: jQuery            : 2.2.4
ember.debug.js:6440DEBUG: Ember Simple Auth : 1.1.0
ember.debug.js:6440DEBUG: -------------------------------

Authentication works with custom auth method. Session authenticates and that works great. After invalidating session with  this.get('session').invalidate(); the redirection does not take place to the login even after refresh on that controller.
My controller :
import Ember from 'ember';
import AuthenticatedRouteMixin from 'ember-simple-auth/mixins/authenticated-route-mixin';

export default Ember.Controller.extend(AuthenticatedRouteMixin,{..
import Ember from 'ember';
import AuthenticatedRouteMixin from 'ember-simple-auth/mixins/authenticated-route-mixin';

export default Ember.Controller.extend(AuthenticatedRouteMixin,{.
```.

My environment :

ENV['ember-simple-auth'] = {
authenticationRoute: 'login',
routeIfAlreadyAuthenticated : 'stats/dashboard',
authorizer: 'authorizer:custom',
routeAfterAuthentication: 'stats/dashboard'
};

My router:

Router.map(function() {
this.route('index');
this.route('login');
this.route('stats', function() {
this.route('dashboard');
this.route('campaigns');
});
});

There are no errors in the log.

Never mind, I put this in controller not route :|


Failed to find SuiteSparse - Did not find BLAS library

Sorry to bother everyone, but in the final step of 'pip install - e.' I encountered a problem, and I thought it was because I didn't install the SuiteSparse , but after downloading and compiling, I still encountered the same error. If anyone could provide any feedback or suggestions, I would greatly appreciate it! The code is as follows:
Obtaining file:///home/tang/3D/pixel-perfect-sfm
Preparing metadata (setup.py) ... done
Installing collected packages: pixsfm
Running setup.py develop for pixsfm
error: subprocess-exited-with-error
× python setup.py develop did not run successfully.
│ exit code: 1
╰─> [89 lines of output]
    running develop
    running egg_info
    writing pixsfm.egg-info/PKG-INFO
    writing dependency_links to pixsfm.egg-info/dependency_links.txt
    writing top-level names to pixsfm.egg-info/top_level.txt
    reading manifest file 'pixsfm.egg-info/SOURCES.txt'
    adding license file 'LICENSE'
    writing manifest file 'pixsfm.egg-info/SOURCES.txt'
    running build_ext
    CMake Deprecation Warning at CMakeLists.txt:2 (cmake_minimum_required):
      Compatibility with CMake < 3.5 will be removed from a future version of
      CMake.

      Update the VERSION argument <min> value or use a ...<max> suffix to tell
      CMake that the project does not need compatibility with older versions.

    -- Looking for BLAS... - NOT found (Unsupported languages)
    CMake Error at /usr/local/lib/cmake/Ceres/FindSuiteSparse.cmake:182 (message):
      Failed to find SuiteSparse - Did not find BLAS library (required for
      SuiteSparse).
    Call Stack (most recent call first):
      /usr/local/lib/cmake/Ceres/FindSuiteSparse.cmake:295 (suitesparse_report_not_found)
      /home/tang/anaconda3/envs/colmap/lib/python3.8/site-packages/cmake/data/share/cmake-3.29/Modules/CMakeFindDependencyMacro.cmake:76 (find_package)
      /usr/local/lib/cmake/Ceres/CeresConfig.cmake:181 (find_dependency)
      CMakeLists.txt:3 (find_package)

    -- Configuring incomplete, errors occurred!
    /home/tang/anaconda3/envs/colmap/lib/python3.8/site-packages/setuptools/command/develop.py:40: EasyInstallDeprecationWarning: easy_install command is deprecated.
    !!

            ********************************************************************************
            Please avoid running ``setup.py`` and ``easy_install``.
            Instead, use pypa/build, pypa/installer or other
            standards-based tools.

            See https://github.com/pypa/setuptools/issues/917 for details.
            ********************************************************************************

    !!
      easy_install.initialize_options(self)
    /home/tang/anaconda3/envs/colmap/lib/python3.8/site-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated.
    !!

            ********************************************************************************
            Please avoid running ``setup.py`` directly.
            Instead, use pypa/build, pypa/installer or other
            standards-based tools.

            See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details.
            ********************************************************************************

    !!
      self.initialize_options()
    Traceback (most recent call last):
      File "<string>", line 2, in <module>
      File "<pip-setuptools-caller>", line 34, in <module>
      File "/home/tang/3D/pixel-perfect-sfm/setup.py", line 112, in <module>
        setup(
      File "/home/tang/anaconda3/envs/colmap/lib/python3.8/site-packages/setuptools/__init__.py", line 103, in setup
        return distutils.core.setup(**attrs)
      File "/home/tang/anaconda3/envs/colmap/lib/python3.8/site-packages/setuptools/_distutils/core.py", line 185, in setup
        return run_commands(dist)
      File "/home/tang/anaconda3/envs/colmap/lib/python3.8/site-packages/setuptools/_distutils/core.py", line 201, in run_commands
        dist.run_commands()
      File "/home/tang/anaconda3/envs/colmap/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands
        self.run_command(cmd)
      File "/home/tang/anaconda3/envs/colmap/lib/python3.8/site-packages/setuptools/dist.py", line 989, in run_command
        super().run_command(command)
      File "/home/tang/anaconda3/envs/colmap/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
        cmd_obj.run()
      File "/home/tang/anaconda3/envs/colmap/lib/python3.8/site-packages/setuptools/command/develop.py", line 34, in run
        self.install_for_development()
      File "/home/tang/anaconda3/envs/colmap/lib/python3.8/site-packages/setuptools/command/develop.py", line 109, in install_for_development
        self.run_command('build_ext')
      File "/home/tang/anaconda3/envs/colmap/lib/python3.8/site-packages/setuptools/_distutils/cmd.py", line 318, in run_command
        self.distribution.run_command(command)
      File "/home/tang/anaconda3/envs/colmap/lib/python3.8/site-packages/setuptools/dist.py", line 989, in run_command
        super().run_command(command)
      File "/home/tang/anaconda3/envs/colmap/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
        cmd_obj.run()
      File "/home/tang/3D/pixel-perfect-sfm/setup.py", line 55, in run
        self.build_extension(ext)
      File "/home/tang/3D/pixel-perfect-sfm/setup.py", line 96, in build_extension
        subprocess.check_call(['cmake', ext.sourcedir] + cmake_args,
      File "/home/tang/anaconda3/envs/colmap/lib/python3.8/subprocess.py", line 364, in check_call
        raise CalledProcessError(retcode, cmd)
    subprocess.CalledProcessError: Command '['cmake', '/home/tang/3D/pixel-perfect-sfm', '-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=/home/tang/3D/pixel-perfect-sfm/pixsfm', '-DPYTHON_EXECUTABLE=/home/tang/anaconda3/envs/colmap/bin/python', '-DTESTS_ENABLED=OFF', '-DCMAKE_BUILD_TYPE=Release']' returned non-zero exit status 1.
    [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.

error: subprocess-exited-with-error
× python setup.py develop did not run successfully.
│ exit code: 1
╰─> [89 lines of output]
running develop
running egg_info
writing pixsfm.egg-info/PKG-INFO
writing dependency_links to pixsfm.egg-info/dependency_links.txt
writing top-level names to pixsfm.egg-info/top_level.txt
reading manifest file 'pixsfm.egg-info/SOURCES.txt'
adding license file 'LICENSE'
writing manifest file 'pixsfm.egg-info/SOURCES.txt'
running build_ext
CMake Deprecation Warning at CMakeLists.txt:2 (cmake_minimum_required):
Compatibility with CMake < 3.5 will be removed from a future version of
CMake.
  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.

-- Looking for BLAS... - NOT found (Unsupported languages)
CMake Error at /usr/local/lib/cmake/Ceres/FindSuiteSparse.cmake:182 (message):
  Failed to find SuiteSparse - Did not find BLAS library (required for
  SuiteSparse).
Call Stack (most recent call first):
  /usr/local/lib/cmake/Ceres/FindSuiteSparse.cmake:295 (suitesparse_report_not_found)
  /home/tang/anaconda3/envs/colmap/lib/python3.8/site-packages/cmake/data/share/cmake-3.29/Modules/CMakeFindDependencyMacro.cmake:76 (find_package)
  /usr/local/lib/cmake/Ceres/CeresConfig.cmake:181 (find_dependency)
  CMakeLists.txt:3 (find_package)

-- Configuring incomplete, errors occurred!
/home/tang/anaconda3/envs/colmap/lib/python3.8/site-packages/setuptools/command/develop.py:40: EasyInstallDeprecationWarning: easy_install command is deprecated.
!!

        ********************************************************************************
        Please avoid running ``setup.py`` and ``easy_install``.
        Instead, use pypa/build, pypa/installer or other
        standards-based tools.

        See https://github.com/pypa/setuptools/issues/917 for details.
        ********************************************************************************

!!
  easy_install.initialize_options(self)
/home/tang/anaconda3/envs/colmap/lib/python3.8/site-packages/setuptools/_distutils/cmd.py:66: SetuptoolsDeprecationWarning: setup.py install is deprecated.
!!

        ********************************************************************************
        Please avoid running ``setup.py`` directly.
        Instead, use pypa/build, pypa/installer or other
        standards-based tools.

        See https://blog.ganssle.io/articles/2021/10/setup-py-deprecated.html for details.
        ********************************************************************************

!!
  self.initialize_options()
Traceback (most recent call last):
  File "<string>", line 2, in <module>
  File "<pip-setuptools-caller>", line 34, in <module>
  File "/home/tang/3D/pixel-perfect-sfm/setup.py", line 112, in <module>
    setup(
  File "/home/tang/anaconda3/envs/colmap/lib/python3.8/site-packages/setuptools/__init__.py", line 103, in setup
    return distutils.core.setup(**attrs)
  File "/home/tang/anaconda3/envs/colmap/lib/python3.8/site-packages/setuptools/_distutils/core.py", line 185, in setup
    return run_commands(dist)
  File "/home/tang/anaconda3/envs/colmap/lib/python3.8/site-packages/setuptools/_distutils/core.py", line 201, in run_commands
    dist.run_commands()
  File "/home/tang/anaconda3/envs/colmap/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands
    self.run_command(cmd)
  File "/home/tang/anaconda3/envs/colmap/lib/python3.8/site-packages/setuptools/dist.py", line 989, in run_command
    super().run_command(command)
  File "/home/tang/anaconda3/envs/colmap/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
    cmd_obj.run()
  File "/home/tang/anaconda3/envs/colmap/lib/python3.8/site-packages/setuptools/command/develop.py", line 34, in run
    self.install_for_development()
  File "/home/tang/anaconda3/envs/colmap/lib/python3.8/site-packages/setuptools/command/develop.py", line 109, in install_for_development
    self.run_command('build_ext')
  File "/home/tang/anaconda3/envs/colmap/lib/python3.8/site-packages/setuptools/_distutils/cmd.py", line 318, in run_command
    self.distribution.run_command(command)
  File "/home/tang/anaconda3/envs/colmap/lib/python3.8/site-packages/setuptools/dist.py", line 989, in run_command
    super().run_command(command)
  File "/home/tang/anaconda3/envs/colmap/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
    cmd_obj.run()
  File "/home/tang/3D/pixel-perfect-sfm/setup.py", line 55, in run
    self.build_extension(ext)
  File "/home/tang/3D/pixel-perfect-sfm/setup.py", line 96, in build_extension
    subprocess.check_call(['cmake', ext.sourcedir] + cmake_args,
  File "/home/tang/anaconda3/envs/colmap/lib/python3.8/subprocess.py", line 364, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['cmake', '/home/tang/3D/pixel-perfect-sfm', '-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=/home/tang/3D/pixel-perfect-sfm/pixsfm', '-DPYTHON_EXECUTABLE=/home/tang/anaconda3/envs/colmap/bin/python', '-DTESTS_ENABLED=OFF', '-DCMAKE_BUILD_TYPE=Release']' returned non-zero exit status 1.
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.

收到，谢谢

你好，请问你解决了吗，目前我也遇到了这个问题，不知道有没有什么方法能解决呢？


Automation e2e - Followup test pending to be fixed

This is a follow up list of the currently working tests. Checked tests are working up to date 10-Feb-2021

[x] Load safe
[ ] Create safe (Check if it's still working. If broken create a ticket)
[ ] Send funds (#1875)
[ ] Reject tx (Create a ticket when it's broken because TX List v2 update)
[ ] Modify policies (Create a ticket for fixing it)
[ ] Add/remove owners (Create a ticket for fixing it)

Some test were broken when upgrading to TX List v2. We will start creating separate tickets to fix already created tests

https://app.zenhub.com/workspaces/safe-multisig---web-5ce554debb310a35b2f8b6f8/issues/gnosis/safe-react/1319

Can we maybe review and start using already working tests?

To @Franco and @liliya to check the task status during the next QA weekly sync


How to handle this package when maximum attempts reached?

How can I handle the page when the user enters the wrong pin and exceeds his/her maximum attempts. My Locked screen giving me the wrong time. It is displaying NaN:NaN. I have set the locked time to 1 minute but after 1-minute screen remains the same.

Hi,
Could you please provide your implementation so I can try to figure out what's wrong?
Cheers,
Jeremy

Closing this issue because there has been no activity for a few months now. Don't hesitate to reopen it if needed.


Replace svg width,height with viewBox to make it responsive

Is it possible to replace svg width,height with viewBox?
for example
<svg width="63" height="151"...
will be replaced with
<svg viewBox="0 0 63 151"...

I implemented a plugin which does this: https://github.com/guylando/svgo-addViewBox
You are welcome to add it to the official plugins list since its very useful to make svgs responsive when using them as an inline include (https://css-tricks.com/pretty-good-svg-icon-system/)

This functionality is essential.

It's more like image editing rather than optimization, so it's out of SVGO's scope.


Remove ops that are not in parameters from tokenize_partial

cc @rjzamora
I'd rather include those than include them. We don't care about those at the moment, we can still add an option if we want them at some point, but they cause trouble with the multi-column assign

I’m not looking at the code at the moment, so I may need to revise later. However, I’m slightly confused about this. Don’t “unnamed” operands typically refer to blockwise dependencies that may be Expr objects? Wouldn’t these dependencies be an important part of the token?

I agree generally speaking, but we are only using this in combine_similar at the moment where we definitely want to ignore other expressions in most cases (all cases at the moment). I am open to introduce an option to configure this if we need it at a later point.

where we definitely want to ignore other expressions in most cases (all cases at the moment).

Interesting. I'll try to think about and review this change now, and then I'll probably agree with you. My current question is "how can we combine two expressions that depend on different operands? That would be a bug", but a review of the code may clear this up for me.

I am open to introduce an option to configure this if we need it at a later point.

Yeah, that makes sense. Would it be overkill to add an ignore_unnamed=True kwarg to make it explicit that we are ignoring operands that are not explicitly named in parameters?


Exclude too-small trades from optimizer

WIP
Description
Fixes #223 -- trades are excluded from optimization in multipair_optimal_arbitrage if their volume limit is <= pool.get_min_trade_size().
Additionally, trades are excluded from optimization in get_arb_trades if the optimal trade size is less than pool.get_min_trade_size() (i.e., the minimum trade size would cause the pool price to become less than the target market price). In this case, a trade in the right direction, but with size 0 is returned. This prevents similar errors as those discussed in #223, and prevents trades that are smaller than a pool's min trade size, but within the single-trade optimization in get_arb_trades.
Important change with downstream effects:
Previously, if no profitable arb was available for a particular pair, get_arb_trades would return a trade with size 0 in whatever direction the coin symbols were listed in. E.g., if market prices were indexed as (ETH, BTC), it would return a 0 trade with ETH as coin in and BTC as coin out. This had downstream effects for multipair_optimal_arbitrage (because only trades in that direction were allowed in the multi-trade optimization) and subsequent price error calculations (because price error was always computed in that arbitrary direction).
With these changes, if no profitable arb is available (give the minimum trade size), a trade with size 0 in the more profitable direction is returned. This allows 'multipair_optimal_arbitrage' to make trades in that direction if they become available after previous trades in each optimizer iteration, and causes price error to always be computed in the direction of the best possible trade.
Additional changes:

Added ArbTrade class to templates.trader. It is a Trade object with a target price field, and a method to change the amount_in.
Price errors are now returned as a dict with format (base, quote): error

Hygiene checklist

[ ] Changelog entry
[ ] Everything public has a Numpy-style docstring
(modules, public functions, classes, and public methods)
[ ] Commit history is cleaned-up with minor changes squashed together
and descriptive commit messages following Tim Pope's style

Cute Animal Picture

The simple pipeline CI is unaffected by these changes, except for the price_error values, which differ slightly due to the new computation.
For the volume limited pipeline, the results change slightly. Qualitatively, they look pretty similar but perhaps slightly denoised.
3pool on current main branch:

3pool on this branch:

The comparison is simlar for TriCRV, except that the price errors come out quite noisy. Since the price errors are reduced using the new computation, this may reflect a noise floor. But I wonder if its better to record price errors as percect deviation from each target price. Currently they are absolute, which probably makes less sense for v2 pools.
TriCRV on current main branch:

TriCRV on this branch:

I wonder if its better to record price errors as percect deviation from each target price

Indeed, dividing each price error by the target price cleans up the price error plots considerably:


JSON representation of the AST

I'd sometimes like to dump the Rust AST as JSON for further analysis using external tools.
Do you think it would be acceptable to add derive(Serialize) under a separate feature flag to this crate?

This is provided in https://github.com/taiki-e/serde-syn.

Hmm.

That looks like a fork of syn? Doesn't inspire much confidence in keeping up-to-date with real syn long-term to be honest... So the question stands - any chance such support could be integrated?
From the first glance, it lacks at least the location information, which is important for analysis.

I would not currently accept serialization impls in this crate. The syntax tree is large and complicated and I don't want to take on responsibility for the precise serialized representation. The data structures that work best for manipulating a syntax tree from Rust code are not necessarily the same as the data structures that make for a nice serialized representation to work with across languages. I am okay with focusing on the former while someone else works with stakeholders to figure out the latter.

Please let the crate author know what it would take to support your use case, or fork their implementation to add location information, or write your own.

For 1 - if it would be as simple as adding derive(Serialize) under a feature flag, I don't suppose you would have to actually maintain it?
Also, at least for my usecases, it's more important to have precise structure compatible with up-to-date syn than some completely arbitrary 3rd-party representation, even if it's more idiomatic in some other language.
Essentially I want the same as derive(Debug) already provides on these structures, but in a machine-readable (JSON) format, and so far it seems as simple as adding another derive...

@RReverser

if it would be as simple as adding derive(Serialize) under a feature flag,

AFAIK, it is not enough to do that for syn.

The type used in the fields of syn's structures such as Ident, TokenStream, Span, etc... is the one defined in proc_macro2 crate.

The internal structure of proc_macro2's structure is very different depending on whether use_proc_macro flag is valid. Therefore, it needs to manually implement Serialize / Deserialize in the many proc_macro2's structures.

@taiki-e I see, thanks for explanations...
For me, the primary usecase right now is to add Rust support to https://astexplorer.net/ - a while ago, I implemented support for non-JavaScript languages there so that plugin developers could inspect AST of any parser and even experiment with transforms directly in the centralised playground.
By now various volunteers added support for different languages, but Rust is still missing. I thought it would be great to add it too, so that proc-macro developers could play with syn AST, inspect what different code corresponds to, and so on to ease development (just like it's currently done for other languages).
For this to work, I need a faithful, up-to-date JSON representation of syn AST suitable for parsing from ASTExplorer code and mapping locations between code and the typed structures.
Hence, fork is not ideal, as it can easily get out of sync, and stop being useful for purpose of seeing syn structures.
I guess I can use it for now as a start, but would rather love to find some way to resolve the issues you mentioned and have a guaranteed up-to-date JSON support in syn itself.

@RReverser Thanks for sharing more about your primary use case. That use case has totally different design constraints than most other uses of serializing Syn syntax trees to JSON, so I suspect you'll be on your own for making it work. I don't want to simply put Serde derives on all our types because that would kill any chance that somebody would pursue a more idiomatic JSON representation that works well across a variety of languages -- whereas you specifically want the Serde derives because your use case demands leaking Rust-specific details of the Rust representation of the syntax tree into the serialized JSON representation.
I would recommend building what you need on top of syn.json which is a complete description of our syntax tree intended to support code generators including the one that generates Syn's own Fold / Visit / VisitMut traits. You would need to write a code generator that consumes syn.json and emits Serialize impls.
I am closing this issue because the approach I am recommending to you no longer requires the proposed feature.

@dtolnay Oh, that's actually not a bad option. What are the stability guarantees for syn.json - is it going to be always in repo and in the same format? If so, that works well enough for my usecase and, indeed, I could go from there with my own codegen.

Currently none. I filed #607 to follow up and would be willing to consider PRs related to that.

Thanks, that should work :)


ARROW-1727: [Format] Expand Arrow streaming format to permit deltas / additions to existing dictionaries

Add an isDelta flag to the DictionaryBatch to allow for dictionary modifications mid-stream, update documentation.

thanks @TheNeuralBit!


Multilingual Colpali Adapter Training

Hi!
FIrst of all, congrats and thanks for opensourcing Colpali.
I see everywhere in the colpali model cards that it has been trained only in english and only on single page A4-sized PDF documents.
So I was wondering if I could get some advce on how to train a multilingual, multipage, image ratio and type independent colpali adapter (for pictures and documents, in all the languages the undelying VLM can support).
Is PaliGemma still the best choice? There are not tons of opensource VLMs, but there is Idefics, Florence (I know youtried these), Llava-Mistral, etc.
Maybe also, there can be a Vidore benchmark for multilingual retrieval?
If I can get some guidance, I'm up for contributing these features to your repositories.
Thanks!

Hi @contrebande-labs, thanks for the kind message! 👋🏼
To be as clear as possible, I'll answer your questions in order.

So I was wondering if I could get some advce on how to train a multilingual, multipage, image ratio and type independent colpali adapter (for pictures and documents, in all the languages the undelying VLM can support).

For multilingual support, we have demonstrated in our paper that ColPali can easily be fine-tuned on non-English languages (see Section 6: Ablation study, subsection Can the model adapt to new tasks?). For your use case, you'll simply need a new dataset covering the languages of interest. Then you can further train our ColPali checkpoint. Even if the model will be regularized if you decide to use a LoRA adapter, I would recommend keeping some English documents to prevent catastrophic forgetting.
Our proposed architecture in ColPali considers each page as a document. Thus, you won't be able to train a multipage version of our model, at least not without any prior modification in how the pages are ingested.
The image ratio is handled differently depending on the vision backbone of the VLM. For ColPali, which is based on PaliGemma, the images are simply reshaped to a square format. Note that the authors of PaliGemma have tested preserving aspect ratios so as not to impact the performance of their VLM. If you really want to preserve ratios, you should use our ColIdefics model as it uses Idefics-2 (which uses the SPHINX ratio method). And if you feel like training your own ColPali-like retriever, I'd recommend using the new Idefics-3 model HuggingFace has released a few days ago.

Is PaliGemma still the best choice? There are not tons of opensource VLMs, but there is Idefics, Florence (I know youtried these), Llava-Mistral, etc.

For the choice of the VLM backbone, it is hard to predict which model will give the best performance without proper testing. However, I'd suggest:

Looking at the VLM performance on DocVQA: while it's not a perfect benchmark, it still gives a sense of how the VLM would help in document retrieval.
Picking a VLM with a high resolution. Similarly to what Beyer et al. have stated in their PaliGemma paper, we observed that you'll need a resolution of 448 pixels minimum to efficiently embed your documents.

Maybe also, there can be a Vidore benchmark for multilingual retrieval?

My co-authors and I are working on an updated version of the ViDoRe benchmark. Follow us on Twitter to get early updates on this work!

If I can get some guidance, I'm up for contributing these features to your repositories.

Sure, we are super excited about anyone contributing to our vision of retrieval in vision space! 🫶🏼
Regards,
Tony

Hi @tonywu71 ! Thanks for the exhaustive reply.
It's not so much that I want to have in index in another (single) language than English. It's that I want to select a genuine (and not just incidentally) multilingual LLM backbone and keep the multilingual capabilities intact throughout the multiple training passes towards the "visual colbert" adatper.
For instance, I'm hesitating between the idefics-3 and the llava-onevision VLM adaptation methods on mistral-nemo-instruct-2407. Maybe I should do both and pick the best of the two based on a multilingual vidore-like benchmark.
I'm using Cassandra/Datastax AstraDB for the vector index backend and I have LOTS of multilingual scanned documents from many european and north-american national libraries. Our end application is a content generation (image/texts) for the perfumery, perfume making, olfactory arts, organic chemistry, voc synthesis patents and chemoreception domains. I understand the catastrophic forgetting and regularization concerns and I think I have already adopted sane mitigation practices to avoid such regressions. I think I'd like to work on the benchmark first to be able to guide the training. But I would appreciate some guidance on specifically that. Would the best way be the creation of dataset "addons" for the ones you already published? Have all the paper datasets been published yet? Are you planning on merging them on one single vidore benchmark dataset?

It's not so much that I want to have in index in another (single) language than English. It's that I want to select a genuine (and not just incidentally) multilingual LLM backbone and keep the multilingual capabilities intact throughout the multiple training passes towards the "visual colbert" adatper.

I understand your use case now, thanks for the clarification!

For instance, I'm hesitating between the idefics-3 and the llava-onevision VLM adaptation methods on mistral-nemo-instruct-2407. Maybe I should do both and pick the best of the two based on a multilingual vidore-like benchmark.

For the choice of the model, I agree with you: it’d be better to try both. My gut feeling is that multilingual capabilities are unlocked by the LLM backbone. Here, Llama 3 (used by Idefics-3) was trained on "over 30 languages," and Qwen 2 (used by LLaVA-OV) on 29 languages, so I believe both models are relevant to your use case.
One extra interesting question though: will your RAG use case cover cross-language questions? If yes, the Qwen2 blog post mentions that "significant effort [was made] to address code-switching," so maybe LLaVA-OV will work better on these examples.

I'm using Cassandra/Datastax AstraDB for the vector index backend and I have LOTS of multilingual scanned documents from many european and north-american national libraries. Our end application is a content generation (image/texts) for the perfumery, perfume making, olfactory arts, organic chemistry, voc synthesis patents and chemoreception domains. I understand the catastrophic forgetting and regularization concerns and I think I have already adopted sane mitigation practices to avoid such regressions. I think I'd like to work on the benchmark first to be able to guide the training.

Since you've mentioned scanned documents, please note that our synthetic training and eval sets only contain clean PDF files. For our next dataset iteration, we are considering using image augmentation to make ColPali more robust to scans.

But I would appreciate some guidance on specifically that. Would the best way be the creation of dataset "addons" for the ones you already published? Have all the paper datasets been published yet? Are you planning on merging them on one single vidore benchmark dataset?

I'll have to first discuss this with the rest of the team (they are taking some days off at the moment). We'll publish the new dataset(s) once they're ready!
As far as I’m concerned, I would suggest creating your dataset on your personal Hugging Face org. Once finalized and if relevant, we can add it to our ViDoRe collection (at this time, we prefer to work with separate datasets). This will automatically include your new dataset in our evaluation pipeline from our other vidore-benchmark repository (see this section in particular).

Hello, thanks for the interest !
For multilinguality, note that PaliGemma is massively multilingual already and we have shown it has good zero-shot capabilities in non-english languages. Although just trained on English, we see good perfs in French on ViDoRe for example, so this may already be enough for your use case !
For scanned documents, DocVQA contains a ton of scans so this should already work quite well ! There's also a version on the leaderboard called "docmatix-only / with-docmatic" with an even greater ratio of training that contains scanned PDFs spanning multiple domains !

All the paper datasets for eval are published and we will release the training set in less than two weeks as a single big dataset !

Bonjour @ManuelFay !
I'm still researching my baseline. I'm currently using your finetunes, datasets and scripts first to reproduce your benchmarks. I'm not quite done yet. Then, here are the objectives I will be aiming for:

Replace the index/query infrastructure to match what we have in production (Cassandra 5 vector search);
Create a test benchmark corpus (or contribute to Vidore)  for our use cases and domains:  organic chemistry patents, papers, scanned books and ebooks (ePUB, PDF, etc.) from the mid-eighteenth century onward in French and English (then German, Dutch, Italian and Spanish) to retrieve compound monographs, synthesis pathways and formulas;
Create a Colpali adapter for an existing SOTA open-source VLLM (changes every week at the moment) to top the Vidore leaderboard;

I'm going to report here on the progress.

here's the dataset: https://huggingface.co/datasets/vidore/colpali_train_set

Great thanks!

Hi everyone @ManuelFay @contrebande-labs @tonywu71, sorry to bother you again.
I'm trying to swap the backbone using Idefics3, but I'm encountering some errors. I'm unable to get batch_query from the text due to the following error: sample += image_prompt_string + split_sample[i + 1] in transformers/src/transformers/models/idefics3/processing_idefics3.py (line 324).
I tried using the forward_vision_pali approach by passing the image and then deleting pixel_values and following the steps provided in that function:
del batch_query["pixel_values"]
batch_query["input_ids"] = batch_query["input_ids"][..., self.processor.image_seq_len :]
batch_query["attention_mask"] = batch_query["attention_mask"][..., self.processor.image_seq_len :]
...

However, this approach gives an error in the compute_loss function when I call the model:
query_outputs = model(input_ids=inputs["query_input_ids"], attention_mask=inputs["query_attention_mask"])

I get 'NoneType' object has no attribute 'get_seq_length' in past_seen_tokens = past_key_values.get_seq_length() in transformers/src/transformers/models/idefics3/modeling_idefics3.py.
Has anyone tried this model?
I followed the same steps used for idefics2 but replaced the various idefics3 classes taken from this PR.

Hey ! Def a model we want to support and I'm going to look into !
It's important to update the collator function to make the forward pass compatible with idefics3 structure !
maybe it requires a template etc !
If you look into our code,w e support idefics2 already, adapting to idefics3 might require a bit more work but it's crucial to make sure the input batch is given the way idefics3 expects it (reading the docs + debugger often is the way !)
I'm planning to look into it in the coming days if you can wait a bit


Typings Install Fails

Hi,
I am trying to setup Angular 2 to work within Visual Studio 2015 based on this article: http://www.mithunvp.com/angular-2-in-asp-net-5-typescript-visual-studio-2015/
Once I get to the step where node is adding in the dependencies, I am getting this error:
4092 verbose stack Error<EMAIL_ADDRESS>postinstall: typings install
4092 verbose stack Exit status 1
4092 verbose stack     at EventEmitter. (C:\Program Files (x86)\Microsoft Visual Studio 14.0\Web\External\node_modules\npm\lib\utils\lifecycle.js:233:16)
4092 verbose stack     at emitTwo (events.js:87:13)
4092 verbose stack     at EventEmitter.emit (events.js:172:7)
4092 verbose stack     at ChildProcess. (C:\Program Files (x86)\Microsoft Visual Studio 14.0\Web\External\node_modules\npm\lib\utils\spawn.js:24:14)
4092 verbose stack     at emitTwo (events.js:87:13)
4092 verbose stack     at ChildProcess.emit (events.js:172:7)
4092 verbose stack     at maybeClose (internal/child_process.js:821:16)
4092 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)
4093 verbose pkgid<EMAIL_ADDRESS>4094 verbose cwd c:\users\100029460\documents\visual studio 2015\Projects\ngCoreContacts\src\ngCoreContacts
4095 error Windows_NT 6.1.7601
4096 error argv "C:\Program Files (x86)\Microsoft Visual Studio 14.0\Web\External\node.exe" "C:\Program Files (x86)\Microsoft Visual Studio 14.0\Web\External\node_modules\npm\bin\npm-cli.js" "install"
4097 error node v5.4.1
4098 error npm  v3.3.4
4099 error code ELIFECYCLE
4100 error<EMAIL_ADDRESS>postinstall: typings install
4100 error Exit status 1
4101 error Failed at the<EMAIL_ADDRESS>postinstall script 'typings install'.
4101 error This is most likely a problem with the ngcorecontacts package,
4101 error not with npm itself.
4101 error Tell the author that this fails on your system:
4101 error     typings install
4101 error You can get their info via:
4101 error     npm owner ls ngcorecontacts
4101 error There is likely additional logging output above.
4102 verbose exit [ 1, true ]
I am using the latest versions of node and npm, and everything else is as specified in the article referenced.
Here is my package.json file:
{
"version": "1.0.0",
"name": "ngcorecontacts",
"scripts": {
"postinstall": "typings install",
"typings": "typings"
},
"dependencies": {
"@angular/common": "2.0.0-rc.1",
"@angular/compiler": "2.0.0-rc.1",
"@angular/core": "2.0.0-rc.1",
"@angular/http": "2.0.0-rc.1",
"@angular/platform-browser": "2.0.0-rc.1",
"@angular/platform-browser-dynamic": "2.0.0-rc.1",
"@angular/router": "2.0.0-rc.1",
"@angular/router-deprecated": "2.0.0-rc.1",
"@angular/upgrade": "2.0.0-rc.1",
"systemjs": "0.19.27",
"es6-shim": "^0.35.0",
"reflect-metadata": "^0.1.3",
"rxjs": "5.0.0-beta.6",
"zone.js": "^0.6.12",

"angular2-in-memory-web-api": "0.0.7",
"bootstrap": "^3.3.6"

},
"devDependencies": {
"typescript": "^1.8.10",
"gulp": "^3.9.1",
"path": "^0.12.7",
"gulp-clean": "^0.3.2",
"gulp-concat": "^2.6.0",
"gulp-typescript": "^2.13.1",
"typings": "^0.8.1",
"gulp-tsc": "^1.1.5"
}
}
I cannot go further in this process until the error is resolved.
I searched the other issues where there were installation issues and they did not seem to match mine.
Thanks,
Bill

Okay, I believe the issue here was that Visual Studio 2015 is using an older version of Node than I am, which caused the error.
I was able to fix it by adding the file "typings.json" to the root directory of my project where my "Startup.cs" file is located with this content:
{
"ambientDependencies": {
"es6-shim": "github:DefinitelyTyped/DefinitelyTyped/es6-shim/es6-shim.d.ts#7de6c3dd94feaeb21f20054b9f30d5dabc5efabd",
"jasmine": "github:DefinitelyTyped/DefinitelyTyped/jasmine/jasmine.d.ts#7de6c3dd94feaeb21f20054b9f30d5dabc5efabd"
}
}
I could have updated the version of Node within VS 2015, but then anyone else attempting to develop the app or deploy it to run it somewhere would also have to make the same adjustment.
This solution makes that unnecessary.
I hope that someone else attempting the same thing (use Angular 2 within VS 2015) may benefit from this post.
Thanks,
Bill

I suspect it was down to the version of npm rather than node. Vs ships with a pre v3 version of npm which doesn't have maximally flattened node_modules. Glad your problem is remedied


Update to use the right properties for lines to skip

Previously we were looking for lines to skip in the wrong properties. (serde properties) now look for it in table properties.

@chcn @gpang PTAL, thanks

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/7091/
Test PASSed.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/7092/
Test PASSed.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/7103/
Test PASSed.

@yuzhu if this is a bug, can you create an issue, and then link it in the PR description?

@gpang issue created and referenced

alluxio-bot, merge this please.

alluxio-bot, cherry-pick this to branch-2.1 please.


Timeshift request

Project description
Timeshift is a utility to create BTRFS or rsync snapshots. It'd be really cool to have on NixOS.
Metadata

homepage URL: https://github.com/teejee2008/timeshift
source URL: https://github.com/teejee2008/timeshift
license: LGPL
platforms: linux

I don't really see the benefits for NixOS. Why snapshot your system when you can rebuild it any time (or roll back to it), which is less fragile than using a non NixOS-aware tool for the snapshotting.
A more reasonable use case would be to use this from nixpkgs on a non-NixOS distro.
You can try running nix-shell -p nixpkgs-review --run "nixpkgs-review pr 139738" to evaluate the CLI. The GUI version needs some more patching of hardcoded paths (config in /etc,...).

I think this is meant more for backing up user data in your home or some other directory, which can be on its own dedicated btrfs subvolume.

@jansol The README states:

It is designed to protect only system files and settings. User files such as documents, pictures and music are excluded.

Ah, so it does, nvm then.
...But why does it get compared to userdata backup solutions right before that...

when i switched to nixos i switched from timeshift to borgbackup


Add remote and all options to branch

Ideally we would also expand test_branch tests, but for this we would need to have a remote working, which would be more complex especially if we want to merge back our doltcli changes to the official doltcli repo maintained by Dolt.


Add required go version to modules file

This is so that go 1.13 stops modifying the file to add version info.

@praveenkumar @teuf Thanks. Can we also merge the same for other two repos i submitted for? https://github.com/code-ready/machine-driver-libvirt/pull/36 https://github.com/code-ready/machine/pull/31 ?


One-QA V1 release: BooleanQA: unified classifier

jsmc created the following on Apr 12:
We have a unified classifier that handles both the question type classification and the evidence classification, based on run_glue.py.  Per Sara, the was reproducing old results in train/decode mode, but there is are bugs in decode-only mode.
Seems to be an issue with underlying DataSet class having unexpected behavior.
Original issue: https://github.ibm.com/ai-foundation/PrimeQA/issues/102

On May 19, jsmc commented:
we have a decode-only version of the classifier that runs in the one-qa code base with existing pretrained models, and produces results consistent with the leaderboard submission.

inference-only pipeline for boolean questions in Tydi incorporated into run_mrc.py - unified classifier is called by run_mrc.py


German Translation

Hey, great project that could use a German translation. I would like to start a WIP PR and let other join in.
What do you think?

That sound great!
Make a PR!


Problem in nested json parsing for unwanted back slash when getting logs from docker

TD Agent version: td-agent 0.14.25
We have some nodejs and python applications that are running as Docker container. When using fluentd log driver, our json logs get "stringified",so structure is lost. I searched to find a solution using a fluentd plugins but can't. It doesn't seem to be fixable with elasticsearch mapping either.
Actual Application Log:
{"cid": "1c2675fc-82dd-4a7d-ae7c-7082d48dabbe", "source": "USSD", "timestamp": "2017-12-21 10:42:23.012765", "action": "USSD_BROWSING", "msisdn": null, "browsing": {"UMBSessionId": null, "response": {"code": 200}, "request": {"url": "http://localhost/", "path": "/", "queryString": ""}}}
When we are using json log driver from Docker, the log is converted as below (When fluentd receives it, it looks like below)
{"source":"stderr","log":"{\"cid\": \"6aca9d54-a4e0-47d9-af24-f9d29b39d262\", \"source\": \"USSD\", \"timestamp\": \"2018-01-07 12:45:45.557018\", \"action\": \"USSD_BROWSING\", \"request_type\": \"browsing\", \"msisdn\": \"8801711082722\", \"UMBSessionId\": \"201801071845450422752340\", \"response\": {\"code\": 302, \"location\": \"/retailer/choice.html\"}, \"request\": {\"url\": \"http://<IP_ADDRESS>/ussd/index.php?SessionID=201801071845450422752340&msisdn=8801711082722&service=454\", \"path\": \"/ussd/index.php\", \"queryString\": \"SessionID=201801071845450422752340&msisdn=8801711082722&service=454\"}}","container_id":"51ee5f9a9536c26389dbca75df3fe749486bdf4a504e23462ace58f8908708e4","container_name":"/ussd"}
N.B: We are using tail inside  directive to read the logs from /var/lib/docker/containers/*
Here I am mentioning how do we want to process our logs.

Tail container log
Grep with specific message and proceed with those logs only
Remove unwanted back slash from nested json
Flatten Json message from nested json
Match output to stdout or elasticsearch

Sudo config file is given below for your convenience:
<source>
  @type tail
  path /var/lib/docker/containers/*/*-json.log
  pos_file /var/log/fluentd-docker.pos
  time_format %Y-%m-%dT%H:%M:%S
  tag all.docker.*
  format none
</source>

<filter all.docker.*>
  @type grep
  <regexp>
    key source
    pattern (USSD|WEB)
  </regexp>
  tag staging.ussd.grepped
</filter>

<filter staging.ussd.grepped>
  @type parser
  key_name log
  <parse>
    @type json
  </parse>
  tag staging.ussd.nested_json
</filter>

<filter staging.ussd.nested_json>
  @type flatten_hash
  separator .
</filter>

<match test.**>
  @type stdout
</match>

**I have given our input log sample. Would be a great If you can help me by instructing me how the fluent config file should be. **
Application Log:
{"cid": "1c2675fc-82dd-4a7d-ae7c-7082d48dabbe", "source": "USSD", "timestamp": "2017-12-21 10:42:23.012765", "action": "USSD_BROWSING", "msisdn": null, "browsing": {"UMBSessionId": null, "response": {"code": 200}, "request": {"url": "http://localhost/", "path": "/", "queryString": ""}}}
Final Expected Log:
{"cid": "1c2675fc-82dd-4a7d-ae7c-7082d48dabbe", "source": "USSD", "timestamp": "2017-12-21 10:42:23.012765", "action": "USSD_BROWSING", "msisdn": null, "browsing.UMBSessionId": null, "browsing.response.code": 200, "browsing.request.url": "http://localhost/", "browsing.request.path": "/", "browsing.request.queryString": ""}
@repeatedly @sugimura @sohel2020 @tagomoris

Was the question actually answered? Can you link to answer?

@repeatedly, could you please share the solution for such issues here?

@repeatedly please share your "solution" ...

anyone found the solution already?

@jolly7481 Please post your situation on google groups, not here.

@jolly7481
Use filters :)


How to use log module?

I see log module in tree-sitter.  Someone introduce the usage in https://github.com/tree-sitter/tree-sitter/issues/1129.
Can anyone tell me how to use log module in java-tree-sitter to get the log of c/cpp code?

Thank you very much for your help. I couldn't find the relevant code either, so I'm here to see if there's a miracle.
By the way, debugging when java calls c/cpp code is  is a little difficult.

IIUC, by default, the TSLogger functionality is specifically tied to calls made from the parser (implemented in C - parser.c).
If it is working I think you end up seeing the results of calls to LOG and LOG_LOOKAHEAD, e.g. like this because they both call ts_parser__log.
The tree-sitter command line program uses TSLogger via its parse subcommand with --debug / -D.  There is a discussion and an issue at the tree-sitter repository that touches on some of the related details.  Some people (e.g. tree-sitter grammar developers) use this functionality when investigating issues with the grammars they are working on.
For java-tree-sitter, it looks like the current maintainer has been busy / unavailable for some time, so it's unclear if / when logging functionality of the sort described above would be added.


Filter drop down disappears + IE 8/9

I tried the url http://documentcloud.github.io/visualsearch/ on IE 8/9 and selected 'country' from the filter, when I click on scroll bar and trying to drag of the listed countries it disappears.

Hi, i am unable to use above code block, can you guys show me how it looks in visualsearch.js.
Thanks
Vinod

I got it working by commenting a line. I still need to do some testing to ensure that it does not break something else. LINE //this.box.bind('blur',  this.deferDisableEdit);
// Rendering the input sets up autocomplete, events on focusing and blurring
// the input, and the auto-grow of the input.
render : function() {
$(this.el).html(JST['search_input']({
readOnly: this.app.options.readOnly
}));
this.setMode('not', 'editing');
this.setMode('not', 'selected');
this.box = this.$('input');
this.box.autoGrowInput();
this.box.bind('updated.autogrow', this.moveAutocomplete);
//this.box.bind('blur',  this.deferDisableEdit);
this.box.bind('focus', this.addFocus);
this.setupAutocomplete();

return this;

},


Model training/Quick ML question.

Hi, I was curious. When I train the bot, is it all loaded into the database so that it's only required to be trained once then I can comment out my train function on restarts?
Thanks. I'm training about 40 5000-line sentences in parallel and was just wondering if this is required every time for some in-memory module, or if it's all just loaded into database.
Thanks again,

https://github.com/gunthercox/ChatterBot/issues/1147 solved my q


Using the Orb of Origin to change origins to the same thing crashes

Example: I pick Phantom, use the Orb of Origin and then pick Phantom again, the game crashes due to trying to apply the same attribute twice.
https://pastebin.com/xFtjASWW

Doesn't appear to happen any more despite using the same version.


Stacking code panels and accessible display options

Describe the Issue
As a relatively new coder, I’d like to share some feedback for the new editor. After submitting 3 projects for Responsive Web Design the old way, I just finished my 4th after the update.
I do appreciate the way the new editor is more similar to an actual coding environment. However, from an accessibility standpoint, as someone who is neurodivergent and gets overwhelmed by visual processing overload, the new editor is far too crowded visually. The current display options to either hide the html or css or preview, or end up with four columns side by side, don't work well.
Affected Page
https://www.freecodecamp.org/learn/responsive-web-design/responsive-web-design-projects/build-a-technical-documentation-page
Your code
n/a

Expected behavior
Here are my suggestions:

Put the instructions and user stories on a separate page, or have the option to pop them out to a separate tab. I realize this can be done manually, but it's awkward to manually minimize the instruction column, then have to toggle it back out when running tests. Which brings me to...

Allow the tests to be minimized when not being run, similarly to how they use to work in Codepen.

Consider having multiple stacking options for the code panels, as well as a full page preview. The latter is helpful especially for testing responsiveness.

Lastly, for feedback purposes, there isn't a simple way I can link to the code in the new editor when I post my projects on the forum. If there was an option for others to also see the results and code, that would be best.
Thanks for considering!
Screenshots
No response
System

Device: Chromebook
OS: n/a
Browser: Chrome
Version: latest version

Additional context
No response

Thanks for the feedback @jinlikegold 🎉

...it's awkward to manually minimize the instruction...

We have an issue that will add a button for toggling the instructions. That should help quite a bit

Allow the tests to be minimized when not being run...

I'm not opposed to that. It would clean up the UI quite a bit

...having multiple stacking options...as well as a full page preview...
...there isn't a simple way I can link to the code in the new editor...

I like these ideas, they would greatly improve things. They would probably be quite tricky to implement. This editor is new and we will continue to improve things as much as we can. Thanks again for the feedback.

I wouldn't mind if the default was having the code panels stacked. I also think having a propper tabbed layout would be super nice. Like https://jsfiddle.net > Settings > "Tabs (columns)" and "Right result" for the stacking.
I realize it's easier said than done, just thinking out loud.

Thank you for your feedback. I have turned some of the points discussed here into actionable items in #46178 and closing this issue as a result. Please refer to #46178 for further discussion.


Import error

ReCaptcha field is in rest_framework_recaptcha.fields, not just rest_framework_recaptcha

Pull Request Test Coverage Report for Build 54

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build 50:
0.0%

Covered Lines:
55

Relevant Lines:
55

💛  - Coveralls


Apple Homepod Gen2 not discovered

2024-04-18 14:10:08.063 DEBUG (MainThread) [custom_components.powercalc.discovery] media_player.family_room_south_homepod: Auto discovered model (manufacturer=Apple, model=HomePod (gen 2))
2024-04-18 14:10:08.064 DEBUG (MainThread) [custom_components.powercalc.discovery] media_player.family_room_south_homepod: Model not found in library, skipping discovery
2024-04-18 14:10:08.064 DEBUG (MainThread) [custom_components.powercalc.discovery] media_player.family_room_south_homepod: Auto discovered model (manufacturer=Apple, model=HomePod (gen 2))
2024-04-18 14:10:08.064 DEBUG (MainThread) [custom_components.powercalc.discovery] media_player.family_room_south_homepod: Model not found in library, skipping discovery
2024-04-18 14:10:08.064 DEBUG (MainThread) [custom_components.powercalc.discovery] remote.family_room_south_homepod: Auto discovered model (manufacturer=Apple, model=HomePod (gen 2))
2024-04-18 14:10:08.064 DEBUG (MainThread) [custom_components.powercalc.discovery] remote.family_room_south_homepod: Model not found in library, skipping discovery

2024-04-18 14:10:08.214 DEBUG (MainThread) [custom_components.powercalc.discovery] media_player.family_room_north_homepod: Auto discovered model (manufacturer=Apple, model=HomePod (gen 2))
2024-04-18 14:10:08.214 DEBUG (MainThread) [custom_components.powercalc.discovery] media_player.family_room_north_homepod: Model not found in library, skipping discovery
2024-04-18 14:10:08.215 DEBUG (MainThread) [custom_components.powercalc.discovery] media_player.family_room_north_homepod: Auto discovered model (manufacturer=Apple, model=HomePod (gen 2))
2024-04-18 14:10:08.215 DEBUG (MainThread) [custom_components.powercalc.discovery] media_player.family_room_north_homepod: Model not found in library, skipping discovery
2024-04-18 14:10:08.215 DEBUG (MainThread) [custom_components.powercalc.discovery] remote.family_room_north_homepod: Auto discovered model (manufacturer=Apple, model=HomePod (gen 2))
2024-04-18 14:10:08.215 DEBUG (MainThread) [custom_components.powercalc.discovery] remote.family_room_north_homepod: Model not found in library, skipping discovery

@laplacacm I have double checked everything a few times and also added two tests but are not able to reproduce yet.
https://github.com/bramstroker/homeassistant-powercalc/commit/973005c3d5a1d1b43604117af179721f3c132e7c
Could you go to https://powercalc.lauwbier.nl/library and double check the alias is also listed there for you:

Also try to update to beta.5
When still not resolved I might need to add some extra debug logging.

Beta 5 worked! On Apr 19, 2024, at 1:00 AM, Bram Gerritsen @.***> wrote:
@laplacacm I have double checked everything a few times and also added two tests but are not able to reproduce yet.
973005c
Could you go to https://powercalc.lauwbier.nl/library and double check the alias is also listed there for you:
Screenshot.2024-04-19.at.07.55.53.png (view on web)
Also try to update to beta.5
When still not resolved I might need to add some extra debug logging.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>


Bump all devDependencies

Bumps all devDependencies to latest, which also makes sure uglify-js gets updated.

Hmm I'm not sure I know what you mean, @ngryman. I bumped all dev dependencies to latest, and not just latest minor. Is there any dependency in specific I might have missed?
The formatting issues were caught by eslint after updating, which is why I had to fix them here (otherwise the PR would be failing)

I tested all npm scripts and everything seems to work fine, so this should be safe to merge. Not sure it warrants a release by itself though.

I don't exactly know what those upgrades bring to the table. But I don't see any reason why not to release in order to bring good stuff to consumers.
Given the relatively slow pace of development of this project and the high coupling with zapier/zapier, I think it makes sense to release as often as possible.

Agreed with all your points, @ngryman! However, this PR doesn't have any user-facing changes, since it only updates dev packages, so in the end, I decided to not cut a new release for it.


Figure out how to run the synchronization server

Try to get this server running if any.

Backend was proprietary. This feature requires a new backend.

Backend was proprietary. This feature requires a new backend.


Questions about new PostgreSQL features

The release notes for version 4.3.4 say:

PostgreSQL: database switch support was added
PostgreSQL: default driver version was updated (42.2.0)

I can't see anything of this after installing the new version. What do these notes mean and what do I have to do to see the changes?
PS: I've added DBeaver to my Windows 10 start menu as a tile. That tile was non-functional after installing the new version over the previous release. I had to remove that tile and re-add it from the start menu. I don't think the installation path has changed but I don't know how these tiles work.

I can't see anything of this after installing the new version. What do these notes mean and what do I have to do to see the changes?

The database switch support has to be enabled in the DBeaver settings because it changes default behaviour.

Mhm, can you please provide details? I don't know where to look, haven't found it in the settings.
And I don't see any updated PostgreSQL driver, even though drivers are configured for auto-update in the settings. In fact I can't find any version number that comes close to what's in the release notes. All numbers I can find (and it's several) are much different.

You should enable these settings in connection properties:

Note: you must use PostgreSQL driver, not PostgreSQL Generic

I have found this option by chance yesterday. I believe it appeared later than installing the DBeaver update.
But still, it doesn't work correctly. When I open the first database, I can access its tables normally. When I switch to another database and try to access one of its tables, I get an error message saying I don't have access. When I use a separate configured connection that initially uses the second database, I can access it just fine. So the multi-database thing may be able to connect to other databases, but fails to let me do anything with them.

Umm, I can't reproduce it either. Maybe I just had to restart the app to make it work. Possibly last time I changed the configuration and connected to the server immediately instead of waiting a day.

Ok.
Then closing as resolved.


Attributify JSX does not work when attributes are passed as props to SolidJs component

UnoCSS version
0.60.3
Describe the bug
When attributes are passed as props to component they are not applied. I'm not sure if this is solidJs specific or not.
Example:
// does not work
<MyComponent text-red />

text-red is transformed to text-red={true}
For this to work, I've found that its needed to set the trueToNonValued option to true in presetAttributify's options. Maybe we can add a note in both presetAttributify and Attributify JSX?
Reproduction
https://stackblitz.com/~/github.com/kylegl/solid-uno-attributify
System Info
system: Ubuntu 20.04.5 LTS
browser: Chrome Version 124.0.6367.208 (Official Build) (64-bit)
framework: @solidJs/start  v1.0.0
Validations

[X] Read the Contributing Guidelines.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
[X] The provided reproduction is a minimal reproducible example of the bug.

Your reaping Demo will always be stuck when installing dependencies. Can you help solve it?

UnoCSS version
0.60.3
Describe the bug
When attributes are passed as props to component they are not applied. I'm not sure if this is solidJs specific or not.
Example:
// does not work
<MyComponent text-red />

text-red is transformed to text-red={true}
For this to work, I've found that its needed to set the trueToNonValued option to true in presetAttributify's options. Maybe we can add a note in both presetAttributify and Attributify JSX?
Reproduction
https://stackblitz.com/~/github.com/kylegl/solid-uno-attributify
System Info
system: Ubuntu 20.04.5 LTS browser: Chrome Version 124.0.6367.208 (Official Build) (64-bit) framework: @solidJs/start v1.0.0
Validations

[x]  Read the Contributing Guidelines.
[x]  Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[x]  Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
[x]  The provided reproduction is a minimal reproducible example of the bug.

I will temporarily close this issue and wait for you to provide a usable mini-repo

Sorry i missed this let me look into it


chore(dev_requirements): update coverage lib to 4.2.0

See https://coverage.readthedocs.io/en/coverage-4.2/changes.html#version-4-2-2016-07-26

Current coverage is 85.66% (diff: 100%)

Merging #928 into master will decrease coverage by 0.16%

@@             master       #928   diff @@
==========================================
  Files            30         30
  Lines          3027       3027
  Methods           0          0
  Messages          0          0
  Branches        505        505
==========================================
- Hits           2598       2593     -5
- Misses          288        291     +3
- Partials        141        143     +2

Powered by Codecov. Last update b3c2024...c19cdfc


Issue while connecting to s3 bucket from Ec2

If your issue is not following the template, the maintainer may close the issue without notifications.

Write the following environmental information.

OS version:linux
Java version: openjdk version "1.8.0_232"
Embulk version:Embulk v0.9.23
Plugin versions:embulk-output-s3-1.5.0

Write all what you did, e.g. your commands executed:
i am trying to copy file from Ec2 to S3bucket.i am getting accessdenied error.
Write what you expected and observed actually.
i need some help regarding configuration setup to connect to s3

We are not providing a user support here. Also, it looks like a problem in your embulk-output-s3 configuration, not this embulk core project.
You may want to go: https://github.com/llibra/embulk-output-s3
Let us close this ticket.


chore: added test for asserting save button

Description

This PR adds asserts the Save button which was added in place of Save and Authorize in https://github.com/appsmithorg/appsmith/pull/32047
Fixes #32071

Automation
/ok-to-test<EMAIL_ADDRESS>:mag: Cypress test results

[!TIP]
Tests running at: https://github.com/appsmithorg/appsmith/actions/runs/8451764949
Commit: d86c6561c9cce0bab2f7dc405bdb609019556ba6
Workflow: PR Automation test suite
Tags: ``

Summary by CodeRabbit

Tests

Enhanced testing for GraphQL data sources by adding an assertion to verify the presence of a "Save" button for Client Credentials Grant Type scenarios.

Why are you running tag.all? Wouldn't it suffice to run say datasources ?


SDCOSMO-1405 - fix platform upgrade script

Ok I just removed the whole dependencies container. Ready to merge.


"use of global instead of use of value" mutator

This mutator implements the idea in #391 , cc @alexcrichton.
It is implemented as an special node in the intermediate eterm representation, use_of_global. This special node allocates for a new global in the module and writes down the corresponding global usage global.set $allocated global.get $allocated. The rewriting rule is then ?x => (use_of_global ?x) if returns_something("?x") .
I will open this PR as draft for now since it is based on the PR #394 and it is under reviewing now.
cc @fitzgen

Ah that's a good point yeah about blowing limits, would it be possible for this to mutator to only be a candidate if there's less than N globals already in the module?

Ah that's a good point yeah about blowing limits, would it be possible for this to mutator to only be a candidate if there's less than N globals already in the module?

It is perfectly possible, something like adding another filter to ?x => (use_of_global ?x) if returns_something("?x"), to get something like ?x => (use_of_global ?x) if returns_something("?x") if no_more_than_n_globals(ASTINFO, MAX_GLOBALS)

Closing, rebasing and readdressing in #408


vue3 setup error render?

when i init component write setup function cause error?

It looks not compatible with VUE 3
[Vue warn]: Property "$createElement" was accessed during render but is not defined on instance.
Found same issues and workaorunds from other projects:
https://github.com/nhn/tui.editor/issues/1226#issuecomment-709318502

facing the same error when using the basic component in Vue 3.2

Same here, any update on this?

same question

use vue3 ，The same problem

Please use "npm i -s vue-drag-resize@next" for use in Vue3. https://github.com/kirillmurashov/vue-drag-resize/issues/102#issuecomment-814995060

谢谢，收到了。

I'm getting an error in Vue 3 still. Using "vue-drag-resize": "^2.0.3"
I'm also using Nuxt 3, maybe that's part of the problem?
Error states:
ReferenceError: self is not defined
    at Object.<anonymous> (/Users/calebwaldner/Code/galaxy-forms-web/node_modules/vue-drag-resize/dist/index.js:1:241)
    at Module._compile (internal/modules/cjs/loader.js:1085:14)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
    at Module.load (internal/modules/cjs/loader.js:950:32)
    at Function.Module._load (internal/modules/cjs/loader.js:790:14)
    at ModuleWrap.<anonymous> (internal/modules/esm/translators.js:199:29)
    at ModuleJob.run (internal/modules/esm/module_job.js:169:25)
    at async Loader.import (internal/modules/esm/loader.js:177:24)
    at async __instantiateModule__ (file:///Users/calebwaldner/Code/galaxy-forms-web/.nuxt/dist/server/server.mjs:21337:3)
[Vue Router warn]: uncaught error during route navigation:
Error: [vite dev] Error loading external "/Users/calebwaldner/Code/galaxy-forms-web/node_modules/vue-drag-resize/dist/index.js".
    at file:///Users/calebwaldner/Code/galaxy-forms-web/.nuxt/dist/server/server.mjs:20665:297
    at async __instantiateModule__ (file:///Users/calebwaldner/Code/galaxy-forms-web/.nuxt/dist/server/server.mjs:21337:3)
[vite dev] Error loading external "/Users/calebwaldner/Code/galaxy-forms-web/node_modules/vue-drag-resize/dist/index.js".
  at file://./.nuxt/dist/server/server.mjs:20665:297
  at async __instantiateModule__ (file://./.nuxt/dist/server/server.mjs:21337:3)
(node:47332) UnhandledPromiseRejectionWarning: Error: [vite dev] Error loading external "/Users/calebwaldner/Code/galaxy-forms-web/node_modules/vue-drag-resize/dist/index.js".
    at file:///Users/calebwaldner/Code/galaxy-forms-web/.nuxt/dist/server/server.mjs:20665:297
    at async __instantiateModule__ (file:///Users/calebwaldner/Code/galaxy-forms-web/.nuxt/dist/server/server.mjs:21337:3)
(Use `node --trace-warnings ...` to show where the warning was created)
(node:47332) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 3)
(node:47332) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
[Vue Router warn]: uncaught error during route navigation:
TypeError: Cannot read property '__vccOpts' of undefined
    at /Users/calebwaldner/Code/galaxy-forms-web/node_modules/vue-router/dist/vue-router.cjs.js:2022:55
    at processTicksAndRejections (internal/process/task_queues.js:95:5)
Cannot read property '__vccOpts' of undefined
  at ./node_modules/vue-router/dist/vue-router.cjs.js:2022:55
  at processTicksAndRejections (internal/process/task_queues.js:95:5)
(node:47332) UnhandledPromiseRejectionWarning: TypeError: Cannot read property '__vccOpts' of undefined
    at /Users/calebwaldner/Code/galaxy-forms-web/node_modules/vue-router/dist/vue-router.cjs.js:2022:55
    at processTicksAndRejections (internal/process/task_queues.js:95:5)
(node:47332) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 7)

Thanks for any help resolving this.

谢谢，收到了。

VUE 3:
npm i -s vue-drag-resize@next
Introduce dependent components directly into the parent component.
// demo.vue
<script setup lang="ts">
    import VueDragResize from 'vue-drag-resize/src/component/vue-drag-resize.vue';
</script >

<template>
    <VueDragResize :w="200"  :h="120" >
        Hello World
    </VueDragResize>
</template>

谢谢，收到了。

getting this error when i am trying to import this in my nuxt3 project

谢谢，收到了。

Please use "npm i -s vue-drag-resize@next" for use in Vue3. #102 (comment)

still not working

谢谢，收到了。


Automated processing

@eroux writes
After my semi-success (depending if you see the glass half full or
half empty) with the cropping of the Fanfoyan images, I tried to
summarize my thoughts on the possibility of an alternative way of
importing images that could be one of the components of speeding up
the backlog processing:
Automated doc proposal
these are just my 2c, any comment is appreciated!

I thiMy biggest concern is that, when our website users view texts, they don’t see the distinction between what we’ve controlled and what we’ve gotten from our partners. Under this proposal, they  will see  inconstent quality in random, unpredictable places.
We have had scholars chide us about low quality and format here and there. Sometimes they really do want to zoom way in.
To keep our reputation,  we would have to have those automatic, low quality works logically partitioned off, or somehow, really clearly flagged as second rate.  “these are not….what’s the word?…Prime? “  I don’t know. That would have to come up in the first search results, and be a top-level attribute. We must be seen as in control of the quality, we have to make an active assertion “this is not the best…”
Maybe this could be a search filter criterion:
_Gold quality
_Silver
_Bronze
It’s all doable, but quality ratings have to be explicit.

I’m also not really sure about the crowdsourcing. This is the NT problem, where somebody makes a contribution, and by the time we get around to looking at it, it might not be exactly correct enough for and it won’t be useful, or the contributor has moved on. Also, volunteers tend to leave things half-done. Maybe the users in the proposal you’re thinking about might be organized, like grad students, or interns, and swarm on a project, I don’t know. There would need to be a management layer around that part of the process, and the mechanics really need definition.

Please note that Élie is not proposing no-cropping in the "degraded fully automatic” workflow.
Also Élie is out most of next week so getting a thread going in an issue on github would best before having a meeting anyway.
We can think of this proposal in the vein of new submissions like the FFY for example.

I think your general workflow proposal makes sense in theory but there's certainly alot to be considered here.  I think culling the backlog on some basis of importance ("worth processing") and level of complexity is a good idea, but publishing images that are not cropped is something we would need to think about carefully and is problematic for different reasons.  It's an issue that has been hotly debated over the last few years.  IMHO, I think it's we're getting to a point where we may actually be able to develop some decent tooling around it so that it may not be as big of an issue anymore.

@TBRC-Travis

publishing images that are not cropped is something we would need to think about carefully and is problematic for different reasons

It would help us all to get on the same page if you'd give us some of the reasons.

I'll schedule a meeting next week but I think the discussion can be more productive if we have some clues into what's wrong with the idea that was proposed. Travis, could you please list a few?


Mail notification

I noticed that the mail notification in grafane is commented out!
What would be the best way to get this working ?
could be through grafana, prometheus, or alertmanger directly ?
Thanks

you need to add the configuration to alertmanager , see here https://prometheus.io/docs/alerting/latest/configuration/#email_config


Using template literals when connecting strings

Making the code cleaner by using template literals

Thanks for this @omerl13 - I'll take a look this week.


Wait confirmations - Add timeout if websocket doesn't answer

Is your feature request related to a problem?
No response
Describe the solution you'd like
No response
Additional context
No response

done


Disable resync check for STN temporairly

After merging https://github.com/contiv/vpp/pull/635/ STN stopped working. This re-enables it, but the restart scenario for the STN case needs to be fixed (this is just a temporary solution).

Coverage decreased (-0.02%) to 75.192% when pulling 4b12136aaeb06f50bbbf046533a85fe6215da4d2 on rastislavszabo:master into 2ef4b4956bf75bccc74df52f5a549164e631d998 on contiv:master.


Support function app VNet integration

Is your feature request related to a problem? Please describe.
Bicep doesn't currently seem to support VNet integration with a function app. I'm able to define VNet integration as follows in an ARM template:
{
  "type": "Microsoft.Web/sites",
  "apiVersion": "2018-11-01",
  "name": "[variables('functionAppName')]",
  "location": "North Central US",
  ...,
  "resources": [
    {
      "type": "networkConfig",
      "apiVersion": "2019-08-01",
      "name": "virtualNetwork",
      "dependsOn": [
        "[resourceId('Microsoft.Web/sites', variables('functionAppName'))]"
      ],
      "properties": {
        "subnetResourceId": "[resourceId(parameters('vnetResourceGroupName'), 'Microsoft.Network/virtualNetworks/subnets', parameters('vnetName'), parameters('subnetName'))]",
        "swiftSupported": true
      }
    }
  ]
}

However, when I attempt to accomplish the same with Bicep with the following, I get an error from the VSCode extension: "The property 'resources' is not allowed on objects of type 'Microsoft.Web/sites@2018-11-01'".
Here are the relevant portions of the TypeScript:
resource functionApp 'Microsoft.Web/sites@2018-11-01' = {
  name: functionAppName
  location: location
  kind: 'functionapp'
  ...
  resources: [
    ...
  ]
}

Describe the solution you'd like
Support function app VNet integration within Bicep, or tell me what's wrong with my syntax :)

Nesting child resources directly inside the parent is not supported in Bicep. The equivalent way to declare this would be something like:
resource functionApp 'Microsoft.Web/sites@2018-11-01' = {
  name: functionAppName
  location: location
  kind: 'functionapp'
  ...
}

resource netConfig 'Microsoft.Web/sites/networkConfig@2019-08-01' = {
  name: '${functionApp.name}/virtualNetwork'
  ...
}

@mjsuna - does anthony's code sample help? I will plan to close this issue tomorrow unless the above does not work for some reason


Trivy updates - https://github.com/hyperledger/cacti/issues/2650

Pull Request Requirements

[ ] Rebased onto upstream/main branch and squashed into single commit to help maintainers review it more efficient and to avoid spaghetti git commit graphs that obfuscate which commit did exactly what change, when and, why.
[ ] Have git sign off at the end of commit message to avoid being marked red. You can add -s flag when using git commit command. You may refer to this link for more information.
[ ] Follow the Commit Linting specification. You may refer to this link for more information.

Character Limit

[ ] Pull Request Title and Commit Subject must not exceed 72 characters (including spaces and special characters).
[ ] Commit Message per line must not exceed 80 characters (including spaces and special characters).

A Must Read for Beginners
For rebasing and squashing, here's a must read guide for beginners.

Congratulations @ashnashahgrover on your first PR !!
Before we start the review of this PR, please have a look into our contributing guide so that the PR format looks uniform


[Fix]Fix wrong string cutoff in the script for sft text tokenizing

Thanks for your contribution and we appreciate it a lot. The following instructions would make your pull request more healthy and more easily get feedback. If you do not understand some items, don't worry, just make the pull request and seek help from maintainers.
Motivation
fix #101
Modification

tools/alpaca_tokenizer.py

BC-breaking (Optional)
No
Use cases (Optional)
If this PR introduces a new feature, it is better to list some use cases here and update the documentation.
Checklist
Before PR:

[ ] Pre-commit or other linting tools are used to fix the potential lint issues.
[ ] Bug fixes are fully covered by unit tests, the case that causes the bug should be added in the unit tests.
[ ] The modification is covered by complete unit tests. If not, please add more unit test to ensure the correctness.
[ ] The documentation has been modified accordingly, like docstring or example tutorials.

After PR:

[ ] If the modification has potential influence on downstream or other related projects, this PR should be tested with those projects.
[ ] CLA has been signed and all committers have signed the CLA in this PR.

@yhcc please have a look


Request for Function Calling Feature

I'd like to propose the addition of a Function Calling feature to enhance communication between Android device and the model

Hey @Bhuvaneshw, thanks for your proposal. Yes! function calling is a feature that's part of our roadmap. Stay tuned!
I'll keep the issue open until the feature is implemented to keep you in the loop.

Hi @Bhuvaneshw our latest release supports function calling https://github.com/google/generative-ai-android/releases/tag/v0.3.0 thanks for your patience!


remove skip from test_types::test_int__format__locale

was this ubuntu-only failure? i have no idea. but macos is fine.

In MacOS, the locale code is en_US.UTF-8 with a -

oh, yep. that was it! thank you!


Server not detected

Hi,
the pop-up sais 'unable to connect to ollama api'. However, I have the correct address and another UI is correctly accessing the API.
When  I do 'inspect pop-up', I get the following error:
Access to fetch at 'http://<IP_ADDRESS>:11434/api/tags' from origin 'chrome-extension://lchglknfjpkcpceecjmopnlgekdlogae' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
Any idea what might go wrong?

The Ollama server needs to be started with the OLLAMA_ORIGINS environment variable set to chrome-extension://*.
Example:
OLLAMA_ORIGINS=chrome-extension://* ollama serve

I'll update the documentation to be more explicit about the error.

I'm having the same problem, but I'm using the edge browser, how should I set the environment variables?

Is that what it looks like?

@fatinghenji, for Microsoft Edge browser, the Ollama server should be started with OLLAMA_ORIGINS=chrome-extension://*. I typically start the Ollama server from the command line (OLLAMA_ORIGINS=chrome-extension://* ollama serve). I'm not familiar with the screenshot you shared.

@andrewnguonly this indeed worked like a charm. Maybe you can add that for Linux, one should add this to the config of systemctl. The way to do this is to edit /etc/systemd/system/ollama.service and add
Environment="OLLAMA_ORIGINS=chrome-extension://*"
before the execstart statement.
Thanks a lot for your help.

Maybe you can add that for Linux, one should add this to the config of systemctl. The way to do this is to edit /etc/systemd/system/ollama.service and add
Environment="OLLAMA_ORIGINS=chrome-extension://*"
before the execstart statement.

I'll find a place to document this :+1:

@fatinghenji, I'm closing this issue for now, but feel free to reopen it or create a new issue if you're still having trouble connecting on Microsoft Edge. Instructions for installing on Microsoft Edge are here.


Streaming encoding

Would it make sense, and would there be interest in having streaming JSON encoding?
Currently, if we have a Stream[A] (and an Encoder[A]), it's possible to do streaming encoding, e.g., get a Stream[String] (where Stream is, e.g., fs2.Stream[fs2.Task, ?]). However, if we have, for example, case class Data(n: Long, s: Stream[X]), we don't have a way of streaming it. (In this specific case, it's easy enough to write it, but that is not scalable to more complex data structures containing streams.)
A solution would derive streaming encoders for ADTs which contain streams. A proof of concept is here.

Closing in cleanup run, If anyone cares about this, please comment and I'll reopen.


Uncaught TypeError: this.updater.enqueueCallback is not a function

Hi,
I'm having this error. Most probably caused by React 16 I guess?
ReactComponent.js:67 Uncaught TypeError: this.updater.enqueueCallback is not a function
    at GoogleMapMarkers.../node_modules/google-map-react/node_modules/react/lib/ReactComponent.js.ReactComponent.setState (ReactComponent.js:67)
    at MarkerDispatcher.GoogleMapMarkers._this._onChangeHandler (google_map_markers.js:77)
    at MarkerDispatcher.emit (index.js:115)
    at GoogleMap.componentDidUpdate (google_map.js:898)
    at commitLifeCycles (react-dom.development.js:11517)
    at commitAllLifeCycles (react-dom.development.js:12294)
    at HTMLUnknownElement.callCallback (react-dom.development.js:1299)
    at Object.invokeGuardedCallbackDev (react-dom.development.js:1338)
    at invokeGuardedCallback (react-dom.development.js:1195)
    at commitAllWork (react-dom.development.js:12415)

This is not an error from this library, why you decided to place it here ;-)
It is well known react 16 update error. Use search there to solve.

It is an error from this library, it says there: at GoogleMapMarkers.../node_modules/google-map-react/node_modules/react/lib/ReactComponent.js.ReactComponent.setState (ReactComponent.js:67)
Adding react 16 as a peer dependency and rebuilding helped.

It was just first library which called setState in your code, it's not this library error. Read react issues.

First and only one.. Increasing react version (or adding newer react version) as peer dependency in your project solves the issue

You are wrong, peer dependencies does not affect your app react version.

as you wish


command not found

Hi,
On Linux Mint, even after reboot terminal :

I will use
~ go/bin/plow

This is a fairly common issue, you should add $GOPATH/bin to $PATH.


v0.0.4 breaks project list UI for redmine theme flatly

Hello,
Just to let you know that v0.0.4 breaks, at least, the display of theme https://github.com/Nitrino/flatly_light_redmine
v0.0.3 :  normal place, top right

v0.0.4 : weird position , top left

Thanks for this great plugin.

Hello,
I see this bug with flatly_light_redmine v0.1 and without any plugin (screen attached) in
Redmine 2.5,2.6; Firefox 38.0.1.

May be it is issue for Nitrino/flatly_light_redmine (?)
In your case it looks like conflict of theme css and jquery.select2() plugin applying.


kn command update in running_benchmarks.md

This is the PR to correct the kn commnad usage in the docs/running_benchmarks.md

@dhuang-esl Thank you for you contribution! To fix the linter error, could you please sign your commit by running:
git commit -s amend
git push origin main --force

Hi @ustiugov, I follow your instructions to sign the commit. Could you please check if the linter error has been fixed?

no, it's not signed.  Here is an example:

I think it is good now :)


[sui-test-validator] Allow configurable epoch duration

Description
I ran into a case where I needed to modify the epoch length, so I added this to the CLI so that it can easily be configured.
Test Plan
Ran locally + CI.

Current dependencies on/for this PR:

main

PR #9310   👈

This comment was auto-generated by Graphite.

this is super useful! thanks for adding


[HAL] Add option to disable executable linking

This is useful because without disabling linking,
--iree-hal-dump-executable-binaries-to and
--iree-hal-dump-executable-intermediates-to will dump a single large linked file rather than one file per executable.
This is expected to only ever be used for development/debugging purposes.

Yeah I wasn't sure what to name it so I just picked something. I can change the LinkExecutablesPass here unless you prefer to change all pass names at the same time.

if you can do em all that'd be nice - just 3 find/replace instead of 1 (no need to change file names, just pass .td/C++ class name).

Ok I accidentally turned off linking by default, but it looks like there are some test failures with it off: https://github.com/iree-org/iree/actions/runs/11744495978/job/32719757104?pr=19028
May want to look into that at some point.


Broken link

There is a broken link in this mentorship page :
Broken Link

Updated to https://github.com/hyperledger-labs/documentation-template , thank you