Help using Conversation in Command

I need Help With using Conversation in Command ...
I work on command That ask user to Enter Mobile Number and store it in mysql DataBase ..

this is My Code
`<?php
/**

This file is part of the TelegramBot package.

(c) Avtandil Kikabidze aka LONGMAN<EMAIL_ADDRESS>
For the full copyright and license information, please view the LICENSE
file that was distributed with this source code.
*/

namespace Longman\TelegramBot\Commands\UserCommands;
use Longman\TelegramBot\Conversation;
use Longman\TelegramBot\Commands\UserCommand;
use Longman\TelegramBot\Entities\Keyboard;
use Longman\TelegramBot\Request;
use Longman\TelegramBot\Commands\View_Studnet;
use Longman\TelegramBot\Commands\View_TelegramUser;
use Longman\TelegramBot\Commands\HelpCommand;
use Longman\TelegramBot\Commands\WhoamiCommand;
/**

User "/forcereply" command

Force a reply to a message.
/
class PhoneNumberCommand extends UserCommand
{
/*

@var string
*/
protected $name = 'phonenumber';

/**

@var string
*/
protected $description = 'الحصول على رقم هاتف المفعل عليه التلغرام';

/**

@var string
*/
protected $usage = '/phonenumber';

protected $need_mysql = true;
protected $conversation;
/**

@var string
*/
protected $version = '0.1.0';

/**

Command execute method

@return \Longman\TelegramBot\Entities\ServerResponse

@throws \Longman\TelegramBot\Exception\TelegramException
*/
public function execute()
{
$chat_id = null;
$first_name= null;
$LastName = null;
$user_id= null;
$message_id = null;
$Username = null;
$from  = null;
$phone= null;
$message = null;
$text =null;
$chat = null;
try {
 $message = $this->getMessage();
 $chat = $message->getChat();
 $text    = trim($message->getText(true));
 $chat_id    = $message->getChat()->getId();
 $first_name= $message->getChat()->getFirstName();
 $from       = $message->getFrom();
 $user_id    = $from->getId();
 $message_id = $message->getMessageId();
 $FirstName  = $from->getFirstName();
 $LastName   = $from->getLastName();
 $Username   = $from->getUsername();
 $message = $this->getMessage();            // Get Message object

}
catch(Exception $e) {
echo 'Message: ' .$e->getMessage();
}
if ($chat->isGroupChat() || $chat->isSuperGroup()) {
//reply to message id is applied by default
//Force reply is applied by default so it can work with privacy on
$data['reply_markup'] = Keyboard::forceReply(['selective' => true]);
}
$data = [
'chat_id' => $chat_id,
];
$this->conversation = new Conversation($user_id, $chat_id, 'phonenumber');
$result = Request::emptyResponse();
$notes = &$this->conversation->notes;
!is_array($notes) && $notes = [];
//cache data from the tracking session if any
$state = 0;
if (isset($notes['state'])) {
$state = $notes['state'];
}
$notes['state'] = 0;
$this->conversation->update();
     if ($text === '') {
         $data['text']         = 'Please Enter The Phone Number';

         $result =Request::sendMessage($data);

     }else

{
$data['text']         = ' ALL Right >>User Enter The Phone';
 $result =Request::sendMessage($data);
 $this->conversation->stop();

}
 return $result;

}
}
`

please help me noplanman #

Hi @mhdreem
First of all, you can clean up that command a lot, there seems to be a lot of unnecessary code in there. I've taken the liberty to rewrite and free it up a bit, see below.
What exactly wasn't working with your command?
The main thing that needs to be in place for the conversations to work, is a GenericmessageCommand.
Note, if you don't have an own GenericmessageCommand you can ignore this, as the default library does this for you!
In case you do have a custom GenericmessageCommand, make sure it has the necessary functionality in the execute method, which you can see here:
https://github.com/php-telegram-bot/core/blob/f55fd1c2eb75b4f8e9ab468066ce96acba9e6b68/src/Commands/SystemCommands/GenericmessageCommand.php#L61-L75
<?php

namespace Longman\TelegramBot\Commands\UserCommands;

use Longman\TelegramBot\Commands\UserCommand;
use Longman\TelegramBot\Conversation;
use Longman\TelegramBot\Entities\Keyboard;
use Longman\TelegramBot\Request;

class PhonenumberCommand extends UserCommand
{
    protected $name = 'phonenumber';

    protected $description = 'الحصول على رقم هاتف المفعل عليه التلغرام';

    protected $usage = '/phonenumber';

    protected $need_mysql = true;

    protected $version = '0.2.0';

    public function execute()
    {
        try {
            $message    = $this->getMessage();
            $chat       = $message->getChat();
            $user       = $message->getFrom();
            $number     = trim($message->getText(true));
            $extra_data = [];

            if ($chat->isGroupChat() || $chat->isSuperGroup()) {
                // reply to message id is applied by default
                // Force reply is applied by default so it can work with privacy on
                $extra_data['reply_markup'] = Keyboard::forceReply(['selective' => true]);
            }

            $conversation = new Conversation($user->getId(), $chat->getId(), $this->name);

            if ($number === '') {
                return $this->replyToChat('Please Enter The Phone Number', $extra_data);
            }

            // Save the entered number to the database.
            $conversation->notes = ['number' => $number];
            $conversation->update();
            $conversation->stop();

            return $this->replyToChat('ALL Right >>User Enter The Phone>>> Here We Put The insert phone number in database', $extra_data);
        } catch (Exception $e) {
            echo 'Message: ' . $e->getMessage();
        }

        return Request::emptyResponse();
    }
}

Thanks very much noplanman
You are a man who loves to help

I try 😉
So all is working now?


Proposal for evolution

I'm looking at the bitbang driver and how it is constructed. In order to work it needs to utilize critical sections with other interrupts shut off as well as precise us class timing. I propose to consider adding some sort of interrupt based alternative in the future. I've seen implementations of onewire based upon serial ports for example or you could use your own timer interrupt with a light state machine behind it.
I'm writing all these because in a complex project with many components, if each of them was shutting the ints off to achieve precise timing, the ints will fatally begin to lag and other things shall start to fail..

The problem with interrupt based timings is a short period of pulse required by the 1-wire protocol. For example plenty of timings are 5-8 us in length (even 1-2 us for OD mode). I don't see effective implementation of such timings in this way. For example take a Linux platform with jiffie freq 1000Hz, where the clock interrupt is fired every 1ms. In this context only HRTs are capable to provide usec resolution. Similarly in this case I don't see proper solution of this issue w/o HW supported timers or timing capabilities.
On the other hand, the longest period of time the library freezes in the no-interrupt state is 60-70 us (in 3 cases: write-0, reset-sample, reset-low-od). I believe, overall 1-wire stability would not be drastically compromised if these cases have been moved outside of the time critical (no interrupt) section. In this case only 5-8 us pulses would be protected by no-interrupt state. I think this could provide a trade-off between platform vs 1-wire service stability.

Hello Piotr, thanks for answering. These time critical protocols can be hard when you have just the mcu with no assisting hw. Because a bare single core mcu can do one thing at time, more than one time critical tasks are not guarranteed to coexist (if they can not somehow be offloaded to assisting hw). Having written my own stack for microlans a decade+ ago (pic assembly), and having other work to do on the mcu side, I finally took the decision to spare a small pic per microlan to terminate the microlans there rather than at my main mcu.


Override bootstrap host assuming mon[0] is available

When rebuilding mon[0] we need to use a different bootstrap hosts, however many rules have mon[0] hard-coded

Some kayobe playbooks I have been working benefits from on PR such as this.
Something such as
delegate_to: "{{ lookup('vars', admin_oc_net_name ~ '_ips')[cephadm_delegate_host | default(groups['mons'][0], true)] }}"

Would allow for overriding the delegate host when needed and lookup resolves an issue whereby if --limit is used against a playbook the task doesn't secretly run on the limited host(s) instead of the chosen delegate.


DURACLOUD-1257: Allows audit config to complete init if RabbitMQ is not being used

JIRA Ticket: https://duracloud.atlassian.net/browse/DURACLOUD-1257
What does this Pull Request do?
Allows DuraCloud to complete initialization when the audit queue is using SQS rather than RabbitMQ
How should this be tested?
Use the Management Console to configure the use of SQS for the audit queue. Launch DuraCloud and ensure it comes up properly.
Interested parties
Tag (@ mention) interested parties or, if unsure, @duracloud/committers
@fozboz

Looks good, thanks for finding that!


Buttons as an input format for the chatbot widget

Buttons as an input format for the chatbot widget
I propose adding a feature that allows users to customize the output of the ui.chatbot widget into a form with interactive buttons.
This would enhance the user experience by providing a more interactive and accessible way to navigate the chatbot's responses.

Problem it Solves
Currently, the chatbot widget allows a feedback interaction, but this new feature would be a generalization by having a customizable form with any buttons and options.
Sometimes, I would like the input from the user to be a closed answer within limited possibilities.
Suggested Implementation

Allow users to define the structure of the form and the labels on the buttons.
Whenever the form is display as input option, the regular text input would de disabled

Potential Benefits

Enhances user engagement with a more interactive interface.
Simplifies user interaction, especially for complex queries or multiple-choice questions.
Makes the chatbot more accessible, particularly for users who prefer a guided interaction.

@abaraldo would you be ok if we added a new list of  ui.chat_prompt_suggestion in which each would accept a string value (displayed under the last response) and upon clicking would fire an event for you to consume, append to the chat messages and start generating the answer?

@abaraldo would you be ok if we added a new list of ui.chat_prompt_suggestion in which each would accept a string value (displayed under the last response) and upon clicking would fire an event for you to consume, append to the chat messages and start generating the answer?

I think that would be great! I could use that to bring suggestions or options for the user. Will it be possible to have multiple options at the same time?

Will it be possible to have multiple options at the same time

Yes, it's going to be a list.

and upon clicking would fire an event for you to consume, append to the chat messages and start generating the answer

@mturoci just an implementation detail - should appending to messages be done by user after obtaining the event or should it be done automatically with firing the event?


Fully support QTL studies

finemap_loci has only been able to plot QTL data, not fine-map it. Adding new features to make QTL fine-mapping fully supported.

Success! Required reworking how locus names are made, such that echodata::import_topSNPs uses all grouping vars to construct the locus name.


Document PR requirements, fix typo

- What I did
- How I did it
- How to verify it
- Description for the changelog

LGTM


course@Freiburg ws23-24

Linking to the 2023 edition of the course

Thanks for linking this, Peter!
The CI is giving some warnings, but they appear to be about the version of Haskell used in scripts; nothing to do with your pull request. I assume Wen will sort them out.


sync w/ Exygy about plans

https://github.com/bloom-housing/bloom/discussions/1570

Exygy documented their plans in https://github.com/bloom-housing/bloom/discussions/1570

@abbiefarr - as we talked about this morning, please read the discussion link and comment with any thoughts, following up as necessary. You can close this once you feel like you're caught up on the access control plans.


Add a valid_config command

Anything which reads the config file needs to 1) interpret it the same way, and 2) be certain that the configuration is valid.  3) The validation step must not create a race condition.
The valid_config command will resolve the configuration, and write it to standard out as yaml.  If the configuration is not valid, it will exit with status 1.

I like it! Can we use our active voices by renaming the option --validate (for k2/k2cli), and validate_config for internal ansible use? Good English makes for good code (maybe).

Right now, this feels like validate_config.sh

I'd prefer k2/up.sh --validate --config dewMagic.yaml over k2/hack/validate_config.sh, but ¯_(ツ)_/¯.

--validate-config IMHO.
On Fri, Jun 9, 2017, 2:49 PM davidewatson<EMAIL_ADDRESS>wrote:

I'd prefer k2/up.sh --validate --config dewMagic.yaml over
k2/hack/validate_config.sh, but ¯_(ツ)_/¯.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/samsung-cnct/k2/issues/498#issuecomment-307507827,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AT0KkqRp-jLBg8NYPTJ_Tu4xAXOpp_Ujks5sCb3MgaJpZM4N12Mi
.

—IMHO, “k2/up.sh —validate —config xxx.yaml” looks good to me for consistency : )

오후 2:25, davidewatson<EMAIL_ADDRESS>작성:

I like it! Can we use our active voices by renaming the option --validate (for k2/k2cli), and validate_config for internal ansible use? Good English makes for good code (maybe).
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub https://github.com/samsung-cnct/k2/issues/498#issuecomment-307503754, or mute the thread https://github.com/notifications/unsubscribe-auth/AYsM2p5WcQb3QH6XA_gTaiZ0YZGk3jQMks5sCbhjgaJpZM4N12Mi.

Sticking this in the review pile for Common Tools.

downgraded to wait for config file package export from k2 to its own repo


Sync cell replacement in Caliptra

Hi,
I'm trying to replace sync cell in Caliptra with technology specific standard cells.
Is there a list of all the sync cell used ?

Also, I'm seeing places which is using the following RTL to sync, for example:
rvtop.dmi_wrapper.i_dmi_jtag_to_core_sync.rden[2:0]

 Will it get updated to use standard cells ?

Best Regards
Derek Wang

The VeeR dmi_jtag_to_core_sync issue is captured here:
https://github.com/chipsalliance/Cores-VeeR-EL2/issues/51

@nstewart-amd I think he's asking how you handle https://github.com/chipsalliance/caliptra-rtl/blob/e181dafe3035dc2d4e16dd2ecbfd0d1565a63525/src/riscv_core/veer_el2/rtl/dmi/dmi_jtag_to_core_sync.v#L25 since that module includes both RTL synchronizer and read/write enable logic.

@nstewart-amd I think he's asking how you handle
https://github.com/chipsalliance/caliptra-rtl/blob/e181dafe3035dc2d4e16dd2ecbfd0d1565a63525/src/riscv_core/veer_el2/rtl/dmi/dmi_jtag_to_core_sync.v#L25
since that module includes both RTL synchronizer and read/write enable logic.

@steven-bellock
The VeeR dmi jtag syncrhonizer is captured here:
https://github.com/chipsalliance/Cores-VeeR-EL2/issues/51
As you've noted, it's "all RTL" currently and does not refer to an integrator replaced/replaceable module.
Accordingly, this module will need to "waived" or modified to replace the inferred flops with user synchronizer module.

See also here: https://github.com/chipsalliance/caliptra-rtl/issues/333

Hi，
I have replace with specific cells in the following file:
(1)  libs/rtl/caliptra_2ff_sync.sv
(2)  caliptra_prim/rtl/caliptra_prim_flop_2sync.sv

 Regarding to the sync logic in the following file, will there be any updates ?

   (1)  caliptra-rtl/src/riscv_core/veer_el2/rtl/dmi/dmi_jtag_to_core_sync.v

 And the logic in el2_dbg ( line 277 ):

Its comments says "synchronize the rst", but why rst_l is connected to din ? It doesn't looks like a standard reset synchronizer.

 Beside the previsous mentioned ones, are there other places need to replaced ?

Best Regards
Derek Wang


Bump dependencies

This PR updates dependencies, with primary focus on the Logging library, which recently introduced breaking API changes.
Also deprecations from the Logging library were addressed.

It is the first I have seen the new logging library in action. Neat!


added 7 new guides for contracts

Problem solved
Short description of the bug fixed or feature added

PR-Codex overview
This PR focuses on restructuring and enhancing the documentation for various modular contract types in the pre-built-modular section, including updates to navigation, descriptions, and deployment steps.
Detailed summary

Renamed Pre-built Contracts to Pre-built Modular in the sidebar.
Added detailed documentation for:

NFT Drop
Token
Token Drop
Edition Drop
Open Edition
Edition
NFT Collection

Included images and steps for deploying each contract type.
Updated links and metadata for better navigation and user experience.

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}
https://linear.app/thirdweb/issue/DEVX-1828/7-guides-for-contracts

https://linear.app/thirdweb/issue/DEVX-1828/7-guides-for-contracts

Merge activity

Nov 19, 8:36 PM EST: The merge label 'merge-queue' was detected. This PR will be added to the Graphite merge queue once it meets the requirements.


Rumble not stable on linux with streamvr

Hey,
When I run rumble on Linux it stays for a second or so and then stopps.
In windows rumble works fine.
Attaching example project for reproduction (uploaded to a server of mine because github wont allow to upload):
https://gnethomelinux.com/files/rumble_test.tar.gz
Using godot 4.3 and a machine that dual boots between linux and windows to test.
Hardware is Original HTC Vive.
Linux OS is Ubuntu 21.10
Windows is 10
Steps to reproduce:

Download and extract example project provided
Open Godot and run the project

Expected (when run on Windows):

You will see the print "left rumble" and "right rumble" in the debug window until the controllers are detected
Controllers once detected rumble constantly

Actual (when run on Linux):

You will see the print "left rumble" and "right rumble" in the debug window until the controllers are detected
Controllers vibrate once and stop

Output on linux:
Godot Engine v3.4.stable.official.206ba70f4 - https://godotengine.org
OpenGL ES 3.0 Renderer: NVIDIA GeForce RTX 2060 with Max-Q Design/PCIe/SSE2
OpenGL ES Batching: ON

Starting vr
Running on OpenXR runtime: SteamVR/OpenXR 0.1.0
Running on Linux, using SteamVR workaround for issue https://github.com/ValveSoftware/SteamVR-for-Linux/issues/421
OpenXR Runtime only supports OpenGL version 4.3 - 4.6!
OpenXR Graphics: Display %p, Context %lx, Drawable %lx
OpenXR Using OpenGL version: 3.3.0 NVIDIA 470.82.00
OpenXR Using OpenGL renderer: NVIDIA GeForce RTX 2060 with Max-Q Design/PCIe/SSE2
Yes VR
rumble left
rumble right
OpenXR EVENT: session state changed to XR_SESSION_STATE_IDLE
On state idle
OpenXR EVENT: session state changed to XR_SESSION_STATE_READY
On state ready
OpenXR Swapchain Formats
OpenXR Couldn't find prefered swapchain format, using 32859
Attached action set godot
OpenXR found internal action aim_pose
OpenXR found internal action grip_pose
OpenXR found internal action front_trigger
OpenXR found internal action side_trigger
OpenXR found internal action primary
OpenXR found internal action secondary
OpenXR found internal action ax_button
OpenXR found internal action by_button
OpenXR found internal action ax_touch
OpenXR found internal action by_touch
OpenXR found internal action menu_button
OpenXR found internal action select_button
OpenXR found internal action front_button
OpenXR found internal action front_touch
OpenXR found internal action side_button
OpenXR found internal action primary_button
OpenXR found internal action secondary_button
OpenXR found internal action primary_touch
OpenXR found internal action secondary_touch
OpenXR found internal action haptic
Hand tracking is supported

rumble left
rumble right
[...]
 [output overflow, print less text!]

rumble right
OpenXR EVENT: session state changed to XR_SESSION_STATE_VISIBLE
On state visible
OpenXR EVENT: session state changed to XR_SESSION_STATE_FOCUSED
On state focused
OpenXR mapped /user/hand/left to 1
OpenXR regained tracking for hand 0
OpenXR mapped /user/hand/right to 2
OpenXR regained tracking for hand 1
rumble left
rumble right
OpenXR EVENT: interaction profile changed!
OpenXR EVENT: interaction profile changed!
OpenXR EVENT: interaction profile changed!
OpenXR EVENT: interaction profile changed!
OpenXR EVENT: interaction profile changed!
OpenXR Event: Interaction profile changed for /user/hand/left: /interaction_profiles/htc/vive_controller
OpenXR Event: Interaction profile changed for /user/hand/right: /interaction_profiles/htc/vive_controller
OpenXR EVENT: interaction profile changed!
OpenXR EVENT: session state changed to XR_SESSION_STATE_VISIBLE
On state visible
OpenXR EVENT: session state changed to XR_SESSION_STATE_SYNCHRONIZED
On state synchronize

output on windows:
--- Debugging process started ---
Godot Engine v3.4.stable.official.206ba70f4 - https://godotengine.org
OpenGL ES 3.0 Renderer: NVIDIA GeForce RTX 2060 with Max-Q Design/PCIe/SSE2
OpenGL ES Batching: ON

Starting vr
Running on OpenXR runtime: SteamVR/OpenXR 0.1.0
OpenXR Runtime only supports OpenGL version 4.3 - 4.6!
OpenXR Using OpenGL version: 3.3.0 NVIDIA 472.12
OpenXR Using OpenGL renderer: NVIDIA GeForce RTX 2060 with Max-Q Design/PCIe/SSE2
Yes VR
rumble left
rumble right
OpenXR EVENT: session state changed to XR_SESSION_STATE_IDLE
On state idle
OpenXR EVENT: session state changed to XR_SESSION_STATE_READY
On state ready
OpenXR Swapchain Formats
OpenXR Couldn't find prefered swapchain format, using 32859
Attached action set godot
OpenXR found internal action aim_pose
OpenXR found internal action grip_pose
OpenXR found internal action front_trigger
OpenXR found internal action side_trigger
OpenXR found internal action primary
OpenXR found internal action secondary
OpenXR found internal action ax_button
OpenXR found internal action by_button
OpenXR found internal action ax_touch
OpenXR found internal action by_touch
OpenXR found internal action menu_button
OpenXR found internal action select_button
OpenXR found internal action front_button
OpenXR found internal action front_touch
OpenXR found internal action side_button
OpenXR found internal action primary_button
OpenXR found internal action secondary_button
OpenXR found internal action primary_touch
OpenXR found internal action secondary_touch
OpenXR found internal action haptic
Hand tracking is supported

rumble left
rumble right
OpenXR EVENT: session state changed to XR_SESSION_STATE_SYNCHRONIZED
On state synchronized
OpenXR EVENT: session state changed to XR_SESSION_STATE_VISIBLE
On state visible
OpenXR EVENT: session state changed to XR_SESSION_STATE_FOCUSED
On state focused
OpenXR mapped /user/hand/left to 1
OpenXR regained tracking for hand 0
OpenXR mapped /user/hand/right to 2
OpenXR regained tracking for hand 1
rumble left
rumble right
OpenXR EVENT: interaction profile changed!
OpenXR EVENT: interaction profile changed!
OpenXR EVENT: interaction profile changed!
OpenXR EVENT: interaction profile changed!
OpenXR EVENT: interaction profile changed!
OpenXR Event: Interaction profile changed for /user/hand/left: /intera[...]

Nevermind, started working.


Asynchronous programming with python 3

https://community.nitrous.io/tutorials/asynchronous-programming-with-python-3

http://stackabuse.com/python-async-await-tutorial/

https://hackernoon.com/asyncio-for-the-working-python-developer-5c468e6e2e8e#.askwk4w8c


Removed Sliders, Added Widgets, Replaced Width/Height with Latent, Add store model as VRAM as an option

The ability to make complex workflows is extremely limited when you use sliders.

btw，would you update the workflow？


Credential and API key can't be used for the same URL in the config file

Description
I have a private Nexus3 NuGet repository. All access to this repository needs credentials. So I added them via paket config add-credentials. If I want to push to this repository I apparently also need an API key, so I added this as well with paket config add-token. But paket is then unable to find the API key and always will respond with the following error:
Paket failed with
-> Could not push package mypackage.version.nupkg due to missing credentials for the url https://nexus3.example.org. Please
 specify a NuGet API key via the command line, the environment variable "nugetkey", or by using 'paket config add-token'.

I have very limited knowledge of F# but I had a quick look at the code with the VS2017 debugger. As far as I can tell it just takes the first matching token or credential when searching for a token:
https://github.com/fsprojects/Paket/blob/9cbc7a05fc851611e541051d8f07beb8d25e9596/src/Paket.Core/Versioning/ConfigFile.fs#L162-L164
In the debugger the credential entry came always first and only this was selected. Thus it never found a matching token. The call originates from here:
https://github.com/fsprojects/Paket/blob/9cbc7a05fc851611e541051d8f07beb8d25e9596/src/Paket.Core/PublicAPI.fs#L759
Known workarounds
Specify the api key on the command line or via the environment variable and it works.

I investigated this a bit more. I'm fairly new to NuGet and apparently normally you don't need credentials and token for the same URL? But Nexus3 by default wanted this. But you can configure Nexus3 to accept the API key only for authentication. Just log in as admin, go to Settings -> Security -> Realms and set "NuGet API-Key Realm" as active.
To be honest I find this to be a bit less secure, but since it seems to be the default behavior of NuGet, I'll close this issue as it seems to work as expected.


Add map view

Shows a big map with all the nearby restaurants. Maybe a button that toggles between map view and menu wall view?

I'll take this as well


add macos arm64 support

Description of Change
Adds arm64 as a target for libSkiaSharp and  Harfbuzz... may not work..

Bugs Fixed

Related to issue #

API Changes

Behavioral Changes

PR Checklist

[ ] Has tests (if omitted, state reason in description)
[ ] Rebased on top of master at time of PR
[ ] Changes adhere to coding standard
[ ] Updated documentation

@mattleibow trying to get the dylibs to be universal binaries. Iv simply added architectures... dont know if more needs to be done... on Avalonia we simply made it use xcode 11.1 and by default it spat out a compatible binary.
Avalonia is almost running natively on M1 make... just need libSkiaSharp and maybe harfbuzz and it might work.

@mattleibow trying to get the dylibs to be universal binaries. Iv simply added architectures... dont know if more needs to be done... on Avalonia we simply made it use xcode 11.1 and by default it spat out a compatible binary.
Avalonia is almost running natively on M1 make... just need libSkiaSharp and maybe harfbuzz and it might work.

/azp run

/azp run

Hopefully this works, I'm also trying to get another fairly major update to skia to make sure we get all the bits that has been added for this new platform.

Hopefully this works, I'm also trying to get another fairly major update to skia to make sure we get all the bits that has been added for this new platform.

Thanks for this PR. I opened a new PR with what I think is the final bits needed for arm64: https://github.com/mono/SkiaSharp/pull/1627
I have some test binaries and hopefully someone can test it if they have an M1 device and a build of arm64 mono/dotnet. There are some instructions that will help you get started.


fix: use module instead of file path for abigen

As seen noticed by @Larkooo, when torii or other crate using dojo-world is imported in a third party project, the compilation fails due to unresolved path from abigen!.
To fix this issue, cainome has a support for embedded ABI, to have rust module instead of file path. This will be enhanced with cainome CLI, but it provides a first solution to at least ensure correct compilation when crates are used outside dojo.

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

Comparison is base (3fa7549) 65.08% compared to head (b48657e) 66.51%.

Files
Patch %
Lines

crates/dojo-world/src/contracts/abi/world.rs
80.00%
1 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1339      +/-   ##
==========================================
+ Coverage   65.08%   66.51%   +1.43%
==========================================
  Files         227      229       +2
  Lines       19525    20361     +836
==========================================
+ Hits        12708    13544     +836
  Misses       6817     6817

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


DRDT-132: Related Components - functional parity (Header/Footer)

DRDT-132

Created new staging environment for pr-94. Here are some useful links:
WordPress Admin
Homepage
Article
Listicle
Page
Hub

There are visual regressions!
View the full visual regression test report

⚠ Frontend performance tests failed!
Full Lighthouse performance results:

Page/Branch
pr-94
master
Result

Homepage
84
93
✘

Article
94
95
✔

Listicle
94
95
✔

Page
94
94
✔

Hub
94
93
✔

(Note: Tests are against the NOADS version of the pages!)

Updated staging environment for pr-94. Here are some useful links:
WordPress Admin
Homepage
Article
Listicle
Page
Hub

There are visual regressions!
View the full visual regression test report

Congrats! Frontend performance tests passed!
Full Lighthouse performance results:

Page/Branch
pr-94
master
Result

Homepage
88
90
✔

Article
90
94
✔

Listicle
94
94
✔

Page
94
95
✔

Hub
93
88
✔

(Note: Tests are against the NOADS version of the pages!)

Updated staging environment for pr-94. Here are some useful links:
WordPress Admin
Homepage
Article
Listicle
Page
Hub

There are visual regressions!
View the full visual regression test report

Congrats! Frontend performance tests passed!
Full Lighthouse performance results:

Page/Branch
pr-94
master
Result

Homepage
90
92
✔

Article
93
94
✔

Listicle
94
94
✔

Page
94
96
✔

Hub
93
89
✔

(Note: Tests are against the NOADS version of the pages!)

Updated staging environment for pr-94. Here are some useful links:
WordPress Admin
Homepage
Article
Listicle
Page
Hub

There are visual regressions!
View the full visual regression test report

Congrats! Frontend performance tests passed!
Full Lighthouse performance results:

Page/Branch
pr-94
master
Result

Homepage
89
90
✔

Article
93
95
✔

Listicle
94
94
✔

Page
94
96
✔

Hub
94
93
✔

(Note: Tests are against the NOADS version of the pages!)

Updated staging environment for pr-94. Here are some useful links:
WordPress Admin
Homepage
Article
Listicle
Page
Hub

There are visual regressions!
View the full visual regression test report

⚠ Frontend performance tests failed!
Full Lighthouse performance results:

Page/Branch
pr-94
master
Result

Homepage
93
100
✘

Article
94
85
✔

Listicle
94
95
✔

Page
94
95
✔

Hub
94
87
✔

(Note: Tests are against the NOADS version of the pages!)

Updated staging environment for pr-94. Here are some useful links:
WordPress Admin
Homepage
Article
Listicle
Page
Hub

There are visual regressions!
View the full visual regression test report

Congrats! Frontend performance tests passed!
Full Lighthouse performance results:

Page/Branch
pr-94
master
Result

Homepage
90
92
✔

Article
93
95
✔

Listicle
94
95
✔

Page
94
95
✔

Hub
94
92
✔

(Note: Tests are against the NOADS version of the pages!)


Issue with CI actions

Describe the bug
Configuration error results in actions failing to run successfully.
To Reproduce
Push to any of the main three branches, and the actions run will fail.


Support for AWS Redshift database

Is your feature request related to a problem? Please describe.
When attempting to query an AWS Redshift database, I can connect successfully but any query results in the error:
In driver version 1.4.2:
Uncaught error: NIOPostgres error: protocol error: Unexpected query metadata: SELECT (PostgresNIO/Connection/PostgresConnection+Connect.swift:51)
In driver version 1.5.2:
PostgresNIO/PostgresConnection+Database.swift:32: Fatal error: Unexpectedly found nil while unwrapping an Optional value where it is trying to initialize a PostgresQueryMetadata using commandTag SELECT which it doesn't parse because it seems to be expecting a number here like SELECT 3 which I think is the row count.
Describe the solution you'd like
It would be great if this driver would work with Redshift which is a postgres variant.
Describe alternatives you've considered
I have not been able to find any information on this or any other way to connect to Redshift.

Looking at the docs there seem to be significant differences between the Postgres implementation and Redshift so I'm not surprised it doesn't work. We might be able to look at removing some of the assumptions around the responses and queries but the priority will be pretty low, especially during the async/await transition process. It would make for w good community contribution though!
You could try connecting using Soto either directly or using the data API in the meantime

Well, I assume that Soto is more about Redshift node and cluster management and not actually running request on Redshift. Looking at the docu, the main differences seem to be around commands that are send on the postgres connection. However in PostgresNIO we don't really care about the supported SQL commands. We just provide the binary formats to execute commands, but we don't do any validation. I'd be eager to know what what the Redshift database returns in metadata, because for the metadata to fail, the request must have been processed correctly before.
@grennis could you provide the string that is passed to PostgresQueryMetadata in PostgresConnection+Database.swift:32?

Urgh.  Looking at the postgres documentation, this looks like Redshift is not conforming to the wire spec at this.

For a SELECT or CREATE TABLE AS command, the tag is SELECT rows where rows is the number of rows retrieved

https://www.postgresql.org/docs/13/protocol-message-formats.html See CommandComplete -> String. I guess we could add a fallback to zero with a note that this is for Redshift support. @grennis would you like to provide a pr for this?

Urgh.  Looking at the postgres documentation, this looks like Redshift is not conforming to the wire spec at this.

For a SELECT or CREATE TABLE AS command, the tag is SELECT rows where rows is the number of rows retrieved

https://www.postgresql.org/docs/13/protocol-message-formats.html See CommandComplete -> String. I guess we could add a fallback to zero with a note that this is for Redshift support. @grennis would you like to provide a pr for this?

Sure thing. I will try that and see if that's the only issue or if there are more complications, and go from there. Thanks for the fast response!


vel: Remove unused WSI library complexity

None of the layers use these libraries.

CI Vulkan-ExtensionLayer build queued with queue ID 79314.

CI Vulkan-ExtensionLayer build # 793 running.

CI Vulkan-ExtensionLayer build # 793 passed.


How much memory does the flutter to run smoothly?

I have a low end SBC that have 512MB DDR and the GPU is mali 400. Can this support flutter?

It should be able to handle it. It runs on the PinePhone / A64LTS which also sport Mali 400 GPU so you don't have concerns there.
I don't have SBC with such restricted RAM - keep an eye on the usage there and adjust accordingly.
What's the SBC in question?

@psstoyanov
Thanks.
@nanfang2000
Unfortunately, I don't know about SBC, too. But, Flutter requires OpenGL ES library. Also, it requires at least around 50 MB of memory (depends on your application).

@psstoyanov @HidenoriMatsubayashi
thank you very much!
it's a cheap sbc use allwinner A33 CPU with 512MB ddr
I assume when in debug mode, 50MB isn't 3enough, right?

The dart server will take a lot more - I wouldn't program directly on the device if I were you given that it is using A7 cores on 40nm.
Compiling the project the first time will take a long while for sure on that device.
You can setup zram or zswap to combat the limited RAM available if you want to try to use the SBC by itself - some info from Arch's Wiki but apply to your OS of choice: https://wiki.archlinux.org/title/Improving_performance#zram_or_zswap
Running just the resulting bundles with wayland backend with the default project (haven't done anything to make it smaller or optimise it):

debug -> 207MB
release -> 83MB
Note: That's reported by btop so it can be inaccurate. Using DRM (GBM mode) directly could be a good idea if you aim for kiosk style of app and you don't need the rest the system dependencies.

When you take into account what else is running in debug mode (dart server/ observers/ etc), I think it will go outside of the available 512MB. Then on top you have some other necessities for the system itself - networking, audio and so on.
For release - you shouldn't have any issues.
During development, I would strongly recommend for you take a good look at remote execution on the target SBC given how weak it is:
https://github.com/sony/flutter-elinux/wiki/Remote-target-devices#4-run-your-flutter-apps-on-your-target-device
Remote execution should alleviate pretty much all of your problems as the SBC will be used just to run the resulting app with the heavy lifting being done elsewhere.
If you are pressed for memory - I would try with zram.


Page Working in the Context of the Current User | Bitrix24 REST API and Market Applications

Lint to page: https://apidocs.bitrix24.com/api-reference/crest-php-sdk/using-in-users-context.html
The method is not working as it should be. It still returns the user data of the webhook creator instate of the current logged in user

well, it's not for webhooks, it's for local and mass-market applications, where B24 sends tokens of the current user into iframe or event handler. Local inbound webhook is like a timeless API password of the user who created this webhook. If you use this webhook to call REST API methods they always are considered as calls by this specific user


feat: Update Dependencies with new flutter version 3.0.0

Description
Update Navigation testing code according to new mockingjay version
Type of Change

[ ] ✨ New feature (non-breaking change which adds functionality)
[ ] 🛠 Bug fix (non-breaking change which fixes an issue)
[ ] ❌ Breaking change (fix or feature that would cause existing functionality to change)
[ ] 🧹 Code refactor
[ ] ✅ Build configuration change
[ ] 📝 Documentation
[ ] 🗑 Chore

@felangel  please take one look into my pr.

#17


Add cosmosdb example, fix SAS token generation

OCCURS, https://rules.abaplint.org/obsolete_statement/ can be configured to be okay


Adding errordetails.PermissionDeniedFailure to propagate a denial reason

What changed?
This brings in the PermissionDeniedFailure type introduced in https://github.com/temporalio/api/pull/111 to help facilitate propagating a "reason" of permission denial errors as a part of https://github.com/temporalio/temporal/pull/1462.

Thank you, @jprobinson!


Hacktoberfest: move media upload buttons (video and audio) down to toolbar

Original Issue https://github.com/oss-slu/lrda_website/issues/155
Description
As a user,
I want the media upload buttons (video and audio) to be moved to the toolbar,
So that the interface feels more organized and the media upload options are easily accessible from the toolbar.
Tasks

[ ] Identify the current location of the video and audio upload buttons.
[ ] Move the video and audio upload buttons to the toolbar.

Ensure that the new buttons fit well in the toolbar design and do not overcrowd it.

[ ] Update any related functionality that depends on the current location of the media upload buttons.
[ ] Ensure that the moved buttons retain their original functionality (i.e., upload functionality works the same as before).
[ ] regression free

committed code will not break other functionalities or previous commits

[ ] Create a test cases for your code

[ ] Ensure that the tour starts correctly.
[ ] Ensure that users can skip or continue the tour seamlessly.
[ ] Ensure that the tour progresses step-by-step without issues.

Acceptance Criteria

[ ] The video and audio upload buttons are successfully moved to the toolbar.
[ ] The buttons fit well in the toolbar and do not interfere with other toolbar functionalities.
[ ] The video and audio upload functionalities work the same as before after the buttons are moved.
[ ] Code is well commented and adheres to the project’s code style.
[ ] All test cases pass before merging the changes.
[ ] The implementation should not break any existing functionality or pages.

Hey @Stuartwastaken @BaloneyBoy97  would like to work on this issue could you please asssign this issue to me!!

Is this issue still open?


[Suggestion] Method to set the stack size of part type in material system

Tried to use CT method to modify stack size of items generated by material system but failed :/

duplicate of #169 (which happens to be your issue also lol)


[ACS] ACS create --tags parameter doesn't work

Am trying to pass single a single or multiple tags when creating a cluster i.e. az acs create -n foo -g bar --tag key1=value2
The response is:
Deployment template validation failed: 'The provided value for the template parameter 'tags' at line '69' and column '14' is not valid.'.
The documentation states Tag Object but even trying quotes and JSON doesn't seem to result in a valid set of tags. Searches seem to bring up nothing either. The above pattern of key1=value1 is a common pattern with other acs commands, hence why tried.

If the standard tags notation used throughout the CLI is not accepted here, that would be a bug.

Thanks.


Add the rest of schema swap code.

This code is still not tested besides simple compilation, but it is representing
now the full schema swap process from the beginning to the end. The code also
is not well-versed on handling different errors, so it mostly represents only
the happy path of the process.
Next up after this will be wiring the code into a way to call it and actually
testing it.

LGTM and agreed, the last proposed change is just not readable.


Block range guarantee - Mercury

[ ] Replace PR libocr installation with final libocr changes.
[ ] Update dependent repositories

Bumping libocr and updating loop here to unblock you: https://github.com/smartcontractkit/chainlink-relay/pull/101


Bluefin-cli bat command not working

Describe the bug
I used ujust bluefin-cli to enable the bling tools and tried to use bat and ran into this error.
❯ bat
bat: error while loading shared libraries: libgit2.so.1.7: cannot open shared object file: No such file or directory

Tried reinstalling bat by uninstalling through brew and installing again but recieved the same error.
What did you expect to happen?
I expected to be able to use bat.
Output of rpm-ostree status
❯ rpm-ostree status
State: idle
AutomaticUpdates: stage; rpm-ostreed-automatic.timer: last run 1h 11min ago
Deployments:
● ostree-image-signed:docker://ghcr.io/ublue-os/aurora-dx:latest
                   Digest: sha256:37dd516c827b119b49ce4c461d12e5dd7bdcd67d3e5d3094657a5006f366b6b1
                  Version: 40.20240718.0 (2024-07-18T04:53:03Z)

  ostree-image-signed:docker://ghcr.io/ublue-os/aurora-dx:latest
                   Digest: sha256:44a60cfbba774da969dbfcef49eaf983a6fc04368b845c854f02cefbaeb9831d
                  Version: 40.20240717.0 (2024-07-17T17:08:12Z)

Output of groups
❯ groups
vishwas wheel incus-admin lxd docker libvirt

Extra information or context
Only thing i can think of is that it's a packaging error on homebrew?
This is functional on my laptop but i get this error on my pc

Interesting, it's running fine here, and I tried removing it and reinstalling it and it also still works.

Hmm, is there a way to revert the changes and reapply it? It's strange cause it works perfectly on my laptop, it just seems to be having this issue on my pc

I think manually brew installing the rest of the list and running the bling script manually should unstick you, but don't have time to dig into what to do, I'll look tonight unless someone gets to it first.

well i uninstalled bat again and reinstalled it and now it works fine lol


metadata not defined in forest_local.py

Hello,
Phylofisher is great and was running smoothly until i brought the sgt_construct_out.tar.gz to my local machine.
I downloaded forest_local.py and now get an error with the metadata args. I've checked the .tar.gz to make sure than the metadata.tsv are there and contain text
$ python3 forest_local.py -i sgt_constructor_out_Apr.24.2024-local.tar.gz -t 10

multiprocessing.pool.RemoteTraceback:
"""
Traceback (most recent call last):
  File<EMAIL_ADDRESS>line 125, in worker
    result = (True, func(*args, **kwds))
  File<EMAIL_ADDRESS>line 48, in mapstar
    return list(map(*args))
  File "/Users/au706677/Documents/AU/DeepPurple/Cryobio/Leftovers/EUKBINS/phylofisher/forest_local.py", line 197, in suspicious_clades
    groups.add(metadata[org]['Higher Taxonomy'])
NameError: name 'metadata' is not defined
"""

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/Users/au706677/Documents/AU/DeepPurple/Cryobio/Leftovers/EUKBINS/phylofisher/forest_local.py", line 684, in <module>
    suspicious = parallel_susp_clades(trees)
  File "/Users/au706677/Documents/AU/DeepPurple/Cryobio/Leftovers/EUKBINS/phylofisher/forest_local.py", line 503, in parallel_susp_clades
    suspicious = list(pool.map(suspicious_clades, trees))
  File<EMAIL_ADDRESS>line 367, in map
    return self._map_async(func, iterable, mapstar, chunksize).get()
  File<EMAIL_ADDRESS>line 774, in get
    raise self._value
NameError: name 'metadata' is not defined

Hi @sipesk,
Can you try re-running without the -t option? There may be an issue with the parallelization.
Let me know if that works or not.
Thanks for using PhyloFisher!
Best,
Robert

No dice
`(fisher) au706677@d46989 phylofisher % python3 forest_local.py -i sgt_constructor_out_Apr.24.2024-local.tar.gz
multiprocessing.pool.RemoteTraceback:
"""
Traceback (most recent call last):
File<EMAIL_ADDRESS>line 125, in worker
result = (True, func(*args, **kwds))
File<EMAIL_ADDRESS>line 48, in mapstar
return list(map(*args))
File "/Users/au706677/Documents/AU/DeepPurple/Cryobio/Leftovers/EUKBINS/phylofisher/forest_local.py", line 197, in suspicious_clades
groups.add(metadata[org]['Higher Taxonomy'])
NameError: name 'metadata' is not defined
"""
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/Users/au706677/Documents/AU/DeepPurple/Cryobio/Leftovers/EUKBINS/phylofisher/forest_local.py", line 684, in
suspicious = parallel_susp_clades(trees)
File "/Users/au706677/Documents/AU/DeepPurple/Cryobio/Leftovers/EUKBINS/phylofisher/forest_local.py", line 503, in parallel_susp_clades
suspicious = list(pool.map(suspicious_clades, trees))
File<EMAIL_ADDRESS>line 367, in map
return self._map_async(func, iterable, mapstar, chunksize).get()
File<EMAIL_ADDRESS>line 774, in get
raise self._value
NameError: name 'metadata' is not defined`
Dir contains metadata.tsv and its a non zero content file.

Hi, @robert-ervin-jones . I have the same question in my test with the original "metadata.tsv". How to bypass  multiprocessing? And my test in remote server produce no result(except for the empty dir "forest_out_M.D.Y" itself).

Hi, @robert-ervin-jones . I have the same question in my test with the original "metadata.tsv". How to bypass multiprocessing? And my test in remote server produce no result(except for the empty dir "forest_out_M.D.Y" itself).
Local test error info as below:
python forest_local.py -i sgt_constructor_out_Apr.28.2024-local.tar.gz
multiprocessing.pool.RemoteTraceback:
"""
Traceback (most recent call last):
  File "C:\Program Files\Python38\lib\multiprocessing\pool.py", line 125, in worker
    result = (True, func(*args, **kwds))
  File "C:\Program Files\Python38\lib\multiprocessing\pool.py", line 48, in mapstar
    return list(map(*args))
  File "D:\2024\05\forest_local.py", line 197, in suspicious_clades
    groups.add(metadata[org]['Higher Taxonomy'])
NameError: name 'metadata' is not defined
"""

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "forest_local.py", line 684, in <module>
    suspicious = parallel_susp_clades(trees)
  File "forest_local.py", line 503, in parallel_susp_clades
    suspicious = list(pool.map(suspicious_clades, trees))
  File "C:\Program Files\Python38\lib\multiprocessing\pool.py", line 364, in map
    return self._map_async(func, iterable, mapstar, chunksize).get()
  File "C:\Program Files\Python38\lib\multiprocessing\pool.py", line 771, in get
    raise self._value
NameError: name 'metadata' is not defined

After I add "metadata = {}" in line 20, the info changed as below:
>python forest_local.py -i sgt_constructor_out_Apr.28.2024-local.tar.gz
multiprocessing.pool.RemoteTraceback:
"""
Traceback (most recent call last):
  File "C:\Program Files\Python38\lib\multiprocessing\pool.py", line 125, in worker
    result = (True, func(*args, **kwds))
  File "C:\Program Files\Python38\lib\multiprocessing\pool.py", line 48, in mapstar
    return list(map(*args))
  File "D:\2024\05\forest_local.py", line 198, in suspicious_clades
    groups.add(metadata[org]['Higher Taxonomy'])
KeyError: 'Tisolute'
"""

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "forest_local.py", line 671, in <module>
    suspicious = parallel_susp_clades(trees)
  File "forest_local.py", line 504, in parallel_susp_clades
    suspicious = list(pool.map(suspicious_clades, trees))
  File "C:\Program Files\Python38\lib\multiprocessing\pool.py", line 364, in map
    return self._map_async(func, iterable, mapstar, chunksize).get()
  File "C:\Program Files\Python38\lib\multiprocessing\pool.py", line 771, in get
    raise self._value
KeyError: 'Tisolute'

Then I commented out the function "def parallel_susp_clades(trees)", and changed "suspicious = parallel_susp_clades(trees)" to "suspicious = suspicious_clades(trees)", the error info changed as below:
>python forest_local.py -i sgt_constructor_out_Apr.28.2024-local.tar.gz
Traceback (most recent call last):
  File "forest_local.py", line 672, in <module>
    suspicious = suspicious_clades(trees)
  File "forest_local.py", line 175, in suspicious_clades
    t = Tree(tree)
  File "C:\Program Files\Python38\lib\site-packages\ete3\coretype\tree.py", line 212, in __init__
    read_newick(newick, root_node = self, format=format,
  File "C:\Program Files\Python38\lib\site-packages\ete3\parser\newick.py", line 269, in read_newick
    raise NewickError("'newick' argument must be either a filename or a newick string.")
ete3.parser.newick.NewickError: 'newick' argument must be either a filename or a newick string.
You may want to check other newick loading flags like 'format' or 'quoted_node_names'.

Solved in a silly way: I successfully changed multiprocessing to a simple "for loop", and then the result came out smoothly in 1 min. To achieve this, change:
    if not args.backpropagate:
        suspicious = parallel_susp_clades(trees)

to
    suspicious = []

    if not args.backpropagate:
#        suspicious = parallel_susp_clades(trees)
        for tree in trees:
            suspicious.append(suspicious_clades(tree))
        print(suspicious)

You will see the list of suspicious genes in the corresponding tree in your terminal. Result files are as below:

Hope this helps! @robert-ervin-jones @sipesk

Had the same issue, and the fix by shuiyujinlan worked for me as well. Thanks!

Hi @shuiyujinlan,
Would it be possible for you to open a PR with your proposed code changes?
Best, Robert

Sure. I opened a PR just now. And hope you'll find some clues in my reply and description to fix it more gracefully (e.g. retain the multiprocessing function).

Hi @shuiyujinlan,
Would it be possible for you to open a PR with your proposed code changes?
Best, Robert

Sure. I opened a PR just now. And hope you'll find some clues in my reply and description to fix it more gracefully (e.g. retain the multiprocessing function). @robert-ervin-jones


Suppress Line Length Warnings

Code Climate complains if lines are too long, but Black makes them slightly longer by default

This clearly didn't work.


💡 [FEATURE] - preloader

Idea Contribution

[X] I have read all the feature request issues.
[X] I'm interested in working on this issue
[X] I'm part of GSSOC organization

Explain feature request
No response
Explain your solution
No response
Any alternative approaches/features
No response
Additional Context
No response

Hi, currently we're planning the to redesign the website so for now we are not entertaining more issues about the website since we're going to redesign it sooner. Maybe you can work on other issues, thanks


How to make the plug to be ON by default?

Do you know by any chance how to make the plug to be ON after its powered up by default? I want to make the plug to be switched ON by default, because it goes OFF after power outage.
There is huge interest in this feature: community.tp-link.com/en/home/forum/topic/215412 but seems developers cannot do anything about it. Can you code this feature?

My problem is that after a power outage, the p100 does not remember thep revious state and is always turned off.
How do I changeit ?  Is there any setting for a power outage?

Sadly this is something that has to be implemented on the plug. And as this code purely talks to the plug over its api there is no way to add this feature.


PhysicsBody2D: set_collision_layer() still works but set_collision_layer_bit() does not

Godot version
4.1.1.stable
System information
Windows 10
Issue description
Older version of Godot allow to set collision layer bits
https://docs.godotengine.org/en/3.2/classes/class_physicsbody2d.html#methods
I tried to do this in 4.1 and got invalid function call error
https://docs.godotengine.org/en/stable/classes/class_physicsbody2d.html#methods
However when I try to call set_collision_layer(1) for example, it still works. Even though it is not in the docs.
But set_collision_layer_bit(1, true) for example does not.
Not sure if it was intended to remove both or not. The effect I am trying to achieve in my game would require me to be able to set the collision layer to true, then later set it back to false. Not sure if this is achievable in the current state or not.
Thanks
Steps to reproduce

Create any PhysicsBody2D
Write script to call methods:  set_collision_layer(1)  and  set_collision_layer_bit(1, true)
See error for "bit" method

Minimal reproduction project
N/A

It is set_collision_layer_value() and set_collision_mask_value() inherited from CollisionObject2D.
Almost everywhere across the engine the xyz_layer_bit was renamed to xyz_layer_value for Godot 4.
If you use set_collision_layer() or set_collision_mask() you replace the entire int bitmask instead of toggling just a single bit.

It is set_collision_layer_value() and set_collision_mask_value() inherited from CollisionObject2D.
Almost everywhere across the engine the xyz_layer_bit was renamed to xyz_layer_value for Godot 4.
If you use set_collision_layer() or set_collision_mask() you replace the entire int bitmask instead of toggling just a single bit.

Thank you, that is what I needed. I guess it is a method of CollisionObject2D which is why I didn't find it in the Godot 4 docs.
Can mark as closed.


remove the dockerfiles directory from the repository

We have on the organisation Open-MSS a dedicated repository for builds on dockerhub
https://github.com/Open-MSS/dockerhub
We should remove the old outdated dockerfiles directory from the development branch.

We moved to https://hub.docker.com/orgs/openmss/repositories
so we should only have one place where we manage/develop Dockerfiles
This is https://github.com/Open-MSS/dockerhub/

\assign

Hi I'd like to work on this.

Hi I'd like to work on this. What I've understood is that the files on https://github.com/Open-MSS/dockerhub need to be removed since they are no longer required. @ReimarBauer Please tell if this is right.

This is a misunderstanding. We have an old version in the repository, see https://github.com/Open-MSS/MSS/tree/develop/dockerfiles
This was moved to the new project but not removed from the repository.


Treat FILTER_FLAG_SCHEME_REQUIRED and FILTER_FLAG_HOST_REQUIRED as deprecated

PHP 7.3 deprecated these two constants as they have had no effect since PHP 5.2.1, it would be great if PHPStan warned against their usage.

As of PHP 5.2.1 FILTER_VALIDATE_URL implies FILTER_FLAG_SCHEME_REQUIRED and FILTER_FLAG_HOST_REQUIRED. Not only are these constants useless, they also create the incorrect impression that the scheme/host requirement can be disabled.
Proposed action: Generate a deprecation warning if the FILTER_FLAG_SCHEME_REQUIRED or FILTER_FLAG_HOST_REQUIRED flags are explicitly set in calls to filter APIs (PHP currently has no mechanism to deprecate the constants themselves). In PHP 8 the constants will be removed.

https://wiki.php.net/rfc/deprecations_php_7_3#filter_flag_scheme_required_and_filter_flag_host_required

Don't hesitatet to send a PR to https://github.com/phpstan/phpstan-deprecation-rules


Allow Full Customization of Content Path

Allow full configuration of content path, with variable support.

Are you accepting PRs for this, or is this something you've already started working on?

I have not started work on this yet, and would love a PR for it ☺

@n8felton: Is this something you've begun working on?

I have not yet. We're in the full swing of getting prepared for the start of Fall semester, along with all the "extra" that COVID-19 is throwing at us.
At this point, I probably won't have time to contribute to this until sometime this Fall/Winter

I hear ya! I'm going to see if I can figure this out. Our content share doesn't follow the default structure and it would certainly be nice to have some flexibility.

Feature added by @gavinliu0 Thanks so much!


rrf/setErrors being fired thousands of times on change() formAction

I have a RRF implementation where I have a table with a varied number of columns, but in the current example I'm testing with now, it has four columns, each with a RRF Control.  On this page there is import functionality where you can import an unlimited number of rows.  I'm currently testing 1000 records.
Here is my code that I'm firing to update the form with the new records:
dispatch(formActions.change("myForm.records", (records: UserRecord[]) => {
    return [...userRecords];
}));

When this fires, it ends up (after a few seconds delay) firing thousands of rrf/setErrors actions.  This ends up taking a long time.  The payload of the action is like this:
{
    errors: {numeric: false},
    merge: true,
    model: "myForm.records[999].columns[1].value",
    type: "rrf/setErrors"
}

The component contains this code:

	{users.map((record, i) => (

		  <FormControlGroup model={this.getRecordCodeModel(i)}>

			  <Control.text
				autoComplete="off"
				className="input-block-level"
				model={this.getRecordCodeModel(i)}
				id={this.getRecordCodeModel(i)}
				errors={{ required }}
				persist
				disabled={!record.isNew}
			  />
			  <O3FormErrors model={this.getRecordCodeModel(i)} />

		  </FormControlGroup>

		{record.columns.map((column, j) => (

			<UserRecordColumnField
			  user={user}
			  formModel={formModel}
			  column={column}
			  recordIndex={i}
			  columnIndex={j}
			/>

		))}
		{record.effectiveDate}
		{record.endDate}

	))}

I attempted to add { silent: true } to the change action, but it still dispatches all the rrf/setErrors.
Is there any way to deal with this so it does not take forever?

Can you put this in a CodePen/CodeSandbox so I can play around with it and see the issue?

@davidkpiano Here you go.

Not sure if this was obvious, but, to be clear, the existence of the errors prop appears to be the difference in this situation occurring and not occurring.

Another example wired into form actions.  This doesn't show the long delays I'm experiencing, but does show some delay.

I am experiencing the same issue. Any progress on it~?


Restart the Shapes affected by a schema change

I.e. a new column is added to a table

Two thoughts:

It would be nice if additions such as nullable columns, with a default of null, didn't require a full shape restart.
With ability to select subset of columns #1530 it would be nice if the shape wasn't reset if the change didn't effect the selected columns.

Obviously the short path is restart on all/any DDL changes, but with a persisted client side store it would be great if we could avoid that.


fix shebang not on the first line in run_demo.sh

I was unable to run the demo script, because the shabang was not on the first line.
In addition bash is not in /bin for everyone (nixos users fx).

@googlebot I signed it!


Added partitioned column to improve billing BigQuery

This PR fixes #
Checklist

[x] I have signed the CLA
[x] I have updated/added any relevant documentation

Description
What's the goal of this PR?
What changes did you make?
What alternative solution should we consider, if any?

Assuming you tried this one out 😄
Should we make it a minor version bump in case it breaks anything?

Yes I've tested the script locally


i3bar compatability

These features need to be implemented in swaybar:

[x] colors
[x] status_command
[ ] hidden_state / bindsym / modifier
[x] output
[x] position
[x] id
[x] separator_symbol
[x] strip_workspace_numbers
[x] height
[x] workspace_buttons
[x] binding_mode_indicator
[ ] mode
[x] font
[x] Parse JSON status (with colors etc)
[x] Mouse events
[ ] click_events
[ ] Tray icons

I think font is missing as well.

Thanks, added that.

I don't know if this belong here, but the bar doesn't seem to get fresh bar configuration if you edit the config and reload it from within sway.

Probably worth having a second issue for that.

Looking forward to the day when I can use i3blocks seamlessly with swaybar...
Keep up the great work!

I guess sway should also support a custom command for the swaybar. i3 has i3bar_command <command>, so maybe swaybar_command <command> works.

Good call.

Rather important feature missing from the list: click events
http://i3wm.org/docs/i3bar-protocol.html#_click_events

What about trayicon support? I might be difficult to do, but it is a quite major feature.

I plan on addressing that at some point, but no Wayland compositors currently support tray icons, so we'd have to make up our own protocol extension and try to land it in the various GUI toolkits, as well as in xwayland.

Regarding trayicons, I suggest you use the StatusNotifier / AppIndicator protocol which is promoted heavily as the new way to display status icons

My intention is to support both.

Can you also add smart_hide mode when swaybar is visible only if there is any window on workspace?

Is that a request for a sway-exclusive feature, rather than one for a feature already in i3? If so, please create a new Github issue for it.

You linked click events to issue #222, but I can't find click events mentioned anywhere there, and click events currently do not seem to work, at least on my i3blocks setup they do not.
Am I doing something wrong or is this functionality just not implemented yet?

It's not implemented yet. The link from #222 has nothing to do with mouse events.

#450 is what really needs to get done before we can think about mouse events on swaybar.

Is anyone working on getting swaybar to handle mouse events? If not I might take a stab at it.

Not yet afaik. It has to be made into a shell surface. A good start would be working on swaybg as a shell surface.

Not sure exactly what "working on swaybg as a shell surface" means. I haven't looked at swaybg yet and I'm still trying to understand the difference between a surface and a shell surface.  I'll take a look at swaybg and and do some more research on surface vs shell surface and maybe it will become clear. Thanks.

A surface is any rectangular area of pixels that the compositor knows about. Shell surfaces are surfaces that act like windows. Presently swaybg and swaybar are both surfaces but not shell surfaces. To interact with the mouse they need to be shell surfaces, but currently sway assumes that all shell surfaces are windows and will attempt to tile them and such.

Thanks for the explanation. Could you please point me to the code that makes the assumption that shell surfaces are windows and where (non shell) surfaces are treated differently.

wlc invokes this for shell surfaces. Some surfaces configure themselves through protocol extensions like this where sway makes a note of it and renders them later like this.

Thanks. I'll try and play around with this over the next couple of days to try to understand Sway and wlc a little better.

How is Sway "notified" that Swaybar is launced? handle_view_created() seems to get called whenever a window, or I guess a shell surface, like a terminal is created but it does not get called when Swaybar is launched by Sway. I'm trying to find the code that ensures that Swaybar is rendered in the appropriate place.

https://github.com/SirCmpwn/sway/blob/master/sway/extensions.c#L85-L99

Is this how it works? set_panel() gets called. It calls find_or_create_panel_config() which does list_add(desktop_shell.panels, config). desktop_shell.panels is then used in handle_output_pre_render() which calls wlc_surface_render() to render the bar.
And is the desktop-shell.xml a Sway specific extension?

Yes, that's how it works. No, desktop-shell is not sway specific.

If there is a reliable way to detect that the created view is either swaybar or swaybg in handle_view_created(), I guess we can essentially do nothing for swaybar and swaybg handle_view_created() and render them in handle_output_pre_render() as is done today.

Perhaps if we assume that swaybar and swaybg is launched by sway, we can stash away their PIDs and call wl_client_get_credentials() in handle_view_created() and compare the PIDs. Is there a better way of doing this. Can we get the PID of the process invoking set_panel and set_background? If we can, then at least we don't have to rely on sway launching swaybar and swaybg.

I would rather call set_panel before creating the shell surface, then associating that surface with a panel and catching that in handle_view_created.

We can also just use that one wlc function that creates a shell surface out of an arbitrary surface without any client-side interactions.

I would rather call set_panel before creating the shell surface
I don't follow. I thought that set_panels was called by the client through the wayland protocol. Hmm, are you talking about changes to the swaybar and swaybg?

We can also just use that one wlc function that creates a shell surface out of an arbitrary surface without any client-side interactions.
Not familiar with that function but if it does what I think it does based on your explanation, I think this is the way to go.

I am talking about changes to swaybar and swaybg, yes.

I was looking at how keryboard is handled in registry.c and how pointer is handled in window.c. Why is keyboard handled per registry and pointer per window? struct registry has field of type struct input with some keyboard related state, e.g. last_code. Should this not be tracked on a per window basis?

I went ahead and made keyboard state tracked per window.

Is it OK, that it is possible to use only half of the colors?
I am trying to configure swaybar. In the config file:
bar {
    position top
    colors {
        statusline #000000
        background #7f7f7f
    }
}

If I set background to darker colors, like #303030 it would be ok, but if I change any color (R,G or B) to the 80 or brighter (like #f0f0f0) it will turn to the bright cyan color (instead of white, gray, whatever) — it will be #7fffff.
Just to be clear, this config:
bar {
    position top
    colors {
        statusline #000000
        background #808080
    }
}

will produce bar with bacground color #7fffff.

I don't fully understand what you're asking for.

Hm... I am trying to ask, is this an error, or not. Looks like an error.

You have to provide all three colors if I recall correctly. The relevant error should have been logged.

Well, there is no error in log, actually. And the strange thing with colors appearing even with the default configuration (in which the statusbar, text on the swaybar, are bright cyan).
Log from another example:
Configuring bar bar-0
handling config command 'position top'
find_handler(position) 0
Setting bar position 'top' for bar: bar-0
handling config command 'colors {'
find_handler(colors) 0
handling config command 'statusline #000000'
find_handler(statusline) 0
handling config command 'background #ffffffff'
find_handler(background) 0
handling config command '}'
End of bar colors block
handling config command '}'
End of bar block

Background also cyan here.

I think there may be an error in parse_color. It should use strtoul instead of strtol with an explicit cast to uint32_t.
https://github.com/SirCmpwn/sway/blob/44a4905466599155fb7203a585dfca1ce1720b33/common/util.c#L107

Send patch?

I can do that, but I'll have to test it first.

Of course. Thanks!

Well, I can't reproduce it, that may depend on the specific strtol implementation. I'll send the patch anyways.

I can try to test this. If this is the only line that require changes...

Yeap, this worked for me:
https://itmages.ru/image/view/4684832/e27eb77c
Bar config:
bar {
    position top
    status_command sway_status.py
    strip_workspace_numbers yes
    pango_markup enabled
    font swaybar-icons 14
    colors {
        statusline #000000
        background #dedede
        separator  #b7b7b7
        inactive_workspace #00000000 #dedede #555555
        focused_workspace  #b7b7b7   #f5f5f5 #555555
        urgent_workspace   #00000000 #dedede #00a0ff
    }
}

And the colors are correct now.
Thanks!

Shouldn't tray icon support be in this list?

I suppose.

Should click events be part of this list? Eg. https://i3wm.org/docs/i3bar-protocol.html - when configuration specifies "click_events": true. I saw mouse events being part of this list but I assume those mean just in general (and perhaps clicking on workspace labels).

Thanks @johnae, added those to the list.

What is the progress about the tray icon bar?

None. Work on it yourself if you want.

I don't know very much about wayland or tray icons, but if someone points me in the right direction I'd be willing work on implementing the tray icon bar.

Some direction on tray icons is given in the bounties issue.

Is this issue closed with the merging of #1234?

@kellpossible XEmbed is still not implemented.

Really need mode options.
Appreciation for this much fast and perfect development. Really awesome man.

Will it support vertical bar/panel?

That's unrelated to i3 compatability, but perhaps.

Did i3bar toss in trailing garbage during click events? Currently swaybar adds a trailing comma which means it emits a malformed JSON value and breaks the usability for example of i3status-rust.
I would love to provide a patch for this but I'm not sure which repository to submit it to.

Yeah that looks wrong. This is the repository to send patches to.

Hi,
First of all, thank you guys for this amazing window manager. Great job!
I am using https://github.com/greshake/i3status-rust with swaywm and works fine, but I couldn't find any way to remove 1px separator.
With i3wm this don't ocur, if you configure an empty separator symbol there are no space between components and the bar looks perfect.
¿Is this a bug or I am missing a configuration option?
Thank you!
Regards,
Javi.

i3bar's features are fully supported (except tray icons, which are being tracked separately).


paket.bootstrapper.exe 2.27.0 fails

paket.bootstrapper.exe 2.27.0 fails with

.paket\paket.bootstrapper.exe
No version specified. Downloading latest stable.
Input string was not in a correct format. (Github)

Argh. Probably regression in #1236

/cc @inosik

May be there's a need for a small integration test :)

We have one. But it's testing vnext (via paket init). So expect it to fail
now ;-)
Joking aside: will add one that checks the currently built version.
On Nov 19, 2015 12:52 PM, "Alexey Zimarev"<EMAIL_ADDRESS>wrote:

May be there's a need for a small integration test :)
—
Reply to this email directly or view it on GitHub
https://github.com/fsprojects/Paket/issues/1240#issuecomment-158033943.

Sorry for that, can't do anything right now. I think it's better to revert for now.

This seems to only affect GitHub, NuGet works fine.

reverting right now

Could you please try with latest?


Don't install a node dependency in preinstall script

The preinstall in package.json installs a version of tsd.
When angular tries to checksum the shrinkwrapped dependencies, it gets confused because the tsd shows up under node_modules even though it wasn't declared, so it always thinks the node_modules are dirty and busts the cache.
Maybe we can make tsd a devDependency and still get the preinstall to work somehow? Maybe it's enough to put it in both places.

handled in 8ef71a190ee8927f6c03e38c3439f82a4fba1e67


Add a SWIFT_STDLIB_LLVM_LTO CMake option to enable building stdlib with LTO

@swift-ci please test

Michael added this via https://github.com/apple/swift/pull/36570.


Kpt does not preserve order of fields when field value is null

See https://github.com/GoogleContainerTools/kpt-functions-catalog/pull/544/files, and the example render-helm-chart-crds.
The function fails the idempotency check, because upon the first run, the contents of customresourcedefinition_workspaces.app.terraform.io.yaml
contains the following:
creationTimestamp: null
name: workspaces.app.terraform.io

On the second run, this gets reversed:
name: workspaces.app.terraform.io
creationTimestamp: null

If in between the first and second run, I change the value of creationTimestamp to anything except null, e.g. 999, this reordering does not occur - the field ordering is preserved correctly. My guess is kpt is somehow ignoring creationTimestamp: null because of the null value, resulting in a bug in the order preservation code.
cc @droot @phanimarupaka

@natasha41575 Thanks for filing the issue. I will debug and update the progress.

@natasha41575 I added the test and it works fine. https://github.com/kubernetes-sigs/kustomize/pull/4134/files
Which version of kpt are you using ? kpt version on your local should have version beta2 or above.
Where can I find render-helm-chart function ? I don't see it here https://pantheon.corp.google.com/gcr/images/kpt-fn/GLOBAL


document InMemoryPropertyStoreMarshalByValue, update related content

this was missing from the docs. this object is defined in propsys.h

@jwmst can you help me move this forward? feel free to send email internally if needed.


Adding Aws Arn tag for dynamoDB relationships

Relevant information

Currently we are working with mapping relationships for Lambda functions for Otel entity. We've already added new rules for DynamoDB calls. Also adding one more field i.e aws.arn for the same.
Please review this PR & provide the feedback on it, And also guid me for further assistance.
Please find the ticket link here

Checklist

[ ] I've read the guidelines and understand the acceptance criteria.
[ ] The value of the attribute marked as identifier will be unique and valid.
[ ] I've confirmed that my entity type wasn't already defined. If it is I'm providing an explanation above.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Annotation Background

Hi Susie -- thank you for putting this great library together! Is it possible to add a background color to an annotation to set the titleColor and labelColor against? I have looked through the docs and a few of the examples provided. Any help would be greatly appreciated!

There's a rect behind the annotation you can access with the .annotation-not-bg class and set a different fill color to using css. Let me know if I'm misunderstanding the question though.

Thank you for getting back to me! I see the .annotation-not-bg class I just can't figure out how to override the default fill and opacity styles.

You can just override it with css. Css styles have higher priority than svg
attribute properties.
On Sat, Sep 22, 2018, 8:17 AM Sam Martin<EMAIL_ADDRESS>wrote:

Thank you for getting back to me! I see the .annotation-not-bg class I
just can't figure out how to override the default fill and opacity styles.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/susielu/react-annotation/issues/17#issuecomment-423751147,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABYfbVS6ZuvbQ_wOztvJPXDwMDFDO2r9ks5udlSggaJpZM4WxUJ8
.

I have tried to override with css, but when I input styles to the .annotation-not-bg class in my style sheet they don't override the rect's properties. Do you have any idea why this might be happening? Thank you again for your help.

Are you able to put together an example? It seems to be working on the docs and in this codepen. https://codepen.io/susielu/pen/KxLJRM

Ugh. I'm embarrassed to admit this, but I had a syntax error that was preventing styles from being rendered properly. Thank you so much Susie for your help and patience!

👍 glad you solved the puzzle. Will close this issue.


HTTP Method 'GET' not allowed. Allowed are POST

Though I have selected 'POST' method but always getting below error,
{
"errorCode": "METHOD_NOT_ALLOWED",
"message": "HTTP Method 'GET' not allowed. Allowed are POST"
}
Thanks,
Shanmukh

@shanmukhGIT Are there any steps to reproduce this?


Snapfile ignored - syntax error?

When running snapshot (v 0.4.12 and v 0.4.13) with the default Snapfile but uncommented the schema 'MySchema' line it seems that everything inside the Snapfile is ignored. snapshot asks me which schema to choose... But also says Using './Snapfile'
When deleting everything inside the Snapfile but only placing schema 'MySchema' in there, snapfile uses the given schema!
For me it looks like some syntax error within the default Snapfile file. But I'm unable to determine what the problem is.

Sorry, hard to tell, could you post the complete Snapfile which was causing the problem? Sorry for the late reply, somehow missed that issue.

The problem still exists. You can see that Snapfile is found but ignored.
YYYYYs-MacBook-Air:XXXXX.mobile simonbruchner$ snapshot
DEBUG [2015-03-11 19:08:06.44]: Found 10 simulators.
INFO [2015-03-11 19:08:06.47]: Using './Snapfile'
DEBUG [2015-03-11 19:08:06.66]: xcodebuild -workspace '/Users/simonbruchner/Documents/XXXXX.mobile/XXXXX.xcworkspace' -list
DEBUG [2015-03-11 19:08:08.18]: Found available schemes: ["Copy of XXXXX", "XXXXX", "XXXXXActionExtension", "XXXXXSharedCode", "XXXXXSharedCodeResources", "XXXXXTodayExtension"]
Found the following schemes in your project:
You can use 'scheme "Name"' in your Snapfile
--------------------------------------------
1) Copy of XXXXX
2) XXXXX
3) XXXXXActionExtension
4) XXXXXSharedCode
5) XXXXXSharedCodeResources
6) XXXXXTodayExtension

The current Snapfile
# Uncommend the lines below you want to change by removing the # in the beginning

# A list of devices you want to take the screenshots from
devices([
  "iPhone 6",
  "iPhone 6 Plus",
  "iPhone 5",
  "iPhone 4s",
  "iPad Air"
])

languages([
  'en-US',
  'de-DE',
  'it-IT'
])

# Where should the resulting screenshots be stored?
screenshots_path "./screenshots"

# clear_previous_screenshots # remove the '#'' to clear all previously generated screenshots before creating new ones

# JavaScript UIAutomation file
# js_file './snapshot.js'

# The name of the project's scheme
scheme 'XXXXX'

# Where is your project (or workspace)? Provide the full path here
# project_path './YourProject.xcworkspace'

# By default, the latest version should be used automatically. If you want to change it, do it here
# ios_version '8.1'

I found the solution! It is related to the line encoding! It was "Old Mac Format".
How to reproduce the problem:

In atom.io install the line-ending-converter
Open a Snapfile
Via the Menu select Packages > Line Encoding Converter > Convert To Old Mac Format
Save the Snapfile.
Run snapshot
The Snapfile will be ignored.

BTW: formated with Windows line formatting it worked.
I assume this strange encoding problem happened because I edited the contents of Snapshot on a Windows system and copied it over to Mac using a mouse/keyboard sharing software (http://synergy-project.org/).
Anyway, snapshot is giving me the wrong information when telling Using './Snapfile' but actually fails using it.

I did a diff I think snapshot was correct.
diff --git a/fastlane/Snapfile b/fastlane/Snapfile
index 40e0175..9fb01f6 100644
--- a/fastlane/Snapfile
+++ b/fastlane/Snapfile
@@ -1 +1,60 @@
-# Uncomment the lines below you want to change by removing the # in the beginning^M^M# A list of devices you want to take the screenshots from^Mdevices([^M  "iPhone 4s",^M  "iPhon
\ No newline at end of file
+# Uncomment the lines below you want to change by removing the # in the beginning
+
+# A list of devices you want to take the screenshots from
+devices([
+  "iPhone 4s",
+#  "iPhone 6",
+#  "iPhone 6 Plus",
+#  "iPhone 5",

So the whole file was somehow formatted in a single line with strange line breaks (see http://en.wikipedia.org/wiki/Newline#Common_problems).

Thanks for investigating and letting me know :+1:


fragments: init at 1.3

Motivation for this change
Got carried away when I saw #56784 :smile:
The build system for Fragments Is kinda problematic in nix because of how it builds the latest transmission.
Also couldn't get libz to go in submodules/meson.build.
Things done

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

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

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

Can we package the transmission as a separate derivation?

Yeah, find_library should always omit lib prefix. This is an upstream bug.

Can we package the transmission as a separate derivation?

I think so.
I'd have to sync it with whatever version the submodule is checked out at https://github.com/transmission/transmission/commit/4a4233feae0655d8a9a0e9810d74fadc722b4237 and add a patch to use it.

IIRC, we wanted to build transmission as subpackage. Also at this point it is outdated.

In latest fragments it seems to bundle transmission with flatpak https://gitlab.gnome.org/World/Fragments/commit/1665c64164f4c865239742948a11797ed0f79836, and it lacks this feature https://gitlab.gnome.org/World/Fragments/issues/30 which makes me disinterested.

For testing purpose I continued this package in my NUR repository. You can try the package nur.repos.onny.fragments if you want :) I've packaged version 1.4. Still not sure which features might be missing or bugs still present.


Add str method to datamodule

What does this PR do?
Added a str function to the DataModule in order to be able to print Datasets included in the module instead of an adress.
Fixes #9947

Before submitting

Was this discussed/agreed via a GitHub issue? (not for typos and docs)
[x] Did you read the contributor guideline, Pull Request section?
[ ] Did you make sure your PR does only one thing, instead of bundling different changes together?
Did you make sure to update the documentation with your changes? (if necessary)
Did you write any new necessary tests? (not for typos and docs)
[ ] Did you verify new and existing tests pass locally with your changes?
Did you list all the breaking changes introduced by this pull request?
Did you update the CHANGELOG? (not for typos, docs, test updates, or minor internal changes/refactors)

PR review
Anyone in the community is welcome to review the PR.
Before you start reviewing, make sure you have read the review guidelines. In short, see the following bullet-list:

Reviewer checklist

[x] Is this pull request ready for review? (if not, please submit in draft mode)
[x] Check that all items from Before submitting are resolved
[x] Make sure the title is self-explanatory and the description concisely explains the PR
[ ] Add labels and milestones (and optionally projects) to the PR so it can be classified

📚 Documentation preview 📚: https://pytorch-lightning--20301.org.readthedocs.build/en/20301/

Will add documentation once code is fixed

I have been waiting for quite some time. How do I go on? Do I just wait some more until someone looks at this?

hey @MrWhatZitToYaa thanks for taking this up and sorry for the wait
can you add a bit more detail on what do we think it's good printing from a datamodule?
the original design in #9947 was a bit different, as was #9967, but happy to consider alternatives after there's some discussion on the rationale

hey @MrWhatZitToYaa thanks for taking this up and sorry for the wait
can you add a bit more detail on what do we think it's good printing from a datamodule?
the original design in #9947 was a bit different, as was #9967, but happy to consider alternatives after there's some discussion on the rationale

The idea originally came to me when I had to to use the Datamodule to implement some datasets we have in our lab. It was really annoying to deal with the fact that you never really know what you are dealing with and makes debugging really hard. I talked to some colleagues and they agreed that they ran into the same problem. That's why I would like to add a str functionality for the Datamodule: primarily for debugging / logging.
I think the simplest approach is to scan the whole module for instances of datasets and then return a string where each line contains the name of the dataset and the length if it is available. This would be a big quality of life improvement when dealing with / constructing Datamodules.

The string method will now check if any of the 4 dataloaders are available and try to print information on them. I hope this is how you imagined it to work

Alright, sounds good to me
I made the changes so I assume it complies with your specification now


carml 1.3.0 insights display name add

Updated Readme for carml 1.3.0 for Microsoft.Insights/scheduledqueryrules to include display name in table
Updated the actual BICEP to include a new parameter for displayname and the resource deployment to include a conditional for displayname to use provided value if not empty, otherwise use the value of the name parameter.

Fixing and resubmitting from current code and not including my ongoing work with alerts.


Change to simpler import for jax.config

This will help us on the path of removing the jax.config module, whose name confusingly collides with the jax.config object.

Do you imagine a module with roughly the same API? i.e. this will still work?
from jax import config
config.update('jax_enable_x64', True)

I actually think we should move away from config.update because it's a very "stringly-typed" interface. We should give config flags Python names, so
jax.config.enable_x64.update(True) or something more like that.
But that's orthogonal to this change.


The Moderation tag is triggered no matter what I ask

Describe the bug
The Moderation tag is triggered no matter what I ask
To Reproduce
Steps to reproduce the behavior:
Ask any question in the jailbreak mode
Expected behavior
It will return "Error: The moderation filter triggered. Try again with different wording."

same problem.now i cant use the jailbreak mode of newbing

what to do? is everyone like this?

https://github.com/waylaidwanderer/node-chatgpt-api/pull/350 fixed it

#350 fixed it

great work! have tried and Sydney back

Great! Been having this issue yesterday. Before switching to that pr, are there any changes? New syntax or anything? Or is it a plug&play upgrade?

伟大！昨天一直有这个问题。在切换到该 pr 之前，是否有任何更改？新语法还是什么？还是即插即用升级？

Same question

It's a plug and play upgrade

Awesome, thank you!

Published v1.36.0 with this fix. Thanks @InterestingDarkness


Can not continue conversion

Hi, I updated to the most recent version today.
I tried a few examples, it works perfectly at the beginning,  but whenever I'd like to continue the conversion it will show error like this:
[ChatGPT MDI Error :: This model's maximum
context length is 4097 tokens. However, you
requested 4621 tokens (621 in the messages,
4000 in the completion). Please reduce the
length of the messages or completion.
issue calling OpenAl API, see console for more
details
Am I doing it wrong or I can only have 4097 tokens for the whole note?

It seems I set max_tokens too high  (4000), I changed to 512 and now it's working... Don't know why though...

Hi @nkmechanics, I believe the API automatically rejects anything before it calculates that would go above 4096 tokens. So in your case 621 in the messages + 4000 in the completion would overload the system so it pre rejected it. Does that make sense?

ok, so since I set max_tokens to 4000, it will always use this value to pre-compute the total tokens? It does make sense to think this way...
I was setting it high in the hope to get more responds without the cutoff. Guess I need to play with the value to get an optimized results...
Thanks for the explanation!

Sorry, another question: Is the limit of 4096 token applies to the whole conversions (a.k.a., the whole note)? Not a single response (one question and one answer)?

The whole conversation, yes. There are tricks you can do with summarizing messages or building a "sliding window" but your best bet w ChatGPT MD is just to create a new chat and go from there

Thanks for the confirmation!


Cache VFS write and backend

When filing an issue, please include the following information if possible as well as a description of the problem.  Make sure you test with the latest beta of rclone.
https://beta.rclone.org/
https://rclone.org/downloads/

If you've just got a question or aren't sure if you've found a bug then please use the rclone forum instead of filing an issue.

What is your rclone version (eg output from rclone -V)
`rclone v1.39-045-ga80d8a21β

os/arch: linux/amd64
go version: go1.9.2`

Also tried the non-beta

Which OS you are using and how many bits (eg Windows 7, 64 bit)
Linux, x64 (Ubuntu in LXC)

Which cloud storage system are you using? (eg Google Drive)
Google Drive

The command you were trying to run (eg rclone copy /tmp remote:tmp)
/bin/rclone mount --config=/root/.config/rclone/rclone.conf --allow-other --cache-writes --vfs-cache-mode=writes --cache-dir=/tmp/rclone/vfs --cache-db-path=/tmp/rclone/cache --dir-cache-time=3600m enc:/ /mnt/gdrive

I have 3 remotes configured, google-drive -> cache backend -> crypt - with the final one being mounted.
It seems that when a file is opened for write on the mount point, it is first cached in the vfs cache directory. Perfect! In addition, when I open files for read they are cached by the back end cache. Perfect! I've added the --cache-writes switch in the hope that writes will be added to the back end cache.
Now it sort of works... Using a 1GB file I've monitored the cache directories and noticed that the data is first moved to the vfs cache directory, very soon after it's added to the cache-backend directory (it takes a few seconds to populate, I presume because it's being chunked into (default) 5MB chunks). At this point I beleive the file is also being uploaded to the remote (Google Drive in this case). The data then disappears from the vfs cache path (as it should) but it also seems to be removed from the cache-backend directory.
It looks like something isn't right - the vfs cache clear is causing the backend cache to remove it's data.

Back to the original issue. I'm trying to write a test to verify this behaviour. So far, nothing. Is this still happening with the latest beta (the ones that you downloaded for temp uploads)? It's sadly impossible for me to go back to 1.39 with the refactored test cases.
@JAC2703

We're passed quite a few releases and this area was heavily refactored so I'm going to close this issue


Hover over region name should highlight line, highlight bars

Should function just as the ISP hover over does.

This issue happens due checking that the highlighted ID exists in the series array-- but it should also check annotationSeries, where location resides.


Builder pattern test incorrect

The tests on the builder pattern should be more on the strategy builder. It seems to be testing the strategy computation.

Noting, the existing test can be kept as integration test


Upload read only file

Describe the bug
When I try to upload a read only file. It doesn't throw any error just loading forever

Desktop (please complete the following information):

OS: [e.g. Mac, Win, Linux]
VSCode Version [e.g. 1.27.0]
Extension Version [e.g. 1.7.0]

Extension Logs from Startup - required

Open User Settings.

On Windows/Linux - File > Preferences > Settings
On macOS - Code > Preferences > Settings

Set sftp.debug to true and reload vscode.

Reproduce the problem, get the logs from View > Output > sftp.


Generate sitemap.xml.gz

https://github.com/kjvarga/sitemap_generator
See geoportal's implementation: https://github.com/BTAA-Geospatial-Data-Project/geoportal/blob/develop/config/sitemap.rb

Sitemap should only list top level objects, no child pages/objects

We should also set the lastmod property for each sitemap URL to the date_modified_dr value out of Solr. fl should accept a coma-delimited string of fields.


High level EC2 module to unblock EC2 RFC

why does the high-level EC2 block the EC2 RFC?

Oh I thought we were concerned that the tables would get to wide once we added all of the ec2 functionality?

yes, that's a concern in terms of UX but I wouldn't say a blocker. Also, all those properties will be added gradually, so it could also be worked in parallel.


Create Tool_Request_Issue

Initial commit to create an formal issue based process to request tool access within the OSS security tool chain.

Description

Pre-review checks
Please ensure to do as many of the following checks as possible, before asking for committer review:

[ ] DEPENDENCIES are up-to-date. Dash license tool. Committers can open IP issues for restricted libs.
[ ] Copyright and license header are present on all affected files

Hi @SebastianBezold, @Siegfriedk,
can you check and approve this request?
Currently we dont have any active commiters in the CX securty team, therefore we kindly ask you for your help :)
Kind regards
Kristian Cicka


Force thread safe initialization of default MMFF parameters

The only thing I'm doing here is enforcing thread safe static initialization of the default parameters.
The failure case here is someone calling the original API functions with non default parameters, this will delete these pointers if they have been created, then kaboom.  However, for standard usage, this should solve the threading issues.

This still shows the base issue.