Proposal pivot tool and move components

Hello @odrick
I was thinking in new features for your app:

One section about set pivot in each image
Group buttons: 'SplitSheet' 'Animations' 'Pivot' at the bottom, maybe?
Enlarge SplitSheet

Are you developing something? Can I help you? In this moment (1-2 weeks) I have free time.

Great ideas! Right now I'm not planning new works on this project. You can implement these features.

Perfect!

Hey, are pivot points still being worked upon? This software is great and it's the only big thing yet to be added.

I plan to do this. But I do not know when.

Hi!
I'm making the pivot function but I'm having trouble because I dont know how do it without change critical code.
The only solution I see would be a simple panel (like a Animation panel) where the user only can select only one image.
What do you think?

This is a very complex task. We need:

ui for multiple images pivot editing
transfer pivot information to exporters
implement pivots in exporters templates
store pivot information in project file
implement pivots in ftp core (as addition parameter? I'm not sure...)

I think that single window for one image not enough...

I was doing a test using a simple ui where you can see all images (simple order) but I saw a problem when you have a lot of large images (chrome memory increased 2 GB). Maybe the problem is to use Canvas rendering instead of WebGl, I don't know perfectly.
I think that the most important is making a correct UI.

Great to see that this feature is being worked on. Came here because that's the last thing I would need as well. Also, I think a single window/screen per selected sprite would be enough. The Unity editor, for example, can only edit one sprite at a time, was far as I remeber.

yea +1 from me as well need pivot point.  is there any update since jan of this year on this feature?

also if I may add, for animation with lots of frames, have a way to import pivot points from a list of x, y via .txt or something.

Can someone explain, possibly with images, what this issue is about? I don't quite understand what workflow or part of the software would benefit from having a pivot point. Are we talking about custom rotations? Is this for manual placement?

Hi @JannikGM , so a pivot point is going to define a point in an image based on which its going to be positioned on screen.

The above image illustrates a simple use case. So now to position the stickman based on the default pivot point, we have to factor in the space between the pivot point and the stickman, when we are writing code to position it.
If we say position the stickman to position (100, 100) in a 2D plane, then the image will be positioned such that the pivot point is in (100, 100). But we would want our stickman's body to be on (100, 100) and using the default pivot will create an undesired offset. So to get out stickman's body on (100, 100), we may have to manually set the image's pivot in code (if supported), or change the position from (100, 100) to say (110, 120).
But if we had the ability to choose our own pivot point, say a point on the stickman, then we just have to worry about positioning the stickman and not the difference between the default pivot point and our desired pivot point.

At the moment I don't have much time to develop this project. Feature requests are postponed.


Return an error if the user doesn't pass a uniform

This was not implemented because it is allowed in OpenGL not to set the value of a uniform.
However this behavior of glium is error-prone. It's too easy to forget to pass a value or to make a typo.
I marked this as easy, but there are two chances to do:

Return an error in case of a missing uniform (in src/uniforms/bind.rs).
Add a way to not pass a value if the user wants to do that. The AsUniformValue trait should probably be implemented on () for this purpose.

Is this really that easy to implement?
There are basically two versions of this problem:

The user wants to set a uniform variable that does not exist -> Erroring in this case is easy
The user does not set a uniform that exists (or makes a typo) -> Not so easy imo. In this case we would have to mark the uniforms which have been set in the UniformsStorage and after processing all uniforms we check if any of them has not been set (This adds some overhead though).

Only 2. should be an error. The OpenGL compiler is free to optimize away uniforms, so enforcing 1. would be too punitive.

Unsure what the scope of this issue is. Is this meant to cover uniforms which aren't set, but have a GLSL default value, or just uniforms that aren't set? For the first, we could allow the user to pass in an Option<> for that.

The idea was to allow the user to pass some kind of marker, or alternatively (), to indicate that the uniform should have its default value. But an Option could be good as well.


SSL/TLS certificate client authentication?

Environment

OS: Ubuntu
Erlang/OTP: 19.2
EMQ: 2.2

Description
Hello,
In both this question: https://github.com/emqtt/emqttd/issues/794 and this question: https://github.com/emqtt/emqttd/issues/585 certificate based client authentication is brought up and it was mentioned that it was being worked on in 2.1 and 2.2. Has this feature been deployed?
Currently, my application is using TLS-PSK to connect clients, and it's important to me that I can also authenticate them with the psk-identity if possible. Do you have any thoughts on how this could be done? I have read up on hooks quite a bit, and an idea I had was that whenever a client connected I could maybe change the Client Id in #mqtt_client to equal the psk-identity, but I can't find 1) where the client-id is set and 2)When this is set, i need access to the psk-identity, which doesn't seem to be accessible from anywhere.
Do you have any thoughts on how to accomplish this in the meantime before any version with certificate based authentication is added to the platform?

@emqplus, I am currently working on implementing this right now... is your email<EMAIL_ADDRESS>I'd love to chat about your implementation, especially since mine is for PSKs and I imagine you are using ssl:peercert?

@codewiget95 My email<EMAIL_ADDRESS>We implemented this feature using ssl:peercert to decode the DN or CN. You can discuss your design with<EMAIL_ADDRESS>and submit a PR later:)

Is this feature release in 2.3-beta?
We need this functionality and I need to check what can be used as a starting point. Could you share any pointers.

Are there any updates on this issue? Is it going to be implemented at some time in near future? A very important and needed feature.

@uodasuodas @rejji @codewiget95 @codewiget95 The X.509 certificate-based authentication has been production ready in R2.3.2. Close the issue.


Get Bruce, Gary and Jon access to SecOps SIEM

Describe the issue

SecOps have deployed a SIEM solution to which we send our logs
The Lambda function that exports the Log has been deployed in the Log-Archive account
Reach out to Prabhu if any questions about the Whole flow

Additional context

Bruce, Gary and Jon needs to get the Access to SIEM, Possibly speak to Justin and get the access
Bruce likely has access already, let's confirm and get access/demo for the others

Definition of done

Bruce, Gary and Jon has access to the SIEM created by SecOps and access to the account where the lambda function has been deployed

Reached out to Austin a couple of times about the access and sounds like they are working towards building a reliable
endpoint
Waiting for the response back from the Secops

Do we need a reliable endpoint to have access or can we get access to the unreliable VM SIEM that some of us have access to?


Enable Xcode 12 support for Swift Package Manager

Since Xcode 12 is released and the minimum deployment target handling was updated for the Swift Package Manager, the current situation with snowplow-objc-tracker and its dependency FMDB does not meet the requirements anymore.
Because the minimum deployment target of FMDB is v9 and the one from snowplow-objc-tracker is v8, Xcode complains that v8 is too small. In other words, a dependency needs to fulfil the minimum deployment target version of the host (snowplow).

Thanks for your pull request. Is this your first contribution to a Snowplow open source project? Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).
:memo: Please visit https://github.com/snowplow/snowplow/wiki/CLA to learn more and sign.
Once you've signed, please reply here (e.g. I signed it!) and we'll verify. Thanks.

I signed it

Confirmed! @lunij has signed the Contributor License Agreement. Thanks so much.


Train on multiple languages

I just reached 1 million steps in training my Hebrew TTS model, and it sounds pretty good. However, I noticed it struggles to pronounce English. After investigating, I found that Hebrew in espeak-ng uses only 30-40 IPA phonemes, whereas English relies on IPA phonemes that is not in the dataset. How can I add basic English support, as English words sometimes appear within Hebrew text (as in many languages)?

@thewh1teagle you can always replace the OOD phonemes with their closest equivalent before you feed them to the model. If you want native support for English it is a bit complicated as it requires that your dataset contains some English utterances. Otherwise you can use a voice conversion model to create synthetic English utterances and fine-tune the model on them.
OptiSpeech contains support for multiple-languages using language embedding but I didn't test that yet.


Rename scripts to make it more obvious what each does

I'm thinking something like the following:

metadata_csv_api.py -> api_csv_download.py
metadata_csv_download.py -> bulk_csv_download.py
metadata_csv_filter.py -> bulk_csv_filter.py
metadata_quicklook_download.py ->quicklook_download.py

make_quicklook_lists.py can probably stay the same for now.

Since the term "bulk" isn't really used on the Landsat metadata download page (but it is in the URL for the CSV files), it doesn't really make sense to use it in the script names.


What kind of errors are specifically set in "failureReason"?

Please make sure you have searched for information in the following guides.

[X] Search the issues already opened: https://github.com/GoogleCloudPlatform/google-cloud-node/issues
[X] Check our Troubleshooting guide: https://googlecloudplatform.github.io/google-cloud-node/#/docs/guides/troubleshooting
[X] Check our FAQ: https://googlecloudplatform.github.io/google-cloud-node/#/docs/guides/faq
[X] Check our libraries HOW-TO: https://github.com/googleapis/gax-nodejs/blob/main/client-libraries.md
[X] Check out our authentication guide: https://github.com/googleapis/google-auth-library-nodejs
[X] Check out handwritten samples for many of our APIs: https://github.com/GoogleCloudPlatform/nodejs-docs-samples

Documentation Request
The document below states "Output only. If and only if action's state is FAILED a failure reason is set."
https://cloud.google.com/php/docs/reference/cloud-dataform/latest/V1beta1.WorkflowInvocationAction
Probably the implementation location is below.
https://github.com/googleapis/google-cloud-java/blob/1d97e4db6d5106aad8fed2386151c457e0258de3/java-dataform/proto-google-cloud-dataform-v1beta1/src/main/java/com/google/cloud/dataform/v1beta1/WorkflowInvocationAction.java#L2422
It is difficult to read what kind of error is set from the source code, so please tell me the specific setting value.

Hi @lbk-yuuki-nakamura, thank you for submitting your question! This question relates to the API specifically, so unfortunately this channel isn't the best place for it (we deal with the libraries themselves, and the documentation you point at comes from the API itself, and isn't handwritten).  That being said, I did a quick search and also couldn't find the answer (inlcuding in our protos), so I think the API team would be best to answer this themselves. Feel free to submit your question here, and in the meantime I'll move this question to discussion so that others in the community can help answer. Thanks again!


readme: document K8S_NODE_NAME

Adds documentation for the K8S_NODE_NAME variable supported by the metadata filter.
This explains the idea behind the change: https://github.com/fabric8io/fluent-plugin-kubernetes_metadata_filter/pull/124
Namely: the filter listens on events to help cache metadata on the pods that live on that node. For very short-lived pods (esp. jobs) the filter might get a 404 from the api because the pod is gone but fluentd is still processing its logs.
I'll add this to the helm chart so that users are opted in by default!

This landed in helm

@bendrucker sorry for the delay, just getting back from PTO...

No prob!


Add Ruby C extension to pick folders

In order to set up the paths to the test suites there need to be a way to select folders from the Ruby API. Implement this in a Ruby C extension.

SketchUp 2015 added UI.select_folder; http://ruby.sketchup.com/UI.html#select_directory-class_method
Adding support for SU2014 isn't high priority. SU2014 already have a fallback to Win32.


lack of documentation about how to use advanced CUE template feature

By using application object, we have already supported some advanced features. But we don't have any documentation except this example.
Patch trait

[x] trait can be a patch of workload, for example replica trait. #921
[x] trait can use strategy patch merge with workload, for example sidecar trait. #921

Multiple resources output

[x] trait can contain more than one K8s resources, e.g. a new route trait can be combined by K8s service and ingress.

Health check

[ ] #861

Http Task

[ ] #852

fixed by #1027


Licensing

I looked at this code which seems to be a great template to work from when I'm creating a learning tool for subtitling students.
I wonder if the code is free of use? What license can I use it under? Of course I will reference your guide at GeeksforGeeks and this repo.

You can use the code as you like under the MIT License. It is great to see being used as a template for students! The article content from GeeksforGeeks has separate copyright rules that you can check on the website.


Separate api access code base from oauth code base completely

Just a suggestion: Why don't you create two packages in npm for coinbase? One that does solely oauth requests and the other one with apikey / secret.
Currently it is really confusing when trying to set it up with using oauth because for example one has to set the param "apiKey" to what is actually the "Client ID" (at least I guess so).
Please elaborate a little on how the design is envisioned to be. I think there might be even security reasons not to mix the functionality.

I don't really see the OAuth2 flow being part of the job of the client library as it's usually really environment specific, mainly connected to your web framework. Right now we accept your tokens and take care of refreshing them but you need to build the authentication flow yourself. If you're using Passport for auth, I recommend that you take a look at passport-coinbase strategy. At the moment we don't have plans for a separate generic library but can build plugins for new popular auth frameworks if needed.


Run AOT failed on windows

Os:windows 10
wamrc_ver:latest x86
toolchain:emcc
llvm_ver:15.X
    add_ldflags({"-s WASM=1", "-s STANDALONE_WASM","-s EXPORTED_FUNCTIONS=['_main']", "-s NODEJS_CATCH_EXIT=0", "-s NODEJS_CATCH_REJECTION=0"})
    set_optimize("fastest")

#include <iostream>

int main()
{

    std::cout<<"Hello, world!\n";
    return 0;

}

cmooand:wamrc --target-abi=msvc --target=i386 -o test.aot test.wasm
Create AoT compiler with:
  target:        i386
  target cpu:
  target triple: i386-pc-windows-msvc
  cpu features:
  opt level:     3
  size level:    1
  output format: AoT file
Compile success, file test.aot was generated.

iwasm.exe test.aot
Load relocation section failed: invalid relocation type 20.

Hi, the relocations for Windows x86-32 haven't been implemented yet, I tried to enable the relocation type 20 as you mentioned, see win_x86_32.zip, could you have a try?

Hi, the relocations for Windows x86-32 haven't been implemented yet, I tried to enable the relocation type 20 as you mentioned, see win_x86_32.zip, could you have a try?

Hi I've tried,buf it failed.

AOT module load failed: resolve symbol _aot_func#384 failed

It seems that the function symbol generated in Windows 32bit starts with '_', could you modify the aot_loader.c:
diff --git a/core/iwasm/aot/aot_loader.c b/core/iwasm/aot/aot_loader.c
index 5345fb2d..9a431d02 100644
--- a/core/iwasm/aot/aot_loader.c
+++ b/core/iwasm/aot/aot_loader.c
@@ -1947,6 +1947,19 @@ do_text_relocation(AOTModule *module, AOTRelocationGroup *group,
             }
             symbol_addr = module->func_ptrs[func_index];
         }
+#if defined(BH_PLATFORM_WINDOWS) && defined(BUILD_TARGET_X86_32)
+        else if (!strncmp(symbol, "_" AOT_FUNC_PREFIX,
+                          strlen("_" AOT_FUNC_PREFIX))) {
+            p = symbol + strlen("_" AOT_FUNC_PREFIX);
+            if (*p == '\0'
+                || (func_index = (uint32)atoi(p)) > module->func_count) {
+                set_error_buf_v(error_buf, error_buf_size, "invalid symbol %s",
+                                symbol);
+                goto check_symbol_fail;
+            }
+            symbol_addr = module->func_ptrs[func_index];
+        }
+#endif
         else if (!strcmp(symbol, ".text")) {
             symbol_addr = module->code;
         }

It seems that the function symbol generated in Windows 32bit starts with '_', could you modify the aot_loader.c:
diff --git a/core/iwasm/aot/aot_loader.c b/core/iwasm/aot/aot_loader.c
index 5345fb2d..9a431d02 100644
--- a/core/iwasm/aot/aot_loader.c
+++ b/core/iwasm/aot/aot_loader.c
@@ -1947,6 +1947,19 @@ do_text_relocation(AOTModule *module, AOTRelocationGroup *group,
             }
             symbol_addr = module->func_ptrs[func_index];
         }
+#if defined(BH_PLATFORM_WINDOWS) && defined(BUILD_TARGET_X86_32)
+        else if (!strncmp(symbol, "_" AOT_FUNC_PREFIX,
+                          strlen("_" AOT_FUNC_PREFIX))) {
+            p = symbol + strlen("_" AOT_FUNC_PREFIX);
+            if (*p == '\0'
+                || (func_index = (uint32)atoi(p)) > module->func_count) {
+                set_error_buf_v(error_buf, error_buf_size, "invalid symbol %s",
+                                symbol);
+                goto check_symbol_fail;
+            }
+            symbol_addr = module->func_ptrs[func_index];
+        }
+#endif
         else if (!strcmp(symbol, ".text")) {
             symbol_addr = module->code;
         }

worked.

Seems that __aulldiv is a compiler-rt function, could you try declaring it in aot_reloc_x86_32.c and then REG_SYM it:
https://github.com/bytecodealliance/wasm-micro-runtime/blob/main/core/iwasm/aot/arch/aot_reloc_x86_32.c#L52-L55
void __aulldiv();

static SymbolMap target_sym_map[] = {
    ...
    REG_SYM(__aulldiv),
};

ok.
static uint64
__aulldiv(uint64 a, uint64 b)
{
    return a / b;
}
#endif

/* clang-format off */
static SymbolMap target_sym_map[] = {
    REG_COMMON_SYMBOLS
    /* compiler-rt symbols that come from compiler(e.g. gcc) */
    REG_SYM(__divdi3),
    REG_SYM(__udivdi3),
    REG_SYM(__moddi3),
    REG_SYM(__umoddi3),
    REG_SYM(__aulldiv)
};

runlog:
Load relocation section failed: invalid relocation type 6.

In aot_reloc_x86_32.c, try adding #define IMAGE_REL_I386_REL32 6 and then:
     switch (reloc_type) {
+#if !defined(BH_PLATFORM_WINDOWS)
         case R_386_32:
+#else
+        case IMAGE_REL_I386_DIR32:
+#endif

case IMAGE_REL_I386_DIR32:

tried,then:
Load relocation section failed: invalid relocation type 20.

Hi, refer to below link for Windows x86-32 relocations:
https://learn.microsoft.com/en-us/windows/win32/debug/pe-format#intel-386-processors
It seems the implementation of the two relocation types should be like:
IMAGE_REL_I386_REL32  (=20):  refer to the patch win_x86_32.zip
IMAGE_REL_I386_DIR32 (=6): refer to the patch:
     switch (reloc_type) {
+#if !defined(BH_PLATFORM_WINDOWS)
         case R_386_32:
+#else
+        case IMAGE_REL_I386_DIR32:
+#endif

@Waitforomething2023 Thanks for reporting the issues, I uploaded PR #2285 to fix them, could you help check whether there is anything missing? Thanks.


Update show credentials documentation

@JimmyRojas @marcocdlv please review my changes

please see some comments..

@JimmyRojas I completed your observations, please review my changes

looks good to me.. :)

@JimmyRojas, @dan-canqui  great job guys

From my point of view, when the tool shows all credentials by status it would be better to have all credentials grouped by status and does not add the status by each credential, because sometimes you could have a bunch of valid/invalid credentials and it would be hard to review all of them(EG I had more than 32 accounts :p), so below you have an example.

             Credentials

********** Valid Credentials **************
Id : john.enforce
User name<EMAIL_ADDRESS>Type : Production/Developer
Id : mine
User name<EMAIL_ADDRESS>Type : Production/Developer
********** Invalid Credentials **************
Id : my
User name<EMAIL_ADDRESS>Type : Production/Developer
Caused By: Invalid username, password, security token; or user locked out.
Id : recru
User name<EMAIL_ADDRESS>Type : dev (Specified)
Caused By: Invalid username, password, security token; or user locked out.
In this example you can see that the status is not duplicated and looks cleaner that the current one, please take in consideration this suggestion.
JIC if you want I could participate in the features definition, this is my skype account navor.nunez

@naverus, Glad to 'read' from you again.
We also had the same idea but because of time constraints we decided to keep it as is right now, and later provide grouping functionality.

@ziur Cool...


Live Cleanup

This primarily includes a fix for https://github.com/artsy/auctions/issues/477 .

Fixes sales with only one, two, or three lots.
Fixes a problem preventing auction VCs from reloading their content when a sale goes live (shouldShowLiveInterface).
Cleans up some indentation.

          1 Warning

:warning:
Needs testing on a Phone if change is non-trivial

  Generated by :no_entry_sign: Danger

Alright - this looks 👍
Sorry, I missed this


Add "exclude or do-not-delete" tag support in relevant policies

Policy Template Name
Allow users to specify a way to exclude resources from policy actions by specifying a exclude tag. e.g.: do_not_delete sort of tag on UAVs.
This would be an additional input parameter field in policy templates.
Issue Type
[Bug -or- Feature Request -or- New Policy Template Request]
Use Case (Feature Request -or- New Policy Template Request Only)
[Describe the use case for this feature request or new policy template request]
Policy Template version (Bug Only)
[Version of Policy Template in use, this can be found in the long_description]
Code Snippet (Bug Only)
[Please provide any relevant code snippets (ie. datasource,escalation,policy, RCL, etc.) as it relates to the bug]
Error Messages (Bug Only)
[Provide any error messages returned (if applicable)]

Fixed by https://github.com/rightscale/policy_templates/pull/70


Issue#2 email handling

Tried to break the implementation into new Prs

Made the changes , watch the orchestrator asset folder


[Ecolink] Garage Door Operator WWST

Added -

\SmartThingsEdgeDrivers\drivers\SmartThings\zwave-garage-door-opener\src\ecolink-zw-gdo\init.lua
\SmartThingsEdgeDrivers\drivers\SmartThings\zwave-garage-door-opener\src\configurations.lua
\SmartThingsEdgeDrivers\drivers\SmartThings\zwave-garage-door-opener\src\test\test_ecolink_garage_door_operator.lua
\SmartThingsEdgeDrivers\drivers\SmartThings\zwave-garage-door-opener\profiles\eco-zw-gdo-profile.yml

Modified -

\SmartThingsEdgeDrivers\drivers\SmartThings\zwave-garage-door-opener\figerprints.yml
\SmartThingsEdgeDrivers\drivers\SmartThings\zwave-garage-door-opener\src\init.lua

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

My tests keep failing and I am not sure why. What does Error: Resource not accessible by integration mean and how can I fix it?
Thank you.

@anider001 that has to do with the code coverage workflow, not your test. It lacks the permissions to run properly when triggered by a pull request from a forked repo. Code coverage is a recently-deployed feature for us so still some kinks to work out for forked repos.
Your best bet is to run locally.

@anider001 that has to do with the code coverage workflow, not your test. It lacks the permissions to run properly when triggered by a pull request from a forked repo. Code coverage is a recently-deployed feature for us so still some kinks to work out for forked repos.
Your best bet is to run locally.

Thank you

I am having trouble running tests locally to verify they are passing correctly. I get an error message that lua cannot find the module integration_test.  How can I fix this and run the test locally? I do not know what is causing them to fail.

@anider001 Likely your LUA_PATH variable is not setup right. This is process different on windows/linux, but youll need to pull down the latest tar from our releases, and make sure the Lua libs directory is included in that path. There is some documentation here

Thank you. I was able to run the tests locally.

Checking drivers/SmartThings/zwave-garage-door-opener/src/test/test_ecolink_garage_door_operator.lua 1 warning

    drivers/SmartThings/zwave-garage-door-opener/src/test/test_ecolink_garage_door_operator.lua:17:7: (W211) unused variable json

Hello @anider001 Can you please sign our CLA? We will be good to merge this code after that is completed. Thanks.


Summation of diagonal elements in CPP

Hey @rakshitmehra! I'd like to contribute by adding the code of "adding the diagonal elements of a matrix" in C++.
Could you please assign it to me under Hacktoberfest2022 label?

i  would like to do this project


Show/hide menus in sidebars depending on the user roles

Is it possible to this? How?

Yes, see section 5.1 of the README: https://github.com/jeroennoten/Laravel-AdminLTE#51-menu

so i go through the README, the '@can' works fine, but is it possible to use '@role' to define which role that can view the sidebar links
for example
[
            'text'        => 'Users',
            'url'         => 'users',
            'icon'        => 'file',
            'label_color' => 'success',
            'can'         => 'manage-blog',
            'role'        => 'User',
 ],

Yes, you could implement this with a custom menu filter: https://github.com/jeroennoten/Laravel-AdminLTE#custom-menu-filters
Please reopen this issue if you're not able to figure out how to do it.

is this possible to assign menu to different user base on auth guard

Can anyone please tell me, in which directory i will create MyMenuFilter Class

hey there! where did you put your MyMenuFilter Class?

Can anyone please tell me, in which directory i will create MyMenuFilter Class

Can anyone please tell me, in which directory i will create MyMenuFilter Class

hey there! where did you put your MyMenuFilter Class?

inside JeroenNoten\LaravelAdminLte\Menu\Filters

is this possible to assign menu to different user base on auth guard?

just define the gate, then configure it in menu with key 'can',
this is my example in AuthServiceProvider.php  :
`
public function boot() {
$this->registerPolicies();
    Gate::define('user', function () {
        return Auth::user()->role->type == 'user';
    });

    Gate::define('admin', function () {
        return Auth::user()->role->type == 'admin';
    });

    Gate::define('root', function () {
        return Auth::user()->role->type == 'root';
    });
}

then in config/adminlte.php :
['header' => 'CLASS'],
[
'text' => 'Class',
// 'url'  => 'class/',
'icon' => 'fas fa-fw fa-university',
'submenu' => [
[
'text' => 'My Class',
'url'  => '#',
'can' => ['user', 'admin']
],
[
'text' => 'Pick Class',
'url'  => '#',
'can'  => ['admin'],
],
],
],
`

is this possible to assign menu to different user base on auth guard?

just defini your auth guard in AuthServiceProvider.php as a gate, then use it in menu with key can


LIB-254-modify-command-in-Package-Project-stage-in-Jenkins-Pipeline

https://valaxytech.medium.com/multibranch-pipeline-on-jenkins-with-webhook-a65decede4f8
To test the webhook to Jenkins


Add new value

Hello,
Is it possible to add new value if it's not found in the auto-suggest?
Thanks a lot.

You could always push the search string onto the options array. But it is a lot of work to style and handle it appropriately.
AFAIK there's no native support for that, +1 to it.

Does anyone know if this has been implemented?

Actually, just found this demo where adding a new option is supported in tagging mode, exactly what I need.

Another +1 for this

This is the purpose of the tagging functionality in the recent versions of the library.
Closing as resolved.


fix: move cipher to decryption function

HA was failing in the config flow tests with 2.13.0 on this part of the code when using encryption
assert self.cipher is not None  # nosec

I move the cipher part down to the decryption function. Not sure is this is the best way to solve it, but the HA tests do work with this change.

Is the bindkey getting set outside of init ?

Ideally we don't want to recreate the object every time we decrypt a packet as it will likely be MUCH slower

I fixed it in https://github.com/Bluetooth-Devices/bthome-ble/pull/83

Ideally we don't want to recreate the object every time we decrypt a packet as it will likely be MUCH slower

Yes, that what I also thought, but couldn't think of a better solution. Thanks!


🎩 update Properties design

I was feeling a bit inspired
take it or leave it
PR type

[x] Feature
[x] Refactoring

What's new?

[x] move Properties components outside unique folder
[x] update Properties (attributes) component design since I can't stand having so much table everywhere

Before submitting Pull Request, please make sure:

[x] My contribution builds clean without any errors or warnings
[x] I've merged recent default branch -- main and I've no conflicts
[x] I've tried to respect high code quality standards
[x] I've didn't break any original functionality
[x] I've posted a screenshot of demonstrated change in this PR

Screenshot
Tested on /bsx/gallery/2444376227-3
before

after

Yes!


Wildcard authorized emails?

How might one allow wildcard email authorization? E.g. all emails for a Google authentication domain, such as a company's staff. Is there an approach to enable all organization users, or specific email domains?

The simplest solution is to modify the auth function here to something like:
if email.endswith("@mycompany.com"):
An even better approach would be to store authorized emails in a database and have the auth function do a lookup against that database.

I'm using this approach at the moment:
from fnmatch import fnmatch

class GlobList(list):
    """Glob list"""

    def __contains__(self, key) -> bool:
        """Check if key in list or matches patterns in list."""

        if super().__contains__(key):
            return True

        for k in self:
            if fnmatch(key, k):
                return True

        return False

and setting:
authorized_emails =<EMAIL_ADDRESS><EMAIL_ADDRESS>auth = GoogleOAuth(app, authorized_emails)

@joshbode, this would be a really good addition to the README, or some similar documentation! :-)

The simplest solution is to modify the auth function here to something like:
if email.endswith("@mycompany.com"):
An even better approach would be to store authorized emails in a database and have the auth function do a lookup against that database.

Your url doesn't seem to be working.

@VedantRuparelia whoops, linked to a private repo. Fixed my comment above (new link)


useQuery result not valid after variable change with graphql error

Describe the bug
When the variables change in useQuery the result doesnt get updated anymore
When the variables change in useQuery the result doesnt get updated anymore if an apollo error exists
To Reproduce
Steps to reproduce the behavior:

component

// component props: scope; query
const propsRefs = toRefs(props);
const read = useQuery(props.query, { scope: propsRefs.scope, fallback: false }, { fetchPolicy: "no-cache" });

run frontend with set scope property
change scope
query refetches
graphql server sends error
returns old result

Expected behavior
if for example the propsRefs.scope value changes, the query should refetch and return the correct result
Versions
vue: 3.2.33
@apollo/client: 3.6.2
@vue/apollo-composable: 4.0.0-alpha.17
Additional context
in @vue/apollo-composable: 4.0.0-alpha.16 it works as expected

I believe the entire variables object needs to either be a reactive or a ref.
const scope = toRef(props, 'scope') // Note: toRef not toRefs
const variables = computed(() => ({scope: scope.value, fallback: false}));

const read = useQuery(props.query, variables);

thanks for the reply!
Your version and my version work.
The problem is that if a variable is changed and the response is an error -> the result is not changed to undefined/null
i don't know if this is intended

Check out error policies in the docs: https://v4.apollo.vuejs.org/guide-composable/error-handling.html
Specifically:

The possible options for errorPolicy are:

none: This is the default policy to match how Apollo Client 1.0 worked. Any GraphQL Errors are treated the same as network errors and any data is ignored from the response.

Ahh thanks!
I don't know why it worked in the minor version before
But the current version works indeed as described  in the docs


Change route policy configuration to tree structure

Wildcard based route configuration is prone to errors and security problems.
Implement a path tree-like configuration to setup route policies more explicitly.

Tree structure quickly becomes too verbose to use. I'll lean towards ease of use in this trade-off.


File with images not load (version 5.0/95)

Return zero rows from this file (if it contains images). May fix this? Images don't need.
Test.zip

Please, update your version of Excel/Office and save the file again. The file uses the old Excel 5.0/95 format.
I am able to open if using Excel 2003 "save as" feature.

Contragent send this file to me from internal program. And I want processed in auto mode without manual operations.

Hi, thanks for the XLS file!
This is an interesting one. There are both "Book" and "Workbook" CFB substreams in the file, and ExcelDataReader currently picks the "Workbook" if it exists. But in this case all the data is in the "Book", whereas "Workbook" consists only of three empty sheets.
This line must be replaced with a loop looking up the first matching substream:
https://github.com/ExcelDataReader/ExcelDataReader/blob/e5b7d41b580603c866b9097496139080c0bba105/src/ExcelDataReader/ExcelReaderFactory.cs#L190
However, when changing to parse the "Book" substream, the strings come out with wrong encoding:

This needs further analysis, but is less worrying than the first part of the issue. I will thus leave this for now.

As a follow up to the initial analysis and the second problem;
It was puzzling the file lacks a CODEPAGE record, yet Excel and Google Sheets are able to detect the Cyrillic encoding. Turns out the BIFF5-8 FONT record contains a flag indicating the character set used for byte strings, which is ignored by ExcelDataReader. Have verified this file's FONT records indeed use the Cyrillic identifier, so I suppose this is a hole in ExcelDataReader's support for international characters in BIFF5-BIFF8 XLS.
At the minimum, a fix should parse the font records, map the font character set identifiers to encodings, add fonts to the XF stuff, and then use the font encoding (if specified) when reading byte strings in cells.
Ideally there should be tests for multiple character sets, and for the font indexing scheme where font indexes 0..3 are 0-based, but >4 are 1-based!


Allow tonic-web to forward gRPC traffic over HTTP/1.1

Feature Request
Crates
tonic-web
Motivation
Right now, tonic-web's GrpcWebService tower service explicitly checks and denies any non-grpc-web (regular gRPC) traffic that's not sent over HTTP/2.  However, tonic (and hyper) itself are fine with accepting gRPC traffic over HTTP/1.1 (via tonic::transport::Server::accept_http1).
While I can agree that gRPC should ideally communicate over HTTP/2, I've run into the situation where a proxy between the gRPC client and server only speaks HTTP/1.1 to the upstream (the tonic server).  This makes it impossible to speak HTTP/2 to tonic.  Tonic behaves completely correctly in this situation, unless GrpcWebServer is part of the tower stack, in which case all requests return HTTP 400.
Proposal
GrpcWebService should have a flag that controls whether or not non-HTTP/2 traffic is allowed through the tower stack when a request is not a grpc-web request.  This is backwards-compatible, as existing methods on tonic-web do not need to change, and the default behaviour can be to deny HTTP/1.*.  This looks easy to implement, but I'd like the approval of maintainers first.
Alternatives
I am currently working around this by creating another tower service that wraps GrpcWebService and skips it if the content type for a request is not application/grpc-web*.  It's resulted in a lot of boilerplate for a simple operation, so having the functionality built into GrpcWebService would be much preferred.

Why it cannot be allowed yet?
It should be simple to allow HTTP1 without hacks like grpc-web?


Trigger too late because of transform: translateY(-50%);

Currently I am using the following snippet to vertical align my content in a div:
.valign {
  position: relative;
  top: 50%;
  transform: translateY(-50%);
}

This causes scrollReveal to trigger the animation when it is at the half of the content and after finishing the animation it will stutter to its normal position. I have created a jsfiddle to show the problem http://jsfiddle.net/dm00e87q/3/ (cookies slide in the jsfiddle, can show the issue the clearest)
A solution would be appreciated. Thanks for the help!

Hey @iampuma
Generally speaking, I would not recommend this technique:
.valign {
  position: relative;
  top: 50%;
  transform: translateY(-50%);
}

The primary reason being that using transform: translate can result in sub-pixel positioning with odd computed heights, which causes the browser to render blurry content.
Plus, in this instance, your styles conflict with ScrollReveal’s use of transform for its animations (I believe this is what your original question was about):

What I recommend...
Remove the .valign class altogether, and instead use CSS Flexbox to center your content:
.container {
    display: flex;
    align-items: center;
    height: 600px;
}

I removed the delay from your demo (for faster troubleshooting), but you can see an updated demo using this new container; there is no style conflict, and no timing/visibility issues.

Hi @jlmakes
Thanks for pointing me out to the negative part of using transform.
It looks like flexbox is pretty powerful, I like it. Implemented and I have no problems anymore, works perfectly.
Thanks for the solution!

:+1:


Add outputs in actions.yaml

Suppress warnings when using the GitHub Actions VSCode extension.
Before

After

Awesome!


Python - pip install unrecognised

Can we install packages?

Is there a special package handler for this?

Is there a special package handler for this?

Hello. I am looking to add local Python interpreter support in the coming version with pip support.

Hello. I am looking to add local Python interpreter support in the coming version with pip support.

Ok great, that’s awesome!
that will make the app/ide quite powerful
Not sure about iOS and it’s ability to handle it though.

Ok great, that’s awesome!
that will make the app/ide quite powerful
Not sure about iOS and it’s ability to handle it though.

I would also recommend adding other installing commands for languages that support it as well.

There is a Work around for that too, you can import os and then install packages from the same server on which you are running the code.
import os
os.system(“pip3 install pyttsx3”)

Thanks for sharing this!

There is a Work around for that too, you can import os and then install packages from the same server on which you are running the code.
import os
os.system(“pip3 install pyttsx3”)

Your Welcome

This Small Code Cn fulfill all the Terminal needs:-
import os
while True:
command = input("Your Terminal ~$ ")
os.system(command)

This is a python code so you can save this as Terminal.py and execute when needed.

There is a Work around for that too, you can import os and then install packages from the same server on which you are running the code.
import os
os.system(“pip3 install pyttsx3”)

I like the creative thinking! Thanks mate!


description not readable in dark mode

Adapter text is always dark, in dark mode not readable
put admin in dark mode
go to the adapter and the most is not readable, because of dark text on dark background
Versions:

Adapter version: 1.2.1

Is not fully solved, due to lag of MD files in the description. All is readable but not smoth a dark mode and sometime bad to read.
I will left this ticket open. But will be set to blocked.


multiple globs doesn't seem to work

I have a little build script that compiles a rust program.  I want reflex to rebuild whenever files in src or example/src change.  I can set up globs for each case, but it doesn't work with both together.
# this doesn't work.
# reflex -g 'example/src/*.rs' -g 'src/*.rs' -s -- sh -c 'cd example && clear && cargo build'

# this works.
reflex -g 'src/*.rs' -s -- sh -c 'cd example && clear && cargo build'

# this one works also.
# reflex -g 'example/src/*.rs' -s -- sh -c 'cd example && clear && cargo build'

Another problem I ran in to here was that a glob that includes a parent directory doesn't work.  For instance, this one:
[nix-shell:~/code/touchpage/example]$ reflex -g '../src/*.rs' -- sh 'clear && cargo build'

See #35

Duplicate of #35.


Issues with J2objcXcodeTask

Thank you for creating this plugin. Just some notes/issues:

The srcDir for this task should be j2objcConfig.destDir not ${buildDir}/j2objc.
What is the parameter -p for? I can't find it here https://github.com/developertown/integratej2objc.
The source directory -s should be relative to j2objcConfig.xcodeProjectDir.
The parameter -g is the group path inside Xcode project, not a directory as this name suggests xcodeJ2objcGeneratedDir.

@jonnolen is the best person to give feedback on this since he developed this area of the plugin

We've deprecated this part of the plugin and are now working on a new version that uses CocoaPods.


Enum field raises AttributeError or produces invalid schema with specific names

Bug
When calling BaseModel.schema() or BaseModel.schema_json()
An Enum field with the name regex raises an AttributeError.
An Enum field will produce an invalid schema if any of the following are used as an Enum name: gt; lt; ge; le; max_length; or multiple_of.
It looks like the Enum name is being interpreted as a ModelField property
Please complete:

OS: Ubuntu 18.04.3 LTS
Python version import sys; print(sys.version): 3.8.0 (default, Oct 28 2019, 16:14:01)
Pydantic version import pydantic; print(pydantic.VERSION): 1.2

Please read the docs and search through issues to
confirm your bug hasn't already been reported.
Where possible please include a self contained code snippet describing your bug:
import enum
import pydantic

class ExampleEnum(enum.Enum):
    just_a_value = "Just a normal value"

    # These names are interpreted as properties of the ModelField
    gt = "GT"
    lt = "LT"
    ge = "GE"
    le = "LE"
    max_length = "ML"
    multiple_of = "MO"

    # This name will cause an AttributeError (when uncommented)
    # regex = "RE"

class Example(pydantic.BaseModel):
    example: ExampleEnum

Example.schema()
...

The example above will produce this schema dict; where properties have been derived from the Enum names (rather than a Field model).
{'title': 'Example',
 'type': 'object',
 'properties': {'example': {'title': 'Example',
   'enum': ['Just a normal value', 'GT', 'LT', 'GE', 'LE', 'ML', 'MO'],
   'maxLength': <ExampleEnum.max_length: 'ML'>,
   'exclusiveMinimum': <ExampleEnum.gt: 'GT'>,
   'exclusiveMaximum': <ExampleEnum.lt: 'LT'>,
   'minimum': <ExampleEnum.ge: 'GE'>,
   'maximum': <ExampleEnum.le: 'LE'>,
   'multipleOf': <ExampleEnum.multiple_of: 'MO'>}},
 'required': ['example']}

Good catch, thank you for reporting.
PR welcome to fix this, an isinstance() check should suffice?
Otherwise I'll create a PR to fix this before the next minor release.

see #1065

Amazing work, thank you :1st_place_medal:
(I only got as far as cloning the repo and creating an issue branch!)

sorry, should have let you work on it :pray:.
I started looking and found I had a solution.


Userscript version

I love this script, so i want to request if you can make a userscrpt version of this, for use in other browsers (even Edge using tampermonkey).
Is this possible?

I've seen this request a few times on various extensions. Safari compatibility would be a plus. The problems are generally API incompatibility, no content/background script separation, autodeployment and support.
Someone could look into a compatibility layer for chrome.* and browser.* APIs (e.g. a wrapper for webext-polyfill) and then we can see if it can be added to the project with little effort.

I don't see us ever taking on that kind of burden. Even with a good compatibility layer, it will have limitations and bugs, and it adds testing overhead. I'm going to close this, but we'd be happy to link to a port or user script version of Refined GitHub if anyone decides to make and maintain that.


update to directory-watcher 0.17.1

See: https://github.com/nextjournal/beholder/pull/6

Details in: https://github.com/gmethvin/directory-watcher/issues/55
Upgrading the upstream library to 0.17.1 fixes the issue I detected in https://github.com/nextjournal/beholder/issues/5. I have demonstrated the issue in this code: https://github.com/simongray/beholder-deletion-issue
The maintainer of directory-watcher was nice to fix the code on their end and publish this as 0.17.1.

The same issue should apply here, since you use the same underlying Java library.

Thanks for this! Will push a release shortly.


⚠ SceneTime has degraded performance

In 4497c2f, SceneTime ($ST) experienced degraded performance:

HTTP code: 200
Response time: 1116 ms

Resolved: SceneTime performance has improved in 2661a39 after 37 minutes.


How to get the input patch in the paper

How to get the input patch in the paper

PVN3D uses the whole RGB image and downsampled point clouds as input, you can view PVN3D/pvn3d/datasets/ycb/ycb_dataset.py for more details.


Player UI state

WHAT
Add an optional field to denote if the title should show with placeholder.
WHY
In addition to the player state, give the client an option to show the placeholder pill in place of title when title is not known yet.
HOW
Checklist :clipboard:

[x] Add explicit visibility modifier and explicit return types for public declarations
[x] Run spotless check
[x] Run tests
[x] Update metalava's signature text files

Why is this not just based on whether media model and title is set?

Adding this state allows to accommodate use cases when media apps do not provide metadata (e.g. a player playing in incognito mode in chrome).

Abandoning this PR in favour of making MediaUiModel a sealed class with a Loading object. https://github.com/google/horologist/pull/2179


gcc not recognized on windows

I am compiling some C code in julia. Here is my MWE:
C_code = "stuff"

const Clib = "C:\\Users\\Datseris\\Clib.c"
file = open(Clib, "w+")
print(file, C_code)
close(file)
const Clib_com = "C:\\Users\\Datseris\\Clib.dll"

cd()
run(`cmd /c gcc $(Clib) -fPIC -O3 -xc -lm -shared -std=gnu11 -o $(Clib_com)`)

Now, the problem is that the run command gives off the error/warning:
'gcc' is not recognized as an internal or external command,
operable program or batch file.
It does not compile the code, so the command is not actually run.
However, if I type the exact same thing in the Julia terminal, everything works perfectly.
gcc is in my PATH etc etc.

Ummmm, this works perfectly fine now, both in the console and using Shift+Enter. Probably some version update fixed it...
Anyway, good for you guys!


file(index.js):update home page

Cards section Add medium articles to homepage
#129
#89
Steps to test

Run project locally

CheckList

[ ] The content is adequate
[ ] The content is available in both english and spanish
[ ] I Ran a spell check

preview


DocsArchive-<IP_ADDRESS>Auto archive content

Please don't merge this PR until target archive repo PR https://github.com/OPS-E2E-PPE/docs-archive-test-target/pull/802 is merged into live branch.
Auto archive content to https://github.com/opstest2/docs-archive-test-target.git

Docs Build status updates of commit d8b4523:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error-GitBranchDeletedOrForcePushed] Cannot sync git repo to specified commit because branch Release_Archive_master_2021-03-19-05-41-57 has been deleted or has been force pushed

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


API returns strange things when getting api/v1/repos/{owner}/{repo}/pulls/{index}.{any extensions except diff or patch}

Gitea Version
1.16.0+dev-267-g5ac857f4d
Git Version
No response
Operating System
No response
How are you running Gitea?
Built from source code
Database
No response
Can you reproduce the bug on the Gitea demo site?
Yes
Log Gist
No response
Description
If I enter an URL like https://codeberg.org/api/v1/repos/gitnex/Gitnex/pulls/975.test, it returns a strange result, the PR with the number 139. It should return a 404 error.
Screenshots
No response

looks like chi router do some unexpected magic ...

This is upstream related I think.

https://codeberg.org/api/v1/repos/gitnex/Gitnex/pulls/975.test

The reason is that  GET /repos/{owner}/{repo}/pulls/{index} matched this link,
that's right. isn't it? but the indx is 975.test which isn't a number. so ctx.ParseInt64(":index") will return 0.
But I wonder why can get value from database by indx = 0 (GetPullRequestByIndex()) ?
/cc @lunny


1 error

I'm just curious, what error is that?

I'm just curious, what error is that?

That is not an actual error. If you experience crashes or permission issues, try toggling the options in the terminal settings on or off.


[DO NOT MERGE YET] Remove enablePlannerDynamicSwitch

Status
DEVELOPMENT
Description
Remove enablePlannerDynamicSwitch.
This pull request splits the modification of rebuild decision maker #1609.
Related PRs

branch
PR

feature/rebuild_decision_maker
#1609

Todos

[ ] Merge #1609
[ ] Tests

@kfunaoka Is this PR still valid?

It still has conflicts that must be resolved before it can be merged.

@gbiggs Yes, this PR is valid since enablePlannerDynamicSwitch is nonsense now. I've resolved the conflicts. Waiting for CI.

@s-azumi Would you confirm that the changes of velocity_set are OK?

I've

changed the target from develop to master,
rebased on top of master, and
added the sign-off.

The commit contents are not changed.

@amc-nu @gbiggs @sgermanserrano Would one of you merge this pull request?


[WIP] AsyncApi workflow extension

Signed-off-by: Tihomir Surdilovic<EMAIL_ADDRESS>Many thanks for submitting your Pull Request :heart:!
Please specify parts this PR updates:

[ ] Specification
[ ] Schema
[ ] Examples
[x ] Extensions
[ ] Roadmap
[ ] Use Cases
[ ] Community
[ ] TCK
[ ] Other

What this PR does / why we need it:
Work in progress!!
Ads an AsyncApi Workflow extension for SW
This is an actual extension for AsyncApi and should also be published here: https://github.com/asyncapi/extensions-catalog
Special notes for reviewers:
Additional information (if needed):

@cdavernas @mswiderski et all:
this is work in progress just wanted to get some opinions before moving forward with it.
it defines a real AsyncApi extension which can be used to:

Associate an AsyncApi definition with a workflow definition (via id and version)
Allows to define publish workflow event, meaning that for event you can use the CE definition of the "consumed" event defined in the workflow def
Allows to define a subscribe workflow event, meaning that for event you can use the CE definition of the "produced" event defined in the workflow def

So a sample AsyncApi def could be (this is really simple):
asyncapi: 2.0.0
info:
  title: Hello world application
  version: 0.1.0
  x-workflow:
    id: myworkflowid
    version: '1.0'
channels:
  hello:
    publish:
      x-workflow:
        event: HelloEvent
  goodbye:
    subscribe:
      x-workflow:
        event: GoodByeEvent

The associated simple workflow can be:
id: myworkflowid
version: '1.0'
specVersion: '0.7'
name: My Workflow
start: Greet
events:
- name: HelloEvent
  type: helloEventType
  source: "/messages/hello"
  kind: consumed
- name: GoodbyeEvent
  type: goodbyeEventType
  source: "/messages/goodbye"
  kind: produced
states:
- name: Greet
  type: event
  onEvents:
  - eventRefs:
    - HelloEvent
    actions: []
  end:
    produceEvents:
    - eventRef: GoodbyeEvent

From this you can generate an application which can trigger workflow execution (workflows that start via event(s))
by publishing events, and also you can define for apps to subscribe to the events that the workflow publishes.
WDYT?

@tsurdilo looking into it first question that I have - is there really a need for an extension? I mean why would someone consuming AsyncAPI need to know there is workflow behind it?
min other words won’t the standard spec constructs of AsyncAPI be enough? I think most important to know what is being produced and what users can subscribe to regardless if the logic behind is based on workflow or not.
One important aspect here is the messages - structure of them but in serverless workflow spec data are not defined at all so this might be quite challenging to achieve. Though this is not related to AsyncAPI only but to OpenAPI too which runtimes can decide to expose as a way to easily guide consumers on what to expect from given service.

@mswiderski i think we might be looking at this from 2 different points of view
the "consumer" of this would be the runtime impls and not end users. end users would define this alongside their workflows.
Via the workflow dsl you do not define how the runtimes expose it. you have to depend on the runtime rules (for example the workflow id becomes the endpoint name the runtime exposes it as" etc. In addition the workflow DSL does not include things like how user wants to protect the workflow definition once a runtime makes it into a "service" on their rules. You have to then use the runtimes way to define auth.
This allows you to define your workflow definition and use AsyncApi to define exactly how you want the runtime to expose it without some proprietary rules.
In addition this allows you to offload specific definitions of event sources from the dsl into asyncapi standard. It allows you to not have to define if you are using kafka or mqtt inside your workflow definition (source) which makes it even more portable imo.
At least that was the idea behind it ;)

Note to self - this actually makes perfect sense for workflow queries ;)

I admit we are talking about different things indeed. I am bit confused as it seems AsyncAPI should become a extension to workflow definition which sounds weird to me at this point. Not sure why it should be defined as an extra asset to workflow definition.
To me AsyncAPI is like OpenAPI define the contract between service provider and service consumer. So it should provide all the info that especially consumers should be capable of using that service. And service provider could decide that given workflow to be exposed via certain channels e.g. Kafka or MQTT but that should be given by the service provider and not really user building the workflow.
Workflow should be self contained meaning it should have all the info that runtime needs to make it executable and AsyncAPI or OpenAPI are ways to describe how that workflow can be used by consumers.
Yeah, it will be runtime specific as some might support Kafka others MQTT and another with expose it only over http. So this part I don’t think it makes sense to make it portable as I don’t think it’s even possible to have that level of interoperability. Frankly speaking not sure what would be the value….

Workflow should be self contained meaning it should have all the info that runtime needs to make it executable and AsyncAPI or OpenAPI are ways to describe how that workflow can be used by consumers.

I think this is the problem that this tries to solve and ideas on what alternatives exist are welcome:
If you develop a service you can use OpenApi to define how consumers can access it via OpenApi and in workflow def you can use it when making function invocations.
When you create your workflow definition, you have to rely as mentioned currently on the runtime rules on how it is exposed.
Using workflow "id" is in a way a standard but not always something user might want. Ok, then we add the "business key" but again user has to change the workflow definition in order to change this, so not optimal.
This is even worse for message-driven workflows (starting event state / start message events). To move from mqtt to kafka you have to change your workflow definition (or rely on the frameworks used by the runtime).
That is low-level and having them self contained for this and then try to use as much as domain specific features as possible on others is maybe a little bit weird.
Last thing I wanted to mention is when you develop a "service" you develop the OpenApi def along with it.
When you develop a workflow why is it a bad idea to create OpenApi / AsyncApi definitions where you can describe it with?

If you develop a service you can use OpenApi to define how consumers can access it via OpenApi and in workflow def you can use it when making function invocations.

this is my point that you have the OpenAPI definition that describes how the service is accessible rather than how it should be deployed. As if I got it right that’s what you suggesting here - use AsyncAPI as deployment descriptor that instructs runtime what should be done.
In addition that way we have like a dual meaning of the AsyncAPI

deployment instructions
consumer contract

personally I always looked at both OpenAPI and AsyncAPI as the later - consumer contract. Never thought about using it as deployment instructions which might be an interesting thing to explore.

When you create your workflow definition, you have to rely as mentioned currently on the runtime rules on how it is exposed.
Using workflow "id" is in a way a standard but not always something user might want. Ok, then we add the "business key" but again user has to change the workflow definition in order to change this, so not optimal.

but does this really matter? I mean it does not make much sense to try to enforce runtimes how they expose workflows. With that said what’s why we should rely on OpenAPI and AsyncAPI definitions to provide the contract on how to consume this workflow. I would not recommend to try to unify how runtimes use OpenAPI or AsyncAPI as this will be very much limiting for the runtimes.

This is even worse for message-driven workflows (starting event state / start message events). To move from mqtt to kafka for consumed events you have to change your workflow definition (or rely on the frameworks used by the runtime). If you want to change events that you produce (lets say again mqtt to kafka) you have to use the runtime specific ways to do that, and again most likely have to change your workflow definition.

while I understand the point here I don’t think it as simple as that. There will be needs to change how things are deployed as well and some runtimes will make it specific to given protocol/environment/libraries in use. I don’t think we can escape from that to be honest. Trying to model workflows completely agnostic from how it is going to be used does not sound like usual practice. We might be taking it a step to far as in the end workflows are built to solve given problem and it is usually very well known what it will use and where it will be deployed and by that will want to take advantage of these details as much as possible.

This in end means that you have to rely on versioning and specific features provided by runtimes for anything pretty much.
With this approach you could do this without having any down time on your workflows or having idk rolling restarts or having to move your workflows to different cluster etc etc

I don’t see how this is solved to be honest. And yes you will rely on runtimes for pretty much anything - that’s the role of the runtime :)

Last thing I wanted to mention is when you develop a "service" you develop the OpenApi def along with it.
When you develop a workflow why is it a bad idea to create OpenApi / AsyncApi definitions where you can describe it with? In the end its just code anyways ;)

first of all I don’t think you develop both service and OpenAPI it’s more you either do top to bottom (spec first and generate code from it) or bottom up (implement service and generate the spec out of it). I see it exactly the same for AsyncAPI as well.
the different with workflows is that the workflow is actually your service description so no need for any extra spec to define it again. That being said workflow brings all the details to solve a given business problem as would any custom written service do and then runtimes can provide contracts how to interact with the workflow at runtime and that can be OpenAPI or AsyncAPI based. That way this workflow can be used by other workflows as well since it provides standard based contract and it is less important if this contract will differ between runtimes.
So before giving alternative I’d like to better understand what we want to address with it. Are we looking at providing sort of deployment instructions based on AsyncAPI for runtimes to use on deploying workflows?

And yes you will rely on runtimes for pretty much anything - that’s the role of the runtime :)
Imo true only for runtimes that enforce how workflows are invoked only by looking at the workflow definition and based on their technologies/programming languages used.
There are also runtimes where you have full control on how you want to deploy your workflows and how to expose them. Now given that this is probably not possible to enforce in the end I guess maybe yeah that statement is true for majority of cases/runtimes now.

The main idea is to provide a way using AsyncApi spec for users not to have to use the workflow definition to define their produced and consumed events, their sources etc. It is to allow to externalize this out of the definitions so it can change w/o updates to the core deployed definition.
It's similar approach as to why we added OpenApi for service invocations and not added custom properties to DSL.

@tsurdilo I tend to agree with @mswiderski here. I don't see the use for describing how the worklows events are produced or can be consumed from runtimes. IMO it is not the responsibility of SW to do that, and it cuts through multiple boundaries. As a matter of fact, if you want to listen to events produced by the worklow, you should either connect to the channels they have been published onto, or, in case of runtime specific lifetime events, should connect onto whatever mechanism the runtime offers.

The main idea is to provide a way using AsyncApi spec for users not to have to use the workflow definition to define their produced and consumed events, their sources etc

Why would we impose to users the need to declare events in AsyncAPI, even though most may not even be coming from an AsyncAPI compatible endpoint? Why would we impose to runtimes the need to parse two different DSLs to make one work? Why would the user need to learn AsyncAPI to declare events that we can so far describe directly in SW? I just really can't see the added value here. Actually, I can even see potentially huge problems, because AsyncAPI is used to describe servers and channels, not just events. Why would you define a channel you have no control on, just to declare an event?
For example, let's say I connect to operation https://asyncapi.test.api/asyncapi.json#lighton, described by the AsyncAPI at the specified location. That operation is on, say, a Kafka channel. Now, I've declared that event in my own AsyncAPI document too, attached to my SW. Which doc is the right one? Mine or the server's? The server, of course, making mine totally useless. Plus, mine declares servers, channels and many other concepts that, at best, I will be ignoring. At worst, I could get confused, and think that using my local AsyncAPI document is the way to go. In that case,things can work out if my document is kinduv in sync with the server's. If the server's changes, for example by migrating from Kafka to NATSS, my local AsyncAPI document becomes, in addition of useless, totally wrong.
Plus, how could you possibly describe the server and impose a channel config onto runtimes? Well, you really shouldn't, this is up to runtimes exclusively IMO (and might vary at anytime), the same goes with their potential lifetime events channels.
Finally, you were speaking of cloud events (which is IMO the best way to produce lifetime events)... they are not supported out of the box by AsyncAPI, which does offer a (very crappy) way to represent the schema with an http channel. That fact alone kills it for me.

agree :) lets then archive this pr


[feature] adding a mixed graph model

Hello,
I hope gonum would also support mixed (multi)graphs, which have the mixture of directed and undirected edges.
I think it is mathematically universal, and it adapts OpenStreetMap data well, for example.
Is this feature absent from the current master?
Yes.

A graph with directed and undirected edges can be represented using a directed graph. Is there are reason you cannot do this?

Do you mean that each undirected edge can be converted to two directed ones with opposite directions?
I would like to calculate the three quantities of inward, outward, and undirected degrees for each vertex based on a mixed graph model.

Do you mean that each undirected edge can be converted to two directed ones with opposite directions?

Yes.

I would like to calculate the three quantities of inward, outward, and undirected degrees for each vertex based on a mixed graph model.

That is doable with the current implementation with a little extra work. Iterate over the results of g.From(u) and g.To(u), the result of the first is out, the result of the second is in, and the intersection of the two is inout.

I'm afraid that conversion isn't invertible.
Two edges with opposite directions residing in a directed graph, or (u, v) and (v, u), can't always revert to the status before conversion without additional information.

If that's the case, tag the edge with a user graph.Edge type. What you want to do is implementable in client code. Adding a third type of graph for this would be a large amount of work for something that can already be achieved.

Thank you for your advice. I agree that adding the third type is not worth the effort.
I'm afraid this place is no more appropriate, but it isn't so easy to emulate undirected edges by representing as the twins of converted directed edges, as follows:
When considering the transformation of the undirected edges from the former status to the latter status, as described in smoothing of degree-2 vertices in wikipedia, such vertices aren't seem to be easily identified after above conversion.

I can't see why not.

Consider the mixed graph of [○ー○ー○  ○↔○↔○], which has six vertices, and would be smoothed to that of [○ー○  ○↔○↔○], which has five vertices.
If you would try to emulate the above by means of the conversion from undirected to directed edges, the both converted graphs, [○↔○↔○ ○↔○↔○] and [○↔○ ○↔○↔○], are no more homeomorphic, meaning the failure of emulation.

If you use the edge type I have above (or something similar), you can distinguish between undirected edges and directed edges in the graph by virtue of the type (undirected are that type and directed are just a simple edge). We are not going to add a mixed graph.

I see that the problem is left to user's effort. Thank you.


FieldArrayType add() function creates issues with custom subscriptions to valueChanges

Description
I have some need to have subscriptions on my form controls valueChanges observable. At first, if the form is created and I subscribe to valueChanges in the onInit, everything works as expected, and the form's model contains correct values. If I add a element, the same subscription reaches the old model value, because the model's updating subscription is run AFTER my custom subscription.
Can something really be done about this, or not really? I've got a hack written up for now, but I don't really like it, and would prefer it working out of the box somehow.
Minimal Reproduction
https://stackblitz.com/edit/angular-4zesha
Your Environment

Angular version: 8.2.14
Formly version: 5.5.8

Additional context
Add any other context about the problem here.

This issue has been fixed and released as part of v5.5.11 release.
Please let us know, in case you are still encountering a similar issue/problem.
Thank you!


Little Tweaks

Better accessibilty for the Expansion Panel
Updated copyright year from the docs (2021 -> 2022)

Will check this out tomorrow! Thanks for contributing :D

Just merged, thanks again for the contribution!


Revert permissions changes.

Description Of Changes

Checklist

[N/A] Closes #xxxx
[N/A] Tests added
[N/A] Fully documented

I think git reset HEAD files... will also allow git pull to complete, or git stash save, depending on whether you didn't do those changes on purpose or want to finish polishing them before committing.

@DWesl This error for instance -   ModuleNotFoundError: No module named 'boto3'
make: *** [Makefile:34: html] Error 2
~/work/MetPy/MetPy
This module does exist in the PyPi space. I am not sure how to fix this error.

boto3 seems to be on PyPI: https://pypi.org/project/boto3/
What error does pip produce?  It looks like it does not depend on the platform, given the wheel name: boto3-1.34.153-py3-none-any.whl


chore(functions/firebase/FirebaseReactive): Update Google.Events.obuf version to make sample gen 2 compatible

Part of this PR is obsolete as I've already merged the Renovate PR that updates dependencies.

Sounds good, will reduce PR to just adding the region tag.


Any one can access files

I have a collection of files and have everything locked to admin but anyone can still access the file.
I get the error "{"code":403,"message":"Only admins can perform this action.","data":{}}" when trying to list the records but if you put in the URL you still can get to the file
I have tried on a separate computer that has never been logged in to an admin account and that still has access.
Is this expected behavior?

Yes, files are "public" by default. Private/Protected files will be implemented in the near future. You can check this issue https://github.com/pocketbase/pocketbase/issues/215.


Implementation details on handling unauthenticated user actions

I feel like we could use redux middleware for this, that will pass data about required permissions per action in metadata (so whether user needs to be logged in or not) and if user doesn't have required permissions we could trigger global modal with payload that we could use to handle this action later after signing in.
We could add meta.authAction = true to action to notify our middleware that this action should be handled.
Middleware could behave like this.
For authenticated user:

Action is dispatched.
Middleware checks if action requires authentication and if user is authenticated.
Action continues normally.

For unauthenticated user:

Action is dispatched.
Middleware checks if action requires authentication and if user is authenticated.
Middleware opens modal with payload based on action dispatched.
Modal can cancel action or redirect user to SteemConnect (with redirect URL with parameters based on action) depending on user's choice.
User logs in on SteemConnect and get's redirected back to Busy.
We retrieve action from URL.
Continue action execution.

We could use this to handle different action permissions requirements (instead of authenticated/unauthenticated we could have actions that require none, posting, active, master or memo permissions). If user logged in with key that has insufficient permissions to perform such action we could request upgrading access.
What do you think?

Related issues:
https://github.com/busyorg/busy/issues/315
https://github.com/busyorg/busy/issues/469

I like this idea of adding it in the middleware, but I went through the entire codebase and checked where a user would need to perform an action that requires authentication. There are only a few places that would require a user authentication, I think adding a middleware overcomplicates things in our stores, when we already passing in steemAPI and steemConnectAPI into the middlewares.

I guess its all personal preference but I added a login modal here to all components that require it -https://github.com/busyorg/busy/pull/1227
And since we use React V16 and up, we can return multiple elements in a component without wrapping them (https://pawelgrzybek.com/return-multiple-elements-from-a-component-with-react-16/)
Like see how I did it here for the FollowButton in the PR - https://github.com/busyorg/busy/blob/05944c75af66de3deec46ec46054adbc53d2ae55/src/client/widgets/FollowButton.js#L92


Fix password_expirable not working coz of accessing warden's session key

See https://github.com/phatworx/devise_security_extension/issues/83
Look like between requests warden.session(scope) just return a hash which has all keys are in string instead of symbol.

Hey guys, thanks for fixing this issue.
@alexdreher Do you have plans to do a new release soon? I would love to have this issue fixed in a new release.
Cheers,
Jorge


unknown error with google and googleoauth2

I managed to get fb, twitter and userpass working with ease but I cannot get google to work in any way using either the google and the googleoauth2 provider. I tried everything you suggested in the past. The error is a UNKNOWN error, I am using play 1.2.5 and securesocial 0.2.5.
Has google setup been tested lately? Maybe there are changes in their implementation? Or just the docs are outdated?
Thanks,
Raffaele

Hello,
I believe I have a similar issue, even if it is an old one. I am trying to make Google OAuth 2 work but I run into this error:
00:00:00,696 ERROR ~ Error authenticating user
java.lang.IllegalStateException: Not a JSON Object: null
at com.google.gson.JsonElement.getAsJsonObject(JsonElement.java:90)
at securesocial.libs.ExtOAuth2.extractAccessToken(ExtOAuth2.java:111)
at securesocial.provider.providers.GoogleOAuth2Provider.doAuth(GoogleOAuth2Provider.java:124)
I am using Play 1.3.0RC with securesocial 0.2.6 (latest at this time)
In the Google Dashboard, I have set up:
Allowed JS URL: http://localhost:9000
Redirect URL: http://localhost:9000/auth/googleoauth2 (only one in my case)
In my conf, I have only changed
securesocial.googleoauth2.clientid=.apps.googleusercontent.com
securesocial.googleoauth2.secret=*************************
Should it work using localhost or does it need to be available publicly online?
Thanks,
Fabien


Added zero-wait DFS wifihal stubs

zero-wait DFS is not supported currently on Turris Omnia platform

https://jenkins.cmf.code.rdkcentral.com/job/github-triggered/395/ started

https://jenkins.code.rdkcentral.com/job/github-triggered/5106/ started

https://jenkins.code.rdkcentral.com/job/build-component-rdk-next/23982/ started.


Create README(ENGLISH)

Readme file translated to English.

Thanks for your contribution, I will improve it later

@jagdish86  Don't use google translation to translate it, I'd rather there is no English version.


Add operating system to Info message

You can now do this:
dockerClient.info().operatingSystem()

Let's also check this in the test. See https://github.com/spotify/docker-client/pull/135

So the reason I didn't add a test for it is because this isn't returned until v1.2.

oh in that case :+1:
On an unrelated note, should we state what versions of docker we actually test against?

Yeah, we should and I think we should probably increase the minimum Docker version we support (at which point we could add that test). I'm guessing that we'd break against Docker v1.0 in actuality, but we claim to support it.

By "claim to support it" I mean that the remote API version string makes it seem like we want to talk the Docker 1.0 API, even though we don't.


Quoted list values

Use the same approach than Kakoune.
Example – Print selected files:
eval "set -- $s"

# Using a for-loop
for file do
  echo "$file"
done

# Using printf
printf '%s\n' "$@"

Double-quotes in file names need to be escaped to work correctly, need to do that.
I'm not sure about what you're asking for, there is no scripting language in hunter, it's using $SHELL for everything.

Quotes in file names are fixed now. I tested with all kinds of crap like foo'"bar$'b '" baz
(single file name) and it was working fine where it broke before.


about python version

hello:
i wonder which python version support the project....

The package supports Python 3.6+. Are you having compatibility issues?
On Wed, Oct 16, 2019 at 1:21 AM pobei<EMAIL_ADDRESS>wrote:

hello:
i wonder which python version support the project....
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/faustomorales/keras-ocr/issues/1?email_source=notifications&email_token=ACKIZ2ORCIQBN5ZRNGOFQRDQO2XGPA5CNFSM4JBGYA5KYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HSB7KWQ,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACKIZ2MSAR4BRSCPWYDTFUDQO2XGPANCNFSM4JBGYA5A
.

i have fix the problem, thx


Add new admin requests spec

Description
Change from admin controller spec to requests spec
Type of change

Improvement

How Has This Been Tested?

All tests are green

Awesome!


Migrate dependency management and package building/publishing to Poetry

This PR moves away from the initial setup.py and moves toward using Poetry instead.
Rationale
Refer to PEP 621 and PEP 518
TLDR: Better and simpler tooling + a better developer experience
Changes made

Dependency management migrated away from requirements.txt to pyproject.toml. This also allows for virtualenvs for dependencies etc.
Package definition in pyproject.toml instead of setup.py. This to minimise the use of extra tooling. We can package the SDK using poetry as well.
CI changed to reflect the above changes

Hey @doublevcodes! Thanks for the PR, added some naïve questions but overall looking good.
I think that the build GitHub action also needs to be updated to use poetry, that's my only blocker to merge it!


Use RSSI data to set a better time on early detected iTags

During 2:nd race test (v0.2) 2 persons that runned together got about 25s diff in time, I watch the unit one of the times when it happened and could see the "first" person was spotetd by the system really early, but the 2nd person was spoted where expected.
Invesigate:

Look at diff for this 2 persons in all data from race 2
Look at how RSSI values behave when approaching the unit.

Ideas

After a detection, watch RSSI values for a short period (20-30s) and pick the time that coresponds to the owest RSSI value. Maybe use some ranges in the picking to remove fluctuating values on same distance.

Look at how RSSI values behave when approaching the unit.
A "live" plot/graph of the BT RSSI was added for the tags: b78a9e5b41af8eea7493bbbd7107f5c0a7c89b6e
There are visable peeks when approaching the unit so this can defently be used to "save" a better lap time, e.g. make early detections be moved if there is a stronger signal a short while after first spot as the participand get closer to the unit. Some smothing might be needed to remove "jitter" if participand stand still near the "goal"

Fixed with 92e13ab2bb70d46b86d7abba92e961057a76f862
Grace period is set to 30s after first tag detection, during this time if RSSI get "stronger" the lap time is updated.


[MaaS] Backport improvements to Mitaka

This is a backport of all MaaS improvements through 2017-02-06.
Connects rcbops/u-suk-dev#1175

Last failure was due to a bad conflict resolution. This should be better.


Standard Algebraic Notation not implemented

e.g. Nc6, Bxb6

Split into more specific issues, closing this umbrella one


Add cross target to makefile.

Signed-off-by: Dan Lorenc<EMAIL_ADDRESS>

Fixes #114

Goreleaser does cross platform builds along with other stuff. Could that help with this feature?

Not really - we need to handle all our own signing and build stuff for now. I'd love to get goreleaser to support our signature formats eventually though.


Feature/dact 1483 incomplete roa (Option 2 with Link "Yes"/"No" page)

Prototype for Option 2 (link only) with separate "Yes/No" link confirmation page.
JIRA https://companieshouse.atlassian.net/browse/DACT-1483

Translated into several stories and merged now.


packet parse issue on < 5.7 mysql

Hi,
after speaking with tanner on the slack channel, i am opening this issue. I am getting strange errors with the Vapor Fluent 3 RC2, which did not happen on RC1. The error happens every time on all queries.
MySQL Version MAMP: 5.6.35
The database schema already exists, so i don't migrate. Here is the code:
configure
var databases = DatabaseConfig()
     let mysqlConfig = MySQLDatabaseConfig(hostname: "localhost",
                              port: 3306,
                              username: "root",
                              password: "",
                              database: "vapor_test")
    databases.add(database: MySQLDatabase(config: mysqlConfig), as: .mysql)
    databases.enableLogging(on: .mysql)
    services.register(databases)

ProjectStateController
func index( _ req: Request ) throws -> Future<[ProjectState]> {
        return try ProjectState.query(on: req).filter( \ProjectState.deleted == 0 ).all()
    }

ProjectState Model
final class ProjectState: MySQLModel {

    static let entity = "\( Database.tablePrefix )state"

    var id: Int?
    var state: String
    var sort: Int? = 0
    var deleted: Int? = 0

    init( id: Int? = nil, state: String, deleted: Int? = nil, sort: Int? ) {
        self.id = id
        self.state = state
        if let delete = deleted {
            self.deleted = delete
        }
        if let sortPos = sort {
            self.sort = sortPos
        }
    }

}

extension ProjectState: Content {}
extension ProjectState: Migration {}

routes
let projectStateController = ProjectStateController()
    router.get("projects_states", use: projectStateController.index )

Error:
[vapor_test] [2018-03-26 17:33:11 +0000] SELECT * FROM `intra_state` WHERE (`intra_state`.`deleted` = ?) ["integer8(0)"]
[Async] Warning: read triggered when input queue was empty, ignoring: columnDefinition41(MySQL.MySQLColumnDefinition41(catalog: "def", schema: "vapor_test", table: "intra_state", orgTable: "intra_state", name: "id", orgName: "id", characterSet: binary, columnLength: 11, columnType: MYSQL_TYPE_LONG, flags: MySQL.MySQLColumnFlags(raw: 16899), decimals: 0)).
[Async] Warning: read triggered when input queue was empty, ignoring: columnDefinition41(MySQL.MySQLColumnDefinition41(catalog: "def", schema: "vapor_test", table: "intra_state", orgTable: "intra_state", name: "state", orgName: "state", characterSet: utf8_general_ci, columnLength: 90, columnType: MYSQL_TYPE_VAR_STRING, flags: MySQL.MySQLColumnFlags(raw: 4097), decimals: 0)).
[Async] Warning: read triggered when input queue was empty, ignoring: columnDefinition41(MySQL.MySQLColumnDefinition41(catalog: "def", schema: "vapor_test", table: "intra_state", orgTable: "intra_state", name: "sort", orgName: "sort", characterSet: binary, columnLength: 6, columnType: MYSQL_TYPE_SHORT, flags: MySQL.MySQLColumnFlags(raw: 4097), decimals: 0)).
[Async] Warning: read triggered when input queue was empty, ignoring: columnDefinition41(MySQL.MySQLColumnDefinition41(catalog: "def", schema: "vapor_test", table: "intra_state", orgTable: "intra_state", name: "deleted", orgName: "deleted", characterSet: binary, columnLength: 1, columnType: MYSQL_TYPE_TINY, flags: MySQL.MySQLColumnFlags(raw: 1), decimals: 0)).
[Async] Warning: read triggered when input queue was empty, ignoring: eof(MySQL.MySQLEOFPacket(warningsCount: Optional(0), statusFlags: SERVER_STATUS_AUTOCOMMIT | SERVER_STATUS_NO_INDEX_USED)).
[Async] Warning: read triggered when input queue was empty, ignoring: ok(MySQL.MySQLOKPacket(affectedRows: 0, lastInsertID: Optional(4), statusFlags: , warningsCount: Optional(2816), info: "Akquisition\u{04}\0\0", sessionStateChanges: nil)).
[Async] Warning: read triggered when input queue was empty, ignoring: ok(MySQL.MySQLOKPacket(affectedRows: 0, lastInsertID: Optional(5), statusFlags: , warningsCount: Optional(1024), info: "test\u{05}\0\0", sessionStateChanges: nil)).
[Async] Warning: read triggered when input queue was empty, ignoring: ok(MySQL.MySQLOKPacket(affectedRows: 0, lastInsertID: Optional(6), statusFlags: , warningsCount: Optional(2560), info: "Beauftragt\u{06}\0\0", sessionStateChanges: nil)).
[Async] Warning: read triggered when input queue was empty, ignoring: ok(MySQL.MySQLOKPacket(affectedRows: 0, lastInsertID: Optional(7), statusFlags: , warningsCount: Optional(2304), info: "Storniert\u{07}\0\0", sessionStateChanges: nil)).
[Async] Warning: read triggered when input queue was empty, ignoring: eof(MySQL.MySQLEOFPacket(warningsCount: Optional(0), statusFlags: SERVER_STATUS_AUTOCOMMIT | SERVER_STATUS_NO_INDEX_USED)).

@raist2k2 I think this may be related to your MySQL version. Is there any way you could test this on 5.7?

@tanner0101 You are correct, the issue is with MySQL/MariaDB Versions < 5.7. Version
5.7.21 works correctly.
Problably related to this issue, i tested migrating on MySQL 5.6.35 and got this error:
[MySQLError.lengthEncodedData: Could not parse length encoded data.] [/Users/raist/Documents/vapor/.build/checkouts/mysql.git-1890032512239690518/Sources/MySQL/Protocol/MySQLResultSetRow.swift:23:72]
Migrating on 5.7.21 worked

@raist2k2 thank you for testing that. I will get a copy of 5.5 and 5.6 and see if I can fix the bug

If you are using heroku with ClearDB MySQL you will get this error as the DB version is < 5.7.
I switched to JawsDB that is 5.7.19-log and everything work fine.

This issue is related to the package https://github.com/vapor/mysql. That package now has tests for 5.5 and 5.6 👍


Using both custom and SQL callbacks

If I specify
flyway.callbacks=com.myclass.CustomCallBack
it gets called fine, but I notice it seems to suppress the SQL callback functionality. Is there any way to have both? I notice there's a SqlScriptFlywayCallback that could be potentially used to enable SQL callbacks as well as the custom one - but that's one of your 'internal' classes and can't be used directly without some wrapper code..
Alternatively, even just a clarification in the documentation that you can generally only use one or the other by default would be fine, I found this out by experimentation.
Thanks!

I agree, there is certainly room for improvement here.

Thanks for the work on this, I look forward to trying it out soon!


nbCode enhancement(nbCodeOutput overflow)

Currently the nbCode NbBlock has no length limitations on it's output, meaning that if the output is very long, it will overflow trough the main body/content area. This can be easily spotted, but also not, e.g. it might look good for you on your desktop's browser, but it just might overflow on your mobile browser. This causes the mobile browser's page to be from scaled down to the phone's screen to fit perfectly, to have a huge empty space on the right that you won't see until you move any amount to the right.
This causes any custom positioning that isn't tied to the structure of the main body, to be completely broken on top of the fact that there is text all the way on the right outside of your view.
Now my solution was to override the nbBlock with the following partial:
nb.partials["nbCodeUnitTestColorized"] = """
{{>nbCodeSource}}

{{>nbCodeOutput}}

Now what this does is, instead of the output overflowing to the right, it will create a horizontal scroll bar just like the one you get if your code(nbCodeSource) overflows. In my opinion this is much nicer and prevents any overflows, which both break non tied to the main body elements like a button, and makes scrolling non centered.
For examples, check ANY of my nimib pages on My github page on a mobile browser.
The following link is an example that SHOULD work on a desktop browser with a monitor size of 24inches or smaller:
Desktop example of a scrollable nbCodeOutput

Yes this is something we would want 👍

Do i need to make a pull request or will you guys do it ?

If you want it done anytime soon, you'll have to make a PR yourself. Let's see how the preview on the PR looks and we can take it from there.

while in Nimib Speaking Hours (recorded now) we found the place in the code where such a change should go: https://github.com/pietroppeter/nimib/blob/c7aa19f10405b6052c2dcfa8490dea2f2284f3bf/src/nimib/themes.nim#L77


Replace OpenStruct

OpenStruct has now become officially discouraged due to:

performance;
version compatibility; and
potential security issues.

More information:
https://docs.ruby-lang.org/en/3.0.0/OpenStruct.html#class-OpenStruct-label-Caveats
https://docs.rubocop.org/rubocop/cops_style.html#styleopenstructuse

Suite passes apart from lint warnings.


Throttling limitations

Are there any Throttling limitations for this connector?? it doesn't say anything in the documentation
Thank you

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

ID: ab270226-0f03-d195-a515-5dc2ae76af7c
Version Independent ID: 1b0720e6-b682-3fe3-c72a-a59644fa7115
Content: Move data from OData sources
Content Source: articles/data-factory/v1/data-factory-odata-connector.md
Service: data-factory
GitHub Login: @linda33wj
Microsoft Alias: jingwang

Thanks for the feedback! We are currently investigating and will update you shortly.

@KatiaArroyo1 I am assigning the issue to the content owner to provide more insights into your concern.
@linda33wj Can you please have a look at this one ?

@KatiaArroyo1 There is no inherent limitation in ADF regarding extraction data using the OData connector.  Often the extraction speed is determined by the allowed egress throughput on the OData endpoint.
BTW, I noticed that you posted this questions on ADF V1 documentation article.  We are no longer actively enhancing ADF V1 and I strongly recommend you to use ADF V2 going forward for your project development.  The OData connector doc article for ADF V2 is here:
https://docs.microsoft.com/en-us/azure/data-factory/connector-odata
Thanks for using ADF and keep your feedback coming!
#please-close


Experiment with various gradient checkpointing techniques

I've got recursive checkpointing working, but we may want to consider the sqrt(n) checkpointing, or something in between?? https://github.com/cybertronai/gradient-checkpointing
The advantage of sqrt(n) checkpointing is that it can implemented with two scans/folds, which makes it much easier on the jit

I saw this thread referenced in the above links, so if it helps anyone here, Equinox now supports while loops with recursive checkpointing. See also this comment.


Add MAPE objective

If also very common for labels to be be 0. In this case 0 labels would trigger a NaN.

Fixed and merged.

this objective is useful in case of learning an approximation of a function as in my current project : load forecating


Sort autocomplete results

From @pafcu on January 2, 2015 14:8
Results returned in mod/acl.php should be sorted with best matches first. See the handling of type='c' for an example.
Copied from original issue: friendica/red#811

@pafcu This issue is closed because Redmatrix evolved into Hubzilla. When this is still an issue in the most recent version of Hubzilla, please recreate this issue over there. We're sorry for any inconvenience this will maybe give you.


k

I have problems while importing into an existing Organization with System language German,
as all Numbers are #.## and in Germany they are #,##
is there a way to avoid those import problems?

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

ID: 3fc92d46-8f1c-dc72-82c0-dcbccf014c18
Version Independent ID: 934a9f55-fd2a-a08c-b8ce-cfd0c1fbb975
Content: Generate demo data by using data packages - Finance & Operations | Dynamics 365 | #MSDyn365FO
Content Source: articles/dev-itpro/data-entities/generate-demo-data-packages.md
Service: dynamics-ax-platform
GitHub Login: @ryansandness
Microsoft Alias: ryansand

I think this is controlled by System parameters. If in your blank system you check the general tab for system options, my default is en-us with a system currency of USD. Can you try changing these defaults before importing?
Otherwise it is a setting somewhere else that controls this formatting. The only other alternative would be to change the format of individual imports, but that would likely be a pain.

I had to change the settings of the Excel SOURCE DATA FORMATS to en-us.

Thank you for sharing the solution! Much appreciated.

Bug 293657 has been logged to track this issue.

So previously you mentioned changing Excel SOURCE DATA FORMATS to en-us. If you are having issues with mismatch of separators, I assume you need to change the user settings for (Settings > User Options > Preferences) and set Date, time, and number format. Otherwise if you're still having issues it may be best to log a bug with step by step instructions that I can walk to make sure I understand the context.
Thanks


Fixed price comparisons

Price comparisons is not reliable because it compares float numbers. Added an epsilon threshold to alleviate the issue

LGTM


Class:ObjectDigitalRecordMetric

Parent
ObjectGroup

Definition

Repeatable
Yes

Relationships

Potential standards/vocabularies/ontologies to adopt

Notes

Changed the parent to ObjectGroup, due to removing the CollectionDescriptionMetric class

Deprecated in favour of MeasurementOrFact class