Interacts with pivot table sync touch attach / detach

Illuminate\Database\Eloquent\Relations\Concerns\InteractsWithPivotTable trait.
$this->touchIfTouching(); will touch the model timestamp on attach.  Shouldn't also do it on detach ?
/**
 * Sync the intermediate tables with a list of IDs or collection of models.
 *
 * @param  \Illuminate\Database\Eloquent\Collection|\Illuminate\Support\Collection|array  $ids
 * @param  bool   $detaching
 * @return array
 */
public function sync($ids, $detaching = true)
{
    $changes = [
        'attached' => [], 'detached' => [], 'updated' => [],
    ];

    // First we need to attach any of the associated models that are not currently
    // in this joining table. We'll spin through the given IDs, checking to see
    // if they exist in the array of current ones, and if not we will insert.
    $current = $this->newPivotQuery()->pluck(
        $this->relatedPivotKey
    )->all();

    $detach = array_diff($current, array_keys(
        $records = $this->formatRecordsList($this->parseIds($ids))
    ));

    // Next, we will take the differences of the currents and given IDs and detach
    // all of the entities that exist in the "current" array but are not in the
    // array of the new IDs given to the method which will complete the sync.
    if ($detaching && count($detach) > 0) {
        $this->detach($detach);

        $changes['detached'] = $this->castKeys($detach);
    }

    // Now we are finally ready to attach the new records. Note that we'll disable
    // touching until after the entire operation is complete so we don't fire a
    // ton of touch operations until we are totally done syncing the records.
    $changes = array_merge(
        $changes, $this->attachNew($records, $current, false)
    );

    // Once we have finished attaching or detaching the records, we will see if we
    // have done any attaching or detaching, and if we have we will touch these
    // relationships if they are configured to touch on any database updates.
    if (count($changes['attached']) ||
        count($changes['updated'])) {
        $this->touchIfTouching();
    }

    return $changes;
}

/**
 * Sync the intermediate tables with a list of IDs or collection of models.
 *
 * @param  \Illuminate\Database\Eloquent\Collection|\Illuminate\Support\Collection|array  $ids
 * @param  bool   $detaching
 * @return array
 */
public function sync($ids, $detaching = true)
{
    $changes = [
        'attached' => [], 'detached' => [], 'updated' => [],
    ];

    // First we need to attach any of the associated models that are not currently
    // in this joining table. We'll spin through the given IDs, checking to see
    // if they exist in the array of current ones, and if not we will insert.
    $current = $this->newPivotQuery()->pluck(
        $this->relatedPivotKey
    )->all();

    $detach = array_diff($current, array_keys(
        $records = $this->formatRecordsList($this->parseIds($ids))
    ));

    // Next, we will take the differences of the currents and given IDs and detach
    // all of the entities that exist in the "current" array but are not in the
    // array of the new IDs given to the method which will complete the sync.
    if ($detaching && count($detach) > 0) {
        $this->detach($detach);

        $changes['detached'] = $this->castKeys($detach);
    }

    // Now we are finally ready to attach the new records. Note that we'll disable
    // touching until after the entire operation is complete so we don't fire a
    // ton of touch operations until we are totally done syncing the records.
    $changes = array_merge(
        $changes, $this->attachNew($records, $current, false)
    );

    // Once we have finished attaching or detaching the records, we will see if we
    // have done any attaching or detaching, and if we have we will touch these
    // relationships if they are configured to touch on any database updates.
    if (count($changes['attached']) ||
        count($changes['detached'])) {
        $this->touchIfTouching();
    }

    return $changes;
}

It is done inside detach() method.
if ($touch) {
    $this->touchIfTouching();
}


Migrate backup

Codecov Report

Merging #647 (6332152) into master (06383a8) will increase coverage by 0.00%.
The diff coverage is 38.46%.

@@           Coverage Diff           @@
##           master     #647   +/-   ##
=======================================
  Coverage   41.72%   41.72%
=======================================
  Files         333      333
  Lines       24089    24140   +51
=======================================
+ Hits        10051    10073   +22
- Misses      14038    14067   +29

Flag
Coverage Δ

unittests
41.72% <38.46%> (+<0.01%)
:arrow_up:

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

Impacted Files
Coverage Δ

dbaas/workflow/steps/util/base.py
42.31% <ø> (ø)

dbaas/maintenance/models.py
61.45% <12.50%> (-1.18%)
:arrow_down:

dbaas/workflow/steps/util/volume_provider.py
44.39% <40.74%> (+0.25%)
:arrow_up:

dbaas/backup/tasks.py
49.32% <66.66%> (ø)

dbaas/backup/models.py
90.14% <75.00%> (-1.04%)
:arrow_down:

dbaas/physical/models.py
75.05% <100.00%> (+0.11%)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 06383a8...6332152. Read the comment docs.


[Verify] Job generation may not work when there are fewer than 3 wagons

Forgot to test this with the Sim update.

Resulted in #51 and plans to rewrite a portion of the job generation system.


Guidance on Using libtensorflowlite_flex.so with TensorFlow Lite C++ API

I'm currently working with the TensorFlow Lite C++ API and have encountered some challenges regarding the usage of the flex delegate. I've successfully built the libtensorflowlite_flex.so library following the instructions provided on the official TensorFlow website. However, I am unclear on how to properly utilize this library, as I couldn't find any documentation on its usage in the guides.
Issue Summary:
After compiling libtensorflowlite_flex.so, I'm unsure how to integrate it into my existing TensorFlow Lite C++ project, which currently works well with the built-in operators. My aim is to leverage additional operators through the flex delegate, but my attempts to replace libtensorflowlite.so with libtensorflowlite_flex.so have led to compilation errors, leaving me uncertain about the correct approach or if there's something I'm missing.
Detailed Description:
I have successfully run TensorFlow Lite models using the C++ API and its built-in operators.
I need to use additional operators, for which I believe the flex delegate is required.
After building libtensorflowlite_flex.so, replacing libtensorflowlite.so with it in my project led to compilation failures.
I'm seeking guidance on the correct process to integrate the flex delegate into my project.
Environment:
OS: Ubuntu 20.04
TensorFlow Version: 2.6.5
I would greatly appreciate any documentation, examples, or guidance on how to properly use the flex delegate with the TensorFlow Lite C++ API. It would be immensely helpful for advancing my project and for others who might face similar challenges.

What compilation errors do you get?

In fact, I've figured out how to use libtensorflowlite_flex.so on my own. Here's how I incorporated this library into my work. I used CMake to link the TensorFlow Lite library and compile my code. A simplified example is as follows:
cmake_minimum_required(VERSION 3.11)

project(predict)
set(CMAKE_CXX_STANDARD 11)

include_directories(
  path/to/tensorflow/include
)

set(LINK_DIR path/to/tensorflowlite)
add_executable(predict src/main.cpp )

target_link_libraries(predict  ${LINK_DIR}/libflatbuffers.a)
target_link_libraries(predict ${LINK_DIR}/libtensorflowlite.so)

This code enables my code to link with TensorFlow Lite. However, it doesn't link with the Flex delegate. To use the Flex delegate, you need to first compile the libtensorflowlite_flex.so library file and place it in an appropriate location. Then, add the following code to the CMake file:
target_link_libraries(predict
  -Wl,--no-as-needed
  ${LINK_DIR}/libtensorflowlite_flex.so
  -Wl,--as-needed
)

I'm not sure if there's a more elegant way to utilize the Flex delegate. If there is, I would be grateful to learn about it.

I recently repeated the above on Windwos and noticed a slight difference. The MSVC compiler does not have a compilation option to force links, and can only load the flex dll manually. I was inspired by the issue
#include "tensorflow/lite/interpreter.h"
#include "tensorflow/lite/kernels/register.h"
#include "tensorflow/lite/model.h"
#include <Windows.h>

tflite::ops::builtin::BuiltinOpResolver resolver;
std::unique_ptr<tflite::Interpreter> interpreter;
tflite::InterpreterBuilder(*model, resolver)(&interpreter);

auto hdll = LoadLibrary("tensorflowlite_flex.dll");

auto TF_AcquireFlexDelegate = reinterpret_cast<tflite::Interpreter::TfLiteDelegatePtr (*)()>( GetProcAddress(hdll,
                                                  "TF_AcquireFlexDelegate"));
if (TF_AcquireFlexDelegate == NULL) {
  std::cout << "TF_AcquireFlexDelegate couldn't be run" << std::endl;
}

if (!interpreter) {
  std::cerr << "Failed to construct interpreter." << std::endl;
}
auto delegate = TF_AcquireFlexDelegate();
if (interpreter->ModifyGraphWithDelegate(delegate.get()) != kTfLiteOk) {
  // error handle
}

Hi @airchaoz, let's focus on one use case first as I see a lot of information flying around which isn't quite coherent. Do you want to focus on windows or Ubuntu 20.04? Are you using WSL in any way? Can you give us reproducible commands which I presume use the CMake file above to compile/run your project? and then share the errors which these commands produce.
Just for future reference, all this information is requested in our issues template: https://github.com/tensorflow/tensorflow/blob/master/ISSUE_TEMPLATE.md Please be sure to fill it out when creating an issue.

I have utilized the C API provided in c_api_experimental.h to link the TensorflowLite Flex delegate.

In fact, I've figured out how to use libtensorflowlite_flex.so on my own. Here's how I incorporated this library into my work. I used CMake to link the TensorFlow Lite library and compile my code. A simplified example is as follows:
cmake_minimum_required(VERSION 3.11)

project(predict)
set(CMAKE_CXX_STANDARD 11)

include_directories(
  path/to/tensorflow/include
)

set(LINK_DIR path/to/tensorflowlite)
add_executable(predict src/main.cpp )

target_link_libraries(predict  ${LINK_DIR}/libflatbuffers.a)
target_link_libraries(predict ${LINK_DIR}/libtensorflowlite.so)

This code enables my code to link with TensorFlow Lite. However, it doesn't link with the Flex delegate. To use the Flex delegate, you need to first compile the libtensorflowlite_flex.so library file and place it in an appropriate location. Then, add the following code to the CMake file:
target_link_libraries(predict
  -Wl,--no-as-needed
  ${LINK_DIR}/libtensorflowlite_flex.so
  -Wl,--as-needed
)

I'm not sure if there's a more elegant way to utilize the Flex delegate. If there is, I would be grateful to learn about it.

What are the folders needed to be included in the set directories include ?


Build failure when using non-system gcc with later glibc

System information

OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Debian 10
Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device:
TensorFlow installed from (source or binary): Source
TensorFlow version: HEAD
Python version: 3.7.3
Installed using virtualenv? pip? conda?: n/a
Bazel version (if compiling from source): 3.7.2
GCC/Compiler version (if compiling from source): 10.2.0
CUDA/cuDNN version: n/a
GPU model and memory: n/a

Describe the problem
Build using gcc 10.2.0 compiled on system with a later version of glibc than installed on system.
The tool flatc which is compiled during the build links with the glibc from gcc 10.2.0.
When flatc is executed later in the build, the environment is cleared out and it is not possible to set LD_LIBRARY_PATH so that it would load the correct version of glibc.
Provide the exact sequence of commands / steps that you executed before running into the problem
System installed libstdc++.so.6 is 3.4.25
gcc 10.2.0 built with glibc 2.28 and libstdc++.so.6 3.4.28 installed to /usr/local
Build command line:
$ TF_MKL_ROOT=~builder/1/built_tarballs/onednn/ bazel build --config=noaws --config=nogcp --config=nonccl --config=mkl_aarch64 --action_env=TF_MKL_ROOT=/home/builder/1/built_tarballs/onednn/ --action_env=LD_LIBRARY_PATH=/usr/local/lib64 --host_action_env=LD_LIBRARY_PATH=/usr/local/lib64 //tensorflow/tools/pip_package:build_pip_package --verbose_failures
Any other info / logs
Include any logs or source code that would be helpful to diagnose the problem. If including tracebacks, please include the full traceback. Large logs and files should be attached.
Build fails with the below messages:
ERROR: /home/debian/src/tensorflow_1dnn-git/tensorflow/lite/python/BUILD:11:22: Generating flatbuffer files for <source file tensorflow/lite/schema/schema.fbs>: failed (Exit 1): flatc failed: error executing command
(cd /home/debian/.cache/bazel/_bazel_debian/0988af24c3a1bb0051e8f606aa777b9e/execroot/org_tensorflow &&
exec env -
bazel-out/host/bin/external/flatbuffers/flatc --python -o bazel-out/aarch64-opt/bin/tensorflow/lite/python/schema_py_srcs_no_include_all -I ./ -I bazel-out/aarch64-opt/bin -I bazel-out/aarch64-opt/bin --no-includes --no-union-value-namespacing --gen-object-api tensorflow/lite/schema/schema.fbs)
Execution platform: @local_execution_config_platform//:platform
bazel-out/host/bin/external/flatbuffers/flatc: /lib/aarch64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.26' not found (required by bazel-out/host/bin/external/flatbuffers/flatc)
Target //tensorflow/tools/pip_package:build_pip_package failed to build

From the following page, the issue could be solved in my case.
https://github.com/tensorflow/tensorflow/pull/46550


WIP: Update existing releases

Allow the user to update releases in development phase.
Prevent changes in released releases.
Various improvements in the code
Fixes #44, #45, #49, #50

Pull Request Test Coverage Report for Build 104

51 of 51 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.1%) to 97.659%

Totals

Change from base Build 102:
-0.1%

Covered Lines:
697

Relevant Lines:
703

💛  - Coveralls

Codecov Report

Merging #64 into master will decrease coverage by 0.28%.
The diff coverage is 98.03%.

@@            Coverage Diff            @@
##           master     #64      +/-   ##
=========================================
- Coverage   96.58%   96.3%   -0.29%
=========================================
  Files           3       3
  Lines         732     703      -29
  Branches      180     180
=========================================
- Hits          707     677      -30
  Misses          6       6
- Partials       19      20       +1

Impacted Files
Coverage Δ

src/smap/symver.py
96.23% <98.03%> (-0.3%)
:arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 142767d...5387e34. Read the comment docs.


feat: support passing config to generateWebpackConfig for merging

Summary
Enables providing generateWebpackConfig an optional object that is included in the config merge, reducing the amount of boilerplate code you have to write when doing basic customization to the config.
Pull Request checklist

[x] Add/update test to cover these changes
[x] Update documentation
[x] Update CHANGELOG file

Other Information
Resolves #329

Thanks for the reviews - I'll action them in the next couple of weeks as I'm working on #349 right now

@G-Rath Ping me when ready for review!

Yup go for it! It would also be good to get released :)


Use maven-builder to support property substitution

Fixes #168

Glad this worked out. Thanks for doing the work!


[Bug] Expander does not expand on content size changes

Description
Ironically the Expander does not expand when content size is changed...

Steps to Reproduce

Initialize the Expander in a view with some content
On some event make the content larger
You'll now see that the last content of the Expander is cut off

Expected Behavior
Resize on content size changed, just as a StackLayout would do.
Actual Behavior
No resizing and overflowed content is cut off.
Basic Information

Version with issue: Xamarin.CommunityToolkit (1.1.0)
Platform Target Frameworks: .NET Standard 2.1
Android: 8.1.0

Reproduction Code
View:
<?xml version="1.0" encoding="utf-8"?>

<ContentPage xmlns="http://xamarin.com/schemas/2014/forms"
             xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
             xmlns:views="http://xamarin.com/schemas/2020/toolkit"
             x:Class="ExpanderBug.MainPage">

    <StackLayout>
        <views:Expander IsExpanded="True">
            <StackLayout>
                <Label Text="Hello" />
                <Label x:Name="World" Text="World" IsVisible="False" />
                <Button Text="Expand me" Clicked="Button_OnClicked" />
            </StackLayout>
        </views:Expander>
    </StackLayout>

</ContentPage>

Code-behind:
using System;

namespace ExpanderBug
{
    public partial class MainPage
    {
        public MainPage()
        {
            InitializeComponent();
        }

        private void Button_OnClicked(object sender, EventArgs e)
        {
            World.IsVisible = true;
        }
    }
}

Hello @Jogge
Please read the documentation before reporting "bug".
https://docs.microsoft.com/en-us/xamarin/community-toolkit/views/expander#resize-an-expander-at-runtime
you should call ForceUpdateSizeCommand or ForceUpdateSize metod

@AndreiMisiukevich Thank you for the link to the workaround. I have successfully implemented the workaround.
I still think it is a bug, since it does not what I was expecting... But it is not up to me to decide how the behavior should be. In my opinion it is not obvious that you must call a method to get the expander to expand.

@Jogge thanks for your feedback.

you must call a method to get the expander to expand.

You needn't have to call this method if your expander's content size is not a dynamic value (I believe, it works like that in most cases).
But if you wish to change content size "on the fly", then yes, you should call this method because the expander remains the content size from 1st expanding and then saves times for recalculation it all next times.


[Feature Request] QE + Starred (Core Plugin)

Hello @pjeby !
First of all, I just wanna thank you for this spetacular plug-in. For a keyboard lover, QE is the heaven and I don't know how to work without QE anymore!

I'm not an english native speaker. Sorry if I made some grammar/vocabulary mistake. Let me know if something is not clear.

My Feature Request is very simple: add an option to include Starred Plugin Files inside QE
My Workflow
For multiple projects that I'm working now, I like to use Starred to have quick access to these notes without changing my "complex" folder structure.(Would be a dream if we could star folders as well)
If I have this feature in QE in finally can get rid of File Explorer and work 100% with the keyboard 🙏
Ideas
If you allow me, I have two ideas for this feature:
Idea 1

A star icon on ★ left side of QE;
Command Palette dedicated command: Quick Explorer: Browse Starred Files;

Idea 2

A new first line in the vault breadcrumb. Using my image as a reference, the new line for Starred Files could be placed above DailyNotes folder

Command Palette dedicated command: Quick Explorer: Browse Starred Files

I hope you like my suggestion.
I wish you a fantastic day and thank for your time!

My eventual plans are for QE to support browsing by tags, headings, and forward/back links; I imagine adding support for stars would be quite possible as well at that point, though I don't have a clear idea of how that would work.  For example, would it just be a flat list of all the starred files, or the standard folder browsing, just only showing starred notes and folders containing them?  I'm guessing that for your use case you probably want the flat list.
Ultimately, I expect I will offer an API for other plugins to integrate with QE, to allow pulling up custom file lists, to support use cases like that, rather than building every possible file set or list into QE.  Making an example one to support stars would then be helpful to show how other plugins can do similar things, so that's probably how it'll go.
(Not sure how long it'll be till any of that happens, though, QE is a hobby/non-paying project at the moment.)

@pjeby,
Thank you very much for sharing your long term plans for QE. I’m excited to see what this amazing plugin could be in the future!

The QE API is a fantastic idea and a great path to interact with other plugins.

You are right, my actual case is just the flat list.

I hope one day Starred plugin  supports Folders as well.

Thank you for considering QE+Starred as a pilot project for the QE API in a possible future.

I 100% agree with you. We have to  prioritize paying projects and hobby projects when we have some spare time.

Feel free to close this FR and opens when is the best time for you in the future!
Thanks for your reply and thanks again for this amazing plugin (I think I like QE soo much because everything works and your attention to details that gives me the certainty that you really cares about the user experience).
Have a great day. It was a pleasure talking with you.

My eventual plans are for QE to support browsing by tags, headings, and forward/back links; I imagine adding support for stars would be quite possible as well at that point, though I don't have a clear idea of how that would work. For example, would it just be a flat list of all the starred files, or the standard folder browsing, just only showing starred notes and folders containing them? I'm guessing that for your use case you probably want the flat list.
Ultimately, I expect I will offer an API for other plugins to integrate with QE, to allow pulling up custom file lists, to support use cases like that, rather than building every possible file set or list into QE. Making an example one to support stars would then be helpful to show how other plugins can do similar things, so that's probably how it'll go.
(Not sure how long it'll be till any of that happens, though, QE is a hobby/non-paying project at the moment.)

My eventual plans are for QE to support browsing by tags, headings, and forward/back links; I imagine adding support for stars would be quite possible as well at that point, though I don't have a clear idea of how that would work. For example, would it just be a flat list of all the starred files, or the standard folder browsing, just only showing starred notes and folders containing them? I'm guessing that for your use case you probably want the flat list.
Ultimately, I expect I will offer an API for other plugins to integrate with QE, to allow pulling up custom file lists, to support use cases like that, rather than building every possible file set or list into QE. Making an example one to support stars would then be helpful to show how other plugins can do similar things, so that's probably how it'll go.
(Not sure how long it'll be till any of that happens, though, QE is a hobby/non-paying project at the moment.)

You can take a look at the breadcrumbs, it seems to be able to achieve some of your purposes, (custom hierarchy, folder function is performed on md)，
It provides a new way of thinking about folders，
Hope that helps,

You can take a look at the breadcrumbs, it seems to be able to achieve some of your purposes, (custom hierarchy, folder function is performed on md)，
It provides a new way of thinking about folders，
Hope that helps,

Thanks for your help, let me explain why my FR has a meaning that is different from  your suggestion.

I use Breadcrumbs and almost all plugins from the fantastic SkepticMystic. It’s fantastic.

An integration between the fantastic QE and other plug-in like Starred and Recent Files follows the axiom of this FR: keep things simple and dynamic.
A- 100% keyboard navigation
B- The user don’t have to edit change notes. just Mark as favorite (starred noted changes weekly/monthly). It’s an dynamic
C- no more modals in the center of the screen
D- one less item to put into the sidebars
Thanks for you suggestion but I am gonna wait for QE API to be able to achieve this in the future.

+1
For me, the flat list of starred files is more desirable.


auth_on_publish:704 can't auth publish

To help us save time and help you faster
Before opening a new issue, please make sure that isn't already an open (or
closed/resolved) issue concerning the problem. If unsure if older issues are
about the exact same thing, just open a new issue rather than posting in the old
one - but please reference the possibly related issues in the new issue.
Please do not insert images of text, but insert the text instead.
Environment
VerneMQ Version: Official Docker version
OS: Ubuntu 18.04
Mysql Version: Official Docker version(MySQL 8.0)
Erlang/OTP version (if building from source):

Expected behavior
I should be able to publish on a given topic.
Actual behaviour
Not able to publish on the given topic
But getting following error:
auth_on_publish:704 can't auth publish [<<"test-user1">>,{[],<<"test-client1">>},1,[<<"c">>,<<"b">>,<<"vikas">>],<<"10">>,false] due to error
I am using DB Based authentication.
vmq_auth_acl table has following entry
+------------+--------------+-------------+----------------------------------+-------------------------------------------+-------------------------------------------+ | mountpoint | client_id    | username    | password                         | publish_acl                               | subscribe_acl                             | +------------+--------------+-------------+----------------------------------+-------------------------------------------+-------------------------------------------+ |            | cn4_lab3     | lab3cn4     | 6eff383b2ab860e9102aceb665bae3a6 | [{"pattern":"vjti/csriot/cn4/#"}]         | [{"pattern":"#"}]                         | |            | gateway_lab3 | lab3gateway | 99c56b558acd6855445530dddfc56957 | [{"pattern";"vjti/csriot/glab3/#"}]       | [{"pattern":"#"}]                         | |            | test-client  | test-user   | 202cb962ac59075b964b07152d234b70 | [{"pattern":"a/b/c"},{"pattern":"c/b/#"}] | [{"pattern":"a/b/c"},{"pattern":"c/b/#"}] | |            | test-client1 | test-user1  | 202cb962ac59075b964b07152d234b70 | [{"pattern":"a/b/c"},{"pattern":"c/b/#"}] | [{"pattern":"a/b/c"},{"pattern":"c/b/#"}] | +------------+--------------+-------------+----------------------------------+-------------------------------------------+-------------------------------------------+
I am able to publish on the topic c/b/vikas for client-id=test-client1
But If I change the program with the credentials of client-id=lab3gateway, I am not able to publish on the topic vjti/csriot/glab3/temp
import paho.mqtt.client as paho
import time

def on_publish(client, userdata, mid):
    print("mid: "+str(mid))

client = paho.Client(client_id="gateway_lab3",clean_session=True)
client.on_publish = on_publish
client.username_pw_set("lab3gateway","g0tew0y10b3")
client.connect("<Verne-MQ_Server_Address>", 1886)
client.loop_start()

while True:
    temperature = 10
    (rc, mid) = client.publish("vjti/csriot/glab3/temp", str(temperature), qos=1)
    time.sleep(5)
    #print(client.getTopic())

I think there is a bug in the JSON object of the gateway_lab3 client. The publish ACL contains a ; instead of a : see: [{"pattern";"vjti/csriot/glab3/#"}] ... I am actually curious how this even passed the parser. Can you check if the JSON is correct? Thanks

Where can I find the JSON?

It's in the output above - the line for gateway_lab3 looks incorrect as it contains the pattern as mentioned by @dergraf. Try to correct this and see if that helps.

Thanks @dergraf  for pointing that out. I corrected it and it's working fine now. As far as the checking of the pattern is concerned- I think it can be implemented on the client side.


Created Send SMS with Twilio workflow

Pull request for workflow Send SMS using Twilio. Workflow accept a json over rest call and send SMS to end user using Twilio service and also returns status to rest client.

@peterlamar Please review and provide your comments.

@maam1 Will you be able to help review this as well?

Thanks @mangatrai , please make the filenames lowercase and replace _ with -.

@peterlamar i updated file names as directed. thank you for taking out time to review.

@peterlamar This looks good... ready to merge

Looks good to me as well. Just granted you merge privileges @maam1 . Please merge when ready

Completed the merge


Self-modifying code?

Does SP1 support self-modifying code?

Self-modifying code does not modify the file it has been loaded from.


[SASS-900] added connector 422/UNPROCESSSABLE ENTITY

Description
Please include a brief summary of the change you've made and the issue that it fixes.
Add a link to the relevant story in Jira
SASS-900
Checklist PR Reviewer
Before Reviewing

[x]  Have you pulled the branch down?
[x]  Have you assigned yourself to the PR?
[x]  Have you moved the task to “in review” on JIRA?
[x]  Have you checked to ensure all dependencies are up to date?

Whilst Reviewing

[ ]  Have you run the tests?
[ ]  Have you run the journey tests?
[ ]  Have you looked at the JIRA story to make sure all Acceptance Criteria has been met?

After Reviewing

[ ]  Have you checked for merge conflicts?
[ ]  Have you checked to make sure there are no builds in the pipeline before you merge?
[ ]  Have you moved the task to “in pipeline” on Jira?
[ ]  Have you checked for merge conflicts or any changes in the current master that may affect
the current pull request?

[x]  Have you addressed warnings where appropriate?
[x]  Have you rebased against the current version of master?

After PRs been Reviewed

[ ]  Have you checked the PR Builder passes?
[ ]  Have you checked for merge conflicts?
[ ]  Have you checked code coverage isn’t lower than previously?
[ ]  Have you checked for merge conflicts or any changes in the current master that may affect
the current pull request?

play-frontend-hmrc could be updated to 0.72.0-play-28, and bootstrap-frontend-play-28 could be updated to 5.4.0.
govuk-template should maybe be using the 28 version


Will this repository continue to be updated?

Occasionally yes, but not on a regular basis, because I have a family, a day job, and a variety of other interests. But Pull Requests are always welcome 😄


[orf:tvthek] --write-link  writes .../part/15408251#__youtubedl_smuggle=%7B%22force_noplaylist%22%3A+true%7D

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

[X] I understand that I will be blocked if I intentionally remove or skip any mandatory* field

Checklist

[X] I'm reporting that yt-dlp is broken on a supported site
[X] I've verified that I'm running yt-dlp version 2023.03.04 (update instructions) or later (specify commit)
[X] I've checked that all provided URLs are playable in a browser with the same IP and same login details
[X] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[X] I've searched known issues and the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue
[X] I've read about sharing account credentials and I'm willing to share it if required

Region
AFAIK worldwide. (Any geo-blocking would be limited to Austria.)
Provide a description that is worded well enough to be understood
steps to reproduce this issue

yt-dlp --write-link "https://tvthek.orf.at/profile/Weltjournal/5298609/WELTjournal-Edward-Snowden-alles-fuer-die-Wahrheit/14181784"

expected result
The URL above should be written into the link file.
actual result
This URL is written into the link file:
https://tvthek.orf.at/profile/Weltjournal/5298609/WELTjournal-Edward-Snowden-alles-fuer-die-Wahrheit/14181784/part/15408251#__youtubedl_smuggle={"force_noplaylist"%3A+true}
note
Almost all ORF.at URLs expire within 7 days after broadcast so new URLs might be required.
related
other issues mentioning "youtubedl_smuggle": #1032, #3025, #6543
Provide verbose output that clearly demonstrates the problem

[X] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[X] If using API, add 'verbose': True to YoutubeDL params instead
[X] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output

log
yt-dlp --write-link -v --no-config --test "https://tvthek.orf.at/profile/Weltjournal/5298609/WELTjournal-Edward-Snowden-alles-fuer-die-Wahrheit/14181784"
[debug] Command-line config: ['--write-link', '-v', '--no-config', '--test', 'https://tvthek.orf.at/profile/Weltjournal/5298609/WELTjournal-Edward-Snowden-alles-fuer-die-Wahrheit/14181784']
[debug] Encodings: locale cp1252, fs utf-8, pref cp1252, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version<EMAIL_ADDRESS>[59d9fe083] (win_exe)
[debug] Python 3.8.10 (CPython AMD64 64bit) - Windows-10-10.0.19045-SP0 (OpenSSL 1.1.1k  25 Mar 2021)
[debug] exe versions: none
[debug] Optional libraries: Cryptodome-3.18.0, brotli-1.0.9, certifi-2023.05.07, mutagen-1.46.0, sqlite3-2.6.0, websockets-11.0.3
[debug] Proxy map: {}
[debug] Loaded 1840 extractors
[orf:tvthek] Extracting URL: https://tvthek.orf.at/profile/Weltjournal/5298609/WELTjournal-Edward-Snowden-alles-fuer-die-Wahrheit/14181784
[orf:tvthek] 14181784: Downloading webpage
[download] Downloading playlist: 14181784
[orf:tvthek] 15408251: Downloading hls-Q1A-Niedrig m3u8 manifest
[orf:tvthek] 15408251: Downloading hls-Q4A-Mittel m3u8 manifest
[orf:tvthek] 15408251: Downloading hls-Q6A-Hoch m3u8 manifest
[orf:tvthek] 15408251: Downloading hls-Q8C-Sehr hoch m3u8 manifest
[orf:tvthek] 15408251: Downloading hls-QXB-Adaptiv m3u8 manifest
[orf:tvthek] 15408251: Downloading f4m manifest
[orf:tvthek] 15408251: Downloading f4m manifest
[orf:tvthek] 15408251: Downloading f4m manifest
[orf:tvthek] 15408251: Downloading f4m manifest
[orf:tvthek] 15408251: Downloading f4m manifest
[orf:tvthek] 15408251: Downloading dash-Q1A-Niedrig mpd manifest
[orf:tvthek] 15408251: Downloading dash-Q4A-Mittel mpd manifest
[orf:tvthek] 15408251: Downloading dash-Q6A-Hoch mpd manifest
[orf:tvthek] 15408251: Downloading dash-Q8C-Sehr hoch mpd manifest
[orf:tvthek] 15408251: Downloading dash-QXB-Adaptiv mpd manifest
[orf:tvthek] Playlist 14181784: Downloading 1 items of 1
[download] Downloading item 1 of 1
[debug] Formats sorted by: hasvid, ie_pref, lang, quality, res, fps, hdr:12(7), vcodec:vp9.2(10), channels, acodec, filesize, fs_approx, tbr, vbr, abr, asr, proto, vext, aext, hasaud, source, id
[debug] Default format spec: best/bestvideo+bestaudio
[info] 15408251: Downloading 1 format(s): hls-Q8C-Sehr_hoch-3576
[info] Internet shortcut (.url) is already present
[debug] Invoking hlsnative downloader on "https://apasfiis.sf.apa.at/cms-worldwide_nas/_definst_/nas/cms-worldwide/online/2023-06-07_2328_tl_02_WELTjournal---E_____14181784__o__5455949046__s15408251_1__ORF2HD_23275515P_00170811P_Q8C.mp4/chunklist.m3u8"
[hlsnative] Downloading m3u8 manifest
[hlsnative] Total fragments: 296
[download] Destination: WELTjournal +： Edward Snowden - alles für die Wahrheit [15408251].mp4
[debug] File locking is not supported. Proceeding without locking
[download] 100% of    3.86MiB in 00:00:20 at 190.76KiB/s
WARNING: 15408251: Possible MPEG-TS in MP4 container or malformed AAC timestamps. Install ffmpeg to fix this automatically
[download] Finished downloading playlist: 14181784

The extractor is intentionally appending the URL #fragment to the webpage_url, because then when this URL is passed back to yt-dlp, the extractor parses the fragment's "smuggled data" to determine that only this specific video should be downloaded, not the entire playlist. It's a sly way of forcing --no-playlist.
URL fragments are not sent with requests to the host, so this is purely a cosmetic concern.

What I'm saying is that it has function being in the output. Passing that URL with the fragment back to yt-dlp will force --no-playlist. If you strip the fragment, it will not force --no-playlist

use original_url rather than webpage_url for --write-link

Maybe this would be a feasible way of solving this problem generally? Although if I run yt-dlp --print original_url with the OP's example URL, I get NA as the output. And there are probably other cases where this would be undesirable, not to mention the potential compat implications

but use something like smuggle_url to accomplish this task

that's what is being used by the extractor. smuggle_url works by smuggling data in a url fragment

use original_url rather than webpage_url for --write-link

this is what you're asking for, but I don't know if it would be the expected behaviour

or (even better if possible) don't smuggle anything into original_url and webpage url, but use something like smuggle_url to accomplish this task

webpage url is documented as

webpage_url (string): A URL to the video webpage which if given to yt-dlp should allow to get the same result again

I would presume that including theyoutubedl_smuggle would be the expected behaviour for that

If you just want to make a link with original url, why even use yt-dlp? The point is to make link with the final video webpage URL, which cannot be represented properly without the smuggled data. This will not be changed.

PS: --write-link etc are kind of redundant now since you can achieve the same, and more (including what you asked) with --print-to-file


When seeing an error in interop test, also log the debug error string.

Woo! first use of new debug_error_string API :)

****************************************************************

libgrpc.so

     VM SIZE        FILE SIZE
 ++++++++++++++  ++++++++++++++

  [ = ]       0        0  [ = ]

****************************************************************

libgrpc++.so

     VM SIZE        FILE SIZE
 ++++++++++++++  ++++++++++++++

  [ = ]       0        0  [ = ]

[trickle] No significant performance differences

[microbenchmarks] No significant performance differences

Test failure: #13148


How to deal with FAMIS data?

Hello everyone ，
I am confused that how to edit the experimental design for FAMIS data?
Now  I have raw data with 2 compensation voltage(-45 and -70 v). My experimental design shows below

But the output.csv is not what I expect. For example，It shows the intensity of sample001, -45 and -70v ，respectively. What I expected is every sample gives me 1 intensity, not distinguished by voltage.
So is there anything wrong with my experimental design and how can I fix it? Thanks.

Hi!
That is a good question. Your approach actually could work. But you should probably declare the different voltages as different fractions.
1 1 s1v1.mzML 1
1 2 s1v2.mzML 1
2 1 s2v1.mzML 1
2 2 s2v2.mzML 1
...

It works finally. Thanks！ But you misunderstood me. I do not want to compare intensity between voltages. Actually，I want it gives me one intensity per sample. Can you help me？

Great! Actually, I assumed that already.

If not, try to ..

So, have a look. You should have already intensities per sample.

Here is my out.csv. It also gives me the intensities separated by different voltage per sample. And I find that there are duplicated protein names between one sample with different voltages, for example, 4000 proteins are duplicated in sample1-45v and sample 1-70v. And their intensities are different in 2 references. So which reference should I accept for the  intensity of duplicated protein？thank s.

Hmm yes, this does not look correct. Can you show your current experimental design?

Here！

Here！

Can you try with consecutive numbers starting from 1 in each column?
That means fractions 1,2,1,2,..
And Conditions 1,1,2,2,..

Still the same results.

I disagree. Now it seems like you have the correct annotation of conditions.
What were you expecting?
Do you run the MSstats step? If so, have a look in the msstats/msstats_output.csv. There the intensities should be aggregated further already.

Regarding your "duplication problem": Duplicated proteins are not the problem. This will be common. The only thing that needs to be resolved are peptides with the same sequence, modification and same charge state that might appear at different voltages/fractions.
A common thing to do for fractions is to take the highest intensity feature.
But note that I would let MSstats do the work and just look at the MSstats results as mentioned in my previous comment.


Add AWS Sigv4 Request Signer Sample Code

Signed-off-by: Han Lin<EMAIL_ADDRESS>Description
Add AWS Sigv4 Request Signer Sample Code to users guide.
Issues Resolved
https://github.com/opensearch-project/opensearch-dsl-py/issues/58
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Close the PR to redo sign off.


IIFE: Wrap

IIFE: Wrap AngularJS components in an Immediately Invoked Function Expression (IIFE).

CoffeeScript automatically wraps every file in to IIFE, this suggestion is not necessary while working with coffeescript
campaign_service.js.coffee
CampaignService = ->
  {}

angular
  .module 'dashboard'
  .factory 'CampaignService', [
    CampaignService
  ]

Will become:
campaign_service.js
(function() {
  var CampaignService;

  CampaignService = function() {
    return {};
  };

  angular.module('dashboard').factory('CampaignService', [CampaignService]);

}).call(this);

I was trying the same thing :
$ coffee --version
CoffeeScript version 1.12.2

#test.coffee
a = 4
console.log(a+4);

coffee -c -o . test.coffee ->
// Generated by CoffeeScript 1.12.2
(function() {
  var a;

  a = 4;

  console.log(a + 4);

}).call(this);

Can we remove this part from readme ?


How to install GPy in Windows 7?

I guess it is not the best place to post this problem, but I didn't know where to address this question, apologies for that.
Basically, is there any way of installing this package in Windows 7? Tried the .whl file and it is not working (Error GPy-1.0.6-cp34-cp34m-macosx_10_5_x86_64.whl is not a supported wheel on this platform), neither the pip installation (I guess it may be due to a lack of compiler in Windows) and finally I could not find any precompiled package in Gohlke's website.
Can you kindly provide a small hint to do this installation? Are the installation instructions correct? Perhaps I overlooked something, but been struggling for a while.
Thanks a lot!

We will supply the binaries over the course of the week. We are still doing this manually, please apologize the delay that is causing...

On 12 Apr 2016, at 17:35, Irene<EMAIL_ADDRESS>wrote:
I guess it is not the best place to post this problem, but I didn't know where to address this question, apologies for that.
Basically, is there any way of installing this package in Windows 7? Tried the .whl file and it is not working (Error GPy-1.0.6-cp34-cp34m-macosx_10_5_x86_64.whl is not a supported wheel on this platform), neither the pip installation (I guess it may be due to a lack of compiler in Windows) and finally I could not find any precompiled package in Gohlke's website.
Can you kindly provide a small hint to do this installation? Are the installation instructions correct? Perhaps I overlooked something, but been struggling for a while.
Thanks a lot!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub

Hi,
I am trying to use GPy with Windos 7 (I have already installed and used with Mac) but I am facing with problem to the following error:
FAILED <SKIP=17, error =1>
after trying this instruction:
git clone https://github.com/SheffieldML/GPy.git
cd GPy
git checkout devel
python setup.py build_ext --inplace
nosetests GPy/testin
Could you please give some help in this regard?

Did you try pip install?

On 20 Jun 2016, at 15:37, Ali Baheri<EMAIL_ADDRESS>wrote:
Hi,
I am trying to use GPy with Windos 7 (I have already installed and used with Mac) but I am facing with problem to the following error:
FAILED
after trying this instruction:
git clone https://github.com/SheffieldML/GPy.git
cd GPy
git checkout devel
python setup.py build_ext --inplace
nosetests GPy/testin
Could you please give some help in this regard?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

Actually, with Python 3.4, running "pip install gpy" still returns an error to me:
numpy.distutils.system_info.NotFoundError: no lapack/blas resources found
I guess I need to install a compiler for Windows, but is there any way of bridging this problem? A precompiled package maybe? Thanks!

Working on it, the win binaries seem to be missing.

On 20 Jun 2016, at 19:08, IreneGM<EMAIL_ADDRESS>wrote:
Actually, with Python 3.4, running "pip install gpy" still returns an error to me:
numpy.distutils.system_info.NotFoundError: no lapack/blas resources found
I guess I need to install a compiler for Windows, but is there any way of bridging this problem? A precompiled package maybe? Thanks!
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

The Windows binaries are missing because I base the builds on the 'deploy' branch since I thought this was current practice.
I see that there is a PR for an update to deploy - #402 but that it failed various tests.
@mzwiessele How would you like me to proceed?

fixed by #413, try to update your packages (paramz, GPy)

Works!
Just for the record: On a fresh Python 3.5.2 installation on Windows 7, first I updated numpy (v 1.11.1) and scipy (v 0.18) from Gohlke's website (Win7 need the pre-compiled packages), then I installed paramz, then matplotlib, then GPy (v 1.2.1).
Thanks for the fix! :+1:

Hello, I was trying to install GPy using pip command in Command Prompt. But it doesn't work. It is showing the following messages. I also try to install paramz but it also dosen't happen.
Using cached decorator-4.1.2-py2.py3-none-any.whl
Installing collected packages: decorator, paramz, GPy
Exception:
Traceback (most recent call last):
File "c:\program files\python 3.6\lib\site-packages\pip\basecommand.py", line 215, in main
status = self.run(options, args)
File "c:\program files\python 3.6\lib\site-packages\pip\commands\install.py", line 342, in run
prefix=options.prefix_path,
File "c:\program files\python 3.6\lib\site-packages\pip\req\req_set.py", line 784, in install
**kwargs
File "c:\program files\python 3.6\lib\site-packages\pip\req\req_install.py", line 851, in install
self.move_wheel_files(self.source_dir, root=root, prefix=prefix)
File "c:\program files\python 3.6\lib\site-packages\pip\req\req_install.py", line 1064, in move_wheel_files
isolated=self.isolated,
File "c:\program files\python 3.6\lib\site-packages\pip\wheel.py", line 345, in move_wheel_files
clobber(source, lib_dir, True)
File "c:\program files\python 3.6\lib\site-packages\pip\wheel.py", line 323, in clobber
shutil.copyfile(srcfile, destfile)
File "c:\program files\python 3.6\lib\shutil.py", line 115, in copyfile
with open(dst, 'wb') as fdst:
PermissionError: [Errno 13] Permission denied: 'c:\program files\python 3.6\Lib\site-packages\decorator.py'

Did you try this:
conda install -c omnia gpy

Hello,
I don't actually. Can you help me?
On Tuesday, August 29, 2017, Ali Baheri<EMAIL_ADDRESS>wrote:

Did you try this:
conda install -c omnia gpy
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/SheffieldML/GPy/issues/369#issuecomment-325799564,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AdtX-yB2M1pedDo7JW193av94BxxkN1zks5sdHlIgaJpZM4IFk2d
.


Peer Review: scarlettdias

Group Peer Review
As a "group" peer review, review the team's progress toward developing a functional specification homework 5 and component design homework 6.
The team should have a discoverable functional specification with:

[] A target user/consumer profile.
[] A problem statement.
[] A list of 2-3 cases.

The should also provide a general including:

[] A list of 3-4 components.
[] Component names.
[] A component purpose
[] Component inputs and outputs.
[] Pseudocode for design.

8/8 - Great work! An interesting topic.


Basic docs pages

Basic docs pages

[ ] Overview
[x] What's new
[x] Contributing

All that's left is overview, also in #368


kubectl doesn't fail silently with no k8s master

Before the change, running cluster/kubectl.sh when there is no underlying Kubernetes master was failing silently. After this change this will write sth like that:
Project: groovy-sentry-504
Zone: us-central1-b
ERROR: (gcloud.compute.instances.describe) Could not fetch resource:

The resource 'projects/groovy-sentry-504/zones/us-central1-b/instances/kubernetes-master' was not found

Also, this is making it consistent with cluster/kubecfg.sh
This change is part of fixing #3300

lgtm. merging.


Final task for Presentation

[x] test all the implementation class
[x] check the DAO and DTO implementation
[x] checking and testing by another mate
[x] submit all the task

done ✅


Layouts in a Flexible Content Field are broken when this plugin is active

I have this plugin installed alongside Advanced Custom Fields Pro.
When this plugin is not active, all the layouts in my Flexible Content field are editable and you can see their names:

When this plugin is active, all the layouts in my Flexible Content field become uneditable and their names are all just “Layout.”

When I click the down arrow at the right end of any of them, nothing happens and if I click “Add Layout” on any of them, the page refreshes and a message appears in a green box that says, “Field group updated.”

This happens to any Flexible Content field that I create, even in a different Field Group. This essentially makes this plugin unusable for me.

@jonpxpx of course mate, open a PR amd I'll try and get it sorted over the weekend


Add support for adding base-route for Runtime

Why make this change?
SWA or any other front end can interact with DAB using a path-based routing mechanism, where they may use a path (base-route) to redirect requests to DAB (refer to the bug encountered: https://github.com/Azure/data-api-builder/issues/1420). This base-route gets stripped off when the request lands at DAB. Consequently, DAB is not even aware of anything like a base-route being used by the front end.
This poses a problem in generation of the nextLink, where the nextLink which DAB generates, does not contain the base-route and consequently when the front end receives the next request, it does not find the base route in the request URL and hence, has no idea where to redirect the request to.
Using the newly added option to configure base route for rest requests via the config (CLI option - --runtime.base-route), the front-end like SWA can make DAB aware that they are using a base route to redirect requests to DAB. DAB can then accordingly account for the base route while generating the nextLink for paginated responses.
What is this change?

Added feature to specify base-route in global runtime settings in the config which can be via CLI as well using --runtime.base-route option in the dab init command. By default, it will be initialized as an empty string. When the base-route is a non-empty string, it will be included in the generated nextLink.
Added dictionary ISqlMetaDataProvider.EntityNameToEntityPath to quickly get the mapping from entity name to path during runtime. This will be useful in generating the nextLink in SqlQueryEngine.
Extended functionality of Utils.IsApiPathValid(string? apiPath, ApiType apiType) method to  Utils.IsURIComponentValid(string? uriComponent, ApiType apiType, string apiProperty) because similar validations are required for api properties: rest.path/ rest.base-route/ graphql.path, all of which are part of the request URI.
Renamed RuntimeConfigValidator.ValidateRestPathForRelationalDbs() to RuntimeConfigValidator.ValidateRestURI().
Renamed RuntimeConfigValidator.ValidateGraphQLPath() to RuntimeConfigValidator.ValidateGraphQLURI() so that we follow same convention between rest and gql.

Q&A

Will this require updating an already created configuration file?
No, the existing config file will work perfectly fine. The base-route is totally an optional feature.
Will a default value be implicitly used if the new base path config property is not set?
The default value for the base-route = "" (empty string). This essentially means that base-route will not come into the picture.
What is the default value and does the value differ between dev/prod swa/non-swa?
The default value will be same irrespective of dev/prod/swa/non-swa environment and equal to empty string.

So to say, the change is not a breaking change and we are totally backwards compatible.
How was this tested?

[x] Integration Tests

Sample Request(s)

Example REST and/or GraphQL request to demonstrate modifications
Example of CLI usage to demonstrate modifications

Can you add comment about backwards compatibility in pr description:

Will this require updating an already created configuration file?
Will a default value be implicitly used if the new base path config property is not set?
What is the default value and does the value differ between dev/prod swa/non-swa?

Can you add comment about backwards compatibility in pr description:

Will this require updating an already created configuration file?
Will a default value be implicitly used if the new base path config property is not set?
What is the default value and does the value differ between dev/prod swa/non-swa?

Done

"The default value for the base-route = "" (empty string). This essentially means that base-route will not come into the picture."

I interpret the above statement to mean that user intervention (config modification) is required to mitigate the bug mentioned in #1420. While this is not 'breaking' in the scope of engine startup failures, it would be 'breaking' in the sense that the config must be changed for the nextLink to work as expected in SWA.
Let me know if/what I'm missing.

"The default value for the base-route = "" (empty string). This essentially means that base-route will not come into the picture."

I interpret the above statement to mean that user intervention (config modification) is required to mitigate the bug mentioned in #1420. While this is not 'breaking' in the scope of engine startup failures, it would be 'breaking' in the sense that the config must be changed for the nextLink to work as expected in SWA.
Let me know if/what I'm missing.

Yes, that's the expectation and I think the SWA side is aware of this, right @aniruddh25?

"The default value for the base-route = "" (empty string). This essentially means that base-route will not come into the picture."

I interpret the above statement to mean that user intervention (config modification) is required to mitigate the bug mentioned in #1420. While this is not 'breaking' in the scope of engine startup failures, it would be 'breaking' in the sense that the config must be changed for the nextLink to work as expected in SWA.
Let me know if/what I'm missing.

Yes, that's the expectation and I think the SWA side is aware of this, right @Aniruddh25?

They are aware of the behavior, though may not be aware of how the fix works or whether it is breaking.

"The default value for the base-route = "" (empty string). This essentially means that base-route will not come into the picture."

I interpret the above statement to mean that user intervention (config modification) is required to mitigate the bug mentioned in #1420. While this is not 'breaking' in the scope of engine startup failures, it would be 'breaking' in the sense that the config must be changed for the nextLink to work as expected in SWA.

Let me know if/what I'm missing.

Yes, that's the expectation and I think the SWA side is aware of this, right @Aniruddh25?

They are aware of the behavior, though may not be aware of how the fix works or whether it is breaking.

I'm not very clear about what you mean here. The base route is something which they use on top of DAB. So it makes sense for them to let DAB know what's that base route? And that will be done via the config file.

nit: Update the description to reflect its runtime section's property

Static Web Apps does not let the user customize the 'base-path' and statically sets it to /data-api. So requests to dab entities will substitue look like:
<host:port>/data-api/{dab-global-rest/graphql-path}/{entity}

Since nextLink is broken in StaticWebApps, what would be the effect of automatically setting the base-path property you introduce to /data-api when Auth provider is StaticWebApps? (because that provider is the only one supported/and synonymous with StaticWebApp deployment)

As per discussion with Ani over call:

We would do the validation that the base-route can be non-empty only for SWA.
We won't document/include this base-route option in the schema. This feature is only for system configuration and not for customers.


Repeating to create new files when space is out will make littlefs crash

Hi, folks:
I am using littlefs in nand flash device. When the space is out (actually it's easy to run out of space in nand flash since the erase block is too large like 128k), I try to open new files with different names, like test1, test2, ...test2000, and then littlefs will crash. It looks like that there is something wrong in lfs_file_open() or lfs_file_close() which will mess up the metadata. I also try my test in the latest littlefs v2.9.3, the same issue.
My test code is very simple.
for (i = 1; i <= 2000; ++i)
{
memset(file, 0, 32);
sprintf(file, "%d.txt", i);
fd = open(file, O_CREAT | O_RDWR);
if (fd >= 0)
{
ret = close(fd);
}
}
Does anyone see this issue when use littlefs? Appreciate it if some fix can be provided. Thanks.

Hi @Iammmp93, thanks for creating an issue.
Resuming after an error, usually NOSPC, is unfortunately poorly tested and can't really be relied on. The best option is to unmount+remount the filesystem when this occurs (note lfs_file_close still cleans up resources if it errors).
This is something being worked on, but it's not the highest priority at the moment.
Or, well, this is solved/tested in a branch containing a bunch of unrelated work, which makes it difficult to upstream. But with any luck this will land eventually. This is one of those problems that does not have a quick fix.

Hi, @geky:
Appreciate for the reply. Yes, out of space is an excessive issue with low priority. We are using littlefs on our nand flash, space is a critical one we are facing now, the erase block is too big with 128K bytes. Hope you guys can fix the nand flash space soon. Thanks.


Project refactoring

updated to latest XCode version
updated to Swift 4

Hi, @thbonk, thanks so much for sending this in; I apologize I'm just getting to it now.
I can't pull this in as it stands due to the changes to the Podspec, which would break the source link for other users (it's pointed towards your repo). There's a fresher pull request with Swift 4 changes, so I'll pull that in for now. Please feel free to let me know if you have any questions.


Select cursor CSS style based on browser type

CSS prefix should be set based on browser type - see https://github.com/uber/react-map-gl/blob/master/src/config.js
See PR comment

Handles webkit prefix.


mobile compatibility?

hey! i just wanted to ask if this is mobile compatible, since i primarily use habitica on my phone, not desktop. is there a way to enable the plug-in on mobile? every time i click it, it turns off.

me too


Cannot read property '_normalized' of undefined

Version
3.0.7
Reproduction link
https://fr.nuxtjs.org/api/configuration-generate/
Steps to reproduce
yarn run generate or npm run generate in nuxt project
What is expected?
TypeError: Cannot read property '_normalized' of undefined
at normalizeLocation
What is actually happening?
build

this is vue-router's repo, not Nuxt's. You should open an issue there (with a proper) and come back if it turns out to be a vue-router bug but please provide a boiled down repro with no nuxt when opening a bug report

I'm experiencing the same problem with Vue and not Nuxt. This is the stack trace:
TypeError: Cannot read property '_normalized' of undefined
    at normalizeLocation (/home/ross/emberliteOS/website/node_modules/vue-router/dist/vue-router.common.js:971:12)
    at Object.match (/home/ross/emberliteOS/website/node_modules/vue-router/dist/vue-router.common.js:1493:20)
    at VueRouter.match (/home/ross/emberliteOS/website/node_modules/vue-router/dist/vue-router.common.js:2852:23)
    at AbstractHistory.transitionTo (/home/ross/emberliteOS/website/node_modules/vue-router/dist/vue-router.common.js:2146:25)
    at AbstractHistory.push (/home/ross/emberliteOS/website/node_modules/vue-router/dist/vue-router.common.js:2750:10)
    at /home/ross/emberliteOS/website/node_modules/vue-router/dist/vue-router.common.js:2952:22
    at new Promise (<anonymous>)
    at VueRouter.push (/home/ross/emberliteOS/website/node_modules/vue-router/dist/vue-router.common.js:2951:12)
    at server.js:334:12
    at new Promise (<anonymous>)

yesterday works well today not

How did you solve it?

删除掉 layouts\default.vue 中的 script 试试
Try deleting the 'script' in 'layouts\default.vue'

I got same error, when router-link :to was undefined.
<router-link :to="undefined">AAAA</router-link>


SMTP Error

I have configured the config.yaml properly, however I get the following SMTP error:
Traceback (most recent call last):
File "./main.py", line 37, in
email_client.mail_ads(ads, email_title)
File "/home/brain1/kijiji_3/Kijiji-Scraper-master/kijiji_scraper/email_client.py", line 26, in mail_ads
server.ehlo()
File "/usr/lib/python3.6/smtplib.py", line 440, in ehlo
self.putcmd(self.ehlo_msg, name or self.local_hostname)
File "/usr/lib/python3.6/smtplib.py", line 367, in putcmd
self.send(str)
File "/usr/lib/python3.6/smtplib.py", line 359, in send
raise SMTPServerDisconnected('please run connect() first')
smtplib.SMTPServerDisconnected: please run connect() first

Hi.....I re-cloned the repo on a fresh OS and tried the setup again.   I get the following STMP errors:3
Traceback (most recent call last):
File "main.py", line 43, in
email_client.mail_ads(ads, email_title)
File "/home/user1/kijiji/Kijiji-Scraper/kijiji_scraper/email_client.py", line 28, in mail_ads
server.login(self.username, self.password)
File "/usr/lib/python3.6/smtplib.py", line 730, in login
raise last_exception
File "/usr/lib/python3.6/smtplib.py", line 721, in login
initial_response_ok=initial_response_ok)
File "/usr/lib/python3.6/smtplib.py", line 642, in auth
raise SMTPAuthenticationError(code, resp)
smtplib.SMTPAuthenticationError: (334, b'UGFzc3dvcmQ6')
I have confirmed that I can log into the sender account manually with the username/password in the config.yaml file.   I enabled the setting in Gmail to allow "less secure apps" to connect.
Any ideas?

Just an update.....I got this fixed using this link from Google:
https://support.google.com/mail/answer/78754
Thanks again for this great codeE


I can't open the settings of custom knight in game while it's on

could you describe the problem in more detail?

Like in the settings where you can change the skin in game

Nevermind i can open the settings again


Roc crashes with Segmentation fault: 11

EDIT minimised reproduction
Running this app aoc-2022/12/main.roc causes a Segmentation fault: 11 on macOS. I'm using roc built from source.
$ roc build --optimize  aoc-2022/12/main.roc
0 errors and 0 warnings found in 2970 ms while successfully building:

    aoc-2022/12/aoc
$ ./aoc-2022/12/aoc
Segmentation fault: 11

Same on WSL-Ubuntu 22.

No longer reproduces


fix: use @webiny/react-rich-text-renderer

I noticed that @webiny/react-rich-text-renderer was in the package.json file, but wasn't used.

See https://github.com/webiny/gatsby-starter-webiny/pull/5


Locked out of PC after using RDPWrap

Windows 10 RTM Pro x64
Steps to reproduce:

Install RPWrap, make sure to update rdpwrap.ini to the lastest
Set the configurations as follows:

[Enable RDP Check, Single User Session Uncheck, Default Auth, Shadowing with request]

Lock your desktop
Go to another pc.
Create an RDP session to your installation with the same user as you used above
Minimize it but do not close
Create a second RDP session to your installation with the same user as you used above
Disconnect both sessions. Do not Sign Out.
Try RDPing again or try log locally. In both cases you will be greeted with a screen similar to this:

[Empty blue screen with a single string "Error in the DLL" and "ok" button underneath]
The only thing you can do now to get in is power-cycle and loose all your work.
This is the content of the log file after the power-cycle:
Initializing RDP Wrapper...
Base addr:  0x00007FF949CB0000
SvcMain:    termsrv.dll+0x000000000000CDF0
SvcGlobals: termsrv.dll+0x00000000000345A0
Version:    10.0.10240.16384
Freezing threads...
Patch CEnforcementCore::GetInstanceOfTSLicense
Patch CSessionArbitrationHelper::IsSingleSessionPerUserEnabled
Patch CDefPolicy::Query
Hook CSLQuery::Initialize
Resumimg threads...
<<< SvchostPushServiceGlobals
>>> ServiceMain
<<< ServiceMain
>>> CSLQuery::Initialize
SLInit [0x00007FF949DA23B8] bServerSku = 1
SLInit [0x00007FF949DA3470] bRemoteConnAllowed = 1
SLInit [0x00007FF949DA3460] bFUSEnabled = 1
SLInit [0x00007FF949DA23B4] bAppServerAllowed = 1
SLInit [0x00007FF949DA3468] bMultimonAllowed = 1
SLInit [0x00007FF949DA23B0] lMaxUserSessions = 0
SLInit [0x00007FF949DA346C] ulMaxDebugSessions = 0
SLInit [0x00007FF949DA3464] bInitialized = 1
<<< CSLQuery::Initialize
Initializing RDP Wrapper...
Base addr:  0x00007FFCE1CC0000
SvcMain:    termsrv.dll+0x000000000000CDF0
SvcGlobals: termsrv.dll+0x00000000000345A0
Version:    10.0.10240.16384
Freezing threads...
Patch CEnforcementCore::GetInstanceOfTSLicense
Patch CSessionArbitrationHelper::IsSingleSessionPerUserEnabled
Patch CDefPolicy::Query
Hook CSLQuery::Initialize
Resumimg threads...
<<< SvchostPushServiceGlobals
>>> ServiceMain
<<< ServiceMain
>>> CSLQuery::Initialize
SLInit [0x00007FFCE1DB23B8] bServerSku = 1
SLInit [0x00007FFCE1DB3470] bRemoteConnAllowed = 1
SLInit [0x00007FFCE1DB3460] bFUSEnabled = 1
SLInit [0x00007FFCE1DB23B4] bAppServerAllowed = 1
SLInit [0x00007FFCE1DB3468] bMultimonAllowed = 1
SLInit [0x00007FFCE1DB23B0] lMaxUserSessions = 0
SLInit [0x00007FFCE1DB346C] ulMaxDebugSessions = 0
SLInit [0x00007FFCE1DB3464] bInitialized = 1
<<< CSLQuery::Initialize

In this case, normally LogonUI should propose to select one of available sessions to connect to, but "Error in the DLL" happened.
Seems to be Windows 10 bug, not related to RDP Wrapper, because everything in the log is okay.

Well, I cannot really trigger it without RDP wrapper. So may be not bug, just not everything is patched that needs to be patched? Win 10 termserv probably does not expect to find more than 2 session on the Pro edition, and when it does it bugs out. May be a clever security measure and may be they simply assumed that there will never be 2 connections from the same user. In any case RDP Wrap does not cope.
As I understand you are not willing to investigate and try and fix as you consider it not your problem? Did I get that right?

I leave this issue open as a reminder about this problem, and maybe someday I'll research it.

This is possibly related to #37
I encountered "Error in the DLL" problem with windows 2016 AND testing "single session per user".
Single session disabled with rdpconf -> login with rdp twice -> disconnect ONE rdp session (so that one session is stil connected, one disconnected -> enable single session with rdpconf -> login again
new connection will get "Error in the DLL". I can "resolve" it by logging out other running sessions from the still-connected rdp session (task manager -> users), so that only one session is running (the one connected with rdp).
After that you can login with either console or RDP

What is really bad in my case, is that once you dc'ed you have no longer a way in, neither locally nor remotely. The power button is the only way.

@AndrewSav  are you able to reboot in recovery mode using the Shift + Restart combination?

@dav01it, sorry, what for, please explain?

@dav01it, apologies, I don't understand what you mean. Why would I want to boot in recovery mode?

I thought you were unable to login and even to remove rdpwrap!? isn't it?
Il 19/ago/2015 13:21, "Andrew Savinykh"<EMAIL_ADDRESS>ha
scritto:

@dav01it https://github.com/dav01it, apologies, I don't understand what
you mean. Why would I want to boot in recovery mode?
—
Reply to this email directly or view it on GitHub
https://github.com/binarymaster/rdpwrap/issues/50#issuecomment-132552359
.

@dav01it that's just until reboot. All the opened programs and unfinished work is then lost.

I think usually what happens is if you have two disconnected sessions with the same username, and you try reconnect, it should ask you WHICH of the two disconnected sessions you'd like to connect to. I guess this "function" is missing from the Windows 10 DLL, which is why we're getting that error in this situation?

@fragtion sounds very plausible. The conclusion from this that I can draw is that there should be different dlls then for client and for server. (Or same dll that checks OS and then it would mean that RDPWrap is not patching it sufficiently to disable the check). Not checking for multiple connection when you are assuming that there should be none is perfectly reasonable, but that's a change in the dll from the previous windows versions.

I can confirm @fragtion's theory. I had "Error in the DLL" trying to log into my user account, so I logged into my wife's account instead. Sure enough, Task Manager showed that there were two disconnected connections to my account. I logged one of those accounts off (using Task Manager) and then retried connecting to my account. Sure enough, it worked.
@binarymaster So, where do we go from here?

Same problem here (2 logon with same user -> both disconnect -> try to reconnect -> DLL error)
I think the point is exactly as binarymaster said:

In this case, normally LogonUI should propose to select one of available sessions to connect to, but "Error in the DLL" happened.

Probably windows 10 does NOT have support for the session selection, and therefore this error.
I don't remember if and how this scenario worked in Windows 8.1

No, Windows 10 definitely has multi session selection support, I think the
checking code address merely moved.
On Oct 9, 2015 6:03 AM, "Edoa"<EMAIL_ADDRESS>wrote:

Same problem here (2 logon with same user -> both disconnect -> try to
reconnect -> DLL error)
I think the point is exactly as binarymaster said:
In this case, normally LogonUI should propose to select one of available
sessions to connect to, but "Error in the DLL" happened.
Probably windows 10 does NOT have support for the session selection,
and therefore this error.
I don't remember if and how this scenario worked in Windows 8.1
—
Reply to this email directly or view it on GitHub
https://github.com/binarymaster/rdpwrap/issues/50#issuecomment-146864962
.

I can't get multiple sessions with the same user to work with Windows 10.  Every time I log in remotely, it connects to the existing session (the desktop) and disconnects the desktop.   I have the "single session per user" unchecked.   The same behavior occurs if it is checked.

Possible workaround:

make sure to have at least one other RDP enabled login (beforehand)
login to this account when the other one is "locked" this way
use "disconnect session" for one of both sessions and you may be able to re-connect to the other one


⚠ ClamAV has degraded performance

In dce3013, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 195 ms

Resolved: ClamAV performance has improved in 0194560.


flet-client-flutter: update to 0.22.1, fix update script to be fully automatic

Description of changes
Bumps for this package already "work" but always have a manual step. Now  the update script updates the lockfile too.

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Result of nixpkgs-review pr 310889 run on x86_64-linux 1

15 packages built:

flet-client-flutter
flet-client-flutter.debug
flet-client-flutter.pubcache
python311Packages.flet
python311Packages.flet-core
python311Packages.flet-core.dist
python311Packages.flet-runtime
python311Packages.flet-runtime.dist
python311Packages.flet.dist
python312Packages.flet
python312Packages.flet-core
python312Packages.flet-core.dist
python312Packages.flet-runtime
python312Packages.flet-runtime.dist
python312Packages.flet.dist

Tested locally, stuff working nice.
Only caveat, that is not packaging problem actually, is that bin/flet is both the Python library and the flutter client so keep this in mind in the nixpkgs-review shell because the flet command will very likely point to the flutter client.

Result of nixpkgs-review pr 310889 run on x86_64-linux 1

15 packages built:

flet-client-flutter
flet-client-flutter.debug
flet-client-flutter.pubcache
python311Packages.flet
python311Packages.flet-core
python311Packages.flet-core.dist
python311Packages.flet-runtime
python311Packages.flet-runtime.dist
python311Packages.flet.dist
python312Packages.flet
python312Packages.flet-core
python312Packages.flet-core.dist
python312Packages.flet-runtime
python312Packages.flet-runtime.dist
python312Packages.flet.dist

Result of nixpkgs-review pr 310889 run on x86_64-linux 1

15 packages built:

flet-client-flutter
flet-client-flutter.debug
flet-client-flutter.pubcache
python311Packages.flet
python311Packages.flet-core
python311Packages.flet-core.dist
python311Packages.flet-runtime
python311Packages.flet-runtime.dist
python311Packages.flet.dist
python312Packages.flet
python312Packages.flet-core
python312Packages.flet-core.dist
python312Packages.flet-runtime
python312Packages.flet-runtime.dist
python312Packages.flet.dist


Ret512 encoder firmware c configuration

This PR configures the motor encoders for Z axis and A axis on the Head of the OT3. The current configuration enables TIMER2 and TIMER3 for the motors to read the encoders as inputs. This currently works with svd by looking at the CNT register on the TIM2 and TIM3.

I added the GPIO pin configuration for the motor encoders this time. That way it's more clear that the pins were defined.


Update README and install yaml for netpol

Update README with correct role and set kube-system namespace in kubectl commands
wherever necessary. Additionally, address leftover comments.

/skip-all


Re run analysis GHA example

Purpose/implementation Section
What changes are being implemented in this Pull Request?
This has now expanded to two chapters:

One chapter that shows an example re run analysis upon pull request action.
A second chapter that walks through how variables work in Github Actions.

I also deleted the filler text in the later chapters
What was your approach?
What GitHub issue does your pull request address?
Tell potential reviewers what kind of feedback you are soliciting.
New Content Checklist

[x] New content/chapter is in an Rmd file with this kind of format and headers.

[x] New content/chapter contains learning objectives.

[x] Bookdown successfully re-renders and any new content files have been added to the _bookdown.yml.

[x] Spell check runs successfully).

[x] Any newly necessary packages that are needed have been added to the Dockerfile and image.

[x] Images are in the correct format for rendering.

[ ] Every new image has alt text and is in a Google Slide.

[ ] Each slide is described in the notes of the slide so learners relying on a screen reader can access the content. See https://lastcallmedia.com/blog/accessible-comics for more guidance on this.

[ ] The color palette choices of the slide are contrasted in a way that is friendly to those with color vision deficiencies.
You can check this using Color Oracle.

I need to update some of the slides, but I'm going to wait until the activities all have a a draft chapter because then my screenshots will hopefully be up to date.
I also need to update the slide notes.


Use the proper TEMP directory on Windows

I ran into some trouble using this plugin on windows, and discovered that it was hard coded to use /tmp/elm-format.tmp. Since this isn't a valid path on Windows, I altered it to use path.join(os.tmpdir(), 'elm-format.tmp') for the location of the temp file.

@benjick can you merge and release this?  I had a bug filed against elm-format, but it turns out that this was the problem.

Thanks @emandres! I've merged and published this, sorry I didn't do this earlier.
@avh4 It's up!


Session share link of file.io only works once

The session json is deleted from file.io after is has been downloaded once. So if person A opens the session, then person B cannot open it anymore.

fixed in dev. file sharing now uses Zenodo.


Update organizational-messages-microsoft-365.md

Wording changes for clarity and preparing for future changes.

Updates are reflected in this PR: https://github.com/MicrosoftDocs/microsoft-365-docs-pr/pull/26248. Closing this one. Thanks!


ungoogled-chromium: 86.0.4240.111-1 -> 86.0.4240.183-1

This updates ungoogled-chromium. This change was created by manually copying the regular chromium expressions and applying a small diff to support the ungoogled patchset.
Performed a cursory test and everything looks good.

Motivation for this change
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
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 nixpkgs-review --run "nixpkgs-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)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

cc @danielfullmer

Built and briefly tested working on x86_64-linux.

@primeos Ready to go on this!

Thanks!


{create|destroy}.yml playbooks missing

Quack,
I wondered if with the switch to v3 things changed but this is still needed:
Skipping, cleanup playbook not configured.
Skipping, destroy action has no playbook.

and they are not contained in either molecule or molecule-lxd.
\_o<

Fixed in master


Crashes with import types

This type can't be used inside a .civet file:
type CompilerOptions = import("monaco-editor")

Assume it's  just not been added yet:
unknown:1:30 Failed to parse
Expected:
Dot "."
Whitespace /[\s]+/
JSMultiLineComment "/*"

@orta Import types should now be available in v0.5.38.
You can even write it without parentheses if you prefer:
type CompilerOptions = import "monaco-editor"


feat(LibInputBackend): Intercept Keyboard events

What does the pull request do?

What is the current behavior?

What is the updated/expected behavior with this PR?

How was the solution implemented (if it's not obvious)?

Checklist

[ ] Added unit tests (if possible)?
[ ] Added XML documentation to any related classes?
[ ] Consider submitting a PR to https://github.com/AvaloniaUI/Documentation with user documentation

Breaking changes

Obsoletions / Deprecations

Fixed issues

You can test this PR using the following package version. 0.10.999-cibuild0022216-beta. (feed url: https://nuget.avaloniaui.net/repository/avalonia-all/index.json) [PRBUILDID]

@kekekeks  while working in this PR, I found a problem. Avalonia Key enum has not keys from F25 to F35. How How can I map them??

We can add F25-F35 if needed. I'm not sure if there are keyboards with such keys though.

@kekekeks  Can you suggest a Linux dist where I can test Framebuffer in Hyper-V? I try with ubuntu but i have some problems.

I was only testing with bare-metal (various Intel and ARM devices) and with qemu.
According to this Phoronix article the proper support for DRM/KMS in Hyper-V should be available starting with Linux 5.14.
Also, try running kmscube, if it runs the problem might be an Avalonia bug.
If you have problems with pointer input, make sure that Hyper-V provides an absolute pointing device (tablet/touchscreen) and that said device is properly recognized by libinput list-devices and produces absolute positioned events for libinput debug-events

hi kekekeks,
thanks for the tips, i found the solution using vfb.
I have design doubts that I would like to discuss.
the features I would like to implement:

Select Keybord Layout
Allow Custom Keybord Layout
Management of multiple keyboards, mouses and touch screens
Inject a custom handler for libinput events
Support to Seat

The questions are:

for configuration:

[ ] Add parameter to  StartLinux*
[ ] Extend AppBuilder

for management of multiple keyboards, mouses and touch screens. Avalonia currently creates a MouseDevice and Touch Device instance for all connected devices. https://github.com/AvaloniaUI/Avalonia/blob/e57e0b76fceb118ed15260844b4eae025662f6a6/src/Linux/Avalonia.LinuxFramebuffer/Input/LibInput/LibInputBackend.cs#L15-L16 is it better to add a Source property or create an instance for each device? Adding the source property could lead to consistency issues, creating multiple instances could be a waste of memory.

@kekekeks
What is the correlation between RawKeyEventArgs and EventArgs RawTextInputEventArgs?

You can test this PR using the following package version. 11.0.999-cibuild0029320-beta. (feed url: https://pkgs.dev.azure.com/AvaloniaUI/AvaloniaUI/_packaging/avalonia-all/nuget/v3/index.json) [PRBUILDID]

You can test this PR using the following package version. 11.0.999-cibuild0037518-beta. (feed url: https://nuget-feed-all.avaloniaui.net/v3/index.json) [PRBUILDID]

You can test this PR using the following package version. 11.0.999-cibuild0039353-beta. (feed url: https://nuget-feed-all.avaloniaui.net/v3/index.json) [PRBUILDID]

You can test this PR using the following package version. 11.0.999-cibuild0039814-beta. (feed url: https://nuget-feed-all.avaloniaui.net/v3/index.json) [PRBUILDID]

What's the status here @workgroupengineering @maxkatz6 ?

missing review

I close, it will never be accepted because they will include this feature only in Avalonia Accelerate https://github.com/AvaloniaUI/Avalonia/discussions/16997

Not sure what this PR has to do with the features we announced for Avalonia Accelerate?  Anyway I'm 100% sure that Avalonia Accelerate has nothing to do with this not getting merged.

Avalonia Accelerate will have an on-screen keyboard (similar to what you have on your phone), there are currently no plans to lock something like hardware keyboard support.


[Bug]: UIScalingMode positioning/scaling issues

Please let me know here if you notice any text positioning issues / things jumping to sides of screen / text only partially being repositioned, such as the quote marks here:

The game has a lot of different modes which change which UI text is present, and our code has to hook into every UI draw to make sure it's repositioned properly... very good chance there are still parts that haven't been hooked yet.

yes there is.
get to the "Beat that Car!" Mission in HA mode to see the rival markers jumping.
https://github.com/user-attachments/assets/93d90145-f508-4598-b3c2-c3ac9e3e9ca8

The "Rev" label and background unlit light are ever so slightly off compared to 4:3 mode. (this was taken with default textures; not my doing this time, lol).
Scaling mode 2:

Scaling mode 1:

As a side note, captures of the Chihiro hardware and Lidbergh show that the red light spite was originally scaled to better fit over the outline (with a different opacity?), though I don't really know that it's possible to fix like that here.

When doing "test your slipstream" missions in the Flagman mode, the "Rival" label stays in the 4:3 alignment rather than moving over along with their score.

On C2C, Clarissa Missions the Mission Marks (dots) and the capsules GFX are not aligned, no matter what you do editing the textures it will be always misaligned. So the problem is the position of the elements, not the texture itself.

This picture shows me trying to test with a modified texture.
Those pictures were using HD textures, but it still happens in vanilla version.

Details


Flex Team Queue

As a Flex Team User
I want a queue that shows all active request and the data fields most important to my role
so that I have the information I need at a glance

Assumptions & Scope

Queue is functionally the same as the Intake Queue and will have all the same sorting and filtering functionality
The queue will not display Closed requests
Newly assigned requests in Open state will display at the top of the queue and will be highlighted in blue

What is IN scope?

Displaying and organizing requests assigned to the Flex team in their queue

What is NOT in scope?
Acceptance Criteria
Scenario 1: Data in each row for a request

GIVEN an IAO analyst from the Flex team has logged in successfully
WHEN the IAO analyst is on the queue
THEN for each request assigned, the analyst will see, from left to right: Request ID, applicant name, applicant category, request type, current state, analyst, CFR due, days left, and XGOV

Scenario 2: Order of requests in queue

GIVEN a FOI analyst on a processing team has logged in successfully.
WHEN the analyst is on the queue
THEN the requests will be sorted with the requests sorted by current state, with Open at the top highlighted in blue, and alphabetical for every other state.

Scenario 3: xxxxxx
...
Dependencies? What is the impact of this dependency? (If so, link dependency in the ticket, make it visible in a team´s backlog)
Validation Rules? (If yes, list here)
Design
https://jacklyn808742.invisionapp.com/console/share/3W2O64AP5C/831805474
Definition of Ready

[ ] Is there a well articulated User Story?
[ ] Is there Acceptance Criteria that covers all scenarios (happy/sad paths)?
[ ] If there is a user interface, is there a design?
[ ] Does the user story need user research/validation?
[ ] Does this User Story needs stakeholder approval?
[ ] Design / Solution accepted by Product Owner
[ ] Is this user story small enough to be completed in a Sprint? Should it be split?
[ ] Are the dependencies known/ understood? (technical, business, regulatory/policy)
[ ] Has the story been estimated?

Definition of Done

[ ] Passes developer unit tests
[ ] Passes peer code review
[ ] If there's a user interface, passes UX assurance
[ ] Passes QA of Acceptance Criteria with verification in Dev and Test
[ ] Confirm Test cases built and succeeding
[ ] No regression test failures
[ ] Test coverage acceptable by Product Owner
[ ] Ticket ready to be merged to master or story branch
[ ] Developer to list Config changes/ Update documents and designs
[ ] Can be demoed in Sprint Review
[ ] Tagged as part of a Release
[ ] Feature flagged if required
[ ] Change Management activities done?

@arielleandrews  - If the user belongs to multiple groups then which dashboard to display by default. For example, a user belongs to Intake and Flex team. Which dashboard to show for this user?

Quick question on this - doesn't flex team want CFR Due date on their queue? Or did we hear otherwise? @JHarrietha-AOT @arielleandrews

@m-prodan @arielleandrews Link above has been updated

@divyav-aot users generally only belong to one group at a time but this is a good question. Any thoughts @m-prodan or @JHarrietha-AOT?

I would agree, users should only belong to one user group so this shouldn't be an issue

Are we allowing for folks to be on multiple groups as users? I know we're trying to flatten the permissions of IAO users so they can do everything when they need to assist other teams, but I think their queue should reflect the group they are associated with.

Decision made at refinement Dec 17 for Super Users to have Processing Queue as their default queue - they'll be able to see all requests but their columns will be set up as processing queue users

@arielleandrews  Please rewrite as a user story and cross-check against #957 (duplicate).

Looks good - setting this as high priority as this is something we'll want to have in time for training

Increase estimate from 3 to 5. Need more time to implement default sorting (Open on top).

@jadmsaadaot @richard-aot per discussion at bug triage this morning, all columns should be sortable. As it stands right now it does not appear the Days Left column is sortable. X-ref to bug ticket #1721

Main Functionality has passed as required. Of note, the bug ticket Arielle wrote up in #1721 will be handled separately. AC is passed, will close this ticket.


Chef-13: remove deprecated knife subcommand APIs

i suspect there will be test failures...

amazeballs there are not...
someone tell me if i'm doing this right though because i'm literally just mechanically deleting deprecated code without any idea...

I think that we should also be able to nuke: https://github.com/chef/chef/blob/bc42427577b2874dfd1a5cf6bc65dece2c6bdec1/lib/chef/knife/core/custom_manifest_loader.rb

This function could potentially move into the GemGlobLoader rather than living in the base SubcommandLoader class:
lib/chef/knife/core/subcommand_loader.rb
125:      def find_subcommands_via_dirglob

yeah, i've only got 4 more working days to play with Chef-13 so I think i'll just nuke that file I forgot to remove and call it good.  rest of it i think we either figure out how to do it non-breaking or it waits till Chef-14.


Add optional error handler for requests that return no data.

@mejackreed This was the simplest implementation I could come up with that didn't involve users having to write custom error handling on the window object. It's similar in that it allows the user to pass in their own custom error handler function if the ajax request completes successfully but doesn't return any data. I can add an example block if you like.

Thanks @lfarrell! Just a few minor comments, also is it possible to add this to the test suite?

@mejackreed Happy to add a test, too, but forgive my ignorance, how do you run them? I've got all the node modules installed.

ah. so sorry, that wasn't in the documentation. npm test should run it for you locally. I added #42 to start a contributing guide. Let me know if there are other useful things that should be there.

@mejackreed No worries, I ended up using karma start karma.conf.js to run the tests, which worked fine after I installed karma-cli. I added some empty data error handling tests and set the no data error to throw if an error handler is set or not.


Felipe lee/mb 14703 test spectral lint allows swapped errors

Jira ticket for this change
Summary
This PR is just testing to ensure we allow swapped errors in a yaml file.

Warnings

:warning:
Please add the JIRA issue key to the PR title (e.g. MB-123)

  Generated by :no_entry_sign: dangerJS against 905a420d65cb7fef11e19a71dbac198c634c4b39


Added the VK (VKontakte) bindings for iOS and Android

Hello! I'm the build bot for the Mono project. I need approval from a Mono team member to build this pull request. A team member should reply with "approve" to approve a build of this pull request, "whitelist" to whitelist this and all future pull requests from this contributor, or "build" to explicitly request a build, even if one has already been done. Contributors can ignore this message.

👍

Hello! I'm the build bot for the Mono project. I need approval from a Mono team member to build this pull request. A team member should reply with "approve" to approve a build of this pull request, "whitelist" to whitelist this and all future pull requests from this contributor, or "build" to explicitly request a build, even if one has already been done. Contributors can ignore this message.

Moved this PR to: https://github.com/xamarin/XamarinComponents/pull/203


Changed FailureSink from FileSink(deprecated) to RollingFileSink

What issue does this PR address?
FileSink() is deprecated and the example text generates a warning message.
Does this PR introduce a breaking change?
No
Please check if the PR fulfills these requirements

[x] The commit follows our guidelines
[x] Unit Tests for the changes have been added (for bug fixes / features)

Other information:

Thanks for the PR!

Where is it documented that the File sink has been deprecated?


v0.8.0 DataTable  'string' is not assignable to type 'object' error

Running
> vue-tsc --build --force
I get the following:
error TS2322: Type 'string' is not assignable to type 'object'.
34              tableStyle="min-width: 50rem">
~~~~~~~~~~
node_modules/primevue/datatable/DataTable.d.ts:1120:5
1120     tableStyle?: object | undefined;
~~~~~~~~~~
The expected type comes from property 'tableStyle' which is declared here on type 'DataTableProps & VNodeProps & AllowedComponentProps & ComponentCustomProps & Record<string, unknown>'
But in the docs,( https://tailwind.primevue.org/datatable/ ) the example reports:
DataTable :value="products" tableStyle="min-width: 50rem"

As of v4.1.1, the new Tailwind styles have been rewritten using the preprocessor approach with @apply instead of pass-through. As a result this issue is not relevant any more.
New Website is live.


"No results found" when clickin on a list

Version: 1.3.8 (in Docker)
DB: Postgres 14.4
Additional info: I've updated from v1.3.7.
Reproduction steps:

Create a list.
Create a template that uses the list created in the previous step.
Create a collection that uses the template created in the previous step as Default template applied to items
Try to add a new item to the collection created in the previous step. The data fields are loaded, but when you want to set the value for the list, it says No results found (see screenshot below).

I tried Load collection fields button, but the elements doesn't load. One solution is, to remove the field and select the template manually.

Hello, this should be fixed by release 1.3.9

Tested and working. Thank you for the fast fix.


Reset password function not working yet - need to implement

Need to make the reset password function work. There is a button for it on the login page, but nothing happens. Not sure if it is a bug or just not yet implemented.

Yes, this is not implemented yet. We have discussed this many times in the meeting as last Core item we will actually address. This requires an SMTP server to be set up.


Tilde in the path, selection and word navigation in commands and UTF-8

Micro automatically replace tilde ("~") with the user path even if it's in the middle of the path. Would not be more logical to do it only if it is at the beginning with the form "~/", so you can use "~" in the names of directories and/or files?
Is it deliberate choice to not be able to use the selection and word left/right navigation in the commands?
Will there be UTF-8 support for Windows?

The problem with ~ inside paths should be fixed now.

See #635

UTF-8 should be supported by default (it is Go's default encoding). The problem is probably that Windows terminals do not support it. Let me know if this is incorrect -- I don't use Windows much.

The command shell does not support completely even the characters of the basic multilingual plane.

The command prompt in Windows does not support even the basic multilingual plane. The characters can be used but they are not displayed correctly (replaced as "�") and the ones that are above the UTF-16 are twice as big (replaces as "��"). The last changes when you move the cursor, type in front of it or delete character right before (the second "�" disappears, then shows, then expands to three "�" and so on).


Explore the Management APIs Link is not working

Explore the Management APIs button Link throwing 404

Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: 553fc3f5-7bb0-db05-00e8-e18c550c2869
Version Independent ID: 219ec4a2-b185-2c5b-0174-c8577f3f894e
Content: Azure Resource Manager SDK for .NET - Azure for .NET Developers
Content Source: api/overview/azure/latest/resource-manager.md
Service: resourcemanager
GitHub Login: @pallavit
Microsoft Alias: pallavit

Label prediction was below confidence level 0.6 for Model:ServiceLabels: 'Docs:0.19190672,ARM:0.16181432,Compute:0.13275215'

Thank you for your feedback.  Tagging and routing to the team member best able to assist.

This is the old fluent .Net Sdk is being deprecated, we need to take down this doc @xboxeer

@scottaddie @sima-zhu this is an ask that we shall replace all track 1 SDK samples in .NET SDK reference book, do we have a plan on that?

@ArthurMa1978 @xboxeer I am not aware of any work for this. Can we have a meeting for details?
For track 1 which are deprecated, we are currently proposing to add (deprecated) besides of display name.