chore: release main

:robot: I have created a release beep boop
@dotcom-reliability-kit/crash-handler: 0.1.2
Dependencies

The following workspace dependencies were updated

dependencies

@dotcom-reliability-kit/log-error bumped from ^1.3.9 to ^1.3.10

@dotcom-reliability-kit/log-error: 1.3.10
Dependencies

The following workspace dependencies were updated

dependencies

@dotcom-reliability-kit/serialize-request bumped from ^1.0.3 to ^1.0.4

logger: 0.1.1
0.1.1 (2022-10-26)
Features

add the ability to transform log data (db3087b)

@dotcom-reliability-kit/middleware-log-errors: 1.2.11
Dependencies

The following workspace dependencies were updated

dependencies

@dotcom-reliability-kit/log-error bumped from ^1.3.9 to ^1.3.10

@dotcom-reliability-kit/middleware-render-error-info: 1.1.9
Dependencies

The following workspace dependencies were updated

dependencies

@dotcom-reliability-kit/log-error bumped from ^1.3.9 to ^1.3.10

serialize-request: 1.0.4
1.0.4 (2022-10-26)
Bug Fixes

loosen serialize-request type requirements (3845a9a)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/Financial-Times/dotcom-reliability-kit/releases/tag/crash-handler-v0.1.2 :sunflower:

:robot: Release is at https://github.com/Financial-Times/dotcom-reliability-kit/releases/tag/log-error-v1.3.10 :sunflower:

:robot: Release is at https://github.com/Financial-Times/dotcom-reliability-kit/releases/tag/logger-v0.1.1 :sunflower:

:robot: Release is at https://github.com/Financial-Times/dotcom-reliability-kit/releases/tag/middleware-log-errors-v1.2.11 :sunflower:

:robot: Release is at https://github.com/Financial-Times/dotcom-reliability-kit/releases/tag/middleware-render-error-info-v1.1.9 :sunflower:

:robot: Release is at https://github.com/Financial-Times/dotcom-reliability-kit/releases/tag/serialize-request-v1.0.4 :sunflower:


Error while setting up platform eufy

Home Assistant release with the issue:

Home Assistant
0.78.3
Last working Home Assistant release (if known):
0.77.3
Operating environment (Hass.io/Docker/Windows/etc.):

Hass.io on RasPi3
Component/platform:

https://www.home-assistant.io/components/eufy/
Description of problem:
Have one registered light with Eufy. Prior to 0.78, light worked. After upgrading, the light no longer is found in Home Assistant, and the Eufy platform throws this error on start up.
Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):
# Eufy Platform
eufy:
  username: !secret email
  password: !secret eufy_password

Traceback (if applicable):
Mon Sep 24 2018 22:00:34 GMT-0400 (Eastern Daylight Time)

Error while setting up platform eufy
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/homeassistant/helpers/entity_platform.py", line 128, in _async_setup_platform
    SLOW_SETUP_MAX_WAIT, loop=hass.loop)
  File "/usr/local/lib/python3.6/asyncio/tasks.py", line 358, in wait_for
    return fut.result()
  File "/usr/local/lib/python3.6/concurrent/futures/thread.py", line 56, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/local/lib/python3.6/site-packages/homeassistant/components/light/eufy.py", line 31, in setup_platform
    add_entities([EufyLight(discovery_info)], True)
  File "/usr/local/lib/python3.6/site-packages/homeassistant/components/light/eufy.py", line 58, in __init__
    self._bulb.connect()
  File "/config/deps/lib/python3.6/site-packages/lakeside/__init__.py", line 128, in connect
    return device.connect(self)
  File "/config/deps/lib/python3.6/site-packages/lakeside/__init__.py", line 66, in connect
    self.update()
  File "/config/deps/lib/python3.6/site-packages/lakeside/__init__.py", line 192, in update
    response = self.get_status()
  File "/config/deps/lib/python3.6/site-packages/lakeside/__init__.py", line 138, in get_status
    packet.sequence = self.get_sequence()
  File "/usr/local/lib/python3.6/site-packages/google/protobuf/internal/python_message.py", line 674, in field_setter
    new_value = type_checker.CheckValue(new_value)
  File "/usr/local/lib/python3.6/site-packages/google/protobuf/internal/type_checkers.py", line 134, in CheckValue
    raise ValueError('Value out of range: %d' % proposed_value)
ValueError: Value out of range:<PHONE_NUMBER>

Additional information:

Clear your /config/deps/ directory. The lakeside library should be installed under /usr/local/lib on docker/Hass.io.

Done, but did not resolve the issue.
Tue Sep 25 2018 23:40:06 GMT-0400 (Eastern Daylight Time)

Error while setting up platform eufy
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/homeassistant/helpers/entity_platform.py", line 128, in _async_setup_platform
    SLOW_SETUP_MAX_WAIT, loop=hass.loop)
  File "/usr/local/lib/python3.6/asyncio/tasks.py", line 358, in wait_for
    return fut.result()
  File "/usr/local/lib/python3.6/concurrent/futures/thread.py", line 56, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/local/lib/python3.6/site-packages/homeassistant/components/light/eufy.py", line 31, in setup_platform
    add_entities([EufyLight(discovery_info)], True)
  File "/usr/local/lib/python3.6/site-packages/homeassistant/components/light/eufy.py", line 58, in __init__
    self._bulb.connect()
  File "/usr/local/lib/python3.6/site-packages/lakeside/__init__.py", line 128, in connect
    return device.connect(self)
  File "/usr/local/lib/python3.6/site-packages/lakeside/__init__.py", line 66, in connect
    self.update()
  File "/usr/local/lib/python3.6/site-packages/lakeside/__init__.py", line 192, in update
    response = self.get_status()
  File "/usr/local/lib/python3.6/site-packages/lakeside/__init__.py", line 138, in get_status
    packet.sequence = self.get_sequence()
  File "/usr/local/lib/python3.6/site-packages/google/protobuf/internal/python_message.py", line 674, in field_setter
    new_value = type_checker.CheckValue(new_value)
  File "/usr/local/lib/python3.6/site-packages/google/protobuf/internal/type_checkers.py", line 134, in CheckValue
    raise ValueError('Value out of range: %d' % proposed_value)
ValueError: Value out of range:<PHONE_NUMBER>

Also tried unplugging and removing the device from the Eufy Home app, then going through the process of readding it, but no luck there as well.

CC @mjg59

I'm having this same issue.  I'm not sure which version introduced this issue.  Did you ever find a workaround?

The eufy component started working for me again around 0.83/0.84.  Anyone else?  IMO, I'm thinking this issue could be closed now if so.

Not working for me. I tried it using python3 directly importing lakeside and it worked but not via Home Assistant
Results : https://community.home-assistant.io/t/help-required-with-configuring-eufy-smart-plug-uk/71304/15
Device T1203 is simply not being discovered

Having the same issue running Home Assistant v0.86.4. For some reason two of my bulbs work great still....but the other ones do not. and throw the same error you guys already entered.

Here is the error:
019-02-07 01:23:22 ERROR (MainThread) [homeassistant.components.light] Error while setting up platform eufy
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/site-packages/homeassistant/helpers/entity_platform.py", line 128, in _async_setup_platform
    SLOW_SETUP_MAX_WAIT, loop=hass.loop)
  File "/usr/local/lib/python3.6/asyncio/tasks.py", line 358, in wait_for
    return fut.result()
  File "/usr/local/lib/python3.6/concurrent/futures/thread.py", line 56, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/local/lib/python3.6/site-packages/homeassistant/components/light/eufy.py", line 31, in setup_platform
    add_entities([EufyLight(discovery_info)], True)
  File "/usr/local/lib/python3.6/site-packages/homeassistant/components/light/eufy.py", line 58, in __init__
    self._bulb.connect()
  File "/usr/local/lib/python3.6/site-packages/lakeside/__init__.py", line 128, in connect
    return device.connect(self)
  File "/usr/local/lib/python3.6/site-packages/lakeside/__init__.py", line 65, in connect
    self.s.connect((self.address, 55556))
OSError: [Errno 113] Host is unreachable

If you're getting the ValueError error, can you try using https://github.com/google/python-lakeside/tree/test_uint32 ?

@mjg59 Is there anything we can do if we use Docker?

I'm afraid I don't know how the docker images are built

This should be fixed in the next release of Home Assistant. Sorry it took so long - I had something of a conceptual misunderstanding around how Protobufs work and thought this was a much more complicated problem than it actually was.

Lol those are the most frustrating problems but thanks for your hard work

Was this introduced to a Home Assistant release yet?  I'm still having the problem.

My Eufy bulbs are about as good as they are going to get brightness is wonky but works for the most part seems to fight the original app

Hass: 0.92.1
Running via docker latest as of today:
homeassistant/home-assistant latest b66d1a9659c7 10 days ago 2.3GB
2019-05-07 12:56:19 ERROR (MainThread) [homeassistant.components.light] Error while setting up platform eufy
Traceback (most recent call last):
  File "/usr/src/app/homeassistant/helpers/entity_platform.py", line 126, in _async_setup_platform
    SLOW_SETUP_MAX_WAIT, loop=hass.loop)
  File "/usr/local/lib/python3.7/asyncio/tasks.py", line 416, in wait_for
    return fut.result()
  File "/usr/local/lib/python3.7/concurrent/futures/thread.py", line 57, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/usr/src/app/homeassistant/components/eufy/light.py", line 24, in setup_platform
    add_entities([EufyLight(discovery_info)], True)
  File "/usr/src/app/homeassistant/components/eufy/light.py", line 51, in __init__
    self._bulb.connect()
  File "/usr/local/lib/python3.7/site-packages/lakeside/__init__.py", line 128, in connect
    return device.connect(self)
  File "/usr/local/lib/python3.7/site-packages/lakeside/__init__.py", line 65, in connect
    self.s.connect((self.address, 55556))
OSError: [Errno 113] No route to host


Suggest to add copy kvm image function

Suggest to add copy kvm image function
It will be easy to migrate, thx

This is done, you can try if it is good for you.


ffix(plugin-credentials): do not attempt to downscope without a client_id/client_secret

Updated so that we no longer need a client_secret to downscope and to emit a warning suggesting you should really include a client_id.


Unable to find include/rmf_fleet_adapter headers when using ament_target_dependencies

Apologies if this is an issue of my poor CMake-fu and not an rmf_core thing...
I am following the advise here (https://github.com/osrf/rmf_core/issues/104#issuecomment-643994871) to create my own implementation of RobotCommandHandle.  However, I don't seem to be able to link and get the headers (include/rmf_fleet_adapter/agv/RobotCommandHandle.hpp) accessible in my node.
The relevant sections of my CMakeLists.txt
find_package(rclcpp REQUIRED)
find_package(rmf_fleet_adapter REQUIRED)

ament_target_dependencies(node
    rclcpp
    rmf_fleet_adapter
)

MESSAGE(WARNING "rmf_fleet_adapter_INCLUDE_DIRS = ${rmf_fleet_adapter_INCLUDE_DIRS}")

It shows that rmf_fleet_adapter_INCLUDE_DIRS only contains the following
  rmf_fleet_adapter_INCLUDE_DIRS =
  /opt/ros/eloquent/include;<dir_to_workspace>/install/rmf_traffic_msgs/include

which seems to be missing rmf_fleet_adapter/include.
I'm not sure what I'm doing wrong..

You shouldn't need to explicitly include the headers using rmf_fleet_adapter_INCLUDE_DIRS. Instead it should be sufficient to just do:
target_link_libraries(
  your_fleet_adapter
    PUBLIC
      rmf_fleet_adapter::rmf_fleet_adapter
)

With that, cmake should automatically include all the necessary headers for you. In modern cmake, this is known as "linking to an imported target". Let us know if that isn't working for you.

I believe ament_target_dependencies already does that and is the recommended way as stated here.  However, even with ament_target_dependencies(my_fleet_adapter rmf_fleet_adapter), it still fails to find the required headers

I think ament_target_dependencies might only help with exporting the fact that your target depends on the imported target. I'm not sure that it actually takes care of the linking. Please put the code snippet of my previous reply into your cmake and let us know if it resolves the issue or not.

In fact the documentation you link indicates that target_link_libraries may still be necessary:

Sometimes it will be necessary to call the target_link_libaries CMake function. In the example of Eigen3, the call should then look like

find_package(Eigen3 REQUIRED)
target_link_libraries(my_target Eigen3::Eigen)

Interestingly, I had to remove ament_target_dependencies and add target_link_libraries for it to work.
Having both gave me the error
CMake Error at CMakeLists.txt:42 (target_link_libraries):
  The plain signature for target_link_libraries has already been used with
  the target "node".  All uses of target_link_libraries with a target must be
  either all-keyword or all-plain.

  The uses of the plain signature are here:

   * /opt/ros/eloquent/share/ament_cmake_target_dependencies/cmake/ament_target_dependencies.cmake:65 (target_link_libraries)

Thanks a lot!

You should be able to include both by removing PUBLIC from the target_link_libraries call. It's unfortunate that ament doesn't support the PUBLIC/PRIVATE keywords yet, but I think that might be getting fixed in newer versions of ament.


Magento marketplace compatibility

This plugin needs to be compatible with Magento marketplace, so we can host it there.

your extension is not published by magento marketplace because it's buggy

BitPay's plugin is now available on the Magento Marketplace: https://marketplace.magento.com/bitpay-bitpay-core.html


ARC-1.0-creating-ros2-pkg-for-gazebo

Prioritizing other stories at the moment, will look back into this later. Closing as there are too many conflicts.


Added support for advanced currency management orgs (also known as dated exchange rate)

Added support for advanced currency management orgs (issue #82 )

@Kilay thanks so much for this, this looks good. My only concern is the amount of diffs on the LREngine class. This PR is also missing the text class the CurrencyManagement.cls (may need to remove references to NexthinkProvider also?). I thin added a new operation to perform the query aggregation in memory is the best fix. So if you can clean up the change it would be a most welcome feature to the tool, for some this is a real issue. 👍

Plus one from me, adding a new operation type seems the best way to go, not everyone has this issue with currencies and the cost of doing the aggregation in memory is something that needs the developer to opt-in if they need this behaviour. You may want to revise the test class to remove references to NexthinkProvider.

Thanks @Kilay, awesome work!


Amend on.workflow_call.secrets,  fixes #22602

As secrets need to be passed differently to actions and workflows, it's better to give examples for both.

Why:
Closes ISSUE

What's being changed (if available, include any code snippets, screenshots, or gifs):

Check off the following:

[ ] I have reviewed my changes in staging (look for the "Automatically generated comment" and click the links in the "Preview" column to view your latest changes).
[ ] For content changes, I have completed the self-review checklist.

@bkleinen Thanks for opening a PR for your issue. :sparkles:
I have edited your original message so that it will automatically link to the issue. :zap: For more information about linking issues, see "Linking a pull request to an issue".
I'll get this triaged for review! :zap:


Possible to have teams input

Possible to have a dropdown menu, to teams, and if the team is not there, it should be possible to add a new one, within the form where users submits

Feature is given the name "user dropdown", for the implementation, of users being able to give new dropdown possibilities.


Reviewed all roles and site.yml.sample and added "always_run: true" where appropriate

I went through all the roles and looked out for tasks that may safely be executed in (or are required to also run in) check mode.

Thanks @D3N14L


Fix incorrect line

The existing line does not work and it is misleading for newcomers.

Hi @notxcain -- thanks for your PR to Helm!
I just tested this out using the .Files.Get object, and things seem to be working correctly. Here's what I tested:
I created a config file called 'config.toml' in my top-level chart directory. I then configured my deployment with an annotation like the one below:
  template:
    metadata:
      annotations:
        checksum/config: {{ .Files.Get "config.toml" | sha256sum }}

Running the chart, I verified that we have the correct sha256sum:
  template:
    metadata:
      annotations:
        checksum/config: c2de43dbfb5b5567c3e17647ec605a3c5cd0a30ffc965354be573615d12585a3

As you can see based on this, the example seems to be working correctly.
Perhaps you are running into an issue because you are trying to access a template using the .Files.Get object? That is not allowed -- more details can be found in the documentation at https://github.com/kubernetes/helm/blob/master/docs/chart_template_guide/accessing_files.md
Hope this helps!

Related: #3151

If you use Go templates in your ConfigMap you probably want to use include over .Files.Get.
See my comment: https://github.com/kubernetes/helm/pull/3076#issuecomment-344633659
.Files.Get only works as expected for static ConfigMaps.


Fix-typo-2.5

Signed-off-by: Maggie Chen<EMAIL_ADDRESS>https://github.com/stolostron/backlog/issues/23996

/hold
Will wait for 2.5.2 to open

/unhold


Don't be so nasty

I open sourced this sudoku game but someone cloned to AppStore.
Mine
AppStore
Yingyongbao
Clone
AppStore
Google Play
Sudoku is the only game I play on mobile, so I made this app for fun, it's simple and pure, without any redundant functions. Several days ago I released a new version to add I18N support, then I searched 'sudoku' on AppStore to test but find this clone app.
The clone app simply changes the board color, translates Chinese to English, and adds ADs which make my really sad, the menus are unaligned too, really bad user experience.
I know I'm using the MIT license, so I can do nothing about that, but I still feel sick on this, as I've released it on AppStore already, he changed nothing but adding ADs and trying to pretend he developed the app by himself.

hello nihgwu ,
you have write in you license, every body can use you Game and Publish it. and I don't have cloned you Game, because you say everybody can publish it.
and if you are felling sick then tell me and I take out the Game from Apple and Play Store.
thank & best regards

first your app is on Chinese language, and a lot of people don't know Chinese, and I have translate it to English to give change to another users to use it.
and I don't say in description I have this game from scratch make.
and about the stars I have today make account in Github and no I can make Stars.
now say for me what you want ? do you want from me to add your project link with your name in the description ?
or you want from me to take the game down ?
say for me what you want. because what I try to make it to give change to people to play this game.

You are still missing my point, if you just want to make a chance for another people to play this game, why you added ADs and write such a long description? Besides I've pointed out that I'll add the I18N support in the README and I finished it right the day you release yours to the store.
I write this with no expectation, you have the right to do anything, and I have the right to create this issue.

I need to right long description to explain the users about the Game. And what feature in this game. And about the ADs
It's nothing because the user that used this Game it's only 54 it's nothing. i don't need your game for given Money. My App have 310 000 download and I don't need you Game. Right now I don't have time to add new feature in your game. But if I have time I want to add multi And differents Levels and all Languages. And then can all people play this game.
Sent from my iPhone

On 17 Oct 2016, at 16:03, Neo<EMAIL_ADDRESS>wrote:
You are still missing my point, if you just want to make a chance for another people to play this game, why you added ADs and write such a long description? Besides I've pointed out that I'll add the I18N support in the README and I finished it right the day you release yours to the store.
I write this with no expectation, you have the right to do anything, and I have the right to create this issue.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

If you want we can working together to make many Apps. i don't have a lot of free time to make it alone. If you want we can working as team. And I give you money
Sent from my iPhone

On 17 Oct 2016, at 16:03, Neo<EMAIL_ADDRESS>wrote:
You are still missing my point, if you just want to make a chance for another people to play this game, why you added ADs and write such a long description? Besides I've pointed out that I'll add the I18N support in the README and I finished it right the day you release yours to the store.
I write this with no expectation, you have the right to do anything, and I have the right to create this issue.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

Hello, Please go to Play Store and update the App, in the new update
version do you can download photos, videos and documents. If you update the
App you DON’T need to rescan the QR code again!  And if you have android
version 5.0 and up then the size of the app is after the update only 9 mb.
Please give us 5 stars and a good review my friend.
On Mon, Oct 17, 2016 at 5:51 PM, Neo<EMAIL_ADDRESS>wrote:

Closed #2 https://github.com/nihgwu/react-native-sudoku/issues/2.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/nihgwu/react-native-sudoku/issues/2#event-826148853,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AV02cfRzwfvGo9lh2fiQKZLEOHoxb9zVks5q05lqgaJpZM4KM1B2
.


Azure Schema Registry Readme and Samples Issue

Section link1,link2,link3,link4,link5:

Reason:
Parameter name and method name reference error
Suggestion:
1.Update groupName to group
2.Add ,
3.Update format to serializationType
4.Update definition to content
5.Update getSchemaProperties to getSchemaId
6.Update getSchema to getSchemaById
@chradek ,@ramya-rao-a and @lilyjma   for notification.

Hey @v-jiaodi the readme has been updated to match the names supported by the version that will be released this month.
I think I should do such work in a feature branches instead to not cause confusion. I will consider doing this moving forward. I opened https://github.com/Azure/azure-sdk-for-js/pull/18019 to fix the second issue in your list.

Close this issue, due to PR (https://github.com/Azure/azure-sdk-for-js/pull/18019) merged.


(#5390)fix NPE when replay colocate group

Proposed changes
see(Fixed #5390)
Duplicate create OlapTable with colocate group may cause NPE when replay from edit log
Types of changes
What types of changes does your code introduce to Doris?
Put an x in the boxes that apply

[x] Bugfix (non-breaking change which fixes an issue)
[] New feature (non-breaking change which adds functionality)
[] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[] Documentation Update (if none of the other choices apply)
[] Code refactor (Modify the code structure, format the code, etc...)

I edit your commit log.
You can directly connect issue and pr by writing something like Fixed #xxx in the comment


[Add Bills Modal] After add single bill, the popup should close automatically

To-do:

[ ] Create click events for each button. “Single bull” should add bill and close the modal. Multiple Bills should keep modal open.
[ ] Triggers [Toast] component when new bill gets added
[ ] Add hot keys for each event: single/multiple bills


AMP created Firewall rules being duplicated in IPtables

Bug Report
System Information

Operating System: Ubuntu 18.04.5
uname: Linux Ubuntu-1804-bionic-64-minimal 4.15.0-124-generic #127-Ubuntu SMP Fri Nov 6 10:54:43 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

AMP version and build date: AMP Release "Europa" v<IP_ADDRESS>, built 23/11/2020 19:36

Which AMP release stream you're using: Mainline

I confirm:

[x] that I have searched for an existing bug report for this issue.
[x] that I am using the latest available version of AMP.
[x] that my operating system is up-to-date.

Symptoms

What are you trying to do?

run a minecraft instance

What are you expecting to happen?

an iptables firewall rule be created once for each of the following: sftp/tcp, minecraft/tcp+udp

What is actually happening?

on some instances, many multiple duplicated rules are being created

Reproduction

create minecraft java instance
edit ports for the instance - change the port number for the SFTP module to something that is resolved by iptables to a name (e.g. 5680-canna)
start and restart the instance
check iptables -L
you should see the rule for the port listed many times
this behaviour also happens if the minecraft port accidentally resolves to a name

example output from iptabes here: https://hastebin.com/apumefelef.sql

What's the full output of running:
ampinstmgr updatefirewall amp
As root?

as "amp" user:
[Info] AMP Instance Manager v<IP_ADDRESS> built 11/12/2020 18:07
[Info] Release spec: Release - built by CUBECODERS/buildbot on CCL-DEV
[Error] I require root access to do that!
as root: - run multiple times in a row...
root@Ubuntu-1804-bionic-64-minimal ~ # ampinstmgr updatefirewall amp
[Info] AMP Instance Manager v<IP_ADDRESS> built 11/12/2020 18:07
[Info] Release spec: Release - built by CUBECODERS/buildbot on CCL-DEV
[Info] Using iptables firewall.
[Info] Adding 3 new firewall rules
[Info] Firewall rule to add: TCP/5680 (AMP:Minecraft16:FileManagerPlugin.SFTP.SFTPPortNumber)
[Info] Firewall rule to add: TCP/25579 (AMP:Minecraft16:MinecraftModule.Minecraft.PortNumber)
[Info] Firewall rule to add: UDP/25579 (AMP:Minecraft16:MinecraftModule.Minecraft.PortNumber)
[Info] No existing firewall rules to remove
root@Ubuntu-1804-bionic-64-minimal ~ # ampinstmgr updatefirewall amp
[Info] AMP Instance Manager v<IP_ADDRESS> built 11/12/2020 18:07
[Info] Release spec: Release - built by CUBECODERS/buildbot on CCL-DEV
[Info] Using iptables firewall.
[Info] Adding 1 new firewall rules
[Info] Firewall rule to add: TCP/5680 (AMP:Minecraft16:FileManagerPlugin.SFTP.SFTPPortNumber)
[Info] No existing firewall rules to remove
root@Ubuntu-1804-bionic-64-minimal ~ # ampinstmgr updatefirewall amp
[Info] AMP Instance Manager v<IP_ADDRESS> built 11/12/2020 18:07
[Info] Release spec: Release - built by CUBECODERS/buildbot on CCL-DEV
[Info] Using iptables firewall.
[Info] Adding 1 new firewall rules
[Info] Firewall rule to add: TCP/5680 (AMP:Minecraft16:FileManagerPlugin.SFTP.SFTPPortNumber)
[Info] No existing firewall rules to remove
root@Ubuntu-1804-bionic-64-minimal ~ # ampinstmgr updatefirewall amp
[Info] AMP Instance Manager v<IP_ADDRESS> built 11/12/2020 18:07
[Info] Release spec: Release - built by CUBECODERS/buildbot on CCL-DEV
[Info] Using iptables firewall.
[Info] Adding 1 new firewall rules
[Info] Firewall rule to add: TCP/5680 (AMP:Minecraft16:FileManagerPlugin.SFTP.SFTPPortNumber)
[Info] No existing firewall rules to remove
root@Ubuntu-1804-bionic-64-minimal ~ #

And ampinstmgr dumpfirewall ?

And ampinstmgr dumpfirewall ?

as its been a while, ive put new output here:
https://gist.github.com/ktremain/74f70ea7a9bccce324876f870a9e9375
this output contains the following commands:

iptables -L
ampinstmgr updatefirewall amp
ampinstmgr updatefirewall amp
ampinstmgr dumpfirewall
ampinstmgr dumpfirewall

all performed straight after each other

as its been a while, ive put new output here:
https://gist.github.com/ktremain/74f70ea7a9bccce324876f870a9e9375
this output contains the following commands:

iptables -L
ampinstmgr updatefirewall amp
ampinstmgr updatefirewall amp
ampinstmgr dumpfirewall
ampinstmgr dumpfirewall

all performed straight after each other

Don't repeat commands please, if I've asked you to run a command I only want that command and that command only to be run, the number of times prescribed.
For whatever reason AMP isn't seeing the existing rules so it thinks they're missing, and so tries to re-add them each time.
Since you're on Ubuntu, I'd advise using UFW instead of iptables for the time being until this can be resolved.

Don't repeat commands please, if I've asked you to run a command I only want that command and that command only to be run, the number of times prescribed.
For whatever reason AMP isn't seeing the existing rules so it thinks they're missing, and so tries to re-add them each time.
Since you're on Ubuntu, I'd advise using UFW instead of iptables for the time being until this can be resolved.

I think I know what's up, in the iptables listing it's showing "canna" as the port number which AMP isn't making sense of.
If you do iptables -n -L INPUT can you verify that the output shows the actual port numbers as opposed to the protocol names?

I think I know what's up, in the iptables listing it's showing "canna" as the port number which AMP isn't making sense of.
If you do iptables -n -L INPUT can you verify that the output shows the actual port numbers as opposed to the protocol names?

yes, confirmed that using -n on iptables shows the actual port numbers.
iptables -L
ACCEPT     tcp  --  anywhere             anywhere             tcp dpt:canna /* AMP:Minecraft16:FileManagerPlugin.SFTP.SFTPPortNumber */
iptables -nL
ACCEPT     tcp  --  <IP_ADDRESS>/0            <IP_ADDRESS>/0            tcp dpt:5680 /* AMP:Minecraft16:FileManagerPlugin.SFTP.SFTPPortNumber */

yes, confirmed that using -n on iptables shows the actual port numbers.
iptables -L
ACCEPT     tcp  --  anywhere             anywhere             tcp dpt:canna /* AMP:Minecraft16:FileManagerPlugin.SFTP.SFTPPortNumber */
iptables -nL
ACCEPT     tcp  --  <IP_ADDRESS>/0            <IP_ADDRESS>/0            tcp dpt:5680 /* AMP:Minecraft16:FileManagerPlugin.SFTP.SFTPPortNumber */

This issue is fixed as part of the next update.

This issue is fixed as part of the next update.


context length extension

is it possible to increase bge context length? Realize most of my training data goes beyond 512

You can use our new model: bge-m3 https://github.com/FlagOpen/FlagEmbedding/tree/master/FlagEmbedding/BGE_M3, which supports multilingual and 8192 tokens.

Thank you, you guys are always on top of things!


Fix examples build for macOS

Updating frameworks for macOS to match latest raylib examples Makefile https://github.com/raysan5/raylib/blob/a940f41b4bfb681c9cbed9e95d1b73fee64d5bb8/examples/Makefile#L357
Related https://github.com/raysan5/raylib/pull/1022

@ricmatsui thank you very much for the fix! 👍😄


[RHCLOUD-21109] Refactor of constants in the code base

main goals:

check the occurrence of constant's value in code and use it where is needed
change names of constants from camel case to upper case style

this PR contains update for first few constants and rest will be part of next PRs
JIRA: RHCLOUD-21109

Hey,
I would like to open up a discussion on this, because the convention for the constants seems to be to use camelCase instead of full caps separated by underscores. After checking StackOverflow, the reasons are:

The standard library uses camel case. See net/http or the fmt packages, for instance.
If we use CAPITALIZED_CONSTS, we are automatically exporting those constants everywhere.
Effective Go recommends using mixed caps for multiword names.

I would prefer sticking to the convention, if possible. I come from the Java world so I was initially used to THAT_CONVENTION, but...
Please let me know what you all think!

yes, I also thought we were going to use the camel case for constants and after this comment https://github.com/RedHatInsights/sources-api-go/pull/550#discussion_r961804820 I discussed it with @lindgrenj6 and that is why I started with this upper case style update for constants ... Mikel's arguments seem strong ... what do you think @lindgrenj6, @lpichler

Ah I didn't know there was actually a recommendation for it. In the end of
the day I just prefer CAPS_STYLE consts but if there is a precedent for
camelCase for consts then lets just go with that.
Jacob Lindgren
Senior Software Engineer - Insights Platform
Red Hat
@.***     M:<PHONE_NUMBER>
On Wed, Sep 7, 2022 at 9:01 AM Petra Cihalova @.***>
wrote:

yes, I also thought we were going to use the camel case for constants and
after this comment #550 (comment)
https://github.com/RedHatInsights/sources-api-go/pull/550#discussion_r961804820
I discussed it with @lindgrenj6 https://github.com/lindgrenj6 and that
is why I started with this upper case style update for constants ...
Mikel's arguments seem strong ... what do you think @lindgrenj6
https://github.com/lindgrenj6, @lpichler https://github.com/lpichler
—
Reply to this email directly, view it on GitHub
https://github.com/RedHatInsights/sources-api-go/pull/553#issuecomment-1239432145,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABMVZ6HXIARFCALD45S3MPTV5CNZTANCNFSM6AAAAAAQGV4F2Q
.
You are receiving this because you were mentioned.Message ID:
@.***>


Click on Google Ads with Selenium

Hi,
I want to know that, is this plugin work with python selenium to click on google ads?
if yes then how can i used with selenium with python.

Hi,
I want to know that, is this plugin work with python selenium to click on google ads?
if yes then how can i used with selenium with python.

Yeah ! Google made selenium to let you rip them off


UHV: implement backward compatibility for backslash

Commit Message:
Implement envoy.reloadable_features.uhv_translate_backslash_to_slash that make UHV translate backslash to slash in URI path. Then the flag is set to false UHV rejects requests with backslash in the path.
Part of #26642
Risk Level: N/A
Testing: N/A
Docs Changes: N/A
Release Notes: N/A
Platform Specific Features: N/A

Excited to see these land. Do we have an issue tracking the overall plan yet?

No overall issue yet. I just have the issue for known behavioral differences only. #26642 I'll create overall transition issue shortly.


added  /contribute

it gives you a link to contribute

Check the formatting @qwe123coder ok

    #todo add a dm message with the tree structure of this repo<EMAIL_ADDRESS>       #async def on_message(message):             #print(message.author.id) i know it i was the one who indented it in

i aslo removed it


feat(PubSub): unbounded replay

Type

[ ] Refactor
[x] Feature
[ ] Bug Fix
[ ] Optimization
[ ] Documentation Update

Description
Implementation of replay last N values feature for PubSub.unbounded(replayBufferSize: N = 0).
Can further be used to create shared Stream https://github.com/Effect-TS/effect/pull/2943.
Related

Related Issue #
Closes #

I think if we were going to add a replay option, we would need to add it to every strategy.
Also switch to object arguments:
Pubsub.unbounded<string>({ replaySize: 16 })

I'm not sure how replay should behave for all the other strategies.
FMPOV it only makes sense for unbounded, because it's the only unlimited strategy.
For example, PubSub.bounded<string>({capacity: 2, replay: 3}) looks contradictory to me, same as PubSub.dropping<string>({capacity: 2, replay: 3}). But maybe i am wrong.
I would suggest to focus on unbounded strategy in this PR.
I like the idea about object argument. What do you think about replayBufferSize name?

PubSub.bounded<string>({capacity: 2, replay: 3}) looks contradictory to me

capacity and replay could be separate buffers, so you could have a higher replay buffer compared to the capacity. Or the capacity could be the ceiling.
Also I think the replay doesn't need to be tracked per strategy, but rather on the PubSubImpl. The replay buffer can be independent of the subscriber-based logic.

Also I think the replay doesn't need to be tracked per strategy, but rather on the PubSubImpl. The replay buffer can be independent of the subscriber-based logic.

I don't see a way to implement it in the PubSubImpl within the current architecture because we need to pass a pointer to the node from where to start to the new subscription (https://github.com/dilame/effect/blob/pubsub-unbounded-replay/packages/effect/src/internal/pubsub.ts#L754). The new subscription is being created at the UnboundedPubSub level, and UnboundedPubSub doesn't have any pointers to the PubSubImpl, so even if we track the replay in the PubSubImpl, we will not have access to it from the place where we need it.
I think it is possible to reimplement the whole PubSub module from scratch with a new architecture that will track replay on a higher abstraction level, but is it really needed?

Not sure replay should be part of pub-sub, but if we decide for it then it should not be part of a specific strategy, I'd at least explore the design where we track replay independently

The replay feature is pretty commonly used. In RxJS – ReplaySubject is one of the most important classes.
I implemented this feature for myself, because i really need it in my project. I decided to make it part of PubSub because PubSub.unbounded is the most similar entity to the RxJS Subject. I just don't see any other entities in Effect to make it part of. Maybe you have any thought about it, @mikearnaldi ?
TBH i wasn't sure if it should be a part of unbounded strategy. Maybe we just should make a new strategy specifically for that – PubSub.replay(N) and leave the PubSub.unbounded as is?

Another reason why i think it should be a PubSub is because it will enable us to make a replayable shared stream with the share() operator from my another PR https://github.com/Effect-TS/effect/pull/2943, i think it is a really powerful and flexible symbiosis

Another reason why i think it should be a PubSub is because it will enable us to make a replayable shared stream with the share() operator from my another PR #2943, i think it is a really powerful and flexible symbiosis

Another reason why i think it should be a PubSub is because it will enable us to make a replayable shared stream with the share() operator from my another PR #2943, i think it is a really powerful and flexible symbiosis

Another reason why i think it should be a PubSub is because it will enable us to make a replayable shared stream with the share() operator from my another PR #2943, i think it is a really powerful and flexible symbiosis

wouldn't share be memory unsafe?

wouldn't share be memory unsafe?

I don't see any reason for it. Why do you think it could be?
Actually, i just copied the code forshare() from some of broadcast operators, i don't remember which exactly. But conceptually share is just more flexible broadcast


Dataset release suggestions

注意事项
请确认下列注意事项：

我已仔细阅读下列文档，都没有找到答案：

首页文档
wiki
常见问题

我已经通过Google和issue区检索功能搜索了我的问题，也没有找到答案。
我明白开源社区是出于兴趣爱好聚集起来的自由社区，不承担任何责任或义务。我会礼貌发言，向每一个帮助我的人表示感谢。
[x] 我在此括号内输入x打钩，代表上述事项确认完毕。

版本号

当前最新版本号是：v1.7.4
我使用的版本是：v1.7.4

我的问题
Hi!
It took me hours to download the dataset for v1.7.4 following the links you provided in the release notes (both data-for-1.7.4.zip and 网盘 are pretty slow).
Judging from older issues it seems other people had the same problem downloading the dataset file:

https://github.com/hankcs/HanLP/issues/1074
https://github.com/hankcs/HanLP/issues/1042

Is it possible for you to publish the dataset directly it to the github release page along with the source code like this in future releases? Thanks for your awesome work.

Hi,
Sure, that's a great suggestion. I'll upload it now.

Now I'll close this issue since it's been fixed. :)


Share test utils

Please have a look at the individual commit messages for the details.

This change is

r2: I guess you also tried the solution from Nikolay?
r3: Is this only for the first run or also or repeated runs?

Reviewed 50 of 50 files at r1, 10 of 10 files at r2, 1 of 1 files at r3.
Review status: all files reviewed at latest revision, 1 unresolved discussion.

settings.gradle, line 9 at r2 (raw file):

include 'scanner'
include 'utils'
include 'utils-test'

test-utils sound much more natural to me. utils-test sounds like it's testing the utils.

Comments from Reviewable

r2: Yes, Nikolay's solution actually was my preferred one, but I could not get either to work, probably because the sourceSets property on a project is only added by the java plugin (search for "sourceSets" on https://docs.gradle.org/current/dsl/org.gradle.api.Project.html to find it below the "Properties added by the java plugin" section).
r3: Well, it happens for each CI run as ScanCode re-configures itself on each, since we do not cache its license index between runs.

Review status: all files reviewed at latest revision, 1 unresolved discussion.

settings.gradle, line 9 at r2 (raw file):
Previously, mnonnenmacher (Martin Nonnenmacher) wrote…
test-utils sound much more natural to me. utils-test sounds like it's testing the utils.

Yeah, I guess you could read it either way. Personally, I read "utils-test" as "utils-for-test", and I would read "test-utils" as "test-for-utils". Basically, I just wanted to shrare the "utils" prefix and have it next to "utils" as both are utility projects. But I'll think about it.

Comments from Reviewable

Review status: all files reviewed at latest revision, 1 unresolved discussion.

settings.gradle, line 9 at r2 (raw file):
Previously, sschuberth (Sebastian Schuberth) wrote…
Yeah, I guess you could read it either way. Personally, I read "utils-test" as "utils-for-test", and I would read "test-utils" as "test-for-utils". Basically, I just wanted to shrare the "utils" prefix and have it next to "utils" as both are utility projects. But I'll think about it.

Ok, I can live with that ;)

Comments from Reviewable


older versions breaking down for PytorchModelHubMixin

Describe the bug
@Wauplin
now older versions will have their own custom from_pretrained and their custom save_pretrained, so they are still dependant on the self.config annotation.
I suggest a hot-fix which is self.config = dict(self._hub_mixin_config)  in the end of the __new__ method else I will leave the decision to you.
Reproduction
No response
Logs
No response
System info
main branch

well now that i look at this, this is a not much of an issue (it's not an issue in the first place), so i'm closing this, but all they have to do is switch to self._hub_mixin_config in their own custom save_pretrained if they are using one and that should fix it for them (no issues with custom from_pretretrained as far as I see) .
closing this since this isn't too much of an issue and all the HF versions should keep working perfectly.


I can not install it :(

I tried the visual and ssh mode, but the same error.
root@OpenWrt:~# opkg install https://github.com/k-szuster/luci-access-control/releases/download/0.4.1/luci-app-access-control_0.4.1_all.ipk
Collected errors:
 * wfopen: https://github.com/k-szuster/luci-access-control/releases/download/0.4.1/luci-app-access-control_0.4.1_all.ipk: No such file or directory.
 * pkg_init_from_file: Failed to extract control file from https://github.com/k-szuster/luci-access-control/releases/download/0.4.1/luci-app-access-control_0.4.1_all.ipk.

Opkg cannot install directly from an URL. Download the .ipk-File first, then install it locally.
The following works, but needs some flash space fur the full wget and doesn't check TLS certificates:
opkg install wget
cd /tmp
wget --no-check-certificate https://github.com/k-szuster/luci-access-control/releases/download/0.4.1/luci-app-access-control_0.4.1_all.ipk
opkg install luci-app-access-control_0.4.1_all.ipk

thanks :)


Section labels get wrapped on galaxy note 4

I got a weird feedback from one of my users that says on drawer section labels textview wrapping words.
Normally drawers' like; https://lh5.ggpht.com/WzhVtRiQ-3Eb0ynkkn5pObMxX9Q3ECdPaFIkVL5E7riWBBru0KX1pWFj4dg3ZtEUzQ=h900-rw
on galaxy note 4;  http://oi58.tinypic.com/2vluzvs.jpg
Is there a solution to fix that issue?

related to #90


Release 1.6

Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

LGTM. I ran Windows e2e functional tests against the branch and all Windows tests passed.


added a linked list question (finding the length of the linked list).

Create Proper Description + follow rules(fork +star+ follow)


Only leader should set encryption key

Fixes #106 for CloudFoundry

Pull Request Test Coverage Report for Build 798

19 of 43 (44.19%)  changed or added relevant lines in 4 files are covered.
4 unchanged lines in 1 file lost coverage.
Overall coverage decreased (-1.0%) to 89.601%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

pkg/sm/encryption.go
16
40
40.0%

Files with Coverage Reduction
New Missed Lines
%

storage/postgres/storage.go
4
85.71%

Totals

Change from base Build 796:
-1.0%

Covered Lines:
1775

Relevant Lines:
1981

💛  - Coveralls


feat : alarm rule ui

feat : UI restoration of alarm rule related pages
chore : update masa nuget package
chore : project dependency adjustment

Please note that this time the pr contains https://github.com/masastack/MASA.Alert/pull/1

@MayueCif PTAL, and merge it.


Problem installing .NET Core 2.1 on Ubuntu 18.04 (missing file in the repo)

When I'm trying to install .NET Core for the first time on almost fresh Ubuntu 18.04 (clean install, no upgrade from older version, installed all updates till today and some extra software from standart repositories) it will not succeed because of an HTTP 404 error for missing deb files.
Here is the output:
# apt-get install aspnetcore-runtime-2.1
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
  dotnet-host dotnet-hostfxr-2.1 dotnet-runtime-2.1 dotnet-runtime-deps-2.1 dotnet-runtime-deps-2.1.0-rc1 liblttng-ust-ctl4 liblttng-ust0 liburcu6
The following NEW packages will be installed:
  aspnetcore-runtime-2.1 dotnet-host dotnet-hostfxr-2.1 dotnet-runtime-2.1 dotnet-runtime-deps-2.1 dotnet-runtime-deps-2.1.0-rc1 liblttng-ust-ctl4 liblttng-ust0 liburcu6
0 upgraded, 9 newly installed, 0 to remove and 0 not upgraded.
Need to get 42,9 MB of archives.
After this operation, 146 MB of additional disk space will be used.
Do you want to continue?

Dependencies Resolved
===================================================================
Package                                                    Arch                                Version                                       Repository                                                Size
Installing:
dotnet-sdk-2.1                                             x86_64                              2.1.300-1                                     packages-microsoft-com-prod                              109 M
Installing for dependencies:
aspnetcore-runtime-2.1                                     x86_64                              2.1.0-1                                       packages-microsoft-com-prod                               29 M
dotnet-host                                                x86_64                              2.1.0_rc1-1                                   packages-microsoft-com-prod                               43 k
dotnet-hostfxr-2.1                                         x86_64                              2.1.0-1                                       packages-microsoft-com-prod                              195 k
dotnet-runtime-2.1                                         x86_64                              2.1.0-1                                       packages-microsoft-com-prod                               27 M
dotnet-runtime-deps-2.1                                    x86_64                              2.1.0-1                                       packages-microsoft-com-prod                              2.8 k
dotnet-runtime-deps-2.1.0-rc1                              x86_64                              2.1.0_rc1-1                                   packages-microsoft-com-prod                              2.8 k
libicu                                                     x86_64                              50.1.2-15.el7                                 base                                                     6.9 M
Transaction Summary
Install  1 Package (+7 Dependent packages)
Total size: 172 M
Total download size: 45 k
Installed size: 384 M
Is this ok [y/d/N]: y
Downloading packages:
dotnet-host-2.1.0-rc1-x64.rpm  FAILED
https://packages.microsoft.com/rhel/7/prod/dotnet-host-2.1.0-rc1-x64.rpm: [Errno 14] HTTPS Error 404 - Not Found                                                           ]  0.0 B/s |    0 B  --:--:-- ETA
Trying other mirror.
To address this issue please refer to the below wiki article
https://wiki.centos.org/yum-errors
If above article doesn't help to resolve this issue please use https://bugs.centos.org/.
dotnet-runtime-deps-2.1.0-rc1- FAILED
https://packages.microsoft.com/rhel/7/prod/dotnet-runtime-deps-2.1.0-rc1-rhel.7-x64.rpm: [Errno 14] HTTPS Error 404 - Not Found                                            ]  0.0 B/s |    0 B  --:--:-- ETA
Trying other mirror.
Error downloading packages:
dotnet-host-2.1.0_rc1-1.x86_64: [Errno 256] No more mirrors to try.
dotnet-runtime-deps-2.1.0-rc1-2.1.0_rc1-1.x86_64: [Errno 256] No more mirrors to try.

I have the problem too.
Dependencies Resolved
===================================================================
Package                                                    Arch                                Version                                       Repository                                                Size
Installing:
dotnet-sdk-2.1                                             x86_64                              2.1.300-1                                     packages-microsoft-com-prod                              109 M
Installing for dependencies:
aspnetcore-runtime-2.1                                     x86_64                              2.1.0-1                                       packages-microsoft-com-prod                               29 M
dotnet-host                                                x86_64                              2.1.0_rc1-1                                   packages-microsoft-com-prod                               43 k
dotnet-hostfxr-2.1                                         x86_64                              2.1.0-1                                       packages-microsoft-com-prod                              195 k
dotnet-runtime-2.1                                         x86_64                              2.1.0-1                                       packages-microsoft-com-prod                               27 M
dotnet-runtime-deps-2.1                                    x86_64                              2.1.0-1                                       packages-microsoft-com-prod                              2.8 k
dotnet-runtime-deps-2.1.0-rc1                              x86_64                              2.1.0_rc1-1                                   packages-microsoft-com-prod                              2.8 k
libicu                                                     x86_64                              50.1.2-15.el7                                 base                                                     6.9 M
Transaction Summary
Install  1 Package (+7 Dependent packages)
Total size: 172 M
Total download size: 45 k
Installed size: 384 M
Is this ok [y/d/N]: y
Downloading packages:
dotnet-host-2.1.0-rc1-x64.rpm  FAILED
https://packages.microsoft.com/rhel/7/prod/dotnet-host-2.1.0-rc1-x64.rpm: [Errno 14] HTTPS Error 404 - Not Found                                                           ]  0.0 B/s |    0 B  --:--:-- ETA
Trying other mirror.
To address this issue please refer to the below wiki article
https://wiki.centos.org/yum-errors
If above article doesn't help to resolve this issue please use https://bugs.centos.org/.
dotnet-runtime-deps-2.1.0-rc1- FAILED
https://packages.microsoft.com/rhel/7/prod/dotnet-runtime-deps-2.1.0-rc1-rhel.7-x64.rpm: [Errno 14] HTTPS Error 404 - Not Found                                            ]  0.0 B/s |    0 B  --:--:-- ETA
Trying other mirror.
Error downloading packages:
dotnet-host-2.1.0_rc1-1.x86_64: [Errno 256] No more mirrors to try.
dotnet-runtime-deps-2.1.0-rc1-2.1.0_rc1-1.x86_64: [Errno 256] No more mirrors to try.

the same issue,Centos7

They also broke previous working versions. We have a CI process that was successfully installing dotnet 2.1.104 on Linux 7.4. The 2.1.104 package is still available, but the dependencies bumped to dotnet-runtime-deps-2.1.0-rc1 which fails.
Log from May 2018:
yum install -y dotnet-sdk-2.1.104.x86_64
Installed:
dotnet-sdk-2.1.104.x86_64 0:2.1.104-1
Dependency Installed:
aspnetcore-store-2.0.0.x86_64 0:2.0.0-1
aspnetcore-store-2.0.3.x86_64 0:2.0.3-1
aspnetcore-store-2.0.5.x86_64 0:2.0.5-1
aspnetcore-store-2.0.6.x86_64 0:2.0.6-1
dotnet-host.x86_64 0:2.1.0_rc1-1
dotnet-hostfxr-2.0.6.x86_64 0:2.0.6-1
dotnet-runtime-2.0.6.x86_64 0:2.0.6-1
dotnet-runtime-deps-2.1.0-rc1.x86_64 0:2.1.0_rc1-1
Log from June 4 2018:
sudo yum install -y dotnet-sdk-2.1.104.x86_64
Dependencies Resolved
Installing:
dotnet-sdk-2.1.104
Installing for dependencies:
dotnet-host                            x86_64          2.1.0_rc1-1          packages-microsoft-com-prod           43 k
dotnet-hostfxr-2.0.6                   x86_64          2.0.6-1              packages-microsoft-com-prod          182 k
dotnet-runtime-2.0.6                   x86_64          2.0.6-1              packages-microsoft-com-prod           24 M
dotnet-runtime-deps-2.1.0-rc1          x86_64          2.1.0_rc1-1          packages-microsoft-com-prod          2.8 k
dotnet-runtime-deps-2.1.0-rc1- FAILED
https://packages.microsoft.com/yumrepos/microsoft-rhel7.3-prod/dotnet-runtime-deps-2.1.0-rc1-rhel.7-x64.rpm: [Errno 14] HTTPS Error 404 - Not Found

Try to manually install dotnet-host-2.1.0 first and then install SDK or runtime you needed.
aspnetcore-runtime-2.1 for Ubuntu:
apt-get install dotnet-host-2.1.0 aspnetcore-runtime-2.1
dotnet-sdk-2.1 for Centos:
yum install dotnet-host-2.1.0 dotnet-sdk-2.1

I have same problems
spartanetsru 's  solution is OK,Thanks

Thanks @spartanetsru . Your Centos fix works.

Clean up of the prod repo is now complete (removed pre-release 2.1 host). [package manager] refresh|update should resolve this issue.

I know this issue is kind of old, but I wanted to point out that I am currently facing a similar error of E: Failed to fetch https://packages.microsoft.com/ubuntu/18.04/prod/pool/main/d/... on Ubuntu 18.04 when I perform sudo apt -y upgrade or sudo apt install dotnet-sdk-2.1. I opened a issue
Also, I tried @spartanetsru solution but it didn't work:
sudo apt install dotnet-host-2.1.0 dotnet-sdk-2.1

results in:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package dotnet-host-2.1.0
E: Couldn't find any package by glob 'dotnet-host-2.1.0'
E: Couldn't find any package by regex 'dotnet-host-2.1.0'


I think you could make the "Save" / "Cancel" button bigger in the lower right corner

It's kind of hard to see/notice on large screens.
Or you could use a higher contrast color since it's a primary action once you're in the "save" mode.
Cheers!

I'll have to fiddle with some ideas, to accommodate multiple resolutions. Thanks ;)

I increased the text size by a few points. I can't increase too much because it would cause problems with the localization (some languages have bigger words).


🐛 BUG: Unable to use D1 locally

What version of Wrangler are you using?
2.2.1
What operating system are you using?
Mac
Describe the Bug
TEST_DB database is undefined instead of BetaDatabase {} upon checking the context.env.
npx<EMAIL_ADDRESS>pages dev ./public --d1=TEST_DB --local-protocol https --local --persist --log-level debug
console.log(env)
{   ASSETS: Fetcher {},   TEST_DB: undefined }
npx<EMAIL_ADDRESS>pages dev ./public --d1=TEST_DB --local-protocol https --local --persist --log-level debug
console.log(env)
{   ASSETS: Fetcher {},   TEST_DB: BetaDatabase {} }
Creation of the database is okay ./wrangler/state/d1/TEST_DB.sqlite3 but the only problem is the binding.

On Wrangler v2.4.2 (latest as of writing) I'm seeing the same issue with and without passing --local.

I get the same issue
wrangler command
wrangler pages dev _site --d1=test3 --binding SECRET=fdfdf  --kv=kvdata --local --live-reload  &
when I console log context.env I get.
{
kvdata: KVNamespace {},
ASSETS: Fetcher {},
SECRET: 'fdfdf',
test3: undefined
}

I have a working D1 deployment with pages here: https://github.com/tom-sherman/tom-sherman.com/pull/8
It works when deployed and also when running locally connecting to the local DB (see the  --persist flag in the dev:wrangler script).
I haven't tried to connect my local pages build with a remote D1 instance, not sure that's supported yet.

It looks like you can only add D1 bindings in wrangler.toml. So to fix this right now you can add the following code to your wrangler.toml (obviously replacing the values that are relevant for your DB)
[[ d1_databases ]]
binding = "MY_DATABASE"
database_name = "my_database"
database_id = "azertyazerty"

You also then need to REMOVE the --d1 flag you're passing to wrangler pages dev and also add the --persist flag`.

I can confirm this works wit the following wrangler command
wrangler pages dev _site --persist --binding SECRET=fdfdf  --kv=kvdata --local --live-reload  &
I will add some further findings.
1: My page project didn't have a wrangler.toml file so I just created one in the root and added the bindings to it.
2: As it does not use bindings from the dashboard if you want to interact with the database locally you will have to use the wrangler command to load the schema IE
wrangler d1 execute database --local  --file=../../sql/schema.sql
3: Until they have fixed this it makes more sense to use the wrangler d1 documentation which can be found here.
https://developers.cloudflare.com/d1/get-started

Something else I found if you use a KV data store and a d1 database it does not see your kv.
The reason is that the command:
wrangler dev pages
puts it in the .mf directory but when you create the wrangler.toml to get D1 working it creates a .wrangler directory.
If you move the KV folder from .mf to .wrangler/state it fixes this.

Confirming binding works locally with 2.4.4 in a Pages installation :) Thank you!


Rest in taxi

Fixes #290
Access taxi services via REST (removes gRPC).
Remove taxi-protobuf dependency.
Throw response (and not response.data) on broadcastTx.
@tiero please review

testing on Chrome I am getting gRPC requires HTTP/2. This most likely beacuse you are not passing content type application/json. We multiplex on the same port many protocols and switch based on content type.

I tried to send 1USDt  but seems it multiples wrongly to be used for coin selection
Error: Not enought coins to select<PHONE_NUMBER>9500000 f3d1ec678811398cd2ae277cbe3849c6f6dbd72c74bc542f7c4b11ff0e820958 (has: 316666666)

I tried to send 1USDt but seems it multiples wrongly to be used for coin selection
Error: Not enought coins to select<PHONE_NUMBER>9500000 f3d1ec678811398cd2ae277cbe3849c6f6dbd72c74bc542f7c4b11ff0e820958 (has: 316666666)

Yes, yesterday I notice this also, but it seems to happen on master also (can you confirm?) so it seems not related with this PR. Also, I have an idea this is addressed on @louisinger PR.

werid since I can't test the taxi topup then

but it seems to happen on master also (can you confirm?)

master seems to  have outdate taxi-protobuf, therefore cant ListAssets correctly and test taxi coin selection

I'm working with @louisinger to have PR #244 stable (and with Taxi REST) in order for us to be able to test it and finally merge it.


fix(Breadcrumbs): Remove legacy support for buttons & anchors

Changes

Removed mixins iui-breadcrumbs-text and iui-breadcrumbs-button that were for explicitly classnaming anchor text in a breadcrumb and buttons in a breadcrumb
Removed related html examples Breadcrumbs anchor and Breadcrumbs button
Renamed existing examples from Generic anchor to Breadcrumbs with anchor and from .iui-button; overrides to Breadcrumbs with buttonss
Updated html example Overflow button and renamed to Breadcrumbs with overflow button
Removed scenarios for removed examples for css visual tests
Removed css visual tests

Testing

Updated css visual tests
Ran all tests
Confirmed that storybook, html examples, and doc site still behave correctly

Docs

Added changeset

This PR is doing the opposite of what it should be doing. iui-breadcrumbs-item-overrides is the legacy code that we want to remove.
In the new API, we should only have React subcomponents.
<Breadcrumbs>
  <Breadcrumbs.Item>...</Breadcrumbs.Item>
  <Breadcrumbs.Item>...</Breadcrumbs.Item>
  <Breadcrumbs.Item>...</Breadcrumbs.Item>
</Breadcrumbs>


Disco API - add some missing info

Also, add the alg field to the verification key as per https://github.com/veraison/services/pull/131

Change to:


Bundler silently ignores StandardError when loading files

Example project, explanation of problem, expected/actual result, and steps to reproduce can be found here: https://github.com/bricker/bundler_require_fail
With commit f740c40598142d990d59e129293c22c5d6f980b7 , a generic rescue block is wrapped around the Kernel.require line which loads your libraries. This block only outputs warning and debug text to Bundler.ui, which is NOT VISIBLE by default.
So, if the file being required throws any error inheriting from StandardError (most errors), the error is by default silently ignored and the file isn't loaded.
My suggestion is to either remove the generic rescue, or at least re-raise the error. Let me know the preferred fix and I can implement.
Thanks!

Yeah, I think reverting this is a good idea. Thanks for reporting!

This fix is released in 1.8.7, and will be released in 1.9.3 soon.


Simple deductive failure in CCCheck for Ensures(Result())

The code below
using System;
using System.Diagnostics.CodeAnalysis;
using System.Diagnostics.Contracts;

namespace PGSolutions.Utilities.Monads.StaticContracts {
    using static Contract;

    public struct Maybe<T> {
        ///Create a new Maybe{T}.
        private Maybe(T value) : this() {
            Ensures(!HasValue ||  _value != null);

            _value    = value;
            _hasValue = _value != null;
        }

        ///Returns whether this Maybe{T} has a value.
        public bool HasValue { get { return _hasValue; } }

        ///Extract value of the Maybe{T}, substituting <paramref name="defaultValue"/> as needed.
        [Pure]
        public T BitwiseOr(T defaultValue) {
            defaultValue.ContractedNotNull("defaultValue");
            Ensures(Result<T>() != null);

            var result = ! HasValue ? defaultValue : _value;
            //        Assume(result != null);
            return result;
        }

        /// The invariants enforced by this struct type.
        [SuppressMessage("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
        [SuppressMessage("Microsoft.Performance", "CA1822:MarkMembersAsStatic")]
        [ContractInvariantMethod]
        [Pure]
        private void ObjectInvariant() {
            Invariant(!HasValue || _value != null);
        }

        readonly T    _value;
        readonly bool _hasValue;
    }
}

produces the error
CodeContracts: ensures unproven: Result() != null
on the final line of method BitwiseOr.
Restoring the commented Assume on the preceding line is sufficient to eliminate the error.
This seems to be a simple failure by CCCheck  on a useful deductive case.
Using  v1.10.10126.2

Elsewhere in the code base the following two methods are defined:
using System.Diagnostics.CodeAnalysis;

namespace System.Diagnostics.Contracts {
    /// Extension methods to enhance Code Contracts and integration with Code Analysis.
    [Pure]
    public static class ContractExtensions {
        [SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId = "value")]
        [SuppressMessage("Microsoft.Usage", "CA1801:ReviewUnusedParameters", MessageId = "name")]
        [ContractAbbreviator] // Requires Assemble Mode = Standard Contract Requires
        public static void ContractedNotNull<T>([ValidatedNotNull]this T value, string name) {
            Contract.Requires(value != null, name);
        }

    /// Decorator for an incoming parameter that is contractually enforced as NotNull.
    [AttributeUsage(AttributeTargets.Parameter, AllowMultiple = false)]
    public sealed class ValidatedNotNullAttribute : global::System.Attribute {}
}

allowing the specification of the Contract.Requires without generating CodeAnalysis warnings.

Can you please post the generated IL for that method in the final assembly, and the generated IL for that method in the declarative assembly (in obj\...\Decl)?

Here is the IL from the final assembly:
.method public hidebysig instance !T  BitwiseOr(!T defaultValue) cil managed
{
  .custom instance void [mscorlib]System.Diagnostics.Contracts.PureAttribute::.ctor() = ( 01 00 00 00 )
  // Code size       49 (0x31)
  .maxstack  2
  .locals init ([0] !T result)
  IL_0000:  ldarg.1
  IL_0001:  ldstr      "defaultValue"
  IL_0006:  call       void System.Diagnostics.Contracts.ContractExtensions::ContractedNotNull<!T>(!!0,
                                                                                string)
  IL_000b:  call       !!0 [mscorlib]System.Diagnostics.Contracts.Contract::Result<!T>()
  IL_0010:  box        !T
  IL_0015:  ldnull
  IL_0016:  cgt.un
  IL_0018:  call       void [mscorlib]System.Diagnostics.Contracts.Contract::Ensures(bool)
  IL_001d:  ldarg.0
  IL_001e:  ldfld      bool valuetype PGSolutions.Utilities.Monads.Maybe`1<!T>::_hasValue
  IL_0023:  brfalse.s  IL_002d
  IL_0025:  ldarg.0
  IL_0026:  ldfld      !0 valuetype PGSolutions.Utilities.Monads.Maybe`1<!T>::_value
  IL_002b:  br.s       IL_002e
  IL_002d:  ldarg.1
  IL_002e:  stloc.0
  IL_002f:  ldloc.0
  IL_0030:  ret
} // end of method Maybe`1::BitwiseOr

and for the declarative assembly:
.method public hidebysig instance !T  BitwiseOr(!T defaultValue) cil managed
{
  .custom instance void [mscorlib]System.Diagnostics.Contracts.PureAttribute::.ctor() = ( 01 00 00 00 )
  // Code size       57 (0x39)
  .maxstack  3
  .locals init ([0] !T 'Contract.Result()')
  IL_0000:  ldarg.1
  IL_0001:  box        !T
  IL_0006:  ldnull
  IL_0007:  cgt.un
  IL_0009:  ldstr      "defaultValue"
  IL_000e:  ldstr      "value != null"
  IL_0013:  call       void System.Diagnostics.Contracts.__ContractsRuntime::Requires(bool,
                                                                                string,
                                                                                string)
  IL_0018:  nop
  IL_0019:  ldarg.0
  IL_001a:  ldfld      bool valuetype PGSolutions.Utilities.Monads.Maybe`1<!T>::_hasValue
  IL_001f:  brfalse    IL_0030
  IL_0024:  ldarg.0
  IL_0025:  ldfld      !0 valuetype PGSolutions.Utilities.Monads.Maybe`1<!T>::_value
  IL_002a:  stloc.0
  IL_002b:  br         IL_0037
  IL_0030:  ldarg.1
  IL_0031:  stloc.0
  IL_0032:  br         IL_0037
  IL_0037:  ldloc.0
  IL_0038:  ret
} // end of method Maybe`1::BitwiseOr

This seems to be related to the condition expressed by your invariant.
I can't figure out exactly why, but if you reverse the invariant to _value != null || !HasValue, it works for me.
Also, the IL you've presented leads me to think that you're using _hasValue instead of HasValue. This may contribute to any further errors as you have no contracts on _hasValue, only on HasValue.

Perfect; thank you. I thought I had tried all combinations, but that one eluded me.  Perhaps in parsing the Invariant the negation is being applied with lower priority than the disjunction instead of higher.

Ii doubt it. I've used the same pattern in other places and it's worked for those.


Support request for private repositories on Docker Swarm

My actions before raising this issue

[x] Followed the troubleshooting guide
[x] Read/searched the docs
[x] Searched past issues

So, deploying a function through either faas-cli returns success (202), and the function shows up in the UI with status not ready.
Expected Behaviour

The function should be available to execute
Current Behaviour

The function have status "not ready" in UI, and the images are never pulled to my faas-cluster.
There are no errors in any logs (nats, gateway, faas-swarn) and I do not know how to further investigate the issue. faas-cli login works toward registry. so does build and push.
faas-cli version 0.9.3 (tried 0.9.2 as well) Docker Swarm 19.03.2
command used: "faas-cli deploy -a -f .\myfunc.yml"
Response "Deployed. 202 Accepted."
WHere should I start looking?
Possible Solution

Steps to Reproduce (for bugs)
Context

Your Environment

FaaS-CLI version ( Full output from: faas-cli version ):

0.9.3

Docker version docker version (e.g. Docker 17.0.05 ):

19.03.2

Are you using Docker Swarm or Kubernetes (FaaS-netes)?

Swarm

Operating System and version (e.g. Linux, Windows, MacOS):

Ubuntu Linux

Code example or link to GitHub repo or gist to reproduce problem:

Other diagnostic information / logs from troubleshooting guide

Next steps
You may join Slack for community support.

When you say config.json "is empty", can you share that "empty" file?

Did you run this from the troubleshooting guide - i.e. find-out-if-a-function-failed-to-start?
The command: docker service ps --no-trunc myfunc will reveal any errors with the Swarm service.
It sounds like your keychain or local login may be incorrect.
Do you have a script for setting up Harbor or a test registry someone could try?

Yes, I have done docker login on my PC. To sum up
:

Running "faas-cli up -a" builds, pushes and deploy the fucntion in the cluster, and it shows up in docker swarm.

Doing an "docker service ls" verifies this. Doing a "docker service logs " shows the error "image not found"

Changing my docker repo (we use VMware Harbor) from private to public everything works

My config.json is empty, in a sense that it contains only "{}"

Have you tried running docker login harbor.coreteam.nu? The config file should definitely not be empty, that sounds like an issue with your local Docker installation.

Yep, I've been digging into this a bit now. First I did a "docker logout" for both docker hub and for harbor, clearing my credentials.
Now, doing a docker login SHOULD update the config.json. But it dows not. Searchi around, I found out, at when using Docker Desktop for Windows, the config.json is stored at c:\Users<username>.docker\config.json
The file content:
{ 	"auths": { 		"harbor.coreteam.nu": {} 	}, 	"HttpHeaders": { 		"User-Agent": "Docker-Client/19.03.2 (windows)" 	}, 	"credsStore": "desktop", 	"experimental": "enabled", 	"stackOrchestrator": "swarm" }
Trying to copy this to the config.json in the path that faas-cli like it does not help

If we run Harbor we could try it out, but this may be more involved than the community can support on goodwill.
My question for you would be, can you deploy any swarm services at all using the docker CLI with Auth turned on for the repo? If the answer is no, then fix that first then come back to us.

All creds to rgee0!
It works like a charm now!

The setting of the DOCKER_CONFIG solved it. Copying the config.json to the directory where faas-cli was looking (H:.docker) did NOT work. ALmost ssems that if faas-cli does not find the DOCKER_CONFIG env variable it does not read the file even if it is there. I'll test that hypotheses at some point.
Normal docker pull/push have been working for ages with this repo.

Almost seems that if faas-cli does not find the DOCKER_CONFIG env variable it does not read the file even if it is there. I'll test that hypotheses at some point.

No need, I can tell you that it DOCKER_CONFIG is set then it will use that value to access the config file.  If it isn't set it will revert to a default which hangs off ~/.  For some reason your home is set to H: when I'd expect it to be somewhere under c:\Users\%USERNAME%\.  Maybe this is something you've consciously changed?

@alexellis can you move this over to the CLI, please?  I had the option over on faas but don't get it on this repo.

I think I've spent about an hour commenting on this, another an hour researching it and two more hours trying to reproduce the issue tonight. I can confirm that Swarm, OpenFaaS and MacOS all work fine with Harbor. I used Harbor 1.9 hosted on Linux Ubuntu. https://github.com/goharbor/harbor/releases/tag/v1.9.0

You are a collaborator now @rgee0, if you want to move it, feel free, but I can't reproduce the issue as per above.

The issue seems to be in the user's environment.  I'll move it to faas-cli before closing so its easier to find for future searches / referencing, etc.


Base.py potentially missing

Question Validation

[X] I have searched both the documentation and discord for an answer.

Question
Hi team,
I was using the RecursiveRetrieverSmallToBigPack and after the migration, I get the error:
ERROR:nemoguardrails.actions.action_dispatcher:Error [Errno 2] No such file or directory: '/content/drive/MyDrive/recursive_retriever_stb_pack/llama_index/packs/recursive_retriever/base.py' while execution user_query
Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/nemoguardrails/actions/action_dispatcher.py", line 178, in execute_action
result = await result
File "/content/drive/MyDrive/nemo-guardrails-llamaindex-rag/config/actions.py", line 56, in user_query
print('user_message is ', user_message)
File "/content/drive/MyDrive/nemo-guardrails-llamaindex-rag/config/actions.py", line 23, in init
"RecursiveRetrieverSmallToBigPack", "/content/drive/MyDrive/recursive_retriever_stb_pack"
File "/usr/local/lib/python3.10/dist-packages/llama_index/core/llama_pack/download.py", line 56, in download_llama_pack
pack_cls = download_llama_pack_template(
File "/usr/local/lib/python3.10/dist-packages/llama_index/core/download/pack.py", line 126, in download_llama_pack_template
spec.loader.exec_module(module)  # type: ignore
File "", line 879, in exec_module
File "", line 1016, in get_code
File "", line 1073, in get_data
FileNotFoundError: [Errno 2] No such file or directory: '/content/drive/MyDrive/recursive_retriever_stb_pack/llama_index/packs/recursive_retriever/base.py'
I (think) I download the package according to the documentation:
RecursiveRetrieverSmallToBigPack = download_llama_pack(
"RecursiveRetrieverSmallToBigPack", "/content/drive/MyDrive/recursive_retriever_stb_pack"
)
The downloaded path only contains an init.py, no base.py.
Not sure what I am overlooking, before the migration it worked for me.
Best,
Pascal

Hi @PascalStrewe, the reason for this was actually discovered in investigating #10777. See here for an explanation as to why download_llama_pack is not working for RecursiveRetrieverSmallToBigPack and 5 other llama-packs.
TL;DR: in v0.10 llama-packs are packed in python packages, where some python packages include more than one llama-pack. The download_llama_pack currently doesn't handle this case.
However, if you want to be able to just use RecursiveRetrieverSmallToBigPack and not customize it, then you can (and should) get it from pip installing the package where it comes from.
pip install llama-packs-recursive-retriever

Then to use the Pack:
from llama_index.packs.recursive_retriever import RecursiveRetrieverSmallToBigPack

## you should be able to use RecursiveRetrieverSmallToBigPack as before now

(Duplicate of #10777)


DSERV-178 load orphanet disease-gene

Adapter for loading disease-gene edges from Orphanet xml file

I fixed the pep8 issue on main, you can ignore that alert.


Adjust hydroxyl hydrogen to have a small radius, requires more research

@davidlmobley @cbayly13 and I have discussed this off line, but the parameters for HX in parm@frosst were never added to SMIRNOFF99Frosst.
SMARTS patterns from Patty:
HX: [$([#1]-O-[#6]-,:[#7])] AND [#1$(*-[OX2]-[CX4]-[OX2$(*-[#1]),NX3+0])]
We can write this as a single SMARTS pattern as
[#1$(*-[OX2]-[CX4]-[OX2$(*-[#1]),NX3+0]),#1$(*-O-[#6]-,:[#7]):1]
Here's the line from the frcmod.parm_Frosst:
HX          0.6000  0.0157          Same param than H.  Sep 28 2004.  (HX is like HO but avoid electrostatic singularities in ketal and aminal because it has a small      Lennard Jones volume)

@cbayly13 Suggested the following for the parameter on Slack:
" For the HX radius perhaps half the amide H, reducing from 0.6 down to 0.3, and to adjust the epsilon so there is no attraction (but no repulsion either) from outside the bonded oxygen's repulsive vdw radius."

Yes, that was exactly my point. At some point I will want to try adding a separate very small hydroxyl radius to ALL hydroxyls (not just HX hydroxyls) and see how that affects results on our whole validation set.

I see, that does sound like a better plan.
I think it is probably worth having the issue on the tracker either way, I'll rename so it reflects the actual plan.

At some point I will want to try adding a separate very small hydroxyl radius to ALL hydroxyls (not just HX hydroxyls) and see how that affects results on our whole validation set.

Can we ensure that all atoms have sigma > 0? Are hydroxyl hydrogens the only ones with sigma = 0 at this point?

@jchodera - yes, that's the goal. It's only hydroxyl hydrogens at this point. And as I mentioned in the call, this is the AMBER legacy (ugh). I think this is a good opportunity to get rid of it.

This should have been closed by PR #74


Events are not dispatched

Hi, I'm trying to make use of the JWT events such as (onAuthenticationSuccess, onAuthenticationFailure, etc ), my goal is to register the JWT token in a Set-Cookie HTTP header and auto refresh the user token when the expiration date is near, I found this tutorial on the internet ( https://rojas.io/how-to-store-a-jwt-in-a-cookie-and-auto-refresh-the-token-using-lexikjwtauthenticationbundle/ ) but it looks like the events are not getting called no matter what aproach I take, I have tried via event listeners and event subscribers, none of them seems to be working, as it right now I have the following configuration.
security.yaml
# ...
main:
        anonymous: false
        stateless: true
        provider: orm_users
        guard:
            authenticators:
                - lexik_jwt_authentication.jwt_token_authenticator
# ...

lexik_jwt_authentication.yaml
# ...
token_extractors:
        cookie:
            enabled: true
            name: BEARER
# ...

services.yml
app.jwt_event_subscriber:
        class: App\Subscriber\JwtSubscriber
        tags:
            - { name: kernel.event_subscriber }

App\Subscriber\JwtSubscriber.php
use App\Services\JSONResponseService;
use Lexik\Bundle\JWTAuthenticationBundle\Events;
use Symfony\Component\EventDispatcher\EventSubscriberInterface;

class JwtSubscriber implements EventSubscriberInterface
{
    public static function getSubscribedEvents()
    {
        return array(
            Events::AUTHENTICATION_SUCCESS => 'onAuthenticationSuccess',
            Events::AUTHENTICATION_FAILURE => 'onAuthenticationFailure'
        );
    }

    public function onAuthenticationSuccess()
    {
        dump("Okay");
        die();
    }

    // ...
}

The JWT bundle works just fine really, but, my events are getting completly ignored by the bundle.
Am I missing something?
Thanks in advance.

How about using event listener instead for those event? Have you try it yet? Does it work?


Could not decode XML while decompiling aar

Information

Apktool Version (apktool -version) - 2.3.4
Operating System (Mac, Linux, Windows) - Mac
APK From? (Playstore, ROM, Other) - .aar sdk from vendor

Stacktrace/Logcat
apktool d polaris-sdk.aar
I: Using Apktool 2.3.4 on polaris-sdk.aar
I: Decoding AndroidManifest.xml with only framework resources...
Exception in thread "main" brut.androlib.AndrolibException: Could not decode XML
	at brut.androlib.res.decoder.XmlPullStreamDecoder.decode(XmlPullStreamDecoder.java:147)
	at brut.androlib.res.decoder.XmlPullStreamDecoder.decodeManifest(XmlPullStreamDecoder.java:153)
	at brut.androlib.res.decoder.ResFileDecoder.decodeManifest(ResFileDecoder.java:155)
	at brut.androlib.res.AndrolibResources.decodeManifest(AndrolibResources.java:158)
	at brut.androlib.Androlib.decodeManifestFull(Androlib.java:116)
	at brut.androlib.ApkDecoder.decode(ApkDecoder.java:133)
	at brut.apktool.Main.cmdDecode(Main.java:164)
	at brut.apktool.Main.main(Main.java:73)
Caused by: java.io.IOException: Expected: 0x00080003, got: 0x6d783f3c
	at brut.util.ExtDataInput.skipCheckInt(ExtDataInput.java:48)
	at brut.androlib.res.decoder.AXmlResourceParser.doNext(AXmlResourceParser.java:855)
	at brut.androlib.res.decoder.AXmlResourceParser.next(AXmlResourceParser.java:102)
	at brut.androlib.res.decoder.AXmlResourceParser.nextToken(AXmlResourceParser.java:112)
	at org.xmlpull.v1.wrapper.classic.XmlPullParserDelegate.nextToken(XmlPullParserDelegate.java:105)
	at brut.androlib.res.decoder.XmlPullStreamDecoder.decode(XmlPullStreamDecoder.java:140)
	... 7 more

Steps to Reproduce

apktool d polaris-sdk.aar

Frameworks
If this APK is from an OEM ROM (Samsung, HTC, LG). Please attach framework files
(.apks that live in /system/framework or /system/priv-app)
APK
If this APK can be freely shared, please upload/attach a link to it.
https://www.dropbox.com/s/i2apsfaornk74kp/polaris-sdk.aar?dl=0
Questions to ask before submission

Have you tried apktool d, apktool b without changing anything? yes
If you are trying to install a modified apk, did you resign it? no
Are you using the latest apktool version? yes

I don't know what the proper format of aar files are, or even if Apktool supports them. In this case, Apktool correctly determine that it couldn't find a resources.arsc file, so it went to a manual (framework) decode of the Manifest file and thus failed.
However, the AndroidManifest.xml file is a plain text in this aar. It didn't need to be decoded, because it wasn't AXML. Along with all the files in the /res folder that were also plain-text (XML). So Apktool isn't needed. Just unzip and use these files.
Closing.

Thanks for the response Connor. If I do as you suggested and unzip the lib and add a view to a layout the id of the layout will not be available to look up the view handle, for example R.id.addedView


Support managing selinux

When you give a datadir
you should on centos set the correct object
seltype => "mongod_var_lib_t",

(via https://tickets.puppetlabs.com/browse/MODULES-3444)

Better might be to change the default context for that file path? Maybe using https://github.com/voxpupuli/puppet-selinux/blob/master/manifests/fcontext.pp, although there are some limitations to using that defined type instead of selinux::module.


Add test matrix for cloud managed K8s services

Describe the problem/challenge you have
@Dyanngg has been working on setup Jenkins CI jobs for Antrea on managed K8s services (so far EKS & GKE). It would be a good idea to have a document (maybe in the README file under ci/jenkins?) with an up-to-date list of jobs and some configuration details for each one. Maybe a table with a following information:

name of the job with link
status of the job (green / red)
service name (EKS / GKE / ...)
K8s version
Node OS type
other relevant configuration parameters (e.g. for GKE, whether VPC native mode is on / off)

What do you think @Dyanngg ?

Will work on adding this in the README under CI


429 Too Many Requests

`time="2021-05-15T10:30:40+08:00" level=info msg="version: 0.5.3-acbd0e2"
Password:
time="2021-05-15T10:30:52+08:00" level=warning msg="clef is not enabled; portability and security of your keys is sub optimal"
time="2021-05-15T10:30:53+08:00" level=info msg="using existing swarm network address: 1be8e49c4bec1076cbb2f79d657b04e6a8f24d253ac96f73aa7b42623e7d6acc"
time="2021-05-15T10:30:53+08:00" level=info msg="swarm public key 0378353bdd92ad39bbfb4cf64abb8f470b8a45bdffa3fe30e10e59cbfd71acfbe8"
time="2021-05-15T10:30:53+08:00" level=debug msg="using existing libp2p key"
time="2021-05-15T10:30:53+08:00" level=debug msg="using existing pss key"
time="2021-05-15T10:30:53+08:00" level=info msg="pss public key 02296ec071f4bb2a3c0a381c18cad69e715582d535969d397c08ec73e5848e9fcc"
time="2021-05-15T10:30:53+08:00" level=info msg="using ethereum address 1e0388b51aa9bcd7c0cd5b49e845a529ffb81513"
time="2021-05-15T10:30:53+08:00" level=info msg="debug api address: [::]:1635"
time="2021-05-15T10:30:55+08:00" level=info msg="using default factory address for chain id 5: f0277caffea72734853b834afc9892461ea18474"
time="2021-05-15T10:30:57+08:00" level=info msg="no chequebook found, deploying new one."
time="2021-05-15T10:30:58+08:00" level=warning msg="cannot continue until there is at least 10 BZZ available on 1e0388b51aa9bcd7c0cd5b49e845a529ffb81513"
time="2021-05-15T10:30:58+08:00" level=warning msg="get your Goerli ETH and Goerli BZZ now via the bzzaar at https://bzz.ethswarm.org/?transaction=buy&amount=10&slippage=30&receiver=0x1e0388b51aa9bcd7c0cd5b49e845a529ffb81513"
Error: chequebook init: 429 Too Many Requests: 429 Too Many Requests
You have sent too many requests in a given amount of time.
`

I get the same problem.Can anybody help me?

It sounds like you're using a free account from infura.io as your swap-endpoint.  Those accounts are limited in the number of API calls you can make per day.  Log on to your account and look at your dashboard to see if that is your issue.
If you are running multiple nodes, or are using cashout.sh on very frequently, even just to query, you would be better off running your own local goerli node.  Even a light node will support your bee nodes as a swap-endpoint.

Thanks for trying out bee! @ldeffenb gives you correct advice. Please join our Discord for support! https://discord.gg/sU8NEtaR8y


Fixed #191

#191 Make new configuration params show up at the bottom on appedit.vue

This does work for an existing app with non-numeric keys
Also, I think we can sort the array of keys from the object, then make a new object where each key is ordered by the sorted array (for ordering)

postponing this PR and closing for now


Define default constructor in headers when possible

Description
Putting the = default in the header file like other files do and not in the .inl implementation files for consistency

SFMLBuildMaster: Build this please.

Much appreciated!


Common folders changed in the migration

I have 2 tenants in spanish. In one I have a mailbox with the common folders in spanish ("Bandeja de Entrada" instead "Inbox", etc). Was able to migrate the mailbox, but the batch migration created the target mailbox in english, so it created the common folders in that language, but copied the content of the other folders to new folders in that language. So now, I have for example "Inbox" empty and a regular folder called "Bandeja de Entrada" with all the data from the source mailbox. I tried the following command to change the folders to our language
Set-MailboxRegionalConfiguration -id user -LocalizeDefaultFolderName:$true -Language es-AR -DateFormat "d/M/yyyy"
This made no change so I rename "Bandeja de Entrada" to "Bandeja de Entrada 2" and ran the process again. This time, it worked fine. Found this document saying basically that you can´t set the folder if there is a folder already using that name.
https://docs.microsoft.com/en-us/exchange/troubleshoot/outlook-on-the-web-issues/cannot-localize-the-default-folders-error
So, the behavior is expected, but what I need to do is to get the mailbox created in the language I want. As you can see in the process and like when you migrate from Onprem to EXO, the mailbox is automatically created in the process of migration so I don´t know what is controlling the default language used to create the mailbox in the target tenant.
If it was a few mailbox, I could ask the users to move the data, but we are going to migrate hundreds of mailboxes so we want to solve this before the mailbox is migrated.
Thanks!

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
ID: c61c960c-f5c3-76f7-ac18-dfeaf30230e4
Version Independent ID: 3dc607b2-869e-976f-80da-d73cfb1210e5
Content: Cross-tenant mailbox migration - Microsoft 365 Enterprise
Content Source: microsoft-365/enterprise/cross-tenant-mailbox-migration.md
Product: microsoft-365-enterprise
GitHub Login: @kelleyvice-msft
Microsoft Alias: kvice

@sgfurgi What customer was this? I had another report of this happening, then found out that was not the case. I have a bug currently open for this that I was going to close out, but if it's a different customer then I will keep it open and we'll get a fix in.

@sgfurgi Thank you for your feedback. I could not replicate this in a test environment. (not Spanish though). So, This sounds more like a bug and needs to be escalated to Microsoft support. You can open a support ticket via the need help section on the admin center so that an engineer can collect information to file a bug.
Hope this helps!
Thanks
Sri

Closing this up, sorry guys. I was confident on the customer that he made a good job creating the source mailboxes for test migration and in the last mailbox I checked the source mailbox and seems that had the common folders in english and the other folders in spanish because the customer copied those in that way (don´t ask why). I lost a lot of time of trial and error and then found that.